{"version":3,"sources":["webpack://AMapJS/webpack/universalModuleDefinition","webpack://AMapJS/webpack/bootstrap","webpack://AMapJS//home/runner/work/amap-js/amap-js/node_modules/@babel/runtime/regenerator/index.js","webpack://AMapJS//home/runner/work/amap-js/amap-js/node_modules/regenerator-runtime/runtime.js","webpack://AMapJS/./src/constants.js","webpack://AMapJS//home/runner/work/amap-js/amap-js/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://AMapJS/./src/loaders/Loader.js","webpack://AMapJS/./src/util/base.js","webpack://AMapJS/./src/loaders/LoaderUtil.js","webpack://AMapJS//home/runner/work/amap-js/amap-js/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://AMapJS//home/runner/work/amap-js/amap-js/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://AMapJS/./src/loaders/ScriptLoader.js","webpack://AMapJS/./src/loaders/AMapLoader.js","webpack://AMapJS/./src/loaders/AMapUILoader.js","webpack://AMapJS/./src/loaders/LocaLoader.js","webpack://AMapJS/./src/loaders/SubwayLoader.js","webpack://AMapJS/./src/LoadQueue.js","webpack://AMapJS/./src/index.js"],"names":["version","Loader","readyState","load","isObject","obj","noop","readonly","target","prop","value","Object","defineProperty","configurable","writable","registerReadyState","props","undefined","prototype","parseTemplate","src","params","replace","match","key","SymbolLoad","Symbol","ScriptLoader","url","CREATED","LOADING","Promise","resolve","reject","window","document","Error","constructor","name","script","createElement","onScriptLoad","removeEventListener","onScriptError","LOADED","event","FAILED","addEventListener","getElementsByTagName","head","parentNode","insertBefore","removeChild","LoaderUtil","callbackCounter","AMapLoader","options","plugins","callback","security","AMap","getUrl","join","_AMapSecurityConfig","catch","then","loadPlugin","newPlugins","i","length","indexOf","push","plugin","concat","AMapUILoader","async","initAMapUI","AMapUI","main","MOUNTED","loadUI","unames","umodules","loadModule","opts","LocaLoader","Loca","count","SubwayLoader","subway","queueLoad","manifest","promise","len","item","result","parallelLoad","promiseList","all","LoadQueue","queue","forEach","index","id","COMPLETE","error","ERROR","getItem","getResult","AMapJS"],"mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;AClFA,iBAAiB,mBAAO,CAAC,CAAqB;;;;;;;ACA9C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,SAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;ACjvBO,IAAMA,OAAO,GAAG,OAAhB,C;;ACAP;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,C;;;;;;;;;AClCA;AACA;AACA;IAEMC,a;AACJ,oBAAc;AACZ,SAAKC,UAAL,GAAkB,EAAlB;AACD;;;;SAEKC,I;2EAAN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,K;;;;;;;;;;;;AAGa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vB;AACAxE,eAAO,CAAC,KAAD,CAAP;AACD,OARH,EASGgC,KATH,CASS,UAAAyC,KAAK,EAAI;AACd,aAAI,CAACvG,UAAL,GAAkB,KAAI,CAACwG,KAAvB;AACAzE,cAAM,CAACwE,KAAD,CAAN;AACD,OAZH;AAaD,KAfkB,CAAnB;AAgBA,WAAO,KAAKhF,oBAAL,CAAP;AACD,G;;SAEDkF,O,GAAA,iBAAQJ,EAAR,EAAY;AACV,QAAI,KAAKR,MAAT,EAAiB;AACf,aAAO,KAAKA,MAAL,CAAYQ,EAAZ,CAAP;AACD;;AACD,WAAO,IAAP;AACD,G;;SAEDK,S,GAAA,qBAAY;AACV,WAAO,KAAKb,MAAZ;AACD,G;;;;AAGH;AACA;AACA;;;AACA1C,UAAU,CAACtC,kBAAX,CAA8BoF,SAA9B,EAAyC;AACvCtE,SAAO,EAAE,SAD8B;AAEvCC,SAAO,EAAE,SAF8B;AAGvC0E,UAAQ,EAAE,UAH6B;AAIvCE,OAAK,EAAE;AAJgC,CAAzC;AAOeP,2DAAf,E;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,IAAMU,MAAM,GAAG;AACb7G,SAAO,EAAPA,OADa;AAEbC,QAAM,EAANA,cAFa;AAGboD,YAAU,EAAVA,UAHa;AAIb1B,cAAY,EAAZA,oBAJa;AAKb4B,YAAU,EAAVA,kBALa;AAMbmB,cAAY,EAAZA,oBANa;AAObW,YAAU,EAAVA,kBAPa;AAQbG,cAAY,EAAZA,oBARa;AASbW,WAAS,EAATA,aAASA;AATI,CAAf;AAYA;AACA;AACA;;AACA;AAYeU,+EAAf,E","file":"amap-js.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"AMapJS\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"AMapJS\"] = factory();\n\telse\n\t\troot[\"AMapJS\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","module.exports = require(\"regenerator-runtime\");\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","export const version = \"2.4.0\";\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","/**\n * Loader\n */\n\nclass Loader {\n constructor() {\n this.readyState = \"\";\n }\n\n async load() {}\n}\n\nexport default Loader;\n","/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nexport function isObject(obj) {\n return obj !== null && typeof obj === \"object\";\n}\n\n/**\n * noop function\n */\nexport function noop() {}\n\n/**\n * Set object property value to read-only\n */\nexport function readonly(target, prop, value = target[prop]) {\n Object.defineProperty(target, prop, {\n configurable: false,\n writable: false,\n value: value\n });\n}\n","import { readonly } from \"../util/base\";\n\nexport default {\n registerReadyState(target, props = {}) {\n for (const prop in props) {\n const value = props[prop];\n if (!prop || value === undefined) return false;\n target[prop] = target.prototype[prop] = value;\n readonly(target, prop);\n readonly(target.prototype, prop);\n }\n return true;\n },\n parseTemplate(src, params) {\n return src\n ? src.replace(/\\$([A-Za-z0-9_]+)/g, (match, key) =>\n undefined === params[key] ? match : params[key]\n )\n : \"\";\n }\n};\n","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","import Loader from \"./Loader\";\nimport LoaderUtil from \"./LoaderUtil\";\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\n/**\n * ScriptLoader 加载器\n */\nclass ScriptLoader extends Loader {\n constructor(url) {\n super();\n this.url = url || \"\";\n this.readyState = this.CREATED;\n this[SymbolLoad] = null;\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n if (!window || !document) {\n reject(new Error(`${this.constructor.name} can only be used in Browser.`));\n return;\n }\n\n const script = document.createElement(\"script\");\n\n const onScriptLoad = () => {\n script.removeEventListener(\"load\", onScriptLoad, false);\n script.removeEventListener(\"error\", onScriptError, false);\n\n this.readyState = this.LOADED;\n resolve(this);\n };\n\n const onScriptError = event => {\n script.removeEventListener(\"load\", onScriptLoad, false);\n script.removeEventListener(\"error\", onScriptError, false);\n\n this[SymbolLoad] = null;\n this.readyState = this.FAILED;\n reject(event);\n };\n\n script.addEventListener(\"load\", onScriptLoad, false);\n script.addEventListener(\"error\", onScriptError, false);\n\n script.src = this.url;\n\n const target =\n document.getElementsByTagName(\"script\")[0] ||\n document.head ||\n document.getElementsByTagName(\"head\")[0];\n target.parentNode.insertBefore(script, target);\n if (script.parentNode) script.parentNode.removeChild(script);\n });\n\n return this[SymbolLoad];\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(ScriptLoader, {\n CREATED: \"created\",\n LOADING: \"loading\",\n LOADED: \"loaded\",\n FAILED: \"failed\"\n});\n\nexport default ScriptLoader;\n","import Loader from \"./Loader\";\nimport LoaderUtil from \"./LoaderUtil\";\nimport ScriptLoader from \"./ScriptLoader\";\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\n/**\n * API Callback Counter\n */\nlet callbackCounter = 0;\n\n/**\n * AMapLoader 加载器\n */\nclass AMapLoader extends Loader {\n constructor(options = {}) {\n super();\n this.key = options.key || \"\";\n this.version = options.version || \"1.4.15\";\n this.plugins = options.plugins || [];\n this.callback = options.callback || \"__onAMapLoaded\" + callbackCounter++;\n this.security = options.security ? options.security : false;\n // this.security = {\n // serviceHost: \"您的代理服务器域名或地址/_AMapService\"\n // securityJsCode: \"您申请的安全密钥\"\n // };\n this.AMap = null;\n this.readyState = this.CREATED;\n this[SymbolLoad] = null;\n }\n\n getUrl() {\n // 目前官方设计 `callback` 并不是必须的,如果自定义url无 `callback`,请设置 this.callback = \"\"; 避免加载时出现引用问题。\n return LoaderUtil.parseTemplate(\n \"https://webapi.amap.com/maps?key=$key&v=$version&plugin=$plugins&callback=$callback\",\n {\n key: this.key,\n version: this.version,\n plugins: this.plugins.join(\",\"),\n callback: this.callback\n }\n );\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n const url = this.getUrl();\n const callback = this.callback;\n\n /**\n * 自2021年12月02日升级,升级之后所申请的 key 必须配备安全密钥 jscode 一起使用\n * 注意:此次升级不会影响之前已获得 key 的使用;升级之后的新增的key必须要配备安全密钥一起使用,\n * 具体用法请您参看下文《JSAPI key和安全密钥设置和使用》(本次key升级新增安全密钥,是为了提升广大用户的对自己的key安全有效管理,降低明文传输被窃取的风险 。)\n */\n if (this.security) {\n window._AMapSecurityConfig = this.security;\n } else {\n delete window._AMapSecurityConfig;\n }\n\n const script = new ScriptLoader(url);\n\n const onScriptLoad = () => {\n if (callback && callback !== \"\") {\n delete window[callback];\n }\n this.AMap = window.AMap;\n this.readyState = this.LOADED;\n resolve(this);\n };\n\n const onScriptError = event => {\n if (callback && callback !== \"\") {\n delete window[callback];\n }\n this[SymbolLoad] = null;\n this.readyState = this.FAILED;\n reject(event);\n };\n\n if (callback && callback !== \"\") {\n window[callback] = onScriptLoad;\n script.load().catch(onScriptError);\n } else {\n script.load().then(onScriptLoad).catch(onScriptError);\n }\n });\n\n return this[SymbolLoad];\n }\n\n loadPlugin(plugins = []) {\n return new Promise((resolve, reject) => {\n if (!this.AMap) return reject(\"请先加载AMap.\");\n\n const newPlugins = [];\n for (let i = 0; i < plugins.length; i += 1) {\n if (this.plugins.indexOf(plugins[i]) === -1) {\n newPlugins.push(plugins[i]);\n }\n }\n\n if (newPlugins.length) {\n this.AMap.plugin(newPlugins, () => {\n this.plugins = this.plugins.concat(newPlugins);\n resolve(this);\n });\n } else {\n resolve(this);\n }\n });\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(AMapLoader, {\n CREATED: \"created\",\n LOADING: \"loading\",\n LOADED: \"loaded\",\n FAILED: \"failed\"\n});\n\nexport default AMapLoader;\n","import Loader from \"./Loader\";\nimport LoaderUtil from \"./LoaderUtil\";\nimport ScriptLoader from \"./ScriptLoader\";\nimport { noop } from \"../util/base\";\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\n/**\n * AMapUILoader 加载器\n */\nclass AMapUILoader extends Loader {\n constructor(options = {}) {\n super();\n this.version = options.version || \"1.1\";\n this.async = options.async || false;\n this.initAMapUI = noop;\n this.AMapUI = null;\n this.readyState = this.CREATED;\n this[SymbolLoad] = null;\n }\n\n getUrl() {\n return LoaderUtil.parseTemplate(`https://webapi.amap.com/ui/$version/$main`, {\n version: this.version,\n main: this.async ? \"main-async.js\" : \"main.js\"\n });\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n const url = this.getUrl();\n const async = this.async;\n\n const script = new ScriptLoader(url);\n\n const onScriptLoad = () => {\n this.readyState = this.LOADED;\n if (async) {\n this.initAMapUI = () => {\n this.initAMapUI = noop;\n window.initAMapUI();\n this.AMapUI = window.AMapUI;\n this.readyState = this.MOUNTED;\n };\n } else {\n this.initAMapUI = noop;\n this.AMapUI = window.AMapUI;\n this.readyState = this.MOUNTED;\n }\n resolve(this);\n };\n\n const onScriptError = event => {\n this[SymbolLoad] = null;\n this.readyState = this.FAILED;\n reject(event);\n };\n\n script.load().then(onScriptLoad).catch(onScriptError);\n });\n\n return this[SymbolLoad];\n }\n\n loadUI(unames = []) {\n return new Promise((resolve, reject) => {\n if (!this.AMapUI) return reject(\"请先加载AMapUI.\");\n\n if (unames.length) {\n this.AMapUI.loadUI(unames, (...umodules) => {\n resolve(umodules);\n });\n } else {\n resolve([]);\n }\n });\n }\n\n loadModule(unames = [], opts) {\n return new Promise((resolve, reject) => {\n if (!this.AMapUI) return reject(\"请先加载AMapUI.\");\n\n if (unames.length) {\n this.AMapUI.load(\n unames,\n (...umodules) => {\n resolve(umodules);\n },\n opts\n );\n } else {\n resolve([]);\n }\n });\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(AMapUILoader, {\n CREATED: \"created\",\n LOADING: \"loading\",\n LOADED: \"loaded\",\n FAILED: \"failed\",\n MOUNTED: \"mounted\"\n});\n\nexport default AMapUILoader;\n","import Loader from \"./Loader\";\nimport LoaderUtil from \"./LoaderUtil\";\nimport ScriptLoader from \"./ScriptLoader\";\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\n/**\n * LocaLoader 数据可视化加载器\n */\nclass LocaLoader extends Loader {\n constructor(options = {}) {\n super();\n this.key = options.key || \"\";\n this.version = options.version || \"1.3.2\";\n this.Loca = null;\n this.readyState = this.CREATED;\n this[SymbolLoad] = null;\n }\n\n getUrl() {\n return LoaderUtil.parseTemplate(`https://webapi.amap.com/loca?key=$key&v=$version`, {\n key: this.key,\n version: this.version\n });\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n const url = this.getUrl();\n\n const script = new ScriptLoader(url);\n\n const onScriptLoad = () => {\n if (!window.Loca) return reject(new Error(\"请检查当前Loca API是否可用!\"));\n this.Loca = window.Loca;\n this.readyState = this.LOADED;\n resolve(this);\n };\n\n const onScriptError = event => {\n this[SymbolLoad] = null;\n this.readyState = this.FAILED;\n reject(event);\n };\n\n script.load().then(onScriptLoad).catch(onScriptError);\n });\n\n return this[SymbolLoad];\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(LocaLoader, {\n CREATED: \"created\",\n LOADING: \"loading\",\n LOADED: \"loaded\",\n FAILED: \"failed\"\n});\n\nexport default LocaLoader;\n","import Loader from \"./Loader\";\nimport LoaderUtil from \"./LoaderUtil\";\nimport ScriptLoader from \"./ScriptLoader\";\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\n/**\n * callback count\n */\nlet count = 0;\n\n/**\n * SubwayLoader 地铁图加载器\n */\nclass SubwayLoader extends Loader {\n constructor(options = {}) {\n super(options);\n this.key = \"\";\n this.version = options.version || \"1.0\";\n this.callback = options.callback || \"__onSubwayLoaded\" + count++;\n this.subway = null;\n this.readyState = this.CREATED;\n this[SymbolLoad] = null;\n }\n\n getUrl() {\n return LoaderUtil.parseTemplate(\n `https://webapi.amap.com/subway?key=$key&v=$version&callback=$callback`,\n {\n key: this.key,\n version: this.version,\n callback: this.callback\n }\n );\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n const url = this.getUrl();\n const callback = this.callback;\n\n const script = new ScriptLoader(url);\n\n const onScriptLoad = () => {\n if (callback && callback !== \"\") {\n delete window[callback];\n }\n this.subway = window.subway;\n this.readyState = this.LOADED;\n resolve(this);\n };\n\n const onScriptError = event => {\n if (callback && callback !== \"\") {\n delete window[callback];\n }\n this[SymbolLoad] = null;\n this.readyState = this.FAILED;\n reject(event);\n };\n\n if (callback && callback !== \"\") {\n window[callback] = onScriptLoad;\n script.load().catch(onScriptError);\n } else {\n script.load().then(onScriptLoad).catch(onScriptError);\n }\n });\n\n return this[SymbolLoad];\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(SubwayLoader, {\n CREATED: \"created\",\n LOADING: \"loading\",\n LOADED: \"loaded\",\n FAILED: \"failed\"\n});\n\nexport default SubwayLoader;\n","import LoaderUtil from \"./loaders/LoaderUtil\";\n\nfunction queueLoad(manifest) {\n let promise = Promise.resolve([]);\n\n for (let i = 0, len = manifest.length; i < len; i++) {\n const item = manifest[i];\n promise = promise.then(result => {\n return new Promise(async (resolve, reject) => {\n try {\n if (typeof item.resolve === \"function\") {\n result.push(await item.resolve());\n } else {\n result.push(await item.resolve);\n }\n resolve(result);\n } catch (e) {\n reject(e);\n }\n });\n });\n }\n\n return promise;\n}\n\nfunction parallelLoad(manifest) {\n const promiseList = [];\n\n for (let i = 0, len = manifest.length; i < len; i++) {\n const item = manifest[i];\n if (typeof item.resolve === \"function\") {\n promiseList.push(item.resolve());\n } else {\n promiseList.push(item.resolve);\n }\n }\n\n return Promise.all(promiseList);\n}\n\nconst SymbolLoad = Symbol(\"Symbol.load\");\n\nclass LoadQueue {\n constructor(manifest = [], queue = true) {\n this.manifest = manifest; // [{ id, loader }]\n this.queue = queue;\n this.result = null;\n this.readyState = this.CREATED;\n }\n\n load() {\n if (this[SymbolLoad]) return this[SymbolLoad];\n this.readyState = this.LOADING;\n this[SymbolLoad] = new Promise((resolve, reject) => {\n // 队列结果反馈\n (this.queue ? queueLoad : parallelLoad)(this.manifest)\n .then(result => {\n this.manifest.forEach((item, index) => {\n if (!this.result) this.result = {};\n this.result[item.id] = result[index];\n });\n this.readyState = this.COMPLETE;\n resolve(this);\n })\n .catch(error => {\n this.readyState = this.ERROR;\n reject(error);\n });\n });\n return this[SymbolLoad];\n }\n\n getItem(id) {\n if (this.result) {\n return this.result[id];\n }\n return null;\n }\n\n getResult() {\n return this.result;\n }\n}\n\n/**\n * 添加ReadyState\n */\nLoaderUtil.registerReadyState(LoadQueue, {\n CREATED: \"created\",\n LOADING: \"loading\",\n COMPLETE: \"complete\",\n ERROR: \"error\"\n});\n\nexport default LoadQueue;\n","import { version } from \"./constants\";\nimport Loader from \"./loaders/Loader\";\nimport LoaderUtil from \"./loaders/LoaderUtil\";\nimport ScriptLoader from \"./loaders/ScriptLoader\";\nimport AMapLoader from \"./loaders/AMapLoader\";\nimport AMapUILoader from \"./loaders/AMapUILoader\";\nimport LocaLoader from \"./loaders/LocaLoader\";\nimport SubwayLoader from \"./loaders/SubwayLoader\";\nimport LoadQueue from \"./LoadQueue\";\n\nconst AMapJS = {\n version,\n Loader,\n LoaderUtil,\n ScriptLoader,\n AMapLoader,\n AMapUILoader,\n LocaLoader,\n SubwayLoader,\n LoadQueue\n};\n\n/**\n * Export\n */\nexport {\n version,\n Loader,\n LoaderUtil,\n ScriptLoader,\n AMapLoader,\n AMapUILoader,\n LocaLoader,\n SubwayLoader,\n LoadQueue\n};\n\nexport default AMapJS;\n"],"sourceRoot":""}