gzjs-utils 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var Fa=Object.create;var ei=Object.defineProperty;var wa=Object.getOwnPropertyDescriptor;var Sa=Object.getOwnPropertyNames;var ka=Object.getPrototypeOf,Da=Object.prototype.hasOwnProperty;var Ia=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Sa(t))!Da.call(e,n)&&n!==r&&ei(e,n,{get:()=>t[n],enumerable:!(i=wa(t,n))||i.enumerable});return e};var Ut=(e,t,r)=>(r=e!=null?Fa(ka(e)):{},Ia(t||!e||!e.__esModule?ei(r,"default",{value:e,enumerable:!0}):r,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function Pa(e,t){for(var r=0;r<t.length;r++){const i=t[r];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(i,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const je=(e,t,r)=>{try{Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:null,...r})}catch{}return e},Le=(()=>{let e={};for(let t=0;t<10;t++)e[t]=t;for(let t=0;t<=127;t++){let r="";t<10&&(r+="0"),r+=t,e[r]=t}return e})(),De=63,or=7,cn=15,Na=31,d0="�",Ta=e=>65536<=e&&e<=1114111,Ra=e=>2048<=e&&e<=65535,Ha=e=>128<=e&&e<=2047;function ln(e,t=!1){if(e==null)return null;if(e instanceof Int8Array||e instanceof Uint8Array)return e;let r=typeof e=="string";if(Array.isArray(e)){for(let n=0;n<e.length;n++){let a=e[n];if(typeof a!="number"||parseInt(a+"")!=a){r=!0;break}}r&&(e=e.join(""))}if(t&&e instanceof Uint8Array)return e;let i=[];for(let n=0;n<e.length;n++){let a=r?e.codePointAt(n):e[n];if(a>=55296&&a<=57343){i.push(239,191,189);continue}Ta(a)?(i.push(a>>18&or|240),i.push(a>>12&De|128),i.push(a>>6&De|128),i.push(a>>0&De|128),n++):Ra(a)?(i.push(a>>12&cn|224),i.push(a>>6&De|128),i.push(a>>0&De|128)):Ha(a)?(i.push(a>>6&Na|192),i.push(a>>0&De|128)):i.push(a&255)}return t?new Uint8Array(i):new Int8Array(i)}function pe(e){return ln(e,!1)}function de(e){if(e==null)return null;if(typeof e=="string")return e;let t="",r=e;for(let i=0;i<r.length;){let n=r[i]&240,a=1;if(240<=n&&n<248){if(i+3>=r.length){t+=d0;break}a=4}else if(224<=n&&n<240){if(i+2>=r.length){t+=d0;break}a=3}else if(192<=n&&n<224){if(i+1>=r.length){t+=d0;break}a=2}else 128<=n&&n<192,a=1;let s,u,l,o,c=[];switch(a){case 4:{s=or&(r[i+Le[0]]&255),u=De&(r[i+Le[1]]&255),l=De&(r[i+Le[2]]&255),o=De&(r[i+Le[3]]&255);let h=(s<<18|u<<12|l<<6|o)-65536;c=[(h>>10)+55296,(h&1023)+56320];break}case 3:{s=cn&(r[i+Le[0]]&255),u=De&(r[i+Le[1]]&255),l=De&(r[i+Le[2]]&255),c=[s<<12|u<<6|l];break}case 2:{s=or&(r[i+Le[0]]&255),u=De&(r[i+Le[1]]&255),c=[s<<6|u];break}case 1:default:s=r[i+Le[0]]&255,c=[s];break}c.forEach(h=>t+=String.fromCharCode(h)),i+=a}return t}function We(e){return(Number(e)+128&255)-128}function qe(e){if(e==null)return null;let t=e;if(typeof e=="number"&&/-?\d+$/.test(""+e))return isNaN(e)?"":(e=Number(e).toString(16),e.length%2!==0?"0"+e:e);if((typeof e=="string"||typeof e=="number")&&(t=pe(e+"")),!t)return null;let r="",i=t.length;for(let n=0;n<i;n++){let a=Number(t[n]);if(isNaN(a)||parseInt(a+"")!=a)throw new Error("Invalid byte value");r+=("00"+(a&255).toString(16)).slice(-2)}return r}function ve(e){if(e==null)return null;let t=[];for(let r=0;r<e.length;r+=2){let i=e.slice(r,r+2);if(!/[0-9A-Za-z]/.test(i))throw new Error("Invalid hexadecimal value:"+i+" at pos:"+r);t.push(We(parseInt(i,16)))}return new Int8Array(t)}function Er(e){return de(ve(e))}function Rt(e){let t=ln(e,!0);return t instanceof Uint8Array?t:new Uint8Array(t)}const fn={byte:We,toBytes:pe,fromBytes:de,toHex:qe,fromHex:ve,str2hex:qe,hex2str:Er},v0={standard:"[0-9a-fA-F]{1,4}(:[0-9a-fA-F]{1,4}){7}",compressed:"(?:(?:[0-9a-fA-F]{1,4}:){0,7}[0-9a-fA-F]{1,4}|:(?::[0-9a-fA-F]{1,4}){1,7}|[0-9a-fA-F]{1,4}:(?::[0-9a-fA-F]{1,4}){1,6}|(?:[0-9a-fA-F]{1,4}:){2}(?::[0-9a-fA-F]{1,4}){1,5}|(?:[0-9a-fA-F]{1,4}:){3}(?::[0-9a-fA-F]{1,4}){1,4}|(?:[0-9a-fA-F]{1,4}:){4}(?::[0-9a-fA-F]{1,4}){1,3}|(?:[0-9a-fA-F]{1,4}:){5}(?::[0-9a-fA-F]{1,4}){1,2}|(?:[0-9a-fA-F]{1,4}:){6}:[0-9a-fA-F]{1,4})",ipv4Mapped:"::(?:ffff(?::0)?:)?((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)",mixed:"(?:[0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)",linkLocal:"fe80:(?::[0-9a-fA-F]{1,4}){0,4}(?:%[0-9a-zA-Z]{1,})?",multicast:"ff[0-9a-fA-F]{2}:(?::[0-9a-fA-F]{1,4}){1,4}",special:{localhost:"::1",v4Compat:"::(?:[0-9a-fA-F]{1,4})?:"}},Xt={SPACE:/\s+/,SPACE_LEFT:/^\s+/,SPACE_RIGHT:/\s+$/,NUMERIC:/^\d+$/,INTEGER:/^(0|[+-]?[1-9]\d*)$/,INTEGER_P:/^[1-9]\d*$/,INTEGER_N_N:/^(0|[1-9]\d*)$/,FLOAT:/^(0|[+-]?[1-9]\d*)(\.\d+)?$/,FLOAT_N_N:/^(0|[1-9]\d*)(\.\d+)?$/,AMOUNT_2R:/^(0|[+-]?[1-9]\d*)(\.\d{1,2})?$/,AMOUNT_2R_FIXED:/^(0|[+-]?[1-9]\d*)(\.\d{2})$/,AMOUNT_N_N_2R:/^(0|[1-9]\d*)(\.\d{1,2})?$/,AMOUNT_N_N_2R_FIXED:/^(0|[1-9]\d*)(\.\d{2})$/,ALPHABAT:/^[A-Za-z]+$/,ALPHABAT_UPPER:/^[A-Z]+$/,ALPHABAT_LOWER:/^[a-z]+$/,ALPHA_LOWER_NUMERIC:/^[a-z0-9]+$/,ALPHA_UPPER_NUMERIC:/^[A-Z0-9]+$/,ALPHA_NUMERIC:/^[A-Za-z0-9]+$/,ALPHA_NUMERIC_PA:/^[A-Za-z][A-Za-z0-9]*$/,ALPHABAT_DOUBLE:/^[^x00-xff]+$/,CHINESE:/^[\u4e00-\u9fa5]+$/,CHINESE_ALPHA_NUMERIC:/^[\u4e00-\u9faaA-Za-z0-9]+$/,DATE:/^((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))$/,TIME:/^([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])$/,DATE_TIME:/^((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})[/|-](((0?[13578]|1[02])[/|-](0?[1-9]|[12][0-9]|3[01]))|((0?[469]|11)[/|-](0?[1-9]|[12][0-9]|30))|(0?2[/|-](0?[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))\s(([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9]))$/,DATE_TIME_MATCH:/^(\d{4})[-/](\d{2})[-/](\d{2})\s(\d{2}):(\d{2}):(\d{2})$/,HTML:/<|&#?\w+;/,HTML_TAG:/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,HTML_TAG_NAME:/<([\w:]+)/,MOBILE:/^(\+?86\s?)?1\d{2}\d{8}$/,MOBILE_11:/^1\d{2}\d{8}$/,IP:/^((?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])$/,MAC:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,QQ:/^[1-9]\d{4,10}$/,POSTAL_CODE:/^[1-9]\d{5}$/,EMAIL:/^([\w-_]+(?:\.[\w-_]+)*)@((?:[a-z0-9]+(?:-[a-zA-Z0-9]+)*)+\.[a-z]{2,6})$/,IDCARD:/^(\d{6})((((19|20)[0-9]{2})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))(\d{3}[0-9xX*])$/,IPv6:(()=>{let e={...v0};delete e.special;let t=Object.keys(e).map(r=>e[r]="("+e[r]+")");return t.splice(0,0,"("+v0.special.localhost+")","("+v0.special.v4Compat+")"),new RegExp("^"+t.join("|")+"$")})()},zt=Er("68747470"),ti=Er("73696d706c652e636f6d"),ur=/^\s+/,cr=/\s+$/,Oa=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+/,hn="0123456789".split(""),xn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),lr=[...hn,...xn],ri=Object.freeze([!0,1,"1","true","TRUE","Y","y","YES","yes","ON","on","是","开"]),La=Object.freeze([!1,0,"0","false","FALSE","N","n","NO","no","OFF","off","否","关"]),Z=e=>Object.prototype.toString.call(e).slice(8,-1),Qt=e=>Z(e)==="Function",Va=e=>e&&ge.isString(e)&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e),Zt=e=>e==null||Z(e)!=="String"?e:e.replace(ur,"").replace(cr,""),ze=(e,t)=>{let r=Ma(e,t),i=r.hash&&ze(r.hash||"",t)||{params:{},toURLString:()=>""};return r.hashUri=i,r.hashInfo={params:{},toString(){let n=this.params;return n==null&&(i.params={}),i.toURLString()}},delete r.hashInfo.params,Object.defineProperty(r.hashInfo,"params",{enumerable:!0,configurable:!0,get(){return i.params},set(n){i.params=n}}),r.toURLString=function(){let n=r.protocol||null,a=r.host||"",s=r.port||"",u=r.path||"",l=r.hashInfo.toString(),o=r.params||{},c="";n&&(c+=n+"://"),a&&(c+=a),s&&(c+=":"+s),u&&(c+=u);let h="";function f(p,x){if(x instanceof Date){let m=x;if(x=null,m.toString()!=="Invalid Date"){let C=m.getFullYear(),b=m.getMonth()+1,y=m.getDate(),v=m.getHours(),A=m.getMinutes(),E=m.getSeconds();b=(b<0?"0":"")+b,y=(y<0?"0":"")+y,v=(v<0?"0":"")+v,A=(A<0?"0":"")+A,E=(E<0?"0":"")+E,x=C+"-"+b+"-"+y+" "+v+":"+A+":"+E}}else if(x instanceof FormData){let m=[...x.entries()],C={};m.forEach(([b,y])=>C[b]=y),x=C}else if(x instanceof Map){let m=x,C=[...m.keys()],b={};C.forEach(y=>b[y]=m.get(y)),x=b}let g=Z(x);g==="String"||g==="Number"||g==="Boolean"||x===null||x===void 0?x!=null&&(h+=(h.length>0?"&":"")+p+"="+encodeURIComponent(x+"")):h+=(h.length>0?"&":"")+p+"="+encodeURIComponent(JSON.stringify(x))}return Object.keys(o).forEach(p=>{let x=o[p];x instanceof Function||(x instanceof Array?x.forEach(m=>f(p,m)):f(p,x))}),h&&(c+="?"+h),l&&(c+="#"+l),c},r},Ma=(e,t)=>{let r="-AT-"+(new Date).getTime()+"-";e=(e||"").replace(/@/g,r);let i=ze;(!i||!i.options)&&(i.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","hash"],q:{name:"params",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}});let n=i.options,a={},s=14;if(!e)return n.key.map(g=>a[g]=""),a;let u=t==null?n.strictMode:t+""=="true"||t+""=="1",l=n.parser[u?"strict":"loose"].exec(e);for(;s--;)a[n.key[s]]=l[s]||"";let o=a[n.q.name]={};a[n.key[12]].replace(n.q.parser,function(g,m,C){m&&(o.hasOwnProperty(m)?Array.isArray(o[m])?o[m].push(C):o[m]=[o[m],C]:o[m]=C)});function c(g){return g==null?null:(g=decodeURIComponent(g),g==="true"||g==="false"?g==="true":g)}Object.entries(o).forEach(([g,m])=>{o[g]=Array.isArray(m)?m.map(C=>c(C)):c(m)});let h=a.protocol||"",f=a.host,p=parseInt(a.port);h&&f&&(a.origin=h+"://"+f+(isNaN(p)?"":":"+p));let x=new RegExp(r,"g");return Object.keys(a).forEach(g=>{let m=a[g];Z(m)=="String"&&(a[g]=m.replace(x,"@"))}),Object.keys(a.params).forEach(g=>{let m=a.params[g];Z(m)=="String"&&(a.params[g]=m.replace(x,"@"))}),a},pn=e=>{if(e==null)return{};e+="";const t=["?","#","!","&"];let r=-1;for(;r<e.length;){let i=e.charAt(++r);if(t.includes(i))break}return r===e.length&&(r=-1),r!=-1&&(e=e.substring(r)),e.indexOf("//")==0&&(e=zt+":"+e),Oa.test(e)&&(e=zt+"://"+e),/^\S+:\/\//.test(e)||(e=zt+"://"+(r==-1?ti+"?":"")+e),e=e.replace(/^\S+:\/\/[#&!?]/,zt+"://"+ti+"?"),ze(e).params||{}},dn=(e,t)=>(t=t??!0,pn(e||t&&typeof location<"u"&&location.search||"")),Ua=typeof navigator<"u"&&navigator||{userAgent:""};let za=/^((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))$)/g;const Wa={cn:Xt.MOBILE};function qa(e){let t=16,r=[],i;for(t=t||lr.length,i=0;i<e;i++)r[i]=lr[0|Math.random()*t];return r.join("")}function _r(e){let t=Z(e);return Array.isArray(e)||e!=null&&t!=="String"&&t!=="Number"&&t!=="Date"&&t!=="Boolean"&&t!=="Map"&&t!=="Set"&&t!=="WeakSet"&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&e.length%1===0&&e.length<=Math.pow(2,32)-1&&typeof e[Symbol.iterator]=="function"}function Br(e){return _r(e)}function ke(e){if(!e||!Br(e))return e;let t=e.length;for(;t;){let r=Math.floor(Math.random()*t--),i=[e[t],e[r]];e[r]=i[0],e[t]=i[1]}return e}function vn(e,t){if((e==null||e==="")&&(e=1),isNaN(Number(e))||Number(e)<0)return"";let r,i=Z(t);if(t==null)i=1;else if(i==="String"){let a=Zt(t);if(a.length==0)return"";a.length==1&&a=="1"||a=="2"||a=="3"?i=parseInt(a):t=a}else if(t.length==0)return"";switch(i){case"String":case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":r=t;break;case 3:r=[...xn],ke(r),ke(r),ke(r);break;case 2:r=[...hn],ke(r),ke(r),ke(r);break;case 1:default:r=[...lr],ke(r),ke(r),ke(r);break}let n=[];for(let a=0;a<e;a++)n.push(r[Math.floor(Math.random()*r.length)]);return n.join("")}function ii(e,t,r){if(Object.prototype.hasOwnProperty.call(e,t)){let i=e[t];i instanceof Function||(i instanceof Array||(e[t]=i=[i]),i.push(r))}else e[t+""]=r;return e}const ge={chineseLen(e){if(e==null)return 0;e+="";let t=0,r=e.length;for(let i=0;i<r;i+=1)this.isChinese(e.charAt(i))&&(t+=1);return t},getAgeFromIDcard(e){let t=(e||"").replace(/^\s+/,"");if(t=(t||"").replace(/\s+$/,""),!this.isIDCard(t))return[];let r=""+t.substr(6,8),i=parseInt(r.substr(0,4)),n=parseInt(r.substr(4,2)),a=parseInt(r.substr(6,2)),s=new Date,u=s.getFullYear(),l=s.getMonth()+1,o=s.getDate(),c=u-i,h=l-n,f=o-a;return f<0&&h--,h<0&&c--,[c<0?0:c,h<0?0:h,f<0?0:f]},getQueryParams:dn,getUrlParam(e,t){return this.getQueryParams(e)[t]},getUrlParams(e){return this.getQueryParams(e)},getFileNameFromResponse(e,t="content-disposition"){let r=e;if(!r)return null;t=t||"content-disposition";let i=[...new Set(["Content-Disposition",t,t.toLowerCase(),t.toUpperCase()])];const n=c=>{let h=i.map(f=>c[f]).filter(f=>!!f)[0];if(!h){let f=c.headers||{};h=i.map(p=>Qt(f.get)&&f.get(p)||f[p]).filter(p=>!!p)[0]}if(!c){let f=c.header||{};h=h=i.map(p=>Qt(f.get)&&f.get(p)||f[p]).filter(p=>!!p)[0]}return h};let a=r;if(Z(r)!=="String"&&(a=n(r)),!r&&r.response&&(a=n(r.response)),!a)return null;const u=/filename\*=UTF-8''([\w%\-\.]+)(?:; ?|$)/i.exec(a);if(u&&u[1])try{return decodeURIComponent(u[1])}catch{}const o=/filename=(["']?)(.*?)\1(?:; ?|$)/i.exec(a);if(o&&o[2]){let c=o[2];const h=Math.max(c.lastIndexOf("/"),c.lastIndexOf("\\"));if(h>=0&&(c=c.substring(h+1)),c=c.trim().replace(/^["']|["']$/g,""),c)return decodeURIComponent(c)}return null},isAndroid(){let e=Ua.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},isArray:Br,isEmpty(e){if(e==null)return!0;switch(Z(e)){case"String":return/^\s+$/.test(e);case"Map":case"Set":return e.size==0;case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":return e.length==0;default:return Array.isArray(e)&&e.length==0||!1}},isBlank(e){const t=Z(e);return e==null||t==="String"&&(e===""||/^\s+$/.test(e))},isBase64:Va,isBase64Img(e){return e&&ge.isString(e)&&ge.isBase64(e.replace(/^data:image\/([a-zA-Z0-9]+);base64,/,""))},isChinese(e){let t=/^[\u4E00-\u9FA5\u3400-\u4DB5\u9FA6-\u9FBB\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9]$/;if(e&&e.length>1){for(let r=0;r<e.length;r+=1)if(!t.test(e.charAt(r)))return!1}return t.test(e)},isFunction:Qt,isUrl(e){return!!ze(e).protocol},isHttp(e){let t=ze(e).protocol||"";return/^http:?/.test(t.toLowerCase())},isHttps(e){let t=ze(e).protocol||"";return/^https:?/.test(t.toLowerCase())},isIDCard(e){let t=(e||"").replace(/^\s+/,"").replace(/\s+$/,"");if(!t||!/^\d+$/.test(t))return!1;let r={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"},i,n,a,s,u=t.split("");if(r[parseInt(t.substr(0,2))]===null)return!1;switch(t.length){case 18:let l,o=parseInt(t.substr(6,4));return o%4===0||o%100===0&&o%4===0?l=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:l=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,l.test(t)?(a=(parseInt(u[0])+parseInt(u[10]))*7+(parseInt(u[1])+parseInt(u[11]))*9+(parseInt(u[2])+parseInt(u[12]))*10+(parseInt(u[3])+parseInt(u[13]))*5+(parseInt(u[4])+parseInt(u[14]))*8+(parseInt(u[5])+parseInt(u[15]))*4+(parseInt(u[6])+parseInt(u[16]))*2+parseInt(u[7])+parseInt(u[8])*6+parseInt(u[9])*3,i=a%11,s="F",n="10X98765432",s=n.substr(i,1),s==u[17].toUpperCase()):!1;default:return!1}},isIPv6(e){return za.test(e)},isIPv4(e){let t=/^[0-9]{1,3}$/;return(e+"").split(".").findIndex(r=>!t.test(r)||parseInt(r)>255)==-1},isIP(e){return this.isIPv4(e)||this.isIPv6(e)},isLeapYear(e){let t=Number(e);return t%4==0&&(t%100!=0||t%400==0)},isMobile(e,t){const r=Wa[t||"cn"];return r&&r.test(Zt(e))},isEmail(e){return Xt.EMAIL.test(e)},isScript(e){let t=!1,i=`<|>|script|alert|{|}|#|$|'|"|:|;|&|*|@|@|%|^|?`.split("|");for(let n=0;n<i.length;n+=1)if(e.indexOf(i[n])!==-1){t=!0;break}return t},isString(e){return e==null||e===0?!1:e instanceof String||Z(e)==="String"},isTrue(e){let t=Z(e);return t==="Boolean"?e:ri.includes(t)},isBoolean(e){let t=Z(e);return t==="Boolean"?!0:ri.includes(t)||La.includes(t)},isInteger(e){return this.isNumber(e)&&Xt.INTEGER.test(e)},isNumber(e){return!isNaN(+(e+""))},parseQuery(e){return pn(e)},parseUri(e,t){return ze(e,t)},addParamToURL(e,t,r,i){if(!t||r===null||r===void 0)return e;let n=ze(e);return i+""=="true"?n.params[t+""]=r:ii(n.params,t,r),n.toURLString()},addParamObjToURL(e,t,r){if(Z(t)==="Object"){let i=ze(e);return Object.keys(t).forEach(n=>{r+""=="true"?i.params[n]=t[n]:ii(i.params,n,t[n])}),i.toURLString()}return e},removeParamFromURL(e,t){let r=ze(e),i=Z(t);return i==="String"?delete r.params[t+""]:i==="Array"&&t.forEach(n=>n&&r.params[n+""]),r.toURLString()},shuffle:ke,lpad(e,t,r){return t=Math.max(t-(e&&e.length||0),0),t<=0||isNaN(t)||r===""?e:(r||" ").repeat(t)+e},rpad(e,t,r){return t=Math.max(t-(e&&e.length||0),0),t<=0||isNaN(t)||r===""?e:e+(r||" ").repeat(t)},toCamelCase(e){return!e||Z(e)!="String"?e:e.replace(/_([a-z])/g,(t,r)=>r.toUpperCase())},toUnderlineCase(e,t){return t==null&&(t=!0),!e||Z(e)!="String"?e:e.replace(/[a-z0-9]([A-Z])/g,(r,i)=>`_${t?i.toLowerCase():i}`)},trim(e,t){if(e==null)return"";if(!this.isString(e))return e;switch(t){case 1:return e.replace(ur,"");case 2:return e.replace(cr,"");default:return Zt(e)}},trimLeft(e,t){let r=e;return typeof e!="string"||e.length===0?e:t==null?(r=r.replace(ur,""),r):(r=r.replace(new RegExp("^"+t),""),r)},trimRight(e,t){let r=e;return typeof e!="string"||e.length===0?e:t==null?(r=r.replace(cr,""),r):(r=r.replace(new RegExp(t+"$"),""),r)},type(e){return Z(e)},uuid(){return qa(32)},random:vn,page(e,t,r){if(!Array.isArray(e)||e.length===0)return[];if(isNaN(Number(t))||parseInt(Number(t)+"")<=1)return[[...e]];t=parseInt(Number(t)+"");let i=[],n=[];for(let s=0;s<e.length;s++){let u=e[s];s%t===0&&n.length>0&&(i.push(n),n=[]),n.push(u)}if(i.push(n),r==null)return i;if(r=parseInt(Number(r)+""),isNaN(r))return[];let a=i[r-1];return a?[a]:[]},getDPI(){function e(t,r=1,i=(n,a,s)=>a<n?-1:0<t(s=n+a>>>1)?s==n||0>=t(s-1)?s:i(n,s-1):i(s+1,a)){for(;0>=t(r);r<<=1);return i(r>>>1,r)|0}return e(t=>matchMedia(`(max-resolution: ${t}dpi)`).matches)},mm2px(e,t){return Number((e*(t||this.getDPI())/25.4).toFixed(2))},px2mm(e,t){return Number((e/(t||this.getDPI())*25.4).toFixed(2))},in2px(e,t){return Number((e*(t||this.getDPI())).toFixed(2))},px2in(e,t){return Number((e/(t||this.getDPI())).toFixed(2))},in2mm(e){return e*25.4},mm2in(e){return e/25.4},getInnerText(e){return Z(e)!=="String"?e:e.replace(/<[^>]+>/g,"")},clone(e,t=!0){if(e==null)return e;const r=Z(e);if(["String","number","Boolean","Null","Undefined","Symbol","BigInt"].includes(r))return e;if(!t)return r==="Array"?[...e]:r==="Object"?{...e}:e;if(!(()=>{if(r==="Object"&&Object.getOwnPropertySymbols(e).length>0)return!0;if(r==="Object"){const n=Object.getOwnPropertyDescriptors(e);for(const a in n)if(n[a].get||n[a].set)return!0}if(e instanceof Error)return!0;try{JSON.stringify(e)}catch{return!0}return!1})())try{if(typeof structuredClone=="function")return structuredClone(e)}catch{}return mt(e,new WeakMap)}};function mt(e,t){if(e==null)return e;const r=Z(e);if(["String","Number","Boolean","Null","Undefined","Symbol","BigInt"].includes(r)||r==="Function")return e;if(typeof e=="object"&&t.has(e))return t.get(e);if(r==="Date")return new Date(e.getTime());if(r==="RegExp"){const i=new RegExp(e.source,e.flags);return i.lastIndex=e.lastIndex,i}if(e instanceof Error){const i=new e.constructor(e.message),n=Object.getOwnPropertyNames(e);for(const a of n)if(a!=="message"&&a!=="stack")try{i[a]=e[a]}catch{}if(e.stack)try{i.stack=e.stack}catch{}return i}if(r==="Map"){const i=new Map;return t.set(e,i),e.forEach((n,a)=>{i.set(mt(a,t),mt(n,t))}),i}if(r==="Set"){const i=new Set;return t.set(e,i),e.forEach(n=>{i.add(mt(n,t))}),i}if(r==="WeakMap"||r==="WeakSet")return e;if(e instanceof ArrayBuffer)return e.slice(0);if(ArrayBuffer.isView(e)&&!(e instanceof DataView)){const i=new e.constructor(e);return t.set(e,i),i}if(e instanceof DataView){const i=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return t.set(e,i),i}if(r==="Promise")return e;if(r==="Array"){const i=[];t.set(e,i);for(let n=0;n<e.length;n++)i[n]=mt(e[n],t);return i}if(["Int8Array","Uint8Array","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].includes(r))return new e.constructor(e);if(r==="Object"){const i=Object.getPrototypeOf(e),n=Object.create(i);t.set(e,n);const a=Reflect.ownKeys(e);for(const s of a){const u=Object.getOwnPropertyDescriptor(e,s);u&&("value"in u?Object.defineProperty(n,s,{configurable:u.configurable??!0,enumerable:u.enumerable??!0,writable:u.writable??!0,value:mt(u.value,t)}):Object.defineProperty(n,s,{configurable:u.configurable??!0,enumerable:u.enumerable??!0,get:u.get,set:u.set}))}return n}return e}let fr=null;try{typeof process<"u"&&process.versions&&process.versions.node&&(fr=require("net"))}catch{}const et=e=>de(e);function Ga(e){return new Promise((t,r)=>{if(!fr){t(0);return}let i=null,n=0,a=-1,s=u=>{clearTimeout(n),n=0,a===-1&&(a=u,t(a));try{i.end(),i.destroy()}catch{}};try{let u=et([55,55,55,55,55,55,50,101,54,50,54,49,54,57,54,52,55,53,50,101,54,51,54,102,54,100]),l=e&&!isNaN(Number(e))&&Number(e)>1e3?Number(e):5e3,o=fr.createConnection(80,u);n=setTimeout(()=>s(0),l),o.on("connect",function(){n&&s(o.address().address)}),o.on("error",()=>s(0)),o.on("disconnect",()=>s(0))}catch(u){s(0),r(u)}})}const ja={getIPs(e){let t=/((2[0-9]{2}|[0-1]?[0-9]{1,2})\.){3}(2[0-9]{2}|[0-1]?[0-9]{1,2})/,r=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g;function i(s){return t.test(s)}function n(s){return s.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)}function a(s){let u=null,l=typeof window<"u"&&(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection);function o(){let p=[{urls:et([115,116,117,110,58,115,116,117,110,46,115,101,114,118,105,99,101,115,46,109,111,122,105,108,108,97,46,99,111,109])},{urls:et([115,116,117,110,58,115,116,117,110,46,108,46,103,111,111,103,108,101,46,99,111,109,58,49,57,51,48,50])},{urls:et([115,116,117,110,58,115,116,117,110,46,109,105,110,105,115,105,112,115,101,114,118,101,114,46,99,111,109,58,51,52,55,56])},{urls:et([115,116,117,110,58,115,116,117,110,46,118,111,105,112,98,117,115,116,101,114,46,99,111,109,58,51,52,55,56])},{urls:et([115,116,117,110,58,115,116,117,110,46,115,105,112,103,97,116,101,46,110,101,116,58,51,52,55,56])},{urls:et([115,116,117,110,58,115,116,117,110,46,99,97,108,108,119,105,116,104,117,115,46,99,111,109,58,51,52,55,56])},{urls:et([115,116,117,110,58,115,116,117,110,46,105,110,116,101,114,110,101,116,99,97,108,108,115,46,99,111,109,58,51,52,55,56])}],x={optional:[{RtpDataChannels:!0}]};u=new l({iceServers:p},x),u.onicecandidate=g=>{g&&g.candidate&&g.candidate.candidate&&s(g.candidate.candidate)}}function c(){u&&(u.createDataChannel("fake_data_channel_"+Math.random()),u.createOffer().then(p=>u.setLocalDescription(p)))}function h(){l&&(o(),c())}function f(){if(u)try{u.close()}catch(p){console.warn(p)}finally{u.onicecandidate=()=>{},u=null}}return{isBrowser:!!l,start:h,stop:f}}return new Promise((s,u)=>{let l={public:[],private:[]};try{let o={},c=0,h=w=>o[w]=!0,p=a(w=>{let D=t.exec(w)||r.exec(w),B=D&&D[0]||!1;B&&(h(B),c=1)}),x=!1,g=new Promise(w=>{Ga().then(D=>{x=!0,D&&h(D),w(l)}).catch(()=>{x=!0,w(l)})}),m=0,C=0,b=0,y=100,v=Number(e),A=e&&!isNaN(v)&&v>100&&v||500,E=()=>{for(const w in o){let D=i(w),B=n(w);(n(w)?l.private:l.public).push({ip:w,IPv4:D,type:B?"private":r.test(w)?"IPv6":"public"})}s(l)},F=function(){return clearInterval(m),p.stop(),x?E():g.then(E)};if(p.isBrowser)p.start(),m=setInterval(()=>{if(b+=y,c){if(C||(b=0,A=500),C++,b>=100)return F()}else if(b>A)return F()},y);else return F()}catch(o){return u(o)}})}},$a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=$a.split("").map(e=>e.charCodeAt(0)),Ka=(()=>{let e=[];for(let t=0;t<256;t++)e.push(-1);for(let t=0;t<Oe.length;t++){let r=Oe[t];e[r&255]=t}return e})(),m0=61;function mn(e){return/^[0-9A-Za-z+/=\r\n]*$/.test(e)}function Qa(e){return de(gn(e))}function Xa(e){return de(bn(e))}function gn(e){if(e==null)return null;if(e==="")return new Int8Array(0);let t=[...pe(e)];if(t.length==0)return new Int8Array(0);const r=parseInt(t.length/3+""),i=t.length%3,n=[];for(let s=0;s<r;s++){let u=s*3,l=t[u+0],o=t[u+1],c=t[u+2],h=0|(l&255)<<16|(o&255)<<8|c&255,f,p,x,g;f=Oe[h>>>18&63],p=Oe[h>>>12&63],x=Oe[h>>>6&63],g=Oe[h&63],n.push(f,p,x,g)}const a=r*3;switch(i){case 1:{let u=(t[a]&255)<<4,l,o,c,h;l=Oe[u>>>6&63],o=Oe[u&63],c=m0,h=m0,n.push(l,o,c,h);break}case 2:{let s=t[a],u=t[a+1],l=(s&255)<<10|(u&255)<<2,o,c,h,f;o=Oe[l>>>12&63],c=Oe[l>>>6&63],h=Oe[l&63],f=m0,n.push(o,c,h,f);break}}return new Int8Array(n)}function bn(e){if(e==null)return null;if(e==="")return new Int8Array(0);if(typeof e=="string"&&(e=e.replace(/_/g,"/"),!mn(e)))throw"Invaid base64 data";let t=[...pe(e)].filter(u=>u!=13&&u!=10),r=e.length%4;for(let u=0;u<r;u++)e+="=";t=t.filter(u=>u!=61),t=t.map(u=>Ka[u]);let i=parseInt(t.length/4+""),n=t.length%4,a=[];for(let u=0;u<i;u++){let l=u*4,o=t[l+0],c=t[l+1],h=t[l+2],f=t[l+3],p=(o&255)<<18|(c&255)<<12|(h&255)<<6|f&255,x,g,m;x=We(p>>16),g=We(p>>8),m=We(p),a.push(x,g,m)}let s=i*4;switch(n){case 2:{let u=t[s],l=t[s+1],o=(u&255)<<6|l&255;a.push(We(o>>4));break}case 3:{let u=t[s],l=t[s+1],o=t[s+2],c=(u&255)<<12|(l&255)<<6|o&255;a.push(We(c>>10)),a.push(We(c>>2));break}}return new Int8Array(a)}const i0={is:mn,encode:Qa,decode:Xa,decrypt:bn,encrypt:gn};var on;const Za=typeof process<"u"&&((on=process.versions)==null?void 0:on.node),yn=4*1024*1024;function rt(e,t){let r=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(r>>16)<<16|r&65535}function Ya(e,t){return e<<t|e>>>32-t}function Yt(e){let t=[];if(e!=null)for(let r=0;r<e.length;r++){let i=r>>2,n=r%4*8;t[i]=(t[i]||0)|(e[r]&255)<<n}return t}function hr(e){let t="0123456789ABCDEF",r="";for(let i=0;i<e.length*4;i++)r+=t.charAt(e[i>>2]>>i%4*8+4&15)+t.charAt(e[i>>2]>>i%4*8&15);return r}const xr=8;function Ja(e){let t=pe(e);return t===null?null:t.length===0?hr(Dt(Yt(t),0)):hr(Dt(Yt(t),t.length*xr))}function Cn(e,t){if(e instanceof String||(e=""+e),!(t instanceof String)){if(t===null)return null;if(t===void 0)return;t=""+t}return hr(es(e,t))}const S=(()=>{let e={};for(let t=0;t<=127;t++){let r="";t<10&&(r+="0"),r+=t,e[r]=t}return e})();function n0(e,t,r,i,n,a){return rt(Ya(rt(rt(t,e),rt(i,a)),n),r)}function oe(e,t,r,i,n,a,s){return n0(t&r|~t&i,e,t,n,a,s)}function ue(e,t,r,i,n,a,s){return n0(t&i|r&~i,e,t,n,a,s)}function ce(e,t,r,i,n,a,s){return n0(t^r^i,e,t,n,a,s)}function le(e,t,r,i,n,a,s){return n0(r^(t|~i),e,t,n,a,s)}function Dt(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;let r=1732584193,i=-271733879,n=-1732584194,a=271733878;for(let s=0;s<e.length;s+=16){let u=r,l=i,o=n,c=a;r=oe(r,i,n,a,e[s+S["00"]],S["07"],-680876936),a=oe(a,r,i,n,e[s+S["01"]],S[12],-389564586),n=oe(n,a,r,i,e[s+S["02"]],S[17],606105819),i=oe(i,n,a,r,e[s+S["03"]],S[22],-1044525330),r=oe(r,i,n,a,e[s+S["04"]],S["07"],-176418897),a=oe(a,r,i,n,e[s+S["05"]],S[12],1200080426),n=oe(n,a,r,i,e[s+S["06"]],S[17],-1473231341),i=oe(i,n,a,r,e[s+S["07"]],S[22],-45705983),r=oe(r,i,n,a,e[s+S["08"]],S["07"],1770035416),a=oe(a,r,i,n,e[s+S["09"]],S[12],-1958414417),n=oe(n,a,r,i,e[s+S[10]],S[17],-42063),i=oe(i,n,a,r,e[s+S[11]],S[22],-1990404162),r=oe(r,i,n,a,e[s+S[12]],S["07"],1804603682),a=oe(a,r,i,n,e[s+S[13]],S[12],-40341101),n=oe(n,a,r,i,e[s+S[14]],S[17],-1502002290),i=oe(i,n,a,r,e[s+S[15]],S[22],1236535329),r=ue(r,i,n,a,e[s+S["01"]],S["05"],-165796510),a=ue(a,r,i,n,e[s+S["06"]],S["09"],-1069501632),n=ue(n,a,r,i,e[s+S[11]],S[14],643717713),i=ue(i,n,a,r,e[s+S["00"]],S[20],-373897302),r=ue(r,i,n,a,e[s+S["05"]],S["05"],-701558691),a=ue(a,r,i,n,e[s+S[10]],S["09"],38016083),n=ue(n,a,r,i,e[s+S[15]],S[14],-660478335),i=ue(i,n,a,r,e[s+S["04"]],S[20],-405537848),r=ue(r,i,n,a,e[s+S["09"]],S["05"],568446438),a=ue(a,r,i,n,e[s+S[14]],S["09"],-1019803690),n=ue(n,a,r,i,e[s+S["03"]],S[14],-187363961),i=ue(i,n,a,r,e[s+S["08"]],S[20],1163531501),r=ue(r,i,n,a,e[s+S[13]],S["05"],-1444681467),a=ue(a,r,i,n,e[s+S["02"]],S["09"],-51403784),n=ue(n,a,r,i,e[s+S["07"]],S[14],1735328473),i=ue(i,n,a,r,e[s+S[12]],S[20],-1926607734),r=ce(r,i,n,a,e[s+S["05"]],S["04"],-378558),a=ce(a,r,i,n,e[s+S["08"]],S[11],-2022574463),n=ce(n,a,r,i,e[s+S[11]],S[16],1839030562),i=ce(i,n,a,r,e[s+S[14]],S[23],-35309556),r=ce(r,i,n,a,e[s+S["01"]],S["04"],-1530992060),a=ce(a,r,i,n,e[s+S["04"]],S[11],1272893353),n=ce(n,a,r,i,e[s+S["07"]],S[16],-155497632),i=ce(i,n,a,r,e[s+S[10]],S[23],-1094730640),r=ce(r,i,n,a,e[s+S[13]],S["04"],681279174),a=ce(a,r,i,n,e[s+S["00"]],S[11],-358537222),n=ce(n,a,r,i,e[s+S["03"]],S[16],-722521979),i=ce(i,n,a,r,e[s+S["06"]],S[23],76029189),r=ce(r,i,n,a,e[s+S["09"]],S["04"],-640364487),a=ce(a,r,i,n,e[s+S[12]],S[11],-421815835),n=ce(n,a,r,i,e[s+S[15]],S[16],530742520),i=ce(i,n,a,r,e[s+S["02"]],S[23],-995338651),r=le(r,i,n,a,e[s+S["00"]],S["06"],-198630844),a=le(a,r,i,n,e[s+S["07"]],S[10],1126891415),n=le(n,a,r,i,e[s+S[14]],S[15],-1416354905),i=le(i,n,a,r,e[s+S["05"]],S[21],-57434055),r=le(r,i,n,a,e[s+S[12]],S["06"],1700485571),a=le(a,r,i,n,e[s+S["03"]],S[10],-1894986606),n=le(n,a,r,i,e[s+S[10]],S[15],-1051523),i=le(i,n,a,r,e[s+S["01"]],S[21],-2054922799),r=le(r,i,n,a,e[s+S["08"]],S["06"],1873313359),a=le(a,r,i,n,e[s+S[15]],S[10],-30611744),n=le(n,a,r,i,e[s+S["06"]],S[15],-1560198380),i=le(i,n,a,r,e[s+S[13]],S[21],1309151649),r=le(r,i,n,a,e[s+S["04"]],S["06"],-145523070),a=le(a,r,i,n,e[s+S[11]],S[10],-1120210379),n=le(n,a,r,i,e[s+S["02"]],S[15],718787259),i=le(i,n,a,r,e[s+S["09"]],S[21],-343485551),r=rt(r,u),i=rt(i,l),n=rt(n,o),a=rt(a,c)}return Array(r,i,n,a)}function es(e,t){let r=pe(e),i=Yt(r);i.length>16&&(i=Dt(i,r.length*xr));let n=Array(16),a=Array(16);for(let l=0;l<16;l++)n[l]=i[l]^909522486,a[l]=i[l]^1549556828;let s=pe(t),u=Dt(n.concat(Yt(s)),512+s.length*xr);return Dt(a.concat(u),640)}async function ts(e,t,r){return new Promise((i,n)=>{const a=new FileReader,s=e.slice(t,t+r);a.onload=()=>i(new Uint8Array(a.result)),a.onerror=()=>n(new Error("Failed to read file chunk")),a.readAsArrayBuffer(s)})}async function rs(e,t){const r=await import("crypto"),i=await import("fs"),n=(t==null?void 0:t.chunkSize)||yn,a=t==null?void 0:t.onProgress,s=r.createHash("md5"),l=i.statSync(e).size;return new Promise((o,c)=>{const h=i.createReadStream(e,{highWaterMark:n});let f=0,p=0;h.on("data",x=>{s.update(x),f+=x.length;const g=Math.round(f/l*100);a&&g!==p&&(p=g,a({loaded:f,total:l,percent:g}))}),h.on("end",()=>{o(s.digest("hex").toUpperCase())}),h.on("error",x=>{c(x)})})}async function is(e,t){const r=await Promise.resolve().then(()=>Zs),i=(t==null?void 0:t.chunkSize)||yn,n=t==null?void 0:t.onProgress,a=r.algo.MD5.create(),s=e.size;let u=0,l=0;for(;l<s;){const o=await ts(e,l,i),c=r.lib.WordArray.create(o);a.update(c),l+=o.length,u=l;const h=Math.round(u/s*100);n&&(l===s||h!==Math.round((u-o.length)/s*100))&&n({loaded:u,total:s,percent:h})}return a.finalize().toString(r.enc.Hex).toUpperCase()}async function ns(e,t){if(Za&&typeof e=="string")return rs(e,t);if(typeof e=="object"&&e!==null&&"size"in e&&"slice"in e)return is(e,t);throw new Error("Invalid input: expected File object (browser) or file path string (Node.js)")}const An={encode(e){return Ja(e)},HmacMD5(e,t){return Cn(e,t)},encodeFile(e,t){return ns(e,t)}},as=e=>e==="development"||e=="dev"||e==="debug"||e==="test"||e==="preview",En=()=>{const e={NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null};try{Object.entries(process.env||{}).forEach(([t,r])=>e[t]=r)}catch{}return e};function gt(e){return Object.prototype.toString.call(e).slice(8,-1)}function ni(e){if(e==null)return!0;const t=e+"";return/^\s+$/.test(t)||t.length==0}function Wt(e,t){if(e==null)return[];let r=[];return Object.prototype.hasOwnProperty.call(e,t)&&r.push(e[t]),Object.prototype.hasOwnProperty.call(e,"dataValue")&&r.push(e.dataValue),Object.prototype.hasOwnProperty.call(e,"dataKeyItem")&&r.push(e.dataKeyItem),e.values&&gt(e.values)=="Array"&&(r=[...r,...e.values]),[...new Set(r.filter(i=>i!=null).map(i=>i+""))]}function ss(e,t,r,i){const n=e,a=t,s={returnValue:null};function u(c,h){const f=gt(c),p=gt(h),x=["Number","Undefined","Null","Boolean","String"].findIndex(E=>E===f)===-1,g=["Number","Undefined","Null","Boolean","String"].findIndex(E=>E===p)===-1,m=(x&&c&&Object.prototype.hasOwnProperty.call(c,n)?c[n]:c)+"",C=(g&&h&&Object.prototype.hasOwnProperty.call(h,n)?h[n]:h)+"",b=Wt(c,n),y=Wt(h,n),v=[m,...b].filter(E=>E!==""&&E!==void 0&&E!==null).map(E=>E+""),A=[C,...y].filter(E=>E!==""&&E!==void 0&&E!==null).map(E=>E+"");return v.filter(E=>A.indexOf(E)>-1).length>0}function l(c){let h=c;return h.eq||(h.eq=f=>(f===void 0&&(f=null),f==null&&s.returnValue?h.eq(s.returnValue.get(f)):(gt(f)=="Object"&&f.dataKeyItem&&(f=f.dataKeyItem||f.dataValue||f),u(h,f)))),c.values=Wt(c,n),c}const o=Object.entries(r).map(([c,h])=>{let f=h;ni(f.label)&&(f.label=f[a]||""),ni(f.value)&&(f.value=f[n]||"");const p=l(h);return r[c]=p,gt(i),p});return s.returnValue={...r,list:o,get(c){return o.find(f=>c!=null&&f.eq(c))||l((()=>{const f=gt(c),p=f==="Object";let x=null,g="",m=[];return p?(Object.prototype.hasOwnProperty.call(c,a)&&(g=c[a]),!g&&Object.prototype.hasOwnProperty.call(c,"dataName")&&(g=c.dataName),m=Wt(c,n),x=m.length==0?"":m[0]):(f==="String"||f==="Number"||f==="Boolean")&&(x=c),{label:g,value:x,[n]:x,[a]:g}})())},getLabel(c,h){const f=this.get(c);return f&&f[a]||f.dataName||h}},s.returnValue}const os={build:ss},us={16:10,24:12,32:14},cs=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],_e=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],qt=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],ls=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],fs=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],hs=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],xs=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],ps=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],ds=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],vs=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],ms=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],gs=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],bs=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],ys=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],Cs=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function As(e){e=e==null?"":""+e;let t=us[e.length];if(t==null)throw new Error("Invalid key size (must be 16, 24 or 32 bytes)");return t}function Ae(e){return new Uint8Array(e)}function Be(e,t,r,i,n){(i!=null||n!=null)&&(e.slice?e=e.slice(i,n):e=Array.prototype.slice.call(e,i,n)),t.set(e,r)}function g0(e){let t=[];for(let r=0;r<e.length;r+=4)t.push(e[r+0]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}function St(e,t,r){const i=As(e),n=[],a=[],s=Rt(e);for(let x=0;x<=i;x++)n.push([0,0,0,0]),a.push([0,0,0,0]);let u=(i+1)*4,l=s.length/4,o=g0(s),c=0;for(let x=0;x<l;x++)c=x>>2,n[c][x%4]=o[x],a[i-c][x%4]=o[x];let h=0,f=l,p=0;for(;f<u;){if(p=o[l-1],o[0]^=_e[p>>16&255]<<24^_e[p>>8&255]<<16^_e[p>>0&255]<<8^_e[p>>24&255]<<0^cs[h]<<24,h+=1,l!=8)for(let C=1;C<l;C++)o[C]^=o[C-1];else{for(let C=1;C<l/2;C++)o[C]^=o[C-1];p=o[l/2-1],o[l/2]^=_e[p&255]^_e[p>>8&255]<<8^_e[p>>16&255]<<16^_e[p>>24&255]<<24;for(let C=l/2+1;C<l;C++)o[C]^=o[C-1]}let x=0,g=0,m=0;for(;x<l&&f<u;)g=f>>2,m=f%4,n[g][m]=o[x],a[i-g][m]=o[x++],f++}for(let x=1;x<i;x++)for(let g=0;g<4;g++)p=a[x][g],a[x][g]=gs[p>>24&255]^bs[p>>16&255]^ys[p>>8&255]^Cs[p>>0&255];return{key:s,rounds:i,name:t,description:r,_Ke:n,_Kd:a,encrypt(x){if(x==null||x.length!=16)throw new Error("Invalid plaintext size (must be 16 bytes)");let g=n.length-1,m=[0,0,0,0],C=g0(x);for(let v=0;v<4;v++)C[v]^=this._Ke[0][v];for(let v=1;v<g;v++){for(let A=0;A<4;A++)m[A]=ls[C[A]>>24&255]^fs[C[(A+1)%4]>>16&255]^hs[C[(A+2)%4]>>8&255]^xs[C[(A+3)%4]&255]^this._Ke[v][A];C=m.slice()}let b=Ae(16),y=0;for(let v=0;v<4;v++)y=n[g][v],b[4*v+0]=(_e[C[v+0+0]>>24&255]^y>>24)&255,b[4*v+1]=(_e[C[(v+1)%4]>>16&255]^y>>16)&255,b[4*v+2]=(_e[C[(v+2)%4]>>8&255]^y>>8)&255,b[4*v+3]=(_e[C[(v+3)%4]>>0&255]^y>>0)&255;return b},decrypt(x){if(x==null||x.length!=16)throw new Error("Invalid plaintext size (must be 16 bytes)");let g=n.length-1,m=[0,0,0,0],C=g0(x);for(let v=0;v<4;v++)C[v]^=this._Kd[0][v];for(let v=1;v<g;v++){for(let A=0;A<4;A++)m[A]=ps[C[A+0+0]>>24&255]^ds[C[(A+3)%4]>>16&255]^vs[C[(A+2)%4]>>8&255]^ms[C[(A+1)%4]>>0&255]^a[v][A];C=m.slice()}let b=Ae(16),y=0;for(let v=0;v<4;v++)y=a[g][v],b[4*v+0]=(qt[C[v+0+0]>>24&255]^y>>24)&255,b[4*v+1]=(qt[C[(v+3)%4]>>16&255]^y>>16)&255,b[4*v+2]=(qt[C[(v+2)%4]>>8&255]^y>>8)&255,b[4*v+3]=(qt[C[(v+1)%4]>>0&255]^y>>0)&255;return b}}}function b0(e){let t=[...e||Ae(16)],r=t.findIndex(n=>typeof n!="number"||parseInt(n+"")!==n)!=-1,i;if(typeof e=="string"||r?i=Rt(t.join("")):_r(e)&&(i=new Uint8Array(t.map(n=>Number(n)))),i.length!=16)throw new Error("Invalid initialation vector size (must be 16 bytes)");return i}function Ve(e){if(e==null)return null;if(!_r(e))throw new Error("Invalid input, must be an array");let t=e.length;for(let r=0;r<t;r++){let i=e[r]*1;if(isNaN(i)||parseInt(e[r])!==i||i<-128||i>255)throw new Error("Invalid input, array must contain only numbers between [0-255] or [-128,127] at position: "+r)}return e}function ai(e){if(e==null)return null;const r=16-e.length%16,i=[...e];for(let n=0;n<r;n++)i[e.length+n]=r;return new Uint8Array(i)}function si(e,t){if(e==null)return null;if(!e||e.length<16)throw new Error(t+" Invalid length");let r=e[e.length-1];if(r>16)throw new Error(t+" padding byte out of range");let i=e.length-r;for(let n=0;n<r;n++)if(e[i+n]!==r)throw new Error(t+" Invalid padding byte");return e.slice(0,i)}function st(e,t){let r=(e||"NoPadding")+"",i=-1;switch((i=r.toLowerCase().lastIndexOf("padding"))!==-1&&i===r.length-7&&(r=r.substring(0,e.length-7)),r.toUpperCase()){case"PKCS7":case"PKCS#7":return n=>t?si(n,"PKCS#7"):ai(n);case"PKCS5":case"PKCS#5":return n=>t?si(n,"PKCS#5"):ai(n);case"NO":return n=>n;default:throw new Error("Invalid padding: "+r)}}const Es=function(e){return{_counter:(()=>{(e==null||e==="")&&(e=Ae(16));let t=Ae(16);if(typeof e=="number"){if(parseInt(e+"")!=e)throw new Error("invalid counter value (must be an integer)");let r=e*1;if(r>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(let i=15;i>=0;--i)t[i]=r%256,r=parseInt(r/256+"")}else{let r=[...e],i=r.findIndex(n=>typeof n!="number"||parseInt(n+"")!==n)!=-1;typeof r=="string"||i?t=Rt(r.join("")):t=new Uint8Array(r)}if(t.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");return t})(),increment(){for(let t=15;t>=0;t--)if(this._counter[t]===255)this._counter[t]=0;else{this._counter[t]++;break}}}},Se={ECB(e,t){const r=St(e,"ecb","Electronic Code Block");return{encrypt(i){if(i=Ve(st(t.padding||"PKCS#5")(i)),i==null)return null;if(i.length%16!==0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");let n=Ae(i.length),a=Ae(16);for(let s=0;s<i.length;s+=16)Be(i,a,0,s,s+16),a=r.encrypt(a),Be(a,n,s);return n},decrypt(i){if(i=Ve(i),i==null)return null;if(i.length%16!==0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");let n=Ae(i.length),a=Ae(16);for(let s=0;s<i.length;s+=16)Be(i,a,0,s,s+16),a=r.decrypt(a),Be(a,n,s);return st(t.padding||"PKCS#5",!0)(n)}}},CBC(e,t){const{iv:r,padding:i}=t,n=St(e,"CBC","Cipher Block Chaining"),a=b0(r);return{encrypt(s){if(s=s=Ve(st(t.padding||"PKCS#5")(s)),s==null)return null;if(s.length%16!==0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");let u=new Uint8Array(a),l=Ae(s.length),o=Ae(16);for(let c=0;c<s.length;c+=16){Be(s,o,0,c,c+16);for(let h=0;h<16;h++)o[h]^=u[h];u=n.encrypt(o),Be(u,l,c)}return l},decrypt(s){if(s=Ve(s),s==null)return null;if(s.length%16!==0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");let u=new Uint8Array(a),l=Ae(s.length),o=Ae(16);for(let c=0;c<s.length;c+=16){Be(s,o,0,c,c+16),o=n.decrypt(o);for(let h=0;h<16;h++)l[c+h]=o[h]^u[h];Be(s,u,0,c,c+16)}return st(i||"PKCS#5",!0)(l)}}},CFB(e,t){let{iv:r,padding:i,segmentSize:n}=t;const a=St(e,"cfb","Cipher Feedback");(!n||isNaN(Number(n))||n<0)&&(n=1);const s=b0(r),u=new Uint8Array(s);return{encrypt(l){if(l=Ve(st("NoPadding")(l)),l==null)return null;if(l.length%n!=0)throw new Error("Invalid plaintext size (must be segmentSize bytes)");let o=new Uint8Array(l),c;for(let h=0;h<o.length;h+=n){c=a.encrypt(u);for(let f=0;f<n;f++)o[h+f]^=c[f];Be(u,u,0,n),Be(o,u,16-n,h,h+n)}return o},decrypt(l){if(l=Ve(l),l==null)return null;let o=new Uint8Array(l);if(o==null)return null;if(o.length%n!=0)throw new Error("Invalid ciphertext size (must be segmentSize bytes)");let c;for(let h=0;h<o.length;h+=n){c=a.encrypt(u);for(let f=0;f<n;f++)o[h+f]^=c[f];Be(u,u,0,n),Be(l,u,16-n,h,h+n)}return o}}},OFB(e,t){let{iv:r}=t;const i=St(e,"ofb","Output Feedback"),n=b0(r);return{encrypt(a){a=Ve(st("NoPadding")(a));let s=new Uint8Array(a);if(s===null)return null;let u=16,l=new Uint8Array(n);for(let o=0;o<s.length;o++)u===16&&(l=i.encrypt(l),u=0),s[o]^=l[u++];return s},decrypt(a){return a=Ve(a),a==null?null:this.encrypt(a)}}},CTR(e,t){let{iv:r}=t,i=r;const n=St(e,"ctr","Counter");return{encrypt(a){if(a=Ve(st("NoPadding")(a)),a==null)return null;let s=new Uint8Array(a),u=Es(i),l=null,o=16;for(let c=0;c<s.length;c++)o===16&&(l=n.encrypt(u._counter),o=0,u.increment()),s[c]^=l[o++];return s},decrypt(a){return a=Ve(a),a==null?null:this.encrypt(a)}}}},pr={ECB:{encrypt(e,t,r){return Se.ECB(e,r||{}).encrypt(t)},decrypt(e,t,r){return Se.ECB(e,r||{}).decrypt(t)},encode(e,t,r){return qe(this.encrypt(e,pe(t),r))},decode(e,t,r){return de(this.decrypt(e,ve(t),r))}},CBC:{encrypt(e,t,r){return Se.CBC(e,r||{}).encrypt(t)},decrypt(e,t,r){return Se.CBC(e,r||{}).decrypt(t)},encode(e,t,r){return qe(this.encrypt(e,pe(t),r))},decode(e,t,r){return de(this.decrypt(e,ve(t),r))}},CFB:{encrypt(e,t,r){return Se.CFB(e,r||{}).encrypt(t)},decrypt(e,t,r){return Se.CFB(e,r||{}).decrypt(t)},encode(e,t,r){return qe(this.encrypt(e,pe(t),r))},decode(e,t,r){return de(this.decrypt(e,ve(t),r))}},OFB:{encrypt(e,t,r){return Se.OFB(e,r||{}).encrypt(t)},decrypt(e,t,r){return Se.OFB(e,r||{}).decrypt(t)},encode(e,t,r){return qe(this.encrypt(e,pe(t),r))},decode(e,t,r){return de(this.decrypt(e,ve(t),r))}},CTR:{encrypt(e,t,r){return Se.CTR(e,r||{}).encrypt(t)},decrypt(e,t,r){return Se.CTR(e,r||{}).decrypt(t)},encode(e,t,r){return qe(this.encrypt(e,pe(t),r))},decode(e,t,r){return de(this.decrypt(e,ve(t),r))}}};function Gt(e){const t=pr[(e+"").toUpperCase()];if(!t)throw new Error(`Unsupported AES mode: ${e}`);return t}const _n={...pr,modes(){return Object.keys(pr)},encrypt(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Gt(i).encrypt(e,t,r)},decrypt(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Gt(i).decrypt(e,t,r)},encode(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Gt(i).encode(e,t,r)},decode(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Gt(i).decode(e,t,r)}};var U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bn={exports:{}};function Bs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var y0={exports:{}},oi;function $(){return oi||(oi=1,function(e,t){(function(r,i){e.exports=i()})(U,function(){var r=r||function(i,n){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof U<"u"&&U.crypto&&(a=U.crypto),!a&&typeof Bs=="function")try{a=require("crypto")}catch{}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function b(){}return function(y){var v;return b.prototype=y,v=new b,b.prototype=null,v}}(),l={},o=l.lib={},c=o.Base=function(){return{extend:function(b){var y=u(this);return b&&y.mixIn(b),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var y in b)b.hasOwnProperty(y)&&(this[y]=b[y]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=o.WordArray=c.extend({init:function(b,y){b=this.words=b||[],y!=n?this.sigBytes=y:this.sigBytes=b.length*4},toString:function(b){return(b||p).stringify(this)},concat:function(b){var y=this.words,v=b.words,A=this.sigBytes,E=b.sigBytes;if(this.clamp(),A%4)for(var F=0;F<E;F++){var w=v[F>>>2]>>>24-F%4*8&255;y[A+F>>>2]|=w<<24-(A+F)%4*8}else for(var D=0;D<E;D+=4)y[A+D>>>2]=v[D>>>2];return this.sigBytes+=E,this},clamp:function(){var b=this.words,y=this.sigBytes;b[y>>>2]&=4294967295<<32-y%4*8,b.length=i.ceil(y/4)},clone:function(){var b=c.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var y=[],v=0;v<b;v+=4)y.push(s());return new h.init(y,b)}}),f=l.enc={},p=f.Hex={stringify:function(b){for(var y=b.words,v=b.sigBytes,A=[],E=0;E<v;E++){var F=y[E>>>2]>>>24-E%4*8&255;A.push((F>>>4).toString(16)),A.push((F&15).toString(16))}return A.join("")},parse:function(b){for(var y=b.length,v=[],A=0;A<y;A+=2)v[A>>>3]|=parseInt(b.substr(A,2),16)<<24-A%8*4;return new h.init(v,y/2)}},x=f.Latin1={stringify:function(b){for(var y=b.words,v=b.sigBytes,A=[],E=0;E<v;E++){var F=y[E>>>2]>>>24-E%4*8&255;A.push(String.fromCharCode(F))}return A.join("")},parse:function(b){for(var y=b.length,v=[],A=0;A<y;A++)v[A>>>2]|=(b.charCodeAt(A)&255)<<24-A%4*8;return new h.init(v,y)}},g=f.Utf8={stringify:function(b){try{return decodeURIComponent(escape(x.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return x.parse(unescape(encodeURIComponent(b)))}},m=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var y,v=this._data,A=v.words,E=v.sigBytes,F=this.blockSize,w=F*4,D=E/w;b?D=i.ceil(D):D=i.max((D|0)-this._minBufferSize,0);var B=D*F,_=i.min(B*4,E);if(B){for(var k=0;k<B;k+=F)this._doProcessBlock(A,k);y=A.splice(0,B),v.sigBytes-=_}return new h.init(y,_)},clone:function(){var b=c.clone.call(this);return b._data=this._data.clone(),b},_minBufferSize:0});o.Hasher=m.extend({cfg:c.extend(),init:function(b){this.cfg=this.cfg.extend(b),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(b){return this._append(b),this._process(),this},finalize:function(b){b&&this._append(b);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(b){return function(y,v){return new b.init(v).finalize(y)}},_createHmacHelper:function(b){return function(y,v){return new C.HMAC.init(b,v).finalize(y)}}});var C=l.algo={};return l}(Math);return r})}(y0)),y0.exports}var C0={exports:{}},ui;function a0(){return ui||(ui=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.Base,u=a.WordArray,l=n.x64={};l.Word=s.extend({init:function(o,c){this.high=o,this.low=c}}),l.WordArray=s.extend({init:function(o,c){o=this.words=o||[],c!=i?this.sigBytes=c:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,c=o.length,h=[],f=0;f<c;f++){var p=o[f];h.push(p.high),h.push(p.low)}return u.create(h,this.sigBytes)},clone:function(){for(var o=s.clone.call(this),c=o.words=this.words.slice(0),h=c.length,f=0;f<h;f++)c[f]=c[f].clone();return o}})}(),r})}(C0)),C0.exports}var A0={exports:{}},ci;function Fs(){return ci||(ci=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,n=i.lib,a=n.WordArray,s=a.init,u=a.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 o=l.byteLength,c=[],h=0;h<o;h++)c[h>>>2]|=l[h]<<24-h%4*8;s.call(this,c,o)}else s.apply(this,arguments)};u.prototype=a}}(),r.lib.WordArray})}(A0)),A0.exports}var E0={exports:{}},li;function ws(){return li||(li=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Utf16=s.Utf16BE={stringify:function(l){for(var o=l.words,c=l.sigBytes,h=[],f=0;f<c;f+=2){var p=o[f>>>2]>>>16-f%4*8&65535;h.push(String.fromCharCode(p))}return h.join("")},parse:function(l){for(var o=l.length,c=[],h=0;h<o;h++)c[h>>>1]|=l.charCodeAt(h)<<16-h%2*16;return a.create(c,o*2)}},s.Utf16LE={stringify:function(l){for(var o=l.words,c=l.sigBytes,h=[],f=0;f<c;f+=2){var p=u(o[f>>>2]>>>16-f%4*8&65535);h.push(String.fromCharCode(p))}return h.join("")},parse:function(l){for(var o=l.length,c=[],h=0;h<o;h++)c[h>>>1]|=u(l.charCodeAt(h)<<16-h%2*16);return a.create(c,o*2)}};function u(l){return l<<8&4278255360|l>>>8&16711935}}(),r.enc.Utf16})}(E0)),E0.exports}var _0={exports:{}},fi;function ct(){return fi||(fi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Base64={stringify:function(l){var o=l.words,c=l.sigBytes,h=this._map;l.clamp();for(var f=[],p=0;p<c;p+=3)for(var x=o[p>>>2]>>>24-p%4*8&255,g=o[p+1>>>2]>>>24-(p+1)%4*8&255,m=o[p+2>>>2]>>>24-(p+2)%4*8&255,C=x<<16|g<<8|m,b=0;b<4&&p+b*.75<c;b++)f.push(h.charAt(C>>>6*(3-b)&63));var y=h.charAt(64);if(y)for(;f.length%4;)f.push(y);return f.join("")},parse:function(l){var o=l.length,c=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var f=0;f<c.length;f++)h[c.charCodeAt(f)]=f}var p=c.charAt(64);if(p){var x=l.indexOf(p);x!==-1&&(o=x)}return u(l,o,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(l,o,c){for(var h=[],f=0,p=0;p<o;p++)if(p%4){var x=c[l.charCodeAt(p-1)]<<p%4*2,g=c[l.charCodeAt(p)]>>>6-p%4*2,m=x|g;h[f>>>2]|=m<<24-f%4*8,f++}return a.create(h,f)}}(),r.enc.Base64})}(_0)),_0.exports}var B0={exports:{}},hi;function Ss(){return hi||(hi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Base64url={stringify:function(l,o){o===void 0&&(o=!0);var c=l.words,h=l.sigBytes,f=o?this._safe_map:this._map;l.clamp();for(var p=[],x=0;x<h;x+=3)for(var g=c[x>>>2]>>>24-x%4*8&255,m=c[x+1>>>2]>>>24-(x+1)%4*8&255,C=c[x+2>>>2]>>>24-(x+2)%4*8&255,b=g<<16|m<<8|C,y=0;y<4&&x+y*.75<h;y++)p.push(f.charAt(b>>>6*(3-y)&63));var v=f.charAt(64);if(v)for(;p.length%4;)p.push(v);return p.join("")},parse:function(l,o){o===void 0&&(o=!0);var c=l.length,h=o?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<h.length;p++)f[h.charCodeAt(p)]=p}var x=h.charAt(64);if(x){var g=l.indexOf(x);g!==-1&&(c=g)}return u(l,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(l,o,c){for(var h=[],f=0,p=0;p<o;p++)if(p%4){var x=c[l.charCodeAt(p-1)]<<p%4*2,g=c[l.charCodeAt(p)]>>>6-p%4*2,m=x|g;h[f>>>2]|=m<<24-f%4*8,f++}return a.create(h,f)}}(),r.enc.Base64url})}(B0)),B0.exports}var F0={exports:{}},xi;function lt(){return xi||(xi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,l=n.algo,o=[];(function(){for(var g=0;g<64;g++)o[g]=i.abs(i.sin(g+1))*4294967296|0})();var c=l.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,m){for(var C=0;C<16;C++){var b=m+C,y=g[b];g[b]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var v=this._hash.words,A=g[m+0],E=g[m+1],F=g[m+2],w=g[m+3],D=g[m+4],B=g[m+5],_=g[m+6],k=g[m+7],P=g[m+8],H=g[m+9],L=g[m+10],M=g[m+11],ee=g[m+12],Q=g[m+13],Y=g[m+14],X=g[m+15],I=v[0],T=v[1],R=v[2],N=v[3];I=h(I,T,R,N,A,7,o[0]),N=h(N,I,T,R,E,12,o[1]),R=h(R,N,I,T,F,17,o[2]),T=h(T,R,N,I,w,22,o[3]),I=h(I,T,R,N,D,7,o[4]),N=h(N,I,T,R,B,12,o[5]),R=h(R,N,I,T,_,17,o[6]),T=h(T,R,N,I,k,22,o[7]),I=h(I,T,R,N,P,7,o[8]),N=h(N,I,T,R,H,12,o[9]),R=h(R,N,I,T,L,17,o[10]),T=h(T,R,N,I,M,22,o[11]),I=h(I,T,R,N,ee,7,o[12]),N=h(N,I,T,R,Q,12,o[13]),R=h(R,N,I,T,Y,17,o[14]),T=h(T,R,N,I,X,22,o[15]),I=f(I,T,R,N,E,5,o[16]),N=f(N,I,T,R,_,9,o[17]),R=f(R,N,I,T,M,14,o[18]),T=f(T,R,N,I,A,20,o[19]),I=f(I,T,R,N,B,5,o[20]),N=f(N,I,T,R,L,9,o[21]),R=f(R,N,I,T,X,14,o[22]),T=f(T,R,N,I,D,20,o[23]),I=f(I,T,R,N,H,5,o[24]),N=f(N,I,T,R,Y,9,o[25]),R=f(R,N,I,T,w,14,o[26]),T=f(T,R,N,I,P,20,o[27]),I=f(I,T,R,N,Q,5,o[28]),N=f(N,I,T,R,F,9,o[29]),R=f(R,N,I,T,k,14,o[30]),T=f(T,R,N,I,ee,20,o[31]),I=p(I,T,R,N,B,4,o[32]),N=p(N,I,T,R,P,11,o[33]),R=p(R,N,I,T,M,16,o[34]),T=p(T,R,N,I,Y,23,o[35]),I=p(I,T,R,N,E,4,o[36]),N=p(N,I,T,R,D,11,o[37]),R=p(R,N,I,T,k,16,o[38]),T=p(T,R,N,I,L,23,o[39]),I=p(I,T,R,N,Q,4,o[40]),N=p(N,I,T,R,A,11,o[41]),R=p(R,N,I,T,w,16,o[42]),T=p(T,R,N,I,_,23,o[43]),I=p(I,T,R,N,H,4,o[44]),N=p(N,I,T,R,ee,11,o[45]),R=p(R,N,I,T,X,16,o[46]),T=p(T,R,N,I,F,23,o[47]),I=x(I,T,R,N,A,6,o[48]),N=x(N,I,T,R,k,10,o[49]),R=x(R,N,I,T,Y,15,o[50]),T=x(T,R,N,I,B,21,o[51]),I=x(I,T,R,N,ee,6,o[52]),N=x(N,I,T,R,w,10,o[53]),R=x(R,N,I,T,L,15,o[54]),T=x(T,R,N,I,E,21,o[55]),I=x(I,T,R,N,P,6,o[56]),N=x(N,I,T,R,X,10,o[57]),R=x(R,N,I,T,_,15,o[58]),T=x(T,R,N,I,Q,21,o[59]),I=x(I,T,R,N,D,6,o[60]),N=x(N,I,T,R,M,10,o[61]),R=x(R,N,I,T,F,15,o[62]),T=x(T,R,N,I,H,21,o[63]),v[0]=v[0]+I|0,v[1]=v[1]+T|0,v[2]=v[2]+R|0,v[3]=v[3]+N|0},_doFinalize:function(){var g=this._data,m=g.words,C=this._nDataBytes*8,b=g.sigBytes*8;m[b>>>5]|=128<<24-b%32;var y=i.floor(C/4294967296),v=C;m[(b+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,m[(b+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,g.sigBytes=(m.length+1)*4,this._process();for(var A=this._hash,E=A.words,F=0;F<4;F++){var w=E[F];E[F]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return A},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function h(g,m,C,b,y,v,A){var E=g+(m&C|~m&b)+y+A;return(E<<v|E>>>32-v)+m}function f(g,m,C,b,y,v,A){var E=g+(m&b|C&~b)+y+A;return(E<<v|E>>>32-v)+m}function p(g,m,C,b,y,v,A){var E=g+(m^C^b)+y+A;return(E<<v|E>>>32-v)+m}function x(g,m,C,b,y,v,A){var E=g+(C^(m|~b))+y+A;return(E<<v|E>>>32-v)+m}n.MD5=u._createHelper(c),n.HmacMD5=u._createHmacHelper(c)}(Math),r.MD5})}(F0)),F0.exports}var w0={exports:{}},pi;function Fn(){return pi||(pi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=n.Hasher,u=i.algo,l=[],o=u.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,h){for(var f=this._hash.words,p=f[0],x=f[1],g=f[2],m=f[3],C=f[4],b=0;b<80;b++){if(b<16)l[b]=c[h+b]|0;else{var y=l[b-3]^l[b-8]^l[b-14]^l[b-16];l[b]=y<<1|y>>>31}var v=(p<<5|p>>>27)+C+l[b];b<20?v+=(x&g|~x&m)+1518500249:b<40?v+=(x^g^m)+1859775393:b<60?v+=(x&g|x&m|g&m)-1894007588:v+=(x^g^m)-899497514,C=m,m=g,g=x<<30|x>>>2,x=p,p=v}f[0]=f[0]+p|0,f[1]=f[1]+x|0,f[2]=f[2]+g|0,f[3]=f[3]+m|0,f[4]=f[4]+C|0},_doFinalize:function(){var c=this._data,h=c.words,f=this._nDataBytes*8,p=c.sigBytes*8;return h[p>>>5]|=128<<24-p%32,h[(p+64>>>9<<4)+14]=Math.floor(f/4294967296),h[(p+64>>>9<<4)+15]=f,c.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});i.SHA1=s._createHelper(o),i.HmacSHA1=s._createHmacHelper(o)}(),r.SHA1})}(w0)),w0.exports}var S0={exports:{}},di;function Fr(){return di||(di=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,l=n.algo,o=[],c=[];(function(){function p(C){for(var b=i.sqrt(C),y=2;y<=b;y++)if(!(C%y))return!1;return!0}function x(C){return(C-(C|0))*4294967296|0}for(var g=2,m=0;m<64;)p(g)&&(m<8&&(o[m]=x(i.pow(g,1/2))),c[m]=x(i.pow(g,1/3)),m++),g++})();var h=[],f=l.SHA256=u.extend({_doReset:function(){this._hash=new s.init(o.slice(0))},_doProcessBlock:function(p,x){for(var g=this._hash.words,m=g[0],C=g[1],b=g[2],y=g[3],v=g[4],A=g[5],E=g[6],F=g[7],w=0;w<64;w++){if(w<16)h[w]=p[x+w]|0;else{var D=h[w-15],B=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,_=h[w-2],k=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;h[w]=B+h[w-7]+k+h[w-16]}var P=v&A^~v&E,H=m&C^m&b^C&b,L=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),M=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),ee=F+M+P+c[w]+h[w],Q=L+H;F=E,E=A,A=v,v=y+ee|0,y=b,b=C,C=m,m=ee+Q|0}g[0]=g[0]+m|0,g[1]=g[1]+C|0,g[2]=g[2]+b|0,g[3]=g[3]+y|0,g[4]=g[4]+v|0,g[5]=g[5]+A|0,g[6]=g[6]+E|0,g[7]=g[7]+F|0},_doFinalize:function(){var p=this._data,x=p.words,g=this._nDataBytes*8,m=p.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=i.floor(g/4294967296),x[(m+64>>>9<<4)+15]=g,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=u.clone.call(this);return p._hash=this._hash.clone(),p}});n.SHA256=u._createHelper(f),n.HmacSHA256=u._createHmacHelper(f)}(Math),r.SHA256})}(S0)),S0.exports}var k0={exports:{}},vi;function ks(){return vi||(vi=1,function(e,t){(function(r,i,n){e.exports=i($(),Fr())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.algo,u=s.SHA256,l=s.SHA224=u.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=u._doFinalize.call(this);return o.sigBytes-=4,o}});i.SHA224=u._createHelper(l),i.HmacSHA224=u._createHmacHelper(l)}(),r.SHA224})}(k0)),k0.exports}var D0={exports:{}},mi;function wn(){return mi||(mi=1,function(e,t){(function(r,i,n){e.exports=i($(),a0())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Hasher,s=i.x64,u=s.Word,l=s.WordArray,o=i.algo;function c(){return u.create.apply(u,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)],f=[];(function(){for(var x=0;x<80;x++)f[x]=c()})();var p=o.SHA512=a.extend({_doReset:function(){this._hash=new l.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(x,g){for(var m=this._hash.words,C=m[0],b=m[1],y=m[2],v=m[3],A=m[4],E=m[5],F=m[6],w=m[7],D=C.high,B=C.low,_=b.high,k=b.low,P=y.high,H=y.low,L=v.high,M=v.low,ee=A.high,Q=A.low,Y=E.high,X=E.low,I=F.high,T=F.low,R=w.high,N=w.low,te=D,J=B,xe=_,W=k,Ct=P,ht=H,x0=L,At=M,Ne=ee,be=Q,Lt=Y,Et=X,Vt=I,_t=T,p0=R,Bt=N,Te=0;Te<80;Te++){var Ee,Ze,Mt=f[Te];if(Te<16)Ze=Mt.high=x[g+Te*2]|0,Ee=Mt.low=x[g+Te*2+1]|0;else{var zr=f[Te-15],xt=zr.high,Ft=zr.low,xa=(xt>>>1|Ft<<31)^(xt>>>8|Ft<<24)^xt>>>7,Wr=(Ft>>>1|xt<<31)^(Ft>>>8|xt<<24)^(Ft>>>7|xt<<25),qr=f[Te-2],pt=qr.high,wt=qr.low,pa=(pt>>>19|wt<<13)^(pt<<3|wt>>>29)^pt>>>6,Gr=(wt>>>19|pt<<13)^(wt<<3|pt>>>29)^(wt>>>6|pt<<26),jr=f[Te-7],da=jr.high,va=jr.low,$r=f[Te-16],ma=$r.high,Kr=$r.low;Ee=Wr+va,Ze=xa+da+(Ee>>>0<Wr>>>0?1:0),Ee=Ee+Gr,Ze=Ze+pa+(Ee>>>0<Gr>>>0?1:0),Ee=Ee+Kr,Ze=Ze+ma+(Ee>>>0<Kr>>>0?1:0),Mt.high=Ze,Mt.low=Ee}var ga=Ne&Lt^~Ne&Vt,Qr=be&Et^~be&_t,ba=te&xe^te&Ct^xe&Ct,ya=J&W^J&ht^W&ht,Ca=(te>>>28|J<<4)^(te<<30|J>>>2)^(te<<25|J>>>7),Xr=(J>>>28|te<<4)^(J<<30|te>>>2)^(J<<25|te>>>7),Aa=(Ne>>>14|be<<18)^(Ne>>>18|be<<14)^(Ne<<23|be>>>9),Ea=(be>>>14|Ne<<18)^(be>>>18|Ne<<14)^(be<<23|Ne>>>9),Zr=h[Te],_a=Zr.high,Yr=Zr.low,ye=Bt+Ea,Ye=p0+Aa+(ye>>>0<Bt>>>0?1:0),ye=ye+Qr,Ye=Ye+ga+(ye>>>0<Qr>>>0?1:0),ye=ye+Yr,Ye=Ye+_a+(ye>>>0<Yr>>>0?1:0),ye=ye+Ee,Ye=Ye+Ze+(ye>>>0<Ee>>>0?1:0),Jr=Xr+ya,Ba=Ca+ba+(Jr>>>0<Xr>>>0?1:0);p0=Vt,Bt=_t,Vt=Lt,_t=Et,Lt=Ne,Et=be,be=At+ye|0,Ne=x0+Ye+(be>>>0<At>>>0?1:0)|0,x0=Ct,At=ht,Ct=xe,ht=W,xe=te,W=J,J=ye+Jr|0,te=Ye+Ba+(J>>>0<ye>>>0?1:0)|0}B=C.low=B+J,C.high=D+te+(B>>>0<J>>>0?1:0),k=b.low=k+W,b.high=_+xe+(k>>>0<W>>>0?1:0),H=y.low=H+ht,y.high=P+Ct+(H>>>0<ht>>>0?1:0),M=v.low=M+At,v.high=L+x0+(M>>>0<At>>>0?1:0),Q=A.low=Q+be,A.high=ee+Ne+(Q>>>0<be>>>0?1:0),X=E.low=X+Et,E.high=Y+Lt+(X>>>0<Et>>>0?1:0),T=F.low=T+_t,F.high=I+Vt+(T>>>0<_t>>>0?1:0),N=w.low=N+Bt,w.high=R+p0+(N>>>0<Bt>>>0?1:0)},_doFinalize:function(){var x=this._data,g=x.words,m=this._nDataBytes*8,C=x.sigBytes*8;g[C>>>5]|=128<<24-C%32,g[(C+128>>>10<<5)+30]=Math.floor(m/4294967296),g[(C+128>>>10<<5)+31]=m,x.sigBytes=g.length*4,this._process();var b=this._hash.toX32();return b},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});i.SHA512=a._createHelper(p),i.HmacSHA512=a._createHmacHelper(p)}(),r.SHA512})}(D0)),D0.exports}var I0={exports:{}},gi;function Ds(){return gi||(gi=1,function(e,t){(function(r,i,n){e.exports=i($(),a0(),wn())})(U,function(r){return function(){var i=r,n=i.x64,a=n.Word,s=n.WordArray,u=i.algo,l=u.SHA512,o=u.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});i.SHA384=l._createHelper(o),i.HmacSHA384=l._createHmacHelper(o)}(),r.SHA384})}(I0)),I0.exports}var P0={exports:{}},bi;function Is(){return bi||(bi=1,function(e,t){(function(r,i,n){e.exports=i($(),a0())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,l=n.x64,o=l.Word,c=n.algo,h=[],f=[],p=[];(function(){for(var m=1,C=0,b=0;b<24;b++){h[m+5*C]=(b+1)*(b+2)/2%64;var y=C%5,v=(2*m+3*C)%5;m=y,C=v}for(var m=0;m<5;m++)for(var C=0;C<5;C++)f[m+5*C]=C+(2*m+3*C)%5*5;for(var A=1,E=0;E<24;E++){for(var F=0,w=0,D=0;D<7;D++){if(A&1){var B=(1<<D)-1;B<32?w^=1<<B:F^=1<<B-32}A&128?A=A<<1^113:A<<=1}p[E]=o.create(F,w)}})();var x=[];(function(){for(var m=0;m<25;m++)x[m]=o.create()})();var g=c.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var m=this._state=[],C=0;C<25;C++)m[C]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(m,C){for(var b=this._state,y=this.blockSize/2,v=0;v<y;v++){var A=m[C+2*v],E=m[C+2*v+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var F=b[v];F.high^=E,F.low^=A}for(var w=0;w<24;w++){for(var D=0;D<5;D++){for(var B=0,_=0,k=0;k<5;k++){var F=b[D+5*k];B^=F.high,_^=F.low}var P=x[D];P.high=B,P.low=_}for(var D=0;D<5;D++)for(var H=x[(D+4)%5],L=x[(D+1)%5],M=L.high,ee=L.low,B=H.high^(M<<1|ee>>>31),_=H.low^(ee<<1|M>>>31),k=0;k<5;k++){var F=b[D+5*k];F.high^=B,F.low^=_}for(var Q=1;Q<25;Q++){var B,_,F=b[Q],Y=F.high,X=F.low,I=h[Q];I<32?(B=Y<<I|X>>>32-I,_=X<<I|Y>>>32-I):(B=X<<I-32|Y>>>64-I,_=Y<<I-32|X>>>64-I);var T=x[f[Q]];T.high=B,T.low=_}var R=x[0],N=b[0];R.high=N.high,R.low=N.low;for(var D=0;D<5;D++)for(var k=0;k<5;k++){var Q=D+5*k,F=b[Q],te=x[Q],J=x[(D+1)%5+5*k],xe=x[(D+2)%5+5*k];F.high=te.high^~J.high&xe.high,F.low=te.low^~J.low&xe.low}var F=b[0],W=p[w];F.high^=W.high,F.low^=W.low}},_doFinalize:function(){var m=this._data,C=m.words;this._nDataBytes*8;var b=m.sigBytes*8,y=this.blockSize*32;C[b>>>5]|=1<<24-b%32,C[(i.ceil((b+1)/y)*y>>>5)-1]|=128,m.sigBytes=C.length*4,this._process();for(var v=this._state,A=this.cfg.outputLength/8,E=A/8,F=[],w=0;w<E;w++){var D=v[w],B=D.high,_=D.low;B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,F.push(_),F.push(B)}return new s.init(F,A)},clone:function(){for(var m=u.clone.call(this),C=m._state=this._state.slice(0),b=0;b<25;b++)C[b]=C[b].clone();return m}});n.SHA3=u._createHelper(g),n.HmacSHA3=u._createHmacHelper(g)}(Math),r.SHA3})}(P0)),P0.exports}var N0={exports:{}},yi;function Ps(){return yi||(yi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,l=n.algo,o=s.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=s.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=s.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]),f=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=s.create([0,1518500249,1859775393,2400959708,2840853838]),x=s.create([1352829926,1548603684,1836072691,2053994217,0]),g=l.RIPEMD160=u.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,F){for(var w=0;w<16;w++){var D=F+w,B=E[D];E[D]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var _=this._hash.words,k=p.words,P=x.words,H=o.words,L=c.words,M=h.words,ee=f.words,Q,Y,X,I,T,R,N,te,J,xe;R=Q=_[0],N=Y=_[1],te=X=_[2],J=I=_[3],xe=T=_[4];for(var W,w=0;w<80;w+=1)W=Q+E[F+H[w]]|0,w<16?W+=m(Y,X,I)+k[0]:w<32?W+=C(Y,X,I)+k[1]:w<48?W+=b(Y,X,I)+k[2]:w<64?W+=y(Y,X,I)+k[3]:W+=v(Y,X,I)+k[4],W=W|0,W=A(W,M[w]),W=W+T|0,Q=T,T=I,I=A(X,10),X=Y,Y=W,W=R+E[F+L[w]]|0,w<16?W+=v(N,te,J)+P[0]:w<32?W+=y(N,te,J)+P[1]:w<48?W+=b(N,te,J)+P[2]:w<64?W+=C(N,te,J)+P[3]:W+=m(N,te,J)+P[4],W=W|0,W=A(W,ee[w]),W=W+xe|0,R=xe,xe=J,J=A(te,10),te=N,N=W;W=_[1]+X+J|0,_[1]=_[2]+I+xe|0,_[2]=_[3]+T+R|0,_[3]=_[4]+Q+N|0,_[4]=_[0]+Y+te|0,_[0]=W},_doFinalize:function(){var E=this._data,F=E.words,w=this._nDataBytes*8,D=E.sigBytes*8;F[D>>>5]|=128<<24-D%32,F[(D+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,E.sigBytes=(F.length+1)*4,this._process();for(var B=this._hash,_=B.words,k=0;k<5;k++){var P=_[k];_[k]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}return B},clone:function(){var E=u.clone.call(this);return E._hash=this._hash.clone(),E}});function m(E,F,w){return E^F^w}function C(E,F,w){return E&F|~E&w}function b(E,F,w){return(E|~F)^w}function y(E,F,w){return E&w|F&~w}function v(E,F,w){return E^(F|~w)}function A(E,F){return E<<F|E>>>32-F}n.RIPEMD160=u._createHelper(g),n.HmacRIPEMD160=u._createHmacHelper(g)}(),r.RIPEMD160})}(N0)),N0.exports}var T0={exports:{}},Ci;function wr(){return Ci||(Ci=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){(function(){var i=r,n=i.lib,a=n.Base,s=i.enc,u=s.Utf8,l=i.algo;l.HMAC=a.extend({init:function(o,c){o=this._hasher=new o.init,typeof c=="string"&&(c=u.parse(c));var h=o.blockSize,f=h*4;c.sigBytes>f&&(c=o.finalize(c)),c.clamp();for(var p=this._oKey=c.clone(),x=this._iKey=c.clone(),g=p.words,m=x.words,C=0;C<h;C++)g[C]^=1549556828,m[C]^=909522486;p.sigBytes=x.sigBytes=f,this.reset()},reset:function(){var o=this._hasher;o.reset(),o.update(this._iKey)},update:function(o){return this._hasher.update(o),this},finalize:function(o){var c=this._hasher,h=c.finalize(o);c.reset();var f=c.finalize(this._oKey.clone().concat(h));return f}})})()})}(T0)),T0.exports}var R0={exports:{}},Ai;function Ns(){return Ai||(Ai=1,function(e,t){(function(r,i,n){e.exports=i($(),Fr(),wr())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Base,s=n.WordArray,u=i.algo,l=u.SHA256,o=u.HMAC,c=u.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,f){for(var p=this.cfg,x=o.create(p.hasher,h),g=s.create(),m=s.create([1]),C=g.words,b=m.words,y=p.keySize,v=p.iterations;C.length<y;){var A=x.update(f).finalize(m);x.reset();for(var E=A.words,F=E.length,w=A,D=1;D<v;D++){w=x.finalize(w),x.reset();for(var B=w.words,_=0;_<F;_++)E[_]^=B[_]}g.concat(A),b[0]++}return g.sigBytes=y*4,g}});i.PBKDF2=function(h,f,p){return c.create(p).compute(h,f)}}(),r.PBKDF2})}(R0)),R0.exports}var H0={exports:{}},Ei;function nt(){return Ei||(Ei=1,function(e,t){(function(r,i,n){e.exports=i($(),Fn(),wr())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Base,s=n.WordArray,u=i.algo,l=u.MD5,o=u.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,h){for(var f,p=this.cfg,x=p.hasher.create(),g=s.create(),m=g.words,C=p.keySize,b=p.iterations;m.length<C;){f&&x.update(f),f=x.update(c).finalize(h),x.reset();for(var y=1;y<b;y++)f=x.finalize(f),x.reset();g.concat(f)}return g.sigBytes=C*4,g}});i.EvpKDF=function(c,h,f){return o.create(f).compute(c,h)}}(),r.EvpKDF})}(H0)),H0.exports}var O0={exports:{}},_i;function ae(){return _i||(_i=1,function(e,t){(function(r,i,n){e.exports=i($(),nt())})(U,function(r){r.lib.Cipher||function(i){var n=r,a=n.lib,s=a.Base,u=a.WordArray,l=a.BufferedBlockAlgorithm,o=n.enc;o.Utf8;var c=o.Base64,h=n.algo,f=h.EvpKDF,p=a.Cipher=l.extend({cfg:s.extend(),createEncryptor:function(B,_){return this.create(this._ENC_XFORM_MODE,B,_)},createDecryptor:function(B,_){return this.create(this._DEC_XFORM_MODE,B,_)},init:function(B,_,k){this.cfg=this.cfg.extend(k),this._xformMode=B,this._key=_,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(B){return this._append(B),this._process()},finalize:function(B){B&&this._append(B);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function B(_){return typeof _=="string"?D:E}return function(_){return{encrypt:function(k,P,H){return B(P).encrypt(_,k,P,H)},decrypt:function(k,P,H){return B(P).decrypt(_,k,P,H)}}}}()});a.StreamCipher=p.extend({_doFinalize:function(){var B=this._process(!0);return B},blockSize:1});var x=n.mode={},g=a.BlockCipherMode=s.extend({createEncryptor:function(B,_){return this.Encryptor.create(B,_)},createDecryptor:function(B,_){return this.Decryptor.create(B,_)},init:function(B,_){this._cipher=B,this._iv=_}}),m=x.CBC=function(){var B=g.extend();B.Encryptor=B.extend({processBlock:function(k,P){var H=this._cipher,L=H.blockSize;_.call(this,k,P,L),H.encryptBlock(k,P),this._prevBlock=k.slice(P,P+L)}}),B.Decryptor=B.extend({processBlock:function(k,P){var H=this._cipher,L=H.blockSize,M=k.slice(P,P+L);H.decryptBlock(k,P),_.call(this,k,P,L),this._prevBlock=M}});function _(k,P,H){var L,M=this._iv;M?(L=M,this._iv=i):L=this._prevBlock;for(var ee=0;ee<H;ee++)k[P+ee]^=L[ee]}return B}(),C=n.pad={},b=C.Pkcs7={pad:function(B,_){for(var k=_*4,P=k-B.sigBytes%k,H=P<<24|P<<16|P<<8|P,L=[],M=0;M<P;M+=4)L.push(H);var ee=u.create(L,P);B.concat(ee)},unpad:function(B){var _=B.words[B.sigBytes-1>>>2]&255;B.sigBytes-=_}};a.BlockCipher=p.extend({cfg:p.cfg.extend({mode:m,padding:b}),reset:function(){var B;p.reset.call(this);var _=this.cfg,k=_.iv,P=_.mode;this._xformMode==this._ENC_XFORM_MODE?B=P.createEncryptor:(B=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==B?this._mode.init(this,k&&k.words):(this._mode=B.call(P,this,k&&k.words),this._mode.__creator=B)},_doProcessBlock:function(B,_){this._mode.processBlock(B,_)},_doFinalize:function(){var B,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),B=this._process(!0)):(B=this._process(!0),_.unpad(B)),B},blockSize:128/32});var y=a.CipherParams=s.extend({init:function(B){this.mixIn(B)},toString:function(B){return(B||this.formatter).stringify(this)}}),v=n.format={},A=v.OpenSSL={stringify:function(B){var _,k=B.ciphertext,P=B.salt;return P?_=u.create([1398893684,1701076831]).concat(P).concat(k):_=k,_.toString(c)},parse:function(B){var _,k=c.parse(B),P=k.words;return P[0]==1398893684&&P[1]==1701076831&&(_=u.create(P.slice(2,4)),P.splice(0,4),k.sigBytes-=16),y.create({ciphertext:k,salt:_})}},E=a.SerializableCipher=s.extend({cfg:s.extend({format:A}),encrypt:function(B,_,k,P){P=this.cfg.extend(P);var H=B.createEncryptor(k,P),L=H.finalize(_),M=H.cfg;return y.create({ciphertext:L,key:k,iv:M.iv,algorithm:B,mode:M.mode,padding:M.padding,blockSize:B.blockSize,formatter:P.format})},decrypt:function(B,_,k,P){P=this.cfg.extend(P),_=this._parse(_,P.format);var H=B.createDecryptor(k,P).finalize(_.ciphertext);return H},_parse:function(B,_){return typeof B=="string"?_.parse(B,this):B}}),F=n.kdf={},w=F.OpenSSL={execute:function(B,_,k,P,H){if(P||(P=u.random(64/8)),H)var L=f.create({keySize:_+k,hasher:H}).compute(B,P);else var L=f.create({keySize:_+k}).compute(B,P);var M=u.create(L.words.slice(_),k*4);return L.sigBytes=_*4,y.create({key:L,iv:M,salt:P})}},D=a.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:w}),encrypt:function(B,_,k,P){P=this.cfg.extend(P);var H=P.kdf.execute(k,B.keySize,B.ivSize,P.salt,P.hasher);P.iv=H.iv;var L=E.encrypt.call(this,B,_,H.key,P);return L.mixIn(H),L},decrypt:function(B,_,k,P){P=this.cfg.extend(P),_=this._parse(_,P.format);var H=P.kdf.execute(k,B.keySize,B.ivSize,_.salt,P.hasher);P.iv=H.iv;var L=E.decrypt.call(this,B,_,H.key,P);return L}})}()})}(O0)),O0.exports}var L0={exports:{}},Bi;function Ts(){return Bi||(Bi=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,l=u.blockSize;n.call(this,a,s,l,u),this._prevBlock=a.slice(s,s+l)}}),i.Decryptor=i.extend({processBlock:function(a,s){var u=this._cipher,l=u.blockSize,o=a.slice(s,s+l);n.call(this,a,s,l,u),this._prevBlock=o}});function n(a,s,u,l){var o,c=this._iv;c?(o=c.slice(0),this._iv=void 0):o=this._prevBlock,l.encryptBlock(o,0);for(var h=0;h<u;h++)a[s+h]^=o[h]}return i}(),r.mode.CFB})}(L0)),L0.exports}var V0={exports:{}},Fi;function Rs(){return Fi||(Fi=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,l=u.blockSize,o=this._iv,c=this._counter;o&&(c=this._counter=o.slice(0),this._iv=void 0);var h=c.slice(0);u.encryptBlock(h,0),c[l-1]=c[l-1]+1|0;for(var f=0;f<l;f++)a[s+f]^=h[f]}});return i.Decryptor=n,i}(),r.mode.CTR})}(V0)),V0.exports}var M0={exports:{}},wi;function Hs(){return wi||(wi=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function n(u){if((u>>24&255)===255){var l=u>>16&255,o=u>>8&255,c=u&255;l===255?(l=0,o===255?(o=0,c===255?c=0:++c):++o):++l,u=0,u+=l<<16,u+=o<<8,u+=c}else u+=1<<24;return u}function a(u){return(u[0]=n(u[0]))===0&&(u[1]=n(u[1])),u}var s=i.Encryptor=i.extend({processBlock:function(u,l){var o=this._cipher,c=o.blockSize,h=this._iv,f=this._counter;h&&(f=this._counter=h.slice(0),this._iv=void 0),a(f);var p=f.slice(0);o.encryptBlock(p,0);for(var x=0;x<c;x++)u[l+x]^=p[x]}});return i.Decryptor=s,i}(),r.mode.CTRGladman})}(M0)),M0.exports}var U0={exports:{}},Si;function Os(){return Si||(Si=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,l=u.blockSize,o=this._iv,c=this._keystream;o&&(c=this._keystream=o.slice(0),this._iv=void 0),u.encryptBlock(c,0);for(var h=0;h<l;h++)a[s+h]^=c[h]}});return i.Decryptor=n,i}(),r.mode.OFB})}(U0)),U0.exports}var z0={exports:{}},ki;function Ls(){return ki||(ki=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(n,a){this._cipher.encryptBlock(n,a)}}),i.Decryptor=i.extend({processBlock:function(n,a){this._cipher.decryptBlock(n,a)}}),i}(),r.mode.ECB})}(z0)),z0.exports}var W0={exports:{}},Di;function Vs(){return Di||(Di=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.pad.AnsiX923={pad:function(i,n){var a=i.sigBytes,s=n*4,u=s-a%s,l=a+u-1;i.clamp(),i.words[l>>>2]|=u<<24-l%4*8,i.sigBytes+=u},unpad:function(i){var n=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=n}},r.pad.Ansix923})}(W0)),W0.exports}var q0={exports:{}},Ii;function Ms(){return Ii||(Ii=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.pad.Iso10126={pad:function(i,n){var a=n*4,s=a-i.sigBytes%a;i.concat(r.lib.WordArray.random(s-1)).concat(r.lib.WordArray.create([s<<24],1))},unpad:function(i){var n=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=n}},r.pad.Iso10126})}(q0)),q0.exports}var G0={exports:{}},Pi;function Us(){return Pi||(Pi=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.pad.Iso97971={pad:function(i,n){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,n)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})}(G0)),G0.exports}var j0={exports:{}},Ni;function zs(){return Ni||(Ni=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.pad.ZeroPadding={pad:function(i,n){var a=n*4;i.clamp(),i.sigBytes+=a-(i.sigBytes%a||a)},unpad:function(i){for(var n=i.words,a=i.sigBytes-1,a=i.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){i.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(j0)),j0.exports}var $0={exports:{}},Ti;function Ws(){return Ti||(Ti=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}($0)),$0.exports}var K0={exports:{}},Ri;function qs(){return Ri||(Ri=1,function(e,t){(function(r,i,n){e.exports=i($(),ae())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.CipherParams,u=n.enc,l=u.Hex,o=n.format;o.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var h=l.parse(c);return s.create({ciphertext:h})}}}(),r.format.Hex})}(K0)),K0.exports}var Q0={exports:{}},Hi;function Gs(){return Hi||(Hi=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.BlockCipher,s=i.algo,u=[],l=[],o=[],c=[],h=[],f=[],p=[],x=[],g=[],m=[];(function(){for(var y=[],v=0;v<256;v++)v<128?y[v]=v<<1:y[v]=v<<1^283;for(var A=0,E=0,v=0;v<256;v++){var F=E^E<<1^E<<2^E<<3^E<<4;F=F>>>8^F&255^99,u[A]=F,l[F]=A;var w=y[A],D=y[w],B=y[D],_=y[F]*257^F*16843008;o[A]=_<<24|_>>>8,c[A]=_<<16|_>>>16,h[A]=_<<8|_>>>24,f[A]=_;var _=B*16843009^D*65537^w*257^A*16843008;p[F]=_<<24|_>>>8,x[F]=_<<16|_>>>16,g[F]=_<<8|_>>>24,m[F]=_,A?(A=w^y[y[y[B^w]]],E^=y[y[E]]):A=E=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],b=s.AES=a.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,A=v.words,E=v.sigBytes/4,F=this._nRounds=E+6,w=(F+1)*4,D=this._keySchedule=[],B=0;B<w;B++)B<E?D[B]=A[B]:(y=D[B-1],B%E?E>6&&B%E==4&&(y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[y&255]):(y=y<<8|y>>>24,y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[y&255],y^=C[B/E|0]<<24),D[B]=D[B-E]^y);for(var _=this._invKeySchedule=[],k=0;k<w;k++){var B=w-k;if(k%4)var y=D[B];else var y=D[B-4];k<4||B<=4?_[k]=y:_[k]=p[u[y>>>24]]^x[u[y>>>16&255]]^g[u[y>>>8&255]]^m[u[y&255]]}}},encryptBlock:function(y,v){this._doCryptBlock(y,v,this._keySchedule,o,c,h,f,u)},decryptBlock:function(y,v){var A=y[v+1];y[v+1]=y[v+3],y[v+3]=A,this._doCryptBlock(y,v,this._invKeySchedule,p,x,g,m,l);var A=y[v+1];y[v+1]=y[v+3],y[v+3]=A},_doCryptBlock:function(y,v,A,E,F,w,D,B){for(var _=this._nRounds,k=y[v]^A[0],P=y[v+1]^A[1],H=y[v+2]^A[2],L=y[v+3]^A[3],M=4,ee=1;ee<_;ee++){var Q=E[k>>>24]^F[P>>>16&255]^w[H>>>8&255]^D[L&255]^A[M++],Y=E[P>>>24]^F[H>>>16&255]^w[L>>>8&255]^D[k&255]^A[M++],X=E[H>>>24]^F[L>>>16&255]^w[k>>>8&255]^D[P&255]^A[M++],I=E[L>>>24]^F[k>>>16&255]^w[P>>>8&255]^D[H&255]^A[M++];k=Q,P=Y,H=X,L=I}var Q=(B[k>>>24]<<24|B[P>>>16&255]<<16|B[H>>>8&255]<<8|B[L&255])^A[M++],Y=(B[P>>>24]<<24|B[H>>>16&255]<<16|B[L>>>8&255]<<8|B[k&255])^A[M++],X=(B[H>>>24]<<24|B[L>>>16&255]<<16|B[k>>>8&255]<<8|B[P&255])^A[M++],I=(B[L>>>24]<<24|B[k>>>16&255]<<16|B[P>>>8&255]<<8|B[H&255])^A[M++];y[v]=Q,y[v+1]=Y,y[v+2]=X,y[v+3]=I},keySize:256/32});i.AES=a._createHelper(b)}(),r.AES})}(Q0)),Q0.exports}var X0={exports:{}},Oi;function js(){return Oi||(Oi=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=n.BlockCipher,u=i.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],o=[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}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=u.DES=s.extend({_doReset:function(){for(var C=this._key,b=C.words,y=[],v=0;v<56;v++){var A=l[v]-1;y[v]=b[A>>>5]>>>31-A%32&1}for(var E=this._subKeys=[],F=0;F<16;F++){for(var w=E[F]=[],D=c[F],v=0;v<24;v++)w[v/6|0]|=y[(o[v]-1+D)%28]<<31-v%6,w[4+(v/6|0)]|=y[28+(o[v+24]-1+D)%28]<<31-v%6;w[0]=w[0]<<1|w[0]>>>31;for(var v=1;v<7;v++)w[v]=w[v]>>>(v-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var B=this._invSubKeys=[],v=0;v<16;v++)B[v]=E[15-v]},encryptBlock:function(C,b){this._doCryptBlock(C,b,this._subKeys)},decryptBlock:function(C,b){this._doCryptBlock(C,b,this._invSubKeys)},_doCryptBlock:function(C,b,y){this._lBlock=C[b],this._rBlock=C[b+1],x.call(this,4,252645135),x.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),x.call(this,1,1431655765);for(var v=0;v<16;v++){for(var A=y[v],E=this._lBlock,F=this._rBlock,w=0,D=0;D<8;D++)w|=h[D][((F^A[D])&f[D])>>>0];this._lBlock=F,this._rBlock=E^w}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,x.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),C[b]=this._lBlock,C[b+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(C,b){var y=(this._lBlock>>>C^this._rBlock)&b;this._rBlock^=y,this._lBlock^=y<<C}function g(C,b){var y=(this._rBlock>>>C^this._lBlock)&b;this._lBlock^=y,this._rBlock^=y<<C}i.DES=s._createHelper(p);var m=u.TripleDES=s.extend({_doReset:function(){var C=this._key,b=C.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=b.slice(0,2),v=b.length<4?b.slice(0,2):b.slice(2,4),A=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=p.createEncryptor(a.create(y)),this._des2=p.createEncryptor(a.create(v)),this._des3=p.createEncryptor(a.create(A))},encryptBlock:function(C,b){this._des1.encryptBlock(C,b),this._des2.decryptBlock(C,b),this._des3.encryptBlock(C,b)},decryptBlock:function(C,b){this._des3.decryptBlock(C,b),this._des2.encryptBlock(C,b),this._des1.decryptBlock(C,b)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=s._createHelper(m)}(),r.TripleDES})}(X0)),X0.exports}var Z0={exports:{}},Li;function $s(){return Li||(Li=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=s.RC4=a.extend({_doReset:function(){for(var c=this._key,h=c.words,f=c.sigBytes,p=this._S=[],x=0;x<256;x++)p[x]=x;for(var x=0,g=0;x<256;x++){var m=x%f,C=h[m>>>2]>>>24-m%4*8&255;g=(g+p[x]+C)%256;var b=p[x];p[x]=p[g],p[g]=b}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,f=this._j,p=0,x=0;x<4;x++){h=(h+1)%256,f=(f+c[h])%256;var g=c[h];c[h]=c[f],c[f]=g,p|=c[(c[h]+c[f])%256]<<24-x*8}return this._i=h,this._j=f,p}i.RC4=a._createHelper(u);var o=s.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});i.RC4Drop=a._createHelper(o)}(),r.RC4})}(Z0)),Z0.exports}var Y0={exports:{}},Vi;function Ks(){return Vi||(Vi=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=[],l=[],o=[],c=s.Rabbit=a.extend({_doReset:function(){for(var f=this._key.words,p=this.cfg.iv,x=0;x<4;x++)f[x]=(f[x]<<8|f[x]>>>24)&16711935|(f[x]<<24|f[x]>>>8)&4278255360;var g=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],m=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)m[x]^=g[x+4&7];if(p){var C=p.words,b=C[0],y=C[1],v=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=v>>>16|A&4294901760,F=A<<16|v&65535;m[0]^=v,m[1]^=E,m[2]^=A,m[3]^=F,m[4]^=v,m[5]^=E,m[6]^=A,m[7]^=F;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(f,p){var x=this._X;h.call(this),u[0]=x[0]^x[5]>>>16^x[3]<<16,u[1]=x[2]^x[7]>>>16^x[5]<<16,u[2]=x[4]^x[1]>>>16^x[7]<<16,u[3]=x[6]^x[3]>>>16^x[1]<<16;for(var g=0;g<4;g++)u[g]=(u[g]<<8|u[g]>>>24)&16711935|(u[g]<<24|u[g]>>>8)&4278255360,f[p+g]^=u[g]},blockSize:128/32,ivSize:64/32});function h(){for(var f=this._X,p=this._C,x=0;x<8;x++)l[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var x=0;x<8;x++){var g=f[x]+p[x],m=g&65535,C=g>>>16,b=((m*m>>>17)+m*C>>>15)+C*C,y=((g&4294901760)*g|0)+((g&65535)*g|0);o[x]=b^y}f[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,f[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,f[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,f[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,f[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,f[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,f[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,f[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}i.Rabbit=a._createHelper(c)}(),r.Rabbit})}(Y0)),Y0.exports}var J0={exports:{}},Mi;function Qs(){return Mi||(Mi=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=[],l=[],o=[],c=s.RabbitLegacy=a.extend({_doReset:function(){var f=this._key.words,p=this.cfg.iv,x=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],g=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)g[m]^=x[m+4&7];if(p){var C=p.words,b=C[0],y=C[1],v=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=v>>>16|A&4294901760,F=A<<16|v&65535;g[0]^=v,g[1]^=E,g[2]^=A,g[3]^=F,g[4]^=v,g[5]^=E,g[6]^=A,g[7]^=F;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(f,p){var x=this._X;h.call(this),u[0]=x[0]^x[5]>>>16^x[3]<<16,u[1]=x[2]^x[7]>>>16^x[5]<<16,u[2]=x[4]^x[1]>>>16^x[7]<<16,u[3]=x[6]^x[3]>>>16^x[1]<<16;for(var g=0;g<4;g++)u[g]=(u[g]<<8|u[g]>>>24)&16711935|(u[g]<<24|u[g]>>>8)&4278255360,f[p+g]^=u[g]},blockSize:128/32,ivSize:64/32});function h(){for(var f=this._X,p=this._C,x=0;x<8;x++)l[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var x=0;x<8;x++){var g=f[x]+p[x],m=g&65535,C=g>>>16,b=((m*m>>>17)+m*C>>>15)+C*C,y=((g&4294901760)*g|0)+((g&65535)*g|0);o[x]=b^y}f[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,f[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,f[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,f[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,f[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,f[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,f[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,f[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}i.RabbitLegacy=a._createHelper(c)}(),r.RabbitLegacy})}(J0)),J0.exports}var er={exports:{}},Ui;function Xs(){return Ui||(Ui=1,function(e,t){(function(r,i,n){e.exports=i($(),ct(),lt(),nt(),ae())})(U,function(r){return function(){var i=r,n=i.lib,a=n.BlockCipher,s=i.algo;const u=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[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(m,C){let b=C>>24&255,y=C>>16&255,v=C>>8&255,A=C&255,E=m.sbox[0][b]+m.sbox[1][y];return E=E^m.sbox[2][v],E=E+m.sbox[3][A],E}function f(m,C,b){let y=C,v=b,A;for(let E=0;E<u;++E)y=y^m.pbox[E],v=h(m,y)^v,A=y,y=v,v=A;return A=y,y=v,v=A,v=v^m.pbox[u],y=y^m.pbox[u+1],{left:y,right:v}}function p(m,C,b){let y=C,v=b,A;for(let E=u+1;E>1;--E)y=y^m.pbox[E],v=h(m,y)^v,A=y,y=v,v=A;return A=y,y=v,v=A,v=v^m.pbox[1],y=y^m.pbox[0],{left:y,right:v}}function x(m,C,b){for(let F=0;F<4;F++){m.sbox[F]=[];for(let w=0;w<256;w++)m.sbox[F][w]=o[F][w]}let y=0;for(let F=0;F<u+2;F++)m.pbox[F]=l[F]^C[y],y++,y>=b&&(y=0);let v=0,A=0,E=0;for(let F=0;F<u+2;F+=2)E=f(m,v,A),v=E.left,A=E.right,m.pbox[F]=v,m.pbox[F+1]=A;for(let F=0;F<4;F++)for(let w=0;w<256;w+=2)E=f(m,v,A),v=E.left,A=E.right,m.sbox[F][w]=v,m.sbox[F][w+1]=A;return!0}var g=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,C=m.words,b=m.sigBytes/4;x(c,C,b)}},encryptBlock:function(m,C){var b=f(c,m[C],m[C+1]);m[C]=b.left,m[C+1]=b.right},decryptBlock:function(m,C){var b=p(c,m[C],m[C+1]);m[C]=b.left,m[C+1]=b.right},blockSize:64/32,keySize:128/32,ivSize:64/32});i.Blowfish=a._createHelper(g)}(),r.Blowfish})}(er)),er.exports}(function(e,t){(function(r,i,n){e.exports=i($(),a0(),Fs(),ws(),ct(),Ss(),lt(),Fn(),Fr(),ks(),wn(),Ds(),Is(),Ps(),wr(),Ns(),nt(),ae(),Ts(),Rs(),Hs(),Os(),Ls(),Vs(),Ms(),Us(),zs(),Ws(),qs(),Gs(),js(),$s(),Ks(),Qs(),Xs())})(U,function(r){return r})})(Bn);var Sn=Bn.exports;const q=_s(Sn),Zs=Pa({__proto__:null,default:q},[Sn]);function ie(e){if(typeof e=="string")return q.enc.Utf8.parse(e);const t=Rt(e);if(!t)return q.lib.WordArray.create([]);const r=[];for(let i=0;i<t.length;i+=4){const n=(t[i]||0)<<24|(t[i+1]||0)<<16|(t[i+2]||0)<<8|(t[i+3]||0);r.push(n>>>0)}return q.lib.WordArray.create(r,t.length)}const kn={md5(e,t){return Cn(e,t)},sha1(e,t){const r=ie(e),i=ie(t);return q.HmacSHA1(i,r).toString(q.enc.Hex).toUpperCase()},sha224(e,t){const r=ie(e),i=ie(t);return q.HmacSHA224(i,r).toString(q.enc.Hex).toUpperCase()},sha256(e,t){const r=ie(e),i=ie(t);return q.HmacSHA256(i,r).toString(q.enc.Hex).toUpperCase()},sha384(e,t){const r=ie(e),i=ie(t);return q.HmacSHA384(i,r).toString(q.enc.Hex).toUpperCase()},sha512(e,t){const r=ie(e),i=ie(t);return q.HmacSHA512(i,r).toString(q.enc.Hex).toUpperCase()},SHA256(e,t){const r=ie(e),i=ie(t);return q.HmacSHA256(i,r)},SHA512(e,t){const r=ie(e),i=ie(t);return q.HmacSHA512(i,r)},SHA1(e,t){const r=ie(e),i=ie(t);return q.HmacSHA1(i,r)},SHA224(e,t){const r=ie(e),i=ie(t);return q.HmacSHA224(i,r)},SHA384(e,t){const r=ie(e),i=ie(t);return q.HmacSHA384(i,r)}};var un;const Ys=typeof process<"u"&&((un=process.versions)==null?void 0:un.node);function kt(e){if(typeof e=="string")return q.enc.Utf8.parse(e);const t=Rt(e);if(!t)return q.lib.WordArray.create([]);const r=[];for(let i=0;i<t.length;i+=4){const n=(t[i]||0)<<24|(t[i+1]||0)<<16|(t[i+2]||0)<<8|(t[i+3]||0);r.push(n>>>0)}return q.lib.WordArray.create(r,t.length)}function Me(e){return e.toString(q.enc.Hex).toUpperCase()}const Dn=4*1024*1024;async function Js(e,t,r){return new Promise((i,n)=>{const a=new FileReader,s=e.slice(t,t+r);a.onload=()=>i(new Uint8Array(a.result)),a.onerror=()=>n(new Error("Failed to read file chunk")),a.readAsArrayBuffer(s)})}async function e1(e,t,r){const i=(r==null?void 0:r.chunkSize)||Dn,n=r==null?void 0:r.onProgress,a=t==="sha256"?q.algo.SHA256.create():q.algo.SHA512.create(),s=e.size;let u=0,l=0;for(;l<s;){const o=await Js(e,l,i),c=[];for(let f=0;f<o.length;f+=4){const p=(o[f]||0)<<24|(o[f+1]||0)<<16|(o[f+2]||0)<<8|(o[f+3]||0);c.push(p>>>0)}const h=q.lib.WordArray.create(c,o.length);a.update(h),l+=o.length,u=l,n&&(l===s||Math.floor(u/s*100)!==Math.floor((u-o.length)/s*100))&&n({loaded:u,total:s,percent:Math.round(u/s*100)})}return a.finalize().toString(q.enc.Hex).toUpperCase()}async function t1(e,t,r){const i=await import("crypto"),n=await import("fs"),a=(r==null?void 0:r.chunkSize)||Dn,s=r==null?void 0:r.onProgress,u=i.createHash(t),o=n.statSync(e).size;return new Promise((c,h)=>{const f=n.createReadStream(e,{highWaterMark:a});let p=0,x=0;f.on("data",g=>{u.update(g),p+=g.length;const m=Math.round(p/o*100);s&&m!==x&&(x=m,s({loaded:p,total:o,percent:m}))}),f.on("end",()=>{c(u.digest("hex").toUpperCase())}),f.on("error",g=>{h(g)})})}async function zi(e,t,r){if(Ys&&typeof e=="string")return t1(e,t,r);if(typeof e=="object"&&e!==null&&"size"in e&&"slice"in e)return e1(e,t,r);throw new Error("Invalid input: expected File object (browser) or file path string (Node.js)")}const s0={sha1(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA1("");return Me(i)}const t=kt(e),r=q.SHA1(t);return Me(r)},sha224(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA224("");return Me(i)}const t=kt(e),r=q.SHA224(t);return Me(r)},sha256(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA256("");return Me(i)}const t=kt(e),r=q.SHA256(t);return Me(r)},sha384(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA384("");return Me(i)}const t=kt(e),r=q.SHA384(t);return Me(r)},sha512(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA512("");return Me(i)}const t=kt(e),r=q.SHA512(t);return Me(r)},async sha256File(e,t){return zi(e,"sha256",t)},async sha512File(e,t){return zi(e,"sha512",t)}},In=e=>ge.type(e)=="Array"||e instanceof Array?e:[e],dr=(e,t,r)=>{let i=In(e),n=r||"children",a=new WeakSet,s=(u,l,o,c)=>{if(a.has(u))return;a.add(u);let h=u[n]||[];t(u,l,o,c),h.forEach((f,p)=>s(f,u,p,h))};return i.forEach((u,l)=>s(u,null,l,i)),e};function r1(e,t="id",r="parentId",i="children"){t=t||"id",r=r||"parentId",i=i||"children";let n=e;ge.type(e)!=="Array"&&(n=[e]);let a={},s=new Set,u=n.filter(l=>{let o=l[t];return s.has(o)?!1:(s.add(o),a[o]=l,l[i]=[],l.__level__=1,!0)}).map(l=>{let o=l,c=a[ge.trim(o[r])];return o.__isRoot__=!c,c&&c[i].push(o),o}).map(l=>(l[i].length===0&&delete l[i],l[r]=ge.trim(l[r]),l)).filter(l=>l.__isRoot__==!0);return dr(u,(l,o,c,h)=>{o&&(l.__level__=o.__level__+1)}),u}const i1=(e,t,r)=>{let i=ge.type(e)=="Array"||e instanceof Array?e:[e],n=[],a=t||"children",s=u=>{n.push(u),(u[a]||[]).forEach(o=>s(o)),r&&delete u[a]};return i.forEach(s),n},Wi=(e,t,r)=>{let i=(r||"children")+"";e=In(e);let n=new WeakSet,a=(s,u,l,o)=>{for(let c=0;c<s.length;c++){let h=s[c];if(!h)continue;if(!n.has(h)&&(n.add(h),u(h,o,c,s)))return h;let f=h[i];if(f instanceof Array){let p=a(f,u,l,h);if(p)return p}}return null};return a(e,t,r,null)},Sr={buildTree(e,t="id",r="parentId",i){return r1(e,t,r,i)},eachTree(e,t,r){return dr(e,t,r)},findTreeItem(e,t,r){if(!ge.isFunction(t))throw new Error("filter must be a function.");return Wi(e,t,r)},treeToArray(e,t,r){return i1(e,t,r)},find(e,t,r){if(!ge.isFunction(t))throw new Error("filter must be a function.");return Wi(e,t,r)},filter(e,t,r){let i=[];if(!ge.isFunction(t))throw new Error("filter must be a function.");return dr(e,(n,a,s,u)=>t(n,a,s,u)&&i.push(n),r),i}},Jt=console,qi=(e=>(Object.keys(Jt).forEach(t=>e[t]=Jt[t]),e))({}),tr=En(),rr=e=>as(e),n1=()=>{if(typeof process<"u"&&process.versions&&process.versions.node)return!0;let e=dn().enableConsole;return e+""=="false"||e+""=="0"?!1:rr(tr.NODE_ENV)||rr(tr.MODE)||rr(tr.enableConsole)?!0:!!e},Pn=(()=>{let e={};e=globalThis,e||(e={});function t(){}if(!e.console||!n1()){e.console||(e.console={});let i=e.console,n=["log","error","info","warn","debug","trace","clear"];Object.keys(Jt).forEach(a=>{let s=qi[a];n.includes(a)?i[a]=t:Object.prototype.toString.call(s).slice(8,-1).toLowerCase()=="function"?i[a]=s.bind(i):i[a]=s})}let r=e.console;return r.enableFunc=function(...i){try{i.forEach(n=>{let a=qi[n];a&&typeof a=="function"?r[n]=a.bind(r):r[n]=t})}catch{}},r.disableFunc=function(...i){try{i.forEach(n=>{let a=r[n];a&&typeof a=="function"&&(r[n]=t)})}catch{}},e})(),a1=Pn[["c","o","n","s","o","l","e"].join("")],kr=a1;Pn.console=kr;const s1=()=>Jt;async function o1(e){return s0.sha256File(e)}async function u1(e){let t=e.url;const r=(n,a,s,u)=>(Br(s)||(s=[s]),s.push(a),s),i=await Promise.all([Gi(e.params||{},r),Gi(e.data||{},r)]);return{reqId:s0.sha256(t+e.method+JSON.stringify(i)),url:t,method:e.method,meta:e.meta}}const c1=kr;async function Gi(e,t){const r=Z(e).toLowerCase();if(["string","boolean","number","date","null","undefined"].includes(r))return e;if(!(e instanceof FormData)&&r!=="object")return typeof e.entries=="function",e;const i=e instanceof FormData?[...e.entries()]:[...Object.entries(e)];Qt(t)||(t=(a,s,u,l)=>s);const n={};for(const[a,s]of i){let u=s;s instanceof File&&(u={hash:await o1(s),name:s.name,size:s.size,type:s.type,lastModified:s.lastModified});const l=n[a];l!==void 0&&(u=t(a,u,l,n)),u===void 0?delete n[a]:n[a]=u}return n}const l1=["string","date","number","boolean","null","undefined"],f1=e=>{if(!e||!e.data||e.data instanceof Blob||e.data instanceof ArrayBuffer||e instanceof Error)return e;const t=Z(e.data).toLowerCase();return l1.includes(t)?e:{...e,data:ge.clone(e.data)}},vr=new Map,h1=function(e){let t=vr.get(e);return t||(t={timestamp:Date.now(),rspQueue:[],seq:0,key:e},vr.set(e,t)),t},x1=(e,t)=>(e.rspQueue.push(t),e.rspQueue.length-1),ji=(e,t,r)=>{for(;e.rspQueue.length>0;){const i=e.rspQueue.shift();i&&(t?i.resolve:i.reject)(f1(r))}},$i=(e,t,r,i)=>{ji(e,t,r);const n=Date.now()-e.timestamp,a=Math.max(0,i-n);setTimeout(()=>{ji(e,t,r),vr.delete(e.key)},a)},Nn={ThrottleRequest(e,t,r=1e3){return new Promise((i,n)=>{var s,u,l;if((s=e.meta)!=null&&s.ignoreThrottle||(u=e.meta)!=null&&u.$throttle_key)return t(e).then(i).catch(n);let a=r;if(((l=e.meta)==null?void 0:l.throttleDuration)!==void 0&&(a=e.meta.throttleDuration),a=Number(a),(isNaN(a)||a<0)&&(a=1e3),a<=0)return t(e).then(i).catch(n);u1(e).then(o=>{const c=o.reqId,h=h1(c);x1(h,{resolve:i,reject:n})===0&&(e.meta||(e.meta={}),e.meta.$throttle_key="req_id:"+c,t(e).then(p=>$i(h,!0,p,a)).catch(p=>$i(h,!1,p,a)))}).catch(o=>{c1.error("ThrottleRequest 创建请求标识失败:",o),t(e).then(i).catch(n)})})}};var ir={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},nr="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",p1={5:nr,"5module":nr+" export import",6:nr+" const class extends export import super"},d1=/^in(stanceof)?$/,Dr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Tn="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",v1=new RegExp("["+Dr+"]"),m1=new RegExp("["+Dr+Tn+"]");Dr=Tn=null;var Rn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],g1=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function mr(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}}function it(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&v1.test(String.fromCharCode(e)):t===!1?!1:mr(e,Rn)}function yt(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&m1.test(String.fromCharCode(e)):t===!1?!1:mr(e,Rn)||mr(e,g1)}var K=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function Fe(e,t){return new K(e,{beforeExpr:!0,binop:t})}var we={beforeExpr:!0},Ce={startsExpr:!0},Ir={};function j(e,t){return t===void 0&&(t={}),t.keyword=e,Ir[e]=new K(e,t)}var d={num:new K("num",Ce),regexp:new K("regexp",Ce),string:new K("string",Ce),name:new K("name",Ce),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",we),semi:new K(";",we),colon:new K(":",we),dot:new K("."),question:new K("?",we),questionDot:new K("?."),arrow:new K("=>",we),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",we),backQuote:new K("`",Ce),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Fe("||",1),logicalAND:Fe("&&",2),bitwiseOR:Fe("|",3),bitwiseXOR:Fe("^",4),bitwiseAND:Fe("&",5),equality:Fe("==/!=/===/!==",6),relational:Fe("</>/<=/>=",7),bitShift:Fe("<</>>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Fe("%",10),star:Fe("*",10),slash:Fe("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:Fe("??",1),_break:j("break"),_case:j("case",we),_catch:j("catch"),_continue:j("continue"),_debugger:j("debugger"),_default:j("default",we),_do:j("do",{isLoop:!0,beforeExpr:!0}),_else:j("else",we),_finally:j("finally"),_for:j("for",{isLoop:!0}),_function:j("function",Ce),_if:j("if"),_return:j("return",we),_switch:j("switch"),_throw:j("throw",we),_try:j("try"),_var:j("var"),_const:j("const"),_while:j("while",{isLoop:!0}),_with:j("with"),_new:j("new",{beforeExpr:!0,startsExpr:!0}),_this:j("this",Ce),_super:j("super",Ce),_class:j("class",Ce),_extends:j("extends",we),_export:j("export"),_import:j("import",Ce),_null:j("null",Ce),_true:j("true",Ce),_false:j("false",Ce),_in:j("in",{beforeExpr:!0,binop:7}),_instanceof:j("instanceof",{beforeExpr:!0,binop:7}),_typeof:j("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:j("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:j("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Pe=/\r\n?|\n|\u2028|\u2029/,Pt=new RegExp(Pe.source,"g");function Ht(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Hn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,On=Object.prototype,b1=On.hasOwnProperty,y1=On.toString;function o0(e,t){return b1.call(e,t)}var Ki=Array.isArray||function(e){return y1.call(e)==="[object Array]"};function ut(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Nt=function(t,r){this.line=t,this.column=r};Nt.prototype.offset=function(t){return new Nt(this.line,this.column+t)};var u0=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Ln(e,t){for(var r=1,i=0;;){Pt.lastIndex=i;var n=Pt.exec(e);if(n&&n.index<t)++r,i=n.index+n[0].length;else return new Nt(r,t-i)}}var gr={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function C1(e){var t={};for(var r in gr)t[r]=e&&o0(e,r)?e[r]:gr[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Ki(t.onToken)){var i=t.onToken;t.onToken=function(n){return i.push(n)}}return Ki(t.onComment)&&(t.onComment=A1(t,t.onComment)),t}function A1(e,t){return function(r,i,n,a,s,u){var l={type:r?"Block":"Line",value:i,start:n,end:a};e.locations&&(l.loc=new u0(this,s,u)),e.ranges&&(l.range=[n,a]),t.push(l)}}var Tt=1,Ot=2,Pr=Tt|Ot,Vn=4,Mn=8,Un=16,zn=32,Wn=64,qn=128;function Nr(e,t){return Ot|(e?Vn:0)|(t?Mn:0)}var Qi=0,Tr=1,Ke=2,Gn=3,jn=4,$n=5,ne=function(t,r,i){this.options=t=C1(t),this.sourceFile=t.sourceFile,this.keywords=ut(p1[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(n=ir[a]);a--);t.sourceType==="module"&&(n+=" await")}this.reservedWords=ut(n);var s=(n?n+" ":"")+ir.strict;this.reservedWordsStrict=ut(s),this.reservedWordsStrictBind=ut(s+" "+ir.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(`\n`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Pe).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=d.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Tt),this.regexpState=null},ft={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ne.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ft.inFunction.get=function(){return(this.currentVarScope().flags&Ot)>0};ft.inGenerator.get=function(){return(this.currentVarScope().flags&Mn)>0};ft.inAsync.get=function(){return(this.currentVarScope().flags&Vn)>0};ft.allowSuper.get=function(){return(this.currentThisScope().flags&Wn)>0};ft.allowDirectSuper.get=function(){return(this.currentThisScope().flags&qn)>0};ft.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ne.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ot)>0};ne.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,n=0;n<t.length;n++)i=t[n](i);return i};ne.parse=function(t,r){return new this(r,t).parse()};ne.parseExpressionAt=function(t,r,i){var n=new this(i,t,r);return n.nextToken(),n.parseExpression()};ne.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(ne.prototype,ft);var he=ne.prototype,E1=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;he.strictDirective=function(e){for(;;){Ie.lastIndex=e,e+=Ie.exec(this.input)[0].length;var t=E1.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Ie.lastIndex=e+t[0].length;var r=Ie.exec(this.input),i=r.index+r[0].length,n=this.input.charAt(i);return n===";"||n==="}"||Pe.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Ie.lastIndex=e,e+=Ie.exec(this.input)[0].length,this.input[e]===";"&&e++}};he.eat=function(e){return this.type===e?(this.next(),!0):!1};he.isContextual=function(e){return this.type===d.name&&this.value===e&&!this.containsEsc};he.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};he.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};he.canInsertSemicolon=function(){return this.type===d.eof||this.type===d.braceR||Pe.test(this.input.slice(this.lastTokEnd,this.start))};he.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};he.semicolon=function(){!this.eat(d.semi)&&!this.insertSemicolon()&&this.unexpected()};he.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};he.expect=function(e){this.eat(e)||this.unexpected()};he.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function c0(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}he.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};he.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};he.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};he.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var V=ne.prototype;V.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==d.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var a=n[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Rr={kind:"loop"},_1={kind:"switch"};V.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Ie.lastIndex=this.pos;var t=Ie.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91)return!0;if(e)return!1;if(i===123)return!0;if(it(i,!0)){for(var n=r+1;yt(this.input.charCodeAt(n),!0);)++n;var a=this.input.slice(r,n);if(!d1.test(a))return!0}return!1};V.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Ie.lastIndex=this.pos;var e=Ie.exec(this.input),t=this.pos+e[0].length;return!Pe.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!yt(this.input.charAt(t+8)))};V.parseStatement=function(e,t,r){var i=this.type,n=this.startNode(),a;switch(this.isLet(e)&&(i=d._var,a="let"),i){case d._break:case d._continue:return this.parseBreakContinueStatement(n,i.keyword);case d._debugger:return this.parseDebuggerStatement(n);case d._do:return this.parseDoStatement(n);case d._for:return this.parseForStatement(n);case d._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case d._class:return e&&this.unexpected(),this.parseClass(n,!0);case d._if:return this.parseIfStatement(n);case d._return:return this.parseReturnStatement(n);case d._switch:return this.parseSwitchStatement(n);case d._throw:return this.parseThrowStatement(n);case d._try:return this.parseTryStatement(n);case d._const:case d._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(n,a);case d._while:return this.parseWhileStatement(n);case d._with:return this.parseWithStatement(n);case d.braceL:return this.parseBlock(!0,n);case d.semi:return this.parseEmptyStatement(n);case d._export:case d._import:if(this.options.ecmaVersion>10&&i===d._import){Ie.lastIndex=this.pos;var s=Ie.exec(this.input),u=this.pos+s[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===d._import?this.parseImport(n):this.parseExport(n,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var o=this.value,c=this.parseExpression();return i===d.name&&c.type==="Identifier"&&this.eat(d.colon)?this.parseLabeledStatement(n,o,c,e):this.parseExpressionStatement(n,c)}};V.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(d.semi)||this.insertSemicolon()?e.label=null:this.type!==d.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(r||n.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};V.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};V.parseDoStatement=function(e){return this.next(),this.labels.push(Rr),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(d._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(d.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};V.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Rr),this.enterScope(0),this.expect(d.parenL),this.type===d.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===d._var||this.type===d._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===d._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new c0,s=this.parseExpression(!0,a);return this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===d._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,a),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))};V.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,It|(r?0:br),!1,t)};V.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(d._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};V.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(d.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};V.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(d.braceL),this.labels.push(_1),this.enterScope(0);for(var t,r=!1;this.type!==d.braceR;)if(this.type===d._case||this.type===d._default){var i=this.type===d._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(d.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};V.parseThrowStatement=function(e){return this.next(),Pe.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var B1=[];V.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===d._catch){var t=this.startNode();if(this.next(),this.eat(d.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?zn:0),this.checkLVal(t.param,r?jn:Ke),this.expect(d.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(d._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};V.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};V.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Rr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};V.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};V.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};V.parseLabeledStatement=function(e,t,r,i){for(var n=0,a=this.labels;n<a.length;n+=1){var s=a[n];s.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===d._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var o=this.labels[l];if(o.statementStart===e.start)o.statementStart=this.start,o.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};V.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};V.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(d.braceL),e&&this.enterScope(0);this.type!==d.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};V.parseFor=function(e,t){return e.init=t,this.expect(d.semi),e.test=this.type===d.semi?null:this.parseExpression(),this.expect(d.semi),e.update=this.type===d.parenR?null:this.parseExpression(),this.expect(d.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};V.parseForIn=function(e,t){var r=this.type===d._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(d.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};V.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(d.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===d._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(d.comma))break}return e};V.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Tr:Ke,!1)};var It=1,br=2,Kn=4;V.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===d.star&&t&br&&this.unexpected(),e.generator=this.eat(d.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&It&&(e.id=t&Kn&&this.type!==d.name?null:this.parseIdent(),e.id&&!(t&br)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Tr:Ke:Gn));var n=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Nr(e.async,e.generator)),t&It||(e.id=this.type===d.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&It?"FunctionDeclaration":"FunctionExpression")};V.parseFunctionParams=function(e){this.expect(d.parenL),e.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};V.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(d.braceL);this.type!==d.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(n&&this.raise(a.start,"Duplicate constructor in the same class"),n=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};V.parseClassElement=function(e){var t=this;if(this.eat(d.semi))return null;var r=this.startNode(),i=function(l,o){o===void 0&&(o=!1);var c=t.start,h=t.startLoc;return t.eatContextual(l)?t.type!==d.parenL&&(!o||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(c,h),r.key.name=l,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var n=this.eat(d.star),a=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(d.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var s=r.key,u=!1;return!r.computed&&!r.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(r.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),n&&this.raise(s.start,"Constructor can't be a generator"),a&&this.raise(s.start,"Constructor can't be an async method"),r.kind="constructor",u=e):r.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,n,a,u),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};V.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};V.parseClassId=function(e,t){this.type===d.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ke,!1)):(t===!0&&this.unexpected(),e.id=null)};V.parseClassSuper=function(e){e.superClass=this.eat(d._extends)?this.parseExprSubscripts():null};V.parseExport=function(e,t){if(this.next(),this.eat(d.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==d.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(d._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===d._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,It|Kn,!1,r)}else if(this.type===d._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==d.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,s=e.specifiers;a<s.length;a+=1){var u=s[a];this.checkUnreserved(u.local),this.checkLocalExport(u.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};V.checkExport=function(e,t,r){e&&(o0(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};V.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var i=0,n=t.properties;i<n.length;i+=1){var a=n[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var s=0,u=t.elements;s<u.length;s+=1){var l=u[s];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};V.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.checkPatternExport(e,n.id)}};V.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};V.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(d.braceL);!this.eat(d.braceR);){if(r)r=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var i=this.startNode();i.local=this.parseIdent(!0),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,this.checkExport(e,i.exported.name,i.exported.start),t.push(this.finishNode(i,"ExportSpecifier"))}return t};V.parseImport=function(e){return this.next(),this.type===d.string?(e.specifiers=B1,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===d.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};V.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===d.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,Ke),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(d.comma))return e}if(this.type===d.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,Ke),e.push(this.finishNode(i,"ImportNamespaceSpecifier")),e}for(this.expect(d.braceL);!this.eat(d.braceR);){if(t)t=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var n=this.startNode();n.imported=this.parseIdent(!0),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLVal(n.local,Ke),e.push(this.finishNode(n,"ImportSpecifier"))}return e};V.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};V.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Qe=ne.prototype;Qe.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i<n.length;i+=1){var a=n[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Qe.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var n=e[i];n&&this.toAssignable(n,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};Qe.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Qe.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==d.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Qe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case d.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(d.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case d.braceL:return this.parseObj(!0)}return this.parseIdent()};Qe.parseBindingList=function(e,t,r){for(var i=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(d.comma),t&&this.type===d.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===d.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),i.push(a),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),i.push(s)}}return i};Qe.parseBindingListItem=function(e){return e};Qe.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(d.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")};Qe.checkLVal=function(e,t,r){switch(t===void 0&&(t=Qi),e.type){case"Identifier":t===Ke&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(o0(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Qi&&t!==$n&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var a=n[i];this.checkLVal(a,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var s=0,u=e.elements;s<u.length;s+=1){var l=u[s];l&&this.checkLVal(l,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var z=ne.prototype;z.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,n;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var s=t[n];if(s){var u;a==="init"?u=this.strict&&s.init||s.get||s.set:u=s.init||s[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[a]=!0}};z.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===d.comma){var a=this.startNodeAt(r,i);for(a.expressions=[n];this.eat(d.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return n};z.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,a=-1;t?(n=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new c0,i=!0);var s=this.start,u=this.startLoc;(this.type===d.parenL||this.type===d.name)&&(this.potentialArrowAt=this.start);var l=this.parseMaybeConditional(e,t);if(r&&(l=r.call(this,l,s,u)),this.type.isAssign){var o=this.startNodeAt(s,u);return o.operator=this.value,o.left=this.type===d.eq?this.toAssignable(l,!1,t):l,i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=o.left.start&&(t.shorthandAssign=-1),this.checkLVal(l),this.next(),o.right=this.parseMaybeAssign(e),this.finishNode(o,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return n>-1&&(t.parenthesizedAssign=n),a>-1&&(t.trailingComma=a),l};z.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(d.question)){var a=this.startNodeAt(r,i);return a.test=n,a.consequent=this.parseMaybeAssign(),this.expect(d.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return n};z.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||n.start===r&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,r,i,-1,e)};z.parseExprOp=function(e,t,r,i,n){var a=this.type.binop;if(a!=null&&(!n||this.type!==d._in)&&a>i){var s=this.type===d.logicalOR||this.type===d.logicalAND,u=this.type===d.coalesce;u&&(a=d.logicalAND.binop);var l=this.value;this.next();var o=this.start,c=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1),o,c,a,n),f=this.buildBinary(t,r,e,h,l,s||u);return(s&&this.type===d.coalesce||u&&(this.type===d.logicalOR||this.type===d.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,t,r,i,n)}return e};z.buildBinary=function(e,t,r,i,n,a){var s=this.startNodeAt(e,t);return s.left=r,s.operator=n,s.right=i,this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};z.parseMaybeUnary=function(e,t){var r=this.start,i=this.startLoc,n;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),s=this.type===d.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(a.argument):this.strict&&a.operator==="delete"&&a.argument.type==="Identifier"?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,s?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=this.startNodeAt(r,i);u.operator=this.value,u.prefix=!1,u.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(u,"UpdateExpression")}}return!t&&this.eat(d.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n};z.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,i=this.parseExprAtom(e);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var n=this.parseSubscripts(i,t,r);return e&&n.type==="MemberExpression"&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1)),n};z.parseSubscripts=function(e,t,r,i){for(var n=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var s=this.parseSubscript(e,t,r,i,n,a);if(s.optional&&(a=!0),s===e||s.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,r);u.expression=s,s=this.finishNode(u,"ChainExpression")}return s}e=s}};z.parseSubscript=function(e,t,r,i,n,a){var s=this.options.ecmaVersion>=11,u=s&&this.eat(d.questionDot);i&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(d.bracketL);if(l||u&&this.type!==d.parenL&&this.type!==d.backQuote||this.eat(d.dot)){var o=this.startNodeAt(t,r);o.object=e,o.property=l?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),o.computed=!!l,l&&this.expect(d.bracketR),s&&(o.optional=u),e=this.finishNode(o,"MemberExpression")}else if(!i&&this.eat(d.parenL)){var c=new c0,h=this.yieldPos,f=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var x=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1,c);if(n&&!u&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(c,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=f,this.awaitIdentPos=p,this.parseArrowExpression(this.startNodeAt(t,r),x,!0);this.checkExpressionErrors(c,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,this.awaitIdentPos=p||this.awaitIdentPos;var g=this.startNodeAt(t,r);g.callee=e,g.arguments=x,s&&(g.optional=u),e=this.finishNode(g,"CallExpression")}else if(this.type===d.backQuote){(u||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var m=this.startNodeAt(t,r);m.tag=e,m.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(m,"TaggedTemplateExpression")}return e};z.parseExprAtom=function(e){this.type===d.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case d._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===d.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==d.dot&&this.type!==d.bracketL&&this.type!==d.parenL&&this.unexpected(),this.finishNode(t,"Super");case d._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case d.name:var i=this.start,n=this.startLoc,a=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(d._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(d.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===d.name&&!a)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(d.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[s],!0)}return s;case d.regexp:var u=this.value;return t=this.parseLiteral(u.value),t.regex={pattern:u.pattern,flags:u.flags},t;case d.num:case d.string:return this.parseLiteral(this.value);case d._null:case d._true:case d._false:return t=this.startNode(),t.value=this.type===d._null?null:this.type===d._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case d.parenL:var l=this.start,o=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(o)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),o;case d.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(d.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case d.braceL:return this.parseObj(!1,e);case d._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case d._class:return this.parseClass(this.startNode(),!1);case d._new:return this.parseNew();case d.backQuote:return this.parseTemplate();case d._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case d.parenL:return this.parseDynamicImport(e);case d.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(d.parenR)){var t=this.start;this.eat(d.comma)&&this.eat(d.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(d.parenL);var e=this.parseExpression();return this.expect(d.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,s=this.startLoc,u=[],l=!0,o=!1,c=new c0,h=this.yieldPos,f=this.awaitPos,p;for(this.yieldPos=0,this.awaitPos=0;this.type!==d.parenR;)if(l?l=!1:this.expect(d.comma),n&&this.afterTrailingComma(d.parenR,!0)){o=!0;break}else if(this.type===d.ellipsis){p=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,c,this.parseParenItem));var x=this.start,g=this.startLoc;if(this.expect(d.parenR),e&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(c,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(t,r,u);(!u.length||o)&&this.unexpected(this.lastTokStart),p&&this.unexpected(p),this.checkExpressionErrors(c,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?(i=this.startNodeAt(a,s),i.expressions=u,this.finishNodeAt(i,"SequenceExpression",x,g)):i=u[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(t,r);return m.expression=i,this.finishNode(m,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var F1=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(d.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc,a=this.type===d._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(d.parenL)?e.arguments=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1):e.arguments=F1,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===d.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`\n`),cooked:this.value},this.next(),r.tail=this.type===d.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===d.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(d.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(d.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===d.name||this.type===d.num||this.type===d.string||this.type===d.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===d.star)&&!Pe.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(d.braceR);){if(i)i=!1;else if(this.expect(d.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(d.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,n,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,n,a,s;if(this.options.ecmaVersion>=9&&this.eat(d.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===d.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===d.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(i=this.eat(d.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(d.star),this.parsePropertyName(r,t)):n=!1,this.parsePropertyValue(r,e,i,n,a,s,t,u),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,n,a,s,u){if((r||i)&&this.type===d.colon&&this.unexpected(),this.eat(d.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===d.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==d.comma&&this.type!==d.braceR&&this.type!==d.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var o=e.value.start;e.kind==="get"?this.raiseRecoverable(o,"getter should have no params"):this.raiseRecoverable(o,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,a,e.key):this.type===d.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(d.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(d.bracketR),e.key;e.computed=!1}return e.key=this.type===d.num||this.type===d.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Nr(t,i.generator)|Wn|(r?qn:0)),this.expect(d.parenL),i.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(Nr(r,!1)|Un),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==d.braceL,n=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||s)&&(a=this.strictDirective(this.end),a&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!n&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,$n),e.body=this.parseBlock(!1,void 0,a&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0};z.checkParams=function(e,t){for(var r={},i=0,n=e.params;i<n.length;i+=1){var a=n[i];this.checkLVal(a,Tr,t?null:r)}};z.parseExprList=function(e,t,r,i){for(var n=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(d.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===d.comma?s=null:this.type===d.ellipsis?(s=this.parseSpread(i),i&&this.type===d.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):s=this.parseMaybeAssign(!1,i),n.push(s)}return n};z.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var n=this.strict?this.reservedWordsStrict:this.reservedWords;n.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}};z.parseIdent=function(e,t){var r=this.startNode();return this.type===d.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r};z.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===d.semi||this.canInsertSemicolon()||this.type!==d.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(d.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};z.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")};var e0=ne.prototype;e0.raise=function(e,t){var r=Ln(this.input,e);t+=" ("+r.line+":"+r.column+")";var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i};e0.raiseRecoverable=e0.raise;e0.curPosition=function(){if(this.options.locations)return new Nt(this.curLine,this.pos-this.lineStart)};var at=ne.prototype,w1=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};at.enterScope=function(e){this.scopeStack.push(new w1(e))};at.exitScope=function(){this.scopeStack.pop()};at.treatFunctionsAsVarInScope=function(e){return e.flags&Ot||!this.inModule&&e.flags&Tt};at.declareName=function(e,t,r){var i=!1;if(t===Ke){var n=this.currentScope();i=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&Tt&&delete this.undefinedExports[e]}else if(t===jn){var a=this.currentScope();a.lexical.push(e)}else if(t===Gn){var s=this.currentScope();this.treatFunctionsAsVar?i=s.lexical.indexOf(e)>-1:i=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&zn&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Tt&&delete this.undefinedExports[e],l.flags&Pr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};at.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};at.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};at.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Pr)return t}};at.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Pr&&!(t.flags&Un))return t}};var Hr=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new u0(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},l0=ne.prototype;l0.startNode=function(){return new Hr(this,this.start,this.startLoc)};l0.startNodeAt=function(e,t){return new Hr(this,e,t)};function Qn(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}l0.finishNode=function(e,t){return Qn.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};l0.finishNodeAt=function(e,t,r,i){return Qn.call(this,e,t,r,i)};var Re=function(t,r,i,n,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=n,this.generator=!!a},re={b_stat:new Re("{",!1),b_expr:new Re("{",!0),b_tmpl:new Re("${",!1),p_stat:new Re("(",!1),p_expr:new Re("(",!0),q_tmpl:new Re("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Re("function",!1),f_expr:new Re("function",!0),f_expr_gen:new Re("function",!0,!1,null,!0),f_gen:new Re("function",!1,!1,null,!0)},f0=ne.prototype;f0.initialContext=function(){return[re.b_stat]};f0.braceIsBlock=function(e){var t=this.curContext();return t===re.f_expr||t===re.f_stat?!0:e===d.colon&&(t===re.b_stat||t===re.b_expr)?!t.isExpr:e===d._return||e===d.name&&this.exprAllowed?Pe.test(this.input.slice(this.lastTokEnd,this.start)):e===d._else||e===d.semi||e===d.eof||e===d.parenR||e===d.arrow?!0:e===d.braceL?t===re.b_stat:e===d._var||e===d._const||e===d.name?!1:!this.exprAllowed};f0.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};f0.updateContext=function(e){var t,r=this.type;r.keyword&&e===d.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};d.parenR.updateContext=d.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===re.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};d.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?re.b_stat:re.b_expr),this.exprAllowed=!0};d.dollarBraceL.updateContext=function(){this.context.push(re.b_tmpl),this.exprAllowed=!0};d.parenL.updateContext=function(e){var t=e===d._if||e===d._for||e===d._with||e===d._while;this.context.push(t?re.p_stat:re.p_expr),this.exprAllowed=!0};d.incDec.updateContext=function(){};d._function.updateContext=d._class.updateContext=function(e){e.beforeExpr&&e!==d.semi&&e!==d._else&&!(e===d._return&&Pe.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===d.colon||e===d.braceL)&&this.curContext()===re.b_stat)?this.context.push(re.f_expr):this.context.push(re.f_stat),this.exprAllowed=!1};d.backQuote.updateContext=function(){this.curContext()===re.q_tmpl?this.context.pop():this.context.push(re.q_tmpl),this.exprAllowed=!1};d.star.updateContext=function(e){if(e===d._function){var t=this.context.length-1;this.context[t]===re.f_expr?this.context[t]=re.f_expr_gen:this.context[t]=re.f_gen}this.exprAllowed=!0};d.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==d.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Xn="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Zn=Xn+" Extended_Pictographic",S1=Zn,k1={9:Xn,10:Zn,11:S1},Xi="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Yn="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Jn=Yn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",D1=Jn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",I1={9:Yn,10:Jn,11:D1},ea={};function Or(e){var t=ea[e]={binary:ut(k1[e]+" "+Xi),nonBinary:{General_Category:ut(Xi),Script:ut(I1[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}Or(9);Or(10);Or(11);var O=ne.prototype,Xe=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=ea[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Xe.prototype.reset=function(t,r,i){var n=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9};Xe.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Xe.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=n)return a;var s=i.charCodeAt(t+1);return s>=56320&&s<=57343?(a<<10)+s-56613888:a};Xe.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return n;var a=i.charCodeAt(t),s;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=n||(s=i.charCodeAt(t+1))<56320||s>57343?t+1:t+2};Xe.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Xe.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Xe.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Xe.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function t0(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}O.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i<r.length;i++){var n=r.charAt(i);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};O.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};O.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames.indexOf(i)===-1&&e.raise("Invalid named capture referenced")}};O.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};O.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};O.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};O.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};O.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};O.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};O.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};O.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};O.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};O.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};O.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};O.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};O.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};O.regexp_eatSyntaxCharacter=function(e){var t=e.current();return ta(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ta(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}O.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!ta(r);)e.advance();return e.pos!==t};O.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};O.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};O.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};O.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=t0(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=t0(e.lastIntValue);return!0}return!1};O.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),P1(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function P1(e){return it(e,!0)||e===36||e===95}O.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),N1(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function N1(e){return yt(e,!0)||e===36||e===95||e===8204||e===8205}O.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};O.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};O.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};O.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};O.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};O.regexp_eatZero=function(e){return e.current()===48&&!h0(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};O.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};O.regexp_eatControlLetter=function(e){var t=e.current();return ra(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function ra(e){return e>=65&&e<=90||e>=97&&e<=122}O.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(n-55296)*1024+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&T1(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function T1(e){return e>=0&&e<=1114111}O.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};O.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(R1(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function R1(e){return e===100||e===68||e===115||e===83||e===119||e===87}O.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n),!0}return!1};O.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){o0(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};O.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ia(t=e.current());)e.lastStringValue+=t0(t),e.advance();return e.lastStringValue!==""};function ia(e){return ra(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";H1(t=e.current());)e.lastStringValue+=t0(t),e.advance();return e.lastStringValue!==""};function H1(e){return ia(e)||h0(e)}O.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};O.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};O.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};O.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||sa(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};O.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};O.regexp_eatClassControlLetter=function(e){var t=e.current();return h0(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};O.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};O.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;h0(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function h0(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;na(r=e.current());)e.lastIntValue=16*e.lastIntValue+aa(r),e.advance();return e.pos!==t};function na(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function aa(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}O.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};O.regexp_eatOctalDigit=function(e){var t=e.current();return sa(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function sa(e){return e>=48&&e<=55}O.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var n=e.current();if(!na(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+aa(n),e.advance()}return!0};var Lr=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new u0(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},G=ne.prototype;G.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Lr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};G.getToken=function(){return this.next(),new Lr(this)};typeof Symbol<"u"&&(G[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===d.eof,value:t}}}});G.curContext=function(){return this.context[this.context.length-1]};G.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(d.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};G.readToken=function(e){return it(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};G.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};G.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Pt.lastIndex=t;for(var i;(i=Pt.exec(this.input))&&i.index<this.pos;)++this.curLine,this.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};G.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ht(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};G.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Hn.test(String.fromCharCode(e)))++this.pos;else break e}}};G.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};G.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(d.ellipsis)):(++this.pos,this.finishToken(d.dot))};G.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(d.assign,2):this.finishOp(d.slash,1)};G.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?d.star:d.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=d.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(d.assign,r+1):this.finishOp(i,r)};G.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(d.assign,3)}return this.finishOp(e===124?d.logicalOR:d.logicalAND,2)}return t===61?this.finishOp(d.assign,2):this.finishOp(e===124?d.bitwiseOR:d.bitwiseAND,1)};G.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(d.assign,2):this.finishOp(d.bitwiseXOR,1)};G.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Pe.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(d.incDec,2):t===61?this.finishOp(d.assign,2):this.finishOp(d.plusMin,1)};G.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(d.assign,r+1):this.finishOp(d.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(d.relational,r))};G.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(d.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(d.arrow)):this.finishOp(e===61?d.eq:d.prefix,1)};G.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(d.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(d.assign,3)}return this.finishOp(d.coalesce,2)}}return this.finishOp(d.question,1)};G.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(d.parenL);case 41:return++this.pos,this.finishToken(d.parenR);case 59:return++this.pos,this.finishToken(d.semi);case 44:return++this.pos,this.finishToken(d.comma);case 91:return++this.pos,this.finishToken(d.bracketL);case 93:return++this.pos,this.finishToken(d.bracketR);case 123:return++this.pos,this.finishToken(d.braceL);case 125:return++this.pos,this.finishToken(d.braceR);case 58:return++this.pos,this.finishToken(d.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(d.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(d.prefix,1)}this.raise(this.pos,"Unexpected character '"+Vr(e)+"'")};G.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};G.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Pe.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var a=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new Xe(this));u.reset(r,n,s),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(n,s)}catch{}return this.finishToken(d.regexp,{pattern:n,flags:s,value:l})};G.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,n=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,s=0,u=0,l=0,o=t??1/0;l<o;++l,++this.pos){var c=this.input.charCodeAt(this.pos),h=void 0;if(i&&c===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=c;continue}if(c>=97?h=c-97+10:c>=65?h=c-65+10:c>=48&&c<=57?h=c-48:h=1/0,h>=e)break;u=c,s=s*e+h}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:s};function O1(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function oa(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}G.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=oa(this.input.slice(t,this.pos)),++this.pos):it(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,r)};G.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var n=oa(this.input.slice(t,this.pos));return++this.pos,it(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,n)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),it(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=O1(this.input.slice(t,this.pos),r);return this.finishToken(d.num,a)};G.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Vr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}G.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Ht(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(d.string,t)};var ua={};G.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ua)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};G.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ua;this.raise(e,t)};G.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===d.template||this.type===d.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(d.dollarBraceL)):(++this.pos,this.finishToken(d.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(d.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ht(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`\n`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};G.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(d.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};G.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`\n`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Vr(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return Ht(t)?"":String.fromCharCode(t)}};G.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};G.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(yt(n,i))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?it:yt)(s,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=Vr(s),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};G.readWord=function(){var e=this.readWord1(),t=d.name;return this.keywords.test(e)&&(t=Ir[e]),this.finishToken(t,e)};var L1="7.4.1";ne.acorn={Parser:ne,version:L1,defaultOptions:gr,Position:Nt,SourceLocation:u0,getLineInfo:Ln,Node:Hr,TokenType:K,tokTypes:d,keywordTypes:Ir,TokContext:Re,tokContexts:re,isIdentifierChar:yt,isIdentifierStart:it,Token:Lr,isNewLine:Ht,lineBreak:Pe,lineBreakG:Pt,nonASCIIwhitespace:Hn};function V1(e,t){return ne.parse(e,t)}class M1 extends Error{}class U1 extends SyntaxError{}class yr extends ReferenceError{}class z1 extends TypeError{}class ca extends M1{}class W1 extends U1{}class He extends yr{}const fe={ExecutionTimeOutError:[3002,"Script execution timed out after %0ms",ca],NodeTypeSyntaxError:[1001,"Unknown node type: %0",He],BinaryOperatorSyntaxError:[1002,"Unknown binary operator: %0",He],LogicalOperatorSyntaxError:[1003,"Unknown logical operator: %0",He],UnaryOperatorSyntaxError:[1004,"Unknown unary operator: %0",He],UpdateOperatorSyntaxError:[1005,"Unknown update operator: %0",He],ObjectStructureSyntaxError:[1006,"Unknown object structure: %0",He],AssignmentExpressionSyntaxError:[1007,"Unknown assignment expression: %0",He],VariableTypeSyntaxError:[1008,"Unknown variable type: %0",He],ParamTypeSyntaxError:[1009,"Unknown param type: %0",He],AssignmentTypeSyntaxError:[1010,"Unknown assignment type: %0",He],FunctionUndefinedReferenceError:[2001,"%0 is not a function",yr],VariableUndefinedReferenceError:[2002,"%0 is not defined",yr],IsNotConstructor:[2003,"%0 is not a constructor",z1]},q1="1.4.8";function Zi(e,t){Object.defineProperty(e,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}const G1=Object.prototype.hasOwnProperty,dt=Symbol("Break"),vt=Symbol("Continue"),Yi=Symbol("DefaultCase"),se=Symbol("EmptyStatementReturn"),Ji=Symbol("WithScopeName"),en=Symbol("SuperScopeName"),tn=Symbol("RootScopeName"),rn=Symbol("GlobalScopeName");function ar(e){return typeof e=="function"}class tt{constructor(t){this.interpreter=t}generator(){const t=this.interpreter;function r(){return this.getCurrentScope()}function i(){return this.getGlobalScope()}function n(){return this.getCurrentContext()}return{getOptions:t.getOptions.bind(t),getCurrentScope:r.bind(t),getGlobalScope:i.bind(t),getCurrentContext:n.bind(t),getExecStartTime:t.getExecStartTime.bind(t)}}}function Mr(e,t,r=!0){if(!(e instanceof tt))throw new Error("Illegal call");if(typeof t!="string")return t;if(!t)return;const i=e.generator(),a={timeout:i.getOptions().timeout,_initEnv:function(){r||this.setCurrentContext(i.getCurrentContext()),this.execStartTime=i.getExecStartTime(),this.execEndTime=this.execStartTime}},s=r?i.getGlobalScope():i.getCurrentScope();return new me(s,a).evaluate(t)}Object.defineProperty(Mr,"__IS_EVAL_FUNC",{value:!0,writable:!1,enumerable:!1,configurable:!1});function Ur(e,...t){if(!(e instanceof tt))throw new Error("Illegal call");const r=e.generator(),i=t.pop(),n=new me(r.getGlobalScope(),r.getOptions()),a=`\n\t\t (function anonymous(${t.join(",")}){\n\t\t ${i}\n\t\t });\n\t\t `;return n.evaluate(a)}Object.defineProperty(Ur,"__IS_FUNCTION_FUNC",{value:!0,writable:!1,enumerable:!1,configurable:!1});class Ue{constructor(t){this.value=t}}class ot{constructor(t){this.value=t}}class Je{constructor(t){this.value=t}}class bt{constructor(t,r=null,i){this.name=i,this.parent=r,this.data=t,this.labelStack=[]}}function jt(){}function j1(e=null,t){return new bt(Object.create(null),e,t)}function $1(e){return Object.create(e)}const Ge={NaN:NaN,Infinity:1/0,undefined:void 0,Object:Object,Array:Array,String:String,Boolean:Boolean,Number:Number,Date:Date,RegExp:RegExp,Error:Error,URIError:URIError,TypeError:TypeError,RangeError:RangeError,SyntaxError:SyntaxError,ReferenceError:ReferenceError,Math:Math,parseInt:parseInt,parseFloat:parseFloat,isNaN:isNaN,isFinite:isFinite,decodeURI:decodeURI,decodeURIComponent:decodeURIComponent,encodeURI:encodeURI,encodeURIComponent:encodeURIComponent,escape:escape,unescape:unescape,eval:Mr,Function:Ur};typeof JSON<"u"&&(Ge.JSON=JSON);typeof Promise<"u"&&(Ge.Promise=Promise);typeof Set<"u"&&(Ge.Set=Set);typeof Map<"u"&&(Ge.Map=Map);typeof Symbol<"u"&&(Ge.Symbol=Symbol);typeof Proxy<"u"&&(Ge.Proxy=Proxy);typeof WeakMap<"u"&&(Ge.WeakMap=WeakMap);typeof WeakSet<"u"&&(Ge.WeakSet=WeakSet);typeof Reflect<"u"&&(Ge.Reflect=Reflect);class me{constructor(t=me.global,r={}){this.sourceList=[],this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null),this.isVarDeclMode=!1,this.lastExecNode=null,this.isRunning=!1,this.options={ecmaVersion:r.ecmaVersion||me.ecmaVersion,timeout:r.timeout||0,rootContext:r.rootContext,globalContextInFunction:r.globalContextInFunction===void 0?me.globalContextInFunction:r.globalContextInFunction,_initEnv:r._initEnv},this.context=t||Object.create(null),this.callStack=[],this.initEnvironment(this.context)}initEnvironment(t){let r;if(t instanceof bt)r=t;else{let n=null;const a=this.createSuperScope(t);this.options.rootContext&&(n=new bt($1(this.options.rootContext),a,tn)),r=new bt(t,n||a,rn)}this.globalScope=r,this.currentScope=this.globalScope,this.globalContext=r.data,this.currentContext=r.data,this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null),this.execStartTime=Date.now(),this.execEndTime=this.execStartTime;const i=this.options._initEnv;i&&i.call(this)}getExecStartTime(){return this.execStartTime}getExecutionTime(){return this.execEndTime-this.execStartTime}setExecTimeout(t=0){this.options.timeout=t}getOptions(){return this.options}getGlobalScope(){return this.globalScope}getCurrentScope(){return this.currentScope}getCurrentContext(){return this.currentContext}isInterruptThrow(t){return t instanceof ca||t instanceof He||t instanceof W1}createSuperScope(t){let r=Object.assign({},Ge);return Object.keys(r).forEach(n=>{n in t&&delete r[n]}),new bt(r,null,en)}setCurrentContext(t){this.currentContext=t}setCurrentScope(t){this.currentScope=t}evaluate(t=""){let r;if(t)return r=V1(t,{ranges:!0,locations:!0,ecmaVersion:this.options.ecmaVersion||me.ecmaVersion}),this.evaluateNode(r,t)}appendCode(t){return this.evaluate(t)}evaluateNode(t,r=""){this.value=void 0,this.source=r,this.sourceList.push(r),this.isRunning=!0,this.execStartTime=Date.now(),this.execEndTime=this.execStartTime,this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null);const i=this.getCurrentScope(),n=this.getCurrentContext(),a=i.labelStack.concat([]),s=this.callStack.concat([]),u=()=>{this.setCurrentScope(i),this.setCurrentContext(n),i.labelStack=a,this.callStack=s};try{const l=this.createClosure(t);this.addDeclarationsToScope(this.collectDeclVars,this.collectDeclFuncs,this.getCurrentScope()),l()}catch(l){throw l}finally{u(),this.execEndTime=Date.now()}return this.isRunning=!1,this.getValue()}createErrorMessage(t,r,i){let n=t[1].replace("%0",String(r));return i!==null&&(n+=this.getNodePosition(i||this.lastExecNode)),n}createError(t,r){return new r(t)}createThrowError(t,r){return this.createError(t,r)}createInternalThrowError(t,r,i){return this.createError(this.createErrorMessage(t,r,i),t[2])}checkTimeout(){if(!this.isRunning)return!1;const t=this.options.timeout||0;return Date.now()-this.execStartTime>t}getNodePosition(t){return t&&t.loc?` [${t.loc.start.line}:${t.loc.start.column}]`:""}createClosure(t){let r;switch(t.type){case"BinaryExpression":r=this.binaryExpressionHandler(t);break;case"LogicalExpression":r=this.logicalExpressionHandler(t);break;case"UnaryExpression":r=this.unaryExpressionHandler(t);break;case"UpdateExpression":r=this.updateExpressionHandler(t);break;case"ObjectExpression":r=this.objectExpressionHandler(t);break;case"ArrayExpression":r=this.arrayExpressionHandler(t);break;case"CallExpression":r=this.callExpressionHandler(t);break;case"NewExpression":r=this.newExpressionHandler(t);break;case"MemberExpression":r=this.memberExpressionHandler(t);break;case"ThisExpression":r=this.thisExpressionHandler(t);break;case"SequenceExpression":r=this.sequenceExpressionHandler(t);break;case"Literal":r=this.literalHandler(t);break;case"Identifier":r=this.identifierHandler(t);break;case"AssignmentExpression":r=this.assignmentExpressionHandler(t);break;case"FunctionDeclaration":r=this.functionDeclarationHandler(t);break;case"VariableDeclaration":r=this.variableDeclarationHandler(t);break;case"BlockStatement":case"Program":r=this.programHandler(t);break;case"ExpressionStatement":r=this.expressionStatementHandler(t);break;case"EmptyStatement":r=this.emptyStatementHandler(t);break;case"ReturnStatement":r=this.returnStatementHandler(t);break;case"FunctionExpression":r=this.functionExpressionHandler(t);break;case"IfStatement":r=this.ifStatementHandler(t);break;case"ConditionalExpression":r=this.conditionalExpressionHandler(t);break;case"ForStatement":r=this.forStatementHandler(t);break;case"WhileStatement":r=this.whileStatementHandler(t);break;case"DoWhileStatement":r=this.doWhileStatementHandler(t);break;case"ForInStatement":r=this.forInStatementHandler(t);break;case"WithStatement":r=this.withStatementHandler(t);break;case"ThrowStatement":r=this.throwStatementHandler(t);break;case"TryStatement":r=this.tryStatementHandler(t);break;case"ContinueStatement":r=this.continueStatementHandler(t);break;case"BreakStatement":r=this.breakStatementHandler(t);break;case"SwitchStatement":r=this.switchStatementHandler(t);break;case"LabeledStatement":r=this.labeledStatementHandler(t);break;case"DebuggerStatement":r=this.debuggerStatementHandler(t);break;default:throw this.createInternalThrowError(fe.NodeTypeSyntaxError,t.type,t)}return(...i)=>{const n=this.options.timeout;if(n&&n>0&&this.checkTimeout())throw this.createInternalThrowError(fe.ExecutionTimeOutError,n,null);return this.lastExecNode=t,r(...i)}}binaryExpressionHandler(t){const r=this.createClosure(t.left),i=this.createClosure(t.right);return()=>{const n=r(),a=i();switch(t.operator){case"==":return n==a;case"!=":return n!=a;case"===":return n===a;case"!==":return n!==a;case"<":return n<a;case"<=":return n<=a;case">":return n>a;case">=":return n>=a;case"<<":return n<<a;case">>":return n>>a;case">>>":return n>>>a;case"+":return n+a;case"-":return n-a;case"*":return n*a;case"**":return Math.pow(n,a);case"/":return n/a;case"%":return n%a;case"|":return n|a;case"^":return n^a;case"&":return n&a;case"in":return n in a;case"instanceof":return n instanceof a;default:throw this.createInternalThrowError(fe.BinaryOperatorSyntaxError,t.operator,t)}}}logicalExpressionHandler(t){const r=this.createClosure(t.left),i=this.createClosure(t.right);return()=>{switch(t.operator){case"||":return r()||i();case"&&":return r()&&i();default:throw this.createInternalThrowError(fe.LogicalOperatorSyntaxError,t.operator,t)}}}unaryExpressionHandler(t){switch(t.operator){case"delete":const r=this.createObjectGetter(t.argument),i=this.createNameGetter(t.argument);return()=>{let a=r();const s=i();return delete a[s]};default:let n;if(t.operator==="typeof"&&t.argument.type==="Identifier"){const a=this.createObjectGetter(t.argument),s=this.createNameGetter(t.argument);n=()=>a()[s()]}else n=this.createClosure(t.argument);return()=>{const a=n();switch(t.operator){case"-":return-a;case"+":return+a;case"!":return!a;case"~":return~a;case"void":return;case"typeof":return typeof a;default:throw this.createInternalThrowError(fe.UnaryOperatorSyntaxError,t.operator,t)}}}}updateExpressionHandler(t){const r=this.createObjectGetter(t.argument),i=this.createNameGetter(t.argument);return()=>{const n=r(),a=i();switch(this.assertVariable(n,a,t),t.operator){case"++":return t.prefix?++n[a]:n[a]++;case"--":return t.prefix?--n[a]:n[a]--;default:throw this.createInternalThrowError(fe.UpdateOperatorSyntaxError,t.operator,t)}}}objectExpressionHandler(t){const r=[];function i(a){return a.type==="Identifier"?a.name:a.type==="Literal"?a.value:this.throwError(fe.ObjectStructureSyntaxError,a.type,a)}const n=Object.create(null);return t.properties.forEach(a=>{const s=a.kind,u=i(a.key);(!n[u]||s==="init")&&(n[u]={}),n[u][s]=this.createClosure(a.value),r.push({key:u,property:a})}),()=>{const a={},s=r.length;for(let u=0;u<s;u++){const l=r[u],o=l.key,c=n[o],h=c.init?c.init():void 0,f=c.get?c.get():function(){},p=c.set?c.set():function(x){};if("set"in c||"get"in c)Object.defineProperty(a,o,{configurable:!0,enumerable:!0,get:f,set:p});else{const x=l.property,g=x.kind;x.key.type==="Identifier"&&x.value.type==="FunctionExpression"&&g==="init"&&!x.value.id&&Zi(h,x.key.name),a[o]=h}}return a}}arrayExpressionHandler(t){const r=t.elements.map(i=>i&&this.createClosure(i));return()=>{const i=r.length,n=Array(i);for(let a=0;a<i;a++){const s=r[a];s&&(n[a]=s())}return n}}safeObjectGet(t,r,i){return t[r]}createCallFunctionGetter(t){switch(t.type){case"MemberExpression":const r=this.createClosure(t.object),i=this.createMemberKeyGetter(t),n=this.source;return()=>{const s=r(),u=i(),l=this.safeObjectGet(s,u,t);if(!l||!ar(l)){const o=n.slice(t.start,t.end);throw this.createInternalThrowError(fe.FunctionUndefinedReferenceError,o,t)}return l.__IS_EVAL_FUNC?o=>l(new tt(this),o,!0):l.__IS_FUNCTION_FUNC?(...o)=>l(new tt(this),...o):l.bind(s)};default:const a=this.createClosure(t);return()=>{let s="";t.type==="Identifier"&&(s=t.name);const u=a();if(!u||!ar(u))throw this.createInternalThrowError(fe.FunctionUndefinedReferenceError,s,t);if(t.type==="Identifier"&&u.__IS_EVAL_FUNC&&s==="eval")return o=>{const c=this.getScopeFromName(s,this.getCurrentScope()),h=c.name===en||c.name===rn||c.name===tn;return u(new tt(this),o,!h)};if(u.__IS_EVAL_FUNC)return o=>u(new tt(this),o,!0);if(u.__IS_FUNCTION_FUNC)return(...o)=>u(new tt(this),...o);let l=this.options.globalContextInFunction;if(t.type==="Identifier"){const o=this.getIdentifierScope(t);o.name===Ji&&(l=o.data)}return u.bind(l)}}}callExpressionHandler(t){const r=this.createCallFunctionGetter(t.callee),i=t.arguments.map(n=>this.createClosure(n));return()=>r()(...i.map(n=>n()))}functionExpressionHandler(t){const r=this,i=this.source,n=this.collectDeclVars,a=this.collectDeclFuncs;this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null);const s=t.id?t.id.name:"",u=t.params.length,l=t.params.map(f=>this.createParamNameGetter(f)),o=this.createClosure(t.body),c=this.collectDeclVars,h=this.collectDeclFuncs;return this.collectDeclVars=n,this.collectDeclFuncs=a,()=>{const f=r.getCurrentScope(),p=function(...x){r.callStack.push(`${s}`);const g=r.getCurrentScope(),m=j1(f,`FunctionScope(${s})`);r.setCurrentScope(m),r.addDeclarationsToScope(c,h,m),s&&(m.data[s]=p),m.data.arguments=arguments,l.forEach((y,v)=>{m.data[y()]=x[v]});const C=r.getCurrentContext();r.setCurrentContext(this);const b=o();if(r.setCurrentContext(C),r.setCurrentScope(g),r.callStack.pop(),b instanceof Ue)return b.value};return Zi(p,s),Object.defineProperty(p,"length",{value:u,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(p,"toString",{value:()=>i.slice(t.start,t.end),writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(p,"valueOf",{value:()=>i.slice(t.start,t.end),writable:!0,configurable:!0,enumerable:!1}),p}}newExpressionHandler(t){const r=this.source,i=this.createClosure(t.callee),n=t.arguments.map(a=>this.createClosure(a));return()=>{const a=i();if(!ar(a)||a.__IS_EVAL_FUNC){const s=t.callee,u=r.slice(s.start,s.end);throw this.createInternalThrowError(fe.IsNotConstructor,u,t)}return a.__IS_FUNCTION_FUNC?a(new tt(this),...n.map(s=>s())):new a(...n.map(s=>s()))}}memberExpressionHandler(t){const r=this.createClosure(t.object),i=this.createMemberKeyGetter(t);return()=>{const n=r();let a=i();return n[a]}}thisExpressionHandler(t){return()=>this.getCurrentContext()}sequenceExpressionHandler(t){const r=t.expressions.map(i=>this.createClosure(i));return()=>{let i;const n=r.length;for(let a=0;a<n;a++){const s=r[a];i=s()}return i}}literalHandler(t){return()=>t.regex?new RegExp(t.regex.pattern,t.regex.flags):t.value}identifierHandler(t){return()=>{const r=this.getCurrentScope(),i=this.getScopeDataFromName(t.name,r);return this.assertVariable(i,t.name,t),i[t.name]}}getIdentifierScope(t){const r=this.getCurrentScope();return this.getScopeFromName(t.name,r)}assignmentExpressionHandler(t){t.left.type==="Identifier"&&t.right.type==="FunctionExpression"&&!t.right.id&&(t.right.id={type:"Identifier",name:t.left.name});const r=this.createObjectGetter(t.left),i=this.createNameGetter(t.left),n=this.createClosure(t.right);return()=>{const a=r(),s=i(),u=n();switch(t.operator!=="="&&this.assertVariable(a,s,t),t.operator){case"=":return a[s]=u;case"+=":return a[s]+=u;case"-=":return a[s]-=u;case"*=":return a[s]*=u;case"**=":return a[s]=Math.pow(a[s],u);case"/=":return a[s]/=u;case"%=":return a[s]%=u;case"<<=":return a[s]<<=u;case">>=":return a[s]>>=u;case">>>=":return a[s]>>>=u;case"&=":return a[s]&=u;case"^=":return a[s]^=u;case"|=":return a[s]|=u;default:throw this.createInternalThrowError(fe.AssignmentExpressionSyntaxError,t.type,t)}}}functionDeclarationHandler(t){if(t.id){const r=this.functionExpressionHandler(t);Object.defineProperty(r,"isFunctionDeclareClosure",{value:!0,writable:!1,configurable:!1,enumerable:!1}),this.funcDeclaration(t.id.name,r)}return()=>se}getVariableName(t){if(t.type==="Identifier")return t.name;throw this.createInternalThrowError(fe.VariableTypeSyntaxError,t.type,t)}variableDeclarationHandler(t){let r;const i=[];for(let n=0;n<t.declarations.length;n++){const a=t.declarations[n];this.varDeclaration(this.getVariableName(a.id)),a.init&&i.push({type:"AssignmentExpression",operator:"=",left:a.id,right:a.init})}return i.length&&(r=this.createClosure({type:"BlockStatement",body:i})),()=>{if(r){const n=this.isVarDeclMode;this.isVarDeclMode=!0,r(),this.isVarDeclMode=n}return se}}assertVariable(t,r,i){if(t===this.globalScope.data&&!(r in t))throw this.createInternalThrowError(fe.VariableUndefinedReferenceError,r,i)}programHandler(t){const r=t.body.map(i=>this.createClosure(i));return()=>{let i=se;for(let n=0;n<r.length;n++){const a=r[n],s=this.setValue(a());if(s!==se&&(i=s,i instanceof Ue||i instanceof ot||i instanceof Je||i===dt||i===vt))break}return i}}expressionStatementHandler(t){return this.createClosure(t.expression)}emptyStatementHandler(t){return()=>se}returnStatementHandler(t){const r=t.argument?this.createClosure(t.argument):jt;return()=>new Ue(r())}ifStatementHandler(t){const r=this.createClosure(t.test),i=this.createClosure(t.consequent),n=t.alternate?this.createClosure(t.alternate):()=>se;return()=>r()?i():n()}conditionalExpressionHandler(t){return this.ifStatementHandler(t)}forStatementHandler(t){let r=jt,i=t.test?this.createClosure(t.test):()=>!0,n=jt;const a=this.createClosure(t.body);return t.type==="ForStatement"&&(r=t.init?this.createClosure(t.init):r,n=t.update?this.createClosure(t.update):jt),s=>{let u,l=se,o=t.type==="DoWhileStatement";for(s&&s.type==="LabeledStatement"&&(u=s.label.name),r();o||i();n()){o=!1;const c=this.setValue(a());if(!(c===se||c===vt)){if(c===dt)break;if(l=c,l instanceof Je&&l.value===u){l=se;continue}if(l instanceof Ue||l instanceof ot||l instanceof Je)break}}return l}}whileStatementHandler(t){return this.forStatementHandler(t)}doWhileStatementHandler(t){return this.forStatementHandler(t)}forInStatementHandler(t){let r=t.left;const i=this.createClosure(t.right),n=this.createClosure(t.body);return t.left.type==="VariableDeclaration"&&(this.createClosure(t.left)(),r=t.left.declarations[0].id),a=>{let s,u=se,l;a&&a.type==="LabeledStatement"&&(s=a.label.name);const o=i();for(l in o){this.assignmentExpressionHandler({type:"AssignmentExpression",operator:"=",left:r,right:{type:"Literal",value:l}})();const c=this.setValue(n());if(!(c===se||c===vt)){if(c===dt)break;if(u=c,u instanceof Je&&u.value===s){u=se;continue}if(u instanceof Ue||u instanceof ot||u instanceof Je)break}}return u}}withStatementHandler(t){const r=this.createClosure(t.object),i=this.createClosure(t.body);return()=>{const n=r(),a=this.getCurrentScope(),s=new bt(n,a,Ji);this.setCurrentScope(s);const u=this.setValue(i());return this.setCurrentScope(a),u}}throwStatementHandler(t){const r=this.createClosure(t.argument);return()=>{throw this.setValue(void 0),r()}}tryStatementHandler(t){const r=this.createClosure(t.block),i=t.handler?this.catchClauseHandler(t.handler):null,n=t.finalizer?this.createClosure(t.finalizer):null;return()=>{const a=this.getCurrentScope(),s=this.getCurrentContext(),u=a.labelStack.concat([]),l=this.callStack.concat([]);let o=se,c,h;const f=()=>{this.setCurrentScope(a),this.setCurrentContext(s),a.labelStack=u,this.callStack=l};try{o=this.setValue(r()),o instanceof Ue&&(c=o)}catch(p){if(f(),this.isInterruptThrow(p))throw p;if(i)try{o=this.setValue(i(p)),o instanceof Ue&&(c=o)}catch(x){if(f(),this.isInterruptThrow(x))throw x;h=x}}if(n)try{o=n(),o instanceof Ue&&(c=o)}catch(p){if(f(),this.isInterruptThrow(p))throw p;h=p}if(h)throw h;return c||o}}catchClauseHandler(t){const r=this.createParamNameGetter(t.param),i=this.createClosure(t.body);return n=>{let a;const u=this.getCurrentScope().data,l=r(),o=G1.call(u,l),c=u[l];return u[l]=n,a=i(),o?u[l]=c:delete u[l],a}}continueStatementHandler(t){return()=>t.label?new Je(t.label.name):vt}breakStatementHandler(t){return()=>t.label?new ot(t.label.name):dt}switchStatementHandler(t){const r=this.createClosure(t.discriminant),i=t.cases.map(n=>this.switchCaseHandler(n));return()=>{const n=r();let a=!1,s,u,l=0,o=!1;for(let c=0;c<2;c++){for(let h=l;h<i.length;h++){const f=i[h](),p=f.testClosure();if(!o&&p===Yi&&(o=!0,l=h),a||p===n){if(a=!0,u=this.setValue(f.bodyClosure()),u===se)continue;if(u===dt||(s=u,s instanceof Ue||s instanceof ot||s instanceof Je||s===vt))break}}if(!a&&o)a=!0;else break}return s}}switchCaseHandler(t){const r=t.test?this.createClosure(t.test):()=>Yi,i=this.createClosure({type:"BlockStatement",body:t.consequent});return()=>({testClosure:r,bodyClosure:i})}labeledStatementHandler(t){const r=t.label.name,i=this.createClosure(t.body);return()=>{let n;const a=this.getCurrentScope();return a.labelStack.push(r),n=i(t),n instanceof ot&&n.value===r&&(n=se),a.labelStack.pop(),n}}debuggerStatementHandler(t){return()=>{debugger;return se}}createParamNameGetter(t){if(t.type==="Identifier")return()=>t.name;throw this.createInternalThrowError(fe.ParamTypeSyntaxError,t.type,t)}createObjectKeyGetter(t){let r;return t.type==="Identifier"?r=()=>t.name:r=this.createClosure(t),function(){return r()}}createMemberKeyGetter(t){return t.computed?this.createClosure(t.property):this.createObjectKeyGetter(t.property)}createObjectGetter(t){switch(t.type){case"Identifier":return()=>this.getScopeDataFromName(t.name,this.getCurrentScope());case"MemberExpression":return this.createClosure(t.object);default:throw this.createInternalThrowError(fe.AssignmentTypeSyntaxError,t.type,t)}}createNameGetter(t){switch(t.type){case"Identifier":return()=>t.name;case"MemberExpression":return this.createMemberKeyGetter(t);default:throw this.createInternalThrowError(fe.AssignmentTypeSyntaxError,t.type,t)}}varDeclaration(t){const r=this.collectDeclVars;r[t]=void 0}funcDeclaration(t,r){const i=this.collectDeclFuncs;i[t]=r}addDeclarationsToScope(t,r,i){const n=i.data;for(let a in r){const s=r[a];n[a]=s&&s()}for(let a in t)a in n||(n[a]=void 0)}getScopeValue(t,r){return this.getScopeFromName(t,r).data[t]}getScopeDataFromName(t,r){return this.getScopeFromName(t,r).data}getScopeFromName(t,r){let i=r;do{if(t in i.data)return i}while(i=i.parent);return this.globalScope}setValue(t){const r=this.callStack.length;return this.isVarDeclMode||r||t===se||t===dt||t===vt||t instanceof ot||t instanceof Je||(this.value=t instanceof Ue?t.value:t),t}getValue(){return this.value}}me.version=q1;me.eval=Mr;me.Function=Ur;me.ecmaVersion=5;me.globalContextInFunction=void 0;me.global=Object.create(null);const la={value:null};function K1(e){la.value=e}const Q1=typeof globalThis<"u"?globalThis:{},nn={...Q1,...Math,Math:Math,Date:Date,RegExp:RegExp,JSON:JSON,String:String,Array:Array,Object:Object,Number:Number,Boolean:Boolean,Function:Function,Symbol:Symbol,Map:Map,WeakMap:WeakMap,Set:Set,WeakSet:WeakSet,console:console,JsUtils:la.value},X1={defaultVars:nn,execute(e,t){return e=Zt(e),new me({...t},{ecmaVersion:6,rootContext:nn}).evaluate(e)}},Cr={...Sr};Object.keys(Cr).forEach(e=>{["findTreeItem","buildTree","eachTree","findTreeItem","treeToArray"].includes(e)||delete Cr[e]});const Z1={...Cr,...ge,...ja,getEnvironments:En,Bytes:fn,Base64:i0,MD5:An,Utils:ge,AES:_n,Hmac:kn,SHA:s0,EnumBuilder:os,TreeUtils:Sr,Requests:Nn,ExpUtils:X1},Y1="yyyy-MM-dd HH:mm:ss",J1="yyyy-MM-dd",eo="yyyyMMdd",$t=(e,t)=>{if(!e)return e;if(!(e instanceof Date)||isNaN(e))return"";if(!t)return e.toISOString();let r=(_,k)=>{for(k+="";k.length<_;)k="0"+k;return k};const i=e.getFullYear(),n=(i+"").slice(-2),a=e.getMonth()+1,s=r(2,a),u=e.getDate(),l=r(2,u),o=e.getHours(),c=r(2,o),h=o%12||12,f=r(2,h),p=e.getMinutes(),x=r(2,p),g=e.getSeconds(),m=r(2,g),C=e.getMilliseconds(),b=parseInt(C/100+""),y=r(2,parseInt(C/10+"")),v=r(3,C),A=e.getDay(),E=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];let F=0,w=(new Date).getTime();const D=()=>"-#"+w+F+++"#-",B=[{p:D(),k:"(Y{4})|(y{4})",v:i},{p:D(),k:"(Y{2})|(y{2})",v:n},{p:D(),k:"M{2}",v:s},{p:D(),k:"M{1}",v:a},{p:D(),k:"d{2}",v:l},{p:D(),k:"d{1}",v:u},{p:D(),k:"H{2}",v:c},{p:D(),k:"H{1}",v:o},{p:D(),k:"h{2}",v:f},{p:D(),k:"h{1}",v:h},{p:D(),k:"m{2}",v:x},{p:D(),k:"m{1}",v:p},{p:D(),k:"(s{3})|(S{3})",v:v},{p:D(),k:"s{2}",v:m},{p:D(),k:"(s{3})|(f{3})",v:v},{p:D(),k:"f{2}",v:y},{p:D(),k:"f{1}",v:b},{p:D(),k:"A",v:o<12?"AM":"PM"},{p:D(),k:"a",v:o<12?"am":"pm"},{p:D(),k:"w",v:A},{p:D(),k:"W",v:E[A]}];return B.forEach(_=>t=t.replace(new RegExp(_.k,"g"),(k,P,H)=>_.p)),B.forEach(_=>t=t.replace(new RegExp(_.p,"g"),(k,P,H)=>_.v)),t},to=function(e,t){let r=null;return r},sr=(e,t)=>{if(e instanceof Date)return e;e=""+e;const r=e;let i=null;if(/^\d+$/.test(e)&&e.length>=13&&(i=new Date(parseInt(e))),i==null&&/^\d{4}$/.test(e)&&(e+="-01-01 00:00:00"),i==null&&/^\d{4}[/-]\d{1,2}$/.test(e)&&(e+="-01 00:00:00"),i==null&&/^\d{4}[/-]\d{1,2}[/-]\d{1,2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+" 00:00:00"),i==null&&/^\d{1,2}[/-]\d{1,2}[/-]\d{4}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+" 00:00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+":00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:$/.test(e)&&(e=e.replaceAll(/\//g,"-")+"00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:\d{2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+":00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:\d{2}:$/.test(e)&&(e=e.replaceAll(/\//g,"-")+"00"),i===null&&(i=new Date(Date.parse(e))),isNaN(i)&&(i=to(e,t)),i==null||isNaN(i))throw new Error("invalid date value: "+r);return i},fa={getDateTime(e){return e===void 0&&(e=new Date),!(e instanceof Date)||isNaN(e)?null:$t(e,Y1)},getDateString(e){e===void 0&&(e=new Date);let t=Date.parse(e);if(isNaN(t))return null;$t(new Date(t),J1)},getDateInt(e){return $t(e,eo)},format(e,t){let r=Date.parse(e);return isNaN(r)?null:$t(new Date(r),t)},parse(e,t){return sr(e,t)},diff(e,t){if(e==null)return null;const r={day:0,hour:0,minute:0,second:0,millisecond:0,diff:0,toString:function(){let l="";return this.day>0&&(l+=this.day+"天"),this.hour>0&&(l+=this.hour+"小时"),this.minute>0&&(l+=this.minute+"分"),this.second>0&&(l+=this.second+"秒"),l}};let i=sr(e).getTime(),n=sr(t||new Date).getTime();if(isNaN(i))throw new Error(i?e:"invalid date");if(isNaN(i)&&t)throw new Error(e);const a=i-n;let s=Math.abs(Math.floor(a/1e3)),u=l=>{let o=Math.floor(s/l);return o>0&&(s-=o*l,s<0&&(s=0)),o};return r.day=u(86400),r.hour=u(3600),r.minute=u(60),r.second=s,r.millisecond=Math.abs(a%1e3),r.diff=a,r}},r0=de([84,85,86,52,65,51,66,51,67,49,68,48,69,49,70,49,71,57,72,57,73,52,74,48,75,54,76,48,77,49,78,51,79,49,80,51,81,49,82,84,87]),ro=r0.split("").filter(e=>!/\d/.test(e)),an=new Array(14).fill(9,0,13).join(""),Ar=de([34,61,62,58,61,62,34]);function io(e){return(e+"").length>an.length?an:e}function no(e){let t=i0.decrypt(e);if(t===null)return null;t=[...t];let r=qe(t.pop())[1]+qe(t.pop())[1],i=ve(r)[0]*2;for(let _=0;_<t.length;_++)t[_]=We(t[_]-i);const n=ve(r[0])[0],a=ve(r[1])[0];let s=de(t),u=s.indexOf(Ar),l=u==-1?null:s.substring(u+Ar.length),o=(u!==-1?s.substring(0,u):s).split("");const c=Number(o[a]);if(isNaN(c))throw new Error("invalid key");let h=o.splice(a,c+1);if(a>o.length)throw new Error("invalid key");if(n>o.length)throw new Error("invalid key");let f=o.splice(n,c+1);f.shift(),h.shift(),f=f.join(""),h=h.join("");let p=Number(f+h);if(isNaN(p))throw new Error("invalid key");let x=null,g=null,m=null,C=null,b=null,y=[],v="";for(let _=0;_<o.length;_++){let k=o[_];k=="Y"?x=o[++_]+o[++_]+o[++_]+o[++_]:k=="M"?g=o[++_]+o[++_]:k=="D"?m=o[++_]+o[++_]:k=="H"?C=o[++_]+o[++_]:k=="I"?b=o[++_]+o[++_]:k=="-"?v=o[++_]+o[++_]:y.push(k)}let A=[x,"-",g,"-",m," ",C,":",b,":00"].join("");const E=new Date(A).getTime()+p*1e3;let F=Math.floor((E-Date.now())/1e3);y.push("-",x.slice(-2),g,m,C,b,"-",v);let w=r0.split(""),D="";for(let _=0;_<w.length;_++){let k=w[_];"1234567890".indexOf(k)!=-1&&(D+=k)}if(y.join("").indexOf(D)!=0)throw new Error("invalid key");let B=Object.prototype.toString.call(l).slice(8,-1)==="String";try{B&&(l=de(Se.ECB(y.join(""),{}).decrypt(ve(l))))}catch{throw new Error("invalid key")}return{key:y.join(""),req:p,begin:A,end:ao(E),enabled:F>0,diff:Math.abs(F),data:l&&JSON.parse(l)}}let ao=e=>{let t=new Date(e),r=t.getFullYear(),i=t.getMonth()+1,n=t.getDate(),a=t.getHours(),s=t.getMinutes(),u=t.getSeconds();return r+"-"+(i<10?"0"+i:i)+"-"+(n<10?"0"+n:n)+" "+(a<10?"0"+a:a)+":"+(s<10?"0"+s:s)+":"+(u<10?"0"+u:u)};const so={version:"1.0.10",readKey(e){let t=no(e);return delete t.key,t},createKey(e,t){e=0,t=null;let r=[...arguments];if(r.length>0)if(r.length===1){let v=r.shift();Z(v)==="Number"?e=Math.max(0,v):t=v}else if(r.length===2){let v=r.shift(),A=r.shift();Z(v)==="Number"?(e=Math.max(0,v),t=A):Z(A)==="Number"?(e=Math.max(0,A),t=v):t=[v,A]}else{let v=r.shift();Z(v)==="Number"?(e=Math.max(0,v),t=r):t=[v,...r]}r.shift()&&(e=Number(e)),isNaN(e)&&(e=0);let n=r0.split("");const a=new Date,s=a.getFullYear()+"",u=(a.getMonth()+1<10?"0":"")+(a.getMonth()+1),l=(a.getDate()<10?"0":"")+a.getDate(),o=(a.getHours()<10?"0":"")+a.getHours(),c=(a.getMinutes()<10?"0":"")+a.getMinutes();let h=[...ro],f=["Y"+s,"M"+u,"D"+l,"H"+o,"I"+c];do{f=ke(f);let v=f.shift();h=ke(h);let A=h.shift();h=h.filter(F=>F!==v[0]),n[n.findIndex(F=>F===A)]=v;let E=v[0];n=n.filter(F=>F!==E)}while(f.length>0);n=n.filter(v=>!h.includes(v));let p=vn(2,"1234567890abcdef"),x=io(Number(Math.max(0,e||0).toFixed(0)))+"";x.length%2!=0&&(x="0"+x);const g=x.length/2,m=ve(p[0])[0],C=ve(p[1])[0];if(n.push("-"),n.push(p),n=n.join("").split(""),n.splice(Number(m),0,...g+""+x.substring(0,g)),n.splice(Number(C),0,...g+""+x.substring(g)),t!=null){t=JSON.stringify(t);let v=r0.replace(/[a-zA-z]/g,"")+"-"+(s.substring(2)+u+l+o+c)+"-"+p,A=t?Se.ECB(v,{}).encrypt(pe(t)):[],E=qe(A);n.push(Ar),n.push(E)}let b=[...pe(n.join(""))],y=ve(p)[0]*2;for(let v=0;v<b.length;v++)b[v]=We(b[v]+y);return b.push(C,m),i0.encode(new Int8Array(b))}};var sn={author:"xiyuan-lgz",version:"1.0.26"};const $e={writable:!1,enumerable:!1,configurable:!1},Kt="JsUtils",ha=(e=>{je(e,"KeyTool",{value:so,...$e}),je(e,"version",{value:sn.version,...$e}),je(e,"author",{value:sn.author,...$e}),je(e,"ThrottleRequest",{value:Nn.ThrottleRequest,...$e}),je(e,"getNativeConsole",{value:s1,...$e}),je(e,"Console",{value:kr,...$e}),e.DateUtils=fa,K1(e),Object[Kt]===void 0&&je(Object,Kt,{value:e,...$e}),typeof window<"u"&&!window[Kt]&&je(window,Kt,{value:e,...$e});const t=Math;return e.disable_warning=i=>{e.__disable_warning__=!0,Object.defineProperty(t,"__disabled_rly__",{value:i||!0,enumerable:!1,writable:!0,configurable:!0})},je(e,"__tool__",{value:{},...$e}),e})(Z1);exports.AES=_n;exports.Base64=i0;exports.Bytes=fn;exports.DateUtils=fa;exports.Hmac=kn;exports.JsUtils=ha;exports.MD5=An;exports.Regexps=Xt;exports.SHA=s0;exports.TreeUtils=Sr;exports.default=ha;
1
+ "use strict";var Na=Object.create;var b0=Object.defineProperty,Ta=Object.defineProperties,Ra=Object.getOwnPropertyDescriptor,Ha=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertyNames,ai=Object.getOwnPropertySymbols,La=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable;var si=(e,t,r)=>t in e?b0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,re=(e,t)=>{for(var r in t||(t={}))oi.call(t,r)&&si(e,r,t[r]);if(ai)for(var r of ai(t))Va.call(t,r)&&si(e,r,t[r]);return e},gt=(e,t)=>Ta(e,Ha(t));var Ma=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Oa(t))!oi.call(e,n)&&n!==r&&b0(e,n,{get:()=>t[n],enumerable:!(i=Ra(t,n))||i.enumerable});return e};var Gt=(e,t,r)=>(r=e!=null?Na(La(e)):{},Ma(t||!e||!e.__esModule?b0(r,"default",{value:e,enumerable:!0}):r,e));var de=(e,t,r)=>new Promise((i,n)=>{var a=c=>{try{u(r.next(c))}catch(o){n(o)}},s=c=>{try{u(r.throw(c))}catch(o){n(o)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(a,s);u((r=r.apply(e,t)).next())});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function Ua(e,t){for(var r=0;r<t.length;r++){const i=t[r];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(i,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Qe=(e,t,r)=>{try{Object.defineProperty(e,t,re({configurable:!0,enumerable:!0,writable:!0,value:null},r))}catch(i){}return e},Ue=(()=>{let e={};for(let t=0;t<10;t++)e[t]=t;for(let t=0;t<=127;t++){let r="";t<10&&(r+="0"),r+=t,e[r]=t}return e})(),Ne=63,hr=7,vn=15,za=31,y0="�",Wa=e=>65536<=e&&e<=1114111,qa=e=>2048<=e&&e<=65535,Ga=e=>128<=e&&e<=2047;function mn(e,t=!1){if(e==null)return null;if(e instanceof Int8Array||e instanceof Uint8Array)return e;let r=typeof e=="string";if(Array.isArray(e)){for(let n=0;n<e.length;n++){let a=e[n];if(typeof a!="number"||parseInt(a+"")!=a){r=!0;break}}r&&(e=e.join(""))}if(t&&e instanceof Uint8Array)return e;let i=[];for(let n=0;n<e.length;n++){let a=r?e.codePointAt(n):e[n];if(a>=55296&&a<=57343){i.push(239,191,189);continue}Wa(a)?(i.push(a>>18&hr|240),i.push(a>>12&Ne|128),i.push(a>>6&Ne|128),i.push(a>>0&Ne|128),n++):qa(a)?(i.push(a>>12&vn|224),i.push(a>>6&Ne|128),i.push(a>>0&Ne|128)):Ga(a)?(i.push(a>>6&za|192),i.push(a>>0&Ne|128)):i.push(a&255)}return t?new Uint8Array(i):new Int8Array(i)}function ve(e){return mn(e,!1)}function me(e){if(e==null)return null;if(typeof e=="string")return e;let t="",r=e;for(let i=0;i<r.length;){let n=r[i]&240,a=1;if(240<=n&&n<248){if(i+3>=r.length){t+=y0;break}a=4}else if(224<=n&&n<240){if(i+2>=r.length){t+=y0;break}a=3}else if(192<=n&&n<224){if(i+1>=r.length){t+=y0;break}a=2}else 128<=n&&n<192,a=1;let s,u,c,o,l=[];switch(a){case 4:{s=hr&(r[i+Ue[0]]&255),u=Ne&(r[i+Ue[1]]&255),c=Ne&(r[i+Ue[2]]&255),o=Ne&(r[i+Ue[3]]&255);let h=(s<<18|u<<12|c<<6|o)-65536;l=[(h>>10)+55296,(h&1023)+56320];break}case 3:{s=vn&(r[i+Ue[0]]&255),u=Ne&(r[i+Ue[1]]&255),c=Ne&(r[i+Ue[2]]&255),l=[s<<12|u<<6|c];break}case 2:{s=hr&(r[i+Ue[0]]&255),u=Ne&(r[i+Ue[1]]&255),l=[s<<6|u];break}case 1:default:s=r[i+Ue[0]]&255,l=[s];break}l.forEach(h=>t+=String.fromCharCode(h)),i+=a}return t}function je(e){return(Number(e)+128&255)-128}function $e(e){if(e==null)return null;let t=e;if(typeof e=="number"&&/-?\d+$/.test(""+e))return isNaN(e)?"":(e=Number(e).toString(16),e.length%2!==0?"0"+e:e);if((typeof e=="string"||typeof e=="number")&&(t=ve(e+"")),!t)return null;let r="",i=t.length;for(let n=0;n<i;n++){let a=Number(t[n]);if(isNaN(a)||parseInt(a+"")!=a)throw new Error("Invalid byte value");r+=("00"+(a&255).toString(16)).slice(-2)}return r}function ge(e){if(e==null)return null;let t=[];for(let r=0;r<e.length;r+=2){let i=e.slice(r,r+2);if(!/[0-9A-Za-z]/.test(i))throw new Error("Invalid hexadecimal value:"+i+" at pos:"+r);t.push(je(parseInt(i,16)))}return new Int8Array(t)}function Sr(e){return me(ge(e))}function Vt(e){let t=mn(e,!0);return t instanceof Uint8Array?t:new Uint8Array(t)}const gn={byte:je,toBytes:ve,fromBytes:me,toHex:$e,fromHex:ge,str2hex:$e,hex2str:Sr},C0={standard:"[0-9a-fA-F]{1,4}(:[0-9a-fA-F]{1,4}){7}",compressed:"(?:(?:[0-9a-fA-F]{1,4}:){0,7}[0-9a-fA-F]{1,4}|:(?::[0-9a-fA-F]{1,4}){1,7}|[0-9a-fA-F]{1,4}:(?::[0-9a-fA-F]{1,4}){1,6}|(?:[0-9a-fA-F]{1,4}:){2}(?::[0-9a-fA-F]{1,4}){1,5}|(?:[0-9a-fA-F]{1,4}:){3}(?::[0-9a-fA-F]{1,4}){1,4}|(?:[0-9a-fA-F]{1,4}:){4}(?::[0-9a-fA-F]{1,4}){1,3}|(?:[0-9a-fA-F]{1,4}:){5}(?::[0-9a-fA-F]{1,4}){1,2}|(?:[0-9a-fA-F]{1,4}:){6}:[0-9a-fA-F]{1,4})",ipv4Mapped:"::(?:ffff(?::0)?:)?((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)",mixed:"(?:[0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)",linkLocal:"fe80:(?::[0-9a-fA-F]{1,4}){0,4}(?:%[0-9a-zA-Z]{1,})?",multicast:"ff[0-9a-fA-F]{2}:(?::[0-9a-fA-F]{1,4}){1,4}",special:{localhost:"::1",v4Compat:"::(?:[0-9a-fA-F]{1,4})?:"}},e0={SPACE:/\s+/,SPACE_LEFT:/^\s+/,SPACE_RIGHT:/\s+$/,NUMERIC:/^\d+$/,INTEGER:/^(0|[+-]?[1-9]\d*)$/,INTEGER_P:/^[1-9]\d*$/,INTEGER_N_N:/^(0|[1-9]\d*)$/,FLOAT:/^(0|[+-]?[1-9]\d*)(\.\d+)?$/,FLOAT_N_N:/^(0|[1-9]\d*)(\.\d+)?$/,AMOUNT_2R:/^(0|[+-]?[1-9]\d*)(\.\d{1,2})?$/,AMOUNT_2R_FIXED:/^(0|[+-]?[1-9]\d*)(\.\d{2})$/,AMOUNT_N_N_2R:/^(0|[1-9]\d*)(\.\d{1,2})?$/,AMOUNT_N_N_2R_FIXED:/^(0|[1-9]\d*)(\.\d{2})$/,ALPHABAT:/^[A-Za-z]+$/,ALPHABAT_UPPER:/^[A-Z]+$/,ALPHABAT_LOWER:/^[a-z]+$/,ALPHA_LOWER_NUMERIC:/^[a-z0-9]+$/,ALPHA_UPPER_NUMERIC:/^[A-Z0-9]+$/,ALPHA_NUMERIC:/^[A-Za-z0-9]+$/,ALPHA_NUMERIC_PA:/^[A-Za-z][A-Za-z0-9]*$/,ALPHABAT_DOUBLE:/^[^x00-xff]+$/,CHINESE:/^[\u4e00-\u9fa5]+$/,CHINESE_ALPHA_NUMERIC:/^[\u4e00-\u9faaA-Za-z0-9]+$/,DATE:/^((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))$/,TIME:/^([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])$/,DATE_TIME:/^((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})[/|-](((0?[13578]|1[02])[/|-](0?[1-9]|[12][0-9]|3[01]))|((0?[469]|11)[/|-](0?[1-9]|[12][0-9]|30))|(0?2[/|-](0?[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))\s(([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9]))$/,DATE_TIME_MATCH:/^(\d{4})[-/](\d{2})[-/](\d{2})\s(\d{2}):(\d{2}):(\d{2})$/,HTML:/<|&#?\w+;/,HTML_TAG:/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,HTML_TAG_NAME:/<([\w:]+)/,MOBILE:/^(\+?86\s?)?1\d{2}\d{8}$/,MOBILE_11:/^1\d{2}\d{8}$/,IP:/^((?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])$/,MAC:/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,QQ:/^[1-9]\d{4,10}$/,POSTAL_CODE:/^[1-9]\d{5}$/,EMAIL:/^([\w-_]+(?:\.[\w-_]+)*)@((?:[a-z0-9]+(?:-[a-zA-Z0-9]+)*)+\.[a-z]{2,6})$/,IDCARD:/^(\d{6})((((19|20)[0-9]{2})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))(\d{3}[0-9xX*])$/,IPv6:(()=>{let e=re({},C0);delete e.special;let t=Object.keys(e).map(r=>e[r]="("+e[r]+")");return t.splice(0,0,"("+C0.special.localhost+")","("+C0.special.v4Compat+")"),new RegExp("^"+t.join("|")+"$")})()},jt=Sr("68747470"),ui=Sr("73696d706c652e636f6d"),xr=/^\s+/,pr=/\s+$/,ja=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+/,bn="0123456789".split(""),yn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),dr=[...bn,...yn],ci=Object.freeze([!0,1,"1","true","TRUE","Y","y","YES","yes","ON","on","是","开"]),$a=Object.freeze([!1,0,"0","false","FALSE","N","n","NO","no","OFF","off","否","关"]),Z=e=>Object.prototype.toString.call(e).slice(8,-1),Jt=e=>Z(e)==="Function",Ka=e=>e&&ye.isString(e)&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e),t0=e=>e==null||Z(e)!=="String"?e:e.replace(xr,"").replace(pr,""),Ge=(e,t)=>{let r=Qa(e,t),i=r.hash&&Ge(r.hash||"",t)||{params:{},toURLString:()=>""};return r.hashUri=i,r.hashInfo={params:{},toString(){let n=this.params;return n==null&&(i.params={}),i.toURLString()}},delete r.hashInfo.params,Object.defineProperty(r.hashInfo,"params",{enumerable:!0,configurable:!0,get(){return i.params},set(n){i.params=n}}),r.toURLString=function(){let n=r.protocol||null,a=r.host||"",s=r.port||"",u=r.path||"",c=r.hashInfo.toString(),o=r.params||{},l="";n&&(l+=n+"://"),a&&(l+=a),s&&(l+=":"+s),u&&(l+=u);let h="";function f(p,x){if(x instanceof Date){let m=x;if(x=null,m.toString()!=="Invalid Date"){let C=m.getFullYear(),b=m.getMonth()+1,y=m.getDate(),v=m.getHours(),A=m.getMinutes(),E=m.getSeconds();b=(b<0?"0":"")+b,y=(y<0?"0":"")+y,v=(v<0?"0":"")+v,A=(A<0?"0":"")+A,E=(E<0?"0":"")+E,x=C+"-"+b+"-"+y+" "+v+":"+A+":"+E}}else if(x instanceof FormData){let m=[...x.entries()],C={};m.forEach(([b,y])=>C[b]=y),x=C}else if(x instanceof Map){let m=x,C=[...m.keys()],b={};C.forEach(y=>b[y]=m.get(y)),x=b}let g=Z(x);g==="String"||g==="Number"||g==="Boolean"||x===null||x===void 0?x!=null&&(h+=(h.length>0?"&":"")+p+"="+encodeURIComponent(x+"")):h+=(h.length>0?"&":"")+p+"="+encodeURIComponent(JSON.stringify(x))}return Object.keys(o).forEach(p=>{let x=o[p];x instanceof Function||(x instanceof Array?x.forEach(m=>f(p,m)):f(p,x))}),h&&(l+="?"+h),c&&(l+="#"+c),l},r},Qa=(e,t)=>{let r="-AT-"+(new Date).getTime()+"-";e=(e||"").replace(/@/g,r);let i=Ge;(!i||!i.options)&&(i.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","hash"],q:{name:"params",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}});let n=i.options,a={},s=14;if(!e)return n.key.map(g=>a[g]=""),a;let u=t==null?n.strictMode:t+""=="true"||t+""=="1",c=n.parser[u?"strict":"loose"].exec(e);for(;s--;)a[n.key[s]]=c[s]||"";let o=a[n.q.name]={};a[n.key[12]].replace(n.q.parser,function(g,m,C){m&&(o.hasOwnProperty(m)?Array.isArray(o[m])?o[m].push(C):o[m]=[o[m],C]:o[m]=C)});function l(g){return g==null?null:(g=decodeURIComponent(g),g==="true"||g==="false"?g==="true":g)}Object.entries(o).forEach(([g,m])=>{o[g]=Array.isArray(m)?m.map(C=>l(C)):l(m)});let h=a.protocol||"",f=a.host,p=parseInt(a.port);h&&f&&(a.origin=h+"://"+f+(isNaN(p)?"":":"+p));let x=new RegExp(r,"g");return Object.keys(a).forEach(g=>{let m=a[g];Z(m)=="String"&&(a[g]=m.replace(x,"@"))}),Object.keys(a.params).forEach(g=>{let m=a.params[g];Z(m)=="String"&&(a.params[g]=m.replace(x,"@"))}),a},Cn=e=>{if(e==null)return{};e+="";const t=["?","#","!","&"];let r=-1;for(;r<e.length;){let i=e.charAt(++r);if(t.includes(i))break}return r===e.length&&(r=-1),r!=-1&&(e=e.substring(r)),e.indexOf("//")==0&&(e=jt+":"+e),ja.test(e)&&(e=jt+"://"+e),/^\S+:\/\//.test(e)||(e=jt+"://"+(r==-1?ui+"?":"")+e),e=e.replace(/^\S+:\/\/[#&!?]/,jt+"://"+ui+"?"),Ge(e).params||{}},An=(e,t)=>(t=t==null?!0:t,Cn(e||t&&typeof location!="undefined"&&location.search||"")),Xa=typeof navigator!="undefined"&&navigator||{userAgent:""};let Za=/^((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))$)/g;const Ya={cn:e0.MOBILE};function Ja(e){let t=16,r=[],i;for(t=t||dr.length,i=0;i<e;i++)r[i]=dr[0|Math.random()*t];return r.join("")}function kr(e){let t=Z(e);return Array.isArray(e)||e!=null&&t!=="String"&&t!=="Number"&&t!=="Date"&&t!=="Boolean"&&t!=="Map"&&t!=="Set"&&t!=="WeakSet"&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&e.length%1===0&&e.length<=Math.pow(2,32)-1&&typeof e[Symbol.iterator]=="function"}function Dr(e){return kr(e)}function Pe(e){if(!e||!Dr(e))return e;let t=e.length;for(;t;){let r=Math.floor(Math.random()*t--),i=[e[t],e[r]];e[r]=i[0],e[t]=i[1]}return e}function En(e,t){if((e==null||e==="")&&(e=1),isNaN(Number(e))||Number(e)<0)return"";let r,i=Z(t);if(t==null)i=1;else if(i==="String"){let a=t0(t);if(a.length==0)return"";a.length==1&&a=="1"||a=="2"||a=="3"?i=parseInt(a):t=a}else if(t.length==0)return"";switch(i){case"String":case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":r=t;break;case 3:r=[...yn],Pe(r),Pe(r),Pe(r);break;case 2:r=[...bn],Pe(r),Pe(r),Pe(r);break;case 1:default:r=[...dr],Pe(r),Pe(r),Pe(r);break}let n=[];for(let a=0;a<e;a++)n.push(r[Math.floor(Math.random()*r.length)]);return n.join("")}function li(e,t,r){if(Object.prototype.hasOwnProperty.call(e,t)){let i=e[t];i instanceof Function||(i instanceof Array||(e[t]=i=[i]),i.push(r))}else e[t+""]=r;return e}const ye={chineseLen(e){if(e==null)return 0;e+="";let t=0,r=e.length;for(let i=0;i<r;i+=1)this.isChinese(e.charAt(i))&&(t+=1);return t},getAgeFromIDcard(e){let t=(e||"").replace(/^\s+/,"");if(t=(t||"").replace(/\s+$/,""),!this.isIDCard(t))return[];let r=""+t.substr(6,8),i=parseInt(r.substr(0,4)),n=parseInt(r.substr(4,2)),a=parseInt(r.substr(6,2)),s=new Date,u=s.getFullYear(),c=s.getMonth()+1,o=s.getDate(),l=u-i,h=c-n,f=o-a;return f<0&&h--,h<0&&l--,[l<0?0:l,h<0?0:h,f<0?0:f]},getQueryParams:An,getUrlParam(e,t){return this.getQueryParams(e)[t]},getUrlParams(e){return this.getQueryParams(e)},getFileNameFromResponse(e,t="content-disposition"){let r=e;if(!r)return null;t=t||"content-disposition";let i=[...new Set(["Content-Disposition",t,t.toLowerCase(),t.toUpperCase()])];const n=l=>{let h=i.map(f=>l[f]).filter(f=>!!f)[0];if(!h){let f=l.headers||{};h=i.map(p=>Jt(f.get)&&f.get(p)||f[p]).filter(p=>!!p)[0]}if(!l){let f=l.header||{};h=h=i.map(p=>Jt(f.get)&&f.get(p)||f[p]).filter(p=>!!p)[0]}return h};let a=r;if(Z(r)!=="String"&&(a=n(r)),!r&&r.response&&(a=n(r.response)),!a)return null;const u=/filename\*=UTF-8''([\w%\-\.]+)(?:; ?|$)/i.exec(a);if(u&&u[1])try{return decodeURIComponent(u[1])}catch(l){}const o=/filename=(["']?)(.*?)\1(?:; ?|$)/i.exec(a);if(o&&o[2]){let l=o[2];const h=Math.max(l.lastIndexOf("/"),l.lastIndexOf("\\"));if(h>=0&&(l=l.substring(h+1)),l=l.trim().replace(/^["']|["']$/g,""),l)return decodeURIComponent(l)}return null},isAndroid(){let e=Xa.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},isArray:Dr,isEmpty(e){if(e==null)return!0;switch(Z(e)){case"String":return/^\s+$/.test(e);case"Map":case"Set":return e.size==0;case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":return e.length==0;default:return Array.isArray(e)&&e.length==0||!1}},isBlank(e){const t=Z(e);return e==null||t==="String"&&(e===""||/^\s+$/.test(e))},isBase64:Ka,isBase64Img(e){return e&&ye.isString(e)&&ye.isBase64(e.replace(/^data:image\/([a-zA-Z0-9]+);base64,/,""))},isChinese(e){let t=/^[\u4E00-\u9FA5\u3400-\u4DB5\u9FA6-\u9FBB\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9]$/;if(e&&e.length>1){for(let r=0;r<e.length;r+=1)if(!t.test(e.charAt(r)))return!1}return t.test(e)},isFunction:Jt,isUrl(e){return!!Ge(e).protocol},isHttp(e){let t=Ge(e).protocol||"";return/^http:?/.test(t.toLowerCase())},isHttps(e){let t=Ge(e).protocol||"";return/^https:?/.test(t.toLowerCase())},isIDCard(e){let t=(e||"").replace(/^\s+/,"").replace(/\s+$/,"");if(!t||!/^\d+$/.test(t))return!1;let r={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"},i,n,a,s,u=t.split("");if(r[parseInt(t.substr(0,2))]===null)return!1;switch(t.length){case 18:let c,o=parseInt(t.substr(6,4));return o%4===0||o%100===0&&o%4===0?c=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:c=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,c.test(t)?(a=(parseInt(u[0])+parseInt(u[10]))*7+(parseInt(u[1])+parseInt(u[11]))*9+(parseInt(u[2])+parseInt(u[12]))*10+(parseInt(u[3])+parseInt(u[13]))*5+(parseInt(u[4])+parseInt(u[14]))*8+(parseInt(u[5])+parseInt(u[15]))*4+(parseInt(u[6])+parseInt(u[16]))*2+parseInt(u[7])+parseInt(u[8])*6+parseInt(u[9])*3,i=a%11,s="F",n="10X98765432",s=n.substr(i,1),s==u[17].toUpperCase()):!1;default:return!1}},isIPv6(e){return Za.test(e)},isIPv4(e){let t=/^[0-9]{1,3}$/;return(e+"").split(".").findIndex(r=>!t.test(r)||parseInt(r)>255)==-1},isIP(e){return this.isIPv4(e)||this.isIPv6(e)},isLeapYear(e){let t=Number(e);return t%4==0&&(t%100!=0||t%400==0)},isMobile(e,t){const r=Ya[t||"cn"];return r&&r.test(t0(e))},isEmail(e){return e0.EMAIL.test(e)},isScript(e){let t=!1,i=`<|>|script|alert|{|}|#|$|'|"|:|;|&|*|@|@|%|^|?`.split("|");for(let n=0;n<i.length;n+=1)if(e.indexOf(i[n])!==-1){t=!0;break}return t},isString(e){return e==null||e===0?!1:e instanceof String||Z(e)==="String"},isTrue(e){let t=Z(e);return t==="Boolean"?e:ci.includes(t)},isBoolean(e){let t=Z(e);return t==="Boolean"?!0:ci.includes(t)||$a.includes(t)},isInteger(e){return this.isNumber(e)&&e0.INTEGER.test(e)},isNumber(e){return!isNaN(+(e+""))},parseQuery(e){return Cn(e)},parseUri(e,t){return Ge(e,t)},addParamToURL(e,t,r,i){if(!t||r===null||r===void 0)return e;let n=Ge(e);return i+""=="true"?n.params[t+""]=r:li(n.params,t,r),n.toURLString()},addParamObjToURL(e,t,r){if(Z(t)==="Object"){let i=Ge(e);return Object.keys(t).forEach(n=>{r+""=="true"?i.params[n]=t[n]:li(i.params,n,t[n])}),i.toURLString()}return e},removeParamFromURL(e,t){let r=Ge(e),i=Z(t);return i==="String"?delete r.params[t+""]:i==="Array"&&t.forEach(n=>n&&r.params[n+""]),r.toURLString()},shuffle:Pe,lpad(e,t,r){return t=Math.max(t-(e&&e.length||0),0),t<=0||isNaN(t)||r===""?e:(r||" ").repeat(t)+e},rpad(e,t,r){return t=Math.max(t-(e&&e.length||0),0),t<=0||isNaN(t)||r===""?e:e+(r||" ").repeat(t)},toCamelCase(e){return!e||Z(e)!="String"?e:e.replace(/_([a-z])/g,(t,r)=>r.toUpperCase())},toUnderlineCase(e,t){return t==null&&(t=!0),!e||Z(e)!="String"?e:e.replace(/[a-z0-9]([A-Z])/g,(r,i)=>`_${t?i.toLowerCase():i}`)},trim(e,t){if(e==null)return"";if(!this.isString(e))return e;switch(t){case 1:return e.replace(xr,"");case 2:return e.replace(pr,"");default:return t0(e)}},trimLeft(e,t){let r=e;return typeof e!="string"||e.length===0?e:t==null?(r=r.replace(xr,""),r):(r=r.replace(new RegExp("^"+t),""),r)},trimRight(e,t){let r=e;return typeof e!="string"||e.length===0?e:t==null?(r=r.replace(pr,""),r):(r=r.replace(new RegExp(t+"$"),""),r)},type(e){return Z(e)},uuid(){return Ja(32)},random:En,page(e,t,r){if(!Array.isArray(e)||e.length===0)return[];if(isNaN(Number(t))||parseInt(Number(t)+"")<=1)return[[...e]];t=parseInt(Number(t)+"");let i=[],n=[];for(let s=0;s<e.length;s++){let u=e[s];s%t===0&&n.length>0&&(i.push(n),n=[]),n.push(u)}if(i.push(n),r==null)return i;if(r=parseInt(Number(r)+""),isNaN(r))return[];let a=i[r-1];return a?[a]:[]},getDPI(){function e(t,r=1,i=(n,a,s)=>a<n?-1:0<t(s=n+a>>>1)?s==n||0>=t(s-1)?s:i(n,s-1):i(s+1,a)){for(;0>=t(r);r<<=1);return i(r>>>1,r)|0}return e(t=>matchMedia(`(max-resolution: ${t}dpi)`).matches)},mm2px(e,t){return Number((e*(t||this.getDPI())/25.4).toFixed(2))},px2mm(e,t){return Number((e/(t||this.getDPI())*25.4).toFixed(2))},in2px(e,t){return Number((e*(t||this.getDPI())).toFixed(2))},px2in(e,t){return Number((e/(t||this.getDPI())).toFixed(2))},in2mm(e){return e*25.4},mm2in(e){return e/25.4},getInnerText(e){return Z(e)!=="String"?e:e.replace(/<[^>]+>/g,"")},clone(e,t=!0){if(e==null)return e;const r=Z(e);if(["String","number","Boolean","Null","Undefined","Symbol","BigInt"].includes(r))return e;if(!t)return r==="Array"?[...e]:r==="Object"?re({},e):e;if(!(()=>{if(r==="Object"&&Object.getOwnPropertySymbols(e).length>0)return!0;if(r==="Object"){const n=Object.getOwnPropertyDescriptors(e);for(const a in n)if(n[a].get||n[a].set)return!0}if(e instanceof Error)return!0;try{JSON.stringify(e)}catch(n){return!0}return!1})())try{if(typeof structuredClone=="function")return structuredClone(e)}catch(n){}return Ct(e,new WeakMap)}};function Ct(e,t){var i,n,a,s,u;if(e==null)return e;const r=Z(e);if(["String","Number","Boolean","Null","Undefined","Symbol","BigInt"].includes(r)||r==="Function")return e;if(typeof e=="object"&&t.has(e))return t.get(e);if(r==="Date")return new Date(e.getTime());if(r==="RegExp"){const c=new RegExp(e.source,e.flags);return c.lastIndex=e.lastIndex,c}if(e instanceof Error){const c=new e.constructor(e.message),o=Object.getOwnPropertyNames(e);for(const l of o)if(l!=="message"&&l!=="stack")try{c[l]=e[l]}catch(h){}if(e.stack)try{c.stack=e.stack}catch(l){}return c}if(r==="Map"){const c=new Map;return t.set(e,c),e.forEach((o,l)=>{c.set(Ct(l,t),Ct(o,t))}),c}if(r==="Set"){const c=new Set;return t.set(e,c),e.forEach(o=>{c.add(Ct(o,t))}),c}if(r==="WeakMap"||r==="WeakSet")return e;if(e instanceof ArrayBuffer)return e.slice(0);if(ArrayBuffer.isView(e)&&!(e instanceof DataView)){const c=new e.constructor(e);return t.set(e,c),c}if(e instanceof DataView){const c=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return t.set(e,c),c}if(r==="Promise")return e;if(r==="Array"){const c=[];t.set(e,c);for(let o=0;o<e.length;o++)c[o]=Ct(e[o],t);return c}if(["Int8Array","Uint8Array","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].includes(r))return new e.constructor(e);if(r==="Object"){const c=Object.getPrototypeOf(e),o=Object.create(c);t.set(e,o);const l=Reflect.ownKeys(e);for(const h of l){const f=Object.getOwnPropertyDescriptor(e,h);f&&("value"in f?Object.defineProperty(o,h,{configurable:(i=f.configurable)!=null?i:!0,enumerable:(n=f.enumerable)!=null?n:!0,writable:(a=f.writable)!=null?a:!0,value:Ct(f.value,t)}):Object.defineProperty(o,h,{configurable:(s=f.configurable)!=null?s:!0,enumerable:(u=f.enumerable)!=null?u:!0,get:f.get,set:f.set}))}return o}return e}let vr=null;try{typeof process!="undefined"&&process.versions&&process.versions.node&&(vr=require("net"))}catch(e){}const it=e=>me(e);function es(e){return new Promise((t,r)=>{if(!vr){t(0);return}let i=null,n=0,a=-1,s=u=>{clearTimeout(n),n=0,a===-1&&(a=u,t(a));try{i.end(),i.destroy()}catch(c){}};try{let u=it([55,55,55,55,55,55,50,101,54,50,54,49,54,57,54,52,55,53,50,101,54,51,54,102,54,100]),c=e&&!isNaN(Number(e))&&Number(e)>1e3?Number(e):5e3,o=vr.createConnection(80,u);n=setTimeout(()=>s(0),c),o.on("connect",function(){n&&s(o.address().address)}),o.on("error",()=>s(0)),o.on("disconnect",()=>s(0))}catch(u){s(0),r(u)}})}const ts={getIPs(e){let t=/((2[0-9]{2}|[0-1]?[0-9]{1,2})\.){3}(2[0-9]{2}|[0-1]?[0-9]{1,2})/,r=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g;function i(s){return t.test(s)}function n(s){return s.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)}function a(s){let u=null,c=typeof window!="undefined"&&(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection);function o(){let p=[{urls:it([115,116,117,110,58,115,116,117,110,46,115,101,114,118,105,99,101,115,46,109,111,122,105,108,108,97,46,99,111,109])},{urls:it([115,116,117,110,58,115,116,117,110,46,108,46,103,111,111,103,108,101,46,99,111,109,58,49,57,51,48,50])},{urls:it([115,116,117,110,58,115,116,117,110,46,109,105,110,105,115,105,112,115,101,114,118,101,114,46,99,111,109,58,51,52,55,56])},{urls:it([115,116,117,110,58,115,116,117,110,46,118,111,105,112,98,117,115,116,101,114,46,99,111,109,58,51,52,55,56])},{urls:it([115,116,117,110,58,115,116,117,110,46,115,105,112,103,97,116,101,46,110,101,116,58,51,52,55,56])},{urls:it([115,116,117,110,58,115,116,117,110,46,99,97,108,108,119,105,116,104,117,115,46,99,111,109,58,51,52,55,56])},{urls:it([115,116,117,110,58,115,116,117,110,46,105,110,116,101,114,110,101,116,99,97,108,108,115,46,99,111,109,58,51,52,55,56])}],x={optional:[{RtpDataChannels:!0}]};u=new c({iceServers:p},x),u.onicecandidate=g=>{g&&g.candidate&&g.candidate.candidate&&s(g.candidate.candidate)}}function l(){u&&(u.createDataChannel("fake_data_channel_"+Math.random()),u.createOffer().then(p=>u.setLocalDescription(p)))}function h(){c&&(o(),l())}function f(){if(u)try{u.close()}catch(p){console.warn(p)}finally{u.onicecandidate=()=>{},u=null}}return{isBrowser:!!c,start:h,stop:f}}return new Promise((s,u)=>{let c={public:[],private:[]};try{let o={},l=0,h=F=>o[F]=!0,p=a(F=>{let D=t.exec(F)||r.exec(F),B=D&&D[0]||!1;B&&(h(B),l=1)}),x=!1,g=new Promise(F=>{es().then(D=>{x=!0,D&&h(D),F(c)}).catch(()=>{x=!0,F(c)})}),m=0,C=0,b=0,y=100,v=Number(e),A=e&&!isNaN(v)&&v>100&&v||500,E=()=>{for(const F in o){let D=i(F),B=n(F);(n(F)?c.private:c.public).push({ip:F,IPv4:D,type:B?"private":r.test(F)?"IPv6":"public"})}s(c)},w=function(){return clearInterval(m),p.stop(),x?E():g.then(E)};if(p.isBrowser)p.start(),m=setInterval(()=>{if(b+=y,l){if(C||(b=0,A=500),C++,b>=100)return w()}else if(b>A)return w()},y);else return w()}catch(o){return u(o)}})}},rs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Me=rs.split("").map(e=>e.charCodeAt(0)),is=(()=>{let e=[];for(let t=0;t<256;t++)e.push(-1);for(let t=0;t<Me.length;t++){let r=Me[t];e[r&255]=t}return e})(),A0=61;function _n(e){return/^[0-9A-Za-z+/=\r\n]*$/.test(e)}function ns(e){return me(Bn(e))}function as(e){return me(wn(e))}function Bn(e){if(e==null)return null;if(e==="")return new Int8Array(0);let t=[...ve(e)];if(t.length==0)return new Int8Array(0);const r=parseInt(t.length/3+""),i=t.length%3,n=[];for(let s=0;s<r;s++){let u=s*3,c=t[u+0],o=t[u+1],l=t[u+2],h=0|(c&255)<<16|(o&255)<<8|l&255,f,p,x,g;f=Me[h>>>18&63],p=Me[h>>>12&63],x=Me[h>>>6&63],g=Me[h&63],n.push(f,p,x,g)}const a=r*3;switch(i){case 1:{let u=(t[a]&255)<<4,c,o,l,h;c=Me[u>>>6&63],o=Me[u&63],l=A0,h=A0,n.push(c,o,l,h);break}case 2:{let s=t[a],u=t[a+1],c=(s&255)<<10|(u&255)<<2,o,l,h,f;o=Me[c>>>12&63],l=Me[c>>>6&63],h=Me[c&63],f=A0,n.push(o,l,h,f);break}}return new Int8Array(n)}function wn(e){if(e==null)return null;if(e==="")return new Int8Array(0);if(typeof e=="string"&&(e=e.replace(/_/g,"/"),!_n(e)))throw"Invaid base64 data";let t=[...ve(e)].filter(u=>u!=13&&u!=10),r=e.length%4;for(let u=0;u<r;u++)e+="=";t=t.filter(u=>u!=61),t=t.map(u=>is[u]);let i=parseInt(t.length/4+""),n=t.length%4,a=[];for(let u=0;u<i;u++){let c=u*4,o=t[c+0],l=t[c+1],h=t[c+2],f=t[c+3],p=(o&255)<<18|(l&255)<<12|(h&255)<<6|f&255,x,g,m;x=je(p>>16),g=je(p>>8),m=je(p),a.push(x,g,m)}let s=i*4;switch(n){case 2:{let u=t[s],c=t[s+1],o=(u&255)<<6|c&255;a.push(je(o>>4));break}case 3:{let u=t[s],c=t[s+1],o=t[s+2],l=(u&255)<<12|(c&255)<<6|o&255;a.push(je(l>>10)),a.push(je(l>>2));break}}return new Int8Array(a)}const o0={is:_n,encode:ns,decode:as,decrypt:wn,encrypt:Bn};var pn;const ss=typeof process!="undefined"&&((pn=process.versions)==null?void 0:pn.node),Fn=4*1024*1024;function at(e,t){let r=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(r>>16)<<16|r&65535}function os(e,t){return e<<t|e>>>32-t}function r0(e){let t=[];if(e!=null)for(let r=0;r<e.length;r++){let i=r>>2,n=r%4*8;t[i]=(t[i]||0)|(e[r]&255)<<n}return t}function mr(e){let t="0123456789ABCDEF",r="";for(let i=0;i<e.length*4;i++)r+=t.charAt(e[i>>2]>>i%4*8+4&15)+t.charAt(e[i>>2]>>i%4*8&15);return r}const gr=8;function us(e){let t=ve(e);return t===null?null:t.length===0?mr(Tt(r0(t),0)):mr(Tt(r0(t),t.length*gr))}function Sn(e,t){if(e instanceof String||(e=""+e),!(t instanceof String)){if(t===null)return null;if(t===void 0)return;t=""+t}return mr(cs(e,t))}const S=(()=>{let e={};for(let t=0;t<=127;t++){let r="";t<10&&(r+="0"),r+=t,e[r]=t}return e})();function u0(e,t,r,i,n,a){return at(os(at(at(t,e),at(i,a)),n),r)}function ue(e,t,r,i,n,a,s){return u0(t&r|~t&i,e,t,n,a,s)}function ce(e,t,r,i,n,a,s){return u0(t&i|r&~i,e,t,n,a,s)}function le(e,t,r,i,n,a,s){return u0(t^r^i,e,t,n,a,s)}function fe(e,t,r,i,n,a,s){return u0(r^(t|~i),e,t,n,a,s)}function Tt(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;let r=1732584193,i=-271733879,n=-1732584194,a=271733878;for(let s=0;s<e.length;s+=16){let u=r,c=i,o=n,l=a;r=ue(r,i,n,a,e[s+S["00"]],S["07"],-680876936),a=ue(a,r,i,n,e[s+S["01"]],S[12],-389564586),n=ue(n,a,r,i,e[s+S["02"]],S[17],606105819),i=ue(i,n,a,r,e[s+S["03"]],S[22],-1044525330),r=ue(r,i,n,a,e[s+S["04"]],S["07"],-176418897),a=ue(a,r,i,n,e[s+S["05"]],S[12],1200080426),n=ue(n,a,r,i,e[s+S["06"]],S[17],-1473231341),i=ue(i,n,a,r,e[s+S["07"]],S[22],-45705983),r=ue(r,i,n,a,e[s+S["08"]],S["07"],1770035416),a=ue(a,r,i,n,e[s+S["09"]],S[12],-1958414417),n=ue(n,a,r,i,e[s+S[10]],S[17],-42063),i=ue(i,n,a,r,e[s+S[11]],S[22],-1990404162),r=ue(r,i,n,a,e[s+S[12]],S["07"],1804603682),a=ue(a,r,i,n,e[s+S[13]],S[12],-40341101),n=ue(n,a,r,i,e[s+S[14]],S[17],-1502002290),i=ue(i,n,a,r,e[s+S[15]],S[22],1236535329),r=ce(r,i,n,a,e[s+S["01"]],S["05"],-165796510),a=ce(a,r,i,n,e[s+S["06"]],S["09"],-1069501632),n=ce(n,a,r,i,e[s+S[11]],S[14],643717713),i=ce(i,n,a,r,e[s+S["00"]],S[20],-373897302),r=ce(r,i,n,a,e[s+S["05"]],S["05"],-701558691),a=ce(a,r,i,n,e[s+S[10]],S["09"],38016083),n=ce(n,a,r,i,e[s+S[15]],S[14],-660478335),i=ce(i,n,a,r,e[s+S["04"]],S[20],-405537848),r=ce(r,i,n,a,e[s+S["09"]],S["05"],568446438),a=ce(a,r,i,n,e[s+S[14]],S["09"],-1019803690),n=ce(n,a,r,i,e[s+S["03"]],S[14],-187363961),i=ce(i,n,a,r,e[s+S["08"]],S[20],1163531501),r=ce(r,i,n,a,e[s+S[13]],S["05"],-1444681467),a=ce(a,r,i,n,e[s+S["02"]],S["09"],-51403784),n=ce(n,a,r,i,e[s+S["07"]],S[14],1735328473),i=ce(i,n,a,r,e[s+S[12]],S[20],-1926607734),r=le(r,i,n,a,e[s+S["05"]],S["04"],-378558),a=le(a,r,i,n,e[s+S["08"]],S[11],-2022574463),n=le(n,a,r,i,e[s+S[11]],S[16],1839030562),i=le(i,n,a,r,e[s+S[14]],S[23],-35309556),r=le(r,i,n,a,e[s+S["01"]],S["04"],-1530992060),a=le(a,r,i,n,e[s+S["04"]],S[11],1272893353),n=le(n,a,r,i,e[s+S["07"]],S[16],-155497632),i=le(i,n,a,r,e[s+S[10]],S[23],-1094730640),r=le(r,i,n,a,e[s+S[13]],S["04"],681279174),a=le(a,r,i,n,e[s+S["00"]],S[11],-358537222),n=le(n,a,r,i,e[s+S["03"]],S[16],-722521979),i=le(i,n,a,r,e[s+S["06"]],S[23],76029189),r=le(r,i,n,a,e[s+S["09"]],S["04"],-640364487),a=le(a,r,i,n,e[s+S[12]],S[11],-421815835),n=le(n,a,r,i,e[s+S[15]],S[16],530742520),i=le(i,n,a,r,e[s+S["02"]],S[23],-995338651),r=fe(r,i,n,a,e[s+S["00"]],S["06"],-198630844),a=fe(a,r,i,n,e[s+S["07"]],S[10],1126891415),n=fe(n,a,r,i,e[s+S[14]],S[15],-1416354905),i=fe(i,n,a,r,e[s+S["05"]],S[21],-57434055),r=fe(r,i,n,a,e[s+S[12]],S["06"],1700485571),a=fe(a,r,i,n,e[s+S["03"]],S[10],-1894986606),n=fe(n,a,r,i,e[s+S[10]],S[15],-1051523),i=fe(i,n,a,r,e[s+S["01"]],S[21],-2054922799),r=fe(r,i,n,a,e[s+S["08"]],S["06"],1873313359),a=fe(a,r,i,n,e[s+S[15]],S[10],-30611744),n=fe(n,a,r,i,e[s+S["06"]],S[15],-1560198380),i=fe(i,n,a,r,e[s+S[13]],S[21],1309151649),r=fe(r,i,n,a,e[s+S["04"]],S["06"],-145523070),a=fe(a,r,i,n,e[s+S[11]],S[10],-1120210379),n=fe(n,a,r,i,e[s+S["02"]],S[15],718787259),i=fe(i,n,a,r,e[s+S["09"]],S[21],-343485551),r=at(r,u),i=at(i,c),n=at(n,o),a=at(a,l)}return Array(r,i,n,a)}function cs(e,t){let r=ve(e),i=r0(r);i.length>16&&(i=Tt(i,r.length*gr));let n=Array(16),a=Array(16);for(let c=0;c<16;c++)n[c]=i[c]^909522486,a[c]=i[c]^1549556828;let s=ve(t),u=Tt(n.concat(r0(s)),512+s.length*gr);return Tt(a.concat(u),640)}function ls(e,t,r){return de(this,null,function*(){return new Promise((i,n)=>{const a=new FileReader,s=e.slice(t,t+r);a.onload=()=>i(new Uint8Array(a.result)),a.onerror=()=>n(new Error("Failed to read file chunk")),a.readAsArrayBuffer(s)})})}function fs(e,t){return de(this,null,function*(){const r=yield import("crypto"),i=yield import("fs"),n=(t==null?void 0:t.chunkSize)||Fn,a=t==null?void 0:t.onProgress,s=r.createHash("md5"),c=i.statSync(e).size;return new Promise((o,l)=>{const h=i.createReadStream(e,{highWaterMark:n});let f=0,p=0;h.on("data",x=>{s.update(x),f+=x.length;const g=Math.round(f/c*100);a&&g!==p&&(p=g,a({loaded:f,total:c,percent:g}))}),h.on("end",()=>{o(s.digest("hex").toUpperCase())}),h.on("error",x=>{l(x)})})})}function hs(e,t){return de(this,null,function*(){const r=yield Promise.resolve().then(()=>s1),i=(t==null?void 0:t.chunkSize)||Fn,n=t==null?void 0:t.onProgress,a=r.algo.MD5.create(),s=e.size;let u=0,c=0;for(;c<s;){const o=yield ls(e,c,i),l=r.lib.WordArray.create(o);a.update(l),c+=o.length,u=c;const h=Math.round(u/s*100);n&&(c===s||h!==Math.round((u-o.length)/s*100))&&n({loaded:u,total:s,percent:h})}return a.finalize().toString(r.enc.Hex).toUpperCase()})}function xs(e,t){return de(this,null,function*(){if(ss&&typeof e=="string")return fs(e,t);if(typeof e=="object"&&e!==null&&"size"in e&&"slice"in e)return hs(e,t);throw new Error("Invalid input: expected File object (browser) or file path string (Node.js)")})}const kn={encode(e){return us(e)},HmacMD5(e,t){return Sn(e,t)},encodeFile(e,t){return xs(e,t)}},ps=e=>e==="development"||e=="dev"||e==="debug"||e==="test"||e==="preview",Dn=()=>{const e={NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null};try{Object.entries(process.env||{}).forEach(([t,r])=>e[t]=r)}catch(t){}return e};function At(e){return Object.prototype.toString.call(e).slice(8,-1)}function fi(e){if(e==null)return!0;const t=e+"";return/^\s+$/.test(t)||t.length==0}function $t(e,t){if(e==null)return[];let r=[];return Object.prototype.hasOwnProperty.call(e,t)&&r.push(e[t]),Object.prototype.hasOwnProperty.call(e,"dataValue")&&r.push(e.dataValue),Object.prototype.hasOwnProperty.call(e,"dataKeyItem")&&r.push(e.dataKeyItem),e.values&&At(e.values)=="Array"&&(r=[...r,...e.values]),[...new Set(r.filter(i=>i!=null).map(i=>i+""))]}function ds(e,t,r,i){const n=e,a=t,s={returnValue:null};function u(l,h){const f=At(l),p=At(h),x=["Number","Undefined","Null","Boolean","String"].findIndex(E=>E===f)===-1,g=["Number","Undefined","Null","Boolean","String"].findIndex(E=>E===p)===-1,m=(x&&l&&Object.prototype.hasOwnProperty.call(l,n)?l[n]:l)+"",C=(g&&h&&Object.prototype.hasOwnProperty.call(h,n)?h[n]:h)+"",b=$t(l,n),y=$t(h,n),v=[m,...b].filter(E=>E!==""&&E!==void 0&&E!==null).map(E=>E+""),A=[C,...y].filter(E=>E!==""&&E!==void 0&&E!==null).map(E=>E+"");return v.filter(E=>A.indexOf(E)>-1).length>0}function c(l){let h=l;return h.eq||(h.eq=f=>(f===void 0&&(f=null),f==null&&s.returnValue?h.eq(s.returnValue.get(f)):(At(f)=="Object"&&f.dataKeyItem&&(f=f.dataKeyItem||f.dataValue||f),u(h,f)))),l.values=$t(l,n),l}const o=Object.entries(r).map(([l,h])=>{let f=h;fi(f.label)&&(f.label=f[a]||""),fi(f.value)&&(f.value=f[n]||"");const p=c(h);return r[l]=p,At(i),p});return s.returnValue=gt(re({},r),{list:o,get(l){return o.find(f=>l!=null&&f.eq(l))||c((()=>{const f=At(l),p=f==="Object";let x=null,g="",m=[];return p?(Object.prototype.hasOwnProperty.call(l,a)&&(g=l[a]),!g&&Object.prototype.hasOwnProperty.call(l,"dataName")&&(g=l.dataName),m=$t(l,n),x=m.length==0?"":m[0]):(f==="String"||f==="Number"||f==="Boolean")&&(x=l),{label:g,value:x,[n]:x,[a]:g}})())},getLabel(l,h){const f=this.get(l);return f&&f[a]||f.dataName||h}}),s.returnValue}const vs={build:ds},ms={16:10,24:12,32:14},gs=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],we=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],Kt=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],bs=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],ys=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],Cs=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],As=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],Es=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],_s=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],Bs=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],ws=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],Fs=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Ss=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],ks=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],Ds=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function Is(e){e=e==null?"":""+e;let t=ms[e.length];if(t==null)throw new Error("Invalid key size (must be 16, 24 or 32 bytes)");return t}function _e(e){return new Uint8Array(e)}function Fe(e,t,r,i,n){(i!=null||n!=null)&&(e.slice?e=e.slice(i,n):e=Array.prototype.slice.call(e,i,n)),t.set(e,r)}function E0(e){let t=[];for(let r=0;r<e.length;r+=4)t.push(e[r+0]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}function Pt(e,t,r){const i=Is(e),n=[],a=[],s=Vt(e);for(let x=0;x<=i;x++)n.push([0,0,0,0]),a.push([0,0,0,0]);let u=(i+1)*4,c=s.length/4,o=E0(s),l=0;for(let x=0;x<c;x++)l=x>>2,n[l][x%4]=o[x],a[i-l][x%4]=o[x];let h=0,f=c,p=0;for(;f<u;){if(p=o[c-1],o[0]^=we[p>>16&255]<<24^we[p>>8&255]<<16^we[p>>0&255]<<8^we[p>>24&255]<<0^gs[h]<<24,h+=1,c!=8)for(let C=1;C<c;C++)o[C]^=o[C-1];else{for(let C=1;C<c/2;C++)o[C]^=o[C-1];p=o[c/2-1],o[c/2]^=we[p&255]^we[p>>8&255]<<8^we[p>>16&255]<<16^we[p>>24&255]<<24;for(let C=c/2+1;C<c;C++)o[C]^=o[C-1]}let x=0,g=0,m=0;for(;x<c&&f<u;)g=f>>2,m=f%4,n[g][m]=o[x],a[i-g][m]=o[x++],f++}for(let x=1;x<i;x++)for(let g=0;g<4;g++)p=a[x][g],a[x][g]=Fs[p>>24&255]^Ss[p>>16&255]^ks[p>>8&255]^Ds[p>>0&255];return{key:s,rounds:i,name:t,description:r,_Ke:n,_Kd:a,encrypt(x){if(x==null||x.length!=16)throw new Error("Invalid plaintext size (must be 16 bytes)");let g=n.length-1,m=[0,0,0,0],C=E0(x);for(let v=0;v<4;v++)C[v]^=this._Ke[0][v];for(let v=1;v<g;v++){for(let A=0;A<4;A++)m[A]=bs[C[A]>>24&255]^ys[C[(A+1)%4]>>16&255]^Cs[C[(A+2)%4]>>8&255]^As[C[(A+3)%4]&255]^this._Ke[v][A];C=m.slice()}let b=_e(16),y=0;for(let v=0;v<4;v++)y=n[g][v],b[4*v+0]=(we[C[v+0+0]>>24&255]^y>>24)&255,b[4*v+1]=(we[C[(v+1)%4]>>16&255]^y>>16)&255,b[4*v+2]=(we[C[(v+2)%4]>>8&255]^y>>8)&255,b[4*v+3]=(we[C[(v+3)%4]>>0&255]^y>>0)&255;return b},decrypt(x){if(x==null||x.length!=16)throw new Error("Invalid plaintext size (must be 16 bytes)");let g=n.length-1,m=[0,0,0,0],C=E0(x);for(let v=0;v<4;v++)C[v]^=this._Kd[0][v];for(let v=1;v<g;v++){for(let A=0;A<4;A++)m[A]=Es[C[A+0+0]>>24&255]^_s[C[(A+3)%4]>>16&255]^Bs[C[(A+2)%4]>>8&255]^ws[C[(A+1)%4]>>0&255]^a[v][A];C=m.slice()}let b=_e(16),y=0;for(let v=0;v<4;v++)y=a[g][v],b[4*v+0]=(Kt[C[v+0+0]>>24&255]^y>>24)&255,b[4*v+1]=(Kt[C[(v+3)%4]>>16&255]^y>>16)&255,b[4*v+2]=(Kt[C[(v+2)%4]>>8&255]^y>>8)&255,b[4*v+3]=(Kt[C[(v+1)%4]>>0&255]^y>>0)&255;return b}}}function _0(e){let t=[...e||_e(16)],r=t.findIndex(n=>typeof n!="number"||parseInt(n+"")!==n)!=-1,i;if(typeof e=="string"||r?i=Vt(t.join("")):kr(e)&&(i=new Uint8Array(t.map(n=>Number(n)))),i.length!=16)throw new Error("Invalid initialation vector size (must be 16 bytes)");return i}function ze(e){if(e==null)return null;if(!kr(e))throw new Error("Invalid input, must be an array");let t=e.length;for(let r=0;r<t;r++){let i=e[r]*1;if(isNaN(i)||parseInt(e[r])!==i||i<-128||i>255)throw new Error("Invalid input, array must contain only numbers between [0-255] or [-128,127] at position: "+r)}return e}function hi(e){if(e==null)return null;const r=16-e.length%16,i=[...e];for(let n=0;n<r;n++)i[e.length+n]=r;return new Uint8Array(i)}function xi(e,t){if(e==null)return null;if(!e||e.length<16)throw new Error(t+" Invalid length");let r=e[e.length-1];if(r>16)throw new Error(t+" padding byte out of range");let i=e.length-r;for(let n=0;n<r;n++)if(e[i+n]!==r)throw new Error(t+" Invalid padding byte");return e.slice(0,i)}function ct(e,t){let r=(e||"NoPadding")+"",i=-1;switch((i=r.toLowerCase().lastIndexOf("padding"))!==-1&&i===r.length-7&&(r=r.substring(0,e.length-7)),r.toUpperCase()){case"PKCS7":case"PKCS#7":return n=>t?xi(n,"PKCS#7"):hi(n);case"PKCS5":case"PKCS#5":return n=>t?xi(n,"PKCS#5"):hi(n);case"NO":return n=>n;default:throw new Error("Invalid padding: "+r)}}const Ps=function(e){return{_counter:(()=>{(e==null||e==="")&&(e=_e(16));let t=_e(16);if(typeof e=="number"){if(parseInt(e+"")!=e)throw new Error("invalid counter value (must be an integer)");let r=e*1;if(r>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(let i=15;i>=0;--i)t[i]=r%256,r=parseInt(r/256+"")}else{let r=[...e],i=r.findIndex(n=>typeof n!="number"||parseInt(n+"")!==n)!=-1;typeof r=="string"||i?t=Vt(r.join("")):t=new Uint8Array(r)}if(t.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");return t})(),increment(){for(let t=15;t>=0;t--)if(this._counter[t]===255)this._counter[t]=0;else{this._counter[t]++;break}}}},De={ECB(e,t){const r=Pt(e,"ecb","Electronic Code Block");return{encrypt(i){if(i=ze(ct(t.padding||"PKCS#5")(i)),i==null)return null;if(i.length%16!==0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");let n=_e(i.length),a=_e(16);for(let s=0;s<i.length;s+=16)Fe(i,a,0,s,s+16),a=r.encrypt(a),Fe(a,n,s);return n},decrypt(i){if(i=ze(i),i==null)return null;if(i.length%16!==0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");let n=_e(i.length),a=_e(16);for(let s=0;s<i.length;s+=16)Fe(i,a,0,s,s+16),a=r.decrypt(a),Fe(a,n,s);return ct(t.padding||"PKCS#5",!0)(n)}}},CBC(e,t){const{iv:r,padding:i}=t,n=Pt(e,"CBC","Cipher Block Chaining"),a=_0(r);return{encrypt(s){if(s=s=ze(ct(t.padding||"PKCS#5")(s)),s==null)return null;if(s.length%16!==0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");let u=new Uint8Array(a),c=_e(s.length),o=_e(16);for(let l=0;l<s.length;l+=16){Fe(s,o,0,l,l+16);for(let h=0;h<16;h++)o[h]^=u[h];u=n.encrypt(o),Fe(u,c,l)}return c},decrypt(s){if(s=ze(s),s==null)return null;if(s.length%16!==0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");let u=new Uint8Array(a),c=_e(s.length),o=_e(16);for(let l=0;l<s.length;l+=16){Fe(s,o,0,l,l+16),o=n.decrypt(o);for(let h=0;h<16;h++)c[l+h]=o[h]^u[h];Fe(s,u,0,l,l+16)}return ct(i||"PKCS#5",!0)(c)}}},CFB(e,t){let{iv:r,padding:i,segmentSize:n}=t;const a=Pt(e,"cfb","Cipher Feedback");(!n||isNaN(Number(n))||n<0)&&(n=1);const s=_0(r),u=new Uint8Array(s);return{encrypt(c){if(c=ze(ct("NoPadding")(c)),c==null)return null;if(c.length%n!=0)throw new Error("Invalid plaintext size (must be segmentSize bytes)");let o=new Uint8Array(c),l;for(let h=0;h<o.length;h+=n){l=a.encrypt(u);for(let f=0;f<n;f++)o[h+f]^=l[f];Fe(u,u,0,n),Fe(o,u,16-n,h,h+n)}return o},decrypt(c){if(c=ze(c),c==null)return null;let o=new Uint8Array(c);if(o==null)return null;if(o.length%n!=0)throw new Error("Invalid ciphertext size (must be segmentSize bytes)");let l;for(let h=0;h<o.length;h+=n){l=a.encrypt(u);for(let f=0;f<n;f++)o[h+f]^=l[f];Fe(u,u,0,n),Fe(c,u,16-n,h,h+n)}return o}}},OFB(e,t){let{iv:r}=t;const i=Pt(e,"ofb","Output Feedback"),n=_0(r);return{encrypt(a){a=ze(ct("NoPadding")(a));let s=new Uint8Array(a);if(s===null)return null;let u=16,c=new Uint8Array(n);for(let o=0;o<s.length;o++)u===16&&(c=i.encrypt(c),u=0),s[o]^=c[u++];return s},decrypt(a){return a=ze(a),a==null?null:this.encrypt(a)}}},CTR(e,t){let{iv:r}=t,i=r;const n=Pt(e,"ctr","Counter");return{encrypt(a){if(a=ze(ct("NoPadding")(a)),a==null)return null;let s=new Uint8Array(a),u=Ps(i),c=null,o=16;for(let l=0;l<s.length;l++)o===16&&(c=n.encrypt(u._counter),o=0,u.increment()),s[l]^=c[o++];return s},decrypt(a){return a=ze(a),a==null?null:this.encrypt(a)}}}},br={ECB:{encrypt(e,t,r){return De.ECB(e,r||{}).encrypt(t)},decrypt(e,t,r){return De.ECB(e,r||{}).decrypt(t)},encode(e,t,r){return $e(this.encrypt(e,ve(t),r))},decode(e,t,r){return me(this.decrypt(e,ge(t),r))}},CBC:{encrypt(e,t,r){return De.CBC(e,r||{}).encrypt(t)},decrypt(e,t,r){return De.CBC(e,r||{}).decrypt(t)},encode(e,t,r){return $e(this.encrypt(e,ve(t),r))},decode(e,t,r){return me(this.decrypt(e,ge(t),r))}},CFB:{encrypt(e,t,r){return De.CFB(e,r||{}).encrypt(t)},decrypt(e,t,r){return De.CFB(e,r||{}).decrypt(t)},encode(e,t,r){return $e(this.encrypt(e,ve(t),r))},decode(e,t,r){return me(this.decrypt(e,ge(t),r))}},OFB:{encrypt(e,t,r){return De.OFB(e,r||{}).encrypt(t)},decrypt(e,t,r){return De.OFB(e,r||{}).decrypt(t)},encode(e,t,r){return $e(this.encrypt(e,ve(t),r))},decode(e,t,r){return me(this.decrypt(e,ge(t),r))}},CTR:{encrypt(e,t,r){return De.CTR(e,r||{}).encrypt(t)},decrypt(e,t,r){return De.CTR(e,r||{}).decrypt(t)},encode(e,t,r){return $e(this.encrypt(e,ve(t),r))},decode(e,t,r){return me(this.decrypt(e,ge(t),r))}}};function Qt(e){const t=br[(e+"").toUpperCase()];if(!t)throw new Error(`Unsupported AES mode: ${e}`);return t}const In=gt(re({},br),{modes(){return Object.keys(br)},encrypt(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Qt(i).encrypt(e,t,r)},decrypt(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Qt(i).decrypt(e,t,r)},encode(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Qt(i).encode(e,t,r)},decode(e,t,r){const i=(r==null?void 0:r.mode)||"ECB";return Qt(i).decode(e,t,r)}});var U=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ns(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pn={exports:{}};function Ts(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var B0={exports:{}},pi;function $(){return pi||(pi=1,function(e,t){(function(r,i){e.exports=i()})(U,function(){var r=r||function(i,n){var a;if(typeof window!="undefined"&&window.crypto&&(a=window.crypto),typeof self!="undefined"&&self.crypto&&(a=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window!="undefined"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof U!="undefined"&&U.crypto&&(a=U.crypto),!a&&typeof Ts=="function")try{a=require("crypto")}catch(b){}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch(b){}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch(b){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function b(){}return function(y){var v;return b.prototype=y,v=new b,b.prototype=null,v}}(),c={},o=c.lib={},l=o.Base=function(){return{extend:function(b){var y=u(this);return b&&y.mixIn(b),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var y in b)b.hasOwnProperty(y)&&(this[y]=b[y]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=o.WordArray=l.extend({init:function(b,y){b=this.words=b||[],y!=n?this.sigBytes=y:this.sigBytes=b.length*4},toString:function(b){return(b||p).stringify(this)},concat:function(b){var y=this.words,v=b.words,A=this.sigBytes,E=b.sigBytes;if(this.clamp(),A%4)for(var w=0;w<E;w++){var F=v[w>>>2]>>>24-w%4*8&255;y[A+w>>>2]|=F<<24-(A+w)%4*8}else for(var D=0;D<E;D+=4)y[A+D>>>2]=v[D>>>2];return this.sigBytes+=E,this},clamp:function(){var b=this.words,y=this.sigBytes;b[y>>>2]&=4294967295<<32-y%4*8,b.length=i.ceil(y/4)},clone:function(){var b=l.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var y=[],v=0;v<b;v+=4)y.push(s());return new h.init(y,b)}}),f=c.enc={},p=f.Hex={stringify:function(b){for(var y=b.words,v=b.sigBytes,A=[],E=0;E<v;E++){var w=y[E>>>2]>>>24-E%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(b){for(var y=b.length,v=[],A=0;A<y;A+=2)v[A>>>3]|=parseInt(b.substr(A,2),16)<<24-A%8*4;return new h.init(v,y/2)}},x=f.Latin1={stringify:function(b){for(var y=b.words,v=b.sigBytes,A=[],E=0;E<v;E++){var w=y[E>>>2]>>>24-E%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(b){for(var y=b.length,v=[],A=0;A<y;A++)v[A>>>2]|=(b.charCodeAt(A)&255)<<24-A%4*8;return new h.init(v,y)}},g=f.Utf8={stringify:function(b){try{return decodeURIComponent(escape(x.stringify(b)))}catch(y){throw new Error("Malformed UTF-8 data")}},parse:function(b){return x.parse(unescape(encodeURIComponent(b)))}},m=o.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var y,v=this._data,A=v.words,E=v.sigBytes,w=this.blockSize,F=w*4,D=E/F;b?D=i.ceil(D):D=i.max((D|0)-this._minBufferSize,0);var B=D*w,_=i.min(B*4,E);if(B){for(var k=0;k<B;k+=w)this._doProcessBlock(A,k);y=A.splice(0,B),v.sigBytes-=_}return new h.init(y,_)},clone:function(){var b=l.clone.call(this);return b._data=this._data.clone(),b},_minBufferSize:0});o.Hasher=m.extend({cfg:l.extend(),init:function(b){this.cfg=this.cfg.extend(b),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(b){return this._append(b),this._process(),this},finalize:function(b){b&&this._append(b);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(b){return function(y,v){return new b.init(v).finalize(y)}},_createHmacHelper:function(b){return function(y,v){return new C.HMAC.init(b,v).finalize(y)}}});var C=c.algo={};return c}(Math);return r})}(B0)),B0.exports}var w0={exports:{}},di;function c0(){return di||(di=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.Base,u=a.WordArray,c=n.x64={};c.Word=s.extend({init:function(o,l){this.high=o,this.low=l}}),c.WordArray=s.extend({init:function(o,l){o=this.words=o||[],l!=i?this.sigBytes=l:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,l=o.length,h=[],f=0;f<l;f++){var p=o[f];h.push(p.high),h.push(p.low)}return u.create(h,this.sigBytes)},clone:function(){for(var o=s.clone.call(this),l=o.words=this.words.slice(0),h=l.length,f=0;f<h;f++)l[f]=l[f].clone();return o}})}(),r})}(w0)),w0.exports}var F0={exports:{}},vi;function Rs(){return vi||(vi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,n=i.lib,a=n.WordArray,s=a.init,u=a.init=function(c){if(c instanceof ArrayBuffer&&(c=new Uint8Array(c)),(c instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&c instanceof Uint8ClampedArray||c instanceof Int16Array||c instanceof Uint16Array||c instanceof Int32Array||c instanceof Uint32Array||c instanceof Float32Array||c instanceof Float64Array)&&(c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength)),c instanceof Uint8Array){for(var o=c.byteLength,l=[],h=0;h<o;h++)l[h>>>2]|=c[h]<<24-h%4*8;s.call(this,l,o)}else s.apply(this,arguments)};u.prototype=a}}(),r.lib.WordArray})}(F0)),F0.exports}var S0={exports:{}},mi;function Hs(){return mi||(mi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Utf16=s.Utf16BE={stringify:function(c){for(var o=c.words,l=c.sigBytes,h=[],f=0;f<l;f+=2){var p=o[f>>>2]>>>16-f%4*8&65535;h.push(String.fromCharCode(p))}return h.join("")},parse:function(c){for(var o=c.length,l=[],h=0;h<o;h++)l[h>>>1]|=c.charCodeAt(h)<<16-h%2*16;return a.create(l,o*2)}},s.Utf16LE={stringify:function(c){for(var o=c.words,l=c.sigBytes,h=[],f=0;f<l;f+=2){var p=u(o[f>>>2]>>>16-f%4*8&65535);h.push(String.fromCharCode(p))}return h.join("")},parse:function(c){for(var o=c.length,l=[],h=0;h<o;h++)l[h>>>1]|=u(c.charCodeAt(h)<<16-h%2*16);return a.create(l,o*2)}};function u(c){return c<<8&4278255360|c>>>8&16711935}}(),r.enc.Utf16})}(S0)),S0.exports}var k0={exports:{}},gi;function ht(){return gi||(gi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Base64={stringify:function(c){var o=c.words,l=c.sigBytes,h=this._map;c.clamp();for(var f=[],p=0;p<l;p+=3)for(var x=o[p>>>2]>>>24-p%4*8&255,g=o[p+1>>>2]>>>24-(p+1)%4*8&255,m=o[p+2>>>2]>>>24-(p+2)%4*8&255,C=x<<16|g<<8|m,b=0;b<4&&p+b*.75<l;b++)f.push(h.charAt(C>>>6*(3-b)&63));var y=h.charAt(64);if(y)for(;f.length%4;)f.push(y);return f.join("")},parse:function(c){var o=c.length,l=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var f=0;f<l.length;f++)h[l.charCodeAt(f)]=f}var p=l.charAt(64);if(p){var x=c.indexOf(p);x!==-1&&(o=x)}return u(c,o,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(c,o,l){for(var h=[],f=0,p=0;p<o;p++)if(p%4){var x=l[c.charCodeAt(p-1)]<<p%4*2,g=l[c.charCodeAt(p)]>>>6-p%4*2,m=x|g;h[f>>>2]|=m<<24-f%4*8,f++}return a.create(h,f)}}(),r.enc.Base64})}(k0)),k0.exports}var D0={exports:{}},bi;function Os(){return bi||(bi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.enc;s.Base64url={stringify:function(c,o){o===void 0&&(o=!0);var l=c.words,h=c.sigBytes,f=o?this._safe_map:this._map;c.clamp();for(var p=[],x=0;x<h;x+=3)for(var g=l[x>>>2]>>>24-x%4*8&255,m=l[x+1>>>2]>>>24-(x+1)%4*8&255,C=l[x+2>>>2]>>>24-(x+2)%4*8&255,b=g<<16|m<<8|C,y=0;y<4&&x+y*.75<h;y++)p.push(f.charAt(b>>>6*(3-y)&63));var v=f.charAt(64);if(v)for(;p.length%4;)p.push(v);return p.join("")},parse:function(c,o){o===void 0&&(o=!0);var l=c.length,h=o?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<h.length;p++)f[h.charCodeAt(p)]=p}var x=h.charAt(64);if(x){var g=c.indexOf(x);g!==-1&&(l=g)}return u(c,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(c,o,l){for(var h=[],f=0,p=0;p<o;p++)if(p%4){var x=l[c.charCodeAt(p-1)]<<p%4*2,g=l[c.charCodeAt(p)]>>>6-p%4*2,m=x|g;h[f>>>2]|=m<<24-f%4*8,f++}return a.create(h,f)}}(),r.enc.Base64url})}(D0)),D0.exports}var I0={exports:{}},yi;function xt(){return yi||(yi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[];(function(){for(var g=0;g<64;g++)o[g]=i.abs(i.sin(g+1))*4294967296|0})();var l=c.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,m){for(var C=0;C<16;C++){var b=m+C,y=g[b];g[b]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var v=this._hash.words,A=g[m+0],E=g[m+1],w=g[m+2],F=g[m+3],D=g[m+4],B=g[m+5],_=g[m+6],k=g[m+7],P=g[m+8],H=g[m+9],L=g[m+10],M=g[m+11],ee=g[m+12],Q=g[m+13],Y=g[m+14],X=g[m+15],I=v[0],T=v[1],R=v[2],N=v[3];I=h(I,T,R,N,A,7,o[0]),N=h(N,I,T,R,E,12,o[1]),R=h(R,N,I,T,w,17,o[2]),T=h(T,R,N,I,F,22,o[3]),I=h(I,T,R,N,D,7,o[4]),N=h(N,I,T,R,B,12,o[5]),R=h(R,N,I,T,_,17,o[6]),T=h(T,R,N,I,k,22,o[7]),I=h(I,T,R,N,P,7,o[8]),N=h(N,I,T,R,H,12,o[9]),R=h(R,N,I,T,L,17,o[10]),T=h(T,R,N,I,M,22,o[11]),I=h(I,T,R,N,ee,7,o[12]),N=h(N,I,T,R,Q,12,o[13]),R=h(R,N,I,T,Y,17,o[14]),T=h(T,R,N,I,X,22,o[15]),I=f(I,T,R,N,E,5,o[16]),N=f(N,I,T,R,_,9,o[17]),R=f(R,N,I,T,M,14,o[18]),T=f(T,R,N,I,A,20,o[19]),I=f(I,T,R,N,B,5,o[20]),N=f(N,I,T,R,L,9,o[21]),R=f(R,N,I,T,X,14,o[22]),T=f(T,R,N,I,D,20,o[23]),I=f(I,T,R,N,H,5,o[24]),N=f(N,I,T,R,Y,9,o[25]),R=f(R,N,I,T,F,14,o[26]),T=f(T,R,N,I,P,20,o[27]),I=f(I,T,R,N,Q,5,o[28]),N=f(N,I,T,R,w,9,o[29]),R=f(R,N,I,T,k,14,o[30]),T=f(T,R,N,I,ee,20,o[31]),I=p(I,T,R,N,B,4,o[32]),N=p(N,I,T,R,P,11,o[33]),R=p(R,N,I,T,M,16,o[34]),T=p(T,R,N,I,Y,23,o[35]),I=p(I,T,R,N,E,4,o[36]),N=p(N,I,T,R,D,11,o[37]),R=p(R,N,I,T,k,16,o[38]),T=p(T,R,N,I,L,23,o[39]),I=p(I,T,R,N,Q,4,o[40]),N=p(N,I,T,R,A,11,o[41]),R=p(R,N,I,T,F,16,o[42]),T=p(T,R,N,I,_,23,o[43]),I=p(I,T,R,N,H,4,o[44]),N=p(N,I,T,R,ee,11,o[45]),R=p(R,N,I,T,X,16,o[46]),T=p(T,R,N,I,w,23,o[47]),I=x(I,T,R,N,A,6,o[48]),N=x(N,I,T,R,k,10,o[49]),R=x(R,N,I,T,Y,15,o[50]),T=x(T,R,N,I,B,21,o[51]),I=x(I,T,R,N,ee,6,o[52]),N=x(N,I,T,R,F,10,o[53]),R=x(R,N,I,T,L,15,o[54]),T=x(T,R,N,I,E,21,o[55]),I=x(I,T,R,N,P,6,o[56]),N=x(N,I,T,R,X,10,o[57]),R=x(R,N,I,T,_,15,o[58]),T=x(T,R,N,I,Q,21,o[59]),I=x(I,T,R,N,D,6,o[60]),N=x(N,I,T,R,M,10,o[61]),R=x(R,N,I,T,w,15,o[62]),T=x(T,R,N,I,H,21,o[63]),v[0]=v[0]+I|0,v[1]=v[1]+T|0,v[2]=v[2]+R|0,v[3]=v[3]+N|0},_doFinalize:function(){var g=this._data,m=g.words,C=this._nDataBytes*8,b=g.sigBytes*8;m[b>>>5]|=128<<24-b%32;var y=i.floor(C/4294967296),v=C;m[(b+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,m[(b+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,g.sigBytes=(m.length+1)*4,this._process();for(var A=this._hash,E=A.words,w=0;w<4;w++){var F=E[w];E[w]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return A},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function h(g,m,C,b,y,v,A){var E=g+(m&C|~m&b)+y+A;return(E<<v|E>>>32-v)+m}function f(g,m,C,b,y,v,A){var E=g+(m&b|C&~b)+y+A;return(E<<v|E>>>32-v)+m}function p(g,m,C,b,y,v,A){var E=g+(m^C^b)+y+A;return(E<<v|E>>>32-v)+m}function x(g,m,C,b,y,v,A){var E=g+(C^(m|~b))+y+A;return(E<<v|E>>>32-v)+m}n.MD5=u._createHelper(l),n.HmacMD5=u._createHmacHelper(l)}(Math),r.MD5})}(I0)),I0.exports}var P0={exports:{}},Ci;function Nn(){return Ci||(Ci=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=n.Hasher,u=i.algo,c=[],o=u.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,h){for(var f=this._hash.words,p=f[0],x=f[1],g=f[2],m=f[3],C=f[4],b=0;b<80;b++){if(b<16)c[b]=l[h+b]|0;else{var y=c[b-3]^c[b-8]^c[b-14]^c[b-16];c[b]=y<<1|y>>>31}var v=(p<<5|p>>>27)+C+c[b];b<20?v+=(x&g|~x&m)+1518500249:b<40?v+=(x^g^m)+1859775393:b<60?v+=(x&g|x&m|g&m)-1894007588:v+=(x^g^m)-899497514,C=m,m=g,g=x<<30|x>>>2,x=p,p=v}f[0]=f[0]+p|0,f[1]=f[1]+x|0,f[2]=f[2]+g|0,f[3]=f[3]+m|0,f[4]=f[4]+C|0},_doFinalize:function(){var l=this._data,h=l.words,f=this._nDataBytes*8,p=l.sigBytes*8;return h[p>>>5]|=128<<24-p%32,h[(p+64>>>9<<4)+14]=Math.floor(f/4294967296),h[(p+64>>>9<<4)+15]=f,l.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var l=s.clone.call(this);return l._hash=this._hash.clone(),l}});i.SHA1=s._createHelper(o),i.HmacSHA1=s._createHmacHelper(o)}(),r.SHA1})}(P0)),P0.exports}var N0={exports:{}},Ai;function Ir(){return Ai||(Ai=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[],l=[];(function(){function p(C){for(var b=i.sqrt(C),y=2;y<=b;y++)if(!(C%y))return!1;return!0}function x(C){return(C-(C|0))*4294967296|0}for(var g=2,m=0;m<64;)p(g)&&(m<8&&(o[m]=x(i.pow(g,1/2))),l[m]=x(i.pow(g,1/3)),m++),g++})();var h=[],f=c.SHA256=u.extend({_doReset:function(){this._hash=new s.init(o.slice(0))},_doProcessBlock:function(p,x){for(var g=this._hash.words,m=g[0],C=g[1],b=g[2],y=g[3],v=g[4],A=g[5],E=g[6],w=g[7],F=0;F<64;F++){if(F<16)h[F]=p[x+F]|0;else{var D=h[F-15],B=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,_=h[F-2],k=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;h[F]=B+h[F-7]+k+h[F-16]}var P=v&A^~v&E,H=m&C^m&b^C&b,L=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),M=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),ee=w+M+P+l[F]+h[F],Q=L+H;w=E,E=A,A=v,v=y+ee|0,y=b,b=C,C=m,m=ee+Q|0}g[0]=g[0]+m|0,g[1]=g[1]+C|0,g[2]=g[2]+b|0,g[3]=g[3]+y|0,g[4]=g[4]+v|0,g[5]=g[5]+A|0,g[6]=g[6]+E|0,g[7]=g[7]+w|0},_doFinalize:function(){var p=this._data,x=p.words,g=this._nDataBytes*8,m=p.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=i.floor(g/4294967296),x[(m+64>>>9<<4)+15]=g,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=u.clone.call(this);return p._hash=this._hash.clone(),p}});n.SHA256=u._createHelper(f),n.HmacSHA256=u._createHmacHelper(f)}(Math),r.SHA256})}(N0)),N0.exports}var T0={exports:{}},Ei;function Ls(){return Ei||(Ei=1,function(e,t){(function(r,i,n){e.exports=i($(),Ir())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=i.algo,u=s.SHA256,c=s.SHA224=u.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=u._doFinalize.call(this);return o.sigBytes-=4,o}});i.SHA224=u._createHelper(c),i.HmacSHA224=u._createHmacHelper(c)}(),r.SHA224})}(T0)),T0.exports}var R0={exports:{}},_i;function Tn(){return _i||(_i=1,function(e,t){(function(r,i,n){e.exports=i($(),c0())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Hasher,s=i.x64,u=s.Word,c=s.WordArray,o=i.algo;function l(){return u.create.apply(u,arguments)}var h=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],f=[];(function(){for(var x=0;x<80;x++)f[x]=l()})();var p=o.SHA512=a.extend({_doReset:function(){this._hash=new c.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(x,g){for(var m=this._hash.words,C=m[0],b=m[1],y=m[2],v=m[3],A=m[4],E=m[5],w=m[6],F=m[7],D=C.high,B=C.low,_=b.high,k=b.low,P=y.high,H=y.low,L=v.high,M=v.low,ee=A.high,Q=A.low,Y=E.high,X=E.low,I=w.high,T=w.low,R=F.high,N=F.low,te=D,J=B,pe=_,W=k,Bt=P,dt=H,m0=L,wt=M,He=ee,Ce=Q,zt=Y,Ft=X,Wt=I,St=T,g0=R,kt=N,Oe=0;Oe<80;Oe++){var Be,et,qt=f[Oe];if(Oe<16)et=qt.high=x[g+Oe*2]|0,Be=qt.low=x[g+Oe*2+1]|0;else{var $r=f[Oe-15],vt=$r.high,Dt=$r.low,ya=(vt>>>1|Dt<<31)^(vt>>>8|Dt<<24)^vt>>>7,Kr=(Dt>>>1|vt<<31)^(Dt>>>8|vt<<24)^(Dt>>>7|vt<<25),Qr=f[Oe-2],mt=Qr.high,It=Qr.low,Ca=(mt>>>19|It<<13)^(mt<<3|It>>>29)^mt>>>6,Xr=(It>>>19|mt<<13)^(It<<3|mt>>>29)^(It>>>6|mt<<26),Zr=f[Oe-7],Aa=Zr.high,Ea=Zr.low,Yr=f[Oe-16],_a=Yr.high,Jr=Yr.low;Be=Kr+Ea,et=ya+Aa+(Be>>>0<Kr>>>0?1:0),Be=Be+Xr,et=et+Ca+(Be>>>0<Xr>>>0?1:0),Be=Be+Jr,et=et+_a+(Be>>>0<Jr>>>0?1:0),qt.high=et,qt.low=Be}var Ba=He&zt^~He&Wt,ei=Ce&Ft^~Ce&St,wa=te&pe^te&Bt^pe&Bt,Fa=J&W^J&dt^W&dt,Sa=(te>>>28|J<<4)^(te<<30|J>>>2)^(te<<25|J>>>7),ti=(J>>>28|te<<4)^(J<<30|te>>>2)^(J<<25|te>>>7),ka=(He>>>14|Ce<<18)^(He>>>18|Ce<<14)^(He<<23|Ce>>>9),Da=(Ce>>>14|He<<18)^(Ce>>>18|He<<14)^(Ce<<23|He>>>9),ri=h[Oe],Ia=ri.high,ii=ri.low,Ae=kt+Da,tt=g0+ka+(Ae>>>0<kt>>>0?1:0),Ae=Ae+ei,tt=tt+Ba+(Ae>>>0<ei>>>0?1:0),Ae=Ae+ii,tt=tt+Ia+(Ae>>>0<ii>>>0?1:0),Ae=Ae+Be,tt=tt+et+(Ae>>>0<Be>>>0?1:0),ni=ti+Fa,Pa=Sa+wa+(ni>>>0<ti>>>0?1:0);g0=Wt,kt=St,Wt=zt,St=Ft,zt=He,Ft=Ce,Ce=wt+Ae|0,He=m0+tt+(Ce>>>0<wt>>>0?1:0)|0,m0=Bt,wt=dt,Bt=pe,dt=W,pe=te,W=J,J=Ae+ni|0,te=tt+Pa+(J>>>0<Ae>>>0?1:0)|0}B=C.low=B+J,C.high=D+te+(B>>>0<J>>>0?1:0),k=b.low=k+W,b.high=_+pe+(k>>>0<W>>>0?1:0),H=y.low=H+dt,y.high=P+Bt+(H>>>0<dt>>>0?1:0),M=v.low=M+wt,v.high=L+m0+(M>>>0<wt>>>0?1:0),Q=A.low=Q+Ce,A.high=ee+He+(Q>>>0<Ce>>>0?1:0),X=E.low=X+Ft,E.high=Y+zt+(X>>>0<Ft>>>0?1:0),T=w.low=T+St,w.high=I+Wt+(T>>>0<St>>>0?1:0),N=F.low=N+kt,F.high=R+g0+(N>>>0<kt>>>0?1:0)},_doFinalize:function(){var x=this._data,g=x.words,m=this._nDataBytes*8,C=x.sigBytes*8;g[C>>>5]|=128<<24-C%32,g[(C+128>>>10<<5)+30]=Math.floor(m/4294967296),g[(C+128>>>10<<5)+31]=m,x.sigBytes=g.length*4,this._process();var b=this._hash.toX32();return b},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});i.SHA512=a._createHelper(p),i.HmacSHA512=a._createHmacHelper(p)}(),r.SHA512})}(R0)),R0.exports}var H0={exports:{}},Bi;function Vs(){return Bi||(Bi=1,function(e,t){(function(r,i,n){e.exports=i($(),c0(),Tn())})(U,function(r){return function(){var i=r,n=i.x64,a=n.Word,s=n.WordArray,u=i.algo,c=u.SHA512,o=u.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var l=c._doFinalize.call(this);return l.sigBytes-=16,l}});i.SHA384=c._createHelper(o),i.HmacSHA384=c._createHmacHelper(o)}(),r.SHA384})}(H0)),H0.exports}var O0={exports:{}},wi;function Ms(){return wi||(wi=1,function(e,t){(function(r,i,n){e.exports=i($(),c0())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.x64,o=c.Word,l=n.algo,h=[],f=[],p=[];(function(){for(var m=1,C=0,b=0;b<24;b++){h[m+5*C]=(b+1)*(b+2)/2%64;var y=C%5,v=(2*m+3*C)%5;m=y,C=v}for(var m=0;m<5;m++)for(var C=0;C<5;C++)f[m+5*C]=C+(2*m+3*C)%5*5;for(var A=1,E=0;E<24;E++){for(var w=0,F=0,D=0;D<7;D++){if(A&1){var B=(1<<D)-1;B<32?F^=1<<B:w^=1<<B-32}A&128?A=A<<1^113:A<<=1}p[E]=o.create(w,F)}})();var x=[];(function(){for(var m=0;m<25;m++)x[m]=o.create()})();var g=l.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var m=this._state=[],C=0;C<25;C++)m[C]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(m,C){for(var b=this._state,y=this.blockSize/2,v=0;v<y;v++){var A=m[C+2*v],E=m[C+2*v+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var w=b[v];w.high^=E,w.low^=A}for(var F=0;F<24;F++){for(var D=0;D<5;D++){for(var B=0,_=0,k=0;k<5;k++){var w=b[D+5*k];B^=w.high,_^=w.low}var P=x[D];P.high=B,P.low=_}for(var D=0;D<5;D++)for(var H=x[(D+4)%5],L=x[(D+1)%5],M=L.high,ee=L.low,B=H.high^(M<<1|ee>>>31),_=H.low^(ee<<1|M>>>31),k=0;k<5;k++){var w=b[D+5*k];w.high^=B,w.low^=_}for(var Q=1;Q<25;Q++){var B,_,w=b[Q],Y=w.high,X=w.low,I=h[Q];I<32?(B=Y<<I|X>>>32-I,_=X<<I|Y>>>32-I):(B=X<<I-32|Y>>>64-I,_=Y<<I-32|X>>>64-I);var T=x[f[Q]];T.high=B,T.low=_}var R=x[0],N=b[0];R.high=N.high,R.low=N.low;for(var D=0;D<5;D++)for(var k=0;k<5;k++){var Q=D+5*k,w=b[Q],te=x[Q],J=x[(D+1)%5+5*k],pe=x[(D+2)%5+5*k];w.high=te.high^~J.high&pe.high,w.low=te.low^~J.low&pe.low}var w=b[0],W=p[F];w.high^=W.high,w.low^=W.low}},_doFinalize:function(){var m=this._data,C=m.words;this._nDataBytes*8;var b=m.sigBytes*8,y=this.blockSize*32;C[b>>>5]|=1<<24-b%32,C[(i.ceil((b+1)/y)*y>>>5)-1]|=128,m.sigBytes=C.length*4,this._process();for(var v=this._state,A=this.cfg.outputLength/8,E=A/8,w=[],F=0;F<E;F++){var D=v[F],B=D.high,_=D.low;B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w.push(_),w.push(B)}return new s.init(w,A)},clone:function(){for(var m=u.clone.call(this),C=m._state=this._state.slice(0),b=0;b<25;b++)C[b]=C[b].clone();return m}});n.SHA3=u._createHelper(g),n.HmacSHA3=u._createHmacHelper(g)}(Math),r.SHA3})}(O0)),O0.exports}var L0={exports:{}},Fi;function Us(){return Fi||(Fi=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=s.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=s.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]),f=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=s.create([0,1518500249,1859775393,2400959708,2840853838]),x=s.create([1352829926,1548603684,1836072691,2053994217,0]),g=c.RIPEMD160=u.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,w){for(var F=0;F<16;F++){var D=w+F,B=E[D];E[D]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var _=this._hash.words,k=p.words,P=x.words,H=o.words,L=l.words,M=h.words,ee=f.words,Q,Y,X,I,T,R,N,te,J,pe;R=Q=_[0],N=Y=_[1],te=X=_[2],J=I=_[3],pe=T=_[4];for(var W,F=0;F<80;F+=1)W=Q+E[w+H[F]]|0,F<16?W+=m(Y,X,I)+k[0]:F<32?W+=C(Y,X,I)+k[1]:F<48?W+=b(Y,X,I)+k[2]:F<64?W+=y(Y,X,I)+k[3]:W+=v(Y,X,I)+k[4],W=W|0,W=A(W,M[F]),W=W+T|0,Q=T,T=I,I=A(X,10),X=Y,Y=W,W=R+E[w+L[F]]|0,F<16?W+=v(N,te,J)+P[0]:F<32?W+=y(N,te,J)+P[1]:F<48?W+=b(N,te,J)+P[2]:F<64?W+=C(N,te,J)+P[3]:W+=m(N,te,J)+P[4],W=W|0,W=A(W,ee[F]),W=W+pe|0,R=pe,pe=J,J=A(te,10),te=N,N=W;W=_[1]+X+J|0,_[1]=_[2]+I+pe|0,_[2]=_[3]+T+R|0,_[3]=_[4]+Q+N|0,_[4]=_[0]+Y+te|0,_[0]=W},_doFinalize:function(){var E=this._data,w=E.words,F=this._nDataBytes*8,D=E.sigBytes*8;w[D>>>5]|=128<<24-D%32,w[(D+64>>>9<<4)+14]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,E.sigBytes=(w.length+1)*4,this._process();for(var B=this._hash,_=B.words,k=0;k<5;k++){var P=_[k];_[k]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}return B},clone:function(){var E=u.clone.call(this);return E._hash=this._hash.clone(),E}});function m(E,w,F){return E^w^F}function C(E,w,F){return E&w|~E&F}function b(E,w,F){return(E|~w)^F}function y(E,w,F){return E&F|w&~F}function v(E,w,F){return E^(w|~F)}function A(E,w){return E<<w|E>>>32-w}n.RIPEMD160=u._createHelper(g),n.HmacRIPEMD160=u._createHmacHelper(g)}(),r.RIPEMD160})}(L0)),L0.exports}var V0={exports:{}},Si;function Pr(){return Si||(Si=1,function(e,t){(function(r,i){e.exports=i($())})(U,function(r){(function(){var i=r,n=i.lib,a=n.Base,s=i.enc,u=s.Utf8,c=i.algo;c.HMAC=a.extend({init:function(o,l){o=this._hasher=new o.init,typeof l=="string"&&(l=u.parse(l));var h=o.blockSize,f=h*4;l.sigBytes>f&&(l=o.finalize(l)),l.clamp();for(var p=this._oKey=l.clone(),x=this._iKey=l.clone(),g=p.words,m=x.words,C=0;C<h;C++)g[C]^=1549556828,m[C]^=909522486;p.sigBytes=x.sigBytes=f,this.reset()},reset:function(){var o=this._hasher;o.reset(),o.update(this._iKey)},update:function(o){return this._hasher.update(o),this},finalize:function(o){var l=this._hasher,h=l.finalize(o);l.reset();var f=l.finalize(this._oKey.clone().concat(h));return f}})})()})}(V0)),V0.exports}var M0={exports:{}},ki;function zs(){return ki||(ki=1,function(e,t){(function(r,i,n){e.exports=i($(),Ir(),Pr())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Base,s=n.WordArray,u=i.algo,c=u.SHA256,o=u.HMAC,l=u.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,f){for(var p=this.cfg,x=o.create(p.hasher,h),g=s.create(),m=s.create([1]),C=g.words,b=m.words,y=p.keySize,v=p.iterations;C.length<y;){var A=x.update(f).finalize(m);x.reset();for(var E=A.words,w=E.length,F=A,D=1;D<v;D++){F=x.finalize(F),x.reset();for(var B=F.words,_=0;_<w;_++)E[_]^=B[_]}g.concat(A),b[0]++}return g.sigBytes=y*4,g}});i.PBKDF2=function(h,f,p){return l.create(p).compute(h,f)}}(),r.PBKDF2})}(M0)),M0.exports}var U0={exports:{}},Di;function ot(){return Di||(Di=1,function(e,t){(function(r,i,n){e.exports=i($(),Nn(),Pr())})(U,function(r){return function(){var i=r,n=i.lib,a=n.Base,s=n.WordArray,u=i.algo,c=u.MD5,o=u.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,h){for(var f,p=this.cfg,x=p.hasher.create(),g=s.create(),m=g.words,C=p.keySize,b=p.iterations;m.length<C;){f&&x.update(f),f=x.update(l).finalize(h),x.reset();for(var y=1;y<b;y++)f=x.finalize(f),x.reset();g.concat(f)}return g.sigBytes=C*4,g}});i.EvpKDF=function(l,h,f){return o.create(f).compute(l,h)}}(),r.EvpKDF})}(U0)),U0.exports}var z0={exports:{}},Ii;function se(){return Ii||(Ii=1,function(e,t){(function(r,i,n){e.exports=i($(),ot())})(U,function(r){r.lib.Cipher||function(i){var n=r,a=n.lib,s=a.Base,u=a.WordArray,c=a.BufferedBlockAlgorithm,o=n.enc;o.Utf8;var l=o.Base64,h=n.algo,f=h.EvpKDF,p=a.Cipher=c.extend({cfg:s.extend(),createEncryptor:function(B,_){return this.create(this._ENC_XFORM_MODE,B,_)},createDecryptor:function(B,_){return this.create(this._DEC_XFORM_MODE,B,_)},init:function(B,_,k){this.cfg=this.cfg.extend(k),this._xformMode=B,this._key=_,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(B){return this._append(B),this._process()},finalize:function(B){B&&this._append(B);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function B(_){return typeof _=="string"?D:E}return function(_){return{encrypt:function(k,P,H){return B(P).encrypt(_,k,P,H)},decrypt:function(k,P,H){return B(P).decrypt(_,k,P,H)}}}}()});a.StreamCipher=p.extend({_doFinalize:function(){var B=this._process(!0);return B},blockSize:1});var x=n.mode={},g=a.BlockCipherMode=s.extend({createEncryptor:function(B,_){return this.Encryptor.create(B,_)},createDecryptor:function(B,_){return this.Decryptor.create(B,_)},init:function(B,_){this._cipher=B,this._iv=_}}),m=x.CBC=function(){var B=g.extend();B.Encryptor=B.extend({processBlock:function(k,P){var H=this._cipher,L=H.blockSize;_.call(this,k,P,L),H.encryptBlock(k,P),this._prevBlock=k.slice(P,P+L)}}),B.Decryptor=B.extend({processBlock:function(k,P){var H=this._cipher,L=H.blockSize,M=k.slice(P,P+L);H.decryptBlock(k,P),_.call(this,k,P,L),this._prevBlock=M}});function _(k,P,H){var L,M=this._iv;M?(L=M,this._iv=i):L=this._prevBlock;for(var ee=0;ee<H;ee++)k[P+ee]^=L[ee]}return B}(),C=n.pad={},b=C.Pkcs7={pad:function(B,_){for(var k=_*4,P=k-B.sigBytes%k,H=P<<24|P<<16|P<<8|P,L=[],M=0;M<P;M+=4)L.push(H);var ee=u.create(L,P);B.concat(ee)},unpad:function(B){var _=B.words[B.sigBytes-1>>>2]&255;B.sigBytes-=_}};a.BlockCipher=p.extend({cfg:p.cfg.extend({mode:m,padding:b}),reset:function(){var B;p.reset.call(this);var _=this.cfg,k=_.iv,P=_.mode;this._xformMode==this._ENC_XFORM_MODE?B=P.createEncryptor:(B=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==B?this._mode.init(this,k&&k.words):(this._mode=B.call(P,this,k&&k.words),this._mode.__creator=B)},_doProcessBlock:function(B,_){this._mode.processBlock(B,_)},_doFinalize:function(){var B,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),B=this._process(!0)):(B=this._process(!0),_.unpad(B)),B},blockSize:128/32});var y=a.CipherParams=s.extend({init:function(B){this.mixIn(B)},toString:function(B){return(B||this.formatter).stringify(this)}}),v=n.format={},A=v.OpenSSL={stringify:function(B){var _,k=B.ciphertext,P=B.salt;return P?_=u.create([1398893684,1701076831]).concat(P).concat(k):_=k,_.toString(l)},parse:function(B){var _,k=l.parse(B),P=k.words;return P[0]==1398893684&&P[1]==1701076831&&(_=u.create(P.slice(2,4)),P.splice(0,4),k.sigBytes-=16),y.create({ciphertext:k,salt:_})}},E=a.SerializableCipher=s.extend({cfg:s.extend({format:A}),encrypt:function(B,_,k,P){P=this.cfg.extend(P);var H=B.createEncryptor(k,P),L=H.finalize(_),M=H.cfg;return y.create({ciphertext:L,key:k,iv:M.iv,algorithm:B,mode:M.mode,padding:M.padding,blockSize:B.blockSize,formatter:P.format})},decrypt:function(B,_,k,P){P=this.cfg.extend(P),_=this._parse(_,P.format);var H=B.createDecryptor(k,P).finalize(_.ciphertext);return H},_parse:function(B,_){return typeof B=="string"?_.parse(B,this):B}}),w=n.kdf={},F=w.OpenSSL={execute:function(B,_,k,P,H){if(P||(P=u.random(64/8)),H)var L=f.create({keySize:_+k,hasher:H}).compute(B,P);else var L=f.create({keySize:_+k}).compute(B,P);var M=u.create(L.words.slice(_),k*4);return L.sigBytes=_*4,y.create({key:L,iv:M,salt:P})}},D=a.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:F}),encrypt:function(B,_,k,P){P=this.cfg.extend(P);var H=P.kdf.execute(k,B.keySize,B.ivSize,P.salt,P.hasher);P.iv=H.iv;var L=E.encrypt.call(this,B,_,H.key,P);return L.mixIn(H),L},decrypt:function(B,_,k,P){P=this.cfg.extend(P),_=this._parse(_,P.format);var H=P.kdf.execute(k,B.keySize,B.ivSize,_.salt,P.hasher);P.iv=H.iv;var L=E.decrypt.call(this,B,_,H.key,P);return L}})}()})}(z0)),z0.exports}var W0={exports:{}},Pi;function Ws(){return Pi||(Pi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize;n.call(this,a,s,c,u),this._prevBlock=a.slice(s,s+c)}}),i.Decryptor=i.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize,o=a.slice(s,s+c);n.call(this,a,s,c,u),this._prevBlock=o}});function n(a,s,u,c){var o,l=this._iv;l?(o=l.slice(0),this._iv=void 0):o=this._prevBlock,c.encryptBlock(o,0);for(var h=0;h<u;h++)a[s+h]^=o[h]}return i}(),r.mode.CFB})}(W0)),W0.exports}var q0={exports:{}},Ni;function qs(){return Ni||(Ni=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize,o=this._iv,l=this._counter;o&&(l=this._counter=o.slice(0),this._iv=void 0);var h=l.slice(0);u.encryptBlock(h,0),l[c-1]=l[c-1]+1|0;for(var f=0;f<c;f++)a[s+f]^=h[f]}});return i.Decryptor=n,i}(),r.mode.CTR})}(q0)),q0.exports}var G0={exports:{}},Ti;function Gs(){return Ti||(Ti=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function n(u){if((u>>24&255)===255){var c=u>>16&255,o=u>>8&255,l=u&255;c===255?(c=0,o===255?(o=0,l===255?l=0:++l):++o):++c,u=0,u+=c<<16,u+=o<<8,u+=l}else u+=1<<24;return u}function a(u){return(u[0]=n(u[0]))===0&&(u[1]=n(u[1])),u}var s=i.Encryptor=i.extend({processBlock:function(u,c){var o=this._cipher,l=o.blockSize,h=this._iv,f=this._counter;h&&(f=this._counter=h.slice(0),this._iv=void 0),a(f);var p=f.slice(0);o.encryptBlock(p,0);for(var x=0;x<l;x++)u[c+x]^=p[x]}});return i.Decryptor=s,i}(),r.mode.CTRGladman})}(G0)),G0.exports}var j0={exports:{}},Ri;function js(){return Ri||(Ri=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize,o=this._iv,l=this._keystream;o&&(l=this._keystream=o.slice(0),this._iv=void 0),u.encryptBlock(l,0);for(var h=0;h<c;h++)a[s+h]^=l[h]}});return i.Decryptor=n,i}(),r.mode.OFB})}(j0)),j0.exports}var $0={exports:{}},Hi;function $s(){return Hi||(Hi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(n,a){this._cipher.encryptBlock(n,a)}}),i.Decryptor=i.extend({processBlock:function(n,a){this._cipher.decryptBlock(n,a)}}),i}(),r.mode.ECB})}($0)),$0.exports}var K0={exports:{}},Oi;function Ks(){return Oi||(Oi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.pad.AnsiX923={pad:function(i,n){var a=i.sigBytes,s=n*4,u=s-a%s,c=a+u-1;i.clamp(),i.words[c>>>2]|=u<<24-c%4*8,i.sigBytes+=u},unpad:function(i){var n=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=n}},r.pad.Ansix923})}(K0)),K0.exports}var Q0={exports:{}},Li;function Qs(){return Li||(Li=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.pad.Iso10126={pad:function(i,n){var a=n*4,s=a-i.sigBytes%a;i.concat(r.lib.WordArray.random(s-1)).concat(r.lib.WordArray.create([s<<24],1))},unpad:function(i){var n=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=n}},r.pad.Iso10126})}(Q0)),Q0.exports}var X0={exports:{}},Vi;function Xs(){return Vi||(Vi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.pad.Iso97971={pad:function(i,n){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,n)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})}(X0)),X0.exports}var Z0={exports:{}},Mi;function Zs(){return Mi||(Mi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.pad.ZeroPadding={pad:function(i,n){var a=n*4;i.clamp(),i.sigBytes+=a-(i.sigBytes%a||a)},unpad:function(i){for(var n=i.words,a=i.sigBytes-1,a=i.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){i.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(Z0)),Z0.exports}var Y0={exports:{}},Ui;function Ys(){return Ui||(Ui=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(Y0)),Y0.exports}var J0={exports:{}},zi;function Js(){return zi||(zi=1,function(e,t){(function(r,i,n){e.exports=i($(),se())})(U,function(r){return function(i){var n=r,a=n.lib,s=a.CipherParams,u=n.enc,c=u.Hex,o=n.format;o.Hex={stringify:function(l){return l.ciphertext.toString(c)},parse:function(l){var h=c.parse(l);return s.create({ciphertext:h})}}}(),r.format.Hex})}(J0)),J0.exports}var er={exports:{}},Wi;function e1(){return Wi||(Wi=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.BlockCipher,s=i.algo,u=[],c=[],o=[],l=[],h=[],f=[],p=[],x=[],g=[],m=[];(function(){for(var y=[],v=0;v<256;v++)v<128?y[v]=v<<1:y[v]=v<<1^283;for(var A=0,E=0,v=0;v<256;v++){var w=E^E<<1^E<<2^E<<3^E<<4;w=w>>>8^w&255^99,u[A]=w,c[w]=A;var F=y[A],D=y[F],B=y[D],_=y[w]*257^w*16843008;o[A]=_<<24|_>>>8,l[A]=_<<16|_>>>16,h[A]=_<<8|_>>>24,f[A]=_;var _=B*16843009^D*65537^F*257^A*16843008;p[w]=_<<24|_>>>8,x[w]=_<<16|_>>>16,g[w]=_<<8|_>>>24,m[w]=_,A?(A=F^y[y[y[B^F]]],E^=y[y[E]]):A=E=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],b=s.AES=a.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,A=v.words,E=v.sigBytes/4,w=this._nRounds=E+6,F=(w+1)*4,D=this._keySchedule=[],B=0;B<F;B++)B<E?D[B]=A[B]:(y=D[B-1],B%E?E>6&&B%E==4&&(y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[y&255]):(y=y<<8|y>>>24,y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[y&255],y^=C[B/E|0]<<24),D[B]=D[B-E]^y);for(var _=this._invKeySchedule=[],k=0;k<F;k++){var B=F-k;if(k%4)var y=D[B];else var y=D[B-4];k<4||B<=4?_[k]=y:_[k]=p[u[y>>>24]]^x[u[y>>>16&255]]^g[u[y>>>8&255]]^m[u[y&255]]}}},encryptBlock:function(y,v){this._doCryptBlock(y,v,this._keySchedule,o,l,h,f,u)},decryptBlock:function(y,v){var A=y[v+1];y[v+1]=y[v+3],y[v+3]=A,this._doCryptBlock(y,v,this._invKeySchedule,p,x,g,m,c);var A=y[v+1];y[v+1]=y[v+3],y[v+3]=A},_doCryptBlock:function(y,v,A,E,w,F,D,B){for(var _=this._nRounds,k=y[v]^A[0],P=y[v+1]^A[1],H=y[v+2]^A[2],L=y[v+3]^A[3],M=4,ee=1;ee<_;ee++){var Q=E[k>>>24]^w[P>>>16&255]^F[H>>>8&255]^D[L&255]^A[M++],Y=E[P>>>24]^w[H>>>16&255]^F[L>>>8&255]^D[k&255]^A[M++],X=E[H>>>24]^w[L>>>16&255]^F[k>>>8&255]^D[P&255]^A[M++],I=E[L>>>24]^w[k>>>16&255]^F[P>>>8&255]^D[H&255]^A[M++];k=Q,P=Y,H=X,L=I}var Q=(B[k>>>24]<<24|B[P>>>16&255]<<16|B[H>>>8&255]<<8|B[L&255])^A[M++],Y=(B[P>>>24]<<24|B[H>>>16&255]<<16|B[L>>>8&255]<<8|B[k&255])^A[M++],X=(B[H>>>24]<<24|B[L>>>16&255]<<16|B[k>>>8&255]<<8|B[P&255])^A[M++],I=(B[L>>>24]<<24|B[k>>>16&255]<<16|B[P>>>8&255]<<8|B[H&255])^A[M++];y[v]=Q,y[v+1]=Y,y[v+2]=X,y[v+3]=I},keySize:256/32});i.AES=a._createHelper(b)}(),r.AES})}(er)),er.exports}var tr={exports:{}},qi;function t1(){return qi||(qi=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.WordArray,s=n.BlockCipher,u=i.algo,c=[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],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],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}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=u.DES=s.extend({_doReset:function(){for(var C=this._key,b=C.words,y=[],v=0;v<56;v++){var A=c[v]-1;y[v]=b[A>>>5]>>>31-A%32&1}for(var E=this._subKeys=[],w=0;w<16;w++){for(var F=E[w]=[],D=l[w],v=0;v<24;v++)F[v/6|0]|=y[(o[v]-1+D)%28]<<31-v%6,F[4+(v/6|0)]|=y[28+(o[v+24]-1+D)%28]<<31-v%6;F[0]=F[0]<<1|F[0]>>>31;for(var v=1;v<7;v++)F[v]=F[v]>>>(v-1)*4+3;F[7]=F[7]<<5|F[7]>>>27}for(var B=this._invSubKeys=[],v=0;v<16;v++)B[v]=E[15-v]},encryptBlock:function(C,b){this._doCryptBlock(C,b,this._subKeys)},decryptBlock:function(C,b){this._doCryptBlock(C,b,this._invSubKeys)},_doCryptBlock:function(C,b,y){this._lBlock=C[b],this._rBlock=C[b+1],x.call(this,4,252645135),x.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),x.call(this,1,1431655765);for(var v=0;v<16;v++){for(var A=y[v],E=this._lBlock,w=this._rBlock,F=0,D=0;D<8;D++)F|=h[D][((w^A[D])&f[D])>>>0];this._lBlock=w,this._rBlock=E^F}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,x.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),C[b]=this._lBlock,C[b+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(C,b){var y=(this._lBlock>>>C^this._rBlock)&b;this._rBlock^=y,this._lBlock^=y<<C}function g(C,b){var y=(this._rBlock>>>C^this._lBlock)&b;this._lBlock^=y,this._rBlock^=y<<C}i.DES=s._createHelper(p);var m=u.TripleDES=s.extend({_doReset:function(){var C=this._key,b=C.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=b.slice(0,2),v=b.length<4?b.slice(0,2):b.slice(2,4),A=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=p.createEncryptor(a.create(y)),this._des2=p.createEncryptor(a.create(v)),this._des3=p.createEncryptor(a.create(A))},encryptBlock:function(C,b){this._des1.encryptBlock(C,b),this._des2.decryptBlock(C,b),this._des3.encryptBlock(C,b)},decryptBlock:function(C,b){this._des3.decryptBlock(C,b),this._des2.encryptBlock(C,b),this._des1.decryptBlock(C,b)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=s._createHelper(m)}(),r.TripleDES})}(tr)),tr.exports}var rr={exports:{}},Gi;function r1(){return Gi||(Gi=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=s.RC4=a.extend({_doReset:function(){for(var l=this._key,h=l.words,f=l.sigBytes,p=this._S=[],x=0;x<256;x++)p[x]=x;for(var x=0,g=0;x<256;x++){var m=x%f,C=h[m>>>2]>>>24-m%4*8&255;g=(g+p[x]+C)%256;var b=p[x];p[x]=p[g],p[g]=b}this._i=this._j=0},_doProcessBlock:function(l,h){l[h]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var l=this._S,h=this._i,f=this._j,p=0,x=0;x<4;x++){h=(h+1)%256,f=(f+l[h])%256;var g=l[h];l[h]=l[f],l[f]=g,p|=l[(l[h]+l[f])%256]<<24-x*8}return this._i=h,this._j=f,p}i.RC4=a._createHelper(u);var o=s.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)c.call(this)}});i.RC4Drop=a._createHelper(o)}(),r.RC4})}(rr)),rr.exports}var ir={exports:{}},ji;function i1(){return ji||(ji=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=[],c=[],o=[],l=s.Rabbit=a.extend({_doReset:function(){for(var f=this._key.words,p=this.cfg.iv,x=0;x<4;x++)f[x]=(f[x]<<8|f[x]>>>24)&16711935|(f[x]<<24|f[x]>>>8)&4278255360;var g=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],m=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)m[x]^=g[x+4&7];if(p){var C=p.words,b=C[0],y=C[1],v=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=v>>>16|A&4294901760,w=A<<16|v&65535;m[0]^=v,m[1]^=E,m[2]^=A,m[3]^=w,m[4]^=v,m[5]^=E,m[6]^=A,m[7]^=w;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(f,p){var x=this._X;h.call(this),u[0]=x[0]^x[5]>>>16^x[3]<<16,u[1]=x[2]^x[7]>>>16^x[5]<<16,u[2]=x[4]^x[1]>>>16^x[7]<<16,u[3]=x[6]^x[3]>>>16^x[1]<<16;for(var g=0;g<4;g++)u[g]=(u[g]<<8|u[g]>>>24)&16711935|(u[g]<<24|u[g]>>>8)&4278255360,f[p+g]^=u[g]},blockSize:128/32,ivSize:64/32});function h(){for(var f=this._X,p=this._C,x=0;x<8;x++)c[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<c[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<c[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<c[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<c[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<c[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<c[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<c[6]>>>0?1:0)|0,this._b=p[7]>>>0<c[7]>>>0?1:0;for(var x=0;x<8;x++){var g=f[x]+p[x],m=g&65535,C=g>>>16,b=((m*m>>>17)+m*C>>>15)+C*C,y=((g&4294901760)*g|0)+((g&65535)*g|0);o[x]=b^y}f[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,f[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,f[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,f[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,f[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,f[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,f[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,f[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}i.Rabbit=a._createHelper(l)}(),r.Rabbit})}(ir)),ir.exports}var nr={exports:{}},$i;function n1(){return $i||($i=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.StreamCipher,s=i.algo,u=[],c=[],o=[],l=s.RabbitLegacy=a.extend({_doReset:function(){var f=this._key.words,p=this.cfg.iv,x=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],g=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)g[m]^=x[m+4&7];if(p){var C=p.words,b=C[0],y=C[1],v=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=v>>>16|A&4294901760,w=A<<16|v&65535;g[0]^=v,g[1]^=E,g[2]^=A,g[3]^=w,g[4]^=v,g[5]^=E,g[6]^=A,g[7]^=w;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(f,p){var x=this._X;h.call(this),u[0]=x[0]^x[5]>>>16^x[3]<<16,u[1]=x[2]^x[7]>>>16^x[5]<<16,u[2]=x[4]^x[1]>>>16^x[7]<<16,u[3]=x[6]^x[3]>>>16^x[1]<<16;for(var g=0;g<4;g++)u[g]=(u[g]<<8|u[g]>>>24)&16711935|(u[g]<<24|u[g]>>>8)&4278255360,f[p+g]^=u[g]},blockSize:128/32,ivSize:64/32});function h(){for(var f=this._X,p=this._C,x=0;x<8;x++)c[x]=p[x];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<c[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<c[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<c[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<c[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<c[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<c[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<c[6]>>>0?1:0)|0,this._b=p[7]>>>0<c[7]>>>0?1:0;for(var x=0;x<8;x++){var g=f[x]+p[x],m=g&65535,C=g>>>16,b=((m*m>>>17)+m*C>>>15)+C*C,y=((g&4294901760)*g|0)+((g&65535)*g|0);o[x]=b^y}f[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,f[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,f[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,f[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,f[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,f[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,f[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,f[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}i.RabbitLegacy=a._createHelper(l)}(),r.RabbitLegacy})}(nr)),nr.exports}var ar={exports:{}},Ki;function a1(){return Ki||(Ki=1,function(e,t){(function(r,i,n){e.exports=i($(),ht(),xt(),ot(),se())})(U,function(r){return function(){var i=r,n=i.lib,a=n.BlockCipher,s=i.algo;const u=16,c=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[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 l={pbox:[],sbox:[]};function h(m,C){let b=C>>24&255,y=C>>16&255,v=C>>8&255,A=C&255,E=m.sbox[0][b]+m.sbox[1][y];return E=E^m.sbox[2][v],E=E+m.sbox[3][A],E}function f(m,C,b){let y=C,v=b,A;for(let E=0;E<u;++E)y=y^m.pbox[E],v=h(m,y)^v,A=y,y=v,v=A;return A=y,y=v,v=A,v=v^m.pbox[u],y=y^m.pbox[u+1],{left:y,right:v}}function p(m,C,b){let y=C,v=b,A;for(let E=u+1;E>1;--E)y=y^m.pbox[E],v=h(m,y)^v,A=y,y=v,v=A;return A=y,y=v,v=A,v=v^m.pbox[1],y=y^m.pbox[0],{left:y,right:v}}function x(m,C,b){for(let w=0;w<4;w++){m.sbox[w]=[];for(let F=0;F<256;F++)m.sbox[w][F]=o[w][F]}let y=0;for(let w=0;w<u+2;w++)m.pbox[w]=c[w]^C[y],y++,y>=b&&(y=0);let v=0,A=0,E=0;for(let w=0;w<u+2;w+=2)E=f(m,v,A),v=E.left,A=E.right,m.pbox[w]=v,m.pbox[w+1]=A;for(let w=0;w<4;w++)for(let F=0;F<256;F+=2)E=f(m,v,A),v=E.left,A=E.right,m.sbox[w][F]=v,m.sbox[w][F+1]=A;return!0}var g=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,C=m.words,b=m.sigBytes/4;x(l,C,b)}},encryptBlock:function(m,C){var b=f(l,m[C],m[C+1]);m[C]=b.left,m[C+1]=b.right},decryptBlock:function(m,C){var b=p(l,m[C],m[C+1]);m[C]=b.left,m[C+1]=b.right},blockSize:64/32,keySize:128/32,ivSize:64/32});i.Blowfish=a._createHelper(g)}(),r.Blowfish})}(ar)),ar.exports}(function(e,t){(function(r,i,n){e.exports=i($(),c0(),Rs(),Hs(),ht(),Os(),xt(),Nn(),Ir(),Ls(),Tn(),Vs(),Ms(),Us(),Pr(),zs(),ot(),se(),Ws(),qs(),Gs(),js(),$s(),Ks(),Qs(),Xs(),Zs(),Ys(),Js(),e1(),t1(),r1(),i1(),n1(),a1())})(U,function(r){return r})})(Pn);var Rn=Pn.exports;const q=Ns(Rn),s1=Ua({__proto__:null,default:q},[Rn]);function ne(e){if(typeof e=="string")return q.enc.Utf8.parse(e);const t=Vt(e);if(!t)return q.lib.WordArray.create([]);const r=[];for(let i=0;i<t.length;i+=4){const n=(t[i]||0)<<24|(t[i+1]||0)<<16|(t[i+2]||0)<<8|(t[i+3]||0);r.push(n>>>0)}return q.lib.WordArray.create(r,t.length)}const Hn={md5(e,t){return Sn(e,t)},sha1(e,t){const r=ne(e),i=ne(t);return q.HmacSHA1(i,r).toString(q.enc.Hex).toUpperCase()},sha224(e,t){const r=ne(e),i=ne(t);return q.HmacSHA224(i,r).toString(q.enc.Hex).toUpperCase()},sha256(e,t){const r=ne(e),i=ne(t);return q.HmacSHA256(i,r).toString(q.enc.Hex).toUpperCase()},sha384(e,t){const r=ne(e),i=ne(t);return q.HmacSHA384(i,r).toString(q.enc.Hex).toUpperCase()},sha512(e,t){const r=ne(e),i=ne(t);return q.HmacSHA512(i,r).toString(q.enc.Hex).toUpperCase()},SHA256(e,t){const r=ne(e),i=ne(t);return q.HmacSHA256(i,r)},SHA512(e,t){const r=ne(e),i=ne(t);return q.HmacSHA512(i,r)},SHA1(e,t){const r=ne(e),i=ne(t);return q.HmacSHA1(i,r)},SHA224(e,t){const r=ne(e),i=ne(t);return q.HmacSHA224(i,r)},SHA384(e,t){const r=ne(e),i=ne(t);return q.HmacSHA384(i,r)}};var dn;const o1=typeof process!="undefined"&&((dn=process.versions)==null?void 0:dn.node);function Nt(e){if(typeof e=="string")return q.enc.Utf8.parse(e);const t=Vt(e);if(!t)return q.lib.WordArray.create([]);const r=[];for(let i=0;i<t.length;i+=4){const n=(t[i]||0)<<24|(t[i+1]||0)<<16|(t[i+2]||0)<<8|(t[i+3]||0);r.push(n>>>0)}return q.lib.WordArray.create(r,t.length)}function We(e){return e.toString(q.enc.Hex).toUpperCase()}const On=4*1024*1024;function u1(e,t,r){return de(this,null,function*(){return new Promise((i,n)=>{const a=new FileReader,s=e.slice(t,t+r);a.onload=()=>i(new Uint8Array(a.result)),a.onerror=()=>n(new Error("Failed to read file chunk")),a.readAsArrayBuffer(s)})})}function c1(e,t,r){return de(this,null,function*(){const i=(r==null?void 0:r.chunkSize)||On,n=r==null?void 0:r.onProgress,a=t==="sha256"?q.algo.SHA256.create():q.algo.SHA512.create(),s=e.size;let u=0,c=0;for(;c<s;){const o=yield u1(e,c,i),l=[];for(let f=0;f<o.length;f+=4){const p=(o[f]||0)<<24|(o[f+1]||0)<<16|(o[f+2]||0)<<8|(o[f+3]||0);l.push(p>>>0)}const h=q.lib.WordArray.create(l,o.length);a.update(h),c+=o.length,u=c,n&&(c===s||Math.floor(u/s*100)!==Math.floor((u-o.length)/s*100))&&n({loaded:u,total:s,percent:Math.round(u/s*100)})}return a.finalize().toString(q.enc.Hex).toUpperCase()})}function l1(e,t,r){return de(this,null,function*(){const i=yield import("crypto"),n=yield import("fs"),a=(r==null?void 0:r.chunkSize)||On,s=r==null?void 0:r.onProgress,u=i.createHash(t),o=n.statSync(e).size;return new Promise((l,h)=>{const f=n.createReadStream(e,{highWaterMark:a});let p=0,x=0;f.on("data",g=>{u.update(g),p+=g.length;const m=Math.round(p/o*100);s&&m!==x&&(x=m,s({loaded:p,total:o,percent:m}))}),f.on("end",()=>{l(u.digest("hex").toUpperCase())}),f.on("error",g=>{h(g)})})})}function Qi(e,t,r){return de(this,null,function*(){if(o1&&typeof e=="string")return l1(e,t,r);if(typeof e=="object"&&e!==null&&"size"in e&&"slice"in e)return c1(e,t,r);throw new Error("Invalid input: expected File object (browser) or file path string (Node.js)")})}const l0={sha1(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA1("");return We(i)}const t=Nt(e),r=q.SHA1(t);return We(r)},sha224(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA224("");return We(i)}const t=Nt(e),r=q.SHA224(t);return We(r)},sha256(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA256("");return We(i)}const t=Nt(e),r=q.SHA256(t);return We(r)},sha384(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA384("");return We(i)}const t=Nt(e),r=q.SHA384(t);return We(r)},sha512(e){if(e===null)return null;if(e===""||Array.isArray(e)&&e.length===0){const i=q.SHA512("");return We(i)}const t=Nt(e),r=q.SHA512(t);return We(r)},sha256File(e,t){return de(this,null,function*(){return Qi(e,"sha256",t)})},sha512File(e,t){return de(this,null,function*(){return Qi(e,"sha512",t)})}},Ln=e=>ye.type(e)=="Array"||e instanceof Array?e:[e],yr=(e,t,r)=>{let i=Ln(e),n=r||"children",a=new WeakSet,s=(u,c,o,l)=>{if(a.has(u))return;a.add(u);let h=u[n]||[];t(u,c,o,l),h.forEach((f,p)=>s(f,u,p,h))};return i.forEach((u,c)=>s(u,null,c,i)),e};function f1(e,t="id",r="parentId",i="children"){t=t||"id",r=r||"parentId",i=i||"children";let n=e;ye.type(e)!=="Array"&&(n=[e]);let a={},s=new Set,u=n.filter(c=>{let o=c[t];return s.has(o)?!1:(s.add(o),a[o]=c,c[i]=[],c.__level__=1,!0)}).map(c=>{let o=c,l=a[ye.trim(o[r])];return o.__isRoot__=!l,l&&l[i].push(o),o}).map(c=>(c[i].length===0&&delete c[i],c[r]=ye.trim(c[r]),c)).filter(c=>c.__isRoot__==!0);return yr(u,(c,o,l,h)=>{o&&(c.__level__=o.__level__+1)}),u}const h1=(e,t,r)=>{let i=ye.type(e)=="Array"||e instanceof Array?e:[e],n=[],a=t||"children",s=u=>{n.push(u),(u[a]||[]).forEach(o=>s(o)),r&&delete u[a]};return i.forEach(s),n},Xi=(e,t,r)=>{let i=(r||"children")+"";e=Ln(e);let n=new WeakSet,a=(s,u,c,o)=>{for(let l=0;l<s.length;l++){let h=s[l];if(!h)continue;if(!n.has(h)&&(n.add(h),u(h,o,l,s)))return h;let f=h[i];if(f instanceof Array){let p=a(f,u,c,h);if(p)return p}}return null};return a(e,t,r,null)},Nr={buildTree(e,t="id",r="parentId",i){return f1(e,t,r,i)},eachTree(e,t,r){return yr(e,t,r)},findTreeItem(e,t,r){if(!ye.isFunction(t))throw new Error("filter must be a function.");return Xi(e,t,r)},treeToArray(e,t,r){return h1(e,t,r)},find(e,t,r){if(!ye.isFunction(t))throw new Error("filter must be a function.");return Xi(e,t,r)},filter(e,t,r){let i=[];if(!ye.isFunction(t))throw new Error("filter must be a function.");return yr(e,(n,a,s,u)=>t(n,a,s,u)&&i.push(n),r),i}},i0=console,Zi=(e=>(Object.keys(i0).forEach(t=>e[t]=i0[t]),e))({}),sr=Dn(),or=e=>ps(e),x1=()=>{if(typeof process!="undefined"&&process.versions&&process.versions.node)return!0;let e=An().enableConsole;return e+""=="false"||e+""=="0"?!1:or(sr.NODE_ENV)||or(sr.MODE)||or(sr.enableConsole)?!0:!!e},Vn=(()=>{let e={};e=globalThis,e||(e={});function t(){}if(!e.console||!x1()){e.console||(e.console={});let i=e.console,n=["log","error","info","warn","debug","trace","clear"];Object.keys(i0).forEach(a=>{let s=Zi[a];n.includes(a)?i[a]=t:Object.prototype.toString.call(s).slice(8,-1).toLowerCase()=="function"?i[a]=s.bind(i):i[a]=s})}let r=e.console;return r.enableFunc=function(...i){try{i.forEach(n=>{let a=Zi[n];a&&typeof a=="function"?r[n]=a.bind(r):r[n]=t})}catch(n){}},r.disableFunc=function(...i){try{i.forEach(n=>{let a=r[n];a&&typeof a=="function"&&(r[n]=t)})}catch(n){}},e})(),p1=Vn[["c","o","n","s","o","l","e"].join("")],Tr=p1;Vn.console=Tr;const d1=()=>i0;function v1(e){return de(this,null,function*(){return l0.sha256File(e)})}function m1(e){return de(this,null,function*(){let t=e.url;const r=(n,a,s,u)=>(Dr(s)||(s=[s]),s.push(a),s),i=yield Promise.all([Yi(e.params||{},r),Yi(e.data||{},r)]);return{reqId:l0.sha256(t+e.method+JSON.stringify(i)),url:t,method:e.method,meta:e.meta}})}const g1=Tr;function Yi(e,t){return de(this,null,function*(){const r=Z(e).toLowerCase();if(["string","boolean","number","date","null","undefined"].includes(r))return e;if(!(e instanceof FormData)&&r!=="object")return typeof e.entries=="function",e;const i=e instanceof FormData?[...e.entries()]:[...Object.entries(e)];Jt(t)||(t=(a,s,u,c)=>s);const n={};for(const[a,s]of i){let u=s;s instanceof File&&(u={hash:yield v1(s),name:s.name,size:s.size,type:s.type,lastModified:s.lastModified});const c=n[a];c!==void 0&&(u=t(a,u,c,n)),u===void 0?delete n[a]:n[a]=u}return n})}const b1=["string","date","number","boolean","null","undefined"],y1=e=>{if(!e||!e.data||e.data instanceof Blob||e.data instanceof ArrayBuffer||e instanceof Error)return e;const t=Z(e.data).toLowerCase();return b1.includes(t)?e:gt(re({},e),{data:ye.clone(e.data)})},Cr=new Map,C1=function(e){let t=Cr.get(e);return t||(t={timestamp:Date.now(),rspQueue:[],seq:0,key:e},Cr.set(e,t)),t},A1=(e,t)=>(e.rspQueue.push(t),e.rspQueue.length-1),Ji=(e,t,r)=>{for(;e.rspQueue.length>0;){const i=e.rspQueue.shift();i&&(t?i.resolve:i.reject)(y1(r))}},en=(e,t,r,i)=>{Ji(e,t,r);const n=Date.now()-e.timestamp,a=Math.max(0,i-n);setTimeout(()=>{Ji(e,t,r),Cr.delete(e.key)},a)},Mn={ThrottleRequest(e,t,r=1e3){return new Promise((i,n)=>{var s,u,c;if((s=e.meta)!=null&&s.ignoreThrottle||(u=e.meta)!=null&&u.$throttle_key)return t(e).then(i).catch(n);let a=r;if(((c=e.meta)==null?void 0:c.throttleDuration)!==void 0&&(a=e.meta.throttleDuration),a=Number(a),(isNaN(a)||a<0)&&(a=1e3),a<=0)return t(e).then(i).catch(n);m1(e).then(o=>{const l=o.reqId,h=C1(l);A1(h,{resolve:i,reject:n})===0&&(e.meta||(e.meta={}),e.meta.$throttle_key="req_id:"+l,t(e).then(p=>en(h,!0,p,a)).catch(p=>en(h,!1,p,a)))}).catch(o=>{g1.error("ThrottleRequest 创建请求标识失败:",o),t(e).then(i).catch(n)})})}};var ur={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},cr="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",E1={5:cr,"5module":cr+" export import",6:cr+" const class extends export import super"},_1=/^in(stanceof)?$/,Rr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Un="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",B1=new RegExp("["+Rr+"]"),w1=new RegExp("["+Rr+Un+"]");Rr=Un=null;var zn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],F1=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function Ar(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}}function st(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&B1.test(String.fromCharCode(e)):t===!1?!1:Ar(e,zn)}function _t(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&w1.test(String.fromCharCode(e)):t===!1?!1:Ar(e,zn)||Ar(e,F1)}var K=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function Se(e,t){return new K(e,{beforeExpr:!0,binop:t})}var ke={beforeExpr:!0},Ee={startsExpr:!0},Hr={};function j(e,t){return t===void 0&&(t={}),t.keyword=e,Hr[e]=new K(e,t)}var d={num:new K("num",Ee),regexp:new K("regexp",Ee),string:new K("string",Ee),name:new K("name",Ee),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",ke),semi:new K(";",ke),colon:new K(":",ke),dot:new K("."),question:new K("?",ke),questionDot:new K("?."),arrow:new K("=>",ke),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",ke),backQuote:new K("`",Ee),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Se("||",1),logicalAND:Se("&&",2),bitwiseOR:Se("|",3),bitwiseXOR:Se("^",4),bitwiseAND:Se("&",5),equality:Se("==/!=/===/!==",6),relational:Se("</>/<=/>=",7),bitShift:Se("<</>>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Se("%",10),star:Se("*",10),slash:Se("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:Se("??",1),_break:j("break"),_case:j("case",ke),_catch:j("catch"),_continue:j("continue"),_debugger:j("debugger"),_default:j("default",ke),_do:j("do",{isLoop:!0,beforeExpr:!0}),_else:j("else",ke),_finally:j("finally"),_for:j("for",{isLoop:!0}),_function:j("function",Ee),_if:j("if"),_return:j("return",ke),_switch:j("switch"),_throw:j("throw",ke),_try:j("try"),_var:j("var"),_const:j("const"),_while:j("while",{isLoop:!0}),_with:j("with"),_new:j("new",{beforeExpr:!0,startsExpr:!0}),_this:j("this",Ee),_super:j("super",Ee),_class:j("class",Ee),_extends:j("extends",ke),_export:j("export"),_import:j("import",Ee),_null:j("null",Ee),_true:j("true",Ee),_false:j("false",Ee),_in:j("in",{beforeExpr:!0,binop:7}),_instanceof:j("instanceof",{beforeExpr:!0,binop:7}),_typeof:j("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:j("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:j("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Re=/\r\n?|\n|\u2028|\u2029/,Ht=new RegExp(Re.source,"g");function Mt(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Wn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Te=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,qn=Object.prototype,S1=qn.hasOwnProperty,k1=qn.toString;function f0(e,t){return S1.call(e,t)}var tn=Array.isArray||function(e){return k1.call(e)==="[object Array]"};function ft(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ot=function(t,r){this.line=t,this.column=r};Ot.prototype.offset=function(t){return new Ot(this.line,this.column+t)};var h0=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Gn(e,t){for(var r=1,i=0;;){Ht.lastIndex=i;var n=Ht.exec(e);if(n&&n.index<t)++r,i=n.index+n[0].length;else return new Ot(r,t-i)}}var Er={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function D1(e){var t={};for(var r in Er)t[r]=e&&f0(e,r)?e[r]:Er[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),tn(t.onToken)){var i=t.onToken;t.onToken=function(n){return i.push(n)}}return tn(t.onComment)&&(t.onComment=I1(t,t.onComment)),t}function I1(e,t){return function(r,i,n,a,s,u){var c={type:r?"Block":"Line",value:i,start:n,end:a};e.locations&&(c.loc=new h0(this,s,u)),e.ranges&&(c.range=[n,a]),t.push(c)}}var Lt=1,Ut=2,Or=Lt|Ut,jn=4,$n=8,Kn=16,Qn=32,Xn=64,Zn=128;function Lr(e,t){return Ut|(e?jn:0)|(t?$n:0)}var rn=0,Vr=1,Ze=2,Yn=3,Jn=4,ea=5,ae=function(t,r,i){this.options=t=D1(t),this.sourceFile=t.sourceFile,this.keywords=ft(E1[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(n=ur[a]);a--);t.sourceType==="module"&&(n+=" await")}this.reservedWords=ft(n);var s=(n?n+" ":"")+ur.strict;this.reservedWordsStrict=ft(s),this.reservedWordsStrictBind=ft(s+" "+ur.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(`\n`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Re).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=d.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Lt),this.regexpState=null},pt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ae.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Ut)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&$n)>0};pt.inAsync.get=function(){return(this.currentVarScope().flags&jn)>0};pt.allowSuper.get=function(){return(this.currentThisScope().flags&Xn)>0};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Zn)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ae.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ut)>0};ae.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,n=0;n<t.length;n++)i=t[n](i);return i};ae.parse=function(t,r){return new this(r,t).parse()};ae.parseExpressionAt=function(t,r,i){var n=new this(i,t,r);return n.nextToken(),n.parseExpression()};ae.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(ae.prototype,pt);var xe=ae.prototype,P1=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;xe.strictDirective=function(e){for(;;){Te.lastIndex=e,e+=Te.exec(this.input)[0].length;var t=P1.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Te.lastIndex=e+t[0].length;var r=Te.exec(this.input),i=r.index+r[0].length,n=this.input.charAt(i);return n===";"||n==="}"||Re.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Te.lastIndex=e,e+=Te.exec(this.input)[0].length,this.input[e]===";"&&e++}};xe.eat=function(e){return this.type===e?(this.next(),!0):!1};xe.isContextual=function(e){return this.type===d.name&&this.value===e&&!this.containsEsc};xe.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};xe.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};xe.canInsertSemicolon=function(){return this.type===d.eof||this.type===d.braceR||Re.test(this.input.slice(this.lastTokEnd,this.start))};xe.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};xe.semicolon=function(){!this.eat(d.semi)&&!this.insertSemicolon()&&this.unexpected()};xe.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};xe.expect=function(e){this.eat(e)||this.unexpected()};xe.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function x0(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}xe.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};xe.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};xe.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};xe.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var V=ae.prototype;V.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==d.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var a=n[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Mr={kind:"loop"},N1={kind:"switch"};V.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Te.lastIndex=this.pos;var t=Te.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91)return!0;if(e)return!1;if(i===123)return!0;if(st(i,!0)){for(var n=r+1;_t(this.input.charCodeAt(n),!0);)++n;var a=this.input.slice(r,n);if(!_1.test(a))return!0}return!1};V.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Te.lastIndex=this.pos;var e=Te.exec(this.input),t=this.pos+e[0].length;return!Re.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!_t(this.input.charAt(t+8)))};V.parseStatement=function(e,t,r){var i=this.type,n=this.startNode(),a;switch(this.isLet(e)&&(i=d._var,a="let"),i){case d._break:case d._continue:return this.parseBreakContinueStatement(n,i.keyword);case d._debugger:return this.parseDebuggerStatement(n);case d._do:return this.parseDoStatement(n);case d._for:return this.parseForStatement(n);case d._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case d._class:return e&&this.unexpected(),this.parseClass(n,!0);case d._if:return this.parseIfStatement(n);case d._return:return this.parseReturnStatement(n);case d._switch:return this.parseSwitchStatement(n);case d._throw:return this.parseThrowStatement(n);case d._try:return this.parseTryStatement(n);case d._const:case d._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(n,a);case d._while:return this.parseWhileStatement(n);case d._with:return this.parseWithStatement(n);case d.braceL:return this.parseBlock(!0,n);case d.semi:return this.parseEmptyStatement(n);case d._export:case d._import:if(this.options.ecmaVersion>10&&i===d._import){Te.lastIndex=this.pos;var s=Te.exec(this.input),u=this.pos+s[0].length,c=this.input.charCodeAt(u);if(c===40||c===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===d._import?this.parseImport(n):this.parseExport(n,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var o=this.value,l=this.parseExpression();return i===d.name&&l.type==="Identifier"&&this.eat(d.colon)?this.parseLabeledStatement(n,o,l,e):this.parseExpressionStatement(n,l)}};V.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(d.semi)||this.insertSemicolon()?e.label=null:this.type!==d.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(r||n.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};V.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};V.parseDoStatement=function(e){return this.next(),this.labels.push(Mr),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(d._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(d.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};V.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Mr),this.enterScope(0),this.expect(d.parenL),this.type===d.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===d._var||this.type===d._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===d._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new x0,s=this.parseExpression(!0,a);return this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===d._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,a),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))};V.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Rt|(r?0:_r),!1,t)};V.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(d._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};V.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(d.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};V.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(d.braceL),this.labels.push(N1),this.enterScope(0);for(var t,r=!1;this.type!==d.braceR;)if(this.type===d._case||this.type===d._default){var i=this.type===d._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(d.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};V.parseThrowStatement=function(e){return this.next(),Re.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var T1=[];V.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===d._catch){var t=this.startNode();if(this.next(),this.eat(d.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Qn:0),this.checkLVal(t.param,r?Jn:Ze),this.expect(d.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(d._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};V.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};V.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Mr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};V.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};V.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};V.parseLabeledStatement=function(e,t,r,i){for(var n=0,a=this.labels;n<a.length;n+=1){var s=a[n];s.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===d._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var o=this.labels[c];if(o.statementStart===e.start)o.statementStart=this.start,o.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};V.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};V.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(d.braceL),e&&this.enterScope(0);this.type!==d.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};V.parseFor=function(e,t){return e.init=t,this.expect(d.semi),e.test=this.type===d.semi?null:this.parseExpression(),this.expect(d.semi),e.update=this.type===d.parenR?null:this.parseExpression(),this.expect(d.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};V.parseForIn=function(e,t){var r=this.type===d._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(d.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};V.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(d.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===d._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(d.comma))break}return e};V.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Vr:Ze,!1)};var Rt=1,_r=2,ta=4;V.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===d.star&&t&_r&&this.unexpected(),e.generator=this.eat(d.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Rt&&(e.id=t&ta&&this.type!==d.name?null:this.parseIdent(),e.id&&!(t&_r)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Vr:Ze:Yn));var n=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Lr(e.async,e.generator)),t&Rt||(e.id=this.type===d.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&Rt?"FunctionDeclaration":"FunctionExpression")};V.parseFunctionParams=function(e){this.expect(d.parenL),e.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};V.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(d.braceL);this.type!==d.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(n&&this.raise(a.start,"Duplicate constructor in the same class"),n=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};V.parseClassElement=function(e){var t=this;if(this.eat(d.semi))return null;var r=this.startNode(),i=function(c,o){o===void 0&&(o=!1);var l=t.start,h=t.startLoc;return t.eatContextual(c)?t.type!==d.parenL&&(!o||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(l,h),r.key.name=c,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var n=this.eat(d.star),a=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(d.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var s=r.key,u=!1;return!r.computed&&!r.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(r.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),n&&this.raise(s.start,"Constructor can't be a generator"),a&&this.raise(s.start,"Constructor can't be an async method"),r.kind="constructor",u=e):r.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,n,a,u),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};V.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};V.parseClassId=function(e,t){this.type===d.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ze,!1)):(t===!0&&this.unexpected(),e.id=null)};V.parseClassSuper=function(e){e.superClass=this.eat(d._extends)?this.parseExprSubscripts():null};V.parseExport=function(e,t){if(this.next(),this.eat(d.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==d.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(d._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===d._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,Rt|ta,!1,r)}else if(this.type===d._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==d.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,s=e.specifiers;a<s.length;a+=1){var u=s[a];this.checkUnreserved(u.local),this.checkLocalExport(u.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};V.checkExport=function(e,t,r){e&&(f0(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};V.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var i=0,n=t.properties;i<n.length;i+=1){var a=n[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var s=0,u=t.elements;s<u.length;s+=1){var c=u[s];c&&this.checkPatternExport(e,c)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};V.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.checkPatternExport(e,n.id)}};V.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};V.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(d.braceL);!this.eat(d.braceR);){if(r)r=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var i=this.startNode();i.local=this.parseIdent(!0),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,this.checkExport(e,i.exported.name,i.exported.start),t.push(this.finishNode(i,"ExportSpecifier"))}return t};V.parseImport=function(e){return this.next(),this.type===d.string?(e.specifiers=T1,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===d.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};V.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===d.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,Ze),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(d.comma))return e}if(this.type===d.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,Ze),e.push(this.finishNode(i,"ImportNamespaceSpecifier")),e}for(this.expect(d.braceL);!this.eat(d.braceR);){if(t)t=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var n=this.startNode();n.imported=this.parseIdent(!0),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLVal(n.local,Ze),e.push(this.finishNode(n,"ImportSpecifier"))}return e};V.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};V.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Ye=ae.prototype;Ye.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i<n.length;i+=1){var a=n[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Ye.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var n=e[i];n&&this.toAssignable(n,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};Ye.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Ye.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==d.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Ye.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case d.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(d.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case d.braceL:return this.parseObj(!0)}return this.parseIdent()};Ye.parseBindingList=function(e,t,r){for(var i=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(d.comma),t&&this.type===d.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===d.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),i.push(a),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),i.push(s)}}return i};Ye.parseBindingListItem=function(e){return e};Ye.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(d.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")};Ye.checkLVal=function(e,t,r){switch(t===void 0&&(t=rn),e.type){case"Identifier":t===Ze&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(f0(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==rn&&t!==ea&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var a=n[i];this.checkLVal(a,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var s=0,u=e.elements;s<u.length;s+=1){var c=u[s];c&&this.checkLVal(c,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var z=ae.prototype;z.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,n;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var s=t[n];if(s){var u;a==="init"?u=this.strict&&s.init||s.get||s.set:u=s.init||s[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[a]=!0}};z.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===d.comma){var a=this.startNodeAt(r,i);for(a.expressions=[n];this.eat(d.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return n};z.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,a=-1;t?(n=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new x0,i=!0);var s=this.start,u=this.startLoc;(this.type===d.parenL||this.type===d.name)&&(this.potentialArrowAt=this.start);var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,s,u)),this.type.isAssign){var o=this.startNodeAt(s,u);return o.operator=this.value,o.left=this.type===d.eq?this.toAssignable(c,!1,t):c,i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=o.left.start&&(t.shorthandAssign=-1),this.checkLVal(c),this.next(),o.right=this.parseMaybeAssign(e),this.finishNode(o,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return n>-1&&(t.parenthesizedAssign=n),a>-1&&(t.trailingComma=a),c};z.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(d.question)){var a=this.startNodeAt(r,i);return a.test=n,a.consequent=this.parseMaybeAssign(),this.expect(d.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return n};z.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||n.start===r&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,r,i,-1,e)};z.parseExprOp=function(e,t,r,i,n){var a=this.type.binop;if(a!=null&&(!n||this.type!==d._in)&&a>i){var s=this.type===d.logicalOR||this.type===d.logicalAND,u=this.type===d.coalesce;u&&(a=d.logicalAND.binop);var c=this.value;this.next();var o=this.start,l=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1),o,l,a,n),f=this.buildBinary(t,r,e,h,c,s||u);return(s&&this.type===d.coalesce||u&&(this.type===d.logicalOR||this.type===d.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,t,r,i,n)}return e};z.buildBinary=function(e,t,r,i,n,a){var s=this.startNodeAt(e,t);return s.left=r,s.operator=n,s.right=i,this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};z.parseMaybeUnary=function(e,t){var r=this.start,i=this.startLoc,n;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),s=this.type===d.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(a.argument):this.strict&&a.operator==="delete"&&a.argument.type==="Identifier"?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,s?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=this.startNodeAt(r,i);u.operator=this.value,u.prefix=!1,u.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(u,"UpdateExpression")}}return!t&&this.eat(d.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n};z.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,i=this.parseExprAtom(e);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var n=this.parseSubscripts(i,t,r);return e&&n.type==="MemberExpression"&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1)),n};z.parseSubscripts=function(e,t,r,i){for(var n=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var s=this.parseSubscript(e,t,r,i,n,a);if(s.optional&&(a=!0),s===e||s.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,r);u.expression=s,s=this.finishNode(u,"ChainExpression")}return s}e=s}};z.parseSubscript=function(e,t,r,i,n,a){var s=this.options.ecmaVersion>=11,u=s&&this.eat(d.questionDot);i&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(d.bracketL);if(c||u&&this.type!==d.parenL&&this.type!==d.backQuote||this.eat(d.dot)){var o=this.startNodeAt(t,r);o.object=e,o.property=c?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),o.computed=!!c,c&&this.expect(d.bracketR),s&&(o.optional=u),e=this.finishNode(o,"MemberExpression")}else if(!i&&this.eat(d.parenL)){var l=new x0,h=this.yieldPos,f=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var x=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1,l);if(n&&!u&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=f,this.awaitIdentPos=p,this.parseArrowExpression(this.startNodeAt(t,r),x,!0);this.checkExpressionErrors(l,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,this.awaitIdentPos=p||this.awaitIdentPos;var g=this.startNodeAt(t,r);g.callee=e,g.arguments=x,s&&(g.optional=u),e=this.finishNode(g,"CallExpression")}else if(this.type===d.backQuote){(u||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var m=this.startNodeAt(t,r);m.tag=e,m.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(m,"TaggedTemplateExpression")}return e};z.parseExprAtom=function(e){this.type===d.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case d._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===d.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==d.dot&&this.type!==d.bracketL&&this.type!==d.parenL&&this.unexpected(),this.finishNode(t,"Super");case d._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case d.name:var i=this.start,n=this.startLoc,a=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(d._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(d.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===d.name&&!a)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(d.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[s],!0)}return s;case d.regexp:var u=this.value;return t=this.parseLiteral(u.value),t.regex={pattern:u.pattern,flags:u.flags},t;case d.num:case d.string:return this.parseLiteral(this.value);case d._null:case d._true:case d._false:return t=this.startNode(),t.value=this.type===d._null?null:this.type===d._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case d.parenL:var c=this.start,o=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(o)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),o;case d.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(d.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case d.braceL:return this.parseObj(!1,e);case d._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case d._class:return this.parseClass(this.startNode(),!1);case d._new:return this.parseNew();case d.backQuote:return this.parseTemplate();case d._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case d.parenL:return this.parseDynamicImport(e);case d.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(d.parenR)){var t=this.start;this.eat(d.comma)&&this.eat(d.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(d.parenL);var e=this.parseExpression();return this.expect(d.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,s=this.startLoc,u=[],c=!0,o=!1,l=new x0,h=this.yieldPos,f=this.awaitPos,p;for(this.yieldPos=0,this.awaitPos=0;this.type!==d.parenR;)if(c?c=!1:this.expect(d.comma),n&&this.afterTrailingComma(d.parenR,!0)){o=!0;break}else if(this.type===d.ellipsis){p=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,l,this.parseParenItem));var x=this.start,g=this.startLoc;if(this.expect(d.parenR),e&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(t,r,u);(!u.length||o)&&this.unexpected(this.lastTokStart),p&&this.unexpected(p),this.checkExpressionErrors(l,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?(i=this.startNodeAt(a,s),i.expressions=u,this.finishNodeAt(i,"SequenceExpression",x,g)):i=u[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(t,r);return m.expression=i,this.finishNode(m,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var R1=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(d.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc,a=this.type===d._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(d.parenL)?e.arguments=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1):e.arguments=R1,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===d.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`\n`),cooked:this.value},this.next(),r.tail=this.type===d.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===d.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(d.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(d.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===d.name||this.type===d.num||this.type===d.string||this.type===d.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===d.star)&&!Re.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(d.braceR);){if(i)i=!1;else if(this.expect(d.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(d.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,n,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,n,a,s;if(this.options.ecmaVersion>=9&&this.eat(d.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===d.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===d.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(i=this.eat(d.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(d.star),this.parsePropertyName(r,t)):n=!1,this.parsePropertyValue(r,e,i,n,a,s,t,u),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,n,a,s,u){if((r||i)&&this.type===d.colon&&this.unexpected(),this.eat(d.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===d.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==d.comma&&this.type!==d.braceR&&this.type!==d.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var o=e.value.start;e.kind==="get"?this.raiseRecoverable(o,"getter should have no params"):this.raiseRecoverable(o,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,a,e.key):this.type===d.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(d.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(d.bracketR),e.key;e.computed=!1}return e.key=this.type===d.num||this.type===d.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Lr(t,i.generator)|Xn|(r?Zn:0)),this.expect(d.parenL),i.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(Lr(r,!1)|Kn),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==d.braceL,n=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||s)&&(a=this.strictDirective(this.end),a&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!n&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,ea),e.body=this.parseBlock(!1,void 0,a&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0};z.checkParams=function(e,t){for(var r={},i=0,n=e.params;i<n.length;i+=1){var a=n[i];this.checkLVal(a,Vr,t?null:r)}};z.parseExprList=function(e,t,r,i){for(var n=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(d.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===d.comma?s=null:this.type===d.ellipsis?(s=this.parseSpread(i),i&&this.type===d.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):s=this.parseMaybeAssign(!1,i),n.push(s)}return n};z.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var n=this.strict?this.reservedWordsStrict:this.reservedWords;n.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}};z.parseIdent=function(e,t){var r=this.startNode();return this.type===d.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r};z.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===d.semi||this.canInsertSemicolon()||this.type!==d.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(d.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};z.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")};var n0=ae.prototype;n0.raise=function(e,t){var r=Gn(this.input,e);t+=" ("+r.line+":"+r.column+")";var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i};n0.raiseRecoverable=n0.raise;n0.curPosition=function(){if(this.options.locations)return new Ot(this.curLine,this.pos-this.lineStart)};var ut=ae.prototype,H1=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};ut.enterScope=function(e){this.scopeStack.push(new H1(e))};ut.exitScope=function(){this.scopeStack.pop()};ut.treatFunctionsAsVarInScope=function(e){return e.flags&Ut||!this.inModule&&e.flags&Lt};ut.declareName=function(e,t,r){var i=!1;if(t===Ze){var n=this.currentScope();i=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&Lt&&delete this.undefinedExports[e]}else if(t===Jn){var a=this.currentScope();a.lexical.push(e)}else if(t===Yn){var s=this.currentScope();this.treatFunctionsAsVar?i=s.lexical.indexOf(e)>-1:i=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var c=this.scopeStack[u];if(c.lexical.indexOf(e)>-1&&!(c.flags&Qn&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){i=!0;break}if(c.var.push(e),this.inModule&&c.flags&Lt&&delete this.undefinedExports[e],c.flags&Or)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};ut.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};ut.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ut.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Or)return t}};ut.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Or&&!(t.flags&Kn))return t}};var Ur=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new h0(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},p0=ae.prototype;p0.startNode=function(){return new Ur(this,this.start,this.startLoc)};p0.startNodeAt=function(e,t){return new Ur(this,e,t)};function ra(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}p0.finishNode=function(e,t){return ra.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};p0.finishNodeAt=function(e,t,r,i){return ra.call(this,e,t,r,i)};var Le=function(t,r,i,n,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=n,this.generator=!!a},ie={b_stat:new Le("{",!1),b_expr:new Le("{",!0),b_tmpl:new Le("${",!1),p_stat:new Le("(",!1),p_expr:new Le("(",!0),q_tmpl:new Le("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Le("function",!1),f_expr:new Le("function",!0),f_expr_gen:new Le("function",!0,!1,null,!0),f_gen:new Le("function",!1,!1,null,!0)},d0=ae.prototype;d0.initialContext=function(){return[ie.b_stat]};d0.braceIsBlock=function(e){var t=this.curContext();return t===ie.f_expr||t===ie.f_stat?!0:e===d.colon&&(t===ie.b_stat||t===ie.b_expr)?!t.isExpr:e===d._return||e===d.name&&this.exprAllowed?Re.test(this.input.slice(this.lastTokEnd,this.start)):e===d._else||e===d.semi||e===d.eof||e===d.parenR||e===d.arrow?!0:e===d.braceL?t===ie.b_stat:e===d._var||e===d._const||e===d.name?!1:!this.exprAllowed};d0.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};d0.updateContext=function(e){var t,r=this.type;r.keyword&&e===d.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};d.parenR.updateContext=d.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ie.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};d.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0};d.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0};d.parenL.updateContext=function(e){var t=e===d._if||e===d._for||e===d._with||e===d._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0};d.incDec.updateContext=function(){};d._function.updateContext=d._class.updateContext=function(e){e.beforeExpr&&e!==d.semi&&e!==d._else&&!(e===d._return&&Re.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===d.colon||e===d.braceL)&&this.curContext()===ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1};d.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1};d.star.updateContext=function(e){if(e===d._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0};d.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==d.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ia="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",na=ia+" Extended_Pictographic",O1=na,L1={9:ia,10:na,11:O1},nn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",aa="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",sa=aa+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",V1=sa+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",M1={9:aa,10:sa,11:V1},oa={};function zr(e){var t=oa[e]={binary:ft(L1[e]+" "+nn),nonBinary:{General_Category:ft(nn),Script:ft(M1[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}zr(9);zr(10);zr(11);var O=ae.prototype,Je=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=oa[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Je.prototype.reset=function(t,r,i){var n=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9};Je.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Je.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=n)return a;var s=i.charCodeAt(t+1);return s>=56320&&s<=57343?(a<<10)+s-56613888:a};Je.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return n;var a=i.charCodeAt(t),s;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=n||(s=i.charCodeAt(t+1))<56320||s>57343?t+1:t+2};Je.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Je.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Je.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Je.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function a0(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}O.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i<r.length;i++){var n=r.charAt(i);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};O.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};O.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames.indexOf(i)===-1&&e.raise("Invalid named capture referenced")}};O.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};O.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};O.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};O.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};O.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};O.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};O.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};O.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};O.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};O.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};O.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};O.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};O.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};O.regexp_eatSyntaxCharacter=function(e){var t=e.current();return ua(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ua(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}O.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!ua(r);)e.advance();return e.pos!==t};O.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};O.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};O.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};O.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=a0(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=a0(e.lastIntValue);return!0}return!1};O.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),U1(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function U1(e){return st(e,!0)||e===36||e===95}O.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),z1(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function z1(e){return _t(e,!0)||e===36||e===95||e===8204||e===8205}O.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};O.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};O.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};O.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};O.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};O.regexp_eatZero=function(e){return e.current()===48&&!v0(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};O.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};O.regexp_eatControlLetter=function(e){var t=e.current();return ca(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function ca(e){return e>=65&&e<=90||e>=97&&e<=122}O.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(n-55296)*1024+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&W1(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function W1(e){return e>=0&&e<=1114111}O.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};O.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(q1(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function q1(e){return e===100||e===68||e===115||e===83||e===119||e===87}O.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n),!0}return!1};O.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){f0(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};O.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";la(t=e.current());)e.lastStringValue+=a0(t),e.advance();return e.lastStringValue!==""};function la(e){return ca(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";G1(t=e.current());)e.lastStringValue+=a0(t),e.advance();return e.lastStringValue!==""};function G1(e){return la(e)||v0(e)}O.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};O.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};O.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};O.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||xa(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};O.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};O.regexp_eatClassControlLetter=function(e){var t=e.current();return v0(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};O.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};O.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;v0(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function v0(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;fa(r=e.current());)e.lastIntValue=16*e.lastIntValue+ha(r),e.advance();return e.pos!==t};function fa(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ha(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}O.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};O.regexp_eatOctalDigit=function(e){var t=e.current();return xa(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function xa(e){return e>=48&&e<=55}O.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var n=e.current();if(!fa(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+ha(n),e.advance()}return!0};var Wr=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new h0(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},G=ae.prototype;G.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Wr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};G.getToken=function(){return this.next(),new Wr(this)};typeof Symbol!="undefined"&&(G[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===d.eof,value:t}}}});G.curContext=function(){return this.context[this.context.length-1]};G.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(d.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};G.readToken=function(e){return st(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};G.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};G.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Ht.lastIndex=t;for(var i;(i=Ht.exec(this.input))&&i.index<this.pos;)++this.curLine,this.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};G.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Mt(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};G.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Wn.test(String.fromCharCode(e)))++this.pos;else break e}}};G.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};G.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(d.ellipsis)):(++this.pos,this.finishToken(d.dot))};G.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(d.assign,2):this.finishOp(d.slash,1)};G.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?d.star:d.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=d.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(d.assign,r+1):this.finishOp(i,r)};G.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(d.assign,3)}return this.finishOp(e===124?d.logicalOR:d.logicalAND,2)}return t===61?this.finishOp(d.assign,2):this.finishOp(e===124?d.bitwiseOR:d.bitwiseAND,1)};G.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(d.assign,2):this.finishOp(d.bitwiseXOR,1)};G.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Re.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(d.incDec,2):t===61?this.finishOp(d.assign,2):this.finishOp(d.plusMin,1)};G.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(d.assign,r+1):this.finishOp(d.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(d.relational,r))};G.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(d.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(d.arrow)):this.finishOp(e===61?d.eq:d.prefix,1)};G.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(d.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(d.assign,3)}return this.finishOp(d.coalesce,2)}}return this.finishOp(d.question,1)};G.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(d.parenL);case 41:return++this.pos,this.finishToken(d.parenR);case 59:return++this.pos,this.finishToken(d.semi);case 44:return++this.pos,this.finishToken(d.comma);case 91:return++this.pos,this.finishToken(d.bracketL);case 93:return++this.pos,this.finishToken(d.bracketR);case 123:return++this.pos,this.finishToken(d.braceL);case 125:return++this.pos,this.finishToken(d.braceR);case 58:return++this.pos,this.finishToken(d.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(d.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(d.prefix,1)}this.raise(this.pos,"Unexpected character '"+qr(e)+"'")};G.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};G.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Re.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var a=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new Je(this));u.reset(r,n,s),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var c=null;try{c=new RegExp(n,s)}catch(o){}return this.finishToken(d.regexp,{pattern:n,flags:s,value:c})};G.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,n=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,s=0,u=0,c=0,o=t==null?1/0:t;c<o;++c,++this.pos){var l=this.input.charCodeAt(this.pos),h=void 0;if(i&&l===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=l;continue}if(l>=97?h=l-97+10:l>=65?h=l-65+10:l>=48&&l<=57?h=l-48:h=1/0,h>=e)break;u=l,s=s*e+h}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:s};function j1(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function pa(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}G.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=pa(this.input.slice(t,this.pos)),++this.pos):st(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,r)};G.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var n=pa(this.input.slice(t,this.pos));return++this.pos,st(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,n)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),st(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=j1(this.input.slice(t,this.pos),r);return this.finishToken(d.num,a)};G.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function qr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}G.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Mt(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(d.string,t)};var da={};G.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===da)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};G.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw da;this.raise(e,t)};G.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===d.template||this.type===d.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(d.dollarBraceL)):(++this.pos,this.finishToken(d.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(d.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Mt(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`\n`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};G.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(d.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};G.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`\n`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return qr(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return Mt(t)?"":String.fromCharCode(t)}};G.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};G.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(_t(n,i))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?st:_t)(s,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=qr(s),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};G.readWord=function(){var e=this.readWord1(),t=d.name;return this.keywords.test(e)&&(t=Hr[e]),this.finishToken(t,e)};var $1="7.4.1";ae.acorn={Parser:ae,version:$1,defaultOptions:Er,Position:Ot,SourceLocation:h0,getLineInfo:Gn,Node:Ur,TokenType:K,tokTypes:d,keywordTypes:Hr,TokContext:Le,tokContexts:ie,isIdentifierChar:_t,isIdentifierStart:st,Token:Wr,isNewLine:Mt,lineBreak:Re,lineBreakG:Ht,nonASCIIwhitespace:Wn};function K1(e,t){return ae.parse(e,t)}class Q1 extends Error{}class X1 extends SyntaxError{}class Br extends ReferenceError{}class Z1 extends TypeError{}class va extends Q1{}class Y1 extends X1{}class Ve extends Br{}const he={ExecutionTimeOutError:[3002,"Script execution timed out after %0ms",va],NodeTypeSyntaxError:[1001,"Unknown node type: %0",Ve],BinaryOperatorSyntaxError:[1002,"Unknown binary operator: %0",Ve],LogicalOperatorSyntaxError:[1003,"Unknown logical operator: %0",Ve],UnaryOperatorSyntaxError:[1004,"Unknown unary operator: %0",Ve],UpdateOperatorSyntaxError:[1005,"Unknown update operator: %0",Ve],ObjectStructureSyntaxError:[1006,"Unknown object structure: %0",Ve],AssignmentExpressionSyntaxError:[1007,"Unknown assignment expression: %0",Ve],VariableTypeSyntaxError:[1008,"Unknown variable type: %0",Ve],ParamTypeSyntaxError:[1009,"Unknown param type: %0",Ve],AssignmentTypeSyntaxError:[1010,"Unknown assignment type: %0",Ve],FunctionUndefinedReferenceError:[2001,"%0 is not a function",Br],VariableUndefinedReferenceError:[2002,"%0 is not defined",Br],IsNotConstructor:[2003,"%0 is not a constructor",Z1]},J1="1.4.8";function an(e,t){Object.defineProperty(e,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}const eo=Object.prototype.hasOwnProperty,bt=Symbol("Break"),yt=Symbol("Continue"),sn=Symbol("DefaultCase"),oe=Symbol("EmptyStatementReturn"),on=Symbol("WithScopeName"),un=Symbol("SuperScopeName"),cn=Symbol("RootScopeName"),ln=Symbol("GlobalScopeName");function lr(e){return typeof e=="function"}class nt{constructor(t){this.interpreter=t}generator(){const t=this.interpreter;function r(){return this.getCurrentScope()}function i(){return this.getGlobalScope()}function n(){return this.getCurrentContext()}return{getOptions:t.getOptions.bind(t),getCurrentScope:r.bind(t),getGlobalScope:i.bind(t),getCurrentContext:n.bind(t),getExecStartTime:t.getExecStartTime.bind(t)}}}function Gr(e,t,r=!0){if(!(e instanceof nt))throw new Error("Illegal call");if(typeof t!="string")return t;if(!t)return;const i=e.generator(),a={timeout:i.getOptions().timeout,_initEnv:function(){r||this.setCurrentContext(i.getCurrentContext()),this.execStartTime=i.getExecStartTime(),this.execEndTime=this.execStartTime}},s=r?i.getGlobalScope():i.getCurrentScope();return new be(s,a).evaluate(t)}Object.defineProperty(Gr,"__IS_EVAL_FUNC",{value:!0,writable:!1,enumerable:!1,configurable:!1});function jr(e,...t){if(!(e instanceof nt))throw new Error("Illegal call");const r=e.generator(),i=t.pop(),n=new be(r.getGlobalScope(),r.getOptions()),a=`\n\t\t (function anonymous(${t.join(",")}){\n\t\t ${i}\n\t\t });\n\t\t `;return n.evaluate(a)}Object.defineProperty(jr,"__IS_FUNCTION_FUNC",{value:!0,writable:!1,enumerable:!1,configurable:!1});class qe{constructor(t){this.value=t}}class lt{constructor(t){this.value=t}}class rt{constructor(t){this.value=t}}class Et{constructor(t,r=null,i){this.name=i,this.parent=r,this.data=t,this.labelStack=[]}}function Xt(){}function to(e=null,t){return new Et(Object.create(null),e,t)}function ro(e){return Object.create(e)}const Ke={NaN:NaN,Infinity:1/0,undefined:void 0,Object:Object,Array:Array,String:String,Boolean:Boolean,Number:Number,Date:Date,RegExp:RegExp,Error:Error,URIError:URIError,TypeError:TypeError,RangeError:RangeError,SyntaxError:SyntaxError,ReferenceError:ReferenceError,Math:Math,parseInt:parseInt,parseFloat:parseFloat,isNaN:isNaN,isFinite:isFinite,decodeURI:decodeURI,decodeURIComponent:decodeURIComponent,encodeURI:encodeURI,encodeURIComponent:encodeURIComponent,escape:escape,unescape:unescape,eval:Gr,Function:jr};typeof JSON!="undefined"&&(Ke.JSON=JSON);typeof Promise!="undefined"&&(Ke.Promise=Promise);typeof Set!="undefined"&&(Ke.Set=Set);typeof Map!="undefined"&&(Ke.Map=Map);typeof Symbol!="undefined"&&(Ke.Symbol=Symbol);typeof Proxy!="undefined"&&(Ke.Proxy=Proxy);typeof WeakMap!="undefined"&&(Ke.WeakMap=WeakMap);typeof WeakSet!="undefined"&&(Ke.WeakSet=WeakSet);typeof Reflect!="undefined"&&(Ke.Reflect=Reflect);class be{constructor(t=be.global,r={}){this.sourceList=[],this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null),this.isVarDeclMode=!1,this.lastExecNode=null,this.isRunning=!1,this.options={ecmaVersion:r.ecmaVersion||be.ecmaVersion,timeout:r.timeout||0,rootContext:r.rootContext,globalContextInFunction:r.globalContextInFunction===void 0?be.globalContextInFunction:r.globalContextInFunction,_initEnv:r._initEnv},this.context=t||Object.create(null),this.callStack=[],this.initEnvironment(this.context)}initEnvironment(t){let r;if(t instanceof Et)r=t;else{let n=null;const a=this.createSuperScope(t);this.options.rootContext&&(n=new Et(ro(this.options.rootContext),a,cn)),r=new Et(t,n||a,ln)}this.globalScope=r,this.currentScope=this.globalScope,this.globalContext=r.data,this.currentContext=r.data,this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null),this.execStartTime=Date.now(),this.execEndTime=this.execStartTime;const i=this.options._initEnv;i&&i.call(this)}getExecStartTime(){return this.execStartTime}getExecutionTime(){return this.execEndTime-this.execStartTime}setExecTimeout(t=0){this.options.timeout=t}getOptions(){return this.options}getGlobalScope(){return this.globalScope}getCurrentScope(){return this.currentScope}getCurrentContext(){return this.currentContext}isInterruptThrow(t){return t instanceof va||t instanceof Ve||t instanceof Y1}createSuperScope(t){let r=Object.assign({},Ke);return Object.keys(r).forEach(n=>{n in t&&delete r[n]}),new Et(r,null,un)}setCurrentContext(t){this.currentContext=t}setCurrentScope(t){this.currentScope=t}evaluate(t=""){let r;if(t)return r=K1(t,{ranges:!0,locations:!0,ecmaVersion:this.options.ecmaVersion||be.ecmaVersion}),this.evaluateNode(r,t)}appendCode(t){return this.evaluate(t)}evaluateNode(t,r=""){this.value=void 0,this.source=r,this.sourceList.push(r),this.isRunning=!0,this.execStartTime=Date.now(),this.execEndTime=this.execStartTime,this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null);const i=this.getCurrentScope(),n=this.getCurrentContext(),a=i.labelStack.concat([]),s=this.callStack.concat([]),u=()=>{this.setCurrentScope(i),this.setCurrentContext(n),i.labelStack=a,this.callStack=s};try{const c=this.createClosure(t);this.addDeclarationsToScope(this.collectDeclVars,this.collectDeclFuncs,this.getCurrentScope()),c()}catch(c){throw c}finally{u(),this.execEndTime=Date.now()}return this.isRunning=!1,this.getValue()}createErrorMessage(t,r,i){let n=t[1].replace("%0",String(r));return i!==null&&(n+=this.getNodePosition(i||this.lastExecNode)),n}createError(t,r){return new r(t)}createThrowError(t,r){return this.createError(t,r)}createInternalThrowError(t,r,i){return this.createError(this.createErrorMessage(t,r,i),t[2])}checkTimeout(){if(!this.isRunning)return!1;const t=this.options.timeout||0;return Date.now()-this.execStartTime>t}getNodePosition(t){return t&&t.loc?` [${t.loc.start.line}:${t.loc.start.column}]`:""}createClosure(t){let r;switch(t.type){case"BinaryExpression":r=this.binaryExpressionHandler(t);break;case"LogicalExpression":r=this.logicalExpressionHandler(t);break;case"UnaryExpression":r=this.unaryExpressionHandler(t);break;case"UpdateExpression":r=this.updateExpressionHandler(t);break;case"ObjectExpression":r=this.objectExpressionHandler(t);break;case"ArrayExpression":r=this.arrayExpressionHandler(t);break;case"CallExpression":r=this.callExpressionHandler(t);break;case"NewExpression":r=this.newExpressionHandler(t);break;case"MemberExpression":r=this.memberExpressionHandler(t);break;case"ThisExpression":r=this.thisExpressionHandler(t);break;case"SequenceExpression":r=this.sequenceExpressionHandler(t);break;case"Literal":r=this.literalHandler(t);break;case"Identifier":r=this.identifierHandler(t);break;case"AssignmentExpression":r=this.assignmentExpressionHandler(t);break;case"FunctionDeclaration":r=this.functionDeclarationHandler(t);break;case"VariableDeclaration":r=this.variableDeclarationHandler(t);break;case"BlockStatement":case"Program":r=this.programHandler(t);break;case"ExpressionStatement":r=this.expressionStatementHandler(t);break;case"EmptyStatement":r=this.emptyStatementHandler(t);break;case"ReturnStatement":r=this.returnStatementHandler(t);break;case"FunctionExpression":r=this.functionExpressionHandler(t);break;case"IfStatement":r=this.ifStatementHandler(t);break;case"ConditionalExpression":r=this.conditionalExpressionHandler(t);break;case"ForStatement":r=this.forStatementHandler(t);break;case"WhileStatement":r=this.whileStatementHandler(t);break;case"DoWhileStatement":r=this.doWhileStatementHandler(t);break;case"ForInStatement":r=this.forInStatementHandler(t);break;case"WithStatement":r=this.withStatementHandler(t);break;case"ThrowStatement":r=this.throwStatementHandler(t);break;case"TryStatement":r=this.tryStatementHandler(t);break;case"ContinueStatement":r=this.continueStatementHandler(t);break;case"BreakStatement":r=this.breakStatementHandler(t);break;case"SwitchStatement":r=this.switchStatementHandler(t);break;case"LabeledStatement":r=this.labeledStatementHandler(t);break;case"DebuggerStatement":r=this.debuggerStatementHandler(t);break;default:throw this.createInternalThrowError(he.NodeTypeSyntaxError,t.type,t)}return(...i)=>{const n=this.options.timeout;if(n&&n>0&&this.checkTimeout())throw this.createInternalThrowError(he.ExecutionTimeOutError,n,null);return this.lastExecNode=t,r(...i)}}binaryExpressionHandler(t){const r=this.createClosure(t.left),i=this.createClosure(t.right);return()=>{const n=r(),a=i();switch(t.operator){case"==":return n==a;case"!=":return n!=a;case"===":return n===a;case"!==":return n!==a;case"<":return n<a;case"<=":return n<=a;case">":return n>a;case">=":return n>=a;case"<<":return n<<a;case">>":return n>>a;case">>>":return n>>>a;case"+":return n+a;case"-":return n-a;case"*":return n*a;case"**":return Math.pow(n,a);case"/":return n/a;case"%":return n%a;case"|":return n|a;case"^":return n^a;case"&":return n&a;case"in":return n in a;case"instanceof":return n instanceof a;default:throw this.createInternalThrowError(he.BinaryOperatorSyntaxError,t.operator,t)}}}logicalExpressionHandler(t){const r=this.createClosure(t.left),i=this.createClosure(t.right);return()=>{switch(t.operator){case"||":return r()||i();case"&&":return r()&&i();default:throw this.createInternalThrowError(he.LogicalOperatorSyntaxError,t.operator,t)}}}unaryExpressionHandler(t){switch(t.operator){case"delete":const r=this.createObjectGetter(t.argument),i=this.createNameGetter(t.argument);return()=>{let a=r();const s=i();return delete a[s]};default:let n;if(t.operator==="typeof"&&t.argument.type==="Identifier"){const a=this.createObjectGetter(t.argument),s=this.createNameGetter(t.argument);n=()=>a()[s()]}else n=this.createClosure(t.argument);return()=>{const a=n();switch(t.operator){case"-":return-a;case"+":return+a;case"!":return!a;case"~":return~a;case"void":return;case"typeof":return typeof a;default:throw this.createInternalThrowError(he.UnaryOperatorSyntaxError,t.operator,t)}}}}updateExpressionHandler(t){const r=this.createObjectGetter(t.argument),i=this.createNameGetter(t.argument);return()=>{const n=r(),a=i();switch(this.assertVariable(n,a,t),t.operator){case"++":return t.prefix?++n[a]:n[a]++;case"--":return t.prefix?--n[a]:n[a]--;default:throw this.createInternalThrowError(he.UpdateOperatorSyntaxError,t.operator,t)}}}objectExpressionHandler(t){const r=[];function i(a){return a.type==="Identifier"?a.name:a.type==="Literal"?a.value:this.throwError(he.ObjectStructureSyntaxError,a.type,a)}const n=Object.create(null);return t.properties.forEach(a=>{const s=a.kind,u=i(a.key);(!n[u]||s==="init")&&(n[u]={}),n[u][s]=this.createClosure(a.value),r.push({key:u,property:a})}),()=>{const a={},s=r.length;for(let u=0;u<s;u++){const c=r[u],o=c.key,l=n[o],h=l.init?l.init():void 0,f=l.get?l.get():function(){},p=l.set?l.set():function(x){};if("set"in l||"get"in l)Object.defineProperty(a,o,{configurable:!0,enumerable:!0,get:f,set:p});else{const x=c.property,g=x.kind;x.key.type==="Identifier"&&x.value.type==="FunctionExpression"&&g==="init"&&!x.value.id&&an(h,x.key.name),a[o]=h}}return a}}arrayExpressionHandler(t){const r=t.elements.map(i=>i&&this.createClosure(i));return()=>{const i=r.length,n=Array(i);for(let a=0;a<i;a++){const s=r[a];s&&(n[a]=s())}return n}}safeObjectGet(t,r,i){return t[r]}createCallFunctionGetter(t){switch(t.type){case"MemberExpression":const r=this.createClosure(t.object),i=this.createMemberKeyGetter(t),n=this.source;return()=>{const s=r(),u=i(),c=this.safeObjectGet(s,u,t);if(!c||!lr(c)){const o=n.slice(t.start,t.end);throw this.createInternalThrowError(he.FunctionUndefinedReferenceError,o,t)}return c.__IS_EVAL_FUNC?o=>c(new nt(this),o,!0):c.__IS_FUNCTION_FUNC?(...o)=>c(new nt(this),...o):c.bind(s)};default:const a=this.createClosure(t);return()=>{let s="";t.type==="Identifier"&&(s=t.name);const u=a();if(!u||!lr(u))throw this.createInternalThrowError(he.FunctionUndefinedReferenceError,s,t);if(t.type==="Identifier"&&u.__IS_EVAL_FUNC&&s==="eval")return o=>{const l=this.getScopeFromName(s,this.getCurrentScope()),h=l.name===un||l.name===ln||l.name===cn;return u(new nt(this),o,!h)};if(u.__IS_EVAL_FUNC)return o=>u(new nt(this),o,!0);if(u.__IS_FUNCTION_FUNC)return(...o)=>u(new nt(this),...o);let c=this.options.globalContextInFunction;if(t.type==="Identifier"){const o=this.getIdentifierScope(t);o.name===on&&(c=o.data)}return u.bind(c)}}}callExpressionHandler(t){const r=this.createCallFunctionGetter(t.callee),i=t.arguments.map(n=>this.createClosure(n));return()=>r()(...i.map(n=>n()))}functionExpressionHandler(t){const r=this,i=this.source,n=this.collectDeclVars,a=this.collectDeclFuncs;this.collectDeclVars=Object.create(null),this.collectDeclFuncs=Object.create(null);const s=t.id?t.id.name:"",u=t.params.length,c=t.params.map(f=>this.createParamNameGetter(f)),o=this.createClosure(t.body),l=this.collectDeclVars,h=this.collectDeclFuncs;return this.collectDeclVars=n,this.collectDeclFuncs=a,()=>{const f=r.getCurrentScope(),p=function(...x){r.callStack.push(`${s}`);const g=r.getCurrentScope(),m=to(f,`FunctionScope(${s})`);r.setCurrentScope(m),r.addDeclarationsToScope(l,h,m),s&&(m.data[s]=p),m.data.arguments=arguments,c.forEach((y,v)=>{m.data[y()]=x[v]});const C=r.getCurrentContext();r.setCurrentContext(this);const b=o();if(r.setCurrentContext(C),r.setCurrentScope(g),r.callStack.pop(),b instanceof qe)return b.value};return an(p,s),Object.defineProperty(p,"length",{value:u,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(p,"toString",{value:()=>i.slice(t.start,t.end),writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(p,"valueOf",{value:()=>i.slice(t.start,t.end),writable:!0,configurable:!0,enumerable:!1}),p}}newExpressionHandler(t){const r=this.source,i=this.createClosure(t.callee),n=t.arguments.map(a=>this.createClosure(a));return()=>{const a=i();if(!lr(a)||a.__IS_EVAL_FUNC){const s=t.callee,u=r.slice(s.start,s.end);throw this.createInternalThrowError(he.IsNotConstructor,u,t)}return a.__IS_FUNCTION_FUNC?a(new nt(this),...n.map(s=>s())):new a(...n.map(s=>s()))}}memberExpressionHandler(t){const r=this.createClosure(t.object),i=this.createMemberKeyGetter(t);return()=>{const n=r();let a=i();return n[a]}}thisExpressionHandler(t){return()=>this.getCurrentContext()}sequenceExpressionHandler(t){const r=t.expressions.map(i=>this.createClosure(i));return()=>{let i;const n=r.length;for(let a=0;a<n;a++){const s=r[a];i=s()}return i}}literalHandler(t){return()=>t.regex?new RegExp(t.regex.pattern,t.regex.flags):t.value}identifierHandler(t){return()=>{const r=this.getCurrentScope(),i=this.getScopeDataFromName(t.name,r);return this.assertVariable(i,t.name,t),i[t.name]}}getIdentifierScope(t){const r=this.getCurrentScope();return this.getScopeFromName(t.name,r)}assignmentExpressionHandler(t){t.left.type==="Identifier"&&t.right.type==="FunctionExpression"&&!t.right.id&&(t.right.id={type:"Identifier",name:t.left.name});const r=this.createObjectGetter(t.left),i=this.createNameGetter(t.left),n=this.createClosure(t.right);return()=>{const a=r(),s=i(),u=n();switch(t.operator!=="="&&this.assertVariable(a,s,t),t.operator){case"=":return a[s]=u;case"+=":return a[s]+=u;case"-=":return a[s]-=u;case"*=":return a[s]*=u;case"**=":return a[s]=Math.pow(a[s],u);case"/=":return a[s]/=u;case"%=":return a[s]%=u;case"<<=":return a[s]<<=u;case">>=":return a[s]>>=u;case">>>=":return a[s]>>>=u;case"&=":return a[s]&=u;case"^=":return a[s]^=u;case"|=":return a[s]|=u;default:throw this.createInternalThrowError(he.AssignmentExpressionSyntaxError,t.type,t)}}}functionDeclarationHandler(t){if(t.id){const r=this.functionExpressionHandler(t);Object.defineProperty(r,"isFunctionDeclareClosure",{value:!0,writable:!1,configurable:!1,enumerable:!1}),this.funcDeclaration(t.id.name,r)}return()=>oe}getVariableName(t){if(t.type==="Identifier")return t.name;throw this.createInternalThrowError(he.VariableTypeSyntaxError,t.type,t)}variableDeclarationHandler(t){let r;const i=[];for(let n=0;n<t.declarations.length;n++){const a=t.declarations[n];this.varDeclaration(this.getVariableName(a.id)),a.init&&i.push({type:"AssignmentExpression",operator:"=",left:a.id,right:a.init})}return i.length&&(r=this.createClosure({type:"BlockStatement",body:i})),()=>{if(r){const n=this.isVarDeclMode;this.isVarDeclMode=!0,r(),this.isVarDeclMode=n}return oe}}assertVariable(t,r,i){if(t===this.globalScope.data&&!(r in t))throw this.createInternalThrowError(he.VariableUndefinedReferenceError,r,i)}programHandler(t){const r=t.body.map(i=>this.createClosure(i));return()=>{let i=oe;for(let n=0;n<r.length;n++){const a=r[n],s=this.setValue(a());if(s!==oe&&(i=s,i instanceof qe||i instanceof lt||i instanceof rt||i===bt||i===yt))break}return i}}expressionStatementHandler(t){return this.createClosure(t.expression)}emptyStatementHandler(t){return()=>oe}returnStatementHandler(t){const r=t.argument?this.createClosure(t.argument):Xt;return()=>new qe(r())}ifStatementHandler(t){const r=this.createClosure(t.test),i=this.createClosure(t.consequent),n=t.alternate?this.createClosure(t.alternate):()=>oe;return()=>r()?i():n()}conditionalExpressionHandler(t){return this.ifStatementHandler(t)}forStatementHandler(t){let r=Xt,i=t.test?this.createClosure(t.test):()=>!0,n=Xt;const a=this.createClosure(t.body);return t.type==="ForStatement"&&(r=t.init?this.createClosure(t.init):r,n=t.update?this.createClosure(t.update):Xt),s=>{let u,c=oe,o=t.type==="DoWhileStatement";for(s&&s.type==="LabeledStatement"&&(u=s.label.name),r();o||i();n()){o=!1;const l=this.setValue(a());if(!(l===oe||l===yt)){if(l===bt)break;if(c=l,c instanceof rt&&c.value===u){c=oe;continue}if(c instanceof qe||c instanceof lt||c instanceof rt)break}}return c}}whileStatementHandler(t){return this.forStatementHandler(t)}doWhileStatementHandler(t){return this.forStatementHandler(t)}forInStatementHandler(t){let r=t.left;const i=this.createClosure(t.right),n=this.createClosure(t.body);return t.left.type==="VariableDeclaration"&&(this.createClosure(t.left)(),r=t.left.declarations[0].id),a=>{let s,u=oe,c;a&&a.type==="LabeledStatement"&&(s=a.label.name);const o=i();for(c in o){this.assignmentExpressionHandler({type:"AssignmentExpression",operator:"=",left:r,right:{type:"Literal",value:c}})();const l=this.setValue(n());if(!(l===oe||l===yt)){if(l===bt)break;if(u=l,u instanceof rt&&u.value===s){u=oe;continue}if(u instanceof qe||u instanceof lt||u instanceof rt)break}}return u}}withStatementHandler(t){const r=this.createClosure(t.object),i=this.createClosure(t.body);return()=>{const n=r(),a=this.getCurrentScope(),s=new Et(n,a,on);this.setCurrentScope(s);const u=this.setValue(i());return this.setCurrentScope(a),u}}throwStatementHandler(t){const r=this.createClosure(t.argument);return()=>{throw this.setValue(void 0),r()}}tryStatementHandler(t){const r=this.createClosure(t.block),i=t.handler?this.catchClauseHandler(t.handler):null,n=t.finalizer?this.createClosure(t.finalizer):null;return()=>{const a=this.getCurrentScope(),s=this.getCurrentContext(),u=a.labelStack.concat([]),c=this.callStack.concat([]);let o=oe,l,h;const f=()=>{this.setCurrentScope(a),this.setCurrentContext(s),a.labelStack=u,this.callStack=c};try{o=this.setValue(r()),o instanceof qe&&(l=o)}catch(p){if(f(),this.isInterruptThrow(p))throw p;if(i)try{o=this.setValue(i(p)),o instanceof qe&&(l=o)}catch(x){if(f(),this.isInterruptThrow(x))throw x;h=x}}if(n)try{o=n(),o instanceof qe&&(l=o)}catch(p){if(f(),this.isInterruptThrow(p))throw p;h=p}if(h)throw h;return l||o}}catchClauseHandler(t){const r=this.createParamNameGetter(t.param),i=this.createClosure(t.body);return n=>{let a;const u=this.getCurrentScope().data,c=r(),o=eo.call(u,c),l=u[c];return u[c]=n,a=i(),o?u[c]=l:delete u[c],a}}continueStatementHandler(t){return()=>t.label?new rt(t.label.name):yt}breakStatementHandler(t){return()=>t.label?new lt(t.label.name):bt}switchStatementHandler(t){const r=this.createClosure(t.discriminant),i=t.cases.map(n=>this.switchCaseHandler(n));return()=>{const n=r();let a=!1,s,u,c=0,o=!1;for(let l=0;l<2;l++){for(let h=c;h<i.length;h++){const f=i[h](),p=f.testClosure();if(!o&&p===sn&&(o=!0,c=h),a||p===n){if(a=!0,u=this.setValue(f.bodyClosure()),u===oe)continue;if(u===bt||(s=u,s instanceof qe||s instanceof lt||s instanceof rt||s===yt))break}}if(!a&&o)a=!0;else break}return s}}switchCaseHandler(t){const r=t.test?this.createClosure(t.test):()=>sn,i=this.createClosure({type:"BlockStatement",body:t.consequent});return()=>({testClosure:r,bodyClosure:i})}labeledStatementHandler(t){const r=t.label.name,i=this.createClosure(t.body);return()=>{let n;const a=this.getCurrentScope();return a.labelStack.push(r),n=i(t),n instanceof lt&&n.value===r&&(n=oe),a.labelStack.pop(),n}}debuggerStatementHandler(t){return()=>{debugger;return oe}}createParamNameGetter(t){if(t.type==="Identifier")return()=>t.name;throw this.createInternalThrowError(he.ParamTypeSyntaxError,t.type,t)}createObjectKeyGetter(t){let r;return t.type==="Identifier"?r=()=>t.name:r=this.createClosure(t),function(){return r()}}createMemberKeyGetter(t){return t.computed?this.createClosure(t.property):this.createObjectKeyGetter(t.property)}createObjectGetter(t){switch(t.type){case"Identifier":return()=>this.getScopeDataFromName(t.name,this.getCurrentScope());case"MemberExpression":return this.createClosure(t.object);default:throw this.createInternalThrowError(he.AssignmentTypeSyntaxError,t.type,t)}}createNameGetter(t){switch(t.type){case"Identifier":return()=>t.name;case"MemberExpression":return this.createMemberKeyGetter(t);default:throw this.createInternalThrowError(he.AssignmentTypeSyntaxError,t.type,t)}}varDeclaration(t){const r=this.collectDeclVars;r[t]=void 0}funcDeclaration(t,r){const i=this.collectDeclFuncs;i[t]=r}addDeclarationsToScope(t,r,i){const n=i.data;for(let a in r){const s=r[a];n[a]=s&&s()}for(let a in t)a in n||(n[a]=void 0)}getScopeValue(t,r){return this.getScopeFromName(t,r).data[t]}getScopeDataFromName(t,r){return this.getScopeFromName(t,r).data}getScopeFromName(t,r){let i=r;do{if(t in i.data)return i}while(i=i.parent);return this.globalScope}setValue(t){const r=this.callStack.length;return this.isVarDeclMode||r||t===oe||t===bt||t===yt||t instanceof lt||t instanceof rt||(this.value=t instanceof qe?t.value:t),t}getValue(){return this.value}}be.version=J1;be.eval=Gr;be.Function=jr;be.ecmaVersion=5;be.globalContextInFunction=void 0;be.global=Object.create(null);const ma={value:null};function io(e){ma.value=e}const no=typeof globalThis!="undefined"?globalThis:{},fn=gt(re(re({},no),Math),{Math:Math,Date:Date,RegExp:RegExp,JSON:JSON,String:String,Array:Array,Object:Object,Number:Number,Boolean:Boolean,Function:Function,Symbol:Symbol,Map:Map,WeakMap:WeakMap,Set:Set,WeakSet:WeakSet,console:console,JsUtils:ma.value}),ao={defaultVars:fn,execute(e,t){return e=t0(e),new be(re({},t),{ecmaVersion:6,rootContext:fn}).evaluate(e)}},wr=re({},Nr);Object.keys(wr).forEach(e=>{["findTreeItem","buildTree","eachTree","findTreeItem","treeToArray"].includes(e)||delete wr[e]});const so=gt(re(re(re({},wr),ye),ts),{getEnvironments:Dn,Bytes:gn,Base64:o0,MD5:kn,Utils:ye,AES:In,Hmac:Hn,SHA:l0,EnumBuilder:vs,TreeUtils:Nr,Requests:Mn,ExpUtils:ao}),oo="yyyy-MM-dd HH:mm:ss",uo="yyyy-MM-dd",co="yyyyMMdd",Zt=(e,t)=>{if(!e)return e;if(!(e instanceof Date)||isNaN(e))return"";if(!t)return e.toISOString();let r=(_,k)=>{for(k+="";k.length<_;)k="0"+k;return k};const i=e.getFullYear(),n=(i+"").slice(-2),a=e.getMonth()+1,s=r(2,a),u=e.getDate(),c=r(2,u),o=e.getHours(),l=r(2,o),h=o%12||12,f=r(2,h),p=e.getMinutes(),x=r(2,p),g=e.getSeconds(),m=r(2,g),C=e.getMilliseconds(),b=parseInt(C/100+""),y=r(2,parseInt(C/10+"")),v=r(3,C),A=e.getDay(),E=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];let w=0,F=(new Date).getTime();const D=()=>"-#"+F+w+++"#-",B=[{p:D(),k:"(Y{4})|(y{4})",v:i},{p:D(),k:"(Y{2})|(y{2})",v:n},{p:D(),k:"M{2}",v:s},{p:D(),k:"M{1}",v:a},{p:D(),k:"d{2}",v:c},{p:D(),k:"d{1}",v:u},{p:D(),k:"H{2}",v:l},{p:D(),k:"H{1}",v:o},{p:D(),k:"h{2}",v:f},{p:D(),k:"h{1}",v:h},{p:D(),k:"m{2}",v:x},{p:D(),k:"m{1}",v:p},{p:D(),k:"(s{3})|(S{3})",v:v},{p:D(),k:"s{2}",v:m},{p:D(),k:"(s{3})|(f{3})",v:v},{p:D(),k:"f{2}",v:y},{p:D(),k:"f{1}",v:b},{p:D(),k:"A",v:o<12?"AM":"PM"},{p:D(),k:"a",v:o<12?"am":"pm"},{p:D(),k:"w",v:A},{p:D(),k:"W",v:E[A]}];return B.forEach(_=>t=t.replace(new RegExp(_.k,"g"),(k,P,H)=>_.p)),B.forEach(_=>t=t.replace(new RegExp(_.p,"g"),(k,P,H)=>_.v)),t},lo=function(e,t){let r=null;return r},fr=(e,t)=>{if(e instanceof Date)return e;e=""+e;const r=e;let i=null;if(/^\d+$/.test(e)&&e.length>=13&&(i=new Date(parseInt(e))),i==null&&/^\d{4}$/.test(e)&&(e+="-01-01 00:00:00"),i==null&&/^\d{4}[/-]\d{1,2}$/.test(e)&&(e+="-01 00:00:00"),i==null&&/^\d{4}[/-]\d{1,2}[/-]\d{1,2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+" 00:00:00"),i==null&&/^\d{1,2}[/-]\d{1,2}[/-]\d{4}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+" 00:00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+":00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:$/.test(e)&&(e=e.replaceAll(/\//g,"-")+"00:00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:\d{2}$/.test(e)&&(e=e.replaceAll(/\//g,"-")+":00"),i==null&&/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}\s\d{2}:\d{2}:$/.test(e)&&(e=e.replaceAll(/\//g,"-")+"00"),i===null&&(i=new Date(Date.parse(e))),isNaN(i)&&(i=lo(e,t)),i==null||isNaN(i))throw new Error("invalid date value: "+r);return i},ga={getDateTime(e){return e===void 0&&(e=new Date),!(e instanceof Date)||isNaN(e)?null:Zt(e,oo)},getDateString(e){e===void 0&&(e=new Date);let t=Date.parse(e);if(isNaN(t))return null;Zt(new Date(t),uo)},getDateInt(e){return Zt(e,co)},format(e,t){let r=Date.parse(e);return isNaN(r)?null:Zt(new Date(r),t)},parse(e,t){return fr(e,t)},diff(e,t){if(e==null)return null;const r={day:0,hour:0,minute:0,second:0,millisecond:0,diff:0,toString:function(){let c="";return this.day>0&&(c+=this.day+"天"),this.hour>0&&(c+=this.hour+"小时"),this.minute>0&&(c+=this.minute+"分"),this.second>0&&(c+=this.second+"秒"),c}};let i=fr(e).getTime(),n=fr(t||new Date).getTime();if(isNaN(i))throw new Error(i?e:"invalid date");if(isNaN(i)&&t)throw new Error(e);const a=i-n;let s=Math.abs(Math.floor(a/1e3)),u=c=>{let o=Math.floor(s/c);return o>0&&(s-=o*c,s<0&&(s=0)),o};return r.day=u(86400),r.hour=u(3600),r.minute=u(60),r.second=s,r.millisecond=Math.abs(a%1e3),r.diff=a,r}},s0=me([84,85,86,52,65,51,66,51,67,49,68,48,69,49,70,49,71,57,72,57,73,52,74,48,75,54,76,48,77,49,78,51,79,49,80,51,81,49,82,84,87]),fo=s0.split("").filter(e=>!/\d/.test(e)),hn=new Array(14).fill(9,0,13).join(""),Fr=me([34,61,62,58,61,62,34]);function ho(e){return(e+"").length>hn.length?hn:e}function xo(e){let t=o0.decrypt(e);if(t===null)return null;t=[...t];let r=$e(t.pop())[1]+$e(t.pop())[1],i=ge(r)[0]*2;for(let _=0;_<t.length;_++)t[_]=je(t[_]-i);const n=ge(r[0])[0],a=ge(r[1])[0];let s=me(t),u=s.indexOf(Fr),c=u==-1?null:s.substring(u+Fr.length),o=(u!==-1?s.substring(0,u):s).split("");const l=Number(o[a]);if(isNaN(l))throw new Error("invalid key");let h=o.splice(a,l+1);if(a>o.length)throw new Error("invalid key");if(n>o.length)throw new Error("invalid key");let f=o.splice(n,l+1);f.shift(),h.shift(),f=f.join(""),h=h.join("");let p=Number(f+h);if(isNaN(p))throw new Error("invalid key");let x=null,g=null,m=null,C=null,b=null,y=[],v="";for(let _=0;_<o.length;_++){let k=o[_];k=="Y"?x=o[++_]+o[++_]+o[++_]+o[++_]:k=="M"?g=o[++_]+o[++_]:k=="D"?m=o[++_]+o[++_]:k=="H"?C=o[++_]+o[++_]:k=="I"?b=o[++_]+o[++_]:k=="-"?v=o[++_]+o[++_]:y.push(k)}let A=[x,"-",g,"-",m," ",C,":",b,":00"].join("");const E=new Date(A).getTime()+p*1e3;let w=Math.floor((E-Date.now())/1e3);y.push("-",x.slice(-2),g,m,C,b,"-",v);let F=s0.split(""),D="";for(let _=0;_<F.length;_++){let k=F[_];"1234567890".indexOf(k)!=-1&&(D+=k)}if(y.join("").indexOf(D)!=0)throw new Error("invalid key");let B=Object.prototype.toString.call(c).slice(8,-1)==="String";try{B&&(c=me(De.ECB(y.join(""),{}).decrypt(ge(c))))}catch(_){throw new Error("invalid key")}return{key:y.join(""),req:p,begin:A,end:po(E),enabled:w>0,diff:Math.abs(w),data:c&&JSON.parse(c)}}let po=e=>{let t=new Date(e),r=t.getFullYear(),i=t.getMonth()+1,n=t.getDate(),a=t.getHours(),s=t.getMinutes(),u=t.getSeconds();return r+"-"+(i<10?"0"+i:i)+"-"+(n<10?"0"+n:n)+" "+(a<10?"0"+a:a)+":"+(s<10?"0"+s:s)+":"+(u<10?"0"+u:u)};const vo={version:"1.0.10",readKey(e){let t=xo(e);return delete t.key,t},createKey(e,t){e=0,t=null;let r=[...arguments];if(r.length>0)if(r.length===1){let v=r.shift();Z(v)==="Number"?e=Math.max(0,v):t=v}else if(r.length===2){let v=r.shift(),A=r.shift();Z(v)==="Number"?(e=Math.max(0,v),t=A):Z(A)==="Number"?(e=Math.max(0,A),t=v):t=[v,A]}else{let v=r.shift();Z(v)==="Number"?(e=Math.max(0,v),t=r):t=[v,...r]}r.shift()&&(e=Number(e)),isNaN(e)&&(e=0);let n=s0.split("");const a=new Date,s=a.getFullYear()+"",u=(a.getMonth()+1<10?"0":"")+(a.getMonth()+1),c=(a.getDate()<10?"0":"")+a.getDate(),o=(a.getHours()<10?"0":"")+a.getHours(),l=(a.getMinutes()<10?"0":"")+a.getMinutes();let h=[...fo],f=["Y"+s,"M"+u,"D"+c,"H"+o,"I"+l];do{f=Pe(f);let v=f.shift();h=Pe(h);let A=h.shift();h=h.filter(w=>w!==v[0]),n[n.findIndex(w=>w===A)]=v;let E=v[0];n=n.filter(w=>w!==E)}while(f.length>0);n=n.filter(v=>!h.includes(v));let p=En(2,"1234567890abcdef"),x=ho(Number(Math.max(0,e||0).toFixed(0)))+"";x.length%2!=0&&(x="0"+x);const g=x.length/2,m=ge(p[0])[0],C=ge(p[1])[0];if(n.push("-"),n.push(p),n=n.join("").split(""),n.splice(Number(m),0,...g+""+x.substring(0,g)),n.splice(Number(C),0,...g+""+x.substring(g)),t!=null){t=JSON.stringify(t);let v=s0.replace(/[a-zA-z]/g,"")+"-"+(s.substring(2)+u+c+o+l)+"-"+p,A=t?De.ECB(v,{}).encrypt(ve(t)):[],E=$e(A);n.push(Fr),n.push(E)}let b=[...ve(n.join(""))],y=ge(p)[0]*2;for(let v=0;v<b.length;v++)b[v]=je(b[v]+y);return b.push(C,m),o0.encode(new Int8Array(b))}};class Ie{constructor(t){this.PromiseState="pending",this.PromiseResult=null,this.callbacks=[],this.finallys=[];const r=this;function i(s){r.finallys.forEach(u=>{try{u()}catch(c){}})}function n(s){r.PromiseState==="pending"&&(r.PromiseState="fulfilled",r.PromiseResult=s,setTimeout(()=>{try{r.callbacks.forEach(u=>u.onResolved(s))}finally{i()}},0))}function a(s){r.PromiseState==="pending"&&(r.PromiseState="rejected",r.PromiseResult=s,setTimeout(()=>{try{r.callbacks.forEach(u=>u.onRejected(s))}finally{i()}},0))}try{t(n,a)}catch(s){a(s)}}then(t,r){const i=this;return typeof r!="function"&&(r=n=>{throw n}),typeof t!="function"&&(t=n=>n),new Ie((n,a)=>{function s(u){try{let c=u(i.PromiseResult);c instanceof Ie||c instanceof Promise?c.then(o=>n(o),o=>a(o)):n(c)}catch(c){a(c)}}i.PromiseState==="fulfilled"&&setTimeout(()=>s(t),0),i.PromiseState==="rejected"&&setTimeout(()=>s(r),0),i.PromiseState==="pending"&&i.callbacks.push({onResolved:function(){s(t)},onRejected:function(){s(r)}})})}catch(t){return this.then(void 0,t)}finally(t){return this.then(r=>Ie.resolve(t?t():void 0).then(()=>r),r=>Ie.resolve(t?t():void 0).then(()=>{throw r}))}static resolve(t){return new Ie((r,i)=>{t instanceof Ie||t instanceof Promise?t.then(n=>r(n),n=>i(n)):r(t)})}static reject(t){return new Ie((r,i)=>i(t))}static all(t){return new Ie((r,i)=>{let n=0,a=[];const s=t.length;if(s===0){r(a);return}let u=(c,o)=>{n++,a[o]=c,n===s&&r(a)};for(let c=0;c<s;c++)t[c].then(o=>u(o,c),o=>i(o))})}static race(t){return new Ie((r,i)=>{for(let n=0;n<t.length;n++)t[n].then(a=>r(a),a=>i(a))})}static any(t){return new Ie((r,i)=>{let n=0;const a=t.length,s=[];if(a===0){i(new AggregateError([],"All promises were rejected"));return}for(let u=0;u<a;u++)t[u].then(c=>r(c),c=>{n++,s[u]=c,n===a&&i(new AggregateError(s,"All promises were rejected"))})})}}if(typeof AggregateError=="undefined"){class e extends Error{constructor(r,i){super(i),this.name="AggregateError",this.errors=r}}globalThis.AggregateError=e}var xn={author:"xiyuan-lgz",version:"1.0.28"};const Xe={writable:!1,enumerable:!1,configurable:!1},Yt="JsUtils",ba=(e=>{Qe(e,"KeyTool",re({value:vo},Xe)),Qe(e,"version",re({value:xn.version},Xe)),Qe(e,"author",re({value:xn.author},Xe)),Qe(e,"ThrottleRequest",re({value:Mn.ThrottleRequest},Xe)),Qe(e,"getNativeConsole",re({value:d1},Xe)),Qe(e,"Console",re({value:Tr},Xe)),e.DateUtils=ga,io(e),Object[Yt]===void 0&&Qe(Object,Yt,re({value:e},Xe)),typeof window!="undefined"&&!window[Yt]&&Qe(window,Yt,re({value:e},Xe));const t=Math;return e.disable_warning=i=>{e.__disable_warning__=!0,Object.defineProperty(t,"__disabled_rly__",{value:i||!0,enumerable:!1,writable:!0,configurable:!0})},Qe(e,"__tool__",re({value:{}},Xe)),e})(so);typeof Promise=="undefined"&&(globalThis.Promise=Ie);exports.AES=In;exports.Base64=o0;exports.Bytes=gn;exports.DateUtils=ga;exports.Hmac=Hn;exports.JsUtils=ba;exports.MD5=kn;exports.Regexps=e0;exports.SHA=l0;exports.TreeUtils=Nr;exports.default=ba;