New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/d3-bootloader

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/d3-bootloader - npm Package Compare versions

Comparing version 1.1.23 to 1.2.0

2

dist/d3-bootloader.min.js

@@ -1,1 +0,1 @@

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

@@ -14,47 +14,49 @@ /**

SystemJS.config({
map: {
'plugin-babel': 'https://unpkg.com/systemjs-plugin-babel@0.0.25',
'systemjs-babel-build': 'https://unpkg.com/systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js',
d3: 'https://d3js.org/d3.v4.js',
'd3-array': 'https://d3js.org/d3.v4.js',
'd3-axis': 'https://d3js.org/d3.v4.js',
'd3-brush': 'https://d3js.org/d3.v4.js',
'd3-chord': 'https://d3js.org/d3.v4.js',
'd3-collection': 'https://d3js.org/d3.v4.js',
'd3-color': 'https://d3js.org/d3.v4.js',
'd3-dispatch': 'https://d3js.org/d3.v4.js',
'd3-drag': 'https://d3js.org/d3.v4.js',
'd3-dsv': 'https://d3js.org/d3.v4.js',
'd3-ease': 'https://d3js.org/d3.v4.js',
'd3-force': 'https://d3js.org/d3.v4.js',
'd3-format': 'https://d3js.org/d3.v4.js',
'd3-geo': 'https://d3js.org/d3.v4.js',
'd3-hierarchy': 'https://d3js.org/d3.v4.js',
'd3-interpolate': 'https://d3js.org/d3.v4.js',
'd3-path': 'https://d3js.org/d3.v4.js',
'd3-polygon': 'https://d3js.org/d3.v4.js',
'd3-quadtree': 'https://d3js.org/d3.v4.js',
'd3-queue': 'https://d3js.org/d3.v4.js',
'd3-random': 'https://d3js.org/d3.v4.js',
'd3-request': 'https://d3js.org/d3.v4.js',
'd3-scale': 'https://d3js.org/d3.v4.js',
'd3-selection': 'https://d3js.org/d3.v4.js',
'd3-shape': 'https://d3js.org/d3.v4.js',
'd3-time': 'https://d3js.org/d3.v4.js',
'd3-time-format': 'https://d3js.org/d3.v4.js',
'd3-timer': 'https://d3js.org/d3.v4.js',
'd3-transition': 'https://d3js.org/d3.v4.js',
'd3-voronoi': 'https://d3js.org/d3.v4.js',
'd3-zoom': 'https://d3js.org/d3.v4.js',
'd3-selection-multi': 'https://unpkg.com/d3-selection-multi@1.0.1',
'topojson-client': 'https://unpkg.com/topojson-client@3',
'g-chartcolour': 'https://rawgit.com/ft-interactive/g-chartcolour/master/build/g-chartcolour.js',
'g-legend': 'https://rawgit.com/ft-interactive/g-legend/master/build/g-legend.js',
'g-chartframe': 'https://rawgit.com/ft-interactive/g-chartframe/master/build/g-chartframe.js',
'g-axis': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'g-xaxisdate': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'g-yaxislinear': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'd3-quarterly': 'https://rawgit.com/ft-interactive/d3-quarterly/master/index.js',
},
var defaultMap = {
'plugin-babel': 'https://unpkg.com/systemjs-plugin-babel@0.0.25',
'systemjs-babel-build': 'https://unpkg.com/systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js',
d3: 'https://d3js.org/d3.v4.js',
'd3-array': 'https://d3js.org/d3.v4.js',
'd3-axis': 'https://d3js.org/d3.v4.js',
'd3-brush': 'https://d3js.org/d3.v4.js',
'd3-chord': 'https://d3js.org/d3.v4.js',
'd3-collection': 'https://d3js.org/d3.v4.js',
'd3-color': 'https://d3js.org/d3.v4.js',
'd3-dispatch': 'https://d3js.org/d3.v4.js',
'd3-drag': 'https://d3js.org/d3.v4.js',
'd3-dsv': 'https://d3js.org/d3.v4.js',
'd3-ease': 'https://d3js.org/d3.v4.js',
'd3-force': 'https://d3js.org/d3.v4.js',
'd3-format': 'https://d3js.org/d3.v4.js',
'd3-geo': 'https://d3js.org/d3.v4.js',
'd3-hierarchy': 'https://d3js.org/d3.v4.js',
'd3-interpolate': 'https://d3js.org/d3.v4.js',
'd3-path': 'https://d3js.org/d3.v4.js',
'd3-polygon': 'https://d3js.org/d3.v4.js',
'd3-quadtree': 'https://d3js.org/d3.v4.js',
'd3-queue': 'https://d3js.org/d3.v4.js',
'd3-random': 'https://d3js.org/d3.v4.js',
'd3-request': 'https://d3js.org/d3.v4.js',
'd3-scale': 'https://d3js.org/d3.v4.js',
'd3-selection': 'https://d3js.org/d3.v4.js',
'd3-shape': 'https://d3js.org/d3.v4.js',
'd3-time': 'https://d3js.org/d3.v4.js',
'd3-time-format': 'https://d3js.org/d3.v4.js',
'd3-timer': 'https://d3js.org/d3.v4.js',
'd3-transition': 'https://d3js.org/d3.v4.js',
'd3-voronoi': 'https://d3js.org/d3.v4.js',
'd3-zoom': 'https://d3js.org/d3.v4.js',
'd3-selection-multi': 'https://unpkg.com/d3-selection-multi@1.0.1',
'topojson-client': 'https://unpkg.com/topojson-client@3',
'g-chartcolour': 'https://rawgit.com/ft-interactive/g-chartcolour/master/build/g-chartcolour.js',
'g-legend': 'https://rawgit.com/ft-interactive/g-legend/master/build/g-legend.js',
'g-chartframe': 'https://rawgit.com/ft-interactive/g-chartframe/master/build/g-chartframe.js',
'g-axis': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'g-xaxisdate': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'g-yaxislinear': 'https://rawgit.com/ft-interactive/g-axis/master/build/g-axis.js',
'd3-quarterly': 'https://rawgit.com/ft-interactive/d3-quarterly/master/index.js',
};
var config = {
map: Object.assign({}, defaultMap, window.D3_BOOTLOADER_MODULES),
packages: {

@@ -66,4 +68,6 @@ 'plugin-babel': {

transpiler: 'plugin-babel',
});
};
SystemJS.config(config);
export default SystemJS.import('./index.js');

@@ -1,1 +0,1 @@

{"name":"@financial-times/d3-bootloader","version":"1.1.23","files":["dist/"],"description":"Load D3 via SystemJS","main":"index.js","module":"index.js","browser":"dist/d3-bootloader.min.js","scripts":{"build":"rollup -c","minify":"uglifyjs --comments -c -m -o dist/d3-bootloader.min.js dist/d3-bootloader.js","lint":"eslint index.js","prepare":"npm run build && npm run minify"},"repository":{"type":"git","url":"git+https://github.com/ft-interactive/d3-bootloader.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/ft-interactive/d3-bootloader/issues"},"homepage":"https://github.com/ft-interactive/d3-bootloader#readme","devDependencies":{"eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-import":"^2.6.0","npm-prepublish":"^1.2.2","rollup":"^0.43.0","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","uglify-js":"^3.0.24"},"dependencies":{"systemjs":"^0.20.14"},"eslintConfig":{"extends":"airbnb-base","env":{"browser":true}}}
{"name":"@financial-times/d3-bootloader","version":"1.2.0","files":["dist/"],"description":"Load D3 via SystemJS","main":"index.js","module":"index.js","browser":"dist/d3-bootloader.min.js","scripts":{"build":"rollup -c","minify":"uglifyjs --comments -c -m -o dist/d3-bootloader.min.js dist/d3-bootloader.js","lint":"eslint index.js","prepare":"npm run build && npm run minify"},"repository":{"type":"git","url":"git+https://github.com/ft-interactive/d3-bootloader.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/ft-interactive/d3-bootloader/issues"},"homepage":"https://github.com/ft-interactive/d3-bootloader#readme","devDependencies":{"eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-import":"^2.6.0","npm-prepublish":"^1.2.2","rollup":"^0.43.0","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","uglify-js":"^3.0.24"},"dependencies":{"systemjs":"^0.20.14"},"eslintConfig":{"extends":"airbnb-base","env":{"browser":true}}}

@@ -41,2 +41,21 @@ # @Financial-Times/d3-bootloader

### What if I need more modules?
It's not like you can include this on page and then add any module in the npmjs.org registry. If you
want to add another module (that's deliverable via a CDN like unpkg), add the following *before*
your d3-bootloader script tag:
```js
<script>
window.D3_BOOTLOADER_MODULES = {
'd3-jetpack': 'https://unpkg.com/d3-jetpack@2',
}
</script>
```
Each key in the `map` object is what you'll import, and the value is a CDN resource exporting some
kind of UMD module.
For more info, please see the [SystemJS Configuration API Docs][2].
### Should this be used in production?

@@ -51,1 +70,2 @@

[1]: https://github.com/ft-interactive/visual-vocabulary-templates
[2]: https://github.com/systemjs/systemjs/blob/master/docs/config-api.md

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc