UNPKG

javascript-obfuscator

Version:
24 lines (21 loc) 1.69 MB
/*! Copyright (C) 2016-2026 Timofei Kachalov <support@obfuscator.io> 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 <COPYRIGHT HOLDER> 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. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JavaScriptObfuscator=t():e.JavaScriptObfuscator=t()}(self,()=>(()=>{var __webpack_modules__={218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alphabetString=void 0,t.alphabetString="abcdefghijklmnopqrstuvwxyz"},410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,i=(n=r(83399))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isParentBindingConstraints=function(e){return t=>{const r=t.getAncestor();return void 0!==r&&e(r)}}},561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,i.default)(e,r)};var n=a(r(83399)),i=a(r(410));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},910:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateMetadataName=function(e){return t=>{if(void 0!==t.name)throw new n.InversifyCoreError(i.InversifyCoreErrorKind.injectionDecoratorConflict,"Unexpected duplicated named decorator");return t.name=e,t}};const n=r(21773),i=r(94931)},1391:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},s=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),o=0;o<r.length;o++)"default"!==r[o]&&i(t,e,r[o]);return a(t,e),t}),c=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.VariableDeclarationsMergeTransformer=void 0;const l=r(52650),u=r(32287),f=s(r(34608)),p=r(18436),m=r(76893),h=r(23615),g=r(50027);let b=class extends m.AbstractNodeTransformer{constructor(e,t){super(e,t)}getVisitor(e){return e===p.NodeTransformationStage.Simplifying?{leave:(e,t)=>{if(t&&h.NodeGuards.isVariableDeclarationNode(e))return this.transformNode(e,t)}}:null}transformNode(e,t){if(!h.NodeGuards.isNodeWithStatements(t))return e;const r=g.NodeStatementUtils.getPreviousSiblingStatement(e);return r&&h.NodeGuards.isVariableDeclarationNode(r)?e.kind!==r.kind?e:(r.declarations.push(...e.declarations),f.VisitorOption.Remove):e}};t.VariableDeclarationsMergeTransformer=b,t.VariableDeclarationsMergeTransformer=b=o([(0,l.injectFromBase)(),(0,l.injectable)(),d(0,(0,l.inject)(u.ServiceIdentifiers.IRandomGenerator)),d(1,(0,l.inject)(u.ServiceIdentifiers.IOptions)),c("design:paramtypes",[Object,Object])],b)},1424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=function(e,t){const r=(0,i.buildManagedMetadataFromMaybeClassElementMetadata)(a.ClassElementMetadataKind.multipleInjection,e,t);return(0,o.injectBase)(r,n.decrementPendingClassMetadataCount)};const n=r(70177),i=r(23473),a=r(86277),o=r(83814)},1683:(e,t,r)=>{var n=r(54041).x,i=r(90251),a=/(\r?\n)/,o="$$$isSourceNode$$$";function s(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==i?null:i,this[o]=!0,null!=n&&this.add(n)}s.fromStringWithSourceMap=function(e,t,r){var n=new s,o=e.split(a),c=0,d=function(){return e()+(e()||"");function e(){return c<o.length?o[c++]:void 0}},l=1,u=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(l<e.generatedLine)){var t=(r=o[c]||"").substr(0,e.generatedColumn-u);return o[c]=r.substr(e.generatedColumn-u),u=e.generatedColumn,p(f,t),void(f=e)}p(f,d()),l++,u=0}for(;l<e.generatedLine;)n.add(d()),l++;if(u<e.generatedColumn){var r=o[c]||"";n.add(r.substr(0,e.generatedColumn)),o[c]=r.substr(e.generatedColumn),u=e.generatedColumn}f=e},this),c<o.length&&(f&&p(f,d()),n.add(o.splice(c).join(""))),t.sources.forEach(function(e){var a=t.sourceContentFor(e);null!=a&&(null!=r&&(e=i.join(r,e)),n.setSourceContent(e,a))}),n;function p(e,t){if(null===e||void 0===e.source)n.add(t);else{var a=r?i.join(r,e.source):e.source;n.add(new s(e.originalLine,e.originalColumn,a,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r<n;r++)(t=this.children[r])[o]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,r,n=this.children.length;if(n>0){for(t=[],r=0;r<n-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[o]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][o]&&this.children[t].walkSourceContents(e);var n=Object.keys(this.sourceContents);for(t=0,r=n.length;t<r;t++)e(i.fromSetString(n[t]),this.sourceContents[n[t]])},s.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new n(e),i=!1,a=null,o=null,s=null,c=null;return this.walk(function(e,n){t.code+=e,null!==n.source&&null!==n.line&&null!==n.column?(a===n.source&&o===n.line&&s===n.column&&c===n.name||r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name}),a=n.source,o=n.line,s=n.column,c=n.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),a=null,i=!1);for(var d=0,l=e.length;d<l;d++)10===e.charCodeAt(d)?(t.line++,t.column=0,d+1===l?(a=null,i=!1):i&&r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})):t.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:t.code,map:r}},t.SourceNode=s},1697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if((0,n.default)(e),t.loose)return(0,i.default)(c,e.toLowerCase());return(0,i.default)(s,e)};var n=a(r(83399)),i=a(r(78644));function a(e){return e&&e.__esModule?e:{default:e}}var o={loose:!1},s=["true","false","1","0"],c=[].concat(s,["yes","no"]);e.exports=t.default,e.exports.default=t.default},2056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,i.default)(t,o)).ignore_whitespace?e.trim().length:e.length)};var n=a(r(83399)),i=a(r(93610));function a(e){return e&&e.__esModule?e:{default:e}}var o={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},2070:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.StringArrayScopeCallsWrapperTransformer=void 0;const o=r(52650),s=r(32287),c=r(96390),d=r(18436),l=r(68736),u=r(60056),f=r(76893),p=r(30386),m=r(23615);let h=class extends f.AbstractNodeTransformer{constructor(e,t,r,n,i,a){super(e,t),this.runAfter=[c.NodeTransformer.StringArrayRotateFunctionTransformer],this.visitedLexicalScopeNodesStackStorage=r,this.stringArrayStorage=n,this.stringArrayScopeCallsWrappersDataStorage=i,this.stringArrayTransformerCustomNodeFactory=a}getVisitor(e){return this.options.stringArrayWrappersCount&&e===d.NodeTransformationStage.StringArray?{enter:(e,t)=>{t&&m.NodeGuards.isNodeWithLexicalScopeStatements(e,t)&&this.onLexicalScopeNodeEnter(e)},leave:(e,t)=>{if(t&&m.NodeGuards.isNodeWithLexicalScopeStatements(e,t))return this.onLexicalScopeNodeLeave(),this.transformNode(e)}}:null}transformNode(e){var t;const r=null!==(t=this.stringArrayScopeCallsWrappersDataStorage.get(e))&&void 0!==t?t:null;if(!r)return e;const n=Object.values(r);for(const t of n){if(!t)continue;const{scopeCallsWrappersData:r}=t,n=r.length,i=this.getUpperStringArrayCallsWrapperData(t);for(let t=n-1;t>=0;t--){const n=r[t];this.getAndAppendStringArrayScopeCallsWrapperNode(e,n,i)}}return e}getRootStringArrayCallsWrapperData(e){const{encoding:t}=e;return{name:this.stringArrayStorage.getStorageCallsWrapperName(t),index:0,parameterIndexesData:null}}getUpperStringArrayCallsWrapperData(e){var t,r,n,i;const{encoding:a}=e,o=this.getRootStringArrayCallsWrapperData(e);if(!this.options.stringArrayWrappersChainedCalls)return o;const s=null!==(t=this.visitedLexicalScopeNodesStackStorage.getLastElement())&&void 0!==t?t:null;if(!s)return o;const c=null!==(r=this.stringArrayScopeCallsWrappersDataStorage.get(s))&&void 0!==r?r:null,d=null!==(i=null===(n=null==c?void 0:c[a])||void 0===n?void 0:n.scopeCallsWrappersData)&&void 0!==i?i:null;return(null==d?void 0:d.length)?this.randomGenerator.getRandomGenerator().pickone(d):o}getAndAppendStringArrayScopeCallsWrapperNode(e,t,r){let n;switch(this.options.stringArrayWrappersType){case u.StringArrayWrappersType.Function:{const i=this.randomGenerator.getRandomInteger(0,e.body.length-1);n=this.getStringArrayScopeCallsWrapperFunctionNode(t,r),p.NodeAppender.insertAtIndex(e,n,i);break}case u.StringArrayWrappersType.Variable:default:n=this.getStringArrayScopeCallsWrapperVariableNode(t,r),p.NodeAppender.prepend(e,n)}}getStringArrayScopeCallsWrapperVariableNode(e,t){const r=this.stringArrayTransformerCustomNodeFactory(l.StringArrayCustomNode.StringArrayScopeCallsWrapperVariableNode);return r.initialize(e,t),r.getNode()}getStringArrayScopeCallsWrapperFunctionNode(e,t){const r=this.stringArrayTransformerCustomNodeFactory(l.StringArrayCustomNode.StringArrayScopeCallsWrapperFunctionNode);return r.initialize(e,t),r.getNode()}onLexicalScopeNodeEnter(e){this.visitedLexicalScopeNodesStackStorage.push(e)}onLexicalScopeNodeLeave(){this.visitedLexicalScopeNodesStackStorage.pop()}};t.StringArrayScopeCallsWrapperTransformer=h,t.StringArrayScopeCallsWrapperTransformer=h=n([(0,o.injectFromBase)(),(0,o.injectable)(),a(0,(0,o.inject)(s.ServiceIdentifiers.IRandomGenerator)),a(1,(0,o.inject)(s.ServiceIdentifiers.IOptions)),a(2,(0,o.inject)(s.ServiceIdentifiers.IVisitedLexicalScopeNodesStackStorage)),a(3,(0,o.inject)(s.ServiceIdentifiers.IStringArrayStorage)),a(4,(0,o.inject)(s.ServiceIdentifiers.IStringArrayScopeCallsWrappersDataStorage)),a(5,(0,o.inject)(s.ServiceIdentifiers.Factory__IStringArrayCustomNode)),i("design:paramtypes",[Object,Object,Object,Object,Object,Function])],h)},2356:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveInstanceBindingNodeFromConstructorParams=function(e){return(t,r,i)=>{const o=new i.binding.implementationType(...t),s=e(r,o,i);return(0,n.isPromise)(s)?s.then(()=>a(o,i.binding,i.classMetadata.lifecycle.postConstructMethodNames)):a(o,i.binding,i.classMetadata.lifecycle.postConstructMethodNames)}};const n=r(5265),i=r(49279);function a(e,t,r){if(0===r.size)return e;let a=e;for(const e of r)a=(0,n.isPromise)(a)?a.then(r=>(0,i.resolvePostConstruct)(r,t,e)):(0,i.resolvePostConstruct)(a,t,e);return a}},2386:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSelf=function(e){return e}},2423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlanResultCacheService=void 0;const n=r(66621),i=r(78222),a=r(37592),o=r(59024),s=r(18109),c=r(18337),d=r(8075),l=r(46552);t.PlanResultCacheService=class{#e;#t;#r;#n;#i;#a;constructor(){this.#e=new Map,this.#t=this.#o(),this.#r=this.#o(),this.#n=this.#o(),this.#i=this.#o(),this.#a=new i.WeakList}clearCache(){for(const e of this.#s())e.clear();for(const e of this.#a)e.clearCache()}get(e){return void 0===e.name?void 0===e.tag?this.#c(this.#t,e).get(e.serviceIdentifier):this.#c(this.#i,e).get(e.serviceIdentifier)?.get(e.tag.key)?.get(e.tag.value):void 0===e.tag?this.#c(this.#r,e).get(e.serviceIdentifier)?.get(e.name):this.#c(this.#n,e).get(e.serviceIdentifier)?.get(e.name)?.get(e.tag.key)?.get(e.tag.value)}invalidateServiceBinding(e){this.#d(e),this.#l(e),this.#u(e),this.#f(e),this.#p(e);for(const t of this.#a)t.invalidateServiceBinding(e)}set(e,t){void 0===e.name?void 0===e.tag?this.#c(this.#t,e).set(e.serviceIdentifier,t):this.#m(this.#m(this.#c(this.#i,e),e.serviceIdentifier),e.tag.key).set(e.tag.value,t):void 0===e.tag?this.#m(this.#c(this.#r,e),e.serviceIdentifier).set(e.name,t):this.#m(this.#m(this.#m(this.#c(this.#n,e),e.serviceIdentifier),e.name),e.tag.key).set(e.tag.value,t)}setNonCachedServiceNode(e,t){let r=this.#e.get(e.serviceIdentifier);void 0===r&&(r=new Map,this.#e.set(e.serviceIdentifier,r)),r.set(e,t)}subscribe(e){this.#a.push(e)}#o(){const e=new Array(8);for(let t=0;t<e.length;++t)e[t]=new Map;return e}#h(e,t,r,n){const i=!!(2&t);let a;if(i){a={chained:!!(0&t),isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier}}else a={isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier};return!!(1&t)&&(a.isOptional=!0),void 0!==r&&(a.name=r),void 0!==n&&(a.tag=n),{autobindOptions:void 0,operations:e.operations,rootConstraints:a,servicesBranch:[]}}#m(e,t){let r=e.get(t);return void 0===r&&(r=new Map,e.set(t,r)),r}#c(e,t){return e[this.#g(t)]}#s(){return[this.#e,...this.#t,...this.#r,...this.#n,...this.#i]}#g(e){return e.isMultiple?(e.chained?4:0)|(e.optional?1:0)|2:e.optional?1:0}#l(e){for(const[t,r]of this.#r.entries()){const n=r.get(e.binding.serviceIdentifier);if(void 0!==n)for(const[r,i]of n.entries())this.#b(e,i,t,r,void 0)}}#u(e){for(const[t,r]of this.#n.entries()){const n=r.get(e.binding.serviceIdentifier);if(void 0!==n)for(const[r,i]of n.entries())for(const[n,a]of i.entries())for(const[i,o]of a.entries())this.#b(e,o,t,r,{key:n,value:i})}}#y(e){switch(e.binding.type){case n.bindingTypeValues.ServiceRedirection:for(const t of e.redirections)this.#y(t);break;case n.bindingTypeValues.Instance:for(const t of e.constructorParams)void 0!==t&&this.#v(t);for(const t of e.propertyParams.values())this.#v(t);break;case n.bindingTypeValues.ResolvedValue:for(const t of e.params)this.#v(t)}}#v(e){const t=this.#e.get(e.serviceIdentifier);void 0!==t&&t.has(e)&&(t.delete(e),this.#S(e))}#S(e){if((!l.LazyPlanServiceNode.is(e)||e.isExpanded())&&void 0!==e.bindings)if(Array.isArray(e.bindings))for(const t of e.bindings)this.#y(t);else this.#y(e.bindings)}#p(e){const t=this.#e.get(e.binding.serviceIdentifier);if(void 0!==t)switch(e.kind){case d.CacheBindingInvalidationKind.bindingAdded:for(const[r,n]of t){const t=(0,o.addServiceNodeBindingIfContextFree)({autobindOptions:void 0,operations:e.operations,servicesBranch:[]},r,e.binding,n.bindingConstraintsList,n.chainedBindings);t.isContextFreeBinding?t.shouldInvalidateServiceNode&&l.LazyPlanServiceNode.is(r)&&(this.#S(r),r.invalidate()):this.clearCache()}break;case d.CacheBindingInvalidationKind.bindingRemoved:for(const[r,n]of t){const t=(0,c.removeServiceNodeBindingIfContextFree)(r,e.binding,n.bindingConstraintsList,n.optionalBindings);t.isContextFreeBinding?void 0!==t.bindingNodeRemoved&&this.#y(t.bindingNodeRemoved):this.clearCache()}}}#d(e){for(const[t,r]of this.#t.entries()){const n=r.get(e.binding.serviceIdentifier);this.#b(e,n,t,void 0,void 0)}}#f(e){for(const[t,r]of this.#i.entries()){const n=r.get(e.binding.serviceIdentifier);if(void 0!==n)for(const[r,i]of n.entries())for(const[n,a]of i.entries())this.#b(e,a,t,void 0,{key:r,value:n})}}#b(e,t,r,n,i){if(void 0!==t&&l.LazyPlanServiceNode.is(t.tree.root)){const o=this.#h(e,r,n,i);switch(e.kind){case d.CacheBindingInvalidationKind.bindingAdded:{const r=(0,a.addRootServiceNodeBindingIfContextFree)(o,t.tree.root,e.binding);r.isContextFreeBinding?r.shouldInvalidateServiceNode&&(this.#S(t.tree.root),t.tree.root.invalidate()):this.clearCache()}break;case d.CacheBindingInvalidationKind.bindingRemoved:{const r=(0,s.removeRootServiceNodeBindingIfContextFree)(o,t.tree.root,e.binding);r.isContextFreeBinding?void 0!==r.bindingNodeRemoved&&this.#y(r.bindingNodeRemoved):this.clearCache()}}}}}},2665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebugProtectionFunctionTemplate=function(){return"\n function {debugProtectionFunctionName} (ret) {\n function debuggerProtection (counter) {\n {debuggerTemplate}\n \n debuggerProtection(++counter);\n }\n \n try {\n if (ret) {\n return debuggerProtection;\n } else {\n debuggerProtection(0);\n }\n } catch (y) {}\n }\n "}},2731:function(e,t,r){"use strict";var n,i,a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},c=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),i=0;i<r.length;i++)"default"!==r[i]&&a(t,e,r[i]);return o(t,e),t}),d=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CallsGraphAnalyzer=void 0;const u=r(52650),f=r(32287),p=c(r(34608)),m=r(12505),h=r(23615),g=r(50027);let b=i=class{constructor(e){this.calleeDataExtractorFactory=e}static getLimitIndex(e){const t=e-1,r=i.limitThresholdActivationLength-1;let n=t;return t>r&&(n=Math.round(r+t*i.limitThreshold),n>t&&(n=t)),n}analyze(e){return this.analyzeRecursive(e.body)}analyzeRecursive(e){const t=i.getLimitIndex(e.length),r=[],n=e.length;for(let i=0;i<n&&!(i>t);i++){const t=e[i];p.traverse(t,{enter:n=>{if(h.NodeGuards.isCallExpressionNode(n))return t.parentNode!==g.NodeStatementUtils.getParentNodeWithStatements(n)?p.VisitorOption.Skip:void this.analyzeCallExpressionNode(r,e,n)}})}return r}analyzeCallExpressionNode(e,t,r){i.calleeDataExtractorsList.forEach(n=>{const i=this.calleeDataExtractorFactory(n).extract(t,r.callee);i&&e.push({...i,callsGraph:this.analyzeRecursive(i.callee.body)})})}};t.CallsGraphAnalyzer=b,b.calleeDataExtractorsList=[m.CalleeDataExtractor.FunctionDeclarationCalleeDataExtractor,m.CalleeDataExtractor.FunctionExpressionCalleeDataExtractor,m.CalleeDataExtractor.ObjectExpressionCalleeDataExtractor],b.limitThresholdActivationLength=25,b.limitThreshold=.002,t.CallsGraphAnalyzer=b=i=s([(0,u.injectable)(),l(0,(0,u.inject)(f.ServiceIdentifiers.Factory__ICalleeDataExtractor)),d("design:paramtypes",[Function])],b)},2747:e=>{"use strict";e.exports={stdout:!1,stderr:!1}},2781:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rc4Template=function(){return"\n const {rc4FunctionName} = function (str, key) {\n let s = [], j = 0, x, output = '';\n \n str = {atobFunctionName}(str);\n \n let i;\n \t \n for (i = 0; i < 256; i++) {\n s[i] = i;\n }\n \n for (i = 0; i < 256; i++) {\n j = (j + s[i] + key.charCodeAt(i % key.length)) % 256;\n x = s[i];\n s[i] = s[j];\n s[j] = x;\n }\n \n i = 0;\n j = 0;\n \n for (let y = 0; y < str.length; y++) {\n i = (i + 1) % 256;\n j = (j + s[i]) % 256;\n x = s[i];\n s[i] = s[j];\n s[j] = x;\n output += String.fromCharCode(str.charCodeAt(y) ^ s[(s[i] + s[j]) % 256]);\n }\n \n return output;\n }\n "}},2953:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DebugProtectionFunctionCallCodeHelper=void 0;const o=r(52650),s=r(32287),c=r(10548),d=r(83404),l=r(88318),u=r(25120);let f=class extends l.AbstractCustomCodeHelper{constructor(e,t,r,n,i){super(e,t,r,n,i)}initialize(e,t){this.debugProtectionFunctionName=e,this.callsControllerFunctionName=t}getNodeStructure(e){return u.NodeUtils.convertCodeToStructure(e)}getCodeHelperTemplate(){return this.customCodeHelperFormatter.formatTemplate((0,d.DebugProtectionFunctionCallTemplate)(),{debugProtectionFunctionName:this.debugProtectionFunctionName,callControllerFunctionName:this.callsControllerFunctionName})}};t.DebugProtectionFunctionCallCodeHelper=f,n([(0,c.initializable)(),i("design:type",String)],f.prototype,"callsControllerFunctionName",void 0),n([(0,c.initializable)(),i("design:type",String)],f.prototype,"debugProtectionFunctionName",void 0),t.DebugProtectionFunctionCallCodeHelper=f=n([(0,o.injectFromBase)(),(0,o.injectable)(),a(0,(0,o.inject)(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),a(1,(0,o.inject)(s.ServiceIdentifiers.ICustomCodeHelperFormatter)),a(2,(0,o.inject)(s.ServiceIdentifiers.ICustomCodeHelperObfuscator)),a(3,(0,o.inject)(s.ServiceIdentifiers.IRandomGenerator)),a(4,(0,o.inject)(s.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Function,Object,Object,Object,Object])],f)},3158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),a.has(e)};var n,i=(n=r(83399))&&n.__esModule?n:{default:n};var a=new Set(["004","008","010","012","016","020","024","028","031","032","036","040","044","048","050","051","052","056","060","064","068","070","072","074","076","084","086","090","092","096","100","104","108","112","116","120","124","132","136","140","144","148","152","156","158","162","166","170","174","175","178","180","184","188","191","192","196","203","204","208","212","214","218","222","226","231","232","233","234","238","239","242","246","248","250","254","258","260","262","266","268","270","275","276","288","292","296","300","304","308","312","316","320","324","328","332","334","336","340","344","348","352","356","360","364","368","372","376","380","384","388","392","398","400","404","408","410","414","417","418","422","426","428","430","434","438","440","442","446","450","454","458","462","466","470","474","478","480","484","492","496","498","499","500","504","508","512","516","520","524","528","531","533","534","535","540","548","554","558","562","566","570","574","578","580","581","583","584","585","586","591","598","600","604","608","612","616","620","624","626","630","634","638","642","643","646","652","654","659","660","662","663","666","670","674","678","682","686","688","690","694","702","703","704","705","706","710","716","724","728","729","732","740","744","748","752","756","760","762","764","768","772","776","780","784","788","792","795","796","798","800","804","807","818","826","831","832","833","834","840","850","854","858","860","862","876","882","887","894"]);e.exports=t.default,e.exports.default=t.default},3177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInPrototypeChain=function(e,t){for(let r=e;void 0!==r;r=(0,n.getBaseType)(r)){const e=t(r);if(void 0!==e)return e}return};const n=r(5433)},3191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getServiceFromMaybeLazyServiceIdentifier=function(e){return n.LazyServiceIdentifier.is(e)?e.unwrap():e};const n=r(5265)},3196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){(0,i.default)(t),null!=r&&r.eui&&(r.eui=String(r.eui));if(null!=r&&r.no_colons||null!=r&&r.no_separators)return"48"===r.eui?o.test(t):"64"===r.eui?d.test(t):o.test(t)||d.test(t);if("48"===(null==r?void 0:r.eui))return a.test(t)||s.test(t);if("64"===(null==r?void 0:r.eui))return c.test(t)||l.test(t);return e(t,{eui:"48"})||e(t,{eui:"64"})};var n,i=(n=r(83399))&&n.__esModule?n:{default:n};var a=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,c=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,d=/^([0-9a-fA-F]){16}$/,l=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t,r){return Reflect.getMetadata(t,e,r)}},3939:e=>{var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],a=0;a<4;a++)8*n+6*a<=8*e.length?r.push(t.charAt(i>>>6*(3-a)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},4058:e=>{"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;const i=t.length;let a=0,o="";do{o+=e.substr(a,n-a)+t+r,a=n+i,n=e.indexOf(t,a)}while(-1!==n);return o+=e.substr(a),o},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let i=0,a="";do{const o="\r"===e[n-1];a+=e.substr(i,(o?n-1:n)-i)+t+(o?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return a+=e.substr(i),a}}},4185:function(e,t,r){"use strict";var n,i=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DictionaryIdentifierNamesGenerator=void 0;const s=r(52650),c=r(32287),d=r(34003),l=r(32504);let u=n=class extends d.AbstractIdentifierNamesGenerator{constructor(e,t,r){super(e,t),this.arrayUtils=r,this.identifierNamesSet=new Set(this.getInitialIdentifierNames(this.options.identifiersDictionary)),this.identifiersIterator=this.identifierNamesSet.values()}static incrementIdentifierName(e){let t="",r=!1;for(const n of e)r||n!==n.toUpperCase()?r||n!==n.toLowerCase()?t+=n:(t+=n.toUpperCase(),r=!0):t+=n.toLowerCase();return r?t:null}generateNext(){const e=this.generateNewDictionaryName();return this.preserveName(e),e}generateForGlobalScope(){return this.generateForGlobalScopeInternal(e=>this.isValidIdentifierName(e))}generateForGlobalScopeWithAllScopesValidation(){return this.generateForGlobalScopeInternal(e=>this.isValidIdentifierNameInAllScopes(e))}generateForLexicalScope(e){const t=[e,...l.NodeLexicalScopeUtils.getLexicalScopes(e)],r=this.generateNewDictionaryName(e=>this.isValidIdentifierNameInLexicalScopes(e,t));return this.preserveNameForLexicalScope(r,e),r}generateForLabel(e){return this.generateNewDictionaryName()}generateForGlobalScopeInternal(e){const t=this.options.identifiersPrefix?`${this.options.identifiersPrefix}`:"",r=this.generateNewDictionaryName(r=>e(`${t}${r}`)),n=`${t}${r}`;return this.preserveName(n),n}generateNewDictionaryName(e){const t=()=>{var r;if(!this.identifierNamesSet.size)throw new Error("Too many identifiers in the code, add more words to identifiers dictionary");const n=this.identifiersIterator.next();if(!n.done){const i=n.value;return(null!==(r=null==e?void 0:e(i))&&void 0!==r?r:this.isValidIdentifierName(i))?n.value:t()}return this.identifierNamesSet=new Set(this.getIncrementedIdentifierNames([...this.identifierNamesSet])),this.identifiersIterator=this.identifierNamesSet.values(),t()};return t()}getInitialIdentifierNames(e){const t=e.filter(Boolean).map(e=>e.toLowerCase());return this.arrayUtils.shuffle(t)}getIncrementedIdentifierNames(e){const t=[];for(const r of e){const e=n.incrementIdentifierName(r);e&&t.push(e)}return this.arrayUtils.shuffle(t)}};t.DictionaryIdentifierNamesGenerator=u,t.DictionaryIdentifierNamesGenerator=u=n=i([(0,s.injectFromBase)(),(0,s.injectable)(),o(0,(0,s.inject)(c.ServiceIdentifiers.IRandomGenerator)),o(1,(0,s.inject)(c.ServiceIdentifiers.IOptions)),o(2,(0,s.inject)(c.ServiceIdentifiers.IArrayUtils)),a("design:paramtypes",[Object,Object,Object])],u)},4223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_ADDITIONAL_NODES_PRESET=void 0;const n=r(93844),i=r(72167),a=r(36833),o=r(54042),s=r(48096),c=r(70885),d=r(60056),l=r(66822);t.NO_ADDITIONAL_NODES_PRESET=Object.freeze({compact:!0,controlFlowFlattening:!1,controlFlowFlatteningThreshold:0,deadCodeInjection:!1,deadCodeInjectionThreshold:0,debugProtection:!1,debugProtectionInterval:0,disableConsoleOutput:!1,domainLock:[],domainLockRedirectUrl:"about:blank",exclude:[],forceTransformStrings:[],identifierNamesGenerator:n.IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator,identifiersPrefix:"",identifiersDictionary:[],ignoreImports:!1,inputFileName:"",log:!1,numbersToExpressions:!1,renameGlobals:!1,renameProperties:!1,renamePropertiesMode:a.RenamePropertiesMode.Safe,reservedNames:[],reservedStrings:[],stringArrayRotate:!1,seed:0,selfDefending:!1,stringArrayShuffle:!1,simplify:!1,sourceMap:!1,sourceMapBaseUrl:"",sourceMapFileName:"",sourceMapMode:o.SourceMapMode.Separate,sourceMapSourcesMode:s.SourceMapSourcesMode.SourcesContent,splitStrings:!1,splitStringsChunkLength:0,stringArray:!1,stringArrayCallsTransform:!1,stringArrayCallsTransformThreshold:0,stringArrayEncoding:[c.StringArrayEncoding.None],stringArrayIndexesType:[l.StringArrayIndexesType.HexadecimalNumber],stringArrayIndexShift:!1,stringArrayWrappersChainedCalls:!1,stringArrayWrappersCount:0,stringArrayWrappersParametersMaxCount:2,stringArrayWrappersType:d.StringArrayWrappersType.Variable,stringArrayThreshold:0,target:i.ObfuscationTarget.Browser,transformObjectKeys:!1,unicodeEscapeSequence:!1})},4533:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatementSimplifyTransformer=void 0;const o=r(52650),s=r(32287),c=r(96390),d=r(18436),l=r(21818),u=r(23615),f=r(91363),p=r(25120);let m=class extends l.AbstractStatementSimplifyTransformer{constructor(e,t){super(e,t),this.runAfter=[c.NodeTransformer.VariableDeclarationsMergeTransformer]}getVisitor(e){return e===d.NodeTransformationStage.Simplifying?{leave:(e,t)=>{if(t&&u.NodeGuards.isBlockStatementNode(e))return this.transformNode(e,t)}}:null}transformNode(e,t){const r=this.getStatementSimplifyData(e);if(!r)return e;const n=this.getPartialStatement(r),i=u.NodeGuards.isBlockStatementNode(n)?n:f.NodeFactory.blockStatementNode([n]);return p.NodeUtils.parentizeNode(i,t)}};t.BlockStatementSimplifyTransformer=m,t.BlockStatementSimplifyTransformer=m=n([(0,o.injectFromBase)(),(0,o.injectable)(),a(0,(0,o.inject)(s.ServiceIdentifiers.IRandomGenerator)),a(1,(0,o.inject)(s.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Object,Object])],m)},5036:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},s=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),o=0;o<r.length;o++)"default"!==r[o]&&i(t,e,r[o]);return a(t,e),t}),c=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeTransformersRunner=void 0;const l=r(52650),u=r(32287),f=s(r(34608)),p=r(78166),m=r(23615),h=r(12720);let g=class{constructor(e,t){this.nodeTransformerFactory=e,this.nodeTransformerNamesGroupsBuilder=t}transform(e,t,r){if(!t.length)return e;const n=this.buildNormalizedNodeTransformers(t,r),i=this.nodeTransformerNamesGroupsBuilder.build(n);for(const t of i){const i=[],a=[];for(const e of t){const t=n[e].getVisitor(r);t&&(t.enter&&i.push({enter:t.enter}),t.leave&&a.push({leave:t.leave}))}(i.length||a.length)&&f.replace(e,{enter:this.mergeVisitorsForDirection(i,p.VisitorDirection.Enter),leave:this.mergeVisitorsForDirection(a,p.VisitorDirection.Leave)})}return e}buildNormalizedNodeTransformers(e,t){return e.reduce((e,r)=>{const n=this.nodeTransformerFactory(r);return n.getVisitor(t)?{...e,[r]:n}:e},{})}mergeVisitorsForDirection(e,t){const r=e.length;return r?(n,i)=>{if(h.NodeMetadata.isIgnoredNode(n))return f.VisitorOption.Skip;for(let a=0;a<r;a++){const r=e[a][t];if(!r)continue;const o=r(n,i);o&&m.NodeGuards.isNode(o)&&(n=o)}return n}:(e,t)=>e}};t.NodeTransformersRunner=g,t.NodeTransformersRunner=g=o([(0,l.injectable)(),d(0,(0,l.inject)(u.ServiceIdentifiers.Factory__INodeTransformer)),d(1,(0,l.inject)(u.ServiceIdentifiers.INodeTransformerNamesGroupsBuilder)),c("design:paramtypes",[Function,Object])],g)},5104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isParentBindingConstraintsWithName=function(e){return(0,i.isParentBindingConstraints)((0,n.isBindingConstraintsWithName)(e))};const n=r(69200),i=r(519)},5265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=t.isPromise=void 0;const n=r(62119);Object.defineProperty(t,"isPromise",{enumerable:!0,get:function(){return n.isPromise}});const i=r(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return i.stringifyServiceIdentifier}});const a=r(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return a.LazyServiceIdentifier}})},5277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveScopedBinding=void 0;const n=r(2386),i=r(95910);t.resolveScopedBinding=e=>(0,i.resolveScoped)(n.getSelf,e)},5433:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseType=function(e){const t=Object.getPrototypeOf(e.prototype),r=t?.constructor;return r}},5502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalVariableServiceWorkerTemplate=function(){return"const that = typeof global === 'object' ? global : this;"}},5712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classMetadataReflectKey=void 0,t.classMetadataReflectKey="@inversifyjs/core/classMetadataReflectKey"},5768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMetadataFromTypescriptIfManaged=function(e){if(e.kind!==a.MaybeClassElementMetadataKind.unknown&&!0!==e.isFromTypescriptParamType)throw new n.InversifyCoreError(i.InversifyCoreErrorKind.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")};const n=r(21773),i=r(94931),a=r(23855)},5830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),t=(0,i.default)(t,u),!(0,a.default)(e,","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return d.test(r[0])&&l.test(r[1]);return s.test(r[0])&&c.test(r[1])};var n=o(r(83399)),i=o(r(93610)),a=o(r(94636));function o(e){return e&&e.__esModule?e:{default:e}}var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,c=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,d=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,u={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},6220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyBinding=function(e){switch(e.type){case i.bindingTypeValues.Instance:return`[ type: "${e.type}", serviceIdentifier: "${(0,n.stringifyServiceIdentifier)(e.serviceIdentifier)}", scope: "${e.scope}", implementationType: "${e.implementationType.name}" ]`;case i.bindingTypeValues.ServiceRedirection:return`[ type: "${e.type}", serviceIdentifier: "${(0,n.stringifyServiceIdentifier)(e.serviceIdentifier)}", redirection: "${(0,n.stringifyServiceIdentifier)(e.targetServiceIdentifier)}" ]`;default:return`[ type: "${e.type}", serviceIdentifier: "${(0,n.stringifyServiceIdentifier)(e.serviceIdentifier)}", scope: "${e.scope}" ]`}};const n=r(5265),i=r(66621)},6377:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionControlFlowStorage=void 0;const o=r(52650),s=r(32287),c=r(11440);let d=class extends c.MapStorage{constructor(e,t,r){super(e,t),this.identifierNamesGenerator=r(t)}};t.FunctionControlFlowStorage=d,t.FunctionControlFlowStorage=d=n([(0,o.injectFromBase)(),(0,o.injectable)(),a(0,(0,o.inject)(s.ServiceIdentifiers.IRandomGenerator)),a(1,(0,o.inject)(s.ServiceIdentifiers.IOptions)),a(2,(0,o.inject)(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),i("design:paramtypes",[Object,Object,Function])],d)},6480:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.StringArrayRotateFunctionCodeHelper=void 0;const o=r(52650),s=r(32287),c=r(10548),d=r(71780),l=r(88318),u=r(25120);let f=class extends l.AbstractCustomCodeHelper{constructor(e,t,r,n,i){super(e,t,r,n,i)}initialize(e,t,r){this.stringArrayFunctionName=e,this.comparisonValue=t,this.comparisonExpressionNode=r}getNodeStructure(e){return u.NodeUtils.convertCodeToStructure(e)}getCodeHelperTemplate(){const e=u.NodeUtils.convertStructureToCode([this.comparisonExpressionNode]);return this.customCodeHelperFormatter.formatTemplate((0,d.StringArrayRotateFunctionTemplate)(),{comparisonExpressionCode:e,comparisonValue:this.comparisonValue,stringArrayFunctionName:this.stringArrayFunctionName})}};t.StringArrayRotateFunctionCodeHelper=f,n([(0,c.initializable)(),i("design:type",Number)],f.prototype,"comparisonValue",void 0),n([(0,c.initializable)(),i("design:type",Object)],f.prototype,"comparisonExpressionNode",void 0),n([(0,c.initializable)(),i("design:type",String)],f.prototype,"stringArrayFunctionName",void 0),t.StringArrayRotateFunctionCodeHelper=f=n([(0,o.injectFromBase)(),(0,o.injectable)(),a(0,(0,o.inject)(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),a(1,(0,o.inject)(s.ServiceIdentifiers.ICustomCodeHelperFormatter)),a(2,(0,o.inject)(s.ServiceIdentifiers.ICustomCodeHelperObfuscator)),a(3,(0,o.inject)(s.ServiceIdentifiers.IRandomGenerator)),a(4,(0,o.inject)(s.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Function,Object,Object,Object,Object])],f)},6768:function(e,t,r){"use strict";var n,i,a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},c=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),i=0;i<r.length;i++)"default"!==r[i]&&a(t,e,r[i]);return o(t,e),t}),d=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatementControlFlowTransformer=void 0;const u=r(52650),f=r(32287),p=c(r(34608)),m=r(96747),h=r(18436),g=r(76893),b=r(23615),y=r(25120);let v=i=class extends g.AbstractNodeTransformer{constructor(e,t,r,n){super(r,n),this.controlFlowCustomNodeFactory=e,this.arrayUtils=t}static isProhibitedStatementNode(e){const t=b.NodeGuards.isBreakStatementNode(e)||b.NodeGuards.isContinueStatementNode(e),r=b.NodeGuards.isVariableDeclarationNode(e)&&("const"===e.kind||"let"===e.kind),n=b.NodeGuards.isClassDeclarationNode(e);return b.NodeGuards.isFunctionDeclarationNode(e)||t||r||n}static canTransformBlockStatementNode(e){if(e.body.length<=4)return!1;let t=!0;return p.traverse(e,{enter:e=>{if(b.NodeGuards.isWhileStatementNode(e))return p.VisitorOption.Skip;i.isProhibitedStatementNode(e)&&(t=!1)}}),t}getVisitor(e){return this.options.controlFlowFlattening&&e===h.NodeTransformationStage.ControlFlowFlattening?{leave:(e,t)=>{if(t&&b.NodeGuards.isBlockStatementNode(e))return this.transformNode(e,t)}}:null}transformNode(e,t){if(this.randomGenerator.getMathRandom()>this.options.controlFlowFlatteningThreshold||!i.canTransformBlockStatementNode(e))return e;const r=e.body,n=this.arrayUtils.createWithRange(r.length),a=this.arrayUtils.shuffle(n),o=new Map(a.map((e,t)=>[e,t])),s=n.map(e=>o.get(e)),c=this.controlFlowCustomNodeFactory(m.ControlFlowCustomNode.BlockStatementControlFlowFlatteningNode);c.initialize(r,a,s);const d=c.getNode()[0];return y.NodeUtils.parentizeNode(d,t),d}};t.BlockStatementControlFlowTransformer=v,t.BlockStatementControlFlowTransformer=v=i=s([(0,u.injectFromBase)(),(0,u.injectable)(),l(0,(0,u.inject)(f.ServiceIdentifiers.Factory__IControlFlowCustomNode)),l(1,(0,u.inject)(f.ServiceIdentifiers.IArrayUtils)),l(2,(0,u.inject)(f.ServiceIdentifiers.IRandomGenerator)),l(3,(0,u.inject)(f.ServiceIdentifiers.IOptions)),d("design:paramtypes",[Function,Object,Object,Object])],v)},6782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default