adrift/frontend/public/dynamic/dynamic.worker.js
2023-08-15 19:44:33 -04:00

55 lines
242 KiB
JavaScript

"use strict";(()=>{var Jn=Object.create;var Et=Object.defineProperty;var e0=Object.getOwnPropertyDescriptor;var t0=Object.getOwnPropertyNames;var i0=Object.getPrototypeOf,r0=Object.prototype.hasOwnProperty;var a0=(e,t,i)=>t in e?Et(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var ta=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ia=(e,t)=>{for(var i in t)Et(e,i,{get:t[i],enumerable:!0})},s0=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of t0(t))!r0.call(e,a)&&a!==i&&Et(e,a,{get:()=>t[a],enumerable:!(r=e0(t,a))||r.enumerable});return e};var et=(e,t,i)=>(i=e!=null?Jn(i0(e)):{},s0(t||!e||!e.__esModule?Et(i,"default",{value:e,enumerable:!0}):i,e));var Bi=(e,t,i)=>(a0(e,typeof t!="symbol"?t+"":t,i),i);var Pi=M((Wo,aa)=>{"use strict";function be(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function ra(e,t){for(var i="",r=0,a=-1,s=0,o,n=0;n<=e.length;++n){if(n<e.length)o=e.charCodeAt(n);else{if(o===47)break;o=47}if(o===47){if(!(a===n-1||s===1))if(a!==n-1&&s===2){if(i.length<2||r!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){c===-1?(i="",r=0):(i=i.slice(0,c),r=i.length-1-i.lastIndexOf("/")),a=n,s=0;continue}}else if(i.length===2||i.length===1){i="",r=0,a=n,s=0;continue}}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(a+1,n):i=e.slice(a+1,n),r=n-a-1;a=n,s=0}else o===46&&s!==-1?++s:s=-1}return i}function n0(e,t){var i=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return i?i===t.root?i+r:i+e+r:r}var je={resolve:function(){for(var t="",i=!1,r,a=arguments.length-1;a>=-1&&!i;a--){var s;a>=0?s=arguments[a]:(r===void 0&&(r=process.cwd()),s=r),be(s),s.length!==0&&(t=s+"/"+t,i=s.charCodeAt(0)===47)}return t=ra(t,!i),i?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(be(t),t.length===0)return".";var i=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=ra(t,!i),t.length===0&&!i&&(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return be(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,i=0;i<arguments.length;++i){var r=arguments[i];be(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":je.normalize(t)},relative:function(t,i){if(be(t),be(i),t===i||(t=je.resolve(t),i=je.resolve(i),t===i))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var a=t.length,s=a-r,o=1;o<i.length&&i.charCodeAt(o)===47;++o);for(var n=i.length,c=n-o,l=s<c?s:c,u=-1,p=0;p<=l;++p){if(p===l){if(c>l){if(i.charCodeAt(o+p)===47)return i.slice(o+p+1);if(p===0)return i.slice(o+p)}else s>l&&(t.charCodeAt(r+p)===47?u=p:p===0&&(u=0));break}var h=t.charCodeAt(r+p),m=i.charCodeAt(o+p);if(h!==m)break;h===47&&(u=p)}var x="";for(p=r+u+1;p<=a;++p)(p===a||t.charCodeAt(p)===47)&&(x.length===0?x+="..":x+="/..");return x.length>0?x+i.slice(o+u):(o+=u,i.charCodeAt(o)===47&&++o,i.slice(o))},_makeLong:function(t){return t},dirname:function(t){if(be(t),t.length===0)return".";for(var i=t.charCodeAt(0),r=i===47,a=-1,s=!0,o=t.length-1;o>=1;--o)if(i=t.charCodeAt(o),i===47){if(!s){a=o;break}}else s=!1;return a===-1?r?"/":".":r&&a===1?"//":t.slice(0,a)},basename:function(t,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');be(t);var r=0,a=-1,s=!0,o;if(i!==void 0&&i.length>0&&i.length<=t.length){if(i.length===t.length&&i===t)return"";var n=i.length-1,c=-1;for(o=t.length-1;o>=0;--o){var l=t.charCodeAt(o);if(l===47){if(!s){r=o+1;break}}else c===-1&&(s=!1,c=o+1),n>=0&&(l===i.charCodeAt(n)?--n===-1&&(a=o):(n=-1,a=c))}return r===a?a=c:a===-1&&(a=t.length),t.slice(r,a)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!s){r=o+1;break}}else a===-1&&(s=!1,a=o+1);return a===-1?"":t.slice(r,a)}},extname:function(t){be(t);for(var i=-1,r=0,a=-1,s=!0,o=0,n=t.length-1;n>=0;--n){var c=t.charCodeAt(n);if(c===47){if(!s){r=n+1;break}continue}a===-1&&(s=!1,a=n+1),c===46?i===-1?i=n:o!==1&&(o=1):i!==-1&&(o=-1)}return i===-1||a===-1||o===0||o===1&&i===a-1&&i===r+1?"":t.slice(i,a)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return n0("/",t)},parse:function(t){be(t);var i={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return i;var r=t.charCodeAt(0),a=r===47,s;a?(i.root="/",s=1):s=0;for(var o=-1,n=0,c=-1,l=!0,u=t.length-1,p=0;u>=s;--u){if(r=t.charCodeAt(u),r===47){if(!l){n=u+1;break}continue}c===-1&&(l=!1,c=u+1),r===46?o===-1?o=u:p!==1&&(p=1):o!==-1&&(p=-1)}return o===-1||c===-1||p===0||p===1&&o===c-1&&o===n+1?c!==-1&&(n===0&&a?i.base=i.name=t.slice(1,c):i.base=i.name=t.slice(n,c)):(n===0&&a?(i.name=t.slice(1,o),i.base=t.slice(1,c)):(i.name=t.slice(n,o),i.base=t.slice(n,c)),i.ext=t.slice(o,c)),n>0?i.dir=t.slice(0,n-1):a&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};je.posix=je;aa.exports=je});var ns=M(er=>{"use strict";er.parse=vo;er.serialize=go;var mo=Object.prototype.toString,jt=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function vo(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var i={},r=t||{},a=r.decode||yo,s=0;s<e.length;){var o=e.indexOf("=",s);if(o===-1)break;var n=e.indexOf(";",s);if(n===-1)n=e.length;else if(n<o){s=e.lastIndexOf(";",o-1)+1;continue}var c=e.slice(s,o).trim();if(i[c]===void 0){var l=e.slice(o+1,n).trim();l.charCodeAt(0)===34&&(l=l.slice(1,-1)),i[c]=_o(l,a)}s=n+1}return i}function go(e,t,i){var r=i||{},a=r.encode||bo;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!jt.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!jt.test(s))throw new TypeError("argument val is invalid");var o=e+"="+s;if(r.maxAge!=null){var n=r.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(n)}if(r.domain){if(!jt.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!jt.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){var c=r.expires;if(!wo(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+c.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority){var l=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(l){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var u=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(u){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o}function yo(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function bo(e){return encodeURIComponent(e)}function wo(e){return mo.call(e)==="[object Date]"||e instanceof Date}function _o(e,t){try{return t(e)}catch{return e}}});var cs=M((uc,ut)=>{"use strict";var We={decodeValues:!0,map:!1,silent:!1};function tr(e){return typeof e=="string"&&!!e.trim()}function ir(e,t){var i=e.split(";").filter(tr),r=i.shift(),a=Co(r),s=a.name,o=a.value;t=t?Object.assign({},We,t):We;try{o=t.decodeValues?decodeURIComponent(o):o}catch(c){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+o+"'. Set options.decodeValues to false to disable this feature.",c)}var n={name:s,value:o};return i.forEach(function(c){var l=c.split("="),u=l.shift().trimLeft().toLowerCase(),p=l.join("=");u==="expires"?n.expires=new Date(p):u==="max-age"?n.maxAge=parseInt(p,10):u==="secure"?n.secure=!0:u==="httponly"?n.httpOnly=!0:u==="samesite"?n.sameSite=p:n[u]=p}),n}function Co(e){var t="",i="",r=e.split("=");return r.length>1?(t=r.shift(),i=r.join("=")):i=e,{name:t,value:i}}function os(e,t){if(t=t?Object.assign({},We,t):We,!e)return t.map?{}:[];if(e.headers)if(typeof e.headers.getSetCookie=="function")e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var i=e.headers[Object.keys(e.headers).find(function(a){return a.toLowerCase()==="set-cookie"})];!i&&e.headers.cookie&&!t.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=i}if(Array.isArray(e)||(e=[e]),t=t?Object.assign({},We,t):We,t.map){var r={};return e.filter(tr).reduce(function(a,s){var o=ir(s,t);return a[o.name]=o,a},r)}else return e.filter(tr).map(function(a){return ir(a,t)})}function ko(e){if(Array.isArray(e))return e;if(typeof e!="string")return[];var t=[],i=0,r,a,s,o,n;function c(){for(;i<e.length&&/\s/.test(e.charAt(i));)i+=1;return i<e.length}function l(){return a=e.charAt(i),a!=="="&&a!==";"&&a!==","}for(;i<e.length;){for(r=i,n=!1;c();)if(a=e.charAt(i),a===","){for(s=i,i+=1,c(),o=i;i<e.length&&l();)i+=1;i<e.length&&e.charAt(i)==="="?(n=!0,i=o,t.push(e.substring(r,s)),r=i):i=s+1}else i+=1;(!n||i>=e.length)&&t.push(e.substring(r,e.length))}return t}ut.exports=os;ut.exports.parse=os;ut.exports.parseString=ir;ut.exports.splitCookiesString=ko});var Ns=M(()=>{});var G=M((qt,Ls)=>{(function(e,t){typeof qt=="object"?Ls.exports=qt=t():typeof define=="function"&&define.amd?define([],t):e.CryptoJS=t()})(qt,function(){var e=e||function(t,i){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global<"u"&&global.crypto&&(r=global.crypto),!r&&typeof ta=="function")try{r=Ns()}catch{}var a=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function d(){}return function(v){var w;return d.prototype=v,w=new d,d.prototype=null,w}}(),o={},n=o.lib={},c=n.Base=function(){return{extend:function(d){var v=s(this);return d&&v.mixIn(d),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var v in d)d.hasOwnProperty(v)&&(this[v]=d[v]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=n.WordArray=c.extend({init:function(d,v){d=this.words=d||[],v!=i?this.sigBytes=v:this.sigBytes=d.length*4},toString:function(d){return(d||p).stringify(this)},concat:function(d){var v=this.words,w=d.words,g=this.sigBytes,C=d.sigBytes;if(this.clamp(),g%4)for(var _=0;_<C;_++){var I=w[_>>>2]>>>24-_%4*8&255;v[g+_>>>2]|=I<<24-(g+_)%4*8}else for(var B=0;B<C;B+=4)v[g+B>>>2]=w[B>>>2];return this.sigBytes+=C,this},clamp:function(){var d=this.words,v=this.sigBytes;d[v>>>2]&=4294967295<<32-v%4*8,d.length=t.ceil(v/4)},clone:function(){var d=c.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var v=[],w=0;w<d;w+=4)v.push(a());return new l.init(v,d)}}),u=o.enc={},p=u.Hex={stringify:function(d){for(var v=d.words,w=d.sigBytes,g=[],C=0;C<w;C++){var _=v[C>>>2]>>>24-C%4*8&255;g.push((_>>>4).toString(16)),g.push((_&15).toString(16))}return g.join("")},parse:function(d){for(var v=d.length,w=[],g=0;g<v;g+=2)w[g>>>3]|=parseInt(d.substr(g,2),16)<<24-g%8*4;return new l.init(w,v/2)}},h=u.Latin1={stringify:function(d){for(var v=d.words,w=d.sigBytes,g=[],C=0;C<w;C++){var _=v[C>>>2]>>>24-C%4*8&255;g.push(String.fromCharCode(_))}return g.join("")},parse:function(d){for(var v=d.length,w=[],g=0;g<v;g++)w[g>>>2]|=(d.charCodeAt(g)&255)<<24-g%4*8;return new l.init(w,v)}},m=u.Utf8={stringify:function(d){try{return decodeURIComponent(escape(h.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return h.parse(unescape(encodeURIComponent(d)))}},x=n.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=m.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var v,w=this._data,g=w.words,C=w.sigBytes,_=this.blockSize,I=_*4,B=C/I;d?B=t.ceil(B):B=t.max((B|0)-this._minBufferSize,0);var L=B*_,T=t.min(L*4,C);if(L){for(var k=0;k<L;k+=_)this._doProcessBlock(g,k);v=g.splice(0,L),w.sigBytes-=T}return new l.init(v,T)},clone:function(){var d=c.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0}),b=n.Hasher=x.extend({cfg:c.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){x.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var v=this._doFinalize();return v},blockSize:512/32,_createHelper:function(d){return function(v,w){return new d.init(w).finalize(v)}},_createHmacHelper:function(d){return function(v,w){return new y.HMAC.init(d,w).finalize(v)}}}),y=o.algo={};return o}(Math);return e})});var bt=M((Wt,Ds)=>{(function(e,t){typeof Wt=="object"?Ds.exports=Wt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Wt,function(e){return function(t){var i=e,r=i.lib,a=r.Base,s=r.WordArray,o=i.x64={},n=o.Word=a.extend({init:function(l,u){this.high=l,this.low=u}}),c=o.WordArray=a.extend({init:function(l,u){l=this.words=l||[],u!=t?this.sigBytes=u:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,u=l.length,p=[],h=0;h<u;h++){var m=l[h];p.push(m.high),p.push(m.low)}return s.create(p,this.sigBytes)},clone:function(){for(var l=a.clone.call(this),u=l.words=this.words.slice(0),p=u.length,h=0;h<p;h++)u[h]=u[h].clone();return l}})}(),e})});var Os=M((zt,Ts)=>{(function(e,t){typeof zt=="object"?Ts.exports=zt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(zt,function(e){return function(){if(typeof ArrayBuffer=="function"){var t=e,i=t.lib,r=i.WordArray,a=r.init,s=r.init=function(o){if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||typeof Uint8ClampedArray<"u"&&o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var n=o.byteLength,c=[],l=0;l<n;l++)c[l>>>2]|=o[l]<<24-l%4*8;a.call(this,c,n)}else a.apply(this,arguments)};s.prototype=r}}(),e.lib.WordArray})});var Fs=M(($t,Vs)=>{(function(e,t){typeof $t=="object"?Vs.exports=$t=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})($t,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=t.enc,s=a.Utf16=a.Utf16BE={stringify:function(n){for(var c=n.words,l=n.sigBytes,u=[],p=0;p<l;p+=2){var h=c[p>>>2]>>>16-p%4*8&65535;u.push(String.fromCharCode(h))}return u.join("")},parse:function(n){for(var c=n.length,l=[],u=0;u<c;u++)l[u>>>1]|=n.charCodeAt(u)<<16-u%2*16;return r.create(l,c*2)}};a.Utf16LE={stringify:function(n){for(var c=n.words,l=n.sigBytes,u=[],p=0;p<l;p+=2){var h=o(c[p>>>2]>>>16-p%4*8&65535);u.push(String.fromCharCode(h))}return u.join("")},parse:function(n){for(var c=n.length,l=[],u=0;u<c;u++)l[u>>>1]|=o(n.charCodeAt(u)<<16-u%2*16);return r.create(l,c*2)}};function o(n){return n<<8&4278255360|n>>>8&16711935}}(),e.enc.Utf16})});var De=M((Gt,js)=>{(function(e,t){typeof Gt=="object"?js.exports=Gt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Gt,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=t.enc,s=a.Base64={stringify:function(n){var c=n.words,l=n.sigBytes,u=this._map;n.clamp();for(var p=[],h=0;h<l;h+=3)for(var m=c[h>>>2]>>>24-h%4*8&255,x=c[h+1>>>2]>>>24-(h+1)%4*8&255,b=c[h+2>>>2]>>>24-(h+2)%4*8&255,y=m<<16|x<<8|b,d=0;d<4&&h+d*.75<l;d++)p.push(u.charAt(y>>>6*(3-d)&63));var v=u.charAt(64);if(v)for(;p.length%4;)p.push(v);return p.join("")},parse:function(n){var c=n.length,l=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var p=0;p<l.length;p++)u[l.charCodeAt(p)]=p}var h=l.charAt(64);if(h){var m=n.indexOf(h);m!==-1&&(c=m)}return o(n,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(n,c,l){for(var u=[],p=0,h=0;h<c;h++)if(h%4){var m=l[n.charCodeAt(h-1)]<<h%4*2,x=l[n.charCodeAt(h)]>>>6-h%4*2,b=m|x;u[p>>>2]|=b<<24-p%4*8,p++}return r.create(u,p)}}(),e.enc.Base64})});var Ms=M((Kt,Hs)=>{(function(e,t){typeof Kt=="object"?Hs.exports=Kt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Kt,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=t.enc,s=a.Base64url={stringify:function(n,c=!0){var l=n.words,u=n.sigBytes,p=c?this._safe_map:this._map;n.clamp();for(var h=[],m=0;m<u;m+=3)for(var x=l[m>>>2]>>>24-m%4*8&255,b=l[m+1>>>2]>>>24-(m+1)%4*8&255,y=l[m+2>>>2]>>>24-(m+2)%4*8&255,d=x<<16|b<<8|y,v=0;v<4&&m+v*.75<u;v++)h.push(p.charAt(d>>>6*(3-v)&63));var w=p.charAt(64);if(w)for(;h.length%4;)h.push(w);return h.join("")},parse:function(n,c=!0){var l=n.length,u=c?this._safe_map:this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var h=0;h<u.length;h++)p[u.charCodeAt(h)]=h}var m=u.charAt(64);if(m){var x=n.indexOf(m);x!==-1&&(l=x)}return o(n,l,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(n,c,l){for(var u=[],p=0,h=0;h<c;h++)if(h%4){var m=l[n.charCodeAt(h-1)]<<h%4*2,x=l[n.charCodeAt(h)]>>>6-h%4*2,b=m|x;u[p>>>2]|=b<<24-p%4*8,p++}return r.create(u,p)}}(),e.enc.Base64url})});var Te=M((Xt,Us)=>{(function(e,t){typeof Xt=="object"?Us.exports=Xt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Xt,function(e){return function(t){var i=e,r=i.lib,a=r.WordArray,s=r.Hasher,o=i.algo,n=[];(function(){for(var m=0;m<64;m++)n[m]=t.abs(t.sin(m+1))*4294967296|0})();var c=o.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,x){for(var b=0;b<16;b++){var y=x+b,d=m[y];m[y]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360}var v=this._hash.words,w=m[x+0],g=m[x+1],C=m[x+2],_=m[x+3],I=m[x+4],B=m[x+5],L=m[x+6],T=m[x+7],k=m[x+8],N=m[x+9],D=m[x+10],R=m[x+11],j=m[x+12],F=m[x+13],U=m[x+14],z=m[x+15],S=v[0],A=v[1],P=v[2],E=v[3];S=l(S,A,P,E,w,7,n[0]),E=l(E,S,A,P,g,12,n[1]),P=l(P,E,S,A,C,17,n[2]),A=l(A,P,E,S,_,22,n[3]),S=l(S,A,P,E,I,7,n[4]),E=l(E,S,A,P,B,12,n[5]),P=l(P,E,S,A,L,17,n[6]),A=l(A,P,E,S,T,22,n[7]),S=l(S,A,P,E,k,7,n[8]),E=l(E,S,A,P,N,12,n[9]),P=l(P,E,S,A,D,17,n[10]),A=l(A,P,E,S,R,22,n[11]),S=l(S,A,P,E,j,7,n[12]),E=l(E,S,A,P,F,12,n[13]),P=l(P,E,S,A,U,17,n[14]),A=l(A,P,E,S,z,22,n[15]),S=u(S,A,P,E,g,5,n[16]),E=u(E,S,A,P,L,9,n[17]),P=u(P,E,S,A,R,14,n[18]),A=u(A,P,E,S,w,20,n[19]),S=u(S,A,P,E,B,5,n[20]),E=u(E,S,A,P,D,9,n[21]),P=u(P,E,S,A,z,14,n[22]),A=u(A,P,E,S,I,20,n[23]),S=u(S,A,P,E,N,5,n[24]),E=u(E,S,A,P,U,9,n[25]),P=u(P,E,S,A,_,14,n[26]),A=u(A,P,E,S,k,20,n[27]),S=u(S,A,P,E,F,5,n[28]),E=u(E,S,A,P,C,9,n[29]),P=u(P,E,S,A,T,14,n[30]),A=u(A,P,E,S,j,20,n[31]),S=p(S,A,P,E,B,4,n[32]),E=p(E,S,A,P,k,11,n[33]),P=p(P,E,S,A,R,16,n[34]),A=p(A,P,E,S,U,23,n[35]),S=p(S,A,P,E,g,4,n[36]),E=p(E,S,A,P,I,11,n[37]),P=p(P,E,S,A,T,16,n[38]),A=p(A,P,E,S,D,23,n[39]),S=p(S,A,P,E,F,4,n[40]),E=p(E,S,A,P,w,11,n[41]),P=p(P,E,S,A,_,16,n[42]),A=p(A,P,E,S,L,23,n[43]),S=p(S,A,P,E,N,4,n[44]),E=p(E,S,A,P,j,11,n[45]),P=p(P,E,S,A,z,16,n[46]),A=p(A,P,E,S,C,23,n[47]),S=h(S,A,P,E,w,6,n[48]),E=h(E,S,A,P,T,10,n[49]),P=h(P,E,S,A,U,15,n[50]),A=h(A,P,E,S,B,21,n[51]),S=h(S,A,P,E,j,6,n[52]),E=h(E,S,A,P,_,10,n[53]),P=h(P,E,S,A,D,15,n[54]),A=h(A,P,E,S,g,21,n[55]),S=h(S,A,P,E,k,6,n[56]),E=h(E,S,A,P,z,10,n[57]),P=h(P,E,S,A,L,15,n[58]),A=h(A,P,E,S,F,21,n[59]),S=h(S,A,P,E,I,6,n[60]),E=h(E,S,A,P,R,10,n[61]),P=h(P,E,S,A,C,15,n[62]),A=h(A,P,E,S,N,21,n[63]),v[0]=v[0]+S|0,v[1]=v[1]+A|0,v[2]=v[2]+P|0,v[3]=v[3]+E|0},_doFinalize:function(){var m=this._data,x=m.words,b=this._nDataBytes*8,y=m.sigBytes*8;x[y>>>5]|=128<<24-y%32;var d=t.floor(b/4294967296),v=b;x[(y+64>>>9<<4)+15]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,x[(y+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m.sigBytes=(x.length+1)*4,this._process();for(var w=this._hash,g=w.words,C=0;C<4;C++){var _=g[C];g[C]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return w},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});function l(m,x,b,y,d,v,w){var g=m+(x&b|~x&y)+d+w;return(g<<v|g>>>32-v)+x}function u(m,x,b,y,d,v,w){var g=m+(x&y|b&~y)+d+w;return(g<<v|g>>>32-v)+x}function p(m,x,b,y,d,v,w){var g=m+(x^b^y)+d+w;return(g<<v|g>>>32-v)+x}function h(m,x,b,y,d,v,w){var g=m+(b^(x|~y))+d+w;return(g<<v|g>>>32-v)+x}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)}(Math),e.MD5})});var Yt=M((Qt,qs)=>{(function(e,t){typeof Qt=="object"?qs.exports=Qt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Qt,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=i.Hasher,s=t.algo,o=[],n=s.SHA1=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,l){for(var u=this._hash.words,p=u[0],h=u[1],m=u[2],x=u[3],b=u[4],y=0;y<80;y++){if(y<16)o[y]=c[l+y]|0;else{var d=o[y-3]^o[y-8]^o[y-14]^o[y-16];o[y]=d<<1|d>>>31}var v=(p<<5|p>>>27)+b+o[y];y<20?v+=(h&m|~h&x)+1518500249:y<40?v+=(h^m^x)+1859775393:y<60?v+=(h&m|h&x|m&x)-1894007588:v+=(h^m^x)-899497514,b=x,x=m,m=h<<30|h>>>2,h=p,p=v}u[0]=u[0]+p|0,u[1]=u[1]+h|0,u[2]=u[2]+m|0,u[3]=u[3]+x|0,u[4]=u[4]+b|0},_doFinalize:function(){var c=this._data,l=c.words,u=this._nDataBytes*8,p=c.sigBytes*8;return l[p>>>5]|=128<<24-p%32,l[(p+64>>>9<<4)+14]=Math.floor(u/4294967296),l[(p+64>>>9<<4)+15]=u,c.sigBytes=l.length*4,this._process(),this._hash},clone:function(){var c=a.clone.call(this);return c._hash=this._hash.clone(),c}});t.SHA1=a._createHelper(n),t.HmacSHA1=a._createHmacHelper(n)}(),e.SHA1})});var Hr=M((Zt,Ws)=>{(function(e,t){typeof Zt=="object"?Ws.exports=Zt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Zt,function(e){return function(t){var i=e,r=i.lib,a=r.WordArray,s=r.Hasher,o=i.algo,n=[],c=[];(function(){function p(b){for(var y=t.sqrt(b),d=2;d<=y;d++)if(!(b%d))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var m=2,x=0;x<64;)p(m)&&(x<8&&(n[x]=h(t.pow(m,1/2))),c[x]=h(t.pow(m,1/3)),x++),m++})();var l=[],u=o.SHA256=s.extend({_doReset:function(){this._hash=new a.init(n.slice(0))},_doProcessBlock:function(p,h){for(var m=this._hash.words,x=m[0],b=m[1],y=m[2],d=m[3],v=m[4],w=m[5],g=m[6],C=m[7],_=0;_<64;_++){if(_<16)l[_]=p[h+_]|0;else{var I=l[_-15],B=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,L=l[_-2],T=(L<<15|L>>>17)^(L<<13|L>>>19)^L>>>10;l[_]=B+l[_-7]+T+l[_-16]}var k=v&w^~v&g,N=x&b^x&y^b&y,D=(x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22),R=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),j=C+R+k+c[_]+l[_],F=D+N;C=g,g=w,w=v,v=d+j|0,d=y,y=b,b=x,x=j+F|0}m[0]=m[0]+x|0,m[1]=m[1]+b|0,m[2]=m[2]+y|0,m[3]=m[3]+d|0,m[4]=m[4]+v|0,m[5]=m[5]+w|0,m[6]=m[6]+g|0,m[7]=m[7]+C|0},_doFinalize:function(){var p=this._data,h=p.words,m=this._nDataBytes*8,x=p.sigBytes*8;return h[x>>>5]|=128<<24-x%32,h[(x+64>>>9<<4)+14]=t.floor(m/4294967296),h[(x+64>>>9<<4)+15]=m,p.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});i.SHA256=s._createHelper(u),i.HmacSHA256=s._createHmacHelper(u)}(Math),e.SHA256})});var $s=M((Jt,zs)=>{(function(e,t,i){typeof Jt=="object"?zs.exports=Jt=t(G(),Hr()):typeof define=="function"&&define.amd?define(["./core","./sha256"],t):t(e.CryptoJS)})(Jt,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=t.algo,s=a.SHA256,o=a.SHA224=s.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var n=s._doFinalize.call(this);return n.sigBytes-=4,n}});t.SHA224=s._createHelper(o),t.HmacSHA224=s._createHmacHelper(o)}(),e.SHA224})});var Mr=M((ei,Gs)=>{(function(e,t,i){typeof ei=="object"?Gs.exports=ei=t(G(),bt()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(ei,function(e){return function(){var t=e,i=t.lib,r=i.Hasher,a=t.x64,s=a.Word,o=a.WordArray,n=t.algo;function c(){return s.create.apply(s,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var h=0;h<80;h++)u[h]=c()})();var p=n.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(h,m){for(var x=this._hash.words,b=x[0],y=x[1],d=x[2],v=x[3],w=x[4],g=x[5],C=x[6],_=x[7],I=b.high,B=b.low,L=y.high,T=y.low,k=d.high,N=d.low,D=v.high,R=v.low,j=w.high,F=w.low,U=g.high,z=g.low,S=C.high,A=C.low,P=_.high,E=_.low,Q=I,X=B,re=L,q=T,Ge=k,Oe=N,Ei=D,Ke=R,me=j,ne=F,Ct=U,Xe=z,kt=S,Qe=A,Ai=P,Ye=E,ve=0;ve<80;ve++){var ce,Ae,St=u[ve];if(ve<16)Ae=St.high=h[m+ve*2]|0,ce=St.low=h[m+ve*2+1]|0;else{var qr=u[ve-15],Ve=qr.high,Ze=qr.low,Hn=(Ve>>>1|Ze<<31)^(Ve>>>8|Ze<<24)^Ve>>>7,Wr=(Ze>>>1|Ve<<31)^(Ze>>>8|Ve<<24)^(Ze>>>7|Ve<<25),zr=u[ve-2],Fe=zr.high,Je=zr.low,Mn=(Fe>>>19|Je<<13)^(Fe<<3|Je>>>29)^Fe>>>6,$r=(Je>>>19|Fe<<13)^(Je<<3|Fe>>>29)^(Je>>>6|Fe<<26),Gr=u[ve-7],Un=Gr.high,qn=Gr.low,Kr=u[ve-16],Wn=Kr.high,Xr=Kr.low;ce=Wr+qn,Ae=Hn+Un+(ce>>>0<Wr>>>0?1:0),ce=ce+$r,Ae=Ae+Mn+(ce>>>0<$r>>>0?1:0),ce=ce+Xr,Ae=Ae+Wn+(ce>>>0<Xr>>>0?1:0),St.high=Ae,St.low=ce}var zn=me&Ct^~me&kt,Qr=ne&Xe^~ne&Qe,$n=Q&re^Q&Ge^re&Ge,Gn=X&q^X&Oe^q&Oe,Kn=(Q>>>28|X<<4)^(Q<<30|X>>>2)^(Q<<25|X>>>7),Yr=(X>>>28|Q<<4)^(X<<30|Q>>>2)^(X<<25|Q>>>7),Xn=(me>>>14|ne<<18)^(me>>>18|ne<<14)^(me<<23|ne>>>9),Qn=(ne>>>14|me<<18)^(ne>>>18|me<<14)^(ne<<23|me>>>9),Zr=l[ve],Yn=Zr.high,Jr=Zr.low,oe=Ye+Qn,Be=Ai+Xn+(oe>>>0<Ye>>>0?1:0),oe=oe+Qr,Be=Be+zn+(oe>>>0<Qr>>>0?1:0),oe=oe+Jr,Be=Be+Yn+(oe>>>0<Jr>>>0?1:0),oe=oe+ce,Be=Be+Ae+(oe>>>0<ce>>>0?1:0),ea=Yr+Gn,Zn=Kn+$n+(ea>>>0<Yr>>>0?1:0);Ai=kt,Ye=Qe,kt=Ct,Qe=Xe,Ct=me,Xe=ne,ne=Ke+oe|0,me=Ei+Be+(ne>>>0<Ke>>>0?1:0)|0,Ei=Ge,Ke=Oe,Ge=re,Oe=q,re=Q,q=X,X=oe+ea|0,Q=Be+Zn+(X>>>0<oe>>>0?1:0)|0}B=b.low=B+X,b.high=I+Q+(B>>>0<X>>>0?1:0),T=y.low=T+q,y.high=L+re+(T>>>0<q>>>0?1:0),N=d.low=N+Oe,d.high=k+Ge+(N>>>0<Oe>>>0?1:0),R=v.low=R+Ke,v.high=D+Ei+(R>>>0<Ke>>>0?1:0),F=w.low=F+ne,w.high=j+me+(F>>>0<ne>>>0?1:0),z=g.low=z+Xe,g.high=U+Ct+(z>>>0<Xe>>>0?1:0),A=C.low=A+Qe,C.high=S+kt+(A>>>0<Qe>>>0?1:0),E=_.low=E+Ye,_.high=P+Ai+(E>>>0<Ye>>>0?1:0)},_doFinalize:function(){var h=this._data,m=h.words,x=this._nDataBytes*8,b=h.sigBytes*8;m[b>>>5]|=128<<24-b%32,m[(b+128>>>10<<5)+30]=Math.floor(x/4294967296),m[(b+128>>>10<<5)+31]=x,h.sigBytes=m.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var h=r.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});t.SHA512=r._createHelper(p),t.HmacSHA512=r._createHmacHelper(p)}(),e.SHA512})});var Xs=M((ti,Ks)=>{(function(e,t,i){typeof ti=="object"?Ks.exports=ti=t(G(),bt(),Mr()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],t):t(e.CryptoJS)})(ti,function(e){return function(){var t=e,i=t.x64,r=i.Word,a=i.WordArray,s=t.algo,o=s.SHA512,n=s.SHA384=o.extend({_doReset:function(){this._hash=new a.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var c=o._doFinalize.call(this);return c.sigBytes-=16,c}});t.SHA384=o._createHelper(n),t.HmacSHA384=o._createHmacHelper(n)}(),e.SHA384})});var Ys=M((ii,Qs)=>{(function(e,t,i){typeof ii=="object"?Qs.exports=ii=t(G(),bt()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(ii,function(e){return function(t){var i=e,r=i.lib,a=r.WordArray,s=r.Hasher,o=i.x64,n=o.Word,c=i.algo,l=[],u=[],p=[];(function(){for(var x=1,b=0,y=0;y<24;y++){l[x+5*b]=(y+1)*(y+2)/2%64;var d=b%5,v=(2*x+3*b)%5;x=d,b=v}for(var x=0;x<5;x++)for(var b=0;b<5;b++)u[x+5*b]=b+(2*x+3*b)%5*5;for(var w=1,g=0;g<24;g++){for(var C=0,_=0,I=0;I<7;I++){if(w&1){var B=(1<<I)-1;B<32?_^=1<<B:C^=1<<B-32}w&128?w=w<<1^113:w<<=1}p[g]=n.create(C,_)}})();var h=[];(function(){for(var x=0;x<25;x++)h[x]=n.create()})();var m=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var x=this._state=[],b=0;b<25;b++)x[b]=new n.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(x,b){for(var y=this._state,d=this.blockSize/2,v=0;v<d;v++){var w=x[b+2*v],g=x[b+2*v+1];w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360;var C=y[v];C.high^=g,C.low^=w}for(var _=0;_<24;_++){for(var I=0;I<5;I++){for(var B=0,L=0,T=0;T<5;T++){var C=y[I+5*T];B^=C.high,L^=C.low}var k=h[I];k.high=B,k.low=L}for(var I=0;I<5;I++)for(var N=h[(I+4)%5],D=h[(I+1)%5],R=D.high,j=D.low,B=N.high^(R<<1|j>>>31),L=N.low^(j<<1|R>>>31),T=0;T<5;T++){var C=y[I+5*T];C.high^=B,C.low^=L}for(var F=1;F<25;F++){var B,L,C=y[F],U=C.high,z=C.low,S=l[F];S<32?(B=U<<S|z>>>32-S,L=z<<S|U>>>32-S):(B=z<<S-32|U>>>64-S,L=U<<S-32|z>>>64-S);var A=h[u[F]];A.high=B,A.low=L}var P=h[0],E=y[0];P.high=E.high,P.low=E.low;for(var I=0;I<5;I++)for(var T=0;T<5;T++){var F=I+5*T,C=y[F],Q=h[F],X=h[(I+1)%5+5*T],re=h[(I+2)%5+5*T];C.high=Q.high^~X.high&re.high,C.low=Q.low^~X.low&re.low}var C=y[0],q=p[_];C.high^=q.high,C.low^=q.low}},_doFinalize:function(){var x=this._data,b=x.words,y=this._nDataBytes*8,d=x.sigBytes*8,v=this.blockSize*32;b[d>>>5]|=1<<24-d%32,b[(t.ceil((d+1)/v)*v>>>5)-1]|=128,x.sigBytes=b.length*4,this._process();for(var w=this._state,g=this.cfg.outputLength/8,C=g/8,_=[],I=0;I<C;I++){var B=w[I],L=B.high,T=B.low;L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,_.push(T),_.push(L)}return new a.init(_,g)},clone:function(){for(var x=s.clone.call(this),b=x._state=this._state.slice(0),y=0;y<25;y++)b[y]=b[y].clone();return x}});i.SHA3=s._createHelper(m),i.HmacSHA3=s._createHmacHelper(m)}(Math),e.SHA3})});var Js=M((ri,Zs)=>{(function(e,t){typeof ri=="object"?Zs.exports=ri=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ri,function(e){return function(t){var i=e,r=i.lib,a=r.WordArray,s=r.Hasher,o=i.algo,n=a.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=a.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]),l=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=a.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=a.create([0,1518500249,1859775393,2400959708,2840853838]),h=a.create([1352829926,1548603684,1836072691,2053994217,0]),m=o.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(g,C){for(var _=0;_<16;_++){var I=C+_,B=g[I];g[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}var L=this._hash.words,T=p.words,k=h.words,N=n.words,D=c.words,R=l.words,j=u.words,F,U,z,S,A,P,E,Q,X,re;P=F=L[0],E=U=L[1],Q=z=L[2],X=S=L[3],re=A=L[4];for(var q,_=0;_<80;_+=1)q=F+g[C+N[_]]|0,_<16?q+=x(U,z,S)+T[0]:_<32?q+=b(U,z,S)+T[1]:_<48?q+=y(U,z,S)+T[2]:_<64?q+=d(U,z,S)+T[3]:q+=v(U,z,S)+T[4],q=q|0,q=w(q,R[_]),q=q+A|0,F=A,A=S,S=w(z,10),z=U,U=q,q=P+g[C+D[_]]|0,_<16?q+=v(E,Q,X)+k[0]:_<32?q+=d(E,Q,X)+k[1]:_<48?q+=y(E,Q,X)+k[2]:_<64?q+=b(E,Q,X)+k[3]:q+=x(E,Q,X)+k[4],q=q|0,q=w(q,j[_]),q=q+re|0,P=re,re=X,X=w(Q,10),Q=E,E=q;q=L[1]+z+X|0,L[1]=L[2]+S+re|0,L[2]=L[3]+A+P|0,L[3]=L[4]+F+E|0,L[4]=L[0]+U+Q|0,L[0]=q},_doFinalize:function(){var g=this._data,C=g.words,_=this._nDataBytes*8,I=g.sigBytes*8;C[I>>>5]|=128<<24-I%32,C[(I+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,g.sigBytes=(C.length+1)*4,this._process();for(var B=this._hash,L=B.words,T=0;T<5;T++){var k=L[T];L[T]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return B},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});function x(g,C,_){return g^C^_}function b(g,C,_){return g&C|~g&_}function y(g,C,_){return(g|~C)^_}function d(g,C,_){return g&_|C&~_}function v(g,C,_){return g^(C|~_)}function w(g,C){return g<<C|g>>>32-C}i.RIPEMD160=s._createHelper(m),i.HmacRIPEMD160=s._createHmacHelper(m)}(Math),e.RIPEMD160})});var si=M((ai,en)=>{(function(e,t){typeof ai=="object"?en.exports=ai=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ai,function(e){(function(){var t=e,i=t.lib,r=i.Base,a=t.enc,s=a.Utf8,o=t.algo,n=o.HMAC=r.extend({init:function(c,l){c=this._hasher=new c.init,typeof l=="string"&&(l=s.parse(l));var u=c.blockSize,p=u*4;l.sigBytes>p&&(l=c.finalize(l)),l.clamp();for(var h=this._oKey=l.clone(),m=this._iKey=l.clone(),x=h.words,b=m.words,y=0;y<u;y++)x[y]^=1549556828,b[y]^=909522486;h.sigBytes=m.sigBytes=p,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var l=this._hasher,u=l.finalize(c);l.reset();var p=l.finalize(this._oKey.clone().concat(u));return p}})})()})});var rn=M((ni,tn)=>{(function(e,t,i){typeof ni=="object"?tn.exports=ni=t(G(),Yt(),si()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(ni,function(e){return function(){var t=e,i=t.lib,r=i.Base,a=i.WordArray,s=t.algo,o=s.SHA1,n=s.HMAC,c=s.PBKDF2=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,u){for(var p=this.cfg,h=n.create(p.hasher,l),m=a.create(),x=a.create([1]),b=m.words,y=x.words,d=p.keySize,v=p.iterations;b.length<d;){var w=h.update(u).finalize(x);h.reset();for(var g=w.words,C=g.length,_=w,I=1;I<v;I++){_=h.finalize(_),h.reset();for(var B=_.words,L=0;L<C;L++)g[L]^=B[L]}m.concat(w),y[0]++}return m.sigBytes=d*4,m}});t.PBKDF2=function(l,u,p){return c.create(p).compute(l,u)}}(),e.PBKDF2})});var Le=M((oi,an)=>{(function(e,t,i){typeof oi=="object"?an.exports=oi=t(G(),Yt(),si()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(oi,function(e){return function(){var t=e,i=t.lib,r=i.Base,a=i.WordArray,s=t.algo,o=s.MD5,n=s.EvpKDF=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,l){for(var u,p=this.cfg,h=p.hasher.create(),m=a.create(),x=m.words,b=p.keySize,y=p.iterations;x.length<b;){u&&h.update(u),u=h.update(c).finalize(l),h.reset();for(var d=1;d<y;d++)u=h.finalize(u),h.reset();m.concat(u)}return m.sigBytes=b*4,m}});t.EvpKDF=function(c,l,u){return n.create(u).compute(c,l)}}(),e.EvpKDF})});var J=M((ci,sn)=>{(function(e,t,i){typeof ci=="object"?sn.exports=ci=t(G(),Le()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],t):t(e.CryptoJS)})(ci,function(e){e.lib.Cipher||function(t){var i=e,r=i.lib,a=r.Base,s=r.WordArray,o=r.BufferedBlockAlgorithm,n=i.enc,c=n.Utf8,l=n.Base64,u=i.algo,p=u.EvpKDF,h=r.Cipher=o.extend({cfg:a.extend(),createEncryptor:function(k,N){return this.create(this._ENC_XFORM_MODE,k,N)},createDecryptor:function(k,N){return this.create(this._DEC_XFORM_MODE,k,N)},init:function(k,N,D){this.cfg=this.cfg.extend(D),this._xformMode=k,this._key=N,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(k){return this._append(k),this._process()},finalize:function(k){k&&this._append(k);var N=this._doFinalize();return N},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function k(N){return typeof N=="string"?T:I}return function(N){return{encrypt:function(D,R,j){return k(R).encrypt(N,D,R,j)},decrypt:function(D,R,j){return k(R).decrypt(N,D,R,j)}}}}()}),m=r.StreamCipher=h.extend({_doFinalize:function(){var k=this._process(!0);return k},blockSize:1}),x=i.mode={},b=r.BlockCipherMode=a.extend({createEncryptor:function(k,N){return this.Encryptor.create(k,N)},createDecryptor:function(k,N){return this.Decryptor.create(k,N)},init:function(k,N){this._cipher=k,this._iv=N}}),y=x.CBC=function(){var k=b.extend();k.Encryptor=k.extend({processBlock:function(D,R){var j=this._cipher,F=j.blockSize;N.call(this,D,R,F),j.encryptBlock(D,R),this._prevBlock=D.slice(R,R+F)}}),k.Decryptor=k.extend({processBlock:function(D,R){var j=this._cipher,F=j.blockSize,U=D.slice(R,R+F);j.decryptBlock(D,R),N.call(this,D,R,F),this._prevBlock=U}});function N(D,R,j){var F,U=this._iv;U?(F=U,this._iv=t):F=this._prevBlock;for(var z=0;z<j;z++)D[R+z]^=F[z]}return k}(),d=i.pad={},v=d.Pkcs7={pad:function(k,N){for(var D=N*4,R=D-k.sigBytes%D,j=R<<24|R<<16|R<<8|R,F=[],U=0;U<R;U+=4)F.push(j);var z=s.create(F,R);k.concat(z)},unpad:function(k){var N=k.words[k.sigBytes-1>>>2]&255;k.sigBytes-=N}},w=r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:y,padding:v}),reset:function(){var k;h.reset.call(this);var N=this.cfg,D=N.iv,R=N.mode;this._xformMode==this._ENC_XFORM_MODE?k=R.createEncryptor:(k=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,D&&D.words):(this._mode=k.call(R,this,D&&D.words),this._mode.__creator=k)},_doProcessBlock:function(k,N){this._mode.processBlock(k,N)},_doFinalize:function(){var k,N=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(N.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),N.unpad(k)),k},blockSize:128/32}),g=r.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),C=i.format={},_=C.OpenSSL={stringify:function(k){var N,D=k.ciphertext,R=k.salt;return R?N=s.create([1398893684,1701076831]).concat(R).concat(D):N=D,N.toString(l)},parse:function(k){var N,D=l.parse(k),R=D.words;return R[0]==1398893684&&R[1]==1701076831&&(N=s.create(R.slice(2,4)),R.splice(0,4),D.sigBytes-=16),g.create({ciphertext:D,salt:N})}},I=r.SerializableCipher=a.extend({cfg:a.extend({format:_}),encrypt:function(k,N,D,R){R=this.cfg.extend(R);var j=k.createEncryptor(D,R),F=j.finalize(N),U=j.cfg;return g.create({ciphertext:F,key:D,iv:U.iv,algorithm:k,mode:U.mode,padding:U.padding,blockSize:k.blockSize,formatter:R.format})},decrypt:function(k,N,D,R){R=this.cfg.extend(R),N=this._parse(N,R.format);var j=k.createDecryptor(D,R).finalize(N.ciphertext);return j},_parse:function(k,N){return typeof k=="string"?N.parse(k,this):k}}),B=i.kdf={},L=B.OpenSSL={execute:function(k,N,D,R){R||(R=s.random(64/8));var j=p.create({keySize:N+D}).compute(k,R),F=s.create(j.words.slice(N),D*4);return j.sigBytes=N*4,g.create({key:j,iv:F,salt:R})}},T=r.PasswordBasedCipher=I.extend({cfg:I.cfg.extend({kdf:L}),encrypt:function(k,N,D,R){R=this.cfg.extend(R);var j=R.kdf.execute(D,k.keySize,k.ivSize);R.iv=j.iv;var F=I.encrypt.call(this,k,N,j.key,R);return F.mixIn(j),F},decrypt:function(k,N,D,R){R=this.cfg.extend(R),N=this._parse(N,R.format);var j=R.kdf.execute(D,k.keySize,k.ivSize,N.salt);R.iv=j.iv;var F=I.decrypt.call(this,k,N,j.key,R);return F}})}()})});var on=M((ui,nn)=>{(function(e,t,i){typeof ui=="object"?nn.exports=ui=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(ui,function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,a){var s=this._cipher,o=s.blockSize;i.call(this,r,a,o,s),this._prevBlock=r.slice(a,a+o)}}),t.Decryptor=t.extend({processBlock:function(r,a){var s=this._cipher,o=s.blockSize,n=r.slice(a,a+o);i.call(this,r,a,o,s),this._prevBlock=n}});function i(r,a,s,o){var n,c=this._iv;c?(n=c.slice(0),this._iv=void 0):n=this._prevBlock,o.encryptBlock(n,0);for(var l=0;l<s;l++)r[a+l]^=n[l]}return t}(),e.mode.CFB})});var un=M((fi,cn)=>{(function(e,t,i){typeof fi=="object"?cn.exports=fi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(fi,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,a){var s=this._cipher,o=s.blockSize,n=this._iv,c=this._counter;n&&(c=this._counter=n.slice(0),this._iv=void 0);var l=c.slice(0);s.encryptBlock(l,0),c[o-1]=c[o-1]+1|0;for(var u=0;u<o;u++)r[a+u]^=l[u]}});return t.Decryptor=i,t}(),e.mode.CTR})});var ln=M((li,fn)=>{(function(e,t,i){typeof li=="object"?fn.exports=li=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(li,function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function i(s){if((s>>24&255)===255){var o=s>>16&255,n=s>>8&255,c=s&255;o===255?(o=0,n===255?(n=0,c===255?c=0:++c):++n):++o,s=0,s+=o<<16,s+=n<<8,s+=c}else s+=1<<24;return s}function r(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=t.Encryptor=t.extend({processBlock:function(s,o){var n=this._cipher,c=n.blockSize,l=this._iv,u=this._counter;l&&(u=this._counter=l.slice(0),this._iv=void 0),r(u);var p=u.slice(0);n.encryptBlock(p,0);for(var h=0;h<c;h++)s[o+h]^=p[h]}});return t.Decryptor=a,t}(),e.mode.CTRGladman})});var pn=M((hi,hn)=>{(function(e,t,i){typeof hi=="object"?hn.exports=hi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(hi,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,a){var s=this._cipher,o=s.blockSize,n=this._iv,c=this._keystream;n&&(c=this._keystream=n.slice(0),this._iv=void 0),s.encryptBlock(c,0);for(var l=0;l<o;l++)r[a+l]^=c[l]}});return t.Decryptor=i,t}(),e.mode.OFB})});var xn=M((pi,dn)=>{(function(e,t,i){typeof pi=="object"?dn.exports=pi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(pi,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(i,r){this._cipher.encryptBlock(i,r)}}),t.Decryptor=t.extend({processBlock:function(i,r){this._cipher.decryptBlock(i,r)}}),t}(),e.mode.ECB})});var vn=M((di,mn)=>{(function(e,t,i){typeof di=="object"?mn.exports=di=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(di,function(e){return e.pad.AnsiX923={pad:function(t,i){var r=t.sigBytes,a=i*4,s=a-r%a,o=r+s-1;t.clamp(),t.words[o>>>2]|=s<<24-o%4*8,t.sigBytes+=s},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Ansix923})});var yn=M((xi,gn)=>{(function(e,t,i){typeof xi=="object"?gn.exports=xi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(xi,function(e){return e.pad.Iso10126={pad:function(t,i){var r=i*4,a=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(a-1)).concat(e.lib.WordArray.create([a<<24],1))},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Iso10126})});var wn=M((mi,bn)=>{(function(e,t,i){typeof mi=="object"?bn.exports=mi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(mi,function(e){return e.pad.Iso97971={pad:function(t,i){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,i)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})});var Cn=M((vi,_n)=>{(function(e,t,i){typeof vi=="object"?_n.exports=vi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(vi,function(e){return e.pad.ZeroPadding={pad:function(t,i){var r=i*4;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){for(var i=t.words,r=t.sigBytes-1,r=t.sigBytes-1;r>=0;r--)if(i[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},e.pad.ZeroPadding})});var Sn=M((gi,kn)=>{(function(e,t,i){typeof gi=="object"?kn.exports=gi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(gi,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})});var An=M((yi,En)=>{(function(e,t,i){typeof yi=="object"?En.exports=yi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(yi,function(e){return function(t){var i=e,r=i.lib,a=r.CipherParams,s=i.enc,o=s.Hex,n=i.format,c=n.Hex={stringify:function(l){return l.ciphertext.toString(o)},parse:function(l){var u=o.parse(l);return a.create({ciphertext:u})}}}(),e.format.Hex})});var Pn=M((bi,Bn)=>{(function(e,t,i){typeof bi=="object"?Bn.exports=bi=t(G(),De(),Te(),Le(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(bi,function(e){return function(){var t=e,i=t.lib,r=i.BlockCipher,a=t.algo,s=[],o=[],n=[],c=[],l=[],u=[],p=[],h=[],m=[],x=[];(function(){for(var d=[],v=0;v<256;v++)v<128?d[v]=v<<1:d[v]=v<<1^283;for(var w=0,g=0,v=0;v<256;v++){var C=g^g<<1^g<<2^g<<3^g<<4;C=C>>>8^C&255^99,s[w]=C,o[C]=w;var _=d[w],I=d[_],B=d[I],L=d[C]*257^C*16843008;n[w]=L<<24|L>>>8,c[w]=L<<16|L>>>16,l[w]=L<<8|L>>>24,u[w]=L;var L=B*16843009^I*65537^_*257^w*16843008;p[C]=L<<24|L>>>8,h[C]=L<<16|L>>>16,m[C]=L<<8|L>>>24,x[C]=L,w?(w=_^d[d[d[B^_]]],g^=d[d[g]]):w=g=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=r.extend({_doReset:function(){var d;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,w=v.words,g=v.sigBytes/4,C=this._nRounds=g+6,_=(C+1)*4,I=this._keySchedule=[],B=0;B<_;B++)B<g?I[B]=w[B]:(d=I[B-1],B%g?g>6&&B%g==4&&(d=s[d>>>24]<<24|s[d>>>16&255]<<16|s[d>>>8&255]<<8|s[d&255]):(d=d<<8|d>>>24,d=s[d>>>24]<<24|s[d>>>16&255]<<16|s[d>>>8&255]<<8|s[d&255],d^=b[B/g|0]<<24),I[B]=I[B-g]^d);for(var L=this._invKeySchedule=[],T=0;T<_;T++){var B=_-T;if(T%4)var d=I[B];else var d=I[B-4];T<4||B<=4?L[T]=d:L[T]=p[s[d>>>24]]^h[s[d>>>16&255]]^m[s[d>>>8&255]]^x[s[d&255]]}}},encryptBlock:function(d,v){this._doCryptBlock(d,v,this._keySchedule,n,c,l,u,s)},decryptBlock:function(d,v){var w=d[v+1];d[v+1]=d[v+3],d[v+3]=w,this._doCryptBlock(d,v,this._invKeySchedule,p,h,m,x,o);var w=d[v+1];d[v+1]=d[v+3],d[v+3]=w},_doCryptBlock:function(d,v,w,g,C,_,I,B){for(var L=this._nRounds,T=d[v]^w[0],k=d[v+1]^w[1],N=d[v+2]^w[2],D=d[v+3]^w[3],R=4,j=1;j<L;j++){var F=g[T>>>24]^C[k>>>16&255]^_[N>>>8&255]^I[D&255]^w[R++],U=g[k>>>24]^C[N>>>16&255]^_[D>>>8&255]^I[T&255]^w[R++],z=g[N>>>24]^C[D>>>16&255]^_[T>>>8&255]^I[k&255]^w[R++],S=g[D>>>24]^C[T>>>16&255]^_[k>>>8&255]^I[N&255]^w[R++];T=F,k=U,N=z,D=S}var F=(B[T>>>24]<<24|B[k>>>16&255]<<16|B[N>>>8&255]<<8|B[D&255])^w[R++],U=(B[k>>>24]<<24|B[N>>>16&255]<<16|B[D>>>8&255]<<8|B[T&255])^w[R++],z=(B[N>>>24]<<24|B[D>>>16&255]<<16|B[T>>>8&255]<<8|B[k&255])^w[R++],S=(B[D>>>24]<<24|B[T>>>16&255]<<16|B[k>>>8&255]<<8|B[N&255])^w[R++];d[v]=F,d[v+1]=U,d[v+2]=z,d[v+3]=S},keySize:256/32});t.AES=r._createHelper(y)}(),e.AES})});var Rn=M((wi,In)=>{(function(e,t,i){typeof wi=="object"?In.exports=wi=t(G(),De(),Te(),Le(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(wi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,a=i.BlockCipher,s=t.algo,o=[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],n=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=s.DES=a.extend({_doReset:function(){for(var b=this._key,y=b.words,d=[],v=0;v<56;v++){var w=o[v]-1;d[v]=y[w>>>5]>>>31-w%32&1}for(var g=this._subKeys=[],C=0;C<16;C++){for(var _=g[C]=[],I=c[C],v=0;v<24;v++)_[v/6|0]|=d[(n[v]-1+I)%28]<<31-v%6,_[4+(v/6|0)]|=d[28+(n[v+24]-1+I)%28]<<31-v%6;_[0]=_[0]<<1|_[0]>>>31;for(var v=1;v<7;v++)_[v]=_[v]>>>(v-1)*4+3;_[7]=_[7]<<5|_[7]>>>27}for(var B=this._invSubKeys=[],v=0;v<16;v++)B[v]=g[15-v]},encryptBlock:function(b,y){this._doCryptBlock(b,y,this._subKeys)},decryptBlock:function(b,y){this._doCryptBlock(b,y,this._invSubKeys)},_doCryptBlock:function(b,y,d){this._lBlock=b[y],this._rBlock=b[y+1],h.call(this,4,252645135),h.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),h.call(this,1,1431655765);for(var v=0;v<16;v++){for(var w=d[v],g=this._lBlock,C=this._rBlock,_=0,I=0;I<8;I++)_|=l[I][((C^w[I])&u[I])>>>0];this._lBlock=C,this._rBlock=g^_}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,h.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),b[y]=this._lBlock,b[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(b,y){var d=(this._lBlock>>>b^this._rBlock)&y;this._rBlock^=d,this._lBlock^=d<<b}function m(b,y){var d=(this._rBlock>>>b^this._lBlock)&y;this._lBlock^=d,this._rBlock^=d<<b}t.DES=a._createHelper(p);var x=s.TripleDES=a.extend({_doReset:function(){var b=this._key,y=b.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var d=y.slice(0,2),v=y.length<4?y.slice(0,2):y.slice(2,4),w=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=p.createEncryptor(r.create(d)),this._des2=p.createEncryptor(r.create(v)),this._des3=p.createEncryptor(r.create(w))},encryptBlock:function(b,y){this._des1.encryptBlock(b,y),this._des2.decryptBlock(b,y),this._des3.encryptBlock(b,y)},decryptBlock:function(b,y){this._des3.decryptBlock(b,y),this._des2.encryptBlock(b,y),this._des1.decryptBlock(b,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=a._createHelper(x)}(),e.TripleDES})});var Ln=M((_i,Nn)=>{(function(e,t,i){typeof _i=="object"?Nn.exports=_i=t(G(),De(),Te(),Le(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(_i,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,a=t.algo,s=a.RC4=r.extend({_doReset:function(){for(var c=this._key,l=c.words,u=c.sigBytes,p=this._S=[],h=0;h<256;h++)p[h]=h;for(var h=0,m=0;h<256;h++){var x=h%u,b=l[x>>>2]>>>24-x%4*8&255;m=(m+p[h]+b)%256;var y=p[h];p[h]=p[m],p[m]=y}this._i=this._j=0},_doProcessBlock:function(c,l){c[l]^=o.call(this)},keySize:256/32,ivSize:0});function o(){for(var c=this._S,l=this._i,u=this._j,p=0,h=0;h<4;h++){l=(l+1)%256,u=(u+c[l])%256;var m=c[l];c[l]=c[u],c[u]=m,p|=c[(c[l]+c[u])%256]<<24-h*8}return this._i=l,this._j=u,p}t.RC4=r._createHelper(s);var n=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)o.call(this)}});t.RC4Drop=r._createHelper(n)}(),e.RC4})});var Tn=M((Ci,Dn)=>{(function(e,t,i){typeof Ci=="object"?Dn.exports=Ci=t(G(),De(),Te(),Le(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Ci,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,a=t.algo,s=[],o=[],n=[],c=a.Rabbit=r.extend({_doReset:function(){for(var u=this._key.words,p=this.cfg.iv,h=0;h<4;h++)u[h]=(u[h]<<8|u[h]>>>24)&16711935|(u[h]<<24|u[h]>>>8)&4278255360;var m=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],x=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var h=0;h<4;h++)l.call(this);for(var h=0;h<8;h++)x[h]^=m[h+4&7];if(p){var b=p.words,y=b[0],d=b[1],v=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,g=v>>>16|w&4294901760,C=w<<16|v&65535;x[0]^=v,x[1]^=g,x[2]^=w,x[3]^=C,x[4]^=v,x[5]^=g,x[6]^=w,x[7]^=C;for(var h=0;h<4;h++)l.call(this)}},_doProcessBlock:function(u,p){var h=this._X;l.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,u[p+m]^=s[m]},blockSize:128/32,ivSize:64/32});function l(){for(var u=this._X,p=this._C,h=0;h<8;h++)o[h]=p[h];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<o[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<o[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<o[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<o[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<o[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<o[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<o[6]>>>0?1:0)|0,this._b=p[7]>>>0<o[7]>>>0?1:0;for(var h=0;h<8;h++){var m=u[h]+p[h],x=m&65535,b=m>>>16,y=((x*x>>>17)+x*b>>>15)+b*b,d=((m&4294901760)*m|0)+((m&65535)*m|0);n[h]=y^d}u[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,u[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,u[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,u[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,u[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,u[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,u[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,u[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}t.Rabbit=r._createHelper(c)}(),e.Rabbit})});var Vn=M((ki,On)=>{(function(e,t,i){typeof ki=="object"?On.exports=ki=t(G(),De(),Te(),Le(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(ki,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,a=t.algo,s=[],o=[],n=[],c=a.RabbitLegacy=r.extend({_doReset:function(){var u=this._key.words,p=this.cfg.iv,h=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],m=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var x=0;x<4;x++)l.call(this);for(var x=0;x<8;x++)m[x]^=h[x+4&7];if(p){var b=p.words,y=b[0],d=b[1],v=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,g=v>>>16|w&4294901760,C=w<<16|v&65535;m[0]^=v,m[1]^=g,m[2]^=w,m[3]^=C,m[4]^=v,m[5]^=g,m[6]^=w,m[7]^=C;for(var x=0;x<4;x++)l.call(this)}},_doProcessBlock:function(u,p){var h=this._X;l.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,u[p+m]^=s[m]},blockSize:128/32,ivSize:64/32});function l(){for(var u=this._X,p=this._C,h=0;h<8;h++)o[h]=p[h];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<o[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<o[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<o[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<o[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<o[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<o[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<o[6]>>>0?1:0)|0,this._b=p[7]>>>0<o[7]>>>0?1:0;for(var h=0;h<8;h++){var m=u[h]+p[h],x=m&65535,b=m>>>16,y=((x*x>>>17)+x*b>>>15)+b*b,d=((m&4294901760)*m|0)+((m&65535)*m|0);n[h]=y^d}u[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,u[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,u[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,u[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,u[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,u[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,u[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,u[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}t.RabbitLegacy=r._createHelper(c)}(),e.RabbitLegacy})});var jn=M((Si,Fn)=>{(function(e,t,i){typeof Si=="object"?Fn.exports=Si=t(G(),bt(),Os(),Fs(),De(),Ms(),Te(),Yt(),Hr(),$s(),Mr(),Xs(),Ys(),Js(),si(),rn(),Le(),J(),on(),un(),ln(),pn(),xn(),vn(),yn(),wn(),Cn(),Sn(),An(),Pn(),Rn(),Ln(),Tn(),Vn()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],t):e.CryptoJS=t(e.CryptoJS)})(Si,function(e){return e})});var na=et(Pi()),At={"application/ecmascript":{source:"apache",compressible:!0,extensions:["ecma"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/http":{source:"iana"},"application/javascript":{source:"apache",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/mp4":{source:"iana",extensions:["mp4","mpg4","mp4s","m4p"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/sql":{source:"iana",extensions:["sql"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-gzip":{source:"apache"},"application/x-javascript":{compressible:!0},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/red":{source:"iana"},"audio/rtx":{source:"iana"},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/webp":{source:"iana",extensions:["webp"]},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/ecmascript":{source:"apache"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"text/markdown":{source:"iana",compressible:!0,extensions:["md","markdown"]}},oa=/^\s*([^;\s]*)(?:;|\s|$)/,o0=/^text\//i,ae={};function sa(e){if(!e||typeof e!="string")return!1;var t=oa.exec(e),i=t&&At[t[1].toLowerCase()];return i&&i.charset?i.charset:!(!t||!o0.test(t[1]))&&"UTF-8"}function c0(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?ae.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var i=ae.charset(t);i&&(t+="; charset="+i.toLowerCase())}return t}function u0(e){if(!e||typeof e!="string")return!1;var t=oa.exec(e),i=t&&ae.extensions[t[1].toLowerCase()];return!(!i||!i.length)&&i[0]}function f0(e){if(!e||typeof e!="string")return!1;var t=(0,na.extname)("x."+e).toLowerCase().substr(1);return t&&ae.types[t]||!1}function l0(e,t){var i=["nginx","apache",void 0,"iana"];Object.keys(At).forEach(function(r){var a=At[r],s=a.extensions;if(s&&s.length){e[r]=s;for(var o=0;o<s.length;o++){var n=s[o];if(t[n]){var c=i.indexOf(At[t[n]].source),l=i.indexOf(a.source);if(t[n]!=="application/octet-stream"&&(c>l||c===l&&t[n].substr(0,12)==="application/"))continue}t[n]=r}}})}ae.charset=sa,ae.charsets={lookup:sa},ae.contentType=c0,ae.extension=u0,ae.extensions=Object.create(null),ae.lookup=f0,ae.types=Object.create(null),l0(ae.extensions,ae.types);var ca=ae;var Ro=et(Pi(),1);var Bt={};ia(Bt,{deleteDB:()=>y0,openDB:()=>Ti,unwrap:()=>tt,wrap:()=>ue});var h0=(e,t)=>t.some(i=>e instanceof i),ua,fa;function p0(){return ua||(ua=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function d0(){return fa||(fa=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var la=new WeakMap,Ri=new WeakMap,ha=new WeakMap,Ii=new WeakMap,Li=new WeakMap;function x0(e){let t=new Promise((i,r)=>{let a=()=>{e.removeEventListener("success",s),e.removeEventListener("error",o)},s=()=>{i(ue(e.result)),a()},o=()=>{r(e.error),a()};e.addEventListener("success",s),e.addEventListener("error",o)});return t.then(i=>{i instanceof IDBCursor&&la.set(i,e)}).catch(()=>{}),Li.set(t,e),t}function m0(e){if(Ri.has(e))return;let t=new Promise((i,r)=>{let a=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",o),e.removeEventListener("abort",o)},s=()=>{i(),a()},o=()=>{r(e.error||new DOMException("AbortError","AbortError")),a()};e.addEventListener("complete",s),e.addEventListener("error",o),e.addEventListener("abort",o)});Ri.set(e,t)}var Ni={get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return Ri.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ha.get(e);if(t==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return ue(e[t])},set(e,t,i){return e[t]=i,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function pa(e){Ni=e(Ni)}function v0(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...i){let r=e.call(tt(this),t,...i);return ha.set(r,t.sort?t.sort():[t]),ue(r)}:d0().includes(e)?function(...t){return e.apply(tt(this),t),ue(la.get(this))}:function(...t){return ue(e.apply(tt(this),t))}}function g0(e){return typeof e=="function"?v0(e):(e instanceof IDBTransaction&&m0(e),h0(e,p0())?new Proxy(e,Ni):e)}function ue(e){if(e instanceof IDBRequest)return x0(e);if(Ii.has(e))return Ii.get(e);let t=g0(e);return t!==e&&(Ii.set(e,t),Li.set(t,e)),t}var tt=e=>Li.get(e);function Ti(e,t,{blocked:i,upgrade:r,blocking:a,terminated:s}={}){let o=indexedDB.open(e,t),n=ue(o);return r&&o.addEventListener("upgradeneeded",c=>{r(ue(o.result),c.oldVersion,c.newVersion,ue(o.transaction),c)}),i&&o.addEventListener("blocked",c=>i(c.oldVersion,c.newVersion,c)),n.then(c=>{s&&c.addEventListener("close",()=>s()),a&&c.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),n}function y0(e,{blocked:t}={}){let i=indexedDB.deleteDatabase(e);return t&&i.addEventListener("blocked",r=>t(r.oldVersion,r)),ue(i).then(()=>{})}var b0=["get","getKey","getAll","getAllKeys","count"],w0=["put","add","delete","clear"],Di=new Map;function da(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Di.get(t))return Di.get(t);let i=t.replace(/FromIndex$/,""),r=t!==i,a=w0.includes(i);if(!(i in(r?IDBIndex:IDBObjectStore).prototype)||!(a||b0.includes(i)))return;let s=async function(o,...n){let c=this.transaction(o,a?"readwrite":"readonly"),l=c.store;return r&&(l=l.index(n.shift())),(await Promise.all([l[i](...n),a&&c.done]))[0]};return Di.set(t,s),s}pa(e=>({...e,get:(t,i,r)=>da(t,i)||e.get(t,i,r),has:(t,i)=>!!da(t,i)||e.has(t,i)}));var _0=[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,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],ya=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,20,1,64,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,38,6,186,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,19,72,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,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,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,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,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],C0="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",ba="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Oi={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"},Vi="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",k0={5:Vi,"5module":Vi+" export import",6:Vi+" const class extends export import super"},S0=/^in(stanceof)?$/,E0=new RegExp("["+ba+"]"),A0=new RegExp("["+ba+C0+"]");function ji(e,t){for(var i=65536,r=0;r<t.length;r+=2){if(i+=t[r],i>e)return!1;if(i+=t[r+1],i>=e)return!0}return!1}function Ce(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&E0.test(String.fromCharCode(e)):t===!1?!1:ji(e,ya)}function He(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&&A0.test(String.fromCharCode(e)):t===!1?!1:ji(e,ya)||ji(e,_0)}var K=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function fe(e,t){return new K(e,{beforeExpr:!0,binop:t})}var le={beforeExpr:!0},se={startsExpr:!0},Ui={};function $(e,t){return t===void 0&&(t={}),t.keyword=e,Ui[e]=new K(e,t)}var f={num:new K("num",se),regexp:new K("regexp",se),string:new K("string",se),name:new K("name",se),privateId:new K("privateId",se),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(",",le),semi:new K(";",le),colon:new K(":",le),dot:new K("."),question:new K("?",le),questionDot:new K("?."),arrow:new K("=>",le),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",le),backQuote:new K("`",se),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:$("break"),_case:$("case",le),_catch:$("catch"),_continue:$("continue"),_debugger:$("debugger"),_default:$("default",le),_do:$("do",{isLoop:!0,beforeExpr:!0}),_else:$("else",le),_finally:$("finally"),_for:$("for",{isLoop:!0}),_function:$("function",se),_if:$("if"),_return:$("return",le),_switch:$("switch"),_throw:$("throw",le),_try:$("try"),_var:$("var"),_const:$("const"),_while:$("while",{isLoop:!0}),_with:$("with"),_new:$("new",{beforeExpr:!0,startsExpr:!0}),_this:$("this",se),_super:$("super",se),_class:$("class",se),_extends:$("extends",le),_export:$("export"),_import:$("import",se),_null:$("null",se),_true:$("true",se),_false:$("false",se),_in:$("in",{beforeExpr:!0,binop:7}),_instanceof:$("instanceof",{beforeExpr:!0,binop:7}),_typeof:$("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:$("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:$("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},de=/\r\n?|\n|\u2028|\u2029/,B0=new RegExp(de.source,"g");function Me(e){return e===10||e===13||e===8232||e===8233}function wa(e,t,i){i===void 0&&(i=e.length);for(var r=t;r<i;r++){var a=e.charCodeAt(r);if(Me(a))return r<i-1&&a===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var _a=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,he=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ca=Object.prototype,P0=Ca.hasOwnProperty,I0=Ca.toString,st=Object.hasOwn||function(e,t){return P0.call(e,t)},xa=Array.isArray||function(e){return I0.call(e)==="[object Array]"};function Pe(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function Ie(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var R0=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,rt=function(t,i){this.line=t,this.column=i};rt.prototype.offset=function(t){return new rt(this.line,this.column+t)};var Lt=function(t,i,r){this.start=i,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function ka(e,t){for(var i=1,r=0;;){var a=wa(e,r,t);if(a<0)return new rt(i,t-r);++i,r=a}}var Hi={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ma=!1;function N0(e){var t={};for(var i in Hi)t[i]=e&&st(e,i)?e[i]:Hi[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ma&&typeof console=="object"&&console.warn&&(ma=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),xa(t.onToken)){var r=t.onToken;t.onToken=function(a){return r.push(a)}}return xa(t.onComment)&&(t.onComment=L0(t,t.onComment)),t}function L0(e,t){return function(i,r,a,s,o,n){var c={type:i?"Block":"Line",value:r,start:a,end:s};e.locations&&(c.loc=new Lt(this,o,n)),e.ranges&&(c.range=[a,s]),t.push(c)}}var at=1,Ue=2,qi=4,Sa=8,Ea=16,Aa=32,Wi=64,Ba=128,nt=256,zi=at|Ue|nt;function $i(e,t){return Ue|(e?qi:0)|(t?Sa:0)}var It=0,Gi=1,Se=2,Pa=3,Ia=4,Ra=5,Z=function(t,i,r){this.options=t=N0(t),this.sourceFile=t.sourceFile,this.keywords=Pe(k0[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=Oi[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=Pe(a);var s=(a?a+" ":"")+Oi.strict;this.reservedWordsStrict=Pe(s),this.reservedWordsStrictBind=Pe(s+" "+Oi.strictBind),this.input=String(i),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(de).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.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.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(at),this.regexpState=null,this.privateNameStack=[]},we={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};we.inFunction.get=function(){return(this.currentVarScope().flags&Ue)>0};we.inGenerator.get=function(){return(this.currentVarScope().flags&Sa)>0&&!this.currentVarScope().inClassFieldInit};we.inAsync.get=function(){return(this.currentVarScope().flags&qi)>0&&!this.currentVarScope().inClassFieldInit};we.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&nt)return!1;if(t.flags&Ue)return(t.flags&qi)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};we.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&Wi)>0||i||this.options.allowSuperOutsideMethod};we.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ba)>0};we.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};we.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Ue|nt))>0||i};we.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&nt)>0};Z.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var r=this,a=0;a<t.length;a++)r=t[a](r);return r};Z.parse=function(t,i){return new this(i,t).parse()};Z.parseExpressionAt=function(t,i,r){var a=new this(r,t,i);return a.nextToken(),a.parseExpression()};Z.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Z.prototype,we);var te=Z.prototype,D0=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;te.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){he.lastIndex=e,e+=he.exec(this.input)[0].length;var t=D0.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){he.lastIndex=e+t[0].length;var i=he.exec(this.input),r=i.index+i[0].length,a=this.input.charAt(r);return a===";"||a==="}"||de.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,he.lastIndex=e,e+=he.exec(this.input)[0].length,this.input[e]===";"&&e++}};te.eat=function(e){return this.type===e?(this.next(),!0):!1};te.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc};te.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};te.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};te.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||de.test(this.input.slice(this.lastTokEnd,this.start))};te.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};te.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()};te.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};te.expect=function(e){this.eat(e)||this.unexpected()};te.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Dt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};te.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};te.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,r=e.doubleProto;if(!t)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")};te.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")};te.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var V=Z.prototype;V.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==f.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,a=Object.keys(this.undefinedExports);r<a.length;r+=1){var s=a[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ki={kind:"loop"},T0={kind:"switch"};V.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;he.lastIndex=this.pos;var t=he.exec(this.input),i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92)return!0;if(e)return!1;if(r===123||r>55295&&r<56320)return!0;if(Ce(r,!0)){for(var a=i+1;He(r=this.input.charCodeAt(a),!0);)++a;if(r===92||r>55295&&r<56320)return!0;var s=this.input.slice(i,a);if(!S0.test(s))return!0}return!1};V.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;he.lastIndex=this.pos;var e=he.exec(this.input),t=this.pos+e[0].length,i;return!de.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(He(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};V.parseStatement=function(e,t,i){var r=this.type,a=this.startNode(),s;switch(this.isLet(e)&&(r=f._var,s="let"),r){case f._break:case f._continue:return this.parseBreakContinueStatement(a,r.keyword);case f._debugger:return this.parseDebuggerStatement(a);case f._do:return this.parseDoStatement(a);case f._for:return this.parseForStatement(a);case f._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(a,!0);case f._if:return this.parseIfStatement(a);case f._return:return this.parseReturnStatement(a);case f._switch:return this.parseSwitchStatement(a);case f._throw:return this.parseThrowStatement(a);case f._try:return this.parseTryStatement(a);case f._const:case f._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(a,s);case f._while:return this.parseWhileStatement(a);case f._with:return this.parseWithStatement(a);case f.braceL:return this.parseBlock(!0,a);case f.semi:return this.parseEmptyStatement(a);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){he.lastIndex=this.pos;var o=he.exec(this.input),n=this.pos+o[0].length,c=this.input.charCodeAt(n);if(c===40||c===46)return this.parseExpressionStatement(a,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'")),r===f._import?this.parseImport(a):this.parseExport(a,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var l=this.value,u=this.parseExpression();return r===f.name&&u.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(a,l,u,e):this.parseExpressionStatement(a,u)}};V.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var a=this.labels[r];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(i||a.kind==="loop")||e.label&&i))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"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(Ki),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(f._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};V.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ki),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===f._var||this.type===f._const||i){var r=this.startNode(),a=i?"let":this.value;return this.next(),this.parseVar(r,!0,a),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var s=this.isContextual("let"),o=!1,n=new Dt,c=this.parseExpression(t>-1?"await":!0,n);return this.type===f._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),s&&o&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,n),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(n,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};V.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,it|(i?0:Mi),!1,t)};V.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._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(f.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(f.braceL),this.labels.push(T0),this.enterScope(0);for(var t,i=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(f.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(),de.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 O0=[];V.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Aa:0),this.checkLValPattern(e,t?Ia:Se),this.expect(f.parenR),e};V.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();this.next(),this.eat(f.parenL)?t.param=this.parseCatchClauseParam():(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(f._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,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};V.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ki),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,i,r){for(var a=0,s=this.labels;a<s.length;a+=1){var o=s[a];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var n=this.type.isLoop?"loop":this.type===f._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var l=this.labels[c];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=n;else break}return this.labels.push({name:t,kind:n,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};V.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};V.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};V.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};V.parseForIn=function(e,t){var i=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};V.parseVar=function(e,t,i,r){for(e.declarations=[],e.kind=i;;){var a=this.startNode();if(this.parseVarId(a,i),this.eat(f.eq)?a.init=this.parseMaybeAssign(t):!r&&i==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!r&&a.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):a.init=null,e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(f.comma))break}return e};V.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Gi:Se,!1)};var it=1,Mi=2,Na=4;V.parseFunction=function(e,t,i,r,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Mi&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&it&&(e.id=t&Na&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Mi)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Gi:Se:Pa));var s=this.yieldPos,o=this.awaitPos,n=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope($i(e.async,e.generator)),t&it||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,a),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=n,this.finishNode(e,t&it?"FunctionDeclaration":"FunctionExpression")};V.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};V.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),a=this.startNode(),s=!1;for(a.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(a.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(s&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),s=!0):o.key&&o.key.type==="PrivateIdentifier"&&V0(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};V.parseClassElement=function(e){if(this.eat(f.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",a=!1,s=!1,o="method",n=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(f.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===f.star?n=!0:r="static"}if(i.static=n,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===f.star)&&!this.canInsertSemicolon()?s=!0:r="async"),!r&&(t>=9||!s)&&this.eat(f.star)&&(a=!0),!r&&!s&&!a){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===f.parenL||o!=="method"||a||s){var l=!i.static&&Rt(i,"constructor"),u=l&&e;l&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=l?"constructor":o,this.parseClassMethod(i,a,s,u)}else this.parseClassField(i);return i};V.isClassElementNameStart=function(){return this.type===f.name||this.type===f.privateId||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword};V.parseClassElementName=function(e){this.type===f.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};V.parseClassMethod=function(e,t,i,r){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),i&&this.raise(a.start,"Constructor can't be an async method")):e.static&&Rt(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,i,r);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};V.parseClassField=function(e){if(Rt(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Rt(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(f.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};V.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(nt|Wi);this.type!==f.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};V.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Se,!1)):(t===!0&&this.unexpected(),e.id=null)};V.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts(null,!1):null};V.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};V.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,a=r===0?null:this.privateNameStack[r-1],s=0;s<i.length;++s){var o=i[s];st(t,o.name)||(a?a.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function V0(e,t){var i=t.key.name,r=e[i],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),r==="iget"&&a==="iset"||r==="iset"&&a==="iget"||r==="sget"&&a==="sset"||r==="sset"&&a==="sget"?(e[i]="true",!1):r?!0:(e[i]=a,!1)}function Rt(e,t){var i=e.computed,r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}V.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};V.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.parseExportAllDeclaration(e,t);if(this.eat(f._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,r=e.specifiers;i<r.length;i+=1){var a=r[i];this.checkUnreserved(a.local),this.checkLocalExport(a.local),a.local.type==="Literal"&&this.raise(a.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};V.parseExportDeclaration=function(e){return this.parseStatement(null)};V.parseExportDefaultDeclaration=function(){var e;if(this.type===f._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,it|Na,!1,e)}else if(this.type===f._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var r=this.parseMaybeAssign();return this.semicolon(),r}};V.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),st(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};V.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var r=0,a=t.properties;r<a.length;r+=1){var s=a[r];this.checkPatternExport(e,s)}else if(i==="ArrayPattern")for(var o=0,n=t.elements;o<n.length;o+=1){var c=n[o];c&&this.checkPatternExport(e,c)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"?this.checkPatternExport(e,t.argument):i==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};V.checkVariableExport=function(e,t){if(e)for(var i=0,r=t;i<r.length;i+=1){var a=r[i];this.checkPatternExport(e,a.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.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};V.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(f.braceL);!this.eat(f.braceR);){if(i)i=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;t.push(this.parseExportSpecifier(e))}return t};V.parseImport=function(e){return this.next(),this.type===f.string?(e.specifiers=O0,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===f.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};V.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Se),this.finishNode(e,"ImportSpecifier")};V.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Se),this.finishNode(e,"ImportDefaultSpecifier")};V.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Se),this.finishNode(e,"ImportNamespaceSpecifier")};V.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===f.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(f.comma)))return e;if(this.type===f.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(f.braceL);!this.eat(f.braceR);){if(t)t=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;e.push(this.parseImportSpecifier())}return e};V.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===f.string){var e=this.parseLiteral(this.value);return R0.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};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 this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var xe=Z.prototype;xe.toAssignable=function(e,t,i){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"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,a=e.properties;r<a.length;r+=1){var s=a[r];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.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",i&&this.checkPatternErrors(i,!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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);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 i&&this.checkPatternErrors(i,!0);return e};xe.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var a=e[r];a&&this.toAssignable(a,t)}if(i){var s=e[i-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e};xe.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};xe.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==f.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};xe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case f.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()};xe.parseBindingList=function(e,t,i,r){for(var a=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(f.comma),t&&this.type===f.comma)a.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===f.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),a.push(o),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else a.push(this.parseAssignableListItem(r))}return a};xe.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};xe.parseBindingListItem=function(e){return e};xe.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};xe.checkLValSimple=function(e,t,i){t===void 0&&(t=It);var r=t!==It;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===Se&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(st(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==Ra&&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":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};xe.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=It),e.type){case"ObjectPattern":for(var r=0,a=e.properties;r<a.length;r+=1){var s=a[r];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var o=0,n=e.elements;o<n.length;o+=1){var c=n[o];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};xe.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=It),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ge=function(t,i,r,a,s){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=a,this.generator=!!s},Y={b_stat:new ge("{",!1),b_expr:new ge("{",!0),b_tmpl:new ge("${",!1),p_stat:new ge("(",!1),p_expr:new ge("(",!0),q_tmpl:new ge("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ge("function",!1),f_expr:new ge("function",!0),f_expr_gen:new ge("function",!0,!1,null,!0),f_gen:new ge("function",!1,!1,null,!0)},qe=Z.prototype;qe.initialContext=function(){return[Y.b_stat]};qe.curContext=function(){return this.context[this.context.length-1]};qe.braceIsBlock=function(e){var t=this.curContext();return t===Y.f_expr||t===Y.f_stat?!0:e===f.colon&&(t===Y.b_stat||t===Y.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?de.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===Y.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed};qe.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};qe.updateContext=function(e){var t,i=this.type;i.keyword&&e===f.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};qe.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Y.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Y.b_stat:Y.b_expr),this.exprAllowed=!0};f.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0};f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?Y.p_stat:Y.p_expr),this.exprAllowed=!0};f.incDec.updateContext=function(){};f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f._else&&!(e===f.semi&&this.curContext()!==Y.p_stat)&&!(e===f._return&&de.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1};f.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1};f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===Y.f_expr?this.context[t]=Y.f_expr_gen:this.context[t]=Y.f_gen}this.exprAllowed=!0};f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var H=Z.prototype;H.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,a;switch(r.type){case"Identifier":a=r.name;break;case"Literal":a=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&s==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var o=t[a];if(o){var n;s==="init"?n=this.strict&&o.init||o.get||o.set:n=o.init||o[s],n&&this.raiseRecoverable(r.start,"Redefinition of property")}else o=t[a]={init:!1,get:!1,set:!1};o[s]=!0}};H.parseExpression=function(e,t){var i=this.start,r=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===f.comma){var s=this.startNodeAt(i,r);for(s.expressions=[a];this.eat(f.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return a};H.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,a=-1,s=-1,o=-1;t?(a=t.parenthesizedAssign,s=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Dt,r=!0);var n=this.start,c=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var l=this.parseMaybeConditional(e,t);if(i&&(l=i.call(this,l,n,c)),this.type.isAssign){var u=this.startNodeAt(n,c);return u.operator=this.value,this.type===f.eq&&(l=this.toAssignable(l,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===f.eq?this.checkLValPattern(l):this.checkLValSimple(l),u.left=l,this.next(),u.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(u,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),s>-1&&(t.trailingComma=s),l};H.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(f.question)){var s=this.startNodeAt(i,r);return s.test=a,s.consequent=this.parseMaybeAssign(),this.expect(f.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return a};H.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===i&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,i,r,-1,e)};H.parseExprOp=function(e,t,i,r,a){var s=this.type.binop;if(s!=null&&(!a||this.type!==f._in)&&s>r){var o=this.type===f.logicalOR||this.type===f.logicalAND,n=this.type===f.coalesce;n&&(s=f.logicalAND.binop);var c=this.value;this.next();var l=this.start,u=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),l,u,s,a),h=this.buildBinary(t,i,e,p,c,o||n);return(o&&this.type===f.coalesce||n&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,i,r,a)}return e};H.buildBinary=function(e,t,i,r,a,s){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=a,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")};H.parseMaybeUnary=function(e,t,i,r){var a=this.start,s=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var n=this.startNode(),c=this.type===f.incDec;n.operator=this.value,n.prefix=!0,this.next(),n.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(n.argument):this.strict&&n.operator==="delete"&&n.argument.type==="Identifier"?this.raiseRecoverable(n.start,"Deleting local variable in strict mode"):n.operator==="delete"&&La(n.argument)?this.raiseRecoverable(n.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(n,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===f.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==f._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(a,s);l.operator=this.value,l.prefix=!1,l.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(l,"UpdateExpression")}}if(!i&&this.eat(f.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,s,o,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return o};function La(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&La(e.expression)}H.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var s=this.parseSubscripts(a,i,r,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s};H.parseSubscripts=function(e,t,i,r,a){for(var s=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,o=!1;;){var n=this.parseSubscript(e,t,i,r,s,o,a);if(n.optional&&(o=!0),n===e||n.type==="ArrowFunctionExpression"){if(o){var c=this.startNodeAt(t,i);c.expression=n,n=this.finishNode(c,"ChainExpression")}return n}e=n}};H.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(f.arrow)};H.parseSubscriptAsyncArrow=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,r)};H.parseSubscript=function(e,t,i,r,a,s,o){var n=this.options.ecmaVersion>=11,c=n&&this.eat(f.questionDot);r&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(f.bracketL);if(l||c&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var u=this.startNodeAt(t,i);u.object=e,l?(u.property=this.parseExpression(),this.expect(f.bracketR)):this.type===f.privateId&&e.type!=="Super"?u.property=this.parsePrivateIdent():u.property=this.parseIdent(this.options.allowReserved!=="never"),u.computed=!!l,n&&(u.optional=c),e=this.finishNode(u,"MemberExpression")}else if(!r&&this.eat(f.parenL)){var p=new Dt,h=this.yieldPos,m=this.awaitPos,x=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var b=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=m,this.awaitIdentPos=x,this.parseSubscriptAsyncArrow(t,i,b,o);this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=m||this.awaitPos,this.awaitIdentPos=x||this.awaitIdentPos;var y=this.startNodeAt(t,i);y.callee=e,y.arguments=b,n&&(y.optional=c),e=this.finishNode(y,"CallExpression")}else if(this.type===f.backQuote){(c||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var d=this.startNodeAt(t,i);d.tag=e,d.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(d,"TaggedTemplateExpression")}return e};H.parseExprAtom=function(e,t,i){this.type===f.slash&&this.readRegexp();var r,a=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(r,"Super");case f._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case f.name:var s=this.start,o=this.startLoc,n=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!n&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(s,o),0,!1,!0,t);if(a&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(s,o),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===f.name&&!n&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,o),[c],!0,t)}return c;case f.regexp:var l=this.value;return r=this.parseLiteral(l.value),r.regex={pattern:l.pattern,flags:l.flags},r;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return r=this.startNode(),r.value=this.type===f._null?null:this.type===f._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case f.parenL:var u=this.start,p=this.parseParenAndDistinguishExpression(a,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),p;case f.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case f.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,e);case f._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};H.parseExprAtomDefault=function(){this.unexpected()};H.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var i=this.parseIdent(!0);if(this.type===f.parenL&&!e)return this.parseDynamicImport(t);if(this.type===f.dot)return t.meta=i,this.parseImportMeta(t);this.unexpected()};H.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};H.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.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};H.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")};H.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e};H.shouldParseArrow=function(e){return!this.canInsertSemicolon()};H.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,a,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,n=this.startLoc,c=[],l=!0,u=!1,p=new Dt,h=this.yieldPos,m=this.awaitPos,x;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(l?l=!1:this.expect(f.comma),s&&this.afterTrailingComma(f.parenR,!0)){u=!0;break}else if(this.type===f.ellipsis){x=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var b=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(f.parenR),e&&this.shouldParseArrow(c)&&this.eat(f.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=m,this.parseParenArrowList(i,r,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),x&&this.unexpected(x),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?(a=this.startNodeAt(o,n),a.expressions=c,this.finishNodeAt(a,"SequenceExpression",b,y)):a=c[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(i,r);return d.expression=a,this.finishNode(d,"ParenthesizedExpression")}else return a};H.parseParenItem=function(e){return e};H.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var F0=[];H.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(f.dot)){e.meta=t;var i=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'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,a=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,a,!0,!1),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=F0,this.finishNode(e,"NewExpression")};H.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
`),cooked:this.value},this.next(),i.tail=this.type===f.backQuote,this.finishNode(i,"TemplateElement")};H.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(i.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(f.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};H.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!de.test(this.input.slice(this.lastTokEnd,this.start))};H.parseObj=function(e,t){var i=this.startNode(),r=!0,a={};for(i.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,a,t),i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};H.parseProperty=function(e,t){var i=this.startNode(),r,a,s,o;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(s=this.start,o=this.startLoc),e||(r=this.eat(f.star)));var n=this.containsEsc;return this.parsePropertyName(i),!e&&!n&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(a=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(i)):a=!1,this.parsePropertyValue(i,e,r,a,s,o,t,n),this.finishNode(i,"Property")};H.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"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")};H.parsePropertyValue=function(e,t,i,r,a,s,o,n){(i||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===f.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r)):!t&&!n&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq?((i||r)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key)):this.type===f.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};H.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};H.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};H.parseMethod=function(e,t,i){var r=this.startNode(),a=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope($i(t,r.generator)|Wi|(i?Ba:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")};H.parseArrowExpression=function(e,t,i,r){var a=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.enterScope($i(i,!1)|Ea),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};H.parseFunctionBody=function(e,t,i,r){var a=t&&this.type!==f.braceL,s=this.strict,o=!1;if(a)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var n=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||n)&&(o=this.strictDirective(this.end),o&&n&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!s&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Ra),e.body=this.parseBlock(!1,void 0,o&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};H.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier")return!1}return!0};H.checkParams=function(e,t){for(var i=Object.create(null),r=0,a=e.params;r<a.length;r+=1){var s=a[r];this.checkLValInnerPattern(s,Gi,t?null:i)}};H.parseExprList=function(e,t,i,r){for(var a=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(f.comma),t&&this.afterTrailingComma(e))break;var o=void 0;i&&this.type===f.comma?o=null:this.type===f.ellipsis?(o=this.parseSpread(r),r&&this.type===f.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),a.push(o)}return a};H.checkUnreserved=function(e){var t=e.start,i=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(r==="arguments"||r==="await")&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}};H.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};H.parseIdentNode=function(){var e=this.startNode();return this.type===f.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),e};H.parsePrivateIdent=function(){var e=this.startNode();return this.type===f.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};H.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===f.semi||this.canInsertSemicolon()||this.type!==f.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(f.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};H.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Nt=Z.prototype;Nt.raise=function(e,t){var i=ka(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r};Nt.raiseRecoverable=Nt.raise;Nt.curPosition=function(){if(this.options.locations)return new rt(this.curLine,this.pos-this.lineStart)};var Re=Z.prototype,j0=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Re.enterScope=function(e){this.scopeStack.push(new j0(e))};Re.exitScope=function(){this.scopeStack.pop()};Re.treatFunctionsAsVarInScope=function(e){return e.flags&Ue||!this.inModule&&e.flags&at};Re.declareName=function(e,t,i){var r=!1;if(t===Se){var a=this.currentScope();r=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&at&&delete this.undefinedExports[e]}else if(t===Ia){var s=this.currentScope();s.lexical.push(e)}else if(t===Pa){var o=this.currentScope();this.treatFunctionsAsVar?r=o.lexical.indexOf(e)>-1:r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var n=this.scopeStack.length-1;n>=0;--n){var c=this.scopeStack[n];if(c.lexical.indexOf(e)>-1&&!(c.flags&Aa&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&c.flags&at&&delete this.undefinedExports[e],c.flags&zi)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Re.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zi)return t}};Re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zi&&!(t.flags&Ea))return t}};var Tt=function(t,i,r){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new Lt(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ot=Z.prototype;ot.startNode=function(){return new Tt(this,this.start,this.startLoc)};ot.startNodeAt=function(e,t){return new Tt(this,e,t)};function Da(e,t,i,r){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=i),e}ot.finishNode=function(e,t){return Da.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ot.finishNodeAt=function(e,t,i,r){return Da.call(this,e,t,i,r)};ot.copyNode=function(e){var t=new Tt(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var Ta="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",Oa=Ta+" Extended_Pictographic",Va=Oa,Fa=Va+" EBase EComp EMod EPres ExtPict",ja=Fa,H0=ja,M0={9:Ta,10:Oa,11:Va,12:Fa,13:ja,14:H0},U0="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",q0={9:"",10:"",11:"",12:"",13:"",14:U0},va="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",Ha="Adlam Adlm 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 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",Ma=Ha+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ua=Ma+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",qa=Ua+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Wa=qa+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",W0=Wa+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",z0={9:Ha,10:Ma,11:Ua,12:qa,13:Wa,14:W0},za={};function $0(e){var t=za[e]={binary:Pe(M0[e]+" "+va),binaryOfStrings:Pe(q0[e]),nonBinary:{General_Category:Pe(va),Script:Pe(z0[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}for(Pt=0,Fi=[9,10,11,12,13,14];Pt<Fi.length;Pt+=1)ga=Fi[Pt],$0(ga);var ga,Pt,Fi,O=Z.prototype,_e=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=za[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!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=[]};_e.prototype.reset=function(t,i,r){var a=r.indexOf("v")!==-1,s=r.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=r,a&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)};_e.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};_e.prototype.at=function(t,i){i===void 0&&(i=!1);var r=this.source,a=r.length;if(t>=a)return-1;var s=r.charCodeAt(t);if(!(i||this.switchU)||s<=55295||s>=57344||t+1>=a)return s;var o=r.charCodeAt(t+1);return o>=56320&&o<=57343?(s<<10)+o-56613888:s};_e.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var r=this.source,a=r.length;if(t>=a)return a;var s=r.charCodeAt(t),o;return!(i||this.switchU)||s<=55295||s>=57344||t+1>=a||(o=r.charCodeAt(t+1))<56320||o>57343?t+1:t+2};_e.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};_e.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};_e.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};_e.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};_e.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var r=this.pos,a=0,s=t;a<s.length;a+=1){var o=s[a],n=this.at(r,i);if(n===-1||n!==o)return!1;r=this.nextIndex(r,i)}return this.pos=r,!0};O.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,r=!1,a=!1,s=0;s<i.length;s++){var o=i.charAt(s);t.indexOf(o)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(o,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(r=!0),o==="v"&&(a=!0)}this.options.ecmaVersion>=15&&r&&a&&this.raise(e.start,"Invalid 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,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];e.groupNames.indexOf(r)===-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 i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!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 i=e.pos;if(e.eat(123)){var r=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}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 $a(t)?(e.lastIntValue=t,e.advance(),!0):!1};function $a(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,i=0;(i=e.current())!==-1&&!$a(i);)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+=Ie(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ie(e.lastIntValue);return!0}return!1};O.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),G0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function G0(e){return Ce(e,!0)||e===36||e===95}O.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),K0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function K0(e){return He(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 i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=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&&!Ot(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 Ga(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ga(e){return e>=65&&e<=90||e>=97&&e<=122}O.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(r&&a>=55296&&a<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(a-55296)*1024+(o-56320)+65536,!0}e.pos=s,e.lastIntValue=a}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&X0(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function X0(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};var Ka=0,ke=1,pe=2;O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Q0(t))return e.lastIntValue=-1,e.advance(),ke;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var r;if(e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&r===pe&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return Ka};function Q0(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 i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,r),ke}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a)}return Ka};O.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){st(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};O.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ke;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return pe;e.raise("Invalid property name")};O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Xa(t=e.current());)e.lastStringValue+=Ie(t),e.advance();return e.lastStringValue!==""};function Xa(e){return Ga(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Y0(t=e.current());)e.lastStringValue+=Ie(t),e.advance();return e.lastStringValue!==""};function Y0(e){return Xa(e)||Ot(e)}O.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};O.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===pe&&e.raise("Negated character class may contain strings"),!0}return!1};O.regexp_classContents=function(e){return e.current()===93?ke:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ke)};O.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&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 i=e.current();(i===99||Za(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,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_classSetExpression=function(e){var t=ke,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===pe&&(t=pe);for(var r=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==pe&&(t=ke);continue}e.raise("Invalid character in character class")}if(r!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===pe&&(t=pe)}};O.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return i!==-1&&r!==-1&&i>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};O.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ke:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};O.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return i&&r===pe&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var a=this.regexp_eatCharacterClassEscape(e);if(a)return a;e.pos=t}return null};O.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null};O.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===pe&&(t=pe);return t};O.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ke:pe};O.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&Z0(i)||J0(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function Z0(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function J0(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}O.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return eo(t)?(e.lastIntValue=t,e.advance(),!0):!1};function eo(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}O.regexp_eatClassControlLetter=function(e){var t=e.current();return Ot(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,i=0;for(e.lastIntValue=0;Ot(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Ot(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Qa(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ya(i),e.advance();return e.pos!==t};function Qa(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ya(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 i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};O.regexp_eatOctalDigit=function(e){var t=e.current();return Za(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Za(e){return e>=48&&e<=55}O.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var a=e.current();if(!Qa(a))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ya(a),e.advance()}return!0};var Xi=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Lt(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},W=Z.prototype;W.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 Xi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};W.getToken=function(){return this.next(),new Xi(this)};typeof Symbol<"u"&&(W[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===f.eof,value:t}}}});W.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(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};W.readToken=function(e){return Ce(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};W.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};W.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var r=void 0,a=t;(r=wa(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};W.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Me(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};W.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&&_a.test(String.fromCharCode(e)))++this.pos;else break e}}};W.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};W.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(f.ellipsis)):(++this.pos,this.finishToken(f.dot))};W.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)};W.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,i+1):this.finishOp(r,i)};W.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)};W.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)};W.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||de.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)};W.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(f.assign,i+1):this.finishOp(f.bitShift,i)):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&&(i=2),this.finishOp(f.relational,i))};W.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)};W.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)};W.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Ce(t,!0)||t===92))return this.finishToken(f.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ie(t)+"'")};W.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.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(f.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ie(e)+"'")};W.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};W.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(de.test(r)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var a=this.input.slice(i,this.pos);++this.pos;var s=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(s);var n=this.regexpState||(this.regexpState=new _e(this));n.reset(i,a,o),this.validateRegExpFlags(n),this.validateRegExpPattern(n);var c=null;try{c=new RegExp(a,o)}catch{}return this.finishToken(f.regexp,{pattern:a,flags:o,value:c})};W.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&t===void 0,a=i&&this.input.charCodeAt(this.pos)===48,s=this.pos,o=0,n=0,c=0,l=t??1/0;c<l;++c,++this.pos){var u=this.input.charCodeAt(this.pos),p=void 0;if(r&&u===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),n===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"),n=u;continue}if(u>=97?p=u-97+10:u>=65?p=u-65+10:u>=48&&u<=57?p=u-48:p=1/0,p>=e)break;n=u,o=o*e+p}return r&&n===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:o};function to(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ja(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}W.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Ja(this.input.slice(t,this.pos)),++this.pos):Ce(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)};W.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var a=Ja(this.input.slice(t,this.pos));return++this.pos,Ce(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,a)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),r===46&&!i&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!i&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Ce(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=to(this.input.slice(t,this.pos),i);return this.finishToken(f.num,s)};W.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};W.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Me(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(f.string,t)};var es={};W.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===es)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};W.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw es;this.raise(e,t)};W.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Me(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};W.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(f.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};W.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ie(this.readCodePoint());case 116:return" ";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(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(r,8);return a>255&&(r=r.slice(0,-1),a=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return Me(t)?"":String.fromCharCode(t)}};W.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};W.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(He(a,r))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?Ce:He)(o,r)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=Ie(o),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};W.readWord=function(){var e=this.readWord1(),t=f.name;return this.keywords.test(e)&&(t=Ui[e]),this.finishToken(t,e)};var io="8.10.0";Z.acorn={Parser:Z,version:io,defaultOptions:Hi,Position:rt,SourceLocation:Lt,getLineInfo:ka,Node:Tt,TokenType:K,tokTypes:f,keywordTypes:Ui,TokContext:ge,tokContexts:Y,isIdentifierChar:He,isIdentifierStart:Ce,Token:Xi,isNewLine:Me,lineBreak:de,lineBreakG:B0,nonASCIIwhitespace:_a};function ts(e,t){return Z.parse(e,t)}var Vt,ro=new Uint8Array(16);function Qi(){if(!Vt&&(Vt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Vt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Vt(ro)}var ee=[];for(let e=0;e<256;++e)ee.push((e+256).toString(16).slice(1));function is(e,t=0){return(ee[e[t+0]]+ee[e[t+1]]+ee[e[t+2]]+ee[e[t+3]]+"-"+ee[e[t+4]]+ee[e[t+5]]+"-"+ee[e[t+6]]+ee[e[t+7]]+"-"+ee[e[t+8]]+ee[e[t+9]]+"-"+ee[e[t+10]]+ee[e[t+11]]+ee[e[t+12]]+ee[e[t+13]]+ee[e[t+14]]+ee[e[t+15]]).toLowerCase()}var ao=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Yi={randomUUID:ao};function so(e,t,i){if(Yi.randomUUID&&!t&&!e)return Yi.randomUUID();e=e||{};let r=e.random||(e.rng||Qi)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){i=i||0;for(let a=0;a<16;++a)t[i+a]=r[a];return t}return is(r)}var Ft=so;var Ne=globalThis.WebSocket,no=globalThis.Request,oo=globalThis.Response,rs={prototype:{send:Ne.prototype.send},CLOSED:Ne.CLOSED,CLOSING:Ne.CLOSING,CONNECTING:Ne.CONNECTING,OPEN:Ne.OPEN},co=20,uo=[101,204,205,304],fo=[301,302,303,307,308];var Zi=class{},lo="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~";function ho(e){for(let t=0;t<e.length;t++){let i=e[t];if(!lo.includes(i))return!1}return!0}var Ji=class extends Zi{constructor(){super();Bi(this,"callbacks",{});Bi(this,"uid",Ft());if(!("ServiceWorkerGlobalScope"in self))throw new TypeError("Attempt to construct RemoteClient from outside a service worker");addEventListener("message",i=>{if(i.data.__remote_target===this.uid){let r=this.callbacks[i.data.__remote_id];r(i.data.__remote_value)}})}async send(i,r){let a=await self.clients.matchAll();if(a.length<1)throw new Error("no available clients");for(let s of a)s.postMessage({__remote_target:this.uid,__remote_id:r,__remote_value:i})}async sendWithResponse(i){let r=Ft();return new Promise(a=>{this.callbacks[r]=a,this.send(i,r)})}connect(i,r,a,s,o){return new Ne("")}async request(i,r,a,s,o,n,c){let l=await this.sendWithResponse({type:"request",options:{method:i,requestHeaders:r,body:a,remote:s.toString()}}),u=new oo(uo.includes(l.status)?void 0:l.body,{status:l.status,statusText:l.statusText??void 0,headers:new Headers(l.headers)});return u.rawHeaders=l.headers,u.rawResponse=l,u}},po=Object.getOwnPropertyDescriptor(Ne.prototype,"readyState").get,xo=["ws:","wss:"];self.BCC_VERSION="1.2.0";console.warn("BCC_VERSION: "+self.BCC_VERSION);function as(e){self.gBareClientImplementation=e}if("ServiceWorkerGlobalScope"in self)as(new Ji);else{let e=self;console.log("attempting to find an implementation");for(let t=0;t<10;t++)if(e=e.parent,e&&e.gBareClientImplementation){console.warn("found implementation on parent"),as(e.gBareClientImplementation);break}}var ct=class{constructor(...t){}createWebSocket(t,i=[],r){if(!self.gBareClientImplementation)throw new TypeError("A request was made before the client was ready!! This is a problem on the end of whoever set the bare client implementation");try{t=new URL(t)}catch{throw new DOMException(`Faiiled to construct 'WebSocket': The URL '${t}' is invalid.`)}if(!xo.includes(t.protocol))throw new DOMException(`Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. '${t.protocol}' is not allowed.`);Array.isArray(i)||(i=[i]),i=i.map(String);for(let l of i)if(!ho(l))throw new DOMException(`Failed to construct 'WebSocket': The subprotocol '${l}' is invalid.`);let a=self.gBareClientImplementation.connect(t,i,async()=>{let l=typeof r.headers=="function"?await r.headers():r.headers||{},u=l instanceof Headers?Object.fromEntries(l):l;return u.Host=t.host,u.Pragma="no-cache",u["Cache-Control"]="no-cache",u.Upgrade="websocket",u.Connection="Upgrade",u},l=>{s=l.protocol,r.setCookiesCallback&&r.setCookiesCallback(l.setCookies)},l=>{o=l},r.webSocketImpl||Ne,ArrayBuffer),s="",o=rs.CONNECTING,n=()=>{let l=po.call(a);return l===rs.OPEN?o:l};r.readyStateHook?r.readyStateHook(a,n):Object.defineProperty(a,"readyState",{get:n,configurable:!0,enumerable:!0}),r.urlHook?r.urlHook(a,t):Object.defineProperty(a,"url",{get:()=>t.toString(),configurable:!0,enumerable:!0});let c=()=>s;return r.protocolHook?r.protocolHook(a,c):Object.defineProperty(a,"protocol",{get:c,configurable:!0,enumerable:!0}),a}async fetch(t,i){let r=new no(t,i),a=i?.headers||r.headers,s=a instanceof Headers?Object.fromEntries(a):a,o=i?.duplex,n=i?.body||r.body,c=new URL(r.url);if(!self.gBareClientImplementation)throw new TypeError("A request was made before the client was ready!! This is a problem on the end of whoever set the bare client implementation");for(let l=0;;l++){"host"in s?s.host=c.host:s.Host=c.host;let u=await self.gBareClientImplementation.request(r.method,s,n,c,r.cache,o,r.signal,ArrayBuffer);u.finalURL=c.toString();let p=i?.redirect||r.redirect;if(fo.includes(u.status))switch(p){case"follow":{let h=u.headers.get("location");if(co>l&&h!==null){c=new URL(h,c);continue}else throw new TypeError("Failed to fetch")}case"error":throw new TypeError("Failed to fetch");case"manual":return u}else return u}}};async function ss(...e){return new ct}var No=et(ns(),1),vs=et(cs(),1);var{stringify:So}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var Ht={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},ye=17,Eo={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:ye,ClassExpression:ye,FunctionExpression:ye,ObjectExpression:ye,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function ze(e,t){let{generator:i}=e;if(e.write("("),t!=null&&t.length>0){i[t[0].type](t[0],e);let{length:r}=t;for(let a=1;a<r;a++){let s=t[a];e.write(", "),i[s.type](s,e)}}e.write(")")}function xs(e,t,i,r){let a=e.expressionsPrecedence[t.type];if(a===ye)return!0;let s=e.expressionsPrecedence[i.type];return a!==s?!r&&a===15&&s===14&&i.operator==="**"||a<s:a!==13&&a!==14?!1:t.operator==="**"&&i.operator==="**"?!r:a===13&&s===13&&(t.operator==="??"||i.operator==="??")?!0:r?Ht[t.operator]<=Ht[i.operator]:Ht[t.operator]<Ht[i.operator]}function Mt(e,t,i,r){let{generator:a}=e;xs(e,t,i,r)?(e.write("("),a[t.type](t,e),e.write(")")):a[t.type](t,e)}function Ao(e,t,i,r){let a=t.split(`
`),s=a.length-1;if(e.write(a[0].trim()),s>0){e.write(r);for(let o=1;o<s;o++)e.write(i+a[o].trim()+r);e.write(i+a[s].trim())}}function ie(e,t,i,r){let{length:a}=t;for(let s=0;s<a;s++){let o=t[s];e.write(i),o.type[0]==="L"?e.write("// "+o.value.trim()+`
`,o):(e.write("/*"),Ao(e,o.value,i,r),e.write("*/"+r))}}function Bo(e){let t=e;for(;t!=null;){let{type:i}=t;if(i[0]==="C"&&i[1]==="a")return!0;if(i[0]==="M"&&i[1]==="e"&&i[2]==="m")t=t.object;else return!1}}function rr(e,t){let{generator:i}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:a}=r;if(a>0){i.VariableDeclarator(r[0],e);for(let s=1;s<a;s++)e.write(", "),i.VariableDeclarator(r[s],e)}}var us,fs,ls,hs,ps,ds,Po={Program(e,t){let i=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:a}=t;a&&e.comments!=null&&ie(t,e.comments,i,r);let s=e.body,{length:o}=s;for(let n=0;n<o;n++){let c=s[n];a&&c.comments!=null&&ie(t,c.comments,i,r),t.write(i),this[c.type](c,t),t.write(r)}a&&e.trailingComments!=null&&ie(t,e.trailingComments,i,r)},BlockStatement:ds=function(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:a}=t,s=i+t.indent;t.write("{");let o=e.body;if(o!=null&&o.length>0){t.write(r),a&&e.comments!=null&&ie(t,e.comments,s,r);let{length:n}=o;for(let c=0;c<n;c++){let l=o[c];a&&l.comments!=null&&ie(t,l.comments,s,r),t.write(s),this[l.type](l,t),t.write(r)}t.write(i)}else a&&e.comments!=null&&(t.write(r),ie(t,e.comments,s,r),t.write(i));a&&e.trailingComments!=null&&ie(t,e.trailingComments,s,r),t.write("}"),t.indentLevel--},ClassBody:ds,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let i=t.expressionsPrecedence[e.expression.type];i===ye||i===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:a}=t;t.indentLevel++;let s=i+t.indent,o=s+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:n}=e,{length:c}=n;for(let l=0;l<c;l++){let u=n[l];a&&u.comments!=null&&ie(t,u.comments,s,r),u.test?(t.write(s+"case "),this[u.test.type](u.test,t),t.write(":"+r)):t.write(s+"default:"+r);let{consequent:p}=u,{length:h}=p;for(let m=0;m<h;m++){let x=p[m];a&&x.comments!=null&&ie(t,x.comments,o,r),t.write(o),this[x.type](x,t),t.write(r)}}t.indentLevel-=2,t.write(i+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:i}=e;i.param==null?t.write(" catch "):(t.write(" catch ("),this[i.param.type](i.param,t),t.write(") ")),this[i.body.type](i.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){let{init:i}=e;i.type[0]==="V"?rr(t,i):this[i.type](i,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:us=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:i}=e;i.type[0]==="V"?rr(t,i):this[i.type](i,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:us,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:fs=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),ze(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:fs,VariableDeclaration(e,t){rr(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:i}=e,{type:r}=i,a=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(a===ye||a<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:i}=e,{length:r}=i,a=0;if(r>0){for(;a<r;){a>0&&t.write(", ");let s=i[a],o=s.type[6];if(o==="D")t.write(s.local.name,s),a++;else if(o==="N")t.write("* as "+s.local.name,s),a++;else break}if(a<r){for(t.write("{");;){let s=i[a],{name:o}=s.imported;if(t.write(o,s),o!==s.local.name&&t.write(" as "+s.local.name),++a<r)t.write(", ");else break}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:i}=e,{length:r}=i;if(r>0)for(let a=0;;){let s=i[a],{name:o}=s.local;if(t.write(o,s),o!==s.exported.name&&t.write(" as "+s.exported.name),++a<r)t.write(", ");else break}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration(e,t){e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let i=e.kind[0];(i==="g"||i==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),ze(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:i}=e;i!=null&&(i.length===1&&i[0].type[0]==="I"?t.write(i[0].name,i[0]):ze(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:ls=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:ls,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Mt(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:i,expressions:r}=e;t.write("`");let{length:a}=r;for(let o=0;o<a;o++){let n=r[o],c=i[o];t.write(c.value.raw,c),t.write("${"),this[n.type](n,t),t.write("}")}let s=i[i.length-1];t.write(s.value.raw,s),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Mt(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:ps=function(e,t){if(t.write("["),e.elements.length>0){let{elements:i}=e,{length:r}=i;for(let a=0;;){let s=i[a];if(s!=null&&this[s.type](s,t),++a<r)t.write(", ");else{s==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:ps,ObjectExpression(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:a}=t,s=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),a&&e.comments!=null&&ie(t,e.comments,s,r);let o=","+r,{properties:n}=e,{length:c}=n;for(let l=0;;){let u=n[l];if(a&&u.comments!=null&&ie(t,u.comments,s,r),t.write(s),this[u.type](u,t),++l<c)t.write(o);else break}t.write(r),a&&e.trailingComments!=null&&ie(t,e.trailingComments,s,r),t.write(i+"}")}else a?e.comments!=null?(t.write(r),ie(t,e.comments,s,r),e.trailingComments!=null&&ie(t,e.trailingComments,s,r),t.write(i+"}")):e.trailingComments!=null?(t.write(r),ie(t,e.trailingComments,s,r),t.write(i+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:i}=e,{length:r}=i;for(let a=0;this[i[a].type](i[a],t),++a<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){ze(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:i,argument:r,argument:{type:a}}=e;t.write(i);let s=xs(t,r,e);!s&&(i.length>1||a[0]==="U"&&(a[1]==="n"||a[1]==="p")&&r.prefix&&r.operator[0]===i&&(i==="+"||i==="-"))&&t.write(" "),s?(t.write(i.length>1?" (":"("),this[a](r,t),t.write(")")):this[a](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:hs=function(e,t){let i=e.operator==="in";i&&t.write("("),Mt(t,e.left,e,!1),t.write(" "+e.operator+" "),Mt(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:hs,ConditionalExpression(e,t){let{test:i}=e,r=t.expressionsPrecedence[i.type];r===ye||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[i.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let i=t.expressionsPrecedence[e.callee.type];i===ye||i<t.expressionsPrecedence.CallExpression||Bo(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),ze(t,e.arguments)},CallExpression(e,t){let i=t.expressionsPrecedence[e.callee.type];i===ye||i<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),ze(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let i=t.expressionsPrecedence[e.object.type];i===ye||i<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(So(e.value),e)},RegExpLiteral(e,t){let{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},Io={};var ar=class{constructor(t){let i=t??Io;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:Po,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:Eo,this.indent=i.indent!=null?i.indent:" ",this.lineEnd=i.lineEnd!=null?i.lineEnd:`
`,this.indentLevel=i.startingIndentLevel!=null?i.startingIndentLevel:0,this.writeComments=i.comments?i.comments:!1,i.sourceMap!=null&&(this.write=i.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=i.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:i.sourceMap.file||i.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,i){this.output+=t,this.map(t,i)}writeToStreamAndMap(t,i){this.output.write(t),this.map(t,i)}map(t,i){if(i!=null){let{type:s}=i;if(s[0]==="L"&&s[2]==="n"){this.column=0,this.line++;return}if(i.loc!=null){let{mapping:o}=this;o.original=i.loc.start,o.name=i.name,this.sourceMap.addMapping(o)}if(s[0]==="T"&&s[8]==="E"||s[0]==="L"&&s[1]==="i"&&typeof i.value=="string"){let{length:o}=t,{column:n,line:c}=this;for(let l=0;l<o;l++)t[l]===`
`?(n=0,c++):n++;this.column=n,this.line=c;return}}let{length:r}=t,{lineEnd:a}=this;r>0&&(this.lineEndSize>0&&(a.length===1?t[r-1]===a:t.endsWith(a))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}};function ms(e,t){let i=new ar(t);return i.generator[e.type](e,i),i.output}var sr=class{constructor(t){this.mime=ca;this.idb=Bt;this.path=Ro;this.acorn={parse:ts};this.bare={createBareClient:ss,BareClient:ct};this.base64={encode:btoa,decode:atob};this.estree={generate:ms};this.cookie=No;this.setCookieParser=vs.parse;this.ctx=t}},gs=sr;function nr(e,t,i,r,a="",s=!1,o=""){if(self.__dynamic$config)var n=self.__dynamic$config.mode=="development";else var n=!1;if(s){var c=[{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:e+(n?"?"+Math.floor(Math.random()*89999+1e4):"")}]},{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:t+(n?"?"+Math.floor(Math.random()*89999+1e4):"")}]}];return this.ctx.config.assets.files.inject&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:this.ctx.config.assets.files.inject+(n?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}]}),r&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(r)}");document.currentScript?.remove();`)}]}),a&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(a+";document.currentScript?.remove();")}]}),o&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(o+";document.currentScript?.remove();")}]}),c}else{var l=[`<script src="${t+(n?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`,`<script src="${e+(n?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`];return this.ctx.config.assets.files.inject&&l.unshift(`<script src="${this.ctx.config.assets.files.inject+(n?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}"><\/script>`),r&&l.unshift(`<script src="${"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(r)}");document.currentScript?.remove();`)}"><\/script>`),a&&l.unshift(`<script src="${"data:application/javascript;base64,"+btoa(a+";document.currentScript?.remove();")}"><\/script>`),o&&l.unshift(`<script src="${"data:application/javascript;base64,"+btoa(o+";document.currentScript?.remove();")}"><\/script>`),l}}var ft=class{constructor(t){this.generateHead=nr;this.config=[{elements:"all",tags:["style"],action:"css"},{elements:["script","iframe","embed","input","track","media","source","img","a","link","area","form","object"],tags:["src","href","action","data"],action:"url"},{elements:["source","img"],tags:["srcset"],action:"srcset"},{elements:["script","link"],tags:["integrity"],action:"rewrite",new:"nointegrity"},{elements:["script","link"],tags:["nonce"],action:"rewrite",new:"nononce"},{elements:["meta"],tags:["http-equiv"],action:"http-equiv"},{elements:["iframe"],tags:["srcdoc"],action:"html"},{elements:["link"],tags:["imagesrcset"],action:"srcset"},{elements:"all",tags:["onclick"],action:"js"}];this.ctx=t.ctx}generateRedirect(t){return`
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="${t}">here</A>.
</BODY></HTML>
`}iterate(t,i){function r(a=t){for(var s=0;s<a.childNodes.length;s++)i(a.childNodes[s]),a.childNodes[s].childNodes&&a.childNodes[s].childNodes.length&&r(a.childNodes[s])}r(t)}rewrite(t,i,r=[]){return Array.isArray(t)&&(t=t[0]),!t||(t=t.toString(),!t.match(/<(html|script|style)[^>]*>/g)&&t.match(/<\!DOCTYPE[^>]*>/gi))?t:t.replace(/(<!DOCTYPE html>|<html(.*?)>)/im,`$1${r.join("")}
`).replace(/<(script|link)\b[^>]*>/g,(a,s)=>a.replace(/\snonce\s*=\s*"[^"]*"/,o=>o.replace("nonce","nononce")).replace(/\sintegrity\s*=\s*"[^"]*"/,o=>o.replace("integrity","nointegrity")))}};var lt=class{constructor(t){this.ctx=t.ctx}rewrite(t,i,r={}){return t&&t.toString().replace(/(?:@import\s?|url\(?)['"]?(.*?)['")]/gmi,(...a)=>{try{return a[0].replace(a[3],this.ctx.url.encode(a[3],i))}catch{return a[0]}})}};function or(e,t){if(typeof e!="object"||!t)return;i(e,null,t);function i(r,a,s){if(!(typeof r!="object"||!s)){r.parent=a,s(r,a,s);for(let o in r)o!=="parent"&&(Array.isArray(r[o])?r[o].forEach(n=>{n&&i(n,r,s)}):r[o]&&i(r[o],r,s));typeof r.iterateEnd=="function"&&r.iterateEnd()}}}function cr(e,t={},i,r){var a=this.ctx.modules.acorn.parse(e.toString(),{sourceType:t.module?"module":"script",allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,ecmaVersion:"latest",preserveParens:!0,loose:!0,allowReserved:!0});return this.iterate(a,(s,o=null)=>{this.emit(s,s.type,o,i,r,t)}),e=this.ctx.modules.estree.generate(a),e}function ur(e,t={}){if(typeof e.name!="string")return!1;if(e.__dynamic!==!0){if(!["parent","top","postMessage","opener","window","self","globalThis","parent","location"].includes(e.name))return!1;if(!(t.type=="CallExpression"&&t.callee==e)&&!(t.type=="MemberExpression"&&t.object!==e&&!["document","window","self","globalThis"].includes(t.object.name))&&t.type!="FunctionDeclaration"&&t.type!="VariableDeclaration"&&!(t.type=="VariableDeclarator"&&t.id==e)&&t.type!="LabeledStatement"&&!(t.type=="Property"&&t.key==e)&&!(t.type=="ArrowFunctionExpression"&&t.params.includes(e))&&!(t.type=="FunctionExpression"&&t.params.includes(e))&&!(t.type=="FunctionExpression"&&t.id==e)&&!(t.type=="CatchClause"&&t.param==e)&&t.type!="ContinueStatement"&&t.type!="BreakStatement"&&!(t.type=="AssignmentExpression"&&t.left==e)&&t.type!="UpdateExpression"&&t.type!="UpdateExpression"&&!(t.type=="ForInStatement"&&t.left==e)&&!(t.type=="MethodDefinition"&&t.key==e)&&!(t.type=="AssignmentPattern"&&t.left==e)&&t.type!="NewExpression"&&t?.parent?.type!="NewExpression"&&!(t.type=="UnaryExpression"&&t.argument==e)&&!(t.type=="Property"&&t.shorthand==!0&&t.value==e)){if(e.name=="__dynamic")return e.name="undefined";if(e.name=="eval"&&t.right!==e)return e.name="__dynamic$eval";e.name=`dg$(${e.name})`}}}function $e(e,t={}){Object.entries({type:"CallExpression",callee:{type:"MemberExpression",object:{type:"Identifier",name:"self"},property:{type:"Identifier",name:"__dynamic$message"}},arguments:[e.object||e,{type:"Identifier",name:"self",__dynamic:!0}]}).forEach(([i,r])=>e[i]=r)}function fr(e,t={},i={}){if(e.object.name+="",t.type!=="AssignmentExpression"&&t.left!==e){if(e.property.value=="postMessage"&&t.type=="CallExpression"&&t.callee==e)return $e(e,t);if(e.object.value=="postMessage"&&t.type=="CallExpression"&&t.callee==e)return $e(e,t);if((e.property.name=="postMessage"||e.object.name=="postMessage")&&e.object.type!=="Super"){var r=e.object?.name;e.type="CallExpression",e.callee={type:"Identifier",name:"__dynamic$message"},e.arguments=[{type:"Identifier",name:r},{type:"Identifier",name:"self",__dynamic:!0}],t.type=="CallExpression"&&(t.arguments=t.arguments);return}}if(e.property.name=="eval"&&(e.property.name="__dynamic$eval"),e.object.name=="eval"&&(e.object.name="__dynamic$eval"),i.destination!=="worker"&&(e.property.name=="window"&&e.object.name!="top"&&(e.object.name=="self"||e.object.name=="globalThis")&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.property.name="__dynamic$window"),e.object.name=="top"&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.object.name="top.__dynamic$window"),e.property.name=="top"&&(e.object.name=="self"||e.object.name=="globalThis")&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.property.name="top.__dynamic$window"),t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.object.name=="window"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="parent"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.property.name=="__dynamic"&&(e.property.name="undefined"),e.object.name=="self"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="document"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="globalThis"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0})),e.object.name=="location"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.property.name=="location"&&t.type!=="BinaryExpression"&&t.type!=="AssignmentExpression")){e.property.__dynamic=!0,e.__dynamic=!0;let a=Object.assign({},e);e.type="CallExpression",e.callee={type:"Identifier",name:"dg$",__dynamic:!0},e.arguments=[a],e.__dynamic=!0}e.computed&&i.destination!=="worker"&&(e.property={type:"CallExpression",callee:{type:"Identifier",name:"dp$"},arguments:[e.property],__dynamic:!0})}function lr(e,t={}){if(!(e.value instanceof String)||(e.value=="__dynamic"&&(e.value="undefined"),!["location","parent","top","postMessage"].includes(e.value)))return!1;e.value=="postMessage"&&t.type!="AssignmentExpression"&&t.left!=e&&$e(e,t),e.value=="location"&&(e.value="__dynamic$location"),e.value=="__dynamic"&&(e.value="undefined"),e.value=="eval"&&(e.value="__dynamic$eval")}function Ut(e,t={}){e.__dynamic||e.arguments.length&&(e.arguments=[{type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$wrapEval",__dynamic:!0},arguments:e.arguments,__dynamic:!0}],e.__dynamic=!0)}function hr(e,t={}){if(!(t.type=="AssignmentExpression"&&t.left==e)){if(e.callee.type=="Identifier"){if(e.callee.name=="postMessage"){let i="undefined";e.callee.type="CallExpression",e.callee.callee={type:"Identifier",name:"__dynamic$message"},e.callee.arguments=[{type:"Identifier",name:i},{type:"Identifier",name:"self",__dynamic:!0}];return}e.callee.name=="eval"&&Ut(e)}if(e.callee.type=="MemberExpression"){if(e.callee.property.name=="postMessage"&&e.callee.object.type!=="Super"){let i=e.callee.object;e.callee.type="CallExpression",e.callee.callee={type:"Identifier",name:"__dynamic$message"},e.callee.arguments=[i,{type:"Identifier",name:"self",__dynamic:!0}];return}e.callee.object.name=="eval"&&Ut(e)}e.arguments.length>0&&e.arguments.length<4;try{}catch{}}}function pr(e,t={}){if(e.left.type=="Identifier"){if(e.left.__dynamic===!0)return;if(e.left.name=="location"){var i=structuredClone(e.left),r=structuredClone(e.right);e.right.type="CallExpression",e.right.callee={type:"Identifier",name:"ds$"},e.right.arguments=[i,r]}}}function dr(e,t={}){e.parent.type!="ObjectPattern"&&e.parent?.parent?.type!="AssignmentExpression"&&(e.shorthand=!1)}function xr(e,t={},i={},r={}){if(e.type=="Literal"&&(t.type=="ImportDeclaration"||t.type=="ExportNamedDeclaration"||t.type=="ExportAllDeclaration")){var a=e.value+"";e.value=i.url.encode(e.value,r.meta),e.raw=e.raw.replace(a,e.value),e.__dynamic=!0}e.type=="ImportExpression"&&(e.source={type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$import"},arguments:[e.source,{type:"Literal",__dynamic:!0,value:i.meta.href}]},e.__dynamic=!0)}function mr(e,t={}){if(e.id.type!=="Identifier")return!1;e.id.__dynamic!==!0&&e.id.name!="location"}function Lo(e,t,i={},r={},a={},s={}){if(!e.__dynamic){switch(t){case"Identifier":ur(e,i);break;case"MemberExpression":fr(e,i,s);break;case"Literal":lr(e,i);break;case"CallExpression":hr(e,i);break;case"AssignmentExpression":pr(e,i);break;case"ThisExpression":break;case"Property":dr(e,i);break;case"VariableDeclarator":mr(e,i);break;case"CatchClause":break;default:break}xr(e,i,r,a)}}var ys=Lo;var ht=class{constructor(t){this.iterate=or;this.process=cr;this.emit=ys;this.ctx=t.ctx}rewrite(t,i={},r=!0,a={}){if(!t||t instanceof Object||(t=t.toString(),t.includes("/* dynamic.js */")))return t;t=`/* dynamic.js */
${t}`;try{try{t=this.process(t,i,{module:!0,...this.ctx},a)}catch{t=this.process(t,i,{module:!1,...this.ctx},a)}}catch{}return r&&(t=`
if (typeof self !== undefined && typeof self.importScripts == 'function' && typeof self.__dynamic == 'undefined') importScripts('/dynamic/dynamic.config.js', '/dynamic/dynamic.handler.js?'+Math.floor(Math.random()*(99999-10000)+10000));
${t}`),t}};var pt=class{constructor(t){this.config={rewrite:[["icons","urlit"],["name"," - Dynamic"],["start_url","url"],["scope","url"],["short_name"," - Dynamic"],["shortcuts","urlev"]],delete:["serviceworker"]};this.ctx=t.ctx}rewrite(t,i){let r=JSON.parse(t);for(let n in this.config)if(n=="rewrite")for(var[a,s]of this.config[n]){if(s=="urlit"&&r[a]){for(var o=0;o<r[a].length;o++)r[a][o].src=this.ctx.url.encode(r[a][o].src,i);continue}if(s=="urlev"&&r[a]){for(var o=0;o<r[a].length;o++)r[a][o].url=this.ctx.url.encode(r[a][o].url,i);continue}if(s=="url"&&r[a]){r[a]=this.ctx.url.encode(r[a],i);continue}s=="url"||s=="urlit"||s=="urlev"||(r[a]=r[a]+s)}else if(n=="delete")for(var a of this.config[n])r[a]&&delete r[a];return JSON.stringify(r)}};var bs={encode(e,t){return!e||!e.toString()?e:e.split(", ").map(i=>i.split(" ").map((r,a)=>a==0?t.url.encode(r,t.baseURL||t.meta):r).join(" ")).join(", ")},decode(e){return e}};var vr=class{constructor(t){this.ctx=t,this.html=new ft(this),this.srcset=bs,this.js=new ht(this),this.css=new lt(this),this.man=new pt(this)}},ws=vr;async function _s(e){var t;if(e.method==="GET"){var i=new URL(e.url);t=i.searchParams.get("url")}else if(e.method==="POST"){if(t=(await e.formData()).get("url"),t===null){var i=new URL(e.url);t=i.searchParams.get("url")}if(!t)return new Response("Error: Invalid or Unfound url",{status:400})}else return new Response("Error: Invalid method",{status:405});return new Response("",{status:301,headers:{location:location.origin+this.ctx.config.prefix+this.ctx.encoding.encode(t)}})}function Cs({url:e}){return!e.toString().substr(location.origin.length,(this.ctx.config.prefix+"route").length).startsWith(this.ctx.config.prefix+"route")}function gr({url:e}){return!e.toString().substr(location.origin.length,this.ctx.config.prefix.length).startsWith(this.ctx.config.prefix)}async function yr(e,t,i){for(let a in e){if(this.ctx.headers.csp.indexOf(a.toLowerCase())!==-1&&delete e[a],a.toLowerCase()=="location"){e[a]=this.ctx.url.encode(e[a],t);continue}if(a.toLowerCase()==="set-cookie"){Array.isArray(e[a])?e[a]=e[a].map(s=>this.ctx.modules.setCookieParser(s,{decodeValues:!1})[0]):e[a]=this.ctx.modules.setCookieParser(e[a],{decodeValues:!1});for await(var r of e[a])await i.set(t.host,this.ctx.modules.cookie.serialize(r.name,r.value,{...r,encode:s=>s}));delete e[a];continue}}return new Headers(e)}function br(e,t,i,r){let{referrer:a}=i;if(["origin","Origin","host","Host","referer","Referer"].forEach(s=>{e[s]&&delete e[s]}),e.Origin=`${t.protocol}//${t.host}${t.port?":"+t.port:""}`,e.Host=t.host+(t.port?":"+t.port:""),e.Referer=t.href,i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=`${t.protocol}//${t.host}/`),i.referrerPolicy=="origin"&&t.origin&&(a=t.origin+"/"),r){switch(i.credentials){case"omit":break;case"same-origin":i.client&&t.origin==i.client.__dynamic$location.origin&&(e.Cookie=r),i.client||(e.Cookie=r);break;case"include":e.Cookie=r;break;default:break}e.Cookie=r}if(a&&a!=location.origin+"/")try{e.Referer=this.ctx.url.decode(a),i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=new URL(this.ctx.url.decode(a)).origin),e.Origin=new URL(this.ctx.url.decode(a)).origin}catch{}return i.client&&(e.Origin=i.client.__dynamic$location.origin,e.Referer=i.client.__dynamic$location.href,i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=i.client.__dynamic$location.origin)),this.ctx.config.tab&&this.ctx.config.tab.ua&&(delete e["user-agent"],delete e["User-Agent"],e["user-agent"]=this.ctx.config.tab.ua),e["sec-fetch-dest"]=i.destination||"empty",e["sec-fetch-mode"]=i.mode||"cors",e["sec-fetch-site"]=i.client?i.client.__dynamic$location.origin==t.origin?i.client.__dynamic$location.port==t.port?"same-origin":"same-site":"cross-origin":"none",i.mode=="navigate"&&(e["sec-fetch-site"]="same-origin"),e["sec-fetch-user"]="?1",new Headers(e)}function wr(e){var t=Object.assign(Object.create(Object.getPrototypeOf(e)),e);return t}function _r(e){try{if(new new Proxy(e,{construct:()=>({})}),!Object.getOwnPropertyNames(e).includes("arguments"))throw new Error("");return!0}catch{return!1}}function Cr(e){return e.url.toString().substr(location.origin.length,e.url.toString().length).startsWith(self.__dynamic$config.assets.prefix)}async function kr(e){let t;if(self.__dynamic$config.mode!=="development"){var i=await caches.open("__dynamic$files");i?t=await i.match(e.url)||await fetch(e):t=await fetch(e)}else t=await fetch(e);let r=await t.blob();return(e.url.startsWith(location.origin+"/dynamic/dynamic.config.js")||e.url.startsWith(location.origin+"/dynamic/dynamic.client.js"))&&(r=new Blob([`${await r.text()}
self.document?.currentScript?.remove();`],{type:"application/javascript"})),new Response(r,{headers:t.headers,status:t.status,statusText:t.statusText})}async function Sr(e,t){}var dt=class{constructor(t){this.rawHeaders={};this.headers=new Headers({});this.status=200;this.statusText="OK";this.body=t}async blob(){return this.body}async text(){return await this.body.text()}};function Er(e){var t=this.ctx.encoding;return typeof this.ctx.config.encoding=="object"?t={...t,...this.ctx.encoding}:t={...this.ctx.encoding[this.ctx.config.encoding]},this.ctx.encoding={...this.ctx.encoding,...t},this.ctx.encoding}function Ar(e,t,i){if(!e.url.startsWith("http"))return e.url;let r=e.url.toString();return e.url.startsWith(location.origin)&&(r=r.substr(self.location.origin.length)),r=new URL(r,new URL(t.__dynamic$location.href)).href,this.ctx.url.encode(r,i)}var Br=class{constructor(t){this.route=_s;this.routePath=Cs;this.path=gr;this.resHeader=yr;this.reqHeader=br;this.clone=wr;this.class=_r;this.file=Cr;this.edit=kr;this.error=Sr;this.encode=Er;this.rewritePath=Ar;this.about=dt;this.ctx=t}},ks=Br;function Pr(e,t){if(!e)return e;if(e=new String(e).toString(),e.startsWith("about:blank"))return location.origin+this.ctx.config.prefix+e;if(!e.match(this.ctx.regex.ProtocolRegex)&&e.match(/^([a-zA-Z0-9\-]+)\:\/\//g)||e.startsWith("chrome-extension://"))return e;if(e.startsWith("javascript:")&&!e.startsWith("javascript:__dynamic$eval")){let c=new URL(e);return`javascript:__dynamic$eval(${JSON.stringify(c.pathname)})`}if(e.match(this.ctx.regex.WeirdRegex)){var i=this.ctx.regex.WeirdRegex.exec(e);i&&(e=i[2])}if(e.startsWith(location.origin+this.ctx.config.prefix)||e.startsWith(this.ctx.config.prefix)||e.startsWith(location.origin+this.ctx.config.assets.prefix+"dynamic.")||e.match(this.ctx.regex.BypassRegex))return e;if(e.match(this.ctx.regex.DataRegex)){try{var i=this.ctx.regex.DataRegex.exec(e);if(i){var[r,a,s,o,n]=i;o=="base64"?n=this.ctx.modules.base64.atob(decodeURIComponent(n)):n=decodeURIComponent(n),a&&(a=="text/html"?n=this.ctx.rewrite.html.rewrite(n,t,this.ctx.rewrite.html.generateHead(location.origin+"/dynamic/dynamic.client.js",location.origin+"/dynamic/dynamic.config.js","",`window.__dynamic$url = "${t.href}"; window.__dynamic$parentURL = "${location.href}";`)):a=="text/css"?n=this.ctx.rewrite.css.rewrite(n,t):(a=="text/javascript"||a=="application/javascript")&&(n=this.ctx.rewrite.js.rewrite(n,t))),o=="base64"?n=this.ctx.modules.base64.btoa(n):n=encodeURIComponent(n),s?o?e=`data:${a};${s};${o},${n}`:e=`data:${a};${s},${n}`:o?e=`data:${a};${o},${n}`:e=`data:${a},${n}`}}catch{}return e}return e=new String(e).toString(),t.href.match(this.ctx.regex.BypassRegex)&&(e=new URL(e,new URL((this.ctx.parent.__dynamic||this.ctx).meta.href)).href),e=new URL(e,t.href),(this.ctx._location?.origin||(location.origin=="null"?location.ancestorOrigins[0]:location.origin))+this.ctx.config.prefix+(this.ctx.encoding.encode(e.origin+e.pathname)+e.search+e.hash)}function Ir(e){if(!e||(e=new String(e).toString(),e.match(this.ctx.regex.BypassRegex)))return e;var t=e.indexOf(this.ctx.config.prefix);if(t==-1)return e;try{if(e=new URL(e,new URL(self.location.origin)).href,t=e.indexOf(this.ctx.config.prefix),e.slice(t+this.ctx.config.prefix.length).trim()=="about:blank")return"about:blank";var i=new URL(e).search+new URL(e).hash||"",r=new URL(this.ctx.encoding.decode(e.slice(t+this.ctx.config.prefix.length).replace("https://","https:/").replace("https:/","https://").split("?")[0]))}catch{return e}return e=r.origin+r.pathname+i+(new URL(e).search?r.search.replace("?","&"):r.search),e}var Rr=class{constructor(t){this.encode=Pr;this.decode=Ir;this.ctx=t}},Ss=Rr;function Nr(e){e=new URL(e.href);for(var t in e)this.ctx.meta[t]=e[t];return!0}var xt=class{constructor(){}};var Lr=class extends xt{constructor(i){super();this.load=Nr;this.ctx=i}},Es=Lr;var mt=class{constructor(t="",i=new Request("")){this.headers=new Headers({});this.redirect="manual";this.body=null;this.method="GET";i.headers&&(this.headers=i.headers),i.redirect&&(this.redirect=i.redirect),i.body&&(this.body=i.body),this.method=i.method||"GET",this.url=new String(t)}get init(){return{headers:this.headers||new Headers({}),redirect:this.redirect||"manual",body:this.body||null,method:this.method||"GET"}}};var vt=class extends Response{constructor(i="",r=new Response("")){super(i,r);this.status=200;this.statusText="OK";this.headers=new Headers({});this.body=i,r.status&&(this.status=r.status),r.statusText&&(this.statusText=r.statusText),r.headers&&(this.headers=r.headers)}get init(){return{headers:this.headers||new Headers({}),statusText:this.statusText||200,body:this.body||new Blob([]),status:this.statusText||"OK"}}};var Dr=class{constructor(t){this.Request=mt;this.Response=vt;this.ctx=t}},As=Dr;var Do=/^(#|about:|mailto:|blob:|javascript:)/g,To=/^data:([a-z\/A-Z0-9\-\+]+);?(charset\=[\-A-Za-z0-9]+)?;?(base64)?[;,]*(.*)/g,Oo=/^([\/A-Za-z0-9\-%]+)(http[s]?:\/\/.*)/g,gt=class{constructor(t){this.BypassRegex=Do;this.DataRegex=To;this.WeirdRegex=Oo;this.ctx=t}};var Tr=class{constructor(t){this.ctx=t}},Bs=Tr;function Or(e,t=""){return(this.ctx.modules.mime.contentType(t||e.pathname)||"text/css").split(";")[0]==="text/css"}function Vr(e,t="",i=""){let r;return!t&&this.ctx.modules.mime.contentType(e.pathname)==e.pathname?i.trim().match(/<(html|script|body)[^>]*>/g)&&(r=i.trim().indexOf((i.trim().match(/<(html|script|body)[^>]*>/g)||[])[0]),r>-1&&r<100):(this.ctx.modules.mime.contentType(t||e.pathname)||"text/html").split(";")[0]==="text/html"||i.trim().match(/\<\!(doctype|DOCTYPE) html\>/g)}function Fr(e,t=""){if(e.pathname.endsWith(".js")&&t=="text/plain")return!0;var i=(this.ctx.modules.mime.contentType(t||e.pathname)||"application/javascript").split(";")[0];return i=="text/javascript"||i=="application/javascript"||i=="application/x-javascript"}var jr=class{constructor(t){this.html=Vr;this.js=Fr;this.css=Or;this.ctx=t}},Ps=jr;function Vo(e,t){return e||(e=[]),e.find(i=>i.name==t.name)?e[e.findIndex(i=>i.name==t.name)]={name:t.name,value:t.value,expires:t.expires}:e.push({name:t.name,value:t.value,expires:t.expires}),e}var Ee={open:async()=>Ti("__dynamic$cookies",1,{async upgrade(e){await e.createObjectStore("__dynamic$cookies")}}),set:async(e,t,i)=>{if(t.domain&&(e=t.domain),e.startsWith(".")&&(e=e.slice(1)),t.expires){var r=new Date(t.expires);if(r<new Date)return Ee.remove(e,t,i)}return await(await i).put("__dynamic$cookies",Vo(await(await i).get("__dynamic$cookies",e),t),e),!0},get:async(e,t)=>{var i=e.replace(/^(.*\.)?([^.]*\..*)$/g,"$2"),r=await(await t).get("__dynamic$cookies",e)||[];if(e!==i&&e!=="."+i){var a=await(await t).get("__dynamic$cookies",i);if(a)for(var{name:s,value:o,expires:n}of a){if(n){var c=new Date(n);if(c<=new Date){Ee.remove(e,a.find(l=>l.name==s&&l.value==o&&l.expires==n),t);continue}}r.find(l=>l.name==s&&l.value==o)||r.push({name:s,value:o,expires:n||new Date(1e13)})}}return r},remove:async(e,t,i)=>{t.domain&&(e=t.domain),e.startsWith(".")&&(e=e.slice(1));var r=await(await i).get("__dynamic$cookies",e);return r?(r=r.filter(a=>a.name!==t.name),await(await i).put("__dynamic$cookies",r,e),!0):!1},update:async(e,t)=>{var i=e.replace(/^(.*\.)?([^.]*\..*)$/g,"$2"),r=await(await t).get("__dynamic$cookies",i);if(r){for(var{name:a,value:s,expires:o}of r)if(o){var n=new Date(o);if(n<=new Date){Ee.remove(e,{name:a,value:s,expires:o},t);continue}}}return r}};var Is=(e=[])=>e.map(t=>`${t.name}=${t.value}`).join("; ");var yt=class{constructor(t){this.db=Ee;this.ctx=t}async get(t){this._db||(this._db=this.db.open());let i=await Ee.get(t,this._db);return Is(i)}async set(t,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{decodeValues:!1})[0],this._db||(this._db=this.db.open()),await Ee.set(t,i,this._db)}async open(){await Ee.open()}async update(t){return this._db||(this._db=this.db.open()),await Ee.update(t,this._db)}};var Rs={csp:["cross-origin-embedder-policy","cross-origin-opener-policy","cross-origin-resource-policy","content-security-policy","content-security-policy-report-only","expect-ct","feature-policy","origin-isolation","strict-transport-security","upgrade-insecure-requests","x-content-type-options","x-frame-options","x-permitted-cross-domain-policies","x-xss-protection"],status:{empty:[204,101,205,304]},method:{body:["GET","HEAD"]}};var Ur={};ia(Ur,{aes:()=>Ho,base64:()=>Uo,none:()=>Mo,plain:()=>jo,xor:()=>Fo});var wt=et(jn(),1),Fo={encode:(e,t=2)=>e&&encodeURIComponent(e.split("").map((i,r)=>r%t?String.fromCharCode(i.charCodeAt(0)^t):i).join("")),decode:(e,t=2)=>e&&decodeURIComponent(e).split("").map((i,r)=>r%t?String.fromCharCode(i.charCodeAt(0)^t):i).join("")},jo={encode:e=>e&&encodeURIComponent(e),decode:e=>e&&decodeURIComponent(e)},Ho={encode:e=>e&&wt.AES.encrypt(e,"dynamic").toString().substring(10),decode:e=>e&&wt.AES.decrypt("U2FsdGVkX1"+e,"dynamic").toString(wt.enc.Utf8)},Mo={encode:e=>e,decode:e=>e},Uo={encode:e=>e&&decodeURIComponent(btoa(e)),decode:e=>e&&atob(e)};var _t=class{constructor(t){this.listeners=[];this.modules=new gs(this);this.util=new ks(this);this.http=new As(this);this.meta=new Es(this);this.rewrite=new ws(this);this.url=new Ss(this);this.is=new Ps(this);this.cookies=new yt(this);this.regex=new gt(this);this.headers=Rs;this.encoding=Ur;this.middleware=new Bs(this);t&&!this.config&&(this.config=t),t&&this.util.encode(self)}on(t,i){this.listeners.push({event:t,cb:i})}fire(t,i){for(let r of this.listeners)if(r.event===t)return i=r.cb(...i),i;return null}};(function(e){e.skipWaiting(),e.addEventListener("install",async(r,a)=>{let s=e.__dynamic$config.logLevel||0;if(s>1&&console[e.__dynamic$config.mode=="development"?"group":"groupCollapsed"]("Dynamic Install Sequence:"),typeof e.ORIGINS=="object")if(e.ORIGINS.length)if(e.ORIGINS[0]=="*")console.log("Wildcard Origin Accepted");else if(e.ORIGINS.includes(location.origin))s>1&&console.log("Origin Verified: "+location.origin);else return console.error("Illegal Origin: "+location.origin),console.log("Status: Aborting Install"),console.groupEnd(),await e.registration.unregister();else console.warn("Warning: No Origins Specified");else typeof e.ORIGINS=="string"?e.ORIGINS=="*"&&s>1&&console.log("Wildcard Origin Accepted"):s>0&&console.warn("Warning: No Origins Specified");s>1&&console.log("ServiceWorker Installed:",r),s>1&&console.log("Configuration Loaded:",e.__dynamic$config),await e.skipWaiting(),s>1&&console.groupCollapsed("Loading Dynamic Modules:");for await(var o of[["html","dynamic.html.js"]]){var[n,c]=o;c=new URL(c,new URL(location.origin+e.__dynamic$config.assets.prefix+"dynamic.worker.js")).href,e[n]=fetch(c).then(u=>(s>1&&console.log("Loaded Dynamic Module: "+n,u),e[n]=u.text())).then(u=>(0,eval)(u)),s>1&&console.log("Loading: "+n,c)}if(console.groupEnd(),e.__dynamic$config.mode=="development")return console.groupEnd();let l=await caches.open("__dynamic$files");s>1&&console.groupCollapsed("Dynamic File Cache:");for await(var o of Object.values(e.__dynamic$config.assets.files)){if(!o)continue;var c=o;c=new URL(c,new URL(location.origin+e.__dynamic$config.assets.prefix+"dynamic.worker.js")).href;let h=await fetch(c);await l.put(c,h),s>1&&console.log("Cache Installed: "+c.split("/").pop(),h)}console.groupEnd(),console.groupEnd()}),e.addEventListener("activate",r=>{e.skipWaiting(),r.waitUntil(e.clients.claim())}),e.addEventListener("message",async r=>{let{data:a}=r;if(a.type=="createBlobHandler"){var s=new Response(a.blob,{headers:{"Content-Type":"text/html","Content-Length":a.blob.size,"x-dynamic-location":a.location}}),o=await caches.open("__dynamic$blob"),n=t.config.prefix+"caches/"+a.url;await o.put(n,s),e.clients.matchAll().then(c=>{c.forEach(l=>{l.postMessage({url:n})})})}}),e.__dynamic$config||importScripts("/dynamic/dynamic.config.js");let t=new _t(e.__dynamic$config),i=e.__dynamic$config.block||[];return t.config=e.__dynamic$config,t.config.bare.path=typeof t.config.bare.path=="string"?[new URL(t.config.bare.path,e.location)][0]:t.config.bare.path.map(r=>new URL(r,e.location)),t.encoding={...t.encoding,...t.encoding[t.config.encoding||"none"]},e.__dynamic=t,e.Object.defineProperty(e.WindowClient.prototype,"__dynamic$location",{get(){return new URL(t.url.decode(this.url))}}),e.Dynamic=class{constructor(r=e.__dynamic$config){this.listeners=[];this.middleware=t.middleware;this.on=e.__dynamic.on;this.fire=e.__dynamic.fire;t.bare=t.modules.bare.createBareClient(t.config.bare.path),e.__dynamic$config=r}async route(r){let{request:a}=r;if(a.url.startsWith(t.config.bare.path.toString()))return!1;if(a.url.startsWith(location.origin+e.__dynamic$config.prefix))return!0;if(i.includes(a.url))return!1;if(a.mode!=="navigate"&&(a.client=(await e.clients.matchAll()).find(s=>s.id==r.clientId)),!a.url.startsWith(location.origin+e.__dynamic$config.prefix))return a.client?!!a.client.url.startsWith(location.origin+e.__dynamic$config.prefix):!1}async fetch(r){let{request:a}=r;try{if(a.mode!=="navigate"&&(a.client=(await e.clients.matchAll()).find(w=>w.id==r.clientId)),t.util.file(a))return await t.util.edit(a);if(a.url.startsWith(e.__dynamic$config.bare.path.toString()))return await fetch(a);if(t.util.path(a)){if(!a.client||!a.url.startsWith("http"))return await fetch(a);Object.defineProperty(a,"url",{value:t.util.rewritePath(a,a.client,new URL(e.__dynamic.url.decode(new URL(a.url))))})}if(!t.util.routePath(a))return await t.util.route(a);await t.bare.working;let c=new _t(t.config);c.encoding={...c.encoding,...c.encoding[t.config.encoding||"none"]},c.on=(w,g)=>e.__dynamic.on(w,g),c.fire=(w,...g)=>e.__dynamic.fire(w,g);let l=c.fire("request",[a]);if(l)return l;if(a.url.startsWith(location.origin+t.config.prefix+"caches/")){let g=await(await caches.open("__dynamic")).match(new URL(a.url).pathname);if(!g)return new Response(null,{status:201});var s;let C=await g.blob(),_=await C.text(),I=c.rewrite.html.generateHead(location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.client,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.config,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.config,"",`window.__dynamic$url = "${g.headers.get("x-dynamic-location")}"`);return c.meta.load(new URL(g.headers.get("x-dynamic-location"))),c.is.html(c.meta,g.headers.get("content-type"),_)?s=new Blob([c.rewrite.html.rewrite(_,c.meta,I)]):s=C,new Response(s,{status:g.status,statusText:g.statusText,headers:g.headers})}if(c.meta.load(new URL(c.url.decode(new URL(a.url)))),i.indexOf(c.meta.host)!==-1)return this.fire("blocked",[c.meta,a])||new Response(null,{status:403,statusText:"Forbidden"});let u=c.cookies;await u.open(),await u.update(c.meta.host);let p=Object.fromEntries(a.headers.entries()),h=t.util.reqHeader(p,c.meta,a,await u.get(a.client?a.client.__dynamic$location.host:c.meta.host)),m=new t.http.Request(c.meta.href,{headers:h,redirect:a.redirect||"manual",method:a.method,credentials:a.credentials,body:null,cache:a.cache}),x;t.headers.method.body.indexOf(a.method.toUpperCase())==-1&&(m.body=await a.blob()),c.meta.protocol!=="about:"?x=await(await t.bare).fetch(c.meta.href,m.init):x=new t.util.about(new Blob(["<html><head></head><body></body></html>"]));let b=this.fire("fetched",[c.meta,x,a]);if(b)return b;let y=await c.util.resHeader(x.rawHeaders,c.meta,u);var o=await e.clients.matchAll();for await(var n of o)n.postMessage({type:"cookies",host:c.meta.host,cookies:await u.get(c.meta.host)});let d=!1;switch(a.destination){case"document":let w=await x.blob(),g=await w.text(),C=c.rewrite.html.generateHead(location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.client,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.config,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.client,await u.get(c.meta.host),"",!1,"self.__dynamic$bare = JSON.parse('"+JSON.stringify((await t.bare).manifest)+"');");c.is.html(c.meta,x.headers.get("content-type"),g)?d=new Blob([c.rewrite.html.rewrite(g,c.meta,C)],{type:x.headers.get("content-type")||"text/html; charset=utf-8"}):d=w;break;case"iframe":{let _=await x.blob(),I=await _.text();if(c.is.html(c.meta,x.headers.get("content-type"),I)){try{let B=c.rewrite.html.generateHead(location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.client,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.config,location.origin+e.__dynamic$config.assets.prefix+e.__dynamic$config.assets.files.client,await u.get(c.meta.host),"",!0,"self.__dynamic$bare = JSON.parse('"+JSON.stringify((await t.bare).manifest)+"');");d=new Blob([new(await e.html)({ctx:c}).rewrite(I,c.meta,B)],{type:x.headers.get("content-type")||"text/html; charset=utf-8"})}catch{d=_}break}d=_;break}case"worker":case"script":c.is.js(c.meta,x.headers.get("content-type"))&&(d=new Blob([c.rewrite.js.rewrite(await x.text(),a,!0,c)],{type:x.headers.get("content-type")||"application/javascript"}));break;case"style":c.is.css(c.meta,x.headers.get("content-type"))&&(d=new Blob([c.rewrite.css.rewrite(await x.text(),c.meta)],{type:x.headers.get("content-type")||"text/css"}));break;case"manifest":d=new Blob([c.rewrite.man.rewrite(await x.text(),c.meta)],{type:x.headers.get("content-type")||"application/json"});break;default:{let _=await x.blob(),I=await _.text();if(c.is.html(c.meta,x.headers.get("content-type"),I)){try{d=new Blob([new(await e.html)({ctx:c}).rewrite(I,c.meta,[])],{type:x.headers.get("content-type")||"text/html; charset=utf-8"})}catch{d=_}break}d=_;break}}d==!1&&(d=await x.blob()),t.headers.status.empty.indexOf(x.status)!==-1&&(d=null),h.get("accept")==="text/event-stream"&&y.set("content-type","text/event-stream"),d&&y.set("content-length",d.size);let v=this.fire("response",[c.meta,x,a,y,d]);return v||new Response(d,{status:x.status,statusText:x.statusText,headers:y})}catch(c){return e.__dynamic$config.logLevel>=1&&console.error(c),new Response(c,{status:500,statusText:"error",headers:new Headers({})})}}}})(self);})();
/*! Bundled license information:
cookie/index.js:
(*!
* cookie
* Copyright(c) 2012-2014 Roman Shtylman
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*)
crypto-js/ripemd160.js:
(** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*)
crypto-js/mode-ctr-gladman.js:
(** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*)
*/
//# sourceMappingURL=dynamic.worker.js.map