!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
returnhandler(event)})}},KeyEventsPlugin._normalizeKey=function(keyName){switch(keyName){case"esc":return"escape";default:returnkeyName}},KeyEventsPlugin=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],KeyEventsPlugin)}(event_manager_1.EventManagerPlugin);exports.KeyEventsPlugin=KeyEventsPlugin}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("3d",["3b","3a"],!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__)},event_manager_1=$__require("3b"),collection_1=$__require("3a"),_eventNames={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},HammerGesturesPluginCommon=function(_super){functionHammerGesturesPluginCommon(){_super.call(this)}return__extends(HammerGesturesPluginCommon,_super),HammerGesturesPluginCommon.prototype.supports=function(eventName){returneventName=eventName.toLowerCase(),collection_1.StringMapWrapper.contains(_eventNames,eventName)},HammerGesturesPluginCommon}(event_manager_1.EventManagerPlugin);returnexports.HammerGesturesPluginCommon=HammerGesturesPluginCommon,global.define=__define,module.exports}),$__System.registerDynamic("3e",["3d","2b","3f","3c"],!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},hammer_common_1=$__require("3d"),lang_1=$__require("2b"),exceptions_1=$__require("3f"),di_1=$__require("3c"),HammerGesturesPlugin=function(_super){functionHammerGesturesPlugin(){_super.apply(this,arguments)}return__extends(HammerGesturesPlugin,_super),HammerGesturesPlugin.prototype.supports=function(eventName){if(!_super.prototype.supports.call(this,eventName))return!1;if(!lang_1.isPresent(window.Hammer))thrownewexceptions_1.BaseException("Hammer.js is not loaded, can not bind "+eventName+" event");return!0},HammerGesturesPlugin.prototype.addEventListener=function(element,eventName,handler){varzone=this.manager.getZone();returneventName=eventName.toLowerCase(),zone.runOutsideAngular(function(){varmc=newHammer(element);mc.get("pinch").set({enable:!0}),mc.get("rotate").set({enable:!0});varhandler=function(eventObj){zone.run(function(){handler(eventObj)})};returnmc.on(eventName,handler),function(){mc.off(eventName,handler)}})},HammerGesturesPlugin=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],HammerGesturesPlugin)}(hammer_common_1.HammerGesturesPluginCommon);returnexports.HammerGesturesPlugin=HammerGesturesPlugin,global.define=__define,module.exports}),$__System.registerDynamic("40",["3a","2b","39","41"],!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)
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)},RafQueue.prototype.cancel=function(){dom_adapter_1.DOM.cancelAnimationFrame(this.currentFrameId),this.currentFrameId=null},RafQueue}();returnglobal.define=__define,module.exports}),$__System.registerDynamic("4d",["3c","4b","4c"],!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"),css_animation_builder_1=$__require("4b"),browser_details_1=$__require("4c"),AnimationBuilder=function(){functionAnimationBuilder(browserDetails){this.browserDetails=browserDetails}returnAnimationBuilder.prototype.css=function(){returnnewcss_animation_builder_1.CssAnimationBuilder(this.browserDetails)},AnimationBuilder=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[browser_details_1.BrowserDetails])],AnimationBuilder)}();returnexports.AnimationBuilder=AnimationBuilder,global.define=__define,module.exports}),$__System.registerDynamic("4e",["39","3c","3a","4f"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var__extends=this&&this.__extends||function(
}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,attr.sourceSpan,targetVars)}elselang_1.isPresent(bindParts[3])?this._parseEvent(bindParts[5],attrValue,attr.sourceSpan,targetMatchableAttrs,targetEvents):lang_1.isPresent(bindParts[4])?(this._parseProperty(bindParts[5],attrValue,attr.sourceSpan,targetMatchableAttrs,targetProps),this._parseAssignmentEvent(bindParts[5],attrValue,attr.sourceSpan,targetMatchableAttrs,targetEvents)):lang_1.isPresent(bindParts[6])?(this._parseProperty(bindParts[6],attrValue,attr.sourceSpan,targetMatchableAttrs,targetProps),this._parseAssignmentEvent(bindParts[6],attrValue,attr.sourceSpan,targetMatchableAttrs,targetEvents)):lang_1.isPresent(bindParts[7])?this._parseProperty(bindParts[7],attrValue,attr.sourceSpan,targetMatchableAttrs,targetProps):lang_1.isPresent(bindParts[8])&&this._parseEvent(bindParts[8],attrValue,attr.sourceSpan,targetMatchableAttrs,targetEvents);elsehasBinding=this._parsePropertyInterpolation(attrName,attrValue,attr.sourceSpan,targetMatchableAttrs,targetProps);returnhasBinding||this._parseLiteralAttr(attrName,attrValue,attr.sourceSpan,targetProps),hasBinding},TemplateParseVisitor.prototype._normalizeAttributeName=function(attrName){returnattrName.toLowerCase().startsWith("data-")?attrName.substring(5):attrName},TemplateParseVisitor.prototype._parseVariable=function(identifier,value,sourceSpan,targetVars){identifier.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',sourceSpan),targetVars.push(newtemplate_ast_1.VariableAst(identifier,value,sourceSpan))},TemplateParseVisitor.prototype._parseProperty=function(name,expression,sourceSpan,targetMatchableAttrs,targetProps){this._parsePropertyAst(name,this._parseBinding(expression,sourceSpan),sourceSpan,targetMatchableAttrs,targetProps)},TemplateParseVisitor.prototype._parsePropertyInterpolation=function(name,value,so
},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.isArray(schema.anyOf)===!1)report.addError("KEYWORD_TYPE_EXPECTED",["anyOf","array"]);elseif(0===schema.anyOf.length)report.addError("KEYWORD_MUST_BE",["anyOf","an array with at least one element"]);elsefor(varidx=schema.anyOf.length;idx--;)report.path.push("anyOf"),report.path.push(idx.toString()),exports.validateSchema.call(this,report,schema.anyOf[idx]),report.path.pop(),report.path.pop()},oneOf:function(report,schema){if(Array.isArray(schema.oneOf)===!1)report.addError("KEYWORD_TYPE_EXPECTED",["oneOf","array"]);elseif(0===schema.oneOf.length)report.addError("KEYWORD_MUST_BE",["oneOf","an array with at least one element"]);elsefor(varidx=schema.oneOf.length;idx--;)report.path.push("oneOf"),report.path.push(idx.toString()),exports.validateSchema.call(this,report,schema.oneOf[idx]),report.path.pop(),report.path.pop()},not:function(report,schema){"object"!==Utils.whatIs(schema.not)?report.addError("KEYWORD_TYPE_EXPECTED",["not","object"]):(report.path.push("not"),exports.validateSchema.call(this,report,schema.not),report.path.pop())},definitions:function(report,schema){if("object"!==Utils.whatIs(schema.definitions))report.addError("KEYWORD_TYPE_EXPECTED",["definitions","object"]);elsefor(varkeys=Object.keys(schema.definitions),idx=keys.length;idx--;){va
},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"},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"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},"default":{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-
}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||"/"),"undefined"==typeofparams.withCredentials&&(params.withCredentials=!0);try{xhr.withCredentials=params.withCredentials}catch(e){}if(params.responseType)try{xhr.responseType=params.responseType}catch(e){}if(xhr.open(params.method||"GET",self.uri,!0),xhr.onerror=function(event){self.emit("error",newError("Network error"))},self._headers={},params.headers)for(varkeys=objectKeys(params.headers),i=0;i<keys.length;i++){varkey=keys[i];if(self.isSafeRequestHeader(key)){varvalue=params.headers[key];self.setHeader(key,value)}}params.auth&&this.setHeader("Authorization","Basic "+Base64.btoa(params.auth));varres=newResponse;res.on("close",function(){self.emit("close")}),res.on("ready",function(){self.emit("response",res)}),res.on("error",function(err){self.emit("error",err)}),xhr.onreadystatechange=function(){xhr.__aborted||res.handle(xhr)}};inherits(Request,Stream),Request.prototype.setHeader=function(key,value){this._headers[key.toLowerCase()]=value},Request.prototype.getHeader=function(key){returnthis._headers[key.toLowerCase()]},Request.prototype.removeHeader=function(key){deletethis._headers[key.toLowerCase()]},Request.prototype.write=function(s){this.body.push(s)},Request.prototyp
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){util.debug("Bundling $ref pointers in %s",parser.$refs._basePath);varinventory=[];crawl(parser.schema,parser.$refs._basePath+"#","#",inventory,parser.$refs,options),remap(inventory)}functioncrawl(obj,path,pathFromRoot,inventory,$refs,options){if(obj&&"object"==typeofobj){varkeys=Object.keys(obj),defs=keys.indexOf("definitions");defs>0&&keys.splice(0,0,keys.splice(defs,1)[0]),keys.forEach(function(key){varkeyPath=Pointer.join(path,key),keyPathFromRoot=Pointer.join(pathFromRoot,key),value=obj[key];$Ref.is$Ref(value)?inventory.some(function(i){returni.parent===obj&&i.key===key})||inventory$Ref(obj,key,path,keyPathFromRoot,inventory,$refs,options):crawl(value,keyPath,keyPathFromRoot,inventory,$refs,options)})}}functioninventory$Ref($refParent,$refKey,path,pathFromRoot,inventory,$refs,options){var$ref=$refParent[$refKey],$refPath=url.resolve(path,$ref.$ref),pointer=$refs._resolve($refPath,options),depth=Pointer.parse(pathFromRoot).length,file=util.path.stripHash(pointer.path),hash=util.path.getHash(pointer.path),external=file!==$refs._basePath,extended=Object.keys($ref).length>1;inventory.push({$ref:$ref,parent:$refParent,key:$refKey,pathFromRoot:pathFromRoot,depth:depth,file:file,hash:hash
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)),type=schema.compiledTypeMap[tag],type&&_hasOwnProperty.call(type.styleAliases,style)&&(style=type.styleAliases[style]),result[tag]=style;returnresult}functionencodeHex(character){varstring,handle,length;if(string=character.toString(16).toUpperCase(),255>=character)handle="x",length=2;elseif(65535>=character)handle="u",length=4;else{if(!(4294967295>=character))thrownewYAMLException("code point within a string may not be greater than 0xFFFFFFFF");handle="U",length=8}return"\\"+handle+common.repeat("0",length-string.length)+string}functionState(options){this.schema=options.schema||DEFAULT_FULL_SCHEMA,this.indent=Math.max(1,options.indent||2),this.skipInvalid=options.skipInvalid||!1,this.flowLevel=common.isNothing(options.flowLevel)?-1:options.flowLevel,this.styleMap=compileStyleMap(this.schema,options.styles||null),this.sortKeys=options.sortKeys||!1,this.lineWidth=options.lineWidth||80,this.noRefs=options.noRefs||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}functionindentString(string,spaces){for(varline,ind=common.repeat(" ",spaces),position=0,next=-1,result="",length=string.le
}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(this,arguments)},Buffer.prototype.equals=function(b){if(!Buffer.isBuffer(b))thrownewTypeError("Argument must be a Buffer");returnthis===b?!0:0===Buffer.compare(this,b)},Buffer.prototype.inspect=function(){varstr="",max=exports.INSPECT_MAX_BYTES;returnthis.length>0&&(str=this.toString("hex",0,max).match(/.{2}/g).join(" "),this.length>max&&(str+=" ... ")),"<Buffer "+str+">"},Buffer.prototype.compare=function(b){if(!Buffer.isBuffer(b))thrownewTypeError("Argument must be a Buffer");returnthis===b?0:Buffer.compare(this,b)},Buffer.prototype.indexOf=function(val,byteOffset){functionarrayIndexOf(arr,val,byteOffset){for(varfoundIndex=-1,i=0;byteOffset+i<arr.length;i++)if(arr[byteOffset+i]===val[-1===foundIndex?0:i-foundIndex]){if(-1===foundIndex&&(foundIndex=i),i-foundIndex+1===val.length)returnbyteOffset+foundIndex}elsefoundIndex=-1;return-1}if(byteOffset>2147483647?byteOffset=2147483647:-2147483648>byteOffset&&(byteOffset=-2147483648),byteOffset>>=0,0===this.length)return-1;if(byteOffset>=this.length)return-1;if(0>byteOffset&&(byteOffset=Math.max(this.length+byteOffset,0)),"string"==typeofval)return0===val.length?-1:String.prototype.indexOf.call(this,val,byteOffset);if(Buffer.isBuffer(val))returnarrayIndex
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.spec&&validateSpec(me.api),maybe(callback,Promise.resolve(me.schema))})["catch"](function(err){returnmaybe(callback,Promise.reject(err))})},global.define=__define,module.exports}),$__System.registerDynamic("15d",["15c"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports=$__require("15c"),global.define=__define,module.exports}),$__System.registerDynamic("b9",[],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,global.define=__define,module.exports}),$__System.registerDynamic("15e",["15f","160"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;vartoInteger=$__require("15f"),defined=$__require("160");returnmodule.exports=function(TO_STRING){returnfunction(that,pos){vara,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return0>i||i>=l?TO_STRING?"":void0:(a=s.charCodeAt(i),55296>a||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):(a-55296<<10)+(b-56320)+65536)}},global.define=__define,module.exports}),$__System.registerDynamic("33",["15e","161"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=glob
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("14"),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.apply(this,arguments)}return__extends(PercentPipe,_super),PercentPipe.prototype.transform=function(value,args){vardigits=collection_1.ListWrapper.first(args);returnNumberPipe._format(value,intl_1.NumberFormatStyle.Percent,digits)},PercentPipe=__decorate([lang_1.CONST(),core_1.Pipe({name:"percent"}),core_1.Injectable(),__metadata("design:paramtypes",[])],PercentPipe)}(NumberPipe);exports.PercentPipe=PercentPipe;varCurrencyPipe=function(_super){functionCurrencyPipe(){_super.apply(this,arguments)}return__extends(CurrencyPipe,_super),CurrencyPipe.prototype.transform=function(value,args){varcurrencyCode=lang_1.isPresent(args)&&args.length>0?args[0]:"USD",symbolDisplay=lang_1.isPresent(args)&&args.length>1?args[1]:!1,digits=lang_1.isPresent(args)&&args.length>2?args[2]:null;returnNumberPipe._format(value,intl_1.NumberFormatStyle.Currency,digits,currencyCode,symbolDisplay)},CurrencyPipe=__decorate([lang_1.CONST(),core_1.Pipe({name:"currency"}),core_1.Injectable(),__metadata("design:paramtypes",[])],CurrencyPipe)}(NumberPipe);returnexports.CurrencyPipe=CurrencyPipe,global.define=__define,module.exports}),$__System.registerDynamic("196",["18d","18f","190","191","192","193","195","2b"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varasync_pipe_1=$__require("18d"),uppercase_pipe_1=$__require("18f"),lowercase_pipe_1=$__require("190"),json_pipe_1=$__require("191"),slice_pipe_1=$__require("192"),date_pipe_1=$__require("193"),number_pipe_1=$__require("195"),lang_1=$__require("2b"),async_pipe_2=$__require("18d");exports.AsyncPipe=async_pipe_2.AsyncPipe;vardate_pipe_2=$__require("193");exports.DatePipe=date_pipe_2.DatePipe;varjson_pipe_2=$__require("191");exports.JsonPipe=json_pipe_2.JsonPipe;varslice_pipe_2=$__require("192");exports.SlicePipe=slice_pipe_2.
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.push(changeDetector)},ApplicationRef_.prototype.unregisterChangeDetector=function(changeDetector){collection_1.ListWrapper.remove(this._changeDetectorRefs,changeDetector)},ApplicationRef_.prototype.bootstrap=function(componentType,providers){var_this=this,completer=async_1.PromiseWrapper.completer();returnthis._zone.run(function(){varcomponentProviders=_componentProviders(componentType);lang_1.isPresent(providers)&&componentProviders.push(providers);varexceptionHandler=_this._injector.get(exceptions_1.ExceptionHandler);_this._rootComponentTypes.push(componentType);try{varinjector=_this._injector.resolveAndCreateChild(componentProviders),compRefToken=injector.get(application_tokens_1.APP_COMPONENT_REF_PROMISE),tick=function(componentRef){_this._loadComponent(componentRef),completer.resolve(componentRef)},tickResult=async_1.PromiseWrapper.then(compRefToken,tick);lang_1.IS_DART&&async_1.PromiseWrapper.then(tickResult,function(_){}),async_1.PromiseWrapper.then(tickResult,null,function(err,stackTrace){returncompleter.reject(err,stackTrace)})}catch(e){exceptionHandler.call(e,e.stack),completer.reject(e,e.stack)}}),completer.promise.then(function(_){varc=_this._injector.get(console_1.Console);returnlang_1.assertionsEnabled()&&c.log("Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode."),_})},ApplicationRef_.prototype._loadComponent=function(ref){varappChangeDetector=ref.location.internalElement.parentView.changeDetector;this._changeDetectorRefs.push(appChangeDetector.ref),this.tick(),this._rootComponents.push(ref),this._bootstrapListeners.forEach(function(listener){returnlistener(ref)})},ApplicationRef_.prototype._unloadComponent=function(ref){collection_1.ListWrapper.contains(this._rootComponents,ref)&&(this.unregisterChangeDetector(ref.location.int
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=DirectiveResolver,exports.CODEGEN_DIRECTIVE_RESOLVER=newDirectiveResolver,global.define=__define,module.exports}),$__System.registerDynamic("7d",["2b","37"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,function(process){"use strict";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");!function(ViewEncapsulation){ViewEncapsulation[ViewEncapsulation.Emulated=0]="Emulated",ViewEncapsulation[ViewEncapsulation.Native=1]="Native",ViewEncapsulation[ViewEncapsulation.None=2]="None"}(exports.ViewEncapsulation||(exports.ViewEncapsulation={}));varViewEncapsulation=exports.ViewEncapsulation;exports.VIEW_ENCAPSULATION_VALUES=[ViewEncapsulation.Emulated,ViewEncapsulation.Native,ViewEncapsulation.None];varViewMetadata=function(){functionViewMetadata(_a){var_b=void0===_a?{}:_a,templateUrl=_b.templateUrl,template=_b.template,directives=_b.directives,pipes=_b.pipes,encapsulation=_b.encapsulation,styles=_b.styles,styleUrls=_b.styleUrls;this.templateUrl=templateUrl,this.template=template,this.styleUrls=styleUrls,this.styles=styles,this.directives=directives,this.pipes=pipes,this.encapsulation=encapsulation}returnViewMetadata=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[Object])],ViewMetadata)}();exports.ViewMetadata=ViewMetadata}($__require("37
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_operationToPrimitiveName(operation){switch(operation){case"+":return"operation_add";case"-":return"operation_subtract";case"*":return"operation_multiply";case"/":return"operation_divide";case"%":return"operation_remainder";case"==":return"operation_equals";case"!=":return"operation_not_equals";case"===":return"operation_identical";case"!==":return"operation_not_identical";case"<":return"operation_less_then";case">":return"operation_greater_then";case"<=":return"operation_less_or_equals_then";case">=":return"operation_greater_or_equals_then";default:thrownewexceptions_1.BaseException("Unsupported operation "+operation)}}function_operationToFunction(operation){switch(operation){case"+":returnchange_detection_util_1.ChangeDetectionUtil.operation_add;case"-":returnchange_detection_util_1.ChangeDetectionUtil.operation_subtract;case"*":returnchange_detection_util_1.ChangeDetectionUtil.operation_multiply;case"/":returnchange_detection_util_1.ChangeDetectionUtil.operation_divide;case"%":returnchange_detection_util_1.ChangeDetectionUtil.operation_remainder;case"==":returnchange_detection_util_1.ChangeDetectionUtil.operation_equals;case"!=":returnchange_detection_util_1.ChangeDetectionUtil.operation_not_equals;case"===":returnchange_detection_util_1.ChangeDetectionUtil.operation_identical;case"!==":returnchange_detection_util_1.ChangeDetectionUtil.operation_not_identical;case"<":returnchange_detection_util_1.ChangeDetectionUtil.operation_less_then;case">":returnchange_detection_util_1.ChangeDetectionUtil.operation_greater_then;case"<=":returnchange_detection_util_1.ChangeDetectionUtil.operation_less_or_equals_then;case">=":returnchange_detection_util_1.ChangeDetectionUtil.operation_greater_or_equals_then;default:thrownewexceptions_1.BaseException("Unsupported operation "+operation)}}functions(v){returnlang_1.isPresent(v)?""+v:""}function_interpolationFn(strings){varlength=strings.length,c0=length>0?strings[0]:null,c1=length>1?strings[1]:null,c2=length>2?strings[2]:null,c3=length>3?strings[3]:null,c4=length>4?strings[4]:nul
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;varlang_1=$__require("2b"),exceptions_1=$__require("3f"),collection_1=$__require("3a"),Locals=function(){functionLocals(parent,current){this.parent=parent,this.current=current}returnLocals.prototype.contains=function(name){returnthis.current.has(name)?!0:lang_1.isPresent(this.parent)?this.parent.contains(name):!1},Locals.prototype.get=function(name){if(this.current.has(name))returnthis.current.get(name);if(lang_1.isPresent(this.parent))returnthis.parent.get(name);thrownewexceptions_1.BaseException("Cannot find '"+name+"'")},Locals.prototype.set=function(name,value){if(!this.current.has(name))thrownewexceptions_1.BaseException("Setting of new keys post-construction is not supported. Key: "+name+".");this.current.set(name,value)},Locals.prototype.clearLocalValues=function(){collection_1.MapWrapper.clearValues(this.current)},Locals}();returnexports.Locals=Locals,global.define=__define,module.exports}),$__System.registerDynamic("1e0",[],!0,function($__require,exports,module){"use strict";functionisObservable(value){return!1}varglobal=this,__define=global.define;returnglobal.define=void0,exports.isObservable=isObservable,global.define=__define,module.exports}),$__System.registerDynamic("89",["2b","3a","8a","1e1","1de","1df","8b","1ba","1e0","62"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;varlang_1=$__require("2b"),collection_1=$__require("3a"),change_detection_util_1=$__require("8a"),change_detector_ref_1=$__require("1e1"),exceptions_1=$__require("1de"),locals_1=$__require("1df"),constants_1=$__require("8b"),profile_1=$__require("1ba"),observable_facade_1=$__require("1e0"),async_1=$__require("62"),_scope_check=profile_1.wtfCreateScope("ChangeDetector#check(ascii id, bool throwOnChange)"),_Context=function(){function_Context(element,componentElement,context,locals,injector,expression){this.element=element,this.componentElement=componentElement,this.context=context,this.locals=locals,this.injec
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("14",["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");exports.platform=application_ref_1.platform,exports.createNgZone=application_ref_1.createNgZone,exports.PlatformRef=application_ref_1.PlatformRef,exports.ApplicationRef=application_ref_1.ApplicationRef;varapplication_tokens_1=$__require("90");exports.APP_ID=application_tokens_1.APP_ID,exports.APP_COMPONENT=application_tokens_1.APP_COMPONENT,exports.APP_INITIALIZER=application_tokens_1.APP_INITIALIZER,exports.PACKAGE_ROOT_URL=application_tokens_1.PACKAGE_ROOT_URL,exports.PLATFORM_INITIALIZER=application_tokens_1.PLATFORM_INITIALIZER,__export($__require("1bb")),__export($__require("1bc")),__export($__require("1be"));vardebug_node_1=$__require("54");returnexports.DebugElement=debug_node_1.DebugElement,exports.DebugNode=debug_node_1.DebugNode,exports.asNativeElements=debug_node_1.asNativeElements,__export($__require("5d")),__export($__require("1cc")),__export($__require("85")),__export($__require("1c4")),__export($__require("200")),__export($__require("84")),global.define=__define,module.exports}),$__System.registerDynamic("2b",[],!0,function($__require,exports,module){"use strict";functiongetTypeNameForDebugging(type){returntype.name}functionlockMode(){_modeLocked=!0}functionenableProdMode(){if(_modeLocked)throw"Cannot enable prod mode after platform setup.";_devMode=!1}functionassertionsEnabled(){return_devMode}functionCONST_EXPR(expr){returnexpr}functionCONST(){returnfunction(target){returntarget}}functionisPresent(obj){returnvoid0!==obj&&null!==obj}functionisBlank(obj){returnvoid0===obj||null===obj}functionisString(obj){return"string"==typeofobj}functionisFunction(obj){return"function"==typeofobj}functionisType(obj){returnisFunction(obj)}functionisStringMap(obj){return"object"==typeofobj&&null!==obj}functionisPromise(obj){returnobjinstanceof_global.Promise}functionisArray(obj){returnArray.isArray(obj)}functionisNumber(obj){return"number"==typeofobj}functionisDate(obj){returnobjinstanceofexports.Date&&!isNaN(obj.valueOf())}functionnoop(){}fun
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"!=typeofsuperClass&&null!==superClass)thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);subClass.prototype=_Object$create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(_Object$setPrototypeOf?_Object$setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)},exports.__esModule=!0,global.define=__define,module.exports}),$__System.registerDynamic("20f",["af"],!0,function($__require,exports,module){varglobal=this,__define=global.define;global.define=void0;var$=$__require("af");returnmodule.exports=function(it,key,desc){return$.setDesc(it,key,desc)},global.define=__define,module.exports}),$__System.registerDynamic("210",["20f"],!0,function($__require,exports,module){varglobal=this,__define=global.define;returnglobal.define=void0,module.exports={"default":$__require("20f"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("8",["210"],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;global.define=void0;var_Object$defineProperty=$__require("210")["default"];returnexports["default"]=function(){functiondefineProperties(target,props){for(vari=0;i<props.length;i++){vardescriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"indescriptor&&(descriptor.writable=!0),_Object$defineProperty(target,descriptor.key,descriptor)}}returnfunction(Constructor,protoProps,staticProps){returnprotoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),exports.__esModule=!0,global.define=__define,module.exports}),$__System.registerDynamic("9",[],!0,function($__require,exports,module){"use strict";varglobal=this,__define=global.define;returnglobal.define=void0,exports["default"]=function(instance,Constructor){if(!(instanceinstanceofConstructor))thrownewTypeError("Cannotcallacla