Files
Polaris/static/dynamic/dynamic.handler.js
T
2023-09-09 11:28:34 -06:00

56 lines
281 KiB
JavaScript

"use strict";(()=>{var Mo=Object.create;var Dt=Object.defineProperty;var Ho=Object.getOwnPropertyDescriptor;var Fo=Object.getOwnPropertyNames;var Vo=Object.getPrototypeOf,jo=Object.prototype.hasOwnProperty;var $o=(e,t,i)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Nn=(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 j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),On=(e,t)=>{for(var i in t)Dt(e,i,{get:t[i],enumerable:!0})},Uo=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Fo(t))!jo.call(e,n)&&n!==i&&Dt(e,n,{get:()=>t[n],enumerable:!(r=Ho(t,n))||r.enumerable});return e};var ot=(e,t,i)=>(i=e!=null?Mo(Vo(e)):{},Uo(t||!e||!e.__esModule?Dt(i,"default",{value:e,enumerable:!0}):i,e));var he=(e,t,i)=>($o(e,typeof t!="symbol"?t+"":t,i),i);var qi=j((Nc,Hn)=>{"use strict";function Ce(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Mn(e,t){for(var i="",r=0,n=-1,a=0,s,o=0;o<=e.length;++o){if(o<e.length)s=e.charCodeAt(o);else{if(s===47)break;s=47}if(s===47){if(!(n===o-1||a===1))if(n!==o-1&&a===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("/")),n=o,a=0;continue}}else if(i.length===2||i.length===1){i="",r=0,n=o,a=0;continue}}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(n+1,o):i=e.slice(n+1,o),r=o-n-1;n=o,a=0}else s===46&&a!==-1?++a:a=-1}return i}function Wo(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 qe={resolve:function(){for(var t="",i=!1,r,n=arguments.length-1;n>=-1&&!i;n--){var a;n>=0?a=arguments[n]:(r===void 0&&(r=process.cwd()),a=r),Ce(a),a.length!==0&&(t=a+"/"+t,i=a.charCodeAt(0)===47)}return t=Mn(t,!i),i?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Ce(t),t.length===0)return".";var i=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Mn(t,!i),t.length===0&&!i&&(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return Ce(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];Ce(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":qe.normalize(t)},relative:function(t,i){if(Ce(t),Ce(i),t===i||(t=qe.resolve(t),i=qe.resolve(i),t===i))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var n=t.length,a=n-r,s=1;s<i.length&&i.charCodeAt(s)===47;++s);for(var o=i.length,c=o-s,f=a<c?a:c,u=-1,h=0;h<=f;++h){if(h===f){if(c>f){if(i.charCodeAt(s+h)===47)return i.slice(s+h+1);if(h===0)return i.slice(s+h)}else a>f&&(t.charCodeAt(r+h)===47?u=h:h===0&&(u=0));break}var p=t.charCodeAt(r+h),m=i.charCodeAt(s+h);if(p!==m)break;p===47&&(u=h)}var y="";for(h=r+u+1;h<=n;++h)(h===n||t.charCodeAt(h)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+i.slice(s+u):(s+=u,i.charCodeAt(s)===47&&++s,i.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(Ce(t),t.length===0)return".";for(var i=t.charCodeAt(0),r=i===47,n=-1,a=!0,s=t.length-1;s>=1;--s)if(i=t.charCodeAt(s),i===47){if(!a){n=s;break}}else a=!1;return n===-1?r?"/":".":r&&n===1?"//":t.slice(0,n)},basename:function(t,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Ce(t);var r=0,n=-1,a=!0,s;if(i!==void 0&&i.length>0&&i.length<=t.length){if(i.length===t.length&&i===t)return"";var o=i.length-1,c=-1;for(s=t.length-1;s>=0;--s){var f=t.charCodeAt(s);if(f===47){if(!a){r=s+1;break}}else c===-1&&(a=!1,c=s+1),o>=0&&(f===i.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=c))}return r===n?n=c:n===-1&&(n=t.length),t.slice(r,n)}else{for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===47){if(!a){r=s+1;break}}else n===-1&&(a=!1,n=s+1);return n===-1?"":t.slice(r,n)}},extname:function(t){Ce(t);for(var i=-1,r=0,n=-1,a=!0,s=0,o=t.length-1;o>=0;--o){var c=t.charCodeAt(o);if(c===47){if(!a){r=o+1;break}continue}n===-1&&(a=!1,n=o+1),c===46?i===-1?i=o:s!==1&&(s=1):i!==-1&&(s=-1)}return i===-1||n===-1||s===0||s===1&&i===n-1&&i===r+1?"":t.slice(i,n)},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 Wo("/",t)},parse:function(t){Ce(t);var i={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return i;var r=t.charCodeAt(0),n=r===47,a;n?(i.root="/",a=1):a=0;for(var s=-1,o=0,c=-1,f=!0,u=t.length-1,h=0;u>=a;--u){if(r=t.charCodeAt(u),r===47){if(!f){o=u+1;break}continue}c===-1&&(f=!1,c=u+1),r===46?s===-1?s=u:h!==1&&(h=1):s!==-1&&(h=-1)}return s===-1||c===-1||h===0||h===1&&s===c-1&&s===o+1?c!==-1&&(o===0&&n?i.base=i.name=t.slice(1,c):i.base=i.name=t.slice(o,c)):(o===0&&n?(i.name=t.slice(1,s),i.base=t.slice(1,c)):(i.name=t.slice(o,s),i.base=t.slice(o,c)),i.ext=t.slice(s,c)),o>0?i.dir=t.slice(0,o-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};qe.posix=qe;Hn.exports=qe});var Ua=j(vr=>{"use strict";vr.parse=sc;vr.serialize=oc;var ac=Object.prototype.toString,Kt=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function sc(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var i={},r=t||{},n=r.decode||cc,a=0;a<e.length;){var s=e.indexOf("=",a);if(s===-1)break;var o=e.indexOf(";",a);if(o===-1)o=e.length;else if(o<s){a=e.lastIndexOf(";",s-1)+1;continue}var c=e.slice(a,s).trim();if(i[c]===void 0){var f=e.slice(s+1,o).trim();f.charCodeAt(0)===34&&(f=f.slice(1,-1)),i[c]=lc(f,n)}a=o+1}return i}function oc(e,t,i){var r=i||{},n=r.encode||uc;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!Kt.test(e))throw new TypeError("argument name is invalid");var a=n(t);if(a&&!Kt.test(a))throw new TypeError("argument val is invalid");var s=e+"="+a;if(r.maxAge!=null){var o=r.maxAge-0;if(isNaN(o)||!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(o)}if(r.domain){if(!Kt.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!Kt.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var c=r.expires;if(!fc(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+c.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.priority){var f=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(f){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; 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:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function cc(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function uc(e){return encodeURIComponent(e)}function fc(e){return ac.call(e)==="[object Date]"||e instanceof Date}function lc(e,t){try{return t(e)}catch{return e}}});var qa=j((Wc,xt)=>{"use strict";var Qe={decodeValues:!0,map:!1,silent:!1};function gr(e){return typeof e=="string"&&!!e.trim()}function _r(e,t){var i=e.split(";").filter(gr),r=i.shift(),n=hc(r),a=n.name,s=n.value;t=t?Object.assign({},Qe,t):Qe;try{s=t.decodeValues?decodeURIComponent(s):s}catch(c){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+s+"'. Set options.decodeValues to false to disable this feature.",c)}var o={name:a,value:s};return i.forEach(function(c){var f=c.split("="),u=f.shift().trimLeft().toLowerCase(),h=f.join("=");u==="expires"?o.expires=new Date(h):u==="max-age"?o.maxAge=parseInt(h,10):u==="secure"?o.secure=!0:u==="httponly"?o.httpOnly=!0:u==="samesite"?o.sameSite=h:o[u]=h}),o}function hc(e){var t="",i="",r=e.split("=");return r.length>1?(t=r.shift(),i=r.join("=")):i=e,{name:t,value:i}}function Wa(e,t){if(t=t?Object.assign({},Qe,t):Qe,!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(n){return n.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({},Qe,t):Qe,t.map){var r={};return e.filter(gr).reduce(function(n,a){var s=_r(a,t);return n[s.name]=s,n},r)}else return e.filter(gr).map(function(n){return _r(n,t)})}function pc(e){if(Array.isArray(e))return e;if(typeof e!="string")return[];var t=[],i=0,r,n,a,s,o;function c(){for(;i<e.length&&/\s/.test(e.charAt(i));)i+=1;return i<e.length}function f(){return n=e.charAt(i),n!=="="&&n!==";"&&n!==","}for(;i<e.length;){for(r=i,o=!1;c();)if(n=e.charAt(i),n===","){for(a=i,i+=1,c(),s=i;i<e.length&&f();)i+=1;i<e.length&&e.charAt(i)==="="?(o=!0,i=s,t.push(e.substring(r,a)),r=i):i=a+1}else i+=1;(!o||i>=e.length)&&t.push(e.substring(r,e.length))}return t}xt.exports=Wa;xt.exports.parse=Wa;xt.exports.parseString=_r;xt.exports.splitCookiesString=pc});var ms=j(()=>{});var G=j((si,xs)=>{(function(e,t){typeof si=="object"?xs.exports=si=t():typeof define=="function"&&define.amd?define([],t):e.CryptoJS=t()})(si,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 Nn=="function")try{r=ms()}catch{}var n=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.")},a=Object.create||function(){function d(){}return function(x){var b;return d.prototype=x,b=new d,d.prototype=null,b}}(),s={},o=s.lib={},c=o.Base=function(){return{extend:function(d){var x=a(this);return d&&x.mixIn(d),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var x in d)d.hasOwnProperty(x)&&(this[x]=d[x]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=o.WordArray=c.extend({init:function(d,x){d=this.words=d||[],x!=i?this.sigBytes=x:this.sigBytes=d.length*4},toString:function(d){return(d||h).stringify(this)},concat:function(d){var x=this.words,b=d.words,_=this.sigBytes,S=d.sigBytes;if(this.clamp(),_%4)for(var w=0;w<S;w++){var B=b[w>>>2]>>>24-w%4*8&255;x[_+w>>>2]|=B<<24-(_+w)%4*8}else for(var P=0;P<S;P+=4)x[_+P>>>2]=b[P>>>2];return this.sigBytes+=S,this},clamp:function(){var d=this.words,x=this.sigBytes;d[x>>>2]&=4294967295<<32-x%4*8,d.length=t.ceil(x/4)},clone:function(){var d=c.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var x=[],b=0;b<d;b+=4)x.push(n());return new f.init(x,d)}}),u=s.enc={},h=u.Hex={stringify:function(d){for(var x=d.words,b=d.sigBytes,_=[],S=0;S<b;S++){var w=x[S>>>2]>>>24-S%4*8&255;_.push((w>>>4).toString(16)),_.push((w&15).toString(16))}return _.join("")},parse:function(d){for(var x=d.length,b=[],_=0;_<x;_+=2)b[_>>>3]|=parseInt(d.substr(_,2),16)<<24-_%8*4;return new f.init(b,x/2)}},p=u.Latin1={stringify:function(d){for(var x=d.words,b=d.sigBytes,_=[],S=0;S<b;S++){var w=x[S>>>2]>>>24-S%4*8&255;_.push(String.fromCharCode(w))}return _.join("")},parse:function(d){for(var x=d.length,b=[],_=0;_<x;_++)b[_>>>2]|=(d.charCodeAt(_)&255)<<24-_%4*8;return new f.init(b,x)}},m=u.Utf8={stringify:function(d){try{return decodeURIComponent(escape(p.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return p.parse(unescape(encodeURIComponent(d)))}},y=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.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 x,b=this._data,_=b.words,S=b.sigBytes,w=this.blockSize,B=w*4,P=S/B;d?P=t.ceil(P):P=t.max((P|0)-this._minBufferSize,0);var T=P*w,N=t.min(T*4,S);if(T){for(var C=0;C<T;C+=w)this._doProcessBlock(_,C);x=_.splice(0,T),b.sigBytes-=N}return new f.init(x,N)},clone:function(){var d=c.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0}),g=o.Hasher=y.extend({cfg:c.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var x=this._doFinalize();return x},blockSize:512/32,_createHelper:function(d){return function(x,b){return new d.init(b).finalize(x)}},_createHmacHelper:function(d){return function(x,b){return new v.HMAC.init(d,b).finalize(x)}}}),v=s.algo={};return s}(Math);return e})});var At=j((oi,ys)=>{(function(e,t){typeof oi=="object"?ys.exports=oi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(oi,function(e){return function(t){var i=e,r=i.lib,n=r.Base,a=r.WordArray,s=i.x64={},o=s.Word=n.extend({init:function(f,u){this.high=f,this.low=u}}),c=s.WordArray=n.extend({init:function(f,u){f=this.words=f||[],u!=t?this.sigBytes=u:this.sigBytes=f.length*8},toX32:function(){for(var f=this.words,u=f.length,h=[],p=0;p<u;p++){var m=f[p];h.push(m.high),h.push(m.low)}return a.create(h,this.sigBytes)},clone:function(){for(var f=n.clone.call(this),u=f.words=this.words.slice(0),h=u.length,p=0;p<h;p++)u[p]=u[p].clone();return f}})}(),e})});var gs=j((ci,vs)=>{(function(e,t){typeof ci=="object"?vs.exports=ci=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ci,function(e){return function(){if(typeof ArrayBuffer=="function"){var t=e,i=t.lib,r=i.WordArray,n=r.init,a=r.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var o=s.byteLength,c=[],f=0;f<o;f++)c[f>>>2]|=s[f]<<24-f%4*8;n.call(this,c,o)}else n.apply(this,arguments)};a.prototype=r}}(),e.lib.WordArray})});var bs=j((ui,_s)=>{(function(e,t){typeof ui=="object"?_s.exports=ui=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ui,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Utf16=n.Utf16BE={stringify:function(o){for(var c=o.words,f=o.sigBytes,u=[],h=0;h<f;h+=2){var p=c[h>>>2]>>>16-h%4*8&65535;u.push(String.fromCharCode(p))}return u.join("")},parse:function(o){for(var c=o.length,f=[],u=0;u<c;u++)f[u>>>1]|=o.charCodeAt(u)<<16-u%2*16;return r.create(f,c*2)}};n.Utf16LE={stringify:function(o){for(var c=o.words,f=o.sigBytes,u=[],h=0;h<f;h+=2){var p=s(c[h>>>2]>>>16-h%4*8&65535);u.push(String.fromCharCode(p))}return u.join("")},parse:function(o){for(var c=o.length,f=[],u=0;u<c;u++)f[u>>>1]|=s(o.charCodeAt(u)<<16-u%2*16);return r.create(f,c*2)}};function s(o){return o<<8&4278255360|o>>>8&16711935}}(),e.enc.Utf16})});var Ve=j((fi,ws)=>{(function(e,t){typeof fi=="object"?ws.exports=fi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(fi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Base64={stringify:function(o){var c=o.words,f=o.sigBytes,u=this._map;o.clamp();for(var h=[],p=0;p<f;p+=3)for(var m=c[p>>>2]>>>24-p%4*8&255,y=c[p+1>>>2]>>>24-(p+1)%4*8&255,g=c[p+2>>>2]>>>24-(p+2)%4*8&255,v=m<<16|y<<8|g,d=0;d<4&&p+d*.75<f;d++)h.push(u.charAt(v>>>6*(3-d)&63));var x=u.charAt(64);if(x)for(;h.length%4;)h.push(x);return h.join("")},parse:function(o){var c=o.length,f=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var h=0;h<f.length;h++)u[f.charCodeAt(h)]=h}var p=f.charAt(64);if(p){var m=o.indexOf(p);m!==-1&&(c=m)}return s(o,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(o,c,f){for(var u=[],h=0,p=0;p<c;p++)if(p%4){var m=f[o.charCodeAt(p-1)]<<p%4*2,y=f[o.charCodeAt(p)]>>>6-p%4*2,g=m|y;u[h>>>2]|=g<<24-h%4*8,h++}return r.create(u,h)}}(),e.enc.Base64})});var Cs=j((li,Ss)=>{(function(e,t){typeof li=="object"?Ss.exports=li=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(li,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Base64url={stringify:function(o,c=!0){var f=o.words,u=o.sigBytes,h=c?this._safe_map:this._map;o.clamp();for(var p=[],m=0;m<u;m+=3)for(var y=f[m>>>2]>>>24-m%4*8&255,g=f[m+1>>>2]>>>24-(m+1)%4*8&255,v=f[m+2>>>2]>>>24-(m+2)%4*8&255,d=y<<16|g<<8|v,x=0;x<4&&m+x*.75<u;x++)p.push(h.charAt(d>>>6*(3-x)&63));var b=h.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(o,c=!0){var f=o.length,u=c?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var p=0;p<u.length;p++)h[u.charCodeAt(p)]=p}var m=u.charAt(64);if(m){var y=o.indexOf(m);y!==-1&&(f=y)}return s(o,f,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(o,c,f){for(var u=[],h=0,p=0;p<c;p++)if(p%4){var m=f[o.charCodeAt(p-1)]<<p%4*2,y=f[o.charCodeAt(p)]>>>6-p%4*2,g=m|y;u[h>>>2]|=g<<24-h%4*8,h++}return r.create(u,h)}}(),e.enc.Base64url})});var je=j((hi,ks)=>{(function(e,t){typeof hi=="object"?ks.exports=hi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(hi,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,s=i.algo,o=[];(function(){for(var m=0;m<64;m++)o[m]=t.abs(t.sin(m+1))*4294967296|0})();var c=s.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,y){for(var g=0;g<16;g++){var v=y+g,d=m[v];m[v]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360}var x=this._hash.words,b=m[y+0],_=m[y+1],S=m[y+2],w=m[y+3],B=m[y+4],P=m[y+5],T=m[y+6],N=m[y+7],C=m[y+8],I=m[y+9],D=m[y+10],R=m[y+11],F=m[y+12],H=m[y+13],$=m[y+14],q=m[y+15],k=x[0],A=x[1],L=x[2],E=x[3];k=f(k,A,L,E,b,7,o[0]),E=f(E,k,A,L,_,12,o[1]),L=f(L,E,k,A,S,17,o[2]),A=f(A,L,E,k,w,22,o[3]),k=f(k,A,L,E,B,7,o[4]),E=f(E,k,A,L,P,12,o[5]),L=f(L,E,k,A,T,17,o[6]),A=f(A,L,E,k,N,22,o[7]),k=f(k,A,L,E,C,7,o[8]),E=f(E,k,A,L,I,12,o[9]),L=f(L,E,k,A,D,17,o[10]),A=f(A,L,E,k,R,22,o[11]),k=f(k,A,L,E,F,7,o[12]),E=f(E,k,A,L,H,12,o[13]),L=f(L,E,k,A,$,17,o[14]),A=f(A,L,E,k,q,22,o[15]),k=u(k,A,L,E,_,5,o[16]),E=u(E,k,A,L,T,9,o[17]),L=u(L,E,k,A,R,14,o[18]),A=u(A,L,E,k,b,20,o[19]),k=u(k,A,L,E,P,5,o[20]),E=u(E,k,A,L,D,9,o[21]),L=u(L,E,k,A,q,14,o[22]),A=u(A,L,E,k,B,20,o[23]),k=u(k,A,L,E,I,5,o[24]),E=u(E,k,A,L,$,9,o[25]),L=u(L,E,k,A,w,14,o[26]),A=u(A,L,E,k,C,20,o[27]),k=u(k,A,L,E,H,5,o[28]),E=u(E,k,A,L,S,9,o[29]),L=u(L,E,k,A,N,14,o[30]),A=u(A,L,E,k,F,20,o[31]),k=h(k,A,L,E,P,4,o[32]),E=h(E,k,A,L,C,11,o[33]),L=h(L,E,k,A,R,16,o[34]),A=h(A,L,E,k,$,23,o[35]),k=h(k,A,L,E,_,4,o[36]),E=h(E,k,A,L,B,11,o[37]),L=h(L,E,k,A,N,16,o[38]),A=h(A,L,E,k,D,23,o[39]),k=h(k,A,L,E,H,4,o[40]),E=h(E,k,A,L,b,11,o[41]),L=h(L,E,k,A,w,16,o[42]),A=h(A,L,E,k,T,23,o[43]),k=h(k,A,L,E,I,4,o[44]),E=h(E,k,A,L,F,11,o[45]),L=h(L,E,k,A,q,16,o[46]),A=h(A,L,E,k,S,23,o[47]),k=p(k,A,L,E,b,6,o[48]),E=p(E,k,A,L,N,10,o[49]),L=p(L,E,k,A,$,15,o[50]),A=p(A,L,E,k,P,21,o[51]),k=p(k,A,L,E,F,6,o[52]),E=p(E,k,A,L,w,10,o[53]),L=p(L,E,k,A,D,15,o[54]),A=p(A,L,E,k,_,21,o[55]),k=p(k,A,L,E,C,6,o[56]),E=p(E,k,A,L,q,10,o[57]),L=p(L,E,k,A,T,15,o[58]),A=p(A,L,E,k,H,21,o[59]),k=p(k,A,L,E,B,6,o[60]),E=p(E,k,A,L,R,10,o[61]),L=p(L,E,k,A,S,15,o[62]),A=p(A,L,E,k,I,21,o[63]),x[0]=x[0]+k|0,x[1]=x[1]+A|0,x[2]=x[2]+L|0,x[3]=x[3]+E|0},_doFinalize:function(){var m=this._data,y=m.words,g=this._nDataBytes*8,v=m.sigBytes*8;y[v>>>5]|=128<<24-v%32;var d=t.floor(g/4294967296),x=g;y[(v+64>>>9<<4)+15]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,y[(v+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,m.sigBytes=(y.length+1)*4,this._process();for(var b=this._hash,_=b.words,S=0;S<4;S++){var w=_[S];_[S]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return b},clone:function(){var m=a.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,y,g,v,d,x,b){var _=m+(y&g|~y&v)+d+b;return(_<<x|_>>>32-x)+y}function u(m,y,g,v,d,x,b){var _=m+(y&v|g&~v)+d+b;return(_<<x|_>>>32-x)+y}function h(m,y,g,v,d,x,b){var _=m+(y^g^v)+d+b;return(_<<x|_>>>32-x)+y}function p(m,y,g,v,d,x,b){var _=m+(g^(y|~v))+d+b;return(_<<x|_>>>32-x)+y}i.MD5=a._createHelper(c),i.HmacMD5=a._createHmacHelper(c)}(Math),e.MD5})});var di=j((pi,Es)=>{(function(e,t){typeof pi=="object"?Es.exports=pi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(pi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=i.Hasher,a=t.algo,s=[],o=a.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var u=this._hash.words,h=u[0],p=u[1],m=u[2],y=u[3],g=u[4],v=0;v<80;v++){if(v<16)s[v]=c[f+v]|0;else{var d=s[v-3]^s[v-8]^s[v-14]^s[v-16];s[v]=d<<1|d>>>31}var x=(h<<5|h>>>27)+g+s[v];v<20?x+=(p&m|~p&y)+1518500249:v<40?x+=(p^m^y)+1859775393:v<60?x+=(p&m|p&y|m&y)-1894007588:x+=(p^m^y)-899497514,g=y,y=m,m=p<<30|p>>>2,p=h,h=x}u[0]=u[0]+h|0,u[1]=u[1]+p|0,u[2]=u[2]+m|0,u[3]=u[3]+y|0,u[4]=u[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,u=this._nDataBytes*8,h=c.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(u/4294967296),f[(h+64>>>9<<4)+15]=u,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=n.clone.call(this);return c._hash=this._hash.clone(),c}});t.SHA1=n._createHelper(o),t.HmacSHA1=n._createHmacHelper(o)}(),e.SHA1})});var _n=j((mi,As)=>{(function(e,t){typeof mi=="object"?As.exports=mi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(mi,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,s=i.algo,o=[],c=[];(function(){function h(g){for(var v=t.sqrt(g),d=2;d<=v;d++)if(!(g%d))return!1;return!0}function p(g){return(g-(g|0))*4294967296|0}for(var m=2,y=0;y<64;)h(m)&&(y<8&&(o[y]=p(t.pow(m,1/2))),c[y]=p(t.pow(m,1/3)),y++),m++})();var f=[],u=s.SHA256=a.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(h,p){for(var m=this._hash.words,y=m[0],g=m[1],v=m[2],d=m[3],x=m[4],b=m[5],_=m[6],S=m[7],w=0;w<64;w++){if(w<16)f[w]=h[p+w]|0;else{var B=f[w-15],P=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,T=f[w-2],N=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;f[w]=P+f[w-7]+N+f[w-16]}var C=x&b^~x&_,I=y&g^y&v^g&v,D=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),R=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),F=S+R+C+c[w]+f[w],H=D+I;S=_,_=b,b=x,x=d+F|0,d=v,v=g,g=y,y=F+H|0}m[0]=m[0]+y|0,m[1]=m[1]+g|0,m[2]=m[2]+v|0,m[3]=m[3]+d|0,m[4]=m[4]+x|0,m[5]=m[5]+b|0,m[6]=m[6]+_|0,m[7]=m[7]+S|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,y=h.sigBytes*8;return p[y>>>5]|=128<<24-y%32,p[(y+64>>>9<<4)+14]=t.floor(m/4294967296),p[(y+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=a._createHelper(u),i.HmacSHA256=a._createHmacHelper(u)}(Math),e.SHA256})});var Ps=j((xi,Ls)=>{(function(e,t,i){typeof xi=="object"?Ls.exports=xi=t(G(),_n()):typeof define=="function"&&define.amd?define(["./core","./sha256"],t):t(e.CryptoJS)})(xi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.algo,a=n.SHA256,s=n.SHA224=a.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=a._doFinalize.call(this);return o.sigBytes-=4,o}});t.SHA224=a._createHelper(s),t.HmacSHA224=a._createHmacHelper(s)}(),e.SHA224})});var bn=j((yi,Rs)=>{(function(e,t,i){typeof yi=="object"?Rs.exports=yi=t(G(),At()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(yi,function(e){return function(){var t=e,i=t.lib,r=i.Hasher,n=t.x64,a=n.Word,s=n.WordArray,o=t.algo;function c(){return a.create.apply(a,arguments)}var f=[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 p=0;p<80;p++)u[p]=c()})();var h=o.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(p,m){for(var y=this._hash.words,g=y[0],v=y[1],d=y[2],x=y[3],b=y[4],_=y[5],S=y[6],w=y[7],B=g.high,P=g.low,T=v.high,N=v.low,C=d.high,I=d.low,D=x.high,R=x.low,F=b.high,H=b.low,$=_.high,q=_.low,k=S.high,A=S.low,L=w.high,E=w.low,Q=B,X=P,se=T,U=N,et=C,$e=I,Ui=D,tt=R,_e=F,ue=H,It=$,it=q,Bt=k,rt=A,Wi=L,nt=E,be=0;be<80;be++){var le,Ie,Tt=u[be];if(be<16)Ie=Tt.high=p[m+be*2]|0,le=Tt.low=p[m+be*2+1]|0;else{var Sn=u[be-15],Ue=Sn.high,at=Sn.low,Co=(Ue>>>1|at<<31)^(Ue>>>8|at<<24)^Ue>>>7,Cn=(at>>>1|Ue<<31)^(at>>>8|Ue<<24)^(at>>>7|Ue<<25),kn=u[be-2],We=kn.high,st=kn.low,ko=(We>>>19|st<<13)^(We<<3|st>>>29)^We>>>6,En=(st>>>19|We<<13)^(st<<3|We>>>29)^(st>>>6|We<<26),An=u[be-7],Eo=An.high,Ao=An.low,Ln=u[be-16],Lo=Ln.high,Pn=Ln.low;le=Cn+Ao,Ie=Co+Eo+(le>>>0<Cn>>>0?1:0),le=le+En,Ie=Ie+ko+(le>>>0<En>>>0?1:0),le=le+Pn,Ie=Ie+Lo+(le>>>0<Pn>>>0?1:0),Tt.high=Ie,Tt.low=le}var Po=_e&It^~_e&Bt,Rn=ue&it^~ue&rt,Ro=Q&se^Q&et^se&et,Io=X&U^X&$e^U&$e,Bo=(Q>>>28|X<<4)^(Q<<30|X>>>2)^(Q<<25|X>>>7),In=(X>>>28|Q<<4)^(X<<30|Q>>>2)^(X<<25|Q>>>7),To=(_e>>>14|ue<<18)^(_e>>>18|ue<<14)^(_e<<23|ue>>>9),Do=(ue>>>14|_e<<18)^(ue>>>18|_e<<14)^(ue<<23|_e>>>9),Bn=f[be],No=Bn.high,Tn=Bn.low,fe=nt+Do,Be=Wi+To+(fe>>>0<nt>>>0?1:0),fe=fe+Rn,Be=Be+Po+(fe>>>0<Rn>>>0?1:0),fe=fe+Tn,Be=Be+No+(fe>>>0<Tn>>>0?1:0),fe=fe+le,Be=Be+Ie+(fe>>>0<le>>>0?1:0),Dn=In+Io,Oo=Bo+Ro+(Dn>>>0<In>>>0?1:0);Wi=Bt,nt=rt,Bt=It,rt=it,It=_e,it=ue,ue=tt+fe|0,_e=Ui+Be+(ue>>>0<tt>>>0?1:0)|0,Ui=et,tt=$e,et=se,$e=U,se=Q,U=X,X=fe+Dn|0,Q=Be+Oo+(X>>>0<fe>>>0?1:0)|0}P=g.low=P+X,g.high=B+Q+(P>>>0<X>>>0?1:0),N=v.low=N+U,v.high=T+se+(N>>>0<U>>>0?1:0),I=d.low=I+$e,d.high=C+et+(I>>>0<$e>>>0?1:0),R=x.low=R+tt,x.high=D+Ui+(R>>>0<tt>>>0?1:0),H=b.low=H+ue,b.high=F+_e+(H>>>0<ue>>>0?1:0),q=_.low=q+it,_.high=$+It+(q>>>0<it>>>0?1:0),A=S.low=A+rt,S.high=k+Bt+(A>>>0<rt>>>0?1:0),E=w.low=E+nt,w.high=L+Wi+(E>>>0<nt>>>0?1:0)},_doFinalize:function(){var p=this._data,m=p.words,y=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32,m[(g+128>>>10<<5)+30]=Math.floor(y/4294967296),m[(g+128>>>10<<5)+31]=y,p.sigBytes=m.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var p=r.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512})});var Bs=j((vi,Is)=>{(function(e,t,i){typeof vi=="object"?Is.exports=vi=t(G(),At(),bn()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],t):t(e.CryptoJS)})(vi,function(e){return function(){var t=e,i=t.x64,r=i.Word,n=i.WordArray,a=t.algo,s=a.SHA512,o=a.SHA384=s.extend({_doReset:function(){this._hash=new n.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=s._doFinalize.call(this);return c.sigBytes-=16,c}});t.SHA384=s._createHelper(o),t.HmacSHA384=s._createHmacHelper(o)}(),e.SHA384})});var Ds=j((gi,Ts)=>{(function(e,t,i){typeof gi=="object"?Ts.exports=gi=t(G(),At()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(gi,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,s=i.x64,o=s.Word,c=i.algo,f=[],u=[],h=[];(function(){for(var y=1,g=0,v=0;v<24;v++){f[y+5*g]=(v+1)*(v+2)/2%64;var d=g%5,x=(2*y+3*g)%5;y=d,g=x}for(var y=0;y<5;y++)for(var g=0;g<5;g++)u[y+5*g]=g+(2*y+3*g)%5*5;for(var b=1,_=0;_<24;_++){for(var S=0,w=0,B=0;B<7;B++){if(b&1){var P=(1<<B)-1;P<32?w^=1<<P:S^=1<<P-32}b&128?b=b<<1^113:b<<=1}h[_]=o.create(S,w)}})();var p=[];(function(){for(var y=0;y<25;y++)p[y]=o.create()})();var m=c.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],g=0;g<25;g++)y[g]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,g){for(var v=this._state,d=this.blockSize/2,x=0;x<d;x++){var b=y[g+2*x],_=y[g+2*x+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var S=v[x];S.high^=_,S.low^=b}for(var w=0;w<24;w++){for(var B=0;B<5;B++){for(var P=0,T=0,N=0;N<5;N++){var S=v[B+5*N];P^=S.high,T^=S.low}var C=p[B];C.high=P,C.low=T}for(var B=0;B<5;B++)for(var I=p[(B+4)%5],D=p[(B+1)%5],R=D.high,F=D.low,P=I.high^(R<<1|F>>>31),T=I.low^(F<<1|R>>>31),N=0;N<5;N++){var S=v[B+5*N];S.high^=P,S.low^=T}for(var H=1;H<25;H++){var P,T,S=v[H],$=S.high,q=S.low,k=f[H];k<32?(P=$<<k|q>>>32-k,T=q<<k|$>>>32-k):(P=q<<k-32|$>>>64-k,T=$<<k-32|q>>>64-k);var A=p[u[H]];A.high=P,A.low=T}var L=p[0],E=v[0];L.high=E.high,L.low=E.low;for(var B=0;B<5;B++)for(var N=0;N<5;N++){var H=B+5*N,S=v[H],Q=p[H],X=p[(B+1)%5+5*N],se=p[(B+2)%5+5*N];S.high=Q.high^~X.high&se.high,S.low=Q.low^~X.low&se.low}var S=v[0],U=h[w];S.high^=U.high,S.low^=U.low}},_doFinalize:function(){var y=this._data,g=y.words,v=this._nDataBytes*8,d=y.sigBytes*8,x=this.blockSize*32;g[d>>>5]|=1<<24-d%32,g[(t.ceil((d+1)/x)*x>>>5)-1]|=128,y.sigBytes=g.length*4,this._process();for(var b=this._state,_=this.cfg.outputLength/8,S=_/8,w=[],B=0;B<S;B++){var P=b[B],T=P.high,N=P.low;T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,w.push(N),w.push(T)}return new n.init(w,_)},clone:function(){for(var y=a.clone.call(this),g=y._state=this._state.slice(0),v=0;v<25;v++)g[v]=g[v].clone();return y}});i.SHA3=a._createHelper(m),i.HmacSHA3=a._createHmacHelper(m)}(Math),e.SHA3})});var Os=j((_i,Ns)=>{(function(e,t){typeof _i=="object"?Ns.exports=_i=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(_i,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,s=i.algo,o=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=n.create([0,1518500249,1859775393,2400959708,2840853838]),p=n.create([1352829926,1548603684,1836072691,2053994217,0]),m=s.RIPEMD160=a.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,S){for(var w=0;w<16;w++){var B=S+w,P=_[B];_[B]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}var T=this._hash.words,N=h.words,C=p.words,I=o.words,D=c.words,R=f.words,F=u.words,H,$,q,k,A,L,E,Q,X,se;L=H=T[0],E=$=T[1],Q=q=T[2],X=k=T[3],se=A=T[4];for(var U,w=0;w<80;w+=1)U=H+_[S+I[w]]|0,w<16?U+=y($,q,k)+N[0]:w<32?U+=g($,q,k)+N[1]:w<48?U+=v($,q,k)+N[2]:w<64?U+=d($,q,k)+N[3]:U+=x($,q,k)+N[4],U=U|0,U=b(U,R[w]),U=U+A|0,H=A,A=k,k=b(q,10),q=$,$=U,U=L+_[S+D[w]]|0,w<16?U+=x(E,Q,X)+C[0]:w<32?U+=d(E,Q,X)+C[1]:w<48?U+=v(E,Q,X)+C[2]:w<64?U+=g(E,Q,X)+C[3]:U+=y(E,Q,X)+C[4],U=U|0,U=b(U,F[w]),U=U+se|0,L=se,se=X,X=b(Q,10),Q=E,E=U;U=T[1]+q+X|0,T[1]=T[2]+k+se|0,T[2]=T[3]+A+L|0,T[3]=T[4]+H+E|0,T[4]=T[0]+$+Q|0,T[0]=U},_doFinalize:function(){var _=this._data,S=_.words,w=this._nDataBytes*8,B=_.sigBytes*8;S[B>>>5]|=128<<24-B%32,S[(B+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,_.sigBytes=(S.length+1)*4,this._process();for(var P=this._hash,T=P.words,N=0;N<5;N++){var C=T[N];T[N]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return P},clone:function(){var _=a.clone.call(this);return _._hash=this._hash.clone(),_}});function y(_,S,w){return _^S^w}function g(_,S,w){return _&S|~_&w}function v(_,S,w){return(_|~S)^w}function d(_,S,w){return _&w|S&~w}function x(_,S,w){return _^(S|~w)}function b(_,S){return _<<S|_>>>32-S}i.RIPEMD160=a._createHelper(m),i.HmacRIPEMD160=a._createHmacHelper(m)}(Math),e.RIPEMD160})});var wi=j((bi,Ms)=>{(function(e,t){typeof bi=="object"?Ms.exports=bi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(bi,function(e){(function(){var t=e,i=t.lib,r=i.Base,n=t.enc,a=n.Utf8,s=t.algo,o=s.HMAC=r.extend({init:function(c,f){c=this._hasher=new c.init,typeof f=="string"&&(f=a.parse(f));var u=c.blockSize,h=u*4;f.sigBytes>h&&(f=c.finalize(f)),f.clamp();for(var p=this._oKey=f.clone(),m=this._iKey=f.clone(),y=p.words,g=m.words,v=0;v<u;v++)y[v]^=1549556828,g[v]^=909522486;p.sigBytes=m.sigBytes=h,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 f=this._hasher,u=f.finalize(c);f.reset();var h=f.finalize(this._oKey.clone().concat(u));return h}})})()})});var Fs=j((Si,Hs)=>{(function(e,t,i){typeof Si=="object"?Hs.exports=Si=t(G(),di(),wi()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(Si,function(e){return function(){var t=e,i=t.lib,r=i.Base,n=i.WordArray,a=t.algo,s=a.SHA1,o=a.HMAC,c=a.PBKDF2=r.extend({cfg:r.extend({keySize:128/32,hasher:s,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,u){for(var h=this.cfg,p=o.create(h.hasher,f),m=n.create(),y=n.create([1]),g=m.words,v=y.words,d=h.keySize,x=h.iterations;g.length<d;){var b=p.update(u).finalize(y);p.reset();for(var _=b.words,S=_.length,w=b,B=1;B<x;B++){w=p.finalize(w),p.reset();for(var P=w.words,T=0;T<S;T++)_[T]^=P[T]}m.concat(b),v[0]++}return m.sigBytes=d*4,m}});t.PBKDF2=function(f,u,h){return c.create(h).compute(f,u)}}(),e.PBKDF2})});var He=j((Ci,Vs)=>{(function(e,t,i){typeof Ci=="object"?Vs.exports=Ci=t(G(),di(),wi()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(Ci,function(e){return function(){var t=e,i=t.lib,r=i.Base,n=i.WordArray,a=t.algo,s=a.MD5,o=a.EvpKDF=r.extend({cfg:r.extend({keySize:128/32,hasher:s,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,f){for(var u,h=this.cfg,p=h.hasher.create(),m=n.create(),y=m.words,g=h.keySize,v=h.iterations;y.length<g;){u&&p.update(u),u=p.update(c).finalize(f),p.reset();for(var d=1;d<v;d++)u=p.finalize(u),p.reset();m.concat(u)}return m.sigBytes=g*4,m}});t.EvpKDF=function(c,f,u){return o.create(u).compute(c,f)}}(),e.EvpKDF})});var J=j((ki,js)=>{(function(e,t,i){typeof ki=="object"?js.exports=ki=t(G(),He()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],t):t(e.CryptoJS)})(ki,function(e){e.lib.Cipher||function(t){var i=e,r=i.lib,n=r.Base,a=r.WordArray,s=r.BufferedBlockAlgorithm,o=i.enc,c=o.Utf8,f=o.Base64,u=i.algo,h=u.EvpKDF,p=r.Cipher=s.extend({cfg:n.extend(),createEncryptor:function(C,I){return this.create(this._ENC_XFORM_MODE,C,I)},createDecryptor:function(C,I){return this.create(this._DEC_XFORM_MODE,C,I)},init:function(C,I,D){this.cfg=this.cfg.extend(D),this._xformMode=C,this._key=I,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(C){return this._append(C),this._process()},finalize:function(C){C&&this._append(C);var I=this._doFinalize();return I},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function C(I){return typeof I=="string"?N:B}return function(I){return{encrypt:function(D,R,F){return C(R).encrypt(I,D,R,F)},decrypt:function(D,R,F){return C(R).decrypt(I,D,R,F)}}}}()}),m=r.StreamCipher=p.extend({_doFinalize:function(){var C=this._process(!0);return C},blockSize:1}),y=i.mode={},g=r.BlockCipherMode=n.extend({createEncryptor:function(C,I){return this.Encryptor.create(C,I)},createDecryptor:function(C,I){return this.Decryptor.create(C,I)},init:function(C,I){this._cipher=C,this._iv=I}}),v=y.CBC=function(){var C=g.extend();C.Encryptor=C.extend({processBlock:function(D,R){var F=this._cipher,H=F.blockSize;I.call(this,D,R,H),F.encryptBlock(D,R),this._prevBlock=D.slice(R,R+H)}}),C.Decryptor=C.extend({processBlock:function(D,R){var F=this._cipher,H=F.blockSize,$=D.slice(R,R+H);F.decryptBlock(D,R),I.call(this,D,R,H),this._prevBlock=$}});function I(D,R,F){var H,$=this._iv;$?(H=$,this._iv=t):H=this._prevBlock;for(var q=0;q<F;q++)D[R+q]^=H[q]}return C}(),d=i.pad={},x=d.Pkcs7={pad:function(C,I){for(var D=I*4,R=D-C.sigBytes%D,F=R<<24|R<<16|R<<8|R,H=[],$=0;$<R;$+=4)H.push(F);var q=a.create(H,R);C.concat(q)},unpad:function(C){var I=C.words[C.sigBytes-1>>>2]&255;C.sigBytes-=I}},b=r.BlockCipher=p.extend({cfg:p.cfg.extend({mode:v,padding:x}),reset:function(){var C;p.reset.call(this);var I=this.cfg,D=I.iv,R=I.mode;this._xformMode==this._ENC_XFORM_MODE?C=R.createEncryptor:(C=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==C?this._mode.init(this,D&&D.words):(this._mode=C.call(R,this,D&&D.words),this._mode.__creator=C)},_doProcessBlock:function(C,I){this._mode.processBlock(C,I)},_doFinalize:function(){var C,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),C=this._process(!0)):(C=this._process(!0),I.unpad(C)),C},blockSize:128/32}),_=r.CipherParams=n.extend({init:function(C){this.mixIn(C)},toString:function(C){return(C||this.formatter).stringify(this)}}),S=i.format={},w=S.OpenSSL={stringify:function(C){var I,D=C.ciphertext,R=C.salt;return R?I=a.create([1398893684,1701076831]).concat(R).concat(D):I=D,I.toString(f)},parse:function(C){var I,D=f.parse(C),R=D.words;return R[0]==1398893684&&R[1]==1701076831&&(I=a.create(R.slice(2,4)),R.splice(0,4),D.sigBytes-=16),_.create({ciphertext:D,salt:I})}},B=r.SerializableCipher=n.extend({cfg:n.extend({format:w}),encrypt:function(C,I,D,R){R=this.cfg.extend(R);var F=C.createEncryptor(D,R),H=F.finalize(I),$=F.cfg;return _.create({ciphertext:H,key:D,iv:$.iv,algorithm:C,mode:$.mode,padding:$.padding,blockSize:C.blockSize,formatter:R.format})},decrypt:function(C,I,D,R){R=this.cfg.extend(R),I=this._parse(I,R.format);var F=C.createDecryptor(D,R).finalize(I.ciphertext);return F},_parse:function(C,I){return typeof C=="string"?I.parse(C,this):C}}),P=i.kdf={},T=P.OpenSSL={execute:function(C,I,D,R){R||(R=a.random(64/8));var F=h.create({keySize:I+D}).compute(C,R),H=a.create(F.words.slice(I),D*4);return F.sigBytes=I*4,_.create({key:F,iv:H,salt:R})}},N=r.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:T}),encrypt:function(C,I,D,R){R=this.cfg.extend(R);var F=R.kdf.execute(D,C.keySize,C.ivSize);R.iv=F.iv;var H=B.encrypt.call(this,C,I,F.key,R);return H.mixIn(F),H},decrypt:function(C,I,D,R){R=this.cfg.extend(R),I=this._parse(I,R.format);var F=R.kdf.execute(D,C.keySize,C.ivSize,I.salt);R.iv=F.iv;var H=B.decrypt.call(this,C,I,F.key,R);return H}})}()})});var Us=j((Ei,$s)=>{(function(e,t,i){typeof Ei=="object"?$s.exports=Ei=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ei,function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,s=a.blockSize;i.call(this,r,n,s,a),this._prevBlock=r.slice(n,n+s)}}),t.Decryptor=t.extend({processBlock:function(r,n){var a=this._cipher,s=a.blockSize,o=r.slice(n,n+s);i.call(this,r,n,s,a),this._prevBlock=o}});function i(r,n,a,s){var o,c=this._iv;c?(o=c.slice(0),this._iv=void 0):o=this._prevBlock,s.encryptBlock(o,0);for(var f=0;f<a;f++)r[n+f]^=o[f]}return t}(),e.mode.CFB})});var qs=j((Ai,Ws)=>{(function(e,t,i){typeof Ai=="object"?Ws.exports=Ai=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ai,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,s=a.blockSize,o=this._iv,c=this._counter;o&&(c=this._counter=o.slice(0),this._iv=void 0);var f=c.slice(0);a.encryptBlock(f,0),c[s-1]=c[s-1]+1|0;for(var u=0;u<s;u++)r[n+u]^=f[u]}});return t.Decryptor=i,t}(),e.mode.CTR})});var Gs=j((Li,zs)=>{(function(e,t,i){typeof Li=="object"?zs.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(a){if((a>>24&255)===255){var s=a>>16&255,o=a>>8&255,c=a&255;s===255?(s=0,o===255?(o=0,c===255?c=0:++c):++o):++s,a=0,a+=s<<16,a+=o<<8,a+=c}else a+=1<<24;return a}function r(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var n=t.Encryptor=t.extend({processBlock:function(a,s){var o=this._cipher,c=o.blockSize,f=this._iv,u=this._counter;f&&(u=this._counter=f.slice(0),this._iv=void 0),r(u);var h=u.slice(0);o.encryptBlock(h,0);for(var p=0;p<c;p++)a[s+p]^=h[p]}});return t.Decryptor=n,t}(),e.mode.CTRGladman})});var Xs=j((Pi,Ks)=>{(function(e,t,i){typeof Pi=="object"?Ks.exports=Pi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Pi,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,s=a.blockSize,o=this._iv,c=this._keystream;o&&(c=this._keystream=o.slice(0),this._iv=void 0),a.encryptBlock(c,0);for(var f=0;f<s;f++)r[n+f]^=c[f]}});return t.Decryptor=i,t}(),e.mode.OFB})});var Ys=j((Ri,Qs)=>{(function(e,t,i){typeof Ri=="object"?Qs.exports=Ri=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ri,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 Js=j((Ii,Zs)=>{(function(e,t,i){typeof Ii=="object"?Zs.exports=Ii=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ii,function(e){return e.pad.AnsiX923={pad:function(t,i){var r=t.sigBytes,n=i*4,a=n-r%n,s=r+a-1;t.clamp(),t.words[s>>>2]|=a<<24-s%4*8,t.sigBytes+=a},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Ansix923})});var to=j((Bi,eo)=>{(function(e,t,i){typeof Bi=="object"?eo.exports=Bi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Bi,function(e){return e.pad.Iso10126={pad:function(t,i){var r=i*4,n=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(n-1)).concat(e.lib.WordArray.create([n<<24],1))},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Iso10126})});var ro=j((Ti,io)=>{(function(e,t,i){typeof Ti=="object"?io.exports=Ti=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ti,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 ao=j((Di,no)=>{(function(e,t,i){typeof Di=="object"?no.exports=Di=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Di,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 oo=j((Ni,so)=>{(function(e,t,i){typeof Ni=="object"?so.exports=Ni=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ni,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})});var uo=j((Oi,co)=>{(function(e,t,i){typeof Oi=="object"?co.exports=Oi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Oi,function(e){return function(t){var i=e,r=i.lib,n=r.CipherParams,a=i.enc,s=a.Hex,o=i.format,c=o.Hex={stringify:function(f){return f.ciphertext.toString(s)},parse:function(f){var u=s.parse(f);return n.create({ciphertext:u})}}}(),e.format.Hex})});var lo=j((Mi,fo)=>{(function(e,t,i){typeof Mi=="object"?fo.exports=Mi=t(G(),Ve(),je(),He(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Mi,function(e){return function(){var t=e,i=t.lib,r=i.BlockCipher,n=t.algo,a=[],s=[],o=[],c=[],f=[],u=[],h=[],p=[],m=[],y=[];(function(){for(var d=[],x=0;x<256;x++)x<128?d[x]=x<<1:d[x]=x<<1^283;for(var b=0,_=0,x=0;x<256;x++){var S=_^_<<1^_<<2^_<<3^_<<4;S=S>>>8^S&255^99,a[b]=S,s[S]=b;var w=d[b],B=d[w],P=d[B],T=d[S]*257^S*16843008;o[b]=T<<24|T>>>8,c[b]=T<<16|T>>>16,f[b]=T<<8|T>>>24,u[b]=T;var T=P*16843009^B*65537^w*257^b*16843008;h[S]=T<<24|T>>>8,p[S]=T<<16|T>>>16,m[S]=T<<8|T>>>24,y[S]=T,b?(b=w^d[d[d[P^w]]],_^=d[d[_]]):b=_=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){var d;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,b=x.words,_=x.sigBytes/4,S=this._nRounds=_+6,w=(S+1)*4,B=this._keySchedule=[],P=0;P<w;P++)P<_?B[P]=b[P]:(d=B[P-1],P%_?_>6&&P%_==4&&(d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[d&255]):(d=d<<8|d>>>24,d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[d&255],d^=g[P/_|0]<<24),B[P]=B[P-_]^d);for(var T=this._invKeySchedule=[],N=0;N<w;N++){var P=w-N;if(N%4)var d=B[P];else var d=B[P-4];N<4||P<=4?T[N]=d:T[N]=h[a[d>>>24]]^p[a[d>>>16&255]]^m[a[d>>>8&255]]^y[a[d&255]]}}},encryptBlock:function(d,x){this._doCryptBlock(d,x,this._keySchedule,o,c,f,u,a)},decryptBlock:function(d,x){var b=d[x+1];d[x+1]=d[x+3],d[x+3]=b,this._doCryptBlock(d,x,this._invKeySchedule,h,p,m,y,s);var b=d[x+1];d[x+1]=d[x+3],d[x+3]=b},_doCryptBlock:function(d,x,b,_,S,w,B,P){for(var T=this._nRounds,N=d[x]^b[0],C=d[x+1]^b[1],I=d[x+2]^b[2],D=d[x+3]^b[3],R=4,F=1;F<T;F++){var H=_[N>>>24]^S[C>>>16&255]^w[I>>>8&255]^B[D&255]^b[R++],$=_[C>>>24]^S[I>>>16&255]^w[D>>>8&255]^B[N&255]^b[R++],q=_[I>>>24]^S[D>>>16&255]^w[N>>>8&255]^B[C&255]^b[R++],k=_[D>>>24]^S[N>>>16&255]^w[C>>>8&255]^B[I&255]^b[R++];N=H,C=$,I=q,D=k}var H=(P[N>>>24]<<24|P[C>>>16&255]<<16|P[I>>>8&255]<<8|P[D&255])^b[R++],$=(P[C>>>24]<<24|P[I>>>16&255]<<16|P[D>>>8&255]<<8|P[N&255])^b[R++],q=(P[I>>>24]<<24|P[D>>>16&255]<<16|P[N>>>8&255]<<8|P[C&255])^b[R++],k=(P[D>>>24]<<24|P[N>>>16&255]<<16|P[C>>>8&255]<<8|P[I&255])^b[R++];d[x]=H,d[x+1]=$,d[x+2]=q,d[x+3]=k},keySize:256/32});t.AES=r._createHelper(v)}(),e.AES})});var po=j((Hi,ho)=>{(function(e,t,i){typeof Hi=="object"?ho.exports=Hi=t(G(),Ve(),je(),He(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Hi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=i.BlockCipher,a=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{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],h=a.DES=n.extend({_doReset:function(){for(var g=this._key,v=g.words,d=[],x=0;x<56;x++){var b=s[x]-1;d[x]=v[b>>>5]>>>31-b%32&1}for(var _=this._subKeys=[],S=0;S<16;S++){for(var w=_[S]=[],B=c[S],x=0;x<24;x++)w[x/6|0]|=d[(o[x]-1+B)%28]<<31-x%6,w[4+(x/6|0)]|=d[28+(o[x+24]-1+B)%28]<<31-x%6;w[0]=w[0]<<1|w[0]>>>31;for(var x=1;x<7;x++)w[x]=w[x]>>>(x-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var P=this._invSubKeys=[],x=0;x<16;x++)P[x]=_[15-x]},encryptBlock:function(g,v){this._doCryptBlock(g,v,this._subKeys)},decryptBlock:function(g,v){this._doCryptBlock(g,v,this._invSubKeys)},_doCryptBlock:function(g,v,d){this._lBlock=g[v],this._rBlock=g[v+1],p.call(this,4,252645135),p.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),p.call(this,1,1431655765);for(var x=0;x<16;x++){for(var b=d[x],_=this._lBlock,S=this._rBlock,w=0,B=0;B<8;B++)w|=f[B][((S^b[B])&u[B])>>>0];this._lBlock=S,this._rBlock=_^w}var P=this._lBlock;this._lBlock=this._rBlock,this._rBlock=P,p.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),g[v]=this._lBlock,g[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(g,v){var d=(this._lBlock>>>g^this._rBlock)&v;this._rBlock^=d,this._lBlock^=d<<g}function m(g,v){var d=(this._rBlock>>>g^this._lBlock)&v;this._lBlock^=d,this._rBlock^=d<<g}t.DES=n._createHelper(h);var y=a.TripleDES=n.extend({_doReset:function(){var g=this._key,v=g.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var d=v.slice(0,2),x=v.length<4?v.slice(0,2):v.slice(2,4),b=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=h.createEncryptor(r.create(d)),this._des2=h.createEncryptor(r.create(x)),this._des3=h.createEncryptor(r.create(b))},encryptBlock:function(g,v){this._des1.encryptBlock(g,v),this._des2.decryptBlock(g,v),this._des3.encryptBlock(g,v)},decryptBlock:function(g,v){this._des3.decryptBlock(g,v),this._des2.encryptBlock(g,v),this._des1.decryptBlock(g,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=n._createHelper(y)}(),e.TripleDES})});var xo=j((Fi,mo)=>{(function(e,t,i){typeof Fi=="object"?mo.exports=Fi=t(G(),Ve(),je(),He(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Fi,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=n.RC4=r.extend({_doReset:function(){for(var c=this._key,f=c.words,u=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,m=0;p<256;p++){var y=p%u,g=f[y>>>2]>>>24-y%4*8&255;m=(m+h[p]+g)%256;var v=h[p];h[p]=h[m],h[m]=v}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var c=this._S,f=this._i,u=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,u=(u+c[f])%256;var m=c[f];c[f]=c[u],c[u]=m,h|=c[(c[f]+c[u])%256]<<24-p*8}return this._i=f,this._j=u,h}t.RC4=r._createHelper(a);var o=n.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)s.call(this)}});t.RC4Drop=r._createHelper(o)}(),e.RC4})});var vo=j((Vi,yo)=>{(function(e,t,i){typeof Vi=="object"?yo.exports=Vi=t(G(),Ve(),je(),He(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Vi,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=[],s=[],o=[],c=n.Rabbit=r.extend({_doReset:function(){for(var u=this._key.words,h=this.cfg.iv,p=0;p<4;p++)u[p]=(u[p]<<8|u[p]>>>24)&16711935|(u[p]<<24|u[p]>>>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],y=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 p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)y[p]^=m[p+4&7];if(h){var g=h.words,v=g[0],d=g[1],x=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,b=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,_=x>>>16|b&4294901760,S=b<<16|x&65535;y[0]^=x,y[1]^=_,y[2]^=b,y[3]^=S,y[4]^=x,y[5]^=_,y[6]^=b,y[7]^=S;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(u,h){var p=this._X;f.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,u[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var u=this._X,h=this._C,p=0;p<8;p++)s[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<s[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<s[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<s[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<s[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<s[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<s[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<s[6]>>>0?1:0)|0,this._b=h[7]>>>0<s[7]>>>0?1:0;for(var p=0;p<8;p++){var m=u[p]+h[p],y=m&65535,g=m>>>16,v=((y*y>>>17)+y*g>>>15)+g*g,d=((m&4294901760)*m|0)+((m&65535)*m|0);o[p]=v^d}u[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,u[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,u[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,u[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,u[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,u[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,u[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,u[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=r._createHelper(c)}(),e.Rabbit})});var _o=j((ji,go)=>{(function(e,t,i){typeof ji=="object"?go.exports=ji=t(G(),Ve(),je(),He(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(ji,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=[],s=[],o=[],c=n.RabbitLegacy=r.extend({_doReset:function(){var u=this._key.words,h=this.cfg.iv,p=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 y=0;y<4;y++)f.call(this);for(var y=0;y<8;y++)m[y]^=p[y+4&7];if(h){var g=h.words,v=g[0],d=g[1],x=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,b=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,_=x>>>16|b&4294901760,S=b<<16|x&65535;m[0]^=x,m[1]^=_,m[2]^=b,m[3]^=S,m[4]^=x,m[5]^=_,m[6]^=b,m[7]^=S;for(var y=0;y<4;y++)f.call(this)}},_doProcessBlock:function(u,h){var p=this._X;f.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,u[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var u=this._X,h=this._C,p=0;p<8;p++)s[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<s[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<s[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<s[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<s[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<s[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<s[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<s[6]>>>0?1:0)|0,this._b=h[7]>>>0<s[7]>>>0?1:0;for(var p=0;p<8;p++){var m=u[p]+h[p],y=m&65535,g=m>>>16,v=((y*y>>>17)+y*g>>>15)+g*g,d=((m&4294901760)*m|0)+((m&65535)*m|0);o[p]=v^d}u[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,u[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,u[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,u[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,u[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,u[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,u[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,u[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=r._createHelper(c)}(),e.RabbitLegacy})});var wo=j(($i,bo)=>{(function(e,t,i){typeof $i=="object"?bo.exports=$i=t(G(),At(),gs(),bs(),Ve(),Cs(),je(),di(),_n(),Ps(),bn(),Bs(),Ds(),Os(),wi(),Fs(),He(),J(),Us(),qs(),Gs(),Xs(),Ys(),Js(),to(),ro(),ao(),oo(),uo(),lo(),po(),xo(),vo(),_o()):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)})($i,function(e){return e})});var Vn=ot(qi()),Nt={"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"]}},jn=/^\s*([^;\s]*)(?:;|\s|$)/,qo=/^text\//i,oe={};function Fn(e){if(!e||typeof e!="string")return!1;var t=jn.exec(e),i=t&&Nt[t[1].toLowerCase()];return i&&i.charset?i.charset:!(!t||!qo.test(t[1]))&&"UTF-8"}function zo(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?oe.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var i=oe.charset(t);i&&(t+="; charset="+i.toLowerCase())}return t}function Go(e){if(!e||typeof e!="string")return!1;var t=jn.exec(e),i=t&&oe.extensions[t[1].toLowerCase()];return!(!i||!i.length)&&i[0]}function Ko(e){if(!e||typeof e!="string")return!1;var t=(0,Vn.extname)("x."+e).toLowerCase().substr(1);return t&&oe.types[t]||!1}function Xo(e,t){var i=["nginx","apache",void 0,"iana"];Object.keys(Nt).forEach(function(r){var n=Nt[r],a=n.extensions;if(a&&a.length){e[r]=a;for(var s=0;s<a.length;s++){var o=a[s];if(t[o]){var c=i.indexOf(Nt[t[o]].source),f=i.indexOf(n.source);if(t[o]!=="application/octet-stream"&&(c>f||c===f&&t[o].substr(0,12)==="application/"))continue}t[o]=r}}})}oe.charset=Fn,oe.charsets={lookup:Fn},oe.contentType=zo,oe.extension=Go,oe.extensions=Object.create(null),oe.lookup=Ko,oe.types=Object.create(null),Xo(oe.extensions,oe.types);var $n=oe;var _c=ot(qi(),1);var Ot={};On(Ot,{deleteDB:()=>r0,openDB:()=>Yi,unwrap:()=>ct,wrap:()=>pe});var Qo=(e,t)=>t.some(i=>e instanceof i),Un,Wn;function Yo(){return Un||(Un=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Zo(){return Wn||(Wn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var qn=new WeakMap,Gi=new WeakMap,zn=new WeakMap,zi=new WeakMap,Xi=new WeakMap;function Jo(e){let t=new Promise((i,r)=>{let n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{i(pe(e.result)),n()},s=()=>{r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",s)});return t.then(i=>{i instanceof IDBCursor&&qn.set(i,e)}).catch(()=>{}),Xi.set(t,e),t}function e0(e){if(Gi.has(e))return;let t=new Promise((i,r)=>{let n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{i(),n()},s=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)});Gi.set(e,t)}var Ki={get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return Gi.get(e);if(t==="objectStoreNames")return e.objectStoreNames||zn.get(e);if(t==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return pe(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 Gn(e){Ki=e(Ki)}function t0(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...i){let r=e.call(ct(this),t,...i);return zn.set(r,t.sort?t.sort():[t]),pe(r)}:Zo().includes(e)?function(...t){return e.apply(ct(this),t),pe(qn.get(this))}:function(...t){return pe(e.apply(ct(this),t))}}function i0(e){return typeof e=="function"?t0(e):(e instanceof IDBTransaction&&e0(e),Qo(e,Yo())?new Proxy(e,Ki):e)}function pe(e){if(e instanceof IDBRequest)return Jo(e);if(zi.has(e))return zi.get(e);let t=i0(e);return t!==e&&(zi.set(e,t),Xi.set(t,e)),t}var ct=e=>Xi.get(e);function Yi(e,t,{blocked:i,upgrade:r,blocking:n,terminated:a}={}){let s=indexedDB.open(e,t),o=pe(s);return r&&s.addEventListener("upgradeneeded",c=>{r(pe(s.result),c.oldVersion,c.newVersion,pe(s.transaction),c)}),i&&s.addEventListener("blocked",c=>i(c.oldVersion,c.newVersion,c)),o.then(c=>{a&&c.addEventListener("close",()=>a()),n&&c.addEventListener("versionchange",f=>n(f.oldVersion,f.newVersion,f))}).catch(()=>{}),o}function r0(e,{blocked:t}={}){let i=indexedDB.deleteDatabase(e);return t&&i.addEventListener("blocked",r=>t(r.oldVersion,r)),pe(i).then(()=>{})}var n0=["get","getKey","getAll","getAllKeys","count"],a0=["put","add","delete","clear"],Qi=new Map;function Kn(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Qi.get(t))return Qi.get(t);let i=t.replace(/FromIndex$/,""),r=t!==i,n=a0.includes(i);if(!(i in(r?IDBIndex:IDBObjectStore).prototype)||!(n||n0.includes(i)))return;let a=async function(s,...o){let c=this.transaction(s,n?"readwrite":"readonly"),f=c.store;return r&&(f=f.index(o.shift())),(await Promise.all([f[i](...o),n&&c.done]))[0]};return Qi.set(t,a),a}Gn(e=>({...e,get:(t,i,r)=>Kn(t,i)||e.get(t,i,r),has:(t,i)=>!!Kn(t,i)||e.has(t,i)}));var s0=[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],Jn=[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],o0="\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",ea="\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",Zi={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"},Ji="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",c0={5:Ji,"5module":Ji+" export import",6:Ji+" const class extends export import super"},u0=/^in(stanceof)?$/,f0=new RegExp("["+ea+"]"),l0=new RegExp("["+ea+o0+"]");function tr(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 Ae(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&f0.test(String.fromCharCode(e)):t===!1?!1:tr(e,Jn)}function ze(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&&l0.test(String.fromCharCode(e)):t===!1?!1:tr(e,Jn)||tr(e,s0)}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 de(e,t){return new K(e,{beforeExpr:!0,binop:t})}var me={beforeExpr:!0},ce={startsExpr:!0},nr={};function z(e,t){return t===void 0&&(t={}),t.keyword=e,nr[e]=new K(e,t)}var l={num:new K("num",ce),regexp:new K("regexp",ce),string:new K("string",ce),name:new K("name",ce),privateId:new K("privateId",ce),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",me),semi:new K(";",me),colon:new K(":",me),dot:new K("."),question:new K("?",me),questionDot:new K("?."),arrow:new K("=>",me),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",me),backQuote:new K("`",ce),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:de("||",1),logicalAND:de("&&",2),bitwiseOR:de("|",3),bitwiseXOR:de("^",4),bitwiseAND:de("&",5),equality:de("==/!=/===/!==",6),relational:de("</>/<=/>=",7),bitShift:de("<</>>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:de("%",10),star:de("*",10),slash:de("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:de("??",1),_break:z("break"),_case:z("case",me),_catch:z("catch"),_continue:z("continue"),_debugger:z("debugger"),_default:z("default",me),_do:z("do",{isLoop:!0,beforeExpr:!0}),_else:z("else",me),_finally:z("finally"),_for:z("for",{isLoop:!0}),_function:z("function",ce),_if:z("if"),_return:z("return",me),_switch:z("switch"),_throw:z("throw",me),_try:z("try"),_var:z("var"),_const:z("const"),_while:z("while",{isLoop:!0}),_with:z("with"),_new:z("new",{beforeExpr:!0,startsExpr:!0}),_this:z("this",ce),_super:z("super",ce),_class:z("class",ce),_extends:z("extends",me),_export:z("export"),_import:z("import",ce),_null:z("null",ce),_true:z("true",ce),_false:z("false",ce),_in:z("in",{beforeExpr:!0,binop:7}),_instanceof:z("instanceof",{beforeExpr:!0,binop:7}),_typeof:z("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:z("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:z("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ve=/\r\n?|\n|\u2028|\u2029/,h0=new RegExp(ve.source,"g");function Ge(e){return e===10||e===13||e===8232||e===8233}function ta(e,t,i){i===void 0&&(i=e.length);for(var r=t;r<i;r++){var n=e.charCodeAt(r);if(Ge(n))return r<i-1&&n===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var ia=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,xe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ra=Object.prototype,p0=ra.hasOwnProperty,d0=ra.toString,ht=Object.hasOwn||function(e,t){return p0.call(e,t)},Xn=Array.isArray||function(e){return d0.call(e)==="[object Array]"};function Te(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function De(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var m0=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ft=function(t,i){this.line=t,this.column=i};ft.prototype.offset=function(t){return new ft(this.line,this.column+t)};var jt=function(t,i,r){this.start=i,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function na(e,t){for(var i=1,r=0;;){var n=ta(e,r,t);if(n<0)return new ft(i,t-r);++i,r=n}}var ir={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},Qn=!1;function x0(e){var t={};for(var i in ir)t[i]=e&&ht(e,i)?e[i]:ir[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Qn&&typeof console=="object"&&console.warn&&(Qn=!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),Xn(t.onToken)){var r=t.onToken;t.onToken=function(n){return r.push(n)}}return Xn(t.onComment)&&(t.onComment=y0(t,t.onComment)),t}function y0(e,t){return function(i,r,n,a,s,o){var c={type:i?"Block":"Line",value:r,start:n,end:a};e.locations&&(c.loc=new jt(this,s,o)),e.ranges&&(c.range=[n,a]),t.push(c)}}var lt=1,Ke=2,ar=4,aa=8,sa=16,oa=32,sr=64,ca=128,pt=256,or=lt|Ke|pt;function cr(e,t){return Ke|(e?ar:0)|(t?aa:0)}var Ht=0,ur=1,Pe=2,ua=3,fa=4,la=5,Z=function(t,i,r){this.options=t=x0(t),this.sourceFile=t.sourceFile,this.keywords=Te(c0[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=Zi[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=Te(n);var a=(n?n+" ":"")+Zi.strict;this.reservedWordsStrict=Te(a),this.reservedWordsStrictBind=Te(a+" "+Zi.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(ve).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=l.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(lt),this.regexpState=null,this.privateNameStack=[]},ke={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)};ke.inFunction.get=function(){return(this.currentVarScope().flags&Ke)>0};ke.inGenerator.get=function(){return(this.currentVarScope().flags&aa)>0&&!this.currentVarScope().inClassFieldInit};ke.inAsync.get=function(){return(this.currentVarScope().flags&ar)>0&&!this.currentVarScope().inClassFieldInit};ke.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&pt)return!1;if(t.flags&Ke)return(t.flags&ar)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};ke.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&sr)>0||i||this.options.allowSuperOutsideMethod};ke.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ca)>0};ke.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ke.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Ke|pt))>0||i};ke.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&pt)>0};Z.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var r=this,n=0;n<t.length;n++)r=t[n](r);return r};Z.parse=function(t,i){return new this(i,t).parse()};Z.parseExpressionAt=function(t,i,r){var n=new this(r,t,i);return n.nextToken(),n.parseExpression()};Z.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Z.prototype,ke);var ne=Z.prototype,v0=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ne.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){xe.lastIndex=e,e+=xe.exec(this.input)[0].length;var t=v0.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){xe.lastIndex=e+t[0].length;var i=xe.exec(this.input),r=i.index+i[0].length,n=this.input.charAt(r);return n===";"||n==="}"||ve.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,xe.lastIndex=e,e+=xe.exec(this.input)[0].length,this.input[e]===";"&&e++}};ne.eat=function(e){return this.type===e?(this.next(),!0):!1};ne.isContextual=function(e){return this.type===l.name&&this.value===e&&!this.containsEsc};ne.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};ne.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};ne.canInsertSemicolon=function(){return this.type===l.eof||this.type===l.braceR||ve.test(this.input.slice(this.lastTokEnd,this.start))};ne.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};ne.semicolon=function(){!this.eat(l.semi)&&!this.insertSemicolon()&&this.unexpected()};ne.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};ne.expect=function(e){this.eat(e)||this.unexpected()};ne.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var $t=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ne.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")}};ne.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")};ne.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")};ne.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var M=Z.prototype;M.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==l.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,n=Object.keys(this.undefinedExports);r<n.length;r+=1){var a=n[r];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var fr={kind:"loop"},g0={kind:"switch"};M.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;xe.lastIndex=this.pos;var t=xe.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(Ae(r,!0)){for(var n=i+1;ze(r=this.input.charCodeAt(n),!0);)++n;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(i,n);if(!u0.test(a))return!0}return!1};M.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;xe.lastIndex=this.pos;var e=xe.exec(this.input),t=this.pos+e[0].length,i;return!ve.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(ze(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};M.parseStatement=function(e,t,i){var r=this.type,n=this.startNode(),a;switch(this.isLet(e)&&(r=l._var,a="let"),r){case l._break:case l._continue:return this.parseBreakContinueStatement(n,r.keyword);case l._debugger:return this.parseDebuggerStatement(n);case l._do:return this.parseDoStatement(n);case l._for:return this.parseForStatement(n);case l._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case l._class:return e&&this.unexpected(),this.parseClass(n,!0);case l._if:return this.parseIfStatement(n);case l._return:return this.parseReturnStatement(n);case l._switch:return this.parseSwitchStatement(n);case l._throw:return this.parseThrowStatement(n);case l._try:return this.parseTryStatement(n);case l._const:case l._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(n,a);case l._while:return this.parseWhileStatement(n);case l._with:return this.parseWithStatement(n);case l.braceL:return this.parseBlock(!0,n);case l.semi:return this.parseEmptyStatement(n);case l._export:case l._import:if(this.options.ecmaVersion>10&&r===l._import){xe.lastIndex=this.pos;var s=xe.exec(this.input),o=this.pos+s[0].length,c=this.input.charCodeAt(o);if(c===40||c===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===l._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var f=this.value,u=this.parseExpression();return r===l.name&&u.type==="Identifier"&&this.eat(l.colon)?this.parseLabeledStatement(n,f,u,e):this.parseExpressionStatement(n,u)}};M.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(l.semi)||this.insertSemicolon()?e.label=null:this.type!==l.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var n=this.labels[r];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(i||n.kind==="loop")||e.label&&i))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};M.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};M.parseDoStatement=function(e){return this.next(),this.labels.push(fr),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(l._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(l.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};M.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(fr),this.enterScope(0),this.expect(l.parenL),this.type===l.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===l._var||this.type===l._const||i){var r=this.startNode(),n=i?"let":this.value;return this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.type===l._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===l._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual("let"),s=!1,o=new $t,c=this.parseExpression(t>-1?"await":!0,o);return this.type===l._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===l._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&s&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,o),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};M.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,ut|(i?0:rr),!1,t)};M.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(l._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};M.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(l.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};M.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(l.braceL),this.labels.push(g0),this.enterScope(0);for(var t,i=!1;this.type!==l.braceR;)if(this.type===l._case||this.type===l._default){var r=this.type===l._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(l.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")};M.parseThrowStatement=function(e){return this.next(),ve.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 _0=[];M.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?oa:0),this.checkLValPattern(e,t?fa:Pe),this.expect(l.parenR),e};M.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===l._catch){var t=this.startNode();this.next(),this.eat(l.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(l._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};M.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};M.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(fr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};M.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")};M.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};M.parseLabeledStatement=function(e,t,i,r){for(var n=0,a=this.labels;n<a.length;n+=1){var s=a[n];s.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===l._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var f=this.labels[c];if(f.statementStart===e.start)f.statementStart=this.start,f.kind=o;else break}return this.labels.push({name:t,kind:o,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")};M.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};M.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(l.braceL),e&&this.enterScope(0);this.type!==l.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};M.parseFor=function(e,t){return e.init=t,this.expect(l.semi),e.test=this.type===l.semi?null:this.parseExpression(),this.expect(l.semi),e.update=this.type===l.parenR?null:this.parseExpression(),this.expect(l.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};M.parseForIn=function(e,t){var i=this.type===l._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(l.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};M.parseVar=function(e,t,i,r){for(e.declarations=[],e.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(l.eq)?n.init=this.parseMaybeAssign(t):!r&&i==="const"&&!(this.type===l._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!r&&n.id.type!=="Identifier"&&!(t&&(this.type===l._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(l.comma))break}return e};M.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?ur:Pe,!1)};var ut=1,rr=2,ha=4;M.parseFunction=function(e,t,i,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===l.star&&t&rr&&this.unexpected(),e.generator=this.eat(l.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&ut&&(e.id=t&ha&&this.type!==l.name?null:this.parseIdent(),e.id&&!(t&rr)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?ur:Pe:ua));var a=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(cr(e.async,e.generator)),t&ut||(e.id=this.type===l.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,n),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,t&ut?"FunctionDeclaration":"FunctionExpression")};M.parseFunctionParams=function(e){this.expect(l.parenL),e.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};M.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),n=this.startNode(),a=!1;for(n.body=[],this.expect(l.braceL);this.type!==l.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(n.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"?(a&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),a=!0):s.key&&s.key.type==="PrivateIdentifier"&&b0(r,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};M.parseClassElement=function(e){if(this.eat(l.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",n=!1,a=!1,s="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(l.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===l.star?o=!0:r="static"}if(i.static=o,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===l.star)&&!this.canInsertSemicolon()?a=!0:r="async"),!r&&(t>=9||!a)&&this.eat(l.star)&&(n=!0),!r&&!a&&!n){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=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===l.parenL||s!=="method"||n||a){var f=!i.static&&Ft(i,"constructor"),u=f&&e;f&&s!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=f?"constructor":s,this.parseClassMethod(i,n,a,u)}else this.parseClassField(i);return i};M.isClassElementNameStart=function(){return this.type===l.name||this.type===l.privateId||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword};M.parseClassElementName=function(e){this.type===l.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)};M.parseClassMethod=function(e,t,i,r){var n=e.key;e.kind==="constructor"?(t&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Ft(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,i,r);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};M.parseClassField=function(e){if(Ft(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ft(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(l.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")};M.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(pt|sr);this.type!==l.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};M.parseClassId=function(e,t){this.type===l.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Pe,!1)):(t===!0&&this.unexpected(),e.id=null)};M.parseClassSuper=function(e){e.superClass=this.eat(l._extends)?this.parseExprSubscripts(null,!1):null};M.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};M.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,n=r===0?null:this.privateNameStack[r-1],a=0;a<i.length;++a){var s=i[a];ht(t,s.name)||(n?n.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}};function b0(e,t){var i=t.key.name,r=e[i],n="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(n=(t.static?"s":"i")+t.kind),r==="iget"&&n==="iset"||r==="iset"&&n==="iget"||r==="sget"&&n==="sset"||r==="sset"&&n==="sget"?(e[i]="true",!1):r?!0:(e[i]=n,!1)}function Ft(e,t){var i=e.computed,r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}M.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!==l.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};M.parseExport=function(e,t){if(this.next(),this.eat(l.star))return this.parseExportAllDeclaration(e,t);if(this.eat(l._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!==l.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,r=e.specifiers;i<r.length;i+=1){var n=r[i];this.checkUnreserved(n.local),this.checkLocalExport(n.local),n.local.type==="Literal"&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};M.parseExportDeclaration=function(e){return this.parseStatement(null)};M.parseExportDefaultDeclaration=function(){var e;if(this.type===l._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,ut|ha,!1,e)}else if(this.type===l._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var r=this.parseMaybeAssign();return this.semicolon(),r}};M.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),ht(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};M.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,n=t.properties;r<n.length;r+=1){var a=n[r];this.checkPatternExport(e,a)}else if(i==="ArrayPattern")for(var s=0,o=t.elements;s<o.length;s+=1){var c=o[s];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)};M.checkVariableExport=function(e,t){if(e)for(var i=0,r=t;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n.id)}};M.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};M.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")};M.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(l.braceL);!this.eat(l.braceR);){if(i)i=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;t.push(this.parseExportSpecifier(e))}return t};M.parseImport=function(e){return this.next(),this.type===l.string?(e.specifiers=_0,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===l.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};M.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,Pe),this.finishNode(e,"ImportSpecifier")};M.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Pe),this.finishNode(e,"ImportDefaultSpecifier")};M.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Pe),this.finishNode(e,"ImportNamespaceSpecifier")};M.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===l.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(l.comma)))return e;if(this.type===l.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(l.braceL);!this.eat(l.braceR);){if(t)t=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;e.push(this.parseImportSpecifier())}return e};M.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===l.string){var e=this.parseLiteral(this.value);return m0.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};M.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)};M.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 ge=Z.prototype;ge.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,n=e.properties;r<n.length;r+=1){var a=n[r];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",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};ge.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var n=e[r];n&&this.toAssignable(n,t)}if(i){var a=e[i-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};ge.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};ge.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==l.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};ge.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case l.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(l.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case l.braceL:return this.parseObj(!0)}return this.parseIdent()};ge.parseBindingList=function(e,t,i,r){for(var n=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(l.comma),t&&this.type===l.comma)n.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===l.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),n.push(s),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else n.push(this.parseAssignableListItem(r))}return n};ge.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};ge.parseBindingListItem=function(e){return e};ge.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(l.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};ge.checkLValSimple=function(e,t,i){t===void 0&&(t=Ht);var r=t!==Ht;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===Pe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(ht(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==la&&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")}};ge.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Ht),e.type){case"ObjectPattern":for(var r=0,n=e.properties;r<n.length;r+=1){var a=n[r];this.checkLValInnerPattern(a,t,i)}break;case"ArrayPattern":for(var s=0,o=e.elements;s<o.length;s+=1){var c=o[s];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};ge.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Ht),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 we=function(t,i,r,n,a){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=n,this.generator=!!a},Y={b_stat:new we("{",!1),b_expr:new we("{",!0),b_tmpl:new we("${",!1),p_stat:new we("(",!1),p_expr:new we("(",!0),q_tmpl:new we("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new we("function",!1),f_expr:new we("function",!0),f_expr_gen:new we("function",!0,!1,null,!0),f_gen:new we("function",!1,!1,null,!0)},Xe=Z.prototype;Xe.initialContext=function(){return[Y.b_stat]};Xe.curContext=function(){return this.context[this.context.length-1]};Xe.braceIsBlock=function(e){var t=this.curContext();return t===Y.f_expr||t===Y.f_stat?!0:e===l.colon&&(t===Y.b_stat||t===Y.b_expr)?!t.isExpr:e===l._return||e===l.name&&this.exprAllowed?ve.test(this.input.slice(this.lastTokEnd,this.start)):e===l._else||e===l.semi||e===l.eof||e===l.parenR||e===l.arrow?!0:e===l.braceL?t===Y.b_stat:e===l._var||e===l._const||e===l.name?!1:!this.exprAllowed};Xe.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};Xe.updateContext=function(e){var t,i=this.type;i.keyword&&e===l.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};Xe.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};l.parenR.updateContext=l.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};l.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Y.b_stat:Y.b_expr),this.exprAllowed=!0};l.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0};l.parenL.updateContext=function(e){var t=e===l._if||e===l._for||e===l._with||e===l._while;this.context.push(t?Y.p_stat:Y.p_expr),this.exprAllowed=!0};l.incDec.updateContext=function(){};l._function.updateContext=l._class.updateContext=function(e){e.beforeExpr&&e!==l._else&&!(e===l.semi&&this.curContext()!==Y.p_stat)&&!(e===l._return&&ve.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===l.colon||e===l.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1};l.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1};l.star.updateContext=function(e){if(e===l._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};l.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==l.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var V=Z.prototype;V.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,n;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&a==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var s=t[n];if(s){var o;a==="init"?o=this.strict&&s.init||s.get||s.set:o=s.init||s[a],o&&this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[a]=!0}};V.parseExpression=function(e,t){var i=this.start,r=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===l.comma){var a=this.startNodeAt(i,r);for(a.expressions=[n];this.eat(l.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return n};V.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,n=-1,a=-1,s=-1;t?(n=t.parenthesizedAssign,a=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new $t,r=!0);var o=this.start,c=this.startLoc;(this.type===l.parenL||this.type===l.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var f=this.parseMaybeConditional(e,t);if(i&&(f=i.call(this,f,o,c)),this.type.isAssign){var u=this.startNodeAt(o,c);return u.operator=this.value,this.type===l.eq&&(f=this.toAssignable(f,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=f.start&&(t.shorthandAssign=-1),this.type===l.eq?this.checkLValPattern(f):this.checkLValSimple(f),u.left=f,this.next(),u.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(u,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return n>-1&&(t.parenthesizedAssign=n),a>-1&&(t.trailingComma=a),f};V.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(l.question)){var a=this.startNodeAt(i,r);return a.test=n,a.consequent=this.parseMaybeAssign(),this.expect(l.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return n};V.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===i&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,i,r,-1,e)};V.parseExprOp=function(e,t,i,r,n){var a=this.type.binop;if(a!=null&&(!n||this.type!==l._in)&&a>r){var s=this.type===l.logicalOR||this.type===l.logicalAND,o=this.type===l.coalesce;o&&(a=l.logicalAND.binop);var c=this.value;this.next();var f=this.start,u=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),f,u,a,n),p=this.buildBinary(t,i,e,h,c,s||o);return(s&&this.type===l.coalesce||o&&(this.type===l.logicalOR||this.type===l.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(p,t,i,r,n)}return e};V.buildBinary=function(e,t,i,r,n,a){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(e,t);return s.left=i,s.operator=n,s.right=r,this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};V.parseMaybeUnary=function(e,t,i,r){var n=this.start,a=this.startLoc,s;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(r),t=!0;else if(this.type.prefix){var o=this.startNode(),c=this.type===l.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&pa(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(o,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===l.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==l._in&&this.unexpected();else{if(s=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var f=this.startNodeAt(n,a);f.operator=this.value,f.prefix=!1,f.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(f,"UpdateExpression")}}if(!i&&this.eat(l.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(n,a,s,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return s};function pa(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&pa(e.expression)}V.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var a=this.parseSubscripts(n,i,r,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};V.parseSubscripts=function(e,t,i,r,n){for(var a=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,s=!1;;){var o=this.parseSubscript(e,t,i,r,a,s,n);if(o.optional&&(s=!0),o===e||o.type==="ArrowFunctionExpression"){if(s){var c=this.startNodeAt(t,i);c.expression=o,o=this.finishNode(c,"ChainExpression")}return o}e=o}};V.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(l.arrow)};V.parseSubscriptAsyncArrow=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,r)};V.parseSubscript=function(e,t,i,r,n,a,s){var o=this.options.ecmaVersion>=11,c=o&&this.eat(l.questionDot);r&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var f=this.eat(l.bracketL);if(f||c&&this.type!==l.parenL&&this.type!==l.backQuote||this.eat(l.dot)){var u=this.startNodeAt(t,i);u.object=e,f?(u.property=this.parseExpression(),this.expect(l.bracketR)):this.type===l.privateId&&e.type!=="Super"?u.property=this.parsePrivateIdent():u.property=this.parseIdent(this.options.allowReserved!=="never"),u.computed=!!f,o&&(u.optional=c),e=this.finishNode(u,"MemberExpression")}else if(!r&&this.eat(l.parenL)){var h=new $t,p=this.yieldPos,m=this.awaitPos,y=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1,h);if(n&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=p,this.awaitPos=m,this.awaitIdentPos=y,this.parseSubscriptAsyncArrow(t,i,g,s);this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=m||this.awaitPos,this.awaitIdentPos=y||this.awaitIdentPos;var v=this.startNodeAt(t,i);v.callee=e,v.arguments=g,o&&(v.optional=c),e=this.finishNode(v,"CallExpression")}else if(this.type===l.backQuote){(c||a)&&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};V.parseExprAtom=function(e,t,i){this.type===l.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case l._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===l.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==l.dot&&this.type!==l.bracketL&&this.type!==l.parenL&&this.unexpected(),this.finishNode(r,"Super");case l._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case l.name:var a=this.start,s=this.startLoc,o=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(l._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(a,s),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(l.arrow))return this.parseArrowExpression(this.startNodeAt(a,s),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===l.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(l.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,s),[c],!0,t)}return c;case l.regexp:var f=this.value;return r=this.parseLiteral(f.value),r.regex={pattern:f.pattern,flags:f.flags},r;case l.num:case l.string:return this.parseLiteral(this.value);case l._null:case l._true:case l._false:return r=this.startNode(),r.value=this.type===l._null?null:this.type===l._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case l.parenL:var u=this.start,h=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),h;case l.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(l.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case l.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,e);case l._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case l._class:return this.parseClass(this.startNode(),!1);case l._new:return this.parseNew();case l.backQuote:return this.parseTemplate();case l._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};V.parseExprAtomDefault=function(){this.unexpected()};V.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===l.parenL&&!e)return this.parseDynamicImport(t);if(this.type===l.dot)return t.meta=i,this.parseImportMeta(t);this.unexpected()};V.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(l.parenR)){var t=this.start;this.eat(l.comma)&&this.eat(l.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};V.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")};V.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")};V.parseParenExpression=function(){this.expect(l.parenL);var e=this.parseExpression();return this.expect(l.parenR),e};V.shouldParseArrow=function(e){return!this.canInsertSemicolon()};V.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,n,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,o=this.startLoc,c=[],f=!0,u=!1,h=new $t,p=this.yieldPos,m=this.awaitPos,y;for(this.yieldPos=0,this.awaitPos=0;this.type!==l.parenR;)if(f?f=!1:this.expect(l.comma),a&&this.afterTrailingComma(l.parenR,!0)){u=!0;break}else if(this.type===l.ellipsis){y=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var g=this.lastTokEnd,v=this.lastTokEndLoc;if(this.expect(l.parenR),e&&this.shouldParseArrow(c)&&this.eat(l.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=m,this.parseParenArrowList(i,r,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),y&&this.unexpected(y),this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?(n=this.startNodeAt(s,o),n.expressions=c,this.finishNodeAt(n,"SequenceExpression",g,v)):n=c[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(i,r);return d.expression=n,this.finishNode(d,"ParenthesizedExpression")}else return n};V.parseParenItem=function(e){return e};V.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var w0=[];V.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(l.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,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,n,!0,!1),this.eat(l.parenL)?e.arguments=this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1):e.arguments=w0,this.finishNode(e,"NewExpression")};V.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===l.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===l.backQuote,this.finishNode(i,"TemplateElement")};V.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===l.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(l.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(l.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};V.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===l.name||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.star)&&!ve.test(this.input.slice(this.lastTokEnd,this.start))};V.parseObj=function(e,t){var i=this.startNode(),r=!0,n={};for(i.properties=[],this.next();!this.eat(l.braceR);){if(r)r=!1;else if(this.expect(l.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(l.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,n,t),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};V.parseProperty=function(e,t){var i=this.startNode(),r,n,a,s;if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===l.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===l.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)&&(a=this.start,s=this.startLoc),e||(r=this.eat(l.star)));var o=this.containsEsc;return this.parsePropertyName(i),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,r,n,a,s,t,o),this.finishNode(i,"Property")};V.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")};V.parsePropertyValue=function(e,t,i,r,n,a,s,o){(i||r)&&this.type===l.colon&&this.unexpected(),this.eat(l.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===l.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r)):!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==l.comma&&this.type!==l.braceR&&this.type!==l.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=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,a,this.copyNode(e.key)):this.type===l.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};V.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(l.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(l.bracketR),e.key;e.computed=!1}return e.key=this.type===l.num||this.type===l.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};V.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};V.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,a=this.awaitPos,s=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(cr(t,r.generator)|sr|(i?ca:0)),this.expect(l.parenL),r.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")};V.parseArrowExpression=function(e,t,i,r){var n=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(cr(i,!1)|sa),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=n,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};V.parseFunctionBody=function(e,t,i,r){var n=t&&this.type!==l.braceL,a=this.strict,s=!1;if(n)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||o)&&(s=this.strictDirective(this.end),s&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!a&&!s&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,la),e.body=this.parseBlock(!1,void 0,s&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};V.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};V.checkParams=function(e,t){for(var i=Object.create(null),r=0,n=e.params;r<n.length;r+=1){var a=n[r];this.checkLValInnerPattern(a,ur,t?null:i)}};V.parseExprList=function(e,t,i,r){for(var n=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(l.comma),t&&this.afterTrailingComma(e))break;var s=void 0;i&&this.type===l.comma?s=null:this.type===l.ellipsis?(s=this.parseSpread(r),r&&this.type===l.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):s=this.parseMaybeAssign(!1,r),n.push(s)}return n};V.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 n=this.strict?this.reservedWordsStrict:this.reservedWords;n.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"))}};V.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};V.parseIdentNode=function(){var e=this.startNode();return this.type===l.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};V.parsePrivateIdent=function(){var e=this.startNode();return this.type===l.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};V.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===l.semi||this.canInsertSemicolon()||this.type!==l.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(l.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};V.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 Vt=Z.prototype;Vt.raise=function(e,t){var i=na(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};Vt.raiseRecoverable=Vt.raise;Vt.curPosition=function(){if(this.options.locations)return new ft(this.curLine,this.pos-this.lineStart)};var Ne=Z.prototype,S0=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Ne.enterScope=function(e){this.scopeStack.push(new S0(e))};Ne.exitScope=function(){this.scopeStack.pop()};Ne.treatFunctionsAsVarInScope=function(e){return e.flags&Ke||!this.inModule&&e.flags&lt};Ne.declareName=function(e,t,i){var r=!1;if(t===Pe){var n=this.currentScope();r=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&lt&&delete this.undefinedExports[e]}else if(t===fa){var a=this.currentScope();a.lexical.push(e)}else if(t===ua){var s=this.currentScope();this.treatFunctionsAsVar?r=s.lexical.indexOf(e)>-1:r=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var c=this.scopeStack[o];if(c.lexical.indexOf(e)>-1&&!(c.flags&oa&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&c.flags&lt&&delete this.undefinedExports[e],c.flags&or)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Ne.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Ne.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ne.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&or)return t}};Ne.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&or&&!(t.flags&sa))return t}};var Ut=function(t,i,r){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new jt(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},dt=Z.prototype;dt.startNode=function(){return new Ut(this,this.start,this.startLoc)};dt.startNodeAt=function(e,t){return new Ut(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}dt.finishNode=function(e,t){return da.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};dt.finishNodeAt=function(e,t,i,r){return da.call(this,e,t,i,r)};dt.copyNode=function(e){var t=new Ut(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var ma="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",xa=ma+" Extended_Pictographic",ya=xa,va=ya+" EBase EComp EMod EPres ExtPict",ga=va,C0=ga,k0={9:ma,10:xa,11:ya,12:va,13:ga,14:C0},E0="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",A0={9:"",10:"",11:"",12:"",13:"",14:E0},Yn="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",_a="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",ba=_a+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",wa=ba+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Sa=wa+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ca=Sa+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",L0=Ca+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",P0={9:_a,10:ba,11:wa,12:Sa,13:Ca,14:L0},ka={};function R0(e){var t=ka[e]={binary:Te(k0[e]+" "+Yn),binaryOfStrings:Te(A0[e]),nonBinary:{General_Category:Te(Yn),Script:Te(P0[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(Mt=0,er=[9,10,11,12,13,14];Mt<er.length;Mt+=1)Zn=er[Mt],R0(Zn);var Zn,Mt,er,O=Z.prototype,Ee=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=ka[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=[]};Ee.prototype.reset=function(t,i,r){var n=r.indexOf("v")!==-1,a=r.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=r,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};Ee.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ee.prototype.at=function(t,i){i===void 0&&(i=!1);var r=this.source,n=r.length;if(t>=n)return-1;var a=r.charCodeAt(t);if(!(i||this.switchU)||a<=55295||a>=57344||t+1>=n)return a;var s=r.charCodeAt(t+1);return s>=56320&&s<=57343?(a<<10)+s-56613888:a};Ee.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var r=this.source,n=r.length;if(t>=n)return n;var a=r.charCodeAt(t),s;return!(i||this.switchU)||a<=55295||a>=57344||t+1>=n||(s=r.charCodeAt(t+1))<56320||s>57343?t+1:t+2};Ee.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ee.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ee.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ee.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};Ee.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var r=this.pos,n=0,a=t;n<a.length;n+=1){var s=a[n],o=this.at(r,i);if(o===-1||o!==s)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,n=!1,a=0;a<i.length;a++){var s=i.charAt(a);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(s,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),s==="u"&&(r=!0),s==="v"&&(n=!0)}this.options.ecmaVersion>=15&&r&&n&&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,n=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n<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 Ea(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ea(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&&!Ea(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+=De(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=De(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),I0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function I0(e){return Ae(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),B0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function B0(e){return ze(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&&!Wt(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 Aa(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Aa(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 n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(n-55296)*1024+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&T0(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function T0(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 La=0,Le=1,ye=2;O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(D0(t))return e.lastIntValue=-1,e.advance(),Le;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===ye&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return La};function D0(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),Le}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return La};O.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){ht(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 Le;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return ye;e.raise("Invalid property name")};O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Pa(t=e.current());)e.lastStringValue+=De(t),e.advance();return e.lastStringValue!==""};function Pa(e){return Aa(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";N0(t=e.current());)e.lastStringValue+=De(t),e.advance();return e.lastStringValue!==""};function N0(e){return Pa(e)||Wt(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===ye&&e.raise("Negated character class may contain strings"),!0}return!1};O.regexp_classContents=function(e){return e.current()===93?Le:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Le)};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||Ba(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=Le,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===ye&&(t=ye);for(var r=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==ye&&(t=Le);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===ye&&(t=ye)}};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)?Le: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===ye&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n)return n;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)===ye&&(t=ye);return t};O.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Le:ye};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()&&O0(i)||M0(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function O0(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 M0(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 H0(t)?(e.lastIntValue=t,e.advance(),!0):!1};function H0(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 Wt(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;Wt(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Wt(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Ra(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ia(i),e.advance();return e.pos!==t};function Ra(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ia(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 Ba(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ba(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 n=e.current();if(!Ra(n))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ia(n),e.advance()}return!0};var lr=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new jt(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 lr(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 lr(this)};typeof Symbol<"u"&&(W[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===l.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(l.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};W.readToken=function(e){return Ae(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,n=t;(r=ta(this.input,n,this.pos))>-1;)++this.curLine,n=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&&!Ge(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&&ia.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(l.ellipsis)):(++this.pos,this.finishToken(l.dot))};W.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(l.assign,2):this.finishOp(l.slash,1)};W.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?l.star:l.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,r=l.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(l.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(l.assign,3)}return this.finishOp(e===124?l.logicalOR:l.logicalAND,2)}return t===61?this.finishOp(l.assign,2):this.finishOp(e===124?l.bitwiseOR:l.bitwiseAND,1)};W.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(l.assign,2):this.finishOp(l.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||ve.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(l.incDec,2):t===61?this.finishOp(l.assign,2):this.finishOp(l.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(l.assign,i+1):this.finishOp(l.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(l.relational,i))};W.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(l.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(l.arrow)):this.finishOp(e===61?l.eq:l.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(l.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(l.assign,3)}return this.finishOp(l.coalesce,2)}}return this.finishOp(l.question,1)};W.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Ae(t,!0)||t===92))return this.finishToken(l.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+De(t)+"'")};W.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(l.parenL);case 41:return++this.pos,this.finishToken(l.parenR);case 59:return++this.pos,this.finishToken(l.semi);case 44:return++this.pos,this.finishToken(l.comma);case 91:return++this.pos,this.finishToken(l.bracketL);case 93:return++this.pos,this.finishToken(l.bracketR);case 123:return++this.pos,this.finishToken(l.braceL);case 125:return++this.pos,this.finishToken(l.braceR);case 58:return++this.pos,this.finishToken(l.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(l.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(l.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+De(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(ve.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 n=this.input.slice(i,this.pos);++this.pos;var a=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new Ee(this));o.reset(i,n,s),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(n,s)}catch{}return this.finishToken(l.regexp,{pattern:n,flags:s,value:c})};W.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&t===void 0,n=i&&this.input.charCodeAt(this.pos)===48,a=this.pos,s=0,o=0,c=0,f=t??1/0;c<f;++c,++this.pos){var u=this.input.charCodeAt(this.pos),h=void 0;if(r&&u===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),o===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"),o=u;continue}if(u>=97?h=u-97+10:u>=65?h=u-65+10:u>=48&&u<=57?h=u-48:h=1/0,h>=e)break;o=u,s=s*e+h}return r&&o===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:s};function F0(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ta(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=Ta(this.input.slice(t,this.pos)),++this.pos):Ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.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 n=Ta(this.input.slice(t,this.pos));return++this.pos,Ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.num,n)}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")),Ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=F0(this.input.slice(t,this.pos),i);return this.finishToken(l.num,a)};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)):(Ge(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(l.string,t)};var Da={};W.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Da)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};W.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Da;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===l.template||this.type===l.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(l.dollarBraceL)):(++this.pos,this.finishToken(l.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(l.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ge(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(l.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 De(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],n=parseInt(r,8);return n>255&&(r=r.slice(0,-1),n=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(n)}return Ge(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 n=this.fullCharCodeAtPos();if(ze(n,r))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?Ae:ze)(s,r)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=De(s),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};W.readWord=function(){var e=this.readWord1(),t=l.name;return this.keywords.test(e)&&(t=nr[e]),this.finishToken(t,e)};var V0="8.10.0";Z.acorn={Parser:Z,version:V0,defaultOptions:ir,Position:ft,SourceLocation:jt,getLineInfo:na,Node:Ut,TokenType:K,tokTypes:l,keywordTypes:nr,TokContext:we,tokContexts:Y,isIdentifierChar:ze,isIdentifierStart:Ae,Token:lr,isNewLine:Ge,lineBreak:ve,lineBreakG:h0,nonASCIIwhitespace:ia};function Na(e,t){return Z.parse(e,t)}var pr=globalThis.fetch,Oe=globalThis.WebSocket,j0=globalThis.Request,Oa=globalThis.Response,Fe={prototype:{send:Oe.prototype.send},CLOSED:Oe.CLOSED,CLOSING:Oe.CLOSING,CONNECTING:Oe.CONNECTING,OPEN:Oe.OPEN},$0=20,U0=[101,204,205,304],W0=[301,302,303,307,308],zt=class extends Error{constructor(i,r){super(r.message||r.code);he(this,"status");he(this,"body");this.status=i,this.body=r}},dr=class{constructor(t,i){he(this,"base");this.base=new URL(`./v${t}/`,i)}};function Me(e,t){let i=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(i>>16)<<16|i&65535}function q0(e,t){return e<<t|e>>>32-t}function Gt(e,t,i,r,n,a){return Me(q0(Me(Me(t,e),Me(r,a)),n),i)}function ee(e,t,i,r,n,a,s){return Gt(t&i|~t&r,e,t,n,a,s)}function te(e,t,i,r,n,a,s){return Gt(t&r|i&~r,e,t,n,a,s)}function ie(e,t,i,r,n,a,s){return Gt(t^i^r,e,t,n,a,s)}function re(e,t,i,r,n,a,s){return Gt(i^(t|~r),e,t,n,a,s)}function qt(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;let i=1732584193,r=-271733879,n=-1732584194,a=271733878;for(let s=0;s<e.length;s+=16){let o=i,c=r,f=n,u=a;i=ee(i,r,n,a,e[s],7,-680876936),a=ee(a,i,r,n,e[s+1],12,-389564586),n=ee(n,a,i,r,e[s+2],17,606105819),r=ee(r,n,a,i,e[s+3],22,-1044525330),i=ee(i,r,n,a,e[s+4],7,-176418897),a=ee(a,i,r,n,e[s+5],12,1200080426),n=ee(n,a,i,r,e[s+6],17,-1473231341),r=ee(r,n,a,i,e[s+7],22,-45705983),i=ee(i,r,n,a,e[s+8],7,1770035416),a=ee(a,i,r,n,e[s+9],12,-1958414417),n=ee(n,a,i,r,e[s+10],17,-42063),r=ee(r,n,a,i,e[s+11],22,-1990404162),i=ee(i,r,n,a,e[s+12],7,1804603682),a=ee(a,i,r,n,e[s+13],12,-40341101),n=ee(n,a,i,r,e[s+14],17,-1502002290),r=ee(r,n,a,i,e[s+15],22,1236535329),i=te(i,r,n,a,e[s+1],5,-165796510),a=te(a,i,r,n,e[s+6],9,-1069501632),n=te(n,a,i,r,e[s+11],14,643717713),r=te(r,n,a,i,e[s],20,-373897302),i=te(i,r,n,a,e[s+5],5,-701558691),a=te(a,i,r,n,e[s+10],9,38016083),n=te(n,a,i,r,e[s+15],14,-660478335),r=te(r,n,a,i,e[s+4],20,-405537848),i=te(i,r,n,a,e[s+9],5,568446438),a=te(a,i,r,n,e[s+14],9,-1019803690),n=te(n,a,i,r,e[s+3],14,-187363961),r=te(r,n,a,i,e[s+8],20,1163531501),i=te(i,r,n,a,e[s+13],5,-1444681467),a=te(a,i,r,n,e[s+2],9,-51403784),n=te(n,a,i,r,e[s+7],14,1735328473),r=te(r,n,a,i,e[s+12],20,-1926607734),i=ie(i,r,n,a,e[s+5],4,-378558),a=ie(a,i,r,n,e[s+8],11,-2022574463),n=ie(n,a,i,r,e[s+11],16,1839030562),r=ie(r,n,a,i,e[s+14],23,-35309556),i=ie(i,r,n,a,e[s+1],4,-1530992060),a=ie(a,i,r,n,e[s+4],11,1272893353),n=ie(n,a,i,r,e[s+7],16,-155497632),r=ie(r,n,a,i,e[s+10],23,-1094730640),i=ie(i,r,n,a,e[s+13],4,681279174),a=ie(a,i,r,n,e[s],11,-358537222),n=ie(n,a,i,r,e[s+3],16,-722521979),r=ie(r,n,a,i,e[s+6],23,76029189),i=ie(i,r,n,a,e[s+9],4,-640364487),a=ie(a,i,r,n,e[s+12],11,-421815835),n=ie(n,a,i,r,e[s+15],16,530742520),r=ie(r,n,a,i,e[s+2],23,-995338651),i=re(i,r,n,a,e[s],6,-198630844),a=re(a,i,r,n,e[s+7],10,1126891415),n=re(n,a,i,r,e[s+14],15,-1416354905),r=re(r,n,a,i,e[s+5],21,-57434055),i=re(i,r,n,a,e[s+12],6,1700485571),a=re(a,i,r,n,e[s+3],10,-1894986606),n=re(n,a,i,r,e[s+10],15,-1051523),r=re(r,n,a,i,e[s+1],21,-2054922799),i=re(i,r,n,a,e[s+8],6,1873313359),a=re(a,i,r,n,e[s+15],10,-30611744),n=re(n,a,i,r,e[s+6],15,-1560198380),r=re(r,n,a,i,e[s+13],21,1309151649),i=re(i,r,n,a,e[s+4],6,-145523070),a=re(a,i,r,n,e[s+11],10,-1120210379),n=re(n,a,i,r,e[s+2],15,718787259),r=re(r,n,a,i,e[s+9],21,-343485551),i=Me(i,o),r=Me(r,c),n=Me(n,f),a=Me(a,u)}return[i,r,n,a]}function Ma(e){let t="",i=e.length*32;for(let r=0;r<i;r+=8)t+=String.fromCharCode(e[r>>5]>>>r%32&255);return t}function mr(e){let t=[],i=e.length>>2;for(let n=0;n<i;n+=1)t[n]=0;let r=e.length*8;for(let n=0;n<r;n+=8)t[n>>5]|=(e.charCodeAt(n/8)&255)<<n%32;return t}function z0(e){return Ma(qt(mr(e),e.length*8))}function G0(e,t){let i=mr(e),r=[],n=[];i.length>16&&(i=qt(i,e.length*8));for(let s=0;s<16;s+=1)r[s]=i[s]^909522486,n[s]=i[s]^1549556828;let a=qt(r.concat(mr(t)),512+t.length*8);return Ma(qt(n.concat(a),512+128))}function Ha(e){let t="0123456789abcdef",i="";for(let r=0;r<e.length;r+=1){let n=e.charCodeAt(r);i+=t.charAt(n>>>4&15)+t.charAt(n&15)}return i}function xr(e){return unescape(encodeURIComponent(e))}function Fa(e){return z0(xr(e))}function K0(e){return Ha(Fa(e))}function Va(e,t){return G0(xr(e),xr(t))}function X0(e,t){return Ha(Va(e,t))}function Q0(e,t,i){return t?i?Va(t,e):X0(t,e):i?Fa(e):K0(e)}var hr=3072;function Y0(e){let t=new Headers(e);if(e.has("x-bare-headers")){let i=e.get("x-bare-headers");if(i.length>hr){t.delete("x-bare-headers");let r=0;for(let n=0;n<i.length;n+=hr){let a=i.slice(n,n+hr),s=r++;t.set(`x-bare-headers-${s}`,`;${a}`)}}}return t}function Z0(e){let t=new Headers(e),i="x-bare-headers";if(e.has(`${i}-0`)){let r=[];for(let[n,a]of e){if(!n.startsWith(i))continue;if(!a.startsWith(";"))throw new zt(400,{code:"INVALID_BARE_HEADER",id:`request.headers.${n}`,message:"Value didn't begin with semi-colon."});let s=parseInt(n.slice(i.length+1));r[s]=a.slice(1),t.delete(n)}t.set(i,r.join(""))}return t}var yr=class extends dr{constructor(i){super(3,i);he(this,"ws");he(this,"http");this.ws=new URL(this.base),this.http=new URL(this.base),this.ws.protocol==="https:"?this.ws.protocol="wss:":this.ws.protocol="ws:"}connect(i,r,n,a,s){let o=new Oe(this.ws),c=()=>{o.removeEventListener("close",f),o.removeEventListener("message",u)},f=()=>{c()},u=h=>{if(c(),typeof h.data!="string")throw new TypeError("the first websocket message was not a text frame");let p=JSON.parse(h.data);if(p.type!=="open")throw new TypeError("message was not of open type");h.stopImmediatePropagation(),a({protocol:p.protocol,setCookies:p.setCookies}),s(Fe.OPEN),o.dispatchEvent(new Event("open"))};return o.addEventListener("close",f),o.addEventListener("message",u),o.addEventListener("open",h=>{h.stopImmediatePropagation(),s(Fe.CONNECTING),n().then(p=>Fe.prototype.send.call(o,JSON.stringify({type:"connect",remote:i.toString(),protocols:r,headers:p,forwardHeaders:[]})))},{once:!0}),o}async request(i,r,n,a,s,o,c){if(a.protocol.startsWith("blob:")){let y=await pr(a),g=new Oa(y.body,y);return g.rawHeaders=Object.fromEntries(y.headers),g.rawResponse=y,g}let f={};if(r instanceof Headers)for(let[y,g]of r)f[y]=g;else for(let y in r)f[y]=r[y];let u={credentials:"omit",method:i,signal:c};s!=="only-if-cached"&&(u.cache=s),n!==void 0&&(u.body=n),o!==void 0&&(u.duplex=o),u.headers=this.createBareHeaders(a,f);let h=await pr(this.http+"?cache="+Q0(a.toString()),u),p=await this.readBareResponse(h),m=new Oa(U0.includes(p.status)?void 0:h.body,{status:p.status,statusText:p.statusText??void 0,headers:new Headers(p.headers)});return m.rawHeaders=p.headers,m.rawResponse=h,m}async readBareResponse(i){if(!i.ok)throw new zt(i.status,await i.json());let r=Z0(i.headers),n={},a=r.get("x-bare-status");a!==null&&(n.status=parseInt(a));let s=r.get("x-bare-status-text");s!==null&&(n.statusText=s);let o=r.get("x-bare-headers");return o!==null&&(n.headers=JSON.parse(o)),n}createBareHeaders(i,r,n=[],a=[],s=[]){let o=new Headers;o.set("x-bare-url",i.toString()),o.set("x-bare-headers",JSON.stringify(r));for(let c of n)o.append("x-bare-forward-headers",c);for(let c of a)o.append("x-bare-pass-headers",c);for(let c of s)o.append("x-bare-pass-status",c.toString());return Y0(o),o}},J0="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~";function ec(e){for(let t=0;t<e.length;t++){let i=e[t];if(!J0.includes(i))return!1}return!0}var tc=[["v3",yr]];async function ja(e,t){let i=await pr(e,{signal:t});if(!i.ok)throw new Error(`Unable to fetch Bare meta: ${i.status} ${await i.text()}`);return await i.json()}var ic=Object.getOwnPropertyDescriptor(Oe.prototype,"readyState").get,rc=["ws:","wss:"],mt=class{constructor(t,i){he(this,"manifest");he(this,"client");he(this,"server");he(this,"working");he(this,"onDemand");he(this,"onDemandSignal");this.server=new URL(t),!i||i instanceof AbortSignal?(this.onDemand=!0,this.onDemandSignal=i):(this.onDemand=!1,this.loadManifest(i))}loadManifest(t){return this.manifest=t,this.client=this.getClient(),this.client}demand(){return this.onDemand?(this.working||(this.working=ja(this.server,this.onDemandSignal).then(t=>this.loadManifest(t)).catch(t=>{throw delete this.working,t})),this.working):this.client}getClient(){for(let[t,i]of tc)if(this.manifest.versions.includes(t))return new i(this.server);throw new Error("Unable to find compatible client version. Starting from v2.0.0, @tomphttp/bare-client only supports Bare servers v3+. For more information, see https://github.com/tomphttp/bare-client/")}createWebSocket(t,i=[],r){if(!this.client)throw new TypeError("You need to wait for the client to finish fetching the manifest before creating any WebSockets. Try caching the manifest data before making this request.");try{t=new URL(t)}catch{throw new DOMException(`Faiiled to construct 'WebSocket': The URL '${t}' is invalid.`)}if(!rc.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 u of i)if(!ec(u))throw new DOMException(`Failed to construct 'WebSocket': The subprotocol '${u}' is invalid.`);let n=this.client.connect(t,i,async()=>{let u=typeof r.headers=="function"?await r.headers():r.headers||{},h=u instanceof Headers?Object.fromEntries(u):u;return h.Host=t.host,h.Pragma="no-cache",h["Cache-Control"]="no-cache",h.Upgrade="websocket",h.Connection="Upgrade",h},u=>{a=u.protocol,r.setCookiesCallback&&r.setCookiesCallback(u.setCookies)},u=>{s=u},r.webSocketImpl||Oe),a="",s=Fe.CONNECTING,o=()=>{let u=ic.call(n);return u===Fe.OPEN?s:u};r.readyStateHook?r.readyStateHook(n,o):Object.defineProperty(n,"readyState",{get:o,configurable:!0,enumerable:!0});let c=()=>{if(o()===Fe.CONNECTING)return new DOMException("Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.")};r.sendErrorHook?r.sendErrorHook(n,c):n.send=function(...u){let h=c();if(h)throw h;Fe.prototype.send.call(this,...u)},r.urlHook?r.urlHook(n,t):Object.defineProperty(n,"url",{get:()=>t.toString(),configurable:!0,enumerable:!0});let f=()=>a;return r.protocolHook?r.protocolHook(n,f):Object.defineProperty(n,"protocol",{get:f,configurable:!0,enumerable:!0}),n}async fetch(t,i){let r=nc(t)?new j0(t,i):t,n=i?.headers||r.headers,a=n instanceof Headers?Object.fromEntries(n):n,s=i?.duplex,o=i?.body||r.body,c=new URL(r.url),f=await this.demand();for(let u=0;;u++){"host"in a?a.host=c.host:a.Host=c.host;let h=await f.request(r.method,a,o,c,r.cache,s,r.signal);h.finalURL=c.toString();let p=i?.redirect||r.redirect;if(W0.includes(h.status))switch(p){case"follow":{let m=h.headers.get("location");if($0>u&&m!==null){c=new URL(m,c);continue}else throw new TypeError("Failed to fetch")}case"error":throw new TypeError("Failed to fetch");case"manual":return h}else return h}}};function nc(e){return typeof e=="string"||e instanceof URL}async function $a(e,t){let i=await ja(e,t);return new mt(e,i)}var bc=ot(Ua(),1),es=ot(qa(),1);var{stringify:dc}=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 Xt={"||":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},Se=17,mc={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:Se,ClassExpression:Se,FunctionExpression:Se,ObjectExpression:Se,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Ye(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 n=1;n<r;n++){let a=t[n];e.write(", "),i[a.type](a,e)}}e.write(")")}function Za(e,t,i,r){let n=e.expressionsPrecedence[t.type];if(n===Se)return!0;let a=e.expressionsPrecedence[i.type];return n!==a?!r&&n===15&&a===14&&i.operator==="**"||n<a:n!==13&&n!==14?!1:t.operator==="**"&&i.operator==="**"?!r:n===13&&a===13&&(t.operator==="??"||i.operator==="??")?!0:r?Xt[t.operator]<=Xt[i.operator]:Xt[t.operator]<Xt[i.operator]}function Qt(e,t,i,r){let{generator:n}=e;Za(e,t,i,r)?(e.write("("),n[t.type](t,e),e.write(")")):n[t.type](t,e)}function xc(e,t,i,r){let n=t.split(`
`),a=n.length-1;if(e.write(n[0].trim()),a>0){e.write(r);for(let s=1;s<a;s++)e.write(i+n[s].trim()+r);e.write(i+n[a].trim())}}function ae(e,t,i,r){let{length:n}=t;for(let a=0;a<n;a++){let s=t[a];e.write(i),s.type[0]==="L"?e.write("// "+s.value.trim()+`
`,s):(e.write("/*"),xc(e,s.value,i,r),e.write("*/"+r))}}function yc(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 br(e,t){let{generator:i}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:n}=r;if(n>0){i.VariableDeclarator(r[0],e);for(let a=1;a<n;a++)e.write(", "),i.VariableDeclarator(r[a],e)}}var za,Ga,Ka,Xa,Qa,Ya,vc={Program(e,t){let i=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:n}=t;n&&e.comments!=null&&ae(t,e.comments,i,r);let a=e.body,{length:s}=a;for(let o=0;o<s;o++){let c=a[o];n&&c.comments!=null&&ae(t,c.comments,i,r),t.write(i),this[c.type](c,t),t.write(r)}n&&e.trailingComments!=null&&ae(t,e.trailingComments,i,r)},BlockStatement:Ya=function(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:n}=t,a=i+t.indent;t.write("{");let s=e.body;if(s!=null&&s.length>0){t.write(r),n&&e.comments!=null&&ae(t,e.comments,a,r);let{length:o}=s;for(let c=0;c<o;c++){let f=s[c];n&&f.comments!=null&&ae(t,f.comments,a,r),t.write(a),this[f.type](f,t),t.write(r)}t.write(i)}else n&&e.comments!=null&&(t.write(r),ae(t,e.comments,a,r),t.write(i));n&&e.trailingComments!=null&&ae(t,e.trailingComments,a,r),t.write("}"),t.indentLevel--},ClassBody:Ya,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===Se||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:n}=t;t.indentLevel++;let a=i+t.indent,s=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:o}=e,{length:c}=o;for(let f=0;f<c;f++){let u=o[f];n&&u.comments!=null&&ae(t,u.comments,a,r),u.test?(t.write(a+"case "),this[u.test.type](u.test,t),t.write(":"+r)):t.write(a+"default:"+r);let{consequent:h}=u,{length:p}=h;for(let m=0;m<p;m++){let y=h[m];n&&y.comments!=null&&ae(t,y.comments,s,r),t.write(s),this[y.type](y,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"?br(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:za=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:i}=e;i.type[0]==="V"?br(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:za,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:Ga=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),Ye(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:Ga,VariableDeclaration(e,t){br(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,n=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(n===Se||n<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,n=0;if(r>0){for(;n<r;){n>0&&t.write(", ");let a=i[n],s=a.type[6];if(s==="D")t.write(a.local.name,a),n++;else if(s==="N")t.write("* as "+a.local.name,a),n++;else break}if(n<r){for(t.write("{");;){let a=i[n],{name:s}=a.imported;if(t.write(s,a),s!==a.local.name&&t.write(" as "+a.local.name),++n<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 n=0;;){let a=i[n],{name:s}=a.local;if(t.write(s,a),s!==a.exported.name&&t.write(" as "+a.exported.name),++n<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),Ye(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]):Ye(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:Ka=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:Ka,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),Qt(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:i,expressions:r}=e;t.write("`");let{length:n}=r;for(let s=0;s<n;s++){let o=r[s],c=i[s];t.write(c.value.raw,c),t.write("${"),this[o.type](o,t),t.write("}")}let a=i[i.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Qt(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:Qa=function(e,t){if(t.write("["),e.elements.length>0){let{elements:i}=e,{length:r}=i;for(let n=0;;){let a=i[n];if(a!=null&&this[a.type](a,t),++n<r)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:Qa,ObjectExpression(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:n}=t,a=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),n&&e.comments!=null&&ae(t,e.comments,a,r);let s=","+r,{properties:o}=e,{length:c}=o;for(let f=0;;){let u=o[f];if(n&&u.comments!=null&&ae(t,u.comments,a,r),t.write(a),this[u.type](u,t),++f<c)t.write(s);else break}t.write(r),n&&e.trailingComments!=null&&ae(t,e.trailingComments,a,r),t.write(i+"}")}else n?e.comments!=null?(t.write(r),ae(t,e.comments,a,r),e.trailingComments!=null&&ae(t,e.trailingComments,a,r),t.write(i+"}")):e.trailingComments!=null?(t.write(r),ae(t,e.trailingComments,a,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 n=0;this[i[n].type](i[n],t),++n<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){Ye(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:i,argument:r,argument:{type:n}}=e;t.write(i);let a=Za(t,r,e);!a&&(i.length>1||n[0]==="U"&&(n[1]==="n"||n[1]==="p")&&r.prefix&&r.operator[0]===i&&(i==="+"||i==="-"))&&t.write(" "),a?(t.write(i.length>1?" (":"("),this[n](r,t),t.write(")")):this[n](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:Xa=function(e,t){let i=e.operator==="in";i&&t.write("("),Qt(t,e.left,e,!1),t.write(" "+e.operator+" "),Qt(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:Xa,ConditionalExpression(e,t){let{test:i}=e,r=t.expressionsPrecedence[i.type];r===Se||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===Se||i<t.expressionsPrecedence.CallExpression||yc(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),Ye(t,e.arguments)},CallExpression(e,t){let i=t.expressionsPrecedence[e.callee.type];i===Se||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("?."),Ye(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let i=t.expressionsPrecedence[e.object.type];i===Se||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(dc(e.value),e)},RegExpLiteral(e,t){let{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},gc={};var wr=class{constructor(t){let i=t??gc;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:vc,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:mc,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:a}=i;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(i.loc!=null){let{mapping:s}=this;s.original=i.loc.start,s.name=i.name,this.sourceMap.addMapping(s)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof i.value=="string"){let{length:s}=t,{column:o,line:c}=this;for(let f=0;f<s;f++)t[f]===`
`?(o=0,c++):o++;this.column=o,this.line=c;return}}let{length:r}=t,{lineEnd:n}=this;r>0&&(this.lineEndSize>0&&(n.length===1?t[r-1]===n:t.endsWith(n))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}};function Ja(e,t){let i=new wr(t);return i.generator[e.type](e,i),i.output}var Sr=class{constructor(t){this.mime=$n;this.idb=Ot;this.path=_c;this.acorn={parse:Na};this.bare={createBareClient:$a,BareClient:mt};this.base64={encode:btoa,decode:atob};this.estree={generate:Ja};this.cookie=bc;this.setCookieParser=es.parse;this.ctx=t}},ts=Sr;function Cr(e,t,i,r,n="",a=!1,s=""){if(self.__dynamic$config)var o=self.__dynamic$config.mode=="development";else var o=!1;if(a){var c=[{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:e+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}]},{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:t+(o?"?"+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+(o?"?"+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();`)}]}),n&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(n+";document.currentScript?.remove();")}]}),s&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(s+";document.currentScript?.remove();")}]}),c}else{var f=[`<script src="${t+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`,`<script src="${e+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`];return this.ctx.config.assets.files.inject&&f.unshift(`<script src="${this.ctx.config.assets.files.inject+(o?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}"><\/script>`),r&&f.unshift(`<script src="${"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(r)}");document.currentScript?.remove();`)}"><\/script>`),n&&f.unshift(`<script src="${"data:application/javascript;base64,"+btoa(n+";document.currentScript?.remove();")}"><\/script>`),s&&f.unshift(`<script src="${"data:application/javascript;base64,"+btoa(s+";document.currentScript?.remove();")}"><\/script>`),f}}var yt=class{constructor(t){this.generateHead=Cr;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(n=t){for(var a=0;a<n.childNodes.length;a++)i(n.childNodes[a]),n.childNodes[a].childNodes&&n.childNodes[a].childNodes.length&&r(n.childNodes[a])}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,(n,a)=>n.replace(/\snonce\s*=\s*"[^"]*"/,s=>s.replace("nonce","nononce")).replace(/\sintegrity\s*=\s*"[^"]*"/,s=>s.replace("integrity","nointegrity")))}};var vt=class{constructor(t){this.ctx=t.ctx}rewrite(t,i,r={}){return t&&t.toString().replace(/(?:@import\s?|url\(?)['"]?(.*?)['")]/gmi,(...n)=>{try{return n[0].replace(n[3],this.ctx.url.encode(n[3],i))}catch{return n[0]}})}};function kr(e,t){if(typeof e!="object"||!t)return;i(e,null,t);function i(r,n,a){if(!(typeof r!="object"||!a)){r.parent=n,a(r,n,a);for(let s in r)s!=="parent"&&(Array.isArray(r[s])?r[s].forEach(o=>{o&&i(o,r,a)}):r[s]&&i(r[s],r,a));typeof r.iterateEnd=="function"&&r.iterateEnd()}}}function Er(e,t={},i,r){var n=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(n,(a,s=null)=>{this.emit(a,a.type,s,i,r,t)}),e=this.ctx.modules.estree.generate(n),e}function Ar(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 Ze(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 Lr(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 Ze(e,t);if(e.object.value=="postMessage"&&t.type=="CallExpression"&&t.callee==e)return Ze(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 n=Object.assign({},e);e.type="CallExpression",e.callee={type:"Identifier",name:"dg$",__dynamic:!0},e.arguments=[n],e.__dynamic=!0}e.computed&&i.destination!=="worker"&&(e.property={type:"CallExpression",callee:{type:"Identifier",name:"dp$"},arguments:[e.property],__dynamic:!0})}function Pr(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&&Ze(e,t),e.value=="location"&&(e.value="__dynamic$location"),e.value=="__dynamic"&&(e.value="undefined"),e.value=="eval"&&(e.value="__dynamic$eval")}function Yt(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 Rr(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"&&Yt(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"&&Yt(e)}e.arguments.length>0&&e.arguments.length<4;try{}catch{}}}function Ir(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 Br(e,t={}){e.parent.type!="ObjectPattern"&&e.parent?.parent?.type!="AssignmentExpression"&&(e.shorthand=!1)}function Tr(e,t={},i={},r={}){if(e.type=="Literal"&&(t.type=="ImportDeclaration"||t.type=="ExportNamedDeclaration"||t.type=="ExportAllDeclaration")){var n=e.value+"";e.value=i.url.encode(e.value,r.meta),e.raw=e.raw.replace(n,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 Dr(e,t={}){if(e.id.type!=="Identifier")return!1;e.id.__dynamic!==!0&&e.id.name!="location"}function wc(e,t,i={},r={},n={},a={}){if(!e.__dynamic){switch(t){case"Identifier":Ar(e,i);break;case"MemberExpression":Lr(e,i,a);break;case"Literal":Pr(e,i);break;case"CallExpression":Rr(e,i);break;case"AssignmentExpression":Ir(e,i);break;case"ThisExpression":break;case"Property":Br(e,i);break;case"VariableDeclarator":Dr(e,i);break;case"CatchClause":break;default:break}Tr(e,i,r,n)}}var is=wc;var gt=class{constructor(t){this.iterate=kr;this.process=Er;this.emit=is;this.ctx=t.ctx}rewrite(t,i={},r=!0,n={}){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},n)}catch{t=this.process(t,i,{module:!1,...this.ctx},n)}}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 _t=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 o in this.config)if(o=="rewrite")for(var[n,a]of this.config[o]){if(a=="urlit"&&r[n]){for(var s=0;s<r[n].length;s++)r[n][s].src=this.ctx.url.encode(r[n][s].src,i);continue}if(a=="urlev"&&r[n]){for(var s=0;s<r[n].length;s++)r[n][s].url=this.ctx.url.encode(r[n][s].url,i);continue}if(a=="url"&&r[n]){r[n]=this.ctx.url.encode(r[n],i);continue}a=="url"||a=="urlit"||a=="urlev"||(r[n]=r[n]+a)}else if(o=="delete")for(var n of this.config[o])r[n]&&delete r[n];return JSON.stringify(r)}};var rs={encode(e,t){return!e||!e.toString()?e:e.split(", ").map(i=>i.split(" ").map((r,n)=>n==0?t.url.encode(r,t.baseURL||t.meta):r).join(" ")).join(", ")},decode(e){return e}};var Nr=class{constructor(t){this.ctx=t,this.html=new yt(this),this.srcset=rs,this.js=new gt(this),this.css=new vt(this),this.man=new _t(this)}},ns=Nr;async function as(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 ss({url:e}){return!e.toString().substr(location.origin.length,(this.ctx.config.prefix+"route").length).startsWith(this.ctx.config.prefix+"route")}function Or({url:e}){return!e.toString().substr(location.origin.length,this.ctx.config.prefix.length).startsWith(this.ctx.config.prefix)}async function Mr(e,t,i){for(let n in e){if(this.ctx.headers.csp.indexOf(n.toLowerCase())!==-1&&delete e[n],n.toLowerCase()=="location"){e[n]=this.ctx.url.encode(e[n],t);continue}if(n.toLowerCase()==="set-cookie"){Array.isArray(e[n])?e[n]=e[n].map(a=>this.ctx.modules.setCookieParser(a,{decodeValues:!1})[0]):e[n]=this.ctx.modules.setCookieParser(e[n],{decodeValues:!1});for await(var r of e[n])await i.set(t.host,this.ctx.modules.cookie.serialize(r.name,r.value,{...r,encode:a=>a}));delete e[n];continue}}return new Headers(e)}function Hr(e,t,i,r){let{referrer:n}=i;if(["origin","Origin","host","Host","referer","Referer"].forEach(a=>{e[a]&&delete e[a]}),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&&(n=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(n&&n!=location.origin+"/")try{e.Referer=this.ctx.url.decode(n),i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=new URL(this.ctx.url.decode(n)).origin),e.Origin=new URL(this.ctx.url.decode(n)).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 Fr(e){var t=Object.assign(Object.create(Object.getPrototypeOf(e)),e);return t}function Vr(e){try{if(new new Proxy(e,{construct:()=>({})}),!Object.getOwnPropertyNames(e).includes("arguments"))throw new Error("");return!0}catch{return!1}}function jr(e){return e.url.toString().substr(location.origin.length,e.url.toString().length).startsWith(self.__dynamic$config.assets.prefix)}async function $r(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 Ur(e,t){}var bt=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 Wr(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 qr(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 zr=class{constructor(t){this.route=as;this.routePath=ss;this.path=Or;this.resHeader=Mr;this.reqHeader=Hr;this.clone=Fr;this.class=Vr;this.file=jr;this.edit=$r;this.error=Ur;this.encode=Wr;this.rewritePath=qr;this.about=bt;this.ctx=t}},os=zr;function Gr(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,n,a,s,o]=i;s=="base64"?o=this.ctx.modules.base64.atob(decodeURIComponent(o)):o=decodeURIComponent(o),n&&(n=="text/html"?o=this.ctx.rewrite.html.rewrite(o,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}";`)):n=="text/css"?o=this.ctx.rewrite.css.rewrite(o,t):(n=="text/javascript"||n=="application/javascript")&&(o=this.ctx.rewrite.js.rewrite(o,t))),s=="base64"?o=this.ctx.modules.base64.btoa(o):o=encodeURIComponent(o),a?s?e=`data:${n};${a};${s},${o}`:e=`data:${n};${a},${o}`:s?e=`data:${n};${s},${o}`:e=`data:${n},${o}`}}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 Kr(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 Xr=class{constructor(t){this.encode=Gr;this.decode=Kr;this.ctx=t}},cs=Xr;var Sc=/^(#|about:|mailto:|blob:|javascript:)/g,Cc=/^data:([a-z\/A-Z0-9\-\+]+);?(charset\=[\-A-Za-z0-9]+)?;?(base64)?[;,]*(.*)/g,kc=/^([\/A-Za-z0-9\-%]+)(http[s]?:\/\/.*)/g,wt=class{constructor(t){this.BypassRegex=Sc;this.DataRegex=Cc;this.WeirdRegex=kc;this.ctx=t}};function Qr(e){e=new URL(e.href);for(var t in e)this.ctx.meta[t]=e[t];return!0}var St=class{constructor(){}};var Yr=class extends St{constructor(i){super();this.load=Qr;this.ctx=i}},us=Yr;var fs={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"]}};function Zr(e,t=""){return(this.ctx.modules.mime.contentType(t||e.pathname)||"text/css").split(";")[0]==="text/css"}function Jr(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 en(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 tn=class{constructor(t){this.html=Jr;this.js=en;this.css=Zr;this.ctx=t}},ls=tn;function Zt(e,t=!0){let i=f=>{let u=e.__dynamic.util.clone(f);for(var h=0;h<f.length;h++)e.__dynamic.define(u,h,{value:(e.top.__dynamic$location||e.__dynamic$location).origin,configurable:!0,enumerable:!0,writable:!1});return e.__dynamic.define(u,"length",{value:f.length,configurable:!0,enumerable:!0,writable:!1}),u},r=e.location.ancestorOrigins||[],n=[e.Window,e.Location,e.WorkerLocation,e.Document].filter(f=>f);[...n,e.Object].forEach(f=>{delete f.prototype.__dynamic$location});let a={get(){return e.__dynamic.location},set(f){if(f instanceof e.Location)return e.__dynamic.location=f;e.__dynamic.location.href=f},configurable:!0},s=["href","host","hash","origin","hostname","port","pathname","protocol","search"],o=["assign","replace","toString","reload"];try{var c=new URL(e.__dynamic$url||e.__dynamic.url.decode(e.location.pathname+e.location.search+e.location.hash))}catch{e.__dynamic$url="about:blank";var c=new URL("about:blank")}return e.__dynamic.property=c,e.__dynamic.meta.load(c),e.__dynamic.location=e.__dynamic.util.clone(e.location),s.forEach(f=>{e.__dynamic.define(e.__dynamic.location,f,{get:()=>f=="search"&&e.location[f]+(e.location.search?c.search.replace("?","&"):c.search)||(f=="hash"?location[f]:c[f]),set:u=>e.location[f]=e.__dynamic.url.encode(e.__dynamic.meta.href.replace(c[f],u),c)})}),e.__dynamic.define(e.Object.prototype,"__dynamic$location",{get(){return this===e||this===e.__dynamic$window||this===e.document||this===e.__dynamic$document?this.__dynamic?.location:this.location},set(f){return this===e||this===e.__dynamic$window||this===e.document||this===e.__dynamic$document?this.__dynamic.location.href=f:this.location=f},configurable:!0}),o.forEach(f=>{e.__dynamic.define(e.__dynamic.location,f,{get:()=>f=="toString"?()=>c.href:new e.__dynamic.Function("arg",`return window.location.${f}(arg?${f!=="reload"&&f!=="toString"?"(self.__dynamic).url.encode(arg, new URL('"+c.href+"'))":"arg"}:null)`),set:()=>null})}),r.length&&e.__dynamic.define(e.__dynamic.location,"ancestorOrigins",{get:()=>i(r),set:()=>null}),n.forEach(f=>{e.__dynamic.define(f.prototype,"__dynamic$location",a)}),e.__dynamic.hashchange||(e.__dynamic.hashchange=(e.addEventListener("hashchange",f=>{}),!0)),e.__dynamic.location}function Jt(e){e.__dynamic$get=function(t){var i=e.__dynamic.fire("get",[t]);if(i)return i;try{return t==e.parent?e.parent.__dynamic$window:t==e.top?e.top.__dynamic$window:t==e.location||(e.Location||e.WorkerLocation)&&t instanceof(e.Location||e.WorkerLocation)?e.__dynamic$location:e.Document&&t instanceof e.Document?e.__dynamic$document:t==e?e.__dynamic$window:typeof t=="function"&&t.name=="__d$Send"?e.__dynamic$message(t.target,e):t}catch{return t}},e.__dynamic$property=function(t){return typeof t!="string"?t:t=="location"?"__dynamic$location":t=="eval"?"__dynamic$eval":t},e.__dynamic$set=function(t,i){return t?e.__dynamic.url.encode(e.__dynamic.meta.href.replace(e.__dynamic.property.href,i),e.__dynamic.property):i},e.__dynamic$var=function(t,i){return window[i]=t},e.dg$=e.__dynamic$get,e.ds$=e.__dynamic$set,e.dp$=e.__dynamic$property,e.dv$=e.__dynamic$var,e.d$g_=e.__dynamic$get,e.d$s_=e.__dynamic$set,e.d$p_=e.__dynamic$property,e.d$v_=e.__dynamic$var}function ei(e){e.__dynamic.util.CreateDocumentProxy=function(i){return new Proxy(i,{get(r,n){let a=r[n];return n=="location"?i.defaultView?i.defaultView.__dynamic$location:e.__dynamic$location:n=="documentURI"&&i.defaultView||n=="baseURI"&&i.defaultView?i.defaultView.__dynamic.location.toString():a&&(typeof a=="function"&&a.toString==e.Object.toString?new Proxy(a,{apply(s,o,c){return(i.defaultView&&c[0]==i.defaultView.__dynamic$document||c[0]==e.__dynamic$document)&&(c[0]=i),a.apply(i,c)}}):a)},set(r,n,a){try{try{i.defaultView.__dynamic?i.defaultView.__dynamic.Reflect.set(r,n,a):r[n]=a}catch{return a||r[n]||!0}return a||r[n]||!0}catch{return a||r[n]||!0}}})},e.__dynamic.util.CreateWindowProxy=function(i){return new Proxy(i,{get(r,n){let a=e.__dynamic.Reflect.get(r,n);if(Object.getOwnPropertyDescriptor(r,n)){var s=Object.getOwnPropertyDescriptor(r,n);if(s?.configurable===!1&&s?.writable===!1&&s?.hasOwnProperty("enumerable"))return s?.value||s?.get?.call(r)}return n=="__dynamic$self"?i.window:n=="location"?i.__dynamic$location:n=="parent"?i.parent.__dynamic$window||i.parent:n=="top"?i.top.__dynamic?i.top.__dynamic$window:i.parent.__dynamic$window:n=="self"||n=="globalThis"?i.__dynamic$window:a&&(typeof a=="function"&&a.toString==e.Object.toString?new Proxy(a,{apply(o,c,f){return Reflect.apply(o,i,f)}}):a)},set(r,n,a){try{var s=Object.getOwnPropertyDescriptor(r,n);if(s?.writable===!1&&s?.enumerable===!1)return!1;if(n.constructor==e.Symbol)return Reflect.set(r,n,a),r[n];if(r.hasOwnProperty("undefined")&&r[n]+""==n)return r[n]||a||!0;if(n=="location")return i.__dynamic$location=a;if(r.hasOwnProperty(n)&&!r.propertyIsEnumerable(n)&&!s?.writable)return r[n];try{i.__dynamic?i.__dynamic.Reflect.set(r,n,a):r[n]=a}catch{return r[n]||!0}return r[n]||!0}catch{return r[n]||!0}}})},e.__dynamic.define(e,"__dynamic$window",{value:e.__dynamic.util.CreateWindowProxy(e),configurable:!1,enumerable:!1,writable:!1}),e.document&&e.__dynamic.define(e,"__dynamic$document",{value:e.__dynamic.util.CreateDocumentProxy(e.document),configurable:!1,enumerable:!1,writable:!1}),e.__dynamic$globalThis=e.__dynamic$window,e.__dynamic$self=e.__dynamic$window}function rn(e){e.__dynamic.rewrite.dom=function(t,i){if(typeof e.DOMParser>"u"||!t)return t;var r=new e.DOMParser,n=r.parseFromString(t.toString(),"text/html"),a=n.documentElement;return a.querySelectorAll("script").forEach(function(s){!s.type||s.type&&s.type!=="text/javascript"&&s.type!=="application/javascript"&&s.type!=="application/x-javascript"?s.src&&(s.src=e.__dynamic.url.encode(s.getAttribute("src"),i)):s.innerHTML&&(s.innerHTML=e.__dynamic.js.encode(s.innerHTML,{type:"script"},i,{}))}),a.querySelectorAll("link").forEach(function(s){s.href&&s.getAttribute("rel")!=="stylesheet"&&(s.href=e.__dynamic.url.encode(s.getAttribute("href"),i))}),a.querySelectorAll("img").forEach(function(s){s.src&&(s.src=e.__dynamic.url.encode(s.getAttribute("src"),i)),s.srcset&&(s.srcset=e.__dynamic.rewrite.srcset.encode(s.getAttribute("srcset"),e.__dynamic))}),a.querySelectorAll("a").forEach(function(s){s.href&&(s.href=e.__dynamic.url.encode(s.getAttribute("href"),i))}),a.querySelectorAll("style").forEach(function(s){s.innerHTML&&(s.innerHTML=e.__dynamic.rewrite.css.rewrite(s.innerHTML,i))}),a.outerHTML}}function nn(e){let t=r=>new DOMParser().parseFromString(r,"text/html").body.innerHTML;if(e.__dynamic.elements.config.forEach(r=>{r.elements.forEach(n=>{r.tags.forEach(a=>{var s=Object.getOwnPropertyDescriptor(n.prototype,a);s||(s=Object.getOwnPropertyDescriptor(HTMLElement.prototype,a)),typeof n.prototype.setAttribute.__dynamic$target>"u"&&(n.prototype.setAttribute=e.__dynamic.wrap(n.prototype.setAttribute,function(o,...c){return this instanceof HTMLLinkElement&&e.__dynamic$icon&&c[0].toLowerCase()=="href"&&(this.rel=="icon"||this.rel=="shortcut icon")?(c[1]=e.__dynamic$icon,Reflect.apply(o,this,c)):e.__dynamic.elements.attributes.indexOf(c[0].toLowerCase())==-1?Reflect.apply(o,this,c):c[0].toLowerCase()=="srcset"||c[0].toLowerCase()=="imagesrcset"?(this.dataset[`dynamic_${c[0]}`]=c[1],c[1]=e.__dynamic.rewrite.srcset.encode(c[1],e.__dynamic),Reflect.apply(o,this,c)):c[0].toLowerCase()=="integrity"||c[0].toLowerCase()=="nonce"?(this.dataset[`dynamic_${c[0]}`]=c[1],this.removeAttribute(c[0]),Reflect.apply(o,this,["nointegrity",c[1]])):(this.dataset[`dynamic_${c[0]}`]=c[1],c[1]=e.__dynamic.url.encode(c[1],e.__dynamic.baseURL||e.__dynamic.meta),Reflect.apply(o,this,c))},"setAttribute"),n.prototype.setAttributeNS=e.__dynamic.wrap(n.prototype.setAttributeNS,function(o,...c){return this instanceof HTMLLinkElement&&e.__dynamic$icon&&c[1].toLowerCase()=="href"&&(this.rel=="icon"||this.rel=="shortcut icon")?(c[2]=e.__dynamic$icon,Reflect.apply(o,this,c)):e.__dynamic.elements.attributes.indexOf(c[1].toLowerCase())==-1?Reflect.apply(o,this,c):c[1].toLowerCase()=="srcset"||c[1].toLowerCase()=="imagesrcset"?(this.dataset[`dynamic_${c[1]}`]=c[2],c[2]=e.__dynamic.rewrite.srcset.encode(c[2],e.__dynamic),Reflect.apply(o,this,c)):c[1].toLowerCase()=="integrity"||c[1].toLowerCase()=="nonce"?(this.dataset[`dynamic_${c[1]}`]=c[2],this.removeAttribute(c[1]),Reflect.apply(o,this,["nointegrity",c[2]])):(this.dataset[`dynamic_${c[1]}`]=c[2],c[2]=e.__dynamic.url.encode(c[2],e.__dynamic.baseURL||e.__dynamic.meta),Reflect.apply(o,this,c))},"setAttributeNS"),n.prototype.getAttribute=e.__dynamic.wrap(n.prototype.getAttribute,function(o,...c){return this.dataset[`dynamic_${c[0]}`]?this.dataset[`dynamic_${c[0]}`]:Reflect.apply(o,this,c)},"getAttribute"),n.prototype.getAttributeNS=e.__dynamic.wrap(n.prototype.getAttributeNS,function(o,...c){return this.dataset[`dynamic_${c[1]}`]?this.dataset[`dynamic_${c[1]}`]:Reflect.apply(o,this,c)},"getAttributeNS")),e.__dynamic.define(n.prototype,a,{get(){if(r.action=="window"){let o=e.__dynamic.elements.contentWindow.get.call(this),c=!0;try{o.location.href}catch{c=!1}if(c&&(o.__dynamic||e.__dynamic.elements.client(o,e.__dynamic$config,decodeURIComponent(this.src))),a=="contentDocument")return o.document;if(a=="contentWindow")return c&&o.__dynamic$window||o}if(r.action=="css")return s.get.call(this);try{return e.__dynamic.url.decode(s.get.call(this))}catch{}return s.get.call(this)},set(o){return o&&typeof o=="string"&&(o=o.toString()),a=="href"&&this instanceof HTMLLinkElement&&e.__dynamic$icon&&(this.rel=="icon"||this.rel=="shortcut icon")&&(this.dataset[`dynamic_${a}`]=o,o=e.__dynamic$icon),r.action=="html"?(Promise.resolve(e.__dynamic.createBlobHandler(new Blob([o],{type:"text/html"}),this,o)).then(c=>{this.setAttribute(a,c)}),o):(r.action=="srcset"&&(o=e.__dynamic.rewrite.srcset.encode(o,e.__dynamic)),r.action=="rewrite"?(this.dataset[`dynamic_${a}`]=o,this.removeAttribute(a),this.setAttribute(r.new,o)):(r.action=="css"&&(o=e.__dynamic.rewrite.css.rewrite(o,e.__dynamic.meta)),r.action=="url"&&(o=e.__dynamic.url.encode(o,e.__dynamic.baseURL||e.__dynamic.meta)),this.dataset[`dynamic_${a}`]=o,s.set.call(this,o)))}})})})}),["innerHTML","outerHTML"].forEach(r=>{e.__dynamic.define(e.HTMLElement.prototype,r,{get(){return(this["__"+r]||e.__dynamic.elements[r].get.call(this)).toString()},set(n){return this["__"+r]=t(n),this instanceof e.HTMLTextAreaElement?e.__dynamic.elements[r].set.call(this,n):this instanceof e.HTMLScriptElement?e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.js.rewrite(n,{type:"script"})):this instanceof e.HTMLStyleElement?e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.css.rewrite(n,e.__dynamic.meta)):e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.dom(n,e.__dynamic.meta))}})}),["MutationObserver","ResizeObserver","IntersectionObserver"].forEach(r=>{e[r].prototype.observe=e.__dynamic.wrap(e[r].prototype.observe,function(n,...a){return a[0]==e.__dynamic$document&&(a[0]=e.document),Reflect.apply(n,this,a)},r+".prototype.observe")}),e.__dynamic.defines(e.HTMLAnchorElement.prototype,{pathname:e.__dynamic.elements.createGetter("pathname"),origin:e.__dynamic.elements.createGetter("origin"),host:e.__dynamic.elements.createGetter("host"),hostname:e.__dynamic.elements.createGetter("hostname"),port:e.__dynamic.elements.createGetter("port"),protocol:e.__dynamic.elements.createGetter("protocol"),search:e.__dynamic.elements.createGetter("search"),hash:e.__dynamic.elements.createGetter("hash"),toString:{get:function(){return this.__toString||(()=>this.href?new URL(this.href).toString():"")},set:function(r){this.__toString=r}}}),e.HTMLElement.prototype.insertAdjacentHTML=e.__dynamic.wrap(e.HTMLElement.prototype.insertAdjacentHTML,function(r,...n){return this instanceof e.HTMLStyleElement?Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.css.rewrite(n[1],e.__dynamic.meta)]):this instanceof e.HTMLScriptElement?Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.js.rewrite(n[1],{type:"script"},!1,e.__dynamic)]):this instanceof e.HTMLTextAreaElement?Reflect.apply(r,this,n):Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.html.rewrite(n[1],e.__dynamic.meta)])},"insertAdjacentHTML"),[[e.Node,"textContent"],[e.HTMLElement,"innerText"]].forEach(([r,n])=>{var a=Object.getOwnPropertyDescriptor(r.prototype,n);function s(){return this["__"+n]||a?.get&&a.get.call(this)}e.__dynamic.define(e.HTMLStyleElement.prototype,n,{get:s,set(o){return this["__"+n]=o,a?.set&&a.set.call(this,e.__dynamic.rewrite.css.rewrite(o,e.__dynamic.meta))}}),e.__dynamic.define(e.HTMLScriptElement.prototype,n,{get:s,set(o){return this["__"+n]=o,this.type!==null||this.type!=="application/javascript"||this.type!=="text/javascript"||this.type!=="application/x-javascript"?a?.set&&a.set.call(this,o):a?.set&&a.set.call(this,e.__dynamic.rewrite.js.rewrite(o,{type:"script"},!1,e.__dynamic))}})}),e.Text.prototype.toString=function(){return this.textContent},e.document.createElement=e.__dynamic.wrap(e.document.createElement,function(r,...n){var a=Reflect.apply(r,this,n);return a.rewritten=!0,n[0].toLowerCase()=="iframe"&&(a.src="about:blank"),a},"createElement"),!document.querySelector('link[rel="icon"], link[rel="shortcut icon"]')){var i=document.createElement("link");i.rel="icon",i.href=(e.__dynamic$icon||"/favicon.ico")+"?dynamic",i.dataset.dynamic_hidden="true",document.head.appendChild(i)}e.__dynamic.define(e.Attr.prototype,"value",{get(){return this.__value||e.__dynamic.elements.attrValue.get.call(this)},set(r){return this.__value=r,this.name=="href"||this.name=="src"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.url.encode(r,e.__dynamic.meta)):this.name=="style"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.rewrite.css.rewrite(r,e.__dynamic.meta)):this.name=="onclick"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.rewrite.js.rewrite(r,{type:"script"},!1,e.__dynamic)):e.__dynamic.elements.attrValue.set.call(this,r)}})}function an(e){let t=e.XMLHttpRequest;e.Worker=new Proxy(e.Worker,{construct(i,r){if(r[0])if(r[0]=r[0].toString(),r[0].trim().startsWith(`blob:${e.location.origin}`)){let n=new t;n.open("GET",r[0],!1),n.send();let a=e.__dynamic.rewrite.js.rewrite(n.responseText,{type:"worker"},!0),s=new Blob([a],{type:"application/javascript"});r[0]=URL.createObjectURL(s)}else r[0]=e.__dynamic.url.encode(r[0],e.__dynamic.meta);return Reflect.construct(i,r)}})}function sn(e){e.__dynamic$history=function(t,...i){i[2]&&(i[2]=e.__dynamic.url.encode(i[2],e.__dynamic.meta)),e.__dynamic.Reflect.apply(t,this,i),e.__dynamic.client.location(e,!0,!1)},e.History.prototype.pushState=e.__dynamic.wrap(e.History.prototype.pushState,e.__dynamic$history),e.History.prototype.replaceState=e.__dynamic.wrap(e.History.prototype.replaceState,e.__dynamic$history)}var Ec="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~",Ac="%";function hs(e){e=e.toString();let t="";for(let i=0;i<e.length;i++){let r=e[i];if(Ec.includes(r)&&!Ac.includes(r))t+=r;else{let n=r.charCodeAt();t+="%"+n.toString(16).padStart(2,0)}}return t}function on(e){let t=()=>e.location.protocol.replace("http","ws")+"//"+new URL((e.__dynamic$config.bare.path+"/"||"/bare/")+"v1/",new URL(location.origin)).href.replace(/http(s?):\/\//g,"").replace(/\/\//g,"/"),i=Object.getOwnPropertyDescriptor(e.WebSocket.prototype,"url");e.__dynamic.define(e.WebSocket.prototype,"url",{get(){let r=i.get.call(this);return e.__dynamic.url.decode(r)},set(r){return!1}}),e.WebSocket=e.__dynamic.wrap(e.WebSocket,(r,...n)=>{console.log(n);let a=new URL(n[0]),s={remote:{host:a.hostname,port:a.port||(a.protocol==="wss:"?"443":"80"),path:a.pathname+a.search,protocol:a.protocol},headers:{Host:a.hostname+(a.port?":"+a.port:""),Origin:e.__dynamic$location.origin,Pragma:"no-cache","Cache-Control":"no-cache",Upgrade:"websocket",Connection:"Upgrade"},forward_headers:["accept-encoding","accept-language","sec-websocket-extensions","sec-websocket-key","sec-websocket-version","sec-websocket-accept"]};return n[1]&&(s.headers["sec-websocket-protocol"]=n[1].toString()),[t(),["bare",hs(JSON.stringify(s))]]})}function cn(e){e.Request=e.__dynamic.wrap(e.Request,function(t,...i){if(i[0]instanceof t){let r=Reflect.construct(t,i);return i[0].mode==="navigate"&&(r.mode="same-origin"),r}return i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),i}),e.__dynamic.define(e.Request.prototype,"url",{get(){return e.__dynamic.url.decode(e.__dynamic.http.RequestURL.get.call(this))},set(t){return t}}),e.fetch=e.__dynamic.wrap(e.fetch,function(t,...i){return e.Request&&(i[0].constructor.name==="Request"||i[0]instanceof e.Request)?(console.log(i[0]),Reflect.apply(t,e,i)):(i[0]&&e.__dynamic&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),Reflect.apply(t,e,i))},"fetch"),e.XMLHttpRequest.prototype.open=e.__dynamic.wrap(e.XMLHttpRequest.prototype.open,function(t,...i){return i[1]&&(i[1]=e.__dynamic.url.encode(i[1],e.__dynamic.meta)),i[2]===!1&&(i[2]=!0),Reflect.apply(t,this,i)},"XMLHttpRequest.prototype.open"),Object.defineProperty(e.XMLHttpRequest.prototype,"responseURL",{get(){return e.__dynamic.url.decode(e.__dynamic.http.XMLResponseURL.get.call(this))},set(t){return t}}),Object.defineProperty(e.Response.prototype,"url",{get(){return e.__dynamic.url.decode(e.__dynamic.http.ResponseURL.get.call(this))},set(t){return t}}),e.open=e.__dynamic.wrap(e.open,function(t,...i){i[0]!=""&&i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),i[0]==""&&(i[0]="about:blank");let r=Reflect.apply(t,this,i);r.opener=e.__dynamic$window;try{new URL(i[0]).protocol==="about:"?r.__dynamic$url="about:srcdoc":r.__dynamic$url=e.__dynamic.url.decode(i[0])}catch{r.__dynamic$url="about:srcdoc"}return e.__dynamic.elements.client(r,e.__dynamic$config,r.__dynamic$url),r.__dynamic$window},"window.open"),e.__dynamic.define(e,"__dynamic$import",{get(){return function(t,i){try{return e.__dynamic.url.encode(t,new URL(i))}catch{return e.__dynamic.url.encode(t,e.__dynamic.meta)}}},set:()=>{}})}function ti(e){let t=a=>a.constructor.name=="Worker"||a.constructor.name=="MessagePort"||e.constructor.name=="DedicatedWorkerGlobalScope",i=a=>a.constructor.name=="Window"||a.constructor.name=="global",r=(a,s)=>Object.keys(window||{}).map(o=>parseInt(o)).filter(o=>isFinite(o)).map(o=>window[o]).filter(o=>o||!1).find(o=>{try{return o.name==a&&o.location.href==s}catch{return!1}});e.__dynamic$message=function(a,s=top){a||(a=e);function o(){var c=arguments;return t(a)||!i(a)?a.postMessage.call(a,...c):(a.__dynamic$self&&(a=a.__dynamic$self),(a._postMessage||a.postMessage).call(a,[c[0],s.__dynamic$location.origin,s.location.href,s.name,s!==e],"*",c[2]||[]))}return o},e.constructor.name=="Window"&&(e.addEventListener&&(e.addEventListener=new Proxy(e.addEventListener,{apply(a,s,o){if(s==e.__dynamic$window&&(s=e),!o[1]||!o[0]||typeof o[1]!="function")return Reflect.apply(a,s,o);if(o[0]=="message"){var c=o[1].bind({});o[1]=function(f){return c(n(f))}}return Reflect.apply(a,s,o)}})),e.constructor.name=="Window"&&e.__dynamic.define(e,"onmessage",{get(){return e._onmessage||null},set(a){return e._onmessage&&e.removeEventListener("message",e._onmessage),e.addEventListener("message",a),e._onmessage=a}}));function n(a){let s=e.__dynamic.util.clone(a),o;a.source&&(o=r(a.data[3],a.data[2])||a.currentTarget),e.__dynamic.define(s,"isTrusted",{value:!0,writable:!1}),a.origin&&(Array.isArray(a.data)&&a.data.length==5?e.__dynamic.define(s,"origin",{value:a.data[1],writable:!1}):e.__dynamic.define(s,"origin",{value:a.origin,writable:!1})),a.data&&(Array.isArray(a.data)&&a.data.length==5?e.__dynamic.define(s,"data",{value:a.data[0],writable:!1}):e.__dynamic.define(s,"data",{value:a.data,writable:!1})),a.source&&(o?e.__dynamic.define(s,"source",{value:o?.__dynamic$window||o,writable:!0}):e.__dynamic.define(s,"source",{value:o||Array.isArray(a.data)&&a.data.length==3&&a.data[2]===!0?a.source:a.currentTarget,writable:!0}));for(var c in a)switch(c){default:c!=="isTrusted"&&c!=="origin"&&c!=="data"&&c!=="source"&&e.__dynamic.define(s,c,{value:a[c],writable:!1});break}return s}}function un(e){function t(i,...r){for(var n in r)r[n]=e.__dynamic.rewrite.dom(r[n],e.__dynamic.meta);return i.apply(this,r)}["write","writeln"].forEach(i=>{e.document[i]=e.__dynamic.wrap(e.document[i],t,`document.${i}`)})}function ii(e){e.importScripts=new Proxy(e.importScripts,{apply(t,i,r){return[...r].forEach((n,a)=>{r[a]=e.__dynamic.url.encode(n,e.__dynamic.meta)}),Reflect.apply(t,i,r)}}),e.__dynamic.define(e.__dynamic,"_location",{value:e.location,writable:!0}),e.__dynamic.define(e.WorkerGlobalScope.prototype,"location",{get(){return e.__dynamic.location},set(t){return t}}),e.location=e.__dynamic.location}function ri(e){var t=e.Reflect.get.bind({}),i=e.Reflect.set.bind({});e.Reflect.set=e.__dynamic.wrap(e.Reflect.set,function(r,...n){return n[0].constructor.name=="Window"&&n[1]=="location"?(n[0].__dynamic$location=n[2],!0):n[0].constructor.name=="Location"?(e.__dynamic$location[n[1]]=n[2],!0):Reflect.apply(i,this,n)},"Reflect.set"),e.Reflect.get=e.__dynamic.wrap(e.Reflect.get,function(r,...n){if(typeof n[0]=="object"){if(n[0].constructor.name=="Window"){if(n[1]=="location")return n[0].__dynamic?n[0].__dynamic$location:Reflect.apply(t,this,n);if(n[0][n[1]]&&n[0][n[1]].constructor.name=="Window")return n[0][n[1]].__dynamic$window}if(n[0].constructor.name=="Location")return e.__dynamic$location[n[1]]}return Reflect.apply(t,this,n)},"Reflect.get"),e.__dynamic.Reflect={get:t,set:i,apply:e.Reflect.apply.bind({}),construct:e.Reflect.construct.bind({}),defineProperty:e.Reflect.defineProperty.bind({}),deleteProperty:e.Reflect.deleteProperty.bind({}),getOwnPropertyDescriptor:e.Reflect.getOwnPropertyDescriptor.bind({}),getPrototypeOf:e.Reflect.getPrototypeOf.bind({}),has:e.Reflect.has.bind({}),isExtensible:e.Reflect.isExtensible.bind({}),ownKeys:e.Reflect.ownKeys.bind({}),preventExtensions:e.Reflect.preventExtensions.bind({}),setPrototypeOf:e.Reflect.setPrototypeOf.bind({})}}function fn(e){e.__dynamic.define(e.document,"origin",{value:e.__dynamic$location.origin,configurable:!1,enumerable:!1}),e.__dynamic.define(e.document,"domain",{value:e.__dynamic$location.hostname,configurable:!1,enumerable:!1}),["referrer","URL","documentURI"].forEach(t=>{e.__dynamic.define(e.document,t,{value:e.__dynamic$location.toString(),configurable:!1,enumerable:!1})}),[e.document,e.HTMLElement.prototype].forEach(t=>{e.__dynamic.define(t,"baseURI",{get(){return(e.__dynamic.baseURL||e.__dynamic$location).href}})}),["getEntries","getEntriesByName","getEntriesByType"].forEach(t=>{e.performance[t]=new Proxy(e.performance[t],{apply(i,r,n){return Reflect.apply(i,r,n).filter(a=>!a.name?.includes(e.location.origin+"/dynamic/dynamic.")).filter(a=>!a.name.includes(e.location.origin+e.__dynamic.config.prefix+"caches/")).map(a=>{if(a.name){var s=e.__dynamic.util.clone(a);s.__defineGetter__("name",function(){return this._name}),s.__defineSetter__("name",function(f){this._name=f}),s.name=e.__dynamic.url.decode(a.name),e.__dynamic.define(s,"name",{get:void 0,set:void 0}),e.__dynamic.define(s,"name",{value:s._name,writable:!1}),delete s._name;for(var o in a)if(o!="name"){if(typeof a[o]=="function")var c=new Proxy(a[o],{apply(f,u,h){if(f.name=="toJSON"){var p={};for(var m in s)p[m]=s[m];return p}return Reflect.apply(f,a,h)}});else var c=a[o];Object.defineProperty(s,o,{value:c,writable:!0})}a=s}return a})}})}),e.MouseEvent&&(e.MouseEvent.prototype.initMouseEvent=e.__dynamic.wrap(e.MouseEvent.prototype.initMouseEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.__dynamic$window?e:r)),Reflect.apply(t,this,i)})),e.KeyboardEvent&&(e.KeyboardEvent.prototype.initKeyboardEvent=e.__dynamic.wrap(e.KeyboardEvent.prototype.initKeyboardEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.__dynamic$window?e:r)),Reflect.apply(t,this,i)})),e.StorageEvent&&(e.StorageEvent.prototype.initStorageEvent=e.__dynamic.wrap(e.StorageEvent.prototype.initStorageEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.localStorage?e.__dynamic.storage.localStorage:r==e.sessionStorage?e.__dynamic.storage.sessionStorage:r)),Reflect.apply(t,this,i)})),e.Object.defineProperty=e.__dynamic.wrap(e.Object.defineProperty,function(t,...i){try{return Reflect.apply(t,this,i)}catch(r){r.toString().includes("Cannot redefine property:")&&(i[0].__defined||(i[0].__defined={}),i[0].__defined[i[1]]=i[2])}}),e.__dynamic.meta.origin=="https://www.google.com"&&(e.setInterval=new Proxy(e.setInterval,{apply(t,i,r){return r[1]==500?null:Reflect.apply(t,i,r)}}))}function ln(e){e.Storage.prototype.setItem=e.__dynamic.wrap(e.Storage.prototype.setItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)},"Storage.prototype.setItem"),e.Storage.prototype.getItem=e.__dynamic.wrap(e.Storage.prototype.getItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)||null},"Storage.prototype.getItem"),e.Storage.prototype.removeItem=e.__dynamic.wrap(e.Storage.prototype.removeItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)},"Storage.prototype.removeItem"),e.Storage.prototype.clear=e.__dynamic.wrap(e.Storage.prototype.clear,function(t,...i){for(var r=[],n=0;n<this.length;n++)t.call(this,n)?.startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&r.push(t.call(this,n)?.replace("__dynamic$"+e.__dynamic$location.host+"$",""));for(var a in r)t.call(this,r[a])},"Storage.prototype.clear"),e.Storage.prototype.key=e.__dynamic.wrap(e.Storage.prototype.key,function(t,...i){for(var r=[],n=0;n<this.length;n++)t.call(this,n)?.startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&r.push(t.call(this,n)?.replace("__dynamic$"+e.__dynamic$location.host+"$",""));return r[i[0]]?r[i[0]]:null},"Storage.prototype.key"),["localStorage","sessionStorage"].forEach(t=>{e["__dynamic$"+t]=new Proxy(e[t],{get(i,r){if(r=="length"){for(var n=[],a=0;a<Object.keys(e.__dynamic.storage[t]).length;a++)Object.keys(e.__dynamic.storage[t])[a].startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&n.push(Object.keys(e.__dynamic.storage[t])[a].replace("__dynamic$"+e.__dynamic$location.host+"$",""));return n.length}return e.__dynamic.storage.methods.includes(r)?e.__dynamic.storage.cloned[t][r].bind(e.__dynamic.storage[t]):e.__dynamic.storage[t].getItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString())},set(i,r,n){return e.__dynamic.storage[t].setItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString(),n),n||!0},deleteProperty(i,r){return e.__dynamic.storage[t].removeItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString())}}),delete e[t],e[t]=e["__dynamic$"+t]})}function hn(e){"serviceWorker"in e.navigator&&(e.__dynamic.sw=e.navigator.serviceWorker,delete e.navigator.serviceWorker,delete e.Navigator.prototype.serviceWorker),e.navigator.sendBeacon=e.__dynamic.wrap(e.navigator.sendBeacon,function(t,...i){return i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),Reflect.apply(t,this,i)},"navigator.sendBeacon")}var pn=e=>e?e.split(";").map(t=>t.split("=")).reduce((t,i)=>(t[i[0].trim()]=i[1].trim(),t),{}):{},Ct=(e=[])=>e.map(t=>`${t.name}=${t.value}`).join("; ");function dn(e){if(delete e.Document.prototype.cookie,e.__dynamic.define(e.document,"cookie",{get(){var t=e.__dynamic.fire("getCookies",[e.__dynamic.location.host,e.__dynamic.cookie.str||""]);return t||(e.__dynamic.cookies.update(e.__dynamic.location.host),e.__dynamic.cookie.str||e.__dynamic.cookie.desc.get.call(this)||"")},set(t){var i=e.__dynamic.modules.setCookieParser.parse(t,{decodeValues:!1})[0],r=e.__dynamic.fire("setCookie",[e.__dynamic.location.host,t,i]);if(r)return r;i.name=i.name.replace(/^\./g,""),Promise.resolve(e.__dynamic.cookies.set(e.__dynamic.location.host,e.__dynamic.modules.cookie.serialize(i.name,i.value,{...i,encode:a=>a}))).then(async a=>{await e.__dynamic.cookies.update(e.__dynamic.location.host),e.__dynamic.cookie.str=await e.__dynamic.cookies.get(e.__dynamic.location.host)});var n=pn(e.__dynamic.cookie.str||"");n[i.name]=i.value,e.__dynamic.cookie.str=Ct(Object.entries(n).map(a=>({name:a[0],value:a[1]})))}}),e.navigator.serviceWorker)try{e.navigator.serviceWorker.onmessage=({data:t})=>{if(t.host==e.__dynamic.location.host&&t.type=="set-cookie"){var i=e.__dynamic.modules.cookie.parse(t.val),r=pn(e.__dynamic.cookie.str||"");r[Object.entries(i)[0][0]]=Object.entries(i)[0][1],e.__dynamic.cookie.str=Ct(Object.entries(r).map(n=>({name:n[0],value:n[1]})))}t.host==e.__dynamic.location.host&&t.type=="cookies"&&(e.__dynamic.cookie.str=t.cookies)}}catch{}}function mn(e){e.CSSStyleDeclaration.prototype._setProperty=e.CSSStyleDeclaration.prototype.setProperty,e.CSSStyleDeclaration.prototype.setProperty=e.__dynamic.wrap(e.CSSStyleDeclaration.prototype.setProperty,function(t,...i){return(i[0]=="background-image"||i[0]=="background"||i[0]=="backgroundImage")&&(i[1]=e.__dynamic.rewrite.css.rewrite(i[1],e.__dynamic.meta)),t.apply(this,i)},"CSSStyleDeclaration.prototype.setProperty"),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"background",{get(){return this._background?this._background:this.getPropertyValue("background")},set(t){return this._background=t,this._setProperty("background",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}}),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"backgroundImage",{get(){return this._backgroundImage?this._backgroundImage:this.getPropertyValue("background-image")},set(t){return this._backgroundImage=t,this._setProperty("background-image",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}}),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"background-image",{get(){return this._backgroundImage?this._backgroundImage:this.getPropertyValue("background-image")},set(t){return this._backgroundImage=t,this._setProperty("background-image",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}})}function ni(e){e.__dynamic.createBlobHandler=async function(t,i,r){let n=(await e.__dynamic.sw.ready).active;e.__dynamic.sw.addEventListener("message",({data:{url:a}})=>{a&&e.__dynamic.elements.iframeSrc.set.call(i,a)},{once:!0}),n.postMessage({type:"createBlobHandler",blob:t,url:e.__dynamic.modules.base64.encode(r.toString().split("").slice(0,10)),location:e.__dynamic.location.href})}}var ps=(e,t,i)=>((i=new MutationObserver(function(n){for(var a of n)e[a.type](a),document.dispatchEvent(new CustomEvent({attributes:"attrChanged",characterData:"characterData",childList:"nodeChanged"}[a.type],{detail:a}))})).observe(t,{subtree:!0,attributes:!0,childList:!0}),i);function ai(e,t){t||(t=e.__dynamic);function i(n){if(!n.rewritten&&!(n.nodeType!==1&&n.nodeType!==3)){if(n=new Proxy(n,{get(o,c){return c=="src"||c=="href"||c=="srcset"||c=="imageSrcset"||c=="data"||c=="action"?t.elements.getAttribute.call(o,c.toLowerCase()):c=="setAttribute"||c=="getAttribute"||c=="removeAttribute"||c=="hasAttribute"||c=="cloneNode"||c=="addEventListener"?(...f)=>t.elements[c].call(o,...f):c=="node"?o:o[c]},set(o,c,f){return c=="src"||c=="href"||c=="srcset"||c=="imageSrcset"||c=="data"||c=="action"?t.elements.setAttribute.call(o,c.toLowerCase(),f):o[c]=f,!0}}),n instanceof HTMLScriptElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.type&&n.textContent?.length?(n.type=="application/javascript"||n.type=="text/javascript"||n.type=="application/x-javascript"&&n.textContent?.length)&&(n.textContent=t.rewrite.js.rewrite(n.textContent,{type:"script"},!1,t)):!n.type&&n.textContent?.length&&(n.textContent=t.rewrite.js.rewrite(n.textContent,{type:"script"},!1,t))),n instanceof HTMLStyleElement&&n.textContent?.length&&(n.textContent=t.rewrite.css.rewrite(n.textContent,t.meta)),n instanceof HTMLIFrameElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcdoc)){n.dataset.dynamic_srcdoc=n.srcdoc;let o=new Blob([t.rewrite.html.rewrite(n.srcdoc,t.meta)],{type:"text/html"});n.src=URL.createObjectURL(o)}if(n instanceof HTMLLinkElement&&(n.getAttribute("rel")!=="stylesheet"&&n.getAttribute("rel")!=="prefetch"&&n.getAttribute("rel")!=="dns-prefetch"?(n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n.imageSrcset&&(n.dataset.dynamic_imagesrcset=n.imageSrcset,n.imageSrcset=t.rewrite.srcset.encode(n.imageSrcset,t))):n.addEventListener("error",o=>{if(n instanceof HTMLLinkElement)return n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n.imageSrcset&&(n.dataset.dynamic_imagesrcset=n.imageSrcset,n.imageSrcset=t.rewrite.srcset.encode(n.imageSrcset,t)),o.preventDefault(),!1},{once:!0})),n instanceof HTMLAnchorElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLFormElement&&n.action&&(n.dataset.dynamic_action=n.action,n.action=t.url.encode(n.action,t.meta)),n instanceof HTMLObjectElement&&n.data&&(n.dataset.dynamic_data=n.data,n.data=t.url.encode(n.data,t.meta)),n instanceof HTMLSourceElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcset&&(n.dataset.dynamic_srcset=n.srcset,n.srcset=t.rewrite.srcset.encode(n.srcset,t))),n instanceof HTMLImageElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcset&&(n.dataset.dynamic_srcset=n.srcset,n.srcset=t.rewrite.srcset.encode(n.srcset,t))),n instanceof HTMLAreaElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLBaseElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLInputElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLAudioElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLVideoElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLTrackElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLMediaElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLMetaElement&&n.httpEquiv){if(n.httpEquiv.toLowerCase()=="refresh"){var a=n.content.split(";url=")[0],s=n.content.split(";url=")[1];n.content=`${a};url=${t.url.encode(s,t.meta)}`}n.httpEquiv.toLowerCase()=="content-security-policy"&&n.remove()}return n instanceof HTMLElement&&(n.getAttribute("style")&&n.setAttribute("style",t.rewrite.css.rewrite(n.getAttribute("style"),t.meta)),n.integrity&&(n.setAttribute("nointegrity",n.integrity),n.removeAttribute("integrity")),n.nonce&&(n.setAttribute("nononce",n.nonce),n.removeAttribute("nonce"))),n.rewritten=!0}}let r=ps({childList(n){i(n.target);for(let s of n.addedNodes)if(s.childNodes)for(let o of s.childNodes)i(o);if(n.target.childNodes)for(var a of n.target.childNodes)i(a)},attributes(n){},characterData(n){}},e.document);e.document.addEventListener("DOMContentLoaded",function(){r.disconnect()},{once:!0})}function xn(e){e.__dynamic.eval=e.__dynamic.wrap(eval,function(t,...i){if(i.length){var r=i[0].toString();return r=e.__dynamic.rewrite.js.rewrite(r,{type:"script"},!1,e.__dynamic),t.apply(this,[r])}},"eval"),e.__dynamic.define(e.Object.prototype,"__dynamic$eval",{get(){return this===window?e.__dynamic.eval:this.eval},set(t){return t}}),e.__dynamic$wrapEval=function(t){if(!arguments.length)return arguments[0];var i=e.__dynamic.fire("eval",[e,t]);return i||(t=e.__dynamic.rewrite.js.rewrite(t,{type:"script"},!1,e.__dynamic),t)}}function yn(e){var t=e.Function.prototype.toString;e.__dynamic.Function=e.Function.bind({}),e.__dynamic.define(e.Function.prototype,"_toString",{get(){return t},set:()=>{}});var i=function(){try{var r=Reflect.apply(t,this,[])}catch{return`function ${this.name}() { [native code] }`}return r.includes("[native code]")?`function ${this.name}() { [native code] }`:r};e.__dynamic.define(e.Function.prototype,"toString",{get(){return this.__toString||i},set(r){this.__toString=r}}),e.Function=new Proxy(e.Function,{apply(r,n,a){var s=[...a],o=s.pop();return o=`(function anonymous(${s.toString()}) {${o}})`,o=e.__dynamic.rewrite.js.rewrite(o,{type:"script"},!1,e.__dynamic),e.eval(o)},construct(r,n){var a=[...n],s=a.pop();return s=`(function anonymous(${a.toString()}) {${s}})`,s=e.__dynamic.rewrite.js.rewrite(s,{type:"script"},!1,e.__dynamic),e.eval(s)}}),e.Function.prototype.apply=e.__dynamic.wrap(e.Function.prototype.apply,function(r,...n){return n[0]==e.__dynamic$window&&(n[0]=n[0].__dynamic$self),n[0]==e.__dynamic$document&&(n[0]=e.document),Reflect.apply(r,this,n)},"Function.prototype.apply"),e.Function.prototype.call=new Proxy(e.Function.prototype.call,{apply(r,n,a){return a[0]==e.__dynamic$window&&(a[0]=a[0].__dynamic$self),a[0]==e.__dynamic$document&&(a[0]=e.document),Reflect.apply(r,n,a)}}),e.Function.prototype.bind=e.__dynamic.wrap(e.Function.prototype.bind,function(r,...n){return n[0]==e.__dynamic$window&&(n[0]=n[0].__dynamic$self),n[0]==e.__dynamic$document&&(n[0]=e.document),r.apply(this,n)},"Function.prototype.bind")}function vn(e){}function gn(e){}var ds=[{name:"get",function:"self"},{name:"func",function:"self"},{name:"location",function:"self"},{name:"mutation",function:"self"},{name:"dom",function:"self"},{name:"write",function:"self"},{name:"message",function:"self"},{name:"reflect",function:"self"},{name:"window",function:"self"},{name:"eval",function:"self"},{name:"attr",function:"self"},{name:"policy",function:"self"},{name:"worker",function:"self"},{name:"history",function:"self"},{name:"ws",function:"self"},{name:"cookie",function:"self"},{name:"fetch",function:"self"},{name:"niche",function:"self"},{name:"storage",function:"self"},{name:"style",function:"self"},{name:"rtc",function:"self"},{name:"blob",function:"self"},{name:"navigator",function:"self"}];var kt=class{constructor(t){this.methods=ds;self.constructor.name=="DedicatedWorkerGlobalScope"||self.constructor.name=="SharedWorkerGlobalScope"?(this.message=ti,this.location=Zt,this.window=ei,this.get=Jt,this.reflect=ri,this.imports=ii,this.blob=ni,this.mutation=ai):(this.location=Zt,this.get=Jt,this.window=ei,this.attr=nn,this.worker=an,this.history=sn,this.ws=on,this.fetch=cn,this.message=ti,this.policy=vn,this.write=un,this.imports=ii,this.reflect=ri,this.niche=fn,this.storage=ln,this.navigator=hn,this.cookie=dn,this.style=mn,this.blob=ni,this.mutation=ai,this.eval=xn,this.func=yn,this.rtc=gn,this.dom=rn),this.ctx=t}};function Lc(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 Re={open:async()=>Yi("__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 Re.remove(e,t,i)}return await(await i).put("__dynamic$cookies",Lc(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 n=await(await t).get("__dynamic$cookies",i);if(n)for(var{name:a,value:s,expires:o}of n){if(o){var c=new Date(o);if(c<=new Date){Re.remove(e,n.find(f=>f.name==a&&f.value==s&&f.expires==o),t);continue}}r.find(f=>f.name==a&&f.value==s)||r.push({name:a,value:s,expires:o||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(n=>n.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:n,value:a,expires:s}of r)if(s){var o=new Date(s);if(o<=new Date){Re.remove(e,{name:n,value:a,expires:s},t);continue}}}return r}};var Et=class{constructor(t){this.db=Re;this.ctx=t}async get(t){this._db||(this._db=this.db.open());let i=await Re.get(t,this._db);return Ct(i)}async set(t,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{decodeValues:!1})[0],this._db||(this._db=this.db.open()),await Re.set(t,i,this._db)}async open(){await Re.open()}async update(t){return this._db||(this._db=this.db.open()),await Re.update(t,this._db)}};var wn={};On(wn,{aes:()=>Ic,base64:()=>Tc,none:()=>Bc,plain:()=>Rc,xor:()=>Pc});var Lt=ot(wo(),1),Pc={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("")},Rc={encode:e=>e&&encodeURIComponent(e),decode:e=>e&&decodeURIComponent(e)},Ic={encode:e=>e&&Lt.AES.encrypt(e,"dynamic").toString().substring(10),decode:e=>e&&Lt.AES.decrypt("U2FsdGVkX1"+e,"dynamic").toString(Lt.enc.Utf8)},Bc={encode:e=>e,decode:e=>e},Tc={encode:e=>e&&decodeURIComponent(btoa(e)),decode:e=>e&&atob(e)};var Je=class{constructor(t){this.modules=new ts(this);this.util=new os(this);this.meta=new us(this);this.regex=new wt(this);this.rewrite=new ns(this);this.url=new cs(this);this.is=new ls(this);this.cookies=new Et(this);this.client=new kt(this);this.encoding=wn;this.headers=fs;this.listeners=[];t&&!this.config&&(this.config=t),t&&this.util.encode(self)}on(t,i){this.listeners.push({event:t,cb:i})}fire(t,i){let r=!1;for(let n of this.listeners)n.event===t&&(i=(r=!0,n.cb(...i)));return r&&i?i:null}};function Pt(e){e.__dynamic.wrap=function(t,i,r){if(t.__dynamic$target)return t;if(t.toString().includes("{ [native code] }")&&!t.prototype){var n=i,a=t,s=function(...c){if(typeof r=="string"){var f=e.__dynamic.fire(r,this?[this,...c]:c);if(f)return f}var u=n.call(this,a,...c);return u},o=function(...c){return s.call(this,...c)};return e.__dynamic.define(o,"name",{value:t.name,writable:!1}),o.__dynamic$target=t,o.toString=()=>`function ${t.name}() { [native code] }`,o}else try{let c=class extends t{constructor(...f){var u=[...f],h=i.call(t,t,...f);h&&(f=h),super(...f),r&&r(this,u)}};return Object.defineProperty(c,"name",{value:t.name,writable:!1}),c}catch{return t}}}function So(e,t={},i=""){if(e.hasOwnProperty("__dynamic"))return!1;e.hasOwnProperty("__dynamic$config")||(e.__dynamic$config=t),e.parent?.__dynamic&&(e.__dynamic$bare=e.parent.__dynamic$bare);let r=new Je(e.__dynamic$config);r.config.bare.path=typeof r.config.bare.path=="string"||r.config.bare.path instanceof URL?[new URL(r.config.bare.path,e.location)][0]:r.config.bare.path.map(a=>new URL(a,e.location)),e.__dynamic$baseURL=i||e.__dynamic$url||r.url.decode(location.pathname+location.search+location.hash)||"",e.__dynamic=r,e.__dynamic.bare=new e.__dynamic.modules.bare.BareClient(e.__dynamic$config.bare.path,e.__dynamic$bare),e.__dynamic.meta.load(new URL(e.__dynamic$baseURL)),Rt(e,null),Pt(e);for(var n of e.__dynamic.client.methods){let a=n.name,s=Object.entries(e.__dynamic.client).find(o=>o[0]==a);a=="mutation"&&e.frameElement||n.function=="self"&&s[1](e)}return e}function Rt(e,t){t||(t=e.__dynamic),t.define=new e.Proxy(e.Object.defineProperty,{apply(i,r,n){try{return Reflect.apply(i,r,n)}catch{return n[2]}}}),t.defines=new e.Proxy(e.Object.defineProperties,{apply(i,r,n){try{return Reflect.apply(i,r,n)}catch{return n[1]}}}),e.parent&&(t.parent=e.parent),e.top&&(t.top=e.top),e.document&&(t.elements={attributes:["src","href","srcset","action","data","integrity","nonce","imagesrcset"],iframeSrc:Object.getOwnPropertyDescriptor(e.HTMLIFrameElement.prototype,"src"),contentWindow:Object.getOwnPropertyDescriptor(e.HTMLIFrameElement.prototype,"contentWindow"),innerHTML:Object.getOwnPropertyDescriptor(e.Element.prototype,"innerHTML"),outerHTML:Object.getOwnPropertyDescriptor(e.Element.prototype,"outerHTML"),attrValue:Object.getOwnPropertyDescriptor(e.Attr.prototype,"value"),setAttribute:e.Element.prototype.setAttribute,getAttribute:e.Element.prototype.getAttribute,removeAttribute:e.Element.prototype.removeAttribute,hasAttribute:e.Element.prototype.hasAttribute,cloneNode:e.Node.prototype.cloneNode,addEventListener:e.Node.prototype.addEventListener,config:[{elements:[e.HTMLScriptElement,e.HTMLIFrameElement,e.HTMLEmbedElement,e.HTMLInputElement,e.HTMLTrackElement,e.HTMLMediaElement,e.HTMLSourceElement,e.Image,e.HTMLImageElement],tags:["src"],action:"url"},{elements:[e.HTMLSourceElement,e.HTMLImageElement],tags:["srcset"],action:"srcset"},{elements:[e.HTMLAnchorElement,e.HTMLLinkElement,e.HTMLAreaElement,e.SVGImageElement,e.HTMLBaseElement],tags:["href"],action:"url"},{elements:[e.HTMLIFrameElement],tags:["contentWindow","contentDocument"],action:"window"},{elements:[e.HTMLFormElement],tags:["action"],action:"url"},{elements:[e.HTMLObjectElement],tags:["data"],action:"url"},{elements:[e.HTMLScriptElement,e.HTMLLinkElement],tags:["integrity"],action:"rewrite",new:"nointegrity"},{elements:[e.HTMLScriptElement,e.HTMLLinkElement],tags:["nonce"],action:"rewrite",new:"nononce"},{elements:[e.HTMLIFrameElement],tags:["srcdoc"],action:"html"},{elements:[e.HTMLElement],tags:["style"],action:"css"},{elements:[e.HTMLLinkElement],tags:["imageSrcset"],action:"srcset"}],createGetter:i=>({get(){return new URL(this.href||e.__dynamic$location.href)[i]},set(r){}}),client:So},e.__dynamic.baseURL=e.document?new URL(e.__dynamic.url.decode(e.document.baseURI)):null),e.document&&(t.cookie={str:e.__dynamic$cookie||"",desc:Object.getOwnPropertyDescriptor(e.Document.prototype,"cookie")}),e.XMLHttpRequest&&(t.http={XMLResponseURL:Object.getOwnPropertyDescriptor(e.XMLHttpRequest.prototype,"responseURL"),ResponseURL:Object.getOwnPropertyDescriptor(e.Response.prototype,"url"),RequestURL:Object.getOwnPropertyDescriptor(e.Request.prototype,"url"),XMLHttpRequest:e.XMLHttpRequest}),e.Storage&&(t.storage={localStorage:e.localStorage,sessionStorage:e.sessionStorage,keys:{localStorage:Object.keys(e.localStorage),sessionStorage:Object.keys(e.sessionStorage)},methods:["getItem","setItem","removeItem","clear","length","keys","values","entries","forEach","hasOwnProperty","toString","toLocaleString","valueOf","isPrototypeOf","propertyIsEnumerable","constructor","key"]},t.storage.cloned={localStorage:t.util.clone(t.storage.localStorage),sessionStorage:t.util.clone(t.storage.sessionStorage)}),e.RTCPeerConnection&&(t.webrtc={endpoints:["stun:stun.webice.org"]}),e.trustedTypes&&(t.trustedTypes={policy:e.trustedTypes.createPolicy("dynamic",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i,createURL:i=>i}),createScript:e.TrustedTypePolicy.prototype.createScript}),e.__dynamic$config.tab&&(e.document&&e.__dynamic$config.tab.title&&(document.title=e.__dynamic$config.tab.title,t.define(e.document,"title",{get(){return e.__dynamic$config.tab.title},set(i){return i}})),e.__dynamic$config.tab.icon&&(e.__dynamic$icon=e.__dynamic$config.tab.icon),e.Navigator&&e.__dynamic$config.tab.ua&&t.define(e.navigator,"userAgent",{get(){return e.__dynamic$config.tab.ua},set(){}}))}importScripts("/dynamic/dynamic.config.js");(function(e){let t=new Je(e.__dynamic$config);e.__dynamic=t;let i=t.url.decode(location.pathname);t.meta.load(new URL(i)),Rt(e,null),Pt(e),t.client.message(e),t.client.location(e,!1),t.client.window(e),t.client.get(e),t.client.reflect(e),t.client.imports(e),t.client.blob(e)})(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.handler.js.map