Comparing version 0.6.2 to 0.6.3
@@ -1831,4 +1831,4 @@ /* | ||
e.message = 'Evaluating ' + __address + '\n\t' + e.message; | ||
if (isNode && loader.execute == false && loader.trace = true) | ||
return; | ||
if (loader.trace && loader.execute == false) | ||
console.log('Execution error: ' + e.stack || e); | ||
throw e; | ||
@@ -1835,0 +1835,0 @@ } |
@@ -8,2 +8,2 @@ /* | ||
!function(__$global){function __eval(__source,__global,__address,__sourceMap){try{__source=(__global!=__$global?"with(__global) { (function() { "+__source+" \n }).call(__global); }":__source)+"\n//# sourceURL="+__address+(__sourceMap?"\n//# sourceMappingURL="+__sourceMap:""),eval(__source)}catch(e){if("SyntaxError"==e.name&&(e.message="Evaluating "+__address+"\n "+e.message),isNode&&0==loader.execute&&loader.trace=!0)return;throw e}}__$global.upgradeSystemLoader=function(){function e(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function t(t,a){function r(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}return a=e(a||""),t=e(t||""),a&&t?(a.protocol||t.protocol)+(a.protocol||a.authority?a.authority:t.authority)+r(a.protocol||a.authority||"/"===a.pathname.charAt(0)?a.pathname:a.pathname?(t.authority&&!t.pathname?"/":"")+t.pathname.slice(0,t.pathname.lastIndexOf("/")+1)+a.pathname:t.pathname)+(a.protocol||a.authority||a.pathname?a.search:a.search||t.search)+a.hash:null}function a(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=document.getElementsByTagName("head")[0];e.onScriptLoad=function(){},e.fetch=function(a){return new Promise(function(r,n){function o(){s.readyState&&"loaded"!=s.readyState&&"complete"!=s.readyState||(l(),e.onScriptLoad(a),r(""))}function l(){s.detachEvent?s.detachEvent("onreadystatechange",o):(s.removeEventListener("load",o,!1),s.removeEventListener("error",err,!1)),t.removeChild(s)}var s=document.createElement("script");s.async=!0,s.attachEvent&&s.attachEvent("onreadystatechange",o),s.addEventListener("load",o,!1),s.addEventListener("error",err,!1),s.src=a.address,t.appendChild(s)})},e.scriptLoader=!0}function r(e){function t(e,t){var a=e.meta&&e.meta[t.name];if(a)for(var r in a)t.metadata[r]=t.metadata[r]||a[r]}var a=/^(\s*\/\*.*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,r=/\/\*.*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;e.meta={};var n=e.locate;e.locate=function(e){return t(this,e),n.call(this,e)};var o=e.translate;e.translate=function(e){var n=e.source.match(a);if(n)for(var l=n[0].match(r),s=0;s<l.length;s++){var i=l[s].length,u=l[s].substr(0,1);if(";"==l[s].substr(i-1,1)&&i--,'"'==u||"'"==u){var d=l[s].substr(1,l[s].length-3),c=d.substr(0,d.indexOf(" "));if(c){var f=d.substr(c.length+1,d.length-c.length-1);e.metadata[c]instanceof Array?e.metadata[c].push(f):e.metadata[c]=f}}}return t(this,e),o.call(this,e)}}function n(e){function a(e){var a=this;"@traceur"==e.name&&(f=g,m=Module);var r,n=e.source.lastIndexOf("\n");-1!=n&&"//# sourceMappingURL="==e.source.substr(n+1,21)&&(r=e.source.substr(n+22,e.source.length-n-22),"undefined"!=typeof t&&(r=t(e.address,r))),__eval(e.source,a.global,e.address,r),"@traceur"==e.name&&(a.global.traceurSystem=a.global.System,a.global.System=f)}function r(e){for(var t=[],a=0;a<e.length;a++)-1==p.call(t,e[a])&&t.push(e[a]);return t}function n(t,a,r,n){"string"!=typeof t&&(n=r,r=a,a=t,t=null),v=!0;var o;if("boolean"==typeof r)o={declarative:!1,deps:a,execute:n,executingRequire:r};else{if(a.length>0&&1!=r.length)throw"Invalid System.register form for "+t+". Declare function must take one argument.";o={declarative:!0,deps:a,declare:r}}if(t)e.defined[t]||(e.defined[t]=o);else if(o.declarative){if(h)throw"Multiple anonymous System.register calls in the same module file.";h=o}}function o(e){if(!e.register){e.register=n,e.defined||(e.defined={});var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),h&&(e.metadata.entry=h),(h||v)&&(e.metadata.format=e.metadata.format||"register"),v&&(e.metadata.registered=!0)}}}function l(e,t,a){if(a[e.groupIndex]=a[e.groupIndex]||[],-1==p.call(a[e.groupIndex],e)){a[e.groupIndex].push(e);for(var r=0;r<e.normalizedDeps.length;r++){var n=e.normalizedDeps[r],o=t.defined[n];if(o){var s=e.groupIndex+(o.declarative!=e.declarative);if(void 0===o.groupIndex||o.groupIndex<s){if(o.groupIndex&&(a[o.groupIndex].splice(a[o.groupIndex].indexOf(o),1),0==a[o.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");o.groupIndex=s}l(o,t,a)}}}}function s(e,t){var a=t.defined[e];a.groupIndex=0;var r=[];l(a,t,r);for(var n=!!a.declarative==r.length%2,o=r.length-1;o>=0;o--){for(var s=r[o],u=0;u<s.length;u++){var c=s[u];n?i(c,t):d(c,t)}n=!n}}function i(e,t){if(!e.module){var a=[],r=e.declare.call(t.global,a);e.module=r.exports,e.exportStar=r.exportStar,e.execute=r.execute;for(var n=e.module,o=0;o<e.normalizedDeps.length;o++){var l=e.normalizedDeps[o],s=t.defined[l];s?s.module?depModule=s.module:(i(s,t),depModule=s.module):depModule=t.get(l),e.exportStar&&-1!=p.call(e.exportStar,e.normalizedDeps[o])&&!function(e){for(var t in e)(function(t){Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]},set:function(a){e[t]=a}})})(t)}(depModule),a[o]=depModule}}}function u(e,t){var a,r=t.defined[e];if(r)r.declarative?c(e,[],t):r.evaluated||d(r,t),a=r.module;else if(a=t.get(e),!a)throw"System Register: The module requested "+e+" but this was not declared as a dependency";return a?a.__useDefault?a["default"]:a:""}function d(e,t){if(!e.module){if(e.module={"default":{},__useDefault:!0},!e.executingRequire)for(var a=0;a<e.normalizedDeps.length;a++){var r=e.normalizedDeps[a],n=t.defined[r];n&&d(n,t)}var o;for(var l in t.defined)if(t.defined[l]==e){o=l;break}try{e.evaluated=!0;var s=e.execute.call(t.global,function(a){for(var r=0;r<e.deps.length;r++)if(e.deps[r]==a)return u(e.normalizedDeps[r],t)},e.module["default"],o)}catch(i){throw i}s&&s.__esModule?e.module=s:s&&(e.module["default"]=s)}}function c(e,t,a){var r=a.defined[e];if(!r.evaluated&&r.declarative){t.push(e);for(var n=0;n<r.normalizedDeps.length;n++){var o=r.normalizedDeps[n];-1==p.call(t,o)&&(a.defined[o]?c(o,t,a):a.get(o))}r.evaluated||(r.evaluated=!0,r.execute.call(a.global))}}"undefined"==typeof p&&(p=Array.prototype.indexOf),"undefined"==typeof __eval&&(__eval=0||eval);var f,m;e.__exec=a;var h,v;o(e);var b=/System\.register/,_=e.fetch;e.fetch=function(e){var t=this;return o(t),t.defined[e.name]?(e.metadata.format="defined",""):(h=null,v=!1,_.call(t,e))};var y=e.translate;e.translate=function(e){return this.register=n,this.__exec=a,e.metadata.deps=e.metadata.deps||[],Promise.resolve(y.call(this,e)).then(function(t){return(e.metadata.init||e.metadata.exports)&&(e.metadata.format=e.metadata.format||"global"),("register"==e.metadata.format||!e.metadata.format&&e.source.match(b))&&(e.metadata.format="register"),t})};var x=e.instantiate;e.instantiate=function(e){var t,a=this;if(a.defined[e.name])t=a.defined[e.name];else if(e.metadata.entry)t=e.metadata.entry;else if(e.metadata.execute)t={declarative:!1,deps:e.metadata.deps||[],execute:e.metadata.execute,executingRequire:e.metadata.executingRequire};else if("register"==e.metadata.format&&(h=null,v=!1,a.__exec(e),h&&(t=h),!v&&!e.metadata.registered))throw e.name+" detected as System.register but didn't execute.";if(!t&&"es6"!=e.metadata.format)return{deps:[],execute:function(){return Module({})}};if(!t)return x.call(this,e);a.defined[e.name]=t,t.deps=r(t.deps);for(var n=[],o=0;o<t.deps.length;o++)n.push(Promise.resolve(a.normalize(t.deps[o],e.name)));return Promise.all(n).then(function(r){return t.normalizedDeps=r,t.depMap=[],{deps:t.deps,execute:function(){if(t.esmodule)return delete a.defined[e.name],t.esmodule;s(e.name,a),c(e.name,[],a),delete a.defined[e.name];var r=Module(t.module);for(var n in a.defined)t.declarative&&a.defined[n].execute!=t.execute||!t.declarative&&a.defined[n].declare!=t.declare;return r}}})}}function o(e){var a=e["import"];e["import"]=function(e,t){return a.call(this,e,t).then(function(e){return e.__useDefault?e["default"]:e})},e.set("@empty",Module({})),e.config=function(e){for(var t in e){var a=e[t];if("object"==typeof a){this[t]=this[t]||{};for(var r in a)this[t][r]=a[r]}else this[t]=a}};var r;if("undefined"==typeof window)r=process.cwd()+"/";else if(r=document.baseURI,!r){var n=document.getElementsByTagName("base");r=n[0]&&n[0].href||window.location.href}var o,l=e.locate;e.locate=function(e){return this.baseURL!=o&&(o=t(r,this.baseURL),"/"!=o.substr(o.length-1,1)&&(o+="/"),this.baseURL=o),Promise.resolve(l.call(this,e))};var s=/^\s*export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)")/,i=/(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/,u=e.translate;e.translate=function(e){var t=this;if("@traceur"==e.name)return u.call(t,e);var a;if("es6"!=e.metadata.format&&e.metadata.format||!(a=e.source.match(s))){if(("es6"==e.metadata.format||!e.metadata.format&&e.source.match(i))&&(e.metadata.format="es6",!t.global.traceur))return t["import"]("@traceur").then(function(){return u.call(t,e)})}else e.metadata.format="cjs",e.source='module.exports = require("'+(a[1]||a[2])+'");\n';return u.call(t,e)};var d=e.instantiate;e.instantiate=function(e){var t=this;return"@traceur"==e.name?(t.__exec(e),{deps:[],execute:function(){return Module({})}}):d.call(t,e)}}function l(e){function t(e){if(!e.has("@@global-helpers")){var t,a=e.global.hasOwnProperty,r={};e.set("@@global-helpers",Module({prepareGlobal:function(n,o){for(var l=0;l<o.length;l++){var s=r[o[l]];if(s)for(var i in s)e.global[i]=s[i]}t={};for(var u in e.global)(!a||e.global.hasOwnProperty(u))&&(t[u]=e.global[u])},retrieveGlobal:function(n,o,l){var s,i={};if(l){for(var u=[],d=0;d<deps.length;d++)u.push(require(deps[d]));s=l.apply(e.global,u)}if(o&&!s){var c=o.split(".")[0];s=eval.call(e.global,o),i[c]=e.global[c]}else for(var f in e.global)(a||"sessionStorage"!=f&&"localStorage"!=f&&"clipboardData"!=f&&"frames"!=f)&&(a&&!e.global.hasOwnProperty(f)||f==e.global||t[f]==e.global[f]||(i[f]=e.global[f],s?s!==e.global[f]&&(s=void 0):s!==!1&&(s=e.global[f])));return r[n]=i,"undefined"!=typeof s?s:i}}))}}t(e);var a=e.instantiate;e.instantiate=function(e){var r=this;t(r);var n=e.metadata.exports;return e.metadata.format||(e.metadata.format="global"),"global"==e.metadata.format&&(e.metadata.execute=function(t,a,o){r.get("@@global-helpers").prepareGlobal(o,e.metadata.deps),n&&(e.source+='\nthis["'+n+'"] = '+n+";");var l=r.global.define;return r.global.define=void 0,r.global.module=void 0,r.global.exports=void 0,r.__exec(e),r.global.define=l,r.get("@@global-helpers").retrieveGlobal(o,n,e.metadata.init)}),a.call(r,e)}}function s(e){function t(e){a.lastIndex=0,r.lastIndex=0;for(var t,o=[],e=e.replace(n,"");t=r.exec(e);)o.push(t[2]||t[3]);return o}var a=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*|module\.)(exports\s*\[\s*('[^']+'|"[^"]+")\s*\]|\exports\s*\.\s*[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*|exports\s*\=)/,r=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*)require\s*\(\s*("([^"]+)"|'([^']+)')\s*\)/g,n=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,o=function(){},l={nextTick:function(e){setTimeout(e,7)},browser:"undefined"!=typeof window,env:{},argv:[],on:o,once:o,off:o,emit:o,cwd:function(){return"/"}};e._getCJSDeps=t,e.has("@@nodeProcess")||e.set("@@nodeProcess",Module({"default":l,__useDefault:!0}));var s=e.translate;e.translate=function(e){var a=this;return a.has("@@nodeProcess")||a.set("@@nodeProcess",Module({"default":l,__useDefault:!0})),a._getCJSDeps||(a._getCJSDeps=t),s.call(a,e)};var i=e.instantiate;e.instantiate=function(n){return n.metadata.format||(a.lastIndex=0,r.lastIndex=0,(r.exec(n.source)||a.exec(n.source))&&(n.metadata.format="cjs")),"cjs"==n.metadata.format&&(n.metadata.deps=n.metadata.deps?n.metadata.deps.concat(t(n.source)):n.metadata.deps,n.metadata.executingRequire=!0,n.metadata.execute=function(t,a){var r=n.address.split("/");r.pop(),r=r.join("/");var o=e.global._g={global:e.global,exports:a,module:{exports:a},process:l,require:t,__filename:n.address,__dirname:r},s="";for(var i in o)s+="var "+i+" = _g."+i+";";n.source=s+n.source;var u=e.global.define;return e.global.define=void 0,e.__exec(n),e.global.define=u,e.global._g=void 0,o.module.exports}),i.call(this,n)}}function i(e){function t(e,a,r,n){var o=this;if("object"==typeof e&&!(e instanceof Array))return t.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if(!(e instanceof Array)){if("string"==typeof e){var l=o.get(e);return l.__useDefault?l["default"]:l}throw"Invalid require"}Promise.all(e.map(function(e){return o["import"](e,n)})).then(function(e){a.apply(null,e)},r)}function a(e,a,r){return function(n,o,l){return"string"==typeof n?a(n):t.call(r,n,o,l,{name:e})}}function r(e){if(l=null,s=null,e.global.module=void 0,e.global.exports=void 0,!e.global.define||e.global.define.loader!=e){var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),(l||s)&&(e.metadata.format="defined"),l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)},e.global.define=function(t,r,n){if("string"!=typeof t&&(n=r,r=t,t=null),!(r instanceof Array)){if(n=r,!e._getCJSDeps)throw"AMD extension needs CJS extension for AMD CJS support";r=["require","exports","module"].concat(e._getCJSDeps(n.toString()))}"function"!=typeof n&&(n=function(e){return function(){return e}}(n));var o,i,u;-1!=(o=p.call(r,"require"))&&r.splice(o,1),-1!=(i=p.call(r,"exports"))&&r.splice(i,1),-1!=(u=p.call(r,"module"))&&r.splice(u,1);var d={deps:r,execute:function(t,l,s){for(var d=[],c=0;c<r.length;c++)d.push(t(r[c]));var f;-1!=u&&d.splice(u,0,l,f={id:s,uri:e.baseURL+s,config:function(){return{}},exports:l}),-1!=i&&d.splice(i,0,l),-1!=o&&d.splice(o,0,a(s,t,e));var p=n.apply(e.global,d);return"undefined"==typeof p&&f&&(p=f.exports),"undefined"!=typeof p?p:void 0}};if(t)l=0!=r.length||l||s?null:d,s=!0,e.register(t,d.deps,!1,d.execute);else{if(l)throw"Multiple defines for anonymous module";l=d}},e.global.define.amd={},e.global.define.loader=e}}var n="undefined"!=typeof module&&module.exports,o=/(?:^\s*|[}{\(\);,\n\?\&]\s*)define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*("[^"]+"|'[^']+')\s*,)*(\s*("[^"]+"|'[^']+')\s*)?\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/;e.require=t;var l,s;if(n||e.amdDefine===!1||r(e),e.scriptLoader){var i=e.fetch;e.fetch=function(t){return e.amdDefine!==!1&&r(this),i.call(this,t)}}var u=e.instantiate;e.instantiate=function(e){var t=this;if("amd"==e.metadata.format||!e.metadata.format&&e.source.match(o)){if(e.metadata.format="amd",r(t),t.__exec(e),n&&(t.global.define=void 0),!l&&!s&&!n)throw"AMD module "+e.name+" did not define";l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)}return u.call(t,e)}}function u(e){function t(e,t){var a=t.split("/"),r=e.split("/");if(a.length>r.length)return 0;for(var n=0;n<a.length;n++)if(r[n]!=a[n])return 0;return a.length}function a(e,a,r){var n,o,l,s,i=0,u=0;if(a)for(var d in r.map){var c=r.map[d];if("object"==typeof c&&!(t(a,d)<=u))for(var f in c)t(e,f)<=i||(n=f,i=f.split("/").length,o=d,u=d.split("/").length)}n&&(s=e.split("/"),l=s.splice(i,s.length-i).join("/"),e=r.map[o][n]+(l?"/"+l:""),i=0);for(var d in r.map){var c=r.map[d];"string"==typeof c&&(t(e,d)<=i||(n=d,i=d.split("/").length))}return i?(s=e.split("/"),l=s.splice(i,s.length-i).join("/"),r.map[n]+(l?"/"+l:"")):e}e.map=e.map||{};var r=e.normalize;e.normalize=function(e,t,n){var o=this;o.map||(o.map={});var l=!1;return"/"==e.substr(e.length-1,1)&&(l=!0,e+="#"),Promise.resolve(r.call(o,e,t,n)).then(function(e){if(e=a(e,t,o),l){var r=e.split("/");r.pop();var n=r.pop();r.push(n),r.push(n),e=r.join("/")}return e})}}function d(e){"undefined"==typeof p&&(p=Array.prototype.indexOf),e.bundles=e.bundles||{};var t=e.fetch;e.fetch=function(e){var a=this;a.bundles||(a.bundles={});for(var r in a.bundles)if(-1!=p.call(a.bundles[r],e.name))return Promise.resolve(a.normalize(r)).then(function(e){return a.bundles[e]=a.bundles[e]||a.bundles[r],a.meta=a.meta||{},a.meta[e]=a.meta[e]||{},a.meta[e].bundle=!0,a.load(e)}).then(function(){return""});return t.apply(this,arguments)}}function c(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=/^(\d+)(?:\.(\d+)(?:\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?$/,a=function(e,t){var a,r=e.split("."),n=t.split(".");r[2]&&-1!=(a=p.call(r[2],"-"))&&r.splice(2,1,r[2].substr(0,a),r[2].substr(a+1)),n[2]&&-1!=(a=p.call(n[2],"-"))&&n.splice(2,1,n[2].substr(0,a),n[2].substr(a+1));for(var o=0;o<Math.max(r.length,n.length);o++){if(!r[o])return 1;if(!n[o])return-1;if(r[o]!=n[o])return parseInt(r[o])>parseInt(n[o])?1:-1}return 0};e.versions=e.versions||{};var r=e.normalize;e.normalize=function(n,o,l){e.versions||(e.versions={});var s=this.versions;return Promise.resolve(r.call(this,n,o,l)).then(function(e){var r,n,o,l,i=e.indexOf("@");if(-1==i||0==i){for(var u in s)if(l=s[u],e.substr(0,u.length)==u&&(o=e.substr(u.length,1),!o||"/"==o))return u+"@"+("string"==typeof l?l:l[l.length-1])+e.substr(u.length);return e}r=e.substr(i+1).split("/")[0];var d,c=r.length;if("^"==r.substr(0,1)&&(r=r.substr(1),d=!0),n=r.match(t),!n)return e;d&&(n[2]||(d=!1),n[3]||(n[2]>0?n[3]="0":d=!1)),d&&(n[1]>0?(n[2]||(r=n[1]+".0.0"),n[3]||(r=n[1]+".0"),d=r,n=[n[1]]):n[2]>0?(d=r,n=[0,n[2]]):(d=!1,n=[0,0,n[3]]),r=n.join("."));var f=e.substr(0,i);if(l=s[f]||[],"string"==typeof l&&(l=[l]),!n[3]||d)for(var m=l.length-1;m>=0;m--){var g=l[m];if(g.substr(0,r.length)==r&&g.substr(r.length,1).match(/^[\.\-]?$/)&&(!d||d&&-1!=a(g,d)))return f+"@"+g+e.substr(f.length+c+1)}return-1==p.call(l,r)&&(l.push(r),l.sort(a),e=f+"@"+r+e.substr(f.length+c+1),n[3]&&-1!=(i=p.call(l,n[1]+"."+n[2]))&&l.splice(i,1),n[2]&&-1!=(i=p.call(l,n[1]))&&l.splice(i,1),s[f]=1==l.length?l[0]:l),e})}}function f(e){e.depCache=e.depCache||{},loaderLocate=e.locate,e.locate=function(e){var t=this;t.depCache||(t.depCache={});var a=t.depCache[e.name];if(a)for(var r=0;r<a.length;r++)t.load(a[r]);return loaderLocate.call(t,e)}}__$global.upgradeSystemLoader=void 0;var p=Array.prototype.indexOf||function(e){for(var t=0,a=this.length;a>t;t++)if(this[t]===e)return t;return-1},m=__$global.System,g=__$global.System=new LoaderPolyfill(m);g.baseURL=m.baseURL,g.paths={"*":"*.js"},g.originalSystem=m,g.noConflict=function(){__$global.SystemJS=g,__$global.System=g.originalSystem},a(g),r(g),n(g),o(g),l(g),s(g),i(g),u(g),d(g),c(g),f(g),g.paths["@traceur"]||(g.paths["@traceur"]=__$curScript&&__$curScript.getAttribute("data-traceur-src")||(__$curScript&&__$curScript.src?__$curScript.src.substr(0,__$curScript.src.lastIndexOf("/")+1):g.baseURL+(g.baseURL.lastIndexOf("/")==g.baseURL.length-1?"":"/"))+"traceur.js")};var __$curScript;!function(e){if("undefined"!=typeof window){var t=document.getElementsByTagName("script");if(__$curScript=t[t.length-1],e.System&&e.LoaderPolyfill)e.upgradeSystemLoader();else{var a=__$curScript.src,r=a.substr(0,a.lastIndexOf("/")+1);document.write('<script type="text/javascript" src="'+r+'es6-module-loader.js" data-init="upgradeSystemLoader">'+"<"+"/script>")}}else{var n=require("es6-module-loader");e.System=n.System,e.Loader=n.Loader,e.Module=n.Module,e.upgradeSystemLoader(),module.exports=e.System}}(__$global)}("undefined"!=typeof window?window:global); | ||
!function(__$global){function __eval(__source,__global,__address,__sourceMap){try{__source=(__global!=__$global?"with(__global) { (function() { "+__source+" \n }).call(__global); }":__source)+"\n//# sourceURL="+__address+(__sourceMap?"\n//# sourceMappingURL="+__sourceMap:""),eval(__source)}catch(e){throw"SyntaxError"==e.name&&(e.message="Evaluating "+__address+"\n "+e.message),loader.trace&&0==loader.execute&&console.log("Execution error: "+e.stack||e),e}}__$global.upgradeSystemLoader=function(){function e(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function t(t,a){function r(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}return a=e(a||""),t=e(t||""),a&&t?(a.protocol||t.protocol)+(a.protocol||a.authority?a.authority:t.authority)+r(a.protocol||a.authority||"/"===a.pathname.charAt(0)?a.pathname:a.pathname?(t.authority&&!t.pathname?"/":"")+t.pathname.slice(0,t.pathname.lastIndexOf("/")+1)+a.pathname:t.pathname)+(a.protocol||a.authority||a.pathname?a.search:a.search||t.search)+a.hash:null}function a(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=document.getElementsByTagName("head")[0];e.onScriptLoad=function(){},e.fetch=function(a){return new Promise(function(r,n){function o(){s.readyState&&"loaded"!=s.readyState&&"complete"!=s.readyState||(l(),e.onScriptLoad(a),r(""))}function l(){s.detachEvent?s.detachEvent("onreadystatechange",o):(s.removeEventListener("load",o,!1),s.removeEventListener("error",err,!1)),t.removeChild(s)}var s=document.createElement("script");s.async=!0,s.attachEvent&&s.attachEvent("onreadystatechange",o),s.addEventListener("load",o,!1),s.addEventListener("error",err,!1),s.src=a.address,t.appendChild(s)})},e.scriptLoader=!0}function r(e){function t(e,t){var a=e.meta&&e.meta[t.name];if(a)for(var r in a)t.metadata[r]=t.metadata[r]||a[r]}var a=/^(\s*\/\*.*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,r=/\/\*.*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;e.meta={};var n=e.locate;e.locate=function(e){return t(this,e),n.call(this,e)};var o=e.translate;e.translate=function(e){var n=e.source.match(a);if(n)for(var l=n[0].match(r),s=0;s<l.length;s++){var i=l[s].length,u=l[s].substr(0,1);if(";"==l[s].substr(i-1,1)&&i--,'"'==u||"'"==u){var d=l[s].substr(1,l[s].length-3),c=d.substr(0,d.indexOf(" "));if(c){var f=d.substr(c.length+1,d.length-c.length-1);e.metadata[c]instanceof Array?e.metadata[c].push(f):e.metadata[c]=f}}}return t(this,e),o.call(this,e)}}function n(e){function a(e){var a=this;"@traceur"==e.name&&(f=g,m=Module);var r,n=e.source.lastIndexOf("\n");-1!=n&&"//# sourceMappingURL="==e.source.substr(n+1,21)&&(r=e.source.substr(n+22,e.source.length-n-22),"undefined"!=typeof t&&(r=t(e.address,r))),__eval(e.source,a.global,e.address,r),"@traceur"==e.name&&(a.global.traceurSystem=a.global.System,a.global.System=f)}function r(e){for(var t=[],a=0;a<e.length;a++)-1==p.call(t,e[a])&&t.push(e[a]);return t}function n(t,a,r,n){"string"!=typeof t&&(n=r,r=a,a=t,t=null),v=!0;var o;if("boolean"==typeof r)o={declarative:!1,deps:a,execute:n,executingRequire:r};else{if(a.length>0&&1!=r.length)throw"Invalid System.register form for "+t+". Declare function must take one argument.";o={declarative:!0,deps:a,declare:r}}if(t)e.defined[t]||(e.defined[t]=o);else if(o.declarative){if(h)throw"Multiple anonymous System.register calls in the same module file.";h=o}}function o(e){if(!e.register){e.register=n,e.defined||(e.defined={});var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),h&&(e.metadata.entry=h),(h||v)&&(e.metadata.format=e.metadata.format||"register"),v&&(e.metadata.registered=!0)}}}function l(e,t,a){if(a[e.groupIndex]=a[e.groupIndex]||[],-1==p.call(a[e.groupIndex],e)){a[e.groupIndex].push(e);for(var r=0;r<e.normalizedDeps.length;r++){var n=e.normalizedDeps[r],o=t.defined[n];if(o){var s=e.groupIndex+(o.declarative!=e.declarative);if(void 0===o.groupIndex||o.groupIndex<s){if(o.groupIndex&&(a[o.groupIndex].splice(a[o.groupIndex].indexOf(o),1),0==a[o.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");o.groupIndex=s}l(o,t,a)}}}}function s(e,t){var a=t.defined[e];a.groupIndex=0;var r=[];l(a,t,r);for(var n=!!a.declarative==r.length%2,o=r.length-1;o>=0;o--){for(var s=r[o],u=0;u<s.length;u++){var c=s[u];n?i(c,t):d(c,t)}n=!n}}function i(e,t){if(!e.module){var a=[],r=e.declare.call(t.global,a);e.module=r.exports,e.exportStar=r.exportStar,e.execute=r.execute;for(var n=e.module,o=0;o<e.normalizedDeps.length;o++){var l=e.normalizedDeps[o],s=t.defined[l];s?s.module?depModule=s.module:(i(s,t),depModule=s.module):depModule=t.get(l),e.exportStar&&-1!=p.call(e.exportStar,e.normalizedDeps[o])&&!function(e){for(var t in e)(function(t){Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]},set:function(a){e[t]=a}})})(t)}(depModule),a[o]=depModule}}}function u(e,t){var a,r=t.defined[e];if(r)r.declarative?c(e,[],t):r.evaluated||d(r,t),a=r.module;else if(a=t.get(e),!a)throw"System Register: The module requested "+e+" but this was not declared as a dependency";return a?a.__useDefault?a["default"]:a:""}function d(e,t){if(!e.module){if(e.module={"default":{},__useDefault:!0},!e.executingRequire)for(var a=0;a<e.normalizedDeps.length;a++){var r=e.normalizedDeps[a],n=t.defined[r];n&&d(n,t)}var o;for(var l in t.defined)if(t.defined[l]==e){o=l;break}try{e.evaluated=!0;var s=e.execute.call(t.global,function(a){for(var r=0;r<e.deps.length;r++)if(e.deps[r]==a)return u(e.normalizedDeps[r],t)},e.module["default"],o)}catch(i){throw i}s&&s.__esModule?e.module=s:s&&(e.module["default"]=s)}}function c(e,t,a){var r=a.defined[e];if(!r.evaluated&&r.declarative){t.push(e);for(var n=0;n<r.normalizedDeps.length;n++){var o=r.normalizedDeps[n];-1==p.call(t,o)&&(a.defined[o]?c(o,t,a):a.get(o))}r.evaluated||(r.evaluated=!0,r.execute.call(a.global))}}"undefined"==typeof p&&(p=Array.prototype.indexOf),"undefined"==typeof __eval&&(__eval=0||eval);var f,m;e.__exec=a;var h,v;o(e);var b=/System\.register/,_=e.fetch;e.fetch=function(e){var t=this;return o(t),t.defined[e.name]?(e.metadata.format="defined",""):(h=null,v=!1,_.call(t,e))};var x=e.translate;e.translate=function(e){return this.register=n,this.__exec=a,e.metadata.deps=e.metadata.deps||[],Promise.resolve(x.call(this,e)).then(function(t){return(e.metadata.init||e.metadata.exports)&&(e.metadata.format=e.metadata.format||"global"),("register"==e.metadata.format||!e.metadata.format&&e.source.match(b))&&(e.metadata.format="register"),t})};var y=e.instantiate;e.instantiate=function(e){var t,a=this;if(a.defined[e.name])t=a.defined[e.name];else if(e.metadata.entry)t=e.metadata.entry;else if(e.metadata.execute)t={declarative:!1,deps:e.metadata.deps||[],execute:e.metadata.execute,executingRequire:e.metadata.executingRequire};else if("register"==e.metadata.format&&(h=null,v=!1,a.__exec(e),h&&(t=h),!v&&!e.metadata.registered))throw e.name+" detected as System.register but didn't execute.";if(!t&&"es6"!=e.metadata.format)return{deps:[],execute:function(){return Module({})}};if(!t)return y.call(this,e);a.defined[e.name]=t,t.deps=r(t.deps);for(var n=[],o=0;o<t.deps.length;o++)n.push(Promise.resolve(a.normalize(t.deps[o],e.name)));return Promise.all(n).then(function(r){return t.normalizedDeps=r,t.depMap=[],{deps:t.deps,execute:function(){if(t.esmodule)return delete a.defined[e.name],t.esmodule;s(e.name,a),c(e.name,[],a),delete a.defined[e.name];var r=Module(t.module);for(var n in a.defined)t.declarative&&a.defined[n].execute!=t.execute||!t.declarative&&a.defined[n].declare!=t.declare;return r}}})}}function o(e){var a=e["import"];e["import"]=function(e,t){return a.call(this,e,t).then(function(e){return e.__useDefault?e["default"]:e})},e.set("@empty",Module({})),e.config=function(e){for(var t in e){var a=e[t];if("object"==typeof a){this[t]=this[t]||{};for(var r in a)this[t][r]=a[r]}else this[t]=a}};var r;if("undefined"==typeof window)r=process.cwd()+"/";else if(r=document.baseURI,!r){var n=document.getElementsByTagName("base");r=n[0]&&n[0].href||window.location.href}var o,l=e.locate;e.locate=function(e){return this.baseURL!=o&&(o=t(r,this.baseURL),"/"!=o.substr(o.length-1,1)&&(o+="/"),this.baseURL=o),Promise.resolve(l.call(this,e))};var s=/^\s*export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)")/,i=/(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/,u=e.translate;e.translate=function(e){var t=this;if("@traceur"==e.name)return u.call(t,e);var a;if("es6"!=e.metadata.format&&e.metadata.format||!(a=e.source.match(s))){if(("es6"==e.metadata.format||!e.metadata.format&&e.source.match(i))&&(e.metadata.format="es6",!t.global.traceur))return t["import"]("@traceur").then(function(){return u.call(t,e)})}else e.metadata.format="cjs",e.source='module.exports = require("'+(a[1]||a[2])+'");\n';return u.call(t,e)};var d=e.instantiate;e.instantiate=function(e){var t=this;return"@traceur"==e.name?(t.__exec(e),{deps:[],execute:function(){return Module({})}}):d.call(t,e)}}function l(e){function t(e){if(!e.has("@@global-helpers")){var t,a=e.global.hasOwnProperty,r={};e.set("@@global-helpers",Module({prepareGlobal:function(n,o){for(var l=0;l<o.length;l++){var s=r[o[l]];if(s)for(var i in s)e.global[i]=s[i]}t={};for(var u in e.global)(!a||e.global.hasOwnProperty(u))&&(t[u]=e.global[u])},retrieveGlobal:function(n,o,l){var s,i={};if(l){for(var u=[],d=0;d<deps.length;d++)u.push(require(deps[d]));s=l.apply(e.global,u)}if(o&&!s){var c=o.split(".")[0];s=eval.call(e.global,o),i[c]=e.global[c]}else for(var f in e.global)(a||"sessionStorage"!=f&&"localStorage"!=f&&"clipboardData"!=f&&"frames"!=f)&&(a&&!e.global.hasOwnProperty(f)||f==e.global||t[f]==e.global[f]||(i[f]=e.global[f],s?s!==e.global[f]&&(s=void 0):s!==!1&&(s=e.global[f])));return r[n]=i,"undefined"!=typeof s?s:i}}))}}t(e);var a=e.instantiate;e.instantiate=function(e){var r=this;t(r);var n=e.metadata.exports;return e.metadata.format||(e.metadata.format="global"),"global"==e.metadata.format&&(e.metadata.execute=function(t,a,o){r.get("@@global-helpers").prepareGlobal(o,e.metadata.deps),n&&(e.source+='\nthis["'+n+'"] = '+n+";");var l=r.global.define;return r.global.define=void 0,r.global.module=void 0,r.global.exports=void 0,r.__exec(e),r.global.define=l,r.get("@@global-helpers").retrieveGlobal(o,n,e.metadata.init)}),a.call(r,e)}}function s(e){function t(e){a.lastIndex=0,r.lastIndex=0;for(var t,o=[],e=e.replace(n,"");t=r.exec(e);)o.push(t[2]||t[3]);return o}var a=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*|module\.)(exports\s*\[\s*('[^']+'|"[^"]+")\s*\]|\exports\s*\.\s*[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*|exports\s*\=)/,r=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*)require\s*\(\s*("([^"]+)"|'([^']+)')\s*\)/g,n=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,o=function(){},l={nextTick:function(e){setTimeout(e,7)},browser:"undefined"!=typeof window,env:{},argv:[],on:o,once:o,off:o,emit:o,cwd:function(){return"/"}};e._getCJSDeps=t,e.has("@@nodeProcess")||e.set("@@nodeProcess",Module({"default":l,__useDefault:!0}));var s=e.translate;e.translate=function(e){var a=this;return a.has("@@nodeProcess")||a.set("@@nodeProcess",Module({"default":l,__useDefault:!0})),a._getCJSDeps||(a._getCJSDeps=t),s.call(a,e)};var i=e.instantiate;e.instantiate=function(n){return n.metadata.format||(a.lastIndex=0,r.lastIndex=0,(r.exec(n.source)||a.exec(n.source))&&(n.metadata.format="cjs")),"cjs"==n.metadata.format&&(n.metadata.deps=n.metadata.deps?n.metadata.deps.concat(t(n.source)):n.metadata.deps,n.metadata.executingRequire=!0,n.metadata.execute=function(t,a){var r=n.address.split("/");r.pop(),r=r.join("/");var o=e.global._g={global:e.global,exports:a,module:{exports:a},process:l,require:t,__filename:n.address,__dirname:r},s="";for(var i in o)s+="var "+i+" = _g."+i+";";n.source=s+n.source;var u=e.global.define;return e.global.define=void 0,e.__exec(n),e.global.define=u,e.global._g=void 0,o.module.exports}),i.call(this,n)}}function i(e){function t(e,a,r,n){var o=this;if("object"==typeof e&&!(e instanceof Array))return t.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if(!(e instanceof Array)){if("string"==typeof e){var l=o.get(e);return l.__useDefault?l["default"]:l}throw"Invalid require"}Promise.all(e.map(function(e){return o["import"](e,n)})).then(function(e){a.apply(null,e)},r)}function a(e,a,r){return function(n,o,l){return"string"==typeof n?a(n):t.call(r,n,o,l,{name:e})}}function r(e){if(l=null,s=null,e.global.module=void 0,e.global.exports=void 0,!e.global.define||e.global.define.loader!=e){var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),(l||s)&&(e.metadata.format="defined"),l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)},e.global.define=function(t,r,n){if("string"!=typeof t&&(n=r,r=t,t=null),!(r instanceof Array)){if(n=r,!e._getCJSDeps)throw"AMD extension needs CJS extension for AMD CJS support";r=["require","exports","module"].concat(e._getCJSDeps(n.toString()))}"function"!=typeof n&&(n=function(e){return function(){return e}}(n));var o,i,u;-1!=(o=p.call(r,"require"))&&r.splice(o,1),-1!=(i=p.call(r,"exports"))&&r.splice(i,1),-1!=(u=p.call(r,"module"))&&r.splice(u,1);var d={deps:r,execute:function(t,l,s){for(var d=[],c=0;c<r.length;c++)d.push(t(r[c]));var f;-1!=u&&d.splice(u,0,l,f={id:s,uri:e.baseURL+s,config:function(){return{}},exports:l}),-1!=i&&d.splice(i,0,l),-1!=o&&d.splice(o,0,a(s,t,e));var p=n.apply(e.global,d);return"undefined"==typeof p&&f&&(p=f.exports),"undefined"!=typeof p?p:void 0}};if(t)l=0!=r.length||l||s?null:d,s=!0,e.register(t,d.deps,!1,d.execute);else{if(l)throw"Multiple defines for anonymous module";l=d}},e.global.define.amd={},e.global.define.loader=e}}var n="undefined"!=typeof module&&module.exports,o=/(?:^\s*|[}{\(\);,\n\?\&]\s*)define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*("[^"]+"|'[^']+')\s*,)*(\s*("[^"]+"|'[^']+')\s*)?\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/;e.require=t;var l,s;if(n||e.amdDefine===!1||r(e),e.scriptLoader){var i=e.fetch;e.fetch=function(t){return e.amdDefine!==!1&&r(this),i.call(this,t)}}var u=e.instantiate;e.instantiate=function(e){var t=this;if("amd"==e.metadata.format||!e.metadata.format&&e.source.match(o)){if(e.metadata.format="amd",r(t),t.__exec(e),n&&(t.global.define=void 0),!l&&!s&&!n)throw"AMD module "+e.name+" did not define";l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)}return u.call(t,e)}}function u(e){function t(e,t){var a=t.split("/"),r=e.split("/");if(a.length>r.length)return 0;for(var n=0;n<a.length;n++)if(r[n]!=a[n])return 0;return a.length}function a(e,a,r){var n,o,l,s,i=0,u=0;if(a)for(var d in r.map){var c=r.map[d];if("object"==typeof c&&!(t(a,d)<=u))for(var f in c)t(e,f)<=i||(n=f,i=f.split("/").length,o=d,u=d.split("/").length)}n&&(s=e.split("/"),l=s.splice(i,s.length-i).join("/"),e=r.map[o][n]+(l?"/"+l:""),i=0);for(var d in r.map){var c=r.map[d];"string"==typeof c&&(t(e,d)<=i||(n=d,i=d.split("/").length))}return i?(s=e.split("/"),l=s.splice(i,s.length-i).join("/"),r.map[n]+(l?"/"+l:"")):e}e.map=e.map||{};var r=e.normalize;e.normalize=function(e,t,n){var o=this;o.map||(o.map={});var l=!1;return"/"==e.substr(e.length-1,1)&&(l=!0,e+="#"),Promise.resolve(r.call(o,e,t,n)).then(function(e){if(e=a(e,t,o),l){var r=e.split("/");r.pop();var n=r.pop();r.push(n),r.push(n),e=r.join("/")}return e})}}function d(e){"undefined"==typeof p&&(p=Array.prototype.indexOf),e.bundles=e.bundles||{};var t=e.fetch;e.fetch=function(e){var a=this;a.bundles||(a.bundles={});for(var r in a.bundles)if(-1!=p.call(a.bundles[r],e.name))return Promise.resolve(a.normalize(r)).then(function(e){return a.bundles[e]=a.bundles[e]||a.bundles[r],a.meta=a.meta||{},a.meta[e]=a.meta[e]||{},a.meta[e].bundle=!0,a.load(e)}).then(function(){return""});return t.apply(this,arguments)}}function c(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=/^(\d+)(?:\.(\d+)(?:\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?$/,a=function(e,t){var a,r=e.split("."),n=t.split(".");r[2]&&-1!=(a=p.call(r[2],"-"))&&r.splice(2,1,r[2].substr(0,a),r[2].substr(a+1)),n[2]&&-1!=(a=p.call(n[2],"-"))&&n.splice(2,1,n[2].substr(0,a),n[2].substr(a+1));for(var o=0;o<Math.max(r.length,n.length);o++){if(!r[o])return 1;if(!n[o])return-1;if(r[o]!=n[o])return parseInt(r[o])>parseInt(n[o])?1:-1}return 0};e.versions=e.versions||{};var r=e.normalize;e.normalize=function(n,o,l){e.versions||(e.versions={});var s=this.versions;return Promise.resolve(r.call(this,n,o,l)).then(function(e){var r,n,o,l,i=e.indexOf("@");if(-1==i||0==i){for(var u in s)if(l=s[u],e.substr(0,u.length)==u&&(o=e.substr(u.length,1),!o||"/"==o))return u+"@"+("string"==typeof l?l:l[l.length-1])+e.substr(u.length);return e}r=e.substr(i+1).split("/")[0];var d,c=r.length;if("^"==r.substr(0,1)&&(r=r.substr(1),d=!0),n=r.match(t),!n)return e;d&&(n[2]||(d=!1),n[3]||(n[2]>0?n[3]="0":d=!1)),d&&(n[1]>0?(n[2]||(r=n[1]+".0.0"),n[3]||(r=n[1]+".0"),d=r,n=[n[1]]):n[2]>0?(d=r,n=[0,n[2]]):(d=!1,n=[0,0,n[3]]),r=n.join("."));var f=e.substr(0,i);if(l=s[f]||[],"string"==typeof l&&(l=[l]),!n[3]||d)for(var m=l.length-1;m>=0;m--){var g=l[m];if(g.substr(0,r.length)==r&&g.substr(r.length,1).match(/^[\.\-]?$/)&&(!d||d&&-1!=a(g,d)))return f+"@"+g+e.substr(f.length+c+1)}return-1==p.call(l,r)&&(l.push(r),l.sort(a),e=f+"@"+r+e.substr(f.length+c+1),n[3]&&-1!=(i=p.call(l,n[1]+"."+n[2]))&&l.splice(i,1),n[2]&&-1!=(i=p.call(l,n[1]))&&l.splice(i,1),s[f]=1==l.length?l[0]:l),e})}}function f(e){e.depCache=e.depCache||{},loaderLocate=e.locate,e.locate=function(e){var t=this;t.depCache||(t.depCache={});var a=t.depCache[e.name];if(a)for(var r=0;r<a.length;r++)t.load(a[r]);return loaderLocate.call(t,e)}}__$global.upgradeSystemLoader=void 0;var p=Array.prototype.indexOf||function(e){for(var t=0,a=this.length;a>t;t++)if(this[t]===e)return t;return-1},m=__$global.System,g=__$global.System=new LoaderPolyfill(m);g.baseURL=m.baseURL,g.paths={"*":"*.js"},g.originalSystem=m,g.noConflict=function(){__$global.SystemJS=g,__$global.System=g.originalSystem},a(g),r(g),n(g),o(g),l(g),s(g),i(g),u(g),d(g),c(g),f(g),g.paths["@traceur"]||(g.paths["@traceur"]=__$curScript&&__$curScript.getAttribute("data-traceur-src")||(__$curScript&&__$curScript.src?__$curScript.src.substr(0,__$curScript.src.lastIndexOf("/")+1):g.baseURL+(g.baseURL.lastIndexOf("/")==g.baseURL.length-1?"":"/"))+"traceur.js")};var __$curScript;!function(e){if("undefined"!=typeof window){var t=document.getElementsByTagName("script");if(__$curScript=t[t.length-1],e.System&&e.LoaderPolyfill)e.upgradeSystemLoader();else{var a=__$curScript.src,r=a.substr(0,a.lastIndexOf("/")+1);document.write('<script type="text/javascript" src="'+r+'es6-module-loader.js" data-init="upgradeSystemLoader">'+"<"+"/script>")}}else{var n=require("es6-module-loader");e.System=n.System,e.Loader=n.Loader,e.Module=n.Module,e.upgradeSystemLoader(),module.exports=e.System}}(__$global)}("undefined"!=typeof window?window:global); |
@@ -1906,4 +1906,4 @@ /* | ||
e.message = 'Evaluating ' + __address + '\n\t' + e.message; | ||
if (isNode && loader.execute == false && loader.trace = true) | ||
return; | ||
if (loader.trace && loader.execute == false) | ||
console.log('Execution error: ' + e.stack || e); | ||
throw e; | ||
@@ -1910,0 +1910,0 @@ } |
@@ -8,2 +8,2 @@ /* | ||
!function(__$global){function __eval(__source,__global,__address,__sourceMap){try{__source=(__global!=__$global?"with(__global) { (function() { "+__source+" \n }).call(__global); }":__source)+"\n//# sourceURL="+__address+(__sourceMap?"\n//# sourceMappingURL="+__sourceMap:""),eval(__source)}catch(e){if("SyntaxError"==e.name&&(e.message="Evaluating "+__address+"\n "+e.message),isNode&&0==loader.execute&&loader.trace=!0)return;throw e}}__$global.upgradeSystemLoader=function(){function e(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function t(t,a){function r(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}return a=e(a||""),t=e(t||""),a&&t?(a.protocol||t.protocol)+(a.protocol||a.authority?a.authority:t.authority)+r(a.protocol||a.authority||"/"===a.pathname.charAt(0)?a.pathname:a.pathname?(t.authority&&!t.pathname?"/":"")+t.pathname.slice(0,t.pathname.lastIndexOf("/")+1)+a.pathname:t.pathname)+(a.protocol||a.authority||a.pathname?a.search:a.search||t.search)+a.hash:null}function a(e){function t(e,t){var a=e.meta&&e.meta[t.name];if(a)for(var r in a)t.metadata[r]=t.metadata[r]||a[r]}var a=/^(\s*\/\*.*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,r=/\/\*.*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;e.meta={};var n=e.locate;e.locate=function(e){return t(this,e),n.call(this,e)};var o=e.translate;e.translate=function(e){var n=e.source.match(a);if(n)for(var l=n[0].match(r),i=0;i<l.length;i++){var s=l[i].length,u=l[i].substr(0,1);if(";"==l[i].substr(s-1,1)&&s--,'"'==u||"'"==u){var d=l[i].substr(1,l[i].length-3),c=d.substr(0,d.indexOf(" "));if(c){var f=d.substr(c.length+1,d.length-c.length-1);e.metadata[c]instanceof Array?e.metadata[c].push(f):e.metadata[c]=f}}}return t(this,e),o.call(this,e)}}function r(e){function a(e){var a=this;"@traceur"==e.name&&(f=g,m=Module);var r,n=e.source.lastIndexOf("\n");-1!=n&&"//# sourceMappingURL="==e.source.substr(n+1,21)&&(r=e.source.substr(n+22,e.source.length-n-22),"undefined"!=typeof t&&(r=t(e.address,r))),__eval(e.source,a.global,e.address,r),"@traceur"==e.name&&(a.global.traceurSystem=a.global.System,a.global.System=f)}function r(e){for(var t=[],a=0;a<e.length;a++)-1==p.call(t,e[a])&&t.push(e[a]);return t}function n(t,a,r,n){"string"!=typeof t&&(n=r,r=a,a=t,t=null),v=!0;var o;if("boolean"==typeof r)o={declarative:!1,deps:a,execute:n,executingRequire:r};else{if(a.length>0&&1!=r.length)throw"Invalid System.register form for "+t+". Declare function must take one argument.";o={declarative:!0,deps:a,declare:r}}if(t)e.defined[t]||(e.defined[t]=o);else if(o.declarative){if(h)throw"Multiple anonymous System.register calls in the same module file.";h=o}}function o(e){if(!e.register){e.register=n,e.defined||(e.defined={});var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),h&&(e.metadata.entry=h),(h||v)&&(e.metadata.format=e.metadata.format||"register"),v&&(e.metadata.registered=!0)}}}function l(e,t,a){if(a[e.groupIndex]=a[e.groupIndex]||[],-1==p.call(a[e.groupIndex],e)){a[e.groupIndex].push(e);for(var r=0;r<e.normalizedDeps.length;r++){var n=e.normalizedDeps[r],o=t.defined[n];if(o){var i=e.groupIndex+(o.declarative!=e.declarative);if(void 0===o.groupIndex||o.groupIndex<i){if(o.groupIndex&&(a[o.groupIndex].splice(a[o.groupIndex].indexOf(o),1),0==a[o.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");o.groupIndex=i}l(o,t,a)}}}}function i(e,t){var a=t.defined[e];a.groupIndex=0;var r=[];l(a,t,r);for(var n=!!a.declarative==r.length%2,o=r.length-1;o>=0;o--){for(var i=r[o],u=0;u<i.length;u++){var c=i[u];n?s(c,t):d(c,t)}n=!n}}function s(e,t){if(!e.module){var a=[],r=e.declare.call(t.global,a);e.module=r.exports,e.exportStar=r.exportStar,e.execute=r.execute;for(var n=e.module,o=0;o<e.normalizedDeps.length;o++){var l=e.normalizedDeps[o],i=t.defined[l];i?i.module?depModule=i.module:(s(i,t),depModule=i.module):depModule=t.get(l),e.exportStar&&-1!=p.call(e.exportStar,e.normalizedDeps[o])&&!function(e){for(var t in e)(function(t){Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]},set:function(a){e[t]=a}})})(t)}(depModule),a[o]=depModule}}}function u(e,t){var a,r=t.defined[e];if(r)r.declarative?c(e,[],t):r.evaluated||d(r,t),a=r.module;else if(a=t.get(e),!a)throw"System Register: The module requested "+e+" but this was not declared as a dependency";return a?a.__useDefault?a["default"]:a:""}function d(e,t){if(!e.module){if(e.module={"default":{},__useDefault:!0},!e.executingRequire)for(var a=0;a<e.normalizedDeps.length;a++){var r=e.normalizedDeps[a],n=t.defined[r];n&&d(n,t)}var o;for(var l in t.defined)if(t.defined[l]==e){o=l;break}try{e.evaluated=!0;var i=e.execute.call(t.global,function(a){for(var r=0;r<e.deps.length;r++)if(e.deps[r]==a)return u(e.normalizedDeps[r],t)},e.module["default"],o)}catch(s){throw s}i&&i.__esModule?e.module=i:i&&(e.module["default"]=i)}}function c(e,t,a){var r=a.defined[e];if(!r.evaluated&&r.declarative){t.push(e);for(var n=0;n<r.normalizedDeps.length;n++){var o=r.normalizedDeps[n];-1==p.call(t,o)&&(a.defined[o]?c(o,t,a):a.get(o))}r.evaluated||(r.evaluated=!0,r.execute.call(a.global))}}"undefined"==typeof p&&(p=Array.prototype.indexOf),"undefined"==typeof __eval&&(__eval=0||eval);var f,m;e.__exec=a;var h,v;o(e);var b=/System\.register/,_=e.fetch;e.fetch=function(e){var t=this;return o(t),t.defined[e.name]?(e.metadata.format="defined",""):(h=null,v=!1,_.call(t,e))};var x=e.translate;e.translate=function(e){return this.register=n,this.__exec=a,e.metadata.deps=e.metadata.deps||[],Promise.resolve(x.call(this,e)).then(function(t){return(e.metadata.init||e.metadata.exports)&&(e.metadata.format=e.metadata.format||"global"),("register"==e.metadata.format||!e.metadata.format&&e.source.match(b))&&(e.metadata.format="register"),t})};var y=e.instantiate;e.instantiate=function(e){var t,a=this;if(a.defined[e.name])t=a.defined[e.name];else if(e.metadata.entry)t=e.metadata.entry;else if(e.metadata.execute)t={declarative:!1,deps:e.metadata.deps||[],execute:e.metadata.execute,executingRequire:e.metadata.executingRequire};else if("register"==e.metadata.format&&(h=null,v=!1,a.__exec(e),h&&(t=h),!v&&!e.metadata.registered))throw e.name+" detected as System.register but didn't execute.";if(!t&&"es6"!=e.metadata.format)return{deps:[],execute:function(){return Module({})}};if(!t)return y.call(this,e);a.defined[e.name]=t,t.deps=r(t.deps);for(var n=[],o=0;o<t.deps.length;o++)n.push(Promise.resolve(a.normalize(t.deps[o],e.name)));return Promise.all(n).then(function(r){return t.normalizedDeps=r,t.depMap=[],{deps:t.deps,execute:function(){if(t.esmodule)return delete a.defined[e.name],t.esmodule;i(e.name,a),c(e.name,[],a),delete a.defined[e.name];var r=Module(t.module);for(var n in a.defined)t.declarative&&a.defined[n].execute!=t.execute||!t.declarative&&a.defined[n].declare!=t.declare;return r}}})}}function n(e){var a=e["import"];e["import"]=function(e,t){return a.call(this,e,t).then(function(e){return e.__useDefault?e["default"]:e})},e.set("@empty",Module({})),e.config=function(e){for(var t in e){var a=e[t];if("object"==typeof a){this[t]=this[t]||{};for(var r in a)this[t][r]=a[r]}else this[t]=a}};var r;if("undefined"==typeof window)r=process.cwd()+"/";else if(r=document.baseURI,!r){var n=document.getElementsByTagName("base");r=n[0]&&n[0].href||window.location.href}var o,l=e.locate;e.locate=function(e){return this.baseURL!=o&&(o=t(r,this.baseURL),"/"!=o.substr(o.length-1,1)&&(o+="/"),this.baseURL=o),Promise.resolve(l.call(this,e))};var i=/^\s*export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)")/,s=/(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/,u=e.translate;e.translate=function(e){var t=this;if("@traceur"==e.name)return u.call(t,e);var a;if("es6"!=e.metadata.format&&e.metadata.format||!(a=e.source.match(i))){if(("es6"==e.metadata.format||!e.metadata.format&&e.source.match(s))&&(e.metadata.format="es6",!t.global.traceur))return t["import"]("@traceur").then(function(){return u.call(t,e)})}else e.metadata.format="cjs",e.source='module.exports = require("'+(a[1]||a[2])+'");\n';return u.call(t,e)};var d=e.instantiate;e.instantiate=function(e){var t=this;return"@traceur"==e.name?(t.__exec(e),{deps:[],execute:function(){return Module({})}}):d.call(t,e)}}function o(e){function t(e){if(!e.has("@@global-helpers")){var t,a=e.global.hasOwnProperty,r={};e.set("@@global-helpers",Module({prepareGlobal:function(n,o){for(var l=0;l<o.length;l++){var i=r[o[l]];if(i)for(var s in i)e.global[s]=i[s]}t={};for(var u in e.global)(!a||e.global.hasOwnProperty(u))&&(t[u]=e.global[u])},retrieveGlobal:function(n,o,l){var i,s={};if(l){for(var u=[],d=0;d<deps.length;d++)u.push(require(deps[d]));i=l.apply(e.global,u)}if(o&&!i){var c=o.split(".")[0];i=eval.call(e.global,o),s[c]=e.global[c]}else for(var f in e.global)(a||"sessionStorage"!=f&&"localStorage"!=f&&"clipboardData"!=f&&"frames"!=f)&&(a&&!e.global.hasOwnProperty(f)||f==e.global||t[f]==e.global[f]||(s[f]=e.global[f],i?i!==e.global[f]&&(i=void 0):i!==!1&&(i=e.global[f])));return r[n]=s,"undefined"!=typeof i?i:s}}))}}t(e);var a=e.instantiate;e.instantiate=function(e){var r=this;t(r);var n=e.metadata.exports;return e.metadata.format||(e.metadata.format="global"),"global"==e.metadata.format&&(e.metadata.execute=function(t,a,o){r.get("@@global-helpers").prepareGlobal(o,e.metadata.deps),n&&(e.source+='\nthis["'+n+'"] = '+n+";");var l=r.global.define;return r.global.define=void 0,r.global.module=void 0,r.global.exports=void 0,r.__exec(e),r.global.define=l,r.get("@@global-helpers").retrieveGlobal(o,n,e.metadata.init)}),a.call(r,e)}}function l(e){function t(e){a.lastIndex=0,r.lastIndex=0;for(var t,o=[],e=e.replace(n,"");t=r.exec(e);)o.push(t[2]||t[3]);return o}var a=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*|module\.)(exports\s*\[\s*('[^']+'|"[^"]+")\s*\]|\exports\s*\.\s*[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*|exports\s*\=)/,r=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*)require\s*\(\s*("([^"]+)"|'([^']+)')\s*\)/g,n=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,o=function(){},l={nextTick:function(e){setTimeout(e,7)},browser:"undefined"!=typeof window,env:{},argv:[],on:o,once:o,off:o,emit:o,cwd:function(){return"/"}};e._getCJSDeps=t,e.has("@@nodeProcess")||e.set("@@nodeProcess",Module({"default":l,__useDefault:!0}));var i=e.translate;e.translate=function(e){var a=this;return a.has("@@nodeProcess")||a.set("@@nodeProcess",Module({"default":l,__useDefault:!0})),a._getCJSDeps||(a._getCJSDeps=t),i.call(a,e)};var s=e.instantiate;e.instantiate=function(n){return n.metadata.format||(a.lastIndex=0,r.lastIndex=0,(r.exec(n.source)||a.exec(n.source))&&(n.metadata.format="cjs")),"cjs"==n.metadata.format&&(n.metadata.deps=n.metadata.deps?n.metadata.deps.concat(t(n.source)):n.metadata.deps,n.metadata.executingRequire=!0,n.metadata.execute=function(t,a){var r=n.address.split("/");r.pop(),r=r.join("/");var o=e.global._g={global:e.global,exports:a,module:{exports:a},process:l,require:t,__filename:n.address,__dirname:r},i="";for(var s in o)i+="var "+s+" = _g."+s+";";n.source=i+n.source;var u=e.global.define;return e.global.define=void 0,e.__exec(n),e.global.define=u,e.global._g=void 0,o.module.exports}),s.call(this,n)}}function i(e){function t(e,a,r,n){var o=this;if("object"==typeof e&&!(e instanceof Array))return t.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if(!(e instanceof Array)){if("string"==typeof e){var l=o.get(e);return l.__useDefault?l["default"]:l}throw"Invalid require"}Promise.all(e.map(function(e){return o["import"](e,n)})).then(function(e){a.apply(null,e)},r)}function a(e,a,r){return function(n,o,l){return"string"==typeof n?a(n):t.call(r,n,o,l,{name:e})}}function r(e){if(l=null,i=null,e.global.module=void 0,e.global.exports=void 0,!e.global.define||e.global.define.loader!=e){var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),(l||i)&&(e.metadata.format="defined"),l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)},e.global.define=function(t,r,n){if("string"!=typeof t&&(n=r,r=t,t=null),!(r instanceof Array)){if(n=r,!e._getCJSDeps)throw"AMD extension needs CJS extension for AMD CJS support";r=["require","exports","module"].concat(e._getCJSDeps(n.toString()))}"function"!=typeof n&&(n=function(e){return function(){return e}}(n));var o,s,u;-1!=(o=p.call(r,"require"))&&r.splice(o,1),-1!=(s=p.call(r,"exports"))&&r.splice(s,1),-1!=(u=p.call(r,"module"))&&r.splice(u,1);var d={deps:r,execute:function(t,l,i){for(var d=[],c=0;c<r.length;c++)d.push(t(r[c]));var f;-1!=u&&d.splice(u,0,l,f={id:i,uri:e.baseURL+i,config:function(){return{}},exports:l}),-1!=s&&d.splice(s,0,l),-1!=o&&d.splice(o,0,a(i,t,e));var p=n.apply(e.global,d);return"undefined"==typeof p&&f&&(p=f.exports),"undefined"!=typeof p?p:void 0}};if(t)l=0!=r.length||l||i?null:d,i=!0,e.register(t,d.deps,!1,d.execute);else{if(l)throw"Multiple defines for anonymous module";l=d}},e.global.define.amd={},e.global.define.loader=e}}var n="undefined"!=typeof module&&module.exports,o=/(?:^\s*|[}{\(\);,\n\?\&]\s*)define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*("[^"]+"|'[^']+')\s*,)*(\s*("[^"]+"|'[^']+')\s*)?\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/;e.require=t;var l,i;if(n||e.amdDefine===!1||r(e),e.scriptLoader){var s=e.fetch;e.fetch=function(t){return e.amdDefine!==!1&&r(this),s.call(this,t)}}var u=e.instantiate;e.instantiate=function(e){var t=this;if("amd"==e.metadata.format||!e.metadata.format&&e.source.match(o)){if(e.metadata.format="amd",r(t),t.__exec(e),n&&(t.global.define=void 0),!l&&!i&&!n)throw"AMD module "+e.name+" did not define";l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)}return u.call(t,e)}}function s(e){function t(e,t){var a=t.split("/"),r=e.split("/");if(a.length>r.length)return 0;for(var n=0;n<a.length;n++)if(r[n]!=a[n])return 0;return a.length}function a(e,a,r){var n,o,l,i,s=0,u=0;if(a)for(var d in r.map){var c=r.map[d];if("object"==typeof c&&!(t(a,d)<=u))for(var f in c)t(e,f)<=s||(n=f,s=f.split("/").length,o=d,u=d.split("/").length)}n&&(i=e.split("/"),l=i.splice(s,i.length-s).join("/"),e=r.map[o][n]+(l?"/"+l:""),s=0);for(var d in r.map){var c=r.map[d];"string"==typeof c&&(t(e,d)<=s||(n=d,s=d.split("/").length))}return s?(i=e.split("/"),l=i.splice(s,i.length-s).join("/"),r.map[n]+(l?"/"+l:"")):e}e.map=e.map||{};var r=e.normalize;e.normalize=function(e,t,n){var o=this;o.map||(o.map={});var l=!1;return"/"==e.substr(e.length-1,1)&&(l=!0,e+="#"),Promise.resolve(r.call(o,e,t,n)).then(function(e){if(e=a(e,t,o),l){var r=e.split("/");r.pop();var n=r.pop();r.push(n),r.push(n),e=r.join("/")}return e})}}function u(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=e.normalize;e.normalize=function(e,a,r){var n,o=this;return a&&-1!=(n=a.indexOf("!"))&&(a=a.substr(0,n)),Promise.resolve(t.call(o,e,a,r)).then(function(e){var t=e.lastIndexOf("!");if(-1!=t){var n=e.substr(0,t),l=e.substr(t+1)||n.substr(n.lastIndexOf(".")+1);return new Promise(function(e){e(o.normalize(l,a,r))}).then(function(e){return l=e,o.normalize(n,a,r)}).then(function(e){return e+"!"+l})}return e})};var a=e.locate;e.locate=function(e){var t=this,r=e.name,n=r.lastIndexOf("!");if(-1!=n){var o=r.substr(n+1);e.name=r.substr(0,n);var l=t.pluginLoader||t;return l["import"](o).then(function(){var a=l.get(o);return a=a["default"]||a,e.metadata.plugin=a,e.metadata.pluginName=o,e.metadata.pluginArgument=e.name,a.locate?a.locate.call(t,e):Promise.resolve(t.locate(e)).then(function(e){return e.substr(0,e.length-3)})})}return a.call(this,e)};var r=e.fetch;e.fetch=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.fetch&&!e.metadata.pluginFetchCalled?(e.metadata.pluginFetchCalled=!0,e.metadata.plugin.fetch.call(t,e,r)):r.call(t,e)};var n=e.translate;e.translate=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.translate?Promise.resolve(e.metadata.plugin.translate.call(t,e)).then(function(a){return a?a:n.call(t,e)}):n.call(t,e)};var o=e.instantiate;e.instantiate=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.instantiate?Promise.resolve(e.metadata.plugin.instantiate.call(t,e)).then(function(a){return a&&(e.metadata.format="defined",e.metadata.execute=function(){return a}),o.call(t,e)}):o.call(t,e)}}function d(e){"undefined"==typeof p&&(p=Array.prototype.indexOf),e.bundles=e.bundles||{};var t=e.fetch;e.fetch=function(e){var a=this;a.bundles||(a.bundles={});for(var r in a.bundles)if(-1!=p.call(a.bundles[r],e.name))return Promise.resolve(a.normalize(r)).then(function(e){return a.bundles[e]=a.bundles[e]||a.bundles[r],a.meta=a.meta||{},a.meta[e]=a.meta[e]||{},a.meta[e].bundle=!0,a.load(e)}).then(function(){return""});return t.apply(this,arguments)}}function c(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=/^(\d+)(?:\.(\d+)(?:\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?$/,a=function(e,t){var a,r=e.split("."),n=t.split(".");r[2]&&-1!=(a=p.call(r[2],"-"))&&r.splice(2,1,r[2].substr(0,a),r[2].substr(a+1)),n[2]&&-1!=(a=p.call(n[2],"-"))&&n.splice(2,1,n[2].substr(0,a),n[2].substr(a+1));for(var o=0;o<Math.max(r.length,n.length);o++){if(!r[o])return 1;if(!n[o])return-1;if(r[o]!=n[o])return parseInt(r[o])>parseInt(n[o])?1:-1}return 0};e.versions=e.versions||{};var r=e.normalize;e.normalize=function(n,o,l){e.versions||(e.versions={});var i=this.versions;return Promise.resolve(r.call(this,n,o,l)).then(function(e){var r,n,o,l,s=e.indexOf("@");if(-1==s||0==s){for(var u in i)if(l=i[u],e.substr(0,u.length)==u&&(o=e.substr(u.length,1),!o||"/"==o))return u+"@"+("string"==typeof l?l:l[l.length-1])+e.substr(u.length);return e}r=e.substr(s+1).split("/")[0];var d,c=r.length;if("^"==r.substr(0,1)&&(r=r.substr(1),d=!0),n=r.match(t),!n)return e;d&&(n[2]||(d=!1),n[3]||(n[2]>0?n[3]="0":d=!1)),d&&(n[1]>0?(n[2]||(r=n[1]+".0.0"),n[3]||(r=n[1]+".0"),d=r,n=[n[1]]):n[2]>0?(d=r,n=[0,n[2]]):(d=!1,n=[0,0,n[3]]),r=n.join("."));var f=e.substr(0,s);if(l=i[f]||[],"string"==typeof l&&(l=[l]),!n[3]||d)for(var m=l.length-1;m>=0;m--){var g=l[m];if(g.substr(0,r.length)==r&&g.substr(r.length,1).match(/^[\.\-]?$/)&&(!d||d&&-1!=a(g,d)))return f+"@"+g+e.substr(f.length+c+1)}return-1==p.call(l,r)&&(l.push(r),l.sort(a),e=f+"@"+r+e.substr(f.length+c+1),n[3]&&-1!=(s=p.call(l,n[1]+"."+n[2]))&&l.splice(s,1),n[2]&&-1!=(s=p.call(l,n[1]))&&l.splice(s,1),i[f]=1==l.length?l[0]:l),e})}}function f(e){e.depCache=e.depCache||{},loaderLocate=e.locate,e.locate=function(e){var t=this;t.depCache||(t.depCache={});var a=t.depCache[e.name];if(a)for(var r=0;r<a.length;r++)t.load(a[r]);return loaderLocate.call(t,e)}}__$global.upgradeSystemLoader=void 0;var p=Array.prototype.indexOf||function(e){for(var t=0,a=this.length;a>t;t++)if(this[t]===e)return t;return-1},m=__$global.System,g=__$global.System=new LoaderPolyfill(m);g.baseURL=m.baseURL,g.paths={"*":"*.js"},g.originalSystem=m,g.noConflict=function(){__$global.SystemJS=g,__$global.System=g.originalSystem},a(g),r(g),n(g),o(g),l(g),i(g),s(g),u(g),d(g),c(g),f(g),g.paths["@traceur"]||(g.paths["@traceur"]=__$curScript&&__$curScript.getAttribute("data-traceur-src")||(__$curScript&&__$curScript.src?__$curScript.src.substr(0,__$curScript.src.lastIndexOf("/")+1):g.baseURL+(g.baseURL.lastIndexOf("/")==g.baseURL.length-1?"":"/"))+"traceur.js")};var __$curScript;!function(e){if("undefined"!=typeof window){var t=document.getElementsByTagName("script");if(__$curScript=t[t.length-1],e.System&&e.LoaderPolyfill)e.upgradeSystemLoader();else{var a=__$curScript.src,r=a.substr(0,a.lastIndexOf("/")+1);document.write('<script type="text/javascript" src="'+r+'es6-module-loader.js" data-init="upgradeSystemLoader">'+"<"+"/script>")}}else{var n=require("es6-module-loader");e.System=n.System,e.Loader=n.Loader,e.Module=n.Module,e.upgradeSystemLoader(),module.exports=e.System}}(__$global)}("undefined"!=typeof window?window:global); | ||
!function(__$global){function __eval(__source,__global,__address,__sourceMap){try{__source=(__global!=__$global?"with(__global) { (function() { "+__source+" \n }).call(__global); }":__source)+"\n//# sourceURL="+__address+(__sourceMap?"\n//# sourceMappingURL="+__sourceMap:""),eval(__source)}catch(e){throw"SyntaxError"==e.name&&(e.message="Evaluating "+__address+"\n "+e.message),loader.trace&&0==loader.execute&&console.log("Execution error: "+e.stack||e),e}}__$global.upgradeSystemLoader=function(){function e(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function t(t,a){function r(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}return a=e(a||""),t=e(t||""),a&&t?(a.protocol||t.protocol)+(a.protocol||a.authority?a.authority:t.authority)+r(a.protocol||a.authority||"/"===a.pathname.charAt(0)?a.pathname:a.pathname?(t.authority&&!t.pathname?"/":"")+t.pathname.slice(0,t.pathname.lastIndexOf("/")+1)+a.pathname:t.pathname)+(a.protocol||a.authority||a.pathname?a.search:a.search||t.search)+a.hash:null}function a(e){function t(e,t){var a=e.meta&&e.meta[t.name];if(a)for(var r in a)t.metadata[r]=t.metadata[r]||a[r]}var a=/^(\s*\/\*.*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,r=/\/\*.*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;e.meta={};var n=e.locate;e.locate=function(e){return t(this,e),n.call(this,e)};var o=e.translate;e.translate=function(e){var n=e.source.match(a);if(n)for(var l=n[0].match(r),i=0;i<l.length;i++){var s=l[i].length,u=l[i].substr(0,1);if(";"==l[i].substr(s-1,1)&&s--,'"'==u||"'"==u){var d=l[i].substr(1,l[i].length-3),c=d.substr(0,d.indexOf(" "));if(c){var f=d.substr(c.length+1,d.length-c.length-1);e.metadata[c]instanceof Array?e.metadata[c].push(f):e.metadata[c]=f}}}return t(this,e),o.call(this,e)}}function r(e){function a(e){var a=this;"@traceur"==e.name&&(f=g,m=Module);var r,n=e.source.lastIndexOf("\n");-1!=n&&"//# sourceMappingURL="==e.source.substr(n+1,21)&&(r=e.source.substr(n+22,e.source.length-n-22),"undefined"!=typeof t&&(r=t(e.address,r))),__eval(e.source,a.global,e.address,r),"@traceur"==e.name&&(a.global.traceurSystem=a.global.System,a.global.System=f)}function r(e){for(var t=[],a=0;a<e.length;a++)-1==p.call(t,e[a])&&t.push(e[a]);return t}function n(t,a,r,n){"string"!=typeof t&&(n=r,r=a,a=t,t=null),v=!0;var o;if("boolean"==typeof r)o={declarative:!1,deps:a,execute:n,executingRequire:r};else{if(a.length>0&&1!=r.length)throw"Invalid System.register form for "+t+". Declare function must take one argument.";o={declarative:!0,deps:a,declare:r}}if(t)e.defined[t]||(e.defined[t]=o);else if(o.declarative){if(h)throw"Multiple anonymous System.register calls in the same module file.";h=o}}function o(e){if(!e.register){e.register=n,e.defined||(e.defined={});var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),h&&(e.metadata.entry=h),(h||v)&&(e.metadata.format=e.metadata.format||"register"),v&&(e.metadata.registered=!0)}}}function l(e,t,a){if(a[e.groupIndex]=a[e.groupIndex]||[],-1==p.call(a[e.groupIndex],e)){a[e.groupIndex].push(e);for(var r=0;r<e.normalizedDeps.length;r++){var n=e.normalizedDeps[r],o=t.defined[n];if(o){var i=e.groupIndex+(o.declarative!=e.declarative);if(void 0===o.groupIndex||o.groupIndex<i){if(o.groupIndex&&(a[o.groupIndex].splice(a[o.groupIndex].indexOf(o),1),0==a[o.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");o.groupIndex=i}l(o,t,a)}}}}function i(e,t){var a=t.defined[e];a.groupIndex=0;var r=[];l(a,t,r);for(var n=!!a.declarative==r.length%2,o=r.length-1;o>=0;o--){for(var i=r[o],u=0;u<i.length;u++){var c=i[u];n?s(c,t):d(c,t)}n=!n}}function s(e,t){if(!e.module){var a=[],r=e.declare.call(t.global,a);e.module=r.exports,e.exportStar=r.exportStar,e.execute=r.execute;for(var n=e.module,o=0;o<e.normalizedDeps.length;o++){var l=e.normalizedDeps[o],i=t.defined[l];i?i.module?depModule=i.module:(s(i,t),depModule=i.module):depModule=t.get(l),e.exportStar&&-1!=p.call(e.exportStar,e.normalizedDeps[o])&&!function(e){for(var t in e)(function(t){Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]},set:function(a){e[t]=a}})})(t)}(depModule),a[o]=depModule}}}function u(e,t){var a,r=t.defined[e];if(r)r.declarative?c(e,[],t):r.evaluated||d(r,t),a=r.module;else if(a=t.get(e),!a)throw"System Register: The module requested "+e+" but this was not declared as a dependency";return a?a.__useDefault?a["default"]:a:""}function d(e,t){if(!e.module){if(e.module={"default":{},__useDefault:!0},!e.executingRequire)for(var a=0;a<e.normalizedDeps.length;a++){var r=e.normalizedDeps[a],n=t.defined[r];n&&d(n,t)}var o;for(var l in t.defined)if(t.defined[l]==e){o=l;break}try{e.evaluated=!0;var i=e.execute.call(t.global,function(a){for(var r=0;r<e.deps.length;r++)if(e.deps[r]==a)return u(e.normalizedDeps[r],t)},e.module["default"],o)}catch(s){throw s}i&&i.__esModule?e.module=i:i&&(e.module["default"]=i)}}function c(e,t,a){var r=a.defined[e];if(!r.evaluated&&r.declarative){t.push(e);for(var n=0;n<r.normalizedDeps.length;n++){var o=r.normalizedDeps[n];-1==p.call(t,o)&&(a.defined[o]?c(o,t,a):a.get(o))}r.evaluated||(r.evaluated=!0,r.execute.call(a.global))}}"undefined"==typeof p&&(p=Array.prototype.indexOf),"undefined"==typeof __eval&&(__eval=0||eval);var f,m;e.__exec=a;var h,v;o(e);var b=/System\.register/,_=e.fetch;e.fetch=function(e){var t=this;return o(t),t.defined[e.name]?(e.metadata.format="defined",""):(h=null,v=!1,_.call(t,e))};var x=e.translate;e.translate=function(e){return this.register=n,this.__exec=a,e.metadata.deps=e.metadata.deps||[],Promise.resolve(x.call(this,e)).then(function(t){return(e.metadata.init||e.metadata.exports)&&(e.metadata.format=e.metadata.format||"global"),("register"==e.metadata.format||!e.metadata.format&&e.source.match(b))&&(e.metadata.format="register"),t})};var y=e.instantiate;e.instantiate=function(e){var t,a=this;if(a.defined[e.name])t=a.defined[e.name];else if(e.metadata.entry)t=e.metadata.entry;else if(e.metadata.execute)t={declarative:!1,deps:e.metadata.deps||[],execute:e.metadata.execute,executingRequire:e.metadata.executingRequire};else if("register"==e.metadata.format&&(h=null,v=!1,a.__exec(e),h&&(t=h),!v&&!e.metadata.registered))throw e.name+" detected as System.register but didn't execute.";if(!t&&"es6"!=e.metadata.format)return{deps:[],execute:function(){return Module({})}};if(!t)return y.call(this,e);a.defined[e.name]=t,t.deps=r(t.deps);for(var n=[],o=0;o<t.deps.length;o++)n.push(Promise.resolve(a.normalize(t.deps[o],e.name)));return Promise.all(n).then(function(r){return t.normalizedDeps=r,t.depMap=[],{deps:t.deps,execute:function(){if(t.esmodule)return delete a.defined[e.name],t.esmodule;i(e.name,a),c(e.name,[],a),delete a.defined[e.name];var r=Module(t.module);for(var n in a.defined)t.declarative&&a.defined[n].execute!=t.execute||!t.declarative&&a.defined[n].declare!=t.declare;return r}}})}}function n(e){var a=e["import"];e["import"]=function(e,t){return a.call(this,e,t).then(function(e){return e.__useDefault?e["default"]:e})},e.set("@empty",Module({})),e.config=function(e){for(var t in e){var a=e[t];if("object"==typeof a){this[t]=this[t]||{};for(var r in a)this[t][r]=a[r]}else this[t]=a}};var r;if("undefined"==typeof window)r=process.cwd()+"/";else if(r=document.baseURI,!r){var n=document.getElementsByTagName("base");r=n[0]&&n[0].href||window.location.href}var o,l=e.locate;e.locate=function(e){return this.baseURL!=o&&(o=t(r,this.baseURL),"/"!=o.substr(o.length-1,1)&&(o+="/"),this.baseURL=o),Promise.resolve(l.call(this,e))};var i=/^\s*export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)")/,s=/(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/,u=e.translate;e.translate=function(e){var t=this;if("@traceur"==e.name)return u.call(t,e);var a;if("es6"!=e.metadata.format&&e.metadata.format||!(a=e.source.match(i))){if(("es6"==e.metadata.format||!e.metadata.format&&e.source.match(s))&&(e.metadata.format="es6",!t.global.traceur))return t["import"]("@traceur").then(function(){return u.call(t,e)})}else e.metadata.format="cjs",e.source='module.exports = require("'+(a[1]||a[2])+'");\n';return u.call(t,e)};var d=e.instantiate;e.instantiate=function(e){var t=this;return"@traceur"==e.name?(t.__exec(e),{deps:[],execute:function(){return Module({})}}):d.call(t,e)}}function o(e){function t(e){if(!e.has("@@global-helpers")){var t,a=e.global.hasOwnProperty,r={};e.set("@@global-helpers",Module({prepareGlobal:function(n,o){for(var l=0;l<o.length;l++){var i=r[o[l]];if(i)for(var s in i)e.global[s]=i[s]}t={};for(var u in e.global)(!a||e.global.hasOwnProperty(u))&&(t[u]=e.global[u])},retrieveGlobal:function(n,o,l){var i,s={};if(l){for(var u=[],d=0;d<deps.length;d++)u.push(require(deps[d]));i=l.apply(e.global,u)}if(o&&!i){var c=o.split(".")[0];i=eval.call(e.global,o),s[c]=e.global[c]}else for(var f in e.global)(a||"sessionStorage"!=f&&"localStorage"!=f&&"clipboardData"!=f&&"frames"!=f)&&(a&&!e.global.hasOwnProperty(f)||f==e.global||t[f]==e.global[f]||(s[f]=e.global[f],i?i!==e.global[f]&&(i=void 0):i!==!1&&(i=e.global[f])));return r[n]=s,"undefined"!=typeof i?i:s}}))}}t(e);var a=e.instantiate;e.instantiate=function(e){var r=this;t(r);var n=e.metadata.exports;return e.metadata.format||(e.metadata.format="global"),"global"==e.metadata.format&&(e.metadata.execute=function(t,a,o){r.get("@@global-helpers").prepareGlobal(o,e.metadata.deps),n&&(e.source+='\nthis["'+n+'"] = '+n+";");var l=r.global.define;return r.global.define=void 0,r.global.module=void 0,r.global.exports=void 0,r.__exec(e),r.global.define=l,r.get("@@global-helpers").retrieveGlobal(o,n,e.metadata.init)}),a.call(r,e)}}function l(e){function t(e){a.lastIndex=0,r.lastIndex=0;for(var t,o=[],e=e.replace(n,"");t=r.exec(e);)o.push(t[2]||t[3]);return o}var a=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*|module\.)(exports\s*\[\s*('[^']+'|"[^"]+")\s*\]|\exports\s*\.\s*[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*|exports\s*\=)/,r=/(?:^\s*|[}{\(\);,\n=:\?\&]\s*)require\s*\(\s*("([^"]+)"|'([^']+)')\s*\)/g,n=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,o=function(){},l={nextTick:function(e){setTimeout(e,7)},browser:"undefined"!=typeof window,env:{},argv:[],on:o,once:o,off:o,emit:o,cwd:function(){return"/"}};e._getCJSDeps=t,e.has("@@nodeProcess")||e.set("@@nodeProcess",Module({"default":l,__useDefault:!0}));var i=e.translate;e.translate=function(e){var a=this;return a.has("@@nodeProcess")||a.set("@@nodeProcess",Module({"default":l,__useDefault:!0})),a._getCJSDeps||(a._getCJSDeps=t),i.call(a,e)};var s=e.instantiate;e.instantiate=function(n){return n.metadata.format||(a.lastIndex=0,r.lastIndex=0,(r.exec(n.source)||a.exec(n.source))&&(n.metadata.format="cjs")),"cjs"==n.metadata.format&&(n.metadata.deps=n.metadata.deps?n.metadata.deps.concat(t(n.source)):n.metadata.deps,n.metadata.executingRequire=!0,n.metadata.execute=function(t,a){var r=n.address.split("/");r.pop(),r=r.join("/");var o=e.global._g={global:e.global,exports:a,module:{exports:a},process:l,require:t,__filename:n.address,__dirname:r},i="";for(var s in o)i+="var "+s+" = _g."+s+";";n.source=i+n.source;var u=e.global.define;return e.global.define=void 0,e.__exec(n),e.global.define=u,e.global._g=void 0,o.module.exports}),s.call(this,n)}}function i(e){function t(e,a,r,n){var o=this;if("object"==typeof e&&!(e instanceof Array))return t.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if(!(e instanceof Array)){if("string"==typeof e){var l=o.get(e);return l.__useDefault?l["default"]:l}throw"Invalid require"}Promise.all(e.map(function(e){return o["import"](e,n)})).then(function(e){a.apply(null,e)},r)}function a(e,a,r){return function(n,o,l){return"string"==typeof n?a(n):t.call(r,n,o,l,{name:e})}}function r(e){if(l=null,i=null,e.global.module=void 0,e.global.exports=void 0,!e.global.define||e.global.define.loader!=e){var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),(l||i)&&(e.metadata.format="defined"),l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)},e.global.define=function(t,r,n){if("string"!=typeof t&&(n=r,r=t,t=null),!(r instanceof Array)){if(n=r,!e._getCJSDeps)throw"AMD extension needs CJS extension for AMD CJS support";r=["require","exports","module"].concat(e._getCJSDeps(n.toString()))}"function"!=typeof n&&(n=function(e){return function(){return e}}(n));var o,s,u;-1!=(o=p.call(r,"require"))&&r.splice(o,1),-1!=(s=p.call(r,"exports"))&&r.splice(s,1),-1!=(u=p.call(r,"module"))&&r.splice(u,1);var d={deps:r,execute:function(t,l,i){for(var d=[],c=0;c<r.length;c++)d.push(t(r[c]));var f;-1!=u&&d.splice(u,0,l,f={id:i,uri:e.baseURL+i,config:function(){return{}},exports:l}),-1!=s&&d.splice(s,0,l),-1!=o&&d.splice(o,0,a(i,t,e));var p=n.apply(e.global,d);return"undefined"==typeof p&&f&&(p=f.exports),"undefined"!=typeof p?p:void 0}};if(t)l=0!=r.length||l||i?null:d,i=!0,e.register(t,d.deps,!1,d.execute);else{if(l)throw"Multiple defines for anonymous module";l=d}},e.global.define.amd={},e.global.define.loader=e}}var n="undefined"!=typeof module&&module.exports,o=/(?:^\s*|[}{\(\);,\n\?\&]\s*)define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*("[^"]+"|'[^']+')\s*,)*(\s*("[^"]+"|'[^']+')\s*)?\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/;e.require=t;var l,i;if(n||e.amdDefine===!1||r(e),e.scriptLoader){var s=e.fetch;e.fetch=function(t){return e.amdDefine!==!1&&r(this),s.call(this,t)}}var u=e.instantiate;e.instantiate=function(e){var t=this;if("amd"==e.metadata.format||!e.metadata.format&&e.source.match(o)){if(e.metadata.format="amd",r(t),t.__exec(e),n&&(t.global.define=void 0),!l&&!i&&!n)throw"AMD module "+e.name+" did not define";l&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(l.deps):l.deps,e.metadata.execute=l.execute)}return u.call(t,e)}}function s(e){function t(e,t){var a=t.split("/"),r=e.split("/");if(a.length>r.length)return 0;for(var n=0;n<a.length;n++)if(r[n]!=a[n])return 0;return a.length}function a(e,a,r){var n,o,l,i,s=0,u=0;if(a)for(var d in r.map){var c=r.map[d];if("object"==typeof c&&!(t(a,d)<=u))for(var f in c)t(e,f)<=s||(n=f,s=f.split("/").length,o=d,u=d.split("/").length)}n&&(i=e.split("/"),l=i.splice(s,i.length-s).join("/"),e=r.map[o][n]+(l?"/"+l:""),s=0);for(var d in r.map){var c=r.map[d];"string"==typeof c&&(t(e,d)<=s||(n=d,s=d.split("/").length))}return s?(i=e.split("/"),l=i.splice(s,i.length-s).join("/"),r.map[n]+(l?"/"+l:"")):e}e.map=e.map||{};var r=e.normalize;e.normalize=function(e,t,n){var o=this;o.map||(o.map={});var l=!1;return"/"==e.substr(e.length-1,1)&&(l=!0,e+="#"),Promise.resolve(r.call(o,e,t,n)).then(function(e){if(e=a(e,t,o),l){var r=e.split("/");r.pop();var n=r.pop();r.push(n),r.push(n),e=r.join("/")}return e})}}function u(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=e.normalize;e.normalize=function(e,a,r){var n,o=this;return a&&-1!=(n=a.indexOf("!"))&&(a=a.substr(0,n)),Promise.resolve(t.call(o,e,a,r)).then(function(e){var t=e.lastIndexOf("!");if(-1!=t){var n=e.substr(0,t),l=e.substr(t+1)||n.substr(n.lastIndexOf(".")+1);return new Promise(function(e){e(o.normalize(l,a,r))}).then(function(e){return l=e,o.normalize(n,a,r)}).then(function(e){return e+"!"+l})}return e})};var a=e.locate;e.locate=function(e){var t=this,r=e.name,n=r.lastIndexOf("!");if(-1!=n){var o=r.substr(n+1);e.name=r.substr(0,n);var l=t.pluginLoader||t;return l["import"](o).then(function(){var a=l.get(o);return a=a["default"]||a,e.metadata.plugin=a,e.metadata.pluginName=o,e.metadata.pluginArgument=e.name,a.locate?a.locate.call(t,e):Promise.resolve(t.locate(e)).then(function(e){return e.substr(0,e.length-3)})})}return a.call(this,e)};var r=e.fetch;e.fetch=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.fetch&&!e.metadata.pluginFetchCalled?(e.metadata.pluginFetchCalled=!0,e.metadata.plugin.fetch.call(t,e,r)):r.call(t,e)};var n=e.translate;e.translate=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.translate?Promise.resolve(e.metadata.plugin.translate.call(t,e)).then(function(a){return a?a:n.call(t,e)}):n.call(t,e)};var o=e.instantiate;e.instantiate=function(e){var t=this;return e.metadata.plugin&&e.metadata.plugin.instantiate?Promise.resolve(e.metadata.plugin.instantiate.call(t,e)).then(function(a){return a&&(e.metadata.format="defined",e.metadata.execute=function(){return a}),o.call(t,e)}):o.call(t,e)}}function d(e){"undefined"==typeof p&&(p=Array.prototype.indexOf),e.bundles=e.bundles||{};var t=e.fetch;e.fetch=function(e){var a=this;a.bundles||(a.bundles={});for(var r in a.bundles)if(-1!=p.call(a.bundles[r],e.name))return Promise.resolve(a.normalize(r)).then(function(e){return a.bundles[e]=a.bundles[e]||a.bundles[r],a.meta=a.meta||{},a.meta[e]=a.meta[e]||{},a.meta[e].bundle=!0,a.load(e)}).then(function(){return""});return t.apply(this,arguments)}}function c(e){"undefined"==typeof p&&(p=Array.prototype.indexOf);var t=/^(\d+)(?:\.(\d+)(?:\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?$/,a=function(e,t){var a,r=e.split("."),n=t.split(".");r[2]&&-1!=(a=p.call(r[2],"-"))&&r.splice(2,1,r[2].substr(0,a),r[2].substr(a+1)),n[2]&&-1!=(a=p.call(n[2],"-"))&&n.splice(2,1,n[2].substr(0,a),n[2].substr(a+1));for(var o=0;o<Math.max(r.length,n.length);o++){if(!r[o])return 1;if(!n[o])return-1;if(r[o]!=n[o])return parseInt(r[o])>parseInt(n[o])?1:-1}return 0};e.versions=e.versions||{};var r=e.normalize;e.normalize=function(n,o,l){e.versions||(e.versions={});var i=this.versions;return Promise.resolve(r.call(this,n,o,l)).then(function(e){var r,n,o,l,s=e.indexOf("@");if(-1==s||0==s){for(var u in i)if(l=i[u],e.substr(0,u.length)==u&&(o=e.substr(u.length,1),!o||"/"==o))return u+"@"+("string"==typeof l?l:l[l.length-1])+e.substr(u.length);return e}r=e.substr(s+1).split("/")[0];var d,c=r.length;if("^"==r.substr(0,1)&&(r=r.substr(1),d=!0),n=r.match(t),!n)return e;d&&(n[2]||(d=!1),n[3]||(n[2]>0?n[3]="0":d=!1)),d&&(n[1]>0?(n[2]||(r=n[1]+".0.0"),n[3]||(r=n[1]+".0"),d=r,n=[n[1]]):n[2]>0?(d=r,n=[0,n[2]]):(d=!1,n=[0,0,n[3]]),r=n.join("."));var f=e.substr(0,s);if(l=i[f]||[],"string"==typeof l&&(l=[l]),!n[3]||d)for(var m=l.length-1;m>=0;m--){var g=l[m];if(g.substr(0,r.length)==r&&g.substr(r.length,1).match(/^[\.\-]?$/)&&(!d||d&&-1!=a(g,d)))return f+"@"+g+e.substr(f.length+c+1)}return-1==p.call(l,r)&&(l.push(r),l.sort(a),e=f+"@"+r+e.substr(f.length+c+1),n[3]&&-1!=(s=p.call(l,n[1]+"."+n[2]))&&l.splice(s,1),n[2]&&-1!=(s=p.call(l,n[1]))&&l.splice(s,1),i[f]=1==l.length?l[0]:l),e})}}function f(e){e.depCache=e.depCache||{},loaderLocate=e.locate,e.locate=function(e){var t=this;t.depCache||(t.depCache={});var a=t.depCache[e.name];if(a)for(var r=0;r<a.length;r++)t.load(a[r]);return loaderLocate.call(t,e)}}__$global.upgradeSystemLoader=void 0;var p=Array.prototype.indexOf||function(e){for(var t=0,a=this.length;a>t;t++)if(this[t]===e)return t;return-1},m=__$global.System,g=__$global.System=new LoaderPolyfill(m);g.baseURL=m.baseURL,g.paths={"*":"*.js"},g.originalSystem=m,g.noConflict=function(){__$global.SystemJS=g,__$global.System=g.originalSystem},a(g),r(g),n(g),o(g),l(g),i(g),s(g),u(g),d(g),c(g),f(g),g.paths["@traceur"]||(g.paths["@traceur"]=__$curScript&&__$curScript.getAttribute("data-traceur-src")||(__$curScript&&__$curScript.src?__$curScript.src.substr(0,__$curScript.src.lastIndexOf("/")+1):g.baseURL+(g.baseURL.lastIndexOf("/")==g.baseURL.length-1?"":"/"))+"traceur.js")};var __$curScript;!function(e){if("undefined"!=typeof window){var t=document.getElementsByTagName("script");if(__$curScript=t[t.length-1],e.System&&e.LoaderPolyfill)e.upgradeSystemLoader();else{var a=__$curScript.src,r=a.substr(0,a.lastIndexOf("/")+1);document.write('<script type="text/javascript" src="'+r+'es6-module-loader.js" data-init="upgradeSystemLoader">'+"<"+"/script>")}}else{var n=require("es6-module-loader");e.System=n.System,e.Loader=n.Loader,e.Module=n.Module,e.upgradeSystemLoader(),module.exports=e.System}}(__$global)}("undefined"!=typeof window?window:global); |
@@ -21,4 +21,4 @@ | ||
e.message = 'Evaluating ' + __address + '\n\t' + e.message; | ||
if (isNode && loader.execute == false && loader.trace = true) | ||
return; | ||
if (loader.trace && loader.execute == false) | ||
console.log('Execution error: ' + e.stack || e); | ||
throw e; | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "systemjs", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "System loader extension for flexible AMD & CommonJS support", | ||
@@ -5,0 +5,0 @@ "main": "dist/system.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
266766
4