!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),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),w=0,b=n?c(h,S):e?c(h,0):void0;S>w;w++)if((l||winm)&&(g=m[w],y=x(g,w,d),t))if(n)b[w]=y;elseif(y)switch(t){case3:return!0;case5:returng;case6:returnw;case2:b.push(g)}elseif(s)return!1;returnf?-1:a||s?s:b}}},{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(61),u=t(18),c=t(70),a=t(19),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(20),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]},w=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=w(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},for
!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
this.callbacks.forEach(function(callback){returncallback()}),this.callbacks=[],this.eventClearFunctions.forEach(function(fn){returnfn()}),this.eventClearFunctions=[],this.completed=!0},Animation.prototype.onComplete=function(callback){returnthis.completed?callback():this.callbacks.push(callback),this},Animation.prototype.parseDurationString=function(duration){varmaxValue=0;if(null==duration||duration.length<2)returnmaxValue;if("ms"==duration.substring(duration.length-2)){varvalue=lang_1.NumberWrapper.parseInt(this.stripLetters(duration),10);value>maxValue&&(maxValue=value)}elseif("s"==duration.substring(duration.length-1)){varms=1e3*lang_1.NumberWrapper.parseFloat(this.stripLetters(duration)),value=math_1.Math.floor(ms);value>maxValue&&(maxValue=value)}returnmaxValue},Animation.prototype.stripLetters=function(str){returnlang_1.StringWrapper.replaceAll(str,lang_1.RegExpWrapper.create("[^0-9]+$",""),"")},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(d
__export($__require("46")),__export($__require("55")),global.define=__define,module.exports}),$__System.registerDynamic("57",["39"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;vardom_adapter_1=$__require("39"),Title=function(){functionTitle(){}returnTitle.prototype.getTitle=function(){returndom_adapter_1.DOM.getTitle()},Title.prototype.setTitle=function(newTitle){dom_adapter_1.DOM.setTitle(newTitle)},Title}();returnexports.Title=Title,global.define=__define,module.exports}),$__System.registerDynamic("58",[],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varwin=window;returnexports.window=win,exports.document=window.document,exports.location=window.location,exports.gc=window.gc?function(){returnwindow.gc()}:function(){returnnull},exports.performance=window.performance?window.performance:null,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=$__requir
var_this=this,nodeName=element.name,preparsedElement=template_preparser_1.preparseElement(element);if(preparsedElement.type===template_preparser_1.PreparsedElementType.SCRIPT||preparsedElement.type===template_preparser_1.PreparsedElementType.STYLE)returnnull;if(preparsedElement.type===template_preparser_1.PreparsedElementType.STYLESHEET&&style_url_resolver_1.isStyleUrlResolvable(preparsedElement.hrefAttr))returnnull;varmatchableAttrs=[],elementOrDirectiveProps=[],vars=[],events=[],templateElementOrDirectiveProps=[],templateVars=[],templateMatchableAttrs=[],hasInlineTemplates=!1,attrs=[];element.attrs.forEach(function(attr){varhasBinding=_this._parseAttr(attr,matchableAttrs,elementOrDirectiveProps,events,vars),hasTemplateBinding=_this._parseInlineTemplateBinding(attr,templateMatchableAttrs,templateElementOrDirectiveProps,templateVars);hasBinding||hasTemplateBinding||(attrs.push(_this.visitAttr(attr,null)),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(bind
exports.validateSchema.call(this,report,schema.additionalProperties),report.path.pop())},properties:function(report,schema){if("object"!==Utils.whatIs(schema.properties))returnvoidreport.addError("KEYWORD_TYPE_EXPECTED",["properties","object"]);for(varkeys=Object.keys(schema.properties),idx=keys.length;idx--;){varkey=keys[idx],val=schema.properties[key];report.path.push("properties"),report.path.push(key),exports.validateSchema.call(this,report,val),report.path.pop(),report.path.pop()}this.options.forceAdditional===!0&&void0===schema.additionalProperties&&report.addError("KEYWORD_UNDEFINED_STRICT",["additionalProperties"]),this.options.assumeAdditional&&void0===schema.additionalProperties&&(schema.additionalProperties=!1),this.options.forceProperties===!0&&0===keys.length&&report.addError("CUSTOM_MODE_FORCE_PROPERTIES",["properties"])},patternProperties:function(report,schema){if("object"!==Utils.whatIs(schema.patternProperties))returnvoidreport.addError("KEYWORD_TYPE_EXPECTED",["patternProperties","object"]);for(varkeys=Object.keys(schema.patternProperties),idx=keys.length;idx--;){varkey=keys[idx],val=schema.patternProperties[key];try{RegExp(key)}catch(e){report.addError("KEYWORD_PATTERN",["patternProperties",key])}report.path.push("patternProperties"),report.path.push(key.toString()),exports.validateSchema.call(this,report,val),report.path.pop(),report.path.pop()}this.options.forceProperties===!0&&0===keys.length&&report.addError("CUSTOM_MODE_FORCE_PROPERTIES",["patternProperties"])},dependencies:function(report,schema){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",["propertie
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."},"in":{type:"string",description:"Determines the location of the parameter.","enum":["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{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":["header"]},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"},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"}}},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/p
},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){functiong(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throwTypeError("listener must be a function");varfired=!1;returng.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){varlist,position,length,i;if(!isFunction(listener))throwTypeError("listener must be a function");if(!this._events||!this._events[type])returnthis;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)deletethis._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);elseif(isObject(list)){for(i=length;i-->0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)returnthis;1===list.length?(list.length=0,deletethis._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}returnthis},EventEmitter.prototype.removeAllListeners=function(type){varkey,listeners;if(!this._events)returnthis;if(!this._events.removeListener)return0===arguments.length?this._events={}:this._events[type]&&deletethis._events[type],this;if(0===arguments.length){for(keyinthis._events)"removeListener"!==key&&this.removeAllListeners(key);returnthis.removeAllListeners("removeListener"),this._events={},this}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);elsefor(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);returndeletethis._events[type],this},EventEmitter.prototype.listeners=function(type){varret;returnret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){varret;returnret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0},global.define=__define,module.exports}),$__System.registerDynamic("fb",["fa"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("fa"),global.define=__define,module.exports}),$__System.registerDynamic("fc",["fb"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__System._nodeRequire?$__System._nodeRequire("events"):$__require("fb"),global.define=__define,module.exports}),$__System.registerDynamic("fd",["fc"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("fc"),global.define=__define,module.exports}),$__System.registerDynamic("fe",["e8"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,function(Buffer){functionassertEncoding(encoding){if(encoding&&!isBufferEncoding(encoding))thrownewError("Unknown encoding: "+encoding)}functionpassThroughWrite(buffer){returnbuffer.toString(this.encoding)}functionutf16DetectIncompleteChar(buffer){this.charReceived=buffer.length%2,this.charLength=this.charReceived?2:0}functionbase64DetectIncompleteChar(buffer){this.charReceived=buffer.length%3,this.charLength=this.charReceived?3:0}varBuffer=$__require("e8").Buffer,isBufferEncoding=Buffer.isEncoding||function(encoding){switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(encoding){switch(this.encoding=(encoding||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(encoding),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;bre
!(state.lineIndent>0||37!==ch));){for(hasDirectives=!0,ch=state.input.charCodeAt(++state.position),_position=state.position;0!==ch&&!is_WS_OR_EOL(ch);)ch=state.input.charCodeAt(++state.position);for(directiveName=state.input.slice(_position,state.position),directiveArgs=[],directiveName.length<1&&throwError(state,"directive name must not be less than one character in length");0!==ch;){for(;is_WHITE_SPACE(ch);)ch=state.input.charCodeAt(++state.position);if(35===ch){doch=state.input.charCodeAt(++state.position);while(0!==ch&&!is_EOL(ch));break}if(is_EOL(ch))break;for(_position=state.position;0!==ch&&!is_WS_OR_EOL(ch);)ch=state.input.charCodeAt(++state.position);directiveArgs.push(state.input.slice(_position,state.position))}0!==ch&&readLineBreak(state),_hasOwnProperty.call(directiveHandlers,directiveName)?directiveHandlers[directiveName](state,directiveName,directiveArgs):throwWarning(state,'unknown document directive "'+directiveName+'"')}returnskipSeparationSpace(state,!0,-1),0===state.lineIndent&&45===state.input.charCodeAt(state.position)&&45===state.input.charCodeAt(state.position+1)&&45===state.input.charCodeAt(state.position+2)?(state.position+=3,skipSeparationSpace(state,!0,-1)):hasDirectives&&throwError(state,"directives end mark is expected"),composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(state,!0,-1),state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))&&throwWarning(state,"non-ASCII line breaks are interpreted as content"),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
for(vari=start;end>i;i++)ret+=String.fromCharCode(127&buf[i]);returnret}functionbinarySlice(buf,start,end){varret="";end=Math.min(buf.length,end);for(vari=start;end>i;i++)ret+=String.fromCharCode(buf[i]);returnret}functionhexSlice(buf,start,end){varlen=buf.length;(!start||0>start)&&(start=0),(!end||0>end||end>len)&&(end=len);for(varout="",i=start;end>i;i++)out+=toHex(buf[i]);returnout}functionutf16leSlice(buf,start,end){for(varbytes=buf.slice(start,end),res="",i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);returnres}functioncheckOffset(offset,ext,length){if(offset%1!==0||0>offset)thrownewRangeError("offset is not uint");if(offset+ext>length)thrownewRangeError("Trying to access beyond buffer length")}functioncheckInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))thrownewTypeError("buffer must be a Buffer instance");if(value>max||min>value)thrownewRangeError("value is out of bounds");if(offset+ext>buf.length)thrownewRangeError("index out of range")}functionobjectWriteUInt16(buf,value,offset,littleEndian){0>value&&(value=65535+value+1);for(vari=0,j=Math.min(buf.length-offset,2);j>i;i++)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}functionobjectWriteUInt32(buf,value,offset,littleEndian){0>value&&(value=4294967295+value+1);for(vari=0,j=Math.min(buf.length-offset,4);j>i;i++)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}functioncheckIEEE754(buf,value,offset,ext,max,min){if(value>max||min>value)thrownewRangeError("value is out of bounds");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"),ie
varhost=this.host,port=portPattern.exec(host);port&&(port=port[0],":"!==port&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)},global.define=__define,module.exports}),$__System.registerDynamic("15a",["159"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("159"),global.define=__define,module.exports}),$__System.registerDynamic("15b",["15a"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__System._nodeRequire?$__System._nodeRequire("url"):$__require("15a"),global.define=__define,module.exports}),$__System.registerDynamic("eb",["15b"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("15b"),global.define=__define,module.exports}),$__System.registerDynamic("13d",["117","119","ea","de","eb"],!0,function($__require,exports,module){"use strict";functiondereference(parser,options){util.debug("Dereferencing $ref pointers in %s",parser.$refs._basePath),parser.$refs.circular=!1,crawl(parser.schema,parser.$refs._basePath,"#",[],parser.$refs,options)}functioncrawl(obj,path,pathFromRoot,parents,$refs,options){varisCircular=!1;returnobj&&"object"==typeofobj&&(parents.push(obj),Object.keys(obj).forEach(function(key){varkeyPath=Pointer.join(path,key),keyPathFromRoot=Pointer.join(pathFromRoot,key),value=obj[key],circular=!1;if($Ref.isAllowed$Ref(value,options)){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);v
thrownewexceptions_1.BaseException("platform cannot be initialized with different sets of providers.")}return_createPlatform(providers)}functiondisposePlatform(){lang_1.isPresent(_platform)&&(_platform.dispose(),_platform=null)}function_createPlatform(providers){_platformProviders=providers;varinjector=di_1.Injector.resolveAndCreate(providers);return_platform=newPlatformRef_(injector,function(){_platform=null,_platformProviders=null}),_runPlatformInitializers(injector),_platform}function_runPlatformInitializers(injector){varinits=injector.getOptional(application_tokens_1.PLATFORM_INITIALIZER);lang_1.isPresent(inits)&&inits.forEach(function(init){returninit()})}function_runAppInitializers(injector){varinits=injector.getOptional(application_tokens_1.APP_INITIALIZER),promises=[];returnlang_1.isPresent(inits)&&inits.forEach(function(init){varretVal=init();async_1.PromiseWrapper.isPromise(retVal)&&promises.push(retVal)}),promises.length>0?async_1.PromiseWrapper.all(promises):null}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__)},ng_zone_1=$__require("50"),lang_1=$__require("2b"),di_1=$__require("3c"),application_tokens_1=$__require("90"),async_1=$__require("62"),collection_1=$__require("3a"),testability_1=$__require("5d"),dynamic_component_loader_1=$__require("24"),exceptions_1=$__require("3f"),console_1=$__require("1b9"),profile_1=$__require("1ba"),lang_2=$__require("2b");exports.createNgZone=createNgZone;var_platform,_platformProviders;exports.platform=platform,exports.disposePlatform=disposePlatform;varPlatformRef=function(){functionPlatformRef(){}returnObject.defineProperty(PlatformRef.prototype,"injector",{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},PlatformRe
if(lang_1.isPresent(compMeta.template)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("template",component);elseif(lang_1.isPresent(compMeta.templateUrl)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("templateUrl",component);elseif(lang_1.isPresent(compMeta.directives)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("directives",component);elseif(lang_1.isPresent(compMeta.pipes)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("pipes",component);elseif(lang_1.isPresent(compMeta.encapsulation)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("encapsulation",component);elseif(lang_1.isPresent(compMeta.styles)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("styles",component);else{if(!lang_1.isPresent(compMeta.styleUrls)||!lang_1.isPresent(viewMeta))returnlang_1.isPresent(viewMeta)?viewMeta:newview_1.ViewMetadata({templateUrl:compMeta.templateUrl,template:compMeta.template,directives:compMeta.directives,pipes:compMeta.pipes,encapsulation:compMeta.encapsulation,styles:compMeta.styles,styleUrls:compMeta.styleUrls});this._throwMixingViewAndComponent("styleUrls",component)}returnnull},ViewResolver.prototype._throwMixingViewAndComponent=function(propertyName,component){thrownewexceptions_1.BaseException("Component '"+lang_1.stringify(component)+"' cannot have both '"+propertyName+"' and '@View' set at the same time\"")},ViewResolver=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],ViewResolver)}();returnexports.ViewResolver=ViewResolver,global.define=__define,module.exports}),$__System.registerDynamic("81",["3c","2b","3f","3a","52","84"],!0,function($__require,exports,module){"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.C
},collection_1=$__require("3a"),lang_1=$__require("2b"),exceptions_1=$__require("3f"),DefaultKeyValueDifferFactory=function(){functionDefaultKeyValueDifferFactory(){}returnDefaultKeyValueDifferFactory.prototype.supports=function(obj){returnobjinstanceofMap||lang_1.isJsObject(obj)},DefaultKeyValueDifferFactory.prototype.create=function(cdRef){returnnewDefaultKeyValueDiffer},DefaultKeyValueDifferFactory=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[])],DefaultKeyValueDifferFactory)}();exports.DefaultKeyValueDifferFactory=DefaultKeyValueDifferFactory;varDefaultKeyValueDiffer=function(){functionDefaultKeyValueDiffer(){this._records=newMap,this._mapHead=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}returnObject.defineProperty(DefaultKeyValueDiffer.prototype,"isDirty",{get:function(){returnnull!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),DefaultKeyValueDiffer.prototype.forEachItem=function(fn){varrecord;for(record=this._mapHead;null!==record;record=record._next)fn(record)},DefaultKeyValueDiffer.prototype.forEachPreviousItem=function(fn){varrecord;for(record=this._previousMapHead;null!==record;record=record._nextPrevious)fn(record)},DefaultKeyValueDiffer.prototype.forEachChangedItem=function(fn){varrecord;for(record=this._changesHead;null!==record;record=record._nextChanged)fn(record)},DefaultKeyValueDiffer.prototype.forEachAddedItem=function(fn){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._addToRem
_ParseAST.prototype.parseBlockContent=function(){this.parseAction||this.error("Binding expression cannot contain chained expression");for(varexprs=[];this.index<this.tokens.length&&!this.next.isCharacter(lexer_1.$RBRACE);){varexpr=this.parseExpression();if(exprs.push(expr),this.optionalCharacter(lexer_1.$SEMICOLON))for(;this.optionalCharacter(lexer_1.$SEMICOLON););}return0==exprs.length?newast_1.EmptyExpr:1==exprs.length?exprs[0]:newast_1.Chain(exprs)},_ParseAST.prototype.expectTemplateBindingKey=function(){varresult="",operatorFound=!1;doresult+=this.expectIdentifierOrKeywordOrString(),operatorFound=this.optionalOperator("-"),operatorFound&&(result+="-");while(operatorFound);returnresult.toString()},_ParseAST.prototype.parseTemplateBindings=function(){for(varbindings=[],prefix=null;this.index<this.tokens.length;){varkeyIsVar=this.optionalKeywordVar(),key=this.expectTemplateBindingKey();keyIsVar||(null==prefix?prefix=key:key=prefix+key[0].toUpperCase()+key.substring(1)),this.optionalCharacter(lexer_1.$COLON);varname=null,expression=null;if(keyIsVar)name=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";elseif(this.next!==lexer_1.EOF&&!this.peekKeywordVar()){varstart=this.inputIndex,ast=this.parsePipe(),source=this.input.substring(start,this.inputIndex);expression=newast_1.ASTWithSource(ast,source,this.location)}bindings.push(newast_1.TemplateBinding(key,keyIsVar,name,expression)),this.optionalCharacter(lexer_1.$SEMICOLON)||this.optionalCharacter(lexer_1.$COMMA)}returnbindings},_ParseAST.prototype.error=function(message,index){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,direc
get:function(){varfirst=lang_1.stringify(collection_1.ListWrapper.first(this.keys).token);return"Error during instantiation of "+first+"!"+constructResolvingPath(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(InstantiationError.prototype,"causeKey",{get:function(){returnthis.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(InstantiationError.prototype,"context",{get:function(){returnthis.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),InstantiationError}(exceptions_1.WrappedException);exports.InstantiationError=InstantiationError;varInvalidProviderError=function(_super){functionInvalidProviderError(provider){_super.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+provider.toString())}return__extends(InvalidProviderError,_super),InvalidProviderError}(exceptions_1.BaseException);exports.InvalidProviderError=InvalidProviderError;varNoAnnotationError=function(_super){functionNoAnnotationError(typeOrFunc,params){_super.call(this,NoAnnotationError._genMessage(typeOrFunc,params))}return__extends(NoAnnotationError,_super),NoAnnotationError._genMessage=function(typeOrFunc,params){for(varsignature=[],i=0,ii=params.length;ii>i;i++){varparameter=params[i];lang_1.isBlank(parameter)||0==parameter.length?signature.push("?"):signature.push(parameter.map(lang_1.stringify).join(" "))}return"Cannot resolve all parameters for '"+lang_1.stringify(typeOrFunc)+"'("+signature.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+lang_1.stringify(typeOrFunc)+"' is decorated with Injectable."},NoAnnotationError}(exceptions_1.BaseException);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,expo
returnfunction(a1,a2,a3,a4,a5,a6,a7){returnnewt(a1,a2,a3,a4,a5,a6,a7)};case8:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8)};case9:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9)};case10:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)};case11:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)};case12:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)};case13:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)};case14:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14)};case15:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15)};case16:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16)};case17:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17)};case18:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18)};case19:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19){returnnewt(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19)};case20:returnfunction(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20){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("JavaScriptdoesnotsupport