!function(t){functione(r){if(n[r])returnn[r].exports;varo=n[r]={exports:{},id:r,loaded:!1};returnt[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}varn={};returne.m=t,e.c=n,e.p="",e(0)}([function(t,exports,e){(function(t){"use strict";varn=e(1),r=e(2),o=e(6),i=e(10);o.Zone.prototype.scheduleMicrotask?console.warn("Zone-microtasks already exported on window the object!"):(n.addMicrotaskSupport(o.Zone),t.Zone=o.Zone,t.zone=newt.Zone,t.Promise=r.Promise,i.apply())}).call(exports,function(){returnthis}())},function(t,exports,e){(function(t){functionn(t){u._asap(this.bind(t))}functionr(t){returnt.prototype.scheduleMicrotask=n,t}varo,i="undefined"!=typeofPromise&&-1!==Promise.toString().indexOf("[native code]"),a=t.navigator&&t.navigator.userAgent.toLowerCase().indexOf("firefox")>-1;i&&!a&&(o=Promise.resolve());varu=e(2).Promise;o&&u._setScheduler(function(t){o.then(t)}),u._setAsap(function(e,n){t.zone.scheduleMicrotask(function(){e(n)})}),exports.addMicrotaskSupport=r}).call(exports,function(){returnthis}())},function(t,exports,e){varn;(function(t,r){/*!
(function(){"use strict";functiono(t){return"function"==typeoft||"object"==typeoft&&null!==t}functioni(t){return"function"==typeoft}functiona(t){return"object"==typeoft&&null!==t}functionu(t){U=t}functionc(t){J=t}functions(){returnfunction(){process.nextTick(h)}}functionp(){returnfunction(){X(h)}}functionf(){vart=0,e=newQ(h),n=document.createTextNode("");returne.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}functionl(){vart=newMessageChannel;returnt.port1.onmessage=h,function(){t.port2.postMessage(0)}}functiond(){returnfunction(){setTimeout(h,1)}}functionh(){for(vart=0;Y>t;t+=2){vare=nt[t],n=nt[t+1];e(n),nt[t]=void0,nt[t+1]=void0}Y=0}functionv(){try{vart=e(4);returnX=t.runOnLoop||t.runOnContext,p()}catch(n){returnd()}}functiony(){}functionm(){returnnewTypeError("You cannot resolve a promise with itself")}functiong(){returnnewTypeError("A promises callback cannot return that same promise.")}functionb(t){try{returnt.then}catch(e){returnat.error=e,at}}functionw(t,e,n,r){try{t.call(e,n,r)}catch(o){returno}}functionk(t,e,n){J(function(t){varr=!1,o=w(n,e,function(n){r||(r=!0,e!==n?T(t,n):O(t,n))},function(e){r||(r=!0,j(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,j(t,o))},t)}functionE(t,e){e._state===ot?O(t,e._result):e._state===it?j(t,e._result):S(e,void0,function(e){T(t,e)},function(e){j(t,e)})}function_(t,e){if(e.constructor===t.constructor)E(t,e);else{varn=b(e);n===at?j(t,at.error):void0===n?O(t,e):i(n)?k(t,e,n):O(t,e)}}functionT(t,e){t===e?j(t,m()):o(e)?_(t,e):O(t,e)}functionP(t){t._onerror&&t._onerror(t._result),L(t)}functionO(t,e){t._state===rt&&(t._result=e,t._state=ot,0!==t._subscribers.length&&J(L,t))}functionj(t,e){t._state===rt&&(t._state=it,t._result=e,J(P,t))}functionS(t,e,n,r){varo=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+ot]=n,o[i+it]=r,0===i&&t._state&&J(L,t)}functionL(t){vare=t._subscribers,n=t._state;if(0!==e.length){for(varr,o,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?A(n,r,o,i):o(i);t._subscribers.length=0}}functionM(){this.error=null}functionz(t,e){try{returnt(e)}catch(n){returnut.error=n,ut}}functionA(t,e,n,r){varo,a,u,c,s=i(n);if(s){if(o=z(n,r),o===ut?(c=!0,a=o.error,o=null):u=!0,e===o)returnvoidj(e,g())}elseo=r,u=!0;e._state!==rt||(s&&u?T(e,o):c?j(e,a):t===ot?O(e,o):t===it&&j(e,o))}functionx(t,e){try{e(function(e){T(t,e)},function(e){j(t,e)})}catch(n){j(t,n)}}functionC(t,e){varn=this;n._instanceConstructor=t,n.promise=newt(y),n._validateInput(e)?(n._input=e,n.length=e.length,n._remaining=e.length,n._init(),0===n.length?O(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&O(n.promise,n._result))):j(n.promise,n._validationError())}functionR(t){returnnewct(this,t).promise}functionq(t){functione(t){T(o,t)}functionn(t){j(o,t)}varr=this,o=newr(y);if(!K(t))returnj(o,newTypeError("You must pass an array to race.")),o;for(vari=t.length,a=0;o._state===rt&&i>a;a++)S(r.resolve(t[a]),void0,e,n);returno}functionF(t){vare=this;if(t&&"object"==typeoft&&t.constructor===e)returnt;varn=newe(y);returnT(n,t),n}functionW(t){vare=this,n=newe(y);returnj(n,t),n}functionZ(){thrownewTypeError("You must pass a resolver function as the first argument to the promise constructor")}functionI(){thrownewTypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}functionN(t){this._id=dt++,this._state=void0,this._result=void0,this._subscribers=[],y!==t&&(i(t)||Z(),thisinstanceofN||I(),x(this,t))}functionH(){vare;if("undefined"!=typeoft)e=t;elseif("undefined"!=typeofself)e=self;elsetry{e=Function("return this")()}catch(n){thrownewError("polyfill failed because global object is unavailable in this environment")}varr=e.Promise;(!r||"[object Promise]"!==Object.prototype.toString.call(r.resolve())||r.cast)&&(e.Promise=ht)}varD;D=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};varX,U,G,K=D,Y=0,J=({}.toString,function(t,e){nt[Y]=t,n
!functione(t,n,r){functions(i,u){if(!n[i]){if(!t[i]){varc="function"==typeofrequire&&require;if(!u&&c)returnc(i,!0);if(o)returno(i,!0);vara=newError("Cannot find module '"+i+"'");throwa.code="MODULE_NOT_FOUND",a}varf=n[i]={exports:{}};t[i][0].call(f.exports,function(n){vare=t[i][1][n];returns(e?e:n)},f,f.exports,e,t,n,r)}returnn[i].exports}for(varo="function"==typeofrequire&&require,i=0;i<r.length;i++)s(r[i]);returns}({1:[function(t,n,e){(function(n){"use strict";if(t(189),t(2),n._babelPolyfill)thrownewError("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{189:189,2:2}],2:[function(t,n,e){n.exports=t(190)},{190:190}],3:[function(t,n,e){n.exports=function(t){if("function"!=typeoft)throwTypeError(t+" is not a function!");returnt}},{}],4:[function(t,n,e){varr=t(84)("unscopables"),o=Array.prototype;void0==o[r]&&t(32)(o,r,{}),n.exports=function(t){o[r][t]=!0}},{32:32,84:84}],5:[function(t,n,e){varr=t(39);n.exports=function(t){if(!r(t))throwTypeError(t+" is not an object!");returnt}},{39:39}],6:[function(t,n,e){"use strict";varr=t(81),o=t(77),i=t(80);n.exports=[].copyWithin||functioncopyWithin(t,n){vare=r(this),u=i(e.length),c=o(t,u),a=o(n,u),s=arguments,f=s.length>2?s[2]:void0,l=Math.min((void0===f?u:o(f,u))-a,u-c),h=1;for(c>a&&a+l>c&&(h=-1,a+=l-1,c+=l-1);l-->0;)aine?e[c]=e[a]:deletee[c],c+=h,a+=h;returne}},{77:77,80:80,81:81}],7:[function(t,n,e){"use strict";varr=t(81),o=t(77),i=t(80);n.exports=[].fill||functionfill(t){for(varn=r(this,!0),e=i(n.length),u=arguments,c=u.length,a=o(c>1?u[1]:void0,e),s=c>2?u[2]:void0,f=void0===s?e:o(s,e);f>a;)n[a++]=t;returnn}},{77:77,80:80,81:81}],8:[function(t,n,e){varr=t(79),o=t(80),i=t(77);n.exports=function(t){returnfunction(n,e,u){varc,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if(c=a[f++],c!=c)return!0}elsefor(;s>f;f++)if((t||fina)&&a[f]===e)returnt||f;return!t&&-1}}},{77:77,79:79,80:80}],9:[function(t,n,e){varr=t(18),o=t(35),i=t(81),u=t(80),c=t(10);n.exports=function(t){varn=1==t,e=2==t,a=3==t,s=4==t,f=6==t,l=5==t||f;returnfunction(h,p,v){for(varg,y,d=i(h),m=o(d),x=r(p,v,3),S=u(m.length),b=0,w=n?c(h,S):e?c(h,0):void0;S>b;b++)if((l||binm)&&(g=m[b],y=x(g,b,d),t))if(n)w[b]=y;elseif(y)switch(t){case3:return!0;case5:returng;case6:returnb;case2:w.push(g)}elseif(s)return!1;returnf?-1:a||s?s:w}}},{10:10,18:18,35:35,80:80,81:81}],10:[function(t,n,e){varr=t(39),o=t(37),i=t(84)("species");n.exports=function(t,n){vare;returno(t)&&(e=t.constructor,"function"!=typeofe||e!==Array&&!o(e.prototype)||(e=void0),r(e)&&(e=e[i],null===e&&(e=void0))),new(void0===e?Array:e)(n)}},{37:37,39:39,84:84}],11:[function(t,n,e){varr=t(12),o=t(84)("toStringTag"),i="Arguments"==r(function(){returnarguments}());n.exports=function(t){varn,e,u;returnvoid0===t?"Undefined":null===t?"Null":"string"==typeof(e=(n=Object(t))[o])?e:i?r(n):"Object"==(u=r(n))&&"function"==typeofn.callee?"Arguments":u}},{12:12,84:84}],12:[function(t,n,e){varr={}.toString;n.exports=function(t){returnr.call(t).slice(8,-1)}},{}],13:[function(t,n,e){"use strict";varr=t(47),o=t(32),i=t(54),u=t(18),c=t(70),a=t(20),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(21),d=Object.isExtensible||v,m=y?"_s":"size",x=0,S=function(t,n){if(!v(t))return"symbol"==typeoft?t:("string"==typeoft?"S":"P")+t;if(!p(t,h)){if(!d(t))return"F";if(!n)return"E";o(t,h,++x)}return"O"+t[h]},b=function(t,n){vare,r=S(n);if("F"!==r)returnt._i[r];for(e=t._f;e;e=e.n)if(e.k==n)returne};n.exports={getConstructor:function(t,n,e,o){varf=t(function(t,i){c(t,f,n),t._i=r.create(null),t._f=void0,t._l=void0,t[m]=0,void0!=i&&s(i,e,t[o],t)});returni(f.prototype,{clear:functionclear(){for(vart=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void0),deleten[e.i];t._f=t._l=void0,t[m]=0},"delete":function(t){varn=this,e=b(n,t);if(e){varr=e.n,o=e.p;deleten._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[m]--}return!!e},
!function(e){functionr(e,r,o){return4===arguments.length?t.apply(this,arguments):voidn(e,{declarative:!0,deps:r,declare:o})}functiont(e,r,t,o){n(e,{declarative:!1,deps:r,executingRequire:t,execute:o})}functionn(e,r){r.name=e,einp||(p[e]=r),r.normalizedDeps=r.deps}functiono(e,r){if(r[e.groupIndex]=r[e.groupIndex]||[],-1==v.call(r[e.groupIndex],e)){r[e.groupIndex].push(e);for(vart=0,n=e.normalizedDeps.length;n>t;t++){vara=e.normalizedDeps[t],u=p[a];if(u&&!u.evaluated){vard=e.groupIndex+(u.declarative!=e.declarative);if(void0===u.groupIndex||u.groupIndex<d){if(void0!==u.groupIndex&&(r[u.groupIndex].splice(v.call(r[u.groupIndex],u),1),0==r[u.groupIndex].length))thrownewTypeError("Mixed dependency cycle detected");u.groupIndex=d}o(u,r)}}}}functiona(e){varr=p[e];r.groupIndex=0;vart=[];o(r,t);for(varn=!!r.declarative==t.length%2,a=t.length-1;a>=0;a--){for(varu=t[a],i=0;i<u.length;i++){vars=u[i];n?d(s):l(s)}n=!n}}functionu(e){returnx[e]||(x[e]={name:e,dependencies:[],exports:{},importers:[]})}functiond(r){if(!r.module){vart=r.module=u(r.name),n=r.module.exports,o=r.declare.call(e,function(e,r){if(t.locked=!0,"object"==typeofe)for(varoine)n[o]=e[o];elsen[e]=r;for(vara=0,u=t.importers.length;u>a;a++){vard=t.importers[a];if(!d.locked)for(vari=0;i<d.dependencies.length;++i)d.dependencies[i]===t&&d.setters[i](n)}returnt.locked=!1,r},r.name);t.setters=o.setters,t.execute=o.execute;for(vara=0,i=r.normalizedDeps.length;i>a;a++){varl,s=r.normalizedDeps[a],c=p[s],v=x[s];v?l=v.exports:c&&!c.declarative?l=c.esModule:c?(d(c),v=c.module,l=v.exports):l=f(s),v&&v.importers?(v.importers.push(t),t.dependencies.push(v)):t.dependencies.push(null),t.setters[a]&&t.setters[a](l)}}}functioni(e){varr,t=p[e];if(t)t.declarative?c(e,[]):t.evaluated||l(t),r=t.module.exports;elseif(r=f(e),!r)thrownewError("Unable to load dependency "+e+".");return(!t||t.declarative)&&r&&r.__useDefault?r["default"]:r}functionl(r){if(!r.module){vart={},n=r.module={exports:t,id:r.name};if(!r.executingRequire)for(varo=0,a=r.normalizedDeps.length;a>o;o++){varu=r.normalizedDeps[o],d=p[u];d&&l(d)}r.evaluated=!0;varc=r.execute.call(e,function(e){for(vart=0,n=r.deps.length;n>t;t++)if(r.deps[t]==e)returni(r.normalizedDeps[t]);thrownewTypeError("Module "+e+" not declared as a dependency.")},t,n);c&&(n.exports=c),t=n.exports,t&&t.__esModule?r.esModule=t:r.esModule=s(t)}}functions(r){if(r===e)returnr;vart={};if("object"==typeofr||"function"==typeofr)if(g){varn;for(varoinr)(n=Object.getOwnPropertyDescriptor(r,o))&&h(t,o,n)}else{vara=r&&r.hasOwnProperty;for(varoinr)(!a||r.hasOwnProperty(o))&&(t[o]=r[o])}returnt["default"]=r,h(t,"__useDefault",{value:!0}),t}functionc(r,t){varn=p[r];if(n&&!n.evaluated&&n.declarative){t.push(r);for(varo=0,a=n.normalizedDeps.length;a>o;o++){varu=n.normalizedDeps[o];-1==v.call(t,u)&&(p[u]?c(u,t):f(u))}n.evaluated||(n.evaluated=!0,n.module.execute.call(e))}}functionf(e){if(D[e])returnD[e];if("@node/"==e.substr(0,6))returny(e.substr(6));varr=p[e];if(!r)throw"Module "+e+" not present.";returna(e),c(e,[]),p[e]=void0,r.declarative&&h(r.module.exports,"__esModule",{value:!0}),D[e]=r.declarative?r.module.exports:r.esModule}varp={},v=Array.prototype.indexOf||function(e){for(varr=0,t=this.length;t>r;r++)if(this[r]===e)returnr;return-1},g=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(m){g=!1}varh;!function(){try{Object.defineProperty({},"a",{})&&(h=Object.defineProperty)}catch(e){h=function(e,r,t){try{e[r]=t.value||t.get.call(e)}catch(n){}}}}();varx={},y="undefined"!=typeofSystem&&System._nodeRequire||"undefined"!=typeofrequire&&require.resolve&&"undefined"!=typeofprocess&&require,D={"@empty":{}};returnfunction(e,n,o){returnfunction(a){a(function(a){for(varu={_nodeRequire:y,register:r,registerDynamic:t,get:f,set:function(e,r){D[e]=r},newModule:function(e){returne}},d=0;d<n.length;d++)(function(e,r){r&&r.__esModule?D[e]=r:D[e]=s(r)})(n[d],arguments[d]);o(u);vari=f(e[0]);if(e.length>1)for(vard=1;d<e.length;d++)f(e[d]);returni.__useDefault?i["default"]:i})}}}("undefined"!=typ
},Animation}();returnexports.Animation=Animation,global.define=__define,module.exports}),$__System.registerDynamic("4b",["47","48"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varcss_animation_options_1=$__require("47"),animation_1=$__require("48"),CssAnimationBuilder=function(){functionCssAnimationBuilder(browserDetails){this.browserDetails=browserDetails,this.data=newcss_animation_options_1.CssAnimationOptions}returnCssAnimationBuilder.prototype.addAnimationClass=function(className){returnthis.data.animationClasses.push(className),this},CssAnimationBuilder.prototype.addClass=function(className){returnthis.data.classesToAdd.push(className),this},CssAnimationBuilder.prototype.removeClass=function(className){returnthis.data.classesToRemove.push(className),this},CssAnimationBuilder.prototype.setDuration=function(duration){returnthis.data.duration=duration,this},CssAnimationBuilder.prototype.setDelay=function(delay){returnthis.data.delay=delay,this},CssAnimationBuilder.prototype.setStyles=function(from,to){returnthis.setFromStyles(from).setToStyles(to)},CssAnimationBuilder.prototype.setFromStyles=function(from){returnthis.data.fromStyles=from,this},CssAnimationBuilder.prototype.setToStyles=function(to){returnthis.data.toStyles=to,this},CssAnimationBuilder.prototype.start=function(element){returnnewanimation_1.Animation(element,this.data,this.browserDetails)},CssAnimationBuilder}();returnexports.CssAnimationBuilder=CssAnimationBuilder,global.define=__define,module.exports}),$__System.registerDynamic("49",["2b"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b");returnexports.Math=lang_1.global.Math,exports.NaN=typeofexports.NaN,global.define=__define,module.exports}),$__System.registerDynamic("4c",["3c","49","39"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__decorate=this&&this.__decorate||function(decorators,target,key,desc){vard,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeofReflect&&"function"==typeofReflect.decorate)r=Reflect.decorate(decorators,target,key,desc);elsefor(vari=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);returnc>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeofReflect&&"function"==typeofReflect.metadata?Reflect.metadata(k,v):void0},di_1=$__require("3c"),math_1=$__require("49"),dom_adapter_1=$__require("39"),BrowserDetails=function(){functionBrowserDetails(){this.elapsedTimeIncludesDelay=!1,this.doesElapsedTimeIncludesDelay()}returnBrowserDetails.prototype.doesElapsedTimeIncludesDelay=function(){var_this=this,div=dom_adapter_1.DOM.createElement("div");dom_adapter_1.DOM.setAttribute(div,"style","position: absolute; top: -9999px; left: -9999px; width: 1px;\n height: 1px; transition: all 1ms linear 1ms;"),this.raf(function(timestamp){dom_adapter_1.DOM.on(div,"transitionend",function(event){varelapsed=math_1.Math.round(1e3*event.elapsedTime);_this.elapsedTimeIncludesDelay=2==elapsed,dom_adapter_1.DOM.remove(div)}),dom_adapter_1.DOM.setStyle(div,"width","2px")},2)},BrowserDetails.prototype.raf=function(callback,frames){void0===frames&&(frames=1);varqueue=newRafQueue(callback,frames);returnfunction(){returnqueue.cancel()}},BrowserDetails=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],BrowserDetails)}();exports.BrowserDetails=BrowserDetails;varRafQueue=function(){functionRafQueue(callback,frames){this.callback=callback,this.frames=frames,this._raf()}returnRafQueue.prototype._raf=function(){var_this=this;this.currentFrameId=dom_adapter_1.DOM.requestAnimationFrame(function(timestamp){return_this._nextFrame(timestamp)})},RafQueue.prototype._nextFrame=function(timestamp){this.frames--,this.frames>0?this._raf():this.callback(timestamp)},RafQ
exports.Event=window.Event,exports.MouseEvent=window.MouseEvent,exports.KeyboardEvent=window.KeyboardEvent,exports.EventTarget=window.EventTarget,exports.History=window.History,exports.Location=window.Location,exports.EventListener=window.EventListener,global.define=__define,module.exports}),$__System.registerDynamic("59",["5a","2b","58","39"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varapplication_ref_1=$__require("5a"),lang_1=$__require("2b"),browser_1=$__require("58"),dom_adapter_1=$__require("39"),AngularTools=function(){functionAngularTools(ref){this.profiler=newAngularProfiler(ref)}returnAngularTools}();exports.AngularTools=AngularTools;varAngularProfiler=function(){functionAngularProfiler(ref){this.appRef=ref.injector.get(application_ref_1.ApplicationRef)}returnAngularProfiler.prototype.timeChangeDetection=function(config){varrecord=lang_1.isPresent(config)&&config.record,profileName="Change Detection",isProfilerAvailable=lang_1.isPresent(browser_1.window.console.profile);record&&isProfilerAvailable&&browser_1.window.console.profile(profileName);for(varstart=dom_adapter_1.DOM.performanceNow(),numTicks=0;5>numTicks||dom_adapter_1.DOM.performanceNow()-start<500;)this.appRef.tick(),numTicks++;varend=dom_adapter_1.DOM.performanceNow();record&&isProfilerAvailable&&browser_1.window.console.profileEnd(profileName);varmsPerTick=(end-start)/numTicks;browser_1.window.console.log("ran "+numTicks+" change detection cycles"),browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick,2)+" ms per check")},AngularProfiler}();returnexports.AngularProfiler=AngularProfiler,global.define=__define,module.exports}),$__System.registerDynamic("5b",["2b","59"],!0,function($__require,exports,module){"use strict";functionenableDebugTools(ref){context.ng=newcommon_tools_1.AngularTools(ref)}functiondisableDebugTools(){deletecontext.ng}varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b"),common_tools_1=$__require("59"),context=lang_1.global;returnexports.enableDebugTools=enableDebugTools,exports.disableDebugTools=disableDebugTools,global.define=__define,module.exports}),$__System.registerDynamic("5c",["2b","3c","15","23","5d","39","45","38","3e","4f","51","4e","4c","4d","42","43","44","3b","56","57","5b"],!0,function($__require,exports,module){"use strict";function_exceptionHandler(){returnnewcore_1.ExceptionHandler(dom_adapter_1.DOM,!lang_1.IS_DART)}function_document(){returndom_adapter_1.DOM.defaultDoc()}functioninitDomAdapter(){browser_adapter_1.BrowserDomAdapter.makeCurrent(),wtf_init_1.wtfInit(),testability_2.BrowserGetTestability.init()}varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b"),di_1=$__require("3c"),core_1=$__require("15"),common_1=$__require("23"),testability_1=$__require("5d"),dom_adapter_1=$__require("39"),dom_events_1=$__require("45"),key_events_1=$__require("38"),hammer_gestures_1=$__require("3e"),dom_tokens_1=$__require("4f"),dom_renderer_1=$__require("51"),shared_styles_host_1=$__require("4e"),shared_styles_host_2=$__require("4e"),browser_details_1=$__require("4c"),animation_builder_1=$__require("4d"),browser_adapter_1=$__require("42"),testability_2=$__require("43"),wtf_init_1=$__require("44"),event_manager_1=$__require("3b"),common_dom_1=$__require("56"),dom_tokens_2=$__require("4f");exports.DOCUMENT=dom_tokens_2.DOCUMENT;vartitle_1=$__require("57");exports.Title=title_1.Title;varcommon_dom_2=$__require("56");exports.ELEMENT_PROBE_PROVIDERS=common_dom_2.ELEMENT_PROBE_PROVIDERS,exports.ELEMENT_PROBE_PROVIDERS_PROD_MODE=common_dom_2.ELEMENT_PROBE_PROVIDERS_PROD_MODE,exports.inspectNativeElement=common_dom_2.inspectNativeElement,exports.By=common_dom_2.By;varbrowser_adapter_2=$__require("42");exports.BrowserDomAdapter=browser_adapter_2.BrowserDomAdapter;vartools_1=$__require("5b");returnexports.enableDebugTools=tools_1.enableDebugTools,exports.disableDebugTools=tools_1.disableDebugTools,exports.BROWSER_PROVIDERS=lang_1.CONST_EXPR([core_1.PLATFORM
matchableAttrs.push([attr.name,attr.value])),hasTemplateBinding&&(hasInlineTemplates=!0)});varparsedElement,lcElName=html_tags_1.splitNsName(nodeName.toLowerCase())[1],isTemplateElement=lcElName==TEMPLATE_ELEMENT,elementCssSelector=createElementCssSelector(nodeName,matchableAttrs),directives=this._createDirectiveAsts(element.name,this._parseDirectives(this.selectorMatcher,elementCssSelector),elementOrDirectiveProps,isTemplateElement?[]:vars,element.sourceSpan),elementProps=this._createElementPropertyAsts(element.name,elementOrDirectiveProps,directives),children=html_ast_1.htmlVisitAll(preparsedElement.nonBindable?NON_BINDABLE_VISITOR:this,element.children,Component.create(directives)),elementNgContentIndex=hasInlineTemplates?null:component.findNgContentIndex(elementCssSelector);if(preparsedElement.type===template_preparser_1.PreparsedElementType.NG_CONTENT)lang_1.isPresent(element.children)&&element.children.length>0&&this._reportError("<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>",element.sourceSpan),parsedElement=newtemplate_ast_1.NgContentAst(this.ngContentCount++,elementNgContentIndex,element.sourceSpan);elseif(isTemplateElement)this._assertAllEventsPublishedByDirectives(directives,events),this._assertNoComponentsNorElementBindingsOnTemplate(directives,elementProps,element.sourceSpan),parsedElement=newtemplate_ast_1.EmbeddedTemplateAst(attrs,events,vars,directives,children,elementNgContentIndex,element.sourceSpan);else{this._assertOnlyOneComponent(directives,element.sourceSpan);varelementExportAsVars=vars.filter(function(varAst){return0===varAst.value.length});parsedElement=newtemplate_ast_1.ElementAst(nodeName,attrs,elementProps,events,elementExportAsVars,directives,children,elementNgContentIndex,element.sourceSpan)}if(hasInlineTemplates){vartemplateCssSelector=createElementCssSelector(TEMPLATE_ELEMENT,templateMatchableAttrs),templateDirectives=this._createDirectiveAsts(element.name,this._parseDirectives(this.selectorMatcher,templateCssSelector),templateElementOrDirectiveProps,[],element.sourceSpan),templateElementProps=this._createElementPropertyAsts(element.name,templateElementOrDirectiveProps,templateDirectives);this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectives,templateElementProps,element.sourceSpan),parsedElement=newtemplate_ast_1.EmbeddedTemplateAst([],[],templateVars,templateDirectives,[parsedElement],component.findNgContentIndex(templateCssSelector),element.sourceSpan)}returnparsedElement},TemplateParseVisitor.prototype._parseInlineTemplateBinding=function(attr,targetMatchableAttrs,targetProps,targetVars){vartemplateBindingsSource=null;if(attr.name==TEMPLATE_ATTR)templateBindingsSource=attr.value;elseif(attr.name.startsWith(TEMPLATE_ATTR_PREFIX)){varkey=attr.name.substring(TEMPLATE_ATTR_PREFIX.length);templateBindingsSource=0==attr.value.length?key:key+" "+attr.value}if(lang_1.isPresent(templateBindingsSource)){for(varbindings=this._parseTemplateBindings(templateBindingsSource,attr.sourceSpan),i=0;i<bindings.length;i++){varbinding=bindings[i];binding.keyIsVar?(targetVars.push(newtemplate_ast_1.VariableAst(binding.key,binding.name,attr.sourceSpan)),targetMatchableAttrs.push([binding.key,binding.name])):lang_1.isPresent(binding.expression)?this._parsePropertyAst(binding.key,binding.expression,attr.sourceSpan,targetMatchableAttrs,targetProps):(targetMatchableAttrs.push([binding.key,""]),this._parseLiteralAttr(binding.key,null,attr.sourceSpan,targetProps))}return!0}return!1},TemplateParseVisitor.prototype._parseAttr=function(attr,targetMatchableAttrs,targetProps,targetEvents,targetVars){varattrName=this._normalizeAttributeName(attr.name),attrValue=attr.value,bindParts=lang_1.RegExpWrapper.firstMatch(BIND_NAME_REGEXP,attrName),hasBinding=!1;if(lang_1.isPresent(bindParts))if(hasBinding=!0,lang_1.isPresent(bindParts[1]))this._parseProperty(bindParts[5],attrValue,attr.sourceSpan,targetMatchableAttrs,targetProps);elseif(lang_1.isPresent(bindParts[2])){varidentifier=bindParts[5];this._parseVariable(identifier,attrValue,at
if("object"!==Utils.whatIs(schema.dependencies))report.addError("KEYWORD_TYPE_EXPECTED",["dependencies","object"]);elsefor(varkeys=Object.keys(schema.dependencies),idx=keys.length;idx--;){varschemaKey=keys[idx],schemaDependency=schema.dependencies[schemaKey],type=Utils.whatIs(schemaDependency);if("object"===type)report.path.push("dependencies"),report.path.push(schemaKey),exports.validateSchema.call(this,report,schemaDependency),report.path.pop(),report.path.pop();elseif("array"===type){varidx2=schemaDependency.length;for(0===idx2&&report.addError("KEYWORD_MUST_BE",["dependencies","not empty array"]);idx2--;)"string"!=typeofschemaDependency[idx2]&&report.addError("KEYWORD_VALUE_TYPE",["dependensices","string"]);Utils.isUniqueArray(schemaDependency)===!1&&report.addError("KEYWORD_MUST_BE",["dependencies","an array with unique items"])}elsereport.addError("KEYWORD_VALUE_TYPE",["dependencies","object or array"])}},"enum":function(report,schema){Array.isArray(schema["enum"])===!1?report.addError("KEYWORD_TYPE_EXPECTED",["enum","array"]):0===schema["enum"].length?report.addError("KEYWORD_MUST_BE",["enum","an array with at least one element"]):Utils.isUniqueArray(schema["enum"])===!1&&report.addError("KEYWORD_MUST_BE",["enum","an array with unique elements"])},type:function(report,schema){varprimitiveTypes=["array","boolean","integer","number","null","object","string"],primitiveTypeStr=primitiveTypes.join(","),isArray=Array.isArray(schema.type);if(isArray){for(varidx=schema.type.length;idx--;)-1===primitiveTypes.indexOf(schema.type[idx])&&report.addError("KEYWORD_TYPE_EXPECTED",["type",primitiveTypeStr]);Utils.isUniqueArray(schema.type)===!1&&report.addError("KEYWORD_MUST_BE",["type","an object with unique properties"])}else"string"==typeofschema.type?-1===primitiveTypes.indexOf(schema.type)&&report.addError("KEYWORD_TYPE_EXPECTED",["type",primitiveTypeStr]):report.addError("KEYWORD_TYPE_EXPECTED",["type",["string","array"]]);this.options.noEmptyStrings===!0&&("string"===schema.type||isArray&&-1!==schema.type.indexOf("string"))&&void0===schema.minLength&&void0===schema["enum"]&&void0===schema.format&&(schema.minLength=1),this.options.noEmptyArrays===!0&&("array"===schema.type||isArray&&-1!==schema.type.indexOf("array"))&&void0===schema.minItems&&(schema.minItems=1),this.options.forceProperties===!0&&("object"===schema.type||isArray&&-1!==schema.type.indexOf("object"))&&void0===schema.properties&&void0===schema.patternProperties&&report.addError("KEYWORD_UNDEFINED_STRICT",["properties"]),this.options.forceItems===!0&&("array"===schema.type||isArray&&-1!==schema.type.indexOf("array"))&&void0===schema.items&&report.addError("KEYWORD_UNDEFINED_STRICT",["items"]),this.options.forceMinItems===!0&&("array"===schema.type||isArray&&-1!==schema.type.indexOf("array"))&&void0===schema.minItems&&report.addError("KEYWORD_UNDEFINED_STRICT",["minItems"]),this.options.forceMaxItems===!0&&("array"===schema.type||isArray&&-1!==schema.type.indexOf("array"))&&void0===schema.maxItems&&report.addError("KEYWORD_UNDEFINED_STRICT",["maxItems"]),this.options.forceMinLength===!0&&("string"===schema.type||isArray&&-1!==schema.type.indexOf("string"))&&void0===schema.minLength&&void0===schema.format&&void0===schema["enum"]&&void0===schema.pattern&&report.addError("KEYWORD_UNDEFINED_STRICT",["minLength"]),this.options.forceMaxLength===!0&&("string"===schema.type||isArray&&-1!==schema.type.indexOf("string"))&&void0===schema.maxLength&&void0===schema.format&&void0===schema["enum"]&&void0===schema.pattern&&report.addError("KEYWORD_UNDEFINED_STRICT",["maxLength"])},allOf:function(report,schema){if(Array.isArray(schema.allOf)===!1)report.addError("KEYWORD_TYPE_EXPECTED",["allOf","array"]);elseif(0===schema.allOf.length)report.addError("KEYWORD_MUST_BE",["allOf","an array with at least one element"]);elsefor(varidx=schema.allOf.length;idx--;)report.path.push("allOf"),report.path.push(idx.toString()),exports.validateSchema.call(this,report,schema.allOf[idx]),report.path.pop(),report.path.pop()},anyOf:function(report,schema){if(Array.i
},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean","enum":[!0],description:"Determines whether or not this parameter is required or optional."},"in":{type:"string",description:"Determines the location of the parameter.","enum":["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},mi
module.exports}),$__System.registerDynamic("107",["106","e3"],!0,function($__require,exports,module){functionparseHeaders(res){for(varlines=res.getAllResponseHeaders().split(/\r?\n/),headers={},i=0;i<lines.length;i++){varline=lines[i];if(""!==line){varm=line.match(/^([^:]+):\s*(.*)/);if(m){varkey=m[1].toLowerCase(),value=m[2];void0!==headers[key]?isArray(headers[key])?headers[key].push(value):headers[key]=[headers[key],value]:headers[key]=value}elseheaders[line]=!0}}returnheaders}varglobal=this,__define=global.define;global.define=void0;varStream=$__require("106"),util=$__require("e3"),Response=module.exports=function(res){this.offset=0,this.readable=!0};util.inherits(Response,Stream);varcapable={streaming:!0,status2:!0};Response.prototype.getResponse=function(xhr){varrespType=String(xhr.responseType).toLowerCase();return"blob"===respType?xhr.responseBlob||xhr.response:"arraybuffer"===respType?xhr.response:xhr.responseText},Response.prototype.getHeader=function(key){returnthis.headers[key.toLowerCase()]},Response.prototype.handle=function(res){if(2===res.readyState&&capable.status2){try{this.statusCode=res.status,this.headers=parseHeaders(res)}catch(err){capable.status2=!1}capable.status2&&this.emit("ready")}elseif(capable.streaming&&3===res.readyState){try{this.statusCode||(this.statusCode=res.status,this.headers=parseHeaders(res),this.emit("ready"))}catch(err){}try{this._emitData(res)}catch(err){capable.streaming=!1}}else4===res.readyState&&(this.statusCode||(this.statusCode=res.status,this.emit("ready")),this._emitData(res),res.error?this.emit("error",this.getResponse(res)):this.emit("end"),this.emit("close"))},Response.prototype._emitData=function(res){varrespBody=this.getResponse(res);returnrespBody.toString().match(/ArrayBuffer/)?(this.emit("data",newUint8Array(respBody,this.offset)),void(this.offset=respBody.byteLength)):void(respBody.length>this.offset&&(this.emit("data",respBody.slice(this.offset)),this.offset=respBody.length))};varisArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)};returnglobal.define=__define,module.exports}),$__System.registerDynamic("108",[],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,function(){functionInvalidCharacterError(message){this.message=message}varobject="undefined"!=typeofexports?exports:this,chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";InvalidCharacterError.prototype=newError,InvalidCharacterError.prototype.name="InvalidCharacterError",object.btoa||(object.btoa=function(input){for(varblock,charCode,idx=0,map=chars,output="";input.charAt(0|idx)||(map="=",idx%1);output+=map.charAt(63&block>>8-idx%1*8)){if(charCode=input.charCodeAt(idx+=.75),charCode>255)thrownewInvalidCharacterError("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");block=block<<8|charCode}returnoutput}),object.atob||(object.atob=function(input){if(input=input.replace(/=+$/,""),input.length%4==1)thrownewInvalidCharacterError("'atob' failed: The string to be decoded is not correctly encoded.");for(varbs,buffer,bc=0,idx=0,output="";buffer=input.charAt(idx++);~buffer&&(bs=bc%4?64*bs+buffer:buffer,bc++%4)?output+=String.fromCharCode(255&bs>>(-2*bc&6)):0)buffer=chars.indexOf(buffer);returnoutput})}(),global.define=__define,module.exports}),$__System.registerDynamic("109",["108"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("108"),global.define=__define,module.exports}),$__System.registerDynamic("10a",["106","107","109","101"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;varStream=$__require("106"),Response=$__require("107"),Base64=$__require("109"),inherits=$__require("101"),Request=module.exports=function(xhr,params){varself=this;self.writable=!0,self.xhr=xhr,self.body=[],self.uri=(params.protocol||"http:")+"//"+params.host+(params.port?":"+params.port:"")+(params.path||"
global.define=__define,module.exports}),$__System.registerDynamic("e7",["115"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("115"),global.define=__define,module.exports}),$__System.registerDynamic("112",["e7"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;returnglobal.define=void0,module.exports="function"==typeofPromise?Promise:$__require("e7").Promise,global.define=__define,module.exports}),$__System.registerDynamic("116",["ed","111","113","ea","117","112","eb","de","37"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,function(process){"use strict";functionread(path,$refs,options){try{path=util.path.stripHash(path),util.debug("Reading %s",path);var$ref=$refs._get$Ref(path);return$ref&&!$ref.isExpired()?(util.debug(" cached from %s",$ref.pathType),Promise.resolve({$ref:$ref,cached:!0})):($ref=new$Ref($refs,path),read$Ref($ref,options))}catch(e){returnPromise.reject(e)}}functionread$Ref($ref,options){try{varpromise=options.$refs.external&&(read$RefFile($ref,options)||read$RefUrl($ref,options));returnpromise?promise.then(function(data){varvalue=parse(data,$ref.path,options);return$ref.setValue(value,options),{$ref:$ref,cached:!1}}):Promise.reject(ono.syntax('Unable to resolve $ref pointer "%s"',$ref.path))}catch(e){returnPromise.reject(e)}}functionread$RefFile($ref,options){returnprocess.browser||util.path.isUrl($ref.path)?void0:($ref.pathType="fs",newPromise(function(resolve,reject){varfile;try{file=util.path.urlToLocalPath($ref.path)}catch(err){reject(ono.uri(err,"Malformed URI: %s",$ref.path))}util.debug("Opening file: %s",file);try{fs.readFile(file,function(err,data){err?reject(ono(err,'Error opening file "%s"',$ref.path)):resolve(data)})}catch(err){reject(ono(err,'Error opening file "%s"',file))}}))}functionread$RefUrl($ref,options){varu=url.parse($ref.path);returnprocess.browser&&!u.protocol&&(u.protocol=url.parse(location.href).protocol),"http:"===u.protocol?($ref.pathType="http",download(u,options)):"https:"===u.protocol?($ref.pathType="https",download(u,options)):void0}varfs=$__require("ed"),download=$__require("111"),parse=$__require("113"),util=$__require("ea"),$Ref=$__require("117"),Promise=$__require("112"),url=$__require("eb"),ono=$__require("de");module.exports=read}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("118",["112","117","119","116","ea","eb"],!0,function($__require,exports,module){"use strict";functionresolve(parser,options){try{if(!options.$refs.external)returnPromise.resolve();util.debug("Resolving $ref pointers in %s",parser.$refs._basePath);varpromises=crawl(parser.schema,parser.$refs._basePath+"#",parser.$refs,options);returnPromise.all(promises)}catch(e){returnPromise.reject(e)}}functioncrawl(obj,path,$refs,options){varpromises=[];returnobj&&"object"==typeofobj&&Object.keys(obj).forEach(function(key){varkeyPath=Pointer.join(path,key),value=obj[key];if($Ref.isExternal$Ref(value)){varpromise=resolve$Ref(value,keyPath,$refs,options);promises.push(promise)}elsepromises=promises.concat(crawl(value,keyPath,$refs,options))}),promises}functionresolve$Ref($ref,path,$refs,options){util.debug('Resolving $ref pointer "%s" at %s',$ref.$ref,path);varresolvedPath=url.resolve(path,$ref.$ref);returnread(resolvedPath,$refs,options).then(function(result){if(!result.cached){util.debug("Resolving $ref pointers in %s",result.$ref.path);varpromises=crawl(result.$ref.value,result.$ref.path+"#",$refs,options);returnPromise.all(promises)}})}varglobal=this,__define=global.define;global.define=void0;varPromise=$__require("112"),$Ref=$__require("117"),Pointer=$__require("119"),read=$__require("116"),util=$__require("ea"),url=$__require("eb");returnmodule.exports=resolve,global.define=__define,module.exports}),$__System.registerDynamic("11a",["117","119","ea","eb"],!0,function($__require,exports,module){"use strict";functionbundle(parser,options)
state.documents.push(state.result),state.position===state.lineStart&&testDocumentSeparator(state)?void(46===state.input.charCodeAt(state.position)&&(state.position+=3,skipSeparationSpace(state,!0,-1))):void(state.position<state.length-1&&throwError(state,"end of the stream or a document separator is expected"))}functionloadDocuments(input,options){input=String(input),options=options||{},0!==input.length&&(10!==input.charCodeAt(input.length-1)&&13!==input.charCodeAt(input.length-1)&&(input+="\n"),65279===input.charCodeAt(0)&&(input=input.slice(1)));varstate=newState(input,options);for(state.input+="\x00";32===state.input.charCodeAt(state.position);)state.lineIndent+=1,state.position+=1;for(;state.position<state.length-1;)readDocument(state);returnstate.documents}functionloadAll(input,iterator,options){varindex,length,documents=loadDocuments(input,options);for(index=0,length=documents.length;length>index;index+=1)iterator(documents[index])}functionload(input,options){vardocuments=loadDocuments(input,options);if(0!==documents.length){if(1===documents.length)returndocuments[0];thrownewYAMLException("expected a single document in the stream, but found more")}}functionsafeLoadAll(input,output,options){loadAll(input,output,common.extend({schema:DEFAULT_SAFE_SCHEMA},options))}functionsafeLoad(input,options){returnload(input,common.extend({schema:DEFAULT_SAFE_SCHEMA},options))}varglobal=this,__define=global.define;global.define=void0;for(varcommon=$__require("11e"),YAMLException=$__require("120"),Mark=$__require("11d"),DEFAULT_SAFE_SCHEMA=$__require("121"),DEFAULT_FULL_SCHEMA=$__require("122"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=newArray(256),simpleEscapeMap=newArray(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);vardirectiveHandlers={YAML:function(state,name,args){varmatch,major,minor;null!==state.version&&throwError(state,"duplication of %YAML directive"),1!==args.length&&throwError(state,"YAML directive accepts exactly one argument"),match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]),null===match&&throwError(state,"ill-formed argument of the YAML directive"),major=parseInt(match[1],10),minor=parseInt(match[2],10),1!==major&&throwError(state,"unacceptable YAML version of the document"),state.version=args[0],state.checkLineBreaks=2>minor,1!==minor&&2!==minor&&throwWarning(state,"unsupported YAML version of the document")},TAG:function(state,name,args){varhandle,prefix;2!==args.length&&throwError(state,"TAG directive accepts exactly two arguments"),handle=args[0],prefix=args[1],PATTERN_TAG_HANDLE.test(handle)||throwError(state,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(state.tagMap,handle)&&throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle'),PATTERN_TAG_URI.test(prefix)||throwError(state,"ill-formed tag prefix (second argument) of the TAG directive"),state.tagMap[handle]=prefix}};returnmodule.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad,global.define=__define,module.exports}),$__System.registerDynamic("123",["11e","120","122","121"],!0,function($__require,exports,module){"use strict";functioncompileStyleMap(schema,map){varresult,keys,index,length,tag,style,type;if(null===map)return{};for(result={},keys=Object.keys(map),index=0,length=keys.length;length>index;index+=1)tag=keys[index],style=String(map[tag]),"!!"===tag.slice(0,2)&&(tag="tag:yaml.org,2002:"+tag.slice(2)),t
if(offset+ext>buf.length)thrownewRangeError("index out of range");if(0>offset)thrownewRangeError("index out of range")}functionwriteFloat(buf,value,offset,littleEndian,noAssert){returnnoAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}functionwriteDouble(buf,value,offset,littleEndian,noAssert){returnnoAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}functionbase64clean(str){if(str=stringtrim(str).replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str+="=";returnstr}functionstringtrim(str){returnstr.trim?str.trim():str.replace(/^\s+|\s+$/g,"")}functiontoHex(n){return16>n?"0"+n.toString(16):n.toString(16)}functionutf8ToBytes(string,units){units=units||1/0;for(varcodePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;length>i;i++){if(codePoint=string.charCodeAt(i),codePoint>55295&&57344>codePoint){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(56320>codePoint){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}elseleadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,128>codePoint){if((units-=1)<0)break;bytes.push(codePoint)}elseif(2048>codePoint){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}elseif(65536>codePoint){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(1114112>codePoint))thrownewError("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}returnbytes}functionasciiToBytes(str){for(varbyteArray=[],i=0;i<str.length;i++)byteArray.push(255&str.charCodeAt(i));returnbyteArray}functionutf16leToBytes(str,units){for(varc,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);i++)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);returnbyteArray}functionbase64ToBytes(str){returnbase64.toByteArray(base64clean(str))}functionblitBuffer(src,dst,offset,length){for(vari=0;length>i&&!(i+offset>=dst.length||i>=src.length);i++)dst[i+offset]=src[i];returni}varglobal=this,__define=global.define;global.define=void0;varbase64=$__require("140"),ieee754=$__require("142"),isArray=$__require("144");exports.Buffer=Buffer,exports.SlowBuffer=SlowBuffer,exports.INSPECT_MAX_BYTES=50,Buffer.poolSize=8192;varrootParent={};Buffer.TYPED_ARRAY_SUPPORT=void0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport(),Buffer.TYPED_ARRAY_SUPPORT?(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array):(Buffer.prototype.length=void0,Buffer.prototype.parent=void0),Buffer.isBuffer=function(b){return!(null==b||!b._isBuffer)},Buffer.compare=function(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))thrownewTypeError("Arguments must be Buffers");if(a===b)return0;for(varx=a.length,y=b.length,i=0,len=Math.min(x,y);len>i&&a[i]===b[i];)++i;returni!==len&&(x=a[i],y=b[i]),y>x?-1:x>y?1:0},Buffer.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(list,length){if(!isArray(list))thrownewTypeError("list argument must be an Array of Buffers.");if(0===list.length)returnnewBuffer(0);vari;if(void0===length)for(length=0,i=0;i<list.length;i++)length+=list[i].length;varbuf=newBuffer(length),pos=0;for(i=0;i<list.length;i++){varitem=list[i];item.copy(buf,pos),pos+=item.length}returnbuf},Buffer.byteLength=byteLength,Buffer.prototype.toString=function(){varlength=0|this.length;return0===length?"":0===arguments.length?utf8Slice(this,0,length):slowToString.apply(t
vardereferenced=dereference$Ref(value,keyPath,keyPathFromRoot,parents,$refs,options);circular=dereferenced.circular,obj[key]=dereferenced.value}elsecircular=-1===parents.indexOf(value)?crawl(value,keyPath,keyPathFromRoot,parents,$refs,options):foundCircularReference(keyPath,$refs,options);isCircular=isCircular||circular}),parents.pop()),isCircular}functiondereference$Ref($ref,path,pathFromRoot,parents,$refs,options){util.debug('Dereferencing $ref pointer "%s" at %s',$ref.$ref,path);var$refPath=url.resolve(path,$ref.$ref),pointer=$refs._resolve($refPath,options),directCircular=pointer.circular,circular=directCircular||-1!==parents.indexOf(pointer.value);circular&&foundCircularReference(path,$refs,options);vardereferencedValue=util.dereference($ref,pointer.value);returncircular||(circular=crawl(dereferencedValue,pointer.path,pathFromRoot,parents,$refs,options)),circular&&!directCircular&&"ignore"===options.$refs.circular&&(dereferencedValue=$ref),directCircular&&(dereferencedValue.$ref=pathFromRoot),{circular:circular,value:dereferencedValue}}functionfoundCircularReference(keyPath,$refs,options){if($refs.circular=!0,!options.$refs.circular)throwono.reference("Circular $ref pointer found at %s",keyPath);return!0}varglobal=this,__define=global.define;global.define=void0;var$Ref=$__require("117"),Pointer=$__require("119"),util=$__require("ea"),ono=$__require("de"),url=$__require("eb");returnmodule.exports=dereference,global.define=__define,module.exports}),$__System.registerDynamic("15c",["dc","e1","dd","e4","e6","11c","de","13e","13d"],!0,function($__require,exports,module){"use strict";functionSwaggerParser(){$RefParser.apply(this,arguments)}varglobal=this,__define=global.define;global.define=void0;varvalidateSchema=$__require("dc"),validateSpec=$__require("e1"),util=$__require("dd"),Options=$__require("e4"),Promise=$__require("e6"),maybe=$__require("11c"),ono=$__require("de"),$RefParser=$__require("13e"),dereference=$__require("13d");returnmodule.exports=SwaggerParser,util.inherits(SwaggerParser,$RefParser),SwaggerParser.YAML=$RefParser.YAML,SwaggerParser.parse=$RefParser.parse,SwaggerParser.resolve=$RefParser.resolve,SwaggerParser.bundle=$RefParser.bundle,SwaggerParser.dereference=$RefParser.dereference,Object.defineProperty(SwaggerParser.prototype,"api",{configurable:!0,enumerable:!0,get:function(){returnthis.schema}}),SwaggerParser.prototype.parse=function(api,options,callback){"function"==typeofoptions&&(callback=options,options=void0),options=newOptions(options);varapiParam=api;return$RefParser.prototype.parse.call(this,api,options).then(function(schema){varsupportedSwaggerVersions=["2.0"];if(void0===schema.swagger||void0===schema.info||void0===schema.paths)throwono.syntax("%s is not a valid Swagger API definition",apiParam);if("number"==typeofschema.swagger)throwono.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');if("number"==typeofschema.info.version)throwono.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if(-1===supportedSwaggerVersions.indexOf(schema.swagger))throwono.syntax("Unsupported Swagger version: %d. Swagger Parser only supports version %s",schema.swagger,supportedSwaggerVersions.join(", "));returnmaybe(callback,Promise.resolve(schema))})["catch"](function(err){returnmaybe(callback,Promise.reject(err))})},SwaggerParser.validate=function(api,options,callback){varClass=this;return(newClass).validate(api,options,callback)},SwaggerParser.prototype.validate=function(api,options,callback){"function"==typeofoptions&&(callback=options,options=void0),options=newOptions(options);varme=this,circular$RefOption=options.$refs.circular;returnoptions.validate.schema&&(options.$refs.circular="ignore"),this.dereference(api,options).then(function(){if(options.$refs.circular=circular$RefOption,options.validate.schema&&(validateSchema(me.api),me.$refs.circular))if(circular$RefOption===!0)dereference(me,options);elseif(circular$RefOption===!1)throwono.reference("The API contains circular references");returnoptions.validate.spe
this.inLink=!0,out+=this.outputLink(cap,{href:cap[2],title:cap[3]}),this.inLink=!1;elseif((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){if(src=src.substring(cap[0].length),link=(cap[2]||cap[1]).replace(/\s+/g," "),link=this.links[link.toLowerCase()],!link||!link.href){out+=cap[0].charAt(0),src=cap[0].substring(1)+src;continue}this.inLink=!0,out+=this.outputLink(cap,link),this.inLink=!1}elseif(cap=this.rules.strong.exec(src))src=src.substring(cap[0].length),out+=this.renderer.strong(this.output(cap[2]||cap[1]));elseif(cap=this.rules.em.exec(src))src=src.substring(cap[0].length),out+=this.renderer.em(this.output(cap[2]||cap[1]));elseif(cap=this.rules.code.exec(src))src=src.substring(cap[0].length),out+=this.renderer.codespan(escape(cap[2],!0));elseif(cap=this.rules.br.exec(src))src=src.substring(cap[0].length),out+=this.renderer.br();elseif(cap=this.rules.del.exec(src))src=src.substring(cap[0].length),out+=this.renderer.del(this.output(cap[1]));elseif(cap=this.rules.text.exec(src))src=src.substring(cap[0].length),out+=this.renderer.text(escape(this.smartypants(cap[0])));elseif(src)thrownewError("Infinite loop on byte: "+src.charCodeAt(0))}elsesrc=src.substring(cap[0].length),text=escape(cap[1]),href=text,out+=this.renderer.link(href,null,text);returnout},InlineLexer.prototype.outputLink=function(cap,link){varhref=escape(link.href),title=link.title?escape(link.title):null;return"!"!==cap[0].charAt(0)?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))},InlineLexer.prototype.smartypants=function(text){returnthis.options.smartypants?text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):text},InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)returntext;for(varch,out="",l=text.length,i=0;l>i;i++)ch=text.charCodeAt(i),Math.random()>.5&&(ch="x"+ch.toString(16)),out+="&#"+ch+";";returnout},Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){varout=this.options.highlight(code,lang);null!=out&&out!==code&&(escaped=!0,code=out)}returnlang?'<pre><code class="'+this.options.langPrefix+escape(lang,!0)+'">'+(escaped?code:escape(code,!0))+"\n</code></pre>\n":"<pre><code>"+(escaped?code:escape(code,!0))+"\n</code></pre>"},Renderer.prototype.blockquote=function(quote){return"<blockquote>\n"+quote+"</blockquote>\n"},Renderer.prototype.html=function(html){returnhtml},Renderer.prototype.heading=function(text,level,raw){return"<h"+level+' id="'+this.options.headerPrefix+raw.toLowerCase().replace(/[^\w]+/g,"-")+'">'+text+"</h"+level+">\n"},Renderer.prototype.hr=function(){returnthis.options.xhtml?"<hr/>\n":"<hr>\n"},Renderer.prototype.list=function(body,ordered){vartype=ordered?"ol":"ul";return"<"+type+">\n"+body+"</"+type+">\n"},Renderer.prototype.listitem=function(text){return"<li>"+text+"</li>\n"},Renderer.prototype.paragraph=function(text){return"<p>"+text+"</p>\n"},Renderer.prototype.table=function(header,body){return"<table>\n<thead>\n"+header+"</thead>\n<tbody>\n"+body+"</tbody>\n</table>\n"},Renderer.prototype.tablerow=function(content){return"<tr>\n"+content+"</tr>\n"},Renderer.prototype.tablecell=function(content,flags){vartype=flags.header?"th":"td",tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";returntag+content+"</"+type+">\n"},Renderer.prototype.strong=function(text){return"<strong>"+text+"</strong>"},Renderer.prototype.em=function(text){return"<em>"+text+"</em>"},Renderer.prototype.codespan=function(text){return"<code>"+text+"</code>"},Renderer.prototype.br=function(){returnthis.options.xhtml?"<br/>":"<br>"},Renderer.prototype.del=function(text){return"<del>"+text+"</del>"},Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{varprot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===prot.indexOf("javascript:")||0===prot.indexOf("vbscript:"))
varformatter=newIntl.DateTimeFormat(locale,extractComponents(pattern));returndateFormatterCache.set(key,formatter),formatter.format(date)},DateFormatter}();returnexports.DateFormatter=DateFormatter,global.define=__define,module.exports}),$__System.registerDynamic("18e",["2b","3f"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__extends=this&&this.__extends||function(d,b){function__(){this.constructor=d}for(varpinb)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new__)},lang_1=$__require("2b"),exceptions_1=$__require("3f"),InvalidPipeArgumentException=function(_super){functionInvalidPipeArgumentException(type,value){_super.call(this,"Invalid argument '"+value+"' for pipe '"+lang_1.stringify(type)+"'")}return__extends(InvalidPipeArgumentException,_super),InvalidPipeArgumentException}(exceptions_1.BaseException);returnexports.InvalidPipeArgumentException=InvalidPipeArgumentException,global.define=__define,module.exports}),$__System.registerDynamic("195",["2b","3f","194","15","3a","18e"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__extends=this&&this.__extends||function(d,b){function__(){this.constructor=d}for(varpinb)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new__)},__decorate=this&&this.__decorate||function(decorators,target,key,desc){vard,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeofReflect&&"function"==typeofReflect.decorate)r=Reflect.decorate(decorators,target,key,desc);elsefor(vari=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);returnc>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeofReflect&&"function"==typeofReflect.metadata?Reflect.metadata(k,v):void0},lang_1=$__require("2b"),exceptions_1=$__require("3f"),intl_1=$__require("194"),core_1=$__require("15"),collection_1=$__require("3a"),invalid_pipe_argument_exception_1=$__require("18e"),defaultLocale="en-US",_re=lang_1.RegExpWrapper.create("^(\\d+)?\\.((\\d+)(\\-(\\d+))?)?$"),NumberPipe=function(){functionNumberPipe(){}returnNumberPipe._format=function(value,style,digits,currency,currencyAsSymbol){if(void0===currency&&(currency=null),void0===currencyAsSymbol&&(currencyAsSymbol=!1),lang_1.isBlank(value))returnnull;if(!lang_1.isNumber(value))thrownewinvalid_pipe_argument_exception_1.InvalidPipeArgumentException(NumberPipe,value);varminInt=1,minFraction=0,maxFraction=3;if(lang_1.isPresent(digits)){varparts=lang_1.RegExpWrapper.firstMatch(_re,digits);if(lang_1.isBlank(parts))thrownewexceptions_1.BaseException(digits+" is not a valid digit info for number pipes");lang_1.isPresent(parts[1])&&(minInt=lang_1.NumberWrapper.parseIntAutoRadix(parts[1])),lang_1.isPresent(parts[3])&&(minFraction=lang_1.NumberWrapper.parseIntAutoRadix(parts[3])),lang_1.isPresent(parts[5])&&(maxFraction=lang_1.NumberWrapper.parseIntAutoRadix(parts[5]))}returnintl_1.NumberFormatter.format(value,defaultLocale,style,{minimumIntegerDigits:minInt,minimumFractionDigits:minFraction,maximumFractionDigits:maxFraction,currency:currency,currencyAsSymbol:currencyAsSymbol})},NumberPipe=__decorate([lang_1.CONST(),core_1.Injectable(),__metadata("design:paramtypes",[])],NumberPipe)}();exports.NumberPipe=NumberPipe;varDecimalPipe=function(_super){functionDecimalPipe(){_super.apply(this,arguments)}return__extends(DecimalPipe,_super),DecimalPipe.prototype.transform=function(value,args){vardigits=collection_1.ListWrapper.first(args);returnNumberPipe._format(value,intl_1.NumberFormatStyle.Decimal,digits)},DecimalPipe=__decorate([lang_1.CONST(),core_1.Pipe({name:"number"}),core_1.Injectable(),__metadata("design:paramtypes",[])],DecimalPipe)}(NumberPipe);exports.DecimalPipe=DecimalPipe;varPercentPipe=function(_super){functionPercentPipe(){_super.ap
get:function(){returnexceptions_1.unimplemented()},enumerable:!0,configurable:!0}),PlatformRef}();exports.PlatformRef=PlatformRef;varPlatformRef_=function(_super){functionPlatformRef_(_injector,_dispose){_super.call(this),this._injector=_injector,this._dispose=_dispose,this._applications=[],this._disposeListeners=[]}return__extends(PlatformRef_,_super),PlatformRef_.prototype.registerDisposeListener=function(dispose){this._disposeListeners.push(dispose)},Object.defineProperty(PlatformRef_.prototype,"injector",{get:function(){returnthis._injector},enumerable:!0,configurable:!0}),PlatformRef_.prototype.application=function(providers){varapp=this._initApp(createNgZone(),providers);if(async_1.PromiseWrapper.isPromise(app))thrownewexceptions_1.BaseException("Cannot use asyncronous app initializers with application. Use asyncApplication instead.");returnapp},PlatformRef_.prototype.asyncApplication=function(bindingFn,additionalProviders){var_this=this,zone=createNgZone(),completer=async_1.PromiseWrapper.completer();returnnull===bindingFn?completer.resolve(this._initApp(zone,additionalProviders)):zone.run(function(){async_1.PromiseWrapper.then(bindingFn(zone),function(providers){lang_1.isPresent(additionalProviders)&&(providers=collection_1.ListWrapper.concat(providers,additionalProviders));varpromise=_this._initApp(zone,providers);completer.resolve(promise)})}),completer.promise},PlatformRef_.prototype._initApp=function(zone,providers){varinjector,app,_this=this;zone.run(function(){providers=collection_1.ListWrapper.concat(providers,[di_1.provide(ng_zone_1.NgZone,{useValue:zone}),di_1.provide(ApplicationRef,{useFactory:function(){returnapp},deps:[]})]);varexceptionHandler;try{injector=_this.injector.resolveAndCreateChild(providers),exceptionHandler=injector.get(exceptions_1.ExceptionHandler),zone.overrideOnErrorHandler(function(e,s){returnexceptionHandler.call(e,s)})}catch(e){lang_1.isPresent(exceptionHandler)?exceptionHandler.call(e,e.stack):lang_1.print(e.toString())}}),app=newApplicationRef_(this,zone,injector),this._applications.push(app);varpromise=_runAppInitializers(injector);returnnull!==promise?async_1.PromiseWrapper.then(promise,function(_){returnapp}):app},PlatformRef_.prototype.dispose=function(){collection_1.ListWrapper.clone(this._applications).forEach(function(app){returnapp.dispose()}),this._disposeListeners.forEach(function(dispose){returndispose()}),this._dispose()},PlatformRef_.prototype._applicationDisposed=function(app){collection_1.ListWrapper.remove(this._applications,app)},PlatformRef_}(PlatformRef);exports.PlatformRef_=PlatformRef_;varApplicationRef=function(){functionApplicationRef(){}returnObject.defineProperty(ApplicationRef.prototype,"injector",{get:function(){returnexceptions_1.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(ApplicationRef.prototype,"zone",{get:function(){returnexceptions_1.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(ApplicationRef.prototype,"componentTypes",{get:function(){returnexceptions_1.unimplemented()},enumerable:!0,configurable:!0}),ApplicationRef}();exports.ApplicationRef=ApplicationRef;varApplicationRef_=function(_super){functionApplicationRef_(_platform,_zone,_injector){var_this=this;_super.call(this),this._platform=_platform,this._zone=_zone,this._injector=_injector,this._bootstrapListeners=[],this._disposeListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,lang_1.isPresent(this._zone)&&async_1.ObservableWrapper.subscribe(this._zone.onTurnDone,function(_){_this._zone.run(function(){_this.tick()})}),this._enforceNoNewChanges=lang_1.assertionsEnabled()}return__extends(ApplicationRef_,_super),ApplicationRef_.prototype.registerBootstrapListener=function(listener){this._bootstrapListeners.push(listener)},ApplicationRef_.prototype.registerDisposeListener=function(dispose){this._disposeListeners.push(dispose)},ApplicationRef_.prototype.registerChangeDetector=function(changeDetector){this._changeDetectorRefs
"use strict";function_isDirectiveMetadata(type){returntypeinstanceofmetadata_1.DirectiveMetadata}varglobal=this,__define=global.define;global.define=void0;var__decorate=this&&this.__decorate||function(decorators,target,key,desc){vard,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeofReflect&&"function"==typeofReflect.decorate)r=Reflect.decorate(decorators,target,key,desc);elsefor(vari=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);returnc>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeofReflect&&"function"==typeofReflect.metadata?Reflect.metadata(k,v):void0},di_1=$__require("3c"),lang_1=$__require("2b"),exceptions_1=$__require("3f"),collection_1=$__require("3a"),metadata_1=$__require("52"),reflection_1=$__require("84"),DirectiveResolver=function(){functionDirectiveResolver(){}returnDirectiveResolver.prototype.resolve=function(type){vartypeMetadata=reflection_1.reflector.annotations(di_1.resolveForwardRef(type));if(lang_1.isPresent(typeMetadata)){varmetadata=typeMetadata.find(_isDirectiveMetadata);if(lang_1.isPresent(metadata)){varpropertyMetadata=reflection_1.reflector.propMetadata(type);returnthis._mergeWithPropertyMetadata(metadata,propertyMetadata,type)}}thrownewexceptions_1.BaseException("No Directive annotation found on "+lang_1.stringify(type))},DirectiveResolver.prototype._mergeWithPropertyMetadata=function(dm,propertyMetadata,directiveType){varinputs=[],outputs=[],host={},queries={};returncollection_1.StringMapWrapper.forEach(propertyMetadata,function(metadata,propName){metadata.forEach(function(a){if(ainstanceofmetadata_1.InputMetadata&&(lang_1.isPresent(a.bindingPropertyName)?inputs.push(propName+": "+a.bindingPropertyName):inputs.push(propName)),ainstanceofmetadata_1.OutputMetadata&&(lang_1.isPresent(a.bindingPropertyName)?outputs.push(propName+": "+a.bindingPropertyName):outputs.push(propName)),ainstanceofmetadata_1.HostBindingMetadata&&(lang_1.isPresent(a.hostPropertyName)?host["["+a.hostPropertyName+"]"]=propName:host["["+propName+"]"]=propName),ainstanceofmetadata_1.HostListenerMetadata){varargs=lang_1.isPresent(a.args)?a.args.join(", "):"";host["("+a.eventName+")"]=propName+"("+args+")"}ainstanceofmetadata_1.ContentChildrenMetadata&&(queries[propName]=a),ainstanceofmetadata_1.ViewChildrenMetadata&&(queries[propName]=a),ainstanceofmetadata_1.ContentChildMetadata&&(queries[propName]=a),ainstanceofmetadata_1.ViewChildMetadata&&(queries[propName]=a)})}),this._merge(dm,inputs,outputs,host,queries,directiveType)},DirectiveResolver.prototype._merge=function(dm,inputs,outputs,host,queries,directiveType){varmergedOutputs,mergedInputs=lang_1.isPresent(dm.inputs)?collection_1.ListWrapper.concat(dm.inputs,inputs):inputs;lang_1.isPresent(dm.outputs)?(dm.outputs.forEach(function(propName){if(collection_1.ListWrapper.contains(outputs,propName))thrownewexceptions_1.BaseException("Output event '"+propName+"' defined multiple times in '"+lang_1.stringify(directiveType)+"'")}),mergedOutputs=collection_1.ListWrapper.concat(dm.outputs,outputs)):mergedOutputs=outputs;varmergedHost=lang_1.isPresent(dm.host)?collection_1.StringMapWrapper.merge(dm.host,host):host,mergedQueries=lang_1.isPresent(dm.queries)?collection_1.StringMapWrapper.merge(dm.queries,queries):queries;returndminstanceofmetadata_1.ComponentMetadata?newmetadata_1.ComponentMetadata({selector:dm.selector,inputs:mergedInputs,outputs:mergedOutputs,host:mergedHost,exportAs:dm.exportAs,moduleId:dm.moduleId,queries:mergedQueries,changeDetection:dm.changeDetection,providers:dm.providers,viewProviders:dm.viewProviders}):newmetadata_1.DirectiveMetadata({selector:dm.selector,inputs:mergedInputs,outputs:mergedOutputs,host:mergedHost,exportAs:dm.exportAs,queries:mergedQueries,providers:dm.providers})},DirectiveResolver=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],DirectiveResolver)}();returnexports.DirectiveResolver=Direc
varrecord;for(record=this._additionsHead;null!==record;record=record._nextAdded)fn(record)},DefaultKeyValueDiffer.prototype.forEachRemovedItem=function(fn){varrecord;for(record=this._removalsHead;null!==record;record=record._nextRemoved)fn(record)},DefaultKeyValueDiffer.prototype.diff=function(map){if(lang_1.isBlank(map)&&(map=collection_1.MapWrapper.createFromPairs([])),!(mapinstanceofMap||lang_1.isJsObject(map)))thrownewexceptions_1.BaseException("Error trying to diff '"+map+"'");returnthis.check(map)?this:null},DefaultKeyValueDiffer.prototype.onDestroy=function(){},DefaultKeyValueDiffer.prototype.check=function(map){var_this=this;this._reset();varrecords=this._records,oldSeqRecord=this._mapHead,lastOldSeqRecord=null,lastNewSeqRecord=null,seqChanged=!1;returnthis._forEach(map,function(value,key){varnewSeqRecord;null!==oldSeqRecord&&key===oldSeqRecord.key?(newSeqRecord=oldSeqRecord,lang_1.looseIdentical(value,oldSeqRecord.currentValue)||(oldSeqRecord.previousValue=oldSeqRecord.currentValue,oldSeqRecord.currentValue=value,_this._addToChanges(oldSeqRecord))):(seqChanged=!0,null!==oldSeqRecord&&(oldSeqRecord._next=null,_this._removeFromSeq(lastOldSeqRecord,oldSeqRecord),_this._addToRemovals(oldSeqRecord)),records.has(key)?newSeqRecord=records.get(key):(newSeqRecord=newKVChangeRecord(key),records.set(key,newSeqRecord),newSeqRecord.currentValue=value,_this._addToAdditions(newSeqRecord))),seqChanged&&(_this._isInRemovals(newSeqRecord)&&_this._removeFromRemovals(newSeqRecord),null==lastNewSeqRecord?_this._mapHead=newSeqRecord:lastNewSeqRecord._next=newSeqRecord),lastOldSeqRecord=oldSeqRecord,lastNewSeqRecord=newSeqRecord,oldSeqRecord=null===oldSeqRecord?null:oldSeqRecord._next}),this._truncate(lastOldSeqRecord,oldSeqRecord),this.isDirty},DefaultKeyValueDiffer.prototype._reset=function(){if(this.isDirty){varrecord;for(record=this._previousMapHead=this._mapHead;null!==record;record=record._next)record._nextPrevious=record._next;for(record=this._changesHead;null!==record;record=record._nextChanged)record.previousValue=record.currentValue;for(record=this._additionsHead;null!=record;record=record._nextAdded)record.previousValue=record.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=this._removalsTail=null}},DefaultKeyValueDiffer.prototype._truncate=function(lastRecord,record){for(;null!==record;){null===lastRecord?this._mapHead=null:lastRecord._next=null;varnextRecord=record._next;this._addToRemovals(record),lastRecord=record,record=nextRecord}for(varrec=this._removalsHead;null!==rec;rec=rec._nextRemoved)rec.previousValue=rec.currentValue,rec.currentValue=null,this._records["delete"](rec.key)},DefaultKeyValueDiffer.prototype._isInRemovals=function(record){returnrecord===this._removalsHead||null!==record._nextRemoved||null!==record._prevRemoved},DefaultKeyValueDiffer.prototype._addToRemovals=function(record){null===this._removalsHead?this._removalsHead=this._removalsTail=record:(this._removalsTail._nextRemoved=record,record._prevRemoved=this._removalsTail,this._removalsTail=record)},DefaultKeyValueDiffer.prototype._removeFromSeq=function(prev,record){varnext=record._next;null===prev?this._mapHead=next:prev._next=next},DefaultKeyValueDiffer.prototype._removeFromRemovals=function(record){varprev=record._prevRemoved,next=record._nextRemoved;null===prev?this._removalsHead=next:prev._nextRemoved=next,null===next?this._removalsTail=prev:next._prevRemoved=prev,record._prevRemoved=record._nextRemoved=null},DefaultKeyValueDiffer.prototype._addToAdditions=function(record){null===this._additionsHead?this._additionsHead=this._additionsTail=record:(this._additionsTail._nextAdded=record,this._additionsTail=record)},DefaultKeyValueDiffer.prototype._addToChanges=function(record){null===this._changesHead?this._changesHead=this._changesTail=record:(this._changesTail._nextChanged=record,this._changesTail=record)},DefaultKeyValueDiffer.prototype.toString=function(){varrecord,items=[],previous=[],changes=[],additions=[],removals=[];for(record=this._mapHead;null!==r
void0===index&&(index=null),lang_1.isBlank(index)&&(index=this.index);varlocation=index<this.tokens.length?"at column "+(this.tokens[index].index+1)+" in":"at the end of the expression";thrownewParseException(message,this.input,location,this.location)},_ParseAST}();exports._ParseAST=_ParseAST;varSimpleExpressionChecker=function(){functionSimpleExpressionChecker(){this.simple=!0}returnSimpleExpressionChecker.check=function(ast){vars=newSimpleExpressionChecker;returnast.visit(s),s.simple},SimpleExpressionChecker.prototype.visitImplicitReceiver=function(ast){},SimpleExpressionChecker.prototype.visitInterpolation=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitLiteralPrimitive=function(ast){},SimpleExpressionChecker.prototype.visitPropertyRead=function(ast){},SimpleExpressionChecker.prototype.visitPropertyWrite=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitSafePropertyRead=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitMethodCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitSafeMethodCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitFunctionCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitLiteralArray=function(ast){this.visitAll(ast.expressions)},SimpleExpressionChecker.prototype.visitLiteralMap=function(ast){this.visitAll(ast.values)},SimpleExpressionChecker.prototype.visitBinary=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitPrefixNot=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitConditional=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitPipe=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitKeyedRead=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitKeyedWrite=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitAll=function(asts){for(varres=collection_1.ListWrapper.createFixedSize(asts.length),i=0;i<asts.length;++i)res[i]=asts[i].visit(this);returnres},SimpleExpressionChecker.prototype.visitChain=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitQuote=function(ast){this.simple=!1},SimpleExpressionChecker}();returnglobal.define=__define,module.exports}),$__System.registerDynamic("1ca",[],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varDebugContext=function(){functionDebugContext(element,componentElement,directive,context,locals,injector){this.element=element,this.componentElement=componentElement,this.directive=directive,this.context=context,this.locals=locals,this.injector=injector}returnDebugContext}();exports.DebugContext=DebugContext;varChangeDetectorGenConfig=function(){functionChangeDetectorGenConfig(genDebugInfo,logBindingUpdate,useJit){this.genDebugInfo=genDebugInfo,this.logBindingUpdate=logBindingUpdate,this.useJit=useJit}returnChangeDetectorGenConfig}();exports.ChangeDetectorGenConfig=ChangeDetectorGenConfig;varChangeDetectorDefinition=function(){functionChangeDetectorDefinition(id,strategy,variableNames,bindingRecords,eventRecords,directiveRecords,genConfig){this.id=id,this.strategy=strategy,this.variableNames=variableNames,this.bindingRecords=bindingRecords,this.eventRecords=eventRecords,this.directiveRecords=directiveRecords,this.genConfig=genConfig}returnChangeDetectorDefinition}();returnexports.ChangeDetectorDefinition=ChangeDetectorDefinition,global.define=__define,module.exports}),$__System.registerDynamic("1d4",["2b","3a"],!0,function($__require,exports,module){"use strict";functionsanitizeName(s){returnlang_1.StringWrapper.replaceAll(s,_whiteSpaceRegExp,"")}varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b"),collection_1=$__require("3a"),_STATE_ACCESSOR="state",_PROP_BINDING_INDEX="propertyBindingIndex",_DIRECTIVES_ACCESSOR="directiveIndices",_DISPATCHER_ACCESSOR="dispatcher",_LOCALS_ACCESSOR="locals",_MODE_ACCESSOR="mode",_PIPES_ACCESSOR="pipes",_PROTOS_ACCESSOR="protos";exports.CONTEXT_ACCESSOR="conte
returnlang_1.isPresent(match)?(record.lastInBinding?(dstRecords.push(_createSelfRecord(record,match.selfIndex,dstRecords.length+1)),match.referencedBySelf=!0):record.argumentToPureFunction&&(match.argumentToPureFunction=!0),match):(excluded&&excludedIdxs.push(record.selfIndex),dstRecords.push(record),record)}function_findFirstMatch(record,dstRecords,excludedIdxs){returndstRecords.find(function(rr){return-1==excludedIdxs.indexOf(rr.selfIndex)&&rr.mode!==proto_record_1.RecordType.DirectiveLifecycle&&_haveSameDirIndex(rr,record)&&rr.mode===record.mode&&lang_1.looseIdentical(rr.funcOrValue,record.funcOrValue)&&rr.contextIndex===record.contextIndex&&lang_1.looseIdentical(rr.name,record.name)&&collection_1.ListWrapper.equals(rr.args,record.args)})}function_cloneAndUpdateIndexes(record,dstRecords,indexMap){varargs=record.args.map(function(src){return_srcToDstSelfIndex(indexMap,src)}),contextIndex=_srcToDstSelfIndex(indexMap,record.contextIndex),selfIndex=dstRecords.length+1;returnnewproto_record_1.ProtoRecord(record.mode,record.name,record.funcOrValue,args,record.fixedArgs,contextIndex,record.directiveIndex,selfIndex,record.bindingRecord,record.lastInBinding,record.lastInDirective,record.argumentToPureFunction,record.referencedBySelf,record.propertyBindingIndex)}function_srcToDstSelfIndex(indexMap,srcIdx){vardstIdx=indexMap.get(srcIdx);returnlang_1.isPresent(dstIdx)?dstIdx:srcIdx}function_createSelfRecord(r,contextIndex,selfIndex){returnnewproto_record_1.ProtoRecord(proto_record_1.RecordType.Self,"self",null,[],r.fixedArgs,contextIndex,r.directiveIndex,selfIndex,r.bindingRecord,r.lastInBinding,r.lastInDirective,!1,!1,r.propertyBindingIndex)}function_haveSameDirIndex(a,b){vardi1=lang_1.isBlank(a.directiveIndex)?null:a.directiveIndex.directiveIndex,ei1=lang_1.isBlank(a.directiveIndex)?null:a.directiveIndex.elementIndex,di2=lang_1.isBlank(b.directiveIndex)?null:b.directiveIndex.directiveIndex,ei2=lang_1.isBlank(b.directiveIndex)?null:b.directiveIndex.elementIndex;returndi1===di2&&ei1===ei2}varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b"),collection_1=$__require("3a"),proto_record_1=$__require("1d7");returnexports.coalesce=coalesce,global.define=__define,module.exports}),$__System.registerDynamic("1da",["2b","3f","3a","74","8a","1db","1dc","1d8","1d9","1d7"],!0,function($__require,exports,module){"use strict";functioncreatePropertyRecords(definition){varrecordBuilder=newProtoRecordBuilder;returncollection_1.ListWrapper.forEachWithIndex(definition.bindingRecords,function(b,index){returnrecordBuilder.add(b,definition.variableNames,index)}),coalesce_1.coalesce(recordBuilder.records)}functioncreateEventRecords(definition){varvarNames=collection_1.ListWrapper.concat(["$event"],definition.variableNames);returndefinition.eventRecords.map(function(er){varrecords=_ConvertAstIntoProtoRecords.create(er,varNames),dirIndex=er.implicitReceiverinstanceofdirective_record_1.DirectiveIndex?er.implicitReceiver:null;returnnewevent_binding_1.EventBinding(er.target.name,er.target.elementIndex,dirIndex,records)})}function_arrayFn(length){switch(length){case0:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn0;case1:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn1;case2:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn2;case3:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn3;case4:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn4;case5:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn5;case6:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn6;case7:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn7;case8:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn8;case9:returnchange_detection_util_1.ChangeDetectionUtil.arrayFn9;default:thrownewexceptions_1.BaseException("Does not support literal maps with more than 9 elements")}}function_mapPrimitiveName(keys){varstringifiedKeys=keys.map(function(k){returnlang_1.isString(k)?'"'+k+'"':""+k}).join(", ");return"mapFn(["+stringifiedKeys+"])"}function
},ChangeDetectorJITGenerator.prototype._genOnChange=function(r){varbr=r.bindingRecord;return"if (!throwOnChange && "+CHANGES_LOCAL+") "+this._names.getDirectiveName(br.directiveRecord.directiveIndex)+".ngOnChanges("+CHANGES_LOCAL+");"},ChangeDetectorJITGenerator.prototype._genNotifyOnPushDetectors=function(r){varbr=r.bindingRecord;if(!r.lastInDirective||br.isDefaultChangeDetection())return"";varretVal="\n if("+IS_CHANGED_LOCAL+") {\n "+this._names.getDetectorName(br.directiveRecord.directiveIndex)+".markAsCheckOnce();\n }\n ";returnretVal},ChangeDetectorJITGenerator}();returnexports.ChangeDetectorJITGenerator=ChangeDetectorJITGenerator,global.define=__define,module.exports}),$__System.registerDynamic("1dd",["88"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varchange_detection_jit_generator_1=$__require("88"),JitProtoChangeDetector=function(){functionJitProtoChangeDetector(definition){this.definition=definition,this._factory=this._createFactory(definition)}returnJitProtoChangeDetector.isSupported=function(){return!0},JitProtoChangeDetector.prototype.instantiate=function(){returnthis._factory()},JitProtoChangeDetector.prototype._createFactory=function(definition){returnnewchange_detection_jit_generator_1.ChangeDetectorJITGenerator(definition,"util","AbstractChangeDetector","ChangeDetectorStatus").generate()},JitProtoChangeDetector}();returnexports.JitProtoChangeDetector=JitProtoChangeDetector,global.define=__define,module.exports}),$__System.registerDynamic("1de",["3f"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__extends=this&&this.__extends||function(d,b){function__(){this.constructor=d}for(varpinb)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new__)},exceptions_1=$__require("3f"),ExpressionChangedAfterItHasBeenCheckedException=function(_super){functionExpressionChangedAfterItHasBeenCheckedException(exp,oldValue,currValue,context){_super.call(this,"Expression '"+exp+"' has changed after it was checked. "+("Previous value: '"+oldValue+"'. Current value: '"+currValue+"'"))}return__extends(ExpressionChangedAfterItHasBeenCheckedException,_super),ExpressionChangedAfterItHasBeenCheckedException}(exceptions_1.BaseException);exports.ExpressionChangedAfterItHasBeenCheckedException=ExpressionChangedAfterItHasBeenCheckedException;varChangeDetectionError=function(_super){functionChangeDetectionError(exp,originalException,originalStack,context){_super.call(this,originalException+" in ["+exp+"]",originalException,originalStack,context),this.location=exp}return__extends(ChangeDetectionError,_super),ChangeDetectionError}(exceptions_1.WrappedException);exports.ChangeDetectionError=ChangeDetectionError;varDehydratedException=function(_super){functionDehydratedException(details){_super.call(this,"Attempt to use a dehydrated detector: "+details)}return__extends(DehydratedException,_super),DehydratedException}(exceptions_1.BaseException);exports.DehydratedException=DehydratedException;varEventEvaluationError=function(_super){functionEventEvaluationError(eventName,originalException,originalStack,context){_super.call(this,'Error during evaluation of "'+eventName+'"',originalException,originalStack,context)}return__extends(EventEvaluationError,_super),EventEvaluationError}(exceptions_1.WrappedException);exports.EventEvaluationError=EventEvaluationError;varEventEvaluationErrorContext=function(){functionEventEvaluationErrorContext(element,componentElement,context,locals,injector){this.element=element,this.componentElement=componentElement,this.context=context,this.locals=locals,this.injector=injector}returnEventEvaluationErrorContext}();returnexports.EventEvaluationErrorContext=EventEvaluationErrorContext,global.define=__define,module.exports}),$__System.registerDynamic("1df",["2b","3f","3a"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var
exports.NoAnnotationError=NoAnnotationError;varOutOfBoundsError=function(_super){functionOutOfBoundsError(index){_super.call(this,"Index "+index+" is out-of-bounds.")}return__extends(OutOfBoundsError,_super),OutOfBoundsError}(exceptions_1.BaseException);exports.OutOfBoundsError=OutOfBoundsError;varMixingMultiProvidersWithRegularProvidersError=function(_super){functionMixingMultiProvidersWithRegularProvidersError(provider1,provider2){_super.call(this,"Cannot mix multi providers and regular providers, got: "+provider1.toString()+" "+provider2.toString())}return__extends(MixingMultiProvidersWithRegularProvidersError,_super),MixingMultiProvidersWithRegularProvidersError}(exceptions_1.BaseException);returnexports.MixingMultiProvidersWithRegularProvidersError=MixingMultiProvidersWithRegularProvidersError,global.define=__define,module.exports}),$__System.registerDynamic("1ff",["2b"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__decorate=this&&this.__decorate||function(decorators,target,key,desc){vard,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeofReflect&&"function"==typeofReflect.decorate)r=Reflect.decorate(decorators,target,key,desc);elsefor(vari=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);returnc>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeofReflect&&"function"==typeofReflect.metadata?Reflect.metadata(k,v):void0},lang_1=$__require("2b"),OpaqueToken=function(){functionOpaqueToken(_desc){this._desc=_desc}returnOpaqueToken.prototype.toString=function(){return"Token "+this._desc},OpaqueToken=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[String])],OpaqueToken)}();returnexports.OpaqueToken=OpaqueToken,global.define=__define,module.exports}),$__System.registerDynamic("3c",["1cb","1d2","1fd","1f6","1f5","1fc","1fb","1ff"],!0,function($__require,exports,module){"use strict";function__export(m){for(varpinm)exports.hasOwnProperty(p)||(exports[p]=m[p])}varglobal=this,__define=global.define;global.define=void0;varmetadata_1=$__require("1cb");exports.InjectMetadata=metadata_1.InjectMetadata,exports.OptionalMetadata=metadata_1.OptionalMetadata,exports.InjectableMetadata=metadata_1.InjectableMetadata,exports.SelfMetadata=metadata_1.SelfMetadata,exports.HostMetadata=metadata_1.HostMetadata,exports.SkipSelfMetadata=metadata_1.SkipSelfMetadata,exports.DependencyMetadata=metadata_1.DependencyMetadata,__export($__require("1d2"));varforward_ref_1=$__require("1fd");exports.forwardRef=forward_ref_1.forwardRef,exports.resolveForwardRef=forward_ref_1.resolveForwardRef;varinjector_1=$__require("1f6");exports.Injector=injector_1.Injector;varprovider_1=$__require("1f5");exports.Binding=provider_1.Binding,exports.ProviderBuilder=provider_1.ProviderBuilder,exports.ResolvedFactory=provider_1.ResolvedFactory,exports.Dependency=provider_1.Dependency,exports.bind=provider_1.bind,exports.Provider=provider_1.Provider,exports.provide=provider_1.provide;varkey_1=$__require("1fc");exports.Key=key_1.Key,exports.TypeLiteral=key_1.TypeLiteral;varexceptions_1=$__require("1fb");exports.NoProviderError=exceptions_1.NoProviderError,exports.AbstractProviderError=exceptions_1.AbstractProviderError,exports.CyclicDependencyError=exceptions_1.CyclicDependencyError,exports.InstantiationError=exceptions_1.InstantiationError,exports.InvalidProviderError=exceptions_1.InvalidProviderError,exports.NoAnnotationError=exceptions_1.NoAnnotationError,exports.OutOfBoundsError=exceptions_1.OutOfBoundsError;varopaque_token_1=$__require("1ff");returnexports.OpaqueToken=opaque_token_1.OpaqueToken,global.define=__define,module.exports}),$__System.registerDynamic("90",["3c","2b"],!0,function($__require,exports,module){"use strict";function_appIdRandomProviderFactory(){return""+_randomChar()+_randomChar()+_randomChar()}function_randomChar(){returnlang_1.StringWrapper.fromCharCode(97+
returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20)}}thrownewError("Cannot create a factory for '"+lang_1.stringify(t)+"' because its constructor has more than 20 arguments")},ReflectionCapabilities.prototype._zipTypesAndAnnotations=function(paramTypes,paramAnnotations){varresult;result="undefined"==typeofparamTypes?newArray(paramAnnotations.length):newArray(paramTypes.length);for(vari=0;i<result.length;i++)"undefined"==typeofparamTypes?result[i]=[]:paramTypes[i]!=Object?result[i]=[paramTypes[i]]:result[i]=[],lang_1.isPresent(paramAnnotations)&&lang_1.isPresent(paramAnnotations[i])&&(result[i]=result[i].concat(paramAnnotations[i]));returnresult},ReflectionCapabilities.prototype.parameters=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.parameters))returntypeOrFunc.parameters;if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){varparamAnnotations=this._reflect.getMetadata("parameters",typeOrFunc),paramTypes=this._reflect.getMetadata("design:paramtypes",typeOrFunc);if(lang_1.isPresent(paramTypes)||lang_1.isPresent(paramAnnotations))returnthis._zipTypesAndAnnotations(paramTypes,paramAnnotations)}varparameters=newArray(typeOrFunc.length);returnparameters.fill(void0),parameters},ReflectionCapabilities.prototype.annotations=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.annotations)){varannotations=typeOrFunc.annotations;returnlang_1.isFunction(annotations)&&annotations.annotations&&(annotations=annotations.annotations),annotations}if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){varannotations=this._reflect.getMetadata("annotations",typeOrFunc);if(lang_1.isPresent(annotations))returnannotations}return[]},ReflectionCapabilities.prototype.propMetadata=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.propMetadata)){varpropMetadata=typeOrFunc.propMetadata;returnlang_1.isFunction(propMetadata)&&propMetadata.propMetadata&&(propMetadata=propMetadata.propMetadata),propMetadata}if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){varpropMetadata=this._reflect.getMetadata("propMetadata",typeOrFunc);if(lang_1.isPresent(propMetadata))returnpropMetadata}return{}},ReflectionCapabilities.prototype.interfaces=function(type){thrownewexceptions_1.BaseException("JavaScript does not support interfaces")},ReflectionCapabilities.prototype.getter=function(name){returnnewFunction("o","return o."+name+";")},ReflectionCapabilities.prototype.setter=function(name){returnnewFunction("o","v","return o."+name+" = v;")},ReflectionCapabilities.prototype.method=function(name){varfunctionBody="if (!o."+name+") throw new Error('\""+name+"\" is undefined');\n return o."+name+".apply(o, args);";returnnewFunction("o","args",functionBody)},ReflectionCapabilities.prototype.importUri=function(type){return"./"},ReflectionCapabilities}();returnexports.ReflectionCapabilities=ReflectionCapabilities,global.define=__define,module.exports}),$__System.registerDynamic("84",["201","94"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varreflector_1=$__require("201"),reflector_2=$__require("201");exports.Reflector=reflector_2.Reflector,exports.ReflectionInfo=reflector_2.ReflectionInfo;varreflection_capabilities_1=$__require("94");returnexports.reflector=newreflector_1.Reflector(newreflection_capabilities_1.ReflectionCapabilities),global.define=__define,module.exports}),$__System.registerDynamic("15",["52","1b4","1b6","3c","1b7","2b","5a","90","1bb","1bc","1be","54","5d","1cc","85","1c4","200","84"],!0,function($__require,exports,module){"use strict";function__export(m){for(varpinm)exports.hasOwnProperty(p)||(exports[p]=m[p])}varglobal=this,__define=global.define;global.define=void0,__export($__require("52")),__export($__require("1b4")),__export($__require("1b6")),__export($__require("3c")),__export($__require("1b7"));varlang_1=$__require("2b");exports.enableProdMode=lang_1.enableProdMode;varapplication_ref_1=$__require("5a");expo
return$__require("207"),module.exports=function(it,key){return$.getDesc(it,key)},global.define=__define,module.exports}),$__System.registerDynamic("209",["208"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports={"default":$__require("208"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("6",["209"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var_Object$getOwnPropertyDescriptor=$__require("209")["default"];returnexports["default"]=function(_x,_x2,_x3){for(var_again=!0;_again;){varobject=_x,property=_x2,receiver=_x3;_again=!1,null===object&&(object=Function.prototype);vardesc=_Object$getOwnPropertyDescriptor(object,property);if(void0!==desc){if("value"indesc)returndesc.value;vargetter=desc.get;if(void0===getter)return;returngetter.call(receiver)}varparent=Object.getPrototypeOf(object);if(null===parent)return;_x=parent,_x2=property,_x3=receiver,_again=!0,desc=parent=void0}},exports.__esModule=!0,global.define=__define,module.exports}),$__System.registerDynamic("20a",["af"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;var$=$__require("af");returnmodule.exports=function(P,D){return$.create(P,D)},global.define=__define,module.exports}),$__System.registerDynamic("20b",["20a"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports={"default":$__require("20a"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("aa",[],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=function(it){return"object"==typeofit?null!==it:"function"==typeofit},global.define=__define,module.exports}),$__System.registerDynamic("a4",["aa"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;varisObject=$__require("aa");returnmodule.exports=function(it){if(!isObject(it))throwTypeError(it+" is not an object!");returnit},global.define=__define,module.exports}),$__System.registerDynamic("b3",["af","aa","a4","98"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;vargetDesc=$__require("af").getDesc,isObject=$__require("aa"),anObject=$__require("a4"),check=function(O,proto){if(anObject(O),!isObject(proto)&&null!==proto)throwTypeError(proto+": can't set as prototype!")};returnmodule.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{set=$__require("98")(Function.call,getDesc(Object.prototype,"__proto__").set,2),set(test,[]),buggy=!(testinstanceofArray)}catch(e){buggy=!0}returnfunction(O,proto){returncheck(O,proto),buggy?O.__proto__=proto:set(O,proto),O}}({},!1):void0),check:check},global.define=__define,module.exports}),$__System.registerDynamic("20c",["99","b3"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;var$export=$__require("99");return$export($export.S,"Object",{setPrototypeOf:$__require("b3").set}),global.define=__define,module.exports}),$__System.registerDynamic("20d",["20c","30"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,$__require("20c"),module.exports=$__require("30").Object.setPrototypeOf,global.define=__define,module.exports}),$__System.registerDynamic("20e",["20d"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports={"default":$__require("20d"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("7",["20b","20e"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var_Object$create=$__require("20b")["default"],_Object$setPrototypeOf=$__require("20e")["default"];returnexports["default"]=function(subClass,superClass){if("function"!=typ