UNPKG

fa-toolkit

Version:

a devtool for fast app

1 lines 3.36 kB
"use strict";var _0x15979d=_0x7281;function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x7281(462))}function _unsupportedIterableToArray(r,e){var a=_0x7281;if(r){if(typeof r===a(446))return _arrayLikeToArray(r,e);var t=Object[a(459)][a(460)][a(491)](r).slice(8,-1);return(t="Object"===t&&r[a(464)]?r[a(464)][a(461)]:t)===a(490)||t===a(480)?Array.from(r):t===a(449)||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[a(469)](t)?_arrayLikeToArray(r,e):void 0}}function _iterableToArray(r){var e=_0x7281;if("undefined"!=typeof Symbol&&null!=r[Symbol[e(465)]]||null!=r[e(485)])return Array[e(493)](r)}function _arrayWithoutHoles(r){if(Array[_0x7281(470)](r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,e){(null==e||e>r[_0x7281(458)])&&(e=r.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=r[a];return t}!function(){for(var r=_0x7281,e=_0x2a32();;)try{if(103147==+parseInt(r(448))*(parseInt(r(450))/2)+parseInt(r(495))/3+parseInt(r(478))/4*(-parseInt(r(482))/5)+-parseInt(r(484))/6+-parseInt(r(453))/7+-parseInt(r(468))/8*(-parseInt(r(492))/9)+parseInt(r(456))/10*(parseInt(r(466))/11))break;e.push(e.shift())}catch(r){e.push(e.shift())}}();var _utils=require(_0x15979d(489)),_parser=require(_0x15979d(457)),_shared=require(_0x15979d(486)),_require=require(_0x15979d(454)),jsLint=_require[_0x15979d(483)];function _0x7281(r,e){var a=_0x2a32();return(_0x7281=function(r,e){return a[r-=445]})(r,e)}function _0x2a32(){var r=["= $app_require$(","content","fileCont","module.exports = function(module, exports, $app_require$){","_isHarmony","$app_require$","2764nNmOyb","forEach","Set","replace","1400qRLRYL","jsLint","278388MyNvXO","@@iterator","./shared","concat","_isQuickApp","./utils","Map","call","387cvhZLu","from","exports","277452MmdOCJ","import","string","logFeatureList","149GEPXRi","Arguments","1926IaeMpV","cacheable","match","319431vxqKjF","../common/jslint-utils","async","108540WRQJlW","./parser","length","prototype","toString","name","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","@app-module/","constructor","iterator","154ovRcks","updateSourceScript","136YfSXba","test","isArray","logWarn"];return(_0x2a32=function(){return r})()}module[_0x15979d(494)]=function(r,e){var a=_0x15979d;this[a(451)]&&this[a(451)]();var t=this[a(455)](),r=_shared[a(467)](r),n=r[a(474)];_utils[a(471)](this,r[a(447)]);r=n[a(452)](/require\s*\(['"]@(system|service|card|android|hap)([^()'"\s]*)['"]\)/g)||[];(r=global[a(476)]?(o=n[a(452)](/require\s*\(['"]@(custom)([^()'"\s]*)['"]\)/g))?[][a(487)](_toConsumableArray(r),_toConsumableArray(o)):r:r)&&0<r.length&&r.forEach(function(r){var e=a;n=n[e(481)](r,r[e(481)]("require",e(477))[e(481)]("@",e(463)))});var o=n[a(452)](/import\s+([^()'";]+)\s+from\s+['"]@(system|service|card|android|hap)([^()'"\s]*)['"]/g)||[];(o=global[a(476)]?(r=n.match(/import\s+([^()'";]+)\s+from\s+['"]@(custom)([^()'"\s]*)['"]/g))?[].concat(_toConsumableArray(o),_toConsumableArray(r)):o:o)&&0<o[a(458)]&&o[a(479)](function(r){var e=a;n=n.replace(r,""[e(487)](r[e(481)](e(445),"var").replace(e(493),e(472)).replace("@",e(463)),");"))}),global[a(488)]&&(n=jsLint(null,n,this)[a(473)]),t(null,a(475).concat(n,"}"),e)};