@atomicservice/ascf-toolkit 1.0.5-beta.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ascf-base/index.d.ts +14 -3
- package/lib/ascf-base/index.js +1 -1
- package/lib/ascf-common/index.d.ts +2 -0
- package/lib/ascf-common/index.js +1 -0
- package/lib/ascf-compiler/appjson-loader.js +1 -1
- package/lib/ascf-compiler/common/appjson-validator.js +1 -1
- package/lib/ascf-compiler/common/ascf-define.js +1 -0
- package/lib/ascf-compiler/common/beforeLoaderProcess.js +1 -0
- package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
- package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
- package/lib/ascf-compiler/common/exp-utils.js +1 -1
- package/lib/ascf-compiler/common/hash-sum.js +1 -1
- package/lib/ascf-compiler/common/hdc-executor.js +1 -1
- package/lib/ascf-compiler/common/hjs-utils.js +1 -1
- package/lib/ascf-compiler/common/hxml-validator.js +1 -1
- package/lib/ascf-compiler/common/logUndefined.js +1 -1
- package/lib/ascf-compiler/common/manifest-handler.js +1 -1
- package/lib/ascf-compiler/common/manifest-manager.js +1 -1
- package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
- package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
- package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
- package/lib/ascf-compiler/common/utils.js +1 -1
- package/lib/ascf-compiler/css-process-loader.js +1 -1
- package/lib/ascf-compiler/extract-loader.js +1 -1
- package/lib/ascf-compiler/hcss-loader.js +1 -1
- package/lib/ascf-compiler/hjs-loader.js +1 -1
- package/lib/ascf-compiler/hxml-loader.js +1 -1
- package/lib/ascf-compiler/js-parser/parser-babel.js +1 -1
- package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
- package/lib/ascf-compiler/js-parser/parser.js +1 -1
- package/lib/ascf-compiler/loader-utils.js +1 -1
- package/lib/ascf-compiler/path-process-loader.js +1 -1
- package/lib/ascf-compiler/plugin/before-loader-plugin.js +1 -0
- package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/dynamic-entry-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/quick-service-build-plugin.js +1 -0
- package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
- package/lib/ascf-compiler/require-loader.js +1 -1
- package/lib/ascf-compiler/server/dev-server.js +1 -1
- package/lib/ascf-compiler/server/port-manager.js +1 -1
- package/lib/ascf-compiler/swc-loader.js +1 -1
- package/lib/ascf-compiler/template/attr-utils.js +1 -1
- package/lib/ascf-compiler/template/implicit-model-config.js +1 -1
- package/lib/ascf-compiler/template/node-name-utils.js +1 -1
- package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
- package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -1
- package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
- package/lib/ascf-compiler/web.webpack.config.js +1 -1
- package/lib/ascf-converter/common/commonConfig.js +1 -1
- package/lib/ascf-converter/common/commonUtils.js +1 -1
- package/lib/ascf-converter/common/path-validator.js +1 -1
- package/lib/ascf-converter/common/textDocument.js +1 -1
- package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
- package/lib/ascf-converter/convertManager.js +1 -1
- package/lib/ascf-converter/features/converter.js +1 -1
- package/lib/ascf-converter/features/fileHandle.js +1 -1
- package/lib/ascf-converter/features/transformReport.js +1 -1
- package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
- package/lib/ascf-converter/parse/babelParser.js +1 -1
- package/lib/ascf-converter/parse/importVisitor.js +1 -1
- package/lib/ascf-converter/parse/wxssParser.js +1 -1
- package/lib/ascf-converter/report/js/index.js +1 -1
- package/lib/ascf-sign-tools/cli.d.ts +1 -0
- package/lib/ascf-sign-tools/cli.js +2 -0
- package/lib/ascf-sign-tools/index.d.ts +17 -0
- package/lib/ascf-sign-tools/index.js +1 -0
- package/lib/bin/ascf.js +1 -1
- package/lib/commands/ascfbuild/index.js +1 -1
- package/lib/commands/build-npm/index.js +1 -1
- package/lib/commands/compile.js +1 -0
- package/lib/commands/convert.js +1 -0
- package/lib/commands/debugger/index.js +1 -1
- package/lib/commands/quickservice/index.js +1 -0
- package/lib/common/config.js +1 -1
- package/lib/common/constants.js +1 -0
- package/lib/common/log4js.js +1 -1
- package/lib/common/logger-plugin.js +1 -1
- package/lib/common/remove-strict-mode-plugin.js +1 -1
- package/lib/common/string-utils.js +1 -1
- package/lib/common/utils.js +1 -1
- package/lib/common/version-check.js +1 -1
- package/lib/index.js +1 -1
- package/lib/tools/release_64/SSL/ct_log_list.cnf +9 -0
- package/lib/tools/release_64/SSL/ct_log_list.cnf.dist +9 -0
- package/lib/tools/release_64/SSL/misc/CA.pl +215 -0
- package/lib/tools/release_64/SSL/misc/tsget.pl +200 -0
- package/lib/tools/release_64/SSL/openssl.cnf +350 -0
- package/lib/tools/release_64/SSL/openssl.cnf.dist +350 -0
- package/lib/tools/release_64/bin/c_rehash.pl +251 -0
- package/lib/tools/release_64/bin/libcrypto-1_1-x64.dll +0 -0
- package/lib/tools/release_64/bin/libssl-1_1-x64.dll +0 -0
- package/lib/tools/release_64/bin/openssl.exe +0 -0
- package/package.json +25 -21
- package/lib/ascf-compiler/watch/watch.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x1b051f=_0x33bd;function _0x5d30(){var e=["end","replaceAll","1025969SsLtAP","prototype","call","name","column","value","loc","2070008STxfbf","MemberExpression","$ascf","parse","1928410BNWdfm","5748165ZmwOFq","ascfLazyImportFiles","hasInterface","listKey","body","../common/exp-utils","configs","parent","hjsMod","@babel/core","11635496oLMjYk","params","hasOwnProperty","@babel/parser","length","start","18IFLYkK","scope","getRegExp","argument","err","callee","@babel/traverse","param","INNER_FUNC_LIST","isHjs","node","add","deepClone","default","REQUIRE","../common/utils","@babel/generator","replaceWith","require","object","block","keys","ArrowFunctionExpression","extra","1231680XQcvIG","getStatementParent","handler","source","normalizedAbsPath","includes","ASCF_LAZY_IMPORT_ERR","raw","async","push","CATCH_FUNC","FunctionExpression","slice","key","12ggKslR","Identifier","161028QVTlYc","type","Import","REQUIRE_TRY_CATCH","arguments","constructor","prefix","expression","getOwnBinding","program","parentPath","property"];return(_0x5d30=function(){return e})()}function _0x33bd(e,r){var n=_0x5d30();return(_0x33bd=function(e,r){return n[e-=446]})(e,r)}(()=>{for(var e=_0x33bd,r=_0x5d30();;)try{if(627454==-parseInt(e(498))+parseInt(e(457))/2+-parseInt(e(514))/3+-parseInt(e(453))/4+-parseInt(e(458))/5+-parseInt(e(512))/6*(parseInt(e(446))/7)+-parseInt(e(468))/8*(-parseInt(e(474))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var core=require(_0x1b051f(467)),traverse=require(_0x1b051f(480)).default,generate=require(_0x1b051f(490))[_0x1b051f(487)],parser=require(_0x1b051f(471)),utils=require(_0x1b051f(489)),stringUtils=require("../../common/string-utils"),_require=require(_0x1b051f(463)),CATCH_FUNC=_require[_0x1b051f(508)],INNER_FUNC_LIST=_require[_0x1b051f(482)],HJS_GET_CONSTRUCTOR=_require.HJS_GET_CONSTRUCTOR,ASCF_LAZY_IMPORT=_require.ASCF_LAZY_IMPORT,ASCF_LAZY_IMPORT_ERR=_require[_0x1b051f(504)],NEW_PROMISE=_require.NEW_PROMISE,REQUIRE_TRY_CATCH=_require[_0x1b051f(517)],REQUIRE=_require[_0x1b051f(488)],_require2=require(_0x1b051f(489)),normalizedAbsPath=_require2[_0x1b051f(502)],_require3=require("../../common/config"),configs=_require3[_0x1b051f(464)],CATCH_CALL_EXP=parser[_0x1b051f(456)](CATCH_FUNC)[_0x1b051f(523)][_0x1b051f(462)][0][_0x1b051f(521)],GET_CONSTRUCTOR_EXP=parser[_0x1b051f(456)](HJS_GET_CONSTRUCTOR)[_0x1b051f(523)][_0x1b051f(462)][0][_0x1b051f(521)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT)[_0x1b051f(523)].body[0][_0x1b051f(521)],ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x1b051f(523)][_0x1b051f(462)][0][_0x1b051f(521)],NEW_PROMISE_EXP=astParse(NEW_PROMISE).program.body[0].expression,REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH)[_0x1b051f(523)][_0x1b051f(462)][0],REQUIRE_EXP=astParse(REQUIRE)[_0x1b051f(523)][_0x1b051f(462)][0][_0x1b051f(521)];function astParse(e){var r=1<arguments[_0x1b051f(472)]&&void 0!==arguments[1]?arguments[1]:{};return core.parse(e,r)}function getI18NDupKeyLoc(t,a,e,r){return{ObjectProperty:function(e){var r,n=_0x33bd,e=e[n(484)];e.key[n(451)]===a&&(r=e[n(452)][n(473)].line-1,e=e[n(452)][n(473)].column,t[n(507)]({line:r,column:e}))}}}function getPathProcessVistor(t){return Object.assign({},{ImportDeclaration:function(e){var r=_0x33bd,n=e.node[r(501)].value;e[r(484)][r(501)].value=t(n)},CallExpression:function(e){var r,n=_0x33bd;e[n(484)][n(479)]&&e[n(484)][n(518)]&&(e[n(484)][n(479)][n(449)]===n(492)||e[n(484)][n(479)][n(515)]===n(516))&&1===e.node.arguments[n(472)]&&(r=e[n(484)].arguments[0][n(451)])&&(e[n(484)][n(518)][0][n(451)]=t(r)),e[n(484)][n(479)][n(449)]===n(476)&&(e=(r=e[n(484)][n(518)][0])[n(497)]&&r[n(497)][n(505)].slice(1,-1))&&(r[n(451)]=e)},StringLiteral:function(e){var r=_0x33bd;e[r(484)][r(451)]=e[r(484)].extra[r(505)][r(510)](1,-1)}})}function getConstructorProcessVistor(){return{MemberExpression:function(e){var r=_0x33bd,n=e[r(484)],t=n.object,n=n[r(525)];(null==n?void 0:n[r(515)])===r(513)&&(null==n?void 0:n[r(449)])===r(519)&&((n=utils[r(486)](GET_CONSTRUCTOR_EXP))[r(518)][1]=t,e[r(491)](n))}}}function addCatchStatement(e,r){var n=_0x1b051f,t=e[n(484)];t.visited||(r(t),r=stringUtils[n(527)]((t.object||{})[n(449)],n(455),""),INNER_FUNC_LIST.includes(r))||((r=utils[n(486)](CATCH_CALL_EXP)).callee.body[n(462)][0][n(494)][n(462)][0][n(477)]=t,e.parent&&(e[n(461)]?e[n(465)][e[n(461)]][e[n(511)]]=r:e[n(465)][e.key]=r))}function isParameter(e,r){var n=_0x1b051f;return"FunctionExpression"===r[n(465)][n(515)]&&r[n(461)]&&r.parent[r[n(461)]]&&e===r[n(465)][r[n(461)]][r[n(511)]][n(449)]||"CatchClause"===r[n(465)].type||r.parent[n(515)]===n(509)&&"id"===r[n(511)]}function hasOwnBinding(e,n){var t=_0x1b051f,a=!1;return e[t(499)]().findParent(function(e){var r=t;a||e[r(475)][r(522)](n)&&(a=!0)}),a}function getTrustListVerifyVisitor(t,a,e,r){return{MemberExpression:function(e){var r,n=_0x33bd;e[n(484)][n(493)]&&e[n(484)][n(493)][n(449)]===t[n(520)]&&e[n(484)][n(493)][n(515)]===n(513)&&null!=(r=e[n(484)].property)&&r.name&&!hasOwnBinding(e,e.node[n(493)][n(449)])&&a[n(507)]({type:n(460),module:e[n(484)][n(493)].name,moduleRange:{start:{line:e.node.object[n(452)][n(473)].line,column:e.node[n(493)][n(452)][n(473)][n(450)]},end:{line:e[n(484)][n(493)][n(452)][n(526)].line,column:e[n(484)][n(493)][n(452)][n(526)][n(450)]}},property:e[n(484)][n(493)].name+"."+e[n(484)][n(525)][n(449)]})}}}function isHjs(e,r,n){var t=_0x1b051f;e[t(515)]===t(454)&&r[t(503)](e.object[t(449)])&&(n[t(466)]=e[t(493)].name,n[t(483)]=!0)}function requireHandler(i,o,l,u,_){return{CallExpression:function(e){var r,n,t,a,s=_0x33bd;e[s(484)][s(518)]&&(null==(a=e[s(484)][s(479)])?void 0:a.name)===s(492)&&1<e[s(484)][s(518)].length?(a=e.node.arguments[0],t=e[s(484)][s(518)][1],r=e[s(484)].arguments[2]||{},!0===(n=i(o,a[s(451)],l,_))?syncCallBackRequire(a,t,r,e):handleCallBackRequire(a,n,u,r,t,e)):e[s(484)][s(518)]&&(null==(a=e.node[s(479)])?void 0:a[s(515)])===s(454)&&(null==(n=e[s(484)][s(479)][s(493)])?void 0:n[s(515)])===s(513)&&e[s(484)].callee.object[s(449)]===s(492)&&"async"===(null==(r=e[s(484)].callee.property)?void 0:r.name)&&(t=e[s(484)][s(518)][0],!0===(a=i(o,t[s(451)],l,_))?syncAsyncRequire(t,e):handleAsyncRequire(t,a,u,e))},AwaitExpression:function(e){var r,n,t,a=_0x33bd;(null==(r=e.node.argument)||null==(r=r[a(479)])?void 0:r.type)===a(454)&&"require"===(null==(r=e[a(484)][a(477)][a(479)].object)?void 0:r[a(449)])&&(null==(r=e.node.argument[a(479)][a(525)])?void 0:r[a(449)])===a(506)&&((r=utils[a(486)](NEW_PROMISE_EXP))[a(477)][a(518)][0][a(462)][a(462)][0][a(521)].callee[a(493)].callee.object=e.node[a(477)],t=(n={node:e[a(484)][a(477)]})[a(484)][a(518)][0],!0===i(o,t[a(451)],l,_)?syncAwaitRequire(t,e):(r.argument[a(518)][0][a(462)][a(462)][0][a(521)].callee[a(493)][a(479)].object=requireAsync(n,i,o,l,u,_),e[a(491)](r)))}}}function requireAsync(e,r,n,t,a,s){var i=_0x1b051f,e=e.node[i(518)][0],o=utils.deepClone(ASCF_LAZY_IMPORT_EXP[i(479)].object[i(479)][i(493)]),l=utils[i(486)](e);return e[i(451)]=r(n,e[i(451)],t,s),l.value=normalizedAbsPath(e[i(451)]),Object[i(447)][i(470)].call(configs[i(459)],a)||(configs[i(459)][a]=new Set),configs[i(459)][a][i(485)](l.value),o[i(518)][0][i(462)][i(518)]=[l],o.callee.object.arguments=[e],o}function handleCallBackRequire(e,r,n,t,a,s){var i=_0x1b051f,o=utils[i(486)](ASCF_LAZY_IMPORT_EXP),l=utils.deepClone(ASCF_LAZY_IMPORT_ERR_EXP),u=utils.deepClone(e);e[i(451)]=r,u[i(451)]=normalizedAbsPath(e[i(451)]),Object[i(447)][i(470)].call(configs[i(459)],n)||(configs[i(459)][n]=new Set),configs[i(459)][n].add(u[i(451)]),o.arguments[0]=0===Object[i(495)](t).length?l:t,o[i(479)].object[i(518)]=[a],o[i(479)].object.callee[i(493)][i(518)][0][i(462)][i(518)]=[u],o.callee[i(493)].callee[i(493)][i(479)].object[i(518)]=[e],s[i(491)](o)}function syncCallBackRequire(e,r,n,t){var a=_0x1b051f,s=utils[a(486)](REQUIRE_EXP),e=(s[a(518)][0]=utils.deepClone(e),utils[a(486)](REQUIRE_TRY_CATCH_EXP));e[a(494)][a(462)][0].expression.callee=r,e[a(494)][a(462)][0][a(521)][a(518)][0]=s,e.handler[a(481)][a(449)]=0===Object[a(495)](n)[a(472)]?a(478):n[a(469)][0].name,0===Object.keys(n)[a(472)]?e[a(500)].body[a(462)][0][a(521)].callee[a(462)][a(462)][0][a(521)]=utils.deepClone(ASCF_LAZY_IMPORT_ERR_EXP):e[a(500)].body[a(462)][0][a(521)][a(479)]=n[a(521)],e[a(500)][a(462)][a(462)][0][a(521)][a(518)][0][a(449)]=0===Object.keys(n).length?a(478):n[a(469)][0].name,t[a(491)](e)}function handleAsyncRequire(e,r,n,t){var a=_0x1b051f,r=(e[a(451)]=r,utils[a(486)](ASCF_LAZY_IMPORT_EXP[a(479)][a(493)][a(479)][a(493)])),s=utils[a(486)](e);s.value=normalizedAbsPath(e[a(451)]),Object[a(447)][a(470)][a(448)](configs[a(459)],n)||(configs[a(459)][n]=new Set),configs.ascfLazyImportFiles[n][a(485)](s.value),r[a(518)][0][a(462)][a(518)]=[s],r.callee[a(493)][a(518)]=[e],t[a(491)](r)}function syncAsyncRequire(e,r){var n=_0x1b051f,t=utils.deepClone(REQUIRE_EXP),e=(t.arguments[0]=utils[n(486)](e),{}),a={},s=("ArrowFunctionExpression"===(null==(s=r.parentPath[n(524)][n(484)][n(518)])||null==(s=s[0])?void 0:s[n(515)])&&(e=r.parentPath[n(524)].node[n(518)][0]),(null==(s=r.parentPath.parentPath.parentPath[n(524)][n(484)][n(518)])||null==(s=s[0])?void 0:s.type)===n(496)&&(a=null==(s=r.parentPath.parentPath[n(524)][n(524)].node.arguments)?void 0:s[0]),utils[n(486)](REQUIRE_TRY_CATCH_EXP));s.block[n(462)][0][n(521)].callee=e,s[n(494)].body[0].expression[n(518)][0]=t;(0===Object[n(495)](a)[n(472)]?(s.handler[n(481)][n(449)]="err",s.handler[n(462)].body[0][n(521)][n(479)]=utils[n(486)](ASCF_LAZY_IMPORT_ERR_EXP),s[n(500)][n(462)][n(462)][0][n(521)][n(518)][0][n(449)]=n(478),r):(s[n(500)][n(481)]=a[n(469)][0],s[n(500)][n(462)][n(462)][0][n(521)].callee=a,s[n(500)][n(462)].body[0].expression[n(518)]=a.params,r[n(524)][n(524)]))[n(524)][n(524)].replaceWith(s)}function syncAwaitRequire(e,r){var n=_0x1b051f,t=utils.deepClone(REQUIRE_EXP);t[n(518)][0]=utils[n(486)](e),r[n(491)](t)}module.exports={core:core,astParse:astParse,parser:parser,traverse:traverse,generate:generate,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
1
|
+
var _0x588994=_0x1748,core=((()=>{for(var e=_0x1748,r=_0x1bd0();;)try{if(991728==+parseInt(e(355))+parseInt(e(356))/2*(parseInt(e(308))/3)+-parseInt(e(363))/4*(-parseInt(e(304))/5)+parseInt(e(324))/6+parseInt(e(361))/7*(-parseInt(e(375))/8)+parseInt(e(302))/9*(-parseInt(e(365))/10)+-parseInt(e(372))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require(_0x588994(377))),traverse=require(_0x588994(329))[_0x588994(383)],generate=require(_0x588994(370))[_0x588994(383)],parser=require(_0x588994(364)),utils=require(_0x588994(332)),stringUtils=require(_0x588994(325)),_require=require(_0x588994(367)),CATCH_FUNC=_require[_0x588994(316)],INNER_FUNC_LIST=_require[_0x588994(345)],HJS_GET_CONSTRUCTOR=_require.HJS_GET_CONSTRUCTOR,ASCF_LAZY_IMPORT=_require[_0x588994(373)],ASCF_LAZY_IMPORT_ERR=_require.ASCF_LAZY_IMPORT_ERR,NEW_PROMISE=_require[_0x588994(305)],REQUIRE_TRY_CATCH=_require[_0x588994(366)],REQUIRE=_require[_0x588994(309)],_require2=require(_0x588994(332)),normalizedAbsPath=_require2.normalizedAbsPath,_require3=require(_0x588994(339)),configs=_require3.configs,CATCH_CALL_EXP=parser[_0x588994(376)](CATCH_FUNC)[_0x588994(327)][_0x588994(312)][0][_0x588994(360)],GET_CONSTRUCTOR_EXP=parser[_0x588994(376)](HJS_GET_CONSTRUCTOR).program.body[0][_0x588994(360)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT).program.body[0][_0x588994(360)],ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x588994(327)].body[0][_0x588994(360)],NEW_PROMISE_EXP=astParse(NEW_PROMISE)[_0x588994(327)][_0x588994(312)][0][_0x588994(360)],REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH)[_0x588994(327)][_0x588994(312)][0],REQUIRE_EXP=astParse(REQUIRE).program[_0x588994(312)][0][_0x588994(360)],PROMISE_EXP=astParse(_0x588994(369))[_0x588994(327)][_0x588994(312)][0][_0x588994(360)];function astParse(e){return core.parse(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})}function getI18NDupKeyLoc(n,a,e,r){return{ObjectProperty:function(e){var r,t=_0x1748,e=e[t(303)];e[t(385)][t(307)]===a&&(r=e[t(336)][t(379)][t(349)]-1,e=e[t(336)].start[t(326)],n[t(346)]({line:r,column:e}))}}}function _0x1bd0(){var e=["block","prefix","CATCH_FUNC","source","arguments","object","property","deepClone","Identifier","call","7020666uXoljC","../../common/string-utils","column","program","err","@babel/traverse","hasOwnProperty","listKey","../common/utils","callee","type","isHjs","loc","ascfLazyImportFiles","async","../../common/config","keys","MemberExpression","end","$ascf","parent","INNER_FUNC_LIST","push","param","slice","line","name","visited","raw","length","hjsMod","1268794SmfAkA","649836YaydAi","prototype","constructor","includes","expression","691831uPoqQD","FunctionExpression","76568YJUWVI","@babel/parser","17880Kpfkjy","REQUIRE_TRY_CATCH","../common/exp-utils","assign","Promise.resolve(__webpack_require__(p1))","@babel/generator","params","5606238ahfRDZ","ASCF_LAZY_IMPORT","require","56AXFiBN","parse","@babel/core","getStatementParent","start","replaceWith","add","extra","default","Import","key","9513MADcDi","node","90YpWGJJ","NEW_PROMISE","CatchClause","value","12Iwcewa","REQUIRE","replaceAll","handler","body","argument"];return(_0x1bd0=function(){return e})()}function getPathProcessVistor(n){var a=_0x588994;return Object[a(368)]({},{ImportDeclaration:function(e){var r=a,t=e.node.source[r(307)];e[r(303)][r(317)][r(307)]=n(t)},CallExpression:function(e){var r,t=a;e[t(303)][t(333)]&&e[t(303)][t(318)]&&(e.node[t(333)].name===t(374)||e[t(303)][t(333)].type===t(384))&&1===e.node[t(318)].length&&(r=e[t(303)][t(318)][0][t(307)])&&(e[t(303)][t(318)][0][t(307)]=n(r)),"getRegExp"===e[t(303)][t(333)].name&&(e=(r=e[t(303)][t(318)][0])[t(382)]&&r[t(382)].raw.slice(1,-1))&&(r.value=e)},StringLiteral:function(e){var r=a;e[r(303)][r(307)]=e.node[r(382)][r(352)][r(348)](1,-1)}})}function getConstructorProcessVistor(){return{MemberExpression:function(e){var r=_0x1748,t=e[r(303)],n=t[r(319)],t=t.property;(null==t?void 0:t[r(334)])===r(322)&&(null==t?void 0:t.name)===r(358)&&((t=utils[r(321)](GET_CONSTRUCTOR_EXP))[r(318)][1]=n,e[r(380)](t))}}}function addCatchStatement(e,r){var t=_0x588994,n=e[t(303)];n[t(351)]||(r(n),r=stringUtils[t(310)]((n[t(319)]||{})[t(350)],t(343),""),INNER_FUNC_LIST[t(359)](r))||((r=utils.deepClone(CATCH_CALL_EXP))[t(333)].body[t(312)][0][t(314)][t(312)][0][t(313)]=n,e[t(344)]&&(e[t(331)]?e[t(344)][e[t(331)]][e.key]=r:e.parent[e[t(385)]]=r))}function isParameter(e,r){var t=_0x588994;return r[t(344)][t(334)]===t(362)&&r[t(331)]&&r.parent[r[t(331)]]&&e===r.parent[r[t(331)]][r[t(385)]][t(350)]||r[t(344)].type===t(306)||r[t(344)][t(334)]===t(362)&&"id"===r[t(385)]}function hasOwnBinding(e,r){var t=!1;return e[_0x588994(378)]().findParent(function(e){t||e.scope.getOwnBinding(r)&&(t=!0)}),t}function getTrustListVerifyVisitor(n,a,e,r){return{MemberExpression:function(e){var r,t=_0x1748;e[t(303)][t(319)]&&e.node[t(319)][t(350)]===n[t(315)]&&"Identifier"===e[t(303)][t(319)].type&&null!=(r=e.node[t(320)])&&r[t(350)]&&!hasOwnBinding(e,e[t(303)].object[t(350)])&&a.push({type:"hasInterface",module:e[t(303)][t(319)].name,moduleRange:{start:{line:e[t(303)][t(319)][t(336)][t(379)][t(349)],column:e[t(303)].object[t(336)][t(379)][t(326)]},end:{line:e[t(303)][t(319)].loc[t(342)].line,column:e[t(303)][t(319)][t(336)][t(342)][t(326)]}},property:e.node[t(319)][t(350)]+"."+e[t(303)][t(320)].name})}}}function _0x1748(e,r){var t=_0x1bd0();return(_0x1748=function(e,r){return t[e-=302]})(e,r)}function isHjs(e,r,t){var n=_0x588994;"MemberExpression"===e[n(334)]&&r[n(359)](e[n(319)][n(350)])&&(t[n(354)]=e.object.name,t[n(335)]=!0)}function requireHandler(s,o,_,u,l){var c=5<arguments.length&&void 0!==arguments[5]&&arguments[5];return{CallExpression:function(e){var r,t,n,a,i=_0x1748;e[i(303)].arguments&&"require"===(null==(a=e.node.callee)?void 0:a[i(350)])&&1<e.node[i(318)][i(353)]?(a=e[i(303)][i(318)][0],n=e[i(303)][i(318)][1],r=e[i(303)].arguments[2]||{},!0===(t=s(o,a.value,_,l,c))?syncCallBackRequire(a,n,r,e):handleCallBackRequire(a,t,u,r,n,e)):e.node[i(318)]&&(null==(a=e[i(303)][i(333)])?void 0:a[i(334)])===i(341)&&"Identifier"===(null==(t=e[i(303)][i(333)][i(319)])?void 0:t[i(334)])&&"require"===e[i(303)][i(333)][i(319)][i(350)]&&(null==(r=e.node[i(333)].property)?void 0:r[i(350)])===i(338)&&(n=e[i(303)][i(318)][0],!0===(a=s(o,n[i(307)],_,l,c))?syncAsyncRequire(n,e):handleAsyncRequire(n,a,u,e))},AwaitExpression:function(e){var r,t,n,a=_0x1748;(null==(r=e[a(303)][a(313)])||null==(r=r.callee)?void 0:r[a(334)])===a(341)&&(null==(r=e[a(303)].argument[a(333)][a(319)])?void 0:r[a(350)])===a(374)&&"async"===(null==(r=e.node[a(313)].callee[a(320)])?void 0:r[a(350)])&&((r=utils.deepClone(NEW_PROMISE_EXP))[a(313)][a(318)][0][a(312)][a(312)][0][a(360)][a(333)][a(319)][a(333)][a(319)]=e[a(303)].argument,n=(t={node:e[a(303)][a(313)]})[a(303)].arguments[0],!0===s(o,n.value,_,l,c)?syncAwaitRequire(n,e):(r[a(313)].arguments[0].body.body[0][a(360)].callee[a(319)][a(333)][a(319)]=requireAsync(t,s,o,_,u,l,c),e[a(380)](r)))}}}function requireAsync(e,r,t,n,a,i,s){var o=_0x588994,e=e[o(303)].arguments[0],_=utils[o(321)](ASCF_LAZY_IMPORT_EXP[o(333)][o(319)].callee.object),u=utils[o(321)](e);return e[o(307)]=r(t,e[o(307)],n,i,s),u[o(307)]=normalizedAbsPath(e[o(307)]),Object[o(357)][o(330)][o(323)](configs[o(337)],a)||(configs[o(337)][a]=new Set),configs[o(337)][a][o(381)](u.value),_.arguments[0].body[o(318)]=[u],_[o(333)].object[o(318)]=[e],_}function handleCallBackRequire(e,r,t,n,a,i){var s=_0x588994,o=utils[s(321)](ASCF_LAZY_IMPORT_EXP),_=utils[s(321)](ASCF_LAZY_IMPORT_ERR_EXP),u=utils[s(321)](e);e.value=r,u[s(307)]=normalizedAbsPath(e.value),Object.prototype[s(330)].call(configs[s(337)],t)||(configs[s(337)][t]=new Set),configs[s(337)][t][s(381)](u[s(307)]),o[s(318)][0]=0===Object[s(340)](n).length?_:n,o[s(333)][s(319)][s(318)]=[a],o[s(333)][s(319)].callee[s(319)][s(318)][0][s(312)][s(318)]=[u],o[s(333)][s(319)][s(333)][s(319)][s(333)][s(319)][s(318)]=[e],i.replaceWith(o)}function syncCallBackRequire(e,r,t,n){var a=_0x588994,i=utils[a(321)](REQUIRE_EXP),e=(i[a(318)][0]=utils[a(321)](e),utils[a(321)](REQUIRE_TRY_CATCH_EXP));e[a(314)][a(312)][0][a(360)][a(333)]=r,e[a(314)][a(312)][0][a(360)][a(318)][0]=i,e.handler[a(347)][a(350)]=0===Object[a(340)](t)[a(353)]||0===t[a(371)].length?a(328):t.params[0][a(350)],0===Object[a(340)](t)[a(353)]?e.handler[a(312)][a(312)][0][a(360)][a(333)].body[a(312)][0][a(360)]=utils.deepClone(ASCF_LAZY_IMPORT_ERR_EXP):e[a(311)].body[a(312)][0][a(360)][a(333)]=t[a(360)],e.handler.body.body[0][a(360)].arguments[0].name=0===Object.keys(t).length||0===t[a(371)].length?a(328):t[a(371)][0][a(350)],n.replaceWith(e)}function handleAsyncRequire(e,r,t,n){var a=_0x588994,r=(e[a(307)]=r,utils[a(321)](ASCF_LAZY_IMPORT_EXP[a(333)][a(319)].callee.object)),i=utils[a(321)](e);i.value=normalizedAbsPath(e[a(307)]),Object[a(357)][a(330)].call(configs[a(337)],t)||(configs[a(337)][t]=new Set),configs.ascfLazyImportFiles[t][a(381)](i[a(307)]),r[a(318)][0].body.arguments=[i],r[a(333)][a(319)][a(318)]=[e],n[a(380)](r)}function syncAsyncRequire(e,r){var t=_0x588994,n=utils[t(321)](PROMISE_EXP);n[t(318)][0][t(318)][0]=utils[t(321)](e),r.replaceWith(n)}function syncAwaitRequire(e,r){var t=_0x588994,n=utils[t(321)](REQUIRE_EXP);n[t(318)][0]=utils[t(321)](e),r[t(380)](n)}module.exports={core:core,astParse:astParse,parser:parser,traverse:traverse,generate:generate,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x27db1c=_0x2c2e;function _typeof(e){var r=_0x2c2e;return(_typeof=r(206)==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){var n=r;return e&&n(206)==typeof Symbol&&e[n(158)]===Symbol&&e!==Symbol[n(159)]?n(172):typeof e})(e)}function _0x2c2e(e,n){var r=_0x4c0b();return(_0x2c2e=function(e,n){return r[e-=148]})(e,n)}(()=>{for(var e=_0x2c2e,n=_0x4c0b();;)try{if(747029==-parseInt(e(198))*(parseInt(e(233))/2)+-parseInt(e(229))/3+-parseInt(e(224))/4*(parseInt(e(148))/5)+parseInt(e(231))/6*(parseInt(e(219))/7)+parseInt(e(164))/8+parseInt(e(203))/9*(-parseInt(e(169))/10)+parseInt(e(183))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}})();var core=require("@swc/core"),utils=require("../common/utils"),_require=require(_0x27db1c(205)),CATCH_FUNC=_require.CATCH_FUNC,INNER_FUNC_LIST=_require[_0x27db1c(161)],HJS_GET_CONSTRUCTOR=_require[_0x27db1c(197)],ASCF_LAZY_IMPORT=_require.ASCF_LAZY_IMPORT,ASCF_LAZY_IMPORT_ERR=_require[_0x27db1c(152)],NEW_PROMISE=_require[_0x27db1c(214)],REQUIRE_TRY_CATCH=_require[_0x27db1c(209)],REQUIRE=_require.REQUIRE,REQUIRE_TRY_CATCH_FUL=_require[_0x27db1c(182)],stringUtils=require(_0x27db1c(168)),_require2=require(_0x27db1c(204)),normalizedAbsPath=_require2[_0x27db1c(160)],_require3=require(_0x27db1c(189)),configs=_require3[_0x27db1c(180)],CATCH_CALL_EXP=astParse(CATCH_FUNC)[_0x27db1c(178)][0][_0x27db1c(156)],GET_CONSTRUCTOR_EXP=astParse(HJS_GET_CONSTRUCTOR)[_0x27db1c(178)][0][_0x27db1c(156)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT).body[0].expression,ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x27db1c(178)][0].expression,NEW_PROMISE_EXP=astParse(NEW_PROMISE)[_0x27db1c(178)][0][_0x27db1c(156)],REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH)[_0x27db1c(178)][0],REQUIRE_EXP=astParse(REQUIRE)[_0x27db1c(178)][0][_0x27db1c(156)];function astParse(e){var n=_0x27db1c;return core[n(207)](e,{syntax:n(202)})}function traverse(e,l){function c(t){var n=_0x2c2e,e=1<arguments[n(196)]&&void 0!==arguments[1]?arguments[1]:null,r=2<arguments[n(196)]&&void 0!==arguments[2]?arguments[2]:null,i=3<arguments[n(196)]&&void 0!==arguments[3]?arguments[3]:null;if(t&&"object"===_typeof(t)){var s,o=l[t[n(185)]];o&&o({node:t,parent:e,key:r,listKey:i});for(s in t)(r=>{var e=n;Object.prototype.hasOwnProperty[e(223)](t,r)&&t[r]&&_typeof(t[r])===e(162)&&(Array[e(149)](t[r])?t[r][e(234)](function(e,n){c(e,t,r,n)}):c(t[r],t,r))})(s)}}c(e)}function generate(e){return e?core[_0x27db1c(192)](e):void 0}function replaceNode(e,n){var r=_0x27db1c;e[r(176)]&&((e[r(222)]||0===e[r(222)])&&e[r(176)][e.listKey]?e.parent[e.listKey][e[r(163)]]=n:e[r(222)]||0===e[r(222)]?e.parent[e[r(163)]][e.listKey]=n:e[r(176)][e[r(163)]]=n)}function getLineAndColumn(e,n){var r=_0x27db1c,t=removeCommentsAndBlank(e),n=n+e[r(196)]-t.length,t=e.replace(/[\u4e00-\u9fa5]/g,r(220))[r(179)](0,n)[r(212)]("\n");return{line:t[r(196)],column:t[t[r(196)]-1].length}}function removeCommentsAndBlank(e){var n=_0x27db1c,e=e[n(190)]();if(!e[n(170)]("//")&&!e.startsWith("/*"))return e;if(e.startsWith("//")){var r=e.indexOf("\n");if(-1===r)return"";e=e[n(179)](r+1)}if(e[n(170)]("/*")){r=e[n(177)]("*/");if(-1===r)return"";e=e.slice(r+2)}return removeCommentsAndBlank(e)}function getI18NDupKeyLoc(r,t,i,s){return{KeyValueProperty:function(e){var n=_0x2c2e,e=e[n(186)];e.key[n(201)]===t&&r[n(173)](getLineAndColumn(i,e[n(163)][n(193)][n(208)]-s))}}}function getPathProcessVistor(t){return{ImportDeclaration:function(e){var n=_0x2c2e,r=e[n(186)][n(154)][n(201)];e[n(186)].source[n(201)]=t(r)},CallExpression:function(e){var n,r=_0x2c2e;e[r(186)][r(191)]&&e[r(186)].arguments&&(e[r(186)][r(191)][r(201)]===r(184)||e[r(186)].callee[r(185)]===r(175))&&1===e[r(186)][r(188)][r(196)]&&(n=e[r(186)][r(188)][0][r(156)].value)&&(e.node[r(188)][0][r(156)][r(201)]=t(n))}}}function getConstructorProcessVistor(){return{MemberExpression:function(e){var n=_0x2c2e,r=e[n(186)],t=r[n(162)],r=r[n(200)];"Identifier"===(null==r?void 0:r[n(185)])&&(null==r?void 0:r.value)===n(158)&&((r=utils[n(155)](GET_CONSTRUCTOR_EXP))[n(188)][1][n(156)]=t,replaceNode(e,r))}}}function addCatchStatement(e,n){var r=_0x27db1c,t=e[r(186)];t[r(228)]||(n(t),n=stringUtils.replaceAll((t[r(162)]||{})[r(201)],r(216),""),INNER_FUNC_LIST[r(153)](n))||((n=utils[r(155)](CATCH_CALL_EXP))[r(191)].expression[r(178)][r(151)][0][r(230)].stmts[0][r(171)]=t,replaceNode(e,n))}function isParameter(e,n){var r=_0x27db1c;return n[r(176)][r(185)]===r(217)&&"pat"===n[r(163)]||n.parent[r(185)]===r(174)||n[r(176)][r(185)]===r(166)&&"identifier"===n[r(163)]}function getTrustListVerifyVisitor(t,i,s,o){return{MemberExpression:function(e){var n,r=_0x2c2e;e.node[r(162)]&&e[r(186)][r(162)][r(201)]===t[r(215)]&&e[r(186)][r(162)][r(185)]===r(194)&&null!=(n=e[r(186)][r(200)])&&n.value&&i.push({type:r(226),module:e[r(186)][r(162)].value,moduleRange:{start:getLineAndColumn(s,e[r(186)][r(162)].span[r(208)]-o),end:getLineAndColumn(s,e[r(186)][r(162)][r(193)][r(181)]-o)},property:e.node[r(162)].value+"."+e[r(186)][r(200)][r(201)]})}}}function isHjs(e,n,r){var t=_0x27db1c;e.type===t(211)&&n.includes(e[t(162)][t(201)])&&(r.hjsMod=e[t(162)][t(201)],r[t(165)]=!0)}function isRequireCallBack(e){var n,r=_0x27db1c;return e[r(186)].arguments&&(null==(n=e[r(186)][r(191)])?void 0:n[r(201)])===r(184)&&1<e[r(186)][r(188)].length}function isRequireAsync(e){var n,r=_0x27db1c;return e.node[r(188)]&&(null==(n=e[r(186)][r(191)])?void 0:n[r(185)])===r(211)&&"Identifier"===(null==(n=e.node.callee[r(162)])?void 0:n[r(185)])&&"require"===e.node[r(191)][r(162)][r(201)]&&(null==(n=e.node[r(191)][r(200)])?void 0:n[r(201)])===r(187)}function requireCallBackNeedSync(e){var n,r=_0x27db1c;return(null==(n=e.node[r(156)])?void 0:n.arguments)&&"require"===(null==(n=e.node[r(156)])||null==(n=n[r(191)])?void 0:n.value)&&1<(null==(n=e[r(186)][r(156)])?void 0:n[r(188)][r(196)])}function requireThenNeedSync(e){var n,r=_0x27db1c;return e[r(186)].expression[r(185)]===r(213)&&(null==(n=e[r(186)][r(156)][r(191)])||null==(n=n[r(162)])||null==(n=n[r(191)])||null==(n=n[r(162)])?void 0:n[r(185)])===r(194)&&(null==(n=e[r(186)][r(156)][r(191)])||null==(n=n[r(162)])||null==(n=n[r(191)])||null==(n=n[r(162)])?void 0:n[r(201)])===r(184)&&(null==(n=e[r(186)].expression.callee)||null==(n=n[r(162)])||null==(n=n[r(191)])||null==(n=n[r(200)])?void 0:n[r(201)])===r(187)}function requireCatchNeedSync(e){var n,r=_0x27db1c;return e[r(186)][r(156)].type===r(213)&&"Identifier"===(null==(n=e[r(186)].expression.callee)||null==(n=n.object)||null==(n=n.callee)||null==(n=n.object)||null==(n=n[r(191)])||null==(n=n[r(162)])?void 0:n[r(185)])&&"require"===(null==(n=e[r(186)][r(156)][r(191)])||null==(n=n[r(162)])||null==(n=n[r(191)])||null==(n=n.object)||null==(n=n[r(191)])||null==(n=n[r(162)])?void 0:n[r(201)])&&(null==(n=e.node[r(156)][r(191)])||null==(n=n.object)||null==(n=n.callee)||null==(n=n.object)||null==(n=n.callee)||null==(n=n.property)?void 0:n[r(201)])===r(187)}function isAwait(e){var n,r=_0x27db1c;return(null==(n=e[r(186)].argument)||null==(n=n[r(191)])?void 0:n[r(185)])===r(211)&&(null==(n=e[r(186)].argument.callee[r(162)])?void 0:n.value)===r(184)&&(null==(n=e[r(186)][r(171)][r(191)][r(200)])?void 0:n[r(201)])===r(187)}function requireHandler(s,o,l,c,u){return{CallExpression:function(e){var n,r=_0x2c2e;isRequireCallBack(e)?(n=e[r(186)][r(188)][0],!0!==(n=s(o,n.expression[r(201)],l,u))&&handleCallBackRequire(e,c,n)):isRequireAsync(e)&&(n=e[r(186)][r(188)][0],!0!==(n=s(o,n.expression[r(201)],l,u)))&&handleAsyncRequire(e,c,n)},ExpressionStatement:function(e){var n,r=_0x2c2e;requireCallBackNeedSync(e)?(n=e.node[r(156)].arguments[0],!0===s(o,n.expression[r(201)],l,u)&&syncCallBackRequire(e)):requireThenNeedSync(e)?(n=e[r(186)][r(156)][r(191)][r(162)][r(188)][0],!0===s(o,n[r(156)][r(201)],l,u)&&syncAsyncRequire(n,e)):requireCatchNeedSync(e)&&(n=e.node[r(156)].callee.object.callee[r(162)][r(188)][0],!0===s(o,n[r(156)][r(201)],l,u))&&syncAsyncRequireWithCatch(n,e)},AwaitExpression:function(e){var n,r,t,i=_0x2c2e;isAwait(e)&&((n=utils.deepClone(NEW_PROMISE_EXP))[i(171)].arguments[0][i(156)][i(178)][i(151)][0].expression[i(191)][i(162)].callee[i(162)]=e[i(186)][i(171)],t=(r={node:e[i(186)].argument}).node[i(188)][0],!0===s(o,t[i(156)].value,l,u)?syncAwaitRequire(t,e):(n[i(171)][i(188)][0][i(156)][i(178)][i(151)][0].expression[i(191)].object.callee[i(162)]=requireAsync(r,s,o,l,c,u),replaceNode(e,n)))}}}function requireAsync(e,n,r,t,i,s){var o=_0x27db1c,e=e[o(186)][o(188)][0],l=utils[o(155)](ASCF_LAZY_IMPORT_EXP.callee[o(162)].callee.object),c=utils[o(155)](e);return e[o(156)][o(201)]=n(r,e[o(156)].value,t,s),e.expression[o(225)]='"'[o(157)](e[o(156)][o(201)],'"'),c.expression[o(201)]=normalizedAbsPath(e[o(156)].value),c[o(156)][o(225)]='"'.concat(c[o(156)].value,'"'),Object.prototype[o(195)][o(223)](configs[o(167)],i)||(configs[o(167)][i]=new Set),configs[o(167)][i].add(c[o(156)].value),l.arguments[0][o(156)][o(178)][o(156)][o(188)]=[c],l[o(191)][o(162)][o(188)]=[e],l}function handleCallBackRequire(e,n,r){var t=_0x27db1c,i=e.node[t(188)][0],s=e[t(186)][t(188)][1],o=e[t(186)].arguments[2],l=utils[t(155)](ASCF_LAZY_IMPORT_EXP),c=utils[t(155)](ASCF_LAZY_IMPORT_ERR_EXP),u=utils[t(155)](i);i[t(156)][t(201)]=r,i[t(156)][t(225)]='"'[t(157)](i[t(156)][t(201)],'"'),u[t(156)][t(201)]=normalizedAbsPath(i[t(156)][t(201)]),u[t(156)][t(225)]='"'[t(157)](u[t(156)][t(201)],'"'),Object.prototype[t(195)][t(223)](configs[t(167)],n)||(configs.ascfLazyImportFiles[n]=new Set),configs[t(167)][n][t(199)](u.expression[t(201)]),l.arguments[0][t(156)]=null!=(r=null==o?void 0:o.expression)?r:c,l[t(191)].object.arguments=[s],l[t(191)].object[t(191)][t(162)][t(188)][0][t(156)][t(178)][t(156)][t(188)]=[u],l.callee[t(162)][t(191)][t(162)].callee[t(162)][t(188)]=[i],replaceNode(e,l)}function handleAsyncRequire(e,n,r){var t=_0x27db1c,i=e.node[t(188)][0],s=utils[t(155)](ASCF_LAZY_IMPORT_EXP.callee[t(162)][t(191)][t(162)]),o=utils[t(155)](i);i.expression.value=r,i[t(156)].raw='"'[t(157)](i[t(156)].value,'"'),o[t(156)][t(201)]=normalizedAbsPath(i[t(156)][t(201)]),o[t(156)][t(225)]='"'[t(157)](o[t(156)][t(201)],'"'),Object.prototype[t(195)].call(configs[t(167)],n)||(configs[t(167)][n]=new Set),configs[t(167)][n][t(199)](o[t(156)][t(201)]),s[t(188)][0][t(156)][t(178)].expression[t(188)]=[o],s[t(191)][t(162)][t(188)]=[i],replaceNode(e,s)}function syncCallBackRequire(e){var n=_0x27db1c;syncAsyncRequireCommon(e[n(186)].expression[n(188)][0],e.node[n(156)][n(188)][1],e[n(186)][n(156)].arguments[2]||{},e)}function syncAsyncRequire(e,n,r){var t=_0x27db1c,i={};syncAsyncRequireCommon(e,i=(null==(e=n[t(186)][t(156)].arguments)||null==(e=e[0])?void 0:e.expression[t(185)])===t(218)?n[t(186)][t(156)][t(188)][0]:i,{},n)}function _0x4c0b(){var e=["start","REQUIRE_TRY_CATCH","handler","MemberExpression","split","CallExpression","NEW_PROMISE","prefix","$ascf","Parameter","ArrowFunctionExpression","7HSfnAk","000","params","listKey","call","1655228tQYzRj","raw","hasInterface","exports","visited","3282225FcECVC","block","6231306AxgpoT","param","541324vhwBmS","forEach","5vOOxzm","isArray","keys","stmts","ASCF_LAZY_IMPORT_ERR","includes","source","deepClone","expression","concat","constructor","prototype","normalizedAbsPath","INNER_FUNC_LIST","object","key","5720240gqrGDl","isHjs","FunctionExpression","ascfLazyImportFiles","../../common/string-utils","6172030FGolZM","startsWith","argument","symbol","push","CatchClause","Import","parent","indexOf","body","slice","configs","end","REQUIRE_TRY_CATCH_FUL","31002224juKNdz","require","type","node","async","arguments","../../common/config","trimStart","callee","printSync","span","Identifier","hasOwnProperty","length","HJS_GET_CONSTRUCTOR","4oxAbpV","add","property","value","ecmascript","18UHqAWV","../common/utils","../common/exp-utils","function","parseSync"];return(_0x4c0b=function(){return e})()}function syncAsyncRequireWithCatch(e,n,r){var t=_0x27db1c,i={},s={};syncAsyncRequireCommon(e,i="ArrowFunctionExpression"===(null==(e=n.node[t(156)][t(191)].object.arguments)||null==(e=e[0])?void 0:e[t(156)][t(185)])?n[t(186)].expression[t(191)][t(162)].arguments[0]:i,s=(null==(e=n[t(186)][t(156)].arguments)||null==(e=e[0])?void 0:e[t(156)][t(185)])===t(218)?n[t(186)][t(156)][t(188)][0]:s,n)}function syncAsyncRequireCommon(e,n,r,t){var i=_0x27db1c,s=utils[i(155)](REQUIRE_EXP),e=(s[i(188)][0]=utils[i(155)](e),utils[i(155)](REQUIRE_TRY_CATCH_EXP));e[i(230)][i(151)][0][i(156)][i(191)][i(156)]=n[i(156)],e[i(230)].stmts[0][i(156)][i(188)][0][i(156)]=s,e[i(210)][i(232)][i(201)]=0===Object[i(150)](r).length?"err":r.expression[i(221)][0][i(201)],0===Object[i(150)](r)[i(196)]?e[i(210)].body.stmts[0][i(156)].callee[i(156)][i(178)][i(151)][0][i(156)]=utils[i(155)](ASCF_LAZY_IMPORT_ERR_EXP):e[i(210)][i(178)][i(151)][0][i(156)].callee.expression=r[i(156)],e[i(210)][i(178)][i(151)][0].expression[i(188)][0].expression.value=0===Object[i(150)](r)[i(196)]?"err":r[i(156)][i(221)][0][i(201)],replaceNode(t,e)}function syncAwaitRequire(e,n){var r=_0x27db1c,t=utils.deepClone(REQUIRE_EXP);t[r(188)][0]=utils.deepClone(e),replaceNode(n,t)}module[_0x27db1c(227)]={core:core,astParse:astParse,traverse:traverse,generate:generate,getLineAndColumn:getLineAndColumn,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
1
|
+
var _0x361729=_0xf964;function _typeof(e){var n=_0xf964;return(_typeof=n(323)==typeof Symbol&&n(377)==typeof Symbol[n(339)]?function(e){return typeof e}:function(e){var r=n;return e&&r(323)==typeof Symbol&&e[r(313)]===Symbol&&e!==Symbol[r(351)]?r(377):typeof e})(e)}(()=>{for(var e=_0xf964,r=_0x1068();;)try{if(945564==-parseInt(e(388))*(-parseInt(e(337))/2)+parseInt(e(331))/3*(parseInt(e(320))/4)+-parseInt(e(352))/5+-parseInt(e(304))/6+-parseInt(e(315))/7*(parseInt(e(329))/8)+-parseInt(e(312))/9+-parseInt(e(382))/10*(-parseInt(e(354))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var core=require(_0x361729(344)),utils=require(_0x361729(333)),_require=require(_0x361729(353)),CATCH_FUNC=_require[_0x361729(356)],INNER_FUNC_LIST=_require[_0x361729(387)],HJS_GET_CONSTRUCTOR=_require[_0x361729(393)],ASCF_LAZY_IMPORT=_require[_0x361729(349)],ASCF_LAZY_IMPORT_ERR=_require[_0x361729(379)],NEW_PROMISE=_require[_0x361729(346)],REQUIRE_TRY_CATCH=_require[_0x361729(384)],REQUIRE=_require.REQUIRE,REQUIRE_TRY_CATCH_FUL=_require[_0x361729(392)],stringUtils=require(_0x361729(317)),_require2=require(_0x361729(333)),normalizedAbsPath=_require2[_0x361729(394)],_require3=require(_0x361729(316)),configs=_require3[_0x361729(378)],CATCH_CALL_EXP=astParse(CATCH_FUNC)[_0x361729(342)][0][_0x361729(332)],GET_CONSTRUCTOR_EXP=astParse(HJS_GET_CONSTRUCTOR)[_0x361729(342)][0][_0x361729(332)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT)[_0x361729(342)][0][_0x361729(332)],ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x361729(342)][0][_0x361729(332)],NEW_PROMISE_EXP=astParse(NEW_PROMISE)[_0x361729(342)][0][_0x361729(332)],REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH).body[0],REQUIRE_EXP=astParse(REQUIRE)[_0x361729(342)][0][_0x361729(332)],PROMISE_EXP=astParse(_0x361729(345))[_0x361729(342)][0].expression;function astParse(e){var r=_0x361729;r(325);return core[r(309)](e,{syntax:"ecmascript"})}function traverse(e,l){function u(t){var r=_0xf964,e=1<arguments[r(325)]&&void 0!==arguments[1]?arguments[1]:null,n=2<arguments[r(325)]&&void 0!==arguments[2]?arguments[2]:null,s=3<arguments[r(325)]&&void 0!==arguments[3]?arguments[3]:null;if(t&&_typeof(t)===r(338)){var i,o=l[t.type];o&&o({node:t,parent:e,key:n,listKey:s});for(i in t)(n=>{var e=r;Object[e(351)][e(360)].call(t,n)&&t[n]&&"object"===_typeof(t[n])&&(Array[e(305)](t[n])?t[n][e(335)](function(e,r){u(e,t,n,r)}):u(t[n],t,n))})(i)}}u(e)}function generate(e){return e?core[_0x361729(328)](e):void 0}function replaceNode(e,r){var n=_0x361729;e[n(385)]&&((e[n(336)]||0===e[n(336)])&&e[n(385)][e[n(336)]]?e[n(385)][e[n(336)]][e.key]=r:e[n(336)]||0===e[n(336)]?e[n(385)][e[n(306)]][e.listKey]=r:e.parent[e.key]=r)}function getLineAndColumn(e,r){var n=_0x361729,t=removeCommentsAndBlank(e),r=r+e.length-t[n(325)],t=e[n(375)](/[\u4e00-\u9fa5]/g,n(322)).slice(0,r)[n(357)]("\n");return{line:t[n(325)],column:t[t[n(325)]-1][n(325)]}}function removeCommentsAndBlank(e){var r=_0x361729,e=e[r(341)]();if(!e[r(327)]("//")&&!e.startsWith("/*"))return e;if(e[r(327)]("//")){var n=e[r(321)]("\n");if(-1===n)return"";e=e[r(368)](n+1)}if(e[r(327)]("/*")){n=e[r(321)]("*/");if(-1===n)return"";e=e[r(368)](n+2)}return removeCommentsAndBlank(e)}function getI18NDupKeyLoc(n,t,s,i){return{KeyValueProperty:function(e){var r=_0xf964,e=e[r(348)];e[r(306)][r(310)]===t&&n.push(getLineAndColumn(s,e[r(306)][r(371)].start-i))}}}function getPathProcessVistor(t){return{ImportDeclaration:function(e){var r=_0xf964,n=e[r(348)][r(376)][r(310)];e[r(348)].source[r(310)]=t(n)},CallExpression:function(e){var r,n=_0xf964;e[n(348)][n(366)]&&e[n(348)].arguments&&("require"===e[n(348)][n(366)][n(310)]||"Import"===e[n(348)][n(366)][n(390)])&&1===e[n(348)][n(381)].length&&(r=e.node[n(381)][0][n(332)][n(310)])&&(e[n(348)][n(381)][0].expression[n(310)]=t(r))}}}function getConstructorProcessVistor(){return{MemberExpression:function(e){var r=_0xf964,n=e.node,t=n[r(338)],n=n.property;(null==n?void 0:n[r(390)])===r(363)&&(null==n?void 0:n[r(310)])===r(313)&&((n=utils[r(324)](GET_CONSTRUCTOR_EXP))[r(381)][1][r(332)]=t,replaceNode(e,n))}}}function addCatchStatement(e,r){var n=_0x361729,t=e[n(348)];t[n(365)]||(r(t),r=stringUtils[n(391)]((t[n(338)]||{})[n(310)],"$ascf",""),INNER_FUNC_LIST[n(380)](r))||((r=utils[n(324)](CATCH_CALL_EXP))[n(366)][n(332)][n(342)].stmts[0].block[n(372)][0][n(330)]=t,replaceNode(e,r))}function isParameter(e,r){var n=_0x361729;return r[n(385)][n(390)]===n(314)&&r[n(306)]===n(359)||r[n(385)].type===n(326)||r.parent.type===n(340)&&r[n(306)]===n(389)}function getTrustListVerifyVisitor(t,s,i,o){return{MemberExpression:function(e){var r,n=_0xf964;e[n(348)][n(338)]&&e[n(348)].object[n(310)]===t.prefix&&e.node[n(338)][n(390)]===n(363)&&null!=(r=e[n(348)][n(364)])&&r[n(310)]&&s[n(308)]({type:n(355),module:e[n(348)][n(338)][n(310)],moduleRange:{start:getLineAndColumn(i,e[n(348)][n(338)][n(371)].start-o),end:getLineAndColumn(i,e[n(348)][n(338)][n(371)].end-o)},property:e[n(348)][n(338)].value+"."+e[n(348)][n(364)].value})}}}function isHjs(e,r,n){var t=_0x361729;e.type===t(319)&&r[t(380)](e.object[t(310)])&&(n[t(303)]=e[t(338)][t(310)],n[t(373)]=!0)}function isRequireCallBack(e){var r,n=_0x361729;return e[n(348)][n(381)]&&(null==(r=e.node[n(366)])?void 0:r[n(310)])===n(343)&&1<e[n(348)][n(381)][n(325)]}function isRequireAsync(e){var r,n=_0x361729;return e[n(348)][n(381)]&&(null==(r=e.node[n(366)])?void 0:r[n(390)])===n(319)&&(null==(r=e[n(348)][n(366)].object)?void 0:r[n(390)])===n(363)&&e[n(348)][n(366)][n(338)][n(310)]===n(343)&&(null==(r=e.node[n(366)][n(364)])?void 0:r[n(310)])===n(374)}function requireCallBackNeedSync(e){var r,n=_0x361729;return(null==(r=e[n(348)][n(332)])?void 0:r[n(381)])&&(null==(r=e[n(348)][n(332)])||null==(r=r.callee)?void 0:r[n(310)])===n(343)&&1<(null==(r=e[n(348)][n(332)])?void 0:r[n(381)][n(325)])}function requireThenNeedSync(e){var r,n=_0x361729;return e[n(348)].expression[n(390)]===n(361)&&(null==(r=e[n(348)].expression[n(366)])||null==(r=r[n(338)])||null==(r=r.callee)||null==(r=r.object)?void 0:r[n(390)])===n(363)&&(null==(r=e.node[n(332)][n(366)])||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r.object)?void 0:r.value)===n(343)&&(null==(r=e.node.expression.callee)||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(364)])?void 0:r.value)===n(374)}function _0x1068(){var e=["indexOf","000","function","deepClone","length","CatchClause","startsWith","printSync","949496lXfDqk","argument","36ZWmzcy","expression","../common/utils","err","forEach","listKey","554vXpryb","object","iterator","FunctionExpression","trimStart","body","require","@swc/core","Promise.resolve(__webpack_require__(p1))","NEW_PROMISE","params","node","ASCF_LAZY_IMPORT","exports","prototype","2114005lBkrXI","../common/exp-utils","11KLMNnO","hasInterface","CATCH_FUNC","split","ArrowFunctionExpression","pat","hasOwnProperty","CallExpression","handler","Identifier","property","visited","callee","param","slice","block","keys","span","stmts","isHjs","async","replace","source","symbol","configs","ASCF_LAZY_IMPORT_ERR","includes","arguments","42061030mDbXSm","add","REQUIRE_TRY_CATCH","parent","call","INNER_FUNC_LIST","2009RzUujP","identifier","type","replaceAll","REQUIRE_TRY_CATCH_FUL","HJS_GET_CONSTRUCTOR","normalizedAbsPath","hjsMod","7982538AsWUQU","isArray","key","concat","push","parseSync","value","ascfLazyImportFiles","9171333WosCyn","constructor","Parameter","63nLlmRS","../../common/config","../../common/string-utils","raw","MemberExpression","7804SIppEv"];return(_0x1068=function(){return e})()}function requireCatchNeedSync(e){var r,n=_0x361729;return e.node[n(332)].type===n(361)&&(null==(r=e[n(348)][n(332)].callee)||null==(r=r.object)||null==(r=r.callee)||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(338)])?void 0:r[n(390)])===n(363)&&(null==(r=e[n(348)][n(332)][n(366)])||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(338)])?void 0:r.value)===n(343)&&"async"===(null==(r=e[n(348)][n(332)][n(366)])||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(338)])||null==(r=r[n(366)])||null==(r=r[n(364)])?void 0:r[n(310)])}function isAwait(e){var r,n=_0x361729;return(null==(r=e[n(348)].argument)||null==(r=r[n(366)])?void 0:r[n(390)])===n(319)&&(null==(r=e[n(348)].argument[n(366)].object)?void 0:r[n(310)])===n(343)&&(null==(r=e[n(348)][n(330)][n(366)].property)?void 0:r[n(310)])===n(374)}function requireHandler(i,o,l,u,a){var c=_0x361729,_=5<arguments[c(325)]&&void 0!==arguments[5]&&arguments[5];return{CallExpression:function(e){var r,n=c;isRequireCallBack(e)?(r=e.node[n(381)][0],!0!==(r=i(o,r.expression[n(310)],l,a,_))&&handleCallBackRequire(e,u,r)):isRequireAsync(e)&&(r=e[n(348)][n(381)][0],!0===(n=i(o,r[n(332)][n(310)],l,a,_))?syncAsyncRequire(r,e):handleAsyncRequire(e,u,n))},ExpressionStatement:function(e){var r,n=c;requireCallBackNeedSync(e)&&(r=e[n(348)][n(332)][n(381)][0],!0===i(o,r[n(332)][n(310)],l,a,_))&&syncCallBackRequire(e)},AwaitExpression:function(e){var r,n,t,s=c;isAwait(e)&&((r=utils.deepClone(NEW_PROMISE_EXP))[s(330)][s(381)][0][s(332)][s(342)][s(372)][0].expression[s(366)][s(338)][s(366)][s(338)]=e[s(348)][s(330)],t=(n={node:e[s(348)][s(330)]})[s(348)][s(381)][0],!0===i(o,t.expression[s(310)],l,a,_)?syncAwaitRequire(t,e):(r.argument[s(381)][0].expression.body[s(372)][0][s(332)][s(366)][s(338)].callee[s(338)]=requireAsync(n,i,o,l,u,a,_),replaceNode(e,r)))}}}function requireAsync(e,r,n,t,s,i,o){var l=_0x361729,e=e[l(348)][l(381)][0],u=utils[l(324)](ASCF_LAZY_IMPORT_EXP[l(366)][l(338)].callee.object),a=utils[l(324)](e);return e.expression.value=r(n,e[l(332)].value,t,i,o),e[l(332)].raw='"'[l(307)](e[l(332)][l(310)],'"'),a[l(332)][l(310)]=normalizedAbsPath(e[l(332)][l(310)]),a[l(332)].raw='"'.concat(a[l(332)].value,'"'),Object[l(351)][l(360)].call(configs[l(311)],s)||(configs[l(311)][s]=new Set),configs[l(311)][s][l(383)](a.expression[l(310)]),u.arguments[0][l(332)].body[l(332)][l(381)]=[a],u[l(366)][l(338)][l(381)]=[e],u}function handleCallBackRequire(e,r,n){var t=_0x361729,s=e.node[t(381)][0],i=e[t(348)].arguments[1],o=e[t(348)].arguments[2],l=utils[t(324)](ASCF_LAZY_IMPORT_EXP),u=utils[t(324)](ASCF_LAZY_IMPORT_ERR_EXP),a=utils[t(324)](s);s[t(332)][t(310)]=n,s.expression.raw='"'[t(307)](s[t(332)].value,'"'),a[t(332)].value=normalizedAbsPath(s[t(332)][t(310)]),a[t(332)][t(318)]='"'.concat(a[t(332)].value,'"'),Object[t(351)][t(360)][t(386)](configs.ascfLazyImportFiles,r)||(configs.ascfLazyImportFiles[r]=new Set),configs[t(311)][r][t(383)](a[t(332)].value),l[t(381)][0][t(332)]=null!=(n=null==o?void 0:o[t(332)])?n:u,l[t(366)][t(338)][t(381)]=[i],l[t(366)].object[t(366)].object[t(381)][0][t(332)][t(342)][t(332)][t(381)]=[a],l[t(366)].object[t(366)].object[t(366)][t(338)][t(381)]=[s],replaceNode(e,l)}function handleAsyncRequire(e,r,n){var t=_0x361729,s=e[t(348)][t(381)][0],i=utils[t(324)](ASCF_LAZY_IMPORT_EXP[t(366)][t(338)][t(366)].object),o=utils[t(324)](s);s[t(332)][t(310)]=n,s.expression[t(318)]='"'[t(307)](s.expression[t(310)],'"'),o.expression[t(310)]=normalizedAbsPath(s.expression[t(310)]),o.expression[t(318)]='"'[t(307)](o[t(332)][t(310)],'"'),Object[t(351)][t(360)].call(configs[t(311)],r)||(configs[t(311)][r]=new Set),configs[t(311)][r].add(o[t(332)][t(310)]),i.arguments[0][t(332)][t(342)][t(332)][t(381)]=[o],i[t(366)][t(338)].arguments=[s],replaceNode(e,i)}function _0xf964(e,r){var n=_0x1068();return(_0xf964=function(e,r){return n[e-=303]})(e,r)}function syncCallBackRequire(e){var r=_0x361729;syncAsyncRequireCommon(e[r(348)].expression[r(381)][0],e[r(348)][r(332)][r(381)][1],e[r(348)][r(332)][r(381)][2]||{},e)}function syncAsyncRequire(e,r){var n=_0x361729,t=utils.deepClone(PROMISE_EXP);t[n(381)][0].expression[n(381)][0]=utils[n(324)](e),replaceNode(r,t)}function syncAsyncRequireWithCatch(e,r,n){var t=_0x361729,s={},i={};syncAsyncRequireCommon(e,s=(null==(e=r.node[t(332)][t(366)].object.arguments)||null==(e=e[0])?void 0:e[t(332)][t(390)])===t(358)?r[t(348)].expression[t(366)][t(338)][t(381)][0]:s,i=(null==(e=r[t(348)][t(332)][t(381)])||null==(e=e[0])?void 0:e[t(332)][t(390)])===t(358)?r[t(348)][t(332)][t(381)][0]:i,r)}function syncAsyncRequireCommon(e,r,n,t){var s=_0x361729,i=utils[s(324)](REQUIRE_EXP),e=(i.arguments[0]=utils[s(324)](e),utils.deepClone(REQUIRE_TRY_CATCH_EXP));e[s(369)][s(372)][0][s(332)][s(366)][s(332)]=r[s(332)],e[s(369)].stmts[0][s(332)][s(381)][0][s(332)]=i,e[s(362)][s(367)].value=0===Object[s(370)](n)[s(325)]||0===n[s(332)][s(347)][s(325)]?s(334):n[s(332)][s(347)][0].value,0===Object.keys(n).length?e[s(362)][s(342)][s(372)][0][s(332)].callee.expression[s(342)][s(372)][0][s(332)]=utils[s(324)](ASCF_LAZY_IMPORT_ERR_EXP):e[s(362)][s(342)].stmts[0][s(332)][s(366)][s(332)]=n[s(332)],e.handler[s(342)][s(372)][0][s(332)][s(381)][0].expression[s(310)]=0===Object[s(370)](n)[s(325)]||0===n[s(332)].params[s(325)]?s(334):n[s(332)].params[0][s(310)],replaceNode(t,e)}function syncAwaitRequire(e,r){var n=_0x361729,t=utils[n(324)](REQUIRE_EXP);t[n(381)][0]=utils[n(324)](e),replaceNode(r,t)}module[_0x361729(350)]={core:core,astParse:astParse,traverse:traverse,generate:generate,getLineAndColumn:getLineAndColumn,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x3ad76d=_0x245f;function _0x245f(e,r){var t=_0x5a1e();return(_0x245f=function(e,r){return t[e-=171]})(e,r)}function _typeof(e){var t=_0x245f;return(_typeof=t(221)==typeof Symbol&&t(202)==typeof Symbol[t(236)]?function(e){return typeof e}:function(e){var r=t;return e&&r(221)==typeof Symbol&&e[r(245)]===Symbol&&e!==Symbol[r(199)]?r(202):typeof e})(e)}function ownKeys(r,e){var t,o=_0x245f,a=Object.keys(r);return Object[o(218)]&&(t=Object[o(218)](r),e&&(t=t[o(177)](function(e){return Object[o(206)](r,e).enumerable})),a[o(189)][o(178)](a,t)),a}function _objectSpread(t){for(var o=_0x245f,e=1;e<arguments[o(195)];e++){var a=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(a),!0).forEach(function(e){_defineProperty(t,e,a[e])}):Object[o(201)]?Object.defineProperties(t,Object[o(201)](a)):ownKeys(Object(a))[o(187)](function(e){var r=o;Object[r(172)](t,e,Object[r(206)](a,e))})}return t}function _defineProperty(e,r,t){var o=_0x245f;return(r=_toPropertyKey(r))in e?Object[o(172)](e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_0x245f,e=_toPrimitive(e,"string");return r(202)==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x245f;if(t(197)!=_typeof(e)||!e)return e;var o=e[Symbol[t(228)]];if(void 0===o)return("string"===r?String:Number)(e);o=o[t(196)](e,r||t(208));if(t(197)!=_typeof(o))return o;throw new TypeError(t(238))}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x245f(233))}function _unsupportedIterableToArray(e,r){var t,o=_0x245f;if(e)return o(250)==typeof e?_arrayLikeToArray(e,r):(t={}[o(215)][o(196)](e)[o(175)](8,-1),o(237)===t&&e.constructor&&(t=e[o(245)][o(242)]),o(251)===t||o(246)===t?Array[o(223)](e):o(248)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[o(190)](t)?_arrayLikeToArray(e,r):void 0)}function _iterableToArray(e){var r=_0x245f;if(r(188)!=typeof Symbol&&null!=e[Symbol[r(236)]]||null!=e[r(210)])return Array[r(223)](e)}function _arrayWithoutHoles(e){if(Array[_0x245f(230)](e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){var t=_0x245f;(null==r||r>e[t(195)])&&(r=e[t(195)]);for(var o=0,a=Array(r);o<r;o++)a[o]=e[o];return a}(()=>{for(var e=_0x245f,r=_0x5a1e();;)try{if(346613==-parseInt(e(217))+-parseInt(e(209))/2*(-parseInt(e(171))/3)+parseInt(e(249))/4+-parseInt(e(241))/5+parseInt(e(225))/6*(parseInt(e(235))/7)+-parseInt(e(212))/8+parseInt(e(239))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require("../common/utils"),getLoaderModule=_require[_0x3ad76d(191)],fs=require("fs"),path=require(_0x3ad76d(183)),log4js=require(_0x3ad76d(213)),_require2=require(_0x3ad76d(216)),configs=_require2[_0x3ad76d(244)],logger=log4js[_0x3ad76d(174)]("parser"),compiler=configs[_0x3ad76d(247)]===_0x3ad76d(186)?require(_0x3ad76d(214)):require(_0x3ad76d(229)),presetsOption={targets:{node:8}},jsExpCache={};function getNodeName(e){var r=_0x3ad76d;return configs[r(247)]===r(186)?null==e?void 0:e[r(180)]:null==e?void 0:e[r(242)]}function useJsLoader(e){var r=_0x3ad76d,e={loader:getLoaderModule(r(219)),options:{presets:[[getLoaderModule(r(220)),presetsOption]],plugins:[getLoaderModule(r(211)),getLoaderModule(r(179))][r(192)](_toConsumableArray(e||[]))}},t={loader:path[r(193)](__dirname,r(198)),options:{jsc:{externalHelpers:!0,transform:{legacyDecorator:!0,decoratorMetadata:!0,useDefineForClassFields:!0},target:r(224)},module:{type:"commonjs"}}};return configs[r(247)]===r(186)?t:e}function useJsLoaderNoCompact(){var e=_0x3ad76d,r={loader:getLoaderModule("babel-loader"),options:{presets:[[getLoaderModule("@babel/preset-env"),presetsOption]],compact:!1}},t={loader:path[e(193)](__dirname,e(198)),options:{jsc:{externalHelpers:!0}}};return configs.parser===e(186)?t:r}function isLegalJsExp(e){var r=_0x3ad76d;if(e&&jsExpCache[e])return!0;try{return jsExpCache[e]=compiler[r(222)](r(182)[r(192)](e)),!0}catch(e){return!1}}function _0x5a1e(){var e=["slice","code","filter","apply","@babel/plugin-transform-class-properties","value","stringify","let xxx = ","path","line","exports","swc","forEach","undefined","push","test","getLoaderModule","concat","resolve","span","length","call","object","../swc-loader","prototype","error","getOwnPropertyDescriptors","symbol","traverse","generate","assign","getOwnPropertyDescriptor","getI18NDupKeyLoc","default","46968SRWnZH","@@iterator","@babel/plugin-transform-modules-commonjs","2072400EBWYFp","../../common/log4js.js","./parser-swc","toString","../../common/config","557150aKhNhD","getOwnPropertySymbols","babel-loader","@babel/preset-env","function","astParse","from","es5","59322mOrQOz","hasOwnProperty","getPathProcessVistor","toPrimitive","./parser-babel","isArray","utf8","var _temp_=\n","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","parse","287rlvkks","iterator","Object","@@toPrimitive must return a primitive value.","10059084csXKjo",'". \n@ ',"3325730RrcZbj","name","start","configs","constructor","Set","parser","Arguments","468176vjBZeR","string","Map","24ZTtLGf","defineProperty","WARNING: Duplicate key: <","getLogger"];return(_0x5a1e=function(){return e})()}function checkJsonDupKey(a,n,s){var i=_0x3ad76d,u=i(232),c=fs.readFileSync(n,i(231))[i(215)]()||"{}",p=JSON.parse(c),l=compiler[i(222)](""[i(192)](u)[i(192)](c));return Object.keys(p)[i(187)](function(e){var r,t,o=i;Object.prototype[o(226)][o(196)](a,e)&&(t=[],compiler[o(203)](l,compiler[o(207)](t,e,c,(null==(r=l[o(194)])?void 0:r[o(243)])+u[o(195)])),s({message:o(173)[o(192)](e,'>, "')[o(192)](p[e],'" ')+'will overwrite "'[o(192)](a[e],o(240))[o(192)](n,":").concat(null==(r=t[0])?void 0:r[o(184)],":")[o(192)](null==(e=t[0])?void 0:e.column,"\n")}))}),p}function hjsProcess(r,e){var t,o=_0x3ad76d;try{t=compiler.astParse(r,{sourceType:"unambiguous"})}catch(e){return logger[o(200)](e),r}r=Object[o(205)]({},compiler[o(227)](e),compiler.getConstructorProcessVistor());return compiler[o(203)](t,r),compiler[o(204)](t)[o(176)]}function deepCopyNode(e){var r=_0x3ad76d;return JSON[r(234)](JSON[r(181)](e))}module[_0x3ad76d(185)]=_objectSpread(_objectSpread({},compiler),{},{useJsLoader:useJsLoader,useJsLoaderNoCompact:useJsLoaderNoCompact,isLegalJsExp:isLegalJsExp,checkJsonDupKey:checkJsonDupKey,hjsProcess:hjsProcess,deepCopyNode:deepCopyNode,getNodeName:getNodeName,jsExpCache:jsExpCache});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x4cb9a6=_0x3ab7;function _0x3050(){var r=["13344291HYeBOV","1960375eBxNCf","70YJweAv","312636NQuQgW","14kCIgGS","3136232FZIHIo","contextify","utils","getOptions","context","stringify","loader-utils","rootContext","683556RZOmlv","3538224eyMUdN","parseQuery","exports","153689keTwhZ"];return(_0x3050=function(){return r})()}function _0x3ab7(r,t){var e=_0x3050();return(_0x3ab7=function(r,t){return e[r-=143]})(r,t)}(()=>{for(var r=_0x3ab7,t=_0x3050();;)try{if(638964==+parseInt(r(146))*(parseInt(r(151))/2)+parseInt(r(150))/3+-parseInt(r(143))/4+parseInt(r(148))/5+parseInt(r(160))/6*(-parseInt(r(149))/7)+-parseInt(r(152))/8+parseInt(r(147))/9)break;t.push(t.shift())}catch(r){t.push(t.shift())}})();var loaderUtils=require(_0x4cb9a6(158));loaderUtils[_0x4cb9a6(144)]=function(r){return new URLSearchParams(r.slice(1))},loaderUtils.stringifyRequest=function(r,t){var e=_0x4cb9a6;return JSON[e(157)](r[e(154)][e(153)](r[e(156)]||r[e(159)],t))},loaderUtils[_0x4cb9a6(155)]=function(r){return r[_0x4cb9a6(155)]()},module[_0x4cb9a6(145)]=loaderUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function _0x1c3e(r,e){var t=_0x3a35();return(_0x1c3e=function(r,e){return t[r-=230]})(r,e)}var _0x1a1161=_0x1c3e;function _0x3a35(){var r=["isFileExist","test","path","305245nlcmJY","hjsProcess","join","20TMZGUV","./common/utils","685149FFPSDU","srcPath","exports","459627KqgSdo","21038sUEwop","resourcePath","toLowerCase","24tDJbzC","relative","1111PYPxwq","22KFTKWb","concat","./js-parser/parser","1954161rtezcG","624648rDQPuT","8590xSFIHG"];return(_0x3a35=function(){return r})()}(()=>{for(var r=_0x1c3e,e=_0x3a35();;)try{if(188955==-parseInt(r(230))*(-parseInt(r(248))/2)+-parseInt(r(244))/3+parseInt(r(242))/4*(parseInt(r(239))/5)+-parseInt(r(251))/6*(-parseInt(r(247))/7)+-parseInt(r(234))/8+-parseInt(r(233))/9+-parseInt(r(235))/10*(parseInt(r(253))/11))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var resourcePath,SOURCE_ROOT_PATH,path=require(_0x1a1161(238)),_require=require(_0x1a1161(232)),hjsProcess=_require[_0x1a1161(240)],_require2=require(_0x1a1161(243)),isFileExist=_require2[_0x1a1161(236)],PATH_RE=/^\.?\.\//,IGNORED_PATH_RE=/^@(?=system|service|card|android|hap)/;function pathProcess(r){var e,t=_0x1a1161,s=path[t(241)](resourcePath,"..");return IGNORED_PATH_RE.test(r[t(250)]())||PATH_RE[t(237)](r)||(r.startsWith("/")?(e=path.join(SOURCE_ROOT_PATH,r),r=isFileExist(e)?path[t(252)](s,e):"."[t(231)](r)):(e=path.join(s,r),isFileExist(e)&&(r="./"[t(231)](r)))),r}module[_0x1a1161(246)]=function(r){var e=_0x1a1161;return resourcePath=this[e(249)],SOURCE_ROOT_PATH=this.options[e(245)],hjsProcess(r,pathProcess)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x381f07=_0x5c8b;function _createForOfIteratorHelper(e,r){var n,t,o,a,i=_0x5c8b,c="undefined"!=typeof Symbol&&e[Symbol[i(370)]]||e["@@iterator"];if(c)return o=!(t=!0),{s:function(){c=c[i(360)](e)},n:function(){var e=c.next();return t=e.done,e},e:function(e){o=!0,n=e},f:function(){var e=i;try{t||null==c[e(368)]||c[e(368)]()}finally{if(o)throw n}}};if(Array[i(363)](e)||(c=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length)return c&&(e=c),a=0,{s:r=function(){},n:function(){return a>=e[i(334)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){var n,t=_0x5c8b;if(e)return t(305)==typeof e?_arrayLikeToArray(e,r):("Object"===(n={}[t(373)][t(360)](e).slice(8,-1))&&e[t(315)]&&(n=e[t(315)].name),t(353)===n||t(293)===n?Array.from(e):t(321)===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[t(327)](n)?_arrayLikeToArray(e,r):void 0)}function _arrayLikeToArray(e,r){(null==r||r>e[_0x5c8b(334)])&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function _typeof(e){var n=_0x5c8b;return(_typeof="function"==typeof Symbol&&n(342)==typeof Symbol.iterator?function(e){return typeof e}:function(e){var r=n;return e&&r(300)==typeof Symbol&&e[r(315)]===Symbol&&e!==Symbol[r(352)]?r(342):typeof e})(e)}function _regenerator(){var v,g=_0x5c8b,e="function"==typeof Symbol?Symbol:{},r=e.iterator||g(312),n=e[g(340)]||g(349);function t(e,r,n,t){var o,a,i,c,u,f,s,l,_,p,b=g,r=r&&r[b(352)]instanceof m?r:m,r=Object[b(347)](r[b(352)]);return _regeneratorDefine2(r,b(372),(o=e,a=n,l=t||[],_=!1,p={p:s=0,n:0,v:v,a:y,f:y[(f=b)(364)](v,4),d:function(e,r){return i=e,c=0,u=v,p.n=r,h}},function(e,r,n){var t=f;if(1<s)throw TypeError("Generator is already running");for(_&&1===r&&y(r,n),c=r,u=n;(x=c<2?v:u)||!_;){i||(c?c<3?(1<c&&(p.n=-1),y(c,u)):p.n=u:p.v=u);try{if(s=2,i){if(x=i[e=c?e:"next"]){if(!(x=x[t(360)](i,u)))throw TypeError(t(356));if(!x[t(295)])return x;u=x[t(310)],c<2&&(c=0)}else 1===c&&(x=i[t(368)])&&x[t(360)](i),c<2&&(u=TypeError(t(357)+e+"' method"),c=1);i=v}else if((x=(_=p.n<0)?u:o[t(360)](a,p))!==h)break}catch(e){i=v,c=1,u=e}finally{s=1}}return{value:x,done:_}}),!0),r;function y(e,r){for(c=e,u=r,x=0;!_&&s&&!n&&x<l.length;x++){var n,t=l[x],o=p.p,a=t[2];3<e?(n=a===r)&&(u=t[(c=t[4])?5:c=3],t[4]=t[5]=v):t[0]<=o&&((n=e<2&&o<t[1])?(c=0,p.v=r,p.n=t[1]):o<a&&(n=e<3||t[0]>r||a<r)&&(t[4]=e,t[5]=r,p.n=a,c=0))}if(n||1<e)return h;throw _=!0,r}}var h={};function m(){}function o(){}function a(){}var x=Object[g(335)],e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),i=a.prototype=m.prototype=Object[g(347)](e);function c(e){var r=g;return Object[r(333)]?Object[r(333)](e,a):(e.__proto__=a,_regeneratorDefine2(e,n,r(359))),e[r(352)]=Object[r(347)](i),e}return o[g(352)]=a,_regeneratorDefine2(i,g(315),a),_regeneratorDefine2(a,g(315),o),o[g(298)]=g(359),_regeneratorDefine2(a,n,g(359)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,g(290)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,"toString",function(){return g(324)}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var a=_0x5c8b,i=Object[a(318)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x5c8b(372)](r,n,e)})})("next",0),t(o(326),1),t("return",2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var c=_0x5c8b;try{var u=e[a](i),f=u[c(310)]}catch(e){return void n(e)}u.done?r(f):Promise[c(366)](f)[c(286)](t,o)}function _asyncToGenerator(c){return function(){var e=this,i=arguments;return new Promise(function(r,n){var t=c.apply(e,i);function o(e){asyncGeneratorStep(t,r,n,o,a,_0x5c8b(297),e)}function a(e){asyncGeneratorStep(t,r,n,o,a,_0x5c8b(326),e)}o(void 0)})}}function _classCallCheck(e,r){var n=_0x5c8b;if(!(e instanceof r))throw new TypeError(n(328))}function _defineProperties(e,r){for(var n=_0x5c8b,t=0;t<r[n(334)];t++){var o=r[t];o[n(309)]=o[n(309)]||!1,o[n(299)]=!0,n(310)in o&&(o[n(332)]=!0),Object[n(318)](e,_toPropertyKey(o[n(369)]),o)}}function _createClass(e,r,n){var t=_0x5c8b;return r&&_defineProperties(e[t(352)],r),n&&_defineProperties(e,n),Object[t(318)](e,t(352),{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,r){var n=_0x5c8b;if(n(329)!=_typeof(e)||!e)return e;var t=e[Symbol[n(354)]];if(void 0===t)return(n(305)===r?String:Number)(e);t=t[n(360)](e,r||"default");if(n(329)!=_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}function _0x5c8b(e,r){var n=_0x2ade();return(_0x5c8b=function(e,r){return n[e-=285]})(e,r)}(()=>{for(var e=_0x5c8b,r=_0x2ade();;)try{if(522403==-parseInt(e(311))*(-parseInt(e(344))/2)+parseInt(e(289))/3*(parseInt(e(287))/4)+parseInt(e(317))/5*(parseInt(e(330))/6)+-parseInt(e(308))/7*(-parseInt(e(325))/8)+parseInt(e(361))/9*(parseInt(e(322))/10)+-parseInt(e(292))/11*(-parseInt(e(358))/12)+-parseInt(e(365))/13)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var path=require(_0x381f07(307)),fs=require("fs"),packOptions=require(_0x381f07(285)),_require=require(_0x381f07(337)),jsScanner=_require[_0x381f07(288)],_require2=require(_0x381f07(294)),getProjectInfo=_require2.getProjectInfo,_require3=require(_0x381f07(314)),configs=_require3[_0x381f07(351)],log4js=require("../../common/log4js"),logger=log4js[_0x381f07(313)](_0x381f07(346));function generateIgnoreRule(e){var r;return(r=e?packOptions[_0x381f07(345)](e):r)||{}}var BeforeLoaderPlugin=(()=>{var e,r=_0x381f07;return _createClass(function e(r){var n=_0x5c8b;_classCallCheck(this,e),this[n(367)]=r},[{key:r(316),value:function(t){var o=r,a=this;[o(338),"watchRun"].forEach(function(e){var r,n=o;t.hooks[e][n(301)](n(291),(r=_asyncToGenerator(_regenerator().m(function e(r){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,a.setupGlobalResources();case 1:return e.a(2)}},e)})),function(e){return r[_0x5c8b(316)](this,arguments)}))})}},{key:r(374),value:(e=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var r=_0x5c8b;;)switch(e.n){case 0:return e.n=1,transFile(this[r(367)][r(319)],this[r(367)]);case 1:return e.a(2)}},e,this)})),function(){return e[_0x5c8b(316)](this,arguments)})}])})();function transFile(e,r){return _transFile[_0x381f07(316)](this,arguments)}function _transFile(){return(_transFile=_asyncToGenerator(_regenerator().m(function e(n,t){var o,a,i,c,u,f,s,l;return _regenerator().w(function(e){for(var r=_0x5c8b;;)switch(e.n){case 0:if(e.p=0,fs[r(339)](n)){e.n=1;break}return e.a(2);case 1:return o=getProjectInfo(),a=generateIgnoreRule(o.projectCfg),e.n=2,fs[r(376)][r(343)](n);case 2:i=e.v,i=_createForOfIteratorHelper(i),e.p=3,i.s();case 4:if((f=i.n())[r(295)]){e.n=10;break}return c=f.value,u=path.join(n,c),e.n=5,fs[r(376)][r(320)](u);case 5:if(e.v[r(302)]())return e.n=6,transFile(u,t);e.n=7;break;case 6:e.n=9;break;case 7:if(c[r(341)](r(350))&&!packOptions[r(362)](path[r(306)](o[r(371)],u),a))return e.n=8,fs[r(376)][r(303)](u,"utf-8");e.n=9;break;case 8:f=e.v,s=null==u?void 0:u.replace(/\\/g,"/"),jsScanner(f,s,t[r(355)],t[r(304)]);case 9:e.n=4;break;case 10:e.n=12;break;case 11:e.p=11,s=e.v,i.e(s);case 12:return e.p=12,i.f(),e.f(12);case 13:e.n=15;break;case 14:if(e.p=14,l=e.v,logger[r(375)](r(348).concat(n),l),configs[r(336)]||configs[r(296)]){e.n=15;break}throw""[r(331)](l);case 15:return e.a(2)}},e,null,[[3,11,12,13],[0,14]])}))).apply(this,arguments)}function _0x2ade(){var e=["then","1772mXNQtS","jsScanner","3030oFgDkt","Generator","BeforeLoaderPlugin","5698671brOxFc","Set","../../common/utils","done","watch","next","displayName","configurable","function","tapPromise","isDirectory","readFile","subpackage","string","relative","path","24052cKnrYr","enumerable","value","1gRqhYZ","@@iterator","getLogger","../../common/config","constructor","apply","235MNFEBr","defineProperty","src","stat","Arguments","150RaWxzi","exports","[object Generator]","1248bqymMj","throw","test","Cannot call a class as a function","object","10068iIIGgh","concat","writable","setPrototypeOf","length","getPrototypeOf","serve","../common/beforeLoaderProcess","beforeRun","existsSync","toStringTag","endsWith","symbol","readdir","1607386WqoxBE","parseIgnoreRules","manifest-handler","create","扫描目录错误: ","@@toStringTag",".js","configs","prototype","Map","toPrimitive","aliases","iterator result is not an object","The iterator does not provide a '","12DZGYOz","GeneratorFunction","call","238527YTLcJd","isIgnoreFile","isArray","bind","29369704AaxmWu","resolve","options","return","key","iterator","ascfSrcPath","_invoke","toString","setupGlobalResources","error","promises","../common/packoptions-utils"];return(_0x2ade=function(){return e})()}module[_0x381f07(323)]=BeforeLoaderPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x356165=_0x56d6;function _0x56d6(e,r){var t=_0x54bb();return(_0x56d6=function(e,r){return t[e-=255]})(e,r)}function _typeof(e){var t=_0x56d6;return(_typeof=t(308)==typeof Symbol&&t(311)==typeof Symbol[t(280)]?function(e){return typeof e}:function(e){var r=t;return e&&r(308)==typeof Symbol&&e[r(321)]===Symbol&&e!==Symbol.prototype?r(311):typeof e})(e)}function _classCallCheck(e,r){var t=_0x56d6;if(!(e instanceof r))throw new TypeError(t(271))}function _defineProperties(e,r){for(var t=_0x56d6,o=0;o<r[t(259)];o++){var n=r[o];n.enumerable=n[t(304)]||!1,n[t(298)]=!0,"value"in n&&(n[t(269)]=!0),Object[t(278)](e,_toPropertyKey(n[t(268)]),n)}}function _0x54bb(){var e=["writable","index.js","Cannot call a class as a function","953412nrgOBJ","@@toPrimitive must return a primitive value.","apply","rename","39LYjsCu","hooks","defineProperty","63gMqFje","iterator","default","join","../../common/log4js.js","prototype","parse","entryDir","../common/manifest-manager","addSubInfo","17744sqCeJe","unlinkSync","path","399658VvDxkN","1225468hJqRPg","getSubRootMap","Error reading output directory:","object","readFileSync","configurable","../common/quick-generate-subpackage","stringify","24591QCrsLk","setModuleName","669770qTtNPQ","enumerable","1687ggcwSD","CopyAscfBundlePlugin","forEach","function","368VOkhQc","manifest","symbol","projectPath","180jIZZGp","root","_supportLegacyHos","copyDirectory","copySubFile","call","get","build-profile.json5","constructor","options","lstatSync","manifestManager","1HgztvP","../../ascf-project-generator/templates","../../common/utils","resolve","writeFileSync","length","../ascf_build","existsSync","650452zFHvAQ","error","string","deleteNotExistSub","5DZvlDO","toString","key"];return(_0x54bb=function(){return e})()}function _createClass(e,r,t){var o=_0x56d6;return r&&_defineProperties(e[o(284)],r),t&&_defineProperties(e,t),Object[o(278)](e,o(284),{writable:!1}),e}function _toPropertyKey(e){var r=_0x56d6,e=_toPrimitive(e,"string");return r(311)==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x56d6;if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return(t(264)===r?String:Number)(e);o=o[t(318)](e,r||t(281));if(t(296)!=_typeof(o))return o;throw new TypeError(t(273))}(()=>{for(var e=_0x56d6,r=_0x54bb();;)try{if(450238==-parseInt(e(325))*(parseInt(e(293))/2)+parseInt(e(301))/3*(-parseInt(e(309))/4)+-parseInt(e(266))/5*(parseInt(e(272))/6)+parseInt(e(305))/7*(parseInt(e(289))/8)+-parseInt(e(279))/9*(-parseInt(e(303))/10)+parseInt(e(262))/11*(parseInt(e(313))/12)+-parseInt(e(276))/13*(-parseInt(e(292))/14))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0x356165(291)),_require=require(_0x356165(256)),getProjectInfo=_require.getProjectInfo,json5=require("json5"),_require2=require(_0x356165(287)),getSubRootMap=_require2[_0x356165(294)],_require3=require(_0x356165(299)),copyDirectory=_require3[_0x356165(316)],setModuleName=_require3[_0x356165(302)],addSubInfo=_require3[_0x356165(288)],deleteNotExistSub=_require3[_0x356165(265)],log4js=require(_0x356165(283)),_require4=require(_0x356165(287)),manifestManager=_require4[_0x356165(324)],logger=log4js.getLogger("copy-bundle-plugin");function deleteDirectory(t){var o=_0x356165;fs[o(261)](t)&&(fs.readdirSync(t)[o(307)](function(e){var r=o,e=path[r(282)](t,e);fs[r(323)](e).isDirectory()?deleteDirectory(e):fs[r(290)](e)}),fs.rmdirSync(t))}function copySubFile(e,r,t,o){var n=_0x356165,i=t.bundleDir,a=t[n(286)],u=path.resolve(__dirname,n(255)),t=path.resolve(t[n(312)],n(260),e,i,o),e=(copyDirectory(u,r),copyDirectory(path.join(a,o),t),deleteDirectory(path[n(282)](a,o)),path[n(257)](t,n(270)));fs[n(275)](e,path[n(257)](r,i,"index.js"),function(){})}function eachSub(n,i){var a=_0x356165,e=manifestManager.getManifestData()[a(310)].subpackages||[],u=getSubRootMap();e[a(307)](function(e){var r=a,t=u[r(319)](e.root),o=path[r(257)](n[r(312)],r(260),t);copySubFile(t,o,n,e[r(314)]),null!=i&&i(o,t)})}function copyAs(e){var r=_0x356165,t=path[r(257)](getProjectInfo().projectPath,r(320)),o=json5[r(285)](fs[r(297)](t)[r(267)]());deleteNotExistSub(o),eachSub(e,function(e,r){setModuleName(e,r),addSubInfo(o,r)}),fs[r(258)](t,JSON[r(300)](o,null,2))}var CopyAscfBundlePlugin=(()=>{var r=_0x356165;return _createClass(function e(r){_classCallCheck(this,e),this.options=r},[{key:r(274),value:function(e){var o=r,n=this;e[o(277)].afterEmit.tapAsync(o(306),function(e,r){var t=o;try{global[t(315)]?eachSub(n.options):copyAs(n[t(322)]),r()}catch(e){return logger[t(263)](t(295),e),r(e)}})}}])})();module.exports=CopyAscfBundlePlugin,exports[_0x356165(317)]=copySubFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x2b309a=_0x3ffc;function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x3ffc(155))}function _unsupportedIterableToArray(r,n){var e,a=_0x3ffc;if(r)return a(190)==typeof r?_arrayLikeToArray(r,n):(e={}[a(160)][a(161)](r).slice(8,-1),a(169)===e&&r[a(191)]&&(e=r.constructor[a(187)]),a(157)===e||a(173)===e?Array[a(177)](r):a(186)===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[a(172)](e)?_arrayLikeToArray(r,n):void 0)}function _iterableToArray(r){var n=_0x3ffc;if("undefined"!=typeof Symbol&&null!=r[Symbol[n(179)]]||null!=r[n(164)])return Array[n(177)](r)}function _0x3ffc(r,n){var e=_0x7ca1();return(_0x3ffc=function(r,n){return e[r-=151]})(r,n)}function _arrayWithoutHoles(r){if(Array[_0x3ffc(174)](r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,n){var e=_0x3ffc;(null==n||n>r[e(196)])&&(n=r[e(196)]);for(var a=0,t=Array(n);a<n;a++)t[a]=r[a];return t}(()=>{for(var r=_0x3ffc,n=_0x7ca1();;)try{if(911053==+parseInt(r(165))+-parseInt(r(192))/2*(-parseInt(r(189))/3)+parseInt(r(171))/4+parseInt(r(151))/5+-parseInt(r(167))/6+-parseInt(r(168))/7+-parseInt(r(178))/8*(parseInt(r(176))/9))break;n.push(n.shift())}catch(r){n.push(n.shift())}})();var _require=require("../../common/config"),configs=_require.configs,log4js=require(_0x2b309a(156)),logger=log4js[_0x2b309a(175)](_0x2b309a(153));function DynamicEntryPlugin(r){this[_0x2b309a(166)]=r}function _0x7ca1(){var r=["tap","restartDevServer","watch","join","apply","Arguments","name","prototype","3496332RKSROO","string","constructor","2udfIZo","DynamicEntryPlugin","concat","beginTime","length","3519055xCiNUW","hooks","dynamic-entry-plugin","some","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","../../common/log4js.js","Map","serve","watchRun","toString","call","endsWith","info","@@iterator","943199FLXMUu","options","161250SndleB","6598599TTMHgD","Object","modifiedFiles","4677572HmzpwO","test","Set","isArray","getLogger","18LYbyQP","from","8405048fwNQqZ","iterator","start reload manifest"];return(_0x7ca1=function(){return r})()}DynamicEntryPlugin[_0x2b309a(188)][_0x2b309a(185)]=function(r){var a=_0x2b309a;r[a(152)][a(159)][a(181)](a(193),function(r){var n,e=a;global[e(195)]=(new Date).getTime(),r[e(170)]&&(configs[e(158)]||configs[e(183)])&&(r=_toConsumableArray(r.modifiedFiles))[e(196)]&&(logger.info(""[e(194)](r[e(196)]," files changed, recompiling...\nChanged files: ").concat(r[e(184)]("\n"))),r[e(154)](function(r){return r[e(162)](".json")}))&&(logger[e(163)](e(180)),null!=(n=(r=global)[e(182)]))&&n[e(161)](r)})},module.exports=DynamicEntryPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x21b243=_0x12b2;function _typeof(e){var r=_0x12b2;return(_typeof=r(349)==typeof Symbol&&r(358)==typeof Symbol[r(356)]?function(e){return typeof e}:function(e){var t=r;return e&&t(349)==typeof Symbol&&e[t(344)]===Symbol&&e!==Symbol[t(347)]?t(358):typeof e})(e)}function _classCallCheck(e,t){var r=_0x12b2;if(!(e instanceof t))throw new TypeError(r(376))}function _0x12b2(e,t){var r=_0x1cd2();return(_0x12b2=function(e,t){return r[e-=331]})(e,t)}function _defineProperties(e,t){for(var r=_0x12b2,n=0;n<t[r(342)];n++){var o=t[n];o[r(365)]=o[r(365)]||!1,o.configurable=!0,r(364)in o&&(o[r(351)]=!0),Object.defineProperty(e,_toPropertyKey(o[r(374)]),o)}}function _createClass(e,t,r){var n=_0x12b2;return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object[n(337)](e,n(347),{writable:!1}),e}function _toPropertyKey(e){var t=_0x12b2,e=_toPrimitive(e,"string");return t(358)==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0x12b2;if(r(352)!=_typeof(e)||!e)return e;var n=e[Symbol[r(336)]];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||r(338));if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{for(var e=_0x12b2,t=_0x1cd2();;)try{if(948696==+parseInt(e(346))+parseInt(e(345))/2+-parseInt(e(350))/3+parseInt(e(340))/4+parseInt(e(335))/5*(parseInt(e(331))/6)+-parseInt(e(333))/7*(-parseInt(e(370))/8)+parseInt(e(375))/9*(-parseInt(e(378))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var fs=require("fs"),path=require(_0x21b243(334)),_require=require("../../common/utils"),readJsonFile=_require[_0x21b243(361)],writeJsonFile=_require[_0x21b243(369)],log4js=require(_0x21b243(353)),logger=log4js[_0x21b243(359)](_0x21b243(341)),ExtConfigPlugin=_createClass(function e(t){_classCallCheck(this,e),this.options=t},[{key:"apply",value:function(e){var u=_0x12b2,f=this;e[u(367)][u(332)][u(355)]("ExtConfigPlugin",function(t,r){var n=u;try{logger[n(360)](n(348));var e,o=path[n(343)](f[n(339)][n(354)],n(371)),i=path[n(343)](f[n(339)][n(354)],n(366)),a=path[n(343)](f[n(339)][n(362)],"extConfig.json"),s={};fs[n(372)](i)?(s=readJsonFile(i),writeJsonFile(a,s)):fs.existsSync(o)&&((e=readJsonFile(o))[n(357)]&&(s=e.ext),writeJsonFile(a,s)),logger[n(360)]("ExtConfigPlugin completed"),r()}catch(e){return t.errors[n(363)]({message:n(377)[n(373)](e,"\n")+"@ "[n(373)](f[n(339)].projectPath,"\n")}),r(e)}})}}]);function _0x1cd2(){var e=["entryDir","push","value","enumerable","extConfig.json","hooks","exports","writeJsonFile","1899536DeRCvn","ext.json","existsSync","concat","key","11760579KMBrno","Cannot call a class as a function","ERROR: Generate extConfig.json failed : ","30NhFbQx","6tzluXm","afterEmit","49KQsDlW","path","6564730jLJAuj","toPrimitive","defineProperty","default","options","4479076WFmvao","extConfig-plugin","length","resolve","constructor","3789152FYcJPN","342627vlNqHw","prototype","ExtConfigPlugin start","function","4389369jIdcpa","writable","object","../../common/log4js.js","projectPath","tapAsync","iterator","ext","symbol","getLogger","debug","readJsonFile"];return(_0x1cd2=function(){return e})()}module[_0x21b243(368)]=ExtConfigPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x194013=_0x235b;function _0x235b(e,t){var r=_0x1d2b();return(_0x235b=function(e,t){return r[e-=395]})(e,t)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x235b(401))}function _iterableToArray(e){var t=_0x235b;if(t(427)!=typeof Symbol&&null!=e[Symbol[t(472)]]||null!=e[t(487)])return Array[t(404)](e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,a,o,i=_0x235b,s="undefined"!=typeof Symbol&&e[Symbol[i(472)]]||e["@@iterator"];if(s)return a=!(n=!0),{s:function(){s=s.call(e)},n:function(){var e=i,t=s.next();return n=t[e(429)],t},e:function(e){a=!0,r=e},f:function(){var e=i;try{n||null==s[e(455)]||s.return()}finally{if(a)throw r}}};if(Array[i(454)](e)||(s=_unsupportedIterableToArray(e))||t&&e&&i(418)==typeof e[i(440)])return s&&(e=s),o=0,{s:t=function(){},n:function(){return o>=e[i(440)]?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError(i(484))}function _unsupportedIterableToArray(e,t){var r,n=_0x235b;if(e)return n(424)==typeof e?_arrayLikeToArray(e,t):(r={}[n(469)][n(421)](e)[n(465)](8,-1),n(456)===r&&e[n(490)]&&(r=e[n(490)][n(445)]),n(483)===r||n(434)===r?Array[n(404)](e):n(432)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(426)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0x235b;(null==t||t>e[r(440)])&&(t=e[r(440)]);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}(()=>{for(var e=_0x235b,t=_0x1d2b();;)try{if(341926==-parseInt(e(409))+parseInt(e(479))/2+-parseInt(e(474))/3*(-parseInt(e(491))/4)+parseInt(e(417))/5*(-parseInt(e(403))/6)+-parseInt(e(411))/7+-parseInt(e(446))/8+parseInt(e(450))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var path=require("path"),fs=require("fs"),utils=require(_0x194013(396)),_require=require("../common/manifest-manager"),manifestManager=_require[_0x194013(423)],_require2=require("../../common/config"),configs=_require2.configs,log4js=require(_0x194013(435)),logger=log4js.getLogger(_0x194013(399)),HTML_HEAD=_0x194013(406)+"<html>\n"+_0x194013(480)+' <meta charset="UTF-8" />\n'+_0x194013(400)+_0x194013(451)+' <link rel="stylesheet" href="assets://base.css" type="text/css" media="screen" charset="utf-8" />\n </head>\n',HTML_BODY=_0x194013(438)+_0x194013(430)+_0x194013(441),SCRIPT_APP_CSS=_0x194013(473),HTML_BODY_END=_0x194013(488),HTML_HTML_END=_0x194013(448),GLOBAL_COMPONENTS=[];function HtmlGeneratorPlugin(e){this[_0x194013(444)]=e}function generateHtmlFile(e,t,r,n,a,o){var i=_0x194013,s=HTML_HEAD;if(s+=HTML_BODY,r||(s+=SCRIPT_APP_CSS),o)n[i(398)](function(e){var t=i;return e[t(470)]!==t(436)}).forEach(function(e){var t=i,e=e[t(453)];return s+=t(482).concat(e,'.pack.js"><\/script>\n')});else if(e[t][i(464)]&&(s+=' <script type="text/javascript" src="/custom-tab-bar/index.pack.js"><\/script>\n'),n&&0<n[i(440)]){var c,u=_createForOfIteratorHelper(n);try{for(u.s();!(c=u.n())[i(429)];){var l=c[i(419)],p=l[i(453)],f=l[i(413)];s+=i(482)[i(477)](p,i(476))[i(477)](f?"async":"",i(416))}}catch(e){u.e(e)}finally{u.f()}}s=s+HTML_BODY_END+HTML_HTML_END,r=path.join(a,"".concat(t,i(460)));utils.mkdirsSync(path[i(449)](r)),fs.writeFileSync(r,s,i(415))}function _0x1d2b(){var e=["unshift","../common/utils","subpackages","filter","manifest-handler",' <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0,',"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","pagePath","18nluREH","from","root","<!DOCTYPE html>\n","srcPath","flat","93963baIQpd","emit","958272gzRxOq","watch","needAsync","getIsOpenLazyCodeLoad","utf8","><\/script>\n","818365JjepjD","number","value","prototype","call","manifest","manifestManager","string","startsWith","test","undefined","endsWith","done",' <div id="holder"></div>\n',"existsSync","Arguments","independentList","Set","../../common/log4js","component","has"," <body>\n","compJsonPath","length"," <script src='assets://renderer.js'><\/script>\n","apply","get","options","name","3535776Wlvdga","components","</html>","dirname","11285694cZEGTE",'minimum-scale=1.0, viewport-fit=cover" />\n',"buildPath","path","isArray","return","Object","add","serve","push",".html","values","page","exports","useCustomTabBar","slice","error","forEach","hasOwnProperty","toString","type","subpackage","iterator"," <script type=\"text/javascript\" src='/app.css.js'><\/script>\n","186PUoeSR","indexOf",'.pack.js" ',"concat","componentList","91196fIDiLS"," <head>\n","ERROR: Can not resolve file:",' <script type="text/javascript" src="/',"Map","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","hooks","tapAsync","@@iterator"," </body>\n","getManifestData","constructor","13304xIXWzz"];return(_0x1d2b=function(){return e})()}function getSubpackageData(e,t,r){var n=_0x194013,t=JSON.parse(JSON.stringify((null==t?void 0:t[n(397)])||[]));return null!=t&&t.forEach(function(e){var t=n;e[t(405)][t(428)]("/")||(e.root+="/")}),{subpackage:t,pagePath:e,srcPath:r}}function deduplicate(e){var r=new Set;return e.filter(function(e){var t=_0x235b,e=""[t(477)](e[t(453)],"-").concat(e[t(413)]);return!r[t(437)](e)&&(r[t(457)](e),!0)})}function getPageJSList(e,t,r,n){var a=_0x194013,n=getSubpackageData(e,n,r),r=[];return getUsingComponents(t[a(443)](e),e,r,t,a(462),n),r=_toConsumableArray(new Set(utils[a(408)](r,1/0))),_toConsumableArray(deduplicate(r))[a(398)](function(e){return"custom-tab-bar/index"!==e[a(453)]})[a(477)]({path:e,needAsync:!1,type:"page"})}function getUsingComponents(e,o,i,s){var c=_0x194013,t=4<arguments[c(440)]&&void 0!==arguments[4]?arguments[4]:"component",u=5<arguments.length?arguments[5]:void 0,e=e[c(478)]||[];"page"===t&&e[c(459)][c(442)](e,_toConsumableArray(GLOBAL_COMPONENTS)),e.forEach(function(e){var t=c,r=e[t(439)],e=e.path,n=[],a=isAsyncNeeded(e,u[t(471)],u[t(402)],u[t(407)]);if(n[t(395)]({path:e,needAsync:a,type:t(436)}),i[t(395)](n),o!==e)if(fs[t(431)](r))s[t(437)](e)&&getUsingComponents(s[t(443)](e),e,n,s,t(436),u);else{a=t(481).concat(r);if(logger[t(466)](a),!configs[t(458)]&&!configs[t(412)])throw a}})}function isAsyncNeeded(r,e,n,t){var a=_0x194013,o="",i="",s=!0,c=!0;return null!=e&&e[a(467)](function(e){var t=a;n.startsWith(e[t(405)])&&(o=e.root,s=!1),r[t(425)](e.root)&&(i=e.root,c=!1)}),!(c||!s&&o===i)}HtmlGeneratorPlugin.prototype[_0x194013(442)]=function(e){var f=_0x194013,_=this[f(444)];e[f(485)][f(410)][f(486)]("HtmlGeneratorPlugin",function(e,t){var r,n,a=f,o=manifestManager[a(489)](),i=_.srcPath,s=_[a(452)],c=o[a(422)],u=o[a(447)],l=c[a(462)],p=(GLOBAL_COMPONENTS=Object[a(461)](c.usingComponents||{}).map(function(e){return u[a(437)](e)&&u.get(e)}),manifestManager[a(414)]());for(r in l)Object[a(420)][a(468)].call(l,r)&&(n=getPageJSList(r,u,i,c),generateHtmlFile(l,r,-1!==c[a(433)][a(475)](r),n,s,p));t()})},module[_0x194013(463)]=HtmlGeneratorPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x46473d=_0x3e93;function _typeof(r){var t=_0x3e93;return(_typeof=t(284)==typeof Symbol&&t(292)==typeof Symbol.iterator?function(r){return typeof r}:function(r){var e=t;return r&&e(284)==typeof Symbol&&r[e(341)]===Symbol&&r!==Symbol[e(319)]?e(292):typeof r})(r)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(_0x3e93(308))}function _unsupportedIterableToArray(r,e){var t,n=_0x3e93;if(r)return n(281)==typeof r?_arrayLikeToArray(r,e):(t={}[n(324)][n(301)](r)[n(287)](8,-1),n(331)===t&&r.constructor&&(t=r[n(341)][n(298)]),n(317)===t||n(303)===t?Array.from(r):n(289)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(309)](t)?_arrayLikeToArray(r,e):void 0)}function _arrayLikeToArray(r,e){(null==e||e>r[_0x3e93(304)])&&(e=r.length);for(var t=0,n=Array(e);t<e;t++)n[t]=r[t];return n}function _iterableToArrayLimit(r,e){var t=_0x3e93,n=null==r?null:t(328)!=typeof Symbol&&r[Symbol[t(311)]]||r[t(293)];if(null!=n){var a,o,i,u,c=[],l=!0,s=!1;try{if(i=(n=n.call(r))[t(282)],0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n))[t(330)])&&(c[t(279)](a[t(329)]),c[t(304)]!==e);l=!0);}catch(r){s=!0,o=r}finally{try{if(!l&&null!=n[t(342)]&&(u=n[t(342)](),Object(u)!==u))return}finally{if(s)throw o}}return c}}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _0x3b3c(){var r=["Object","errors","1192218RdZwdf","I18NTransformPlugin","tapAsync","hooks","path","join","keys","warnings","constructor","return","writable","map","push","entries","string","next","ERROR: Illegal JSON file name: ","function","emit","40mGisuN","slice",".json","Arguments","../js-parser/parser","@@toPrimitive must return a primitive value.","symbol","@@iterator","317573HIBKuc","toPrimitive","concat","4820256lbbCbV","name",", Use ","forEach","call","checkJsonDupKey","Set","length","19018816flVAvT","stringify","enumerable","Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","test","readdirSync","iterator","104636sxBRAv","exports","reduce","5109060HaOCRg","options","Map","split","prototype"," instead.\n@ ","configurable","apply","defineProperty","toString","replace","2324247CNNclo","extname","undefined","value","done"];return(_0x3b3c=function(){return r})()}function _classCallCheck(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(r,e){for(var t=_0x3e93,n=0;n<e[t(304)];n++){var a=e[n];a[t(307)]=a[t(307)]||!1,a[t(321)]=!0,"value"in a&&(a[t(343)]=!0),Object[t(323)](r,_toPropertyKey(a.key),a)}}function _createClass(r,e,t){var n=_0x3e93;return e&&_defineProperties(r[n(319)],e),t&&_defineProperties(r,t),Object.defineProperty(r,n(319),{writable:!1}),r}function _toPropertyKey(r){var e=_0x3e93,r=_toPrimitive(r,e(281));return e(292)==_typeof(r)?r:r+""}function _toPrimitive(r,e){var t=_0x3e93;if("object"!=_typeof(r)||!r)return r;var n=r[Symbol[t(295)]];if(void 0===n)return(t(281)===e?String:Number)(r);n=n.call(r,e||"default");if("object"!=_typeof(n))return n;throw new TypeError(t(291))}(()=>{for(var r=_0x3e93,e=_0x3b3c();;)try{if(489029==-parseInt(r(294))+-parseInt(r(333))/2+parseInt(r(326))/3+parseInt(r(312))/4*(-parseInt(r(286))/5)+-parseInt(r(315))/6+-parseInt(r(297))/7+parseInt(r(305))/8)break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var fs=require("fs"),_require=require(_0x46473d(290)),checkJsonDupKey=_require[_0x46473d(302)],path=require(_0x46473d(337)),illegalRE=/(\w+)_(\w+)/,I18N=(()=>{var n=_0x46473d;return _createClass(function r(e){_classCallCheck(this,r),this.options=e},[{key:n(322),value:function(r){var e=n,t=this;r[e(336)][e(285)][e(335)](e(334),function(i,r){var a=e,n=t[a(316)][a(280)],u={};Object[a(339)](n).forEach(function(t){var o=a;fs[o(310)](""[o(296)](n[t])).filter(function(r){var e=o;return path[e(327)](r)===e(288)})[o(344)](function(r){var e=o;return path[e(338)](""[e(296)](n[t]),r)}).forEach(function(r){var e,t,n=o,r=r.replace(/\\/g,"/"),a=r[n(318)]("/"),a=a[a[n(304)]-1];illegalRE[n(309)](a)?(e=(t=_slicedToArray(a.match(illegalRE).slice(1),2))[0],t=t[1],i[n(332)].push({message:n(283)+""[n(296)](a[n(325)](n(288),""),n(299))[n(296)](e,"-")[n(296)](t,n(320)).concat(r,"\n")})):u[a]=(u[a]||[])[n(296)](r)})}),Object.keys(u)[a(300)](function(r){var e=a,t=u[r][e(314)](function(r,e){e=checkJsonDupKey(r,e,function(r){var e=_0x3e93;return i[e(340)][e(279)](r)});return Object.assign({},r,e)},{}),n=JSON[e(306)](t,null,4);i.assets["i18n/"[e(296)](r)]={source:function(){return n},size:function(){return n[e(304)]}}}),r()})}}])})();function _0x3e93(r,e){var t=_0x3b3c();return(_0x3e93=function(r,e){return t[r-=279]})(r,e)}module[_0x46473d(313)]=I18N;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x10fdac=_0x16c4,fs=((()=>{for(var e=_0x16c4,r=_0x9fc6();;)try{if(402710==+parseInt(e(389))*(parseInt(e(403))/2)+-parseInt(e(377))/3+parseInt(e(380))/4+parseInt(e(393))/5+parseInt(e(417))/6+parseInt(e(416))/7*(-parseInt(e(401))/8)+parseInt(e(381))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require("fs")),path=require(_0x10fdac(367)),utils=require(_0x10fdac(418)),_require=require(_0x10fdac(369)),configs=_require[_0x10fdac(386)],_require2=require(_0x10fdac(404)),manifestManager=_require2[_0x10fdac(361)],getResource=_require2[_0x10fdac(388)],getSubRootMap=_require2[_0x10fdac(390)];function ManifestGeneratorPlugin(e){this[_0x10fdac(408)]=e}function genRouter(n){var t,a=_0x10fdac,e=Object[a(414)](n[a(365)]),o=[],r=n[a(420)]||n[a(397)][0]||"",r=(n[a(384)]&&n[a(384)][a(397)]?(t=n.router.pages,Object[a(414)](t).forEach(function(e){var r=a,n=t[e];o.push(path.join(e,n.component)[r(402)](/\\/g,"/"))}),n.router[a(411)]=r):n[a(384)]={entry:r,pages:{}},e.forEach(function(r){var e=a;o[e(391)](function(e){return e===r})||(n[e(384)][e(397)][r]={component:"",info:n[e(365)][r]})}),e[a(374)](function(e){return e+a(382)}));return r.push(a(405)),r}function _0x16c4(e,r){var n=_0x9fc6();return(_0x16c4=function(e,r){return n[e-=361]})(e,r)}function _0x9fc6(){var e=["../../common/config","global","hasOwnProperty","ManifestGeneratorPlugin","tapAsync","map","getManifestData","emit","50622MCJWgG","forEach","getIsOpenLazyCodeLoad","363196boADhR","2657511kSGlPq",".json","stringify","router","apply","configs","manifest","getResource","1LWdVpN","getSubRootMap","some","pkg","721950GZXGqT","hooks","mkdirsSync","release","pages","fileDependencies","join","window","4193608uPmcti","replace","647978JioIhZ","../common/manifest-manager","app.json","srcPath","exports","options","prototype","add","entry","subpackages","features","keys","deviceList","7SfXnlp","535968GIlXxn","../common/utils","concat","entryPagePath","manifestManager","debugable","writeFileSync","debug","page","utf8","path","root"];return(_0x9fc6=function(){return e})()}ManifestGeneratorPlugin.prototype[_0x10fdac(385)]=function(e){var s=_0x10fdac,r=this[s(408)],i=r[s(406)],c=r.build;e[s(394)][s(376)][s(373)](s(372),function(n,e){var o=s,r=manifestManager[o(375)](),r=Object.assign({},r[o(387)]),t=path.join(c,"manifest.json");configs.isProd()?r.versionType=o(396):(r.versionType=o(364),r[o(364)]=!0,r[o(362)]=!0,global._supportLegacyHos&&(a=configs[o(415)]||process.env.ASCF_DEVICE_LIST||[],r.deviceList=Array.isArray(a)?a[o(399)](","):a)),r[o(370)]={};manifestManager[o(379)]()&&(r[o(413)]={lazyCode:"v2"}),r[o(400)]&&(r[o(370)].window=r[o(400)],delete r[o(400)]);var a=genRouter(r);null!=a&&a[o(378)](function(e){var r=o;return n[r(398)][r(410)](path.resolve(i,e))}),delete r[o(397)],delete r[o(365)],Object[o(409)][o(371)].call(r,o(412))&&(r.subpackages=r[o(412)][o(374)](function(e,r){var n=o,t=e[n(368)],a=e.name,e=e.pages;return{resource:getResource(t),name:a||n(392)[n(419)](r+1),pages:e,root:t}})),utils[o(395)](c),fs[o(363)](t,JSON[o(383)](r,null,4),o(366)),e()})},module.exports=ManifestGeneratorPlugin,module[_0x10fdac(407)][_0x10fdac(390)]=getSubRootMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x1283a0=_0x5986;function _0x579c(){var e=["2443833OVjebq","bind","getPrototypeOf","getLogger","throw","signPkg","12168035zfXdDd","length","next","fatal","constructor","../../common/log4js.js","options","setPrototypeOf","10eDarQc","635luUxbP","apply","8qHvYoN","then","iterator","hooks","done","quick-service-plugin","' method","create","../../ascf-sign-tools","_hasInstall","4843035QluCir","ASCF_QS_BUILT_PATH","6793728LIjFUT","[object Generator]","prototype","toStringTag","iterator result is not an object","Generator","value","return","exports","resolve","toString","GeneratorFunction","589926gvmgOv","call","defineProperty","displayName","tapAsync","4836AnvwJD","Generator is already running","4wnSkmN","3409509RLaMqE","_invoke"];return(_0x579c=function(){return e})()}function _regenerator(){var x,h=_0x5986,e="function"==typeof Symbol?Symbol:{},r=e[h(329)]||"@@iterator",n=e[h(342)]||"@@toStringTag";function t(e,r,n,t){var o,a,i,u,c,f,s,_,l,g,v=h,r=r&&r.prototype instanceof b?r:b,r=Object[v(334)](r.prototype);return _regeneratorDefine2(r,v(309),(o=e,a=n,_=t||[],l=!1,g={p:s=0,n:0,v:x,a:p,f:p[(f=v)(311)](x,4),d:function(e,r){return i=e,u=0,c=x,g.n=r,y}},function(e,r,n){var t=f;if(1<s)throw TypeError(t(306));for(l&&1===r&&p(r,n),u=r,c=n;(d=u<2?x:c)||!l;){i||(u?u<3?(1<u&&(g.n=-1),p(u,c)):g.n=c:g.v=c);try{if(s=2,i){if(u||(e=t(318)),d=i[e]){if(!(d=d[t(352)](i,c)))throw TypeError(t(343));if(!d[t(331)])return d;c=d[t(345)],u<2&&(u=0)}else 1===u&&(d=i[t(346)])&&d[t(352)](i),u<2&&(c=TypeError("The iterator does not provide a '"+e+t(333)),u=1);i=x}else if((d=(l=g.n<0)?c:o.call(a,g))!==y)break}catch(e){i=x,u=1,c=e}finally{s=1}}return{value:d,done:l}}),!0),r;function p(e,r){var n=f;for(u=e,c=r,d=0;!l&&s&&!t&&d<_[n(317)];d++){var t,o=_[d],a=g.p,i=o[2];3<e?(t=i===r)&&(c=o[(u=o[4])?5:u=3],o[4]=o[5]=x):o[0]<=a&&((t=e<2&&a<o[1])?(u=0,g.v=r,g.n=o[1]):a<i&&(t=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,g.n=i,u=0))}if(t||1<e)return y;throw l=!0,r}}var y={};function b(){}function o(){}function a(){}var d=Object[h(312)],e=[][r]?d(d([][r]())):(_regeneratorDefine2(d={},r,function(){return this}),d),i=a[h(341)]=b[h(341)]=Object.create(e);function u(e){var r=h;return Object[r(323)]?Object[r(323)](e,a):(e.__proto__=a,_regeneratorDefine2(e,n,r(350))),e[r(341)]=Object.create(i),e}return o[h(341)]=a,_regeneratorDefine2(i,h(320),a),_regeneratorDefine2(a,h(320),o),o[h(354)]=h(350),_regeneratorDefine2(a,n,h(350)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,h(344)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,h(349),function(){return h(340)}),(_regenerator=function(){return{w:t,m:u}})()}function _regeneratorDefine2(e,r,n,t){var a=_0x5986,i=Object[a(353)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x5986(309)](r,n,e)})})("next",0),t(o(314),1),t("return",2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var u=_0x5986;try{var c=e[a](i),f=c[u(345)]}catch(e){return void n(e)}c.done?r(f):Promise[u(348)](f)[u(328)](t,o)}function _asyncToGenerator(c){return function(){var e=this,u=arguments;return new Promise(function(r,n){var t=_0x5986,o=c[t(326)](e,u);function a(e){asyncGeneratorStep(o,r,n,a,i,t(318),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(314),e)}a(void 0)})}}(()=>{for(var e=_0x5986,r=_0x579c();;)try{if(664239==-parseInt(e(351))*(parseInt(e(307))/2)+parseInt(e(308))/3+-parseInt(e(356))/4*(parseInt(e(325))/5)+-parseInt(e(339))/6+parseInt(e(310))/7*(parseInt(e(327))/8)+parseInt(e(337))/9*(parseInt(e(324))/10)+parseInt(e(316))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x1283a0(335)),signPkg=_require[_0x1283a0(315)],log4js=require(_0x1283a0(321)),logger=log4js[_0x1283a0(313)](_0x1283a0(332));function _0x5986(e,r){var n=_0x579c();return(_0x5986=function(e,r){return n[e-=306]})(e,r)}function QuickServiceBuildPlugin(e){this[_0x1283a0(322)]=e}QuickServiceBuildPlugin[_0x1283a0(341)][_0x1283a0(326)]=function(e){var n,r=_0x1283a0,o=this;e[r(330)].afterEmit[r(355)]("QuickServiceBuildPlugin",(n=_asyncToGenerator(_regenerator().m(function e(r,n){var t;return _regenerator().w(function(e){for(var r=_0x5986;;)switch(e.n){case 0:if(e.p=0,global[r(336)]){e.n=2;break}return e.n=1,signPkg(process.env.projectRoot,o[r(322)]);case 1:t=e.v,global[r(338)]=t;case 2:n(),e.n=4;break;case 3:return e.p=3,t=e.v,global.ASCF_QS_BUILT_PATH=null,logger[r(319)]("quick service build fail:",t),e.a(2,n(t));case 4:return e.a(2)}},e,null,[[0,3]])})),function(e,r){return n[_0x5986(326)](this,arguments)}))},module[_0x1283a0(347)]=QuickServiceBuildPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function _0x3d39(e,r){var t=_0x41e7();return(_0x3d39=function(e,r){return t[e-=162]})(e,r)}var _0x2e79a0=_0x3d39;function _typeof(e){var r=_0x3d39;return(_typeof=r(189)==typeof Symbol&&r(181)==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&r(189)==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,r){var t=_0x3d39;if(!(e instanceof r))throw new TypeError(t(178))}function _defineProperties(e,r){for(var t=_0x3d39,o=0;o<r[t(211)];o++){var n=r[o];n[t(192)]=n[t(192)]||!1,n[t(173)]=!0,"value"in n&&(n.writable=!0),Object[t(171)](e,_toPropertyKey(n[t(201)]),n)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,_0x3d39(188));return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x3d39;if("object"!=_typeof(e)||!e)return e;var o=e[Symbol[t(191)]];if(void 0===o)return(t(188)===r?String:Number)(e);o=o[t(176)](e,r||"default");if("object"!=_typeof(o))return o;throw new TypeError(t(200))}(()=>{for(var e=_0x3d39,r=_0x41e7();;)try{if(116254==-parseInt(e(203))+parseInt(e(212))/2*(-parseInt(e(169))/3)+parseInt(e(162))/4*(parseInt(e(164))/5)+parseInt(e(172))/6+parseInt(e(166))/7*(-parseInt(e(197))/8)+parseInt(e(206))/9*(-parseInt(e(168))/10)+parseInt(e(208))/11*(parseInt(e(167))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require("../common/utils"),normalizedAbsPath=_require[_0x2e79a0(165)],_require2=require(_0x2e79a0(209)),configs=_require2[_0x2e79a0(215)],webpack=require(_0x2e79a0(179)),ReplaceModulePathsWithIdsPlugin=(()=>{var t=_0x2e79a0;return _createClass(function e(){_classCallCheck(this,e)},[{key:t(213),value:function(e){var r=t;e[r(190)][r(175)][r(185)](r(180),function(u){var e=r;u[e(190)][e(199)][e(185)]("ReplaceModulePathsWithIdsPlugin",function(t){var a=e,i=new Map;u.modules.forEach(function(e){var r=_0x3d39,t=e[r(196)]||e[r(170)]&&"string"==typeof e[r(170)]?e[r(170)]:null;null!=t&&t[r(216)](r(204))&&(t=normalizedAbsPath(t),i[r(193)](t,e.id))}),Object[a(177)](t)[a(202)](function(e){var o,n=a,r=normalizedAbsPath(e);Object[n(182)][n(195)][n(176)](configs[n(205)],r)&&(r=Array[n(187)](configs[n(205)][r]).sort(function(e,r){var t=n;return r[t(211)]-e[t(211)]}),o=t[e].source()[n(186)](),r[n(202)](function(e){var r=n,t=i[r(163)](e);void 0!==t&&(e=new RegExp("__webpack_require__\\(\\\\?['\"]"[r(194)](e,r(183)),"g"),o=o[r(174)](e,r(210).concat(t,"')")))}),u[n(184)](e,new webpack[n(214)][n(198)](o)))})})})}}])})();function _0x41e7(){var e=["defineProperty","631326HYAbGq","configurable","replace","compilation","call","keys","Cannot call a class as a function","webpack","ReplaceModulePathsWithIdsPlugin","symbol","prototype","\\\\?['\"]\\)","updateAsset","tap","toString","from","string","function","hooks","toPrimitive","enumerable","set","concat","hasOwnProperty","userRequest","10536Hdzzdo","RawSource","optimizeAssets","@@toPrimitive must return a primitive value.","key","forEach","29318pkJCLq",".js","ascfLazyImportFiles","189uINQJw","exports","2398UkNfSQ","../../common/config","__webpack_require__('","length","8998VtOdtQ","apply","sources","configs","endsWith","716LvVqbJ","get","5895UWbKci","normalizedAbsPath","861rQqdad","11064ckypTY","5590IfuKcu","132BXdwVe","rawRequest"];return(_0x41e7=function(){return e})()}module[_0x2e79a0(207)]=ReplaceModulePathsWithIdsPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x46ab0a=_0x26d4;function _typeof(t){var e=_0x26d4;return(_typeof=e(385)==typeof Symbol&&e(338)==typeof Symbol.iterator?function(t){return typeof t}:function(t){var r=e;return t&&"function"==typeof Symbol&&t[r(422)]===Symbol&&t!==Symbol[r(371)]?r(338):typeof t})(t)}function _createForOfIteratorHelper(t,r){var e,n,a,i,o=_0x26d4,s="undefined"!=typeof Symbol&&t[Symbol[o(388)]]||t[o(395)];if(s)return a=!(n=!0),{s:function(){s=s.call(t)},n:function(){var t=s.next();return n=t.done,t},e:function(t){a=!0,e=t},f:function(){var t=o;try{n||null==s[t(331)]||s[t(331)]()}finally{if(a)throw e}}};if(Array.isArray(t)||(s=_unsupportedIterableToArray(t))||r&&t&&o(392)==typeof t.length)return s&&(t=s),i=0,{s:r=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r};throw new TypeError(o(437))}function _unsupportedIterableToArray(t,r){var e,n=_0x26d4;if(t)return"string"==typeof t?_arrayLikeToArray(t,r):(e={}[n(441)][n(451)](t)[n(423)](8,-1),n(378)===e&&t[n(422)]&&(e=t[n(422)][n(309)]),n(386)===e||"Set"===e?Array[n(399)](t):n(370)===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0)}function _0xbe4c(){var t=[" is not iterable","indexOf","suspendedYield","illegal catch attempt","try statement without catch or finally","resultName","../../common/icon-handler",".md","88HgClfP","reverse",".wxs","@@toStringTag","suspendedStart","tryEntries","stop","join","../common/packoptions-utils","Arguments","prototype","manifest","includes","wrap","99lhkDTV","getPrototypeOf","dispatchException","Object","keys","catch",".flow","isIgnoreFile","values","delegate","function","Map","async","iterator","src","method",".css","number",".vue","end","@@iterator","tryLoc","ResourcePlugin",".fecsrc","from","readdirSync","arg","81742uWbTUH","_sent","7476RdBDeR","prev","Generator","path","break","rval","mark","645380KlIQnK","getManifestData","__await","11dhZydD","386025bSMPrq",".jsx",".html","finallyLoc","statSync","manifestManager","done","constructor","slice","../common/utils",".DS_Store",".json","_invoke","executing","forEach","then","setPrototypeOf",".scss","finish","152586ERImzY","toStringTag","2pAPiuf","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","hooks","split","abrupt","toString","throw","isGeneratorFunction","20059RsoeQP",".hjs","sent","displayName",".pem","resolve","@@asyncIterator","call","hasOwnProperty","copyFileSync","isFile","tapAsync","6dNpKJs","object","mkdirsSync","iterator result is not an object","size","options","extname","addWatermark","emit","existsSync","push","next","build","awrap","catchLoc","apply",".log",".frameworkinfo","name","match","../common/manifest-manager","trim","continue","nextLoc",".qcss",".ts","exports",".fecsignore","afterLoc","beta","completion","length","reset","root","basename","icon","type","parse","folder","create","return","1608085OseGee","1053708iMnEhW",".js","normal","value","pop","symbol","' method",".tsx","complete","asyncIterator","reduce","AsyncIterator",".styl","relative","Generator is already running","completed","__proto__","The iterator does not provide a '","GeneratorFunction","4MvEnTA"];return(_0xbe4c=function(){return t})()}function _0x26d4(t,r){var e=_0xbe4c();return(_0x26d4=function(t,r){return e[t-=300]})(t,r)}function _arrayLikeToArray(t,r){(null==r||r>t[_0x26d4(322)])&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function _regeneratorRuntime(){var c=_0x26d4;_regeneratorRuntime=function(){return s};var f,s={},t=Object[c(371)],h=t[c(452)],l=Object.defineProperty||function(t,r,e){var n=c;t[r]=e[n(336)]},r=c(385)==typeof Symbol?Symbol:{},i=r[c(388)]||"@@iterator",e=r[c(342)]||c(450),n=r[c(435)]||c(364);function a(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{a({},"")}catch(t){a=function(t,r,e){return t[r]=e}}function u(t,r,e,n){var a,i,o,s,u=c,r=r&&r[u(371)]instanceof x?r:x,r=Object[u(330)](r.prototype),n=new k(n||[]);return l(r,u(427),{value:(a=t,i=e,o=n,s=_,function(t,r){var e=_0x26d4;if(s===y)throw Error(e(347));if(s===b){if("throw"===t)throw r;return{value:f,done:!0}}for(o[e(390)]=t,o[e(401)]=r;;){var n=o[e(384)];if(n){n=function t(r,e){var n=c,a=e.method,i=r.iterator[a];if(i===f)return e[n(384)]=null,n(442)===a&&r[n(388)][n(331)]&&(e[n(390)]="return",e[n(401)]=f,t(r,e),n(442)===e[n(390)])||n(331)!==a&&(e[n(390)]="throw",e.arg=new TypeError(n(350)+a+n(339))),d;a=p(i,r[n(388)],e[n(401)]);if(n(442)===a[n(327)])return e.method=n(442),e.arg=a.arg,e[n(384)]=null,d;i=a[n(401)];return i?i[n(421)]?(e[r[n(358)]]=i[n(336)],e.next=r[n(314)],"return"!==e[n(390)]&&(e[n(390)]=n(302),e[n(401)]=f),e[n(384)]=null,d):i:(e[n(390)]=n(442),e[n(401)]=new TypeError(n(459)),e[n(384)]=null,d)}(n,o);if(n){if(n===d)continue;return n}}if("next"===o[e(390)])o.sent=o[e(403)]=o[e(401)];else if("throw"===o.method){if(s===_)throw s=b,o[e(401)];o[e(377)](o[e(401)])}else e(331)===o[e(390)]&&o[e(440)](e(331),o[e(401)]);s=y;n=p(a,i,o);if(e(335)===n[e(327)]){if(s=o[e(421)]?b:v,n.arg===d)continue;return{value:n.arg,done:o[e(421)]}}e(442)===n[e(327)]&&(s=b,o[e(390)]=e(442),o[e(401)]=n.arg)}})}),r}function p(t,r,e){var n=c;try{return{type:n(335),arg:t[n(451)](r,e)}}catch(t){return{type:n(442),arg:t}}}s.wrap=u;var _=c(365),v=c(355),y=c(428),b=c(348),d={};function x(){}function o(){}function m(){}var r={},g=(a(r,i,function(){return this}),Object[c(376)]),g=g&&g(g(P([]))),w=(g&&g!==t&&h[c(451)](g,i)&&(r=g),m[c(371)]=x[c(371)]=Object[c(330)](r));function E(t){var r=c;[r(302),r(442),r(331)][r(429)](function(r){a(t,r,function(t){return this[_0x26d4(427)](r,t)})})}function I(s,u){var r;l(this,"_invoke",{value:function(e,n){function t(){return new u(function(t,r){!function r(t,e,n,a){var i,o=_0x26d4,t=p(s[t],s,e);if(o(442)!==t[o(327)])return(e=(i=t[o(401)])[o(336)])&&o(457)==_typeof(e)&&h.call(e,o(413))?u[o(449)](e.__await).then(function(t){r(o(302),t,n,a)},function(t){r(o(442),t,n,a)}):u[o(449)](e)[o(430)](function(t){i.value=t,n(i)},function(t){return r(o(442),t,n,a)});a(t[o(401)])}(e,n,t,r)})}return r=r?r.then(t,t):t()}})}function S(t){var r=c,e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e[r(418)]=t[2],e[r(319)]=t[3]),this.tryEntries[r(301)](e)}function O(t){var r=c,e=t.completion||{};e[r(327)]=r(335),delete e[r(401)],t[r(321)]=e}function k(t){var r=c;this[r(366)]=[{tryLoc:"root"}],t[r(429)](S,this),this[r(323)](!0)}function P(e){var n=c;if(e||""===e){var a,t=e[i];if(t)return t.call(e);if(n(385)==typeof e.next)return e;if(!isNaN(e[n(322)]))return a=-1,(t=function t(){for(var r=n;++a<e[r(322)];)if(h[r(451)](e,a))return t[r(336)]=e[a],t[r(421)]=!1,t;return t.value=f,t[r(421)]=!0,t}).next=t}throw new TypeError(_typeof(e)+n(353))}return o[c(371)]=m,l(w,c(422),{value:m,configurable:!0}),l(m,c(422),{value:o,configurable:!0}),o.displayName=a(m,n,c(351)),s[c(443)]=function(t){var r=c,t=r(385)==typeof t&&t[r(422)];return!!t&&(t===o||r(351)===(t[r(447)]||t[r(309)]))},s[c(410)]=function(t){var r=c;return Object[r(431)]?Object[r(431)](t,m):(t[r(349)]=m,a(t,n,r(351))),t[r(371)]=Object.create(w),t},s[c(304)]=function(t){return{__await:t}},E(I[c(371)]),a(I.prototype,e,function(){return this}),s[c(344)]=I,s[c(387)]=function(t,r,e,n,a){var i=c,o=(void 0===a&&(a=Promise),new I(u(t,r,e,n),a));return s[i(443)](r)?o:o[i(302)]().then(function(t){var r=i;return t[r(421)]?t[r(336)]:o[r(302)]()})},E(w),a(w,n,c(406)),a(w,i,function(){return this}),a(w,c(441),function(){return"[object Generator]"}),s[c(379)]=function(t){var r,n=c,a=Object(t),i=[];for(r in a)i[n(301)](r);return i[n(362)](),function t(){for(var r=n;i[r(322)];){var e=i[r(337)]();if(e in a)return t[r(336)]=e,t.done=!1,t}return t[r(421)]=!0,t}},s[c(383)]=P,k[c(371)]={constructor:k,reset:function(t){var r=c;if(this.prev=0,this[r(302)]=0,this[r(446)]=this._sent=f,this[r(421)]=!1,this[r(384)]=null,this[r(390)]=r(302),this[r(401)]=f,this[r(366)].forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&h[r(451)](this,e)&&!isNaN(+e.slice(1))&&(this[e]=f)},stop:function(){var t=c,r=(this[t(421)]=!0,this.tryEntries[0][t(321)]);if(t(442)===r[t(327)])throw r[t(401)];return this.rval},dispatchException:function(n){var t=c;if(this.done)throw n;var a=this;function r(t,r){var e=_0x26d4;return o[e(327)]=e(442),o[e(401)]=n,a[e(302)]=t,r&&(a.method=e(302),a.arg=f),!!r}for(var e=this[t(366)].length-1;0<=e;--e){var i=this[t(366)][e],o=i[t(321)];if(t(324)===i[t(396)])return r(t(394));if(i.tryLoc<=this[t(405)]){var s=h[t(451)](i,t(305)),u=h[t(451)](i,t(418));if(s&&u){if(this[t(405)]<i[t(305)])return r(i[t(305)],!0);if(this[t(405)]<i[t(418)])return r(i[t(418)])}else if(s){if(this[t(405)]<i[t(305)])return r(i[t(305)],!0)}else{if(!u)throw Error(t(357));if(this.prev<i[t(418)])return r(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=c,n=this[e(366)][e(322)]-1;0<=n;--n){var a=this[e(366)][n];if(a[e(396)]<=this[e(405)]&&h.call(a,e(418))&&this[e(405)]<a[e(418)]){var i=a;break}}var o=(i=i&&(e(408)===t||e(313)===t)&&i.tryLoc<=r&&r<=i.finallyLoc?null:i)?i[e(321)]:{};return o[e(327)]=t,o[e(401)]=r,i?(this[e(390)]="next",this.next=i[e(418)],d):this[e(341)](o)},complete:function(t,r){var e=c;if(e(442)===t[e(327)])throw t.arg;return"break"===t[e(327)]||e(313)===t[e(327)]?this[e(302)]=t[e(401)]:e(331)===t[e(327)]?(this[e(409)]=this[e(401)]=t.arg,this[e(390)]="return",this[e(302)]=e(394)):e(335)===t.type&&r&&(this[e(302)]=r),d},finish:function(t){for(var r=c,e=this[r(366)][r(322)]-1;0<=e;--e){var n=this[r(366)][e];if(n[r(418)]===t)return this.complete(n[r(321)],n[r(319)]),O(n),d}},catch:function(t){for(var r=c,e=this[r(366)][r(322)]-1;0<=e;--e){var n,a,i=this[r(366)][e];if(i[r(396)]===t)return n=i[r(321)],r(442)===n.type&&(a=n[r(401)],O(i)),a}throw Error(r(356))},delegateYield:function(t,r,e){var n=c;return this[n(384)]={iterator:P(t),resultName:r,nextLoc:e},n(302)===this[n(390)]&&(this.arg=f),d}},s}function asyncGeneratorStep(t,r,e,n,a,i,o){var s=_0x26d4;try{var u=t[i](o),c=u[s(336)]}catch(t){return void e(t)}u[s(421)]?r(c):Promise.resolve(c)[s(430)](n,a)}function _asyncToGenerator(u){return function(){var t=this,s=arguments;return new Promise(function(r,e){var n=_0x26d4,a=u[n(306)](t,s);function i(t){asyncGeneratorStep(a,r,e,i,o,n(302),t)}function o(t){asyncGeneratorStep(a,r,e,i,o,n(442),t)}i(void 0)})}}(()=>{for(var t=_0x26d4,r=_0xbe4c();;)try{if(377213==+parseInt(t(402))*(-parseInt(t(436))/2)+-parseInt(t(415))/3*(parseInt(t(352))/4)+-parseInt(t(332))/5*(-parseInt(t(456))/6)+parseInt(t(434))/7*(parseInt(t(361))/8)+parseInt(t(375))/9*(-parseInt(t(411))/10)+parseInt(t(414))/11*(-parseInt(t(333))/12)+parseInt(t(444))/13*(parseInt(t(404))/14))break;r.push(r.shift())}catch(t){r.push(r.shift())}})();var _path=require(_0x46ab0a(407)),_fs=require("fs"),_utils=require(_0x46ab0a(424)),_require=require(_0x46ab0a(311)),manifestManager=_require[_0x46ab0a(420)],_packOptions=require(_0x46ab0a(369)),FILE_EXT_NAME=[_0x46ab0a(307),_0x46ab0a(381),".sh",_0x46ab0a(334),_0x46ab0a(391),_0x46ab0a(416),".coffee",_0x46ab0a(316),_0x46ab0a(340),_0x46ab0a(393),".less",".sass",_0x46ab0a(432),_0x46ab0a(345),_0x46ab0a(417),_0x46ab0a(360),_0x46ab0a(426),_0x46ab0a(425),_0x46ab0a(448),_0x46ab0a(315),".hxml",_0x46ab0a(363),_0x46ab0a(445),".ux"],IGNORE_FILES=["LICENSE",".npmignore",_0x46ab0a(425),_0x46ab0a(318),_0x46ab0a(398),_0x46ab0a(308),".editorconfig"],REGEXP_ICON=/{{{(.+?)}}}|{{(.+?)}}/g,REGEXP_JSON=/\.json$/g,iconPaths=[];function copyFile(t,r){var e=_0x46ab0a;if(_fs.existsSync(t)){_utils[e(458)](_path.join(r,".."));e=_fs[e(453)](t,r);if(e)throw e}}function transFile(t,r,e,n){return _transFile[_0x46ab0a(306)](this,arguments)}function _transFile(){var r=_0x46ab0a;return(_transFile=_asyncToGenerator(_regeneratorRuntime()[r(410)](function t(e,n,a,i){var o,s,u,c,f,h,l,p,_,v=r;return _regeneratorRuntime()[v(374)](function(t){for(var r=v;;)switch(t[r(405)]=t[r(302)]){case 0:o=void 0,s=_path.join(e,a),u=_fs[r(400)](s),u=_createForOfIteratorHelper(u),t.prev=4,u.s();case 6:(l=u.n()).done?t[r(302)]=37:(c=l.value,f=_path[r(368)](s,c),(h=_fs[r(419)](f)).isFile()?(l=_path[r(325)](f),p=_path[r(462)](f),FILE_EXT_NAME[r(354)](p)<0&&!IGNORE_FILES[r(373)](l)&&!_packOptions[r(382)](_path[r(346)](e,f),i)?(o=_path[r(368)](n,a,_path[r(325)](c)),_fs[r(300)](o)?((p=_fs[r(419)](o)).isFile()&&p[r(460)]!==h[r(460)]&©File(f,o),t[r(302)]=27):t[r(302)]=20):t[r(302)]=27):t[r(302)]=29);break;case 20:if(_versionType===r(320)&&iconPaths[r(373)](f))return l=require(r(359)),p=l[r(463)],t.next=24,p(f,o);t[r(302)]=26;break;case 24:t.next=27;break;case 26:copyFile(f,o);case 27:t[r(302)]=35;break;case 29:if(h.isDirectory()){if(_packOptions[r(382)](_path[r(346)](e,f),i,r(329)))return t.abrupt(r(313),35);t[r(302)]=32}else t.next=35;break;case 32:return _=_path[r(368)](a,c),t.next=35,transFile(e,n,_,i);case 35:t[r(302)]=6;break;case 37:t[r(302)]=42;break;case 39:t[r(405)]=39,t.t0=t[r(380)](4),u.e(t.t0);case 42:return t[r(405)]=42,u.f(),t[r(433)](42);case 45:case"end":return t[r(367)]()}},t,null,[[4,39,42,45]])})))[r(306)](this,arguments)}function getIconPaths(t){var e,a,i=_0x46ab0a,n=[],o=t[i(389)],t=(manifestManager[i(412)]()[i(372)][i(326)]||"")[i(441)]()[i(312)]();return t[i(310)](REGEXP_ICON)?(e=t[i(439)]("'")[1],a=_path[i(368)](o,"i18n"),_fs[i(400)](a)[i(343)](function(t,r){var e=i,n=_path[e(368)](a,r);return _fs[e(419)](n)[e(454)]()&&r[e(310)](REGEXP_JSON)&&t[e(301)](n),t},[]).forEach(function(t){var r=i,t=_fs.readFileSync(t,"utf8")[r(441)]()||"{}",t=JSON[r(328)](t);t[e]&&n.push(_path[r(368)](o,t[e]))})):n[i(301)](_path[i(368)](o,t)),n}function ResourcePlugin(t){this[_0x46ab0a(461)]=t}ResourcePlugin[_0x46ab0a(371)][_0x46ab0a(306)]=function(t){var a,e,r=_0x46ab0a,i=this[r(461)];t[r(438)][r(464)][r(455)](r(397),(a=r,e=_asyncToGenerator(_regeneratorRuntime()[a(410)](function t(r,e){var n=a;return _regeneratorRuntime()[n(374)](function(t){for(var r=n;;)switch(t[r(405)]=t[r(302)]){case 0:return _versionType===r(320)&&(iconPaths=getIconPaths(i)),t[r(302)]=3,transFile(i.src,i[r(303)],"",i.ignoreRules);case 3:e();case 4:case r(394):return t.stop()}},t)})),function(t,r){return e[a(306)](this,arguments)}))},module[_0x46ab0a(317)]=ResourcePlugin;
|
|
1
|
+
var _0x364547=_0x1b5a;function _0x1b5a(r,e){var n=_0x459f();return(_0x1b5a=function(r,e){return n[r-=337]})(r,e)}function _createForOfIteratorHelper(r,e){var n,t,a,o,i=_0x1b5a,s=i(381)!=typeof Symbol&&r[Symbol[i(374)]]||r["@@iterator"];if(s)return a=!(t=!0),{s:function(){s=s.call(r)},n:function(){var r=i,e=s[r(420)]();return t=e[r(379)],e},e:function(r){a=!0,n=r},f:function(){try{t||null==s.return||s.return()}finally{if(a)throw n}}};if(Array.isArray(r)||(s=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r[i(438)])return s&&(r=s),o=0,{s:e=function(){},n:function(){return o>=r[i(438)]?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:e};throw new TypeError(i(422))}function _unsupportedIterableToArray(r,e){var n,t=_0x1b5a;if(r)return t(364)==typeof r?_arrayLikeToArray(r,e):(n={}.toString[t(337)](r)[t(406)](8,-1),t(433)===n&&r[t(356)]&&(n=r[t(356)].name),t(363)===n||"Set"===n?Array[t(408)](r):t(396)===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(r,e):void 0)}function _arrayLikeToArray(r,e){var n=_0x1b5a;(null==e||e>r[n(438)])&&(e=r[n(438)]);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function _regenerator(){var y,h=_0x1b5a,r=h(389)==typeof Symbol?Symbol:{},e=r[h(374)]||"@@iterator",n=r.toStringTag||"@@toStringTag";function t(r,e,n,t){var a,o,i,s,u,c,f,_,p,l=h,e=e&&e[l(386)]instanceof g?e:g,e=Object[l(429)](e[l(386)]);return _regeneratorDefine2(e,l(369),(a=r,o=n,f=t||[],_=!1,p={p:c=0,n:0,v:y,a:x,f:x.bind(y,4),d:function(r,e){return i=r,s=0,u=y,p.n=e,v}},function(r,e,n){var t=_0x1b5a;if(1<c)throw TypeError("Generator is already running");for(_&&1===e&&x(e,n),s=e,u=n;(b=s<2?y:u)||!_;){i||(s?s<3?(1<s&&(p.n=-1),x(s,u)):p.n=u:p.v=u);try{if(c=2,i){if(s||(r=t(420)),b=i[r]){if(!(b=b[t(337)](i,u)))throw TypeError(t(401));if(!b[t(379)])return b;u=b[t(435)],s<2&&(s=0)}else 1===s&&(b=i[t(342)])&&b[t(337)](i),s<2&&(u=TypeError(t(352)+r+t(428)),s=1);i=y}else if((b=(_=p.n<0)?u:a[t(337)](o,p))!==v)break}catch(r){i=y,s=1,u=r}finally{c=1}}return{value:b,done:_}}),!0),e;function x(r,e){var n=_0x1b5a;for(s=r,u=e,b=0;!_&&c&&!t&&b<f[n(438)];b++){var t,a=f[b],o=p.p,i=a[2];3<r?(t=i===e)&&(u=a[(s=a[4])?5:s=3],a[4]=a[5]=y):a[0]<=o&&((t=r<2&&o<a[1])?(s=0,p.v=e,p.n=a[1]):o<i&&(t=r<3||a[0]>e||i<e)&&(a[4]=r,a[5]=e,p.n=i,s=0))}if(t||1<r)return v;throw _=!0,e}}var v={};function g(){}function a(){}function o(){}var b=Object[h(355)],r=[][e]?b(b([][e]())):(_regeneratorDefine2(b={},e,function(){return this}),b),i=o[h(386)]=g[h(386)]=Object[h(429)](r);function s(r){var e=h;return Object[e(378)]?Object[e(378)](r,o):(r[e(390)]=o,_regeneratorDefine2(r,n,e(347))),r[e(386)]=Object[e(429)](i),r}return a[h(386)]=o,_regeneratorDefine2(i,h(356),o),_regeneratorDefine2(o,h(356),a),a[h(362)]=h(347),_regeneratorDefine2(o,n,h(347)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,h(372)),_regeneratorDefine2(i,e,function(){return this}),_regeneratorDefine2(i,h(354),function(){return h(399)}),(_regenerator=function(){return{w:t,m:s}})()}function _regeneratorDefine2(r,e,n,t){var o=_0x1b5a,i=Object[o(404)];try{i({},"",{})}catch(r){i=0}(_regeneratorDefine2=function(r,e,n,t){var a=o;e?i?i(r,e,{value:n,enumerable:!t,configurable:!t,writable:!t}):r[e]=n:((t=function(e,n){_regeneratorDefine2(r,e,function(r){return this[_0x1b5a(369)](e,n,r)})})(a(420),0),t(a(368),1),t(a(342),2))})(r,e,n,t)}function asyncGeneratorStep(r,e,n,t,a,o,i){var s=_0x1b5a;try{var u=r[o](i),c=u[s(435)]}catch(r){return void n(r)}u[s(379)]?e(c):Promise[s(392)](c)[s(348)](t,a)}function _asyncToGenerator(u){return function(){var r=this,s=arguments;return new Promise(function(e,n){var t=_0x1b5a,a=u[t(349)](r,s);function o(r){asyncGeneratorStep(a,e,n,o,i,t(420),r)}function i(r){asyncGeneratorStep(a,e,n,o,i,t(368),r)}o(void 0)})}}(()=>{for(var r=_0x1b5a,e=_0x459f();;)try{if(501585==-parseInt(r(359))+-parseInt(r(367))/2+parseInt(r(425))/3+-parseInt(r(346))/4+-parseInt(r(413))/5*(-parseInt(r(340))/6)+-parseInt(r(393))/7*(parseInt(r(415))/8)+parseInt(r(423))/9)break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var _path=require(_0x364547(387)),_fs=require("fs"),_utils=require(_0x364547(361)),_require=require(_0x364547(395)),manifestManager=_require.manifestManager,_packOptions=require("../common/packoptions-utils"),FILE_EXT_NAME=[_0x364547(394),_0x364547(375),".sh",_0x364547(357),_0x364547(426),_0x364547(398),_0x364547(358),".ts",_0x364547(409),_0x364547(385),_0x364547(424),_0x364547(371),_0x364547(417),".styl",".html",_0x364547(388),_0x364547(351),_0x364547(416),_0x364547(360),_0x364547(397),".hxml",".wxs",_0x364547(382),".ux"],IGNORE_FILES=[_0x364547(383),".npmignore",_0x364547(416),_0x364547(400),_0x364547(432),_0x364547(427),_0x364547(412)],REGEXP_ICON=/{{{(.+?)}}}|{{(.+?)}}/g,REGEXP_JSON=/\.json$/g,iconPaths=[];function copyFile(r,e){var n=_0x364547;if(_fs[n(343)](r)){_utils[n(344)](_path.join(e,".."));n=_fs[n(373)](r,e);if(n)throw n}}function transFile(r,e,n,t){return _transFile.apply(this,arguments)}function _transFile(){var r=_0x364547;return(_transFile=_asyncToGenerator(_regenerator().m(function r(n,t,a,o){var i,s,u,c,f,_,p,l;return _regenerator().w(function(r){for(var e=_0x1b5a;;)switch(r.n){case 0:i=void 0,s=_path[e(345)](n,a),u=_fs[e(338)](s),u=_createForOfIteratorHelper(u),r.p=1,u.s();case 2:(p=u.n())[e(379)]?r.n=6:(c=p.value,f=_path.join(s,c),(_=_fs.statSync(f)).isFile()?(p=_path[e(418)](f),l=_path[e(421)](f),FILE_EXT_NAME[e(384)](l)<0&&!IGNORE_FILES[e(376)](p)&&!_packOptions[e(365)](_path[e(419)](n,f),o)&&(i=_path.join(t,a,_path[e(418)](c)),!_fs[e(343)](i)||(l=_fs[e(430)](i))[e(341)]()&&l.size!==_[e(411)])&©File(f,i),r.n=5):r.n=3);break;case 3:if(_.isDirectory()){if(_packOptions[e(365)](_path[e(419)](n,f),o,e(353)))return r.a(3,5);r.n=4}else r.n=5;break;case 4:return p=_path[e(345)](a,c),r.n=5,transFile(n,t,p,o);case 5:r.n=2;break;case 6:r.n=8;break;case 7:r.p=7,l=r.v,u.e(l);case 8:return r.p=8,u.f(),r.f(8);case 9:return r.a(2)}},r,null,[[1,7,8,9]])})))[r(349)](this,arguments)}function getIconPaths(r){var n,a,o=_0x364547,t=[],i=r.src,r=(manifestManager.getManifestData()[o(350)][o(377)]||"").toString()[o(434)]();return r.match(REGEXP_ICON)?(n=r[o(414)]("'")[1],a=_path[o(345)](i,o(410)),_fs[o(338)](a)[o(366)](function(r,e){var n=o,t=_path.join(a,e);return _fs.statSync(t)[n(341)]()&&e[n(436)](REGEXP_JSON)&&r[n(402)](t),r},[])[o(405)](function(r){var e=o,r=_fs.readFileSync(r,e(380))[e(354)]()||"{}",r=JSON[e(339)](r);r[n]&&t.push(_path[e(345)](i,r[n]))})):t[o(402)](_path[o(345)](i,r)),t}function ResourcePlugin(r){this[_0x364547(370)]=r}function _0x459f(){var r=["forEach","slice","exports","from",".tsx","i18n","size",".editorconfig","145075NItqKj","split","6201544BVzCYv",".DS_Store",".scss","basename","relative","next","extname","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","10784241ujUoTw",".less","2217048ffEMsS",".css",".frameworkinfo","' method","create","statSync","build",".fecsrc","Object","trim","value","match","ignoreRules","length","call","readdirSync","parse","90uwsrHO","isFile","return","existsSync","mkdirsSync","join","471440mGrsfh","GeneratorFunction","then","apply","manifest",".json","The iterator does not provide a '","folder","toString","getPrototypeOf","constructor",".js",".coffee","494300UxWnzG",".pem","../common/utils","displayName","Map","string","isIgnoreFile","reduce","967104mIdMyr","throw","_invoke","options",".sass","Generator","copyFileSync","iterator",".flow","includes","icon","setPrototypeOf","done","utf8","undefined",".hjs","LICENSE","indexOf",".vue","prototype","path",".md","function","__proto__","emit","resolve","7KIgwnx",".log","../common/manifest-manager","Arguments",".qcss",".jsx","[object Generator]",".fecsignore","iterator result is not an object","push","tapAsync","defineProperty"];return(_0x459f=function(){return r})()}ResourcePlugin.prototype[_0x364547(349)]=function(r){var n,e=_0x364547,t=this[e(370)];r.hooks[e(391)][e(403)]("ResourcePlugin",(n=_asyncToGenerator(_regenerator().m(function r(e,n){return _regenerator().w(function(r){for(var e=_0x1b5a;;)switch(r.n){case 0:return r.n=1,transFile(t.src,t[e(431)],"",t[e(437)]);case 1:n();case 2:return r.a(2)}},r)})),function(r,e){return n.apply(this,arguments)}))},module[_0x364547(407)]=ResourcePlugin;
|