system.js 47 KB

1234
  1. /*
  2. * SystemJS v0.21.6 Dev
  3. */
  4. !function(){"use strict";var p="undefined"!=typeof window&&"undefined"!=typeof document,d="undefined"!=typeof process&&process.versions&&process.versions.node,a="undefined"!=typeof process&&"string"==typeof process.platform&&process.platform.match(/^win/),w="undefined"!=typeof self?self:global,t="undefined"!=typeof Symbol;function e(e){return t?Symbol():"@@"+e}var y,k=t&&Symbol.toStringTag;if("undefined"!=typeof document&&document.getElementsByTagName){if(!(y=document.baseURI)){var r=document.getElementsByTagName("base");y=r[0]&&r[0].href||window.location.href}}else"undefined"!=typeof location&&(y=location.href);if(y){var n=(y=y.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==n&&(y=y.substr(0,n+1))}else{if("undefined"==typeof process||!process.cwd)throw new TypeError("No environment baseURI");y="file://"+(a?"/":"")+process.cwd(),a&&(y=y.replace(/\\/g,"/"))}"/"!==y[y.length-1]&&(y+="/");var i="_"==new Error(0,"_").fileName;function l(e,t){p||(t=t.replace(a?/file:\/\/\//g:/file:\/\//g,""));var r,n=(e.message||e)+"\n "+t;r=i&&e.fileName?new Error(n,e.fileName,e.lineNumber):new Error(n);var o=e.originalErr?e.originalErr.stack:e.stack;return r.stack=d?n+"\n "+o:o,r.originalErr=e.originalErr||e,r}function f(e,t){throw new RangeError('Unable to resolve "'+e+'" to '+t)}var g=/\\/g;function b(e,t){" "!==e[0]&&" "!==e[e.length-1]||(e=e.trim());var r=t&&t.substr(0,t.indexOf(":")+1),n=e[0],o=e[1];if("/"===n&&"/"===o)return r||f(e,t),-1!==e.indexOf("\\")&&(e=e.replace(g,"/")),r+e;if("."===n&&("/"===o||"."===o&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===n){-1!==e.indexOf("\\")&&(e=e.replace(g,"/"));var i,a=!r||"/"!==t[r.length];if(i=a?(void 0===t&&f(e,t),t):"/"===t[r.length+1]?"file:"!==r?(i=t.substr(r.length+2)).substr(i.indexOf("/")+1):t.substr(8):t.substr(r.length+1),"/"===n){if(!a)return t.substr(0,t.length-i.length-1)+e;f(e,t)}for(var s=i.substr(0,i.lastIndexOf("/")+1)+e,u=[],l=-1,c=0;c<s.length;c++)if(-1===l)if("."!==s[c])l=c;else{if("."!==s[c+1]||"/"!==s[c+2]&&c+2!==s.length){if("/"!==s[c+1]&&c+1!==s.length){l=c;continue}c+=1}else u.pop(),c+=2;a&&0===u.length&&f(e,t)}else"/"===s[c]&&(u.push(s.substring(l,c+1)),l=-1);return-1!==l&&u.push(s.substr(l)),t.substr(0,t.length-i.length)+u.join("")}return-1!==e.indexOf(":")?d&&":"===e[1]&&"\\"===e[2]&&e[0].match(/[a-z]/i)?"file:///"+e.replace(g,"/"):e:void 0}var o=Promise.resolve();function s(r){if(r.values)return r.values();if("undefined"==typeof Symbol||!Symbol.iterator)throw new Error("Symbol.iterator not supported in this browser");var e={};return e[Symbol.iterator]=function(){var e=Object.keys(r),t=0;return{next:function(){return t<e.length?{value:r[e[t++]],done:!1}:{value:void 0,done:!0}}}},e}function u(){this.registry=new O}function c(e){if(void 0!==e){if(e instanceof j==!1&&"module"!==e[k])throw new TypeError("Module instantiation did not return a valid namespace object.");return e}}(u.prototype.constructor=u).prototype.import=function(t,r){if("string"!=typeof t)throw new TypeError("Loader import method must be passed a module key string");var e=this;return o.then(function(){return e[m](t,r)}).then(c).catch(function(e){throw l(e,"Loading "+t+(r?" from "+r:""))})};var h=u.resolve=e("resolve"),m=u.resolveInstantiate=e("resolveInstantiate");function v(e){if(void 0===e)throw new RangeError("No resolution found.");return e}u.prototype[m]=function(e,t){var r=this;return r.resolve(e,t).then(function(e){return r.registry.get(e)})},u.prototype.resolve=function(t,r){var e=this;return o.then(function(){return e[h](t,r)}).then(v).catch(function(e){throw l(e,"Resolving "+t+(r?" to "+r:""))})};var x="undefined"!=typeof Symbol&&Symbol.iterator,E=e("registry");function O(){this[E]={}}x&&(O.prototype[Symbol.iterator]=function(){return this.entries()[Symbol.iterator]()},O.prototype.entries=function(){var t=this[E];return s(Object.keys(t).map(function(e){return[e,t[e]]}))}),O.prototype.keys=function(){return s(Object.keys(this[E]))},O.prototype.values=function(){var t=this[E];return s(Object.keys(t).map(function(e){return t[e]}))},O.prototype.get=function(e){return this[E][e]},O.prototype.set=function(e,t){if(!(t instanceof j||"module"===t[k]))throw new Error("Registry must be set with an instance of Module Namespace");return this[E][e]=t,this},O.prototype.has=function(e){return Object.hasOwnProperty.call(this[E],e)},O.prototype.delete=function(e){return!!Object.hasOwnProperty.call(this[E],e)&&(delete this[E][e],!0)};var S=e("baseObject");function j(e){Object.defineProperty(this,S,{value:e}),Object.keys(e).forEach(P,this)}function P(e){Object.defineProperty(this,e,{enumerable:!0,get:function(){return this[S][e]}})}j.prototype=Object.create(null),k&&Object.defineProperty(j.prototype,k,{value:"Module"});var _=Promise.resolve(),R=e("register-internal");function M(){u.call(this);var r=this.registry.delete;this.registry.delete=function(e){var t=r.call(this,e);return n.hasOwnProperty(e)&&!n[e].linkRecord&&(delete n[e],t=!0),t};var n={};this[R]={lastRegister:void 0,records:n},this.trace=!1}var C=((M.prototype=Object.create(u.prototype)).constructor=M).instantiate=e("instantiate");function L(e,t,r){return e.records[t]={key:t,registration:r,module:void 0,importerSetters:void 0,loadError:void 0,evalError:void 0,linkRecord:{instantiatePromise:void 0,dependencies:void 0,execute:void 0,executingRequire:!1,moduleObj:void 0,setters:void 0,depsInstantiatePromise:void 0,dependencyInstantiations:void 0,evaluatePromise:void 0}}}function A(c,d,f,p,g){return f.instantiatePromise||(f.instantiatePromise=(d.registration?_:_.then(function(){return g.lastRegister=void 0,c[C](d.key,1<c[C].length&&(t=d,r=g,function(){var e=r.lastRegister;return e?(r.lastRegister=void 0,t.registration=e,!0):!!t.registration}));var t,r})).then(function(e){if(void 0!==e){if(!(e instanceof j||"module"===e[k]))throw new TypeError("Instantiate did not return a valid Module object.");return delete g.records[d.key],c.trace&&I(c,d,f),p[d.key]=e}var t,r,n,o,i,a,s,u,l=d.registration;if(d.registration=void 0,!l)throw new TypeError("Module instantiation did not call an anonymous or correctly named System.register.");return f.dependencies=l[0],d.importerSetters=[],f.moduleObj={},l[2]?(f.moduleObj.default=f.moduleObj.__useDefault={},f.executingRequire=l[1],f.execute=l[2]):(t=c,r=d,n=f,o=l[1],i=n.moduleObj,a=r.importerSetters,s=!1,u=o.call(w,function(e,t){if("object"==typeof e){var r=!1;for(var n in e)t=e[n],"__useDefault"===n||n in i&&i[n]===t||(r=!0,i[n]=t);if(!1===r)return t}else{if((s||e in i)&&i[e]===t)return t;i[e]=t}for(var o=0;o<a.length;o++)a[o](i);return t},new F(t,r.key)),n.setters=u.setters||[],n.execute=u.execute,u.exports&&(n.moduleObj=i=u.exports,s=!0)),d}).catch(function(e){throw d.linkRecord=void 0,d.loadError=d.loadError||l(e,"Instantiating "+d.key)}))}function K(o,i,e,a,s,u){return o.resolve(i,e).then(function(e){u&&(u[i]=e);var t=s.records[e],r=a[e];if(r&&(!t||t.module&&r!==t.module))return r;if(t&&t.loadError)throw t.loadError;(!t||!r&&t.module)&&(t=L(s,e,t&&t.registration));var n=t.linkRecord;return n?A(o,t,n,a,s):t})}function I(e,t,r){e.loads=e.loads||{},e.loads[t.key]={key:t.key,deps:r.dependencies,dynamicDeps:[],depMap:r.depMap||{}}}function D(e,o,i,t,r){if(i.depsInstantiatePromise)return i.depsInstantiatePromise;for(var n=Array(i.dependencies.length),a=0;a<i.dependencies.length;a++)n[a]=K(e,i.dependencies[a],o.key,t,r,e.trace&&i.depMap||(i.depMap={}));var s=Promise.all(n).then(function(e){i.dependencyInstantiations=e;if(i.setters){for(var t=0;t<e.length;t++){var r=i.setters[t];if(r){var n=e[t];if(n instanceof j||n[k]==="module"){r(n)}else{if(n.loadError)throw n.loadError;r(n.module||n.linkRecord.moduleObj);if(n.importerSetters)n.importerSetters.push(r)}}}}return o});if(e.trace)s=s.then(function(){I(e,o,i);return o});return(s=s.catch(function(e){throw i.depsInstantiatePromise=void 0,l(e,"Loading "+o.key)})).catch(function(){}),i.depsInstantiatePromise=s}function F(e,t){this.loader=e,this.key=this.id=t,this.meta={url:t}}function q(e,t){e.linkRecord=void 0;var r=l(t,"Evaluating "+e.key);throw void 0===e.evalError&&(e.evalError=r),r}function U(e,t,r,n,o,i){for(var a,s,u=0;u<r.dependencies.length;u++){var l;if(!((l=r.dependencyInstantiations[u])instanceof j||"module"===l[k])&&(a=l.linkRecord))if(l.evalError)q(t,l.evalError);else if(a.setters){if(-1===i.indexOf(l)){i.push(l);try{var c=U(e,l,a,n,o,i)}catch(e){q(t,e)}c&&(s=s||[]).push(c.catch(function(e){q(t,e)}))}}else try{T(e,l,a,n,o,[l])}catch(e){q(t,e)}}if(s)return r.evaluatePromise=Promise.all(s).then(function(){if(r.execute){try{var e=r.execute.call(z)}catch(e){q(t,e)}if(e)return e.catch(function(e){q(t,e)}).then(function(){return t.linkRecord=void 0,n[t.key]=t.module=new j(r.moduleObj)})}t.linkRecord=void 0,n[t.key]=t.module=new j(r.moduleObj)});if(r.execute){try{var d=r.execute.call(z)}catch(e){q(t,e)}if(d)return r.evaluatePromise=d.catch(function(e){q(t,e)}).then(function(){return t.linkRecord=void 0,n[t.key]=t.module=new j(r.moduleObj)})}t.linkRecord=void 0,n[t.key]=t.module=new j(r.moduleObj)}function T(e,t,r,n,o,i){var a={id:t.key},s=r.moduleObj;Object.defineProperty(a,"exports",{configurable:!0,set:function(e){s.default=s.__useDefault=e},get:function(){return s.__useDefault}});var u,l,c,d,f,p,g,h=(u=e,l=t.key,c=r.dependencies,d=r.dependencyInstantiations,f=n,p=o,g=i,function(e){for(var t=0;t<c.length;t++)if(c[t]===e){var r,n=d[t];if(n instanceof j||"module"===n[k])r=n;else{if(n.evalError)throw n.evalError;void 0!==n.module||-1!==g.indexOf(n)||n.linkRecord.evaluatePromise||(n.linkRecord.setters?U(u,n,n.linkRecord,f,p,[n]):(g.push(n),T(u,n,n.linkRecord,f,p,g))),r=n.module||n.linkRecord.moduleObj}return"__useDefault"in r?r.__useDefault:r}throw new Error("Module "+e+" not declared as a System.registerDynamic dependency of "+l)});if(!r.executingRequire)for(var m=0;m<r.dependencies.length;m++)h(r.dependencies[m]);try{var v=r.execute.call(w,h,s.default,a);void 0!==v&&(a.exports=v)}catch(e){q(t,e)}t.linkRecord=void 0,a.exports!==s.__useDefault&&(s.default=s.__useDefault=a.exports);var y=s.default;if(y&&y.__esModule)for(var b in y)Object.hasOwnProperty.call(y,b)&&(s[b]=y[b]);if(n[t.key]=t.module=new j(r.moduleObj),t.importerSetters)for(m=0;m<t.importerSetters.length;m++)t.importerSetters[m](t.module);t.importerSetters=void 0}M.prototype[M.resolve=u.resolve]=function(e,t){return b(e,t||y)},M.prototype[C]=function(e,t){},M.prototype[u.resolveInstantiate]=function(e,t){var u=this,l=this[R],c=this.registry[E];return function(r,e,t,n,o){var i=n[e];if(i)return Promise.resolve(i);var a=o.records[e];return!a||a.module?r.resolve(e,t).then(function(e){if(i=n[e])return i;if((a=o.records[e])&&!a.module||(a=L(o,e,a&&a.registration)),a.loadError)return Promise.reject(a.loadError);var t=a.linkRecord;return t?A(r,a,t,n,o):a}):a.loadError?Promise.reject(a.loadError):A(r,a,a.linkRecord,n,o)}(u,e,t,c,l).then(function(e){if(e instanceof j||"module"===e[k])return e;var t,r,n,i,a,s,o=e.linkRecord;if(o)return(t=u,r=e,n=o,i=c,a=l,s=[],function n(e,o){return o?-1!==s.indexOf(e)?_:(s.push(e),D(t,e,o,i,a).then(function(){for(var e,t=0;t<o.dependencies.length;t++){var r=o.dependencyInstantiations[t];r instanceof j||"module"===r[k]||(e=e||[]).push(n(r,r.linkRecord))}if(e)return Promise.all(e)})):_}(r,n)).then(function(){return function(e,t,r,n,o){if(t.module)return t.module;if(t.evalError)throw t.evalError;if(r.evaluatePromise)return r.evaluatePromise;if(r.setters){var i=U(e,t,r,n,o,[t]);if(i)return i}else T(e,t,r,n,o,[t]);return t.module}(u,e,o,c,l)});if(e.module)return e.module;throw e.evalError})},M.prototype.register=function(e,t,r){var n=this[R];void 0===r?n.lastRegister=[e,t,void 0]:(n.records[e]||L(n,e,void 0)).registration=[t,r,void 0]},M.prototype.registerDynamic=function(e,t,r,n){var o=this[R];"string"!=typeof e?o.lastRegister=[e,t,r]:(o.records[e]||L(o,e,void 0)).registration=[t,r,n]},F.prototype.import=function(e){return this.loader.trace&&this.loader.loads[this.key].dynamicDeps.push(e),this.loader.import(e,this.key)};var z=Object.create(null);Object.freeze&&Object.freeze(z);var J=Promise.resolve();function N(){}var $=new j({});var B,W=e("loader-config"),G=e("metadata"),H="undefined"==typeof window&&"undefined"!=typeof self&&"undefined"!=typeof importScripts;function Z(e,t){(t||this.warnings&&"undefined"!=typeof console&&console.warn)&&console.warn(e)}function X(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function Y(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&void 0===e[r]&&(e[r]=t[r]);return e}function Q(e,t,r){for(var n in t)if(Object.hasOwnProperty.call(t,n)){var o=t[n];void 0===e[n]?e[n]=o:o instanceof Array&&e[n]instanceof Array?e[n]=[].concat(r?o:e[n]).concat(r?e[n]:o):"object"==typeof o&&null!==o&&"object"==typeof e[n]?e[n]=(r?Y:X)(X({},e[n]),o):r||(e[n]=o)}}var V=!1,ee=!1;function te(e){if(V||ee){var t=document.createElement("link");V?(t.rel="preload",t.as="script"):t.rel="prefetch",t.href=e,document.head.appendChild(t)}else{(new Image).src=e}}if(p&&function(){var e=document.createElement("link").relList;if(e&&e.supports){ee=!0;try{V=e.supports("preload")}catch(e){}}}(),p){var re=window.onerror;window.onerror=function(e,t){re&&re.apply(this,arguments)}}function ne(t,e,r,n,o){if(t=t.replace(/#/g,"%23"),H)return function(e,t,r){try{importScripts(e)}catch(e){r(e)}t()}(t,n,o);var i=document.createElement("script");function a(){n(),u()}function s(e){u(),o(new Error("Fetching "+t))}function u(){i.removeEventListener("load",a,!1),i.removeEventListener("error",s,!1),document.head.removeChild(i)}i.type="text/javascript",i.charset="utf-8",i.async=!0,e&&(i.crossOrigin=e),r&&(i.integrity=r),i.addEventListener("load",a,!1),i.addEventListener("error",s,!1),i.src=t,document.head.appendChild(i)}function oe(e,t){for(var r=e.split(".");r.length;)t=t[r.shift()];return t}function ie(e,t,r){var n=se(t,r);if(n){var o=t[n]+r.substr(n.length),i=b(o,y);return void 0!==i?i:e+o}return-1!==r.indexOf(":")?r:e+r}function ae(e){var t=this.name;if(t.substr(0,e.length)===e&&(t.length===e.length||"/"===t[e.length]||"/"===e[e.length-1]||":"===e[e.length-1])){var r=e.split("/").length;r>this.len&&(this.match=e,this.len=r)}}function se(e,t){if(Object.hasOwnProperty.call(e,t))return t;var r={name:t,match:void 0,len:0};return Object.keys(e).forEach(ae,r),r.match}var ue,le=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|`[^`\\]*(?:\\.[^`\\]*)*`)\s*\)/g;function ce(e,t,r,n){if("file:///"===e.substr(0,8)){if(fe)return de(e,t,r,n);throw new Error("Unable to fetch file URLs in this environment.")}e=e.replace(/#/g,"%23");var o={headers:{Accept:"application/x-es-module, */*"}};return r&&(o.integrity=r),t&&("string"==typeof t&&(o.headers.Authorization=t),o.credentials="include"),fetch(e,o).then(function(e){if(e.ok)return n?e.arrayBuffer():e.text();throw new Error("Fetch error: "+e.status+" "+e.statusText)})}function de(i,a,e,s){return new Promise(function(e,t){i=i.replace(/#/g,"%23");var r=new XMLHttpRequest;function n(){e(s?r.response:r.responseText)}function o(){t(new Error("XHR error: "+(r.status?" ("+r.status+(r.statusText?" "+r.statusText:"")+")":"")+" loading "+i))}s&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){4===r.readyState&&(0==r.status?r.response?n():(r.addEventListener("error",o),r.addEventListener("load",n)):200===r.status?n():o())},r.open("GET",i,!0),r.setRequestHeader&&(r.setRequestHeader("Accept","application/x-es-module, */*"),a&&("string"==typeof a&&r.setRequestHeader("Authorization",a),r.withCredentials=!0)),r.send(null)})}var fe="undefined"!=typeof XMLHttpRequest,pe="undefined"!=typeof fetch,ge="undefined"!=typeof self&&void 0!==self.fetch?ce:fe?de:"undefined"!=typeof require&&"undefined"!=typeof process?function(e,t,r,i){return"file:///"!=e.substr(0,8)?pe?ce(e,t,r,i):Promise.reject(new Error('Unable to fetch "'+e+'". Only file URLs of the form file:/// supported running in Node without fetch.')):(ue=ue||require("fs"),e=a?e.replace(/\//g,"\\").substr(8):e.substr(7),new Promise(function(n,o){ue.readFile(e,function(e,t){if(e)return o(e);if(i)n(t);else{var r=t+"";"\ufeff"===r[0]&&(r=r.substr(1)),n(r)}})}))}:function(){throw new Error("No fetch method is defined for this environment.")};function he(e,t,r){var n,o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0};r&&(t.pluginFirst?-1!==(n=r.lastIndexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(0,n)):-1!==(n=r.indexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(n+1)),o.packageKey=se(t.packages,r),o.packageKey&&(o.packageConfig=t.packages[o.packageKey]));return o}function me(e,t){var r=ke(e.pluginFirst,t);if(r){var n=me.call(this,e,r.plugin);return xe(e.pluginFirst,ve.call(this,e,r.argument,void 0,!1,!1),n)}return ve.call(this,e,t,void 0,!1,!1)}function ve(e,t,r,n,o){var i=b(t,r||y);if(i)return ie(e.baseURL,e.paths,i);if(n){var a=se(e.map,t);if(a&&(i=b(t=e.map[a]+t.substr(a.length),y)))return ie(e.baseURL,e.paths,i)}if(this.registry.has(t))return t;if("@node/"===t.substr(0,6))return t;var s=o&&"/"!==t[t.length-1],u=ie(e.baseURL,e.paths,s?t+"/":t);return s?u.substr(0,u.length-1):u}function ye(e,t,r,n,o,i){if(o&&o.packageConfig&&"."!==t[0]){var a=o.packageConfig.map,s=a&&se(a,t);if(s&&"string"==typeof a[s]){var u=Se(this,e,o.packageConfig,o.packageKey,s,t,n,i);if(u)return u}}var l=ve.call(this,e,t,r,!0,!0),c=_e(e,l);if(n.packageKey=c&&c.packageKey||se(e.packages,l),!n.packageKey)return l;if(-1!==e.packageConfigKeys.indexOf(l))return n.packageKey=void 0,l;n.packageConfig=e.packages[n.packageKey]||(e.packages[n.packageKey]=qe());var d=l.substr(n.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return n;o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}if(r.map){var s="./"+o,u=se(r.map,s);if(u||(s="./"+Ee(t,r,n,o,a))!=="./"+o&&(u=se(r.map,s)),u){var l=Se(e,t,r,n,u,s,i,a);if(l)return l}}return n+"/"+Ee(t,r,n,o,a)}(this,e,n.packageConfig,n.packageKey,d,n,i)}function be(n,o,i,a,r,s){var u=this;return J.then(function(){if(r&&r.packageConfig&&"./"!==o.substr(0,2)){var e=r.packageConfig.map,t=e&&se(e,o);if(t)return je(u,n,r.packageConfig,r.packageKey,t,o,a,s)}return J}).then(function(e){if(e)return e;var t=ve.call(u,n,o,i,!0,!0),r=_e(n,t);return a.packageKey=r&&r.packageKey||se(n.packages,t),a.packageKey?-1!==n.packageConfigKeys.indexOf(t)?(a.packageKey=void 0,a.load=we(),a.load.format="json",a.load.loader="",Promise.resolve(t)):(a.packageConfig=n.packages[a.packageKey]||(n.packages[a.packageKey]=qe()),(r&&!a.packageConfig.configured?function(e,t,r,n,o){var i=e.pluginLoader||e;-1===t.packageConfigKeys.indexOf(r)&&t.packageConfigKeys.push(r);return i.import(r).then(function(e){Ue(n.packageConfig,e,n.packageKey,!0,t),n.packageConfig.configured=!0}).catch(function(e){throw l(e,"Unable to fetch package configuration file "+r)})}(u,n,r.configPath,a):J).then(function(){var e=t.substr(a.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return Promise.resolve(n);o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}var s,u;r.map&&(s="./"+o,(u=se(r.map,s))||(s="./"+Ee(t,r,n,o,a))!=="./"+o&&(u=se(r.map,s)));return(u?je(e,t,r,n,u,s,i,a):J).then(function(e){return e?Promise.resolve(e):Promise.resolve(n+"/"+Ee(t,r,n,o,a))})}(u,n,a.packageConfig,a.packageKey,e,a,s)})):Promise.resolve(t)})}function we(){return{extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1}}function ke(e,t){var r,n,o=e?t.indexOf("!"):t.lastIndexOf("!");if(-1!==o)return n=e?(r=t.substr(o+1),t.substr(0,o)):(r=t.substr(0,o),t.substr(o+1)||r.substr(r.lastIndexOf(".")+1)),{argument:r,plugin:n}}function xe(e,t,r){return e?r+"!"+t:t+"!"+r}function Ee(e,t,r,n,o){if(!n||!t.defaultExtension||"/"===n[n.length-1]||o)return n;var i=!1;if(t.meta&&Re(t.meta,n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),!i&&e.meta&&Re(e.meta,r+"/"+n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),i)return n;var a="."+t.defaultExtension;return n.substr(n.length-a.length)!==a?n+a:n}function Oe(e,t,r){return!(t.substr(0,e.length)===e&&r.length>e.length)}function Se(e,t,r,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var u=r.map[o];if("object"==typeof u)throw new Error("Synchronous conditional normalization not supported sync normalizing "+o+" in "+n);if(Oe(o,u,i)&&"string"==typeof u)return ye.call(e,t,u+i.substr(o.length),n+"/",a,a,s)}function je(t,r,e,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var u=e.map[o];if("string"==typeof u)return Oe(o,u,i)?be.call(t,r,u+i.substr(o.length),n+"/",a,a,s).then(function(e){return Ke.call(t,e,n+"/",a)}):J;var l=[],c=[];for(var d in u){var f=Ce(d);c.push({condition:f,map:u[d]}),l.push(M.prototype.import.call(t,f.module,n))}return Promise.all(l).then(function(e){for(var t=0;t<c.length;t++){var r=c[t].condition,n=oe(r.prop,"__useDefault"in e[t]?e[t].__useDefault:e[t]);if(!r.negate&&n||r.negate&&!n)return c[t].map}}).then(function(e){if(e)return Oe(o,e,i)?be.call(t,r,e+i.substr(o.length),n+"/",a,a,s).then(function(e){return Ke.call(t,e,n+"/",a)}):J})}var Pe={};function _e(e,t){for(var r,n,o,i,a,s=!1,u=0;u<e.packageConfigPaths.length;u++){var l=e.packageConfigPaths[u],c=Pe[l]||(Pe[l]=(void 0,i=(o=l).lastIndexOf("*"),{length:a=Math.max(i+1,o.lastIndexOf("/")),regEx:new RegExp("^("+o.substr(0,a).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,"[^\\/]+")+")(\\/|$)"),wildcard:-1!==i}));if(!(t.length<c.length)){var d=t.match(c.regEx);!d||r&&(s&&c.wildcard||!(r.length<d[1].length))||(r=d[1],s=!c.wildcard,n=r+l.substr(c.length))}}if(r)return{packageKey:r,configPath:n}}function Re(e,t,r){var n;for(var o in e){var i="./"===o.substr(0,2)?"./":"";if(i&&(o=o.substr(2)),-1!==(n=o.indexOf("*"))&&o.substr(0,n)===t.substr(0,n)&&o.substr(n+1)===t.substr(t.length-o.length+n+1)&&r(o,e[i+o],o.split("/").length))return}var a=e[t]&&Object.hasOwnProperty.call(e,t)?e[t]:e["./"+t];a&&r(a,a,0)}var Me=["browser","node","dev","build","production","default"];function Ce(e){var t,r,n,o=e.lastIndexOf("|");return-1!==o?(t=e.substr(o+1),r=e.substr(0,o),"~"===t[0]&&(n=!0,t=t.substr(1))):(n="~"===e[0],t="default",r=e.substr(n),-1!==Me.indexOf(r)&&(t=r,r=null)),{module:r||"@system-env",prop:t,negate:n}}function Le(r,e,n){return M.prototype.import.call(this,r.module,e).then(function(e){var t=oe(r.prop,e);if(n&&"boolean"!=typeof t)throw new TypeError("Condition did not resolve to a boolean.");return r.negate?!t:t})}var Ae=/#\{[^\}]+\}/;function Ke(t,r,e){var n=t.match(Ae);if(!n)return Promise.resolve(t);var o=Ce.call(this,n[0].substr(2,n[0].length-3));return Le.call(this,o,r,!1).then(function(e){if("string"!=typeof e)throw new TypeError("The condition value for "+t+" doesn't resolve to a string.");if(-1!==e.indexOf("/"))throw new TypeError("Unabled to interpolate conditional "+t+(r?" in "+r:"")+"\n\tThe condition value "+e+' cannot contain a "/" separator.');return t.replace(Ae,e)})}var Ie=["browserConfig","nodeConfig","devConfig","buildConfig","productionConfig"];function De(e,t,r){for(var n=0;n<Ie.length;n++){var o=Ie[n];t[o]&&At[o.substr(0,o.length-6)]&&r(t[o])}}function Fe(e,t){var r=e[t];return r instanceof Array?e[t].concat([]):"object"==typeof r?function e(t,r){var n={};for(var o in t){var i=t[o];1<r?i instanceof Array?n[o]=[].concat(i):"object"==typeof i?n[o]=e(i,r-1):"packageConfig"!==o&&(n[o]=i):n[o]=i}return n}(r,3):e[t]}function qe(){return{defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}}function Ue(e,t,r,n,o){for(var i in t)"main"===i||"format"===i||"defaultExtension"===i||"configured"===i?n&&void 0!==e[i]||(e[i]=t[i]):"map"===i?(n?Y:X)(e.map=e.map||{},t.map):"meta"===i?(n?Y:X)(e.meta=e.meta||{},t.meta):Object.hasOwnProperty.call(t,i)&&Z.call(o,'"'+i+'" is not a valid package configuration option in package '+r);return void 0===e.defaultExtension&&(e.defaultExtension="js"),void 0===e.main&&e.map&&e.map["."]?(e.main=e.map["."],delete e.map["."]):"object"==typeof e.main&&(e.map=e.map||{},e.map["./@main"]=e.main,e.main.default=e.main.default||"./",e.main="@main"),e}var Te="undefined"!=typeof Buffer;try{Te&&"YQ=="!==new Buffer("a").toString("base64")&&(Te=!1)}catch(e){Te=!1}var ze,Je,Ne,$e,Be="\n//# sourceMappingURL=data:application/json;base64,";function We(e,t,r,n){var o,i=e.lastIndexOf("\n");if(t){if("object"!=typeof t)throw new TypeError("load.metadata.sourceMap must be set to an object.");t=JSON.stringify(t)}return(n?"(function(System, SystemJS) {":"")+e+(n?"\n})(System, System);":"")+("\n//# sourceURL="!=e.substr(i,15)?"\n//# sourceURL="+r+(t?"!transpiled":""):"")+(t&&(o=t,Te?Be+new Buffer(o).toString("base64"):"undefined"!=typeof btoa?Be+btoa(unescape(encodeURIComponent(o))):"")||"")}var Ge=0;function He(e){0==Ge++&&($e=w.System),w.System=w.SystemJS=e}function Ze(){0==--Ge&&(w.System=w.SystemJS=$e)}var Xe,Ye=!1;function Qe(e,t,r,n,o,i,a){if(t){if(i&&Ye)return function(e,t,r,n,o){ze||(ze=document.head||document.body||document.documentElement);var i=document.createElement("script");i.text=We(t,r,n,!1);var a,s=window.onerror;if(window.onerror=function(e){a=addToError(e,"Evaluating "+n),s&&s.apply(this,arguments)},He(e),o&&i.setAttribute("nonce",o),ze.appendChild(i),ze.removeChild(i),Ze(),window.onerror=s,a)return a}(e,t,r,n,i);try{He(e),!Je&&e._nodeRequire&&(Je=e._nodeRequire("vm"),Ne=Je.runInThisContext("typeof System !== 'undefined' && System")===e),Ne?Je.runInThisContext(We(t,r,n,!a),{filename:n+(r?"!transpiled":"")}):(0,eval)(We(t,r,n,!a)),Ze()}catch(e){return Ze(),e}}}function Ve(p){function g(e,t,r,n){if("object"==typeof e&&!(e instanceof Array))return g.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if("string"==typeof e&&"function"==typeof t&&(e=[e]),!(e instanceof Array)){if("string"!=typeof e)throw new TypeError("Invalid require");var o=p.decanonicalize(e,n),i=p.get(o);if(!i)throw new Error('Module not already loaded loading "'+e+'" as '+o+(n?' from "'+n+'".':"."));return"__useDefault"in i?i.__useDefault:i}for(var a=[],s=0;s<e.length;s++)a.push(p.import(e[s],n));Promise.all(a).then(function(e){t&&t.apply(null,e)},r)}function e(e,u,l){var t,c,d,f;function r(n,e,o){for(var t=[],r=0;r<u.length;r++)t.push(n(u[r]));if(o.uri=o.id,o.config=N,-1!==f&&t.splice(f,0,o),-1!==d&&t.splice(d,0,e),-1!==c){var i=function(e,t,r){return"string"==typeof e&&"function"!=typeof t?n(e):g.call(p,e,t,r,o.id)};i.toUrl=function(e){return p.normalizeSync(e,o.id)},t.splice(c,0,i)}var a=w.require;w.require=g;var s=l.apply(-1===d?w:e,t);w.require=a,void 0!==s&&(o.exports=s)}"string"!=typeof e&&(l=u,u=e,e=null),u instanceof Array||(u=["require","exports","module"].splice(0,(l=u).length)),"function"!=typeof l&&(t=l,l=function(){return t}),e||vt&&(u=u.concat(vt),vt=void 0),-1!==(c=u.indexOf("require"))&&(u.splice(c,1),e||(u=u.concat(function(e,t){var r=((e=e.replace(nt,"")).match(ft)[1].split(",")[t]||"require").replace(pt,""),n=gt[r]||(gt[r]=new RegExp(ct+r+dt,"g"));n.lastIndex=0;var o,i=[];for(;o=n.exec(e);)i.push(o[2]||o[3]);return i}(l.toString(),c)))),-1!==(d=u.indexOf("exports"))&&u.splice(d,1),-1!==(f=u.indexOf("module"))&&u.splice(f,1),e?(p.registerDynamic(e,u,!1,r),mt?yt=!(mt=void 0):yt||(mt=[u,r])):p.registerDynamic(u,!1,bt?ht(r):r)}e.amd={},p.amdDefine=e,p.amdRequire=g}function et(e){return"file:///"===e.substr(0,8)?e.substr(7+!!a):Xe&&e.substr(0,Xe.length)===Xe?e.substr(Xe.length):e}function tt(e,t){return et(this.normalizeSync(e,t))}function rt(e){var t,r=e.lastIndexOf("!"),n=(t=-1!==r?e.substr(0,r):e).split("/");return n.pop(),n=n.join("/"),{filename:et(t),dirname:et(n)}}p&&"undefined"!=typeof document&&document.getElementsByTagName&&(window.chrome&&window.chrome.extension||navigator.userAgent.match(/^Node\.js/)||(Ye=!0)),"undefined"!=typeof window&&"undefined"!=typeof document&&window.location&&(Xe=location.protocol+"//"+location.hostname+(location.port?":"+location.port:""));var nt=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,ot=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g;var it,at=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","mozPaintCount","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];function st(t){if(-1===at.indexOf(t)){try{var e=w[t]}catch(e){at.push(t)}this(t,e)}}function ut(e){if("string"==typeof e)return oe(e,w);if(!(e instanceof Array))throw new Error("Global exports must be a string or array.");for(var t={},r=0;r<e.length;r++)t[e[r].split(".").pop()]=oe(e[r],w);return t}function lt(e,i,t,a){var s,u=w.define;if(w.define=void 0,t)for(var r in s={},t)s[r]=w[r],w[r]=t[r];return i||(it={},Object.keys(w).forEach(st,function(e,t){it[e]=t})),function(){var r,n=i?ut(i):{},o=!!i;if(i&&!a||Object.keys(w).forEach(st,function(e,t){it[e]!==t&&void 0!==t&&(a&&(w[e]=void 0),i||(n[e]=t,void 0!==r?o||r===t||(o=!0):r=t))}),n=o?n:r,s)for(var e in s)w[e]=s[e];return w.define=u,n}}var ct="(?:^|[^$_a-zA-Z\\xA0-\\uFFFF.])",dt="\\s*\\(\\s*(\"([^\"]+)\"|'([^']+)')\\s*\\)",ft=/\(([^\)]*)\)/,pt=/^\s+|\s+$/g,gt={};function ht(n){return function(e,t,r){n(e,t,r),"object"!=typeof(t=r.exports)&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(r.exports,"__esModule",{value:!0})}}var mt,vt,yt=!1,bt=!1;var wt,kt=(p||H)&&"undefined"!=typeof navigator&&navigator.userAgent&&!navigator.userAgent.match(/MSIE (9|10).0/);function xt(e,t){!e.load.esModule||"object"!=typeof t&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(t,"__esModule",{value:!0})}function Et(p,g,e,h,m){return Promise.resolve(e).then(function(e){return"detect"===h.load.format&&(h.load.format=void 0),function(e,t){var r=e.match(Kt);if(!r)return;for(var n=r[0].match(It),o=0;o<n.length;o++){var i=n[o],a=i.length,s=i.substr(0,1);if(";"==i.substr(a-1,1)&&a--,'"'==s||"'"==s){var u=i.substr(1,i.length-3),l=u.substr(0,u.indexOf(" "));if(l){var c=u.substr(l.length+1,u.length-l.length-1);"deps"===l&&(l="deps[]"),"[]"===l.substr(l.length-2,2)?(l=l.substr(0,l.length-2),t.load[l]=t.load[l]||[],t.load[l].push(c)):"use"!==l&&Dt(t.load,l,c)}else t.load[u]=!0}}}(e,h),h.pluginModule?(h.pluginLoad.source=e,h.pluginModule.translate?Promise.resolve(h.pluginModule.translate.call(p,h.pluginLoad,h.traceOpts)).then(function(e){if(h.load.sourceMap){if("object"!=typeof h.load.sourceMap)throw new Error("metadata.load.sourceMap must be set to an object.");Ct(h.pluginLoad.address,h.load.sourceMap)}return"string"==typeof e?e:h.pluginLoad.source}):e):e}).then(function(e){return h.load.format||'"bundle"'!==e.substring(0,8)?"register"===h.load.format||!h.load.format&&Pt(e)?(h.load.format="register",e):"esm"===h.load.format||!h.load.format&&e.match(St)?(h.load.format="esm",function(t,r,n,o,e){if(!t.transpiler)throw new TypeError("Unable to dynamically transpile ES module\n A loader plugin needs to be configured via `SystemJS.config({ transpiler: 'transpiler-module' })`.");if(o.load.deps){for(var i="",a=0;a<o.load.deps.length;a++)i+='import "'+o.load.deps[a]+'"; ';r=i+r}return t.import.call(t,t.transpiler).then(function(e){if(!(e=e.__useDefault||e).translate)throw new Error(t.transpiler+" is not a valid transpiler plugin.");return e===o.pluginModule?r:("string"==typeof o.load.sourceMap&&(o.load.sourceMap=JSON.parse(o.load.sourceMap)),o.pluginLoad=o.pluginLoad||{name:n,address:n,source:r,metadata:o.load},o.load.deps=o.load.deps||[],Promise.resolve(e.translate.call(t,o.pluginLoad,o.traceOpts)).then(function(e){var t=o.load.sourceMap;return t&&"object"==typeof t&&Ct(n,t),"esm"===o.load.format&&Pt(e)&&(o.load.format="register"),e}))},function(e){throw l(e,"Unable to load transpiler to transpile "+n)})}(p,e,g,h)):e:(h.load.format="system",e)}).then(function(t){if("string"!=typeof t||!h.pluginModule||!h.pluginModule.instantiate)return t;var r=!1;return h.pluginLoad.source=t,Promise.resolve(h.pluginModule.instantiate.call(p,h.pluginLoad,function(e){if(t=e.source,h.load=e.metadata,r)throw new Error("Instantiate must only be called once.");r=!0})).then(function(e){return r?t:function(e){if(e){if(e instanceof j||"module"===e[k])return e;if(e.__esModule)return new j(e)}return new j({default:e,__useDefault:e})}(e)})}).then(function(c){if("string"!=typeof c)return c;var e;h.load.format||(h.load.format=(e=c).match(_t)?"amd":(Rt.lastIndex=0,le.lastIndex=0,le.exec(e)||Rt.exec(e)?"cjs":"global"));var t,r,n,o=!1;switch(h.load.format){case"esm":case"register":case"system":if(s=Qe(p,c,h.load.sourceMap,g,h.load.integrity,h.load.nonce,!1))throw s;return m()?void 0:$;case"json":var i=JSON.parse(c);return p.newModule({default:i,__useDefault:i});case"amd":var a=w.define;w.define=p.amdDefine,r=h.load.deps,n=h.load.esModule,vt=r,bt=n,mt=void 0,yt=!1;var s=Qe(p,c,h.load.sourceMap,g,h.load.integrity,h.load.nonce,!1);if((o=m())||(t=p,mt?t.registerDynamic(vt?mt[0].concat(vt):mt[0],!1,bt?ht(mt[1]):mt[1]):yt&&t.registerDynamic([],!1,N),o=m()),w.define=a,s)throw s;break;case"cjs":var d=h.load.deps,u=(h.load.deps||[]).concat(h.load.cjsRequireDetection?function(e){le.lastIndex=nt.lastIndex=ot.lastIndex=0;var t,r=[],n=[],o=[];function i(e,t){for(var r=0;r<e.length;r++)if(e[r][0]<t.index&&e[r][1]>t.index)return!0;return!1}if(e.length/e.split("\n").length<200){for(;t=ot.exec(e);)n.push([t.index,t.index+t[0].length]);for(;t=nt.exec(e);)i(n,t)||o.push([t.index+t[1].length,t.index+t[0].length-1])}for(;t=le.exec(e);)if(!i(n,t)&&!i(o,t)){var a=t[1].substr(1,t[1].length-2);if(a.match(/"|'/))continue;r.push(a)}return r}(c):[]);for(var l in h.load.globals)h.load.globals[l]&&u.push(h.load.globals[l]);p.registerDynamic(u,!0,function(e,t,r){if(e.resolve=function(e){return tt.call(p,e,r.id)},r.paths=[],r.require=e,!h.load.cjsDeferDepsExecute&&d)for(var n=0;n<d.length;n++)e(d[n]);var o=rt(r.id),i={exports:t,args:[e,t,r,o.filename,o.dirname,w,w]},a="(function (require, exports, module, __filename, __dirname, global, GLOBAL";if(h.load.globals)for(var s in h.load.globals)i.args.push(e(h.load.globals[s])),a+=", "+s;var u=w.define;w.define=void 0,w.__cjsWrapper=i,c=a+") {"+c.replace(Mt,"")+"\n}).apply(__cjsWrapper.exports, __cjsWrapper.args);";var l=Qe(p,c,h.load.sourceMap,g,h.load.integrity,h.load.nonce,!1);if(l)throw l;xt(h,t),w.__cjsWrapper=void 0,w.define=u}),o=m();break;case"global":u=h.load.deps||[];for(var l in h.load.globals){var f=h.load.globals[l];f&&u.push(f)}p.registerDynamic(u,!1,function(e,t,r){var n;if(h.load.globals)for(var o in n={},h.load.globals)h.load.globals[o]&&(n[o]=e(h.load.globals[o]));var i=h.load.exports;i&&(c+="\n"+Ot+'["'+i+'"] = '+i+";");var a=lt(r.id,i,n,h.load.encapsulateGlobal),s=Qe(p,c,h.load.sourceMap,g,h.load.integrity,h.load.nonce,!0);if(s)throw s;var u=a();return xt(h,u),u}),o=m();break;default:throw new TypeError('Unknown module format "'+h.load.format+'" for "'+g+'".'+("es6"===h.load.format?' Use "esm" instead here.':""))}if(!o)throw new Error("Module "+g+" detected as "+h.load.format+" but didn't execute correctly.")})}"undefined"==typeof require||"undefined"==typeof process||process.browser||(wt=require);var Ot="undefined"!=typeof self?"self":"global",St=/(^\s*|[}\);\n]\s*)(import\s*(['"]|(\*\s+as\s+)?(?!type)([^"'\(\)\n; ]+)\s*from\s*['"]|\{)|export\s+\*\s+from\s+["']|export\s*(\{|default|function|class|var|const|let|async\s+function))/,jt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)*\s*/;function Pt(e){var t=e.match(jt);if(!t)return!1;var r=t[0].length;return"SystemJS.register"===e.substr(r,17)||"System.register"===e.substr(r,15)}var _t=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*(("[^"]+"|'[^']+')\s*,|\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*(\s*("[^"]+"|'[^']+')\s*,?)?(\s*(\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*\s*\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/,Rt=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.]))/,Mt=/^\#\!.*/;function Ct(e,t){var r=e.split("!")[0];t.file&&t.file!=e||(t.file=r+"!transpiled"),(!t.sources||t.sources.length<=1&&(!t.sources[0]||t.sources[0]===e))&&(t.sources=[r])}var Lt,At,Kt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,It=/\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;function Dt(e,t,r){for(var n,o=t.split(".");1<o.length;)e=e[n=o.shift()]=e[n]||{};void 0===e[n=o.shift()]&&(e[n]=r)}if("undefined"==typeof Promise)throw new Error("SystemJS needs a Promise polyfill.");if("undefined"!=typeof document){var Ft=document.getElementsByTagName("script"),qt=Ft[Ft.length-1];document.currentScript&&(qt.defer||qt.async)&&(qt=document.currentScript),Lt=qt&&qt.src}else if("undefined"!=typeof importScripts)try{throw new Error("_")}catch(e){e.stack.replace(/(?:at|@).*(http.+):[\d]+:[\d]+/,function(e,t){Lt=t})}else"undefined"!=typeof __filename&&(Lt=__filename);function Ut(){var e;M.call(this),this._loader={},this[G]={},this[W]={baseURL:y,paths:{},packageConfigPaths:[],packageConfigKeys:[],map:{},packages:{},depCache:{},meta:{},bundles:{},production:!1,transpiler:void 0,loadedBundles:{},warnings:!1,pluginFirst:!1,wasm:!1},this.scriptSrc=Lt,this._nodeRequire=wt,this.registry.set("@empty",$),Tt.call(this,!1,!1),(e=this).set("@@cjs-helpers",e.newModule({requireResolve:tt.bind(e),getPathVars:rt})),e.set("@@global-helpers",e.newModule({prepareGlobal:lt})),Ve(this)}function Tt(e,t){this[W].production=e,this.registry.set("@system-env",At=this.newModule({browser:p,node:!!this._nodeRequire,production:!t&&e,dev:t||!e,build:t,default:!0}))}((Ut.prototype=Object.create(M.prototype)).constructor=Ut).prototype[Ut.resolve=M.resolve]=Ut.prototype.normalize=function(r,n){var o=this[W],i={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},a=he(0,o,n),s=this;return Promise.resolve().then(function(){var t=r.lastIndexOf("#?");if(-1===t)return Promise.resolve(r);var e=Ce.call(s,r.substr(t+2));return Le.call(s,e,n,!0).then(function(e){return e?r.substr(0,t):"@empty"})}).then(function(e){var t=ke(o.pluginFirst,e);return t?(i.pluginKey=t.plugin,Promise.all([be.call(s,o,t.argument,a&&a.pluginArgument||n,i,a,!0),s.resolve(t.plugin,n)]).then(function(e){if(i.pluginArgument=e[0],i.pluginKey=e[1],i.pluginArgument===i.pluginKey)throw new Error("Plugin "+i.pluginArgument+" cannot load itself, make sure it is excluded from any wildcard meta configuration via a custom loader: false rule.");return xe(o.pluginFirst,e[0],e[1])})):be.call(s,o,e,a&&a.pluginArgument||n,i,a,!1)}).then(function(e){return Ke.call(s,e,n,a)}).then(function(t){return function(e,t,r){r.load=r.load||{extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1};var n,o=0;for(var i in e.meta)if(-1!==(n=i.indexOf("*"))&&i.substr(0,n)===t.substr(0,n)&&i.substr(n+1)===t.substr(t.length-i.length+n+1)){var a=i.split("/").length;o<a&&(o=a),Q(r.load,e.meta[i],o!==a)}if(e.meta[t]&&Q(r.load,e.meta[t],!1),r.packageKey){var s=t.substr(r.packageKey.length+1),u={};if(r.packageConfig.meta){var o=0;Re(r.packageConfig.meta,s,function(e,t,r){o<r&&(o=r),Q(u,t,r&&r<o)}),Q(r.load,u,!1)}!r.packageConfig.format||r.pluginKey||r.load.loader||(r.load.format=r.load.format||r.packageConfig.format)}}.call(s,o,t,i),i.pluginKey||!i.load.loader?t:s.resolve(i.load.loader,t).then(function(e){return i.pluginKey=e,i.pluginArgument=t})}).then(function(e){return s[G][e]=i,e})},Ut.prototype.load=function(e,t){return Z.call(this[W],"System.load is deprecated."),this.import(e,t)},Ut.prototype.decanonicalize=Ut.prototype.normalizeSync=Ut.prototype.resolveSync=function e(t,r){var n=this[W],o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},i=i||he(0,n,r),a=ke(n.pluginFirst,t);return a?(o.pluginKey=e.call(this,a.plugin,r),xe(n.pluginFirst,ye.call(this,n,a.argument,i.pluginArgument||r,o,i,!!o.pluginKey),o.pluginKey)):ye.call(this,n,t,i.pluginArgument||r,o,i,!!o.pluginKey)},Ut.prototype[Ut.instantiate=M.instantiate]=function(i,c){var d=this,f=this[W];return(function(e,t,r){var n;if(p&&(n=e.depCache[r]))for(var o=0;o<n.length;o++)t.normalize(n[o],r).then(te);else{var i=!1;for(var a in e.bundles){for(var o=0;o<e.bundles[a].length;o++){var s=e.bundles[a][o];if(s===r){i=!0;break}if(-1!==s.indexOf("*")){var u=s.split("*");if(2!==u.length){e.bundles[a].splice(o--,1);continue}if(r.substr(0,u[0].length)===u[0]&&r.substr(r.length-u[1].length,u[1].length)===u[1]){i=!0;break}}}if(i)return t.import(a)}}}(f,this,i)||J).then(function(){if(!c()){var e,t,r,n=d[G][i];if("@node/"!==i.substr(0,6))return n.load.scriptLoad?!n.pluginKey&&kt||(n.load.scriptLoad=!1,Z.call(f,'scriptLoad not supported for "'+i+'"')):!1!==n.load.scriptLoad&&!n.pluginKey&&kt&&(n.load.deps||n.load.globals||!("system"===n.load.format||"register"===n.load.format||"global"===n.load.format&&n.load.exports)||(n.load.scriptLoad=!0)),n.load.scriptLoad?new Promise(function(t,e){if("amd"===n.load.format&&w.define!==d.amdDefine)throw new Error("Loading AMD with scriptLoad requires setting the global `"+Ot+".define = SystemJS.amdDefine`");ne(i,n.load.crossOrigin,n.load.integrity,function(){if(!c()){n.load.format="global";var e=n.load.exports&&ut(n.load.exports);d.registerDynamic([],!1,function(){return xt(n,e),e}),c()}t()},e)}):(e=d,t=i,r=n,r.pluginKey?e.import(r.pluginKey).then(function(e){r.pluginModule=e,r.pluginLoad={name:t,address:r.pluginArgument,source:void 0,metadata:r.load},r.load.deps=r.load.deps||[]}):J).then(function(){return o=d,a=i,s=n,u=c,l=f.wasm,s.load.exports&&!s.load.format&&(s.load.format="global"),J.then(function(){if(s.pluginModule&&s.pluginModule.locate)return Promise.resolve(s.pluginModule.locate.call(o,s.pluginLoad)).then(function(e){e&&(s.pluginLoad.address=e)})}).then(function(){return s.pluginModule?(l=!1,s.pluginModule.fetch?s.pluginModule.fetch.call(o,s.pluginLoad,function(e){return ge(e.address,s.load.authorization,s.load.integrity,!1)}):ge(s.pluginLoad.address,s.load.authorization,s.load.integrity,!1)):ge(a,s.load.authorization,s.load.integrity,l)}).then(function(r){return l&&"string"!=typeof r?(e=o,t=r,i=u,n=new Uint8Array(t),0===n[0]&&97===n[1]&&115===n[2]?WebAssembly.compile(t).then(function(t){var r=[],n=[],o={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(t).forEach(function(e){var t=e.module;n.push(function(e){o[t]=e}),-1===r.indexOf(t)&&r.push(t)}),e.register(r,function(e){return{setters:n,execute:function(){e(new WebAssembly.Instance(t,o).exports)}}}),i(),!0}):Promise.resolve(!1)).then(function(e){if(!e){var t=p?new TextDecoder("utf-8").decode(new Uint8Array(r)):r.toString();return Et(o,a,t,s,u)}}):Et(o,a,r,s,u);var e,t,i,n});var o,a,s,u,l});if(!d._nodeRequire)throw new TypeError("Error loading "+i+". Can only load node core modules in Node.");return d.registerDynamic([],!1,function(){return function(e,t){if("."===e[0])throw new Error("Node module "+e+" can't be loaded as it is not a package require.");if(!B){var r=this._nodeRequire("module"),n=decodeURI(t.substr(a?8:7));(B=new r(n)).paths=r._nodeModulePaths(n)}return B.require(e)}.call(d,i.substr(6),d.baseURL)}),void c()}}).then(function(e){return delete d[G][i],e})},Ut.prototype.config=function(e,t){var r,n=this,o=this[W];if("warnings"in e&&(o.warnings=e.warnings),"wasm"in e&&(o.wasm="undefined"!=typeof WebAssembly&&e.wasm),("production"in e||"build"in e)&&Tt.call(n,!!e.production,!!(e.build||At&&At.build)),!t)for(var i in De(0,e,function(e){r=r||e.baseURL}),(r=r||e.baseURL)&&(o.baseURL=b(r,y)||b("./"+r,y),"/"!==o.baseURL[o.baseURL.length-1]&&(o.baseURL+="/")),e.paths&&X(o.paths,e.paths),De(0,e,function(e){e.paths&&X(o.paths,e.paths)}),o.paths)-1!==o.paths[i].indexOf("*")&&(Z.call(o,"Path config "+i+" -> "+o.paths[i]+" is no longer supported as wildcards are deprecated."),delete o.paths[i]);if(e.defaultJSExtensions&&Z.call(o,"The defaultJSExtensions configuration option is deprecated.\n Use packages defaultExtension instead.",!0),"boolean"==typeof e.pluginFirst&&(o.pluginFirst=e.pluginFirst),e.map)for(var i in e.map){var a=e.map[i];if("string"==typeof a){var s=ve.call(n,o,a,void 0,!1,!1);"/"===s[s.length-1]&&":"!==i[i.length-1]&&"/"!==i[i.length-1]&&(s=s.substr(0,s.length-1)),o.map[i]=s}else{h=(h=ve.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1);var u=o.packages[h];u||((u=o.packages[h]={defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}).defaultExtension=""),Ue(u,{map:a},h,!1,o)}}if(e.packageConfigPaths){for(var l=[],c=0;c<e.packageConfigPaths.length;c++){var d=e.packageConfigPaths[c],f=Math.max(d.lastIndexOf("*")+1,d.lastIndexOf("/")),p=ve.call(n,o,d.substr(0,f),void 0,!1,!1);l[c]=p+d.substr(f)}o.packageConfigPaths=l}if(e.bundles)for(var i in e.bundles){var g=[];for(c=0;c<e.bundles[i].length;c++)g.push(n.normalizeSync(e.bundles[i][c]));o.bundles[i]=g}if(e.packages)for(var i in e.packages){if(i.match(/^([^\/]+:)?\/\/$/))throw new TypeError('"'+i+'" is not a valid package name.');var h;h=(h=ve.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1),Ue(o.packages[h]=o.packages[h]||{defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1},e.packages[i],h,!1,o)}if(e.depCache)for(var i in e.depCache)o.depCache[n.normalizeSync(i)]=[].concat(e.depCache[i]);if(e.meta)for(var i in e.meta)if("*"===i[0])X(o.meta[i]=o.meta[i]||{},e.meta[i]);else{var m=ve.call(n,o,i,void 0,!0,!0);X(o.meta[m]=o.meta[m]||{},e.meta[i])}for(var v in"transpiler"in e&&(o.transpiler=e.transpiler),e)-1===zt.indexOf(v)&&-1===Ie.indexOf(v)&&(n[v]=e[v]);De(0,e,function(e){n.config(e,!0)})},Ut.prototype.getConfig=function(e){if(e){if(-1!==zt.indexOf(e))return Fe(this[W],e);throw new Error('"'+e+'" is not a valid configuration name. Must be one of '+zt.join(", ")+".")}for(var t={},r=0;r<zt.length;r++){var n=zt[r],o=Fe(this[W],n);void 0!==o&&(t[n]=o)}return t},Ut.prototype.global=w,Ut.prototype.import=function(){return M.prototype.import.apply(this,arguments).then(function(e){return"__useDefault"in e?e.__useDefault:e})};for(var zt=["baseURL","map","paths","packages","packageConfigPaths","depCache","meta","bundles","transpiler","warnings","pluginFirst","production","wasm"],Jt="undefined"!=typeof Proxy,Nt=0;Nt<zt.length;Nt++)!function(r){Object.defineProperty(Ut.prototype,r,{get:function(){var e=Fe(this[W],r);return Jt&&"object"==typeof e&&(e=new Proxy(e,{set:function(e,t){throw new Error("Cannot set SystemJS."+r+'["'+t+'"] directly. Use SystemJS.config({ '+r+': { "'+t+'": ... } }) rather.')}})),e},set:function(e){throw new Error("Setting `SystemJS."+r+"` directly is no longer supported. Use `SystemJS.config({ "+r+": ... })`.")}})}(zt[Nt]);function $t(e,t){Z.call(e[W],"SystemJS."+t+" is deprecated for SystemJS.registry."+t)}Ut.prototype.delete=function(e){return $t(this,"delete"),this.registry.delete(e)},Ut.prototype.get=function(e){return $t(this,"get"),this.registry.get(e)},Ut.prototype.has=function(e){return $t(this,"has"),this.registry.has(e)},Ut.prototype.set=function(e,t){return $t(this,"set"),this.registry.set(e,t)},Ut.prototype.newModule=function(e){return new j(e)},Ut.prototype.isModule=function(e){return e instanceof j||"module"===e[k]},Ut.prototype.register=function(e,t,r){return"string"==typeof e&&(e=me.call(this,this[W],e)),M.prototype.register.call(this,e,t,r)},Ut.prototype.registerDynamic=function(e,t,r,n){return"string"==typeof e&&(e=me.call(this,this[W],e)),M.prototype.registerDynamic.call(this,e,t,r,n)},Ut.prototype.version="0.21.6 Dev";var Bt=new Ut;(p||H)&&(w.SystemJS=w.System=Bt),"undefined"!=typeof module&&module.exports&&(module.exports=Bt)}();