diff --git a/src/config.json b/config.json similarity index 79% rename from src/config.json rename to config.json index 95b68ae0..9cab5d35 100644 --- a/src/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "title": "HU LTS", "host": "0.0.0.0", - "minifyScripts": false, + "minifyScripts": true, "randomizeIdentifiers": true, "production": false } diff --git a/lib/rammerhead/package-lock.json b/lib/rammerhead/package-lock.json index d65cab27..120cd1de 100644 --- a/lib/rammerhead/package-lock.json +++ b/lib/rammerhead/package-lock.json @@ -464,10 +464,21 @@ } }, "node_modules/@types/minimatch": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "license": "MIT", "optional": true }, "node_modules/@types/node": { - "optional": true + "version": "22.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.4.tgz", + "integrity": "sha512-d9RWfoR7JC/87vj7n+PVTzGg9hDyuFjir3RxUHbjFSKNd9mpxbxwMEyaCim/ddCmy4IuW7HjTzF3g9p3EtWEOg==", + "license": "MIT", + "optional": true, + "dependencies": { + "undici-types": "~6.19.8" + } }, "node_modules/abstract-logging": { "version": "2.0.1", @@ -4789,6 +4800,13 @@ "node": ">=0.8.0" } }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT", + "optional": true + }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", diff --git a/lib/rammerhead/src/client/hammerhead.min.js b/lib/rammerhead/src/client/hammerhead.min.js deleted file mode 100644 index 72c39fde..00000000 --- a/lib/rammerhead/src/client/hammerhead.min.js +++ /dev/null @@ -1 +0,0 @@ -window["%is-hammerhead%"]=!0,function R(){var j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function H(e){var t={exports:{}};return e(t,t.exports),t.exports}function B(){}var F,U="pending",V="settled",G="fulfilled",W="rejected",q=void 0!==j&&void 0!==j.process&&"function"==typeof j.process.emit,K="undefined"==typeof setImmediate?setTimeout:setImmediate,z=[];function X(){for(var e=0;et[1][r])return 1;if(t[0][r]!==t[1][r])return-1;if(0===r)return 0}}function i(e,t,r){var n,o=a,i=("string"==typeof t&&(r=t,t=void 0),void 0===t&&(t=!1),""+(o=r?s(r):o).version);for(n in e)if(e.hasOwnProperty(n)&&o[n]){if("string"!=typeof e[n])throw new Error("Browser version in the minVersion map should be a string: "+n+": "+String(e));return l([i,e[n]])<0}return t}return a.test=function(e){for(var t=0;t=t[r="scrollHeight"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetHeight,(o=(o=(o-=xr(a(e,"paddingTop")))-xr(a(e,"paddingBottom")))-xr(a(e,"borderTopWidth")))-xr(a(e,"borderBottomWidth"))):null}function Or(e){var t;return e?uo(e)?e.document.documentElement.clientWidth:ho(e)?e.documentElement.clientWidth:(t=e.offsetWidth,(t-=xr(a(e,"borderLeftWidth")))-xr(a(e,"borderRightWidth"))):null}function Lr(e){var t=kr(e),r=Pr(e),r=e.scrollHeight-(r.top+r.bottom),n=vn(e).length;return 1===t?Nr(e):S&&n=t[r="scrollWidth"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetWidth,(o=(o=(o-=xr(a(e,"paddingLeft")))-xr(a(e,"paddingRight")))-xr(a(e,"borderLeftWidth")))-xr(a(e,"borderRightWidth"))):null},getHeight:Nr,getInnerWidth:Or,getInnerHeight:function(e){var t;return e?uo(e)?e.document.documentElement.clientHeight:ho(e)?e.documentElement.clientHeight:(t=e.offsetHeight,(t-=xr(a(e,"borderTopWidth")))-xr(a(e,"borderBottomWidth"))):null},getOptionHeight:Lr,getSelectElementSize:kr,isVisibleChild:Dr,getScrollLeft:Mr,getScrollTop:Rr,setScrollLeft:jr,setScrollTop:Hr,getOffsetParent:Br,getOffset:Fr,isElementVisible:Ur,isElementInInvisibleIframe:Vr});function Wr(e){return Tn(e)?b.elementQuerySelectorAll:Po(e)||Io(e)?b.documentFragmentQuerySelectorAll:b.querySelectorAll}var qr=0,Kr=["[object HTMLMapElement]","[object HTMLAreaElement]"],zr=(n="undefined"==typeof window)?"":i(window),Xr=/^\[object .*?Document]$/i,$r=/^\[object .*?ProcessingInstruction]$/i,Yr=/^\[object SVG\w+?Element]$/i,Qr=/^\[object HTML.*?Element]$/i,Jr=/^\[object ArrayBuffer]$/i,Zr=/^\[object DataView]$/i,en=n?"":i(b.createElement.call(document,"td")),tn=n?-1:Node.ELEMENT_NODE,rn=/^(select|option|applet|area|audio|canvas|datalist|keygen|map|meter|object|progress|source|track|video|img)$/,nn=/^(input|textarea|button)$/,on=/^(script|style)$/i,sn=/^(email|number|password|search|tel|text|url)$/,an=/^(number|email)$/,ln=/^(color|date|datetime-local|month|week)$/;function cn(e){return e.offsetWidth<=0&&e.offsetHeight<=0}function i(e){return mr?e&&"object"==typeof e?b.objectToString.call(b.objectGetPrototypeOf(e)):"":b.objectToString.call(e)}function pn(e){for(var e=e||document,t=b.documentActiveElementGetter.call(e),r=Tn(t)?t:e.body;r&&r.shadowRoot;){var n=r.shadowRoot.activeElement;if(!n)break;r=n}return r}function un(e,t){return vn(e).indexOf(t)}function hn(e){return fn(e[_.processedContext])}function dn(e){var t=null;try{t=b.contentDocumentGetter.call(e).location.href}catch(e){t=null}var e=b.getAttribute.call(e,"src"+s.storedAttrPostfix)||b.getAttribute.call(e,"src")||b.iframeSrcGetter.call(e),r=t&&ir(t)&&x(t),n=e&&ir(e)&&x(e);return{documentLocation:r?r.destUrl:t,srcLocation:n?n.destUrl:e}}function fn(e){try{return e.frameElement}catch(e){return null}}function mn(e){var t=Fo(e,"map"),t='[usemap="#'+b.getAttribute.call(t,"name")+'"]';return b.querySelector.call(_n(e),t)}function gn(){var e,t;return qr||((e=b.createElement.call(document,"div")).style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.width="100px",b.appendChild.call(document.body,e),t=e.offsetWidth-e.clientWidth,qr=t,b.nodeParentNodeGetter.call(e).removeChild(e)),qr}function yn(e){return Fo(b.nodeParentNodeGetter.call(e),"select")}function vn(e){for(var t=b.elementQuerySelectorAll.call(e,"optgroup, option"),r=[],n=b.nodeListLengthGetter.call(t),o=0;o{try{return e["%is-hammerhead%"]}catch(e){return!0}})()==!!(()=>{try{return t["%is-hammerhead%"]}catch(e){return!0}})()))}catch(e){return!0}}function Cn(e){return e!==e.top}function Tn(e){return e instanceof b.elementClass||e&&Qr.test(i(e))&&xo(e)&&e.tagName}function An(e){return e&&"string"==typeof e.tagName?e.tagName.toLowerCase():""}var Pn="hammerhead|element|shadow-root-parent";function In(e){for(var t=b.nodeParentNodeGetter.call(e);t&&t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)t=b.nodeParentNodeGetter.call(t);return t&&t[Pn]}function Nn(e){e=b.nodeParentNodeGetter.call(e);return e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e[Pn]?e[Pn]:e}function On(e,t){var t=t||document;return!!t.documentElement&&(!!t.documentElement.contains(e)||!!(t=In(e))&&On(t))}function Ln(e,t){t=t||_n(e);return window.document!==t}function kn(e){return e===s.focusPseudoClass||e===s.hoverPseudoClass||-1!==e.indexOf(s.storedAttrPostfix)}function Dn(e){return"[object HTMLIFrameElement]"===i(e)}function Mn(e){return"[object HTMLFrameElement]"===i(e)}function Rn(e){var t=dn(e),r=t.srcLocation,t=t.documentLocation;return!(null===t||!b.contentWindowGetter.call(e)[_.documentWasCleaned]&&((t=ir(t))||b.getAttribute.call(e,"src"))&&(r&&ir(r)||t))}function jn(e){return b.iframeSrcdocGetter&&b.hasAttribute.call(e,"srcdoc")}function Hn(e){return"[object HTMLImageElement]"===i(e)}function Bn(e){return"[object HTMLInputElement]"===i(e)}function Fn(e){return"[object HTMLTitleElement]"===i(e)}function Un(e){return"[object HTMLButtonElement]"===i(e)}function Vn(e){return"[object HTMLFieldSetElement]"===i(e)}function Gn(e){return"[object HTMLOptGroupElement]"===i(e)}function Wn(e){return"[object HTMLHtmlElement]"===i(e)}function qn(e){return"[object HTMLBodyElement]"===i(e)}function Kn(e){var e=b.nodeParentNodeGetter.call(e);return"html"===An(e)&&"#document"===(null==(e=b.nodeParentNodeGetter.call(e))?void 0:e.nodeName)}function zn(e){e=i(e);return"[object HTMLHeadElement]"===e||"[object HTMLBodyElement]"===e}function Xn(e){e=i(e);return"[object HTMLHeadElement]"===e||"[object HTMLBodyElement]"===e||"[object HTMLHtmlElement]"===e}function $n(e){return"[object HTMLBaseElement]"===i(e)}function Yn(e){return"[object HTMLScriptElement]"===i(e)}function Qn(e){return"[object HTMLStyleElement]"===i(e)}function Jn(e){return"[object HTMLLabelElement]"===i(e)}function Zn(e){return"[object HTMLTextAreaElement]"===i(e)}function eo(e){return"[object HTMLOptionElement]"===i(e)}function to(e){return"[object HTMLSelectElement]"===i(e)}function ro(e){return"[object HTMLFormElement]"===i(e)}function no(e){return Bn(e)&&"file"===e.type.toLowerCase()}function oo(e){return Bn(e)&&ln.test(e.type.toLowerCase())}function io(e){return qn(e)&&Kn(e)&&b.htmlCollectionLengthGetter.call(b.elementChildrenGetter.call(e))}function so(e){return-1!==Kr.indexOf(i(e))}function ao(e){return!(To(e)||Ao(e)||on.test(e.nodeName))}function lo(e){e=b.getAttribute.call(e,"tabIndex"),e=parseInt(e,10);return isNaN(e)?null:e}function co(e){return Bo(e,":disabled")}function po(e){var t,r,n,o,i;return!(!e||(t=lo(e),r=co(e),n="hidden"===a(e,"visibility"),o="none"===a(e,"display"),i=ke?cn(e)&&!eo(e):cn(e),r)||n||o||i||eo(e)&&S)&&(No(e)?null!==t||Bo(e,"a[href]"):!(!Lo(e)||!S)||Bo(e,'input, select, textarea, button, body, iframe, [contenteditable="true"], [contenteditable=""], [tabIndex]')||null!==t)}function C(e){return!!e[_.shadowUIElement]}function uo(t){try{if(!(t=(S||Ne)&&t&&t===t.window?t.window:t)||!t.toString||zr!==i(t))return!1}catch(e){try{return!!t.top}catch(e){return!1}}try{b.winLocalStorageGetter.call(t)}catch(e){return!1}return!0}function ho(e){if(e instanceof b.documentClass)return!0;try{return e&&Xr.test(i(e))}catch(e){return!1}}function fo(e){return e&&"[object Blob]"===i(e)}function mo(e){if(e)if(S||Le||Oe){var t=e,r=null;try{r=t.__proto__}catch(e){var n=Le||Oe;return t.replace&&(n||!!t.assign)}return!!r&&("[object LocationPrototype]"===(n=b.objectToString.call(r))||"[object Location]"===n)}else return e instanceof b.locationClass||"[object Location]"===b.objectToString.call(e);return!1}function go(e){return e instanceof b.svgElementClass||e&&Yr.test(i(e))}function yo(e){return!!Fo(e,"svg")}function vo(e){return!!(b.Headers&&e instanceof b.Headers)||e&&"[object Headers]"===i(e)}function Eo(e){return!!(b.Request&&e instanceof b.Request)||e&&"[object Request]"===i(e)}function So(e){return e.readOnly||"readonly"===e.getAttribute("readonly")}function _o(e){var t=e.getAttribute("type");return Bn(e)&&t?sn.test(t):sn.test(e.type)}function bo(e){return _o(e)||Zn(e)}function wo(e){return bo(e)&&!So(e)}function xo(e){return e&&e.nodeType===tn}function Co(e){return"[object Text]"===i(e)}function To(e){return $r.test(i(e))}function Ao(e){return"[object Comment]"===i(e)}function Po(e){return"[object DocumentFragment]"===i(e)}function Io(e){return"[object ShadowRoot]"===i(e)}function No(e){return"[object HTMLAnchorElement]"===i(e)}function Oo(e){return"[object HTMLTableElement]"===i(e)}function Lo(e){return i(e)===en}function ko(e){return"[object WebSocket]"===i(e)}function Do(e){return"[object MessageEvent]"===i(e)}function Mo(e){return"[object PerformanceNavigationTiming]"===i(e)}function Ro(e){return e instanceof b.ArrayBuffer||e&&Jr.test(i(e))}function jo(e){return e&&b.arrayBufferIsView(e)}function Ho(e){return e instanceof b.DataView||e&&Zr.test(i(e))}function Bo(e,t){return!!xo(e)&&b.matches.call(e,t)}function Fo(e,t){if(xo(e)){if(b.closest)return b.closest.call(e,t);for(var r=e,n=t;r;){if(Bo(r,n))return r;r=b.nodeParentNodeGetter.call(r)}}return null}function Uo(e,t){if(e)for(var r=0,n=t.split(/\s+/);r{try{return t.top["%hammerhead%"]}catch(e){return!0}})()||t===t.top)return t;if(r===t.top||xn(t,r))return r;try{n=r.frameElement}catch(e){n=null}return null!==n&&Rn(n)?e(r):r},getScrollbarSize:gn,getSelectParent:yn,getSelectVisibleChildren:vn,getTopSameDomainWindow:En,find:Sn,findDocument:_n,isContentEditableElement:bn,isCrossDomainIframe:wn,isCrossDomainWindows:xn,isIframeWindow:Cn,isDomElement:Tn,getTagName:An,SHADOW_ROOT_PARENT_ELEMENT:Pn,getNodeShadowRootParent:In,getParentExceptShadowRoot:Nn,isElementInDocument:On,isElementInIframe:Ln,isHammerheadAttr:kn,isIframeElement:Dn,isFrameElement:Mn,isIframeWithoutSrc:Rn,isIframeWithSrcdoc:jn,isImgElement:Hn,isInputElement:Bn,isTitleElement:Fn,isButtonElement:Un,isFieldSetElement:Vn,isOptGroupElement:Gn,isHtmlElement:Wn,isBodyElement:qn,isPageBody:Kn,isHeadElement:function(e){return"[object HTMLHeadElement]"===i(e)},isHeadOrBodyElement:zn,isHeadOrBodyOrHtmlElement:Xn,isBaseElement:$n,isScriptElement:Yn,isStyleElement:Qn,isLabelElement:Jn,isTextAreaElement:Zn,isOptionElement:eo,isRadioButtonElement:function(e){return Bn(e)&&"radio"===e.type.toLowerCase()},isColorInputElement:function(e){return Bn(e)&&"color"===e.type.toLowerCase()},isCheckboxElement:function(e){return Bn(e)&&"checkbox"===e.type.toLowerCase()},isSelectElement:to,isFormElement:ro,isFileInput:no,isInputWithNativeDialog:oo,isBodyElementWithChildren:io,isMapElement:so,isRenderedNode:ao,getTabIndex:lo,isElementDisabled:co,isElementFocusable:po,isShadowUIElement:C,isWindow:uo,isDocument:ho,isBlob:fo,isLocation:mo,isSVGElement:go,isSVGElementOrChild:yo,isFetchHeaders:vo,isFetchRequest:Eo,isElementReadOnly:So,isTextEditableInput:_o,isTextEditableElement:bo,isTextEditableElementAndEditingAllowed:wo,isElementNode:xo,isTextNode:Co,isProcessingInstructionNode:To,isCommentNode:Ao,isDocumentFragmentNode:Po,isShadowRoot:Io,isAnchorElement:No,isTableElement:Oo,isTableDataCellElement:Lo,isWebSocket:ko,isMessageEvent:Do,isPerformanceNavigationTiming:Mo,isArrayBuffer:Ro,isArrayBufferView:jo,isDataView:Ho,matches:Bo,closest:Fo,addClass:Uo,removeClass:Vo,hasClass:Go,parseDocumentCharset:Wo,getParents:qo,findParent:zo,nodeListToArray:Xo,getFileInputs:$o,getIframes:Yo,getScripts:Qo,isNumberOrEmailInput:Jo,isInputWithoutSelectionProperties:Zo,getAssociatedElement:ei}),t=(e(di,ti=Re),di.prototype.isDeactivated=function(){try{var e;if(this.document.body,this.window[_.hammerhead])return!!(e=fn(this.window))&&!On(e,_n(e))}catch(e){}return!0},di.prototype.attach=function(e,t){this.window=e,this.document=t||e.document},di);function di(){var e=null!==ti&&ti.apply(this,arguments)||this;return e.window=null,e.nativeMethods=b,e.document=null,e}var fi={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportDeclaration:"ExportDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportSpecifier:"ImportSpecifier",ImportDeclaration:"ImportDeclaration",ChainExpression:"ChainExpression",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleDeclaration:"ModuleDeclaration",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},T=fi,c={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Unary:13,Exponentiation:14,Postfix:14,Await:14,Call:15,New:16,TaggedTemplate:17,OptionalChaining:17,Member:18,Primary:19},mi={"||":c.LogicalOR,"&&":c.LogicalAND,"|":c.BitwiseOR,"^":c.BitwiseXOR,"&":c.BitwiseAND,"==":c.Equality,"!=":c.Equality,"===":c.Equality,"!==":c.Equality,is:c.Equality,isnt:c.Equality,"<":c.Relational,">":c.Relational,"<=":c.Relational,">=":c.Relational,in:c.Relational,instanceof:c.Relational,"<<":c.BitwiseSHIFT,">>":c.BitwiseSHIFT,">>>":c.BitwiseSHIFT,"+":c.Additive,"-":c.Additive,"*":c.Multiplicative,"%":c.Multiplicative,"/":c.Multiplicative,"??":c.Coalesce,"**":c.Exponentiation},gi=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],yi=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");function vi(e){return e<128?97<=e&&e<=122||65<=e&&e<=90||48<=e&&e<=57||36===e||95===e||92===e:(e=String.fromCharCode(e),yi.test(e))}function Ei(e){return 10===e||13===e||8232===e||8233===e}function Si(e){return 32===e||9===e||Ei(e)||11===e||12===e||160===e||5760<=e&&0<=gi.indexOf(e)}function _i(e,t){var r="";for(t|=0;0>>=1,e+=e)1&t&&(r+=e);return r}function bi(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function wi(e){for(var t,r,n,o="",i=0,s=0,a=0,l=e.length;a"),e.expression?(m.js+=m.optSpace,"{"===(r=h(t,u.e4)).charAt(0)&&(r="("+r+")"),m.js+=r):(m.js+=Ci(t),Ui[t.type](t,u.s8))}var Pi=(Pi=Array.isArray)||function(e){return"[object Array]"===Object.prototype.toString.call(e)},u={e1:function(e){return{precedence:c.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e2:function(e){return{precedence:c.LogicalOR,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e3:{precedence:c.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!1},e4:{precedence:c.Assignment,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e5:{precedence:c.Sequence,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e6:function(e){return{precedence:c.New,allowIn:!0,allowCall:!1,allowUnparenthesizedNew:e}},e7:{precedence:c.Unary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e8:{precedence:c.Postfix,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e9:{precedence:void 0,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e10:{precedence:c.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e11:function(e){return{precedence:c.Call,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!1}},e12:{precedence:c.Primary,allowIn:!1,allowCall:!1,allowUnparenthesizedNew:!0},e13:{precedence:c.Primary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e14:{precedence:c.Sequence,allowIn:!1,allowCall:!0,allowUnparenthesizedNew:!0},e15:function(e){return{precedence:c.Sequence,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!0}},e16:function(e,t){return{precedence:e,allowIn:t,allowCall:!0,allowUnparenthesizedNew:!0}},e17:function(e){return{precedence:c.Call,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e18:function(e){return{precedence:c.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e19:{precedence:c.Sequence,allowIn:!0,allowCall:!0,semicolonOptional:!1},e20:{precedence:c.Await,allowCall:!0},s1:function(e,t){return{allowIn:!0,functionBody:!1,directiveContext:e,semicolonOptional:t}},s2:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!0},s3:function(e){return{allowIn:e,functionBody:!1,directiveContext:!1,semicolonOptional:!1}},s4:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:e}},s5:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!0,semicolonOptional:e}},s6:{allowIn:!1,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s7:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s8:{allowIn:!0,functionBody:!0,directiveContext:!1,semicolonOptional:!1}},Ii=/[.eExX]|^0[0-9]+/,Ni=/[0-9]$/;function Oi(e,t){var r=e.operator,n=mi[e.operator],o=n",o),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",o),backQuote:new r("`",i),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("/<=/>=",7),bitShift:n("<>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:a("break"),_case:a("case",o),_catch:a("catch"),_continue:a("continue"),_debugger:a("debugger"),_default:a("default",o),_do:a("do",{isLoop:!0,beforeExpr:!0}),_else:a("else",o),_finally:a("finally"),_for:a("for",{isLoop:!0}),_function:a("function",i),_if:a("if"),_return:a("return",o),_switch:a("switch"),_throw:a("throw",o),_try:a("try"),_var:a("var"),_const:a("const"),_while:a("while",{isLoop:!0}),_with:a("with"),_new:a("new",{beforeExpr:!0,startsExpr:!0}),_this:a("this",i),_super:a("super",i),_class:a("class",i),_extends:a("extends",o),_export:a("export"),_import:a("import",i),_null:a("null",i),_true:a("true",i),_false:a("false",i),_in:a("in",{beforeExpr:!0,binop:7}),_instanceof:a("instanceof",{beforeExpr:!0,binop:7}),_typeof:a("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:a("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:a("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};t.types=o}),l=H(function(e,t){t.__esModule=!0,t.isNewLine=i,t.lineBreakG=t.lineBreak=void 0,t.nextLineBreak=function(e,t,r){void 0===r&&(r=e.length);for(var n=t;n=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Da(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Va(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r>10),56320+(1023&e)))}function l(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function c(e){return 65<=e&&e<=90||97<=e&&e<=122}function p(e){return c(e)||95===e}function u(e){return 48<=e&&e<=57}function h(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function d(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function f(e){return 48<=e&&e<=55}s.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=n&&6<=this.parser.options.ecmaVersion,this.switchN=n&&9<=this.parser.options.ecmaVersion},s.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},s.prototype.at=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return o<=e?-1:(r=n.charCodeAt(e),!(!t&&!this.switchU||r<=55295||57344<=r||o<=e+1)&&56320<=(t=n.charCodeAt(e+1))&&t<=57343?(r<<10)+t-56613888:r)},s.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return o<=e?o:(r=n.charCodeAt(e),!t&&!this.switchU||r<=55295||57344<=r||o<=e+1||(t=n.charCodeAt(e+1))<56320||57343>10),56320+(1023&e)))}t.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 r(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},t.getToken=function(){return this.next(),new r(this)},"undefined"!=typeof Symbol&&(t[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===E.types.eof,value:e}}}}),t.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(E.types.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},t.readToken=function(e){return(0,Ta.isIdentifierStart)(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},t.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||56320<=t||(e=this.input.charCodeAt(this.pos+1))<=56319||57344<=e?t:(t<<10)+e-56613888},t.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n,o=t;-1<(n=(0,l.nextLineBreak)(this.input,o,this.pos));)++this.curLine,o=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},t.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(l.lineBreak.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var o=this.input.slice(r,this.pos),i=(++this.pos,this.pos),s=this.readWord1(),i=(this.containsEsc&&this.unexpected(i),this.regexpState||(this.regexpState=new Ya.RegExpValidationState(this))),i=(i.reset(r,o,s),this.validateRegExpFlags(i),this.validateRegExpPattern(i),null);try{i=new RegExp(o,s)}catch(e){}return this.finishToken(E.types.regexp,{pattern:o,flags:s,value:i})},t.readInt=function(e,t,r){for(var n=12<=this.options.ecmaVersion&&void 0===t,o=r&&48===this.input.charCodeAt(this.pos),r=this.pos,i=0,s=0,a=0,l=null==t?1/0:t;a=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):((0,l.isNewLine)(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(E.types.string,t)};var n={};t.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==n)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},t.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw n;this.raise(e,t)},t.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==E.types.template&&this.type!==E.types.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(E.types.template,e)):36===r?(this.pos+=2,this.finishToken(E.types.dollarBraceL)):(++this.pos,this.finishToken(E.types.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if((0,l.isNewLine)(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},t.readInvalidTemplateToken=function(){for(;this.pos(\s)*$/,jl=/(\/\/[^\n]*|\n\s*)-->[^\n]*([\n\s]*)?$/,Hl=/^(\s)*\s*$/,Fl=/^\s*javascript\s*:/i,Ul=/^\s*(application\/(x-)?(ecma|java)script|text\/(javascript(1\.[0-5])?|((x-)?ecma|x-java|js|live)script)|module)\s*$/i,Vl=["animate","animateColor","animateMotion","animateTransform","mpath","set","linearGradient","radialGradient","stop","a","altglyph","color-profile","cursor","feimage","filter","font-face-uri","glyphref","image","mpath","pattern","script","textpath","use","tref"],Gl=["script","link"],Wl=["a","form","area","input","button"],ql="modulepreload",Kl="hammerhead|element-processed",zl="hammerhead|autocomplete-attribute-absence-marker",P=(I.isTagWithTargetAttr=function(e){return!!e&&-1":a)))},I.prototype._processStyleAttr=function(e,t){var r=this.adapter.getAttr(e,"style");r&&this.adapter.setAttr(e,"style",Pl.process(r,t,!1))},I.prototype._processStylesheetElement=function(e,t){var r=this.adapter.getStyleContent(e);r&&t&&this.adapter.needToProcessContent(e)&&(r=Pl.process(r,t,!0),this.adapter.setStyleContent(e,r))},I.prototype._processTargetBlank=function(e,t,r){var n,o;this.allowMultipleWindows||!r.targetAttr||(n=I.getStoredAttrName(r.targetAttr),this.adapter.hasAttr(e,n))||"_blank"===(o=(o=this.adapter.getAttr(e,r.targetAttr))&&o.replace(/\s/g,""))&&(this.adapter.setAttr(e,r.targetAttr,"_top"),this.adapter.setAttr(e,n,o))},I.prototype._processUrlAttrs=function(e,t,r){var n,o,i,s,a,l,c,p,u,h,d,f,m,g;r.urlAttr&&(n=I.getStoredAttrName(r.urlAttr),i=!!(o=this.adapter.getAttr(e,r.urlAttr))&&xt(o),s=this.adapter.hasAttr(e,n),!o&&""!==o||s||!vt(o)&&!i||(a="iframe"===(s=this.adapter.getTagName(e))||"frame"===s,u="script"===s,l="a"===s,c=r.targetAttr?this.adapter.getAttr(e,r.targetAttr):null,this.adapter.needToProcessUrl(s,c||"")&&(c=this.getElementResourceType(e)||"",p="file:"!==(p=yt(o)).protocol&&!p.host,u=u&&this.adapter.getAttr(e,"charset")||"",h="img"===s&&""===o,d=a&&""===o,f=mt(t("/")),m=!1,g=o,a&&!i&&!p&&f&&(m=!this.adapter.sameOriginCheck(f.destUrl,o)),i&&!l||h||d||(g="img"!==s||this.forceProxySrcForImage?t(o,c,u,m):Et(o,t)),this.adapter.setAttr(e,n,o),this.adapter.setAttr(e,r.urlAttr,g))))},I.prototype._processSrcdocAttr=function(e){var t=I.getStoredAttrName("srcdoc"),r=this.adapter.getAttr(e,"srcdoc")||"",n=this.adapter.processSrcdocAttr(r);this.adapter.setAttr(e,t,r),this.adapter.setAttr(e,"srcdoc",n)},I.prototype._processUrlJsAttr=function(e,t,r){r.urlAttr&&I.isJsProtocol(this.adapter.getAttr(e,r.urlAttr)||"")&&this._processJsAttr(e,r.urlAttr,{isJsProtocol:!0,isEventAttr:!1})},I.prototype._processSVGXLinkHrefAttr=function(e,t,r){var n;r.urlAttr&&(n=this.adapter.getAttr(e,r.urlAttr)||"",Qe.test(n))&&(r=I.getStoredAttrName(r.urlAttr),this.adapter.setAttr(e,r,n))},I);function I(e){this.adapter=e,this.HTML_PROCESSING_REQUIRED_EVENT="hammerhead|event|html-processing-required",this.SVG_XLINK_HREF_TAGS=Vl,this.AUTOCOMPLETE_ATTRIBUTE_ABSENCE_MARKER=zl,this.PROCESSED_PRELOAD_LINK_CONTENT_TYPE="script",this.MODULE_PRELOAD_LINK_REL=ql,this.forceProxySrcForImage=!1,this.allowMultipleWindows=!1,this.EVENTS=this.adapter.EVENTS,this.elementProcessorPatterns=this._createProcessorPatterns(this.adapter)}var Xl=new WeakMap;function $l(e,t,r,n){e=de(e,r,{value:n});b.objectDefineProperty(t,r,e)}(Ss=function(){}).prototype=DOMStringList.prototype,e(Jl,Yl=Ss),Jl.prototype.item=function(e){return this[e]},Jl.prototype.contains=function(e){"string"!=typeof e&&(e=String(e));for(var t=Xl.get(this)||0,r=0;r{try{return s["%hammerhead%"]}catch(e){return!0}})();$l(i,a,t.toString(),r?"":e.origin),r&&n&&n(s,function(e){return $l(i,o,t,e)}),s=s.parent}(r);return o}var Zl=Number.MAX_SAFE_INTEGER||9007199254740991,ec=Number.MIN_SAFE_INTEGER||-9007199254740991,tc=(rc.prototype.increment=function(){return this._id=this._id===Zl?ec:this._id+1,this._id},Object.defineProperty(rc.prototype,"value",{get:function(){return this._id},enumerable:!0,configurable:!0}),rc);function rc(){this._id=ec}var nc="hammerhead|command|get-origin",oc="hammerhead|command|origin-received";function ic(e){try{return e.location.toString()}catch(e){}}(_s=function(){}).prototype=Location.prototype,e(lc,sc=_s);var sc,ac=lc;function lc(i,n,o){function e(){var e,t;return Cn(i)&&i.location.href===tt?tt:(e=Bt(),t=kt.getResolverElement(i.document),b.anchorHrefSetter.call(t,e),wt(b.anchorHrefGetter.call(t),e))}function r(e){var t,r,n,o;return e=It(e="string"!=typeof e?String(e):e),P.isJsProtocol(e)?P.processJsAttrValue(e,{isJsProtocol:!0,isEventAttr:!1}):(t=ic(i),n=null,i!==i.parent&&(o=ic(i.parent),r=x(o))&&r.proxy&&(r=r.proxy.port,n=ut(o,e)?r:Qt(r)),o=t&&cr(t,e),w(e,{resourceType:o?u:m,proxyPort:n}))}function t(t,r){f[t]=de(d,t,{getter:function(){var e=fn(i);return(e&&Rn(e)?i.location:Ut())[t]},setter:function(e){var t=nr(i.location.toString(),r,e,m);return i.location=t,o(t),e}})}var s,a,l,c=sc.call(this)||this,p=x(ic(i)),u=p?p.resourceType:"",p=ar(u),h=b.objectHasOwnProperty.call(i.Location.prototype,"href"),d=h?i.Location.prototype:i.location,f={},m=(p.isIframe=p.isIframe||Cn(i),lt({isIframe:p.isIframe,isForm:p.isForm}));f.href=de(d,"href",{getter:e,setter:function(e){var t=r(e);return i.location.href=t,o(t),e}}),f.search=de(d,"search",{getter:function(){return new URL(Bt()).search},setter:function(e){var t=new URL(Bt());return t.search=e,i.location=tr(t.href),e}}),f.origin=de(d,"origin",{getter:function(){return ft(Ut())},setter:function(e){return e}}),f.hash=de(d,"hash",{getter:function(){return new URL(Bt()).hash},setter:function(e){var t=new URL(Bt());return t.hash=e,i.location.hash=new URL(tr(t.href)).hash,e}}),i.location.ancestorOrigins&&(s=b.objectCreate(null),a=new tc,n&&n.on(n.SERVICE_MSG_RECEIVED_EVENT,function(e){var t=e.message;t.cmd===nc?n.sendServiceMsg({id:t.id,cmd:oc,origin:c.origin},e.source):t.cmd===oc&&(e=s[t.id])&&e(t.origin)}),l=new Ql(i,n?function(e,t){var r=a.increment();s[r]=t,n.sendServiceMsg({id:r,cmd:nc},e)}:void 0),f.ancestorOrigins=de(d,"ancestorOrigins",{getter:function(){return l}}));if(t("port",b.anchorPortSetter),t("host",b.anchorHostSetter),t("hostname",b.anchorHostnameSetter),t("pathname",b.anchorPathnameSetter),t("protocol",b.anchorProtocolSetter),f.assign=de(d,"assign",{value:function(e){var e=r(e),t=i.location.assign(e);return o(e),t}}),f.replace=de(d,"replace",{value:function(e){var e=r(e),t=i.location.replace(e);return o(e),t}}),f.reload=de(d,"reload",{value:function(e){e=i.location.reload(e);return o(i.location.toString()),e}}),f.toString=de(d,"toString",{value:e}),!h&&b.objectHasOwnProperty.call(i.location,"valueOf")&&(f.valueOf=de(d,"valueOf",{value:function(){return c}})),b.objectDefineProperties(c,f),!Ae)for(var p=b.objectKeys(Location.prototype),g=c,y=function(e,t){var r;"function"==typeof e[t]&&(r=e[t],e[t]=function(){var e=this===g?i.location:this;return r.apply(e,arguments)})},v=0,E=p;v\n (function () {\n var currentScript = document.currentScript;\n\n /* NOTE: IE11 doesn't support the 'currentScript' property */\n if (!currentScript) {\n var scripts = document.scripts;\n var scriptsLength = scripts.length;\n\n currentScript = scripts[scriptsLength - 1];\n }\n\n currentScript.parentNode.removeChild(currentScript);\n\n "+e+"\n })();\n <\/script>\n ").replace(/\n\s*|\/\*[\S\s]*?\*\//g,"")}var wc,xc={iframeInit:bc('\n var parentHammerhead = null;\n\n if (!window["'+_.hammerhead+'"])\n Object.defineProperty(window, "'+_.documentWasCleaned+'", { value: true, configurable: true });\n\n try {\n parentHammerhead = window.parent["'+_.hammerhead+'"];\n } catch(e) {}\n\n if (parentHammerhead)\n parentHammerhead.sandbox.onIframeDocumentRecreated(window.frameElement);\n '),onWindowRecreation:bc('\n var hammerhead = window["'+_.hammerhead+'"];\n var sandbox = hammerhead && hammerhead.sandbox;\n\n if (!sandbox) {\n try {\n sandbox = window.parent["'+_.hammerhead+'"].sandboxUtils.backup.get(window);\n } catch(e) {}\n }\n\n if (sandbox) {\n Object.defineProperty(window, "'+_.documentWasCleaned+'", { value: true, configurable: true });\n\n sandbox.node.mutation.onDocumentCleaned(window, document);\n\n /* NOTE: B234357 */\n sandbox.node.processNodes(null, document);\n }\n '),onBodyCreated:bc('\n if (window["'+_.hammerhead+'"])\n window["'+_.hammerhead+'"].sandbox.node.raiseBodyCreatedEvent();\n '),onOriginFirstTitleLoaded:bc('\n window["'+_.hammerhead+'"].sandbox.node.onOriginFirstTitleElementInHeadLoaded();\n '),restoreStorages:bc('\n window.localStorage.setItem("%s", %s);\n window.sessionStorage.setItem("%s", %s);\n ')},Cc=((bs=wc=wc||{}).beforeBegin="beforebegin",bs.afterBegin="afterbegin",bs.beforeEnd="beforeend",bs.afterEnd="afterend",wc);function Tc(e){var t=b.nodeParentNodeGetter.call(e);t&&b.removeChild.call(t,e)}var Ac="hh_fake_doctype",Pc=(xs="hh_fake_tag_name_")+"head",Ic=xs+"body",Cs="hh_fake_attr",Nc=new RegExp("(<\\/?)"+xs,"ig"),Oc=/(<\/?)(html|head|body|table|tbody|tfoot|thead|tr|td|th|caption|colgroup)((?:\s[^>]*)?>)/gi,Lc="$1"+xs+"$2$3",kc=/<(\/?(?:col|noscript))(\s[^>]*?)?(\s?\/)?>/gi,Dc="
',Mc=new RegExp("]*?) "+Cs+'="([^|]+)\\|([^"]*)"([^>]*)',"ig"),Rc=/]*)>/gi,jc="<"+Ac+">$1",Hc=new RegExp("<"+Ac+">([\\S\\s]*?)","ig"),Bc=/]*>/gi,Fc=/\s(?:NS[0-9]+:[^"']+('|")[\S\s]*?\1|[^:]+:NS[0-9]+=(?:""|''))/g,Uc=function(){for(var e=[],t=0,r=fl;t").replace(Mc,"<$2$1$4$3").replace(Nc,"$1")}function Xc(e){return/^\s*(<\s*(!doctype|html|head|body)[^>]*>)/i.test(e)}function $c(e,t){var n,o,r=b.createElement.call(function(){try{qc.location&&qc.location.toString()}catch(e){qc=b.createHTMLDocument.call(document.implementation,"title"),(Kc=b.createDocumentFragment.call(qc))[Wc]=!0}return qc}(),"div"),t=(e=e.replace(Rc,jc).replace(kc,Dc).replace(Oc,Lc),b.appendChild.call(Kc,r),b.elementInnerHTMLSetter.call(r,e),t(r)?b.elementInnerHTMLGetter.call(r):e);return Tc(r),t=zc(t),S&&!Ne&&e!==t&&(r=t,n=e.match(Bc),o=0,t=n?r.replace(Bc,function(e){var t=n[o],r=t?t.match(Fc):null;return t&&o++,t?e.replace(Fc,function(){var e=r?r.join(""):"";return r=r&&null,e}):e}):r),t}function Yc(e){return $c(e,function(e){var i=!1;return Sn(e,Uc,function(e){var t,r,n,o;o=e,(r=N.getUrlAttr(o))&&b.hasAttribute.call(o,r)&&(t=P.getStoredAttrName(r),b.hasAttribute.call(o,t))&&(b.setAttribute.call(o,r,b.getAttribute.call(o,t)),b.removeAttribute.call(o,t)),r=e,b.hasAttribute.call(r,"autocomplete")&&(o=P.getStoredAttrName("autocomplete"),b.hasAttribute.call(r,o))&&(t=b.getAttribute.call(r,o),P.isAddedAutocompleteAttr("autocomplete",t)?b.removeAttribute.call(r,"autocomplete"):b.setAttribute.call(r,"autocomplete",t),b.removeAttribute.call(r,o)),r=e,(o=N.getTargetAttr(r))&&b.hasAttribute.call(r,o)&&(n=P.getStoredAttrName(o),b.hasAttribute.call(r,n))&&(b.setAttribute.call(r,o,b.getAttribute.call(r,n)),b.removeAttribute.call(r,n)),o=e,"iframe"===N.adapter.getTagName(o)&&b.hasAttribute.call(o,"sandbox")&&(r=P.getStoredAttrName("sandbox"),b.hasAttribute.call(o,r))&&(b.setAttribute.call(o,"sandbox",b.getAttribute.call(o,r)),b.removeAttribute.call(o,r)),n=e,b.hasAttribute.call(n,"style")&&(o=P.getStoredAttrName("style"),b.hasAttribute.call(n,o))&&(b.setAttribute.call(n,"style",b.getAttribute.call(n,o)),b.removeAttribute.call(n,o)),i=!0}),Sn(e,Vc,function(e){var t=b.nodeParentNodeGetter.call(e);t&&(b.removeChild.call(t,e),i=!0)}),Sn(e,"script",function(e){var t=b.nodeTextContentGetter.call(e),r=ba(t);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Sn(e,"style",function(e){var t=b.nodeTextContentGetter.call(e),r=Pl.cleanUp(t,x);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Sn(e,Gc,function(e){b.removeAttribute.call(e,s.hoverPseudoClass),b.removeAttribute.call(e,s.focusPseudoClass),i=!0}),Sn(e,"hh_fake_tag_name_head, hh_fake_tag_name_body",function(e){var t=b.elementInnerHTMLGetter.call(e);-1!==t.indexOf(xc.iframeInit)&&(b.elementInnerHTMLSetter.call(e,t.replace(xc.iframeInit,"")),i=!0)}),i})}function Qc(e,t){var f=(t=void 0===t?{}:t).parentTag,m=t.prepareDom,g=t.processedContext,y=t.isPage;return $c(e,function(e){var t=null,r=[],n=[],o=0,i=kt.getBaseUrl(document),s=(m&&m(e),b.htmlCollectionLengthGetter.call(b.elementChildrenGetter.call(e))&&(n=b.elementQuerySelectorAll.call(e,"*"),o=b.nodeListLengthGetter.call(n)),b.elementQuerySelector.call(e,"base"));s&&kt.updateBase(b.getAttribute.call(s,"href"),document);for(var a=0;a",op="<"+rp+">",ip=new RegExp("^[\\S\\s]*"+np,"g"),sp=new RegExp(op+"[\\S\\s]*$","g"),ap=/^<[^>]+>/g,lp=/<\/[^<>]+>$/g,cp=/<\/?(?:[A-Za-z][^>]*)?$/g,pp="hammerhead|unclosed-element-flag",up=(hp.prototype._cutPending=function(e){var t=e.match(cp);return this.pending=t?t[0]:"",this.pending?e.substring(0,e.length-this.pending.length):e},hp.prototype._wrapHtmlChunk=function(e){var t=this.parentTagChain.length?"<"+this.parentTagChain.join("><")+">":"";return this.isNonClosedComment&&(t+="\x3c!--"),t+np+e+op},hp.prototype._unwrapHtmlChunk=function(e){return e&&(e=e.replace(ip,"").replace(sp,""),this.isBeginMarkerInDOM||(e=this.isNonClosedComment?e.slice(4):e.replace(ap,"")),this.isEndMarkerInDOM||(e=this.isNonClosedComment?e.slice(0,-3):e.replace(lp,"")),!this.isBeginMarkerInDOM)&&this.isEndMarkerInDOM&&(this.isNonClosedComment=!1),e},hp._setUnclosedElementFlag=function(e){(Yn(e)||Qn(e))&&(e[pp]=!0)},hp.hasUnclosedElementFlag=function(e){return!!e[pp]},hp._searchBeginMarker=function(e){var t=b.elementQuerySelector.call(e,tp);if(!t){for(t=e;b.elementFirstElementChildGetter.call(t);)t=b.elementFirstElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeFirstChildGetter.call(e)!==t?t=b.nodeFirstChildGetter.call(e):Ao(b.nodeFirstChildGetter.call(t))&&(t=b.nodeFirstChildGetter.call(t))}return t},hp._searchEndMarker=function(e){var t=b.elementQuerySelector.call(e,rp);if(!t){for(t=e;b.elementLastElementChildGetter.call(t);)t=b.elementLastElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeLastChildGetter.call(e)!==t?t=b.nodeLastChildGetter.call(e):Ao(b.nodeLastChildGetter.call(t))&&(t=b.nodeLastChildGetter.call(t))}return t},hp.prototype._updateParentTagChain=function(e,t){var r=An(t)!==rp?t:b.nodeParentNodeGetter.call(t);for(Ao(t)&&(this.isNonClosedComment=!0,r=b.nodeParentNodeGetter.call(t)),this.parentTagChain=[];r!==e;)this.parentTagChain.unshift(An(r)),r=b.nodeParentNodeGetter.call(r)},hp.prototype._processBeginMarkerInContent=function(e){var t=e,r=(hp._setUnclosedElementFlag(t),this.isClosingContentEl&&(Yn(t)||Qn(t))?(this.contentForProcessing=b.nodeTextContentGetter.call(this.nonClosedEl)+b.nodeTextContentGetter.call(t).replace(ip,""),b.nodeTextContentSetter.call(t,"")):(r=b.nodeTextContentGetter.call(t),b.nodeTextContentSetter.call(t,r.replace(ip,""))),e=b.createElement.call(document,tp),b.nodeParentNodeGetter.call(t));b.insertBefore.call(r,e,t)},hp._createStartsWithClosingTagRegExp=function(e){for(var t=[e.charAt(e.length-1),"?"],r=e.length-2;-1i.right?n[o]:i.right;for(o=3;oi.bottom?n[o]:i.bottom;i.height=i.bottom-i.top,i.width=i.right-i.left}}return i&&(e=Cu(t),i.left+=e.left,i.top+=e.top),i}(e,t);if(e)return e}}return{height:0,left:0,top:0,width:0}}function Su(e){var t,r,n=Bo(e,"tspan")||Bo(e,"tref")||"textpath"===An(e),o=e.getBoundingClientRect(),i={height:n?e.offsetHeight:o.height,left:o.left+(document.body.scrollLeft||document.documentElement.scrollLeft),top:o.top+(document.body.scrollTop||document.documentElement.scrollTop),width:n?e.offsetWidth:o.width};return n?(n=Br(e),t=Fr(e),r=Fr(n),n=Bo(n,"body"),{height:i.height||o.height,left:n?e.offsetLeft||t.left:r.left+e.offsetLeft,top:n?e.offsetTop||t.top:r.top+e.offsetTop,width:i.width||o.width}):(Ie||S||((n=(n=b.getAttribute.call(e,"stroke-width")||a(e,"stroke-width"))?+n.replace(/px|em|ex|pt|pc|cm|mm|in/,""):1)&&+n%2!=0&&(n=+n+1),!(Bo(e,"line")||Bo(e,"polyline")||Bo(e,"polygon")||Bo(e,"path"))||i.width&&i.height?(Bo(e,"polygon")&&(i.height+=2*n,i.left-=n,i.top-=n,i.width+=2*n),i.height+=n,i.left-=n/2,i.top-=n/2,i.width+=n):!i.width&&i.height?(i.left-=n/2,i.width=n):i.width&&!i.height&&(i.height=n,i.top-=n/2)),i)}function _u(e){var t,r,n,o,i,s,a,l={};return(l=so(e)?Eu(e):Dr(e)?(a=yn(t=e))?(r=_u(a),n=Tr(a),o=Or(a)===a.clientWidth?0:gn(),i=Lr(a),s=un(a,t),s=Math.max(s-Rr(a)/i,0),{height:i,left:r.left+n.left,top:r.top+n.top+Pr(a).top+s*i,width:r.width-(n.left+n.right)-o}):_u(t):(a=Cu(e),{height:(s=yo(e)?Su(e):e.getBoundingClientRect()).height,left:a.left,top:a.top,width:s.width})).height=Math.round(l.height),l.left=Math.round(l.left),l.top=Math.round(l.top),l.width=Math.round(l.width),l}function bu(e,t,r){var n,o;return"iframe"===An(e)&&(n=_u(e),o=Tr(e),e=Pr(e),n.left+o.left+e.left<=t)&&t<=n.left+n.width-o.right-e.right&&n.top+o.top+e.top<=r&&r<=n.top+n.height-o.bottom-e.bottom}function wu(e,t,r){var n=yo(e),e=n?Su(e):null;return{left:n?e.left+t.left:r.left+t.left,top:n?e.top+t.top:r.top+t.top}}function xu(e,t,r,n,o){var i=Tr(o),i=(t.left+=i.left,t.top+=i.top,Cu(o)),o=Pr(o),s=null;return s=yo(e)?{x:(e=Su(e)).left-(document.body.scrollLeft||document.documentElement.scrollLeft)+t.left,y:e.top-(document.body.scrollTop||document.documentElement.scrollTop)+t.top}:Tu({x:r.left+t.left,y:r.top+t.top},n),{left:i.left+s.x+o.left,top:i.top+s.y+o.top}}function Cu(e,t){var r,n,o,i;return void 0===t&&(t=Math.round),so(e)?{left:(r=Eu(e)).left,top:r.top}:(n=(o=Ln(e,r=_n(e)))?hn(r):null,i=Fr(r===e?r.documentElement:e),e=(o=(o&&n?xu:wu)(e,r.body?Tr(r.body):{left:0,top:0},i,r,n)).left,i=o.top,"function"==typeof t&&(e=t(e),i=t(i)),{left:e,top:i})}function Tu(e,t){var t=t||document,r=Mr(t),n=Rr(t),o=Mr(t.body),t=Rr(t.body);return{x:e.x-(0===r&&0!==o?o:r),y:e.y-(0===n&&0!==t?t:n)}}var Au,Pu=Object.freeze({__proto__:null,getElementRectangle:_u,shouldIgnoreEventInsideIframe:bu,getOffsetPosition:Cu,offsetToClientCoords:Tu}),Iu=["button","fieldset","form","iframe","input","map","meta","object","output","param","select","textarea"],Nu=0,Ou=((Ps=function(){}).prototype=HTMLCollection.prototype,e(Lu,Au=Ps),Lu.prototype.item=function(e){return this._refreshCollection(),this._filteredCollection[e]},Object.defineProperty(Lu.prototype,"length",{get:function(){return this._refreshCollection(),this._filteredCollection.length},enumerable:!0,configurable:!0}),Lu.prototype._refreshCollection=function(){var e=this._lastNativeLength,t=b.htmlCollectionLengthGetter.call(this._collection);if(this._lastNativeLength=t,Jp.isOutdated(this._tagName,this._version)||!Jp.isDomContentLoaded()&&e!==t){var e=this._filteredCollection.length,t=function(e,t){for(var r=e._collection,n=e._namedProps?[]:null,o=e._filteredCollection,i=o.length=0;i"+t+"",{processedContext:e}):t},configurable:!0}),b.objectDefineProperty(r,v.getProxyUrl,{value:function(e,t){var r=kt.getBaseUrl(o.document),n=t&&t!==r,t=(n&&kt.updateBase(t,o.document),w(e,{resourceType:lt({isScript:!0})}));return n&&kt.updateBase(r,o.document),t},configurable:!0}),b.objectDefineProperty(r,v.restArray,{value:function(e,t){return b.arraySlice.call(e,t)},configurable:!0}),b.objectDefineProperty(r,v.arrayFrom,{value:function(e){return e&&(!b.isArray.call(b.Array,e)&&"function"==typeof e[Symbol.iterator]?b.arrayFrom.call(b.Array,e):e)},configurable:!0}),b.objectDefineProperty(r,v.restObject,{value:function(e,t){for(var r={},n=0,o=b.objectKeys(e);ns[u].lastAccessed&&(p=s[c],s[c]=s[u],s[u]=p),a.push(s[c]);break}u===s.length&&l.push(s[c])}return{outdated:a,actual:l}}function id(e){e.syncKey=e.syncKey||nd(e),e.cookieStr=e.cookieStr||e.syncKey+"="+e.value}function sd(e){return e.cookieStr?e.cookieStr+";path=/":nd(e)+"="+e.value+";path=/"}function ad(e){var t=Zh.exec(e)||[],r=t[1],t=t[2],n=void 0!==r&&void 0!==t&&r.split("|");return n&&n.length!==Jh?null:{isServerSync:-1t.length&&0===e.indexOf(t)&&("/"===t.charAt(t.length-1)||"/"===e.charAt(t.length))}function Cd(e){if(arguments.length){if(isNaN(e))return null}else e=b.dateNow();return e=1e3*Math.floor(e/1e3),new b.date(e)}var Td,Ad=Object.freeze({__proto__:null,parse:Sd,formatClientString:_d,setDefaultValues:bd,domainMatch:wd,pathMatch:xd,getUTCDate:Cd}),Pd=new b.date(0).toUTCString(),Id=(e(Nd,Td=t),Nd._removeAllSyncCookie=function(){for(var e=od(b.documentCookieGetter.call(document)),t=g.get().sessionId,r=0,n=e.outdated;r{try{return window.top["%hammerhead%"]}catch(e){return!0}})()||window===window.top?(this._transportWorker=new b.Worker(g.get().transportWorkerUrl,{name:"Transport"}),this._transportWorker.postMessage({cmd:"hammerhead|transport|set-initial-worker-settings",sessionId:g.get().sessionId,serviceMsgUrl:g.get().serviceMsgUrl}),this._transportWorker.addEventListener("message",function(e){return i._onWorkerMessage(e)}),this._processQueue()):o.sendServiceMsg({cmd:Xm},window.top),o.on(o.SERVICE_MSG_RECEIVED_EVENT,function(e){var t,r=e.message,n=e.source,e=e.ports;r.cmd===Xm?(t=new b.MessageChannel,o.sendServiceMsg({cmd:$m},n,[t.port1]),i._transportWorker.postMessage({cmd:"hammerhead|transport|handle-port"},[t.port2])):r.cmd===$m&&(i._transportWorker=e[0],i._transportWorker.onmessage=function(e){return i._onWorkerMessage(e)},i._processQueue())})},Qm.prototype._processQueue=function(){for(var e=0,t=this._queue;e(e%t+t)%t,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~-",e="_rhs";class d{constructor(e=function(){let e="";for(var t=i.split("");0(e||"").replace(/^((?:[a-z0-9]+:\/\/[^/]+)?(?:\/[^/]+\/))([^]+)/i,function(e,t,r){return t+n(r)}),o=new d(l);s=location.href,l=n(location.href,e=>o.shuffle(e));s!==l&&history.replaceState(null,null,l);let r=y.utils.url.getProxyUrl,t=y.utils.url.parseProxyUrl;function c(e){return e.replace(/(^.*?:\/)\//,"$1")}function u(e){return e.replace(/^.*?:\/(?!\/)/,"$&/")}y.utils.url.overrideGetProxyUrl(function(e,t){return v?r(e,t):n(r(e,t),e=>c(o.shuffle(e)))}),y.utils.url.overrideParseProxyUrl(function(e){return t(n(e,e=>o.unshuffle(u(e))))}),window.overrideGetProxyUrl(r=>function(e,t){return v?r(e,t):n(r(e,t),e=>c(o.shuffle(e)))}),window.overrideParseProxyUrl(t=>function(e){return t(n(e,e=>o.unshuffle(u(e))))})}}else console.warn("cannot get session id from url")}function r(){{let r=location.port||("https:"===location.protocol?"443":"80"),n=y.utils.url.getProxyUrl;y.utils.url.overrideGetProxyUrl(function(e,t={}){return t.proxyPort||(t.proxyPort=r),n(e,t)}),window.overrideParseProxyUrl(t=>function(e){e=t(e);return e&&e.proxy&&(e.proxy.port||(e.proxy.port=r)),e})}{let e={HTMLAnchorElement:["href"],HTMLAreaElement:["href"],HTMLBaseElement:["href"],HTMLEmbedElement:["src"],HTMLFormElement:["action"],HTMLFrameElement:["src"],HTMLIFrameElement:["src"],HTMLImageElement:["src"],HTMLInputElement:["src"],HTMLLinkElement:["href"],HTMLMediaElement:["src"],HTMLModElement:["cite"],HTMLObjectElement:["data"],HTMLQuoteElement:["cite"],HTMLScriptElement:["src"],HTMLSourceElement:["src"],HTMLTrackElement:["src"]};for(var r in e)for(var n of e[r])if(window[r]){var o=Object.getOwnPropertyDescriptor(window[r].prototype,n);let t=o.get;if(o.get=function(){return e=t.call(this),(y.utils.url.parseProxyUrl(e)||{}).destUrl||e;var e},"action"===n){let r=o.set;o.set=function(e){v=!0;try{var t=r.call(this,e)}catch(e){throw v=!1,e}return v=!1,t}}Object.defineProperty(window[r].prototype,n,o)}else console.warn("unexpected unsupported element class "+r)}{let t=`rammerhead|storage-wrapper|${y.settings._settings.sessionId}|${window.__get$(window,"location").host}|`,i=(e="")=>t+e,s=(e="")=>e.startsWith(t)?e.slice(t.length):null,e=(e,o)=>{let a=["internal","clear","key","getItem","setItem","removeItem","length"];Object.defineProperty(window,e,{configurable:!0,writable:!0,value:new Proxy(window[e],{get(e,t,r){if(a.includes(t)&&"length"!==t)return Reflect.get(e,t,r);if("length"!==t)return o[i(t)];{let e=0;for(var[n]of Object.entries(o))s(n)&&e++;return e}},set(e,t,r){return a.includes(t)||(o[i(t)]=r),!0},deleteProperty(e,t){return delete o[i(t)],!0},has(e,t){return i(t)in o||t in e},ownKeys(){var e,t=[];for([e]of Object.entries(o)){var r=s(e);r&&!a.includes(r)&&t.push(r)}return t},getOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(o,i(t))},defineProperty(e,t,r){return a.includes(t)||Object.defineProperty(o,i(t),r),!0}})})},r=(e,n)=>{Storage.prototype[e]=new Proxy(Storage.prototype[e],{apply(e,t,r){return n.apply(t,r)}})};e("localStorage",y.storages.localStorageProxy.internal.nativeStorage),e("sessionStorage",y.storages.sessionStorageProxy.internal.nativeStorage),r("clear",function(){for(var[e]of Object.entries(this))delete this[e]}),r("key",function(e){return(Object.entries(this)[e]||[])[0]||null}),r("getItem",function(e){return this.internal.nativeStorage[i(e)]||null}),r("setItem",function(e,t){e&&(this.internal.nativeStorage[i(e)]=t)}),r("removeItem",function(e){delete this.internal.nativeStorage[i(e)]})}if(delete window.overrideGetProxyUrl,delete window.overrideParseProxyUrl,delete window.overrideIsCrossDomainWindows,window.rammerheadStartListeners){for(var e of window.rammerheadStartListeners)try{e()}catch(e){console.error(e)}delete window.rammerheadStartListeners}if(window.rammerheadDisableLocalStorageImplementation)delete window.rammerheadDisableLocalStorageImplementation;else{var a="rammerhead_synctimestamp",t=!1,i=localStorage,s=i.internal.nativeStorage,l=y.settings._settings.sessionId,c=window.__get$(window,"location").origin,u=[];try{t=!0;var d,f=function(){var e=s[a],t=parseInt(e);if(isNaN(t))return e&&console.warn("invalid timestamp retrieved from storage: "+e),null;return t}();function p(e){if(!e||"object"!=typeof e)throw new TypeError("data must be an object");for(var t in i.clear(),e)i[t]=e[t]}f?(d=w({type:"sync",timestamp:f,data:i})).timestamp&&(h(d.timestamp),p(d.data)):(d=w({type:"sync",fetch:!0})).timestamp&&(h(d.timestamp),p(d.data)),t=!1}catch(e){if("server wants to disable localStorage syncing"!==e.message)throw e;return}i.addChangeEventListener(function(e){t||-1===u.indexOf(e.key)&&u.push(e.key)}),setInterval(function(){var e=g();e&&(w({type:"update",updateData:e},function(e){h(e.timestamp)}),u=[])},5e3),document.addEventListener("visibilitychange",function(){var e;"hidden"===document.visibilityState&&(e=g())&&y.nativeMethods.sendBeacon.call(window.navigator,m(),JSON.stringify({type:"update",updateData:e}))})}function h(e){if(!e)throw new TypeError("timestamp must be defined");if(isNaN(parseInt(e)))throw new TypeError("timestamp must be a number. received"+e);s[a]=e}function m(){return"/syncLocalStorage?sessionId="+encodeURIComponent(l)+"&origin="+encodeURIComponent(c)}function w(e,t){if(!e||"object"!=typeof e)throw new TypeError("data must be an object");var r=y.createNativeXHR();function n(){if(404===r.status)throw new Error("server wants to disable localStorage syncing");if(200!==r.status)throw new Error("server sent a non 200 code. got "+r.status+". Response: "+r.responseText)}if(r.open("POST",m(),!!t),r.setRequestHeader("content-type","application/json"),r.send(JSON.stringify(e)),!t)return n(),JSON.parse(r.responseText);r.onload=function(){n(),t(JSON.parse(r.responseText))}}function g(){if(!u.length)return null;for(var e={},t=0;t=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", - "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", + "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/compat-data": "^7.25.2", - "@babel/helper-validator-option": "^7.24.8", - "browserslist": "^4.23.1", + "@babel/compat-data": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -140,32 +142,31 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", - "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", - "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7", - "@babel/traverse": "^7.25.2" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -174,25 +175,10 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-simple-access": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", - "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", - "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", "dev": true, "license": "MIT", "peer": true, @@ -201,18 +187,18 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", - "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", - "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", "dev": true, "license": "MIT", "peer": true, @@ -221,43 +207,28 @@ } }, "node_modules/@babel/helpers": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", - "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", + "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/template": "^7.25.0", - "@babel/types": "^7.25.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", - "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.24.7", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/node": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.25.0.tgz", - "integrity": "sha512-fgdlIcf1vLeZ6gUHcl799Wbk6no5tnkGi6t1gpAb1a97ZB+KCRp8Sgb7acGTjnFhOzqzcsbJ4+wzewqb6JM0tA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.26.0.tgz", + "integrity": "sha512-5ASMjh42hbnqyCOK68Q5chh1jKAqn91IswFTN+niwt4FLABhEWCT1tEuuo6mlNQ4WG/oFQLvJ71PaHAKtWtJyA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/register": "^7.24.6", + "@babel/register": "^7.25.9", "commander": "^6.2.0", "core-js": "^3.30.2", "node-environment-flags": "^1.0.5", @@ -275,14 +246,14 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", - "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", + "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/types": "^7.25.6" + "@babel/types": "^7.26.0" }, "bin": { "parser": "bin/babel-parser.js" @@ -292,9 +263,9 @@ } }, "node_modules/@babel/register": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.24.6.tgz", - "integrity": "sha512-WSuFCc2wCqMeXkz/i3yfAAsxwWflEgbVkZzivgAmXl/MxrXeoYFZOOPllbC8R8WTF7u61wSRQtDVZ1879cdu6w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.25.9.tgz", + "integrity": "sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==", "dev": true, "license": "MIT", "dependencies": { @@ -312,34 +283,34 @@ } }, "node_modules/@babel/template": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", - "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", + "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/code-frame": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", - "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", + "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.6", - "@babel/parser": "^7.25.6", - "@babel/template": "^7.25.0", - "@babel/types": "^7.25.6", + "@babel/code-frame": "^7.25.9", + "@babel/generator": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/template": "^7.25.9", + "@babel/types": "^7.25.9", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -348,16 +319,15 @@ } }, "node_modules/@babel/types": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", - "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", + "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@babel/helper-string-parser": "^7.24.8", - "@babel/helper-validator-identifier": "^7.24.7", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1763,18 +1733,6 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -2081,9 +2039,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", - "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "dev": true, "funding": [ { @@ -2102,10 +2060,10 @@ "license": "MIT", "peer": true, "dependencies": { - "caniuse-lite": "^1.0.30001663", - "electron-to-chromium": "^1.5.28", + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.0" + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -2208,9 +2166,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001664", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001664.tgz", - "integrity": "sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==", + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", "dev": true, "funding": [ { @@ -2229,20 +2187,6 @@ "license": "CC-BY-4.0", "peer": true }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/charm": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/charm/-/charm-0.1.2.tgz", @@ -2485,21 +2429,6 @@ "node": ">=6" } }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" - }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -2558,9 +2487,9 @@ } }, "node_modules/core-js": { - "version": "3.38.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", - "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.39.0.tgz", + "integrity": "sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2800,9 +2729,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.29", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.29.tgz", - "integrity": "sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw==", + "version": "1.5.65", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.65.tgz", + "integrity": "sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==", "dev": true, "license": "ISC", "peer": true @@ -2853,9 +2782,9 @@ } }, "node_modules/es-abstract": { - "version": "1.23.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", - "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "version": "1.23.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz", + "integrity": "sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2874,7 +2803,7 @@ "function.prototype.name": "^1.1.6", "get-intrinsic": "^1.2.4", "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", + "globalthis": "^1.0.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.3", @@ -2890,10 +2819,10 @@ "is-string": "^1.0.7", "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", + "object-inspect": "^1.13.3", "object-keys": "^1.1.1", "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", + "regexp.prototype.flags": "^1.5.3", "safe-array-concat": "^1.1.2", "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.9", @@ -3050,15 +2979,6 @@ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", "license": "MIT" }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/escodegen": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", @@ -3710,15 +3630,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/has-property-descriptors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", @@ -3976,6 +3887,22 @@ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", "license": "MIT" }, + "node_modules/is-async-function": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", + "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", @@ -4087,6 +4014,22 @@ "node": ">=0.10.0" } }, + "node_modules/is-finalizationregistry": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.0.tgz", + "integrity": "sha512-qfMdqbAQEwBw78ZyReKnlA8ezmPdb9BemzIIip/JkjaZUhitfXDkkr+3QTboW0JrSXT1QWyYShpvnNHGZ4c4yA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -4096,6 +4039,22 @@ "node": ">=8" } }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -4108,6 +4067,19 @@ "node": ">=0.10.0" } }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -4182,6 +4154,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-shared-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", @@ -4246,6 +4231,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-weakref": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", @@ -4259,6 +4257,23 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-weakset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", + "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -4334,9 +4349,9 @@ "license": "MIT" }, "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, "license": "MIT", "peer": true, @@ -4344,7 +4359,7 @@ "jsesc": "bin/jsesc" }, "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/json-parse-even-better-errors": { @@ -4695,9 +4710,9 @@ "license": "MIT" }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "dev": true, "license": "MIT", "engines": { @@ -4951,9 +4966,9 @@ "license": "MIT" }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "license": "ISC" }, "node_modules/picomatch": { @@ -5484,6 +5499,28 @@ "node": ">= 12.13.0" } }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.7.tgz", + "integrity": "sha512-bMvFGIUKlc/eSfXNX+aZ+EL95/EgZzuwA0OBPTbZZDEJw/0AkentjMuM1oiRfwHrshqk4RzdgiTg5CcDalXN5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "which-builtin-type": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/regenerator-runtime": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", @@ -5492,16 +5529,16 @@ "license": "MIT" }, "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", + "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.6", + "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" + "set-function-name": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -6310,18 +6347,6 @@ "node": ">=8" } }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", @@ -6410,17 +6435,6 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "license": "MIT" }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -6521,9 +6535,9 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.3.tgz", + "integrity": "sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==", "dev": true, "license": "MIT", "dependencies": { @@ -6532,7 +6546,8 @@ "for-each": "^0.3.3", "gopd": "^1.0.1", "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "is-typed-array": "^1.1.13", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -6542,18 +6557,18 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", - "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-proto": "^1.0.3", "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -6760,6 +6775,53 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-builtin-type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.0.tgz", + "integrity": "sha512-I+qLGQ/vucCby4tf5HsLmGueEla4ZhwTBSqaooS+Y0BuxN4Cp+okmGuV+8mXZ84KDI9BA+oklo+RzKg0ONdSUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.0.5", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.1.4", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.15" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", diff --git a/package.json b/package.json index a633e2cf..4293b105 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "holyunblocker", - "version": "6.3.9", + "version": "6.4.0", "repository": "https://github.com/QuiteAFancyEmerald/Holy-Unblocker", "description": "Holy Unblocker is a secure web proxy service with support for many sites.", "main": "backend.js", diff --git a/run-command.mjs b/run-command.mjs index 3e8034cd..d0668912 100644 --- a/run-command.mjs +++ b/run-command.mjs @@ -7,7 +7,7 @@ import ecosystem from './ecosystem.config.js'; // Some necessary constants are copied over from /src/server.mjs. const config = Object.freeze( - JSON.parse(await readFile(new URL('./src/config.json', import.meta.url))) + JSON.parse(await readFile(new URL('./config.json', import.meta.url))) ), ecosystemConfig = Object.freeze( ecosystem.apps.find((app) => app.name === 'HolyUB') || ecosystem.apps[0] diff --git a/src/data.json b/src/data.json index af996e99..5a2d36e0 100644 --- a/src/data.json +++ b/src/data.json @@ -18,5 +18,5 @@ "splash": [ "This version is the public HU LTS build of the web proxy service project and being worked on (master branch)! Stuff will NOT work!" ], - "version": ["6.3.9"] + "version": ["6.4.0"] } diff --git a/src/express.mjs b/src/express.mjs index 0a750635..1e44751c 100644 --- a/src/express.mjs +++ b/src/express.mjs @@ -16,7 +16,7 @@ import { uvPath } from '@titaniumnetwork-dev/ultraviolet'; // import { createBareServer } from "@tomphttp/bare-server-node"; const config = JSON.parse( - await readFile(new URL('./config.json', import.meta.url)) + await readFile(new URL('../config.json', import.meta.url)) ), { pages, text404 } = pkg, __dirname = path.resolve(), diff --git a/src/server.mjs b/src/server.mjs index f866d0d1..96f5bba7 100644 --- a/src/server.mjs +++ b/src/server.mjs @@ -19,7 +19,7 @@ import { existsSync, unlinkSync } from 'node:fs'; import ecosystem from '../ecosystem.config.js'; const config = Object.freeze( - JSON.parse(await readFile(new URL('./config.json', import.meta.url))) + JSON.parse(await readFile(new URL('../config.json', import.meta.url))) ), ecosystemConfig = Object.freeze( ecosystem.apps.find((app) => app.name === 'HolyUB') || ecosystem.apps[0]