!functione(t,n,r){functions(o,u){if(!n[o]){if(!t[o]){varc="function"==typeofrequire&&require;if(!u&&c)returnc(o,!0);if(i)returni(o,!0);varf=newError("Cannot find module '"+o+"'");throwf.code="MODULE_NOT_FOUND",f}vara=n[o]={exports:{}};t[o][0].call(a.exports,function(n){varr=t[o][1][n];returns(r?r:n)},a,a.exports,e,t,n,r)}returnn[o].exports}for(vari="function"==typeofrequire&&require,o=0;o<r.length;o++)s(r[o]);returns}({1:[function(t,n,r){(function(n){"use strict";functiondefine(t,n,e){t[n]||Object[r](t,n,{writable:!0,configurable:!0,value:e})}if(t(289),t(2),t(3),n._babelPolyfill)thrownewError("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0;varr="defineProperty";define(String.prototype,"padLeft","".padStart),define(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&define(Array,t,Function.call.bind([][t]))})}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{2:2,289:289,3:3}],2:[function(t,n,r){n.exports=t(290)},{290:290}],3:[function(t,n,r){t(117),n.exports=t(23).RegExp.escape},{117:117,23:23}],4:[function(t,n,r){n.exports=function(t){if("function"!=typeoft)throwTypeError(t+" is not a function!");returnt}},{}],5:[function(t,n,r){vare=t(18);n.exports=function(t,n){if("number"!=typeoft&&"Number"!=e(t))throwTypeError(n);return+t}},{18:18}],6:[function(t,n,r){vare=t(114)("unscopables"),i=Array.prototype;void0==i[e]&&t(39)(i,e,{}),n.exports=function(t){i[e][t]=!0}},{114:114,39:39}],7:[function(t,n,r){n.exports=function(t,n,r,e){if(!(tinstanceofn)||void0!==e&&eint)throwTypeError(r+": incorrect invocation!");returnt}},{}],8:[function(t,n,r){vare=t(48);n.exports=function(t){if(!e(t))throwTypeError(t+" is not an object!");returnt}},{48:48}],9:[function(t,n,r){"use strict";vare=t(108),i=t(104),o=t(107);n.exports=[].copyWithin||functioncopyWithin(t,n){varr=e(this),u=o(r.length),c=i(t,u),f=i(n,u),a=arguments.length>2?arguments[2]:void0,s=Math.min((void0===a?u:i(a,u))-f,u-c),l=1;for(c>f&&f+s>c&&(l=-1,f+=s-1,c+=s-1);s-->0;)finr?r[c]=r[f]:deleter[c],c+=l,f+=l;returnr}},{104:104,107:107,108:108}],10:[function(t,n,r){"use strict";vare=t(108),i=t(104),o=t(107);n.exports=functionfill(t){for(varn=e(this),r=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void0,r),f=u>2?arguments[2]:void0,a=void0===f?r:i(f,r);a>c;)n[c++]=t;returnn}},{104:104,107:107,108:108}],11:[function(t,n,r){vare=t(36);n.exports=function(t,n){varr=[];returne(t,!1,r.push,r,n),r}},{36:36}],12:[function(t,n,r){vare=t(106),i=t(107),o=t(104);n.exports=function(t){returnfunction(n,r,u){varc,f=e(n),a=i(f.length),s=o(u,a);if(t&&r!=r){for(;a>s;)if(c=f[s++],c!=c)return!0}elsefor(;a>s;s++)if((t||sinf)&&f[s]===r)returnt||s;return!t&&-1}}},{104:104,106:106,107:107}],13:[function(t,n,r){vare=t(24),i=t(44),o=t(108),u=t(107),c=t(15);n.exports=function(t,n){varr=1==t,f=2==t,a=3==t,s=4==t,l=6==t,h=5==t||l,v=n||c;returnfunction(n,c,p){for(vard,y,g=o(n),x=i(g),m=e(c,p,3),w=u(x.length),b=0,S=r?v(n,w):f?v(n,0):void0;w>b;b++)if((h||binx)&&(d=x[b],y=m(d,b,g),t))if(r)S[b]=y;elseif(y)switch(t){case3:return!0;case5:returnd;case6:returnb;case2:S.push(d)}elseif(s)return!1;returnl?-1:a||s?s:S}}},{107:107,108:108,15:15,24:24,44:44}],14:[function(t,n,r){vare=t(4),i=t(108),o=t(44),u=t(107);n.exports=function(t,n,r,c,f){e(n);vara=i(t),s=o(a),l=u(a.length),h=f?l-1:0,v=f?-1:1;if(2>r)for(;;){if(hins){c=s[h],h+=v;break}if(h+=v,f?0>h:h>=l)throwTypeError("Reduce of empty array with no initial value")}for(;f?h>=0:l>h;h+=v)hins&&(c=n(c,s[h],h,a));returnc}},{107:107,108:108,4:4,44:44}],15:[function(t,n,r){vare=t(48),i=t(46),o=t(114)("species");n.exports=function(t,n){varr;returni(t)&&(r=t.constructor,"function"!=typeofr||r!==Array&&!i(r.prototype)||(r=void0),e(r)&&(r=r[o],null===r&&(r=void0))),new(void0===r?Array:r)
!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,eing||(g[e]=r),r.normalizedDeps=r.deps}functiono(e,r){if(r[e.groupIndex]=r[e.groupIndex]||[],-1==m.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=g[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(m.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=g[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){returnD[e]||(D[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=g[s],f=D[s];f?l=f.exports:c&&!c.declarative?l=c.esModule:c?(d(c),f=c.module,l=f.exports):l=v(s),f&&f.importers?(f.importers.push(t),t.dependencies.push(f)):t.dependencies.push(null),t.setters[a]&&t.setters[a](l)}}}functioni(e){varr,t=g[e];if(t)t.declarative?p(e,[]):t.evaluated||l(t),r=t.module.exports;elseif(r=v(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=g[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(e){varr={};if("object"==typeofe||"function"==typeofe){vart=e&&e.hasOwnProperty;if(h)for(varnine)f(r,e,n)||c(r,e,n,t);elsefor(varnine)c(r,e,n,t)}returnr["default"]=e,y(r,"__useDefault",{value:!0}),r}functionc(e,r,t,n){(!n||r.hasOwnProperty(t))&&(e[t]=r[t])}functionf(e,r,t){try{varn;return(n=Object.getOwnPropertyDescriptor(r,t))&&y(e,t,n),!0}catch(o){return!1}}functionp(r,t){varn=g[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==m.call(t,u)&&(g[u]?p(u,t):v(u))}n.evaluated||(n.evaluated=!0,n.module.execute.call(e))}}functionv(e){if(I[e])returnI[e];if("@node/"==e.substr(0,6))return_(e.substr(6));varr=g[e];if(!r)throw"Module "+e+" not present.";returna(e),p(e,[]),g[e]=void0,r.declarative&&y(r.module.exports,"__esModule",{value:!0}),I[e]=r.declarative?r.module.exports:r.esModule}varg={},m=Array.prototype.indexOf||function(e){for(varr=0,t=this.length;t>r;r++)if(this[r]===e)returnr;return-1},h=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(x){h=!1}vary;!function(){try{Object.defineProperty({},"a",{})&&(y=Object.defineProperty)}catch(e){y=function(e,r,t){try{e[r]=t.value||t.get.call(e)}catch(n){}}}}();varD={},_="undefined"!=typeofSystem&&System._nodeRequire||"undefined"!=typeofrequire&&require.resolve&&"undefined"!=typeofprocess&&require,I={"@empty":{}};returnfunction(e,n,o){returnfunction(a){a(function(a){for(varu={_nodeRequire:_,register:r,registerDynamic:t,get:v,set:function(e,r){I[e]=r},newModule:function(e){returne}},d=0;d<n.length;d++)(function(e,r){r&&r.__esModule?I[e]=r:I[e]=s(r)})(n[d],arguments[d]);o(u);vari=v(e[0]);if(e.length>1)for(vard
this.value=value,this.sourceSpan=sourceSpan}returnHtmlAttrAst.prototype.visit=function(visitor,context){returnvisitor.visitAttr(this,context)},HtmlAttrAst}();exports.HtmlAttrAst=HtmlAttrAst;varHtmlElementAst=function(){functionHtmlElementAst(name,attrs,children,sourceSpan,startSourceSpan,endSourceSpan){this.name=name,this.attrs=attrs,this.children=children,this.sourceSpan=sourceSpan,this.startSourceSpan=startSourceSpan,this.endSourceSpan=endSourceSpan}returnHtmlElementAst.prototype.visit=function(visitor,context){returnvisitor.visitElement(this,context)},HtmlElementAst}();exports.HtmlElementAst=HtmlElementAst;varHtmlCommentAst=function(){functionHtmlCommentAst(value,sourceSpan){this.value=value,this.sourceSpan=sourceSpan}returnHtmlCommentAst.prototype.visit=function(visitor,context){returnvisitor.visitComment(this,context)},HtmlCommentAst}();returnexports.HtmlCommentAst=HtmlCommentAst,exports.htmlVisitAll=htmlVisitAll,module.exports}),$__System.registerDynamic("8c",["2b","38","80","86"],!0,function($__require,exports,module){"use strict";functiontokenizeHtml(sourceContent,sourceUrl,tokenizeExpansionForms){returnvoid0===tokenizeExpansionForms&&(tokenizeExpansionForms=!1),new_HtmlTokenizer(newparse_util_1.ParseSourceFile(sourceContent,sourceUrl),tokenizeExpansionForms).tokenize()}functionunexpectedCharacterErrorMsg(charCode){varchar=charCode===$EOF?"EOF":lang_1.StringWrapper.fromCharCode(charCode);return'Unexpected character "'+char+'"'}functionunknownEntityErrorMsg(entitySrc){return'Unknown entity "'+entitySrc+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}functionisNotWhitespace(code){return!isWhitespace(code)||code===$EOF}functionisWhitespace(code){returncode>=$TAB&&$SPACE>=code||code===$NBSP}functionisNameEnd(code){returnisWhitespace(code)||code===$GT||code===$SLASH||code===$SQ||code===$DQ||code===$EQ}functionisPrefixEnd(code){return($a>code||code>$z)&&($A>code||code>$Z)&&($0>code||code>$9)}functionisDigitEntityEnd(code){returncode==$SEMICOLON||code==$EOF||!isAsciiHexDigit(code)}functionisNamedEntityEnd(code){returncode==$SEMICOLON||code==$EOF||!isAsciiLetter(code)}functionisSpecialFormStart(peek,nextPeek){returnpeek===$LBRACE&&nextPeek!=$LBRACE}functionisAsciiLetter(code){returncode>=$a&&$z>=code||code>=$A&&$Z>=code}functionisAsciiHexDigit(code){returncode>=$a&&$f>=code||code>=$A&&$F>=code||code>=$0&&$9>=code}functioncompareCharCodeCaseInsensitive(code1,code2){returntoUpperCaseCharCode(code1)==toUpperCaseCharCode(code2)}functiontoUpperCaseCharCode(code){returncode>=$a&&$z>=code?code-$a+$A:code}functionmergeTextTokens(srcTokens){for(varlastDstToken,dstTokens=[],i=0;i<srcTokens.length;i++){vartoken=srcTokens[i];lang_1.isPresent(lastDstToken)&&lastDstToken.type==HtmlTokenType.TEXT&&token.type==HtmlTokenType.TEXT?(lastDstToken.parts[0]+=token.parts[0],lastDstToken.sourceSpan.end=token.sourceSpan.end):(lastDstToken=token,dstTokens.push(lastDstToken))}returndstTokens}var__extends=this&&this.__extends||function(d,b){function__(){this.constructor=d}for(varpinb)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new__)},lang_1=$__require("2b"),collection_1=$__require("38"),parse_util_1=$__require("80"),html_tags_1=$__require("86");!function(HtmlTokenType){HtmlTokenType[HtmlTokenType.TAG_OPEN_START=0]="TAG_OPEN_START",HtmlTokenType[HtmlTokenType.TAG_OPEN_END=1]="TAG_OPEN_END",HtmlTokenType[HtmlTokenType.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",HtmlTokenType[HtmlTokenType.TAG_CLOSE=3]="TAG_CLOSE",HtmlTokenType[HtmlTokenType.TEXT=4]="TEXT",HtmlTokenType[HtmlTokenType.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",HtmlTokenType[HtmlTokenType.RAW_TEXT=6]="RAW_TEXT",HtmlTokenType[HtmlTokenType.COMMENT_START=7]="COMMENT_START",HtmlTokenType[HtmlTokenType.COMMENT_END=8]="COMMENT_END",HtmlTokenType[HtmlTokenType.CDATA_START=9]="CDATA_START",HtmlTokenType[HtmlTokenType.CDATA_END=10]="CDATA_END",HtmlTokenType[HtmlTokenType.ATTR_NAME=11]="ATTR_NAME",HtmlTokenType[HtmlTokenType.ATTR_VALUE=12]="ATTR_VALUE",HtmlTokenType[HtmlTokenType.DOC_TYPE=13]
html_tags_1.getHtmlTagDefinition(fullName).isVoid?this.errors.push(HtmlTreeError.create(fullName,endTagToken.sourceSpan,'Void elements do not have end tags "'+endTagToken.parts[1]+'"')):this._popElement(fullName)||this.errors.push(HtmlTreeError.create(fullName,endTagToken.sourceSpan,'Unexpected closing tag "'+endTagToken.parts[1]+'"'))},TreeBuilder.prototype._popElement=function(fullName){for(varstackIndex=this.elementStack.length-1;stackIndex>=0;stackIndex--){varel=this.elementStack[stackIndex];if(el.name==fullName)returncollection_1.ListWrapper.splice(this.elementStack,stackIndex,this.elementStack.length-stackIndex),!0;if(!html_tags_1.getHtmlTagDefinition(el.name).closedByParent)return!1}return!1},TreeBuilder.prototype._consumeAttr=function(attrName){varfullName=html_tags_1.mergeNsAndName(attrName.parts[0],attrName.parts[1]),end=attrName.sourceSpan.end,value="";if(this.peek.type===html_lexer_1.HtmlTokenType.ATTR_VALUE){varvalueToken=this._advance();value=valueToken.parts[0],end=valueToken.sourceSpan.end}returnnewhtml_ast_1.HtmlAttrAst(fullName,value,newparse_util_1.ParseSourceSpan(attrName.sourceSpan.start,end))},TreeBuilder.prototype._getParentElement=function(){returnthis.elementStack.length>0?collection_1.ListWrapper.last(this.elementStack):null},TreeBuilder.prototype._addToParent=function(node){varparent=this._getParentElement();lang_1.isPresent(parent)?parent.children.push(node):this.rootNodes.push(node)},TreeBuilder}();returnmodule.exports}),$__System.registerDynamic("8a",["2b","86"],!0,function($__require,exports,module){"use strict";functionpreparseElement(ast){varselectAttr=null,hrefAttr=null,relAttr=null,nonBindable=!1,projectAs=null;ast.attrs.forEach(function(attr){varlcAttrName=attr.name.toLowerCase();lcAttrName==NG_CONTENT_SELECT_ATTR?selectAttr=attr.value:lcAttrName==LINK_STYLE_HREF_ATTR?hrefAttr=attr.value:lcAttrName==LINK_STYLE_REL_ATTR?relAttr=attr.value:attr.name==NG_NON_BINDABLE_ATTR?nonBindable=!0:attr.name==NG_PROJECT_AS&&attr.value.length>0&&(projectAs=attr.value)}),selectAttr=normalizeNgContentSelect(selectAttr);varnodeName=ast.name.toLowerCase(),type=PreparsedElementType.OTHER;returnhtml_tags_1.splitNsName(nodeName)[1]==NG_CONTENT_ELEMENT?type=PreparsedElementType.NG_CONTENT:nodeName==STYLE_ELEMENT?type=PreparsedElementType.STYLE:nodeName==SCRIPT_ELEMENT?type=PreparsedElementType.SCRIPT:nodeName==LINK_ELEMENT&&relAttr==LINK_STYLE_REL_VALUE&&(type=PreparsedElementType.STYLESHEET),newPreparsedElement(type,selectAttr,hrefAttr,nonBindable,projectAs)}functionnormalizeNgContentSelect(selectAttr){returnlang_1.isBlank(selectAttr)||0===selectAttr.length?"*":selectAttr}varlang_1=$__require("2b"),html_tags_1=$__require("86"),NG_CONTENT_SELECT_ATTR="select",NG_CONTENT_ELEMENT="ng-content",LINK_ELEMENT="link",LINK_STYLE_REL_ATTR="rel",LINK_STYLE_HREF_ATTR="href",LINK_STYLE_REL_VALUE="stylesheet",STYLE_ELEMENT="style",SCRIPT_ELEMENT="script",NG_NON_BINDABLE_ATTR="ngNonBindable",NG_PROJECT_AS="ngProjectAs";exports.preparseElement=preparseElement,function(PreparsedElementType){PreparsedElementType[PreparsedElementType.NG_CONTENT=0]="NG_CONTENT",PreparsedElementType[PreparsedElementType.STYLE=1]="STYLE",PreparsedElementType[PreparsedElementType.STYLESHEET=2]="STYLESHEET",PreparsedElementType[PreparsedElementType.SCRIPT=3]="SCRIPT",PreparsedElementType[PreparsedElementType.OTHER=4]="OTHER"}(exports.PreparsedElementType||(exports.PreparsedElementType={}));varPreparsedElementType=exports.PreparsedElementType,PreparsedElement=function(){functionPreparsedElement(type,selectAttr,hrefAttr,nonBindable,projectAs){this.type=type,this.selectAttr=selectAttr,this.hrefAttr=hrefAttr,this.nonBindable=nonBindable,this.projectAs=projectAs}returnPreparsedElement}();returnexports.PreparsedElement=PreparsedElement,module.exports}),$__System.registerDynamic("8d",["60","2b","41","8e","40","67","68","3a","66","8b","85","8a"],!0,function($__require,exports,module){"use strict";var__decorate=this&&this.__decorate||function(decorators,target,key,desc){vard,c=arguments.length,r=3>c?target:null===desc?desc=Object.
})},RuntimeMetadataResolver=__decorate([di_2.Injectable(),__param(3,di_2.Optional()),__param(3,di_2.Inject(platform_directives_and_pipes_1.PLATFORM_DIRECTIVES)),__param(4,di_2.Optional()),__param(4,di_2.Inject(platform_directives_and_pipes_1.PLATFORM_PIPES)),__metadata("design:paramtypes",[directive_resolver_1.DirectiveResolver,pipe_resolver_1.PipeResolver,view_resolver_1.ViewResolver,Array,Array,reflector_reader_1.ReflectorReader])],RuntimeMetadataResolver)}();returnexports.RuntimeMetadataResolver=RuntimeMetadataResolver,module.exports}),$__System.registerDynamic("88",["38","2b","41"],!0,function($__require,exports,module){"use strict";varcollection_1=$__require("38"),lang_1=$__require("2b"),exceptions_1=$__require("41"),_EMPTY_ATTR_VALUE="",_SELECTOR_REGEXP=lang_1.RegExpWrapper.create("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)"),CssSelector=function(){functionCssSelector(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}returnCssSelector.parse=function(selector){for(varmatch,results=[],_addResult=function(res,cssSel){cssSel.notSelectors.length>0&&lang_1.isBlank(cssSel.element)&&collection_1.ListWrapper.isEmpty(cssSel.classNames)&&collection_1.ListWrapper.isEmpty(cssSel.attrs)&&(cssSel.element="*"),res.push(cssSel)},cssSelector=newCssSelector,matcher=lang_1.RegExpWrapper.matcher(_SELECTOR_REGEXP,selector),current=cssSelector,inNot=!1;lang_1.isPresent(match=lang_1.RegExpMatcherWrapper.next(matcher));){if(lang_1.isPresent(match[1])){if(inNot)thrownewexceptions_1.BaseException("Nesting :not is not allowed in a selector");inNot=!0,current=newCssSelector,cssSelector.notSelectors.push(current)}if(lang_1.isPresent(match[2])&¤t.setElement(match[2]),lang_1.isPresent(match[3])&¤t.addClassName(match[3]),lang_1.isPresent(match[4])&¤t.addAttribute(match[4],match[5]),lang_1.isPresent(match[6])&&(inNot=!1,current=cssSelector),lang_1.isPresent(match[7])){if(inNot)thrownewexceptions_1.BaseException("Multiple selectors in :not are not supported");_addResult(results,cssSelector),cssSelector=current=newCssSelector}}return_addResult(results,cssSelector),results},CssSelector.prototype.isElementSelector=function(){returnlang_1.isPresent(this.element)&&collection_1.ListWrapper.isEmpty(this.classNames)&&collection_1.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},CssSelector.prototype.setElement=function(element){void0===element&&(element=null),this.element=element},CssSelector.prototype.getMatchingElementTemplate=function(){for(vartagName=lang_1.isPresent(this.element)?this.element:"div",classAttr=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",attrs="",i=0;i<this.attrs.length;i+=2){varattrName=this.attrs[i],attrValue=""!==this.attrs[i+1]?'="'+this.attrs[i+1]+'"':"";attrs+=" "+attrName+attrValue}return"<"+tagName+classAttr+attrs+"></"+tagName+">"},CssSelector.prototype.addAttribute=function(name,value){void0===value&&(value=_EMPTY_ATTR_VALUE),this.attrs.push(name),value=lang_1.isPresent(value)?value.toLowerCase():_EMPTY_ATTR_VALUE,this.attrs.push(value)},CssSelector.prototype.addClassName=function(name){this.classNames.push(name.toLowerCase())},CssSelector.prototype.toString=function(){varres="";if(lang_1.isPresent(this.element)&&(res+=this.element),lang_1.isPresent(this.classNames))for(vari=0;i<this.classNames.length;i++)res+="."+this.classNames[i];if(lang_1.isPresent(this.attrs))for(vari=0;i<this.attrs.length;){varattrName=this.attrs[i++],attrValue=this.attrs[i++];res+="["+attrName,attrValue.length>0&&(res+="="+attrValue),res+="]"}returnthis.notSelectors.forEach(function(notSelector){returnres+=":not("+notSelector+")"}),res},CssSelector}();exports.CssSelector=CssSelector;varSelectorMatcher=function(){functionSelectorMatcher(){this._elementMap=newcollection_1.Map,this._elementPartialMap=newcollection_1.Map,this._classMap=newcollection_1.Map,this._classPartialMap=newcollection_1.Map,this._attrValueMap=newcollection_1.Map,this._attrValuePartialMap=newcollection_1.Map,this._listContexts
newast_1.LiteralPrimitive(!0);if(this.next.isKeywordFalse())returnthis.advance(),newast_1.LiteralPrimitive(!1);if(this.optionalCharacter(lexer_1.$LBRACKET)){varelements=this.parseExpressionList(lexer_1.$RBRACKET);returnthis.expectCharacter(lexer_1.$RBRACKET),newast_1.LiteralArray(elements)}if(this.next.isCharacter(lexer_1.$LBRACE))returnthis.parseLiteralMap();if(this.next.isIdentifier())returnthis.parseAccessMemberOrMethodCall(_implicitReceiver,!1);if(this.next.isNumber()){varvalue=this.next.toNumber();returnthis.advance(),newast_1.LiteralPrimitive(value)}if(this.next.isString()){varliteralValue=this.next.toString();returnthis.advance(),newast_1.LiteralPrimitive(literalValue)}throwthis.index>=this.tokens.length?this.error("Unexpected end of expression: "+this.input):this.error("Unexpected token "+this.next),newexceptions_1.BaseException("Fell through all cases in parsePrimary")},_ParseAST.prototype.parseExpressionList=function(terminator){varresult=[];if(!this.next.isCharacter(terminator))doresult.push(this.parsePipe());while(this.optionalCharacter(lexer_1.$COMMA));returnresult},_ParseAST.prototype.parseLiteralMap=function(){varkeys=[],values=[];if(this.expectCharacter(lexer_1.$LBRACE),!this.optionalCharacter(lexer_1.$RBRACE)){do{varkey=this.expectIdentifierOrKeywordOrString();keys.push(key),this.expectCharacter(lexer_1.$COLON),values.push(this.parsePipe())}while(this.optionalCharacter(lexer_1.$COMMA));this.expectCharacter(lexer_1.$RBRACE)}returnnewast_1.LiteralMap(keys,values)},_ParseAST.prototype.parseAccessMemberOrMethodCall=function(receiver,isSafe){void0===isSafe&&(isSafe=!1);varid=this.expectIdentifierOrKeyword();if(this.optionalCharacter(lexer_1.$LPAREN)){varargs=this.parseCallArguments();returnthis.expectCharacter(lexer_1.$RPAREN),isSafe?newast_1.SafeMethodCall(receiver,id,args):newast_1.MethodCall(receiver,id,args)}if(!isSafe){if(this.optionalOperator("=")){this.parseAction||this.error("Bindings cannot contain assignments");varvalue=this.parseConditional();returnnewast_1.PropertyWrite(receiver,id,value)}returnnewast_1.PropertyRead(receiver,id)}returnthis.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),null):newast_1.SafePropertyRead(receiver,id)},_ParseAST.prototype.parseCallArguments=function(){if(this.next.isCharacter(lexer_1.$RPAREN))return[];varpositionals=[];dopositionals.push(this.parsePipe());while(this.optionalCharacter(lexer_1.$COMMA));returnpositionals},_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,warnings=[];this.index<this.tokens.length;){varkeyIsVar=this.peekKeywordLet();!keyIsVar&&this.peekDeprecatedKeywordVar()&&(keyIsVar=!0,warnings.push('"var" inside of expressions is deprecated. Use "let" instead!')),!keyIsVar&&this.peekDeprecatedOperatorHash()&&(keyIsVar=!0,warnings.push('"#" inside of expressions is deprecated. Use "let" instead!')),keyIsVar&&this.advance();varkey=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.peekKeywordLet()&&!this.peekDeprecatedKeywordVar()&&!this.peekDeprecatedOperatorHash()){varstart=t
},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--;){varkey=keys[idx],val=schema.definitions[key];report.path.push("definitions"),report.path.push(key),exports.validateSchema.call(this,report,val),report.path.pop(),report.path.pop()}},format:function(report,schema){"string"!=typeofschema.format?report.addError("KEYWORD_TYPE_EXPECTED",["format","string"]):void0===FormatValidators[schema.format]&&this.options.ignoreUnknownFormats!==!0&&report.addError("UNKNOWN_FORMAT",[schema.format])},id:function(report,schema){"string"!=typeofschema.id&&report.addError("KEYWORD_TYPE_EXPECTED",["id","string"])},title:function(report,schema){"string"!=typeofschema.title&&report.addError("KEYWORD_TYPE_EXPECTED",["title","string"])},description:function(report,schema){"string"!=typeofschema.description&&report.addError("KEYWORD_TYPE_EXPECTED",["description","string"])},"default":function(){}},validateArrayOfSchemas=function(report,arr){for(varidx=arr.length;idx--;)exports.validateSchema.call(this,report,arr[idx]);returnreport.isValid()};returnexports.validateSchema=function(report,schema){if(report.commonErrorMessage="SCHEMA_VALIDATION_FAILED",Array.isArray(schema))returnvalidateArrayOfSchemas.call(this,report,schema);if(schema.__$validated)return!0;varhasParentSchema=schema.$schema&&schema.id!==schema.$schema;if(hasParentSchema)if(schema.__$schemaResolved&&schema.__$schemaResolved!==schema){varsubReport=newReport(report),valid=JsonValidation.validate.call(this,subReport,schema.__$schemaResolved,schema);valid===!1&&report.addError("PARENT_SCHEMA_VALIDATION_FAILED",null,subReport)}elsethis.options.ignoreUnresolvableReferences!==!0&&report.addError("REF_UNRESOLVED",[schema.$schema]);if(this.options.noTypeless===!0){if(void0!==schema.type){varschemas=[];Array.isArray(schema.anyOf)&&(schemas=schemas.concat(schema.anyOf)),Array.isArray(schema.oneOf)&&(schemas=schemas.concat(schema.oneOf)),Array.isArray(schema.allOf)&&(schemas=schemas.concat(schema.allOf)),schemas.forEach(function(sch){sch.type||(sch.type=schema.type)})}void0===schema["enum"]&&void0===schema.type&&void0===schema.anyOf&&void0===schema.oneOf&&void0===schema.not&&void0===schema.$ref&&report.addError("KEYWORD_UNDEFINED_STRICT",["type"])}for(varkeys=Object.keys(schema),idx=keys.length;idx--;){varkey=keys[idx];0!==key.indexOf("__")&&(void0!==SchemaValidators[key]?SchemaValidators[key].call
},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-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],"default":{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],"default":{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},"default":{}},discriminator:{type:"string"},readOnly:{type:"boolean","default":!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{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"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string","enum":["file"]},readOnly:{type:"boolean","default":!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string","enum":["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFor
}}();varBuffer=$__require("14c").Buffer,util=$__require("15f");util.inherits=$__require("158");vardebugUtil=$__require("@empty"),debug=void0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};varStringDecoder;util.inherits(Readable,Stream);varDuplex,Duplex;Readable.prototype.push=function(chunk,encoding){varstate=this._readableState;returnstate.objectMode||"string"!=typeofchunk||(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=newBuffer(chunk,encoding),encoding="")),readableAddChunk(this,state,chunk,encoding,!1)},Readable.prototype.unshift=function(chunk){varstate=this._readableState;returnreadableAddChunk(this,state,chunk,"",!0)},Readable.prototype.isPaused=function(){returnthis._readableState.flowing===!1},Readable.prototype.setEncoding=function(enc){returnStringDecoder||(StringDecoder=$__require("160").StringDecoder),this._readableState.decoder=newStringDecoder(enc),this._readableState.encoding=enc,this};varMAX_HWM=8388608;Readable.prototype.read=function(n){debug("read",n);varstate=this._readableState,nOrig=n;if(("number"!=typeofn||n>0)&&(state.emittedReadable=!1),0===n&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))returndebug("read: emitReadable",state.length,state.ended),0===state.length&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),0===n&&state.ended)return0===state.length&&endReadable(this),null;vardoRead=state.needReadable;debug("need readable",doRead),(0===state.length||state.length-n<state.highWaterMark)&&(doRead=!0,debug("length less than watermark",doRead)),(state.ended||state.reading)&&(doRead=!1,debug("reading or ended",doRead)),doRead&&(debug("do read"),state.reading=!0,state.sync=!0,0===state.length&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1),doRead&&!state.reading&&(n=howMuchToRead(nOrig,state));varret;returnret=n>0?fromList(n,state):null,null===ret&&(state.needReadable=!0,n=0),state.length-=n,0!==state.length||state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&0===state.length&&endReadable(this),null!==ret&&this.emit("data",ret),ret},Readable.prototype._read=function(n){this.emit("error",newError("not implemented"))},Readable.prototype.pipe=function(dest,pipeOpts){functiononunpipe(readable){debug("onunpipe"),readable===src&&cleanup()}functiononend(){debug("onend"),dest.end()}functioncleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",cleanup),src.removeListener("data",ondata),cleanedUp=!0,!state.awaitDrain||dest._writableState&&!dest._writableState.needDrain||ondrain()}functionondata(chunk){debug("ondata");varret=dest.write(chunk);!1===ret&&(1!==state.pipesCount||state.pipes[0]!==dest||1!==src.listenerCount("data")||cleanedUp||(debug("false write response, pause",src._readableState.awaitDrain),src._readableState.awaitDrain++),src.pause())}functiononerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),0===EElistenerCount(dest,"error")&&dest.emit("error",er)}functiononclose(){dest.removeListener("finish",onfinish),unpipe()}functiononfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}functionunpipe(){debug("unpipe"),src.unpipe(dest)}varsrc=this,state=this._readableState;switch(state.pipesCount){case0:state.pipes=dest;break;case1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest)}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);vardoEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:cleanup;state.endEmitted?processNextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);varondrain=pipeOnDrain(src);dest.on("drain",ondrain);varcleanedUp=!1;returnsrc.on("data",ondata),dest._events&&dest._events.error?isArray(dest._events.error)?dest._events.error.unshift(onerr
}returnmodule.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void0,EventEmitter.prototype._maxListeners=void0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throwTypeError("n must be a positive number");returnthis._maxListeners=n,this},EventEmitter.prototype.emit=function(type){varer,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],erinstanceofError)thrower;throwTypeError('Uncaught, unspecified "error" event.')}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case1:handler.call(this);break;case2:handler.call(this,arguments[1]);break;case3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=newArray(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}elseif(isObject(handler)){for(len=arguments.length,args=newArray(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){varm;if(!isFunction(listener))throwTypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){varm;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeofconsole.trace&&console.trace())}returnthis},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){varre
}varlib$es6$promise$utils$$_isArray;lib$es6$promise$utils$$_isArray=Array.isArray?Array.isArray:function(x){return"[object Array]"===Object.prototype.toString.call(x)};varlib$es6$promise$asap$$vertxNext,lib$es6$promise$asap$$customSchedulerFn,lib$es6$promise$asap$$scheduleFlush,lib$es6$promise$utils$$isArray=lib$es6$promise$utils$$_isArray,lib$es6$promise$asap$$len=0,lib$es6$promise$asap$$asap=function(callback,arg){lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len]=callback,lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len+1]=arg,lib$es6$promise$asap$$len+=2,2===lib$es6$promise$asap$$len&&(lib$es6$promise$asap$$customSchedulerFn?lib$es6$promise$asap$$customSchedulerFn(lib$es6$promise$asap$$flush):lib$es6$promise$asap$$scheduleFlush())},lib$es6$promise$asap$$browserWindow="undefined"!=typeofwindow?window:void0,lib$es6$promise$asap$$browserGlobal=lib$es6$promise$asap$$browserWindow||{},lib$es6$promise$asap$$BrowserMutationObserver=lib$es6$promise$asap$$browserGlobal.MutationObserver||lib$es6$promise$asap$$browserGlobal.WebKitMutationObserver,lib$es6$promise$asap$$isNode="undefined"!=typeofprocess&&"[object process]"==={}.toString.call(process),lib$es6$promise$asap$$isWorker="undefined"!=typeofUint8ClampedArray&&"undefined"!=typeofimportScripts&&"undefined"!=typeofMessageChannel,lib$es6$promise$asap$$queue=newArray(1e3);lib$es6$promise$asap$$scheduleFlush=lib$es6$promise$asap$$isNode?lib$es6$promise$asap$$useNextTick():lib$es6$promise$asap$$BrowserMutationObserver?lib$es6$promise$asap$$useMutationObserver():lib$es6$promise$asap$$isWorker?lib$es6$promise$asap$$useMessageChannel():void0===lib$es6$promise$asap$$browserWindow&&"function"==typeof$__require?lib$es6$promise$asap$$attemptVertx():lib$es6$promise$asap$$useSetTimeout();varlib$es6$promise$then$$default=lib$es6$promise$then$$then,lib$es6$promise$promise$resolve$$default=lib$es6$promise$promise$resolve$$resolve,lib$es6$promise$$internal$$PENDING=void0,lib$es6$promise$$internal$$FULFILLED=1,lib$es6$promise$$internal$$REJECTED=2,lib$es6$promise$$internal$$GET_THEN_ERROR=newlib$es6$promise$$internal$$ErrorObject,lib$es6$promise$$internal$$TRY_CATCH_ERROR=newlib$es6$promise$$internal$$ErrorObject,lib$es6$promise$promise$all$$default=lib$es6$promise$promise$all$$all,lib$es6$promise$promise$race$$default=lib$es6$promise$promise$race$$race,lib$es6$promise$promise$reject$$default=lib$es6$promise$promise$reject$$reject,lib$es6$promise$promise$$counter=0,lib$es6$promise$promise$$default=lib$es6$promise$promise$$Promise;lib$es6$promise$promise$$Promise.all=lib$es6$promise$promise$all$$default,lib$es6$promise$promise$$Promise.race=lib$es6$promise$promise$race$$default,lib$es6$promise$promise$$Promise.resolve=lib$es6$promise$promise$resolve$$default,lib$es6$promise$promise$$Promise.reject=lib$es6$promise$promise$reject$$default,lib$es6$promise$promise$$Promise._setScheduler=lib$es6$promise$asap$$setScheduler,lib$es6$promise$promise$$Promise._setAsap=lib$es6$promise$asap$$setAsap,lib$es6$promise$promise$$Promise._asap=lib$es6$promise$asap$$asap,lib$es6$promise$promise$$Promise.prototype={constructor:lib$es6$promise$promise$$Promise,then:lib$es6$promise$then$$default,"catch":function(onRejection){returnthis.then(null,onRejection)}};varlib$es6$promise$enumerator$$default=lib$es6$promise$enumerator$$Enumerator;lib$es6$promise$enumerator$$Enumerator.prototype._validationError=function(){returnnewError("Array Methods must be provided an Array")},lib$es6$promise$enumerator$$Enumerator.prototype._enumerate=function(){for(varlength=this.length,input=this._input,i=0;this._state===lib$es6$promise$$internal$$PENDING&&length>i;i++)this._eachEntry(input[i],i)},lib$es6$promise$enumerator$$Enumerator.prototype._eachEntry=function(entry,i){varc=this._instanceConstructor,resolve=c.resolve;if(resolve===lib$es6$promise$promise$resolve$$default){varthen=lib$es6$promise$$internal$$getThen(entry);if(then===lib$es6$promise$then$$default&&entry._state!==lib$es6$promise$$internal$$PENDING)this._settledAt(entry._state,i,entry._result);elseif("function"!=typeofthen)this._remain
_position=state.position;0!==ch&&!is_WS_OR_EOL(ch)&&!is_FLOW_INDICATOR(ch);)ch=state.input.charCodeAt(++state.position);returnstate.position===_position&&throwError(state,"name of an anchor node must contain at least one character"),state.anchor=state.input.slice(_position,state.position),!0}functionreadAlias(state){var_position,alias,ch;if(ch=state.input.charCodeAt(state.position),42!==ch)return!1;for(ch=state.input.charCodeAt(++state.position),_position=state.position;0!==ch&&!is_WS_OR_EOL(ch)&&!is_FLOW_INDICATOR(ch);)ch=state.input.charCodeAt(++state.position);returnstate.position===_position&&throwError(state,"name of an alias node must contain at least one character"),alias=state.input.slice(_position,state.position),state.anchorMap.hasOwnProperty(alias)||throwError(state,'unidentified alias "'+alias+'"'),state.result=state.anchorMap[alias],skipSeparationSpace(state,!0,-1),!0}functioncomposeNode(state,parentIndent,nodeContext,allowToSeek,allowCompact){varallowBlockStyles,allowBlockScalars,allowBlockCollections,typeIndex,typeQuantity,type,flowIndent,blockIndent,indentStatus=1,atNewLine=!1,hasContent=!1;if(null!==state.listener&&state.listener("open",state),state.tag=null,state.anchor=null,state.kind=null,state.result=null,allowBlockStyles=allowBlockScalars=allowBlockCollections=CONTEXT_BLOCK_OUT===nodeContext||CONTEXT_BLOCK_IN===nodeContext,allowToSeek&&skipSeparationSpace(state,!0,-1)&&(atNewLine=!0,state.lineIndent>parentIndent?indentStatus=1:state.lineIndent===parentIndent?indentStatus=0:state.lineIndent<parentIndent&&(indentStatus=-1)),1===indentStatus)for(;readTagProperty(state)||readAnchorProperty(state);)skipSeparationSpace(state,!0,-1)?(atNewLine=!0,allowBlockCollections=allowBlockStyles,state.lineIndent>parentIndent?indentStatus=1:state.lineIndent===parentIndent?indentStatus=0:state.lineIndent<parentIndent&&(indentStatus=-1)):allowBlockCollections=!1;if(allowBlockCollections&&(allowBlockCollections=atNewLine||allowCompact),1!==indentStatus&&CONTEXT_BLOCK_OUT!==nodeContext||(flowIndent=CONTEXT_FLOW_IN===nodeContext||CONTEXT_FLOW_OUT===nodeContext?parentIndent:parentIndent+1,blockIndent=state.position-state.lineStart,1===indentStatus?allowBlockCollections&&(readBlockSequence(state,blockIndent)||readBlockMapping(state,blockIndent,flowIndent))||readFlowCollection(state,flowIndent)?hasContent=!0:(allowBlockScalars&&readBlockScalar(state,flowIndent)||readSingleQuotedScalar(state,flowIndent)||readDoubleQuotedScalar(state,flowIndent)?hasContent=!0:readAlias(state)?(hasContent=!0,null===state.tag&&null===state.anchor||throwError(state,"alias node should not have any properties")):readPlainScalar(state,flowIndent,CONTEXT_FLOW_IN===nodeContext)&&(hasContent=!0,null===state.tag&&(state.tag="?")),null!==state.anchor&&(state.anchorMap[state.anchor]=state.result)):0===indentStatus&&(hasContent=allowBlockCollections&&readBlockSequence(state,blockIndent))),null!==state.tag&&"!"!==state.tag)if("?"===state.tag){for(typeIndex=0,typeQuantity=state.implicitTypes.length;typeQuantity>typeIndex;typeIndex+=1)if(type=state.implicitTypes[typeIndex],type.resolve(state.result)){state.result=type.construct(state.result),state.tag=type.tag,null!==state.anchor&&(state.anchorMap[state.anchor]=state.result);break}}else_hasOwnProperty.call(state.typeMap,state.tag)?(type=state.typeMap[state.tag],null!==state.result&&type.kind!==state.kind&&throwError(state,"unacceptable node kind for !<"+state.tag+'> tag; it should be "'+type.kind+'", not "'+state.kind+'"'),type.resolve(state.result)?(state.result=type.construct(state.result),null!==state.anchor&&(state.anchorMap[state.anchor]=state.result)):throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")):throwError(state,"unknown tag !<"+state.tag+">");returnnull!==state.listener&&state.listener("close",state),null!==state.tag||null!==state.anchor||hasContent}functionreadDocument(state){var_position,directiveName,directiveArgs,ch,documentStart=state.position,hasDirectives=!1;for(state.version=null,state.checkLineBreaks=state.legacy,state.tagMap={},state.anchorMap={};0!=
tempCodePoint>65535&&1114112>tempCodePoint&&(codePoint=tempCodePoint))}}null===codePoint?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),res.push(codePoint),i+=bytesPerSequence}returndecodeCodePointsArray(res)}functiondecodeCodePointsArray(codePoints){varlen=codePoints.length;if(MAX_ARGUMENTS_LENGTH>=len)returnString.fromCharCode.apply(String,codePoints);for(varres="",i=0;len>i;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));returnres}functionasciiSlice(buf,start,end){varret="";end=Math.min(buf.length,end);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&
"use strict";functiondereference(parser,options){debug("Dereferencing $ref pointers in %s",parser.$refs._root$Ref.path);vardereferenced=crawl(parser.schema,parser.$refs._root$Ref.path,"#",[],parser.$refs,options);parser.$refs.circular=dereferenced.circular,parser.schema=dereferenced.value}functioncrawl(obj,path,pathFromRoot,parents,$refs,options){vardereferenced,result={value:obj,circular:!1};returnobj&&"object"==typeofobj&&(parents.push(obj),$Ref.isAllowed$Ref(obj,options)?(dereferenced=dereference$Ref(obj,path,pathFromRoot,parents,$refs,options),result.circular=dereferenced.circular,result.value=dereferenced.value):Object.keys(obj).forEach(function(key){varkeyPath=Pointer.join(path,key),keyPathFromRoot=Pointer.join(pathFromRoot,key),value=obj[key],circular=!1;$Ref.isAllowed$Ref(value,options)?(dereferenced=dereference$Ref(value,keyPath,keyPathFromRoot,parents,$refs,options),circular=dereferenced.circular,obj[key]=dereferenced.value):-1===parents.indexOf(value)?(dereferenced=crawl(value,keyPath,keyPathFromRoot,parents,$refs,options),circular=dereferenced.circular,obj[key]=dereferenced.value):circular=foundCircularReference(keyPath,$refs,options),result.circular=result.circular||circular}),parents.pop()),result}functiondereference$Ref($ref,path,pathFromRoot,parents,$refs,options){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=$Ref.dereference($ref,pointer.value);if(!circular){vardereferenced=crawl(dereferencedValue,pointer.path,pathFromRoot,parents,$refs,options);circular=dereferenced.circular,dereferencedValue=dereferenced.value}returncircular&&!directCircular&&"ignore"===options.dereference.circular&&(dereferencedValue=$ref),directCircular&&(dereferencedValue.$ref=pathFromRoot),{circular:circular,value:dereferencedValue}}functionfoundCircularReference(keyPath,$refs,options){if($refs.circular=!0,!options.dereference.circular)throwono.reference("Circular $ref pointer found at %s",keyPath);return!0}var$Ref=$__require("194"),Pointer=$__require("199"),ono=$__require("140"),debug=$__require("155"),url=$__require("154");returnmodule.exports=dereference,module.exports}),$__System.registerDynamic("1da",["13e","143","13f","146","148","19c","140","1be","1bd"],!0,function($__require,exports,module){"use strict";functionSwaggerParser(){$RefParser.apply(this,arguments)}functionnormalizeArgs(args){varpath,api,options,callback;returnargs=Array.prototype.slice.call(args),"function"==typeofargs[args.length-1]&&(callback=args.pop()),"string"==typeofargs[0]?(path=args[0],"object"==typeofargs[2]?(api=args[1],options=args[2]):(api=void0,options=args[1])):(path="",api=args[0],options=args[1]),optionsinstanceofOptions||(options=newOptions(options)),{path:path,api:api,options:options,callback:callback}}varvalidateSchema=$__require("13e"),validateSpec=$__require("143"),util=$__require("13f"),Options=$__require("146"),Promise=$__require("148"),maybe=$__require("19c"),ono=$__require("140"),$RefParser=$__require("1be"),dereference=$__require("1bd");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){varargs=normalizeArgs(arguments);return$RefParser.prototype.parse.call(this,args.path,args.api,args.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",args.path||args.api);if("number"==typeofschema.swagger)throwono.sy
return_this._asyncInitDone=!0}),_this._asyncInitDone=!1):(_this._asyncInitDone=!0,asyncInitDonePromise=async_1.PromiseWrapper.resolve(!0)),asyncInitDonePromise}),async_1.ObservableWrapper.subscribe(zone.onError,function(error){_this._exceptionHandler.call(error.error,error.stackTrace)}),async_1.ObservableWrapper.subscribe(this._zone.onMicrotaskEmpty,function(_){_this._zone.run(function(){_this.tick()})})}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.waitForAsyncInitializers=function(){returnthis._asyncInitDonePromise},ApplicationRef_.prototype.run=function(callback){varresult,_this=this,zone=this.injector.get(ng_zone_1.NgZone),completer=async_1.PromiseWrapper.completer();returnzone.run(function(){try{result=callback(),lang_1.isPromise(result)&&async_1.PromiseWrapper.then(result,function(ref){completer.resolve(ref)},function(err,stackTrace){completer.reject(err,stackTrace),_this._exceptionHandler.call(err,stackTrace)})}catch(e){throw_this._exceptionHandler.call(e,e.stack),e}}),lang_1.isPromise(result)?completer.promise:result},ApplicationRef_.prototype.bootstrap=function(componentFactory){var_this=this;if(!this._asyncInitDone)thrownewexceptions_1.BaseException("Cannot bootstrap as there are still asynchronous initializers running. Wait for them using waitForAsyncInitializers().");returnthis.run(function(){_this._rootComponentTypes.push(componentFactory.componentType);varcompRef=componentFactory.create(_this._injector,[],componentFactory.selector);compRef.onDestroy(function(){_this._unloadComponent(compRef)});vartestability=compRef.injector.get(testability_1.Testability,null);lang_1.isPresent(testability)&&compRef.injector.get(testability_1.TestabilityRegistry).registerApplication(compRef.location.nativeElement,testability),_this._loadComponent(compRef);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."),compRef})},ApplicationRef_.prototype._loadComponent=function(componentRef){this._changeDetectorRefs.push(componentRef.changeDetectorRef),this.tick(),this._rootComponents.push(componentRef),this._bootstrapListeners.forEach(function(listener){returnlistener(componentRef)})},ApplicationRef_.prototype._unloadComponent=function(componentRef){collection_1.ListWrapper.contains(this._rootComponents,componentRef)&&(this.unregisterChangeDetector(componentRef.changeDetectorRef),collection_1.ListWrapper.remove(this._rootComponents,componentRef))},Object.defineProperty(ApplicationRef_.prototype,"injector",{get:function(){returnthis._injector},enumerable:!0,configurable:!0}),Object.defineProperty(ApplicationRef_.prototype,"zone",{get:function(){returnthis._zone},enumerable:!0,configurable:!0}),ApplicationRef_.prototype.tick=function(){if(this._runningTick)thrownewexceptions_1.BaseException("ApplicationRef.tick is called recursively");vars=ApplicationRef_._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(detector){returndetector.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(detector){returndetector.checkNoChanges()})}finally{this._runningTick=!1,profile_1.wtfLeave(s)}},ApplicationRef_.prototype.dispose=function(){collection_1.ListWrapper.clone(this._rootComponents).forEach(function(ref){returnref.destroy()}),this._disposeListeners.forEach(function(dispose){returndispose()}),this._platform._applicationDisposed(this)},Object.defineProperty(ApplicationRef_.prototype,"componentTypes",{get:function(){returnthis._root