text: if(typeof steal === "undefined") steal = {};
  steal.bundlesPath = "bundles";
  steal.main = "devjournal/index.stache!done-autorender/src/autorender";
  steal.configMain = "package.json!npm";
  /*
   *  steal v1.12.6
   *  
   *  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 k(e)?e:new t(m,new b(f(e)))}function o(e){return new t(m,new b(new x(e)))}function a(){return Q}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 _(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 _(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 k(e)?e._handler.join():I(e)?h(e):new _(e)}function p(e){return k(e)?e._handler.join():h(e)}function h(e){try{var t=e.then;return"function"==typeof t?new y(t,e):new _(e)}catch(e){return new x(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),U.enqueue(new P(e,t,this))}function _(e){t.createContext(this),this.value=e}function x(e){t.createContext(this),this.id=++W,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 S(){return new x(new TypeError("Promise cycle"))}function E(e,t){this.continuation=e,this.handler=t}function O(e,t){this.handler=t,this.value=e}function P(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 k(e){return e instanceof t}function I(e){return("object"==typeof e||"function"==typeof e)&&null!==e}function R(e,n,r,o){if("function"!=typeof e)return o.become(n);t.enterContext(n),D(e,n.value,r,o),t.exitContext()}function T(e,n,r,o,a){if("function"!=typeof e)return a.become(r);t.enterContext(r),N(e,n,r.value,o,a),t.exitContext()}function $(e,n,r,o,a){if("function"!=typeof e)return a.notify(n);t.enterContext(r),F(e,n,o,a),t.exitContext()}function q(e,t,n){try{return e(t,n)}catch(e){return o(e)}}function D(e,t,n,r){try{r.become(f(e.call(n,t)))}catch(e){r.become(new x(e))}}function N(e,t,n,r,o){try{e.call(r,t,n,o)}catch(e){o.become(new x(e))}}function F(e,t,n,r){try{r.notify(e.call(n,t))}catch(e){r.notify(e)}}function C(e,t){t.prototype=G(e.prototype),t.prototype.constructor=t}function z(e,t){return t}function A(){}var U=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}(A,self,CustomEvent):A,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(z,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(q,e,t)},t._visitRemaining=u,m.prototype.when=m.prototype.become=m.prototype.notify=m.prototype.fail=m.prototype._unreport=m.prototype._report=A,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))},C(m,v),v.prototype.become=function(e){e.fail()};var H=new v;C(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 x(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=S();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&&U.enqueue(this),void 0!==this.context&&e._report(this.context))},g.prototype.when=function(e){this.resolved?U.enqueue(new E(e,this.handler)):void 0===this.consumers?this.consumers=[e]:this.consumers.push(e)},g.prototype.notify=function(e){this.resolved||U.enqueue(new O(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()},C(m,b),b.prototype.when=function(e){U.enqueue(new E(e,this))},b.prototype._report=function(e){this.join()._report(e)},b.prototype._unreport=function(){this.join()._unreport()},C(g,y),C(m,_),_.prototype._state=1,_.prototype.fold=function(e,t,n,r){T(e,t,this,n,r)},_.prototype.when=function(e){R(e.fulfilled,this,e.receiver,e.resolver)};var W=0;C(m,x),x.prototype._state=-1,x.prototype.fold=function(e,t,n,r){r.become(this)},x.prototype.when=function(e){"function"==typeof e.rejected&&this._unreport(),R(e.rejected,this,e.receiver,e.resolver)},x.prototype._report=function(e){U.afterQueue(new w(this,e))},x.prototype._unreport=function(){this.handled||(this.handled=!0,U.afterQueue(new j(this)))},x.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=A;var Q=new t(m,new m);return E.prototype.run=function(){this.handler.join().when(this.continuation)},O.prototype.run=function(){var e=this.handler.consumers;if(void 0!==e)for(var t,n=0;n<e.length;++n)$((t=e[n]).progress,this.value,this.handler,t.receiver,t.resolver)},P.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}}var isWorker="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,isBrowser="undefined"!=typeof window&&!isWorker;__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 L(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 L(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||T,a=0,i=s.length;a<i;a++)if((o=s[a]).name===n)return L.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,L.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 L.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 "+ ++$+">",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 L.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,L.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,L.resolve(t.moduleAddress)):(P.assert("translate"==c,"translate step"),v.address=t.moduleAddress,a(l,v,L.resolve(t.moduleSource)))}}function s(e,t){var n={loader:e,loads:[],startingLoad:t,loadingCount:0};return n.done=new L(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:q({}),evaluated:!0}:{module:q({})},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){for(var r=e.loader,o=n,a=e.loads.concat([]),i=0,s=a.length;i<s;i++){var t=a[i];r.loaderObj.failed=r.loaderObj.failed||[],"failed"===t.status&&-1==I.call(r.loaderObj.failed,t)?r.loaderObj.failed.push(t):r.loaderObj._pendingState&&r.loaderObj._pendingState(t);var l=I.call(t.linkSets,e);if(P.assert(-1!=l,"link not present"),t.linkSets.splice(l,1),0==t.linkSets.length){var u=I.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=I.call(e.loads,t);-1!=r&&e.loads.splice(r,1);for(var o=0,a=t.linkSets.length;o<a;o++)-1!=(r=I.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==I.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(I.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 E)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 E,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=I.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,t){try{e.execute.call(__global)}catch(e){return e.onModuleExecution=!0,_(e),e}}function _(e){if(!e.originalErr){for(var t=(e.stack||e.message||e).toString().split("\n"),n=[],r=0;r<t.length;r++)void 0!==M&&-1!=t[r].indexOf(M.src)||n.push(t[r]);n.length&&(e.stack=n.join("\n\t"))}return e}function x(e,t,n){var r=w(e,t,n);if(r)throw r}function w(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==I.call(t,s)&&(r=w(s,t,n))))return r=j(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,n))?e.failed=!0:Object.preventExtensions&&Object.preventExtensions(e.module),e.execute=void 0,r}}function j(e,t){var n=e;return n instanceof Error?n.message=t+n.message:n=t+n,n}function S(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:{}},R(this,"global",{get:function(){return __global}})}function E(){}function O(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,M,L=__global.Promise||require("when/es6-shim/Promise");if(__global.console?(P=__global.console).assert=P.assert||function(){}:P={assert:function(){}},isBrowser){var k=document.getElementsByTagName("script");M=document.currentScript||k[k.length-1]}var I=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},R=$__Object$defineProperty,T=[],$=0,q=(S.prototype={constructor:S,define:function(e,t,n){if(this._loader.importPromises[e])throw new TypeError("Module is already loading.");return O(this,e,new L(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;if(delete t.importPromises[e],delete t.moduleRecords[e],this.failed)for(var n=0;n<this.failed.length;n++)if(this.failed[n].name===e){this.failed.splice(n,1);break}return!!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 L.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]||O(r,e,t(o,e,n||{}).then(function(t){return delete o.importPromises[e],b(o,t)}).then(null,function(t){if(r.defined&&(r.defined[e]=void 0),t.onModuleExecution&&r.getModuleLoad){var n=r.getModuleLoad(e);if(n)return r.rejectWithCodeFrame(t,n)}else if(t.promise)return t.promise;return L.reject(t)}))})},load:function(e,n){return this._loader.modules[e]?(x(this._loader.modules[e],[],this._loader),L.resolve(this._loader.modules[e].module)):this._loader.importPromises[e]||O(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=L.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 E;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){R(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 E))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=S),__global.Reflect=__global.Reflect||{},__global.Reflect.Loader=__global.Reflect.Loader||S,__global.Reflect.global=__global.Reflect.global||__global,__global.LoaderPolyfill=S}(),function(e){function t(e,t){return e.newModule({__useDefault:!0,default:v[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 g?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){var t=e.metadata.npmPackage;if(t){var n=t.steal||t.system;if(n&&n.babelOptions)return n.babelOptions}return this.babelOptions||{}}function d(e){return(e.version?+e.version.split(".")[0]:6)||6}function f(e,t){var n=c.call(this,e);return n.sourceMap="inline",n.filename=e.address,n.code=!0,n.ast=!1,d(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 p(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 h(e){return e.metadata.importSpecifiers=Object.create(null),function(t){t.types;return{visitor:{ImportDeclaration:function(t,n){var r=t.node,o=r.source.value,a=r.source.loc;e.metadata.importSpecifiers[o]=a}}}}}function m(e,t){var n=t.Babel||t.babel||t,r=d(n),o=f.call(this,e,n),a=this;return Promise.all([b.call(this,n,o),y.call(this,n,o)]).then(function(t){r>=6&&(o.plugins=[h(e),p].concat(t[0]),o.presets=t[1]);try{return n.transform(e.source,o).code+"\n//# sourceURL="+e.address+"!eval"}catch(t){if(t instanceof SyntaxError){var i=new SyntaxError(t.message),s=new a.StackTrace(t.message,[a.StackTrace.item("",e.address,t.loc.line,t.loc.column)]);return i.stack=s.toString(),Promise.reject(i)}return Promise.reject(t)}})}var v=__global,g="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||(v.traceur&&!n.has("traceur")&&n.set("traceur",t(n,"traceur")),v.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:m).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=v.System,a=v.Reflect.Loader;return __eval("(function(require,exports,module){"+e.source+"})();",v,e),v.System=o,v.Reflect.Loader=a,t(r,n(e.name))}}})};var b=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})}}(),y=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,i=n;return a&&(o=o.replace(/\\/g,"/")),o=e(o||""),i=e(i||""),o&&i?(o.protocol||i.protocol)+(o.protocol||o.authority?o.authority:i.authority)+t(o.protocol||o.authority||"/"===o.pathname.charAt(0)?o.pathname:o.pathname?(i.authority&&!i.pathname?"/":"")+i.pathname.slice(0,i.pathname.lastIndexOf("/")+1)+o.pathname:i.pathname)+(o.protocol||o.authority||o.pathname?o.search:o.search||i.search)+o.hash:null}function r(e,t,n){if(void 0===n.getDependants)return i.resolve();var r=n.getDependants(t.name);if(Array.isArray(r)&&r.length){var o=n.StackTrace,a=n.isEnv("production");return i.resolve().then(function(){return a?i.resolve():n.import("@@babel-code-frame")}).then(function(i){var s=n.getModuleLoad(r[0]),l=n.getImportSpecifier(t.name,s)||{line:1,column:0},u="The module ["+n.prettyName(t)+"] couldn't be fetched.\nClicking the link in the stack trace below takes you to the import.\nSee https://stealjs.com/docs/StealJS.error-messages.html#404-not-found for more information.\n",c=e.message+"\n"+u;a||(c+="\n"+i(s.metadata.originalSource||s.source,l.line,l.column)+"\n"),e.message=c;var d=new o(c,[o.item(null,s.address,l.line,l.column)]);e.stack=d.toString()})}return i.resolve()}var o,a="undefined"!=typeof process&&!!process.platform.match(/^win/),i=__global.Promise||require("when/es6-shim/Promise");if("undefined"!=typeof XMLHttpRequest)o=function(e,t,n){function r(){t(a.responseText)}function o(){var t=a.status,r=t+" "+a.statusText+": "+e+"\n"||"XHR error",o=new Error(r);o.url=e,o.statusCode=t,n(o)}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 s,l=/ENOENT/;o=function(e,t,n){if("file:"!=e.substr(0,5))throw"Only file URLs of the form file: allowed running in Node.";s=s||require("fs");var r=e.substr(5);return a&&(r=r.replace(/\//g,"\\")),s.readFile(r,function(r,o){if(r)return l.test(r.message)&&(r.statusCode=404,r.url=e),n(r);t(o+"")})}}else{if("function"!=typeof fetch)throw new TypeError("No environment fetch API available.");o=function(e,t,n){fetch(e).then(function(e){return e.text()}).then(function(e){t(e)}).then(null,function(e){n(e)})}}var u=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()+"/",a&&(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 isBrowser?window:isWorker?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 a in this.paths){var i=a.split("*");if(i.length>2)throw new TypeError("Only one wildcard in a path is permitted");if(1==i.length){if(r==a&&a.length>o.length){o=a;break}}else r.substr(0,i[0].length)==i[0]&&r.substr(r.length-i[1].length)==i[1]&&(o=a,t=r.substr(i[0].length,r.length-i[1].length-i[0].length))}var s=this.paths[o];return t&&(s=s.replace("*",t)),isBrowser&&(s=s.replace(/#/g,"%23")),n(this.baseURL,s)},enumerable:!1,writable:!0}),$__Object$defineProperty(t.prototype,"fetch",{value:function(e){var t=this;return new i(function(a,i){o(n(t.baseURL,e.address),function(e){a(e)},function(n){var o=i.bind(null,n);r(n,e,t).then(o,o)})})},enumerable:!1,writable:!0}),t}(__global.LoaderPolyfill));"object"==typeof exports&&(module.exports=u),__global.System=u}()}("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 _&&(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(x)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()+"/",_&&(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._getLineAndColumnFromPosition=function(e,t){for(var n,r=(t||0)+1,o=0,a=1,i=0,s=e.length;r&&o<s&&(n=e[o],r!==o);)"\n"!==n?(i++,o++):(o++,a++,i=0);return{line:a,column:i}},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 _[e]||(_[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=_[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={};e.isESModule&&Object.defineProperty(n,"__esModule",{value:!0});var 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 x)?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 S=e.translate;e.translate=function(e){return this.register=i,this.__exec=t,e.metadata.deps=e.metadata.deps||[],Promise.resolve(S.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 E=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 E.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"},d&&!e.paths[t])try{e.paths[t]=require.resolve(n||t)}catch(e){}}function n(e){return e.replace(i,"$1").match(a)}e._extensions.push(c);var r,o,a=/(^\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))/,i=/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/gm,s=/\$traceurRuntime\s*\./,l=/babelHelpers\s*\./,u=!0,d="undefined"!=typeof process&&"undefined"!=typeof require&&require.resolve,f=e.locate;e.locate=function(e){var n=this;return u&&("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"),u=!1),f.call(n,e)};var p=e.translate;e.translate=function(e){var t=this;return p.call(t,e).then(function(a){if("es6"==e.metadata.format||!e.metadata.format&&n(a))return e.metadata.format="es6",a;if("register"==e.metadata.format){if(!t.global.$traceurRuntime&&e.source.match(s))return t.import("traceur-runtime").then(function(){return a});if(!t.global.babelHelpers&&e.source.match(l))return t.import("babel/external-helpers").then(function(){return a})}return"traceur"==t.transpiler?Promise.all([r||(r=t.normalize(t.transpiler)),o||(o=t.normalize(t.transpiler+"-runtime"))]).then(function(t){return e.name==t[0]||e.name==t[1]?"(function() { var curSystem = System; "+a+"\nSystem = curSystem; })();":a}):a})}}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}o.lastIndex=a.lastIndex=i.lastIndex=0;var n,r=[],s={},l=[],u=[];if(e.length/e.split("\n").length<200){for(;n=i.exec(e);)l.push([n.index,n.index+n[0].length]);for(;n=a.exec(e);)t(l,n)||u.push([n.index,n.index+n[0].length])}for(;n=o.exec(e);)if(!t(l,n)&&!t(u,n)){var c=n[1].substr(1,n[1].length-2);if(c.match(/"|'/))continue;r.push(c),s[c]=n.index}return{deps:r,info:s}}function n(e,t){var n=this;return function(r){var o=t[r];return n._getLineAndColumnFromPosition(e.source,o)}}e._extensions.push(f),e._determineFormat=Function.prototype;var r=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.])|Object.defineProperty\(\s*module\s*,\s*(?:'|")exports(?:'|"))/,o=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*')\s*\)/g,a=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,i=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g,s=e.instantiate;e.instantiate=function(a){if(a.metadata.format||(r.lastIndex=0,o.lastIndex=0,(o.exec(a.source)||r.exec(a.source))&&(a.metadata.format="cjs",this._determineFormat(a))),"cjs"==a.metadata.format){var i=t(a.source);a.metadata.deps=a.metadata.deps?a.metadata.deps.concat(i.deps):i.deps,a.metadata.getImportPosition=n.call(this,a,i.info),a.metadata.executingRequire=!0,a.metadata.execute=function(t,n,r){var o=(a.address||"").split("/");o.pop(),o=o.join("/"),b._nodeRequire&&(o=o.substr(5));e.global._g={global:e.global,exports:n,module:r,require:t,__filename:b._nodeRequire?a.address.substr(5):a.address,__dirname:o};var i=e.global.define;e.global.define=void 0;var s={name:a.name,source:"(function() {\n(function(global, exports, module, require, __filename, __dirname){\n"+a.source+"\n}).call(_g.exports, _g.global, _g.exports, _g.module, _g.require, _g.__filename, _g.__dirname);})();",address:a.address};try{e.__exec(s)}catch(t){throw e.StackTrace&&(e.StackTrace.parse(t)||(t.stack=new e.StackTrace(t.message,[e.StackTrace.item("<anonymous>",a.address,1,0)]).toString())),t}e.global.define=i,e.global._g=void 0}}return s.call(this,a)}}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);)if(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;var u=a.index-1;u>-1&&"."===e.charAt(u)||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,u=!1;"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 c,f,p;if(-1!=(c=y.call(s,"require"))){s.splice(c,1);var h=l.toString();s=s.concat(t(h,c))}-1!=(f=y.call(s,"exports"))&&(s.splice(f,1),h||(h=l.toString(),u=g.test(h))),-1!=(p=y.call(s,"module"))&&s.splice(p,1);var m={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!=p&&a.splice(p,0,o),-1!=f&&a.splice(f,0,n),-1!=c&&a.splice(c,0,r(o.id,t,e));var u=l.apply(d,a);if(void 0===u&&o&&(u=o.exports),void 0!==u)return u}};if(i){var v=x&&x.metadata&&x.metadata.parsedModuleName;v&&v.version&&(v.modulePath===i||v.packageName===i)&&e.register(v.moduleName,m.deps,!1,m.execute),b=0!=s.length||b||_?null:m,_=!0,e.register(i,m.deps,!1,m.execute)}else{if(b)throw new TypeError("Multiple defines for anonymous module");b=m}e.defined[i]&&(e.defined[i].isESModule=u)}var o=e.onScriptLoad;e.onScriptLoad=function(e){o(e),(b||_)&&(e.metadata.format="defined",e.metadata.registered=!0),b&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(b.deps):b.deps,e.metadata.execute=b.execute)},n.amd={},e.amdDefine=n}function a(e,t){e.amdDefine||o(e),b=null,_=null,x=t;var n=e.global;w=n.module,j=n.exports,S=n.define,n.module=void 0,n.exports=void 0,n.define&&n.define===e.amdDefine||(n.define=e.amdDefine)}function i(e){var t=e.global;t.define=S,t.module=w,t.exports=j,x=void 0}var s="undefined"!=typeof module&&module.exports;e._extensions.push(p);var l=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*(("[^"]+"|'[^']+')\s*,|\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*(\s*("[^"]+"|'[^']+')\s*,?)?(\s*(\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*\s*\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/,u=/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/gm,c=/(function|var|let|const|return|export|\"|\'|\(|\=)$/i,f=/\(([^\)]*)\)/,h=/^\s+|\s+$/g,m={},v={"/*":/[\s\S]*?\*\//g,"//":/[^\r\n]+(?:\r?\n|$)/g,'"':/(?:\\[\s\S]|[^\\])*?"/g,"'":/(?:\\[\s\S]|[^\\])*?'/g,"`":/(?:\\[\s\S]|[^\\])*?`/g,require:/\s*\(\s*(['"`])((?:\\[\s\S]|(?!\1)[^\\])*?)\1\s*\)/g,"/regexp/":/\/(?:(?:\\.|[^\/\r\n])+?)\//g},g=/Object\.defineProperty\([A-Za-z]+, ?['"]__esModule['"], ?{ ?value: ?(!0|true) ?}\)/;e.amdRequire=function(){return n.apply(this,arguments)};var b,_,x,w,j,S;if(o(e),e.scriptLoader){var E=e.fetch;e.fetch=function(e){return a(this,e),E.call(this,e)}}var O=e.instantiate;e.instantiate=function(e){var t=this,n=e.source.replace(u,"$1"),r=n.match(l);if("amd"==e.metadata.format||!e.metadata.format&&r){var o=n.substring(0,n.indexOf(r[0])).replace(h,"");if(!c.test(o)){if(e.metadata.format="amd",!1!==t.execute&&(a(t,e),t.__exec(e),i(t),!b&&!_&&!s))throw new TypeError("AMD module "+e.name+" did not define");b&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(b.deps):b.deps,e.metadata.execute=b.execute)}}return O.call(t,e)}}function h(e){function t(e,t){return!(e.length<t.length)&&(e.substr(0,t.length)==t&&(!e[t.length]||"/"==e[t.length]))}function n(e){for(var t=1,n=0,r=e.length;n<r;n++)"/"===e[n]&&t++;return t}function r(e,t,n){return n+e.substr(t)}function o(e,o,a){var i,s,l,u,c=0,d=0;if(o)for(var f in a.map)if("object"==typeof(h=a.map[f])&&t(o,f)&&!((l=n(f))<=d))for(var p in h)t(e,p)&&((u=n(p))<=c||(i=p,c=u,s=f,d=l));if(i)return r(e,i.length,a.map[s][i]);for(var f in a.map){var h=a.map[f];"string"==typeof h&&(t(e,f)&&((u=n(f))<=c||(i=f,c=u)))}return i?r(e,i.length,a.map[i]):e}e.map=e.map||{},e._extensions.push(h);var a=e.normalize;e.normalize=function(e,t,n){var r=this,i=e;r.map||(r.map={});var s=!1;return"/"==i.substr(i.length-1,1)&&(s=!0,i+="#"),Promise.resolve(a.call(r,i,t,n)).then(function(e){var n=o(e,t,r);if(s){var a=n.split("/");a.pop();var i=a.pop();a.push(i),a.push(i),n=a.join("/")}return n})}}function m(e){void 0===y&&(y=Array.prototype.indexOf),e._extensions.push(m);var t=e.normalize;e.normalize=function(e,n,r){var o,a=this,i=n;return i&&-1!=(o=i.indexOf("!"))&&(i=i.substr(0,o)),Promise.resolve(t.call(a,e,i,r)).then(function(e){var t=e.lastIndexOf("!");if(-1!=t){var n=e.substr(0,t),o=e.substr(t+1)||n.substr(n.lastIndexOf(".")+1);return new Promise(function(e){e(a.normalize(o,i,r))}).then(function(e){return o=e,a.normalize(n,i,r,!0)}).then(function(e){return e+"!"+o})}return e})};var n=e.locate;e.locate=function(e){var t=this,r=e.name;if(this.defined&&this.defined[r])return n.call(this,e);var o=r.lastIndexOf("!");if(-1!=o){var a=r.substr(o+1);e.name=r.substr(0,o);var i=t.pluginLoader||t;return i.import(a,{metadata:{importingModuleName:r}}).then(function(){var n=i.get(a);return!1===(n=n.default||n).build&&t.pluginLoader&&(e.metadata.build=!1),e.metadata.plugin=n,e.metadata.pluginName=a,e.metadata.pluginArgument=e.name,e.metadata.buildType=n.buildType||"js",n.locate?n.locate.call(t,e):Promise.resolve(t.locate(e)).then(function(e){return e.replace(/\.js$/,"")})})}return n.call(this,e)};var r=e.fetch;e.fetch=function(e){var t=this;return!1===e.metadata.build&&t.pluginLoader?"":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 o=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(n){return"string"==typeof n&&(e.metadata.originalSource=e.source,e.source=n),o.call(t,e)}):o.call(t,e)};var a=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(n){return n||a.call(t,e)}):e.metadata.plugin&&!1===e.metadata.plugin.build?(e.metadata.format="defined",e.metadata.deps.push(e.metadata.pluginName),e.metadata.execute=function(){return t.newModule({})},a.call(t,e)):a.call(t,e)}}function v(e){void 0===y&&(y=Array.prototype.indexOf),e._extensions.push(v),e.bundles=e.bundles||{};var t=e.fetch;e.fetch=function(e){var n=this;if(n.trace)return t.call(this,e);n.bundles||(n.bundles={});for(var r in n.bundles)if(-1!=y.call(n.bundles[r],e.name))return Promise.resolve(n.normalize(r)).then(function(e){return n.bundles[e]=n.bundles[e]||n.bundles[r],n.meta=n.meta||{},n.meta[e]=n.meta[e]||{},n.meta[e].bundle=!0,n.load(e)}).then(function(){return""});return t.call(this,e)}}function g(e){e.depCache=e.depCache||{},e._extensions.push(g);var t=e.locate;e.locate=function(e){var n=this;n.depCache||(n.depCache={});var r=n.depCache[e.name];if(r)for(var o=0;o<r.length;o++)n.load(r[o]);return t.call(n,e)}}e.upgradeSystemLoader=void 0;var b,y=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},_="undefined"!=typeof process&&!!process.platform.match(/^win/);!function(){var t=e.System;(b=e.System=new LoaderPolyfill(t)).baseURL=t.baseURL,b.paths={"*":"*.js"},b.originalSystem=t}(),b.noConflict=function(){e.SystemJS=b,e.System=b.originalSystem};var x=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(e){x=!1}var w;!function(){try{Object.defineProperty({},"a",{})&&(w=Object.defineProperty)}catch(e){w=function(e,t,n){try{e[t]=n.value||n.get.call(e)}catch(e){}}}}();var j=e.System.originalSystem;s(b),l(b),u(b),c(b),d(b),f(b),p(b),h(b),m(b),v(b),g(b)};var t,n;!function(){function r(e,n){for(var r=0;r<e.length;r++)void 0!==t&&-1!=e[r].indexOf(t.src)||n.push(e[r])}function o(e,t,n,o){var i=[];e.originalErr||r((e.stack||e.message||e).toString().split("\n"),i),e.originalErr&&!i.length&&r(e.originalErr.stack.toString().split("\n"),i);var s=e instanceof SyntaxError;if(n&&s&&!e.originalErr&&i.length&&-1===e.stack.indexOf(n))for(var l=0;l<i.length;l++)if(/(    at )|(@http)/.test(i[l])){i.splice(l,1,"    at eval ("+n+":1:1)"),e.stack=i.join("\n\t");break}var u=e.message;c||(u=u.replace(h?/file:\/\/\//g:/file:\/\//g,""));var d=e.constructor||Error,f=y?new d(u,e.fileName,e.lineNumber):new d(u);return c?i&&(f.stack=i.join("\n\t")):f.stack=i.join("\n\t"),f.originalErr=e.originalErr||e,f.firstErr=e.firstErr||f,f.onModuleExecution=!0,s?(f.onlyIncludeCodeFrameIfRootModule=!0,a(f,t)):f}function a(e,t){if("function"!=typeof Error.captureStackTrace)return e;var n=e.firstErr&&e.firstErr.logError||i.bind(null,t);return Object.defineProperty(e,"logError",{enumerable:!1,value:n})}function i(e,t){setTimeout(function(){new Function(e)})}var s,l,u="undefined"==typeof window&&"undefined"!=typeof self&&"undefined"!=typeof importScripts,c="undefined"!=typeof window&&"undefined"!=typeof document,d="object"==typeof process&&"[object process]"==={}.toString.call(process),f=!!(d&&global.nw&&global.nw.process),p=c&&!f&&window.chrome&&window.chrome.extension,h="undefined"!=typeof process&&!!process.platform.match(/^win/);if(s=function(e,t,n){try{new Function(e).call(n)}catch(n){throw o(n,e,t)}},u)e.upgradeSystemLoader();else if(!c&&!f||p){if(d){var m=require("./src/loader");e.System=m.System,e.Loader=m.Loader,e.upgradeSystemLoader(),module.exports=e.System;var v=require("vm");s=function(e){v.runInThisContext(e)}}}else{var g,b=document.getElementsByTagName("script");t=b[b.length-1],l=function(e){g||(g=document.head||document.body||document.documentElement);var t=document.createElement("script");t.text=e;var n,r=window.onerror;if(window.onerror=function(e){n=e},g.appendChild(t),g.removeChild(t),window.onerror=r,n)throw n},e.upgradeSystemLoader()}var y="_"==new Error(0,"_").fileName;n=function(e,t,n,r,o){var a=e;a+="\n//# sourceURL="+t+(r?"\n//# sourceMappingURL="+r:""),"script"===o&&"function"==typeof l?l(a):s(a,t,n)}}()}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:global),function(e){var t=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},n=function(e,t){var n,r;if("number"==typeof e.length&&e.length-1 in e)for(n=0,r=e.length;n<r;n++)t.call(e[n],e[n],n,e);else for(n in e)e.hasOwnProperty(n)&&t.call(e[n],e[n],n,e);return e},r=function(e,t){var r=[];return n(e,function(e,n){r[n]=t(e,n)}),r},o=function(e){return"string"==typeof e},a=function(e,t){return n(t,function(t,n){e[n]=t}),e},i=function(e){var t=e.lastIndexOf("/");return-1===t&&(t=e.lastIndexOf("\\")),-1!==t?e.substr(0,t):e},s=function(e){return e[e.length-1]},l=function(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},u=function(e,t){return t=l(t||""),e=l(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.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)?"/":"")}(t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname)+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null},c=function(e,t){for(var n=t.split("/"),r=e.split("/"),o=[];n.length&&r.length&&n[0]==r[0];)n.shift(),r.shift();for(var a=0;a<r.length-1;a++)o.push("../");return"./"+o.join("")+n.join("/")},d=Function.prototype.bind,f=function(e){return!!(e&&e.constructor&&e.call&&e.apply)},p="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,h=!(g="object"==typeof process&&"[object process]"==={}.toString.call(process))&&"undefined"!=typeof window,m=g&&function(){try{return"undefined"!==require("nw.gui")}catch(e){return!1}}(),v=g&&!!process.versions.electron,g=g&&!m&&!v,b=h||m||v,y=b&&document.currentScript,_="object"==typeof console?d.call(console.warn,console):function(){},x=function(e){var t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));var n=(-1==t?e:e.substr(t+1)).match(/^[\w-\s\.!]+/);return n?n[0]:""},w=function(e){var t=x(e),n=t.lastIndexOf(".");return-1!==n?t.substr(n+1):""},j=function(e,t){var n=e,r=n.lastIndexOf("!"),o="";if(-1!=r){var a=n.substr(0,r);o="!"+n.substr(r+1),n=a}var i=x(n),s=w(n);return"/"===n[n.length-1]?n+x(n.substr(0,n.length-1))+o:/^(\w+(?:s)?:\/\/|\.|file|\/)/.test(n)||-1!==i.indexOf(".")?"js"===s?n.substr(0,n.lastIndexOf("."))+o:n+o:n+"/"+i+o},S=function(e){var t=e||this.System,n=E(t.clone());return n.loader.set("@steal",n.loader.newModule({default:n,__useDefault:!0})),n.clone=S,n},E=function(e){var m=function(t){void 0!==e&&f(t)&&(e._extensions&&e._extensions.push(t),t(e))};e.set("@loader",e.newModule({default:e,__useDefault:!0})),e.set("less",e.newModule({__useDefault:!0,default:{fetch:function(){throw new Error(["steal-less plugin must be installed and configured properly","See https://stealjs.com/docs/steal-less.html"].join("\n"))}}})),e.config({map:{"@loader/@loader":"@loader","@steal/@steal":"@steal"}});var v,w,S,E=function(){var t=arguments,r=function(){var e,r=[];n(t,function(t){o(t)?r.push(E.System.import(j(t))):"function"==typeof t&&(e=t)});var a=Promise.all(r);return e?a.then(function(t){return e&&e.apply(null,t)}):a};return e.isEnv("production")?r():v.then(r,r)};e.set("@steal",e.newModule({default:E,__useDefault:!0}));var O=e.clone;e.clone=function(){var e=O.apply(this,arguments);return e.set("@loader",e.newModule({default:e,__useDefault:!0})),e.set("@steal",e.newModule({default:E,__useDefault:!0})),e},E.System=E.loader=e,E.parseURI=l,E.joinURIs=u,E.normalize=j,E.relativeURI=c,E.addExtension=m,m(function(e){e.ext={};var t=e.normalize,n=/\.(\w+)!?$/;e.normalize=function(r,o,a,i){if(i)return t.apply(this,arguments);var s=r.match(n),l=r;if(s){var u="!"===r[r.length-1],c=s[1];o&&e.configMain!==r&&".js"===s[0]?l=r.substr(0,r.lastIndexOf(".")):e.ext[c]&&(l=r+(u?"":"!")+e.ext[c])}return t.call(this,l,o,a)}}),m(function(e){var t=e.normalize,n=/@.+#.+/;e.normalize=function(e,r,o,a){var i,s,l=e.length-1,u=e;return"/"===e[l]&&(i=e.substring(0,l).lastIndexOf("/"),s=e.substring(i+1,l),n.test(s)&&(s=s.substr(s.lastIndexOf("#")+1)),u+=s),t.call(this,u,r,o,a)}}),m(function(e){var t=function(e,t){var n=this;return Promise.resolve(n.normalize(e,t)).then(function(e){return n.locate({name:e,metadata:{}})}).then(function(e){var t=e;return".js"===e.substr(e.length-3)&&(t=e.substr(0,e.length-3)),t})},n=function(e,t){for(var n=t.split("/"),r=e.split("/"),o=[];n.length&&r.length&&n[0]==r[0];)n.shift(),r.shift();for(var a=0;a<r.length-1;a++)o.push("../");return o.join("")+n.join("/")},r=/(locate):\/\/([a-z0-9/._@-]*)/gi,o=function(e,t){var o=[];return e.replace(r,function(e,r,a,i){o.push({start:i,end:i+e.length,name:a,postLocate:function(e){return n(t,e)}})}),o},a=e.translate;e.translate=function(e){var n=this;if(!e.metadata.plugin)return a.call(this,e);if(!e.metadata.plugin.locateScheme)return a.call(this,e);var r=o(e.source,e.address);if(!r.length)return a.call(this,e);for(var i=[],s=0,l=r.length;s<l;s++)i.push(t.call(this,r[s].name,e.name));return Promise.all(i).then(function(t){for(var o=r.length-1;o>=0;o--)e.source=e.source.substr(0,r[o].start)+r[o].postLocate(t[o])+e.source.substr(r[o].end,e.source.length);return a.call(n,e)})}}),m(function(e){e._contextualModules={},e.setContextual=function(e,t){this._contextualModules[e]=t};var t=e.normalize;e.normalize=function(e,n){var r=this,o=r.pluginLoader||r;if(n){var a=this._contextualModules[e];if(a){var i=e+"/"+n;return r.has(i)?Promise.resolve(i):("string"==typeof a&&(a=o.import(a)),Promise.resolve(a).then(function(e){var t=e;return t.default&&(t=t.default),Promise.resolve(t.call(r,n))}).then(function(e){return r.set(i,r.newModule(e)),i}))}}return t.apply(this,arguments)}}),m(function(e){function t(){document.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),n()}function n(){for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n++){var r=t[n];if("steal-module"==r.type||"text/steal-module"==r.type){var o=r.innerHTML;/\S/.test(o)&&e.module(o).catch(function(e){setTimeout(function(){throw e})})}}}e.loadScriptModules=function(){h&&("complete"===document.readyState?setTimeout(n):document.addEventListener&&(document.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)))}}),m(function(e){function t(e){n=null,e.global.module=void 0,e.global.exports=void 0,e.global.steal=function(){for(var t,r=[],o=0;o<arguments.length;o++)"string"==typeof arguments[o]?r.push(j(arguments[o])):t=arguments[o];"function"!=typeof t&&(t=function(e){return function(){return e}}(t)),n={deps:r,execute:function(n,o,a){for(var i=[],s=0;s<r.length;s++)i.push(n(r[s]));var l=t.apply(e.global,i);if(void 0!==l)return l}}}}var n,r=/(?:^\s*|[}{\(\);,\n\?\&]\s*)steal\s*\(\s*((?:"[^"]+"\s*,|'[^']+'\s*,\s*)*)/,o=e.instantiate;e.instantiate=function(e){var a=this;if("steal"===e.metadata.format||!e.metadata.format&&e.source.match(r)){e.metadata.format="steal";var i=a.global.steal;if(t(a),a.__exec(e),a.global.steal=i,!n)throw"Steal module "+e.name+" did not call steal";n&&(e.metadata.deps=e.metadata.deps?e.metadata.deps.concat(n.deps):n.deps,e.metadata.execute=n.execute)}return o.call(a,e)}}),m(function(e){var t=e.instantiate,n="object"==typeof console?Function.prototype.bind.call(console.warn,console):null;e._instantiatedModules||Object.defineProperty(e,"_instantiatedModules",{value:Object.create(null),writable:!1}),e._pendingState=function(t){delete e._instantiatedModules[t.address]},e.instantiate=function(e){var r=e.address,o=this,a=o._instantiatedModules;if(n&&r&&a[r]){var i=o._traceData&&o._traceData.loads||{},s=o._traceData&&o._traceData.parentMap||{},l=a[e.address];if(1===l.length&&l[0]===e.name)return t.apply(o,arguments);var u=l.concat(e.name).map(function(e){return"\t"+e+"\n"+(s[e]?Object.keys(s[e]):[]).map(function(e){return"\t\t - "+i[e].address}).join("\n")}).join("\n\n");n(["The module with address "+e.address+" is being instantiated twice.","This happens when module identifiers normalize to different module names.\n","Modules:\n"+(u||"")+"\n","HINT: Import the module using the ~/[modulePath] identifier.\nLearn more at https://stealjs.com/docs/moduleName.html and https://stealjs.com/docs/tilde.html"].join("\n"))}else o._configLoaded&&r&&(a[e.address]=[e.name]);return t.apply(o,arguments)};var r=e.delete;e.delete=function(e){var t=r.apply(this,arguments),n=this.getModuleLoad(e);return n&&(this._instantiatedModules[n.address]=void 0),t}}),m(function(e){function t(e,t,n){var r=e.meta[t.name];if(r&&r.deps&&r.deps.length){var o=r.deps.map(n).join("\n");t.source=o+"\n"+t.source}}function n(e){return'import "'+e+'";'}function r(e){return'require("'+e+'");'}var o=e.transpile,a=e._determineFormat;e.transpile=function(e){return t(this,e,n),o.apply(this,arguments)},e._determineFormat=function(e){return"cjs"===e.metadata.format&&t(this,e,r),a.apply(this,arguments)}}),m(function(e){function t(e,t){this.message=e,this.items=t}function n(e){var t=e.split("\n"),n=a(t.map(o));if(n.length>0)return n;var i=a(t.map(r));if(i.length>0)return i;throw new Error("Unknown stack format: "+e)}function r(e){var t=e.match(l);if(!t)return null;var n=t[1]||"";return{method:n,fnName:n,url:t[2]||"",line:parseInt(t[3])||0,column:parseInt(t[4])||0}}function o(e){var t=e.match(u)||e.match(c);if(!t)return null;var n=t[3].match(d);if(!n)return null;var r=t[2]||"";return t[1]&&(r="eval at "+r),{method:r,fnName:r,url:n[1]||"",line:parseInt(n[2])||0,column:parseInt(n[3])||0}}function a(e){var t=[];return e.forEach(function(e){e&&t.push(e)}),t}function i(e){var t=/at position ([0-9]+)/.exec(e);if(t&&t.length>1)return Number(t[1])}function s(e,t){for(var n=0;n<e.items.length;n++)if(e.items[n].url===t)return e.items[n]}t.prototype.toString=function(){for(var e,n,r=["Error: "+this.message],o=0,a=this.items.length;o<a;o++)n="    at ",(e=this.items[o]).fnName&&(n+=e.fnName+" "),n+=t.positionLink(e),r.push(n);return r.join("\n")},t.positionLink=function(e){var t=e.line||0,n=e.column||0;return"("+e.url+":"+t+":"+n+")"},t.item=function(e,t,n,r){return{method:e,fnName:e,url:t,line:n,column:r}};var l=/^(?:([^@]*)@)?(.*?):(\d+)(?::(\d+))?$/,u=/^\s*(eval )?at (.*) \((.*)\)$/,c=/^\s*at()() (\S+)$/,d=/^\(?([^\(]+):(\d+):(\d+)\)?$/;t.parse=function(e){try{var r=n(e.stack||e);if(r.length)return new t(e.message,r)}catch(e){return}},e.StackTrace=t;var f=function(){var e={};return e.__proto__={bar:"baz"},"baz"===e.bar}();e.loadCodeFrame=function(){if(!f)return Promise.resolve();this.global.process||(this.global.process={argv:"",env:{}});var e=this.pluginLoader||this;return e.isEnv("production")?Promise.resolve():e.import("@@babel-code-frame")},e._parseJSONError=function(e,t){var n=i(e.message);return n?this._getLineAndColumnFromPosition(t,n):{line:0,column:0}};var p=/at position( |:)([0-9]+)/,h=/at line ([0-9]+) column ([0-9]+)/;e._parseSyntaxErrorLocation=function(e,t){var n=p.exec(e.message);if(n&&3===n.length){var r=Number(n[2]);return this._getLineAndColumnFromPosition(t.source,r)}if((n=h.exec(e.message))&&3===n.length)return{line:Number(n[1]),column:Number(n[2])}},e._addSourceInfoToError=function(e,n,r,o){return this.loadCodeFrame().then(function(a){if(a){var i=a(r.metadata.originalSource||r.source,n.line,n.column);e.message+="\n\n"+i+"\n"}var s=new t(e.message,[t.item(o,r.address,n.line,n.column)]);return e.stack=s.toString(),Promise.reject(e)})},e.rejectWithCodeFrame=function(e,n){var r,o=t.parse(e);return(r=e.onlyIncludeCodeFrameIfRootModule?o&&o.items[0]&&o.items[0].url===n.address&&o.items[0]:s(o,n.address))?this.loadCodeFrame().then(function(t){if(t){var a=new Error(e.message),i=r.line,s=r.column;"cjs"===n.metadata.format&&(i-=3);var l=t(n.metadata.originalSource||n.source,i,s);return l?(a.message+="\n\n"+l+"\n",o.message=a.message,a.stack=o.toString(),Promise.reject(a)):Promise.reject(e)}return Promise.reject(e)}):Promise.reject(e)}}),m(function(e){e.prettyName=function(e){var t=e.metadata.parsedModuleName;return t?t.packageName+"/"+t.modulePath:e.name}}),m(function e(t){function n(e,t){var n;for(n in e)t(n,e[n])}function r(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}function n(e){for(;o=e.exec(r);)if(!t(i,o)){var n=o[1];a.push(n)}}var r=e.replace(d,"");u.lastIndex=d.lastIndex=c.lastIndex=f.lastIndex=0;var o,a=[],i=[];if(e.length/e.split("\n").length<200)for(;o=f.exec(r);)i.push([o.index,o.index+o[0].length]);return n(u),n(c),a}t._extensions&&t._extensions.push(e),t._traceData={loads:{},parentMap:{}},t.getDependencies=function(e){var t=this.getModuleLoad(e);return t?t.metadata.dependencies:void 0},t.getDependants=function(e){var t=[];return n(this._traceData.parentMap[e]||{},function(e){t.push(e)}),t},t.getModuleLoad=function(e){return this._traceData.loads[e]},t.getBundles=function(e,t){var r=t||{};r[e]=!0;var o=this,a=o._traceData.parentMap[e];if(!a)return[e];var i=[];return n(a,function(e,t){r[e]||(i=i.concat(o.getBundles(e,r)))}),i},t.getImportSpecifier=function(e,t){for(var n,r=0;r<t.metadata.dependencies.length;){if(t.metadata.dependencies[r]===e){n=t.metadata.deps[r];break}r++}if(n){if(t.metadata.importSpecifiers)return(t.metadata.importSpecifiers[n]||{}).start;if(t.metadata.getImportPosition)return t.metadata.getImportPosition(n)}},t._allowModuleExecution={},t.allowModuleExecution=function(e){var t=this;return t.normalize(e).then(function(e){t._allowModuleExecution[e]=!0})};var o=t.normalize;t.normalize=function(e,t){var n=o.apply(this,arguments);if(t){var r=this._traceData.parentMap;return n.then(function(e){return r[e]||(r[e]={}),r[e][t]=!0,e})}return n};var a=function(){return t.newModule({})},i={traceur:!0,babel:!0},s=function(e){return i[e.name]||this._allowModuleExecution[e.name]},l=[].map||function(e){for(var t=[],n=0,r=this.length;n<r;n++)t.push(e(this[n]));return t},u=/import [\s\S]*?["'](.+)["']/g,c=/export .+ from ["'](.+)["']/g,d=/(?:(?:^|\s)\/\/(.+?)$)|(?:\/\*([\S\s]*?)\*\/)/gm,f=/(?:("|')[^\1\\\n\r]*(?:\\.[^\1\\\n\r]*)*\1|`[^`]*`)/g,p=t.instantiate;t.instantiate=function(e){function t(t){var r=n.preventModuleExecution&&!s.call(n,e),o=t?t.deps:e.metadata.deps;return Promise.all(l.call(o,function(t){return n.normalize(t,e.name)})).then(function(n){return e.metadata.deps=o,e.metadata.dependencies=n,r?{deps:o,execute:a}:t})}this._traceData.loads[e.name]=e;var n=this;return Promise.resolve(p.apply(this,arguments)).then(function(n){if(!n){var o=r(e.source);e.metadata.deps=o}return t(n)})};var h=t.transpile;t.transpile=function(e){var t=e.metadata.transpiledSource;return t?(delete e.metadata.transpiledSource,Promise.resolve(t)):h.apply(this,arguments)},t.eachModule=function(e){for(var t in this._loader.modules)e.call(this,t,this.get(t))}}),m(function(e){function t(e){var t=e;return!!t&&(t=t.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@"),t=t.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]"),t=t.replace(/(?:^|:|,)(?:\s*\[)+/g,""),/^[\],:{}\s]*$/.test(t))}function n(e){if(("json"===e.metadata.format||!e.metadata.format)&&(t(e.source)||r.test(e.name)))try{return JSON.parse(e.source)}catch(t){if(t instanceof SyntaxError){var n=this._parseSyntaxErrorLocation(t,e);if(n){var o="Unable to parse "+e.address,a=new SyntaxError(o);throw a.promise=this._addSourceInfoToError(a,n,e,"JSON.parse"),a}}return _("Error parsing "+e.address+":",t),{}}}var r=/\.json$/i,o=/\.js$/i,a=e.locate;e.locate=function(e){return a.apply(this,arguments).then(function(t){return r.test(e.name)?t.replace(o,""):t})};var i=function(e,t,n){var r=e.jsonOptions&&e.jsonOptions.transform;return r?r.call(e,t,n):n};if(!g){var s=e.instantiate;return e.instantiate=function(e){var t,r=this;return(t=n.call(this,e))&&(t=i(r,e,t),e.metadata.format="json",e.metadata.execute=function(){return t}),s.call(r,e)},e}var l=e.translate;e.translate=function(e){var t=e.metadata.address||e.address;if(r.test(t)&&-1===e.name.indexOf("!")){var o=n.call(this,e);if(o)return o=i(this,e,o),"define([], function(){\n\treturn "+JSON.stringify(o)+"\n});"}return l.call(this,e)}}),m(function(e){var t=e.fetch;e.fetch=function(e){var n=this;if(n.isEnv("production")&&n.cacheVersion){var r=n.cacheVersion,o=(n.cacheKey||"version")+"="+r;e.address=e.address+(-1===e.address.indexOf("?")?"?":"&")+o}return t.call(this,e)}});var P=function(e,t,n){e[t]||(e[t]=n)};e.configMain="@config",e.devBundle="@empty",e.depsBundle="@empty",e.paths[e.configMain]="stealconfig.js",e.env=(p?"worker":"window")+"-development",e.ext=Object.create(null),e.logLevel=0;P(e.paths,"bundles/*.css","dist/bundles/*css"),P(e.paths,"bundles/*","dist/bundles/*.js");var M=function(t){return{order:t,set:function(t){var n=x(t),r=i(t);g||(e.configPath=u(location.href,t)),e.configMain=n,e.paths[n]=n,this.config({baseURL:(r===t?".":r)+"/"})}}},L=function(e,t){return{order:t,set:function(t){this[e]=t}}},k=function(e,t){return{order:t,set:function(t){this[e]=!!t&&"false"!==t}}},I=function(e){var t=e;return g&&!/^file:/.test(t)?("."===t[0]&&("/"===t[1]||"."===t[1]&&"/"===t[2])&&(t=require("path").join(process.cwd(),t)),t?"file:"+t:t):t},R=function(e){var t=e.lastIndexOf("!");if(-1!==t)return e.substr(t+1)},T=function(e){var t=e.lastIndexOf("!");if(-1!==t)return e.substr(0,t)},$=function(){if(this.loadBundles&&this.main&&!this.stealBundled){var t=this.main,n=this.bundlesName||"bundles/",r=n+t;P(this.meta,r,{format:"amd"});var o=R(e.configMain),a=[t,e.configMain];if(o&&e.set(o,e.newModule({})),o=R(t)){var i=T(t);a.push(o),a.push(i),r=n+i.substr(0,i.indexOf("."))}this.bundles[r]=a}},q=function(){if(this.envs){var e=this.envs[this.env];e&&this.config(e)}},D=function(){if(this.liveReloadInstalled){var e=this;this.import("live-reload",{name:"@@steal"}).then(function(t){t(e.configMain,function(){q.call(e)})})}},N=[],F={map:!0,paths:!0,meta:!0},C={instantiated:{order:1,set:function(e){var t=this;n(e||{},function(e,n){t.set(n,t.newModule(e))})}},envs:{order:2,set:function(e){var t=this.envs;t||(t=this.envs={}),n(e,function(e,r){var o=t[r];o||(o=t[r]={}),n(e,function(e,t){F[t]&&o[t]?a(o[t],e):o[t]=e})})}},env:{order:3,set:function(e){this.env=e,this.isEnv("production")&&(this.loadBundles=!0)}},loadBundles:k("loadBundles",4),stealBundled:k("stealBundled",5),bundle:{order:6,set:function(t){e.bundle=t}},bundlesPath:{order:7,set:function(e){return this.paths["bundles/*.css"]=e+"/*css",this.paths["bundles/*"]=e+"/*.js",e}},meta:{order:8,set:function(e){var t=this;n(e||{},function(e,n){if("object"==typeof e){var r=t.meta[n];if(r&&r.format===e.format){var o=e.deps;a(e,r),o&&(e.deps=o)}}}),a(this.meta,e)}},configMain:L("configMain",9),config:M(10),configPath:M(11),baseURL:function(e,t){return{order:t,set:function(t){this[e]=I(t)}}}("baseURL",12),main:L("main",13),stealPath:{order:14,set:function(t,n){var r=I(t),o=r.split("/");if(P(this.paths,"@dev",r+"/ext/dev.js"),P(this.paths,"npm",r+"/ext/npm.js"),P(this.paths,"npm-extension",r+"/ext/npm-extension.js"),P(this.paths,"npm-utils",r+"/ext/npm-utils.js"),P(this.paths,"npm-crawl",r+"/ext/npm-crawl.js"),P(this.paths,"npm-load",r+"/ext/npm-load.js"),P(this.paths,"npm-convert",r+"/ext/npm-convert.js"),P(this.paths,"semver",r+"/ext/semver.js"),P(this.paths,"bower",r+"/ext/bower.js"),P(this.paths,"live-reload",r+"/ext/live-reload.js"),P(this.paths,"steal-clone",r+"/ext/steal-clone.js"),this.paths.traceur=r+"/ext/traceur.js",this.paths["traceur-runtime"]=r+"/ext/traceur-runtime.js",this.paths.babel=r+"/ext/babel.js",this.paths["babel-runtime"]=r+"/ext/babel-runtime.js",this.paths["@@babel-code-frame"]=r+"/ext/babel-code-frame.js",P(this.meta,"traceur",{exports:"traceur"}),P(this.meta,"@@babel-code-frame",{format:"global",exports:"BabelCodeFrame"}),this.setContextual("steal-clone","steal-clone"),g)"@config"===this.configMain&&"steal"===s(o)&&(o.pop(),"node_modules"===s(o)&&(this.configMain="package.json!npm",o.pop())),(this.isEnv("production")||this.loadBundles)&&$.call(this);else if(!n.baseURL&&!n.config&&!n.configPath){if("steal"===s(o)){o.pop();var a=!1;s(o)!==n.bowerPath&&"bower_components"!==s(o)||(e.configMain="bower.json!bower",$.call(this),o.pop(),a=!0),"node_modules"===s(o)&&(e.configMain="package.json!npm",$.call(this),o.pop(),a=!0),a||o.push("steal")}this.config({baseURL:o.join("/")+"/"})}e.stealPath=r}},stealURL:{order:15,set:function(t,n){var r=t.split("?").shift(),o=r.split("/"),a=o.pop(),i=o.join("/"),s=this.getPlatform()||(p?"worker":"window");e.stealURL=r,(this.stealBundled&&!0===this.stealBundled||a.indexOf("steal.production")>-1||a.indexOf("steal-sans-promises.production")>-1&&!n.env)&&this.config({env:s+"-production"}),(this.isEnv("production")||this.loadBundles)&&$.call(this),C.stealPath.set.call(this,i,n)}},devBundle:{order:16,set:function(e,t){var n=!0===e?"dev-bundle":e;n&&(this.devBundle=n)}},depsBundle:{order:17,set:function(e,t){var n=!0===e?"dev-bundle":e;n&&(this.depsBundle=n)}}};n(C,function(e,t){e.order?N.splice(e.order,0,t):N.push(t)}),function(e,t,r){var o=e.config;e.config=function(i){var s=a({},i);n(t,function(t){var n=r[t];if(n.set&&s[t]){var o=n.set.call(e,s[t],i);void 0!==o&&(e[t]=o),delete s[t]}}),o.call(this,s)}}(e,N,C),E.config=function(e){if("string"==typeof e)return this.loader[e];this.loader.config(e)},m(function(e){e.getEnv=function(){return(this.env||"").split("-")[1]||this.env},e.getPlatform=function(){var e=(this.env||"").split("-");return 2===e.length?e[0]:void 0},e.isEnv=function(e){return this.getEnv()===e},e.isPlatform=function(e){return this.getPlatform()===e}});var z=function(e){var n={},r=/Url$/,o=e.split("?"),a=o.shift(),i=o.join("?").split("&"),s=a.split("/");s.pop(),s.join("/");if(i.length&&i[0].length)for(var l,u=0;u<i.length;u++){var c=(l=i[u]).split("=");if(c.length>1){var d=t(c[0]);n[d=d.replace(r,"URL")]=c.slice(1).join("=")}}return n},A=function(e){var r={},o=/Url$/;r.stealURL=e.src,n(e.attributes,function(e){var n=e.nodeName||e.name,a=t(0===n.indexOf("data-")?n.replace("data-",""):n);a=a.replace(o,"URL"),r[a]=""===e.value||e.value});var i=e.innerHTML;return/\S/.test(i)&&(r.mainSource=i),a(z(e.src),r)},U=function(){var e=this;return new Promise(function(t,n){if(p)t(a({stealURL:location.href},z(location.href)));else if(b){if(y)return e.script=y,void t(A(y));var r=document.scripts;if(r.length){var o=r[r.length-1];e.script=o,t(A(o))}}else t({stealPath:__dirname})})};return E.startup=function(e){var t,n,o=this,i=this.loader;return v=new Promise(function(e,r){t=e,n=r}),S=U.call(this).then(function(s){function l(e){if(404===e.statusCode&&o.script){var t="This page has "+((i.devBundle?"dev-":"deps-")+"bundle")+" enabled but "+e.url+" could not be retrieved.\nDid you forget to generate the bundle first?\nSee https://stealjs.com/docs/StealJS.development-bundles.html for more information.",n=new Error(t);return n.stack=null,Promise.reject(n)}return Promise.reject(e)}var u;return u="object"==typeof e?a(e,s):s,i.config(u),q.call(i),i.loadBundles?(i.main||!i.isEnv("production")||i.stealBundled||_("Attribute 'main' is required in production environment. Please add it to the script tag."),i.import(i.configMain).then(t,n),v.then(function(e){return q.call(i),i._configLoaded=!0,i.main?i.import(i.main):e})):(i.import(i.devBundle).then(function(){return i.import(i.configMain)},l).then(function(){return i.import(i.depsBundle).then(null,l)}).then(t,n),(w=v.then(function(){return q.call(i),D.call(i),i._configLoaded=!0,u&&i.config(u),i.import("@dev")})).then(function(){if(!i.main||i.localLoader)return v;var e=i.main;return"string"==typeof e&&(e=[e]),Promise.all(r(e,function(e){return i.import(e)}))}))}).then(function(e){return i.mainSource?i.module(i.mainSource):(i.loadScriptModules(),e)})},E.done=function(){return S},E.import=function(){var e=arguments,t=this.System;return v||(t.main||(t.main="@empty"),E.startup()),v.then(function(){var r=[];return n(e,function(e){r.push(t.import(e))}),r.length>1?Promise.all(r):r[0]})},E.setContextual=d.call(e.setContextual,e),E.isEnv=d.call(e.isEnv,e),E.isPlatform=d.call(e.isPlatform,e),E};if(!g||m||v){var O=e.steal;e.steal=E(System),e.steal.startup(O&&"object"==typeof O&&O).then(null,function(e){if("undefined"!=typeof console){var t=console;"function"==typeof e.logError?e.logError(t):t[t.error?"error":"log"](e)}}),e.steal.clone=S}else e.steal=E(System),e.steal.System=System,e.steal.dev=require("./ext/dev.js"),steal.clone=S,module.exports=e.steal}("undefined"==typeof window?"undefined"==typeof global?this:global:window);