You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
40 KiB

{"version":3,"file":"##.min.js","names":["errMsg","errCode","msg","resolveIfNotPlainOrUrl","relUrl","parentUrl","indexOf","replace","backslashRegEx","slice","length","pathname","parentProtocol","segmented","lastIndexOf","output","segmentIndex","i","push","pop","join","resolveUrl","resolveAndComposePackages","packages","outPackages","baseUrl","parentMap","p","resolvedLhs","rhs","mapped","resolveImportMap","targetWarning","resolveAndComposeImportMap","json","outMap","u","imports","scopes","resolvedScope","depcache","integrity","getMatch","path","matchObj","sepIndex","segment","applyPackages","id","pkgName","pkg","code","match","target","console","warn","importMap","resolvedOrPlain","scopeUrl","packageResolution","SystemJS","this","REGISTRY","getOrCreateLoad","loader","firstParentUrl","meta","load","importerSetters","ns","Object","create","toStringTag","defineProperty","value","instantiatePromise","Promise","resolve","then","instantiate","registration","Error","declared","name","h","changed","__esModule","setter","import","importId","createContext","undefined","e","execute","setters","err","er","linkPromise","instantiation","all","map","dep","depId","depLoad","I","n","depLoads","d","m","L","E","C","instantiateAll","parent","loaded","catch","topLevelLoad","postOrderExec","seen","doExec","execPromise","exec","call","nullContext","depLoadPromises","forEach","depLoadPromise","processScripts","document","querySelectorAll","script","sp","type","src","System","message","event","createEvent","initEvent","dispatchEvent","reject","fetchPromise","fetch","passThrough","res","ok","status","text","onerror","innerHTML","importMapPromise","newMapText","newMapUrl","newMap","JSON","parse","extendImportMap","hasSymbol","Symbol","hasSelf","self","hasDocument","envGlobal","global","baseEl","querySelector","href","location","lastSepIndex","split","lastRegister","systemJSPrototype","prototype","prepareImport","parentId","url","register","deps","declare","metas","getRegister","_lastRegister","freeze","lastAutoImportDeps","lastAutoImportTimeout","processFirst","doProcessScripts","window","addEventListener","addImportMap","mapBase","evt","lastWindowErrorUrl","filename","lastWindowError","error","baseOrigin","origin","createScript","createElement","async","crossOrigin","autoImportCandidates","systemRegister","readyState","scripts","lastScript","setTimeout","autoImportRegistration","head","removeChild","clearTimeout","appendChild","shouldFetch","jsContentTypeRegEx","credentials","statusText","contentType","headers","get","test","source","eval","apply","arguments","throwUnresolved","systemInstantiate","preloads","importScripts"],"sources":["s.js"],"sourcesContent":["/*!\n * SJS 6.14.2\n */\n(function () {\n\n function errMsg(errCode, msg) {\r\n return (msg || \"\") + \" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#\" + errCode + \")\";\r\n }\n\n var hasSymbol = typeof Symbol !== 'undefined';\r\n var hasSelf = typeof self !== 'undefined';\r\n var hasDocument = typeof document !== 'undefined';\r\n\r\n var envGlobal = hasSelf ? self : global;\r\n\r\n var baseUrl;\r\n\r\n if (hasDocument) {\r\n var baseEl = document.querySelector('base[href]');\r\n if (baseEl)\r\n baseUrl = baseEl.href;\r\n }\r\n\r\n if (!baseUrl && typeof location !== 'undefined') {\r\n baseUrl = location.href.split('#')[0].split('?')[0];\r\n var lastSepIndex = baseUrl.lastIndexOf('/');\r\n if (lastSepIndex !== -1)\r\n baseUrl = baseUrl.slice(0, lastSepIndex + 1);\r\n }\r\n\r\n var backslashRegEx = /\\\\/g;\r\n function resolveIfNotPlainOrUrl (relUrl, parentUrl) {\r\n if (relUrl.indexOf('\\\\') !== -1)\r\n relUrl = relUrl.replace(backslashRegEx, '/');\r\n // protocol-relative\r\n if (relUrl[0] === '/' && relUrl[1] === '/') {\r\n return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl;\r\n }\r\n // relative-url\r\n else if (relUrl[0] === '.' && (relUrl[1] === '/' || relUrl[1] === '.' && (relUrl[2] === '/' || relUrl.length === 2 && (relUrl += '/')) ||\r\n relUrl.length === 1 && (relUrl += '/')) ||\r\n relUrl[0] === '/') {\r\n var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1);\r\n // Disabled, but these cases will give inconsistent results for deep backtracking\r\n //if (parentUrl[parentProtocol.length] !== '/')\r\n // throw Error('Cannot resolve');\r\n // read pathname from parent URL\r\n // pathname taken to be part after leading \"/\"\r\n var pathname;\r\n if (parentUrl[parentProtocol.length + 1] === '/') {\r\n // resolving to a :// so we need to read out the auth and host\r\n if (parentProtocol !== 'file:') {\r\n pathname = parentUrl.slice(parentProtocol.length + 2);\r\n pathname = pathname.slice(pathname.indexOf('/') + 1);\r\n }\r\n else {\r\n pathname = parentUrl.slice(8);\r\n }\r\n }\r\n else {\r\n // resolving to :/ so pathname is the /... part\r\n pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/'));\r\n }\r\n\r\n if (relUrl[0] === '/')\r\n return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;\r\n\r\n // join together and split for removal of .. and . segments\r\n // looping the string instead of anything fancy for perf reasons\r\n // '../../../../../z' resolved to 'x/y' is just 'z'\r\n var segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl;\r\n\r\n var output = [];\r\n var segmentIndex = -1;\r\n for (var i = 0; i < segmented.length; i++) {\r\n // busy reading a segment - only terminate on '/'\r\n if (segmentIndex !== -1) {\r\n if (segmented[i] === '/') {\r\n output.push(segmented.slice(segmentIndex, i + 1));\r\n segmentIndex = -1;\r\n }\r\n }\r\n\r\n // new segment - check if it is relative\r\n else if (segmented[i] === '.') {\r\n // ../ segment\r\n if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) {\r\n output.pop();\r\n i += 2;\r\n }\r\n // ./ segment\r\n else if (segmented[i + 1] === '/' || i + 1 === segmented.length) {\r\n i += 1;\r\n }\r\n else {\r\n // the start of a new segment as below\r\n segmentIndex = i;\r\n }\r\n }\r\n // it is the start of a new segment\r\n else {\r\n segmentIndex = i;\r\n }\r\n }\r\n // finish reading out the last segment\r\n if (segmentIndex !== -1)\r\n output.push(segmented.slice(segmentIndex));\r\n return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join('');\r\n }\r\n }\r\n\r\n /*\r\n * Import maps implementation\r\n *\r\n * To make lookups fast we pre-resolve the entire import map\r\n * and then match based on backtracked hash lookups\r\n *\r\n */\r\n\r\n function resolveUrl (relUrl, parentUrl) {\r\n return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl));\r\n }\r\n\r\n function resolveAndComposePackages (packages, outPackages, baseUrl, parentMap, parentUrl) {\r\n for (var p in packages) {\r\n var resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;\r\n var rhs = packages[p];\r\n // package fallbacks not currently supported\r\n if (typeof rhs !== 'string')\r\n continue;\r\n var mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(rhs, baseUrl) || rhs, parentUrl);\r\n if (!mapped) {\r\n targetWarning('W1', p, rhs);\r\n }\r\n else\r\n outPackages[resolvedLhs] = mapped;\r\n }\r\n }\r\n\r\n function resolveAndComposeImportMap (json, baseUrl, outMap) {\r\n if (json.imports)\r\n resolveAndComposePackages(json.imports, outMap.imports, baseUrl, outMap, null);\r\n\r\n var u;\r\n for (u in json.scopes || {}) {\r\n var resolvedScope = resolveUrl(u, baseUrl);\r\n resolveAndComposePackages(json.scopes[u], outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}), baseUrl, outMap, resolvedScope);\r\n }\r\n\r\n for (u in json.depcache || {})\r\n outMap.depcache[resolveUrl(u, baseUrl)] = json.depcache[u];\r\n \r\n for (u in json.integrity || {})\r\n outMap.integrity[resolveUrl(u, baseUrl)] = json.integrity[u];\r\n }\r\n\r\n function getMatch (path, matchObj) {\r\n if (matchObj[path])\r\n return path;\r\n var sepIndex = path.length;\r\n do {\r\n var segment = path.slice(0, sepIndex + 1);\r\n if (segment in matchObj)\r\n return segment;\r\n } while ((sepIndex = path.lastIndexOf('/', sepIndex - 1)) !== -1)\r\n }\r\n\r\n function applyPackages (id, packages) {\r\n var pkgName = getMatch(id, packages);\r\n if (pkgName) {\r\n var pkg = packages[pkgName];\r\n if (pkg === null) return;\r\n if (id.length > pkgName.length && pkg[pkg.length - 1] !== '/') {\r\n targetWarning('W2', pkgName, pkg);\r\n }\r\n else\r\n return pkg + id.slice(pkgName.length);\r\n }\r\n }\r\n\r\n function targetWarning (code, match, target, msg) {\r\n console.warn(errMsg(code, [target, match].join(', ') ));\r\n }\r\n\r\n function resolveImportMap (importMap, resolvedOrPlain, parentUrl) {\r\n var scopes = importMap.scopes;\r\n var scopeUrl = parentUrl && getMatch(parentUrl, scopes);\r\n while (scopeUrl) {\r\n var packageResolution = applyPackages(resolvedOrPlain, scopes[scopeUrl]);\r\n if (packageResolution)\r\n return packageResolution;\r\n scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf('/')), scopes);\r\n }\r\n return applyPackages(resolvedOrPlain, importMap.imports) || resolvedOrPlain.indexOf(':') !== -1 && resolvedOrPlain;\r\n }\n\n /*\r\n * SystemJS Core\r\n *\r\n * Provides\r\n * - System.import\r\n * - System.register support for\r\n * live bindings, function hoisting through circular references,\r\n * reexports, dynamic import, import.meta.url, top-level await\r\n * - System.getRegister to get the registration\r\n * - Symbol.toStringTag support in Module objects\r\n * - Hookable System.createContext to customize import.meta\r\n * - System.onload(err, id, deps) handler for tracing / hot-reloading\r\n *\r\n * Core comes with no System.prototype.resolve or\r\n * System.prototype.instantiate implementations\r\n */\r\n\r\n var toStringTag = hasSymbol && Symbol.toStringTag;\r\n var REGISTRY = hasSymbol ? Symbol() : '@';\r\n\r\n function SystemJS () {\r\n this[REGISTRY] = {};\r\n }\r\n\r\n var systemJSPrototype = SystemJS.prototype;\r\n\r\n systemJSPrototype.import = function (id, parentUrl, meta) {\r\n var loader = this;\r\n (parentUrl && typeof parentUrl === 'object') && (meta = parentUrl, parentUrl = undefined);\r\n return Promise.resolve(loader.prepareImport())\r\n .then(function() {\r\n return loader.resolve(id, parentUrl, meta);\r\n })\r\n .then(function (id) {\r\n var load = getOrCreateLoad(loader, id, undefined, meta);\r\n return load.C || topLevelLoad(loader, load);\r\n });\r\n };\r\n\r\n // Hookable createContext function -> allowing eg custom import meta\r\n systemJSPrototype.createContext = function (parentId) {\r\n var loader = this;\r\n return {\r\n url: parentId,\r\n resolve: function (id, parentUrl) {\r\n return Promise.resolve(loader.resolve(id, parentUrl || parentId));\r\n }\r\n };\r\n };\r\n function loadToId (load) {\r\n return load.id;\r\n }\r\n function triggerOnload (loader, load, err, isErrSource) {\r\n loader.onload(err, load.id, load.d && load.d.map(loadToId), !!isErrSource);\r\n if (err)\r\n throw err;\r\n }\r\n\r\n var lastRegister;\r\n systemJSPrototype.register = function (deps, declare, metas) {\r\n lastRegister = [deps, declare, metas];\r\n };\r\n\r\n /*\r\n * getRegister provides the last anonymous System.register call\r\n */\r\n systemJSPrototype.getRegister = function () {\r\n var _lastRegister = lastRegister;\r\n lastRegister = undefined;\r\n return _lastRegister;\r\n };\r\n\r\n function getOrCreateLoad (loader, id, firstParentUrl, meta) {\r\n var load = loader[REGISTRY][id];\r\n if (load)\r\n return load;\r\n\r\n var importerSetters = [];\r\n var ns = Object.create(null);\r\n if (toStringTag)\r\n Object.defineProperty(ns, toStringTag, { value: 'Module' });\r\n\r\n var instantiatePromise = Promise.resolve()\r\n .then(function () {\r\n return loader.instantiate(id, firstParentUrl, meta);\r\n })\r\n .then(function (registration) {\r\n if (!registration)\r\n throw Error(errMsg(2, id ));\r\n function _export (name, value) {\r\n // note if we have hoisted exports (including reexports)\r\n load.h = true;\r\n var changed = false;\r\n if (typeof name === 'string') {\r\n if (!(name in ns) || ns[name] !== value) {\r\n ns[name] = value;\r\n changed = true;\r\n }\r\n }\r\n else {\r\n for (var p in name) {\r\n var value = name[p];\r\n if (!(p in ns) || ns[p] !== value) {\r\n ns[p] = value;\r\n changed = true;\r\n }\r\n }\r\n\r\n if (name && name.__esModule) {\r\n ns.__esModule = name.__esModule;\r\n }\r\n }\r\n if (changed)\r\n for (var i = 0; i < importerSetters.length; i++) {\r\n var setter = importerSetters[i];\r\n if (setter) setter(ns);\r\n }\r\n return value;\r\n }\r\n var declared = registration[1](_export, registration[1].length === 2 ? {\r\n import: function (importId, meta) {\r\n return loader.import(importId, id, meta);\r\n },\r\n meta: loader.createContext(id)\r\n } : undefined);\r\n load.e = declared.execute || function () {};\r\n return [registration[0], declared.setters || [], registration[2] || []];\r\n }, function (err) {\r\n load.e = null;\r\n load.er = err;\r\n throw err;\r\n });\r\n\r\n var linkPromise = instantiatePromise\r\n .then(function (instantiation) {\r\n return Promise.all(instantiation[0].map(function (dep, i) {\r\n var setter = instantiation[1][i];\r\n var meta = instantiation[2][i];\r\n return Promise.resolve(loader.resolve(dep, id))\r\n .then(function (depId) {\r\n var depLoad = getOrCreateLoad(loader, depId, id, meta);\r\n // depLoad.I may be undefined for already-evaluated\r\n return Promise.resolve(depLoad.I)\r\n .then(function () {\r\n if (setter) {\r\n depLoad.i.push(setter);\r\n // only run early setters when there are hoisted exports of that module\r\n // the timing works here as pending hoisted export calls will trigger through importerSetters\r\n if (depLoad.h || !depLoad.I)\r\n setter(depLoad.n);\r\n }\r\n return depLoad;\r\n });\r\n });\r\n }))\r\n .then(function (depLoads) {\r\n load.d = depLoads;\r\n });\r\n });\r\n\r\n // Capital letter = a promise function\r\n return load = loader[REGISTRY][id] = {\r\n id: id,\r\n // importerSetters, the setters functions registered to this dependency\r\n // we retain this to add more later\r\n i: importerSetters,\r\n // module namespace object\r\n n: ns,\r\n // extra module information for import assertion\r\n // shape like: { assert: { type: 'xyz' } }\r\n m: meta,\r\n\r\n // instantiate\r\n I: instantiatePromise,\r\n // link\r\n L: linkPromise,\r\n // whether it has hoisted exports\r\n h: false,\r\n\r\n // On instantiate completion we have populated:\r\n // dependency load records\r\n d: undefined,\r\n // execution function\r\n e: undefined,\r\n\r\n // On execution we have populated:\r\n // the execution error if any\r\n er: undefined,\r\n // in the case of TLA, the execution promise\r\n E: undefined,\r\n\r\n // On execution, L, I, E cleared\r\n\r\n // Promise for top-level completion\r\n C: undefined,\r\n\r\n // parent instantiator / executor\r\n p: undefined\r\n };\r\n }\r\n\r\n function instantiateAll (loader, load, parent, loaded) {\r\n if (!loaded[load.id]) {\r\n loaded[load.id] = true;\r\n // load.L may be undefined for already-instantiated\r\n return Promise.resolve(load.L)\r\n .then(function () {\r\n if (!load.p || load.p.e === null)\r\n load.p = parent;\r\n return Promise.all(load.d.map(function (dep) {\r\n return instantiateAll(loader, dep, parent, loaded);\r\n }));\r\n })\r\n .catch(function (err) {\r\n if (load.er)\r\n throw err;\r\n load.e = null;\r\n throw err;\r\n });\r\n }\r\n }\r\n\r\n function topLevelLoad (loader, load) {\r\n return load.C = instantiateAll(loader, load, load, {})\r\n .then(function () {\r\n return postOrderExec(loader, load, {});\r\n })\r\n .then(function () {\r\n return load.n;\r\n });\r\n }\r\n\r\n // the closest we can get to call(undefined)\r\n var nullContext = Object.freeze(Object.create(null));\r\n\r\n // returns a promise if and only if a top-level await subgraph\r\n // throws on sync errors\r\n function postOrderExec (loader, load, seen) {\r\n if (seen[load.id])\r\n return;\r\n seen[load.id] = true;\r\n\r\n if (!load.e) {\r\n if (load.er)\r\n throw load.er;\r\n if (load.E)\r\n return load.E;\r\n return;\r\n }\r\n\r\n // From here we're about to execute the load.\r\n // Because the execution may be async, we pop the `load.e` first.\r\n // So `load.e === null` always means the load has been executed or is executing.\r\n // To inspect the state:\r\n // - If `load.er` is truthy, the execution has threw or has been rejected;\r\n // - otherwise, either the `load.E` is a promise, means it's under async execution, or\r\n // - the `load.E` is null, means the load has completed the execution or has been async resolved.\r\n var exec = load.e;\r\n load.e = null;\r\n\r\n // deps execute first, unless circular\r\n var depLoadPromises;\r\n load.d.forEach(function (depLoad) {\r\n try {\r\n var depLoadPromise = postOrderExec(loader, depLoad, seen);\r\n if (depLoadPromise)\r\n (depLoadPromises = depLoadPromises || []).push(depLoadPromise);\r\n }\r\n catch (err) {\r\n load.er = err;\r\n throw err;\r\n }\r\n });\r\n if (depLoadPromises)\r\n return Promise.all(depLoadPromises).then(doExec);\r\n\r\n return doExec();\r\n\r\n function doExec () {\r\n try {\r\n var execPromise = exec.call(nullContext);\r\n if (execPromise) {\r\n execPromise = execPromise.then(function () {\r\n load.C = load.n;\r\n load.E = null; // indicates completion\r\n if (!true) ;\r\n }, function (err) {\r\n load.er = err;\r\n load.E = null;\r\n if (!true) ;\r\n throw err;\r\n });\r\n return load.E = execPromise;\r\n }\r\n // (should be a promise, but a minify optimization to leave out Promise.resolve)\r\n load.C = load.n;\r\n load.L = load.I = undefined;\r\n }\r\n catch (err) {\r\n load.er = err;\r\n throw err;\r\n }\r\n finally {\r\n }\r\n }\r\n }\r\n\r\n envGlobal.System = new SystemJS();\n\n /*\r\n * SystemJS browser attachments for script and import map processing\r\n */\r\n\r\n var importMapPromise = Promise.resolve();\r\n var importMap = { imports: {}, scopes: {}, depcache: {}, integrity: {} };\r\n\r\n // Scripts are processed immediately, on the first System.import, and on DOMReady.\r\n // Import map scripts are processed only once (by being marked) and in order for each phase.\r\n // This is to avoid using DOM mutation observers in core, although that would be an alternative.\r\n var processFirst = hasDocument;\r\n systemJSPrototype.prepareImport = function (doProcessScripts) {\r\n if (processFirst || doProcessScripts) {\r\n processScripts();\r\n processFirst = false;\r\n }\r\n return importMapPromise;\r\n };\r\n if (hasDocument) {\r\n processScripts();\r\n window.addEventListener('DOMContentLoaded', processScripts);\r\n }\r\n systemJSPrototype.addImportMap = function (newMap, mapBase) {\r\n resolveAndComposeImportMap(newMap, mapBase || baseUrl, importMap);\r\n };\r\n\r\n function processScripts () {\r\n [].forEach.call(document.querySelectorAll('script'), function (script) {\r\n if (script.sp) // sp marker = systemjs processed\r\n return;\r\n // TODO: deprecate systemjs-module in next major now that we have auto import\r\n if (script.type === 'systemjs-module') {\r\n script.sp = true;\r\n if (!script.src)\r\n return;\r\n System.import(script.src.slice(0, 7) === 'import:' ? script.src.slice(7) : resolveUrl(script.src, baseUrl)).catch(function (e) {\r\n // if there is a script load error, dispatch an \"error\" event\r\n // on the script tag.\r\n if (e.message.indexOf('https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3') > -1) {\r\n var event = document.createEvent('Event');\r\n event.initEvent('error', false, false);\r\n script.dispatchEvent(event);\r\n }\r\n return Promise.reject(e);\r\n });\r\n }\r\n else if (script.type === 'systemjs-importmap') {\r\n script.sp = true;\r\n // The passThrough property is for letting the module types fetch implementation know that this is not a SystemJS module.\r\n var fetchPromise = script.src ? (System.fetch || fetch)(script.src, { integrity: script.integrity, passThrough: true }).then(function (res) {\r\n if (!res.ok)\r\n throw Error(res.status );\r\n return res.text();\r\n }).catch(function (err) {\r\n err.message = errMsg('W4', script.src ) + '\\n' + err.message;\r\n console.warn(err);\r\n if (typeof script.onerror === 'function') {\r\n script.onerror();\r\n }\r\n return '{}';\r\n }) : script.innerHTML;\r\n importMapPromise = importMapPromise.then(function () {\r\n return fetchPromise;\r\n }).then(function (text) {\r\n extendImportMap(importMap, text, script.src || baseUrl);\r\n });\r\n }\r\n });\r\n }\r\n\r\n function extendImportMap (importMap, newMapText, newMapUrl) {\r\n var newMap = {};\r\n try {\r\n newMap = JSON.parse(newMapText);\r\n } catch (err) {\r\n console.warn(Error((errMsg('W5') )));\r\n }\r\n resolveAndComposeImportMap(newMap, newMapUrl, importMap);\r\n }\n\n /*\r\n * Script instantiation loading\r\n */\r\n\r\n if (hasDocument) {\r\n window.addEventListener('error', function (evt) {\r\n lastWindowErrorUrl = evt.filename;\r\n lastWindowError = evt.error;\r\n });\r\n var baseOrigin = location.origin;\r\n }\r\n\r\n systemJSPrototype.createScript = function (url) {\r\n var script = document.createElement('script');\r\n script.async = true;\r\n // Only add cross origin for actual cross origin\r\n // this is because Safari triggers for all\r\n // - https://bugs.webkit.org/show_bug.cgi?id=171566\r\n if (url.indexOf(baseOrigin + '/'))\r\n script.crossOrigin = 'anonymous';\r\n var integrity = importMap.integrity[url];\r\n if (integrity)\r\n script.integrity = integrity;\r\n script.src = url;\r\n return script;\r\n };\r\n\r\n // Auto imports -> script tags can be inlined directly for load phase\r\n var lastAutoImportDeps, lastAutoImportTimeout;\r\n var autoImportCandidates = {};\r\n var systemRegister = systemJSPrototype.register;\r\n systemJSPrototype.register = function (deps, declare) {\r\n if (hasDocument && document.readyState === 'loading' && typeof deps !== 'string') {\r\n var scripts = document.querySelectorAll('script[src]');\r\n var lastScript = scripts[scripts.length - 1];\r\n if (lastScript) {\r\n lastScript.src;\r\n lastAutoImportDeps = deps;\r\n // if this is already a System load, then the instantiate has already begun\r\n // so this re-import has no consequence\r\n var loader = this;\r\n lastAutoImportTimeout = setTimeout(function () {\r\n autoImportCandidates[lastScript.src] = [deps, declare];\r\n loader.import(lastScript.src);\r\n });\r\n }\r\n }\r\n else {\r\n lastAutoImportDeps = undefined;\r\n }\r\n return systemRegister.call(this, deps, declare);\r\n };\r\n\r\n var lastWindowErrorUrl, lastWindowError;\r\n systemJSPrototype.instantiate = function (url, firstParentUrl) {\r\n var autoImportRegistration = autoImportCandidates[url];\r\n if (autoImportRegistration) {\r\n delete autoImportCandidates[url];\r\n return autoImportRegistration;\r\n }\r\n var loader = this;\r\n return Promise.resolve(systemJSPrototype.createScript(url)).then(function (script) {\r\n return new Promise(function (resolve, reject) {\r\n script.addEventListener('error', function () {\r\n reject(Error(errMsg(3, [url, firstParentUrl].join(', ') )));\r\n });\r\n script.addEventListener('load', function () {\r\n document.head.removeChild(script);\r\n // Note that if an error occurs that isn't caught by this if statement,\r\n // that getRegister will return null and a \"did not instantiate\" error will be thrown.\r\n if (lastWindowErrorUrl === url) {\r\n reject(lastWindowError);\r\n }\r\n else {\r\n var register = loader.getRegister(url);\r\n // Clear any auto import registration for dynamic import scripts during load\r\n if (register && register[0] === lastAutoImportDeps)\r\n clearTimeout(lastAutoImportTimeout);\r\n resolve(register);\r\n }\r\n });\r\n document.head.appendChild(script);\r\n });\r\n });\r\n };\n\n /*\r\n * Fetch loader, sets up shouldFetch and fetch hooks\r\n */\r\n systemJSPrototype.shouldFetch = function () {\r\n return false;\r\n };\r\n if (typeof fetch !== 'undefined')\r\n systemJSPrototype.fetch = fetch;\r\n\r\n var instantiate = systemJSPrototype.instantiate;\r\n var jsContentTypeRegEx = /^(text|application)\\/(x-)?javascript(;|$)/;\r\n systemJSPrototype.instantiate = function (url, parent, meta) {\r\n var loader = this;\r\n if (!this.shouldFetch(url, parent, meta))\r\n return instantiate.apply(this, arguments);\r\n return this.fetch(url, {\r\n credentials: 'same-origin',\r\n integrity: importMap.integrity[url],\r\n meta: meta,\r\n })\r\n .then(function (res) {\r\n if (!res.ok)\r\n throw Error(errMsg(7, [res.status, res.statusText, url, parent].join(', ') ));\r\n var contentType = res.headers.get('content-type');\r\n if (!contentType || !jsContentTypeRegEx.test(contentType))\r\n throw Error(errMsg(4, contentType ));\r\n return res.text().then(function (source) {\r\n if (source.indexOf('//# sourceURL=') < 0)\r\n source += '\\n//# sourceURL=' + url;\r\n (0, eval)(source);\r\n return loader.getRegister(url);\r\n });\r\n });\r\n };\n\n systemJSPrototype.resolve = function (id, parentUrl) {\r\n parentUrl = parentUrl || !true || baseUrl;\r\n return resolveImportMap((importMap), resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) || throwUnresolved(id, parentUrl);\r\n };\r\n\r\n function throwUnresolved (id, parentUrl) {\r\n throw Error(errMsg(8, [id, parentUrl].join(', ') ));\r\n }\n\n var systemInstantiate = systemJSPrototype.instantiate;\r\n systemJSPrototype.instantiate = function (url, firstParentUrl, meta) {\r\n var preloads = (importMap).depcache[url];\r\n if (preloads) {\r\n for (var i = 0; i < preloads.length; i++)\r\n getOrCreateLoad(this, this.resolve(preloads[i], url), url);\r\n }\r\n return systemInstantiate.call(this, url, firstParentUrl, meta);\r\n };\n\n /*\r\n * Supports loading System.register in workers\r\n */\r\n\r\n if (hasSelf && typeof importScripts === 'function')\r\n systemJSPrototype.instantiate = function (url) {\r\n var loader = this;\r\n return Promise.resolve().then(function () {\r\n importScripts(url);\r\n return loader.getRegister(url);\r\n });\r\n };\n\n})();\n"],"mappings":";;;CAGA,WAEE,SAASA,EAAOC,EAASC,GACvB,OAAQA,GAAO,IAAM,4E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