UNPKG

steal-css

Version:
11 lines (10 loc) 78 kB
if(typeof steal === "undefined") steal = {}; steal.bundlesPath = "bundles"; steal.main = "main"; steal.configMain = "config.js"; /* * steal v1.6.3 * * Copyright (c) 2018 Bitovi; Licensed MIT */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Promise=e():"undefined"!=typeof global?global.Promise=e():"undefined"!=typeof self&&(self.Promise=e())}(function(){return function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(a)return a(i,!0);throw new Error("Cannot find module '"+i+"'")}var u=n[i]={exports:{}};t[i][0].call(u.exports,function(e){var n=t[i][1][e];return o(n||e)},u,u.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){var r=e("../lib/decorators/unhandledRejection")(e("../lib/Promise"));t.exports="undefined"!=typeof global?global.Promise=r:"undefined"!=typeof self?self.Promise=r:r},{"../lib/Promise":2,"../lib/decorators/unhandledRejection":4}],2:[function(e,t,n){!function(e){"use strict";e(function(e){return e("./makePromise")({scheduler:new(e("./Scheduler"))(e("./env").asap)})})}(function(n){t.exports=n(e)})},{"./Scheduler":3,"./env":5,"./makePromise":7}],3:[function(e,t,n){!function(e){"use strict";e(function(){function e(e){this._async=e,this._running=!1,this._queue=this,this._queueLen=0,this._afterQueue={},this._afterQueueLen=0;var t=this;this.drain=function(){t._drain()}}return e.prototype.enqueue=function(e){this._queue[this._queueLen++]=e,this.run()},e.prototype.afterQueue=function(e){this._afterQueue[this._afterQueueLen++]=e,this.run()},e.prototype.run=function(){this._running||(this._running=!0,this._async(this.drain))},e.prototype._drain=function(){for(var e=0;e<this._queueLen;++e)this._queue[e].run(),this._queue[e]=void 0;for(this._queueLen=0,this._running=!1,e=0;e<this._afterQueueLen;++e)this._afterQueue[e].run(),this._afterQueue[e]=void 0;this._afterQueueLen=0},e})}(function(e){t.exports=e()})},{}],4:[function(e,t,n){!function(e){"use strict";e(function(e){function t(e){throw e}function n(){}var r=e("../env").setTimer,o=e("../format");return function(e){function a(e){e.handled||(p.push(e),c("Potentially unhandled rejection ["+e.id+"] "+o.formatError(e.value)))}function i(e){var t=p.indexOf(e);t>=0&&(p.splice(t,1),d("Handled previous rejection ["+e.id+"] "+o.formatObject(e.value)))}function s(e,t){f.push(e,t),null===h&&(h=r(l,0))}function l(){for(h=null;f.length>0;)f.shift()(f.shift())}var u,c=n,d=n;"undefined"!=typeof console&&(u=console,c=void 0!==u.error?function(e){u.error(e)}:function(e){u.log(e)},d=void 0!==u.info?function(e){u.info(e)}:function(e){u.log(e)}),e.onPotentiallyUnhandledRejection=function(e){s(a,e)},e.onPotentiallyUnhandledRejectionHandled=function(e){s(i,e)},e.onFatalRejection=function(e){s(t,e.value)};var f=[],p=[],h=null;return e}})}(function(n){t.exports=n(e)})},{"../env":5,"../format":6}],5:[function(e,t,n){!function(e){"use strict";e(function(e){var t,n="undefined"!=typeof setTimeout&&setTimeout,r=function(e,t){return setTimeout(e,t)},o=function(e){return clearTimeout(e)},a=function(e){return n(e,0)};if("undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))a=function(e){return process.nextTick(e)};else if(t="function"==typeof MutationObserver&&MutationObserver||"function"==typeof WebKitMutationObserver&&WebKitMutationObserver)a=function(e){var t,n=document.createTextNode("");new e(function(){var e=t;t=void 0,e()}).observe(n,{characterData:!0});var r=0;return function(e){t=e,n.data=r^=1}}(t);else if(!n){var i=e("vertx");r=function(e,t){return i.setTimer(t,e)},o=i.cancelTimer,a=i.runOnLoop||i.runOnContext}return{setTimer:r,clearTimer:o,asap:a}})}(function(n){t.exports=n(e)})},{}],6:[function(e,t,n){!function(e){"use strict";e(function(){function e(e){var n=String(e);return"[object Object]"===n&&"undefined"!=typeof JSON&&(n=t(e,n)),n}function t(e,t){try{return JSON.stringify(e)}catch(e){return t}}return{formatError:function(t){var n="object"==typeof t&&null!==t&&(t.stack||t.message)?t.stack||t.message:e(t);return t instanceof Error?n:n+" (WARNING: non-Error used)"},formatObject:e,tryStringify:t}})}(function(e){t.exports=e()})},{}],7:[function(e,t,n){!function(e){"use strict";e(function(){return function(e){function t(e,t){this._handler=e===m?t:n(e)}function n(e){function t(e){n.reject(e)}var n=new g;try{e(function(e){n.resolve(e)},t,function(e){n.notify(e)})}catch(e){t(e)}return n}function r(e){return R(e)?e:new t(m,new b(f(e)))}function o(e){return new t(m,new b(new _(e)))}function a(){return W}function i(e,t){return new t(m,new g(e.receiver,e.join().context))}function s(e,n,r){function o(e,t,n){c[e]=t,0==--u&&n.become(new x(c))}for(var a,i="function"==typeof n?function(t,a,i){i.resolved||l(r,o,t,e(n,a,t),i)}:o,s=new g,u=r.length>>>0,c=new Array(u),d=0;d<r.length&&!s.resolved;++d)void 0!==(a=r[d])||d in r?l(r,i,d,a,s):--u;return 0===u&&s.become(new x(c)),new t(m,s)}function l(e,t,n,r,o){if(I(r)){var a=p(r),i=a.state();0===i?a.fold(t,n,void 0,o):i>0?t(n,a.value,o):(o.become(a),u(e,n+1,a))}else t(n,r,o)}function u(e,t,n){for(var r=t;r<e.length;++r)c(f(e[r]),n)}function c(e,t){if(e!==t){var n=e.state();0===n?e.visit(e,void 0,e._unreport):n<0&&e._unreport()}}function d(e){var n,r,o,a=new g;for(n=0;n<e.length;++n)if(void 0!==(r=e[n])||n in e){if(0!==(o=f(r)).state()){a.become(o),u(e,n+1,o);break}o.visit(a,a.resolve,a.reject)}return new t(m,a)}function f(e){return R(e)?e._handler.join():I(e)?h(e):new x(e)}function p(e){return R(e)?e._handler.join():h(e)}function h(e){try{var t=e.then;return"function"==typeof t?new y(t,e):new x(e)}catch(e){return new _(e)}}function m(){}function v(){}function g(e,n){t.createContext(this,n),this.consumers=void 0,this.receiver=e,this.handler=void 0,this.resolved=!1}function b(e){this.handler=e}function y(e,t){g.call(this),A.enqueue(new E(e,t,this))}function x(e){t.createContext(this),this.value=e}function _(e){t.createContext(this),this.id=++Q,this.value=e,this.handled=!1,this.reported=!1,this._report()}function w(e,t){this.rejection=e,this.context=t}function j(e){this.rejection=e}function O(){return new _(new TypeError("Promise cycle"))}function S(e,t){this.continuation=e,this.handler=t}function P(e,t){this.handler=t,this.value=e}function E(e,t,n){this._then=e,this.thenable=t,this.resolver=n}function M(e,t,n,r,o){try{e.call(t,n,r,o)}catch(e){r(e)}}function L(e,t,n,r){this.f=e,this.z=t,this.c=n,this.to=r,this.resolver=H,this.receiver=this}function R(e){return e instanceof t}function I(e){return("object"==typeof e||"function"==typeof e)&&null!==e}function k(e,n,r,o){if("function"!=typeof e)return o.become(n);t.enterContext(n),$(e,n.value,r,o),t.exitContext()}function q(e,n,r,o,a){if("function"!=typeof e)return a.become(r);t.enterContext(r),z(e,n,r.value,o,a),t.exitContext()}function T(e,n,r,o,a){if("function"!=typeof e)return a.notify(n);t.enterContext(r),F(e,n,o,a),t.exitContext()}function D(e,t,n){try{return e(t,n)}catch(e){return o(e)}}function $(e,t,n,r){try{r.become(f(e.call(n,t)))}catch(e){r.become(new _(e))}}function z(e,t,n,r,o){try{e.call(r,t,n,o)}catch(e){o.become(new _(e))}}function F(e,t,n,r){try{r.notify(e.call(n,t))}catch(e){r.notify(e)}}function N(e,t){t.prototype=G(e.prototype),t.prototype.constructor=t}function U(e,t){return t}function C(){}var A=e.scheduler,B="undefined"!=typeof process&&null!==process&&"function"==typeof process.emit?function(e,t){return"unhandledRejection"===e?process.emit(e,t.value,t):process.emit(e,t)}:"undefined"!=typeof self&&"function"==typeof CustomEvent?function(e,t,n){var r=!1;try{r=new n("unhandledRejection")instanceof n}catch(e){}return r?function(e,r){var o=new n(e,{detail:{reason:r.value,key:r},bubbles:!1,cancelable:!0});return!t.dispatchEvent(o)}:e}(C,self,CustomEvent):C,G=Object.create||function(e){function t(){}return t.prototype=e,new t};t.resolve=r,t.reject=o,t.never=a,t._defer=function(){return new t(m,new g)},t._handler=f,t.prototype.then=function(e,t,n){var r=this._handler,o=r.join().state();if("function"!=typeof e&&o>0||"function"!=typeof t&&o<0)return new this.constructor(m,r);var a=this._beget(),i=a._handler;return r.chain(i,r.receiver,e,t,n),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype._beget=function(){return i(this._handler,this.constructor)},t.all=function(e){return s(U,null,e)},t.race=function(e){return"object"!=typeof e||null===e?o(new TypeError("non-iterable passed to race()")):0===e.length?a():1===e.length?r(e[0]):d(e)},t._traverse=function(e,t){return s(D,e,t)},t._visitRemaining=u,m.prototype.when=m.prototype.become=m.prototype.notify=m.prototype.fail=m.prototype._unreport=m.prototype._report=C,m.prototype._state=0,m.prototype.state=function(){return this._state},m.prototype.join=function(){for(var e=this;void 0!==e.handler;)e=e.handler;return e},m.prototype.chain=function(e,t,n,r,o){this.when({resolver:e,receiver:t,fulfilled:n,rejected:r,progress:o})},m.prototype.visit=function(e,t,n,r){this.chain(H,e,t,n,r)},m.prototype.fold=function(e,t,n,r){this.when(new L(e,t,n,r))},N(m,v),v.prototype.become=function(e){e.fail()};var H=new v;N(m,g),g.prototype._state=0,g.prototype.resolve=function(e){this.become(f(e))},g.prototype.reject=function(e){this.resolved||this.become(new _(e))},g.prototype.join=function(){if(!this.resolved)return this;for(var e=this;void 0!==e.handler;)if((e=e.handler)===this)return this.handler=O();return e},g.prototype.run=function(){var e=this.consumers,t=this.handler;this.handler=this.handler.join(),this.consumers=void 0;for(var n=0;n<e.length;++n)t.when(e[n])},g.prototype.become=function(e){this.resolved||(this.resolved=!0,this.handler=e,void 0!==this.consumers&&A.enqueue(this),void 0!==this.context&&e._report(this.context))},g.prototype.when=function(e){this.resolved?A.enqueue(new S(e,this.handler)):void 0===this.consumers?this.consumers=[e]:this.consumers.push(e)},g.prototype.notify=function(e){this.resolved||A.enqueue(new P(e,this))},g.prototype.fail=function(e){var t=void 0===e?this.context:e;this.resolved&&this.handler.join().fail(t)},g.prototype._report=function(e){this.resolved&&this.handler.join()._report(e)},g.prototype._unreport=function(){this.resolved&&this.handler.join()._unreport()},N(m,b),b.prototype.when=function(e){A.enqueue(new S(e,this))},b.prototype._report=function(e){this.join()._report(e)},b.prototype._unreport=function(){this.join()._unreport()},N(g,y),N(m,x),x.prototype._state=1,x.prototype.fold=function(e,t,n,r){q(e,t,this,n,r)},x.prototype.when=function(e){k(e.fulfilled,this,e.receiver,e.resolver)};var Q=0;N(m,_),_.prototype._state=-1,_.prototype.fold=function(e,t,n,r){r.become(this)},_.prototype.when=function(e){"function"==typeof e.rejected&&this._unreport(),k(e.rejected,this,e.receiver,e.resolver)},_.prototype._report=function(e){A.afterQueue(new w(this,e))},_.prototype._unreport=function(){this.handled||(this.handled=!0,A.afterQueue(new j(this)))},_.prototype.fail=function(e){this.reported=!0,B("unhandledRejection",this),t.onFatalRejection(this,void 0===e?this.context:e)},w.prototype.run=function(){this.rejection.handled||this.rejection.reported||(this.rejection.reported=!0,B("unhandledRejection",this.rejection)||t.onPotentiallyUnhandledRejection(this.rejection,this.context))},j.prototype.run=function(){this.rejection.reported&&(B("rejectionHandled",this.rejection)||t.onPotentiallyUnhandledRejectionHandled(this.rejection))},t.createContext=t.enterContext=t.exitContext=t.onPotentiallyUnhandledRejection=t.onPotentiallyUnhandledRejectionHandled=t.onFatalRejection=C;var W=new t(m,new m);return S.prototype.run=function(){this.handler.join().when(this.continuation)},P.prototype.run=function(){var e=this.handler.consumers;if(void 0!==e)for(var t,n=0;n<e.length;++n)T((t=e[n]).progress,this.value,this.handler,t.receiver,t.resolver)},E.prototype.run=function(){var e=this.resolver;M(this._then,this.thenable,function(t){e.resolve(t)},function(t){e.reject(t)},function(t){e.notify(t)})},L.prototype.fulfilled=function(e){this.f.call(this.c,this.z,e,this.to)},L.prototype.rejected=function(e){this.to.reject(e)},L.prototype.progress=function(e){this.to.notify(e)},t}})}(function(e){t.exports=e()})},{}]},{},[1])(1)}),function(__global){function __eval(__source,__global,__load){try{eval('(function() { var __moduleName = "'+(__load.name||"").replace('"','"')+'"; '+__source+" \n }).call(__global);")}catch(e){throw"SyntaxError"!=e.name&&"TypeError"!=e.name||(e.message="Evaluating "+(__load.name||load.address)+"\n\t"+e.message),e}}__global.$__Object$getPrototypeOf=Object.getPrototypeOf||function(e){return e.__proto__};var $__Object$defineProperty;!function(){try{Object.defineProperty({},"a",{})&&($__Object$defineProperty=Object.defineProperty)}catch(e){$__Object$defineProperty=function(e,t,n){try{e[t]=n.value||n.get.call(e)}catch(e){}}}}(),__global.$__Object$create=Object.create||function(e,t){function n(){}if(n.prototype=e,"object"==typeof t)for(prop in t)t.hasOwnProperty(prop)&&(n[prop]=t[prop]);return new n},function(){function e(e){return{status:"loading",name:e,linkSets:[],dependencies:[],metadata:{}}}function t(e,t,n){return new E(i({step:n.address?"fetch":"locate",loader:e,moduleName:t,moduleMetadata:n&&n.metadata||{},moduleSource:n.source,moduleAddress:n.address}))}function n(t,n,o,a){return new E(function(e,r){e(t.loaderObj.normalize(n,o,a))}).then(function(n){var o;if(t.modules[n])return o=e(n),o.status="linked",o.module=t.modules[n],o;for(var a=0,i=t.loads.length;a<i;a++)if((o=t.loads[a]).name==n)return P.assert("loading"==o.status||"loaded"==o.status,"loading or loaded"),o;for(var s=t.loaderObj.failed||R,a=0,i=s.length;a<i;a++)if((o=s[a]).name===n)return E.reject("The load "+n+" already failed.");return o=e(n),t.loads.push(o),r(t,o),o})}function r(e,t){o(e,t,E.resolve().then(function(){return e.loaderObj.locate({name:t.name,metadata:t.metadata})}))}function o(e,t,n){a(e,t,n.then(function(n){if("loading"==t.status)return t.address=n,e.loaderObj.fetch({name:t.name,metadata:t.metadata,address:n})}))}function a(e,t,r){r.then(function(r){if("loading"==t.status)return E.resolve(e.loaderObj.translate({name:t.name,metadata:t.metadata,address:t.address,source:r})).then(function(n){if("loading"==t.status)return t.source=n,e.loaderObj.instantiate({name:t.name,metadata:t.metadata,address:t.address,source:n})}).then(function(n){if("loading"==t.status){if(void 0===n)return t.address=t.address||"<Anonymous Module "+ ++I+">",t.isDeclarative=!0,e.loaderObj.transpile(t).then(function(e){var n=__global.System,r=n.register;n.register=function(e,n,r){var o=r,a=n;"string"!=typeof e&&(o=a,a=e),t.declare=o,t.depsList=a},__eval(e,__global,t),n.register=r});if("object"!=typeof n)throw TypeError("Invalid instantiate return value");t.depsList=n.deps||[],t.execute=n.execute,t.isDeclarative=!1}}).then(function(){if("loading"==t.status){t.dependencies=[];for(var r=t.depsList,o=[],a=0,i=r.length;a<i;a++)!function(r,a){o.push(n(e,r,t.name,t.address).then(function(e){if(t.dependencies[a]={key:r,value:e.name},"linked"!=e.status)for(var n=t.linkSets.concat([]),o=0,i=n.length;o<i;o++)l(n[o],e)}))}(r[a],a);return E.all(o)}}).then(function(){if("loading"==t.status){P.assert("loading"==t.status,"is loading"),t.status="loaded";for(var e=t.linkSets.concat([]),n=0,r=e.length;n<r;n++)c(e[n],t)}})}).catch(function(e){t.status="failed",t.exception=e;for(var n=t.linkSets.concat([]),r=0,o=n.length;r<o;r++)d(n[r],t,e);P.assert(0==t.linkSets.length,"linkSets not removed")})}function i(t){return function(n,i){var l=t.loader,u=t.moduleName,c=t.step,d=t.moduleMetadata.importingModuleName;if(l.modules[u])throw new TypeError('"'+u+'" already exists in the module table');for(var f,p,h=0,m=l.loads.length;h<m;h++)if(l.loads[h].name==u){if(f=l.loads[h],"translate"!=c||f.source||(f.address=t.moduleAddress,a(l,f,E.resolve(t.moduleSource))),p=f.linkSets[0],d&&p.loads[d])continue;return p.done.then(function(){n(f)})}var v;f?v=f:(v=e(u)).metadata=t.moduleMetadata;var g=s(l,v);f||l.loads.push(v),n(g.done),"locate"==c?r(l,v):"fetch"==c?o(l,v,E.resolve(t.moduleAddress)):(P.assert("translate"==c,"translate step"),v.address=t.moduleAddress,a(l,v,E.resolve(t.moduleSource)))}}function s(e,t){var n={loader:e,loads:[],startingLoad:t,loadingCount:0};return n.done=new E(function(e,t){n.resolve=e,n.reject=t}),l(n,t),n}function l(e,t){P.assert("loading"==t.status||"loaded"==t.status||"failed"===t.status,"loading or loaded on link set");for(var n=0,r=e.loads.length;n<r;n++)if(e.loads[n]==t)return;e.loads.push(t),e.loads[t.name]=!0,t.linkSets.push(e),"loaded"!=t.status&&e.loadingCount++;for(var o=e.loader,n=0,r=t.dependencies.length;n<r;n++){var a=t.dependencies[n].value;if(!o.modules[a])for(var i=0,s=o.loads.length;i<s;i++)if(o.loads[i].name==a){l(e,o.loads[i]);break}}}function u(e){var t=!1;try{m(e,function(n,r){d(e,n,r),t=!0})}catch(n){d(e,null,n),t=!0}return t}function c(e,t){if(P.assert("loaded"==t.status||"linked"==t.status,"loaded or linked"),e.loadingCount--,!(e.loadingCount>0)){var n=e.startingLoad;if(!1===e.loader.loaderObj.execute){for(var r=[].concat(e.loads),o=0,a=r.length;o<a;o++)(t=r[o]).module=t.isDeclarative?{name:t.name,module:k({}),evaluated:!0}:{module:k({})},t.status="linked",f(e.loader,t);return e.resolve(n)}u(e)||(P.assert(0==e.loads.length,"loads cleared"),e.resolve(n))}}function d(e,t,n){var r=e.loader,o=n;e.loads[0].name!=t.name&&(o=w(o,'Error loading "'+t.name+'" from "'+e.loads[0].name+'" at '+(e.loads[0].address||"<unknown>")+"\n")),o=w(o,'Error loading "'+t.name+'" at '+(t.address||"<unknown>")+"\n");for(var a=e.loads.concat([]),i=0,s=a.length;i<s;i++){var t=a[i];r.loaderObj.failed=r.loaderObj.failed||[],-1==M.call(r.loaderObj.failed,t)&&r.loaderObj.failed.push(t);var l=M.call(t.linkSets,e);if(P.assert(-1!=l,"link not present"),t.linkSets.splice(l,1),0==t.linkSets.length){var u=M.call(e.loader.loads,t);-1!=u&&e.loader.loads.splice(u,1)}}e.reject(o)}function f(e,t){if(e.loaderObj.trace){e.loaderObj.loads||(e.loaderObj.loads={});var n={};t.dependencies.forEach(function(e){n[e.key]=e.value}),e.loaderObj.loads[t.name]={name:t.name,deps:t.dependencies.map(function(e){return e.key}),depMap:n,address:t.address,metadata:t.metadata,source:t.source,kind:t.isDeclarative?"declarative":"dynamic"}}t.name&&(P.assert(!e.modules[t.name],"load not in module table"),e.modules[t.name]=t.module);var r=M.call(e.loads,t);-1!=r&&e.loads.splice(r,1);for(var o=0,a=t.linkSets.length;o<a;o++)-1!=(r=M.call(t.linkSets[o].loads,t))&&t.linkSets[o].loads.splice(r,1);t.linkSets.splice(0,t.linkSets.length)}function p(e,t,n){if(n[e.groupIndex]=n[e.groupIndex]||[],-1==M.call(n[e.groupIndex],e)){n[e.groupIndex].push(e);for(var r=0,o=t.length;r<o;r++)for(var a=t[r],i=0;i<e.dependencies.length;i++)if(a.name==e.dependencies[i].value){P.assert("loaded"==a.status,"Load in linkSet not loaded!");var s=e.groupIndex+(a.isDeclarative!=e.isDeclarative);if(void 0===a.groupIndex||a.groupIndex<s){if(void 0!==a.groupIndex&&(n[a.groupIndex].splice(M.call(n[a.groupIndex],a),1),0==n[a.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");a.groupIndex=s}p(a,t,n)}}}function h(e,t,n){try{var r=t.execute()}catch(e){return void n(t,e)}if(r&&r instanceof O)return r;n(t,new TypeError("Execution must define a Module instance"))}function m(e,t){var n=e.loader;if(e.loads.length){var r=[],o=e.loads[0];o.groupIndex=0,p(o,e.loads,r);for(var a=o.isDeclarative==r.length%2,i=r.length-1;i>=0;i--){for(var s=r[i],l=0;l<s.length;l++){var u=s[l];if(a)g(u,e.loads,n);else{var c=h(e,u,t);if(!c)return;u.module={name:u.name,module:c},u.status="linked"}f(n,u)}a=!a}}}function v(e,t){var n=t.moduleRecords;return n[e]||(n[e]={name:e,dependencies:[],module:new O,importers:[]})}function g(e,t,n){if(!e.module){var r=e.module=v(e.name,n),o=e.module.module,a=e.declare.call(__global,function(e,t){if(r.locked=!0,"object"==typeof e)for(var n in e)o[n]=e[n];else o[e]=t;for(var a=0,i=r.importers.length;a<i;a++){var s=r.importers[a];if(!s.locked){var l=M.call(s.dependencies,r);s.setters[l](o)}}return r.locked=!1,t});r.setters=a.setters,r.execute=a.execute;for(var i=0,s=e.dependencies.length;i<s;i++){var l=e.dependencies[i].value,u=n.modules[l];if(!u)for(var c=0;c<t.length;c++)t[c].name==l&&(t[c].module?u=v(l,n):(g(t[c],t,n),u=t[c].module));u.importers?(r.dependencies.push(u),u.importers.push(r)):r.dependencies.push(null),r.setters[i]&&r.setters[i](u.module)}e.status="linked"}}function b(e,t){return P.assert("linked"==t.status,"is linked "+t.name),x(t.module,[],e),t.module.module}function y(e){try{e.execute.call(__global)}catch(e){return e}}function x(e,t,n){var r=_(e,t,n);if(r)throw r}function _(e,t,n){if(!e.evaluated&&e.dependencies){t.push(e);for(var r,o=e.dependencies,a=0,i=o.length;a<i;a++){var s=o[a];if(s&&(-1==M.call(t,s)&&(r=_(s,t,n))))return r=w(r,"Error evaluating "+s.name+"\n")}if(e.failed)return new Error("Module failed execution.");if(!e.evaluated)return e.evaluated=!0,(r=y(e))?e.failed=!0:Object.preventExtensions&&Object.preventExtensions(e.module),e.execute=void 0,r}}function w(e,t){var n=e;return n instanceof Error?n.message=t+n.message:n=t+n,n}function j(e){if("object"!=typeof e)throw new TypeError("Options must be an object");e.normalize&&(this.normalize=e.normalize),e.locate&&(this.locate=e.locate),e.fetch&&(this.fetch=e.fetch),e.translate&&(this.translate=e.translate),e.instantiate&&(this.instantiate=e.instantiate),this._loader={loaderObj:this,loads:[],modules:{},importPromises:{},moduleRecords:{}},L(this,"global",{get:function(){return __global}})}function O(){}function S(e,t,n){var r=e._loader.importPromises;return r[t]=n.then(function(e){return r[t]=void 0,e},function(e){throw r[t]=void 0,e})}var P,E=__global.Promise||require("when/es6-shim/Promise");__global.console?(P=__global.console).assert=P.assert||function(){}:P={assert:function(){}};var M=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},L=$__Object$defineProperty,R=[],I=0,k=(j.prototype={constructor:j,define:function(e,t,n){if(this._loader.importPromises[e])throw new TypeError("Module is already loading.");return S(this,e,new E(i({step:"translate",loader:this._loader,moduleName:e,moduleMetadata:n&&n.metadata||{},moduleSource:t,moduleAddress:n&&n.address})))},delete:function(e){var t=this._loader;return delete t.importPromises[e],delete t.moduleRecords[e],!!t.modules[e]&&delete t.modules[e]},get:function(e){if(this._loader.modules[e])return x(this._loader.modules[e],[],this),this._loader.modules[e].module},has:function(e){return!!this._loader.modules[e]},import:function(e,n){var r=this;return E.resolve(r.normalize(e,n&&n.name,n&&n.address)).then(function(e){var o=r._loader;return o.modules[e]?(x(o.modules[e],[],o._loader),o.modules[e].module):o.importPromises[e]||S(r,e,t(o,e,n||{}).then(function(t){return delete o.importPromises[e],b(o,t)},function(t){return r.defined&&(r.defined[e]=void 0),E.reject(t)}))})},load:function(e,n){return this._loader.modules[e]?(x(this._loader.modules[e],[],this._loader),E.resolve(this._loader.modules[e].module)):this._loader.importPromises[e]||S(this,e,t(this._loader,e,{}))},module:function(t,n){var r=e();r.address=n&&n.address;var o=s(this._loader,r),i=E.resolve(t),l=this._loader,u=o.done.then(function(){return b(l,r)});return a(l,r,i),u},newModule:function(e){if("object"!=typeof e)throw new TypeError("Expected object");var t,n=new O;if(Object.getOwnPropertyNames&&null!=e)t=Object.getOwnPropertyNames(e);else{t=[];for(var r in e)t.push(r)}for(var o=0;o<t.length;o++)!function(t){L(n,t,{configurable:!1,enumerable:!0,get:function(){return e[t]}})}(t[o]);return Object.preventExtensions&&Object.preventExtensions(n),n},set:function(e,t){if(!(t instanceof O))throw new TypeError("Loader.set("+e+", module) must be a module");this._loader.modules[e]={module:t}},normalize:function(e,t,n){return e},locate:function(e){return e.name},fetch:function(e){throw new TypeError("Fetch not implemented")},translate:function(e){return e.source},instantiate:function(e){}}).newModule;"object"==typeof exports&&(module.exports=j),__global.Reflect=__global.Reflect||{},__global.Reflect.Loader=__global.Reflect.Loader||j,__global.Reflect.global=__global.Reflect.global||__global,__global.LoaderPolyfill=j}(),function(e){function t(e,t){return e.newModule({__useDefault:!0,default:h[t]})}function n(e){return"babel"===e?"Babel":e}function r(e,t){var n=this.traceurOptions||{};n.modules="instantiate",n.script=!1,n.sourceMaps="inline",n.filename=e.address,n.inputSourceMap=e.metadata.sourceMap,n.moduleName=!1;var r=new t.Compiler(n),a=o(e.source,r,n.filename);return a+="!eval"}function o(e,t,n){try{return t.compile(e,n)}catch(e){throw e[0]}}function a(){var e=this,t="function"==typeof e.getEnv&&e.getEnv();return m?process.env.BABEL_ENV||process.env.NODE_ENV||t||"development":t||"development"}function i(e){return s(e)?"string"==typeof e?e:e[0]:null}function s(e){return"string"==typeof e||e.length&&"string"==typeof e[0]}function l(e){var t=e||[],n="transform-es2015-modules-systemjs";return-1===t.indexOf(n)&&t.unshift(n),t}function u(e){var t=e||[],n=["es2015-no-commonjs"];if(t.length)for(var r=n.length-1;r>=0;r-=1){var o=n[r];-1===t.indexOf(o)&&t.unshift(o)}else t=["es2015-no-commonjs","react","stage-0"];return t}function c(e){return(e.version?+e.version.split(".")[0]:6)||6}function d(e,t){var n=this.babelOptions||{};return n.sourceMap="inline",n.filename=e.address,n.code=!0,n.ast=!1,c(t)>=6?(delete n.optional,delete n.whitelist,delete n.blacklist,n.presets=u(n.presets),n.plugins=l(n.plugins)):(n.modules="system",n.blacklist||(n.blacklist=["react"])),n}function f(e){var t=e.types;return{visitor:{Program:function(e,n){e.unshiftContainer("body",[t.exportNamedDeclaration(null,[t.exportSpecifier(t.identifier("true"),t.identifier("__esModule"))])])}}}}function p(e,t){var n=t.Babel||t.babel||t,r=c(n),o=d.call(this,e,n);return Promise.all([v.call(this,n,o),g.call(this,n,o)]).then(function(t){return r>=6&&(o.plugins=[f].concat(t[0]),o.presets=t[1]),n.transform(e.source,o).code+"\n//# sourceURL="+e.address+"!eval"})}var h=__global,m="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process);e.prototype.transpiler="babel",e.prototype.transpile=function(e){var n=this;return n.transpilerHasRun||(h.traceur&&!n.has("traceur")&&n.set("traceur",t(n,"traceur")),h.Babel&&!n.has("babel")&&n.set("babel",t(n,"Babel")),n.transpilerHasRun=!0),n.import(n.transpiler).then(function(t){var o=t;return o.__useDefault&&(o=o.default),(o.Compiler?r:p).call(n,e,o)}).then(function(t){return'var __moduleAddress = "'+e.address+'";'+t})},e.prototype.instantiate=function(e){var r=this;return Promise.resolve(r.normalize(r.transpiler)).then(function(o){if(e.name===o)return{deps:[],execute:function(){var o=h.System,a=h.Reflect.Loader;return __eval("(function(require,exports,module){"+e.source+"})();",h,e),h.System=o,h.Reflect.Loader=a,t(r,n(e.name))}}})};var v=function(){function e(e,r){var o=[];return(r||[]).forEach(function(r){var a=i(r);if(!s(r)||t(e,a))o.push(r);else if(!t(e,a)){var l=this.configMain||"package.json!npm",u=n(a);o.push(this.import(u,{name:l}).then(function(e){var t=e.__esModule?e.default:e;return"string"==typeof r?t:[t,r[1]]}))}},this),Promise.all(o)}function t(e,t){var n=/^(?:babel-plugin-)/;return!!(e.availablePlugins||{})[n.test(t)?t.replace("babel-plugin-",""):t]}function n(e){var t=/^(?:babel-plugin-)/;return/\//.test(e)||t.test(e)?e:"babel-plugin-"+e}return function(t,n){var r=a.call(this),o=n.env||{},i=[e.call(this,t,n.plugins)];for(var s in o)if(r===s){var l=o[s].plugins||[];i.push(e.call(this,t,l))}return Promise.all(i).then(function(e){var t=[];return e.forEach(function(e){t=t.concat(e)}),t})}}(),g=function(){function e(e,r){var o=[];return(r||[]).forEach(function(r){var a=i(r);if(!s(r)||t(e,a))o.push(r);else if(!t(e,a)){var l=this.configMain||"package.json!npm",u=n(a);o.push(this.import(u,{name:l}).then(function(e){var t=e.__esModule?e.default:e;return"string"==typeof r?t:[t,r[1]]}))}},this),Promise.all(o)}function t(e,t){var n=/^(?:babel-preset-)/;return!!(e.availablePresets||{})[n.test(t)?t.replace("babel-preset-",""):t]}function n(e){var t=/^(?:babel-preset-)/;return/\//.test(e)||t.test(e)?e:"babel-preset-"+e}return function(t,n){var r=a.call(this),o=n.env||{},i=[e.call(this,t,n.presets)];for(var s in o)if(r===s){var l=o[s].presets||[];i.push(e.call(this,t,l))}return Promise.all(i).then(function(e){var t=[];return e.forEach(function(e){t=t.concat(e)}),t})}}()}(__global.LoaderPolyfill),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(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)?"/":"")}function n(n,r){var o=r,a=n;return i&&(o=o.replace(/\\/g,"/")),o=e(o||""),a=e(a||""),o&&a?(o.protocol||a.protocol)+(o.protocol||o.authority?o.authority:a.authority)+t(o.protocol||o.authority||"/"===o.pathname.charAt(0)?o.pathname:o.pathname?(a.authority&&!a.pathname?"/":"")+a.pathname.slice(0,a.pathname.lastIndexOf("/")+1)+o.pathname:a.pathname)+(o.protocol||o.authority||o.pathname?o.search:o.search||a.search)+o.hash:null}var r,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,a="undefined"!=typeof window&&!o,i="undefined"!=typeof process&&!!process.platform.match(/^win/),s=__global.Promise||require("when/es6-shim/Promise");if("undefined"!=typeof XMLHttpRequest)r=function(e,t,n){function r(){t(a.responseText)}function o(){var t=a.statusText+": "+e||"XHR error",r=new Error(t);r.statusCode=a.status,n(r)}var a=new XMLHttpRequest,i=!0,s=!1;if(!("withCredentials"in a)){var l=/^(\w+:)?\/\/([^\/]+)/.exec(e);l&&(i=l[2]===window.location.host,l[1]&&(i&=l[1]===window.location.protocol))}i||"undefined"==typeof XDomainRequest||((a=new XDomainRequest).onload=r,a.onerror=o,a.ontimeout=o,a.onprogress=function(){},a.timeout=0,s=!0),a.onreadystatechange=function(){4===a.readyState&&(200===a.status||0==a.status&&a.responseText?r():o())},a.open("GET",e,!0),s&&setTimeout(function(){a.send()},0),a.send(null)};else if("undefined"!=typeof require){var l,u=/ENOENT/;r=function(e,t,n){if("file:"!=e.substr(0,5))throw"Only file URLs of the form file: allowed running in Node.";l=l||require("fs");var r=e.substr(5);return i&&(r=r.replace(/\//g,"\\")),l.readFile(r,function(e,r){if(e)return u.test(e.message)&&(e.statusCode=404),n(e);t(r+"")})}}else{if("function"!=typeof fetch)throw new TypeError("No environment fetch API available.");r=function(e,t,n){fetch(e).then(function(e){return e.text()}).then(function(e){t(e)}).then(null,function(e){n(e)})}}var c=new(function(e){function t(t){if(e.call(this,t||{}),"undefined"!=typeof location&&location.href){var n=__global.location.href.split("#")[0].split("?")[0];this.baseURL=n.substring(0,n.lastIndexOf("/")+1)}else{if("undefined"==typeof process||!process.cwd)throw new TypeError("No environment baseURL");this.baseURL="file:"+process.cwd()+"/",i&&(this.baseURL=this.baseURL.replace(/\\/g,"/"))}this.paths={"*":"*.js"}}return t.__proto__=null!==e?e:Function.prototype,t.prototype=$__Object$create(null!==e?e.prototype:null),$__Object$defineProperty(t.prototype,"constructor",{value:t}),$__Object$defineProperty(t.prototype,"global",{get:function(){return a?window:o?self:__global},enumerable:!1}),$__Object$defineProperty(t.prototype,"strict",{get:function(){return!0},enumerable:!1}),$__Object$defineProperty(t.prototype,"normalize",{value:function(e,t,n){if("string"!=typeof e)throw new TypeError("Module name must be a string");var r=e.split("/");if(0==r.length)throw new TypeError("No module name provided");var o=0,a=!1,i=0;if("."==r[0]){if(++o==r.length)throw new TypeError('Illegal module name "'+e+'"');a=!0}else{for(;".."==r[o];)if(++o==r.length)throw new TypeError('Illegal module name "'+e+'"');o&&(a=!0),i=o}for(var s=o;s<r.length;s++){var l=r[s];if(""==l||"."==l||".."==l)throw new TypeError('Illegal module name "'+e+'"')}if(!a)return e;var u=[],c=(t||"").split("/");c.length;return u=u.concat(c.splice(0,c.length-1-i)),(u=u.concat(r.splice(o,r.length-o))).join("/")},enumerable:!1,writable:!0}),$__Object$defineProperty(t.prototype,"locate",{value:function(e){var t,r=e.name,o="";for(var i in this.paths){var s=i.split("*");if(s.length>2)throw new TypeError("Only one wildcard in a path is permitted");if(1==s.length){if(r==i&&i.length>o.length){o=i;break}}else r.substr(0,s[0].length)==s[0]&&r.substr(r.length-s[1].length)==s[1]&&(o=i,t=r.substr(s[0].length,r.length-s[1].length-s[0].length))}var l=this.paths[o];return t&&(l=l.replace("*",t)),a&&(l=l.replace(/#/g,"%23")),n(this.baseURL,l)},enumerable:!1,writable:!0}),$__Object$defineProperty(t.prototype,"fetch",{value:function(e){var t=this;return new s(function(o,a){r(n(t.baseURL,e.address),function(e){o(e)},a)})},enumerable:!1,writable:!0}),t}(__global.LoaderPolyfill));"object"==typeof exports&&(module.exports=c),__global.System=c}()}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:global),function(e){e.upgradeSystemLoader=function(){function t(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 r(e,n){var r=e,o=n;return x&&(o=o.replace(/\\/g,"/")),o=t(o||""),r=t(r||""),o&&r?(o.protocol||r.protocol)+(o.protocol||o.authority?o.authority:r.authority)+function(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)?"/":"")}(o.protocol||o.authority||"/"===o.pathname.charAt(0)?o.pathname:o.pathname?(r.authority&&!r.pathname?"/":"")+r.pathname.slice(0,r.pathname.lastIndexOf("/")+1)+o.pathname:r.pathname)+(o.protocol||o.authority||o.pathname?o.search:o.search||r.search)+o.hash:null}function o(t){var n={};if(("object"==typeof t||"function"==typeof t)&&t!==e)if(_)for(var r in t)"default"!==r&&a(n,t,r);else i(n,t);return n.default=t,w(n,"__useDefault",{value:!0}),n}function a(e,t,n){try{var r;(r=Object.getOwnPropertyDescriptor(t,n))&&w(e,n,r)}catch(r){return e[n]=t[n],!1}}function i(e,t,n){var r=t&&t.hasOwnProperty;for(var o in t)r&&!t.hasOwnProperty(o)||n&&o in e||(e[o]=t[o]);return e}function s(e){function t(e,t){t._extensions=[];for(var n=0,r=e.length;n<r;n++)e[n](t)}var n=e.import;e.import=function(e,t){return n.call(this,e,t).then(function(e){return e.__useDefault?e.default:e})},e.set("@empty",e.newModule({})),"undefined"!=typeof require&&(e._nodeRequire=require),e.config=function(e){for(var t in e){var n=e[t];if("object"!=typeof n||n instanceof Array)this[t]=n;else{this[t]=this[t]||{};for(var r in n)this[t][r]=n[r]}}};var o;if("undefined"==typeof window&&"undefined"==typeof WorkerGlobalScope)o="file:"+process.cwd()+"/",x&&(o=o.replace(/\\/g,"/"));else if("undefined"==typeof window)o=e.global.location.href;else if(!(o=document.baseURI)){var a=document.getElementsByTagName("base");o=a[0]&&a[0].href||window.location.href}var i,l=e.locate;e.locate=function(e){return this.baseURL!=i&&("/"!=(i=r(o,this.baseURL)).substr(i.length-1,1)&&(i+="/"),this.baseURL=i),Promise.resolve(l.call(this,e))},e._extensions=e._extensions||[],e._extensions.push(s),e.clone=function(){var e=this,n=new LoaderPolyfill(j);return n.baseURL=e.baseURL,n.paths={"*":"*.js"},t(e._extensions,n),n}}function l(e){function t(e,t){var n=e.meta&&e.meta[t.name];if(n)for(var r in n)t.metadata[r]=t.metadata[r]||n[r]}var n=/^(\s*\/\*.*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,r=/\/\*.*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;e.meta={},e._extensions=e._extensions||[],e._extensions.push(l);var o=e.locate;e.locate=function(e){return t(this,e),o.call(this,e)};var a=e.translate;e.translate=function(e){var o=e.source.match(n);if(o)for(var i=o[0].match(r),s=0;s<i.length;s++){var l=i[s].length,u=i[s].substr(0,1);if(";"==i[s].substr(l-1,1)&&l--,'"'==u||"'"==u){var c=i[s].substr(1,i[s].length-3),d=c.substr(0,c.indexOf(" "));if(d){var f=c.substr(d.length+1,c.length-d.length-1);e.metadata[d]instanceof Array?e.metadata[d].push(f):e.metadata[d]||(e.metadata[d]=f)}}}return t(this,e),a.call(this,e)}}function u(e){function t(e,t){var o,a=this,i=t,s=e.source.lastIndexOf("\n");-1!=s&&"//# sourceMappingURL="==e.source.substr(s+1,21)&&(o=e.source.substr(s+22,e.source.length-s-22),void 0!==r&&(o=r(e.address,o)));var l=e.metadata&&e.metadata.eval;i=i||a.global,n(e.source,e.address,i,o,l)}function a(e){for(var t=[],n=0,r=e.length;n<r;n++)-1==y.call(t,e[n])&&t.push(e[n]);return t}function i(t,n,r,o){var a=t,i=n,s=r,l=o;"string"!=typeof a&&(l=s,s=i,i=a,a=null),g=!0;var u;if(u="boolean"==typeof s?{declarative:!1,deps:i,execute:l,executingRequire:s}:{declarative:!0,deps:i,declare:s},a)u.name=a,a in e.defined||(e.defined[a]=u);else if(u.declarative){if(v)throw new TypeError("Multiple anonymous System.register calls in the same module file.");v=u}}function s(e){if(!e.register){e.register=i,e.defined||(e.defined={});var t=e.onScriptLoad;e.onScriptLoad=function(e){t(e),v&&(e.metadata.entry=v),g&&(e.metadata.format=e.metadata.format||"register",e.metadata.registered=!0)}}}function l(e,t,n){if(n[e.groupIndex]=n[e.groupIndex]||[],-1==y.call(n[e.groupIndex],e)){n[e.groupIndex].push(e);for(var r=0,o=e.normalizedDeps.length;r<o;r++){var a=e.normalizedDeps[r],i=t.defined[a];if(i&&!i.evaluated){var s=e.groupIndex+(i.declarative!=e.declarative);if(void 0===i.groupIndex||i.groupIndex<s){if(void 0!==i.groupIndex&&(n[i.groupIndex].splice(y.call(n[i.groupIndex],i),1),0==n[i.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");i.groupIndex=s}l(i,t,n)}}}}function c(e,t){var n=t.defined[e];if(!n.module){n.groupIndex=0;var r=[];l(n,t,r);for(var o=!!n.declarative==r.length%2,a=r.length-1;a>=0;a--){for(var i=r[a],s=0;s<i.length;s++){var u=i[s];o?f(u,t):h(u,t)}o=!o}}}function d(e){return x[e]||(x[e]={name:e,dependencies:[],exports:{},importers:[]})}function f(e,t){if(!e.module){var n=e.module=d(e.name),r=e.module.exports,o=e.declare.call(t.global,function(e,t){n.locked=!0,r[e]=t;for(var o=0,a=n.importers.length;o<a;o++){var i=n.importers[o];if(!i.locked){var s=y.call(i.dependencies,n);i.setters[s](r)}}return n.locked=!1,t});if(n.setters=o.setters,n.execute=o.execute,!n.setters||!n.execute)throw new TypeError("Invalid System.register form for "+e.name);for(var a=0,i=e.normalizedDeps.length;a<i;a++){var s,l=e.normalizedDeps[a],u=t.defined[l],c=x[l];c?s=c.exports:u&&!u.declarative?s=u.module.exports&&u.module.exports.__esModule?u.module.exports:u.esModule:u?(f(u,t),s=(c=u.module).exports):s=t.get(l),c&&c.importers?(c.importers.push(n),n.dependencies.push(c)):n.dependencies.push(null),n.setters[a]&&n.setters[a](s)}}}function p(e,t){var n,r=t.defined[e];if(r)r.declarative?m(e,[],t):r.evaluated||h(r,t),n=r.module.exports;else if(!(n=t.get(e)))throw new Error("Unable to load dependency "+e+".");return(!r||r.declarative)&&n&&n.__useDefault?n.default:n}function h(e,t){if(!e.module){var n={},r=e.module={exports:n,id:e.name};if(!e.executingRequire)for(var a=0,i=e.normalizedDeps.length;a<i;a++){var s=e.normalizedDeps[a],l=t.defined[s];l&&h(l,t)}e.evaluated=!0;var u=e.execute.call(t.global,function(n){for(var r=0,o=e.deps.length;r<o;r++)if(e.deps[r]==n)return p(e.normalizedDeps[r],t);throw new TypeError("Module "+n+" not declared as a dependency.")},n,r);u&&(r.exports=u),(n=r.exports)&&(n.__esModule||n instanceof _)?e.esModule=n:e.esmExports?n===t.global?e.esModule={default:n,__useDefault:!0}:e.esModule=o(n):e.esModule={default:n}}}function m(e,t,n){var r=n.defined[e];if(r&&!r.evaluated&&r.declarative){t.push(e);for(var o=0,a=r.normalizedDeps.length;o<a;o++){var i=r.normalizedDeps[o];-1==y.call(t,i)&&(n.defined[i]?m(i,t,n):n.get(i))}r.evaluated||(r.evaluated=!0,r.module.execute.call(n.global))}}void 0===y&&(y=Array.prototype.indexOf),(void 0===n||"undefined"!=typeof document&&!document.addEventListener)&&(n=eval),e._extensions=e._extensions||[],e._extensions.push(u);e.__exec=t;var v,g;s(e);var x={},_=e.newModule({}).constructor,w=/System\.register/,j=e.fetch;e.fetch=function(e){var t=this;return s(t),t.defined[e.name]?(e.metadata.format="defined",""):(v=null,g=!1,j.call(t,e))};var O=e.translate;e.translate=function(e){return this.register=i,this.__exec=t,e.metadata.deps=e.metadata.deps||[],Promise.resolve(O.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(w))&&(e.metadata.format="register"),t})};var S=e.instantiate;e.instantiate=function(e){var t,n=this;if(n.defined[e.name])(t=n.defined[e.name]).deps=t.deps.concat(e.metadata.deps);else if(e.metadata.entry)t=e.metadata.entry;else if(e.metadata.execute)t={declarative:!1,deps:e.metadata.deps||[],esModule:null,execute:e.metadata.execute,executingRequire:e.metadata.executingRequire};else if("register"==e.metadata.format){v=null,g=!1;var r=n.global.System;if(n.global.System=n,n.__exec(e),n.global.System=r,v&&(t=v),!t&&b.defined[e.name]&&(t=b.defined[e.name]),!g&&!e.metadata.registered)throw new TypeError(e.name+" detected as System.register but didn't execute.")}if(!t&&"es6"!=e.metadata.format)return{deps:e.metadata.deps,execute:function(){return n.newModule({})}};if(!t)return S.call(this,e);n.defined[e.name]=t,t.deps=a(t.deps),t.name=e.name,t.esmExports=!1!==e.metadata.esmExports;for(var o=[],i=0,s=t.deps.length;i<s;i++)o.push(Promise.resolve(n.normalize(t.deps[i],e.name)));return Promise.all(o).then(function(r){return t.normalizedDeps=r,{deps:t.deps,execute:function(){c(e.name,n),m(e.name,[],n),n.defined[e.name]=void 0;var r=t.module.exports;return t.declarative||(r=t.esModule),n.newModule(r)}}})}}function c(e){function t(e,t,n){if(e.meta[t]={format:"global"},l&&!e.paths[t])try{e.paths[t]=require.resolve(n||t)}catch(e){}}e._extensions.push(c);var n,r,o=/(^\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))/,a=/\$traceurRuntime\s*\./,i=/babelHelpers\s*\./,s=!0,l="undefined"!=typeof process&&"undefined"!=typeof require&&require.resolve,u=e.locate;e.locate=function(e){var n=this;return s&&("traceur"==n.transpiler?(t(n,"traceur","traceur/bin/traceur.js"),n.meta.traceur.exports="traceur",t(n,"traceur-runtime","traceur/bin/traceur-runtime.js")):"babel"==n.transpiler&&t(n,"babel","babel-standalone/babel.js"),s=!1),u.call(n,e)};var d=e.translate;e.translate=function(e){var t=this;return d.call(t,e).then(function(s){if("es6"==e.metadata.format||!e.metadata.format&&s.match(o))return e.metadata.format="es6",s;if("register"==e.metadata.format){if(!t.global.$traceurRuntime&&e.source.match(a))return t.import("traceur-runtime").then(function(){return s});if(!t.global.babelHelpers&&e.source.match(i))return t.import("babel/external-helpers").then(function(){return s})}return"traceur"==t.transpiler?Promise.all([n||(n=t.normalize(t.transpiler)),r||(r=t.normalize(t.transpiler+"-runtime"))]).then(function(t){return e.name==t[0]||e.name==t[1]?"(function() { var curSystem = System; "+s+"\nSystem = curSystem; })();":s}):s})}}function d(e){function t(e,t){for(var n=e.split("."),r=t;n.length;)r=r[n.shift()];return r}function n(e){function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}if(!e.has("@@global-helpers")){var r,o,a=e.global.hasOwnProperty,i={};e.set("@@global-helpers",e.newModule({prepareGlobal:function(t,s,l){var u,c,d=t,f=s,p=l;if("object"==typeof d){var h=d;f=h.deps,u=h.globals,p=h.exportName,d=h.moduleName,c=h.require}if(f)for(var m=0;m<f.length;m++){var v=i[f[m]];if(v)for(var g in v)e.global[g]=v[g]}if(u&&c)for(var b in u)e.global[b]=c(u[b]);if(!p&&!1!==p&&!1!==e.inferGlobals){r={},o=n(["indexedDB","sessionStorage","localStorage","clipboardData","frames","webkitStorageInfo","toolbar","statusbar","scrollbars","personalbar","menubar","locationbar","webkitIndexedDB","screenTop","screenLeft"]);for(var y in e.global)if(!o[y]&&(!a||e.global.hasOwnProperty(y)))try{r[y]=e.global[y]}catch(e){o[y]=!0}}},retrieveGlobal:function(n,s,l){var u,c,d={};if(l)u=l.call(e.global);else if(s){var f=s.split(".")[0];u=t(s,e.global),d[f]=e.global[f]}else if(!1!==s&&!1!==e.inferGlobals)for(var p in e.global)o[p]||a&&!e.global.hasOwnProperty(p)||p==e.global||r[p]==e.global[p]||(d[p]=e.global[p],u?u!==e.global[p]&&(c=!0):void 0===u&&(u=e.global[p]));return i[n]=d,c?d:u}}))}}e._extensions.push(d),n(e);var r=e.instantiate;e.instantiate=function(e){var t=this;n(t);var o=e.metadata.exports;if(e.metadata.format||(e.metadata.format="global"),e.metadata.globals)for(var a in e.metadata.globals)e.metadata.deps.push(e.metadata.globals[a]);return"global"==e.metadata.format&&(e.metadata.execute=function(n,r,a){t.get("@@global-helpers").prepareGlobal({require:n,moduleName:a.id,exportName:o,deps:e.metadata.deps,globals:e.metadata.globals}),o&&(e.source+='\nthis["'+o+'"] = '+o+";");var i=t.global.define,n=t.global.require;return t.global.define=void 0,t.global.module=void 0,t.global.exports=void 0,t.__exec(e,t.global),t.global.require=n,t.global.define=i,t.get("@@global-helpers").retrieveGlobal(a.id,o,e.metadata.init)}),r.call(t,e)}}function f(e){function t(e){function t(e,t){for(var n=0;n<e.length;n++)if(e[n][0]<t.index&&e[n][1]>t.index)return!0;return!1}r.lastIndex=o.lastIndex=a.lastIndex=0;var n,i=[],s=[],l=[];if(e.length/e.split("\n").length<200){for(;n=a.exec(e);)s.push([n.index,n.index+n[0].length]);for(;n=o.exec(e);)t(s,n)||l.push([n.index,n.index+n[0].length])}for(;n=r.exec(e);)if(!t(s,n)&&!t(l,n)){var u=n[1].substr(1,n[1].length-2);if(u.match(/"|'/))continue;i.push(u)}return i}e._extensions.push(f),e._determineFormat=Function.prototype;var n=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.])|Object.defineProperty\(\s*module\s*,\s*(?:'|")exports(?:'|"))/,r=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*')\s*\)/g,o=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,a=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g,i=e.instantiate;e.instantiate=function(o){return o.metadata.format||(n.lastIndex=0,r.lastIndex=0,(r.exec(o.source)||n.exec(o.source))&&(o.metadata.format="cjs",this._determineFormat(o))),"cjs"==o.metadata.format&&(o.metadata.deps=o.metadata.deps?o.metadata.deps.concat(t(o.source)):t(o.source),o.metadata.executingRequire=!0,o.metadata.execute=function(t,n,r){var a=(o.address||"").split("/");a.pop(),a=a.join("/"),b._nodeRequire&&(a=a.substr(5));e.global._g={global:e.global,exports:n,module:r,require:t,__filename:b._nodeRequire?o.address.substr(5):o.address,__dirname:a};var i=e.global.define;e.global.define=void 0;var s={name:o.name,source:"(function() {\n(function(global, exports, module, require, __filename, __dirname){\n"+o.source+"\n}).call(_g.exports, _g.global, _g.exports, _g.module, _g.require, _g.__filename, _g.__dirname);})();",address:o.address};e.__exec(s),e.global.define=i,e.global._g=void 0}),i.call(this,o)}}function p(e){function t(e,t){var n=[],r=(e.match(f)[1].split(",")[t]||"require").replace(h,""),o=m[r]||(m[r]=new RegExp("/\\*|//|\"|'|`|(?:^|\\breturn\\b|[([=,;:?><&|^*%~+-])\\s*(?=/)|\\b"+r+"(?=\\s*\\()","g"));o.lastIndex=0,v[r]=v.require;for(var a,i,s,l;a=o.exec(e);)i=a[0],(s=v[i])||(s=v[i="/regexp/"]),s.lastIndex=o.lastIndex,(l=s.exec(e))&&l.index===o.lastIndex&&(o.lastIndex=s.lastIndex,s===v.require&&l[2]&&n.push(l[2]));return n}function n(e,t,r,o){var a=this;if("object"==typeof e&&!(e instanceof Array))return n.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if(!(e instanceof Array)){if("string"==typeof e){var i=a.get(e);return i.__useDefault?i.default:i}throw new TypeError("Invalid require")}Promise.all(e.map(function(e){return a.import(e,o)})).then(function(e){t&&t.apply(null,e)},r)}function r(e,t,r){return function(o,a,i){return"string"==typeof o?t(o):n.call(r,o,a,i,{name:e})}}function o(e){function n(n,o,a){var i=n,s=o,l=a;"string"!=typeof i&&(l=s,s=i,i=null),s instanceof Array||(l=s,s=["require","exports","module"]),"function"!=typeof l&&(l=function(e){return function(){return e}}(l)),void 0===s[s.length-1]&&s.pop();var u,c,f;if(-1!=(u=y.call(s,"require"))){s.splice(u,1);var p=l.toString();s=s.concat(t(p,u))}-1!=(c=y.call(s,"exports"))&&s.splice(c,1),-1!=(f=y.call(s,"module"))&&s.splice(f,1);var h={deps:s,execute:function(t,n,o){for(var a=[],i=0;i<s.length;i++)a.push(t(s[i]));o.uri=e.baseURL+o.id,o.config=function(){},-1!=f&&a.splice(f,0,o),-1!=c&&a.splice(c,0,n),-1!=u&&a.splice(u,0,r(o.id,t,e));var p=l.apply(d,a);if(void 0===p&&o&&(p=o.exports),void 0!==p)return p}};if(i){var m=x&&x.metadata&&x.metadata.parsedModuleName;m&&m.version&&(m.modulePath===i||m.packageName===i)&&e.register(m.moduleName,h.deps,!1,h.execute),g=0!=s.length||g||b?null:h,b=!0,e.register(i,h.deps,!1,h.execute)}else{if(g)throw new TypeError("Multiple defines for anonymous module");g=h}}var o=e.onScriptLoad;e.onScriptLoad=function(e){o(e),(g||b)&&(e.metadata.format="defined",e.metadata.registered=!0),g&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(g.deps):g.deps,e.metadata.execute=g.execute)},n.amd={},e.amdDefine=n}function a(e,t){e.amdDefine