javascript-obfuscator
Version:
JavaScript obfuscator
2 lines • 1.59 MB
JavaScript
/*! For license information please see index.browser.js.LICENSE.txt */
!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},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},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)},u=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 d=r(71519),l=r(32287),f=s(r(34608)),p=r(18436),m=r(76893),h=r(23615),g=r(50027);let y=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=y,t.VariableDeclarationsMergeTransformer=y=o([(0,d.injectable)(),u(0,(0,d.inject)(l.ServiceIdentifiers.IRandomGenerator)),u(1,(0,d.inject)(l.ServiceIdentifiers.IOptions)),c("design:paramtypes",[Object,Object])],y)},1555:function(e,t,r){"use strict";var n=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.named=function(e){return(0,c.createTaggedDecorator)(new s.Metadata(o.NAMED_TAG,e))};var o=a(r(2006)),s=r(14425),c=r(24157)},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,u=function(){return e()+(e()||"");function e(){return c<o.length?o[c++]:void 0}},d=1,l=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(d<e.generatedLine)){var t=(r=o[c]||"").substr(0,e.generatedColumn-l);return o[c]=r.substr(e.generatedColumn-l),l=e.generatedColumn,p(f,t),void(f=e)}p(f,u()),d++,l=0}for(;d<e.generatedLine;)n.add(u()),d++;if(l<e.generatedColumn){var r=o[c]||"";n.add(r.substr(0,e.generatedColumn)),o[c]=r.substr(e.generatedColumn),l=e.generatedColumn}f=e},this),c<o.length&&(f&&p(f,u()),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 u=0,d=e.length;u<d;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===d?(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;return(0,n.default)(e),t.loose?(0,i.default)(c,e.toLowerCase()):(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},2006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NON_CUSTOM_TAG_KEYS=t.PRE_DESTROY=t.POST_CONSTRUCT=t.DESIGN_PARAM_TYPES=t.PARAM_TYPES=t.TAGGED_PROP=t.TAGGED=t.MULTI_INJECT_TAG=t.INJECT_TAG=t.OPTIONAL_TAG=t.UNMANAGED_TAG=t.NAME_TAG=t.NAMED_TAG=void 0,t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct",t.PRE_DESTROY="pre_destroy",t.NON_CUSTOM_TAG_KEYS=[t.INJECT_TAG,t.MULTI_INJECT_TAG,t.NAME_TAG,t.UNMANAGED_TAG,t.NAMED_TAG,t.OPTIONAL_TAG]},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(71519),s=r(32287),c=r(96390),u=r(18436),d=r(68736),l=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===u.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;for(let n=r.length-1;n>=0;n--){const i=r[n],a=this.getUpperStringArrayCallsWrapperData(t);this.getAndAppendStringArrayScopeCallsWrapperNode(e,i,a)}}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,u=null!==(i=null===(n=null==c?void 0:c[a])||void 0===n?void 0:n.scopeCallsWrappersData)&&void 0!==i?i:null;return(null==u?void 0:u.length)?this.randomGenerator.getRandomGenerator().pickone(u):o}getAndAppendStringArrayScopeCallsWrapperNode(e,t,r){let n;switch(this.options.stringArrayWrappersType){case l.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 l.StringArrayWrappersType.Variable:default:n=this.getStringArrayScopeCallsWrapperVariableNode(t,r),p.NodeAppender.prepend(e,n)}}getStringArrayScopeCallsWrapperVariableNode(e,t){const r=this.stringArrayTransformerCustomNodeFactory(d.StringArrayCustomNode.StringArrayScopeCallsWrapperVariableNode);return r.initialize(e,t),r.getNode()}getStringArrayScopeCallsWrapperFunctionNode(e,t){const r=this.stringArrayTransformerCustomNodeFactory(d.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.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)},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}),u=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.CallsGraphAnalyzer=void 0;const l=r(71519),f=r(32287),p=c(r(34608)),m=r(12505),h=r(23615),g=r(50027);let y=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=y,y.calleeDataExtractorsList=[m.CalleeDataExtractor.FunctionDeclarationCalleeDataExtractor,m.CalleeDataExtractor.FunctionExpressionCalleeDataExtractor,m.CalleeDataExtractor.ObjectExpressionCalleeDataExtractor],y.limitThresholdActivationLength=25,y.limitThreshold=.002,t.CallsGraphAnalyzer=y=i=s([(0,l.injectable)(),d(0,(0,l.inject)(f.ServiceIdentifiers.Factory__ICalleeDataExtractor)),u("design:paramtypes",[Function])],y)},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(71519),s=r(32287),c=r(10548),u=r(83404),d=r(88318),l=r(25120);let f=class extends d.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 l.NodeUtils.convertCodeToStructure(e)}getCodeHelperTemplate(){return this.customCodeHelperFormatter.formatTemplate((0,u.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.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},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},3196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){return(0,i.default)(t),null!=r&&r.eui&&(r.eui=String(r.eui)),null!=r&&r.no_colons||null!=r&&r.no_separators?"48"===r.eui?o.test(t):"64"===r.eui?u.test(t):o.test(t)||u.test(t):"48"===(null==r?void 0:r.eui)?a.test(t)||s.test(t):"64"===(null==r?void 0:r.eui)?c.test(t)||d.test(t):e(t,{eui:"48"})||e(t,{eui:"64"})};var n,i=(n=r(83399))&&n.__esModule?n:{default:n},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})$/,u=/^([0-9a-fA-F]){16}$/,d=/^([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){return Reflect.getMetadata(t,e)}},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(71519),c=r(32287),u=r(34003),d=r(32504);let l=n=class extends u.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(){const e=this.options.identifiersPrefix?`${this.options.identifiersPrefix}`:"",t=this.generateNewDictionaryName(t=>{const r=`${e}${t}`;return this.isValidIdentifierName(r)}),r=`${e}${t}`;return this.preserveName(r),r}generateForLexicalScope(e){const t=[e,...d.NodeLexicalScopeUtils.getLexicalScopes(e)],r=this.generateNewDictionaryName(e=>this.isValidIdentifierNameInLexicalScopes(e,t));return this.preserveNameForLexicalScope(r,e),r}generateForLabel(e){return this.generateNewDictionaryName()}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=l,t.DictionaryIdentifierNamesGenerator=l=n=i([(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])],l)},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),u=r(60056),d=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:[d.StringArrayIndexesType.HexadecimalNumber],stringArrayIndexShift:!1,stringArrayWrappersChainedCalls:!1,stringArrayWrappersCount:0,stringArrayWrappersParametersMaxCount:2,stringArrayWrappersType:u.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(71519),s=r(32287),c=r(96390),u=r(18436),d=r(21818),l=r(23615),f=r(91363),p=r(25120);let m=class extends d.AbstractStatementSimplifyTransformer{constructor(e,t){super(e,t),this.runAfter=[c.NodeTransformer.VariableDeclarationsMergeTransformer]}getVisitor(e){return e===u.NodeTransformationStage.Simplifying?{leave:(e,t)=>{if(t&&l.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=l.NodeGuards.isBlockStatementNode(n)?n:f.NodeFactory.blockStatementNode([n]);return p.NodeUtils.parentizeNode(i,t)}};t.BlockStatementSimplifyTransformer=m,t.BlockStatementSimplifyTransformer=m=n([(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)},u=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 d=r(71519),l=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,d.injectable)(),u(0,(0,d.inject)(l.ServiceIdentifiers.Factory__INodeTransformer)),u(1,(0,d.inject)(l.ServiceIdentifiers.INodeTransformerNamesGroupsBuilder)),c("design:paramtypes",[Function,Object])],g)},5265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyServiceIdentifier=void 0;const n=r(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return n.LazyServiceIdentifier}})},5502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalVariableServiceWorkerTemplate=function(){return"const that = typeof global === 'object' ? global : this;"}},5643:function(e,t,r){"use strict";var n=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getFunctionName=void 0,t.getDependencies=function(e,t){return(0,o.getTargets)(e)(t)},t.getBaseClassDependencyCount=function e(t,r){var n=Object.getPrototypeOf(r.prototype).constructor;if(n!==Object){var i=(0,o.getTargets)(t)(n),a=i.map(function(e){return e.metadata.filter(function(e){return e.key===s.UNMANAGED_TAG})}),c=[].concat.apply([],a).length,u=i.length-c;return u>0?u:e(t,n)}return 0};var o=r(69687),s=a(r(2006)),c=r(92172);Object.defineProperty(t,"getFunctionName",{enumerable:!0,get:function(){return c.getFunctionName}})},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,l),!(0,a.default)(e,","))return!1;var r=e.split(",");return!(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))&&(t.checkDMS?u.test(r[0])&&d.test(r[1]):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+)?)\)?$/,u=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,d=/^\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,l={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},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(71519),s=r(32287),c=r(11440);let u=class extends c.MapStorage{constructor(e,t,r){super(e,t),this.identifierNamesGenerator=r(t)}};t.FunctionControlFlowStorage=u,t.FunctionControlFlowStorage=u=n([(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])],u)},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(71519),s=r(32287),c=r(10548),u=r(71780),d=r(88318),l=r(25120);let f=class extends d.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 l.NodeUtils.convertCodeToStructure(e)}getCodeHelperTemplate(){const e=l.NodeUtils.convertStructureToCode([this.comparisonExpressionNode]);return this.customCodeHelperFormatter.formatTemplate((0,u.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.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)},6596:function(e,t,r){"use strict";var n=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.tryAndThrowErrorIfStackOverflow=void 0,t.isStackOverflowException=s;var o=a(r(95507));function s(e){return e instanceof RangeError||e.message===o.STACK_OVERFLOW}t.tryAndThrowErrorIfStackOverflow=function(e,t){try{return e()}catch(e){if(s(e))throw t();throw e}}},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}),u=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.BlockStatementControlFlowTransformer=void 0;const l=r(71519),f=r(32287),p=c(r(34608)),m=r(96747),h=r(18436),g=r(76893),y=r(23615),b=r(25120);let S=i=class extends g.AbstractNodeTransformer{constructor(e,t,r,n){super(r,n),this.controlFlowCustomNodeFactory=e,this.arrayUtils=t}static isProhibitedStatementNode(e){const t=y.NodeGuards.isBreakStatementNode(e)||y.NodeGuards.isContinueStatementNode(e),r=y.NodeGuards.isVariableDeclarationNode(e)&&("const"===e.kind||"let"===e.kind),n=y.NodeGuards.isClassDeclarationNode(e);return y.NodeGuards.isFunctionDeclarationNode(e)||t||r||n}static canTransformBlockStatementNode(e){let t=!0;return p.traverse(e,{enter:e=>{if(y.NodeGuards.isWhileStatementNode(e))return p.VisitorOption.Skip;i.isProhibitedStatementNode(e)&&(t=!1)}}),e.body.length<=4&&(t=!1),t}getVisitor(e){return this.options.controlFlowFlattening&&e===h.NodeTransformationStage.ControlFlowFlattening?{leave:(e,t)=>{if(t&&y.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=n.map(e=>a.indexOf(e)),s=this.controlFlowCustomNodeFactory(m.ControlFlowCustomNode.BlockStatementControlFlowFlatteningNode);s.initialize(r,a,o);const c=s.getNode()[0];return b.NodeUtils.parentizeNode(c,t),c}};t.BlockStatementControlFlowTransformer=S,t.BlockStatementControlFlowTransformer=S=i=s([(0,l.injectable)(),d(0,(0,l.inject)(f.ServiceIdentifiers.Factory__IControlFlowCustomNode)),d(1,(0,l.inject)(f.ServiceIdentifiers.IArrayUtils)),d(2,(0,l.inject)(f.ServiceIdentifiers.IRandomGenerator)),d(3,(0,l.inject)(f.ServiceIdentifiers.IOptions)),u("design:paramtypes",[Function,Object,Object,Object])],S)},6782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach(function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))});var r="(".concat(e.symbol.replace(/\W/,function(e){return"\\".concat(e)}),")").concat(e.require_symbol?"":"?"),n="-?",i="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),a="(".concat(["0","[1-9]\\d*",i].join("|"),")?"),o="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),s=a+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?s+=n:e.negative_sign_before_digits&&(s=n+s)),e.allow_negative_sign_placeholder?s="( (?!\\-))?".concat(s):e.allow_space_after_symbol?s=" ?".concat(s):e.allow_space_after_digits&&(s+="( (?!$))?"),e.symbol_after_digits?s+=r:s=r+s,e.allow_negatives&&(e.parens_for_negatives?s="(\\(".concat(s,"\\)|").concat(s,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(s=n+s)),new RegExp("^(?!-? )(?=.*\\d)".concat(s,"$"))}(t=(0,n.default)(t,o)).test(e)};var n=a(r(93610)),i=a(r(83399));function a(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},6928: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.MangledShuffledIdentifierNamesGenerator=void 0;const s=r(71519),c=r(32287),u=r(23877),d=r(218),l=r(98376),f=r(68983);let p=n=class extends f.MangledIdentifierNamesGenerator{constructor(e,t,r,n){super(t,r,n),this.arrayUtils=e}initialize(){this.initializeNameSequence([...`${u.numbersString}`,...this.arrayUtils.shuffle([...`${d.alphabetString}${l.alphabetStringUppercase}`])])}initializeNameSequence(e){this.getNameSequence()||(n.shuffledNameSequence=e)}getNameSequence(){return n.shuffledNameSequence}};t.MangledShuffledIdentifierNamesGenerator=p,i([(0,s.postConstruct)(),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],p.prototype,"initialize",null),t.MangledShuffledIdentifierNamesGenerator=p=n=i([(0,s.injectable)(),o(0,(0,s.inject)(c.ServiceIdentifiers.IArrayUtils)),o(1,(0,s.inject)(c.ServiceIdentifiers.IRandomGenerator)),o(2,(0,s.inject)(c.ServiceIdentifiers.IOptions)),o(3,(0,s.inject)(c.ServiceIdentifiers.ISetUtils)),a("design:paramtypes",[Object,Object,Object,Object])],p)},7071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),l.test(e)};var n,i=(n=r(83399))&&n.__esModule?n:{default:n},a="(([a-zA-Z]{2,3}(-".concat("([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",")?)|([a-zA-Z]{5,8}))"),o="(".concat("(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])","(-[A-Za-z0-9]{2,8})+)"),s="(x(-[A-Za-z0-9]{1,8})+)",c="(".concat("((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))","|").concat("((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",")"),u="(-|_)",d="".concat(a,"(").concat(u).concat("([A-Za-z]{4})",")?(").concat(u).concat("([A-Za-z]{2}|\\d{3})",")?(").concat(u).concat("([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",")*(").concat(u).concat(o,")*(").concat(u).concat(s,")?"),l=new RegExp("(^".concat(s,"$)|(^").concat(c,"$)|(^").concat(d,"$)"));e.exports=t.default,e.exports.default=t.default},7155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.simplifyingTransformersModule=void 0;const n=r(71519),i=r(32287),a=r(96390),o=r(4533),s=r(60498),c=r(46183),u=r(1391);t.simplifyingTransformersModule=new n.ContainerModule(e=>{e(i.ServiceIdentifiers.INodeTransformer).to(o.BlockStatementSimplifyTransformer).whenTargetNamed(a.NodeTransformer.BlockStatementSimplifyTransformer),e(i.ServiceIdentifiers.INodeTransformer).to(s.ExpressionStatementsMergeTransformer).whenTargetNamed(a.NodeTransformer.ExpressionStatementsMergeTransformer),e(i.ServiceIdentifiers.INodeTransformer).to(c.IfStatementSimplifyTransformer).whenTargetNamed(a.NodeTransformer.IfStatementSimplifyTransformer),e(i.ServiceIdentifiers.INodeTransformer).to(u.VariableDeclarationsMergeTransformer).whenTargetNamed(a.NodeTransformer.VariableDeclarationsMergeTransformer)})},7520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassMetadataPropertiesFromMetadataReader=function(e,t){const r=t.getPropertiesMetadata(e),i=new Map;for(const t of Reflect.ownKeys(r)){const a=r[t];i.set(t,(0,n.getPropertyMetadataFromLegacyMetadata)(e,t,a))}return i};const n=r(23498)},7673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(t=(0,i.default)(t,c)).crockford?s.test(e):!(e.length%8!=0||!o.test(e))};var n=a(r(83399)),i=a(r(93610));function a(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,c={crockford:!1};e.exports=t.default,e.exports.default=t.default},8156:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkvio