mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 03:23:44 +03:00
32 lines
934 KiB
JavaScript
32 lines
934 KiB
JavaScript
|
"format amd";!function(e){function t(e,t,i){return 4===arguments.length?n.apply(this,arguments):void r(e,{declarative:!0,deps:t,declare:i})}function n(e,t,n,i){r(e,{declarative:!1,deps:t,executingRequire:n,execute:i})}function r(e,t){t.name=e,e in f||(f[e]=t),t.normalizedDeps=t.deps}function i(e,t){if(t[e.groupIndex]=t[e.groupIndex]||[],-1==d.call(t[e.groupIndex],e)){t[e.groupIndex].push(e);for(var n=0,r=e.normalizedDeps.length;r>n;n++){var o=e.normalizedDeps[n],s=f[o];if(s&&!s.evaluated){var a=e.groupIndex+(s.declarative!=e.declarative);if(void 0===s.groupIndex||s.groupIndex<a){if(void 0!==s.groupIndex&&(t[s.groupIndex].splice(d.call(t[s.groupIndex],s),1),0==t[s.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");s.groupIndex=a}i(s,t)}}}}function o(e){var t=f[e];t.groupIndex=0;var n=[];i(t,n);for(var r=!!t.declarative==n.length%2,o=n.length-1;o>=0;o--){for(var s=n[o],u=0;u<s.length;u++){var l=s[u];r?a(l):c(l)}r=!r}}function s(e){return y[e]||(y[e]={name:e,dependencies:[],exports:{},importers:[]})}function a(t){if(!t.module){var n=t.module=s(t.name),r=t.module.exports,i=t.declare.call(e,function(e,t){if(n.locked=!0,"object"==typeof e)for(var i in e)r[i]=e[i];else r[e]=t;for(var o=0,s=n.importers.length;s>o;o++){var a=n.importers[o];if(!a.locked)for(var u=0;u<a.dependencies.length;++u)a.dependencies[u]===n&&a.setters[u](r)}return n.locked=!1,t},t.name);n.setters=i.setters,n.execute=i.execute;for(var o=0,u=t.normalizedDeps.length;u>o;o++){var c,l=t.normalizedDeps[o],d=f[l],h=y[l];h?c=h.exports:d&&!d.declarative?c=d.esModule:d?(a(d),h=d.module,c=h.exports):c=p(l),h&&h.importers?(h.importers.push(n),n.dependencies.push(h)):n.dependencies.push(null),n.setters[o]&&n.setters[o](c)}}}function u(e){var t,n=f[e];if(n)n.declarative?l(e,[]):n.evaluated||c(n),t=n.module.exports;else if(t=p(e),!t)throw new Error("Unable to load dependency "+e+".");return(!n||n.declarative)&&t&&t.__useDefault?t["default"]:t}function c(t){if(!t.module){var n={},r=t.module={exports:n,id:t.name};if(!t.executingRequire)for(var i=0,o=t.normalizedDeps.length;o>i;i++){var s=t.normalizedDeps[i],a=f[s];a&&c(a)}t.evaluated=!0;var l=t.execute.call(e,function(e){for(var n=0,r=t.deps.length;r>n;n++)if(t.deps[n]==e)return u(t.normalizedDeps[n]);throw new TypeError("Module "+e+" not declared as a dependency.")},n,r);if(l&&(r.exports=l),n=r.exports,n&&n.__esModule)t.esModule=n;else{if(t.esModule={},("object"==typeof n||"function"==typeof n)&&n!==e)if(h){var p;for(var d in n)(p=Object.getOwnPropertyDescriptor(n,d))&&v(t.esModule,d,p)}else{var m=n&&n.hasOwnProperty;for(var d in n)(!m||n.hasOwnProperty(d))&&(t.esModule[d]=n[d])}t.esModule["default"]=n,v(t.esModule,"__useDefault",{value:!0})}}}function l(t,n){var r=f[t];if(r&&!r.evaluated&&r.declarative){n.push(t);for(var i=0,o=r.normalizedDeps.length;o>i;i++){var s=r.normalizedDeps[i];-1==d.call(n,s)&&(f[s]?l(s,n):p(s))}r.evaluated||(r.evaluated=!0,r.module.execute.call(e))}}function p(e){if(g[e])return g[e];if("@node/"==e.substr(0,6))return require(e.substr(6));var t=f[e];if(!t)throw"Module "+e+" not present.";return o(e),l(e,[]),f[e]=void 0,t.declarative&&v(t.module.exports,"__esModule",{value:!0}),g[e]=t.declarative?t.module.exports:t.esModule}var f={},d=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},h=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(m){h=!1}var v;!function(){try{Object.defineProperty({},"a",{})&&(v=Object.defineProperty)}catch(e){v=function(e,t,n){try{e[t]=n.value||n.get.call(e)}catch(r){}}}}();var y={},g={};return function(e,r,i){return function(o){o(function(o){var s={_nodeRequire:"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,register:t,registerDynamic:n,get:p,set:function(e,t){g[e]=t},newModule:function(e){return e}};s.set("@empty",{});for(var a=0;a<r.length;a++)(function(e,t){t&&t.__esModule?s.register(e,[],function(e){return{setters:[],execute:function(){for(var n in t)"__esModule"==n||"object"==typeof n&&n+""=="Module"||e(n,t[n])}}}):s.registerDynamic(e,[],!1,function(){
|
||
|
directives:[s]})(e)||e,e=r({selector:"zippy",events:["open","close"],inputs:["title","visible","type","empty"]})(e)||e}(),e("default",a)}}}),e.register("d",["3","4","5","6","7","21","23","24","c","a"],function(e){function t(e){return!isNaN(parseFloat(e))&&isFinite(e)}var n,r,i,o,s,a,u,c,l,p,f,d;return{setters:[function(e){n=e.RedocComponent,r=e.BaseComponent},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e.statusCodeType},function(e){l=e["default"]},function(e){p=e["default"]},function(e){f=e["default"]}],execute:function(){"use strict";d=function(e){function r(e){a(this,d),i(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,e)}o(r,e),s(r,[{key:"prepareModel",value:function(){var e=this;this.data={},this.data.responses=[];var n=this.componentSchema;n&&(n=l(n).filter(function(e){return t(e)||"default"===e}).map(function(t){var r=n[t];if(r.pointer=p.join(e.pointer,t),r.$ref){var i=r.$ref;r=e.schemaMgr.byPointer(r.$ref),r.pointer=i}return r.code=t,r.type=c(r.code),r.headers&&(r.headers=l(r.headers).map(function(e){var t=r.headers[e];return t.name=e,t})),r.extendable=r.headers||r.length,r}),this.data.responses=n)}}]);var d=r;return r=n({selector:"responses-list",template:'\n <h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>\n <zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="!response.schema">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="#header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type"> {{header.type}} </div>\n <div class="header-description" innerHtml="{{header.description | marked}}"> </div>\n </div>\n </div>\n <header>\n Response schema\n </header>\n <json-schema *ngIf="response.schema" class="schema type" pointer="{{response.pointer}}/schema">\n </json-schema>\n </zippy>\n ',styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 0.5em 0;\n color: #253137; }\n\n .header-name {\n font-weight: bold;\n display: inline-block; }\n\n .header-type {\n display: inline-block;\n font-weight: bold;\n color: #999; }\n\n header {\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n margin-bottom: 15px; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[f,u]})(r)||r}(r),e("default",d)}}}),e.register("25",["6","7","14","22"],function(e){var t,n,r,i,o,s,a;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e.Component,i=e.View},function(e){o=e.CORE_DIRECTIVES}],execute:function(){"use strict";s=function(){function e(){n(this,s),this.tabs=[]}t(e,[{key:"selectTab",value:function(e){this.tabs.forEach(function(e){e.active=!1}),e.active=!0}},{key:"addTab",value:function(e){0===this.tabs.length&&(e.active=!0),this.tabs.push(e)}}]);var s=e;return e=i({template:'\n <ul>\n <li *ngFor="#tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"\n class="tab-{{tab.tabStatus}}"> {{tab.tabTitle}}\n </li>\n </ul>\n <ng-content></ng-content>\n ',directives:[o],styles:['\n ul {\n display: block;\n margin: 0;\n padding: 10px 0px 0 0; }\n\n li {\n font-size: 13px;\n list-style: none;\n margin: 2px 0;\n padding: 2px 5px;\n display: inline-block;\n cursor: pointer;\n color: #8A9094;\n line-height: 1.25;\n color: #8A9094; }\n\n li.active {\n background-color: white;\n color: #666; }\n\n .tab-success:before, .tab-error:before, .tab-redirect:before, .tab-info:before {\n content: "";\n display: inline-block;\n vertical-align: middle;\n height: 6px;\n width: 6px;\n
|
||
|
})):this.handleAnimationCompleted()},e.prototype.handleAnimationEvent=function(e){var t=s.Math.round(1e3*e.elapsedTime);this.browserDetails.elapsedTimeIncludesDelay||(t+=this.computedDelay),e.stopPropagation(),t>=this.totalTime&&this.handleAnimationCompleted()},e.prototype.handleAnimationCompleted=function(){this.removeClasses(this.data.animationClasses),this.callbacks.forEach(function(e){return e()}),this.callbacks=[],this.eventClearFunctions.forEach(function(e){return e()}),this.eventClearFunctions=[],this.completed=!0},e.prototype.onComplete=function(e){return this.completed?e():this.callbacks.push(e),this},e.prototype.parseDurationString=function(e){var t=0;if(null==e||e.length<2)return t;if("ms"==e.substring(e.length-2)){var n=o.NumberWrapper.parseInt(this.stripLetters(e),10);n>t&&(t=n)}else if("s"==e.substring(e.length-1)){var r=1e3*o.NumberWrapper.parseFloat(this.stripLetters(e)),n=s.Math.floor(r);n>t&&(t=n)}return t},e.prototype.stripLetters=function(e){return o.StringWrapper.replaceAll(e,o.RegExpWrapper.create("[^0-9]+$",""),"")},e}();return t.Animation=l,r.define=i,n.exports}),e.registerDynamic("47",["43","44"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("43"),s=e("44"),a=function(){function e(e){this.browserDetails=e,this.data=new o.CssAnimationOptions}return e.prototype.addAnimationClass=function(e){return this.data.animationClasses.push(e),this},e.prototype.addClass=function(e){return this.data.classesToAdd.push(e),this},e.prototype.removeClass=function(e){return this.data.classesToRemove.push(e),this},e.prototype.setDuration=function(e){return this.data.duration=e,this},e.prototype.setDelay=function(e){return this.data.delay=e,this},e.prototype.setStyles=function(e,t){return this.setFromStyles(e).setToStyles(t)},e.prototype.setFromStyles=function(e){return this.data.fromStyles=e,this},e.prototype.setToStyles=function(e){return this.data.toStyles=e,this},e.prototype.start=function(e){return new s.Animation(e,this.data,this.browserDetails)},e}();return t.CssAnimationBuilder=a,r.define=i,n.exports}),e.registerDynamic("45",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20");return t.Math=o.global.Math,t.NaN=typeof t.NaN,r.define=i,n.exports}),e.registerDynamic("48",["39","45","36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("45"),c=e("36"),l=function(){function e(){this.elapsedTimeIncludesDelay=!1,this.doesElapsedTimeIncludesDelay()}return e.prototype.doesElapsedTimeIncludesDelay=function(){var e=this,t=c.DOM.createElement("div");c.DOM.setAttribute(t,"style","position: absolute; top: -9999px; left: -9999px; width: 1px;\n height: 1px; transition: all 1ms linear 1ms;"),this.raf(function(n){c.DOM.on(t,"transitionend",function(n){var r=u.Math.round(1e3*n.elapsedTime);e.elapsedTimeIncludesDelay=2==r,c.DOM.remove(t)}),c.DOM.setStyle(t,"width","2px")},2)},e.prototype.raf=function(e,t){void 0===t&&(t=1);var n=new p(e,t);return function(){return n.cancel()}},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();t.BrowserDetails=l;var p=function(){function e(e,t){this.callback=e,this.frames=t,this._raf()}return e.prototype._raf=function(){var e=this;this.currentFrameId=c.DOM.requestAnimationFrame(function(t){return e._nextFrame(t)})},e.prototype._nextFrame=function(e){this.frames--,this.frames>0?this._raf():this.callback(e)},e.prototype.cancel=function(){c.DOM.cancelAnimationFrame(this.currentFrameId),this.currentFrameId=null},e}();return r.define=i,n.exports}),e.registerDynamic("49",["39","47","48"],!0,function(e,t,n){"use
|
||
|
}();t.TemplateCompiler=R;var I=function(){function e(e,t){this.component=e,this.directives=t}return e}();return t.NormalizedComponentWithViewDirectives=I,l.define=p,n.exports}),e.registerDynamic("6a",["37","20","14","3c","6e","6f","70","71","72","73","74","75","76","77","6d","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return l.StringWrapper.split(e.trim(),/\s+/g)}function i(e,t){var n=new b.CssSelector,i=v.splitNsName(e)[1];n.setElement(i);for(var o=0;o<t.length;o++){var s=t[o][0],a=v.splitNsName(s)[1],u=t[o][1];if(n.addAttribute(a,u),s.toLowerCase()==O){var c=r(u);c.forEach(function(e){return n.addClassName(e)})}}return n}var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("37"),l=e("20"),p=e("14"),f=e("20"),d=e("3c"),h=e("6e"),m=e("6f"),v=e("70"),y=e("71"),g=e("72"),b=e("73"),_=e("74"),E=e("75"),D=e("76"),w=e("77"),C=e("6d"),x=/^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g,A="template",P="template",S="*",O="class",R=".",I="attr",T="class",k="style",N=b.CssSelector.parse("*")[0];t.TEMPLATE_TRANSFORMS=f.CONST_EXPR(new p.OpaqueToken("TemplateTransforms"));var F=function(e){function t(t,n){e.call(this,n,t)}return o(t,e),t}(y.ParseError);t.TemplateParseError=F;var j=function(){function e(e,t,n,r){this._exprParser=e,this._schemaRegistry=t,this._htmlParser=n,this.transforms=r}return e.prototype.parse=function(e,t,n){var r=new M(t,this._exprParser,this._schemaRegistry),i=this._htmlParser.parse(e,n),o=w.htmlVisitAll(r,i.rootNodes,U),s=i.errors.concat(r.errors);if(s.length>0){var a=s.join("\n");throw new d.BaseException("Template parse errors:\n"+a)}return l.isPresent(this.transforms)&&this.transforms.forEach(function(e){o=g.templateVisitAll(e,o)}),o},e=s([p.Injectable(),u(3,p.Optional()),u(3,p.Inject(t.TEMPLATE_TRANSFORMS)),a("design:paramtypes",[h.Parser,_.ElementSchemaRegistry,m.HtmlParser,Array])],e)}();t.TemplateParser=j;var M=function(){function e(e,t,n){var r=this;this._exprParser=t,this._schemaRegistry=n,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new b.SelectorMatcher,c.ListWrapper.forEachWithIndex(e,function(e,t){var n=b.CssSelector.parse(e.selector);r.selectorMatcher.addSelectables(n,e),r.directivesIndex.set(e,t)})}return e.prototype._reportError=function(e,t){this.errors.push(new F(e,t.start))},e.prototype._parseInterpolation=function(e,t){var n=t.start.toString();try{return this._exprParser.parseInterpolation(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseAction=function(e,t){var n=t.start.toString();try{return this._exprParser.parseAction(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseBinding=function(e,t){var n=t.start.toString();try{return this._exprParser.parseBinding(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseTemplateBindings=function(e,t){var n=t.start.toString();try{return this._exprParser.parseTemplateBindings(e,n)}catch(r){return this._reportError(""+r,t),[]}},e.prototype.visitText=function(e,t){var n=t.findNgContentIndex(N),r=this._parseInterpolation(e.value,e.sourceSpan);return l.isPresent(r)?new g.BoundTextAst(r,n,e.sourceSpan):new g.TextAst(e.value,n,e.so
|
||
|
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("65"),u=e("20"),c=e("3c"),l=e("63"),p=e("79"),f=e("7a"),d=e("76"),h=e("39"),m=e("7b"),v=e("77"),y=e("6f"),g=e("75"),b=function(){function e(e,t,n){this._xhr=e,this._urlResolver=t,this._htmlParser=n}return e.prototype.normalizeTemplate=function(e,t){var n=this;if(u.isPresent(t.template))return l.PromiseWrapper.resolve(this.normalizeLoadedTemplate(e,t,t.template,e.moduleUrl));if(u.isPresent(t.templateUrl)){var r=this._urlResolver.resolve(e.moduleUrl,t.templateUrl);return this._xhr.get(r).then(function(i){return n.normalizeLoadedTemplate(e,t,i,r)})}throw new c.BaseException("No template specified for component "+e.name)},e.prototype.normalizeLoadedTemplate=function(e,t,n,r){var i=this,o=this._htmlParser.parse(n,e.name);if(o.errors.length>0){var s=o.errors.join("\n");throw new c.BaseException("Template parse errors:\n"+s)}var u=new _;v.htmlVisitAll(u,o.rootNodes);var l=t.styles.concat(u.styles),p=u.styleUrls.filter(d.isStyleUrlResolvable).map(function(e){return i._urlResolver.resolve(r,e)}).concat(t.styleUrls.filter(d.isStyleUrlResolvable).map(function(t){return i._urlResolver.resolve(e.moduleUrl,t)})),f=l.map(function(e){var t=d.extractStyleUrls(i._urlResolver,r,e);return t.styleUrls.forEach(function(e){return p.push(e)}),t.style}),h=t.encapsulation;return h===m.ViewEncapsulation.Emulated&&0===f.length&&0===p.length&&(h=m.ViewEncapsulation.None),new a.CompileTemplateMetadata({encapsulation:h,template:n,templateUrl:r,styles:f,styleUrls:p,ngContentSelectors:u.ngContentSelectors})},e=o([h.Injectable(),s("design:paramtypes",[p.XHR,f.UrlResolver,y.HtmlParser])],e)}();t.TemplateNormalizer=b;var _=function(){function e(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return e.prototype.visitElement=function(e,t){var n=g.preparseElement(e);switch(n.type){case g.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case g.PreparsedElementType.STYLE:var r="";e.children.forEach(function(e){e instanceof v.HtmlTextAst&&(r+=e.value)}),this.styles.push(r);break;case g.PreparsedElementType.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,v.htmlVisitAll(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null},e.prototype.visitAttr=function(e,t){return null},e.prototype.visitText=function(e,t){return null},e}();return r.define=i,n.exports}),e.registerDynamic("73",["37","20","3c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=e("37"),i=e("20"),o=e("3c"),s="",a=i.RegExpWrapper.create("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)"),u=function(){function e(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return e.parse=function(t){for(var n,s=[],u=function(e,t){t.notSelectors.length>0&&i.isBlank(t.element)&&r.ListWrapper.isEmpty(t.classNames)&&r.ListWrapper.isEmpty(t.attrs)&&(t.element="*"),e.push(t)},c=new e,l=i.RegExpWrapper.matcher(a,t),p=c,f=!1;i.isPresent(n=i.RegExpMatcherWrapper.next(l));){if(i.isPresent(n[1])){if(f)throw new o.BaseException("Nesting :not is not allowed in a selector");f=!0,p=new e,c.notSelectors.push(p)}if(i.isPresent(n[2])&&p.setElement(n[2]),i.isPresent(n[3])&&p.addClassName(n[3]),i.isPresent(n[4])&&p.addAttribute(n[4],n[5]),i.isPresent(n[6])&&(f=!1,p=c),i.isPresent(n[7])){if(f)throw new o.BaseException("Multiple selectors in :not are not supported");u(s,c),c=p=new e}}return u(s,c),s},e.prototype.isElementSelector=function(){return i.isPresent(this.element)&&r.ListWrapper.isEmpty(this.classNames)&&r.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},e.prototype.set
|
||
|
t.encapsulateStyles=r,t.createRenderView=i;var d=function(){function e(e,t,n){this._eventDispatcher=e,this.factory=t,this._inplaceElement=n,this._builders=[],this.globalEventAdders=[],this.boundElements=[],this.boundTextNodes=[],this.nativeShadowRoots=[],this.fragments=[],this.rootContentInsertionPoints=[],this.componentCount=0,this.isHost=c.isPresent(n)}return e.prototype.build=function(e,t){this.enqueueRootBuilder(e,t),this._build(this._builders[0])},e.prototype._build=function(e){this._builders=[],e.build(this);for(var t=this._builders,n=0;n<t.length;n++)this._build(t[n])},e.prototype.enqueueComponentBuilder=function(e){this.componentCount++,this._builders.push(new h(e,null,e.template,e.template.commands))},e.prototype.enqueueFragmentBuilder=function(e,t,n){var r=[];this.fragments.push(r),this._builders.push(new h(e,r,t,n))},e.prototype.enqueueRootBuilder=function(e,t){var n=[];this.fragments.push(n),this._builders.push(new h(null,n,e,t))},e.prototype.consumeInplaceElement=function(){var e=this._inplaceElement;return this._inplaceElement=null,e},e.prototype.addEventListener=function(e,t,n){if(c.isPresent(t)){var r=o(e,t+":"+n,this._eventDispatcher);this.globalEventAdders.push(s(t,n,r,this.factory))}else{var r=o(e,n,this._eventDispatcher);this.factory.on(this.boundElements[e],n,r)}},e}(),h=function(){function e(e,t,n,r){this.parentComponent=e,this.fragmentRootNodes=t,this.template=n,this.cmds=r;var i=c.isPresent(t)?null:e.shadowRoot;this.parentStack=[i]}return e.prototype.build=function(e){for(var t=this.cmds,n=0;n<t.length;n++)t[n].visit(this,e)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentStack[this.parentStack.length-1]},enumerable:!0,configurable:!0}),e.prototype.visitText=function(e,t){var n=t.factory.createText(e.value);return this._addChild(n,e.ngContentIndex,t),e.isBound&&t.boundTextNodes.push(n),null},e.prototype.visitNgContent=function(e,t){if(c.isPresent(this.parentComponent))if(this.parentComponent.isRoot){var n=t.factory.createRootContentInsertionPoint();this.parent instanceof m?t.factory.appendChild(this.parent.shadowRoot,n):t.factory.appendChild(this.parent,n),t.rootContentInsertionPoints.push(n)}else for(var r=this.parentComponent.project(e.index),i=0;i<r.length;i++){var o=r[i];this._addChild(o,e.ngContentIndex,t)}return null},e.prototype.visitBeginElement=function(e,t){return this.parentStack.push(this._beginElement(e,t,null)),null},e.prototype.visitEndElement=function(e){return this._endElement(),null},e.prototype.visitBeginComponent=function(e,t){var n=e.templateId,r=t.factory.resolveComponentTemplate(n),i=this._beginElement(e,t,r),o=i;r.encapsulation===p.ViewEncapsulation.Native&&(o=t.factory.createShadowRoot(i,n),t.nativeShadowRoots.push(o));var s=0===t.componentCount&&t.isHost,a=new m(i,o,s,r);return t.enqueueComponentBuilder(a),this.parentStack.push(a),null},e.prototype.visitEndComponent=function(e){return this._endElement(),null},e.prototype.visitEmbeddedTemplate=function(e,t){var n=t.factory.createTemplateAnchor(e.attrNameAndValues);return this._addChild(n,e.ngContentIndex,t),t.boundElements.push(n),e.isMerged&&t.enqueueFragmentBuilder(this.parentComponent,this.template,e.children),null},e.prototype._beginElement=function(e,t,n){var r=t.consumeInplaceElement(),i=e.attrNameAndValues,o=this.template.encapsulation===p.ViewEncapsulation.Emulated,s=c.isPresent(n)&&n.encapsulation===p.ViewEncapsulation.Emulated,l=i.length+(o?2:0)+(s?2:0);if(l>i.length){var d,h=f.ListWrapper.createFixedSize(l);for(d=0;d<i.length;d++)h[d]=i[d];o&&(h[d++]=a(this.template.shortId),h[d++]=""),s&&(h[d++]=u(n.shortId),h[d++]=""),i=h}if(c.isPresent(r)?(t.factory.mergeElement(r,i),this.fragmentRootNodes.push(r)):(r=t.factory.createElement(e.name,i),this._addChild(r,e.ngContentIndex,t)),e.isBound){var m=t.boundElements.length;t.boundElements.push(r);for(var v=0;v<e.eventTargetAndNames.length;v+=2){var y=e.eventTargetAndNames[v],g=e.eventTargetAndNames[v+1];t.addEventListener(m,y,g)}}return r},e.prototype._endElement=function(){this.parentStack.pop()},e.prototype._addChild=function(e,t,n){var r
|
||
|
"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function i(){return new w.ChangeDetectorGenConfig(d.assertionsEnabled(),!1,!0)}var o=this,s=o.define;o.define=void 0;var a=e("5f"),u=e("62");t.TemplateCompiler=u.TemplateCompiler;var c=e("65");t.CompileDirectiveMetadata=c.CompileDirectiveMetadata,t.CompileTypeMetadata=c.CompileTypeMetadata,t.CompileTemplateMetadata=c.CompileTemplateMetadata;var l=e("66");t.SourceModule=l.SourceModule,t.SourceWithImports=l.SourceWithImports;var p=e("82");t.PLATFORM_DIRECTIVES=p.PLATFORM_DIRECTIVES,t.PLATFORM_PIPES=p.PLATFORM_PIPES,r(e("72"));var f=e("6a");t.TEMPLATE_TRANSFORMS=f.TEMPLATE_TRANSFORMS;var d=e("20"),h=e("39"),m=e("6a"),v=e("6f"),y=e("6b"),g=e("6c"),b=e("67"),_=e("68"),E=e("69"),D=e("62"),w=e("6e"),C=e("60"),x=e("5f"),A=e("74"),P=e("87"),S=e("7a"),O=e("6e");return t.COMPILER_PROVIDERS=d.CONST_EXPR([O.Lexer,O.Parser,v.HtmlParser,m.TemplateParser,y.TemplateNormalizer,g.RuntimeMetadataResolver,S.DEFAULT_PACKAGE_URL_PROVIDER,_.StyleCompiler,E.CommandCompiler,b.ChangeDetectionCompiler,new h.Provider(w.ChangeDetectorGenConfig,{useFactory:i,deps:[]}),D.TemplateCompiler,new h.Provider(x.RuntimeCompiler,{useClass:a.RuntimeCompiler_}),new h.Provider(C.Compiler,{useExisting:x.RuntimeCompiler}),P.DomElementSchemaRegistry,new h.Provider(A.ElementSchemaRegistry,{useExisting:P.DomElementSchemaRegistry}),S.UrlResolver]),o.define=s,n.exports}),e.registerDynamic("8a",["7a","79","89"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;return i.define=void 0,r(e("7a")),r(e("79")),r(e("89")),i.define=o,n.exports}),e.registerDynamic("79",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return e.prototype.get=function(e){return null},e}();return t.XHR=o,r.define=i,n.exports}),e.registerDynamic("3e",["8b","20","79"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("8b"),a=e("20"),u=e("79"),c=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.get=function(e){var t=s.PromiseWrapper.completer(),n=new XMLHttpRequest;return n.open("GET",e,!0),n.responseType="text",n.onload=function(){var r=a.isPresent(n.response)?n.response:n.responseText,i=1223===n.status?204:n.status;0===i&&(i=r?200:0),i>=200&&300>=i?t.resolve(r):t.reject("Failed to load "+e,null)},n.onerror=function(){t.reject("Failed to load "+e,null)},n.send(),t.promise},t}(u.XHR);return t.XHRImpl=c,r.define=i,n.exports}),e.registerDynamic("15",["33","5d","20","8a","14","8c","3e","39","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e,n){c.reflector.reflectionCapabilities=new l.ReflectionCapabilities;var r=s.isPresent(n)?[t.BROWSER_APP_PROVIDERS,n]:t.BROWSER_APP_PROVIDERS;return c.platform(a.BROWSER_PROVIDERS).application(r).bootstrap(e)}var i=e("33");t.AngularEntrypoint=i.AngularEntrypoint;var o=e("5d");t.BROWSER_PROVIDERS=o.BROWSER_PROVIDERS,t.ELEMENT_PROBE_BINDINGS=o.ELEMENT_PROBE_BINDINGS,t.ELEMENT_PROBE_PROVIDERS=o.ELEMENT_PROBE_PROVIDERS,t.inspectNativeElement=o.inspectNativeElement,t.BrowserDomAdapter=o.BrowserDomAdapter,t.By=o.By,t.Title=o.Title,t.DOCUMENT=o.DOCUMENT,t.enableDebugTools=o.enableDebugTools,t.disableDebugTools=o.disableDebugTools;var s=e("20"),a=e("5d"),u=e("8a"),c=e("14"),l=e("8c"),p=e("3e"),f=e("8a"),d=e("39");t.BROWSER_APP_PROVIDERS=s.CONST_EXPR([a.BROWSER_APP_COMMON_PROVIDERS,u.COMPILER_PROVIDERS,new d.Provider(f.XHR,{useClass:p.XHRImpl})]),t.bootstrap=r}(e("34")),r.define=i,n.exports}),e.register("1c",["3","4","5","6","7","11","12","14","15","20","59","1d"],function(e){var t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},functio
|
||
|
},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("20"),l=e("63"),p=e("14"),f=e("ab"),d=e("aa"),h=e("b0"),m=e("ad"),v=e("ac"),y=c.CONST_EXPR(new p.Provider(d.NgControl,{useExisting:p.forwardRef(function(){return g})})),g=function(e){function t(t,n,r){e.call(this),this._validators=t,this._asyncValidators=n,this._control=new h.Control,this._added=!1,this.update=new l.EventEmitter,this.valueAccessor=v.selectValueAccessor(this,r)}return o(t,e),t.prototype.ngOnChanges=function(e){this._added||(v.setUpControl(this._control,this),this._control.updateValueAndValidity({emitEvent:!1}),this._added=!0),v.isPropertyUpdated(e,this.viewModel)&&(this._control.updateValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return v.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return v.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,l.ObservableWrapper.callEmit(this.update,e)},t=s([p.Directive({selector:"[ngModel]:not([ngControl]):not([ngFormControl])",bindings:[y],inputs:["model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}),u(0,p.Optional()),u(0,p.Self()),u(0,p.Inject(m.NG_VALIDATORS)),u(1,p.Optional()),u(1,p.Self()),u(1,p.Inject(m.NG_ASYNC_VALIDATORS)),u(2,p.Optional()),u(2,p.Self()),u(2,p.Inject(f.NG_VALUE_ACCESSOR)),a("design:paramtypes",[Array,Array,Array])],t)}(d.NgControl);return t.NgModel=g,r.define=i,n.exports}),e.registerDynamic("b1",["14","20","a9","ac","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("14"),l=e("20"),p=e("a9"),f=e("ac"),d=e("ad"),h=l.CONST_EXPR(new c.Provider(p.ControlContainer,{useExisting:c.forwardRef(function(){return m})})),m=function(e){function t(t,n,r){e.call(this),this._validators=n,this._asyncValidators=r,this._parent=t}return o(t,e),t.prototype.ngOnInit=function(){this.formDirective.addControlGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective.removeControlGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getControlGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return f.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return f.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return f.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),t=s([c.Directive({selector:"[ngControlGroup]",providers:[h],inputs:["name: ngControlGroup"],exportAs:"ngForm"}),u(0,c.Host()),u(0,c.SkipSelf()),u(1,c.Optional()),u(1,c.Self()),u(1,c.Inject(d.NG_VALIDATORS)),u(2,c.Optional()),u(2,c.Self()),u(2,c.Inject(d.NG_ASYNC_VALIDATORS)),a("design:param
|
||
|
},enumerable:!0,configurable:!0}),e.prototype.markAsTouched=function(){this._touched=!0},e.prototype.markAsDirty=function(e){var t=(void 0===e?{}:e).onlySelf;t=c.normalizeBool(t),this._pristine=!1,c.isPresent(this._parent)&&!t&&this._parent.markAsDirty({onlySelf:t})},e.prototype.markAsPending=function(e){var n=(void 0===e?{}:e).onlySelf;n=c.normalizeBool(n),this._status=t.PENDING,c.isPresent(this._parent)&&!n&&this._parent.markAsPending({onlySelf:n})},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){var n=void 0===e?{}:e,r=n.onlySelf,i=n.emitEvent;r=c.normalizeBool(r),i=c.isPresent(i)?i:!0,this._updateValue(),this._errors=this._runValidator(),this._status=this._calculateStatus(),(this._status==t.VALID||this._status==t.PENDING)&&this._runAsyncValidator(i),i&&(l.ObservableWrapper.callEmit(this._valueChanges,this._value),l.ObservableWrapper.callEmit(this._statusChanges,this._status)),c.isPresent(this._parent)&&!r&&this._parent.updateValueAndValidity({onlySelf:r,emitEvent:i})},e.prototype._runValidator=function(){return c.isPresent(this.validator)?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var n=this;if(c.isPresent(this.asyncValidator)){this._status=t.PENDING,this._cancelExistingSubscription();var r=o(this.asyncValidator(this));this._asyncValidationSubscription=l.ObservableWrapper.subscribe(r,function(t){return n.setErrors(t,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){c.isPresent(this._asyncValidationSubscription)&&l.ObservableWrapper.dispose(this._asyncValidationSubscription)},e.prototype.setErrors=function(e,t){var n=(void 0===t?{}:t).emitEvent;n=c.isPresent(n)?n:!0,this._errors=e,this._status=this._calculateStatus(),n&&l.ObservableWrapper.callEmit(this._statusChanges,this._status),c.isPresent(this._parent)&&this._parent._updateControlsErrors()},e.prototype.find=function(e){return i(this,e)},e.prototype.getError=function(e,t){void 0===t&&(t=null);var n=c.isPresent(t)&&!f.ListWrapper.isEmpty(t)?this.find(t):this;return c.isPresent(n)&&c.isPresent(n._errors)?f.StringMapWrapper.get(n._errors,e):null},e.prototype.hasError=function(e,t){return void 0===t&&(t=null),c.isPresent(this.getError(e,t))},e.prototype._updateControlsErrors=function(){this._status=this._calculateStatus(),c.isPresent(this._parent)&&this._parent._updateControlsErrors()},e.prototype._initObservables=function(){this._valueChanges=new l.EventEmitter,this._statusChanges=new l.EventEmitter},e.prototype._calculateStatus=function(){return c.isPresent(this._errors)?t.INVALID:this._anyControlsHaveStatus(t.PENDING)?t.PENDING:this._anyControlsHaveStatus(t.INVALID)?t.INVALID:t.VALID},e}();t.AbstractControl=d;var h=function(e){function t(t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),e.call(this,n,r),this._value=t,this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return u(t,e),t.prototype.updateValue=function(e,t){var n=void 0===t?{}:t,r=n.onlySelf,i=n.emitEvent,o=n.emitModelToViewChange;o=c.isPresent(o)?o:!0,this._value=e,c.isPresent(this._onChange)&&o&&this._onChange(this._value),this.updateValueAndValidity({onlySelf:r,emitEvent:i})},t.prototype._updateValue=function(){},t.prototype._anyControlsHaveStatus=function(e){return!1},t.prototype.registerOnChange=function(e){this._onChange=e},t}(d);t.Control=h;var m=function(e){function t(t,n,r,i){void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),e.call(this,r,i),this.controls=t,this._optionals=c.isPresent(n)?n:{},this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return u(t,e),t.prototype.addControl=function(e,t){this.controls[e]=t,t.setParent(this)},t.prototype.removeControl=function(e){f.StringMapWrapper["delete"](this.controls,e)},t.prototype.include=function(e){f.StringMapWrapper.set(this._optionals,e,!0),this.updateValueAndValidity()},t.prototype.exclude=function(e){f.StringMapWrapper.set(this._optionals,e,!1),this.updateValueAndValidity()},t.prototype.contains=function(e){var t=f.StringMapWrapper.
|
||
|
return i&&i==o?e:void 0}}function r(e){return i(e)?e:Object(e)}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}n.exports=t}(e("34")),r.define=i,n.exports}),e.registerDynamic("ea",["e9"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("e9"),r.define=i,n.exports}),e.registerDynamic("eb",[],!0,function(e,t,n){function r(e){return!!e&&"object"==typeof e}function i(e,t){var n=null==e?void 0:e[t];return u(n)?n:void 0}function o(e){return"number"==typeof e&&e>-1&&e%1==0&&_>=e}function s(e){return a(e)&&y.call(e)==f}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){return null==e?!1:s(e)?g.test(m.call(e)):r(e)&&d.test(e)}var c=this,l=c.define;c.define=void 0;var p="[object Array]",f="[object Function]",d=/^\[object .+?Constructor\]$/,h=Object.prototype,m=Function.prototype.toString,v=h.hasOwnProperty,y=h.toString,g=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=i(Array,"isArray"),_=9007199254740991,E=b||function(e){return r(e)&&o(e.length)&&y.call(e)==p};return n.exports=E,c.define=l,n.exports}),e.registerDynamic("ec",["eb"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("eb"),r.define=i,n.exports}),e.registerDynamic("ed",["ec","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){function r(e){return null==e?"":e+""}function i(e){if(o(e))return e;var t=[];return r(e).replace(s,function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)}),t}var o=e("ec"),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,a=/\\(\\)?/g;n.exports=i}(e("34")),r.define=i,n.exports}),e.registerDynamic("ee",["ed"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("ed"),r.define=i,n.exports}),e.registerDynamic("ef",["ea","ee"],!0,function(e,t,n){function r(e,t,n){var r=null==e?void 0:s(e,a(t),t+"");return void 0===r?n:r}var i=this,o=i.define;i.define=void 0;var s=e("ea"),a=e("ee");return n.exports=r,i.define=o,n.exports}),e.registerDynamic("f0",["ef"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("ef"),r.define=i,n.exports}),e.registerDynamic("f1",["f2","f3","f4","f5","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return decodeURIComponent(e).replace(/~[0-1]/g,function(e){return"~1"===e?"/":"~"})}function i(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function o(e){var t=e.indexOf("#"),n=-1===t?void 0:e.slice(t+1);return n}function s(e,t){if("object"==typeof e&&null!==e){if(!t)return e;if(e.id&&(e.id===t||"#"===e.id[0]&&e.id.substring(1)===t))return e;var n,r;if(Array.isArray(e)){for(n=e.length;n--;)if(r=s(e[n],t))return r}else{var i=Object.keys(e);for(n=i.length;n--;){var o=i[n];if(0!==o.indexOf("__$")&&(r=s(e[o],t)))return r}}}}var a=e("f2"),u=e("f3"),c=e("f4"),l=e("f5");t.cacheSchemaByUri=function(e,t){var n=i(e);n&&(this.cache[n]=t)},t.removeFromCacheByUri=function(e){var t=i(e);t&&delete this.cache[t]},t.checkCacheForUri=function(e){var t=i(e);return t?null!=this.cache[t]:!1},t.getSchema=function(e,n){return"object"==typeof n&&(n=t.getSchemaByReference.call(this,e,n)),"string"==typeof n&&(n=t.getSchemaByUri.call(this,e,n)),n},t.getSchemaByReference=function(e,t){for(var n=this.referenceCache.length;n--;)if(this.referenceCache[n][0]===t)return this.referenceCache[n][1];var r=l.cloneDeep(t);return this.referenceCache.push([t,r]),r},t.getSchemaByUri=function(e,t,n){var l=i(t),p=o(t),f=l?this.cache[l]:n;if(f&&l){var d=f!==n;if(d){e.path.push(l);var h=new a(e);u.compileSchema.call(this,h,f)&&c.validateSchema.call(this,h,f);var m=h.isValid();if(m||e.addError("REMOTE_NOT_VALID",[t],h),e.path.pop(),!m)return}}if(f&&p)for(var v=p.split("/"),y=0,g=v.length;f&&g>y;y++){var b=r(v[y]);f=0===y?s(f,b):f[b]}return f},t.getRemotePath=i}(e("34")),r.define=i,n.exports}),e.registerDynamic("f3",["f2","f1","f5"],!0,function(e,t,n){"use strict";function r(e,t){if(l.isAbsoluteUri(t))return t;var n,r=e.join(
|
||
|
var u=o.whatIs(t[s]),c="object"===u||"null"===u?JSON.stringify(t[s]):t[s];a=a.replace("{"+s+"}",c)}var l={code:e,params:t,message:a,path:this.getPath()};if(r&&(l.description=r),null!=n){for(Array.isArray(n)||(n=[n]),l.inner=[],s=n.length;s--;)for(var p=n[s],f=p.errors.length;f--;)l.inner.push(p.errors[f]);0===l.inner.length&&(l.inner=void 0)}this.errors.push(l)}},n.exports=r}(e("34")),r.define=i,n.exports}),e.registerDynamic("f4",["f8","f9","f2","f5"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("f8"),s=e("f9"),a=e("f2"),u=e("f5"),c={$ref:function(e,t){"string"!=typeof t.$ref&&e.addError("KEYWORD_TYPE_EXPECTED",["$ref","string"])},$schema:function(e,t){"string"!=typeof t.$schema&&e.addError("KEYWORD_TYPE_EXPECTED",["$schema","string"])},multipleOf:function(e,t){"number"!=typeof t.multipleOf?e.addError("KEYWORD_TYPE_EXPECTED",["multipleOf","number"]):t.multipleOf<=0&&e.addError("KEYWORD_MUST_BE",["multipleOf","strictly greater than 0"])},maximum:function(e,t){"number"!=typeof t.maximum&&e.addError("KEYWORD_TYPE_EXPECTED",["maximum","number"])},exclusiveMaximum:function(e,t){"boolean"!=typeof t.exclusiveMaximum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMaximum","boolean"]):void 0===t.maximum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMaximum","maximum"])},minimum:function(e,t){"number"!=typeof t.minimum&&e.addError("KEYWORD_TYPE_EXPECTED",["minimum","number"])},exclusiveMinimum:function(e,t){"boolean"!=typeof t.exclusiveMinimum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMinimum","boolean"]):void 0===t.minimum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMinimum","minimum"])},maxLength:function(e,t){"integer"!==u.whatIs(t.maxLength)?e.addError("KEYWORD_TYPE_EXPECTED",["maxLength","integer"]):t.maxLength<0&&e.addError("KEYWORD_MUST_BE",["maxLength","greater than, or equal to 0"])},minLength:function(e,t){"integer"!==u.whatIs(t.minLength)?e.addError("KEYWORD_TYPE_EXPECTED",["minLength","integer"]):t.minLength<0&&e.addError("KEYWORD_MUST_BE",["minLength","greater than, or equal to 0"])},pattern:function(e,t){if("string"!=typeof t.pattern)e.addError("KEYWORD_TYPE_EXPECTED",["pattern","string"]);else try{RegExp(t.pattern)}catch(n){e.addError("KEYWORD_PATTERN",["pattern",t.pattern])}},additionalItems:function(e,n){var r=u.whatIs(n.additionalItems);"boolean"!==r&&"object"!==r?e.addError("KEYWORD_TYPE_EXPECTED",["additionalItems",["boolean","object"]]):"object"===r&&(e.path.push("additionalItems"),t.validateSchema.call(this,e,n.additionalItems),e.path.pop())},items:function(e,n){var r=u.whatIs(n.items);if("object"===r)e.path.push("items"),t.validateSchema.call(this,e,n.items),e.path.pop();else if("array"===r)for(var i=n.items.length;i--;)e.path.push("items"),e.path.push(i.toString()),t.validateSchema.call(this,e,n.items[i]),e.path.pop(),e.path.pop();else e.addError("KEYWORD_TYPE_EXPECTED",["items",["array","object"]]);this.options.forceAdditional===!0&&void 0===n.additionalItems&&Array.isArray(n.items)&&e.addError("KEYWORD_UNDEFINED_STRICT",["additionalItems"]),this.options.assumeAdditional===!0&&void 0===n.additionalItems&&Array.isArray(n.items)&&(n.additionalItems=!1)},maxItems:function(e,t){"number"!=typeof t.maxItems?e.addError("KEYWORD_TYPE_EXPECTED",["maxItems","integer"]):t.maxItems<0&&e.addError("KEYWORD_MUST_BE",["maxItems","greater than, or equal to 0"])},minItems:function(e,t){"integer"!==u.whatIs(t.minItems)?e.addError("KEYWORD_TYPE_EXPECTED",["minItems","integer"]):t.minItems<0&&e.addError("KEYWORD_MUST_BE",["minItems","greater than, or equal to 0"])},uniqueItems:function(e,t){"boolean"!=typeof t.uniqueItems&&e.addError("KEYWORD_TYPE_EXPECTED",["uniqueItems","boolean"])},maxProperties:function(e,t){"integer"!==u.whatIs(t.maxProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["maxProperties","integer"]):t.maxProperties<0&&e.addError("KEYWORD_MUST_BE",["maxProperties","greater than, or equal to 0"])},minProperties:function(e,t){"integer"!==u.whatIs(t.minProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["minProperties","integer"]):t.minProperties<0&&e.addError("KEYWORD_MUST_BE",["minProp
|
||
|
type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/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"},max
|
||
|
t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),i||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&f(e)),h(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function u(e){if(e>=R)e=R;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||P.isNull(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=u(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var n=null;return P.isBuffer(t)||P.isString(t)||P.isNullOrUndefined(t)||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,f(e)}function f(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r.nextTick(function(){d(e)}):d(e))}function d(e){O("emit readable"),e.emit("readable"),b(e)}function h(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){m(e,t)}))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(O("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function v(e){return function(){var t=e._readableState;O("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&x.listenerCount(e,"data")&&(t.flowing=!0,b(e))}}function y(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(function(){g(e,t)}))}function g(e,t){t.resumeScheduled=!1,e.emit("resume"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(O("flow",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function _(e,n){var r,i=n.buffer,o=n.length,s=!!n.decoder,a=!!n.objectMode;if(0===i.length)return null;if(0===o)r=null;else if(a)r=i.shift();else if(!e||e>=o)r=s?i.join(""):t.concat(i,o),i.length=0;else if(e<i[0].length){var u=i[0];r=u.slice(0,e),i[0]=u.slice(e)}else if(e===i[0].length)r=i.shift();else{r=s?"":new t(e);for(var c=0,l=0,p=i.length;p>l&&e>c;l++){var u=i[0],f=Math.min(e-c,u.length);s?r+=u.slice(0,f):u.copy(r,c,0,f),f<u.length?i[0]=u.slice(f):i.shift(),c+=f}}return r}function E(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function D(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function w(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}n.exports=o;var C=e("11c"),t=e("10c").Buffer;o.ReadableState=i;var x=e("120").EventEmitter;x.listenerCount||(x.listenerCount=function(e,t){return e.listeners(t).length});var A=e("113"),P=e("123");P.inherits=e("124");var S,O=e("@empty");O=O&&O.debuglog?O.debuglog("stream"):function(){},P.inherits(o,A),o.prototype.push=function(e,n){var r=this._readableState;return P.isString(e)&&!r.objectMode&&(n=n||r.defaultEncoding,n!==r.encoding&&(e=new t(e,n),n="")),s(this,r,e,n,!1)},o.prototype.unshift=function(e){var t=this._readableState;return s(this,t,e,"",!0)},o.prototype.setEncoding=function(t){return S||(S=e("122").StringDecoder),this._readableState.decoder=new S(t),this._readableState.encoding=t,this};var R=8388608;o.prototype.read=function(e){O("read",e);var t=this._readableState,n=e;if((!P.isNumber(e)||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return O("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?E(this):f(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&E(this),null;var r=t.needReadable;O("need read
|
||
|
throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(e){this._id=fe++,this._state=void 0,this._result=void 0,this._subscribers=[],v!==e&&(o(e)||L(),this instanceof U||V(),k(this,e))}function $(){var e;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(e.Promise=de)}var W;W=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var H,q,z,Y=W,K=0,G=({}.toString,function(e,t){te[K]=e,te[K+1]=t,K+=2,2===K&&(q?q(h):z())}),X="undefined"!=typeof window?window:void 0,Q=X||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,J="undefined"!=typeof t&&"[object process]"==={}.toString.call(t),ee="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,te=new Array(1e3);z=J?c():Z?p():ee?f():void 0===X&&"function"==typeof e?m():d();var ne=void 0,re=1,ie=2,oe=new R,se=new R;N.prototype._validateInput=function(e){return Y(e)},N.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},N.prototype._init=function(){this._result=new Array(this.length)};var ae=N;N.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===ne&&t>i;i++)e._eachEntry(r[i],i)},N.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;s(e)?e.constructor===r&&e._state!==ne?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},N.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===ne&&(r._remaining--,e===ie?P(i,n):r._result[t]=n),0===r._remaining&&A(i,r._result)},N.prototype._willSettleAt=function(e,t){var n=this;S(e,void 0,function(e){n._settledAt(re,t,e)},function(e){n._settledAt(ie,t,e)})};var ue=F,ce=j,le=M,pe=B,fe=0,de=U;U.all=ue,U.race=ce,U.resolve=le,U.reject=pe,U._setScheduler=a,U._setAsap=u,U._asap=G,U.prototype={constructor:U,then:function(e,t){var n=this,r=n._state;if(r===re&&!e||r===ie&&!t)return this;var i=new this.constructor(v),o=n._result;if(r){var s=arguments[r-1];G(function(){T(r,i,s,o)})}else S(n,i,e,t);return i},"catch":function(e){return this.then(null,e)}};var he=$,me={Promise:de,polyfill:he};"function"==typeof define&&define.amd?define(function(){return me}):"undefined"!=typeof n&&n.exports?n.exports=me:"undefined"!=typeof this&&(this.ES6Promise=me),he()}).call(this)}(e("34")),r.define=i,n.exports}),e.registerDynamic("10b",["137"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("137"),r.define=i,n.exports}),e.registerDynamic("138",["10b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,n.exports="function"==typeof Promise?Promise:e("10b").Promise,r.define=i,n.exports}),e.registerDynamic("139",["110","130","134","135","10e","13a","138","12f","101","10c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t,r){"use strict";function i(e,t,n){try{e=d.path.stripHash(e),d.debug("Reading %s",e);var r=t._get$Ref(e);return r&&!r.isExpired()?(d.debug(" cached from %s",r.pathType),m.resolve({$ref:r,cached:!0})):(r=new h(t,e),o(r,n))}catch(i){return m.reject(i)}}function o(e,t){try{var n=t.$refs.external&&(s(e,t)||a(e,t));return n?n.then(function(n){var r=f(n,e.path,t);return e.setValue(r,t),{$ref:e,cached:!1}}):m.reject(y.syntax('Unable to resolve $ref pointer "%s"',e.path))}catch(r){return m.reject(r)}}function s(e,t){return r.browser||d.path.isUrl(e.path)?void 0:(e.pathType="fs",new m(function(t,n){var r;try{r=d.path.urlToLocalPath(e.path)}catch(i){n(y.uri(i,"Malformed URI: %s",e.path))}d.debug("Opening file: %s",r);try{c.readFile(r,function(r,i){r?n(y(r,'Error opening file "%s"',e.path)):t(i)})}catch(i){n(y(i,'Error opening file "%s"',r))}}))}function a(e
|
||
|
n=r(e,t,n)}),e[t].forEach(function(e){n.forEach(function(t,n){t.tag===e.tag&&i.push(n)}),n.push(e)}),n.filter(function(e,t){return-1===i.indexOf(t)})}function i(){function e(e){r[e.tag]=e}var t,n,r={};for(t=0,n=arguments.length;n>t;t+=1)arguments[t].forEach(e);return r}function o(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=r(this,"implicit",[]),this.compiledExplicit=r(this,"explicit",[]),this.compiledTypeMap=i(this.compiledImplicit,this.compiledExplicit)}var s=this,a=s.define;s.define=void 0;var u=e("141"),c=e("143"),l=e("148");return o.DEFAULT=null,o.create=function(){var e,t;switch(arguments.length){case 1:e=o.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new c("Wrong number of arguments for Schema.create function")}if(e=u.toArray(e),t=u.toArray(t),!e.every(function(e){return e instanceof o}))throw new c("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every(function(e){return e instanceof l}))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new o({include:e,explicit:t})},n.exports=o,s.define=a,n.exports}),e.registerDynamic("149",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),r.define=i,n.exports}),e.registerDynamic("14a",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),r.define=i,n.exports}),e.registerDynamic("14b",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}}),r.define=i,n.exports}),e.registerDynamic("14c",["147","149","14a","14b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=new o({explicit:[e("149"),e("14a"),e("14b")]}),r.define=i,n.exports}),e.registerDynamic("14d",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)}function i(){return null}function o(e){return null===e}var s=this,a=s.define;s.define=void 0;var u=e("148");return n.exports=new u("tag:yaml.org,2002:null",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),s.define=a,n.exports}),e.registerDynamic("14e",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)}function i(e){return"true"===e||"True"===e||"TRUE"===e}function o(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var s=this,a=s.define;s.define=void 0;var u=e("148");return n.exports=new u("tag:yaml.org,2002:bool",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),s.define=a,n.exports}),e.registerDynamic("14f",["141","148"],!0,function(e,t,n){"use strict";function r(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function i(e){return e>=48&&55>=e}function o(e){return e>=48&&57>=e}function s(e){if(null===e)return!1;var t,n=e.length,s=0,a=!1;if(!n)return!1;if(t=e[s],("-"===t||"+"===t)&&(t=e[++s]),"0"===t){if(s+1===n)return!0;if(t=e[++s],"b"===t){for(s++;n>s;s++)if(t=e[s],"_"!==t){if("0"
|
||
|
var t,n,r,i,o,s=_n,a=new Y;return t=se("["),se("*")?$():n=Ee(),(r=we(s,n,t,a))?r:(n||te(_n),t||(i=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&i&&J(rn.DuplicateProtoProperty),e.value|=i),se(":")?($(),o=fe(Ke),a.finishProperty("init",n,t,o,!1,!1)):s.type===Zt.Identifier?se("=")?(xn=_n,$(),o=pe(Ke),a.finishProperty("init",n,t,new K(s).finishAssignmentPattern(n,o),!1,!0)):a.finishProperty("init",n,t,n,!1,!0):void te(_n))}function xe(){var e=[],t={value:!1},n=new Y;for(re("{");!se("}");)e.push(Ce(t)),se("}")||ie();return re("}"),n.finishObjectExpression(e)}function Ae(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,Ae(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t<e.elements.length;t++)null!==e.elements[t]&&Ae(e.elements[t]);break;case tn.ObjectExpression:for(e.type=tn.ObjectPattern,t=0;t<e.properties.length;t++)Ae(e.properties[t].value);break;case tn.AssignmentExpression:e.type=tn.AssignmentPattern,Ae(e.left)}}function Pe(e){var t,n;return(_n.type!==Zt.Template||e.head&&!_n.head)&&te(),t=new Y,n=$(),t.finishTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail)}function Se(){var e,t,n,r=new Y;for(e=Pe({head:!0}),t=[e],n=[];!e.tail;)n.push(Ge()),e=Pe({head:!1}),t.push(e);return r.finishTemplateLiteral(t,n)}function Oe(){var e,t,n,r,i=[];if(re("("),se(")"))return $(),se("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=_n,se("..."))return e=ct(i),re(")"),se("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(wn=!0,e=fe(Ke),se(",")){for(Cn=!1,t=[e];bn>mn&&se(",");){if($(),se("...")){for(wn||te(_n),t.push(ct(i)),re(")"),se("=>")||re("=>"),wn=!1,r=0;r<t.length;r++)Ae(t[r]);return{type:nn.ArrowParameterPlaceHolder,params:t}}t.push(fe(Ke))}e=new K(n).finishSequenceExpression(t)}if(re(")"),se("=>")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(wn||te(_n),e.type===tn.SequenceExpression)for(r=0;r<e.expressions.length;r++)Ae(e.expressions[r]);else Ae(e);e={type:nn.ArrowParameterPlaceHolder,params:e.type===tn.SequenceExpression?e.expressions:[e]}}return wn=!1,e}function Re(){var e,t,n,r;if(se("("))return wn=!1,fe(Oe);if(se("["))return fe(ge);if(se("{"))return fe(xe);if(e=_n.type,r=new Y,e===Zt.Identifier)"module"===En.sourceType&&"await"===_n.value&&ne(_n),n=r.finishIdentifier($().value);else if(e===Zt.StringLiteral||e===Zt.NumericLiteral)Cn=wn=!1,an&&_n.octal&&ne(_n,rn.StrictOctalLiteral),n=r.finishLiteral($());else if(e===Zt.Keyword){if(!an&&En.allowYield&&ae("yield"))return Te();if(Cn=wn=!1,ae("function"))return Tt();if(ae("this"))return $(),r.finishThisExpression();if(ae("class"))return Ft();if(!an&&ae("let"))return r.finishIdentifier($().value);te($())}else e===Zt.BooleanLiteral?(Cn=wn=!1,t=$(),t.value="true"===t.value,n=r.finishLiteral(t)):e===Zt.NullLiteral?(Cn=wn=!1,t=$(),t.value=null,n=r.finishLiteral(t)):se("/")||se("/=")?(Cn=wn=!1,un=mn,t="undefined"!=typeof Dn.tokens?M():j(),$(),n=r.finishLiteral(t)):e===Zt.Template?n=Se():te($());return n}function Ie(){var e,t=[];if(re("("),!se(")"))for(;bn>mn&&(se("...")?(e=new Y,$(),e.finishSpreadElement(pe(Ke))):e=pe(Ke),t.push(e),!se(")"));)ie();return re(")"),t}function Te(){var e,t=new Y;return e=$(),B(e)||te(e),t.finishIdentifier(e.value)}function ke(){return re("."),Te()}function Ne(){var e;return re("["),e=pe(Ge),re("]"),e}function Fe(){var e,t,n=new Y;if(oe("new"),se(".")){if($(),_n.type===Zt.Identifier&&"target"===_n.value&&En.inFunctionBody)return $(),n.finishMetaProperty("new","target");te(_n)}return e=pe(Me),t=se("(")?Ie():[],Cn=wn=!1,n.finishNewExpression(e,t)}function je(){var e,t,n,r,i,o=En.allowIn;for(i=_n,En.allowIn=!0,ae("super")&&En.inFunctionBody?(t=new Y,$(),t=t.finishSuper(),se("(")||se(".")||se("[")||te(_n)):t=fe(ae("new")?Fe:Re);;)if(se("."))wn=!1,Cn=!0,r=ke(),t=new K(i).finishMemberExpression(".",t,r);else if(se("("))wn=!1,Cn=!1,n=Ie(),t=new K(i).finishCallExpres
|
||
|
NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\u
|
||
|
e=(e+"").toLowerCase(),r=!0}}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;r>s;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function E(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function D(e,t,n,r){return Y(H(t),e,n,r)}function w(e,t,n,r){return D(e,t,n,r)}function C(e,t,n,r){return Y(z(t),e,n,r)}function x(e,t,n,r){return Y(q(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n>=i+a){var u,c,l,p;switch(a){case 1:128>o&&(s=o);break;case 2:u=e[i+1],128===(192&u)&&(p=(31&o)<<6|63&u,p>127&&(s=p));break;case 3:u=e[i+1],c=e[i+2],128===(192&u)&&128===(192&c)&&(p=(15&o)<<12|(63&u)<<6|63&c,p>2047&&(55296>p||p>57343)&&(s=p));break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128===(192&u)&&128===(192&c)&&128===(192&l)&&(p=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l,p>65535&&1114112>p&&(s=p))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return S(r)}function S(e){var t=e.length;if(ee>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ee));return n}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=$(e[o]);return i}function T(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function k(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||s>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range")}function F(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function M(e,t,n,r,i,o){if(t>i||o>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function B(e,t,n,r,i){return i||M(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return i||M(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function V(e){if(e=U(e).replace(ne,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function $(e){return 16>e?"0"+e.toString(16):e.toString(16)}function W(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;r>s;s++){if(n=e.charCodeAt(s),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function q(e,t){for(var n,r,i,o=[],s=0;s<e.length&&!((t-=2)<0);s++)n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function z(e){return X.toByteArray(V(e))}function Y(e,t,n,r){for(var i=0;r>i&&!(i+n>=t
|
||
|
n.exports=e("176"),r.define=i,n.exports}),e.registerDynamic("177",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){!function(e){function i(e){throw RangeError(k[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(T,".");var i=e.split("."),s=o(i,t).join(".");return r+s}function a(e){for(var t,n,r=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=j(e>>>10&1023|55296),e=56320|1023&e),t+=j(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:D}function l(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function p(e,t,n){var r=0;for(e=n?F(e/A):e>>1,e+=F(e/t);e>N*C>>1;r+=D)e=F(e/N);return F(r+(N+1)*e/(e+x))}function f(e){var t,n,r,o,s,a,l,f,d,h,m=[],v=e.length,y=0,g=S,b=P;for(n=e.lastIndexOf(O),0>n&&(n=0),r=0;n>r;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;v>o;){for(s=y,a=1,l=D;o>=v&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=D||f>F((E-y)/a))&&i("overflow"),y+=f*a,d=b>=l?w:l>=b+C?C:l-b,!(d>f);l+=D)h=D-d,a>F(E/h)&&i("overflow"),a*=h;t=m.length+1,b=p(y-s,t,0==s),F(y/t)>E-g&&i("overflow"),g+=F(y/t),y%=t,m.splice(y++,0,g)}return u(m)}function d(e){var t,n,r,o,s,u,c,f,d,h,m,v,y,g,b,_=[];for(e=a(e),v=e.length,t=S,n=0,s=P,u=0;v>u;++u)m=e[u],128>m&&_.push(j(m));for(r=o=_.length,o&&_.push(O);v>r;){for(c=E,u=0;v>u;++u)m=e[u],m>=t&&c>m&&(c=m);for(y=r+1,c-t>F((E-n)/y)&&i("overflow"),n+=(c-t)*y,t=c,u=0;v>u;++u)if(m=e[u],t>m&&++n>E&&i("overflow"),m==t){for(f=n,d=D;h=s>=d?w:d>=s+C?C:d-s,!(h>f);d+=D)b=f-h,g=D-h,_.push(j(l(h+b%g,0))),f=F(b/g);_.push(j(l(f,0))),s=p(n,y,r==o),n=0,++r}++n,++t}return _.join("")}function h(e){return s(e,function(e){return R.test(e)?f(e.slice(4).toLowerCase()):e})}function m(e){return s(e,function(e){return I.test(e)?"xn--"+d(e):e})}var v="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof n&&n&&!n.nodeType&&n,g="object"==typeof r&&r;(g.global===g||g.window===g||g.self===g)&&(e=g);var b,_,E=2147483647,D=36,w=1,C=26,x=38,A=700,P=72,S=128,O="-",R=/^xn--/,I=/[^\x20-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=D-w,F=Math.floor,j=String.fromCharCode;if(b={version:"1.3.2",ucs2:{decode:a,encode:u},decode:f,encode:d,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&y)if(n.exports==v)y.exports=b;else for(_ in b)b.hasOwnProperty(_)&&(v[_]=b[_]);else e.punycode=b}(this)}(e("34")),r.define=i,n.exports}),e.registerDynamic("178",["177"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("177"),r.define=i,n.exports}),e.registerDynamic("179",[],!0,function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=this,o=i.define;return i.define=void 0,n.exports=function(e,t,n,i){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var u=e.length;a>0&&u>a&&(u=a);for(var c=0;u>c;++c){var l,p,f,d,h=e[c].replace(s,"%20"),m=h.indexOf(n);m>=0?(l=h.substr(0,m),p=h.substr(m+1)):(l=h,p=""),f=decodeURIComponent(l),d=decodeURIComponent(p),r(o,f)?Array.isArray(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o},i.define=o,n.exports}),e.registerDynamic("17a",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};return n.exports=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var i=encodeURIComponent(o(r))+n;return Array.isArray(e[r])?
|
||
|
this.links=e,this.rules=d.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=d.breaks:this.rules=d.gfm:this.options.pedantic&&(this.rules=d.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||p.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(e){return e.replace(/&([#\w]+);/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function c(){}function l(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function p(t,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=l({},p.defaults,n||{});var i,a,u=n.highlight,c=0;try{i=e.lex(t,n)}catch(f){return r(f)}a=i.length;var d=function(e){if(e)return n.highlight=u,r(e);var t;try{t=o.parse(i,n)}catch(s){e=s}return n.highlight=u,e?r(e):r(null,t)};if(!u||u.length<3)return d();if(delete n.highlight,!a)return d();for(;c<i.length;c++)!function(e){return"code"!==e.type?--a||d():u(e.text,e.lang,function(t,n){return t?d(t):null==n||n===e.text?--a||d():(e.text=n,e.escaped=!0,void(--a||d()))})}(i[c])}else try{return n&&(n=l({},p.defaults,n)),o.parse(e.lex(t,n),n)}catch(f){if(f.message+="\nPlease report this to https://github.com/chjj/marked.",(n||p.defaults).silent)return"<p>An error occured:</p><pre>"+s(f.message+"",!0)+"</pre>";throw f}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:c,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:c,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:c,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=u(f.item,"gm")(/bull/g,f.bullet)(),f.list=u(f.list)(/bull/g,f.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+f.def.source+")")(),f.blockquote=u(f.blockquote)("def",f.def)(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",f.html=u(f.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,f._tag)(),f.paragraph=u(f.paragraph)("hr",f.hr)("heading",f.heading)("lheading",f.lheading)("blockquote",f.blockquote)("tag","<"+f._tag)("def",f.def)(),f.normal=l({},f),f.gfm=l({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=u(f.paragraph)("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|")(),f.tables=l({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=f,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,s,a,u,c,l,p,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e
|
||
|
},t.prototype.hasDirective=function(e){return u.isPresent(this._elementInjector)?this._elementInjector.hasDirective(e):!1},t.prototype.inject=function(e){return u.isPresent(this._elementInjector)?this._elementInjector.get(e):null},t.prototype.getLocal=function(e){return this._parentView.locals.get(e)},t.prototype._getChildElements=function(e,n){var r=this,i=[],o=null;u.isPresent(n)&&(o=e.proto.elementBinders[n-e.elementOffset]);for(var s=0;s<e.proto.elementBinders.length;++s){var a=e.proto.elementBinders[s];if(a.parent==o){i.push(new t(e,e.elementOffset+s));var c=e.viewContainers[e.elementOffset+s];u.isPresent(c)&&c.views.forEach(function(e){i=i.concat(r._getChildElements(e,null))})}}return i},t}(f);t.DebugElement_=d,t.inspectElement=r,t.asNativeElements=i;var h=function(){function e(){}return e.all=function(t){var n=[];return n.push(t),t.children.forEach(function(t){return n=n.concat(e.all(t))}),t.componentViewChildren.forEach(function(t){return n=n.concat(e.all(t))}),n},e.light=function(t){var n=[];return t.children.forEach(function(t){n.push(t),n=n.concat(e.light(t))}),n},e.view=function(t){var n=[];return t.componentViewChildren.forEach(function(t){n.push(t),n=n.concat(e.light(t))}),n},e}();return t.Scope=h,o.define=s,n.exports}),e.registerDynamic("1a2",["39","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("20"),c=function(){function e(){}return e.prototype.log=function(e){u.print(e)},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.Console=c,r.define=i,n.exports}),e.registerDynamic("52",["37","20","63","4c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=e("37"),i=e("20"),o=e("63"),s=e("4c"),a=function(){function e(e,t){this.error=e,this.stackTrace=t}return e}();t.NgZoneError=a;var u=function(){function e(e){var t=e.enableLongStackTrace;this._runScope=s.wtfCreateScope("NgZone#run()"),this._microtaskScope=s.wtfCreateScope("NgZone#microtask()"),this._pendingMicrotasks=0,this._hasExecutedCodeInInnerZone=!1,this._nestedRun=0,this._inVmTurnDone=!1,this._pendingTimeouts=[],i.global.zone?(this._disabled=!1,this._mountZone=i.global.zone,this._innerZone=this._createInnerZone(this._mountZone,t)):(this._disabled=!0,this._mountZone=null),this._onTurnStartEvents=new o.EventEmitter(!1),this._onTurnDoneEvents=new o.EventEmitter(!1),this._onEventDoneEvents=new o.EventEmitter(!1),this._onErrorEvents=new o.EventEmitter(!1)}return e.prototype.overrideOnTurnStart=function(e){this._onTurnStart=i.normalizeBlank(e)},Object.defineProperty(e.prototype,"onTurnStart",{get:function(){return this._onTurnStartEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnTurnStart=function(e){var t=this;e.call(this._innerZone,function(){t._onTurnStartEvents.emit(null)})},e.prototype.overrideOnTurnDone=function(e){this._onTurnDone=i.normalizeBlank(e)},Object.defineProperty(e.prototype,"onTurnDone",{get:function(){return this._onTurnDoneEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnTurnDone=function(e){var t=this;e.call(this._innerZone,function(){t._onTurnDoneEvents.emit(null)})},e.prototype.overrideOnEventDone=function(e,t){var n=this;void 0===t&&(t=!1);var r=i.normalizeBlank(e);t?this._onEventDone=function(){n._pendingTimeouts.length||r()}:this._onEventDone=r},Object.defineProperty(e.prototype,"onEventDone",{get:function(){return this._onEventDoneEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnEventDone=function(){var e=this;this.runOutsideAngular(function(){e._onEventDoneEvents.emit(null)})},Object.defineProperty(e.prototype,"hasPe
|
||
|
e.call(this),this.elementRef=t}return o(t,e),t.prototype._getProtoView=function(){var e=this.elementRef,t=s.internalView(e.parentView);return t.proto.elementBinders[e.boundElementIndex-t.elementOffset].nestedProtoView},Object.defineProperty(t.prototype,"protoViewRef",{get:function(){return this._getProtoView().ref},enumerable:!0,configurable:!0}),t.prototype.hasLocal=function(e){return this._getProtoView().templateVariableBindings.has(e)},t}(a);return t.TemplateRef_=u,r.define=i,n.exports}),e.registerDynamic("80",["20","7c"],!0,function(e,t,n){"use strict";function r(e,t){if(!(t instanceof s.Type))return!1;var n=t.prototype;switch(e){case a.LifecycleHooks.AfterContentInit:return!!n.ngAfterContentInit;case a.LifecycleHooks.AfterContentChecked:return!!n.ngAfterContentChecked;case a.LifecycleHooks.AfterViewInit:return!!n.ngAfterViewInit;case a.LifecycleHooks.AfterViewChecked:return!!n.ngAfterViewChecked;case a.LifecycleHooks.OnChanges:return!!n.ngOnChanges;case a.LifecycleHooks.DoCheck:return!!n.ngDoCheck;case a.LifecycleHooks.OnDestroy:return!!n.ngOnDestroy;case a.LifecycleHooks.OnInit:return!!n.ngOnInit;default:return!1}}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("7c");return t.hasLifecycleHook=r,i.define=o,n.exports}),e.registerDynamic("8b",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return e.resolve=function(e){return Promise.resolve(e)},e.reject=function(e,t){return Promise.reject(e)},e.catchError=function(e,t){return e["catch"](t)},e.all=function(e){return 0==e.length?Promise.resolve([]):Promise.all(e)},e.then=function(e,t,n){return e.then(t,n)},e.wrap=function(e){return new Promise(function(t,n){try{t(e())}catch(r){n(r)}})},e.scheduleMicrotask=function(t){e.then(e.resolve(null),t,function(e){})},e.isPromise=function(e){return e instanceof Promise},e.completer=function(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{promise:n,resolve:e,reject:t}},e}();return t.PromiseWrapper=o,r.define=i,n.exports}),e.registerDynamic("1b5",["1b6","1b7"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1b6"),a=e("1b7"),u=function(e){function t(t,n){e.call(this),this.subject=t,this.observer=n,this.isUnsubscribed=!1}return o(t,e),t.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var e=this.subject,t=e.observers;if(this.subject=void 0,t&&0!==t.length&&!e.isUnsubscribed){this.observer instanceof a.Subscriber&&this.observer.unsubscribe();var n=t.indexOf(this.observer);-1!==n&&t.splice(n,1)}}},t}(s.Subscription);return t.SubjectSubscription=u,r.define=i,n.exports}),e.registerDynamic("1b8",["1b9","1b7","1b6","1b5","1ba"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1b9"),a=e("1b7"),u=e("1b6"),c=e("1b5"),l=e("1ba"),p=u.Subscription.prototype.add,f=u.Subscription.prototype.remove,d=u.Subscription.prototype.unsubscribe,h=a.Subscriber.prototype.next,m=a.Subscriber.prototype.error,v=a.Subscriber.prototype.complete,y=a.Subscriber.prototype._next,g=a.Subscriber.prototype._error,b=a.Subscriber.prototype._complete,_=function(e){function t(){e.apply(this,arguments),this.observers=[],this.isUnsubscribed=!1,this.dispatching=!1,this.errorSignal=!1,this.completeSignal=!1}return o(t,e),t.prototype[l.rxSubscriber]=function(){return this},t.create=function(e,t){return new E(e,t)},t.prototype.lift=function(e){var t=new E(this,this.destination||this);return t.operator=e,t},t.prototype._subscribe=function(e){if(!e.isUnsubscribed){if(this.errorSignal)return void e.error(this.errorInstance);if(this.completeSignal)return void e.complete();if(this.isUnsubscribed)throw new Error("Cannot subscribe to a disposed Subject.");return this.observers.push
|
||
|
}if(i.key.id===R.instance().elementRefId)return this.getElementRef();if(i.key.id===R.instance().viewContainerId)return this.getViewContainerRef();if(i.key.id===R.instance().templateRefId){if(c.isBlank(this._preBuiltObjects.templateRef)){if(i.optional)return null;throw new d.NoProviderError(null,i.key)}return this._preBuiltObjects.templateRef}}else if(t instanceof P.PipeProvider&&n.key.id===R.instance().changeDetectorRefId){var a=this._preBuiltObjects.view.getNestedView(this._preBuiltObjects.elementRef.boundElementIndex);return a.changeDetector.ref}return h.UNDEFINED},t.prototype._buildAttribute=function(e){var t=this._proto.attributes;return c.isPresent(t)&&t.has(e.attributeName)?t.get(e.attributeName):null},t.prototype.addDirectivesMatchingQuery=function(e,t){var n=c.isBlank(this._preBuiltObjects)?null:this._preBuiltObjects.templateRef;e.selector===_.TemplateRef&&c.isPresent(n)&&t.push(n),this._strategy.addDirectivesMatchingQuery(e,t)},t.prototype._buildQueryStrategy=function(){return 0===this._proto.protoQueryRefs.length?U:this._proto.protoQueryRefs.length<=$.NUMBER_OF_SUPPORTED_QUERIES?new $(this):new W(this)},t.prototype.link=function(e){e.addChild(this)},t.prototype.unlink=function(){this.remove()},t.prototype.getDirectiveAtIndex=function(e){return this._injector.getAt(e)},t.prototype.hasInstances=function(){return this._proto.hasBindings&&this.hydrated},t.prototype.getHost=function(){return this._host},t.prototype.getBoundElementIndex=function(){return this._proto.index},t.prototype.getRootViewInjectors=function(){if(!this.hydrated)return[];var e=this._preBuiltObjects.view,t=e.getNestedView(e.elementOffset+this.getBoundElementIndex());return c.isPresent(t)?t.rootElementInjectors:[]},t.prototype.ngAfterViewChecked=function(){this._queryStrategy.updateViewQueries()},t.prototype.ngAfterContentChecked=function(){this._queryStrategy.updateContentQueries()},t.prototype.traverseAndSetQueriesAsDirty=function(){for(var e=this;c.isPresent(e);)e._setQueriesAsDirty(),e=e.parent},t.prototype._setQueriesAsDirty=function(){this._queryStrategy.setContentQueriesAsDirty(),c.isPresent(this._host)&&this._host._queryStrategy.setViewQueriesAsDirty()},t}(I);t.ElementInjector=L;var V=function(){function e(){}return e.prototype.setContentQueriesAsDirty=function(){},e.prototype.setViewQueriesAsDirty=function(){},e.prototype.hydrate=function(){},e.prototype.dehydrate=function(){},e.prototype.updateContentQueries=function(){},e.prototype.updateViewQueries=function(){},e.prototype.findQuery=function(e){throw new l.BaseException("Cannot find query for directive "+e+".")},e}(),U=new V,$=function(){function e(e){var t=e._proto.protoQueryRefs;t.length>0&&(this.query0=new Y(t[0],e)),t.length>1&&(this.query1=new Y(t[1],e)),t.length>2&&(this.query2=new Y(t[2],e))}return e.prototype.setContentQueriesAsDirty=function(){c.isPresent(this.query0)&&!this.query0.isViewQuery&&(this.query0.dirty=!0),c.isPresent(this.query1)&&!this.query1.isViewQuery&&(this.query1.dirty=!0),c.isPresent(this.query2)&&!this.query2.isViewQuery&&(this.query2.dirty=!0)},e.prototype.setViewQueriesAsDirty=function(){c.isPresent(this.query0)&&this.query0.isViewQuery&&(this.query0.dirty=!0),c.isPresent(this.query1)&&this.query1.isViewQuery&&(this.query1.dirty=!0),c.isPresent(this.query2)&&this.query2.isViewQuery&&(this.query2.dirty=!0)},e.prototype.hydrate=function(){c.isPresent(this.query0)&&this.query0.hydrate(),c.isPresent(this.query1)&&this.query1.hydrate(),c.isPresent(this.query2)&&this.query2.hydrate()},e.prototype.dehydrate=function(){c.isPresent(this.query0)&&this.query0.dehydrate(),c.isPresent(this.query1)&&this.query1.dehydrate(),c.isPresent(this.query2)&&this.query2.dehydrate()},e.prototype.updateContentQueries=function(){c.isPresent(this.query0)&&!this.query0.isViewQuery&&this.query0.update(),c.isPresent(this.query1)&&!this.query1.isViewQuery&&this.query1.update(),c.isPresent(this.query2)&&!this.query2.isViewQuery&&this.query2.update()},e.prototype.updateViewQueries=function(){c.isPresent(this.query0)&&this.query0.isViewQuery&&this.query0.update(),c.isPresent(this.query1)&
|
||
|
null!==this._removalsTail&&(this._removalsTail._nextRemoved=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new m),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new m),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype.toString=function(){var e,t=[];for(e=this._itHead;null!==e;e=e._next)t.push(e);var n=[];for(e=this._previousItHead;null!==e;e=e._nextPrevious)n.push(e);var r=[];for(e=this._additionsHead;null!==e;e=e._nextAdded)r.push(e);var i=[];for(e=this._movesHead;null!==e;e=e._nextMoved)i.push(e);var o=[];for(e=this._removalsHead;null!==e;e=e._nextRemoved)o.push(e);return"collection: "+t.join(", ")+"\nprevious: "+n.join(", ")+"\nadditions: "+r.join(", ")+"\nmoves: "+i.join(", ")+"\nremovals: "+o.join(", ")+"\n"},e}();t.DefaultIterableDiffer=f;var d=function(){function e(e){this.item=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null}return e.prototype.toString=function(){return this.previousIndex===this.currentIndex?l.stringify(this.item):l.stringify(this.item)+"["+l.stringify(this.previousIndex)+"->"+l.stringify(this.currentIndex)+"]"},e}();t.CollectionChangeRecord=d;var h=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<n.currentIndex)&&l.looseIdentical(n.item,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),m=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=l.getMapKey(e.item),n=this.map.get(t);l.isPresent(n)||(n=new h,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){void 0===t&&(t=null);var n=l.getMapKey(e),r=this.map.get(n);return l.isBlank(r)?null:r.get(e,t)},e.prototype.remove=function(e){var t=l.getMapKey(e.item),n=this.map.get(t);return n.remove(e)&&this.map["delete"](t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e.prototype.toString=function(){return"_DuplicateMap("+l.stringify(this.map)+")"},e}();return r.define=i,n.exports}),e.registerDynamic("1
|
||
|
this.simple=!1},e.prototype.visitSafeMethodCall=function(e){this.simple=!1},e.prototype.visitFunctionCall=function(e){this.simple=!1},e.prototype.visitLiteralArray=function(e){this.visitAll(e.expressions)},e.prototype.visitLiteralMap=function(e){this.visitAll(e.values)},e.prototype.visitBinary=function(e){this.simple=!1},e.prototype.visitPrefixNot=function(e){this.simple=!1},e.prototype.visitConditional=function(e){this.simple=!1},e.prototype.visitPipe=function(e){this.simple=!1},e.prototype.visitKeyedRead=function(e){this.simple=!1},e.prototype.visitKeyedWrite=function(e){this.simple=!1},e.prototype.visitAll=function(e){for(var t=p.ListWrapper.createFixedSize(e.length),n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},e.prototype.visitChain=function(e){this.simple=!1},e.prototype.visitQuote=function(e){this.simple=!1},e}();return r.define=i,n.exports}),e.registerDynamic("1d5",["20","3c","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=function(){function e(e,t){this.parent=e,this.current=t}return e.prototype.contains=function(e){return this.current.has(e)?!0:o.isPresent(this.parent)?this.parent.contains(e):!1},e.prototype.get=function(e){if(this.current.has(e))return this.current.get(e);if(o.isPresent(this.parent))return this.parent.get(e);throw new s.BaseException("Cannot find '"+e+"'")},e.prototype.set=function(e,t){if(!this.current.has(e))throw new s.BaseException("Setting of new keys post-construction is not supported. Key: "+e+".");this.current.set(e,t)},e.prototype.clearValues=function(){a.MapWrapper.clearValues(this.current)},e}();return t.Locals=u,r.define=i,n.exports}),e.registerDynamic("1b3",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e,t,n,r,i,o){this.element=e,this.componentElement=t,this.directive=n,this.context=r,this.locals=i,this.injector=o}return e}();t.DebugContext=o;var s=function(){function e(e,t,n){this.genDebugInfo=e,this.logBindingUpdate=t,this.useJit=n}return e}();t.ChangeDetectorGenConfig=s;var a=function(){function e(e,t,n,r,i,o,s){this.id=e,this.strategy=t,this.variableNames=n,this.bindingRecords=r,this.eventRecords=i,this.directiveRecords=o,this.genConfig=s}return e}();return t.ChangeDetectorDefinition=a,r.define=i,n.exports}),e.registerDynamic("1d6",["20","37"],!0,function(e,t,n){"use strict";function r(e){return s.StringWrapper.replaceAll(e,y,"")}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("37"),u="state",c="propertyBindingIndex",l="directiveIndices",p="dispatcher",f="locals",d="mode",h="pipes",m="protos";t.CONTEXT_ACCESSOR="context",t.CONTEXT_INDEX=0;var v="this.",y=/\W/g;t.sanitizeName=r;var g=function(){function e(e,n,i,o){this._records=e,this._eventBindings=n,this._directiveRecords=i,this._utilName=o,this._sanitizedEventNames=new a.Map,this._sanitizedNames=a.ListWrapper.createFixedSize(this._records.length+1),this._sanitizedNames[t.CONTEXT_INDEX]=t.CONTEXT_ACCESSOR;for(var s=0,u=this._records.length;u>s;++s)this._sanitizedNames[s+1]=r(""+this._records[s].name+s);for(var c=0;c<n.length;++c){for(var l=n[c],p=[t.CONTEXT_ACCESSOR],s=0,u=l.records.length;u>s;++s)p.push(r(""+l.records[s].name+s+"_"+c));this._sanitizedEventNames.set(l,p)}}return e.prototype._addFieldPrefix=function(e){return""+v+e},e.prototype.getDispatcherName=function(){return this._addFieldPrefix(p)},e.prototype.getPipesAccessorName=function(){return this._addFieldPrefix(h)},e.prototype.getProtosName=function(){return this._addFieldPrefix(m)},e.prototype.getDirectivesAccessorName=function(){return this._addFieldPrefix(l)},e.prototype.getLocalsAccessorName=function(){return this._addFieldPrefix(f)},e.prototype.getStateName=function(){return this._addFieldPrefix(u)},e.prototype.getModeName=function(){return this._addFieldPrefix(d)},e.prototype.getPropertyBindingIndex=function(){return this._addFieldPrefix(c)},e.prototype.getLocalName=function(e){return"l_"+this._sanitizedNames[e]},e.prototype.getEventLocalName=function(e,t){return"l_"+this._sanitizedEventNames.get(e)[t]},e.prototype.getChangeNa
|
||
|
},e.prototype.visitKeyedRead=function(e){var t=e.obj.visit(this),n=e.key.visit(this);return this._addRecord(D.RecordType.KeyedRead,"keyedAccess",y.ChangeDetectionUtil.keyedAccess,[n],null,t)},e.prototype.visitChain=function(e){var t=this,n=e.expressions.map(function(e){return e.visit(t)});return this._addRecord(D.RecordType.Chain,"chain",null,n,null,0)},e.prototype.visitQuote=function(e){throw new h.BaseException("Caught uninterpreted expression at "+e.location+": "+e.uninterpretedExpression+". "+("Expression prefix "+e.prefix+" did not match a template transformer to interpret the expression."))},e.prototype._visitAll=function(e){for(var t=m.ListWrapper.createFixedSize(e.length),n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},e.prototype._addRecord=function(e,t,n,r,i,o){var s=this._records.length+1;return o instanceof b.DirectiveIndex?this._records.push(new D.ProtoRecord(e,t,n,r,i,-1,o,s,this._bindingRecord,!1,!1,!1,!1,this._bindingIndex)):this._records.push(new D.ProtoRecord(e,t,n,r,i,o,null,s,this._bindingRecord,!1,!1,!1,!1,this._bindingIndex)),s},e}();return p.define=f,n.exports}),e.registerDynamic("85",["20","3c","37","1e1","1de","1d9","1d6","1d7","1d8","1da","1dd"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=e("1e1"),c=e("1de"),l=e("1d9"),p=e("1d6"),f=e("1d7"),d=e("1d8"),h=e("1da"),m=e("1dd"),v="isChanged",y="changes",g=function(){function e(e,t,n,r){this.changeDetectionUtilVarName=t,this.abstractChangeDetectorVarName=n,this.changeDetectorStateVarName=r;var i=m.createPropertyRecords(e),o=m.createEventRecords(e),s=e.bindingRecords.map(function(e){return e.target});this.id=e.id,this.changeDetectionStrategy=e.strategy,this.genConfig=e.genConfig,this.records=i,this.propertyBindingTargets=s,this.eventBindings=o,this.directiveRecords=e.directiveRecords,this._names=new p.CodegenNameUtil(this.records,this.eventBindings,this.directiveRecords,this.changeDetectionUtilVarName),this._logic=new f.CodegenLogicUtil(this._names,this.changeDetectionUtilVarName,this.changeDetectorStateVarName,this.changeDetectionStrategy),this.typeName=p.sanitizeName("ChangeDetector_"+this.id)}return e.prototype.generate=function(){var e="\n "+this.generateSource()+"\n return function(dispatcher) {\n return new "+this.typeName+"(dispatcher);\n }\n ";return new Function(this.abstractChangeDetectorVarName,this.changeDetectionUtilVarName,this.changeDetectorStateVarName,e)(u.AbstractChangeDetector,c.ChangeDetectionUtil,h.ChangeDetectorState)},e.prototype.generateSource=function(){return"\n var "+this.typeName+" = function "+this.typeName+"(dispatcher) {\n "+this.abstractChangeDetectorVarName+".call(\n this, "+JSON.stringify(this.id)+", dispatcher, "+this.records.length+",\n "+this.typeName+".gen_propertyBindingTargets, "+this.typeName+".gen_directiveIndices,\n "+d.codify(this.changeDetectionStrategy)+");\n this.dehydrateDirectives(false);\n }\n\n "+this.typeName+".prototype = Object.create("+this.abstractChangeDetectorVarName+".prototype);\n\n "+this.typeName+".prototype.detectChangesInRecordsInternal = function(throwOnChange) {\n "+this._names.genInitLocals()+"\n var "+v+" = false;\n var "+y+" = null;\n\n "+this._genAllRecords(this.records)+"\n }\n\n "+this._maybeGenHandleEventInternal()+"\n\n "+this._maybeGenAfterContentLifecycleCallbacks()+"\n\n "+this._maybeGenAfterViewLifecycleCallbacks()+"\n\n "+this._maybeGenHydrateDirectives()+"\n\n "+this._maybeGenDehydrateDirectives()+"\n\n "+this._genPropertyBindingTargets()+"\n\n "+this._genDirectiveIndices()+"\n "},e.prototype._genPropertyBindingTargets=function(){var e=this._logic.genPropertyBindingTargets(this.propertyBindingTargets,this.genConfig.genDebugInfo);return this.typeName+".gen_propertyBindingTargets = "+e+";"},e.prototype._genDirectiveIndices=function(){var e=this._logic.genDirectiveIndices(this.directiveRecords);return this.typeName+".gen_directiveIndices = "+e+";"},e.p
|
||
|
null}return this._setChanged(e,!1),null}return this._writeSelf(e,s,n),this._setChanged(e,!0),null}},t.prototype._pipeFor=function(e,t){var n=this._readPipe(e);if(s.isPresent(n))return n;var r=this.pipes.get(e.name);return this._writePipe(e,r),r},t.prototype._readContext=function(e,t){return-1==e.contextIndex?this._getDirectiveFor(e.directiveIndex):t[e.contextIndex]},t.prototype._readSelf=function(e,t){return t[e.selfIndex]},t.prototype._writeSelf=function(e,t,n){n[e.selfIndex]=t},t.prototype._readPipe=function(e){return this.localPipes[e.selfIndex]},t.prototype._writePipe=function(e,t){this.localPipes[e.selfIndex]=t},t.prototype._setChanged=function(e,t){e.argumentToPureFunction&&(this.changes[e.selfIndex]=t)},t.prototype._pureFuncAndArgsDidNotChange=function(e){return e.isPureFunction()&&!this._argsChanged(e)},t.prototype._argsChanged=function(e){for(var t=e.args,n=0;n<t.length;++n)if(this.changes[t[n]])return!0;return!1},t.prototype._argsOrContextChanged=function(e){return this._argsChanged(e)||this.changes[e.contextIndex]},t.prototype._readArgs=function(e,t){for(var n=u.ListWrapper.createFixedSize(e.args.length),r=e.args,i=0;i<r.length;++i)n[i]=t[r[i]];return n},t}(c.AbstractChangeDetector);return t.DynamicChangeDetector=d,r.define=i,n.exports}),e.registerDynamic("1e6",["1da"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1da"),a=function(){function e(){}return e}();t.ChangeDetectorRef=a;var u=function(e){function t(t){e.call(this),this._cd=t}return o(t,e),t.prototype.markForCheck=function(){this._cd.markPathToRootAsCheckOnce()},t.prototype.detach=function(){this._cd.mode=s.ChangeDetectionStrategy.Detached},t.prototype.detectChanges=function(){this._cd.detectChanges()},t.prototype.checkNoChanges=function(){this._cd.checkNoChanges()},t.prototype.reattach=function(){this._cd.mode=s.ChangeDetectionStrategy.CheckAlways,this.markForCheck()},t}(a);return t.ChangeDetectorRef_=u,r.define=i,n.exports}),e.registerDynamic("1e7",[],!0,function(e,t,n){"use strict";function r(e){return e.constructor.prototype.ngOnDestroy}var i=this,o=i.define;return i.define=void 0,t.implementsOnDestroy=r,i.define=o,n.exports}),e.registerDynamic("1e8",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s="directiveLifecycle",a="native",u="directive",c="elementProperty",l="elementAttribute",p="elementClass",f="elementStyle",d="textNode",h="event",m="hostEvent",v=function(){function e(e,t,n,r,i){this.mode=e,this.elementIndex=t,this.name=n,this.unit=r,this.debug=i}return e.prototype.isDirective=function(){return this.mode===u},e.prototype.isElementProperty=function(){return this.mode===c},e.prototype.isElementAttribute=function(){return this.mode===l},e.prototype.isElementClass=function(){return this.mode===p},e.prototype.isElementStyle=function(){return this.mode===f},e.prototype.isTextNode=function(){return this.mode===d},e}();t.BindingTarget=v;var y=function(){function e(e,t,n,r,i,o,s){this.mode=e,this.target=t,this.implicitReceiver=n,this.ast=r,this.setter=i,this.lifecycleEvent=o,this.directiveRecord=s}return e.prototype.isDirectiveLifecycle=function(){return this.mode===s},e.prototype.callOnChanges=function(){return o.isPresent(this.directiveRecord)&&this.directiveRecord.callOnChanges},e.prototype.isDefaultChangeDetection=function(){return o.isBlank(this.directiveRecord)||this.directiveRecord.isDefaultChangeDetection()},e.createDirectiveDoCheck=function(t){return new e(s,null,0,null,null,"DoCheck",t)},e.createDirectiveOnInit=function(t){return new e(s,null,0,null,null,"OnInit",t)},e.createDirectiveOnChanges=function(t){return new e(s,null,0,null,null,"OnChanges",t)},e.createForDirective=function(t,n,r,i){var o=i.directiveIndex.elementIndex,s=new v(u,o,n,null,t.toString());return new e(u,s,0,t,r,null,i)},e.createForElementProperty=function(t,n,r){var i=new v(c,n,r,null,t.toString());return
|
||
|
this.keyId8=t[8].getKeyId(),this.visibility8=t[8].visibility),n>9&&(this.provider9=t[9].provider,this.keyId9=t[9].getKeyId(),this.visibility9=t[9].visibility)}return e.prototype.getProviderAtIndex=function(e){if(0==e)return this.provider0;if(1==e)return this.provider1;if(2==e)return this.provider2;if(3==e)return this.provider3;if(4==e)return this.provider4;if(5==e)return this.provider5;if(6==e)return this.provider6;if(7==e)return this.provider7;if(8==e)return this.provider8;if(9==e)return this.provider9;throw new a.OutOfBoundsError(e)},e.prototype.createInjectorStrategy=function(e){return new v(e,this)},e}();t.ProtoInjectorInlineStrategy=d;var h=function(){function e(e,t){var n=t.length;this.providers=o.ListWrapper.createFixedSize(n),this.keyIds=o.ListWrapper.createFixedSize(n),this.visibilities=o.ListWrapper.createFixedSize(n);for(var r=0;n>r;r++)this.providers[r]=t[r].provider,this.keyIds[r]=t[r].getKeyId(),this.visibilities[r]=t[r].visibility}return e.prototype.getProviderAtIndex=function(e){if(0>e||e>=this.providers.length)throw new a.OutOfBoundsError(e);return this.providers[e]},e.prototype.createInjectorStrategy=function(e){return new y(this,e)},e}();t.ProtoInjectorDynamicStrategy=h;var m=function(){function e(e){this.numberOfProviders=e.length,this._strategy=e.length>p?new h(this,e):new d(this,e)}return e.prototype.getProviderAtIndex=function(e){return this._strategy.getProviderAtIndex(e)},e}();t.ProtoInjector=m;var v=function(){function e(e,n){this.injector=e,this.protoStrategy=n,this.obj0=t.UNDEFINED,this.obj1=t.UNDEFINED,this.obj2=t.UNDEFINED,this.obj3=t.UNDEFINED,this.obj4=t.UNDEFINED,this.obj5=t.UNDEFINED,this.obj6=t.UNDEFINED,this.obj7=t.UNDEFINED,this.obj8=t.UNDEFINED,this.obj9=t.UNDEFINED}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e,t){return this.injector._new(e,t)},e.prototype.attach=function(e,t){var n=this.injector;n._parent=e,n._isHost=t},e.prototype.getObjByKeyId=function(e,n){var i=this.protoStrategy,o=this.injector;return i.keyId0===e&&r(i.visibility0,n)?(this.obj0===t.UNDEFINED&&(this.obj0=o._new(i.provider0,i.visibility0)),this.obj0):i.keyId1===e&&r(i.visibility1,n)?(this.obj1===t.UNDEFINED&&(this.obj1=o._new(i.provider1,i.visibility1)),this.obj1):i.keyId2===e&&r(i.visibility2,n)?(this.obj2===t.UNDEFINED&&(this.obj2=o._new(i.provider2,i.visibility2)),this.obj2):i.keyId3===e&&r(i.visibility3,n)?(this.obj3===t.UNDEFINED&&(this.obj3=o._new(i.provider3,i.visibility3)),this.obj3):i.keyId4===e&&r(i.visibility4,n)?(this.obj4===t.UNDEFINED&&(this.obj4=o._new(i.provider4,i.visibility4)),this.obj4):i.keyId5===e&&r(i.visibility5,n)?(this.obj5===t.UNDEFINED&&(this.obj5=o._new(i.provider5,i.visibility5)),this.obj5):i.keyId6===e&&r(i.visibility6,n)?(this.obj6===t.UNDEFINED&&(this.obj6=o._new(i.provider6,i.visibility6)),this.obj6):i.keyId7===e&&r(i.visibility7,n)?(this.obj7===t.UNDEFINED&&(this.obj7=o._new(i.provider7,i.visibility7)),this.obj7):i.keyId8===e&&r(i.visibility8,n)?(this.obj8===t.UNDEFINED&&(this.obj8=o._new(i.provider8,i.visibility8)),this.obj8):i.keyId9===e&&r(i.visibility9,n)?(this.obj9===t.UNDEFINED&&(this.obj9=o._new(i.provider9,i.visibility9)),this.obj9):t.UNDEFINED},e.prototype.getObjAtIndex=function(e){if(0==e)return this.obj0;if(1==e)return this.obj1;if(2==e)return this.obj2;if(3==e)return this.obj3;if(4==e)return this.obj4;if(5==e)return this.obj5;if(6==e)return this.obj6;if(7==e)return this.obj7;if(8==e)return this.obj8;if(9==e)return this.obj9;throw new a.OutOfBoundsError(e)},e.prototype.getMaxNumberOfObjects=function(){return p},e}();t.InjectorInlineStrategy=v;var y=function(){function e(e,n){this.protoStrategy=e,this.injector=n,this.objs=o.ListWrapper.createFixedSize(e.providers.length),o.ListWrapper.fill(this.objs,t.UNDEFINED)}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e,t){return this.injector._new(e,t)},e.prototype.attach=function(e,t){var n=this.injector;n._parent=e,n._isHost=t},e.prototype.getObjByKey
|
||
|
this._visitEndElement()},e.prototype._visitBeginBoundElement=function(e,t){v.isPresent(t)&&t.isMergable&&(this.mergeElementCount+=t.mergeInfo.elementCount,this.mergeViewCount+=t.mergeInfo.viewCount,this.mergeEmbeddedViewCount+=t.mergeInfo.embeddedViewCount);var n=o(this._directiveResolver,t,this.elementBinderStack,this.boundElementIndex,this.distanceToParentElementBinder,this.distanceToParentProtoElementInjector,e);this.elementBinders.push(n);for(var r=n.protoElementInjector,i=0;i<e.variableNameAndValues.length;i+=2)this.variableLocations.set(e.variableNameAndValues[i],this.boundElementIndex);return this.boundElementIndex++,this.mergeElementCount++,this._visitBeginElement(e,n,r)},e.prototype._visitBeginElement=function(e,t,n){return this.distanceToParentElementBinder=v.isPresent(t)?1:this.distanceToParentElementBinder+1,this.distanceToParentProtoElementInjector=v.isPresent(n)?1:this.distanceToParentProtoElementInjector+1,this.elementBinderStack.push(t),null},e.prototype._visitEndElement=function(){var e=this.elementBinderStack.pop(),t=v.isPresent(e)?e.protoElementInjector:null;return this.distanceToParentElementBinder=v.isPresent(e)?e.distanceToParent:this.distanceToParentElementBinder-1,this.distanceToParentProtoElementInjector=v.isPresent(t)?t.distanceToParent:this.distanceToParentProtoElementInjector-1,null},e}();return t.createDirectiveVariableBindings=a,p.define=f,n.exports}),e.registerDynamic("1a6",["39","20","3c","1ab","1a1","56","1ad","1b0","55","4c","61"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("39"),l=e("20"),p=e("3c"),f=e("1ab"),d=e("1a1"),h=e("56"),m=e("1ad"),v=e("1b0"),y=e("55"),g=e("4c"),b=e("61"),_=function(){function e(){}return e.prototype.getHostElement=function(e){var t=d.internalView(e);if(t.proto.type!==f.ViewType.HOST)throw new p.BaseException("This operation is only allowed on host views");return t.elementRefs[t.elementOffset]},e}();t.AppViewManager=_;var E=function(e){function t(t,n,r,i,o){e.call(this),this._viewPool=t,this._viewListener=n,this._utils=r,this._renderer=i,this._createRootHostViewScope=g.wtfCreateScope("AppViewManager#createRootHostView()"),this._destroyRootHostViewScope=g.wtfCreateScope("AppViewManager#destroyRootHostView()"),this._createEmbeddedViewInContainerScope=g.wtfCreateScope("AppViewManager#createEmbeddedViewInContainer()"),this._createHostViewInContainerScope=g.wtfCreateScope("AppViewManager#createHostViewInContainer()"),this._destroyViewInContainerScope=g.wtfCreateScope("AppViewMananger#destroyViewInContainer()"),this._attachViewInContainerScope=g.wtfCreateScope("AppViewMananger#attachViewInContainer()"),this._detachViewInContainerScope=g.wtfCreateScope("AppViewMananger#detachViewInContainer()"),this._protoViewFactory=o}return o(t,e),t.prototype.getViewContainer=function(e){var t=d.internalView(e.parentView);return t.elementInjectors[e.boundElementIndex].getViewContainerRef()},t.prototype.getNamedElementInComponentView=function(e,t){var n=d.internalView(e.parentView),r=e.boundElementIndex,i=n.getNestedView(r);if(l.isBlank(i))throw new p.BaseException("There is no component directive at element "+r);var o=i.proto.variableLocations.get(t);if(l.isBlank(o))throw new p.BaseException("Could not find variable "+t);return i.elementRefs[i.elementOffset+o]},t.prototype.getComponent=function(e){var t=d.internalView(e
|
||
|
return n},e.prototype.parameters=function(e){if(o.isPresent(e.parameters))return e.parameters;if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("parameters",e),n=this._reflect.getMetadata("design:paramtypes",e);if(o.isPresent(n)||o.isPresent(t))return this._zipTypesAndAnnotaions(n,t)}var r=new Array(e.length);return r.fill(void 0),r},e.prototype.annotations=function(e){if(o.isPresent(e.annotations)){var t=e.annotations;return o.isFunction(t)&&t.annotations&&(t=t.annotations),t}if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("annotations",e);if(o.isPresent(t))return t}return[]},e.prototype.propMetadata=function(e){if(o.isPresent(e.propMetadata)){var t=e.propMetadata;return o.isFunction(t)&&t.propMetadata&&(t=t.propMetadata),t}if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("propMetadata",e);if(o.isPresent(t))return t}return{}},e.prototype.interfaces=function(e){throw new s.BaseException("JavaScript does not support interfaces")},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){var t="if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);";return new Function("o","args",t)},e.prototype.importUri=function(e){return"./"},e}();return t.ReflectionCapabilities=a,r.define=i,n.exports}),e.registerDynamic("81",["1f3","8c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1f3"),s=e("1f3");t.Reflector=s.Reflector,t.ReflectionInfo=s.ReflectionInfo;var a=e("8c");return t.reflector=new o.Reflector(new a.ReflectionCapabilities),r.define=i,n.exports}),e.registerDynamic("14",["50","19b","19d","39","19e","20","5b","88","1a3","1a4","1a5","57","5e","1e9","82","1ac","1f2","81"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;i.define=void 0,r(e("50")),r(e("19b")),r(e("19d")),r(e("39")),r(e("19e"));var s=e("20");t.enableProdMode=s.enableProdMode;var a=e("5b");t.platform=a.platform,t.createNgZone=a.createNgZone,t.PlatformRef=a.PlatformRef,t.ApplicationRef=a.ApplicationRef;var u=e("88");t.APP_ID=u.APP_ID,t.APP_COMPONENT=u.APP_COMPONENT,t.APP_INITIALIZER=u.APP_INITIALIZER,t.PACKAGE_ROOT_URL=u.PACKAGE_ROOT_URL,t.PLATFORM_INITIALIZER=u.PLATFORM_INITIALIZER,r(e("1a3")),r(e("1a4")),r(e("1a5"));var c=e("57");return t.DebugElement=c.DebugElement,t.Scope=c.Scope,t.inspectElement=c.inspectElement,t.asNativeElements=c.asNativeElements,r(e("5e")),r(e("1e9")),r(e("82")),r(e("1ac")),r(e("1f2")),r(e("81")),i.define=o,n.exports}),e.registerDynamic("d2",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o={}.toString;return n.exports=function(e){return o.call(e).slice(8,-1)},r.define=i,n.exports}),e.registerDynamic("9a",["d2"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d2");return n.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)},r.define=i,n.exports}),e.registerDynamic("184",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},r.define=i,n.exports}),e.registerDynamic("189",["9a","184"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("9a"),s=e("184");return n.exports=function(e){return o(s(e))},r.define=i,n.exports}),e.registerDynamic("9b",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){try{return!!e()}catch(t){return!0}},r.define=i,n.exports}),e.registerDynamic("196",["8f","2d","9b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f"),s=e("2d"),a=e("9b");return n.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),o(o.S+o.F*a(function(){n(1)}),"Object",r)},r.define=i,n.exports}),e.registerDynamic("1f4",["189","196"],!0,function(e,t,n){
|
||
|
//# sourceMappingURL=redoc.full.min.js.map
|