diff --git a/dist/redoc.min.js b/dist/redoc.min.js index b240443e..b49b738b 100644 --- a/dist/redoc.min.js +++ b/dist/redoc.min.js @@ -2499,7 +2499,7 @@ Prism.languages.scala = Prism.languages.extend('java', { delete Prism.languages.scala['class-name']; delete Prism.languages.scala['function']; -!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in p||(p[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==q.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=p[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex=0;f--){for(var g=c[f],i=0;if;f++){var h=c.importers[f];if(!h.locked)for(var i=0;if;f++){var j,k=b.normalizedDeps[f],l=p[k],m=u[k];m?j=m.exports:l&&!l.declarative?j=l.esModule:l?(h(l),m=l.module,j=m.exports):j=o(k),m&&m.importers?(m.importers.push(c),c.dependencies.push(m)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=p[a];if(c)c.declarative?n(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=o(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=p[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(a){var b={};if("object"==typeof a||"function"==typeof a){var c=a&&a.hasOwnProperty;if(r)for(var d in a)m(b,a,d)||l(b,a,d,c);else for(var d in a)l(b,a,d,c)}return b["default"]=a,t(b,"__useDefault",{value:!0}),b}function l(a,b,c,d){(!d||b.hasOwnProperty(c))&&(a[c]=b[c])}function m(a,b,c){try{var d;return(d=Object.getOwnPropertyDescriptor(b,c))&&t(a,c,d),!0}catch(e){return!1}}function n(b,c){var d=p[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==q.call(c,g)&&(p[g]?n(g,c):o(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function o(a){if(w[a])return w[a];if("@node/"==a.substr(0,6))return v(a.substr(6));var b=p[a];if(!b)throw"Module "+a+" not present.";return f(a),n(a,[]),p[a]=void 0,b.declarative&&t(b.module.exports,"__esModule",{value:!0}),w[a]=b.declarative?b.module.exports:b.esModule}var p={},q=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},r=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(s){r=!1}var t;!function(){try{Object.defineProperty({},"a",{})&&(t=Object.defineProperty)}catch(a){t=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var u={},v="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,w={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:v,register:b,registerDynamic:c,get:o,set:function(a,b){w[a]=b},newModule:function(a){return a}},h=0;h1)for(var h=1;hb;b++)if(this[b]===a)return b;return-1},k=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];h.set("@@global-helpers",h.newModule({prepareGlobal:function(a,c,e){var h=b.define;b.define=void 0;var i;if(e){i={};for(var j in e)i[j]=b[j],b[j]=e[j]}return c||(g={},f(function(a,b){g[a]=b})),function(){var a;if(c)a=d(c);else{a={};var e,j;f(function(b,c){g[b]!==c&&"undefined"!=typeof c&&(a[b]=c,"undefined"!=typeof e?j||e===c||(j=!0):e=c)}),a=j?a:e}if(i)for(var k in i)b[k]=i[k];return b.define=h,a}}}))}("undefined"!=typeof self?self:global),a.register("3",[],function(){return{setters:[],execute:function(){}}}),a.register("4",[],function(){return{setters:[],execute:function(){}}}),a.register("5",[],function(){return{setters:[],execute:function(){}}}),a.register("6",[],function(){return{setters:[],execute:function(){}}}),a.register("7",[],function(a){"use strict";var b;return{setters:[],execute:function(){b="0.16.0",a("redocVersion",b)}}}),a.registerDynamic("8",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.reflector=d.__core_private__.reflector,c.exports}),a.registerDynamic("a",["b","c","d","e","f","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("e"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("10");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("11",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("12",["e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c0&&(b.println("var self = this;"),this.visitAllStatements(a.constructorMethod.body,b)),b.decIndent(),b.println("}")},b.prototype._visitClassGetter=function(a,b,c){c.println("Object.defineProperty("+a.name+".prototype, '"+b.name+"', { get: function() {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("}});")},b.prototype._visitClassMethod=function(a,b,c){c.print(a.name+".prototype."+b.name+" = function("),this._visitParams(b.params,c),c.println(") {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("};")},b.prototype.visitReadVarExpr=function(b,c){if(b.builtin===h.BuiltinVar.This)c.print("self");else{if(b.builtin===h.BuiltinVar.Super)throw new e.BaseException("'super' needs to be handled at a parent ast node, not at the variable level!");a.prototype.visitReadVarExpr.call(this,b,c)}return null},b.prototype.visitDeclareVarStmt=function(a,b){return b.print("var "+a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),null},b.prototype.visitInvokeFunctionExpr=function(b,c){var d=b.fn;return d instanceof h.ReadVarExpr&&d.builtin===h.BuiltinVar.Super?(c.currentClass.parent.visitExpression(this,c),c.print(".call(this"),b.args.length>0&&(c.print(", "),this.visitAllExpressions(b.args,c,",")),c.print(")")):a.prototype.visitInvokeFunctionExpr.call(this,b,c),null},b.prototype.visitFunctionExpr=function(a,b){return b.print("function("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.print("function "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+g.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[g.CATCH_STACK_VAR.set(g.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[h.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype._visitParams=function(a,b){this.visitAllObjects(function(a){return b.print(a.name)},a,b,",")},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case h.BuiltinMethod.ConcatArray:b="concat";break;case h.BuiltinMethod.SubscribeObservable:b="subscribe";break;case h.BuiltinMethod.bind:b="bind";break;default:throw new e.BaseException("Unknown builtin method: "+a)}return b},b}(g.AbstractEmitterVisitor);return b.AbstractJsEmitterVisitor=i,c.exports}),a.registerDynamic("21",["1f","20","1e","1c"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new j,e=g.EmitterVisitorContext.createRoot([c]);return d.visitAllStatements(b,e),f.evalExpression(a,c,e.toSource(),d.getArgs())}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1f"),g=a("20"),h=a("1e"),i=a("1c");b.jitStatements=d;var j=function(a){function b(){a.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return e(b,a),b.prototype.getArgs=function(){for(var a={},b=0;b0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("24",["1a","1f","1b","20"],!0,function(a,b,c){"use strict";function d(a){var b,c=new n(l),d=k.EmitterVisitorContext.createRoot([]);return b=i.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof j.Statement)a.visitStatement(c,d);else if(a instanceof j.Expression)a.visitExpression(c,d);else{if(!(a instanceof j.Type))throw new h.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}function e(a){if(a instanceof j.ExpressionStatement){var b=a.expr;if(b instanceof j.InvokeFunctionExpr){var c=b.fn;if(c instanceof j.ReadVarExpr&&c.builtin===j.BuiltinVar.Super)return b}}return null}function f(a){return i.isPresent(a)&&a.hasModifier(j.TypeModifier.Const)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("1a"),i=a("1f"),j=a("1b"),k=a("20"),l="asset://debug/lib";b.debugOutputAstAsDart=d;var m=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=[],f=new n(a),g=k.EmitterVisitorContext.createRoot(c);return f.visitAllStatements(b,g),f.importsWithPrefixes.forEach(function(b,c){e.push("import '"+d._importGenerator.getImportPath(a,c)+"' as "+b+";")}),e.push(g.toSource()),e.join("\n")},a}();b.DartEmitter=m;var n=function(a){function b(b){a.call(this,!0),this._moduleUrl=b, +!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in p||(p[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==q.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=p[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex=0;f--){for(var g=c[f],i=0;if;f++){var h=c.importers[f];if(!h.locked)for(var i=0;if;f++){var j,k=b.normalizedDeps[f],l=p[k],m=u[k];m?j=m.exports:l&&!l.declarative?j=l.esModule:l?(h(l),m=l.module,j=m.exports):j=o(k),m&&m.importers?(m.importers.push(c),c.dependencies.push(m)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=p[a];if(c)c.declarative?n(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=o(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=p[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(a){var b={};if("object"==typeof a||"function"==typeof a){var c=a&&a.hasOwnProperty;if(r)for(var d in a)m(b,a,d)||l(b,a,d,c);else for(var d in a)l(b,a,d,c)}return b["default"]=a,t(b,"__useDefault",{value:!0}),b}function l(a,b,c,d){(!d||b.hasOwnProperty(c))&&(a[c]=b[c])}function m(a,b,c){try{var d;return(d=Object.getOwnPropertyDescriptor(b,c))&&t(a,c,d),!0}catch(e){return!1}}function n(b,c){var d=p[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==q.call(c,g)&&(p[g]?n(g,c):o(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function o(a){if(w[a])return w[a];if("@node/"==a.substr(0,6))return v(a.substr(6));var b=p[a];if(!b)throw"Module "+a+" not present.";return f(a),n(a,[]),p[a]=void 0,b.declarative&&t(b.module.exports,"__esModule",{value:!0}),w[a]=b.declarative?b.module.exports:b.esModule}var p={},q=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},r=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(s){r=!1}var t;!function(){try{Object.defineProperty({},"a",{})&&(t=Object.defineProperty)}catch(a){t=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var u={},v="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,w={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:v,register:b,registerDynamic:c,get:o,set:function(a,b){w[a]=b},newModule:function(a){return a}},h=0;h1)for(var h=1;hb;b++)if(this[b]===a)return b;return-1},k=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];h.set("@@global-helpers",h.newModule({prepareGlobal:function(a,c,e){var h=b.define;b.define=void 0;var i;if(e){i={};for(var j in e)i[j]=b[j],b[j]=e[j]}return c||(g={},f(function(a,b){g[a]=b})),function(){var a;if(c)a=d(c);else{a={};var e,j;f(function(b,c){g[b]!==c&&"undefined"!=typeof c&&(a[b]=c,"undefined"!=typeof e?j||e===c||(j=!0):e=c)}),a=j?a:e}if(i)for(var k in i)b[k]=i[k];return b.define=h,a}}}))}("undefined"!=typeof self?self:global),a.register("3",[],function(){return{setters:[],execute:function(){}}}),a.register("4",[],function(){return{setters:[],execute:function(){}}}),a.register("5",[],function(){return{setters:[],execute:function(){}}}),a.register("6",[],function(){return{setters:[],execute:function(){}}}),a.register("7",[],function(a){"use strict";var b;return{setters:[],execute:function(){b="0.16.1",a("redocVersion",b)}}}),a.registerDynamic("8",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.reflector=d.__core_private__.reflector,c.exports}),a.registerDynamic("a",["b","c","d","e","f","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("e"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("10");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("11",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("12",["e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c0&&(b.println("var self = this;"),this.visitAllStatements(a.constructorMethod.body,b)),b.decIndent(),b.println("}")},b.prototype._visitClassGetter=function(a,b,c){c.println("Object.defineProperty("+a.name+".prototype, '"+b.name+"', { get: function() {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("}});")},b.prototype._visitClassMethod=function(a,b,c){c.print(a.name+".prototype."+b.name+" = function("),this._visitParams(b.params,c),c.println(") {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("};")},b.prototype.visitReadVarExpr=function(b,c){if(b.builtin===h.BuiltinVar.This)c.print("self");else{if(b.builtin===h.BuiltinVar.Super)throw new e.BaseException("'super' needs to be handled at a parent ast node, not at the variable level!");a.prototype.visitReadVarExpr.call(this,b,c)}return null},b.prototype.visitDeclareVarStmt=function(a,b){return b.print("var "+a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),null},b.prototype.visitInvokeFunctionExpr=function(b,c){var d=b.fn;return d instanceof h.ReadVarExpr&&d.builtin===h.BuiltinVar.Super?(c.currentClass.parent.visitExpression(this,c),c.print(".call(this"),b.args.length>0&&(c.print(", "),this.visitAllExpressions(b.args,c,",")),c.print(")")):a.prototype.visitInvokeFunctionExpr.call(this,b,c),null},b.prototype.visitFunctionExpr=function(a,b){return b.print("function("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.print("function "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+g.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[g.CATCH_STACK_VAR.set(g.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[h.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype._visitParams=function(a,b){this.visitAllObjects(function(a){return b.print(a.name)},a,b,",")},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case h.BuiltinMethod.ConcatArray:b="concat";break;case h.BuiltinMethod.SubscribeObservable:b="subscribe";break;case h.BuiltinMethod.bind:b="bind";break;default:throw new e.BaseException("Unknown builtin method: "+a)}return b},b}(g.AbstractEmitterVisitor);return b.AbstractJsEmitterVisitor=i,c.exports}),a.registerDynamic("21",["1f","20","1e","1c"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new j,e=g.EmitterVisitorContext.createRoot([c]);return d.visitAllStatements(b,e),f.evalExpression(a,c,e.toSource(),d.getArgs())}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1f"),g=a("20"),h=a("1e"),i=a("1c");b.jitStatements=d;var j=function(a){function b(){a.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return e(b,a),b.prototype.getArgs=function(){for(var a={},b=0;b0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("24",["1a","1f","1b","20"],!0,function(a,b,c){"use strict";function d(a){var b,c=new n(l),d=k.EmitterVisitorContext.createRoot([]);return b=i.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof j.Statement)a.visitStatement(c,d);else if(a instanceof j.Expression)a.visitExpression(c,d);else{if(!(a instanceof j.Type))throw new h.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}function e(a){if(a instanceof j.ExpressionStatement){var b=a.expr;if(b instanceof j.InvokeFunctionExpr){var c=b.fn;if(c instanceof j.ReadVarExpr&&c.builtin===j.BuiltinVar.Super)return b}}return null}function f(a){return i.isPresent(a)&&a.hasModifier(j.TypeModifier.Const)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("1a"),i=a("1f"),j=a("1b"),k=a("20"),l="asset://debug/lib";b.debugOutputAstAsDart=d;var m=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=[],f=new n(a),g=k.EmitterVisitorContext.createRoot(c);return f.visitAllStatements(b,g),f.importsWithPrefixes.forEach(function(b,c){e.push("import '"+d._importGenerator.getImportPath(a,c)+"' as "+b+";")}),e.push(g.toSource()),e.join("\n")},a}();b.DartEmitter=m;var n=function(a){function b(b){a.call(this,!0),this._moduleUrl=b, this.importsWithPrefixes=new Map}return g(b,a),b.prototype.visitExternalExpr=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitDeclareVarStmt=function(a,b){return a.hasModifier(j.StmtModifier.Final)?f(a.type)?b.print("const "):b.print("final "):i.isBlank(a.type)&&b.print("var "),i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.print(a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return b.print("("),a.value.visitExpression(this,b),b.print(" as "),a.type.visitType(this,b),b.print(")"),null},b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),b.print("class "+a.name),i.isPresent(a.parent)&&(b.print(" extends "),a.parent.visitExpression(this,b)),b.println(" {"),b.incIndent(),a.fields.forEach(function(a){return c._visitClassField(a,b)}),i.isPresent(a.constructorMethod)&&this._visitClassConstructor(a,b),a.getters.forEach(function(a){return c._visitClassGetter(a,b)}),a.methods.forEach(function(a){return c._visitClassMethod(a,b)}),b.decIndent(),b.println("}"),b.popClass(),null},b.prototype._visitClassField=function(a,b){a.hasModifier(j.StmtModifier.Final)?b.print("final "):i.isBlank(a.type)&&b.print("var "),i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.println(a.name+";")},b.prototype._visitClassGetter=function(a,b){i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.println("get "+a.name+" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassConstructor=function(a,b){b.print(a.name+"("),this._visitParams(a.constructorMethod.params,b),b.print(")");var c=a.constructorMethod.body,d=c.length>0?e(c[0]):null;i.isPresent(d)&&(b.print(": "),d.visitExpression(this,b),c=c.slice(1)),b.println(" {"),b.incIndent(),this.visitAllStatements(c,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case j.BuiltinMethod.ConcatArray:b=".addAll";break;case j.BuiltinMethod.SubscribeObservable:b="listen";break;case j.BuiltinMethod.bind:b=null;break;default:throw new h.BaseException("Unknown builtin method: "+a)}return b},b.prototype.visitTryCatchStmt=function(a,b){return b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+k.CATCH_ERROR_VAR.name+", "+k.CATCH_STACK_VAR.name+") {"),b.incIndent(),this.visitAllStatements(a.catchStmts,b),b.decIndent(),b.println("}"),null},b.prototype.visitBinaryOperatorExpr=function(b,c){switch(b.operator){case j.BinaryOperator.Identical:c.print("identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;case j.BinaryOperator.NotIdentical:c.print("!identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;default:a.prototype.visitBinaryOperatorExpr.call(this,b,c)}return null},b.prototype.visitLiteralArrayExpr=function(b,c){return f(b.type)&&c.print("const "),a.prototype.visitLiteralArrayExpr.call(this,b,c)},b.prototype.visitLiteralMapExpr=function(b,c){return f(b.type)&&c.print("const "),i.isPresent(b.valueType)&&(c.print("")),a.prototype.visitLiteralMapExpr.call(this,b,c)},b.prototype.visitInstantiateExpr=function(a,b){return b.print(f(a.type)?"const":"new"),b.print(" "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case j.BuiltinTypeName.Bool:c="bool";break;case j.BuiltinTypeName.Dynamic:c="dynamic";break;case j.BuiltinTypeName.Function:c="Function";break;case j.BuiltinTypeName.Number:c="num";break;case j.BuiltinTypeName.Int:c="int";break;case j.BuiltinTypeName.String:c="String";break;default:throw new h.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return b.print("List<"),i.isPresent(a.of)?a.of.visitType(this,b):b.print("dynamic"),b.print(">"),null},b.prototype.visitMapType=function(a,b){return b.print("Map"),null},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){i.isPresent(a.type)&&(a.type.visitType(c,b),b.print(" ")),b.print(a.name)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(i.isBlank(a.name))throw new h.BaseException("Internal error: unknown identifier "+a);if(i.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);i.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),i.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(k.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("25",["26","23","19","1a","1f","24","1b","27"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=a.concat([new n.ReturnStatement(n.variable(b))]),e=new q(null,null,null,null,new Map,new Map,new Map,new Map,c),f=new t,g=f.visitAllStatements(d,e);return l.isPresent(g)?g.value:null}function e(a){return l.IS_DART?a instanceof p:l.isPresent(a)&&l.isPresent(a.props)&&l.isPresent(a.getters)&&l.isPresent(a.methods)}function f(a,b,c,d,e){for(var f=d.createChildWihtLocalVars(),g=0;ge();case n.BinaryOperator.BiggerEquals:return d()>=e();default:throw new k.BaseException("Unknown operator "+a.operator)}},a.prototype.visitReadPropExpr=function(a,b){var c,d=a.receiver.visitExpression(this,b);if(e(d)){var f=d;c=f.props.has(a.name)?f.props.get(a.name):f.getters.has(a.name)?f.getters.get(a.name)():f.methods.has(a.name)?f.methods.get(a.name):h.reflector.getter(a.name)(d)}else c=h.reflector.getter(a.name)(d);return c},a.prototype.visitReadKeyExpr=function(a,b){var c=a.receiver.visitExpression(this,b),d=a.index.visitExpression(this,b);return c[d]},a.prototype.visitLiteralArrayExpr=function(a,b){return this.visitAllExpressions(a.entries,b)},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,d={};return a.entries.forEach(function(a){return d[a[0]]=a[1].visitExpression(c,b)}),d},a.prototype.visitAllExpressions=function(a,b){var c=this;return a.map(function(a){return a.visitExpression(c,b)})},a.prototype.visitAllStatements=function(a,b){for(var c=0;c0){var j=f.errors.join("\n");throw new g.BaseException("Template parse errors:\n"+j)}var l=this.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:b.styles,styleUrls:b.styleUrls,moduleUrl:a.moduleUrl})),m=new s;k.htmlVisitAll(m,f.rootNodes);var n=this.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:m.styles,styleUrls:m.styleUrls,moduleUrl:d})),o=l.styles.concat(n.styles),p=l.styleUrls.concat(n.styleUrls),q=b.encapsulation;return h.isBlank(q)&&(q=this._config.defaultEncapsulation),q===e.ViewEncapsulation.Emulated&&0===o.length&&0===p.length&&(q=e.ViewEncapsulation.None),new i.CompileTemplateMetadata({encapsulation:q,template:c,templateUrl:d,styles:o,styleUrls:p,externalStylesheets:b.externalStylesheets,ngContentSelectors:m.ngContentSelectors,animations:b.animations,interpolation:b.interpolation})},a.prototype.normalizeExternalStylesheets=function(a){return this._loadMissingExternalStylesheets(a.styleUrls).then(function(b){return new i.CompileTemplateMetadata({encapsulation:a.encapsulation,template:a.template,templateUrl:a.templateUrl,styles:a.styles,styleUrls:a.styleUrls,externalStylesheets:b,ngContentSelectors:a.ngContentSelectors,animations:a.animations,interpolation:a.interpolation})})},a.prototype._loadMissingExternalStylesheets=function(a,b){var c=this;return void 0===b&&(b=new Map),Promise.all(a.filter(function(a){return!b.has(a)}).map(function(a){return c._fetch(a).then(function(d){var e=c.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:[d],moduleUrl:a}));return b.set(a,e),c._loadMissingExternalStylesheets(e.styleUrls,b)})})).then(function(a){return f.MapWrapper.values(b)})},a.prototype.normalizeStylesheet=function(a){var b=this,c=a.styleUrls.filter(m.isStyleUrlResolvable).map(function(c){return b._urlResolver.resolve(a.moduleUrl,c)}),d=a.styles.map(function(d){var e=m.extractStyleUrls(b._urlResolver,a.moduleUrl,d);return c.push.apply(c,e.styleUrls),e.style});return new i.CompileStylesheetMetadata({styles:d,styleUrls:c,moduleUrl:a.moduleUrl})},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:p.XHR},{type:o.UrlResolver},{type:l.HtmlParser},{type:j.CompilerConfig}],a}();b.DirectiveNormalizer=r;var s=function(){function a(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return a.prototype.visitElement=function(a,b){var c=n.preparseElement(a);switch(c.type){case n.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(c.selectAttr);break;case n.PreparsedElementType.STYLE:var d="";a.children.forEach(function(a){a instanceof k.HtmlTextAst&&(d+=a.value)}),this.styles.push(d);break;case n.PreparsedElementType.STYLESHEET:this.styleUrls.push(c.hrefAttr)}return c.nonBindable&&this.ngNonBindableStackCount++,k.htmlVisitAll(this,a.children),c.nonBindable&&this.ngNonBindableStackCount--,null},a.prototype.visitComment=function(a,b){return null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){return null},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a}();return c.exports}),a.registerDynamic("3e",["1a","3b","3f"],!0,function(a,b,c){"use strict";function d(a){var b=new l;return new k(h.htmlVisitAll(b,a),b.isExpanded,b.errors)}function e(a,b){var c=a.cases.map(function(a){-1!=j.indexOf(a.value)||a.value.match(/^=\d+$/)||b.push(new i.I18nError(a.valueSourceSpan,'Plural cases should be "=" or one of '+j.join(", ")));var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngPluralCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngPlural]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}function f(a,b){var c=a.cases.map(function(a){var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngSwitchCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngSwitch]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}var g=a("1a"),h=a("3b"),i=a("3f"),j=["zero","one","two","few","many","other"];b.expandNodes=d;var k=function(){function a(a,b,c){this.nodes=a,this.expanded=b,this.errors=c}return a}();b.ExpansionResult=k;var l=function(){function a(){this.isExpanded=!1,this.errors=[]}return a.prototype.visitElement=function(a,b){return new h.HtmlElementAst(a.name,a.attrs,h.htmlVisitAll(this,a.children),a.sourceSpan,a.startSourceSpan,a.endSourceSpan)},a.prototype.visitAttr=function(a,b){ return a},a.prototype.visitText=function(a,b){return a},a.prototype.visitComment=function(a,b){return a},a.prototype.visitExpansion=function(a,b){return this.isExpanded=!0,"plural"==a.type?e(a,this.errors):f(a,this.errors)},a.prototype.visitExpansionCase=function(a,b){throw new g.BaseException("Should not be reached")},a}();return c.exports}),a.registerDynamic("40",["19","1a","1f","3b","36","41","3e","42","3f"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1a"),f=a("1f"),g=a("3b"),h=a("36"),i=a("41"),j=a("3e"),k=a("42"),l=a("3f"),m="ph",n="name",o=/<\/ph>/gi,p=function(){function a(a,b,c,d,e,f){this._htmlParser=a,this._parser=b,this._messagesContent=c,this._messages=d,this._implicitTags=e,this._implicitAttrs=f}return a.prototype.parse=function(a,b,c,d){void 0===c&&(c=!1),void 0===d&&(d=i.DEFAULT_INTERPOLATION_CONFIG),this.errors=[],this._interpolationConfig=d;var e=this._htmlParser.parse(a,b,!0);if(e.errors.length>0)return e;var f=j.expandNodes(e.rootNodes),g=this._recurse(f.nodes);return(k=this.errors).push.apply(k,f.errors),this.errors.length>0?new h.HtmlParseTreeResult([],this.errors):new h.HtmlParseTreeResult(g,[]);var k},a.prototype._processI18nPart=function(a){try{return a.hasI18n?this._mergeI18Part(a):this._recurseIntoI18nPart(a)}catch(b){if(b instanceof l.I18nError)return this.errors.push(b),[];throw b}},a.prototype._mergeI18Part=function(a){var b=a.createMessage(this._parser,this._interpolationConfig),c=k.id(b);if(!d.StringMapWrapper.contains(this._messages,c))throw new l.I18nError(a.sourceSpan,"Cannot find message for id '"+c+"', content '"+b.content+"'.");var e=this._messages[c];return this._mergeTrees(a,e,a.children)},a.prototype._recurseIntoI18nPart=function(a){if(f.isPresent(a.rootElement)){var b=a.rootElement,c=this._recurse(a.children),d=this._i18nAttributes(b);return[new g.HtmlElementAst(b.name,d,c,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)]}return f.isPresent(a.rootTextNode)?[a.rootTextNode]:this._recurse(a.children)},a.prototype._recurse=function(a){var b=this,c=l.partition(a,this.errors,this._implicitTags);return d.ListWrapper.flatten(c.map(function(a){return b._processI18nPart(a)}))},a.prototype._mergeTrees=function(a,b,c){var d=new q;g.htmlVisitAll(d,c);var h=this._mergeTreesHelper(b,d.mapping);if(f.isPresent(a.rootElement)){var i=a.rootElement,j=this._i18nAttributes(i);return[new g.HtmlElementAst(i.name,j,h,i.sourceSpan,i.startSourceSpan,i.endSourceSpan)]}if(f.isPresent(a.rootTextNode))throw new e.BaseException("should not be reached");return h},a.prototype._mergeTreesHelper=function(a,b){var c=this;return a.map(function(d){if(d instanceof g.HtmlElementAst)return c._mergeElementOrInterpolation(d,a,b);if(d instanceof g.HtmlTextAst)return d;throw new e.BaseException("should not be reached")})},a.prototype._mergeElementOrInterpolation=function(a,b,c){var d=this._getName(a),g=d[0],h=f.NumberWrapper.parseInt(d.substring(1),10),i=c[h];if("t"==g)return this._mergeTextInterpolation(a,i);if("e"==g)return this._mergeElement(a,i,c);throw new e.BaseException("should not be reached")},a.prototype._getName=function(a){if(a.name!=m)throw new l.I18nError(a.sourceSpan,'Unexpected tag "'+a.name+'". Only "'+m+'" tags are allowed.');var b=a.attrs.filter(function(a){return a.name==n});if(0==b.length)throw new l.I18nError(a.sourceSpan,'Missing "'+n+'" attribute.');return b[0].value},a.prototype._mergeTextInterpolation=function(a,b){var c=this._parser.splitInterpolation(b.value,b.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=this._messagesContent.substring(a.startSourceSpan.end.offset,a.endSourceSpan.start.offset),h=this._replacePlaceholdersWithExpressions(e,d,b.sourceSpan);return new g.HtmlTextAst(h,b.sourceSpan)},a.prototype._mergeElement=function(a,b,c){var d=this._mergeTreesHelper(a.children,c);return new g.HtmlElementAst(b.name,this._i18nAttributes(b),d,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)},a.prototype._i18nAttributes=function(a){var b=this,c=[],e=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[];return a.attrs.forEach(function(f){if(!f.name.startsWith(l.I18N_ATTR_PREFIX)&&f.name!=l.I18N_ATTR){var h,i=a.attrs.filter(function(a){return a.name==""+l.I18N_ATTR_PREFIX+f.name});if(0==i.length){if(-1==e.indexOf(f.name))return void c.push(f);h=l.messageFromAttribute(b._parser,b._interpolationConfig,f)}else h=l.messageFromI18nAttribute(b._parser,b._interpolationConfig,a,i[0]);var j=k.id(h);if(!d.StringMapWrapper.contains(b._messages,j))throw new l.I18nError(f.sourceSpan,"Cannot find message for id '"+j+"', content '"+h.content+"'.");var m=b._replaceInterpolationInAttr(f,b._messages[j]);c.push(new g.HtmlAttrAst(f.name,m,f.sourceSpan))}}),c},a.prototype._replaceInterpolationInAttr=function(a,b){var c=this._parser.splitInterpolation(a.value,a.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=b[0],h=b[b.length-1],i=e.sourceSpan.start.offset,j=h instanceof g.HtmlElementAst?h.endSourceSpan.end.offset:h.sourceSpan.end.offset,k=this._messagesContent.substring(i,j);return this._replacePlaceholdersWithExpressions(k,d,a.sourceSpan)},a.prototype._replacePlaceholdersWithExpressions=function(a,b,c){var d=this,e=this._buildExprMap(b);return f.RegExpWrapper.replaceAll(o,a,function(a){var b=a[2],f=b.substring(1,b.length-1);return d._convertIntoExpression(f,e,c)})},a.prototype._buildExprMap=function(a){for(var b=new Map,c=new Map,d=0;d-1;d.push(new w(i,null,i.children,q.isPresent(k)?k.value:null,l))}else i instanceof r.HtmlTextAst&&d.push(new w(null,i,null,null,!1))}return d}function e(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&a.value.startsWith("i18n")}function f(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&"/i18n"===a.value}function g(a){for(var c=a.attrs,d=0;d1?b[1]:null}function j(a,b,c,d){var e=d.name.substring(5),f=c.attrs.find(function(a){return a.name==e});if(f)return k(a,b,f,h(d.value),i(d.value));throw new v(c.sourceSpan,"Missing attribute '"+e+"'.")}function k(a,b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null);var f=l(c.value,c.sourceSpan,a,b);return new t.Message(f,d,e)}function l(a,b,c,d){try{var e=c.splitInterpolation(a,b.toString(),d),f=new Map;if(q.isPresent(e)){for(var g="",h=0;h'}return g}return a}catch(j){return a}}function m(a,b){var c=q.StringWrapper.split(a,u);return c.length>1?c[1]:""+b}function n(a,b){var c=a.get(b);return q.isPresent(c)?(a.set(b,c+1),b+"_"+c):(a.set(b,1),b)}function o(a,b,c){var d=new x(b,c);return r.htmlVisitAll(d,a).join("")}var p=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},q=a("1f"),r=a("3b"),s=a("43"),t=a("42");b.I18N_ATTR="i18n",b.I18N_ATTR_PREFIX="i18n-";var u=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*"([\s\S]*?)"[\s\S]*\)/g,v=function(a){function b(b,c){a.call(this,b,c)}return p(b,a),b}(s.ParseError);b.I18nError=v,b.partition=d;var w=function(){function a(a,b,c,d,e){this.rootElement=a,this.rootTextNode=b,this.children=c,this.i18n=d,this.hasI18n=e}return Object.defineProperty(a.prototype,"sourceSpan",{get:function(){return q.isPresent(this.rootElement)?this.rootElement.sourceSpan:q.isPresent(this.rootTextNode)?this.rootTextNode.sourceSpan:this.children[0].sourceSpan},enumerable:!0,configurable:!0}),a.prototype.createMessage=function(a,b){return new t.Message(o(this.children,a,b),h(this.i18n),i(this.i18n))},a}();b.Part=w,b.meaning=h,b.description=i,b.messageFromI18nAttribute=j,b.messageFromAttribute=k,b.removeInterpolation=l,b.getPhNameFromBinding=m,b.dedupePhName=n,b.stringifyNodes=o;var x=function(){function a(a,b){this._parser=a,this._interpolationConfig=b,this._index=0}return a.prototype.visitElement=function(a,b){var c=this._index++,d=this._join(r.htmlVisitAll(this,a.children),"");return''+d+""},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){var c=this._index++,d=l(a.value,a.sourceSpan,this._parser,this._interpolationConfig);return d!=a.value?''+d+"":a.value},a.prototype.visitComment=function(a,b){return""},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a.prototype._join=function(a,b){return a.filter(function(a){return a.length>0}).join(b)},a}();return c.exports}),a.registerDynamic("44",["19","1f","3b","41","42","3f","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){var b={};return a.forEach(function(a){e.StringMapWrapper.contains(b,i.id(a))||(b[i.id(a)]=a)}),e.StringMapWrapper.values(b)}var e=a("19"),f=a("1f"),g=a("3b"),h=a("41"),i=a("42"),j=a("3f"),k=function(){function a(a,b){this.messages=a,this.errors=b}return a}();b.ExtractionResult=k,b.removeDuplicates=d;var l=function(){function a(a,b,c,d){this._htmlParser=a,this._parser=b,this._implicitTags=c,this._implicitAttrs=d}return a.prototype.extract=function(a,b,c){void 0===c&&(c=h.DEFAULT_INTERPOLATION_CONFIG),this._messages=[],this._errors=[];var d=this._htmlParser.parse(a,b,!0);return 0==d.errors.length&&this._recurse(d.rootNodes,c),new k(this._messages,this._errors.concat(d.errors))},a.prototype._extractMessagesFromPart=function(a,b){a.hasI18n?(this._messages.push(a.createMessage(this._parser,b)),this._recurseToExtractMessagesFromAttributes(a.children,b)):this._recurse(a.children,b),f.isPresent(a.rootElement)&&this._extractMessagesFromAttributes(a.rootElement,b)},a.prototype._recurse=function(a,b){var c=this;if(f.isPresent(a)){var d=j.partition(a,this._errors,this._implicitTags);d.forEach(function(a){return c._extractMessagesFromPart(a,b)})}},a.prototype._recurseToExtractMessagesFromAttributes=function(a,b){var c=this;a.forEach(function(a){a instanceof g.HtmlElementAst&&(c._extractMessagesFromAttributes(a,b),c._recurseToExtractMessagesFromAttributes(a.children,b))})},a.prototype._extractMessagesFromAttributes=function(a,b){var c=this,d=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[],e=[];a.attrs.filter(function(a){return a.name.startsWith(j.I18N_ATTR_PREFIX)}).forEach(function(d){try{e.push(d.name.substring(j.I18N_ATTR_PREFIX.length)),c._messages.push(j.messageFromI18nAttribute(c._parser,b,a,d))}catch(f){if(!(f instanceof j.I18nError))throw f;c._errors.push(f)}}),a.attrs.filter(function(a){return!a.name.startsWith(j.I18N_ATTR_PREFIX)}).filter(function(a){return-1==e.indexOf(a.name)}).filter(function(a){return d.indexOf(a.name)>-1}).forEach(function(a){return c._messages.push(j.messageFromAttribute(c._parser,b,a))})},a}();b.MessageExtractor=l}(a("45")),c.exports}),a.registerDynamic("42",["1f"],!0,function(a,b,c){"use strict";function d(a){var b=e.isPresent(a.meaning)?a.meaning:"",c=e.isPresent(a.content)?a.content:"";return e.escape("$ng|"+b+"|"+c)}var e=a("1f"),f=function(){function a(a,b,c){void 0===c&&(c=null),this.content=a,this.meaning=b,this.description=c}return a}();return b.Message=f,b.id=d,c.exports}),a.registerDynamic("46",["1f","3b","36","43","42"],!0,function(a,b,c){"use strict";function d(a){var b=a.map(function(a){return i(a)}).join("");return""+b+""}function e(a,b){var c=new o.HtmlParser,d=j(a.trim()),e=c.parse(d,b);if(e.errors.length>0)return new v(null,{},e.errors);if(f(e.rootNodes))return new v(null,{},[new w(null,'Missing element "'+u+'"')]);var h=e.rootNodes[0],i=[],k={};return g(h.children,k,i),0==i.length?new v(d,k,[]):new v(null,{},i)}function f(a){return a.length<1||!(a[0]instanceof n.HtmlElementAst)||a[0].name!=u}function g(a,b,c){a.forEach(function(a){if(a instanceof n.HtmlElementAst){var d=a;if(d.name!=t)return void c.push(new w(a.sourceSpan,'Unexpected element "'+d.name+'"'));var e=h(d);if(m.isBlank(e))return void c.push(new w(a.sourceSpan,'"'+s+'" attribute is missing'));b[e]=d.children}})}function h(a){var b=a.attrs.filter(function(a){return a.name==s});return b.length>0?b[0].value:null}function i(a){var b=m.isPresent(a.description)?" desc='"+k(a.description)+"'":"",c=m.isPresent(a.meaning)?" meaning='"+k(a.meaning)+"'":"";return""+a.content+""}function j(a){return m.RegExpWrapper.replaceAll(r,a,function(a){var b=a[2];return""})}function k(a){return x.reduce(function(a,b){return a.replace(b[0],b[1])},a)}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("1f"),n=a("3b"),o=a("36"),p=a("43"),q=a("42"),r=m.RegExpWrapper.create('\\'),s="id",t="msg",u="message-bundle";b.serializeXmb=d;var v=function(){function a(a,b,c){this.content=a,this.messages=b,this.errors=c}return a}();b.XmbDeserializationResult=v;var w=function(a){function b(b,c){a.call(this,b,c)}return l(b,a),b}(p.ParseError);b.XmbDeserializationError=w,b.deserializeXmb=e;var x=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]];return c.exports}),a.registerDynamic("47",["9","1a","1f"],!0,function(a,b,c){"use strict";function d(a,b){if(f.isDevMode()&&!h.isBlank(b)){if(!h.isArray(b))throw new g.BaseException("Expected '"+a+"' to be an array of strings.");for(var c=0;c]/,/^[{}]$/,/&(#|[a-z])/i];return b.assertInterpolationSymbols=e,c.exports}),a.registerDynamic("48",["9","26","19"],!0,function(a,b,c){"use strict";function d(a,b){var c=h.get(a),d=i.get(a);return f.reflector.hasLifecycleHook(b,c,d)}var e=a("9"),f=a("26"),g=a("19"),h=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,e.OnInit],[f.LifecycleHooks.OnDestroy,e.OnDestroy],[f.LifecycleHooks.DoCheck,e.DoCheck],[f.LifecycleHooks.OnChanges,e.OnChanges],[f.LifecycleHooks.AfterContentInit,e.AfterContentInit],[f.LifecycleHooks.AfterContentChecked,e.AfterContentChecked],[f.LifecycleHooks.AfterViewInit,e.AfterViewInit],[f.LifecycleHooks.AfterViewChecked,e.AfterViewChecked]]),i=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,"ngOnInit"],[f.LifecycleHooks.OnDestroy,"ngOnDestroy"],[f.LifecycleHooks.DoCheck,"ngDoCheck"],[f.LifecycleHooks.OnChanges,"ngOnChanges"],[f.LifecycleHooks.AfterContentInit,"ngAfterContentInit"],[f.LifecycleHooks.AfterContentChecked,"ngAfterContentChecked"],[f.LifecycleHooks.AfterViewInit,"ngAfterViewInit"],[f.LifecycleHooks.AfterViewChecked,"ngAfterViewChecked"]]);return b.hasLifecycleHook=d,c.exports}),a.registerDynamic("34",["9","26","19","1a","1f"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.DirectiveMetadata}var e=a("9"),f=a("26"),g=a("19"),h=a("1a"),i=a("1f"),j=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(i.isPresent(b)){var c=b.find(d);if(i.isPresent(c)){var f=this._reflector.propMetadata(a);return this._mergeWithPropertyMetadata(c,f,a)}}throw new h.BaseException("No Directive annotation found on "+i.stringify(a))},a.prototype._mergeWithPropertyMetadata=function(a,b,c){var d=[],f=[],h={},j={};return g.StringMapWrapper.forEach(b,function(a,b){a.forEach(function(a){if(a instanceof e.InputMetadata&&(i.isPresent(a.bindingPropertyName)?d.push(b+": "+a.bindingPropertyName):d.push(b)),a instanceof e.OutputMetadata&&(i.isPresent(a.bindingPropertyName)?f.push(b+": "+a.bindingPropertyName):f.push(b)),a instanceof e.HostBindingMetadata&&(i.isPresent(a.hostPropertyName)?h["["+a.hostPropertyName+"]"]=b:h["["+b+"]"]=b),a instanceof e.HostListenerMetadata){var c=i.isPresent(a.args)?a.args.join(", "):"";h["("+a.eventName+")"]=b+"("+c+")"}a instanceof e.QueryMetadata&&(j[b]=a)})}),this._merge(a,d,f,h,j,c)},a.prototype._merge=function(a,b,c,d,f,j){var k,l=i.isPresent(a.inputs)?g.ListWrapper.concat(a.inputs,b):b;i.isPresent(a.outputs)?(a.outputs.forEach(function(a){if(g.ListWrapper.contains(c,a))throw new h.BaseException("Output event '"+a+"' defined multiple times in '"+i.stringify(j)+"'")}),k=g.ListWrapper.concat(a.outputs,c)):k=c;var m=i.isPresent(a.host)?g.StringMapWrapper.merge(a.host,d):d,n=i.isPresent(a.queries)?g.StringMapWrapper.merge(a.queries,f):f;return a instanceof e.ComponentMetadata?new e.ComponentMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,moduleId:a.moduleId,queries:n,changeDetection:a.changeDetection,providers:a.providers,viewProviders:a.viewProviders,precompile:a.precompile}):new e.DirectiveMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,queries:n,providers:a.providers})},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.DirectiveResolver=j,b.CODEGEN_DIRECTIVE_RESOLVER=new j(f.reflector),c.exports}),a.registerDynamic("35",["9","26","1a","1f"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.PipeMetadata}var e=a("9"),f=a("26"),g=a("1a"),h=a("1f"),i=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(h.isPresent(b)){var c=b.find(d);if(h.isPresent(c))return c}throw new g.BaseException("No Pipe decorator found on "+h.stringify(a))},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.PipeResolver=i,c.exports}),a.registerDynamic("33",["9","26","1f","1a"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("26"),f=a("1f"),g=a("1a"),h=function(){function a(a){void 0===a&&(a=e.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b;if(this._reflector.annotations(a).forEach(function(a){a instanceof d.ComponentMetadata&&(b=a)}),f.isPresent(b)){if(f.isBlank(b.template)&&f.isBlank(b.templateUrl))throw new g.BaseException("Component '"+f.stringify(a)+"' must have either 'template' or 'templateUrl' set.");return new d.ViewMetadata({templateUrl:b.templateUrl,template:b.template,directives:b.directives,pipes:b.pipes,encapsulation:b.encapsulation,styles:b.styles,styleUrls:b.styleUrls,animations:b.animations,interpolation:b.interpolation})}throw new g.BaseException("Could not compile '"+f.stringify(a)+"' because it is not a component.")},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:e.ReflectorReader}],a}();return b.ViewResolver=h,c.exports}),a.registerDynamic("2d",["9","26","19","1a","1f","47","18","2e","48","34","35","31","1c","33"],!0,function(a,b,c){"use strict";function d(a,b){var c=[];return r.isPresent(b)&&f(b,c),r.isPresent(a.directives)&&f(a.directives,c),c}function e(a,b){var c=[];return r.isPresent(b)&&f(b,c),r.isPresent(a.pipes)&&f(a.pipes,c),c}function f(a,b){void 0===b&&(b=[]);for(var c=0;c0?d:"package:"+d+z.MODULE_SUFFIX}return a.importUri(b)}function l(a){return z.visitValue(a,new C,null)}var m=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},n=a("9"),o=a("26"),p=a("19"),q=a("1a"),r=a("1f"),s=a("47"),t=a("18"),u=a("2e"),v=a("48"),w=a("34"),x=a("35"),y=a("31"),z=a("1c"),A=a("33"),B=function(){function a(a,b,c,d,e){void 0===e&&(e=o.reflector),this._directiveResolver=a,this._pipeResolver=b,this._viewResolver=c,this._config=d,this._reflector=e,this._directiveCache=new Map,this._pipeCache=new Map,this._anonymousTypes=new Map,this._anonymousTypeIndex=0}return a.prototype.sanitizeTokenName=function(a){var b=r.stringify(a);if(b.indexOf("(")>=0){var c=this._anonymousTypes.get(a);r.isBlank(c)&&(this._anonymousTypes.set(a,this._anonymousTypeIndex++),c=this._anonymousTypes.get(a)),b="anonymous_token_"+c+"_"}return z.sanitizeIdentifier(b)},a.prototype.clearCacheFor=function(a){this._directiveCache["delete"](a),this._pipeCache["delete"](a)},a.prototype.clearCache=function(){this._directiveCache.clear(),this._pipeCache.clear()},a.prototype.getAnimationEntryMetadata=function(a){var b=this,c=a.definitions.map(function(a){return b.getAnimationStateMetadata(a)});return new t.CompileAnimationEntryMetadata(a.name,c)},a.prototype.getAnimationStateMetadata=function(a){if(a instanceof n.AnimationStateDeclarationMetadata){var b=this.getAnimationStyleMetadata(a.styles);return new t.CompileAnimationStateDeclarationMetadata(a.stateNameExpr,b)}return a instanceof n.AnimationStateTransitionMetadata?new t.CompileAnimationStateTransitionMetadata(a.stateChangeExpr,this.getAnimationMetadata(a.steps)):null},a.prototype.getAnimationStyleMetadata=function(a){return new t.CompileAnimationStyleMetadata(a.offset,a.styles)},a.prototype.getAnimationMetadata=function(a){var b=this;if(a instanceof n.AnimationStyleMetadata)return this.getAnimationStyleMetadata(a);if(a instanceof n.AnimationKeyframesSequenceMetadata)return new t.CompileAnimationKeyframesSequenceMetadata(a.steps.map(function(a){return b.getAnimationStyleMetadata(a)}));if(a instanceof n.AnimationAnimateMetadata){var c=this.getAnimationMetadata(a.styles);return new t.CompileAnimationAnimateMetadata(a.timings,c)}if(a instanceof n.AnimationWithStepsMetadata){var d=a.steps.map(function(a){return b.getAnimationMetadata(a)});return a instanceof n.AnimationGroupMetadata?new t.CompileAnimationGroupMetadata(d):new t.CompileAnimationSequenceMetadata(d)}return null},a.prototype.getDirectiveMetadata=function(a){var b=this,c=this._directiveCache.get(a);if(r.isBlank(c)){var d=this._directiveResolver.resolve(a),e=null,h=null,i=[],l=j(a),m=[];if(d instanceof n.ComponentMetadata){var p=d,q=this._viewResolver.resolve(a);s.assertArrayOfStrings("styles",q.styles),s.assertInterpolationSymbols("interpolation",q.interpolation);var u=r.isPresent(q.animations)?q.animations.map(function(a){return b.getAnimationEntryMetadata(a)}):null;s.assertArrayOfStrings("styles",q.styles),s.assertArrayOfStrings("styleUrls",q.styleUrls),e=new t.CompileTemplateMetadata({encapsulation:q.encapsulation,template:q.template,templateUrl:q.templateUrl,styles:q.styles,styleUrls:q.styleUrls,animations:u,interpolation:q.interpolation}),h=p.changeDetection,r.isPresent(d.viewProviders)&&(i=this.getProvidersMetadata(g(a,d.viewProviders,"viewProviders"))),l=k(this._reflector,a,p),p.precompile&&(m=f(p.precompile).map(function(a){return b.getTypeMetadata(a,j(a))}))}var w=[];r.isPresent(d.providers)&&(w=this.getProvidersMetadata(g(a,d.providers,"providers")));var x=[],y=[];r.isPresent(d.queries)&&(x=this.getQueriesMetadata(d.queries,!1,a),y=this.getQueriesMetadata(d.queries,!0,a)),c=t.CompileDirectiveMetadata.create({selector:d.selector,exportAs:d.exportAs,isComponent:r.isPresent(e),type:this.getTypeMetadata(a,l),template:e,changeDetection:h,inputs:d.inputs,outputs:d.outputs,host:d.host,lifecycleHooks:o.LIFECYCLE_HOOKS_VALUES.filter(function(b){return v.hasLifecycleHook(b,a)}),providers:w,viewProviders:i,queries:x,viewQueries:y,precompile:m}),this._directiveCache.set(a,c)}return c},a.prototype.maybeGetDirectiveMetadata=function(a){try{return this.getDirectiveMetadata(a)}catch(b){if(-1!==b.message.indexOf("No Directive annotation"))return null;throw b}},a.prototype.getTypeMetadata=function(a,b,c){return void 0===c&&(c=null),new t.CompileTypeMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getFactoryMetadata=function(a,b,c){return void 0===c&&(c=null),new t.CompileFactoryMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getPipeMetadata=function(a){var b=this._pipeCache.get(a);if(r.isBlank(b)){var c=this._pipeResolver.resolve(a);b=new t.CompilePipeMetadata({type:this.getTypeMetadata(a,j(a)),name:c.name,pure:c.pure,lifecycleHooks:o.LIFECYCLE_HOOKS_VALUES.filter(function(b){return v.hasLifecycleHook(b,a)})}),this._pipeCache.set(a,b)}return b},a.prototype.getViewDirectivesMetadata=function(a){for(var b=this,c=this._viewResolver.resolve(a),e=d(c,this._config.platformDirectives),f=0;fc;c++)b+=" ";return b}var f=a("1a"),g=a("1f"),h=a("1b"),i=/'|\\|\n|\r|\$/g;b.CATCH_ERROR_VAR=h.variable("error"),b.CATCH_STACK_VAR=h.variable("stack");var j=function(){function a(){}return a}();b.OutputEmitter=j;var k=function(){function a(a){this.indent=a,this.parts=[]}return a}(),l=function(){function a(a,b){this._exportedVars=a,this._indent=b,this._classes=[],this._lines=[new k(b)]}return a.createRoot=function(b){return new a(b,0)},Object.defineProperty(a.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),a.prototype.isExportedVar=function(a){return-1!==this._exportedVars.indexOf(a)},a.prototype.println=function(a){void 0===a&&(a=""),this.print(a,!0); },a.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},a.prototype.print=function(a,b){void 0===b&&(b=!1),a.length>0&&this._currentLine.parts.push(a),b&&this._lines.push(new k(this._indent))},a.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},a.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},a.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},a.prototype.pushClass=function(a){this._classes.push(a)},a.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(a.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),a.prototype.toSource=function(){var a=this._lines;return 0===a[a.length-1].parts.length&&(a=a.slice(0,a.length-1)),a.map(function(a){return a.parts.length>0?e(a.indent)+a.parts.join(""):""}).join("\n")},a}();b.EmitterVisitorContext=l;var m=function(){function a(a){this._escapeDollarInStrings=a}return a.prototype.visitExpressionStmt=function(a,b){return a.expr.visitExpression(this,b),b.println(";"),null},a.prototype.visitReturnStmt=function(a,b){return b.print("return "),a.value.visitExpression(this,b),b.println(";"),null},a.prototype.visitIfStmt=function(a,b){b.print("if ("),a.condition.visitExpression(this,b),b.print(") {");var c=g.isPresent(a.falseCase)&&a.falseCase.length>0;return a.trueCase.length<=1&&!c?(b.print(" "),this.visitAllStatements(a.trueCase,b),b.removeEmptyLastLine(),b.print(" ")):(b.println(),b.incIndent(),this.visitAllStatements(a.trueCase,b),b.decIndent(),c&&(b.println("} else {"),b.incIndent(),this.visitAllStatements(a.falseCase,b),b.decIndent())),b.println("}"),null},a.prototype.visitThrowStmt=function(a,b){return b.print("throw "),a.error.visitExpression(this,b),b.println(";"),null},a.prototype.visitCommentStmt=function(a,b){var c=a.comment.split("\n");return c.forEach(function(a){b.println("// "+a)}),null},a.prototype.visitWriteVarExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),b.print(a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWriteKeyExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("] = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWritePropExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("."+a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitInvokeMethodExpr=function(a,b){a.receiver.visitExpression(this,b);var c=a.name;return g.isPresent(a.builtin)&&(c=this.getBuiltinMethodName(a.builtin),g.isBlank(c))?null:(b.print("."+c+"("),this.visitAllExpressions(a.args,b,","),b.print(")"),null)},a.prototype.visitInvokeFunctionExpr=function(a,b){return a.fn.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitReadVarExpr=function(a,c){var d=a.name;if(g.isPresent(a.builtin))switch(a.builtin){case h.BuiltinVar.Super:d="super";break;case h.BuiltinVar.This:d="this";break;case h.BuiltinVar.CatchError:d=b.CATCH_ERROR_VAR.name;break;case h.BuiltinVar.CatchStack:d=b.CATCH_STACK_VAR.name;break;default:throw new f.BaseException("Unknown builtin variable "+a.builtin)}return c.print(d),null},a.prototype.visitInstantiateExpr=function(a,b){return b.print("new "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitLiteralExpr=function(a,b){var c=a.value;return g.isString(c)?b.print(d(c,this._escapeDollarInStrings)):g.isBlank(c)?b.print("null"):b.print(""+c),null},a.prototype.visitConditionalExpr=function(a,b){return b.print("("),a.condition.visitExpression(this,b),b.print("? "),a.trueCase.visitExpression(this,b),b.print(": "),a.falseCase.visitExpression(this,b),b.print(")"),null},a.prototype.visitNotExpr=function(a,b){return b.print("!"),a.condition.visitExpression(this,b),null},a.prototype.visitBinaryOperatorExpr=function(a,b){var c;switch(a.operator){case h.BinaryOperator.Equals:c="==";break;case h.BinaryOperator.Identical:c="===";break;case h.BinaryOperator.NotEquals:c="!=";break;case h.BinaryOperator.NotIdentical:c="!==";break;case h.BinaryOperator.And:c="&&";break;case h.BinaryOperator.Or:c="||";break;case h.BinaryOperator.Plus:c="+";break;case h.BinaryOperator.Minus:c="-";break;case h.BinaryOperator.Divide:c="/";break;case h.BinaryOperator.Multiply:c="*";break;case h.BinaryOperator.Modulo:c="%";break;case h.BinaryOperator.Lower:c="<";break;case h.BinaryOperator.LowerEquals:c="<=";break;case h.BinaryOperator.Bigger:c=">";break;case h.BinaryOperator.BiggerEquals:c=">=";break;default:throw new f.BaseException("Unknown operator "+a.operator)}return b.print("("),a.lhs.visitExpression(this,b),b.print(" "+c+" "),a.rhs.visitExpression(this,b),b.print(")"),null},a.prototype.visitReadPropExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("."),b.print(a.name),null},a.prototype.visitReadKeyExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("]"),null},a.prototype.visitLiteralArrayExpr=function(a,b){var c=a.entries.length>1;return b.print("[",c),b.incIndent(),this.visitAllExpressions(a.entries,b,",",c),b.decIndent(),b.print("]",c),null},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,e=a.entries.length>1;return b.print("{",e),b.incIndent(),this.visitAllObjects(function(a){b.print(d(a[0],c._escapeDollarInStrings)+": "),a[1].visitExpression(c,b)},a.entries,b,",",e),b.decIndent(),b.print("}",e),null},a.prototype.visitAllExpressions=function(a,b,c,d){var e=this;void 0===d&&(d=!1),this.visitAllObjects(function(a){return a.visitExpression(e,b)},a,b,c,d)},a.prototype.visitAllObjects=function(a,b,c,d,e){void 0===e&&(e=!1);for(var f=0;f0&&c.print(d,e),a(b[f]);e&&c.println()},a.prototype.visitAllStatements=function(a,b){var c=this;a.forEach(function(a){return a.visitStatement(c,b)})},a}();return b.AbstractEmitterVisitor=m,b.escapeSingleQuoteString=d,c.exports}),a.registerDynamic("27",["1a","1f","20","1b"],!0,function(a,b,c){"use strict";function d(a){var b,c=new l(j),d=h.EmitterVisitorContext.createRoot([]);return b=g.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof i.Statement)a.visitStatement(c,d);else if(a instanceof i.Expression)a.visitExpression(c,d);else{if(!(a instanceof i.Type))throw new f.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1a"),g=a("1f"),h=a("20"),i=a("1b"),j="asset://debug/lib";b.debugOutputAstAsTypeScript=d;var k=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=new l(a),f=h.EmitterVisitorContext.createRoot(c);e.visitAllStatements(b,f);var g=[];return e.importsWithPrefixes.forEach(function(b,c){g.push("imp"+("ort * as "+b+" from '"+d._importGenerator.getImportPath(a,c)+"';"))}),g.push(f.toSource()),g.join("\n")},a}();b.TypeScriptEmitter=k;var l=function(a){function b(b){a.call(this,!1),this._moduleUrl=b,this.importsWithPrefixes=new Map}return e(b,a),b.prototype.visitType=function(a,b,c){void 0===c&&(c="any"),g.isPresent(a)?a.visitType(this,b):b.print(c)},b.prototype.visitExternalExpr=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitDeclareVarStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),a.hasModifier(i.StmtModifier.Final)?b.print("const"):b.print("var"),b.print(" "+a.name+":"),this.visitType(a.type,b),b.print(" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return b.print("(<"),a.type.visitType(this,b),b.print(">"),a.value.visitExpression(this,b),b.print(")"),null},b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),b.isExportedVar(a.name)&&b.print("export "),b.print("class "+a.name),g.isPresent(a.parent)&&(b.print(" extends "),a.parent.visitExpression(this,b)),b.println(" {"),b.incIndent(),a.fields.forEach(function(a){return c._visitClassField(a,b)}),g.isPresent(a.constructorMethod)&&this._visitClassConstructor(a,b),a.getters.forEach(function(a){return c._visitClassGetter(a,b)}),a.methods.forEach(function(a){return c._visitClassMethod(a,b)}),b.decIndent(),b.println("}"),b.popClass(),null},b.prototype._visitClassField=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name),b.print(":"),this.visitType(a.type,b),b.println(";")},b.prototype._visitClassGetter=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print("get "+a.name+"()"),b.print(":"),this.visitType(a.type,b),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassConstructor=function(a,b){b.print("constructor("),this._visitParams(a.constructorMethod.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.constructorMethod.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" => {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),b.print("function "+a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+h.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[h.CATCH_STACK_VAR.set(h.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[i.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case i.BuiltinTypeName.Bool:c="boolean";break;case i.BuiltinTypeName.Dynamic:c="any";break;case i.BuiltinTypeName.Function:c="Function";break;case i.BuiltinTypeName.Number:c="number";break;case i.BuiltinTypeName.Int:c="number";break;case i.BuiltinTypeName.String:c="string";break;default:throw new f.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return this.visitType(a.of,b),b.print("[]"),null},b.prototype.visitMapType=function(a,b){return b.print("{[key: string]:"),this.visitType(a.valueType,b),b.print("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case i.BuiltinMethod.ConcatArray:b="concat";break;case i.BuiltinMethod.SubscribeObservable:b="subscribe";break;case i.BuiltinMethod.bind:b="bind";break;default:throw new f.BaseException("Unknown builtin method: "+a)}return b},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){b.print(a.name),b.print(":"),c.visitType(a.type,b)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(g.isBlank(a.name))throw new f.BaseException("Internal error: unknown identifier "+a);if(g.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);g.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),g.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(h.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("4a",["26"],!0,function(a,b,c){"use strict";function d(a,c){for(var d=0,e=c;d0?f.push(i):(f.length>0&&(d.push(f.join("")),c.push(D),f=[]),c.push(i)),i==B&&e++}return f.length>0&&(d.push(f.join("")),c.push(D)),new F(c.join(""),d)}var g=a("19"),h=a("1f"),i=function(){function a(){this.strictStyling=!0}return a.prototype.shimCssText=function(a,b,c){return void 0===c&&(c=""),a=d(a),a=this._insertDirectives(a),this._scopeCssText(a,b,c)},a.prototype._insertDirectives=function(a){return a=this._insertPolyfillDirectivesInCssText(a),this._insertPolyfillRulesInCssText(a)},a.prototype._insertPolyfillDirectivesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,j,function(a){return a[1]+"{"})},a.prototype._insertPolyfillRulesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,k,function(a){var b=a[0];return b=h.StringWrapper.replace(b,a[1],""),b=h.StringWrapper.replace(b,a[2],""),a[3]+b})},a.prototype._scopeCssText=function(a,b,c){var d=this._extractUnscopedRulesFromCssText(a);return a=this._insertPolyfillHostInCssText(a),a=this._convertColonHost(a),a=this._convertColonHostContext(a),a=this._convertShadowDOMSelectors(a),h.isPresent(b)&&(a=this._scopeSelectors(a,b,c)),a=a+"\n"+d,a.trim()},a.prototype._extractUnscopedRulesFromCssText=function(a){for(var b,c="",d=h.RegExpWrapper.matcher(l,a);h.isPresent(b=h.RegExpMatcherWrapper.next(d));){var e=b[0];e=h.StringWrapper.replace(e,b[2],""),e=h.StringWrapper.replace(e,b[1],b[3]),c+=e+"\n\n"}return c},a.prototype._convertColonHost=function(a){return this._convertColonRule(a,p,this._colonHostPartReplacer)},a.prototype._convertColonHostContext=function(a){return this._convertColonRule(a,q,this._colonHostContextPartReplacer)},a.prototype._convertColonRule=function(a,b,c){return h.StringWrapper.replaceAllMapped(a,b,function(a){if(h.isPresent(a[2])){for(var b=a[2].split(","),d=[],e=0;e","+","~"],e=a,f="["+b+"]",i=0;i0&&!g.ListWrapper.contains(d,b)&&!h.StringWrapper.contains(b,f)){var c=/([^:]*)(:*)(.*)/g,e=h.RegExpWrapper.firstMatch(c,b);h.isPresent(e)&&(a=e[1]+f+e[2]+e[3])}return a}).join(j)}return e},a.prototype._insertPolyfillHostInCssText=function(a){return a=h.StringWrapper.replaceAll(a,x,n),a=h.StringWrapper.replaceAll(a,w,m)},a}();b.ShadowCss=i;var j=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,k=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,l=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,m="-shadowcsshost",n="-shadowcsscontext",o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",p=h.RegExpWrapper.create("("+m+o,"im"),q=h.RegExpWrapper.create("("+n+o,"im"),r=m+"-no-combinator",s=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],t=/(?:>>>)|(?:\/deep\/)/g,u="([>\\s~+[.,{:][\\s\\S]*)?$",v=h.RegExpWrapper.create(m,"im"),w=/:host/gim,x=/:host-context/gim,y=/\/\*[\s\S]*?\*\//g,z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,A=/([{}])/g,B="{",C="}",D="%BLOCK%",E=function(){function a(a,b){this.selector=a,this.content=b}return a}();b.CssRule=E,b.processRules=e;var F=function(){function a(a,b){this.escapedString=a,this.blocks=b}return a}()}(a("45")),c.exports}),a.registerDynamic("2a",["9","18","1b","4b","31"],!0,function(a,b,c){"use strict";function d(a){var b="styles";return a&&(b+="_"+a.type.name),b}var e=a("9"),f=a("18"),g=a("1b"),h=a("4b"),i=a("31"),j="%COMP%",k="_nghost-"+j,l="_ngcontent-"+j,m=function(){function a(a,b,c){this.moduleUrl=a,this.isShimmed=b,this.valuePlaceholder=c}return a}();b.StylesCompileDependency=m;var n=function(){function a(a,b){this.componentStylesheet=a,this.externalStylesheets=b}return a}();b.StylesCompileResult=n;var o=function(){function a(a,b,c,d,e){this.statements=a,this.stylesVar=b,this.dependencies=c,this.isShimmed=d,this.meta=e}return a}();b.CompiledStylesheet=o;var p=function(){function a(a){this._urlResolver=a,this._shadowCss=new h.ShadowCss}return a.prototype.compileComponent=function(a){var b=this,c=(a.template.encapsulation===e.ViewEncapsulation.Emulated,[]),d=this._compileStyles(a,new f.CompileStylesheetMetadata({styles:a.template.styles,styleUrls:a.template.styleUrls,moduleUrl:a.type.moduleUrl}),!0);return a.template.externalStylesheets.forEach(function(d){var e=b._compileStyles(a,d,!1);c.push(e)}),new n(d,c)},a.prototype._compileStyles=function(a,b,c){for(var h=this,i=a.template.encapsulation===e.ViewEncapsulation.Emulated,j=b.styles.map(function(a){return g.literal(h._shimIfNeeded(a,i))}),k=[],l=0;l-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;ba?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("1c",["19","1f"],!0,function(a,b,c){"use strict";function d(a){return j.StringWrapper.replaceAllMapped(a,k,function(a){return"-"+a[1].toLowerCase()})}function e(a,b){var c=j.StringWrapper.split(a.trim(),/\s*:\s*/g);return c.length>1?c:b}function f(a){return j.StringWrapper.replaceAll(a,/\W/g,"_")}function g(a,b,c){return j.isArray(a)?b.visitArray(a,c):j.isStrictStringMap(a)?b.visitStringMap(a,c):j.isBlank(a)||j.isPrimitive(a)?b.visitPrimitive(a,c):b.visitOther(a,c)}function h(a,b,c){return void 0===b&&(b=null),void 0===c&&(c="src"),j.IS_DART?null==b?"asset:angular2/"+a+"/"+a+".dart":"asset:angular2/lib/"+a+"/src/"+b+".dart":null==b?"asset:@angular/lib/"+a+"/index":"asset:@angular/lib/"+a+"/src/"+b}var i=a("19"),j=a("1f");b.MODULE_SUFFIX=j.IS_DART?".dart":"";var k=/([A-Z])/g;b.camelCaseToDashCase=d,b.splitAtColon=e,b.sanitizeIdentifier=f,b.visitValue=g;var l=function(){function a(){}return a.prototype.visitArray=function(a,b){var c=this;return a.map(function(a){return g(a,c,b)})},a.prototype.visitStringMap=function(a,b){var c=this,d={};return i.StringMapWrapper.forEach(a,function(a,e){d[e]=g(a,c,b)}),d},a.prototype.visitPrimitive=function(a,b){return a},a.prototype.visitOther=function(a,b){return a},a}();return b.ValueTransformer=l,b.assetUrl=h,c.exports}),a.registerDynamic("51",["9","26","18","1c"],!0,function(a,b,c){"use strict";function d(a){return new g.CompileTokenMetadata({identifier:a})}var e=a("9"),f=a("26"),g=a("18"),h=a("1c"),i=h.assetUrl("core","linker/view"),j=h.assetUrl("core","linker/view_utils"),k=h.assetUrl("core","change_detection/change_detection"),l=f.ViewUtils,m=f.AppView,n=f.DebugAppView,o=f.DebugContext,p=f.AppElement,q=e.ElementRef,r=e.ViewContainerRef,s=e.ChangeDetectorRef,t=e.RenderComponentType,u=e.QueryList,v=e.TemplateRef,w=f.TemplateRef_,x=f.ValueUnwrapper,y=e.Injector,z=e.ViewEncapsulation,A=f.ViewType,B=e.ChangeDetectionStrategy,C=f.StaticNodeDebugInfo,D=e.Renderer,E=e.SimpleChange,F=f.uninitialized,G=f.ChangeDetectorStatus,H=f.flattenNestedViewRenderNodes,I=f.devModeEqual,J=f.interpolate,K=f.checkBinding,L=f.castByValue,M=f.EMPTY_ARRAY,N=f.EMPTY_MAP,O=f.AnimationGroupPlayer,P=f.AnimationSequencePlayer,Q=f.AnimationKeyframe,R=f.AnimationStyles,S=f.NoOpAnimationPlayer,T=h.assetUrl("core","animation/animation_style_util"),U=function(){function a(){}return a.ViewUtils=new g.CompileIdentifierMetadata({name:"ViewUtils",moduleUrl:h.assetUrl("core","linker/view_utils"),runtime:l}),a.AppView=new g.CompileIdentifierMetadata({name:"AppView",moduleUrl:i,runtime:m}),a.DebugAppView=new g.CompileIdentifierMetadata({name:"DebugAppView",moduleUrl:i,runtime:n}),a.AppElement=new g.CompileIdentifierMetadata({name:"AppElement",moduleUrl:h.assetUrl("core","linker/element"),runtime:p}),a.ElementRef=new g.CompileIdentifierMetadata({name:"ElementRef",moduleUrl:h.assetUrl("core","linker/element_ref"),runtime:q}),a.ViewContainerRef=new g.CompileIdentifierMetadata({name:"ViewContainerRef",moduleUrl:h.assetUrl("core","linker/view_container_ref"),runtime:r}),a.ChangeDetectorRef=new g.CompileIdentifierMetadata({name:"ChangeDetectorRef",moduleUrl:h.assetUrl("core","change_detection/change_detector_ref"),runtime:s}),a.RenderComponentType=new g.CompileIdentifierMetadata({name:"RenderComponentType",moduleUrl:h.assetUrl("core","render/api"),runtime:t}),a.QueryList=new g.CompileIdentifierMetadata({name:"QueryList",moduleUrl:h.assetUrl("core","linker/query_list"),runtime:u}),a.TemplateRef=new g.CompileIdentifierMetadata({name:"TemplateRef",moduleUrl:h.assetUrl("core","linker/template_ref"),runtime:v}),a.TemplateRef_=new g.CompileIdentifierMetadata({name:"TemplateRef_",moduleUrl:h.assetUrl("core","linker/template_ref"),runtime:w}),a.CodegenComponentFactoryResolver=new g.CompileIdentifierMetadata({name:"CodegenComponentFactoryResolver",moduleUrl:h.assetUrl("core","linker/component_factory_resolver"),runtime:f.CodegenComponentFactoryResolver}),a.ComponentFactoryResolver=new g.CompileIdentifierMetadata({name:"ComponentFactoryResolver",moduleUrl:h.assetUrl("core","linker/component_factory_resolver"),runtime:e.ComponentFactoryResolver}),a.ValueUnwrapper=new g.CompileIdentifierMetadata({name:"ValueUnwrapper",moduleUrl:k,runtime:x}),a.Injector=new g.CompileIdentifierMetadata({name:"Injector",moduleUrl:h.assetUrl("core","di/injector"),runtime:y}),a.ViewEncapsulation=new g.CompileIdentifierMetadata({name:"ViewEncapsulation",moduleUrl:h.assetUrl("core","metadata/view"),runtime:z}),a.ViewType=new g.CompileIdentifierMetadata({name:"ViewType",moduleUrl:h.assetUrl("core","linker/view_type"),runtime:A}),a.ChangeDetectionStrategy=new g.CompileIdentifierMetadata({name:"ChangeDetectionStrategy",moduleUrl:k,runtime:B}),a.StaticNodeDebugInfo=new g.CompileIdentifierMetadata({name:"StaticNodeDebugInfo",moduleUrl:h.assetUrl("core","linker/debug_context"),runtime:C}),a.DebugContext=new g.CompileIdentifierMetadata({name:"DebugContext",moduleUrl:h.assetUrl("core","linker/debug_context"),runtime:o}),a.Renderer=new g.CompileIdentifierMetadata({name:"Renderer",moduleUrl:h.assetUrl("core","render/api"),runtime:D}),a.SimpleChange=new g.CompileIdentifierMetadata({name:"SimpleChange",moduleUrl:k,runtime:E}),a.uninitialized=new g.CompileIdentifierMetadata({name:"uninitialized",moduleUrl:k,runtime:F}),a.ChangeDetectorStatus=new g.CompileIdentifierMetadata({name:"ChangeDetectorStatus",moduleUrl:k,runtime:G}),a.checkBinding=new g.CompileIdentifierMetadata({name:"checkBinding",moduleUrl:j,runtime:K}),a.flattenNestedViewRenderNodes=new g.CompileIdentifierMetadata({ name:"flattenNestedViewRenderNodes",moduleUrl:j,runtime:H}),a.devModeEqual=new g.CompileIdentifierMetadata({name:"devModeEqual",moduleUrl:k,runtime:I}),a.interpolate=new g.CompileIdentifierMetadata({name:"interpolate",moduleUrl:j,runtime:J}),a.castByValue=new g.CompileIdentifierMetadata({name:"castByValue",moduleUrl:j,runtime:L}),a.EMPTY_ARRAY=new g.CompileIdentifierMetadata({name:"EMPTY_ARRAY",moduleUrl:j,runtime:M}),a.EMPTY_MAP=new g.CompileIdentifierMetadata({name:"EMPTY_MAP",moduleUrl:j,runtime:N}),a.pureProxies=[null,new g.CompileIdentifierMetadata({name:"pureProxy1",moduleUrl:j,runtime:f.pureProxy1}),new g.CompileIdentifierMetadata({name:"pureProxy2",moduleUrl:j,runtime:f.pureProxy2}),new g.CompileIdentifierMetadata({name:"pureProxy3",moduleUrl:j,runtime:f.pureProxy3}),new g.CompileIdentifierMetadata({name:"pureProxy4",moduleUrl:j,runtime:f.pureProxy4}),new g.CompileIdentifierMetadata({name:"pureProxy5",moduleUrl:j,runtime:f.pureProxy5}),new g.CompileIdentifierMetadata({name:"pureProxy6",moduleUrl:j,runtime:f.pureProxy6}),new g.CompileIdentifierMetadata({name:"pureProxy7",moduleUrl:j,runtime:f.pureProxy7}),new g.CompileIdentifierMetadata({name:"pureProxy8",moduleUrl:j,runtime:f.pureProxy8}),new g.CompileIdentifierMetadata({name:"pureProxy9",moduleUrl:j,runtime:f.pureProxy9}),new g.CompileIdentifierMetadata({name:"pureProxy10",moduleUrl:j,runtime:f.pureProxy10})],a.SecurityContext=new g.CompileIdentifierMetadata({name:"SecurityContext",moduleUrl:h.assetUrl("core","security"),runtime:f.SecurityContext}),a.AnimationKeyframe=new g.CompileIdentifierMetadata({name:"AnimationKeyframe",moduleUrl:h.assetUrl("core","animation/animation_keyframe"),runtime:Q}),a.AnimationStyles=new g.CompileIdentifierMetadata({name:"AnimationStyles",moduleUrl:h.assetUrl("core","animation/animation_styles"),runtime:R}),a.NoOpAnimationPlayer=new g.CompileIdentifierMetadata({name:"NoOpAnimationPlayer",moduleUrl:h.assetUrl("core","animation/animation_player"),runtime:S}),a.AnimationGroupPlayer=new g.CompileIdentifierMetadata({name:"AnimationGroupPlayer",moduleUrl:h.assetUrl("core","animation/animation_group_player"),runtime:O}),a.AnimationSequencePlayer=new g.CompileIdentifierMetadata({name:"AnimationSequencePlayer",moduleUrl:h.assetUrl("core","animation/animation_sequence_player"),runtime:P}),a.prepareFinalAnimationStyles=new g.CompileIdentifierMetadata({name:"prepareFinalAnimationStyles",moduleUrl:T,runtime:f.prepareFinalAnimationStyles}),a.balanceAnimationKeyframes=new g.CompileIdentifierMetadata({name:"balanceAnimationKeyframes",moduleUrl:T,runtime:f.balanceAnimationKeyframes}),a.clearStyles=new g.CompileIdentifierMetadata({name:"clearStyles",moduleUrl:T,runtime:f.clearStyles}),a.renderStyles=new g.CompileIdentifierMetadata({name:"renderStyles",moduleUrl:T,runtime:f.renderStyles}),a.collectAndResolveStyles=new g.CompileIdentifierMetadata({name:"collectAndResolveStyles",moduleUrl:T,runtime:f.collectAndResolveStyles}),a}();return b.Identifiers=U,b.identifierToken=d,c.exports}),a.registerDynamic("61",["1a","1f","1b","51"],!0,function(a,b,c){"use strict";function d(a,b,c){if(b===c)return a;for(var d=l.THIS_EXPR,e=b;e!==c&&k.isPresent(e.declarationElement.view);)e=e.declarationElement.view,d=d.prop("parent");if(e!==c)throw new j.BaseException("Internal error: Could not calculate a property in a parent view: "+a);if(a instanceof l.ReadPropExpr){var f=a;(c.fields.some(function(a){return a.name==f.name})||c.getters.some(function(a){return a.name==f.name}))&&(d=d.cast(c.classType))}return l.replaceVarInExpression(l.THIS_EXPR.name,d,a)}function e(a,b){var c=[g(a)];return b&&c.push(l.NULL_EXPR),l.THIS_EXPR.prop("parentInjector").callMethod("get",c)}function f(a,b){return"viewFactory_"+a.type.name+b}function g(a){return k.isPresent(a.value)?l.literal(a.value):a.identifierIsInstance?l.importExpr(a.identifier).instantiate([],l.importType(a.identifier,[],[l.TypeModifier.Const])):l.importExpr(a.identifier)}function h(a){for(var b=[],c=l.literalArr([]),d=0;d0&&(c=c.callMethod(l.BuiltinMethod.ConcatArray,[l.literalArr(b)]),b=[]),c=c.callMethod(l.BuiltinMethod.ConcatArray,[e])):b.push(e)}return b.length>0&&(c=c.callMethod(l.BuiltinMethod.ConcatArray,[l.literalArr(b)])),c}function i(a,b,c,d){d.fields.push(new l.ClassField(c.name,null));var e=b0}));return i}function p(a,b,c){var d,e=[new C.FnParam(G.ViewConstructorVars.viewUtils.name,C.importType(B.Identifiers.ViewUtils)),new C.FnParam(G.ViewConstructorVars.parentInjector.name,C.importType(B.Identifiers.Injector)),new C.FnParam(G.ViewConstructorVars.declarationEl.name,C.importType(B.Identifiers.AppElement))],f=[];return d=a.component.template.templateUrl==a.component.type.moduleUrl?a.component.type.moduleUrl+" class "+a.component.type.name+" - inline template":a.component.template.templateUrl,0===a.viewIndex&&(f=[new C.IfStmt(c.identical(C.NULL_EXPR),[c.set(G.ViewConstructorVars.viewUtils.callMethod("createRenderComponentType",[C.literal(d),C.literal(a.component.template.ngContentSelectors.length),G.ViewEncapsulationEnum.fromValue(a.component.template.encapsulation),a.styles])).toStmt()])]),C.fn(e,f.concat([new C.ReturnStatement(C.variable(b.name).instantiate(b.constructorMethod.params.map(function(a){return C.variable(a.name)})))]),C.importType(B.Identifiers.AppView,[t(a)])).toDeclStmt(a.viewFactory.name,[C.StmtModifier.Final])}function q(a){var b=C.NULL_EXPR,c=[];a.viewType===w.ViewType.COMPONENT&&(b=G.ViewProperties.renderer.callMethod("createViewRoot",[C.THIS_EXPR.prop("declarationAppElement").prop("nativeElement")]),c=[M.set(b).toDeclStmt(C.importType(a.genConfig.renderTypes.renderNode),[C.StmtModifier.Final])]);var d;return d=a.viewType===w.ViewType.HOST?a.nodes[0].appElement:C.NULL_EXPR,c.concat(a.createMethod.finish(),[C.THIS_EXPR.callMethod("init",[H.createFlatArray(a.rootNodesOrAppElements),C.literalArr(a.nodes.map(function(a){return a.renderNode})),C.literalArr(a.disposables),C.literalArr(a.subscriptions)]).toStmt(),new C.ReturnStatement(d)])}function r(a){var b=[];if(a.detectChangesInInputsMethod.isEmpty()&&a.updateContentQueriesMethod.isEmpty()&&a.afterContentLifecycleCallbacksMethod.isEmpty()&&a.detectChangesRenderPropertiesMethod.isEmpty()&&a.updateViewQueriesMethod.isEmpty()&&a.afterViewLifecycleCallbacksMethod.isEmpty())return b;z.ListWrapper.addAll(b,a.detectChangesInInputsMethod.finish()),b.push(C.THIS_EXPR.callMethod("detectContentChildrenChanges",[G.DetectChangesVars.throwOnChange]).toStmt());var c=a.updateContentQueriesMethod.finish().concat(a.afterContentLifecycleCallbacksMethod.finish());c.length>0&&b.push(new C.IfStmt(C.not(G.DetectChangesVars.throwOnChange),c)),z.ListWrapper.addAll(b,a.detectChangesRenderPropertiesMethod.finish()),b.push(C.THIS_EXPR.callMethod("detectViewChildrenChanges",[G.DetectChangesVars.throwOnChange]).toStmt());var d=a.updateViewQueriesMethod.finish().concat(a.afterViewLifecycleCallbacksMethod.finish());d.length>0&&b.push(new C.IfStmt(C.not(G.DetectChangesVars.throwOnChange),d));var e=[],f=C.findReadVarNames(b);return z.SetWrapper.has(f,G.DetectChangesVars.changed.name)&&e.push(G.DetectChangesVars.changed.set(C.literal(!0)).toDeclStmt(C.BOOL_TYPE)),z.SetWrapper.has(f,G.DetectChangesVars.changes.name)&&e.push(G.DetectChangesVars.changes.set(C.NULL_EXPR).toDeclStmt(new C.MapType(C.importType(B.Identifiers.SimpleChange)))),z.SetWrapper.has(f,G.DetectChangesVars.valUnwrapper.name)&&e.push(G.DetectChangesVars.valUnwrapper.set(C.importExpr(B.Identifiers.ValueUnwrapper).instantiate([])).toDeclStmt(null,[C.StmtModifier.Final])),e.concat(b)}function s(a,b){return a.length>0?a.concat([new C.ReturnStatement(b)]):a}function t(a){return a.viewType===w.ViewType.COMPONENT?C.importType(a.component.type):C.DYNAMIC_TYPE}function u(a){var b;return b=a.viewType===w.ViewType.COMPONENT?w.isDefaultChangeDetectionStrategy(a.component.changeDetection)?w.ChangeDetectorStatus.CheckAlways:w.ChangeDetectorStatus.CheckOnce:w.ChangeDetectorStatus.CheckAlways}var v=a("9"),w=a("26"),x=a("5f"),y=a("18"),z=a("19"),A=a("1f"),B=a("51"),C=a("1b"),D=a("30"),E=a("60"),F=a("64"),G=a("54"),H=a("61"),I="$implicit",J="class",K="style",L="ng-container",M=C.variable("parentRenderNode"),N=C.variable("rootSelector"),O=function(){function a(a,b){this.comp=a,this.placeholder=b}return a}();b.ViewFactoryDependency=O;var P=function(){function a(a,b){this.comp=a,this.placeholder=b}return a}();b.ComponentFactoryDependency=P,b.buildView=d,b.finishView=e;var Q=function(){function a(a,b){this.view=a,this.targetDependencies=b,this.nestedViewCount=0,this._animationCompiler=new x.AnimationCompiler}return a.prototype._isRootNode=function(a){return a.view!==this.view},a.prototype._addRootNodeAndProject=function(a){var b=f(a),c=b.parent,d=b.sourceAst.ngContentIndex,e=a instanceof E.CompileElement&&a.hasViewContainer?a.appElement:null;this._isRootNode(c)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(A.isPresent(e)?e:a.renderNode):A.isPresent(c.component)&&A.isPresent(d)&&c.addContentNode(d,A.isPresent(e)?e:a.renderNode)},a.prototype._getParentRenderNode=function(a){return a=g(a),this._isRootNode(a)?this.view.viewType===w.ViewType.COMPONENT?M:C.NULL_EXPR:A.isPresent(a.component)&&a.component.template.encapsulation!==v.ViewEncapsulation.Native?C.NULL_EXPR:a.renderNode},a.prototype.visitBoundText=function(a,b){return this._visitText(a,"",b)},a.prototype.visitText=function(a,b){return this._visitText(a,a.value,b)},a.prototype._visitText=function(a,b,c){var d="_text_"+this.view.nodes.length;this.view.fields.push(new C.ClassField(d,C.importType(this.view.genConfig.renderTypes.renderText)));var e=C.THIS_EXPR.prop(d),f=new E.CompileNode(c,this.view,this.view.nodes.length,e,a),g=C.THIS_EXPR.prop(d).set(G.ViewProperties.renderer.callMethod("createText",[this._getParentRenderNode(c),C.literal(b),this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length,a)])).toStmt();return this.view.nodes.push(f),this.view.createMethod.addStmt(g),this._addRootNodeAndProject(f),e},a.prototype.visitNgContent=function(a,b){this.view.createMethod.resetDebugInfo(null,a);var c=this._getParentRenderNode(b),d=G.ViewProperties.projectableNodes.key(C.literal(a.index),new C.ArrayType(C.importType(this.view.genConfig.renderTypes.renderNode)));return c!==C.NULL_EXPR?this.view.createMethod.addStmt(G.ViewProperties.renderer.callMethod("projectNodes",[c,C.importExpr(B.Identifiers.flattenNestedViewRenderNodes).callFn([d])]).toStmt()):this._isRootNode(b)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(d):A.isPresent(b.component)&&A.isPresent(a.ngContentIndex)&&b.addContentNode(a.ngContentIndex,d),null},a.prototype.visitElement=function(a,b){var c,d=this,e=this.view.nodes.length,f=this.view.createMethod.resetDebugInfoExpr(e,a);c=0===e&&this.view.viewType===w.ViewType.HOST?C.THIS_EXPR.callMethod("selectOrCreateHostElement",[C.literal(a.name),N,f]):a.name===L?G.ViewProperties.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(b),f]):G.ViewProperties.renderer.callMethod("createElement",[this._getParentRenderNode(b),C.literal(a.name),f]);var g="_el_"+e;this.view.fields.push(new C.ClassField(g,C.importType(this.view.genConfig.renderTypes.renderElement))),this.view.createMethod.addStmt(C.THIS_EXPR.prop(g).set(c).toStmt());for(var h=C.THIS_EXPR.prop(g),k=a.directives.map(function(a){return a.directive}),l=k.find(function(a){return a.isComponent}),m=j(a.attrs),n=i(m,k),o=0;o0?a.value:I,a.name]}),h=a.directives.map(function(a){return a.directive}),i=new E.CompileElement(b,this.view,c,f,a,null,h,a.providers,a.hasViewContainer,!0,a.references);this.view.nodes.push(i);var j=this._animationCompiler.compileComponent(this.view.component);this.nestedViewCount++;var k=new F.CompileView(this.view.component,this.view.genConfig,this.view.pipeMetas,C.NULL_EXPR,j,this.view.viewIndex+this.nestedViewCount,i,g);return this.nestedViewCount+=d(k,a.children,this.targetDependencies),i.beforeChildren(),this._addRootNodeAndProject(i),i.afterChildren(0),null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitDirective=function(a,b){return null},a.prototype.visitEvent=function(a,b){return null},a.prototype.visitReference=function(a,b){return null},a.prototype.visitVariable=function(a,b){return null},a.prototype.visitDirectiveProperty=function(a,b){return null},a.prototype.visitElementProperty=function(a,b){return null},a}();return c.exports}),a.registerDynamic("1d",["9","5f","2e","60","64","5a","67"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("5f"),f=a("2e"),g=a("60"),h=a("64"),i=a("5a"),j=a("67"),k=a("67");b.ComponentFactoryDependency=k.ComponentFactoryDependency,b.ViewFactoryDependency=k.ViewFactoryDependency;var l=function(){function a(a,b,c){this.statements=a,this.viewFactoryVar=b,this.dependencies=c}return a}();b.ViewCompileResult=l;var m=function(){function a(a){this._genConfig=a,this._animationCompiler=new e.AnimationCompiler}return a.prototype.compileComponent=function(a,b,c,d){var e=[],f=this._animationCompiler.compileComponent(a),k=[];f.map(function(a){k.push(a.statesMapStatement),k.push(a.fnStatement)});var m=new h.CompileView(a,this._genConfig,d,c,f,0,g.CompileElement.createNull(),[]);return j.buildView(m,b,e),i.bindView(m,b),j.finishView(m,k),new l(k,m.viewFactory.name,e)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:f.CompilerConfig}],a}();return b.ViewCompiler=m,c.exports}),a.registerDynamic("68",["2c","3a","39","36","40","42","44","46","2d","49","27","43","38","52","2a","2b","1d"],!0,function(a,b,c){"use strict";var d,e=a("2c"),f=a("3a"),g=a("39"),h=a("36"),i=a("40"),j=a("42"),k=a("44"),l=a("46"),m=a("2d"),n=a("49"),o=a("27"),p=a("43"),q=a("38"),r=a("52"),s=a("2a"),t=a("2b"),u=a("1d");return function(a){a.SelectorMatcher=r.SelectorMatcher,a.CssSelector=r.CssSelector,a.AssetUrl=n.AssetUrl,a.ImportGenerator=n.ImportGenerator,a.CompileMetadataResolver=m.CompileMetadataResolver,a.HtmlParser=h.HtmlParser,a.I18nHtmlParser=i.I18nHtmlParser,a.ExtractionResult=k.ExtractionResult,a.Message=j.Message,a.MessageExtractor=k.MessageExtractor,a.removeDuplicates=k.removeDuplicates,a.serializeXmb=l.serializeXmb,a.deserializeXmb=l.deserializeXmb,a.DirectiveNormalizer=e.DirectiveNormalizer,a.Lexer=f.Lexer,a.Parser=g.Parser,a.ParseLocation=p.ParseLocation,a.ParseError=p.ParseError,a.ParseErrorLevel=p.ParseErrorLevel,a.ParseSourceFile=p.ParseSourceFile,a.ParseSourceSpan=p.ParseSourceSpan,a.TemplateParser=t.TemplateParser,a.DomElementSchemaRegistry=q.DomElementSchemaRegistry,a.StyleCompiler=s.StyleCompiler,a.ViewCompiler=u.ViewCompiler,a.TypeScriptEmitter=o.TypeScriptEmitter}(d=b.__compiler_private__||(b.__compiler_private__={})),c.exports}),a.registerDynamic("69",["2f","37","30","68"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("2f");b.COMPILER_PROVIDERS=e.COMPILER_PROVIDERS,b.CompileDiDependencyMetadata=e.CompileDiDependencyMetadata,b.CompileDirectiveMetadata=e.CompileDirectiveMetadata,b.CompileFactoryMetadata=e.CompileFactoryMetadata,b.CompileIdentifierMetadata=e.CompileIdentifierMetadata,b.CompileMetadataWithIdentifier=e.CompileMetadataWithIdentifier,b.CompileMetadataWithType=e.CompileMetadataWithType,b.CompilePipeMetadata=e.CompilePipeMetadata,b.CompileProviderMetadata=e.CompileProviderMetadata,b.CompileQueryMetadata=e.CompileQueryMetadata,b.CompileTemplateMetadata=e.CompileTemplateMetadata,b.CompileTokenMetadata=e.CompileTokenMetadata,b.CompileTypeMetadata=e.CompileTypeMetadata,b.CompilerConfig=e.CompilerConfig,b.DEFAULT_PACKAGE_URL_PROVIDER=e.DEFAULT_PACKAGE_URL_PROVIDER,b.DirectiveResolver=e.DirectiveResolver,b.NormalizedComponentWithViewDirectives=e.NormalizedComponentWithViewDirectives,b.OfflineCompiler=e.OfflineCompiler,b.PipeResolver=e.PipeResolver,b.RenderTypes=e.RenderTypes,b.RuntimeCompiler=e.RuntimeCompiler,b.SourceModule=e.SourceModule,b.TEMPLATE_TRANSFORMS=e.TEMPLATE_TRANSFORMS,b.UrlResolver=e.UrlResolver,b.ViewResolver=e.ViewResolver,b.XHR=e.XHR,b.createOfflineCompileUrlResolver=e.createOfflineCompileUrlResolver;var f=a("37");return b.ElementSchemaRegistry=f.ElementSchemaRegistry,d(a("30")),d(a("68")),c.exports}),a.registerDynamic("6a",["69"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}return d(a("69")),c.exports}),a.registerDynamic("16",["6a"],!0,function(a,b,c){return c.exports=a("6a"),c.exports}),a.registerDynamic("e",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;ba?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("10",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("6b",["16","e","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("16"),f=a("e"),g=a("10"),h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.get=function(a){var b=g.PromiseWrapper.completer(),c=new XMLHttpRequest;return c.open("GET",a,!0),c.responseType="text",c.onload=function(){var d=f.isPresent(c.response)?c.response:c.responseText,e=1223===c.status?204:c.status;0===e&&(e=d?200:0),e>=200&&300>=e?b.resolve(d):b.reject("Failed to load "+a,null)},c.onerror=function(){b.reject("Failed to load "+a,null)},c.send(),b.promise},b}(e.XHR);return b.XHRImpl=h,c.exports}),a.registerDynamic("6c",["6d","16","9","6e","8","a","e","15","6b","45"],!0,function(a,b,c){return function(c){"use strict";function d(a,c){k.reflector.reflectionCapabilities=new k.ReflectionCapabilities;var d=[j.BROWSER_APP_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,m.isPresent(c)?c:[]],e=i.ReflectiveInjector.resolveAndCreate(d,j.browserPlatform().injector);return i.coreLoadAndBootstrap(a,e)}function e(a,c){var d=i.ReflectiveInjector.resolveAndCreate([j.WORKER_UI_APPLICATION_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,{provide:j.WORKER_SCRIPT,useValue:a},m.isPresent(c)?c:[]],j.workerUiPlatform().injector);return l.PromiseWrapper.resolve(d.get(i.ApplicationRef))}function f(a,b){var c=i.ReflectiveInjector.resolveAndCreate([j.WORKER_APP_APPLICATION_PROVIDERS,p,m.isPresent(b)?b:[]],j.workerAppPlatform().injector);return i.coreLoadAndBootstrap(a,c)}var g=a("6d"),h=a("16"),i=a("9"),j=a("6e"),k=a("8"),l=a("a"),m=a("e"),n=a("15"),o=a("6b");b.BROWSER_APP_COMPILER_PROVIDERS=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}],b.CACHED_TEMPLATE_PROVIDER=[{provide:h.XHR, useClass:n.CachedXHR}],b.bootstrap=d,b.bootstrapWorkerUi=e;var p=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}];b.bootstrapWorkerApp=f}(a("45")),c.exports}),a.registerDynamic("6f",["6c"],!0,function(a,b,c){return c.exports=a("6c"),c.exports}),a.registerDynamic("70",[],!0,function(a,b,c){return function(){var a=function(b,c){return null===b.parentNode?c:a(b.parentNode,c.concat([b]))},b=function(a,b){return getComputedStyle(a,null).getPropertyValue(b)},d=function(a){return b(a,"overflow")+b(a,"overflow-y")+b(a,"overflow-x")},e=function(a){return/(auto|scroll)/.test(d(a))},f=function(b){if(b instanceof HTMLElement){for(var c=a(b.parentNode,[]),d=0;df?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&k(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(a){function b(a,c){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.optionsService=c}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data=this.componentSchema.info,this.specUrl=this.optionsService.options.specUrl,NaN!==parseInt(this.data.version.substring(0,1))&&(this.data.version="v"+this.data.version)}}]),b}(d),a("ApiInfo",n),a("ApiInfo",n=l([c({selector:"api-info",styles:["\n .api-info-header {\n font-weight: normal; }\n\n :host > div {\n width: 60%; }\n\n a.openapi-button {\n padding: 3px 8px 4px 8px;\n color: #0033a0;\n border: 1px solid #0033a0;\n margin-left: 0.5em;\n font-weight: normal; }\n "],template:'\n
\n

{{data.title}} ({{data.version}})

\n

\n

\n \n Contact:\n \n {{data.contact.name || data.contact.url}}\n \n {{data.contact.email}}\n \n License:\n {{data.license.name}} \n {{data.license.name}} \n \n

\n

\n Download OpenAPI (fka Swagger) specification:\n Download \n

\n
\n '}),m("design:paramtypes",[b,e])],n))}}}),a.register("7b",["73","75","76","77","78","79","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a.RedocComponent,c=a.BaseComponent,d=a.SpecManager},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]}],execute:function(){"use strict";k=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},l=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},m=function(a){function b(a){h(this,b),e(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.data={}}return f(b,a),g(b,[{key:"prepareModel",value:function(){var a=this.componentSchema.info["x-logo"];a&&(this.data.imgUrl=a.url,this.data.bgColor=a.backgroundColor||"transparent")}}]),b}(c),a("ApiLogo",m),a("ApiLogo",m=k([b({selector:"api-logo",styles:["\n img {\n max-height: 150px;\n width: auto;\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box; }\n "],template:'\n \n '}),l("design:paramtypes",[d])],m))}}}),a.register("7c",["9","77","78","79","7a","7d"],function(a){var b,c,d,e,f,g,h,i,j,k,l;return{setters:[function(a){b=a.Directive,c=a.HostListener,d=a.ElementRef},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a.Clipboard}],execute:function(){"use strict";j=function(a,b,c,d){var e,f=arguments.length,i=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(i=(3>f?e(i):f>3?e(b,c,i):e(b,c))||i);return f>3&&i&&h(b,c,i),i},k=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},l=function(){function a(b){f(this,a),this.element=b}return e(a,[{key:"onClick",value:function(){i.selectElement(this.element.nativeElement)}}]),a}(),a("SelectOnClick",l),j([c("click"),k("design:type",Function),k("design:paramtypes",[]),k("design:returntype",void 0)],l.prototype,"onClick",null),a("SelectOnClick",l=j([b({selector:"[select-on-click]"}),k("design:paramtypes",[d])],l))}}}),a.register("7e",["73","75","76","77","78","79","80","81","82","7a","7f"],function(a){function b(a,b,c){a[b]||(a[b]=[]),a[b].push(c)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.JsonSchemaLazy},function(a){l=a.SchemaHelper},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.JsonSchema}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function c(a){i(this,c),f(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a)}return g(c,a),h(c,[{key:"prepareModel",value:function(){var a=this;this.data={};var b=this.specMgr.getMethodParams(this.pointer,!0);b=b.map(function(b){var c=b._pointer;return"body"===b["in"]?b:(b._name=b.name,l.preprocess(b,c,a.pointer))});var c=this.orderParams(b);if(c.body&&c.body.length){var d=c.body[0];d.pointer=d._pointer,this.data.bodyParam=d,c.body=void 0}this.data.noParams=!(m(c).length||this.data.bodyParam);var e=["path","query","formData","header","body"],f={path:"Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId",query:"Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id",formData:"Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request",header:"Custom headers that are expected as part of the request"},g=[];e.forEach(function(a){c[a]&&c[a].length&&g.push({place:a,placeHint:f[a],params:c[a]})}),this.data.params=g}},{key:"orderParams",value:function(a){var c={};return a.forEach(function(a){return b(c,a["in"],a)}),c}}]),c}(d),a("ParamsList",r),a("ParamsList",r=p([c({selector:"params-list",template:'\n
Parameters
\n \n\n
\n
Request Body
\n\n
\n
\n
\n \n \n
\n
\n ',styles:['\n .param-list-header {\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\n padding: 0.2em 0;\n margin: 3.5em 0 .8em 0;\n color: rgba(38, 50, 56, 0.5);\n font-weight: normal;\n text-transform: uppercase; }\n\n .param-name {\n position: relative;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 10px 0;\n vertical-align: top;\n line-height: 20px;\n white-space: nowrap;\n font-size: 0.929em;\n font-weight: 400;\n box-sizing: border-box; }\n\n .param-name-wrap {\n display: inline-block;\n padding-right: 25px;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n border-bottom: 1px solid #ccc;\n padding: 10px 0;\n width: 75%;\n line-height: 1em;\n box-sizing: border-box; }\n\n .param-range {\n position: relative;\n top: 1px;\n margin-right: 6px;\n margin-left: 6px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n padding: 0 4px;\n color: rgba(0, 51, 160, 0.7); }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n vertical-align: middle;\n line-height: 20px;\n color: #f00;\n font-size: 12px;\n font-weight: bold; }\n\n .param-type {\n vertical-align: middle;\n line-height: 20px;\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n .param-type-file {\n font-weight: bold;\n text-transform: capitalize; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid #fff;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: \'Values: {\'; }\n .param-enum:after {\n content: \'}\'; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n header.paramType {\n margin: 10px 0;\n text-transform: capitalize; }\n\n .params-wrap {\n display: table;\n width: 100%; }\n\n .param-name {\n display: table-cell;\n vertical-align: top; }\n\n .param-info {\n display: table-cell;\n width: 100%; }\n\n .param {\n display: table-row; }\n\n .param:last-of-type > .param-name {\n border-left: 0; }\n .param:last-of-type > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n background-color: white;\n top: 0; }\n\n .param:first-of-type .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 2px solid #fff;\n height: 20px;\n background-color: white;\n top: 0; }\n\n [data-hint] {\n width: 1.2em;\n text-align: center;\n border-radius: 50%;\n vertical-align: middle;\n color: #999999;\n line-height: 1.2;\n text-transform: none;\n cursor: help;\n border: 1px solid #999999;\n margin-left: 0.5em; }\n\n @media (max-width: 520px) {\n [data-hint] {\n float: right; }\n [data-hint]:after {\n margin-left: 12px;\n transform: translateX(-100%) translateY(-8px);\n -moz-transform: translateX(-100%) translateY(-8px);\n -webkit-transform: translateX(-100%) translateY(-8px); } }\n '],directives:[o,k]}),q("design:paramtypes",[e])],r))}}}),a.register("7f",["9","73","74","75","76","77","78","79","80","83","84","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.Input,c=a.Renderer,d=a.ElementRef,e=a.forwardRef},function(a){f=a.RedocComponent,g=a.BaseComponent,h=a.SpecManager},function(a){i=a.SchemaNormalizer,j=a.SchemaHelper},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.JsonSchemaLazy},function(a){q=a.DropDown},function(a){r=a.Zippy},function(a){s=a["default"]}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=o(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&s(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=void 0,w=v=function(a){function b(a,c,d){n(this,b),k(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this._renderer=c,this._elementRef=d,this.activeDescendant={},this.hasDescendants=!1,this._hasSubSchemas=!1,this["final"]=!1,this.autoExpand=!1,this.normalizer=new i(a)}return l(b,a),m(b,[{key:"selectDescendant",value:function(a){var b=this.schema._descendants[a];b&&!b.active&&(this.schema._descendants.forEach(function(a){a.active=!1}),b.active=!0,this.activeDescendant=b)}},{key:"initDescendants",value:function(){var a=this;if(this.schema._descendants&&this.schema._descendants.length){this.hasDescendants=!0;var b=this.schema._properties[this.schema._properties.length-1]["enum"];b&&!function(){var c={};b.forEach(function(a,b){c[a.val]=b}),a.schema._descendants.sort(function(a,b){return c[a.name]>c[b.name]?1:-1})}(),this.selectDescendant(0)}}},{key:"prepareModel",value:function(){if(this.nestOdd&&this._renderer.setElementAttribute(this._elementRef.nativeElement,"nestodd","true"),this.schema=this.componentSchema,!this.schema)throw new Error("Can't load component schema at "+this.pointer);this.schema=this.normalizer.normalize(this.schema,this.normPointer),this.schema=j.unwrapArray(this.schema,this.normPointer),j.preprocess(this.schema,this.normPointer,this.pointer),this.schema.isTrivial||j.preprocessProperties(this.schema,this.normPointer,{childFor:this.childFor}),this.properties=this.schema._properties,this._isArray=this.isArray||this.schema._isArray,this.isRequestSchema&&(this.properties=this.properties&&this.properties.filter(function(a){return!a.readOnly})),this.initDescendants(),this._hasSubSchemas=this.properties&&this.properties.some(function(a){return"array"===a.type&&(a=a.items),a&&"object"===a.type&&a._pointer}),this.autoExpand=this.properties&&1===this.properties.length}},{key:"trackByIdx",value:function(a,b){return a}},{key:"normPointer",get:function(){return this.schema._pointer||this.pointer}}]),b}(g),a("JsonSchema",w),t([b(),u("design:type",Boolean)],w.prototype,"isArray",void 0),t([b(),u("design:type",Boolean)],w.prototype,"final",void 0),t([b(),u("design:type",Boolean)],w.prototype,"nestOdd",void 0),t([b(),u("design:type",String)],w.prototype,"childFor",void 0),t([b(),u("design:type",Boolean)],w.prototype,"isRequestSchema",void 0),a("JsonSchema",w=v=t([f({selector:"json-schema",template:'\n \n file\n
\n
    \n
  • {{type}}
  • \n
\n
\n
\n
    \n
  • {{type}}
  • \n
\n
\n
\n \n {{schema._displayType}} {{schema._displayFormat}}\n {{schema._range}} \n \n
\n {{enumItem.val | json}} \n
\n
\n \n \n \n \n \n \n
\n
\n \n \n
\n
\n ',styles:['\n .param-name {\n position: relative;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 10px 0;\n vertical-align: top;\n line-height: 20px;\n white-space: nowrap;\n font-size: 0.929em;\n font-weight: 400;\n box-sizing: border-box; }\n\n .param-name-wrap {\n display: inline-block;\n padding-right: 25px;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n border-bottom: 1px solid #ccc;\n padding: 10px 0;\n width: 75%;\n line-height: 1em;\n box-sizing: border-box; }\n\n .param-range {\n position: relative;\n top: 1px;\n margin-right: 6px;\n margin-left: 6px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n padding: 0 4px;\n color: rgba(0, 51, 160, 0.7); }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n vertical-align: middle;\n line-height: 20px;\n color: #f00;\n font-size: 12px;\n font-weight: bold; }\n\n .param-type {\n vertical-align: middle;\n line-height: 20px;\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n .param-type-file {\n font-weight: bold;\n text-transform: capitalize; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid #fff;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: \'Values: {\'; }\n .param-enum:after {\n content: \'}\'; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n /* styles for array-schema for array */\n :host {\n display: block; }\n\n .param-schema > td {\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 0 10px; }\n\n .derived-schema {\n display: none; }\n\n .derived-schema.active {\n display: block; }\n\n :host.nested-schema {\n background-color: white;\n padding: 10px 20px;\n position: relative;\n border-radius: 2px; }\n :host.nested-schema:before, :host.nested-schema:after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: transparent;\n border-width: 10px 15px 0;\n margin-left: -7.5px;\n border-top-color: #f0f0f0; }\n :host.nested-schema:before {\n left: 10%; }\n :host.nested-schema:after {\n right: 10%; }\n :host.nested-schema .param:first-of-type > .param-name:before, :host.nested-schema .param:last-of-type > .param-name:after {\n border-color: white; }\n\n :host[nestodd="true"] {\n background-color: #f0f0f0;\n border-radius: 2px; }\n :host[nestodd="true"]:before, :host[nestodd="true"]:after {\n border-top-color: white; }\n :host[nestodd="true"] > .params-wrap > .param:first-of-type > .param-name:before, :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after {\n border-color: #f0f0f0; }\n :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after, :host[nestodd="true"] > .params-wrap > .param.last > .param-name:after {\n border-color: #f0f0f0; }\n\n zippy {\n overflow: visible; }\n\n .zippy-content-wrap {\n padding: 0; }\n\n .param.complex.expanded > .param-info {\n border-bottom: 0; }\n\n .param.complex > .param-name .param-name-wrap {\n font-weight: bold;\n cursor: pointer;\n color: #263238; }\n\n .param.complex > .param-name svg {\n height: 1.2em;\n vertical-align: middle;\n transition: all 0.3s ease; }\n\n .param.complex.expanded > .param-name svg {\n transform: rotateZ(-180deg); }\n\n .param.additional > .param-name {\n color: rgba(38, 50, 56, 0.4); }\n\n .params-wrap {\n width: 100%; }\n\n table {\n border-spacing: 0; }\n\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: 300;\n color: #263238;\n font-size: 13px;\n line-height: 1.5; }\n\n .params-wrap.params-array:after {\n content: "]"; }\n\n .params-wrap.params-array:before {\n content: "Array [";\n padding-top: 1em; }\n\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9.75px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed rgba(0, 51, 160, 0.5); }\n\n .params-wrap.params-array > .param-wrap:first-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 20px; }\n\n .params-wrap > .param > .param-schema.param-array {\n border-left-color: transparent; }\n\n .param.discriminator > .param-info {\n padding-bottom: 0; }\n\n .param.discriminator > .param-name:after {\n display: none; }\n\n .discriminator-info {\n font-weight: 400;\n margin-bottom: 10px; }\n .discriminator-info > span {\n font-size: 0.9em;\n font-weight: 300; }\n\n .discriminator-wrap:not(.empty) > td {\n padding: 0;\n position: relative; }\n .discriminator-wrap:not(.empty) > td:before {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n z-index: 1; }\n\n ul, li {\n margin: 0; }\n\n ul {\n list-style: none;\n padding-left: 1em; }\n\n li:before {\n content: "- ";\n font-weight: bold; }\n '], -directives:[w,q,e(function(){return p}),r],detect:!0}),u("design:paramtypes",[h,c,d])],w))}}}),a.register("80",["9","77","78","79","85","86","87","7a","6d","7f"],function(a){function b(a,b){b.parentNode.insertBefore(a,b.nextSibling)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.Component,d=a.ElementRef,e=a.ViewContainerRef,f=a.Input,g=a.ComponentResolver,h=a.Renderer},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.OptionsService},function(a){m=a.SpecManager},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.CORE_DIRECTIVES},function(a){q=a.JsonSchema}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&o(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t={},u=function(){function a(b,c,d,e,f,g){j(this,a),this.specMgr=b,this.location=c,this.elementRef=d,this.resolver=e,this.optionsService=f,this._renderer=g,this["final"]=!1,this.loaded=!1}return i(a,[{key:"normalizePointer",value:function(){var a=this.specMgr.byPointer(this.pointer);return a&&a.$ref||this.pointer}},{key:"_loadAfterSelf",value:function(){var a=this;return this.loaded=!0,this.resolver.resolveComponent(q).then(function(b){var c=a.location.parentInjector,d=a.location.createComponent(b,null,c,null);return a.initComponent(d.instance),a._renderer.setElementAttribute(d.location.nativeElement,"class",a.location.element.nativeElement.className),d.changeDetectorRef.detectChanges(),d})["catch"](function(a){throw console.log(a),a})}},{key:"load",value:function(){this.optionsService.options.disableLazySchemas||this.loaded||this.pointer&&this._loadAfterSelf()}},{key:"loadCached",value:function(){var a=this;this.pointer=this.normalizePointer(),t[this.pointer]?t[this.pointer].then(function(c){setTimeout(function(){var d=c.location.nativeElement;return c.instance.hasDescendants||c.instance._hasSubSchemas?void a._loadAfterSelf():(b(d.cloneNode(!0),a.elementRef.nativeElement),void(a.loaded=!0))})}):t[this.pointer]=this._loadAfterSelf()}},{key:"initComponent",value:function(a){n(a,this)}},{key:"ngAfterViewInit",value:function(){return this.optionsService.options.disableLazySchemas?void this._loadAfterSelf():void(this.auto&&this.loadCached())}},{key:"ngOnDestroy",value:function(){t={}}}]),a}(),a("JsonSchemaLazy",u),r([f(),s("design:type",String)],u.prototype,"pointer",void 0),r([f(),s("design:type",Boolean)],u.prototype,"auto",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isRequestSchema",void 0),r([f(),s("design:type",Boolean)],u.prototype,"final",void 0),r([f(),s("design:type",Boolean)],u.prototype,"nestOdd",void 0),r([f(),s("design:type",String)],u.prototype,"childFor",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isArray",void 0),a("JsonSchemaLazy",u=r([c({selector:"json-schema-lazy",template:"",directives:[p]}),s("design:paramtypes",[m,e,d,g,l,h])],u))}}}),a.register("88",["73","74","75","76","77","78","79","80","82","83","89","7a","7f","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.JsonSchemaLazy},function(a){m=a["default"]},function(a){n=a.Zippy},function(a){o=a["default"]},function(a){p=a["default"]},function(a){q=a.JsonSchema},function(a){r=a.statusCodeType}],execute:function(){"use strict";s=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&p(b,c,g),g},t=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},u=function(a){function c(a,b){j(this,c),g(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a),this.options=b.options}return h(c,a),i(c,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var c=this.componentSchema;c&&(c=m(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=o.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.specMgr.byPointer(d.$ref),d.pointer=e}return d.empty=!d.schema,d.code=b,d.type=r(d.code),!d.headers||d.headers instanceof Array||(d.headers=m(d.headers).map(function(a){var b=d.headers[a];return b.name=a,b}),d.empty=!1),d.extendable=d.headers||d.length,d}),this.data.responses=c)}},{key:"trackByCode",value:function(a,b){return b.code}}]),c}(d),a("ResponsesList",u),a("ResponsesList",u=s([c({selector:"responses-list",template:'\n

Responses

\n \n
\n
\n Headers\n
\n
\n
{{header.name}}
\n
{{header.type}}
\n
Default: {{header.default}}
\n
\n
\n
\n
\n Response Schema\n
\n \n \n
\n ',styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 3em 0 1.1em 0;\n color: #253137;\n font-weight: normal; }\n\n :host .zippy-title {\n font-family: Montserrat, sans-serif; }\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 header:not(:first-child) {\n margin-top: 15px;\n margin-bottom: 0; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[q,n,l],detect:!0}),t("design:paramtypes",[e,f])],u))}}}),a.register("8b",["9","73","75","76","77","78","79","82","83","89","7a","8c","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}function c(a){return a.examples&&a.examples["application/json"]||a.schema}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){d=a.forwardRef},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.statusCodeType}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function d(a){k(this,d),h(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a)}return i(d,a),j(d,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var d=this.componentSchema;d&&(d=m(d).filter(function(a){return b(a)||"default"===a}).map(function(b){var c=d[b];if(c.pointer=p.join(a.pointer,b),c.$ref){var e=c.$ref;c=a.specMgr.byPointer(c.$ref),c.pointer=e}return c.code=b,c.type=s(c.code),c}).filter(function(a){return c(a)}),this.data.responses=d)}}]),d}(f),a("ResponsesSamples",v),a("ResponsesSamples",v=t([e({selector:"responses-samples",template:'\n
Response samples
\n \n \n \n \n \n ',styles:["\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: 0.929em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 2px 8px 3px 8px;\n color: #9fb4be;\n line-height: 1.25; }\n :host > tabs > ul li:hover {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.1); }\n :host > tabs > ul li.active {\n background-color: white;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n "],directives:[d(function(){return r}),n,o]}),u("design:paramtypes",[g])],v))}}}),a.register("8d",["8e"],function(a){"use strict";function b(a){var b=a.minItems||1;Array.isArray(a.items)&&(b=Math.max(b,a.items.length));var d=function(b){return Array.isArray(a.items)?a.items[b]||{}:a.items||{}},e=[];if(!a.items)return e;for(var f=0;b>f;f++){var g=d(f),h=c(g);e.push(h)}return e}var c;return a("sampleArray",b),{setters:[function(a){c=a.traverse}],execute:function(){}}}),a.register("8f",[],function(a){"use strict";function b(a){return!0}return a("sampleBoolean",b),{setters:[],execute:function(){}}}),a.register("90",[],function(a){"use strict";function b(a){var b=void 0;return a.maximum&&a.minimum?(b=a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum,(a.exclusiveMaximum&&b>=a.maximum||!a.exclusiveMaximum&&b>a.maximum)&&(b=(a.maximum+a.minimum)/2),b):a.minimum?a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum:a.maximum?a.exclusiveMaximum?a.maximum>0?0:Math.floor(a.maximum)-1:a.maximum>0?0:a.maximum:0}return a("sampleNumber",b),{setters:[],execute:function(){}}}),a.register("8e",["91","92"],function(a){"use strict";function b(a,b){if(a.allOf&&d(a),a.example)return a.example;if(a["default"])return a["default"];if(a["enum"]&&a["enum"].length)return a["enum"][0];var e=a.type,f=c[e];return f?f(a,b):{}}var c,d;return a("traverse",b),{setters:[function(a){c=a._samplers},function(a){d=a.mergeAllOf}],execute:function(){}}}),a.register("93",["82","8e"],function(a){function b(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={};return a&&"object"==typeof a.properties&&c(a.properties).forEach(function(c){b.skipReadOnly&&a.properties[c].readOnly||(e[c]=d(a.properties[c]))}),a&&"object"==typeof a.additionalProperties&&(e.property1=d(a.additionalProperties),e.property2=d(a.additionalProperties)),e}var c,d;return{setters:[function(a){c=a["default"]},function(a){d=a.traverse}],execute:function(){"use strict";a("sampleObject",b)}}}),a.register("94",["95"],function(a){"use strict";function b(){return"user@example.com"}function c(a,b){var c="pa$$word";return a>c.length&&(c+="_",c+=m(o,a-c.length).substring(0,a-c.length)),c}function d(a,b,c){var d=n(new Date,c);if(d.lengthb)throw Erorr("Using maxLength = "+b+' is incorrect with format "date-time"');return d}function e(a,b){return d(a,b)}function f(a,b){return d(a,b,!0)}function g(a,b){var c=m("string",a);return b&&c.length>b&&(c=c.substring(b)),c}function h(){return"192.168.0.1"}function i(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"}function j(){return"example.com"}function k(){return"http://example.com"}function l(a){var b=a.format||"default",c=p[b]||g;return c(0|a.minLength,a.maxLength)}var m,n,o,p;return a("sampleString",l),{setters:[function(a){m=a.ensureMinLength,n=a.toRFCDateTime}],execute:function(){o="qwerty!@#$%^123456",p={email:b,password:c,"date-time":e,date:f,ipv4:h,ipv6:i,hostname:j,uri:k,"default":g}}}}),a.register("96",["90","93","94","8d","8f"],function(a){"use strict";return{setters:[function(b){var c={};c.sampleNumber=b.sampleNumber,a(c)},function(b){var c={};c.sampleObject=b.sampleObject,a(c)},function(b){var c={};c.sampleString=b.sampleString,a(c)},function(b){var c={};c.sampleArray=b.sampleArray,a(c)},function(b){var c={};c.sampleBoolean=b.sampleBoolean,a(c)}],execute:function(){}}}),a.registerDynamic("97",["98"],!0,function(a,b,c){var d=a("98");return d(d.S,"Math",{trunc:function(a){return(a>0?Math.floor:Math.ceil)(a)}}),c.exports}),a.registerDynamic("99",["97","9a"],!0,function(a,b,c){return a("97"),c.exports=a("9a").Math.trunc,c.exports}),a.registerDynamic("9b",["99"],!0,function(a,b,c){return c.exports={"default":a("99"),__esModule:!0},c.exports}),a.register("95",["82","9b"],function(a){function b(a){return 10>a?"0"+a:a}function c(a,c){var d=a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate());return c||(d+="T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"."+(a.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"),d}function d(a,b){return b>a.length?a.repeat(g(b/a.length)+1).substring(0,b):a}function e(a,b){for(var c=f(b),d=-1,e=c.length;++d/g,">"):""}function c(a,c){return''+b(a)+""}function d(a){var d=typeof a,g="";return void 0==a?g+=c("null","type-null"):a&&a.constructor===Array?(r++,g+=e(a),r--):"object"===d?(r++,g+=f(a),r--):"number"===d?g+=c(a,"type-number"):"string"===d?g+=/^(http|https):\/\/[^\\s]+$/.test(a)?c('"',"type-string")+''+b(a)+""+c('"',"type-string"):c('"'+a+'"',"type-string"):"boolean"===d&&(g+=c(a,"type-boolean")),g}function e(a){var b,c,e=r>s?"collapsed":"",f='
[
    ',g=!1;for(b=0,c=a.length;c>b;b++)g=!0,f+='
  • ',f+=d(a[b]),c-1>b&&(f+=","),f+="
  • ";return f+="
]",g||(f="[ ]"),f}function f(a){var c,e,f,g=r>s?"collapsed":"",h=l(a),i='
{
    ',j=!1;for(c=0,f=h.length;f>c;c++)e=h[c],j=!0,i+='
  • ',i+=''+b(e)+": ",i+=d(a[e]),f-1>c&&(i+=","),i+="
  • ";return i+="
}",j||(i="{ }"),i}function g(a){r=1;var b="";return b+='
',b+=d(a),b+="
"}var h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){h=a.Pipe},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.isBlank},function(a){o=a.DomSanitizationService}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=1,s=2,t=function(){function a(b){j(this,a),this.sanitizer=b}return i(a,[{key:"transform",value:function(a){return n(a)?a:this.sanitizer.bypassSecurityTrustHtml(g(a))}}]),a}(),a("JsonFormatter",t),a("JsonFormatter",t=p([h({name:"jsonFormatter"}),q("design:paramtypes",[o])],t))}}}),a.register("a0",["9","73","75","76","77","78","79","87","7a","9d","9e","a1","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.ElementRef,c=a.Input},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a},function(a){o=a.JsonFormatter},function(a){p=a.SchemaNormalizer},function(a){q=a.CopyButton}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.enableButtons=!1,this.element=c.nativeElement,this._normalizer=new p(a)}return h(b,a),i(b,[{key:"init",value:function(){this.bindEvents(),this.data={};var a={},b=void 0;if(this.componentSchema.schema&&(a=this.componentSchema,this.componentSchema=this.componentSchema.schema),a.examples&&a.examples["application/json"])b=a.examples["application/json"];else{var c=void 0;this.componentSchema=this._normalizer.normalize(this.componentSchema,this.pointer);var d=this.componentSchema.discriminator;if(d){var e=this.specMgr.findDerivedDefinitions(this.componentSchema._pointer||this.pointer);if(e.length){c=e[0];var f=this.specMgr.byPointer(c.$ref);this.componentSchema=this._normalizer.normalize(l({},f),c.$ref,{omitParent:!1})}}if(this.fromCache())return;try{b=n.sample(this.componentSchema,{skipReadOnly:this.skipReadOnly})}catch(g){}c&&(b[d]=c.name)}this.cache(b),this.data.sample=b,"object"==typeof b&&(this.enableButtons=!0)}},{key:"cache",value:function(a){this.skipReadOnly?this.componentSchema["x-redoc-ro-sample"]=a:this.componentSchema["x-redoc-rw-sample"]=a}},{key:"fromCache",value:function(){return this.skipReadOnly&&this.componentSchema["x-redoc-ro-sample"]?(this.data.sample=this.componentSchema["x-redoc-ro-sample"],!0):this.componentSchema["x-redoc-rw-sample"]?(this.data.sample=this.componentSchema["x-redoc-rw-sample"],!0):!1}},{key:"bindEvents",value:function(){this.element.addEventListener("click",function(a){var b,c=a.target;"collapser"===a.target.className&&(b=c.parentNode.getElementsByClassName("collapsible")[0],b.parentNode.classList.contains("collapsed")?b.parentNode.classList.remove("collapsed"):b.parentNode.classList.add("collapsed"))})}},{key:"expandAll",value:function(){for(var a=this.element.getElementsByClassName("collapsible"),b=0;b\n \n
 Sample unavailable 
\n \n
\n          \n        ',pipes:[o],directives:[q],styles:['\n          @charset "UTF-8";\n          pre {\n            background-color: transparent;\n            padding: 0;\n            margin: 0;\n            clear: both; }\n\n          .action-buttons {\n            display: block;\n            opacity: 0;\n            transition: opacity 0.3s ease;\n            transform: translateY(100%); }\n            .action-buttons > span {\n              float: right; }\n            .action-buttons > span > a {\n              padding: 2px 10px;\n              color: #ffffff;\n              cursor: pointer; }\n              .action-buttons > span > a:before {\n                content: \'|\';\n                display: inline-block;\n                transform: translateX(-10px); }\n              .action-buttons > span > a:last-child:before {\n                display: none;\n                margin-left: 0; }\n              .action-buttons > span > a:first-child {\n                margin-right: 0; }\n              .action-buttons > span > a:hover {\n                background-color: #263238; }\n            .action-buttons:after {\n              display: block;\n              content: \'\';\n              clear: both; }\n\n          .snippet:hover .action-buttons {\n            opacity: 1; }\n\n          :host .type-null {\n            color: gray; }\n\n          :host .type-boolean {\n            color: firebrick; }\n\n          :host .type-number {\n            color: #4A8BB3; }\n\n          :host .type-string {\n            color: #66B16E; }\n\n          :host .callback-function {\n            color: gray; }\n\n          :host .collapser:after {\n            content: "-";\n            cursor: pointer; }\n\n          :host .collapsed > .collapser:after {\n            content: "+";\n            cursor: pointer; }\n\n          :host .ellipsis:after {\n            content: " … "; }\n\n          :host .collapsible {\n            margin-left: 2em; }\n\n          :host .hoverable {\n            padding-top: 1px;\n            padding-bottom: 1px;\n            padding-left: 2px;\n            padding-right: 2px;\n            border-radius: 2px; }\n\n          :host .hovered {\n            background-color: #ebeef9; }\n\n          :host .collapser {\n            padding-right: 6px;\n            padding-left: 6px; }\n\n          :host .redoc-json {\n            overflow-x: auto;\n            padding: 20px;\n            border-radius: 4px;\n            background-color: #222d32;\n            margin-bottom: 36px; }\n\n          :host ul, :host .redoc-json ul {\n            list-style-type: none;\n            padding: 0px;\n            margin: 0px 0px 0px 26px; }\n\n          :host li {\n            position: relative; }\n\n          :host .hoverable {\n            transition: background-color .2s ease-out 0s;\n            -webkit-transition: background-color .2s ease-out 0s;\n            display: inline-block; }\n\n          :host .hovered {\n            transition-delay: .2s;\n            -webkit-transition-delay: .2s; }\n\n          :host .selected {\n            outline-style: solid;\n            outline-width: 1px;\n            outline-style: dotted; }\n\n          :host .collapsed > .collapsible {\n            display: none; }\n\n          :host .ellipsis {\n            display: none; }\n\n          :host .collapsed > .ellipsis {\n            display: inherit; }\n\n          :host .collapser {\n            position: absolute;\n            top: 1px;\n            left: -1.5em;\n            cursor: default;\n            user-select: none;\n            -webkit-user-select: none; }\n        ']}),s("design:paramtypes",[f,b])],t))}}}),a.register("7d",["77","78"],function(a){var b,c,d;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]}],execute:function(){"use strict";d=function(){function a(){c(this,a)}return b(a,null,[{key:"isSupported",value:function(){return document.queryCommandSupported&&document.queryCommandSupported("copy")}},{key:"selectElement",value:function(a){var b=void 0,c=void 0;document.body.createTextRange?(b=document.body.createTextRange(),b.moveToElementText(a),b.select()):document.createRange&&window.getSelection&&(c=window.getSelection(),b=document.createRange(),b.selectNodeContents(a),c.removeAllRanges(),c.addRange(b))}},{key:"deselect",value:function(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}},{key:"copySelected",value:function(){var a=void 0;try{a=document.execCommand("copy")}catch(b){a=!1}return a}},{key:"copyElement",value:function(b){a.selectElement(b);var c=a.copySelected();return c&&a.deselect(),c}},{key:"copyCustom",value:function(b){var c=document.createElement("textarea");c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="2em",c.style.height="2em",c.style.padding="0",c.style.border="none",c.style.outline="none",c.style.boxShadow="none",c.style.background="transparent",c.value=b,document.body.appendChild(c),c.select();var d=a.copySelected();return document.body.removeChild(c),d}}]),a}(),a("Clipboard",d)}}}),a.register("a2",["9","77","78","79","7a","7d"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Directive,c=a.Input,d=a.HostListener,e=a.Renderer,f=a.ElementRef},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.Clipboard}],execute:function(){"use strict";l=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(){function a(b,c){h(this,a),this.renderer=b,this.element=c}return g(a,[{key:"ngOnInit",value:function(){k.isSupported()||this.element.nativeElement.parentNode.removeChild(this.element.nativeElement),this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copy to Clipboard!")}},{key:"onClick",value:function(){var a=void 0;if(a=this.copyText?k.copyCustom(this.copyText):k.copyElement(this.copyElement))this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copied!");else{var b=this.hintElement||this.copyElement;if(!b)return;this.renderer.setElementAttribute(b,"data-hint",'Press "ctrl + c" to copy'),this.renderer.setElementClass(b,"hint--top",!0),this.renderer.setElementClass(b,"hint--always",!0)}}},{key:"onLeave",value:function(){var a=this;setTimeout(function(){a.renderer.setElementAttribute(a.element.nativeElement,"data-hint","Copy to Clipboard")},500)}}]),a}(),a("CopyButton",n),l([c(),m("design:type",String)],n.prototype,"copyText",void 0),l([c(),m("design:type",Object)],n.prototype,"copyElement",void 0),l([c(),m("design:type",Object)],n.prototype,"hintElement",void 0),l([d("click"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onClick",null),l([d("mouseleave"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onLeave",null),a("CopyButton",n=l([b({selector:"[copy-button]"}),m("design:paramtypes",[e,f])],n))}}}),a.register("a3",["9","73","74","75","76","77","78","79","83","89","7a","a0","a4","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.ViewChildren,c=a.QueryList,d=a.Input},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a.RedocEventsService},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.PrismPipe},function(a){t=a.CopyButton}],execute:function(){"use strict";u=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=m(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},v=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},w=function(a){function b(a,c){l(this,b),i(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.events=c,this.selectedLang=this.events.samplesLanguageChanged}return j(b,a),k(b,[{key:"changeLangNotify",value:function(a){this.events.samplesLanguageChanged.next(a)}},{key:"prepareModel",value:function(){this.data={},this.data.schemaPointer=p.join(this.schemaPointer,"schema"),this.data.samples=this.componentSchema["x-code-samples"]||[]}}]),b}(f),a("RequestSamples",w),u([d(),v("design:type",String)],w.prototype,"schemaPointer",void 0),u([b(n),v("design:type",c)],w.prototype,"childQuery",void 0),a("RequestSamples",w=u([e({selector:"request-samples",template:'\n          
Request samples
\n \n \n \n \n \n \n
\n
\n Copy \n
\n
\n              
\n
\n
\n ', -styles:["\n .action-buttons {\n display: block;\n opacity: 0;\n transition: opacity 0.3s ease;\n transform: translateY(100%); }\n .action-buttons > span {\n float: right; }\n .action-buttons > span > a {\n padding: 2px 10px;\n color: #ffffff;\n cursor: pointer;\n background-color: #1e272c; }\n .action-buttons > span > a:hover {\n background-color: #263238; }\n .action-buttons:after {\n display: block;\n content: '';\n clear: both; }\n\n .code-sample:hover > .action-buttons {\n opacity: 1; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: .9em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 3px 10px 2px 10px;\n line-height: 1.25;\n color: #9fb4be; }\n :host > tabs > ul li:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #ffffff; }\n :host > tabs > ul li.active {\n background-color: #ffffff;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n\n pre {\n overflow-x: auto;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre-wrap;\n margin-top: 0;\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n "],directives:[r,n,o,t],inputs:["schemaPointer"],pipes:[s],detect:!0,onPushOnly:!1}),v("design:paramtypes",[g,h])],w))}}}),a.register("2",["9","73","75","76","77","78","79","81","88","89","7a","7c","7e","8b","a0","a3"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){b=a.Input},function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.SchemaHelper},function(a){l=a.ResponsesList},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.SelectOnClick},function(a){p=a.ParamsList},function(a){q=a.ResponsesSamples},function(a){r=a.SchemaSample},function(a){s=a.RequestSamples}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function b(a){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data={},this.data.apiUrl=this.specMgr.apiUrl,this.data.httpMethod=m.baseName(this.pointer),this.data.path=m.baseName(this.pointer,2),this.data.methodInfo=this.componentSchema,this.data.methodInfo.tags=this.filterMainTags(this.data.methodInfo.tags),this.data.bodyParam=this.findBodyParam(),this.data.summary=k.methodSummary(this.componentSchema),this.componentSchema.operationId?this.data.methodAnchor="operation/"+encodeURIComponent(this.componentSchema.operationId):this.data.methodAnchor="tag/"+encodeURIComponent(this.tag+this.pointer)}},{key:"filterMainTags",value:function(a){var b=this.specMgr.getTagsMap();return a?a.filter(function(a){return b[a]&&b[a]["x-traitTag"]}):[]}},{key:"findBodyParam",value:function(){var a=this.specMgr.getMethodParams(this.pointer,!0),b=a.find(function(a){return"body"===a["in"]});return b}}]),b}(d),a("Method",v),t([b(),u("design:type",String)],v.prototype,"tag",void 0),a("Method",v=t([c({selector:"method",template:'\n
\n
\n

\n {{data.summary}}\n

\n \n

\n

\n \n \n
\n
\n
Definition
\n\n
\n
{{data.httpMethod}}
\n {{data.apiUrl}}{{data.path}}\n
\n\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n :host {\n padding-bottom: 100px;\n display: block;\n border-bottom: 1px solid rgba(127, 127, 127, 0.25); }\n\n :host:last-of-type {\n border-bottom: 0; }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n margin-bottom: .9em; }\n\n .method-endpoint {\n margin: 0 0 2em 0;\n padding: 10px 20px;\n border-radius: 4px;\n background-color: #222d32;\n display: block;\n font-weight: 300;\n white-space: nowrap;\n overflow-x: auto; }\n\n .method-endpoint > h5 {\n padding-top: 1px;\n padding-bottom: 0;\n margin: 0;\n font-size: .8em;\n color: #263238;\n vertical-align: middle;\n display: inline-block;\n border-radius: 2px; }\n\n .api-url {\n color: rgba(255, 255, 255, 0.6);\n margin-left: 10px;\n margin-top: 2px;\n position: relative;\n top: 1px;\n font-family: Montserrat, sans-serif;\n font-size: 0.929em !important; }\n\n .path {\n font-family: Montserrat, sans-serif;\n position: relative;\n top: 1px;\n color: #ffffff;\n font-size: 0.929em !important; }\n\n .method-tags {\n margin-top: 20px; }\n\n .method-tags a {\n font-size: 16px;\n color: #999;\n display: inline-block;\n padding: 0 0.5em;\n text-decoration: none; }\n\n .method-tags a:before {\n content: \'#\';\n margin-right: -0.4em; }\n\n .method-tags a:first-of-type {\n padding: 0; }\n\n .method-content, .method-samples {\n display: block;\n box-sizing: border-box;\n float: left; }\n\n .method-content {\n width: 60%;\n padding: 40px; }\n\n .method-samples {\n color: #fafbfc;\n width: 40%;\n padding: 40px;\n background: #263238; }\n\n responses-samples {\n display: block; }\n\n .method-samples header,\n .method-samples > h5 {\n color: #9fb4be;\n text-transform: uppercase; }\n\n .method-samples > h5 {\n margin-bottom: 8px; }\n\n .method-samples schema-sample {\n display: block; }\n\n .method:after {\n content: "";\n display: table;\n clear: both; }\n\n .method-description {\n padding: 6px 0 10px 0;\n margin: 0; }\n\n .http-method {\n color: #263238;\n background: #ffffff;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n [select-on-click] {\n cursor: pointer; }\n\n @media (max-width: 1100px) {\n .methods:before {\n display: none; }\n .method-samples, .method-content {\n width: 100%; }\n .method-samples {\n margin-top: 2em; }\n :host {\n padding-bottom: 0; } }\n '],directives:[p,l,q,r,s,o],detect:!0}),u("design:paramtypes",[e])],v))}}}),a.register("a5",["2","9","73","74","75","76","77","78","79","7a","a4"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;return{setters:[function(a){b=a.Method},function(a){c=a.forwardRef},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a.SchemaHelper},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.EncodeURIComponentPipe}],execute:function(){"use strict";o=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},p=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},q=function(a){function b(a){k(this,b),h(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return i(b,a),j(b,[{key:"prepareModel",value:function(){this.data={};var a=g.buildMenuTree(this.specMgr.schema);a.forEach(function(a){a.methods=a.methods||[],a.methods.forEach(function(b){b.tag=a.name})}),this.data.tags=a}},{key:"trackByPointer",value:function(a,b){return b.pointer}},{key:"trackByTagName",value:function(a,b){return b.name}}]),b}(e),a("MethodsList",q),a("MethodsList",q=o([d({selector:"methods-list",template:'\n
\n
\n
\n

{{tag.name}}

\n

\n
\n \n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n .tag-info {\n padding: 40px;\n box-sizing: border-box;\n background-color: white;\n width: 60%; }\n @media (max-width: 1100px) {\n .tag-info {\n width: 100%; } }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #0033a0;\n text-transform: capitalize;\n font-weight: normal; }\n\n .methods {\n display: block;\n position: relative; }\n '],directives:[c(function(){return b})],pipes:[n],detect:!0}),p("design:paramtypes",[f])],q))}}}),a.registerDynamic("75",["79"],!0,function(a,b,c){"use strict";var d=a("79")["default"];return b["default"]=function(a,b,c){for(var e=!0;e;){var f=a,g=b,h=c;e=!1,null===f&&(f=Function.prototype);var i=d(f,g);if(void 0!==i){if("value"in i)return i.value;var j=i.get;if(void 0===j)return;return j.call(h)}var k=Object.getPrototypeOf(f);if(null===k)return;a=k,b=g,c=h,e=!0,i=k=void 0}},b.__esModule=!0,c.exports}),a.registerDynamic("a6",["a7"],!0,function(a,b,c){var d=a("a7");return c.exports=function(a,b){return d.create(a,b)},c.exports}),a.registerDynamic("a8",["a6"],!0,function(a,b,c){return c.exports={"default":a("a6"),__esModule:!0},c.exports}),a.registerDynamic("a9",["98","aa"],!0,function(a,b,c){var d=a("98");return d(d.S,"Object",{setPrototypeOf:a("aa").set}),c.exports}),a.registerDynamic("ab",["a9","9a"],!0,function(a,b,c){return a("a9"),c.exports=a("9a").Object.setPrototypeOf,c.exports}),a.registerDynamic("ac",["ab"],!0,function(a,b,c){return c.exports={"default":a("ab"),__esModule:!0},c.exports}),a.registerDynamic("76",["a8","ac"],!0,function(a,b,c){"use strict";var d=a("a8")["default"],e=a("ac")["default"];return b["default"]=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=d(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(e?e(a,b):a.__proto__=b)},b.__esModule=!0,c.exports}),a.registerDynamic("ad",["ae"],!0,function(a,b,c){"use strict";var d=a("ae"),e=function(){function a(){}return a.prototype.getTitle=function(){return d.getDOM().getTitle()},a.prototype.setTitle=function(a){d.getDOM().setTitle(a)},a}();return b.Title=e,c.exports}),a.registerDynamic("af",[],!0,function(a,b,c){"use strict";var d="undefined"!=typeof window&&window||{};return b.window=d,b.document=d.document,b.location=d.location,b.gc=d.gc?function(){return d.gc()}:function(){return null},b.performance=d.performance?d.performance:null,b.Event=d.Event,b.MouseEvent=d.MouseEvent,b.KeyboardEvent=d.KeyboardEvent,b.EventTarget=d.EventTarget,b.History=d.History,b.Location=d.Location,b.EventListener=d.EventListener,c.exports}),a.registerDynamic("b0",["9","ae","af","b1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ae"),f=a("af"),g=a("b1"),h=function(){function a(a,b){this.msPerTick=a,this.numTicks=b}return a}();b.ChangeDetectionPerfRecord=h;var i=function(){function a(a){this.profiler=new j(a)}return a}();b.AngularTools=i;var j=function(){function a(a){this.appRef=a.injector.get(d.ApplicationRef)}return a.prototype.timeChangeDetection=function(a){var b=g.isPresent(a)&&a.record,c="Change Detection",d=g.isPresent(f.window.console.profile);b&&d&&f.window.console.profile(c);for(var i=e.getDOM().performanceNow(),j=0;5>j||e.getDOM().performanceNow()-i<500;)this.appRef.tick(),j++;var k=e.getDOM().performanceNow();b&&d&&f.window.console.profileEnd(c);var l=(k-i)/j;return f.window.console.log("ran "+j+" change detection cycles"),f.window.console.log(g.NumberWrapper.toFixed(l,2)+" ms per check"),new h(l,j)},a}();return b.AngularProfiler=j,c.exports}),a.registerDynamic("b2",["b1","b0"],!0,function(a,b,c){"use strict";function d(a){return h.ng=new g.AngularTools(a),a}function e(){delete h.ng}var f=a("b1"),g=a("b0"),h=f.global;return b.enableDebugTools=d,b.disableDebugTools=e,c.exports}),a.registerDynamic("b3",["ae","b1"],!0,function(a,b,c){"use strict";var d=a("ae"),e=a("b1"),f=function(){function a(){}return a.all=function(){return function(a){return!0}},a.css=function(a){return function(b){return e.isPresent(b.nativeElement)?d.getDOM().elementMatches(b.nativeElement,a):!1}},a.directive=function(a){return function(b){return-1!==b.providerTokens.indexOf(a)}},a}();return b.By=f,c.exports}),a.registerDynamic("b4",["6d","9","b5","b6","b7","b1","b8","b9","ba","bb","bc","bd"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("b5"),h=a("b6"),i=a("b7"),j=a("b1"),k=a("b8"),l=a("b9"),m=a("ba"),n=a("bb"),o=a("bc"),p=a("bd"),q=function(a){function b(b,c,d){var e=this;a.call(this),this._serializer=d,this._popStateListeners=[],this._hashChangeListeners=[],this._location=null,this._broker=b.createMessageBroker(m.ROUTER_CHANNEL),this._channelSource=c.from(m.ROUTER_CHANNEL),g.ObservableWrapper.subscribe(this._channelSource,function(a){var b=null;if(h.StringMapWrapper.contains(a,"event")){var c=a.event.type;if(j.StringWrapper.equals(c,"popstate")?b=e._popStateListeners:j.StringWrapper.equals(c,"hashchange")&&(b=e._hashChangeListeners),null!==b){var d=p.deserializeGenericEvent(a.event);e._location=e._serializer.deserialize(a.location,n.LocationType),b.forEach(function(a){return a(d)})}}})}return d(b,a),b.prototype.init=function(){var a=this,b=new k.UiArguments("getLocation"),c=this._broker.runOnService(b,n.LocationType);return g.PromiseWrapper.then(c,function(b){return a._location=b,!0},function(a){throw new i.BaseException(a)})},b.prototype.getBaseHrefFromDOM=function(){throw new i.BaseException("Attempt to get base href from DOM from WebWorker. You must either provide a value for the APP_BASE_HREF token through DI or use the hash location strategy.")},b.prototype.onPopState=function(a){this._popStateListeners.push(a)},b.prototype.onHashChange=function(a){this._hashChangeListeners.push(a)},Object.defineProperty(b.prototype,"pathname",{get:function(){return null===this._location?null:this._location.pathname},set:function(a){if(null===this._location)throw new i.BaseException("Attempt to set pathname before value is obtained from UI");this._location.pathname=a;var b=[new k.FnArg(a,o.PRIMITIVE)],c=new k.UiArguments("setPathname",b);this._broker.runOnService(c,null)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return null===this._location?null:this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return null===this._location?null:this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("pushState",d);this._broker.runOnService(e,null)},b.prototype.replaceState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("replaceState",d);this._broker.runOnService(e,null)},b.prototype.forward=function(){var a=new k.UiArguments("forward");this._broker.runOnService(a,null)},b.prototype.back=function(){var a=new k.UiArguments("back");this._broker.runOnService(a,null)},b.decorators=[{type:f.Injectable}],b.ctorParameters=[{type:k.ClientMessageBrokerFactory},{type:l.MessageBus},{type:o.Serializer}],b}(e.PlatformLocation);return b.WebWorkerPlatformLocation=q,c.exports}),a.registerDynamic("be",["6d","9","b4"],!0,function(a,b,c){"use strict";function d(a,b){return function(){return b.runGuarded(function(){return a.init()})}}var e=a("6d"),f=a("9"),g=a("b4");return b.WORKER_APP_LOCATION_PROVIDERS=[{provide:e.PlatformLocation,useClass:g.WebWorkerPlatformLocation},{provide:f.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.PlatformLocation,f.NgZone]}],c.exports}),a.registerDynamic("bf",["9","c0","b5","b1","b9","ba","bb","bc","c1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c0"),f=a("b5"),g=a("b1"),h=a("b9"),i=a("ba"),j=a("bb"),k=a("bc"),l=a("c1"),m=function(){function a(a,b,c,d){this._brokerFactory=a,this._platformLocation=b,this._serializer=d,this._platformLocation.onPopState(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._platformLocation.onHashChange(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._broker=this._brokerFactory.createMessageBroker(i.ROUTER_CHANNEL),this._channelSink=c.to(i.ROUTER_CHANNEL)}return a.prototype.start=function(){this._broker.registerMethod("getLocation",null,g.FunctionWrapper.bind(this._getLocation,this),j.LocationType),this._broker.registerMethod("setPathname",[k.PRIMITIVE],g.FunctionWrapper.bind(this._setPathname,this)),this._broker.registerMethod("pushState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.pushState,this._platformLocation)),this._broker.registerMethod("replaceState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.replaceState,this._platformLocation)),this._broker.registerMethod("forward",null,g.FunctionWrapper.bind(this._platformLocation.forward,this._platformLocation)),this._broker.registerMethod("back",null,g.FunctionWrapper.bind(this._platformLocation.back,this._platformLocation))},a.prototype._getLocation=function(){return f.PromiseWrapper.resolve(this._platformLocation.location)},a.prototype._sendUrlChangeEvent=function(a){var b=this._serializer.serialize(this._platformLocation.location,j.LocationType),c={type:a.type};f.ObservableWrapper.callEmit(this._channelSink,{event:c,location:b})},a.prototype._setPathname=function(a){this._platformLocation.pathname=a},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:l.ServiceMessageBrokerFactory},{type:e.BrowserPlatformLocation},{type:h.MessageBus},{type:k.Serializer}],a}();return b.MessageBasedPlatformLocation=m,c.exports}),a.registerDynamic("c2",["9","c0","bf"],!0,function(a,b,c){"use strict";function d(a){return function(){var b=a.get(e.NgZone);b.runGuarded(function(){return a.get(g.MessageBasedPlatformLocation).start()})}}var e=a("9"),f=a("c0"),g=a("bf");return b.WORKER_UI_LOCATION_PROVIDERS=[g.MessageBasedPlatformLocation,f.BrowserPlatformLocation,{provide:e.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.Injector]}],c.exports}),a.registerDynamic("c3",["b6","b1"],!0,function(a,b,c){"use strict";function d(a){return j(a,p)}function e(a){var b=j(a,p);return i(a,b)}function f(a){return j(a,m)}function g(a){var b=j(a,n);return i(a,b)}function h(a){var b=j(a,o);return i(a,b)}function i(a,b){if(q.has(a.target.tagName.toLowerCase())){var c=a.target;b.target={value:c.value},l.isPresent(c.files)&&(b.target.files=c.files)}return b}function j(a,b){for(var c={},d=0;d=p&&q>=c||c==r))return a.substring(b,a.length)}return""}function g(a){switch(a){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}function h(a,b){return l.getDOM().getComputedStyle(a)[b]}var i=a("9"),j=a("b6"),k=a("b1"),l=a("ae"),m=a("d7"),n=a("d5"),o=function(){function a(){}return a.prototype.animate=function(a,b,c,e,f,g){var h=a,i=[],j={};if(k.isPresent(b)&&b.styles.length>0&&(j=d(h,b,{}),j.offset=0,i.push(j)),c.forEach(function(a){var b=d(h,a.styles,j);b.offset=a.offset,i.push(b)}),1==i.length){var l=i[0];l.offset=null,i=[l,l]}var m={duration:e,delay:f,easing:g,fill:"both"},o=this._triggerWebAnimation(h,i,m);return new n.WebAnimationsPlayer(o,e)},a.prototype._triggerWebAnimation=function(a,b,c){return a.animate(b,c)},a}();b.WebAnimationsDriver=o;var p=48,q=57,r=46;return c.exports}),a.registerDynamic("d8",[],!0,function(a,b,c){"use strict";function d(){return!!window.history.pushState}return b.supportsState=d,c.exports}),a.registerDynamic("c0",["6d","9","ae","d8"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("ae"),h=a("d8"),i=function(a){function b(){a.call(this),this._init()}return d(b,a),b.prototype._init=function(){this._location=g.getDOM().getLocation(),this._history=g.getDOM().getHistory()},Object.defineProperty(b.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),b.prototype.getBaseHrefFromDOM=function(){return g.getDOM().getBaseHref()},b.prototype.onPopState=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("popstate",a,!1)},b.prototype.onHashChange=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("hashchange",a,!1)},Object.defineProperty(b.prototype,"pathname",{get:function(){return this._location.pathname},set:function(a){this._location.pathname=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){h.supportsState()?this._history.pushState(a,b,c):this._location.hash=c},b.prototype.replaceState=function(a,b,c){h.supportsState()?this._history.replaceState(a,b,c):this._location.hash=c},b.prototype.forward=function(){this._history.forward()},b.prototype.back=function(){this._history.back()},b.decorators=[{type:f.Injectable}],b.ctorParameters=[],b}(e.PlatformLocation);return b.BrowserPlatformLocation=i,c.exports}),a.registerDynamic("cb",["9","ae","b6","b1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ae"),f=a("b6"),g=a("b1"),h=function(){function a(a){this._testability=a}return a.prototype.isStable=function(){return this._testability.isStable()},a.prototype.whenStable=function(a){this._testability.whenStable(a)},a.prototype.findBindings=function(a,b,c){return this.findProviders(a,b,c)},a.prototype.findProviders=function(a,b,c){return this._testability.findBindings(a,b,c)},a}(),i=function(){function a(){}return a.init=function(){d.setTestabilityGetter(new a)},a.prototype.addToWindow=function(a){g.global.getAngularTestability=function(b,c){void 0===c&&(c=!0);var d=a.findTestabilityInTree(b,c);if(null==d)throw new Error("Could not find testability for element.");return new h(d)},g.global.getAllAngularTestabilities=function(){var b=a.getAllTestabilities();return b.map(function(a){return new h(a)})},g.global.getAllAngularRootElements=function(){return a.getAllRootElements()};var b=function(a){var b=g.global.getAllAngularTestabilities(),c=b.length,d=!1,e=function(b){d=d||b,c--,0==c&&a(d)};b.forEach(function(a){a.whenStable(e)})};g.global.frameworkStabilizers||(g.global.frameworkStabilizers=f.ListWrapper.createGrowableSize(0)),g.global.frameworkStabilizers.push(b)},a.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a.getTestability(b);return g.isPresent(d)?d:c?e.getDOM().isShadowRoot(b)?this.findTestabilityInTree(a,e.getDOM().getHost(b),!0):this.findTestabilityInTree(a,e.getDOM().parentElement(b),!0):null},a}();return b.BrowserGetTestability=i,c.exports}),a.registerDynamic("d9",["b6","cf"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b6"),f=a("cf"),g={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},h=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return a=a.toLowerCase(),e.StringMapWrapper.contains(g,a)},b}(f.EventManagerPlugin);return b.HammerGesturesPluginCommon=h,c.exports}),a.registerDynamic("d0",["9","b7","b1","d9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b7"),g=a("b1"),h=a("d9");b.HAMMER_GESTURE_CONFIG=new e.OpaqueToken("HammerGestureConfig");var i=function(){function a(){this.events=[],this.overrides={}}return a.prototype.buildHammer=function(a){var b=new Hammer(a);b.get("pinch").set({enable:!0}),b.get("rotate").set({enable:!0});for(var c in this.overrides)b.get(c).set(this.overrides[c]);return b},a.decorators=[{type:e.Injectable}],a}();b.HammerGestureConfig=i;var j=function(a){function c(b){a.call(this),this._config=b}return d(c,a),c.prototype.supports=function(b){if(!a.prototype.supports.call(this,b)&&!this.isCustomEvent(b))return!1;if(!g.isPresent(window.Hammer))throw new f.BaseException("Hammer.js is not loaded, can not bind "+b+" event");return!0},c.prototype.addEventListener=function(a,b,c){var d=this,e=this.manager.getZone();return b=b.toLowerCase(),e.runOutsideAngular(function(){var f=d._config.buildHammer(a),g=function(a){e.runGuarded(function(){c(a)})};return f.on(b,g),function(){f.off(b,g)}})},c.prototype.isCustomEvent=function(a){return this._config.events.indexOf(a)>-1},c.decorators=[{type:e.Injectable}],c.ctorParameters=[{type:i,decorators:[{type:e.Inject,args:[b.HAMMER_GESTURE_CONFIG]}]}],c}(h.HammerGesturesPluginCommon);return b.HammerGesturesPlugin=j,c.exports}),a.registerDynamic("d1",["9","b1","b6","ae","cf","45"],!0,function(a,b,c){return function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b1"),g=a("b6"),h=a("ae"),i=a("cf"),j=["alt","control","meta","shift"],k={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},l=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return f.isPresent(b.parseEventName(a))},b.prototype.addEventListener=function(a,c,d){var e=b.parseEventName(c),f=b.eventCallback(a,g.StringMapWrapper.get(e,"fullKey"),d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return h.getDOM().onAndCancel(a,g.StringMapWrapper.get(e,"domEventName"),f)})},b.parseEventName=function(a){var c=a.toLowerCase().split("."),d=c.shift();if(0===c.length||!f.StringWrapper.equals(d,"keydown")&&!f.StringWrapper.equals(d,"keyup"))return null;var e=b._normalizeKey(c.pop()),h="";if(j.forEach(function(a){g.ListWrapper.contains(c,a)&&(g.ListWrapper.remove(c,a),h+=a+".")}),h+=e,0!=c.length||0===e.length)return null;var i=g.StringMapWrapper.create();return g.StringMapWrapper.set(i,"domEventName",d),g.StringMapWrapper.set(i,"fullKey",h),i},b.getEventFullKey=function(a){var b="",c=h.getDOM().getEventKey(a);return c=c.toLowerCase(),f.StringWrapper.equals(c," ")?c="space":f.StringWrapper.equals(c,".")&&(c="dot"),j.forEach(function(d){if(d!=c){var e=g.StringMapWrapper.get(k,d);e(a)&&(b+=d+".")}}),b+=c},b.eventCallback=function(a,c,d,e){return function(a){f.StringWrapper.equals(b.getEventFullKey(a),c)&&e.runGuarded(function(){return d(a)})}},b._normalizeKey=function(a){switch(a){case"esc":return"escape";default:return a}},b.decorators=[{type:e.Injectable}],b.ctorParameters=[],b}(i.EventManagerPlugin);b.KeyEventsPlugin=l}(a("45")),c.exports}),a.registerDynamic("da",["9","ae","db"],!0,function(a,b,c){"use strict";function d(){if(m)return m;n=k.getDOM();var a=n.createElement("template");if("content"in a)return a;var b=n.createHtmlDocument();if(m=n.querySelector(b,"body"),null==m){var c=n.createElement("html",b);m=n.createElement("body",b),n.appendChild(c,m),n.appendChild(b,c)}return m}function e(a){for(var b={},c=0,d=a.split(",");c/g,">")}function h(a){n.attributeMap(a).forEach(function(b,c){"xmlns:ns1"!==c&&0!==c.indexOf("ns1:")||n.removeAttribute(a,c)});for(var b=0,c=n.childNodesAsList(a);b"))},a.prototype.endElement=function(a){a=a.toLowerCase(),u.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(this.buf.push(""))},a.prototype.chars=function(a){this.buf.push(g(a))},a}(),A=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B=/([^\#-~ |!])/g;return b.sanitizeHtml=i,c.exports}),a.registerDynamic("dc",["9","ae","db"],!0,function(a,b,c){"use strict";function d(a){for(var b=!0,c=!0,d=0;d0&&(this._sendMessages(this._messageBuffer),this._messageBuffer=[])},a.prototype._sendMessages=function(a){this._postMessageTarget.postMessage(a)},a}();b.PostMessageBusSink=h;var i=function(){function a(a){var b=this;if(this._channels=f.StringMapWrapper.create(),a)a.addEventListener("message",function(a){return b._handleMessages(a)});else{var c=self;c.addEventListener("message",function(a){return b._handleMessages(a)})}}return a.prototype.attachToZone=function(a){this._zone=a},a.prototype.initChannel=function(a,b){if(void 0===b&&(b=!0),f.StringMapWrapper.contains(this._channels,a))throw new g.BaseException(a+" has already been initialized");var c=new e.EventEmitter(!1),d=new k(c,b);this._channels[a]=d},a.prototype.from=function(a){if(f.StringMapWrapper.contains(this._channels,a))return this._channels[a].emitter;throw new g.BaseException(a+" is not set up. Did you forget to call initChannel?")},a.prototype._handleMessages=function(a){for(var b=a.data,c=0;ck;k++){var l=f[k];j[k]=e._serializer.deserialize(l,b[k])}var m=h.FunctionWrapper.apply(c,j);h.isPresent(d)&&h.isPresent(m)&&e._wrapWebWorkerPromise(a.id,m,d)})},b.prototype._handleMessage=function(a){var b=new o(a);this._methods.has(b.method)&&this._methods.get(b.method)(b)},b.prototype._wrapWebWorkerPromise=function(a,b,c){var d=this;f.PromiseWrapper.then(b,function(b){f.ObservableWrapper.callEmit(d._sink,{type:"result",value:d._serializer.serialize(b,c),id:a})})},b}(m);b.ServiceMessageBroker_=n;var o=function(){function a(a){this.method=a.method,this.args=a.args,this.id=a.id,this.type=a.type}return a}();return b.ReceivedMessage=o,c.exports}),a.registerDynamic("df",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("b5",["b","c","d","b1","f","df"],!0,function(a,b,c){"use strict"; -var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("b1"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("df");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("b8",["9","b5","b6","b1","b9","bc"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b5"),g=a("b6"),h=a("b1"),i=a("b9"),j=a("bc"),k=function(){function a(){}return a}();b.ClientMessageBrokerFactory=k;var l=function(a){function b(b,c){a.call(this),this._messageBus=b,this._serializer=c}return d(b,a),b.prototype.createMessageBroker=function(a,b){return void 0===b&&(b=!0),this._messageBus.initChannel(a,b),new n(this._messageBus,this._serializer,a)},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.MessageBus},{type:j.Serializer}],b}(k);b.ClientMessageBrokerFactory_=l;var m=function(){function a(){}return a}();b.ClientMessageBroker=m;var n=function(a){function b(b,c,d){var e=this;a.call(this),this.channel=d,this._pending=new Map,this._sink=b.to(d),this._serializer=c;var g=b.from(d);f.ObservableWrapper.subscribe(g,function(a){return e._handleMessage(a)})}return d(b,a),b.prototype._generateMessageId=function(a){for(var b=h.stringify(h.DateWrapper.toMillis(h.DateWrapper.now())),c=0,d=a+b+h.stringify(c);h.isPresent(this._pending[d]);)d=""+a+b+c,c++;return d},b.prototype.runOnService=function(a,b){var c=this,d=[];h.isPresent(a.args)&&a.args.forEach(function(a){null!=a.type?d.push(c._serializer.serialize(a.value,a.type)):d.push(a.value)});var e,g=null;if(null!=b){var i=f.PromiseWrapper.completer();g=this._generateMessageId(a.method),this._pending.set(g,i),f.PromiseWrapper.catchError(i.promise,function(a,b){h.print(a),i.reject(a,b)}),e=f.PromiseWrapper.then(i.promise,function(a){return null==c._serializer?a:c._serializer.deserialize(a,b)})}else e=null;var j={method:a.method,args:d};return null!=g&&(j.id=g),f.ObservableWrapper.callEmit(this._sink,j),e},b.prototype._handleMessage=function(a){var b=new o(a);if(h.StringWrapper.equals(b.type,"result")||h.StringWrapper.equals(b.type,"error")){var c=b.id;this._pending.has(c)&&(h.StringWrapper.equals(b.type,"result")?this._pending.get(c).resolve(b.value):this._pending.get(c).reject(b.value,null),this._pending["delete"](c))}},b}(m);b.ClientMessageBroker_=n;var o=function(){function a(a){this.type=g.StringMapWrapper.get(a,"type"),this.id=this._getValueIfPresent(a,"id"),this.value=this._getValueIfPresent(a,"value")}return a.prototype._getValueIfPresent=function(a,b){return g.StringMapWrapper.contains(a,b)?g.StringMapWrapper.get(a,b):null},a}(),p=function(){function a(a,b){this.value=a,this.type=b}return a}();b.FnArg=p;var q=function(){function a(a,b){this.method=a,this.args=b}return a}();return b.UiArguments=q,c.exports}),a.registerDynamic("b9",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.MessageBus=d,c.exports}),a.registerDynamic("ba",[],!0,function(a,b,c){"use strict";return b.RENDERER_CHANNEL="ng-Renderer",b.EVENT_CHANNEL="ng-Events",b.ROUTER_CHANNEL="ng-Router",c.exports}),a.registerDynamic("c6",["9"],!0,function(a,b,c){"use strict";var d=a("9"),e=function(){function a(){this._nextIndex=0,this._lookupById=new Map,this._lookupByObject=new Map}return a.prototype.allocateId=function(){return this._nextIndex++},a.prototype.store=function(a,b){this._lookupById.set(b,a),this._lookupByObject.set(a,b)},a.prototype.remove=function(a){var b=this._lookupByObject.get(a);this._lookupByObject["delete"](a),this._lookupById["delete"](b)},a.prototype.deserialize=function(a){return null==a?null:this._lookupById.has(a)?this._lookupById.get(a):null},a.prototype.serialize=function(a){return null==a?null:this._lookupByObject.get(a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[],a}();return b.RenderStore=e,c.exports}),a.registerDynamic("bb",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g,h,i){this.href=a,this.protocol=b,this.host=c,this.hostname=d,this.port=e,this.pathname=f,this.search=g,this.hash=h,this.origin=i}return a}();return b.LocationType=d,c.exports}),a.registerDynamic("bc",["9","c8","b7","b1","c6","bb"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c8"),f=a("b7"),g=a("b1"),h=a("c6"),i=a("bb");b.PRIMITIVE=String;var j=function(){function a(a){this._renderStore=a}return a.prototype.serialize=function(a,c){var e=this;if(!g.isPresent(a))return null;if(g.isArray(a))return a.map(function(a){return e.serialize(a,c)});if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.serialize(a);if(c===d.RenderComponentType)return this._serializeRenderComponentType(a);if(c===d.ViewEncapsulation)return g.serializeEnum(a);if(c===i.LocationType)return this._serializeLocation(a);throw new f.BaseException("No serializer for "+c.toString())},a.prototype.deserialize=function(a,c,h){var j=this;if(!g.isPresent(a))return null;if(g.isArray(a)){var l=[];return a.forEach(function(a){return l.push(j.deserialize(a,c,h))}),l}if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.deserialize(a);if(c===d.RenderComponentType)return this._deserializeRenderComponentType(a);if(c===d.ViewEncapsulation)return e.VIEW_ENCAPSULATION_VALUES[a];if(c===i.LocationType)return this._deserializeLocation(a);throw new f.BaseException("No deserializer for "+c.toString())},a.prototype._serializeLocation=function(a){return{href:a.href,protocol:a.protocol,host:a.host,hostname:a.hostname,port:a.port,pathname:a.pathname,search:a.search,hash:a.hash,origin:a.origin}},a.prototype._deserializeLocation=function(a){return new i.LocationType(a.href,a.protocol,a.host,a.hostname,a.port,a.pathname,a.search,a.hash,a.origin)},a.prototype._serializeRenderComponentType=function(a){return{id:a.id,templateUrl:a.templateUrl,slotCount:a.slotCount,encapsulation:this.serialize(a.encapsulation,d.ViewEncapsulation),styles:this.serialize(a.styles,b.PRIMITIVE)}},a.prototype._deserializeRenderComponentType=function(a){return new d.RenderComponentType(a.id,a.templateUrl,a.slotCount,this.deserialize(a.encapsulation,d.ViewEncapsulation),this.deserialize(a.styles,b.PRIMITIVE))},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:h.RenderStore}],a}();b.Serializer=j;var k=function(){function a(){}return a}();return b.RenderStoreObject=k,c.exports}),a.registerDynamic("bd",[],!0,function(a,b,c){"use strict";function d(a){return a}return b.deserializeGenericEvent=d,c.exports}),a.registerDynamic("e0",["9","b5","b6","b1","b8","b9","ba","c6","bc","bd"],!0,function(a,b,c){"use strict";function d(a,b){return a+":"+b}var e=a("9"),f=a("b5"),g=a("b6"),h=a("b1"),i=a("b8"),j=a("b9"),k=a("ba"),l=a("c6"),m=a("bc"),n=a("bd"),o=function(){function a(a,b,c,d){var e=this;this._serializer=c,this._renderStore=d,this.globalEvents=new q,this._componentRenderers=new Map,this._messageBroker=a.createMessageBroker(k.RENDERER_CHANNEL),b.initChannel(k.EVENT_CHANNEL);var g=b.from(k.EVENT_CHANNEL);f.ObservableWrapper.subscribe(g,function(a){return e._dispatchEvent(a)})}return a.prototype._dispatchEvent=function(a){var b=a.eventName,c=a.eventTarget,e=n.deserializeGenericEvent(a.event);if(h.isPresent(c))this.globalEvents.dispatchEvent(d(c,b),e);else{var f=this._serializer.deserialize(a.element,m.RenderStoreObject);f.events.dispatchEvent(b,e)}},a.prototype.renderComponent=function(a){var b=this._componentRenderers.get(a.id);if(h.isBlank(b)){b=new p(this,a),this._componentRenderers.set(a.id,b);var c=this._renderStore.allocateId();this._renderStore.store(b,c),this.runOnService("renderComponent",[new i.FnArg(a,e.RenderComponentType),new i.FnArg(b,m.RenderStoreObject)])}return b},a.prototype.runOnService=function(a,b){var c=new i.UiArguments(a,b);this._messageBroker.runOnService(c,null)},a.prototype.allocateNode=function(){var a=new r,b=this._renderStore.allocateId();return this._renderStore.store(a,b),a},a.prototype.allocateId=function(){return this._renderStore.allocateId()},a.prototype.destroyNodes=function(a){for(var b=0;b0&&n.isPresent(c)){var d=s.getDOM().nextSibling(a);if(n.isPresent(d))for(var e=0;e=a.length-2?b:"paragraph_open"===a[b].type&&a[b].tight&&"inline"===a[b+1].type&&0===a[b+1].content.length&&"paragraph_close"===a[b+2].type&&a[b+2].tight?d(a,b+2):b}var e=a("e8").has,f=a("e8").unescapeMd,g=a("e8").replaceEntities,h=a("e8").escapeHtml,i={};i.blockquote_open=function(){return"
\n"},i.blockquote_close=function(a,b){return"
"+j(a,b)},i.code=function(a,b){return a[b].block?"
"+h(a[b].content)+"
"+j(a,b):""+h(a[b].content)+""},i.fence=function(a,b,c,d,i){var k,l,m=a[b],n="",o=c.langPrefix,p="";if(m.params){if(k=m.params.split(/\s+/g)[0],e(i.rules.fence_custom,k))return i.rules.fence_custom[k](a,b,c,d,i);p=h(g(f(k))),n=' class="'+o+p+'"'}return l=c.highlight?c.highlight(m.content,p)||h(m.content):h(m.content),"
"+l+"
"+j(a,b)},i.fence_custom={},i.heading_open=function(a,b){return""},i.heading_close=function(a,b){return"\n"},i.hr=function(a,b,c){return(c.xhtmlOut?"
":"
")+j(a,b)},i.bullet_list_open=function(){return"
    \n"},i.bullet_list_close=function(a,b){return"
"+j(a,b)},i.list_item_open=function(){return"
  • "},i.list_item_close=function(){return"
  • \n"},i.ordered_list_open=function(a,b){var c=a[b],d=c.order>1?' start="'+c.order+'"':"";return"\n"},i.ordered_list_close=function(a,b){return""+j(a,b)},i.paragraph_open=function(a,b){return a[b].tight?"":"

    "},i.paragraph_close=function(a,b){var c=!(a[b].tight&&b&&"inline"===a[b-1].type&&!a[b-1].content);return(a[b].tight?"":"

    ")+(c?j(a,b):"")},i.link_open=function(a,b,c){var d=a[b].title?' title="'+h(g(a[b].title))+'"':"",e=c.linkTarget?' target="'+c.linkTarget+'"':"";return'"},i.link_close=function(){return""},i.image=function(a,b,c){var d=' src="'+h(a[b].src)+'"',e=a[b].title?' title="'+h(g(a[b].title))+'"':"",f=' alt="'+(a[b].alt?h(g(a[b].alt)):"")+'"',i=c.xhtmlOut?" /":"";return""},i.table_open=function(){return"\n"},i.table_close=function(){return"
    \n"},i.thead_open=function(){return"\n"},i.thead_close=function(){return"\n"},i.tbody_open=function(){return"\n"},i.tbody_close=function(){return"\n"},i.tr_open=function(){return""},i.tr_close=function(){return"\n"},i.th_open=function(a,b){var c=a[b];return""},i.th_close=function(){return""},i.td_open=function(a,b){var c=a[b];return""},i.td_close=function(){return""},i.strong_open=function(){return""},i.strong_close=function(){return""},i.em_open=function(){return""},i.em_close=function(){return""},i.del_open=function(){return""},i.del_close=function(){return""},i.ins_open=function(){return""},i.ins_close=function(){return""},i.mark_open=function(){return""},i.mark_close=function(){return""},i.sub=function(a,b){return""+h(a[b].content)+""},i.sup=function(a,b){return""+h(a[b].content)+""},i.hardbreak=function(a,b,c){return c.xhtmlOut?"
    \n":"
    \n"},i.softbreak=function(a,b,c){return c.breaks?c.xhtmlOut?"
    \n":"
    \n":"\n"},i.text=function(a,b){return h(a[b].content)},i.htmlblock=function(a,b){return a[b].content},i.htmltag=function(a,b){return a[b].content},i.abbr_open=function(a,b){return''},i.abbr_close=function(){return""},i.footnote_ref=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),'['+c+"]"},i.footnote_block_open=function(a,b,c){var d=c.xhtmlOut?'
    \n':'
    \n';return d+'
    \n
      \n'},i.footnote_block_close=function(){return"
    \n
    \n"},i.footnote_open=function(a,b){var c=Number(a[b].id+1).toString();return'
  • '},i.footnote_close=function(){return"
  • \n"},i.footnote_anchor=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),' '},i.dl_open=function(){return"
    \n"},i.dt_open=function(){return"
    "},i.dd_open=function(){return"
    "},i.dl_close=function(){return"
    \n"},i.dt_close=function(){return"\n"},i.dd_close=function(){return"\n"};var j=i.getBreak=function(a,b){return b=d(a,b),bh||58!==a.charCodeAt(h+1))return-1;for(j=g.posMax,i=h+2;j>i&&10!==g.src.charCodeAt(i);i++);return k=a.slice(2,h),l=a.slice(h+2,i).trim(),0===l.length?-1:(d.abbreviations||(d.abbreviations={}),"undefined"==typeof d.abbreviations[":"+k]&&(d.abbreviations[":"+k]=l),i)}var e=a("ec"),f=a("ed");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("paragraph_open"===g[b-1].type&&"inline"===g[b].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("ee",["ec","ed","ef","f0","f1"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var j,k,l,m,n,o,p,q,r;if(91!==a.charCodeAt(0))return-1;if(-1===a.indexOf("]:"))return-1;if(j=new e(a,b,c,d,[]),k=f(j,0),0>k||58!==a.charCodeAt(k+1))return-1;for(m=j.posMax,l=k+2;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);if(!g(j,l))return-1;for(p=j.linkContent,l=j.pos,o=l,l+=1;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);for(m>l&&o!==l&&h(j,l)?(q=j.linkContent,l=j.pos):(q="",l=o);m>l&&32===j.src.charCodeAt(l);)l++;return m>l&&10!==j.src.charCodeAt(l)?-1:(r=i(a.slice(1,k)),"undefined"==typeof d.references[r]&&(d.references[r]={title:q,href:p}),l)}var e=a("ec"),f=a("ed"),g=a("ef"),h=a("f0"),i=a("f1");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(a.env.references=a.env.references||{},!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("inline"===g[b].type&&"paragraph_open"===g[b-1].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("f2",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e=a.tokens;for(c=0,d=e.length;d>c;c++)b=e[c],"inline"===b.type&&a.inline.parse(b.content,a.options,a.env,b.children)},c.exports}),a.registerDynamic("f3",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e,f,g,h,i,j,k=0,l=!1,m={};if(a.env.footnotes&&(a.tokens=a.tokens.filter(function(a){return"footnote_reference_open"===a.type?(l=!0,i=[],j=a.label,!1):"footnote_reference_close"===a.type?(l=!1,m[":"+j]=i,!1):(l&&i.push(a),!l)}),a.env.footnotes.list)){for(g=a.env.footnotes.list,a.tokens.push({type:"footnote_block_open",level:k++}),b=0,c=g.length;c>b;b++){for(a.tokens.push({type:"footnote_open",id:b,level:k++}),g[b].tokens?(h=[],h.push({type:"paragraph_open",tight:!1,level:k++}),h.push({type:"inline",content:"",level:k,children:g[b].tokens}),h.push({type:"paragraph_close",tight:!1,level:--k})):g[b].label&&(h=m[":"+g[b].label]),a.tokens=a.tokens.concat(h),f="paragraph_close"===a.tokens[a.tokens.length-1].type?a.tokens.pop():null,e=g[b].count>0?g[b].count:1,d=0;e>d;d++)a.tokens.push({type:"footnote_anchor",id:b,subId:d,level:k});f&&a.tokens.push(f),a.tokens.push({type:"footnote_close",level:--k})}a.tokens.push({type:"footnote_block_close",level:--k})}},c.exports}),a.registerDynamic("f4",[],!0,function(a,b,c){"use strict";function d(a){return a.replace(/([-()\[\]{}+?*.$\^|,:#c;c++)if("inline"===p[c].type)for(g=p[c].children,b=g.length-1;b>=0;b--)if(h=g[b],"text"===h.type){for(k=0,i=h.content,m.lastIndex=0,l=h.level,j=[];n=m.exec(i);)m.lastIndex>k&&j.push({type:"text",content:i.slice(k,n.index+n[1].length),level:l}),j.push({type:"abbr_open",title:a.env.abbreviations[":"+n[2]],level:l++}),j.push({type:"text",content:n[2],level:l}),j.push({type:"abbr_close",level:--l}),k=m.lastIndex-n[3].length;j.length&&(k=0;h--)if("inline"===a.tokens[h].type)for(g=a.tokens[h].children,b=g.length-1;b>=0;b--)c=g[b],"text"===c.type&&(f=c.content,f=d(f),e.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),c.content=f)},c.exports}),a.registerDynamic("f6",[],!0,function(a,b,c){"use strict";function d(a,b){return 0>b||b>=a.length?!1:!h.test(a[b])}function e(a,b,c){return a.substr(0,b)+c+a.substr(b+1)}var f=/['"]/,g=/['"]/g,h=/[-\s()\[\]]/,i="’";return c.exports=function(a){var b,c,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w;if(a.options.typographer)for(w=[],u=a.tokens.length-1;u>=0;u--)if("inline"===a.tokens[u].type)for(v=a.tokens[u].children,w.length=0,b=0;b=0&&!(w[s].level<=m);s--);w.length=s+1,h=c.content,k=0,l=h.length;a:for(;l>k&&(g.lastIndex=k,j=g.exec(h));)if(n=!d(h,j.index-1),k=j.index+1,t="'"===j[0],o=!d(h,k),o||n){if(q=!o,r=!n)for(s=w.length-1;s>=0&&(p=w[s],!(w[s].levelf;f++){var h=c[f],i=h.getType(),j=h.getText();if("element"===i)"a"===h.getTagName()&&(h.isClosing()?d=Math.max(d-1,0):d++),e.push(j);else if("entity"===i)e.push(j);else if(0===d){var k=this.linkifyStr(j);e.push(k)}else e.push(j)}return e.join("")},linkifyStr:function(a){return this.getMatchParser().replace(a,this.createMatchReturnVal,this)},createMatchReturnVal:function(b){var c;if(this.replaceFn&&(c=this.replaceFn.call(this,this,b)),"string"==typeof c)return c;if(c===!1)return b.getMatchedText();if(c instanceof a.HtmlTag)return c.toString();var d=this.getTagBuilder(),e=d.build(b);return e.toString()},getHtmlParser:function(){var b=this.htmlParser;return b||(b=this.htmlParser=new a.htmlParser.HtmlParser),b},getMatchParser:function(){var b=this.matchParser;return b||(b=this.matchParser=new a.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,stripPrefix:this.stripPrefix})),b},getTagBuilder:function(){var b=this.tagBuilder;return b||(b=this.tagBuilder=new a.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),b}},a.link=function(b,c){var d=new a(c);return d.link(b)},a.match={},a.htmlParser={},a.matchParser={},a.Util={abstractMethod:function(){throw"abstract"},assign:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a},extend:function(b,c){var d=b.prototype,e=function(){};e.prototype=d;var f;f=c.hasOwnProperty("constructor")?c.constructor:function(){d.constructor.apply(this,arguments)};var g=f.prototype=new e;return g.constructor=f,g.superclass=d,delete c.constructor,a.Util.assign(g,c),f},ellipsis:function(a,b,c){return a.length>b&&(c=null==c?"..":c,a=a.substring(0,b-c.length)+c),a},indexOf:function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},splitAndCapture:function(a,b){if(!b.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var c,d=[],e=0;c=b.exec(a);)d.push(a.substring(e,c.index)),d.push(c[0]),e=c.index+c[0].length;return d.push(a.substring(e)),d}},a.HtmlTag=a.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(b){a.Util.assign(this,b),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(a){return this.tagName=a,this},getTagName:function(){return this.tagName||""},setAttr:function(a,b){var c=this.getAttrs();return c[a]=b,this},getAttr:function(a){return this.getAttrs()[a]},setAttrs:function(b){var c=this.getAttrs();return a.Util.assign(c,b),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(a){return this.setAttr("class",a)},addClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);c=h.shift();)-1===f(g,c)&&g.push(c);return this.getAttrs()["class"]=g.join(" "),this},removeClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);g.length&&(c=h.shift());){var i=f(g,c);-1!==i&&g.splice(i,1)}return this.getAttrs()["class"]=g.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(a){return-1!==(" "+this.getClass()+" ").indexOf(" "+a+" ")},setInnerHtml:function(a){return this.innerHtml=a,this},getInnerHtml:function(){return this.innerHtml||""},toString:function(){var a=this.getTagName(),b=this.buildAttrsStr();return b=b?" "+b:"",["<",a,b,">",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var a=this.getAttrs(),b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+'="'+a[c]+'"');return b.join(" ")}}),a.AnchorTagBuilder=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},build:function(b){var c=new a.HtmlTag({tagName:"a",attrs:this.createAttrs(b.getType(),b.getAnchorHref()),innerHtml:this.processAnchorText(b.getAnchorText())});return c},createAttrs:function(a,b){var c={href:b},d=this.createCssClass(a);return d&&(c["class"]=d),this.newWindow&&(c.target="_blank"),c},createCssClass:function(a){var b=this.className;return b?b+" "+b+"-"+a:""},processAnchorText:function(a){return a=this.doTruncate(a)},doTruncate:function(b){return a.Util.ellipsis(b,this.truncate||Number.POSITIVE_INFINITY)}}),a.htmlParser.HtmlParser=a.Util.extend(Object,{htmlRegex:function(){var a=/[0-9a-zA-Z][0-9a-zA-Z:]*/,b=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,c=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,d=b.source+"(?:\\s*=\\s*"+c.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",d,"|",c.source+")",")*",">",")","|","(?:","<(/)?","("+a.source+")","(?:","\\s+",d,")*","\\s*/?",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(a){for(var b,c,d=this.htmlRegex,e=0,f=[];null!==(b=d.exec(a));){var g=b[0],h=b[1]||b[3],i=!!b[2],j=a.substring(e,b.index);j&&(c=this.parseTextAndEntityNodes(j),f.push.apply(f,c)),f.push(this.createElementNode(g,h,i)),e=b.index+g.length}if(ee;e+=2){var g=d[e],h=d[e+1];g&&c.push(this.createTextNode(g)),h&&c.push(this.createEntityNode(h))}return c},createElementNode:function(b,c,d){return new a.htmlParser.ElementNode({text:b,tagName:c.toLowerCase(),closing:d})},createEntityNode:function(b){return new a.htmlParser.EntityNode({text:b})},createTextNode:function(b){return new a.htmlParser.TextNode({text:b})}}),a.htmlParser.HtmlNode=a.Util.extend(Object,{text:"",constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getText:function(){return this.text}}),a.htmlParser.ElementNode=a.Util.extend(a.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),a.htmlParser.EntityNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"entity"}}),a.htmlParser.TextNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"text"}}),a.matchParser.MatchParser=a.Util.extend(Object,{urls:!0,email:!0,twitter:!0,stripPrefix:!0,matcherRegex:function(){var a=/(^|[^\w])@(\w{1,15})/,b=/(?:[\-;:&=\+\$,\w\.]+@)/,c=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,d=/(?:www\.)/,e=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,f=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,g=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/;return new RegExp(["(",a.source,")","|","(",b.source,e.source,f.source,")","|","(","(?:","(",c.source,e.source,")","|","(?:","(.?//)?",d.source,e.source,")","|","(?:","(.?//)?",e.source,f.source,")",")","(?:"+g.source+")?",")"].join(""),"gi"); +directives:[w,q,e(function(){return p}),r],detect:!0}),u("design:paramtypes",[h,c,d])],w))}}}),a.register("80",["9","77","78","79","85","86","87","7a","6d","7f"],function(a){function b(a,b){b.parentNode.insertBefore(a,b.nextSibling)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.Component,d=a.ElementRef,e=a.ViewContainerRef,f=a.Input,g=a.ComponentResolver,h=a.Renderer},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.OptionsService},function(a){m=a.SpecManager},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.CORE_DIRECTIVES},function(a){q=a.JsonSchema}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&o(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t={},u=function(){function a(b,c,d,e,f,g){j(this,a),this.specMgr=b,this.location=c,this.elementRef=d,this.resolver=e,this.optionsService=f,this._renderer=g,this["final"]=!1,this.loaded=!1}return i(a,[{key:"normalizePointer",value:function(){var a=this.specMgr.byPointer(this.pointer);return a&&a.$ref||this.pointer}},{key:"_loadAfterSelf",value:function(){var a=this;return this.loaded=!0,this.resolver.resolveComponent(q).then(function(b){var c=a.location.parentInjector,d=a.location.createComponent(b,null,c,null);return a.initComponent(d.instance),a._renderer.setElementAttribute(d.location.nativeElement,"class",a.location.element.nativeElement.className),d.changeDetectorRef.detectChanges(),d})["catch"](function(a){throw console.log(a),a})}},{key:"load",value:function(){this.optionsService.options.disableLazySchemas||this.loaded||this.pointer&&this._loadAfterSelf()}},{key:"loadCached",value:function(){var a=this;this.pointer=this.normalizePointer(),t[this.pointer]?t[this.pointer].then(function(c){setTimeout(function(){var d=c.location.nativeElement;return c.instance.hasDescendants||c.instance._hasSubSchemas?void a._loadAfterSelf():(b(d.cloneNode(!0),a.elementRef.nativeElement),void(a.loaded=!0))})}):t[this.pointer]=this._loadAfterSelf()}},{key:"initComponent",value:function(a){n(a,this)}},{key:"ngAfterViewInit",value:function(){return this.optionsService.options.disableLazySchemas?void this._loadAfterSelf():void(this.auto&&this.loadCached())}},{key:"ngOnDestroy",value:function(){t={}}}]),a}(),a("JsonSchemaLazy",u),r([f(),s("design:type",String)],u.prototype,"pointer",void 0),r([f(),s("design:type",Boolean)],u.prototype,"auto",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isRequestSchema",void 0),r([f(),s("design:type",Boolean)],u.prototype,"final",void 0),r([f(),s("design:type",Boolean)],u.prototype,"nestOdd",void 0),r([f(),s("design:type",String)],u.prototype,"childFor",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isArray",void 0),a("JsonSchemaLazy",u=r([c({selector:"json-schema-lazy",template:"",directives:[p]}),s("design:paramtypes",[m,e,d,g,l,h])],u))}}}),a.register("88",["73","74","75","76","77","78","79","80","82","83","89","7a","7f","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.JsonSchemaLazy},function(a){m=a["default"]},function(a){n=a.Zippy},function(a){o=a["default"]},function(a){p=a["default"]},function(a){q=a.JsonSchema},function(a){r=a.statusCodeType}],execute:function(){"use strict";s=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&p(b,c,g),g},t=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},u=function(a){function c(a,b){j(this,c),g(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a),this.options=b.options}return h(c,a),i(c,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var c=this.componentSchema;c&&(c=m(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=o.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.specMgr.byPointer(d.$ref),d.pointer=e}return d.empty=!d.schema,d.code=b,d.type=r(d.code),!d.headers||d.headers instanceof Array||(d.headers=m(d.headers).map(function(a){var b=d.headers[a];return b.name=a,b}),d.empty=!1),d.extendable=d.headers||d.length,d}),this.data.responses=c)}},{key:"trackByCode",value:function(a,b){return b.code}}]),c}(d),a("ResponsesList",u),a("ResponsesList",u=s([c({selector:"responses-list",template:'\n

    Responses

    \n \n
    \n
    \n Headers\n
    \n
    \n
    {{header.name}}
    \n
    {{header.type}}
    \n
    Default: {{header.default}}
    \n
    \n
    \n
    \n
    \n Response Schema\n
    \n \n \n
    \n ',styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 3em 0 1.1em 0;\n color: #253137;\n font-weight: normal; }\n\n :host .zippy-title {\n font-family: Montserrat, sans-serif; }\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 header:not(:first-child) {\n margin-top: 15px;\n margin-bottom: 0; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[q,n,l],detect:!0}),t("design:paramtypes",[e,f])],u))}}}),a.register("8b",["9","73","75","76","77","78","79","82","83","89","7a","8c","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}function c(a){return a.examples&&a.examples["application/json"]||a.schema}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){d=a.forwardRef},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.statusCodeType}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function d(a){k(this,d),h(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a)}return i(d,a),j(d,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var d=this.componentSchema;d&&(d=m(d).filter(function(a){return b(a)||"default"===a}).map(function(b){var c=d[b];if(c.pointer=p.join(a.pointer,b),c.$ref){var e=c.$ref;c=a.specMgr.byPointer(c.$ref),c.pointer=e}return c.code=b,c.type=s(c.code),c}).filter(function(a){return c(a)}),this.data.responses=d)}}]),d}(f),a("ResponsesSamples",v),a("ResponsesSamples",v=t([e({selector:"responses-samples",template:'\n
    Response samples
    \n \n \n \n \n \n ',styles:["\n :host {\n overflow: hidden; }\n\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: 0.929em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 2px 8px 3px 8px;\n color: #9fb4be;\n line-height: 1.25; }\n :host > tabs > ul li:hover {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.1); }\n :host > tabs > ul li.active {\n background-color: white;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n "],directives:[d(function(){return r}),n,o]}),u("design:paramtypes",[g])],v))}}}),a.register("8d",["8e"],function(a){"use strict";function b(a){var b=a.minItems||1;Array.isArray(a.items)&&(b=Math.max(b,a.items.length));var d=function(b){return Array.isArray(a.items)?a.items[b]||{}:a.items||{}},e=[];if(!a.items)return e;for(var f=0;b>f;f++){var g=d(f),h=c(g);e.push(h)}return e}var c;return a("sampleArray",b),{setters:[function(a){c=a.traverse}],execute:function(){}}}),a.register("8f",[],function(a){"use strict";function b(a){return!0}return a("sampleBoolean",b),{setters:[],execute:function(){}}}),a.register("90",[],function(a){"use strict";function b(a){var b=void 0;return a.maximum&&a.minimum?(b=a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum,(a.exclusiveMaximum&&b>=a.maximum||!a.exclusiveMaximum&&b>a.maximum)&&(b=(a.maximum+a.minimum)/2),b):a.minimum?a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum:a.maximum?a.exclusiveMaximum?a.maximum>0?0:Math.floor(a.maximum)-1:a.maximum>0?0:a.maximum:0}return a("sampleNumber",b),{setters:[],execute:function(){}}}),a.register("8e",["91","92"],function(a){"use strict";function b(a,b){if(a.allOf&&d(a),a.example)return a.example;if(a["default"])return a["default"];if(a["enum"]&&a["enum"].length)return a["enum"][0];var e=a.type,f=c[e];return f?f(a,b):{}}var c,d;return a("traverse",b),{setters:[function(a){c=a._samplers},function(a){d=a.mergeAllOf}],execute:function(){}}}),a.register("93",["82","8e"],function(a){function b(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={};return a&&"object"==typeof a.properties&&c(a.properties).forEach(function(c){b.skipReadOnly&&a.properties[c].readOnly||(e[c]=d(a.properties[c]))}),a&&"object"==typeof a.additionalProperties&&(e.property1=d(a.additionalProperties),e.property2=d(a.additionalProperties)),e}var c,d;return{setters:[function(a){c=a["default"]},function(a){d=a.traverse}],execute:function(){"use strict";a("sampleObject",b)}}}),a.register("94",["95"],function(a){"use strict";function b(){return"user@example.com"}function c(a,b){var c="pa$$word";return a>c.length&&(c+="_",c+=m(o,a-c.length).substring(0,a-c.length)),c}function d(a,b,c){var d=n(new Date,c);if(d.lengthb)throw Erorr("Using maxLength = "+b+' is incorrect with format "date-time"');return d}function e(a,b){return d(a,b)}function f(a,b){return d(a,b,!0)}function g(a,b){var c=m("string",a);return b&&c.length>b&&(c=c.substring(b)),c}function h(){return"192.168.0.1"}function i(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"}function j(){return"example.com"}function k(){return"http://example.com"}function l(a){var b=a.format||"default",c=p[b]||g;return c(0|a.minLength,a.maxLength)}var m,n,o,p;return a("sampleString",l),{setters:[function(a){m=a.ensureMinLength,n=a.toRFCDateTime}],execute:function(){o="qwerty!@#$%^123456",p={email:b,password:c,"date-time":e,date:f,ipv4:h,ipv6:i,hostname:j,uri:k,"default":g}}}}),a.register("96",["90","93","94","8d","8f"],function(a){"use strict";return{setters:[function(b){var c={};c.sampleNumber=b.sampleNumber,a(c)},function(b){var c={};c.sampleObject=b.sampleObject,a(c)},function(b){var c={};c.sampleString=b.sampleString,a(c)},function(b){var c={};c.sampleArray=b.sampleArray,a(c)},function(b){var c={};c.sampleBoolean=b.sampleBoolean,a(c)}],execute:function(){}}}),a.registerDynamic("97",["98"],!0,function(a,b,c){var d=a("98");return d(d.S,"Math",{trunc:function(a){return(a>0?Math.floor:Math.ceil)(a)}}),c.exports}),a.registerDynamic("99",["97","9a"],!0,function(a,b,c){return a("97"),c.exports=a("9a").Math.trunc,c.exports}),a.registerDynamic("9b",["99"],!0,function(a,b,c){return c.exports={"default":a("99"),__esModule:!0},c.exports}),a.register("95",["82","9b"],function(a){function b(a){return 10>a?"0"+a:a}function c(a,c){var d=a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate());return c||(d+="T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"."+(a.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"),d}function d(a,b){return b>a.length?a.repeat(g(b/a.length)+1).substring(0,b):a}function e(a,b){for(var c=f(b),d=-1,e=c.length;++d/g,">"):""}function c(a,c){return''+b(a)+""}function d(a){var d=typeof a,g="";return void 0==a?g+=c("null","type-null"):a&&a.constructor===Array?(r++,g+=e(a),r--):"object"===d?(r++,g+=f(a),r--):"number"===d?g+=c(a,"type-number"):"string"===d?g+=/^(http|https):\/\/[^\\s]+$/.test(a)?c('"',"type-string")+''+b(a)+""+c('"',"type-string"):c('"'+a+'"',"type-string"):"boolean"===d&&(g+=c(a,"type-boolean")),g}function e(a){var b,c,e=r>s?"collapsed":"",f='
    [
      ',g=!1;for(b=0,c=a.length;c>b;b++)g=!0,f+='
    • ',f+=d(a[b]),c-1>b&&(f+=","),f+="
    • ";return f+="
    ]",g||(f="[ ]"),f}function f(a){var c,e,f,g=r>s?"collapsed":"",h=l(a),i='
    {
      ',j=!1;for(c=0,f=h.length;f>c;c++)e=h[c],j=!0,i+='
    • ',i+=''+b(e)+": ",i+=d(a[e]),f-1>c&&(i+=","),i+="
    • ";return i+="
    }",j||(i="{ }"),i}function g(a){r=1;var b="";return b+='
    ',b+=d(a),b+="
    "}var h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){h=a.Pipe},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.isBlank},function(a){o=a.DomSanitizationService}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=1,s=2,t=function(){function a(b){j(this,a),this.sanitizer=b}return i(a,[{key:"transform",value:function(a){return n(a)?a:this.sanitizer.bypassSecurityTrustHtml(g(a))}}]),a}(),a("JsonFormatter",t),a("JsonFormatter",t=p([h({name:"jsonFormatter"}),q("design:paramtypes",[o])],t))}}}),a.register("a0",["9","73","75","76","77","78","79","87","7a","9d","9e","a1","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.ElementRef,c=a.Input},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a},function(a){o=a.JsonFormatter},function(a){p=a.SchemaNormalizer},function(a){q=a.CopyButton}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.enableButtons=!1,this.element=c.nativeElement,this._normalizer=new p(a)}return h(b,a),i(b,[{key:"init",value:function(){this.bindEvents(),this.data={};var a={},b=void 0;if(this.componentSchema.schema&&(a=this.componentSchema,this.componentSchema=this.componentSchema.schema),a.examples&&a.examples["application/json"])b=a.examples["application/json"];else{var c=void 0;this.componentSchema=this._normalizer.normalize(this.componentSchema,this.pointer);var d=this.componentSchema.discriminator;if(d){var e=this.specMgr.findDerivedDefinitions(this.componentSchema._pointer||this.pointer);if(e.length){c=e[0];var f=this.specMgr.byPointer(c.$ref);this.componentSchema=this._normalizer.normalize(l({},f),c.$ref,{omitParent:!1})}}if(this.fromCache())return void this.initButtons();try{b=n.sample(this.componentSchema,{skipReadOnly:this.skipReadOnly})}catch(g){}c&&(b[d]=c.name)}this.cache(b),this.data.sample=b,this.initButtons()}},{key:"initButtons",value:function(){"object"==typeof this.data.sample&&(this.enableButtons=!0)}},{key:"cache",value:function(a){this.skipReadOnly?this.componentSchema["x-redoc-ro-sample"]=a:this.componentSchema["x-redoc-rw-sample"]=a}},{key:"fromCache",value:function(){return this.skipReadOnly&&this.componentSchema["x-redoc-ro-sample"]?(this.data.sample=this.componentSchema["x-redoc-ro-sample"],!0):this.componentSchema["x-redoc-rw-sample"]?(this.data.sample=this.componentSchema["x-redoc-rw-sample"],!0):!1}},{key:"bindEvents",value:function(){this.element.addEventListener("click",function(a){var b,c=a.target;"collapser"===a.target.className&&(b=c.parentNode.getElementsByClassName("collapsible")[0],b.parentNode.classList.contains("collapsed")?b.parentNode.classList.remove("collapsed"):b.parentNode.classList.add("collapsed"))})}},{key:"expandAll",value:function(){for(var a=this.element.getElementsByClassName("collapsible"),b=0;b\n \n
     Sample unavailable 
    \n \n
    \n          
    \n ',pipes:[o],directives:[q],styles:['\n @charset "UTF-8";\n pre {\n background-color: transparent;\n padding: 0;\n margin: 0;\n clear: both;\n position: relative; }\n\n .redoc-json > .collapser {\n display: none; }\n\n .action-buttons {\n display: block;\n opacity: 0;\n transition: opacity 0.3s ease;\n transform: translateY(100%);\n z-index: 1;\n position: relative; }\n .action-buttons > span {\n float: right; }\n .action-buttons > span:last-child > a:before {\n display: none; }\n .action-buttons > span > a {\n padding: 2px 10px;\n color: #ffffff;\n cursor: pointer; }\n .action-buttons > span > a:before {\n content: \'|\';\n display: inline-block;\n transform: translateX(-10px); }\n .action-buttons > span > a:first-child {\n margin-right: 0; }\n .action-buttons > span > a:hover {\n background-color: #263238; }\n .action-buttons:after {\n display: block;\n content: \'\';\n clear: both; }\n\n .snippet:hover .action-buttons {\n opacity: 1; }\n\n :host .type-null {\n color: gray; }\n\n :host .type-boolean {\n color: firebrick; }\n\n :host .type-number {\n color: #4A8BB3; }\n\n :host .type-string {\n color: #66B16E; }\n\n :host .callback-function {\n color: gray; }\n\n :host .collapser:after {\n content: "-";\n cursor: pointer; }\n\n :host .collapsed > .collapser:after {\n content: "+";\n cursor: pointer; }\n\n :host .ellipsis:after {\n content: " … "; }\n\n :host .collapsible {\n margin-left: 2em; }\n\n :host .hoverable {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 2px;\n padding-right: 2px;\n border-radius: 2px; }\n\n :host .hovered {\n background-color: #ebeef9; }\n\n :host .collapser {\n padding-right: 6px;\n padding-left: 6px; }\n\n :host .redoc-json {\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n\n :host ul, :host .redoc-json ul {\n list-style-type: none;\n padding: 0px;\n margin: 0px 0px 0px 26px; }\n\n :host li {\n position: relative; }\n\n :host .hoverable {\n transition: background-color .2s ease-out 0s;\n -webkit-transition: background-color .2s ease-out 0s;\n display: inline-block; }\n\n :host .hovered {\n transition-delay: .2s;\n -webkit-transition-delay: .2s; }\n\n :host .selected {\n outline-style: solid;\n outline-width: 1px;\n outline-style: dotted; }\n\n :host .collapsed > .collapsible {\n display: none; }\n\n :host .ellipsis {\n display: none; }\n\n :host .collapsed > .ellipsis {\n display: inherit; }\n\n :host .collapser {\n position: absolute;\n top: 1px;\n left: -1.5em;\n cursor: default;\n user-select: none;\n -webkit-user-select: none; }\n ']}),s("design:paramtypes",[f,b])],t))}}}),a.register("7d",["77","78"],function(a){var b,c,d;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]}],execute:function(){"use strict";d=function(){function a(){c(this,a)}return b(a,null,[{key:"isSupported",value:function(){return document.queryCommandSupported&&document.queryCommandSupported("copy")}},{key:"selectElement",value:function(a){var b=void 0,c=void 0;document.body.createTextRange?(b=document.body.createTextRange(),b.moveToElementText(a),b.select()):document.createRange&&window.getSelection&&(c=window.getSelection(),b=document.createRange(),b.selectNodeContents(a),c.removeAllRanges(),c.addRange(b))}},{key:"deselect",value:function(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}},{key:"copySelected",value:function(){var a=void 0;try{a=document.execCommand("copy")}catch(b){a=!1}return a}},{key:"copyElement",value:function(b){a.selectElement(b);var c=a.copySelected();return c&&a.deselect(),c}},{key:"copyCustom",value:function(b){var c=document.createElement("textarea");c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="2em",c.style.height="2em",c.style.padding="0",c.style.border="none",c.style.outline="none",c.style.boxShadow="none",c.style.background="transparent",c.value=b,document.body.appendChild(c),c.select();var d=a.copySelected();return document.body.removeChild(c),d}}]),a}(),a("Clipboard",d)}}}),a.register("a2",["9","77","78","79","7a","7d"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Directive,c=a.Input,d=a.HostListener,e=a.Renderer,f=a.ElementRef},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.Clipboard}],execute:function(){"use strict";l=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(){function a(b,c){h(this,a),this.renderer=b,this.element=c}return g(a,[{key:"ngOnInit",value:function(){k.isSupported()||this.element.nativeElement.parentNode.removeChild(this.element.nativeElement),this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copy to Clipboard!")}},{key:"onClick",value:function(){var a=void 0;if(a=this.copyText?k.copyCustom(this.copyText):k.copyElement(this.copyElement))this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copied!");else{var b=this.hintElement||this.copyElement;if(!b)return;this.renderer.setElementAttribute(b,"data-hint",'Press "ctrl + c" to copy'),this.renderer.setElementClass(b,"hint--top",!0),this.renderer.setElementClass(b,"hint--always",!0)}}},{key:"onLeave",value:function(){var a=this;setTimeout(function(){a.renderer.setElementAttribute(a.element.nativeElement,"data-hint","Copy to Clipboard")},500)}}]),a}(),a("CopyButton",n),l([c(),m("design:type",String)],n.prototype,"copyText",void 0),l([c(),m("design:type",Object)],n.prototype,"copyElement",void 0),l([c(),m("design:type",Object)],n.prototype,"hintElement",void 0),l([d("click"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onClick",null),l([d("mouseleave"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onLeave",null),a("CopyButton",n=l([b({selector:"[copy-button]"}),m("design:paramtypes",[e,f])],n))}}}),a.register("a3",["9","73","74","75","76","77","78","79","83","89","7a","a0","a4","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.ViewChildren,c=a.QueryList,d=a.Input},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a.RedocEventsService},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.PrismPipe},function(a){t=a.CopyButton}],execute:function(){"use strict";u=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=m(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},v=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},w=function(a){function b(a,c){l(this,b),i(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.events=c,this.selectedLang=this.events.samplesLanguageChanged}return j(b,a),k(b,[{key:"changeLangNotify",value:function(a){this.events.samplesLanguageChanged.next(a)}},{key:"prepareModel",value:function(){this.data={},this.data.schemaPointer=p.join(this.schemaPointer,"schema"),this.data.samples=this.componentSchema["x-code-samples"]||[]}}]),b}(f),a("RequestSamples",w),u([d(),v("design:type",String)],w.prototype,"schemaPointer",void 0),u([b(n),v("design:type",c)],w.prototype,"childQuery",void 0),a("RequestSamples",w=u([e({selector:"request-samples",template:'\n
    Request samples
    \n \n \n \n \n \n \n
    \n
    \n Copy\n
    \n
    \n              
    \n
    \n
    \n ', +styles:["\n :host {\n overflow: hidden; }\n\n .action-buttons {\n display: block;\n opacity: 0;\n transition: opacity 0.3s ease;\n transform: translateY(100%); }\n .action-buttons > span {\n float: right; }\n .action-buttons > span > a {\n padding: 2px 10px;\n color: #ffffff;\n cursor: pointer;\n background-color: #1e272c; }\n .action-buttons > span > a:hover {\n background-color: #263238; }\n .action-buttons:after {\n display: block;\n content: '';\n clear: both; }\n\n .code-sample:hover > .action-buttons {\n opacity: 1; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: .9em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 3px 10px 2px 10px;\n line-height: 1.25;\n color: #9fb4be; }\n :host > tabs > ul li:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #ffffff; }\n :host > tabs > ul li.active {\n background-color: #ffffff;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n\n pre {\n overflow-x: auto;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre-wrap;\n margin-top: 0;\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n "],directives:[r,n,o,t],inputs:["schemaPointer"],pipes:[s],detect:!0,onPushOnly:!1}),v("design:paramtypes",[g,h])],w))}}}),a.register("2",["9","73","75","76","77","78","79","81","88","89","7a","7c","7e","8b","a0","a3"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){b=a.Input},function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.SchemaHelper},function(a){l=a.ResponsesList},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.SelectOnClick},function(a){p=a.ParamsList},function(a){q=a.ResponsesSamples},function(a){r=a.SchemaSample},function(a){s=a.RequestSamples}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function b(a){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data={},this.data.apiUrl=this.specMgr.apiUrl,this.data.httpMethod=m.baseName(this.pointer),this.data.path=m.baseName(this.pointer,2),this.data.methodInfo=this.componentSchema,this.data.methodInfo.tags=this.filterMainTags(this.data.methodInfo.tags),this.data.bodyParam=this.findBodyParam(),this.data.summary=k.methodSummary(this.componentSchema),this.componentSchema.operationId?this.data.methodAnchor="operation/"+encodeURIComponent(this.componentSchema.operationId):this.data.methodAnchor="tag/"+encodeURIComponent(this.tag+this.pointer)}},{key:"filterMainTags",value:function(a){var b=this.specMgr.getTagsMap();return a?a.filter(function(a){return b[a]&&b[a]["x-traitTag"]}):[]}},{key:"findBodyParam",value:function(){var a=this.specMgr.getMethodParams(this.pointer,!0),b=a.find(function(a){return"body"===a["in"]});return b}}]),b}(d),a("Method",v),t([b(),u("design:type",String)],v.prototype,"tag",void 0),a("Method",v=t([c({selector:"method",template:'\n
    \n
    \n

    \n {{data.summary}}\n

    \n \n

    \n

    \n \n \n
    \n
    \n
    Definition
    \n\n
    \n
    {{data.httpMethod}}
    \n {{data.apiUrl}}{{data.path}}\n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n :host {\n padding-bottom: 100px;\n display: block;\n border-bottom: 1px solid rgba(127, 127, 127, 0.25); }\n\n :host:last-of-type {\n border-bottom: 0; }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n margin-bottom: .9em; }\n\n .method-endpoint {\n margin: 0 0 2em 0;\n padding: 10px 20px;\n border-radius: 4px;\n background-color: #222d32;\n display: block;\n font-weight: 300;\n white-space: nowrap;\n overflow-x: auto; }\n\n .method-endpoint > h5 {\n padding-top: 1px;\n padding-bottom: 0;\n margin: 0;\n font-size: .8em;\n color: #263238;\n vertical-align: middle;\n display: inline-block;\n border-radius: 2px; }\n\n .api-url {\n color: rgba(255, 255, 255, 0.6);\n margin-left: 10px;\n margin-top: 2px;\n position: relative;\n top: 1px;\n font-family: Montserrat, sans-serif;\n font-size: 0.929em !important; }\n\n .path {\n font-family: Montserrat, sans-serif;\n position: relative;\n top: 1px;\n color: #ffffff;\n font-size: 0.929em !important; }\n\n .method-tags {\n margin-top: 20px; }\n\n .method-tags a {\n font-size: 16px;\n color: #999;\n display: inline-block;\n padding: 0 0.5em;\n text-decoration: none; }\n\n .method-tags a:before {\n content: \'#\';\n margin-right: -0.4em; }\n\n .method-tags a:first-of-type {\n padding: 0; }\n\n .method-content, .method-samples {\n display: block;\n box-sizing: border-box;\n float: left; }\n\n .method-content {\n width: 60%;\n padding: 40px; }\n\n .method-samples {\n color: #fafbfc;\n width: 40%;\n padding: 40px;\n background: #263238; }\n\n responses-samples {\n display: block; }\n\n .method-samples header,\n .method-samples > h5 {\n color: #9fb4be;\n text-transform: uppercase; }\n\n .method-samples > h5 {\n margin-bottom: 8px; }\n\n .method-samples schema-sample {\n display: block; }\n\n .method:after {\n content: "";\n display: table;\n clear: both; }\n\n .method-description {\n padding: 6px 0 10px 0;\n margin: 0; }\n\n .http-method {\n color: #263238;\n background: #ffffff;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n [select-on-click] {\n cursor: pointer; }\n\n @media (max-width: 1100px) {\n .methods:before {\n display: none; }\n .method-samples, .method-content {\n width: 100%; }\n .method-samples {\n margin-top: 2em; }\n :host {\n padding-bottom: 0; } }\n '],directives:[p,l,q,r,s,o],detect:!0}),u("design:paramtypes",[e])],v))}}}),a.register("a5",["2","9","73","74","75","76","77","78","79","7a","a4"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;return{setters:[function(a){b=a.Method},function(a){c=a.forwardRef},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a.SchemaHelper},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.EncodeURIComponentPipe}],execute:function(){"use strict";o=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},p=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},q=function(a){function b(a){k(this,b),h(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return i(b,a),j(b,[{key:"prepareModel",value:function(){this.data={};var a=g.buildMenuTree(this.specMgr.schema);a.forEach(function(a){a.methods=a.methods||[],a.methods.forEach(function(b){b.tag=a.name})}),this.data.tags=a}},{key:"trackByPointer",value:function(a,b){return b.pointer}},{key:"trackByTagName",value:function(a,b){return b.name}}]),b}(e),a("MethodsList",q),a("MethodsList",q=o([d({selector:"methods-list",template:'\n
    \n
    \n
    \n

    {{tag.name}}

    \n

    \n
    \n \n
    \n
    \n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n .tag-info {\n padding: 40px;\n box-sizing: border-box;\n background-color: white;\n width: 60%; }\n @media (max-width: 1100px) {\n .tag-info {\n width: 100%; } }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #0033a0;\n text-transform: capitalize;\n font-weight: normal; }\n\n .methods {\n display: block;\n position: relative; }\n '],directives:[c(function(){return b})],pipes:[n],detect:!0}),p("design:paramtypes",[f])],q))}}}),a.registerDynamic("75",["79"],!0,function(a,b,c){"use strict";var d=a("79")["default"];return b["default"]=function(a,b,c){for(var e=!0;e;){var f=a,g=b,h=c;e=!1,null===f&&(f=Function.prototype);var i=d(f,g);if(void 0!==i){if("value"in i)return i.value;var j=i.get;if(void 0===j)return;return j.call(h)}var k=Object.getPrototypeOf(f);if(null===k)return;a=k,b=g,c=h,e=!0,i=k=void 0}},b.__esModule=!0,c.exports}),a.registerDynamic("a6",["a7"],!0,function(a,b,c){var d=a("a7");return c.exports=function(a,b){return d.create(a,b)},c.exports}),a.registerDynamic("a8",["a6"],!0,function(a,b,c){return c.exports={"default":a("a6"),__esModule:!0},c.exports}),a.registerDynamic("a9",["98","aa"],!0,function(a,b,c){var d=a("98");return d(d.S,"Object",{setPrototypeOf:a("aa").set}),c.exports}),a.registerDynamic("ab",["a9","9a"],!0,function(a,b,c){return a("a9"),c.exports=a("9a").Object.setPrototypeOf,c.exports}),a.registerDynamic("ac",["ab"],!0,function(a,b,c){return c.exports={"default":a("ab"),__esModule:!0},c.exports}),a.registerDynamic("76",["a8","ac"],!0,function(a,b,c){"use strict";var d=a("a8")["default"],e=a("ac")["default"];return b["default"]=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=d(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(e?e(a,b):a.__proto__=b)},b.__esModule=!0,c.exports}),a.registerDynamic("ad",["ae"],!0,function(a,b,c){"use strict";var d=a("ae"),e=function(){function a(){}return a.prototype.getTitle=function(){return d.getDOM().getTitle()},a.prototype.setTitle=function(a){d.getDOM().setTitle(a)},a}();return b.Title=e,c.exports}),a.registerDynamic("af",[],!0,function(a,b,c){"use strict";var d="undefined"!=typeof window&&window||{};return b.window=d,b.document=d.document,b.location=d.location,b.gc=d.gc?function(){return d.gc()}:function(){return null},b.performance=d.performance?d.performance:null,b.Event=d.Event,b.MouseEvent=d.MouseEvent,b.KeyboardEvent=d.KeyboardEvent,b.EventTarget=d.EventTarget,b.History=d.History,b.Location=d.Location,b.EventListener=d.EventListener,c.exports}),a.registerDynamic("b0",["9","ae","af","b1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ae"),f=a("af"),g=a("b1"),h=function(){function a(a,b){this.msPerTick=a,this.numTicks=b}return a}();b.ChangeDetectionPerfRecord=h;var i=function(){function a(a){this.profiler=new j(a)}return a}();b.AngularTools=i;var j=function(){function a(a){this.appRef=a.injector.get(d.ApplicationRef)}return a.prototype.timeChangeDetection=function(a){var b=g.isPresent(a)&&a.record,c="Change Detection",d=g.isPresent(f.window.console.profile);b&&d&&f.window.console.profile(c);for(var i=e.getDOM().performanceNow(),j=0;5>j||e.getDOM().performanceNow()-i<500;)this.appRef.tick(),j++;var k=e.getDOM().performanceNow();b&&d&&f.window.console.profileEnd(c);var l=(k-i)/j;return f.window.console.log("ran "+j+" change detection cycles"),f.window.console.log(g.NumberWrapper.toFixed(l,2)+" ms per check"),new h(l,j)},a}();return b.AngularProfiler=j,c.exports}),a.registerDynamic("b2",["b1","b0"],!0,function(a,b,c){"use strict";function d(a){return h.ng=new g.AngularTools(a),a}function e(){delete h.ng}var f=a("b1"),g=a("b0"),h=f.global;return b.enableDebugTools=d,b.disableDebugTools=e,c.exports}),a.registerDynamic("b3",["ae","b1"],!0,function(a,b,c){"use strict";var d=a("ae"),e=a("b1"),f=function(){function a(){}return a.all=function(){return function(a){return!0}},a.css=function(a){return function(b){return e.isPresent(b.nativeElement)?d.getDOM().elementMatches(b.nativeElement,a):!1}},a.directive=function(a){return function(b){return-1!==b.providerTokens.indexOf(a)}},a}();return b.By=f,c.exports}),a.registerDynamic("b4",["6d","9","b5","b6","b7","b1","b8","b9","ba","bb","bc","bd"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("b5"),h=a("b6"),i=a("b7"),j=a("b1"),k=a("b8"),l=a("b9"),m=a("ba"),n=a("bb"),o=a("bc"),p=a("bd"),q=function(a){function b(b,c,d){var e=this;a.call(this),this._serializer=d,this._popStateListeners=[],this._hashChangeListeners=[],this._location=null,this._broker=b.createMessageBroker(m.ROUTER_CHANNEL),this._channelSource=c.from(m.ROUTER_CHANNEL),g.ObservableWrapper.subscribe(this._channelSource,function(a){var b=null;if(h.StringMapWrapper.contains(a,"event")){var c=a.event.type;if(j.StringWrapper.equals(c,"popstate")?b=e._popStateListeners:j.StringWrapper.equals(c,"hashchange")&&(b=e._hashChangeListeners),null!==b){var d=p.deserializeGenericEvent(a.event);e._location=e._serializer.deserialize(a.location,n.LocationType),b.forEach(function(a){return a(d)})}}})}return d(b,a),b.prototype.init=function(){var a=this,b=new k.UiArguments("getLocation"),c=this._broker.runOnService(b,n.LocationType);return g.PromiseWrapper.then(c,function(b){return a._location=b,!0},function(a){throw new i.BaseException(a)})},b.prototype.getBaseHrefFromDOM=function(){throw new i.BaseException("Attempt to get base href from DOM from WebWorker. You must either provide a value for the APP_BASE_HREF token through DI or use the hash location strategy.")},b.prototype.onPopState=function(a){this._popStateListeners.push(a)},b.prototype.onHashChange=function(a){this._hashChangeListeners.push(a)},Object.defineProperty(b.prototype,"pathname",{get:function(){return null===this._location?null:this._location.pathname},set:function(a){if(null===this._location)throw new i.BaseException("Attempt to set pathname before value is obtained from UI");this._location.pathname=a;var b=[new k.FnArg(a,o.PRIMITIVE)],c=new k.UiArguments("setPathname",b);this._broker.runOnService(c,null)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return null===this._location?null:this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return null===this._location?null:this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("pushState",d);this._broker.runOnService(e,null)},b.prototype.replaceState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("replaceState",d);this._broker.runOnService(e,null)},b.prototype.forward=function(){var a=new k.UiArguments("forward");this._broker.runOnService(a,null)},b.prototype.back=function(){var a=new k.UiArguments("back");this._broker.runOnService(a,null)},b.decorators=[{type:f.Injectable}],b.ctorParameters=[{type:k.ClientMessageBrokerFactory},{type:l.MessageBus},{type:o.Serializer}],b}(e.PlatformLocation);return b.WebWorkerPlatformLocation=q,c.exports}),a.registerDynamic("be",["6d","9","b4"],!0,function(a,b,c){"use strict";function d(a,b){return function(){return b.runGuarded(function(){return a.init()})}}var e=a("6d"),f=a("9"),g=a("b4");return b.WORKER_APP_LOCATION_PROVIDERS=[{provide:e.PlatformLocation,useClass:g.WebWorkerPlatformLocation},{provide:f.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.PlatformLocation,f.NgZone]}],c.exports}),a.registerDynamic("bf",["9","c0","b5","b1","b9","ba","bb","bc","c1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c0"),f=a("b5"),g=a("b1"),h=a("b9"),i=a("ba"),j=a("bb"),k=a("bc"),l=a("c1"),m=function(){function a(a,b,c,d){this._brokerFactory=a,this._platformLocation=b,this._serializer=d,this._platformLocation.onPopState(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._platformLocation.onHashChange(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._broker=this._brokerFactory.createMessageBroker(i.ROUTER_CHANNEL),this._channelSink=c.to(i.ROUTER_CHANNEL)}return a.prototype.start=function(){this._broker.registerMethod("getLocation",null,g.FunctionWrapper.bind(this._getLocation,this),j.LocationType),this._broker.registerMethod("setPathname",[k.PRIMITIVE],g.FunctionWrapper.bind(this._setPathname,this)),this._broker.registerMethod("pushState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.pushState,this._platformLocation)),this._broker.registerMethod("replaceState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.replaceState,this._platformLocation)),this._broker.registerMethod("forward",null,g.FunctionWrapper.bind(this._platformLocation.forward,this._platformLocation)),this._broker.registerMethod("back",null,g.FunctionWrapper.bind(this._platformLocation.back,this._platformLocation))},a.prototype._getLocation=function(){return f.PromiseWrapper.resolve(this._platformLocation.location)},a.prototype._sendUrlChangeEvent=function(a){var b=this._serializer.serialize(this._platformLocation.location,j.LocationType),c={type:a.type};f.ObservableWrapper.callEmit(this._channelSink,{event:c,location:b})},a.prototype._setPathname=function(a){this._platformLocation.pathname=a},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:l.ServiceMessageBrokerFactory},{type:e.BrowserPlatformLocation},{type:h.MessageBus},{type:k.Serializer}],a}();return b.MessageBasedPlatformLocation=m,c.exports}),a.registerDynamic("c2",["9","c0","bf"],!0,function(a,b,c){"use strict";function d(a){return function(){var b=a.get(e.NgZone);b.runGuarded(function(){return a.get(g.MessageBasedPlatformLocation).start()})}}var e=a("9"),f=a("c0"),g=a("bf");return b.WORKER_UI_LOCATION_PROVIDERS=[g.MessageBasedPlatformLocation,f.BrowserPlatformLocation,{provide:e.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.Injector]}],c.exports}),a.registerDynamic("c3",["b6","b1"],!0,function(a,b,c){"use strict";function d(a){return j(a,p)}function e(a){var b=j(a,p);return i(a,b)}function f(a){return j(a,m)}function g(a){var b=j(a,n);return i(a,b)}function h(a){var b=j(a,o);return i(a,b)}function i(a,b){if(q.has(a.target.tagName.toLowerCase())){var c=a.target;b.target={value:c.value},l.isPresent(c.files)&&(b.target.files=c.files)}return b}function j(a,b){for(var c={},d=0;d=p&&q>=c||c==r))return a.substring(b,a.length)}return""}function g(a){switch(a){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}function h(a,b){return l.getDOM().getComputedStyle(a)[b]}var i=a("9"),j=a("b6"),k=a("b1"),l=a("ae"),m=a("d7"),n=a("d5"),o=function(){function a(){}return a.prototype.animate=function(a,b,c,e,f,g){var h=a,i=[],j={};if(k.isPresent(b)&&b.styles.length>0&&(j=d(h,b,{}),j.offset=0,i.push(j)),c.forEach(function(a){var b=d(h,a.styles,j);b.offset=a.offset,i.push(b)}),1==i.length){var l=i[0];l.offset=null,i=[l,l]}var m={duration:e,delay:f,easing:g,fill:"both"},o=this._triggerWebAnimation(h,i,m);return new n.WebAnimationsPlayer(o,e)},a.prototype._triggerWebAnimation=function(a,b,c){return a.animate(b,c)},a}();b.WebAnimationsDriver=o;var p=48,q=57,r=46;return c.exports}),a.registerDynamic("d8",[],!0,function(a,b,c){"use strict";function d(){return!!window.history.pushState}return b.supportsState=d,c.exports}),a.registerDynamic("c0",["6d","9","ae","d8"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("ae"),h=a("d8"),i=function(a){function b(){a.call(this),this._init()}return d(b,a),b.prototype._init=function(){this._location=g.getDOM().getLocation(),this._history=g.getDOM().getHistory()},Object.defineProperty(b.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),b.prototype.getBaseHrefFromDOM=function(){return g.getDOM().getBaseHref()},b.prototype.onPopState=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("popstate",a,!1)},b.prototype.onHashChange=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("hashchange",a,!1)},Object.defineProperty(b.prototype,"pathname",{get:function(){return this._location.pathname},set:function(a){this._location.pathname=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){h.supportsState()?this._history.pushState(a,b,c):this._location.hash=c},b.prototype.replaceState=function(a,b,c){h.supportsState()?this._history.replaceState(a,b,c):this._location.hash=c},b.prototype.forward=function(){this._history.forward()},b.prototype.back=function(){this._history.back()},b.decorators=[{type:f.Injectable}],b.ctorParameters=[],b}(e.PlatformLocation);return b.BrowserPlatformLocation=i,c.exports}),a.registerDynamic("cb",["9","ae","b6","b1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ae"),f=a("b6"),g=a("b1"),h=function(){function a(a){this._testability=a}return a.prototype.isStable=function(){return this._testability.isStable()},a.prototype.whenStable=function(a){this._testability.whenStable(a)},a.prototype.findBindings=function(a,b,c){return this.findProviders(a,b,c)},a.prototype.findProviders=function(a,b,c){return this._testability.findBindings(a,b,c)},a}(),i=function(){function a(){}return a.init=function(){d.setTestabilityGetter(new a)},a.prototype.addToWindow=function(a){g.global.getAngularTestability=function(b,c){void 0===c&&(c=!0);var d=a.findTestabilityInTree(b,c);if(null==d)throw new Error("Could not find testability for element.");return new h(d)},g.global.getAllAngularTestabilities=function(){var b=a.getAllTestabilities();return b.map(function(a){return new h(a)})},g.global.getAllAngularRootElements=function(){return a.getAllRootElements()};var b=function(a){var b=g.global.getAllAngularTestabilities(),c=b.length,d=!1,e=function(b){d=d||b,c--,0==c&&a(d)};b.forEach(function(a){a.whenStable(e)})};g.global.frameworkStabilizers||(g.global.frameworkStabilizers=f.ListWrapper.createGrowableSize(0)),g.global.frameworkStabilizers.push(b)},a.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a.getTestability(b);return g.isPresent(d)?d:c?e.getDOM().isShadowRoot(b)?this.findTestabilityInTree(a,e.getDOM().getHost(b),!0):this.findTestabilityInTree(a,e.getDOM().parentElement(b),!0):null},a}();return b.BrowserGetTestability=i,c.exports}),a.registerDynamic("d9",["b6","cf"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b6"),f=a("cf"),g={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},h=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return a=a.toLowerCase(),e.StringMapWrapper.contains(g,a)},b}(f.EventManagerPlugin);return b.HammerGesturesPluginCommon=h,c.exports}),a.registerDynamic("d0",["9","b7","b1","d9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b7"),g=a("b1"),h=a("d9");b.HAMMER_GESTURE_CONFIG=new e.OpaqueToken("HammerGestureConfig");var i=function(){function a(){this.events=[],this.overrides={}}return a.prototype.buildHammer=function(a){var b=new Hammer(a);b.get("pinch").set({enable:!0}),b.get("rotate").set({enable:!0});for(var c in this.overrides)b.get(c).set(this.overrides[c]);return b},a.decorators=[{type:e.Injectable}],a}();b.HammerGestureConfig=i;var j=function(a){function c(b){a.call(this),this._config=b}return d(c,a),c.prototype.supports=function(b){if(!a.prototype.supports.call(this,b)&&!this.isCustomEvent(b))return!1;if(!g.isPresent(window.Hammer))throw new f.BaseException("Hammer.js is not loaded, can not bind "+b+" event");return!0},c.prototype.addEventListener=function(a,b,c){var d=this,e=this.manager.getZone();return b=b.toLowerCase(),e.runOutsideAngular(function(){var f=d._config.buildHammer(a),g=function(a){e.runGuarded(function(){c(a)})};return f.on(b,g),function(){f.off(b,g)}})},c.prototype.isCustomEvent=function(a){return this._config.events.indexOf(a)>-1},c.decorators=[{type:e.Injectable}],c.ctorParameters=[{type:i,decorators:[{type:e.Inject,args:[b.HAMMER_GESTURE_CONFIG]}]}],c}(h.HammerGesturesPluginCommon);return b.HammerGesturesPlugin=j,c.exports}),a.registerDynamic("d1",["9","b1","b6","ae","cf","45"],!0,function(a,b,c){return function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b1"),g=a("b6"),h=a("ae"),i=a("cf"),j=["alt","control","meta","shift"],k={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},l=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return f.isPresent(b.parseEventName(a))},b.prototype.addEventListener=function(a,c,d){var e=b.parseEventName(c),f=b.eventCallback(a,g.StringMapWrapper.get(e,"fullKey"),d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return h.getDOM().onAndCancel(a,g.StringMapWrapper.get(e,"domEventName"),f)})},b.parseEventName=function(a){var c=a.toLowerCase().split("."),d=c.shift();if(0===c.length||!f.StringWrapper.equals(d,"keydown")&&!f.StringWrapper.equals(d,"keyup"))return null;var e=b._normalizeKey(c.pop()),h="";if(j.forEach(function(a){g.ListWrapper.contains(c,a)&&(g.ListWrapper.remove(c,a),h+=a+".")}),h+=e,0!=c.length||0===e.length)return null;var i=g.StringMapWrapper.create();return g.StringMapWrapper.set(i,"domEventName",d),g.StringMapWrapper.set(i,"fullKey",h),i},b.getEventFullKey=function(a){var b="",c=h.getDOM().getEventKey(a);return c=c.toLowerCase(),f.StringWrapper.equals(c," ")?c="space":f.StringWrapper.equals(c,".")&&(c="dot"),j.forEach(function(d){if(d!=c){var e=g.StringMapWrapper.get(k,d);e(a)&&(b+=d+".")}}),b+=c},b.eventCallback=function(a,c,d,e){return function(a){f.StringWrapper.equals(b.getEventFullKey(a),c)&&e.runGuarded(function(){return d(a)})}},b._normalizeKey=function(a){switch(a){case"esc":return"escape";default:return a}},b.decorators=[{type:e.Injectable}],b.ctorParameters=[],b}(i.EventManagerPlugin);b.KeyEventsPlugin=l}(a("45")),c.exports}),a.registerDynamic("da",["9","ae","db"],!0,function(a,b,c){"use strict";function d(){if(m)return m;n=k.getDOM();var a=n.createElement("template");if("content"in a)return a;var b=n.createHtmlDocument();if(m=n.querySelector(b,"body"),null==m){var c=n.createElement("html",b);m=n.createElement("body",b),n.appendChild(c,m),n.appendChild(b,c)}return m}function e(a){for(var b={},c=0,d=a.split(",");c/g,">")}function h(a){n.attributeMap(a).forEach(function(b,c){"xmlns:ns1"!==c&&0!==c.indexOf("ns1:")||n.removeAttribute(a,c)});for(var b=0,c=n.childNodesAsList(a);b"))},a.prototype.endElement=function(a){a=a.toLowerCase(),u.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(this.buf.push(""))},a.prototype.chars=function(a){this.buf.push(g(a))},a}(),A=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B=/([^\#-~ |!])/g;return b.sanitizeHtml=i,c.exports}),a.registerDynamic("dc",["9","ae","db"],!0,function(a,b,c){"use strict";function d(a){for(var b=!0,c=!0,d=0;d0&&(this._sendMessages(this._messageBuffer),this._messageBuffer=[])},a.prototype._sendMessages=function(a){this._postMessageTarget.postMessage(a)},a}();b.PostMessageBusSink=h;var i=function(){function a(a){var b=this;if(this._channels=f.StringMapWrapper.create(),a)a.addEventListener("message",function(a){return b._handleMessages(a)});else{var c=self;c.addEventListener("message",function(a){return b._handleMessages(a)})}}return a.prototype.attachToZone=function(a){this._zone=a},a.prototype.initChannel=function(a,b){if(void 0===b&&(b=!0),f.StringMapWrapper.contains(this._channels,a))throw new g.BaseException(a+" has already been initialized");var c=new e.EventEmitter(!1),d=new k(c,b);this._channels[a]=d},a.prototype.from=function(a){if(f.StringMapWrapper.contains(this._channels,a))return this._channels[a].emitter;throw new g.BaseException(a+" is not set up. Did you forget to call initChannel?")},a.prototype._handleMessages=function(a){for(var b=a.data,c=0;ck;k++){var l=f[k];j[k]=e._serializer.deserialize(l,b[k])}var m=h.FunctionWrapper.apply(c,j);h.isPresent(d)&&h.isPresent(m)&&e._wrapWebWorkerPromise(a.id,m,d)})},b.prototype._handleMessage=function(a){var b=new o(a);this._methods.has(b.method)&&this._methods.get(b.method)(b)},b.prototype._wrapWebWorkerPromise=function(a,b,c){var d=this;f.PromiseWrapper.then(b,function(b){f.ObservableWrapper.callEmit(d._sink,{type:"result",value:d._serializer.serialize(b,c),id:a})})},b}(m);b.ServiceMessageBroker_=n;var o=function(){function a(a){this.method=a.method,this.args=a.args,this.id=a.id,this.type=a.type}return a}();return b.ReceivedMessage=o,c.exports}),a.registerDynamic("df",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("b5",["b","c","d","b1","f","df"],!0,function(a,b,c){ +"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("b1"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("df");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("b8",["9","b5","b6","b1","b9","bc"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b5"),g=a("b6"),h=a("b1"),i=a("b9"),j=a("bc"),k=function(){function a(){}return a}();b.ClientMessageBrokerFactory=k;var l=function(a){function b(b,c){a.call(this),this._messageBus=b,this._serializer=c}return d(b,a),b.prototype.createMessageBroker=function(a,b){return void 0===b&&(b=!0),this._messageBus.initChannel(a,b),new n(this._messageBus,this._serializer,a)},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.MessageBus},{type:j.Serializer}],b}(k);b.ClientMessageBrokerFactory_=l;var m=function(){function a(){}return a}();b.ClientMessageBroker=m;var n=function(a){function b(b,c,d){var e=this;a.call(this),this.channel=d,this._pending=new Map,this._sink=b.to(d),this._serializer=c;var g=b.from(d);f.ObservableWrapper.subscribe(g,function(a){return e._handleMessage(a)})}return d(b,a),b.prototype._generateMessageId=function(a){for(var b=h.stringify(h.DateWrapper.toMillis(h.DateWrapper.now())),c=0,d=a+b+h.stringify(c);h.isPresent(this._pending[d]);)d=""+a+b+c,c++;return d},b.prototype.runOnService=function(a,b){var c=this,d=[];h.isPresent(a.args)&&a.args.forEach(function(a){null!=a.type?d.push(c._serializer.serialize(a.value,a.type)):d.push(a.value)});var e,g=null;if(null!=b){var i=f.PromiseWrapper.completer();g=this._generateMessageId(a.method),this._pending.set(g,i),f.PromiseWrapper.catchError(i.promise,function(a,b){h.print(a),i.reject(a,b)}),e=f.PromiseWrapper.then(i.promise,function(a){return null==c._serializer?a:c._serializer.deserialize(a,b)})}else e=null;var j={method:a.method,args:d};return null!=g&&(j.id=g),f.ObservableWrapper.callEmit(this._sink,j),e},b.prototype._handleMessage=function(a){var b=new o(a);if(h.StringWrapper.equals(b.type,"result")||h.StringWrapper.equals(b.type,"error")){var c=b.id;this._pending.has(c)&&(h.StringWrapper.equals(b.type,"result")?this._pending.get(c).resolve(b.value):this._pending.get(c).reject(b.value,null),this._pending["delete"](c))}},b}(m);b.ClientMessageBroker_=n;var o=function(){function a(a){this.type=g.StringMapWrapper.get(a,"type"),this.id=this._getValueIfPresent(a,"id"),this.value=this._getValueIfPresent(a,"value")}return a.prototype._getValueIfPresent=function(a,b){return g.StringMapWrapper.contains(a,b)?g.StringMapWrapper.get(a,b):null},a}(),p=function(){function a(a,b){this.value=a,this.type=b}return a}();b.FnArg=p;var q=function(){function a(a,b){this.method=a,this.args=b}return a}();return b.UiArguments=q,c.exports}),a.registerDynamic("b9",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.MessageBus=d,c.exports}),a.registerDynamic("ba",[],!0,function(a,b,c){"use strict";return b.RENDERER_CHANNEL="ng-Renderer",b.EVENT_CHANNEL="ng-Events",b.ROUTER_CHANNEL="ng-Router",c.exports}),a.registerDynamic("c6",["9"],!0,function(a,b,c){"use strict";var d=a("9"),e=function(){function a(){this._nextIndex=0,this._lookupById=new Map,this._lookupByObject=new Map}return a.prototype.allocateId=function(){return this._nextIndex++},a.prototype.store=function(a,b){this._lookupById.set(b,a),this._lookupByObject.set(a,b)},a.prototype.remove=function(a){var b=this._lookupByObject.get(a);this._lookupByObject["delete"](a),this._lookupById["delete"](b)},a.prototype.deserialize=function(a){return null==a?null:this._lookupById.has(a)?this._lookupById.get(a):null},a.prototype.serialize=function(a){return null==a?null:this._lookupByObject.get(a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[],a}();return b.RenderStore=e,c.exports}),a.registerDynamic("bb",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g,h,i){this.href=a,this.protocol=b,this.host=c,this.hostname=d,this.port=e,this.pathname=f,this.search=g,this.hash=h,this.origin=i}return a}();return b.LocationType=d,c.exports}),a.registerDynamic("bc",["9","c8","b7","b1","c6","bb"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c8"),f=a("b7"),g=a("b1"),h=a("c6"),i=a("bb");b.PRIMITIVE=String;var j=function(){function a(a){this._renderStore=a}return a.prototype.serialize=function(a,c){var e=this;if(!g.isPresent(a))return null;if(g.isArray(a))return a.map(function(a){return e.serialize(a,c)});if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.serialize(a);if(c===d.RenderComponentType)return this._serializeRenderComponentType(a);if(c===d.ViewEncapsulation)return g.serializeEnum(a);if(c===i.LocationType)return this._serializeLocation(a);throw new f.BaseException("No serializer for "+c.toString())},a.prototype.deserialize=function(a,c,h){var j=this;if(!g.isPresent(a))return null;if(g.isArray(a)){var l=[];return a.forEach(function(a){return l.push(j.deserialize(a,c,h))}),l}if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.deserialize(a);if(c===d.RenderComponentType)return this._deserializeRenderComponentType(a);if(c===d.ViewEncapsulation)return e.VIEW_ENCAPSULATION_VALUES[a];if(c===i.LocationType)return this._deserializeLocation(a);throw new f.BaseException("No deserializer for "+c.toString())},a.prototype._serializeLocation=function(a){return{href:a.href,protocol:a.protocol,host:a.host,hostname:a.hostname,port:a.port,pathname:a.pathname,search:a.search,hash:a.hash,origin:a.origin}},a.prototype._deserializeLocation=function(a){return new i.LocationType(a.href,a.protocol,a.host,a.hostname,a.port,a.pathname,a.search,a.hash,a.origin)},a.prototype._serializeRenderComponentType=function(a){return{id:a.id,templateUrl:a.templateUrl,slotCount:a.slotCount,encapsulation:this.serialize(a.encapsulation,d.ViewEncapsulation),styles:this.serialize(a.styles,b.PRIMITIVE)}},a.prototype._deserializeRenderComponentType=function(a){return new d.RenderComponentType(a.id,a.templateUrl,a.slotCount,this.deserialize(a.encapsulation,d.ViewEncapsulation),this.deserialize(a.styles,b.PRIMITIVE))},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:h.RenderStore}],a}();b.Serializer=j;var k=function(){function a(){}return a}();return b.RenderStoreObject=k,c.exports}),a.registerDynamic("bd",[],!0,function(a,b,c){"use strict";function d(a){return a}return b.deserializeGenericEvent=d,c.exports}),a.registerDynamic("e0",["9","b5","b6","b1","b8","b9","ba","c6","bc","bd"],!0,function(a,b,c){"use strict";function d(a,b){return a+":"+b}var e=a("9"),f=a("b5"),g=a("b6"),h=a("b1"),i=a("b8"),j=a("b9"),k=a("ba"),l=a("c6"),m=a("bc"),n=a("bd"),o=function(){function a(a,b,c,d){var e=this;this._serializer=c,this._renderStore=d,this.globalEvents=new q,this._componentRenderers=new Map,this._messageBroker=a.createMessageBroker(k.RENDERER_CHANNEL),b.initChannel(k.EVENT_CHANNEL);var g=b.from(k.EVENT_CHANNEL);f.ObservableWrapper.subscribe(g,function(a){return e._dispatchEvent(a)})}return a.prototype._dispatchEvent=function(a){var b=a.eventName,c=a.eventTarget,e=n.deserializeGenericEvent(a.event);if(h.isPresent(c))this.globalEvents.dispatchEvent(d(c,b),e);else{var f=this._serializer.deserialize(a.element,m.RenderStoreObject);f.events.dispatchEvent(b,e)}},a.prototype.renderComponent=function(a){var b=this._componentRenderers.get(a.id);if(h.isBlank(b)){b=new p(this,a),this._componentRenderers.set(a.id,b);var c=this._renderStore.allocateId();this._renderStore.store(b,c),this.runOnService("renderComponent",[new i.FnArg(a,e.RenderComponentType),new i.FnArg(b,m.RenderStoreObject)])}return b},a.prototype.runOnService=function(a,b){var c=new i.UiArguments(a,b);this._messageBroker.runOnService(c,null)},a.prototype.allocateNode=function(){var a=new r,b=this._renderStore.allocateId();return this._renderStore.store(a,b),a},a.prototype.allocateId=function(){return this._renderStore.allocateId()},a.prototype.destroyNodes=function(a){for(var b=0;b0&&n.isPresent(c)){var d=s.getDOM().nextSibling(a);if(n.isPresent(d))for(var e=0;e=a.length-2?b:"paragraph_open"===a[b].type&&a[b].tight&&"inline"===a[b+1].type&&0===a[b+1].content.length&&"paragraph_close"===a[b+2].type&&a[b+2].tight?d(a,b+2):b}var e=a("e8").has,f=a("e8").unescapeMd,g=a("e8").replaceEntities,h=a("e8").escapeHtml,i={};i.blockquote_open=function(){return"
    \n"},i.blockquote_close=function(a,b){return"
    "+j(a,b)},i.code=function(a,b){return a[b].block?"
    "+h(a[b].content)+"
    "+j(a,b):""+h(a[b].content)+""},i.fence=function(a,b,c,d,i){var k,l,m=a[b],n="",o=c.langPrefix,p="";if(m.params){if(k=m.params.split(/\s+/g)[0],e(i.rules.fence_custom,k))return i.rules.fence_custom[k](a,b,c,d,i);p=h(g(f(k))),n=' class="'+o+p+'"'}return l=c.highlight?c.highlight(m.content,p)||h(m.content):h(m.content),"
    "+l+"
    "+j(a,b)},i.fence_custom={},i.heading_open=function(a,b){return""},i.heading_close=function(a,b){return"\n"},i.hr=function(a,b,c){return(c.xhtmlOut?"
    ":"
    ")+j(a,b)},i.bullet_list_open=function(){return"
      \n"},i.bullet_list_close=function(a,b){return"
    "+j(a,b)},i.list_item_open=function(){return"
  • "},i.list_item_close=function(){return"
  • \n"},i.ordered_list_open=function(a,b){var c=a[b],d=c.order>1?' start="'+c.order+'"':"";return"\n"},i.ordered_list_close=function(a,b){return""+j(a,b)},i.paragraph_open=function(a,b){return a[b].tight?"":"

    "},i.paragraph_close=function(a,b){var c=!(a[b].tight&&b&&"inline"===a[b-1].type&&!a[b-1].content);return(a[b].tight?"":"

    ")+(c?j(a,b):"")},i.link_open=function(a,b,c){var d=a[b].title?' title="'+h(g(a[b].title))+'"':"",e=c.linkTarget?' target="'+c.linkTarget+'"':"";return'"},i.link_close=function(){return""},i.image=function(a,b,c){var d=' src="'+h(a[b].src)+'"',e=a[b].title?' title="'+h(g(a[b].title))+'"':"",f=' alt="'+(a[b].alt?h(g(a[b].alt)):"")+'"',i=c.xhtmlOut?" /":"";return""},i.table_open=function(){return"\n"},i.table_close=function(){return"
    \n"},i.thead_open=function(){return"\n"},i.thead_close=function(){return"\n"},i.tbody_open=function(){return"\n"},i.tbody_close=function(){return"\n"},i.tr_open=function(){return""},i.tr_close=function(){return"\n"},i.th_open=function(a,b){var c=a[b];return""},i.th_close=function(){return""},i.td_open=function(a,b){var c=a[b];return""},i.td_close=function(){return""},i.strong_open=function(){return""},i.strong_close=function(){return""},i.em_open=function(){return""},i.em_close=function(){return""},i.del_open=function(){return""},i.del_close=function(){return""},i.ins_open=function(){return""},i.ins_close=function(){return""},i.mark_open=function(){return""},i.mark_close=function(){return""},i.sub=function(a,b){return""+h(a[b].content)+""},i.sup=function(a,b){return""+h(a[b].content)+""},i.hardbreak=function(a,b,c){return c.xhtmlOut?"
    \n":"
    \n"},i.softbreak=function(a,b,c){return c.breaks?c.xhtmlOut?"
    \n":"
    \n":"\n"},i.text=function(a,b){return h(a[b].content)},i.htmlblock=function(a,b){return a[b].content},i.htmltag=function(a,b){return a[b].content},i.abbr_open=function(a,b){return''},i.abbr_close=function(){return""},i.footnote_ref=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),'['+c+"]"},i.footnote_block_open=function(a,b,c){var d=c.xhtmlOut?'
    \n':'
    \n';return d+'
    \n
      \n'},i.footnote_block_close=function(){return"
    \n
    \n"},i.footnote_open=function(a,b){var c=Number(a[b].id+1).toString();return'
  • '},i.footnote_close=function(){return"
  • \n"},i.footnote_anchor=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),' '},i.dl_open=function(){return"
    \n"},i.dt_open=function(){return"
    "},i.dd_open=function(){return"
    "},i.dl_close=function(){return"
    \n"},i.dt_close=function(){return"\n"},i.dd_close=function(){return"\n"};var j=i.getBreak=function(a,b){return b=d(a,b),bh||58!==a.charCodeAt(h+1))return-1;for(j=g.posMax,i=h+2;j>i&&10!==g.src.charCodeAt(i);i++);return k=a.slice(2,h),l=a.slice(h+2,i).trim(),0===l.length?-1:(d.abbreviations||(d.abbreviations={}),"undefined"==typeof d.abbreviations[":"+k]&&(d.abbreviations[":"+k]=l),i)}var e=a("ec"),f=a("ed");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("paragraph_open"===g[b-1].type&&"inline"===g[b].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("ee",["ec","ed","ef","f0","f1"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var j,k,l,m,n,o,p,q,r;if(91!==a.charCodeAt(0))return-1;if(-1===a.indexOf("]:"))return-1;if(j=new e(a,b,c,d,[]),k=f(j,0),0>k||58!==a.charCodeAt(k+1))return-1;for(m=j.posMax,l=k+2;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);if(!g(j,l))return-1;for(p=j.linkContent,l=j.pos,o=l,l+=1;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);for(m>l&&o!==l&&h(j,l)?(q=j.linkContent,l=j.pos):(q="",l=o);m>l&&32===j.src.charCodeAt(l);)l++;return m>l&&10!==j.src.charCodeAt(l)?-1:(r=i(a.slice(1,k)),"undefined"==typeof d.references[r]&&(d.references[r]={title:q,href:p}),l)}var e=a("ec"),f=a("ed"),g=a("ef"),h=a("f0"),i=a("f1");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(a.env.references=a.env.references||{},!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("inline"===g[b].type&&"paragraph_open"===g[b-1].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("f2",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e=a.tokens;for(c=0,d=e.length;d>c;c++)b=e[c],"inline"===b.type&&a.inline.parse(b.content,a.options,a.env,b.children)},c.exports}),a.registerDynamic("f3",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e,f,g,h,i,j,k=0,l=!1,m={};if(a.env.footnotes&&(a.tokens=a.tokens.filter(function(a){return"footnote_reference_open"===a.type?(l=!0,i=[],j=a.label,!1):"footnote_reference_close"===a.type?(l=!1,m[":"+j]=i,!1):(l&&i.push(a),!l)}),a.env.footnotes.list)){for(g=a.env.footnotes.list,a.tokens.push({type:"footnote_block_open",level:k++}),b=0,c=g.length;c>b;b++){for(a.tokens.push({type:"footnote_open",id:b,level:k++}),g[b].tokens?(h=[],h.push({type:"paragraph_open",tight:!1,level:k++}),h.push({type:"inline",content:"",level:k,children:g[b].tokens}),h.push({type:"paragraph_close",tight:!1,level:--k})):g[b].label&&(h=m[":"+g[b].label]),a.tokens=a.tokens.concat(h),f="paragraph_close"===a.tokens[a.tokens.length-1].type?a.tokens.pop():null,e=g[b].count>0?g[b].count:1,d=0;e>d;d++)a.tokens.push({type:"footnote_anchor",id:b,subId:d,level:k});f&&a.tokens.push(f),a.tokens.push({type:"footnote_close",level:--k})}a.tokens.push({type:"footnote_block_close",level:--k})}},c.exports}),a.registerDynamic("f4",[],!0,function(a,b,c){"use strict";function d(a){return a.replace(/([-()\[\]{}+?*.$\^|,:#c;c++)if("inline"===p[c].type)for(g=p[c].children,b=g.length-1;b>=0;b--)if(h=g[b],"text"===h.type){for(k=0,i=h.content,m.lastIndex=0,l=h.level,j=[];n=m.exec(i);)m.lastIndex>k&&j.push({type:"text",content:i.slice(k,n.index+n[1].length),level:l}),j.push({type:"abbr_open",title:a.env.abbreviations[":"+n[2]],level:l++}),j.push({type:"text",content:n[2],level:l}),j.push({type:"abbr_close",level:--l}),k=m.lastIndex-n[3].length;j.length&&(k=0;h--)if("inline"===a.tokens[h].type)for(g=a.tokens[h].children,b=g.length-1;b>=0;b--)c=g[b],"text"===c.type&&(f=c.content,f=d(f),e.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),c.content=f)},c.exports}),a.registerDynamic("f6",[],!0,function(a,b,c){"use strict";function d(a,b){return 0>b||b>=a.length?!1:!h.test(a[b])}function e(a,b,c){return a.substr(0,b)+c+a.substr(b+1)}var f=/['"]/,g=/['"]/g,h=/[-\s()\[\]]/,i="’";return c.exports=function(a){var b,c,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w;if(a.options.typographer)for(w=[],u=a.tokens.length-1;u>=0;u--)if("inline"===a.tokens[u].type)for(v=a.tokens[u].children,w.length=0,b=0;b=0&&!(w[s].level<=m);s--);w.length=s+1,h=c.content,k=0,l=h.length;a:for(;l>k&&(g.lastIndex=k,j=g.exec(h));)if(n=!d(h,j.index-1),k=j.index+1,t="'"===j[0],o=!d(h,k),o||n){if(q=!o,r=!n)for(s=w.length-1;s>=0&&(p=w[s],!(w[s].levelf;f++){var h=c[f],i=h.getType(),j=h.getText();if("element"===i)"a"===h.getTagName()&&(h.isClosing()?d=Math.max(d-1,0):d++),e.push(j);else if("entity"===i)e.push(j);else if(0===d){var k=this.linkifyStr(j);e.push(k)}else e.push(j)}return e.join("")},linkifyStr:function(a){return this.getMatchParser().replace(a,this.createMatchReturnVal,this)},createMatchReturnVal:function(b){var c;if(this.replaceFn&&(c=this.replaceFn.call(this,this,b)),"string"==typeof c)return c;if(c===!1)return b.getMatchedText();if(c instanceof a.HtmlTag)return c.toString();var d=this.getTagBuilder(),e=d.build(b);return e.toString()},getHtmlParser:function(){var b=this.htmlParser;return b||(b=this.htmlParser=new a.htmlParser.HtmlParser),b},getMatchParser:function(){var b=this.matchParser;return b||(b=this.matchParser=new a.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,stripPrefix:this.stripPrefix})),b},getTagBuilder:function(){var b=this.tagBuilder;return b||(b=this.tagBuilder=new a.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),b}},a.link=function(b,c){var d=new a(c);return d.link(b)},a.match={},a.htmlParser={},a.matchParser={},a.Util={abstractMethod:function(){throw"abstract"},assign:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a},extend:function(b,c){var d=b.prototype,e=function(){};e.prototype=d;var f;f=c.hasOwnProperty("constructor")?c.constructor:function(){d.constructor.apply(this,arguments)};var g=f.prototype=new e;return g.constructor=f,g.superclass=d,delete c.constructor,a.Util.assign(g,c),f},ellipsis:function(a,b,c){return a.length>b&&(c=null==c?"..":c,a=a.substring(0,b-c.length)+c),a},indexOf:function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},splitAndCapture:function(a,b){if(!b.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var c,d=[],e=0;c=b.exec(a);)d.push(a.substring(e,c.index)),d.push(c[0]),e=c.index+c[0].length;return d.push(a.substring(e)),d}},a.HtmlTag=a.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(b){a.Util.assign(this,b),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(a){return this.tagName=a,this},getTagName:function(){return this.tagName||""},setAttr:function(a,b){var c=this.getAttrs();return c[a]=b,this},getAttr:function(a){return this.getAttrs()[a]},setAttrs:function(b){var c=this.getAttrs();return a.Util.assign(c,b),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(a){return this.setAttr("class",a)},addClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);c=h.shift();)-1===f(g,c)&&g.push(c);return this.getAttrs()["class"]=g.join(" "),this},removeClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);g.length&&(c=h.shift());){var i=f(g,c);-1!==i&&g.splice(i,1)}return this.getAttrs()["class"]=g.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(a){return-1!==(" "+this.getClass()+" ").indexOf(" "+a+" ")},setInnerHtml:function(a){return this.innerHtml=a,this},getInnerHtml:function(){return this.innerHtml||""},toString:function(){var a=this.getTagName(),b=this.buildAttrsStr();return b=b?" "+b:"",["<",a,b,">",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var a=this.getAttrs(),b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+'="'+a[c]+'"');return b.join(" ")}}),a.AnchorTagBuilder=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},build:function(b){var c=new a.HtmlTag({tagName:"a",attrs:this.createAttrs(b.getType(),b.getAnchorHref()),innerHtml:this.processAnchorText(b.getAnchorText())});return c},createAttrs:function(a,b){var c={href:b},d=this.createCssClass(a);return d&&(c["class"]=d),this.newWindow&&(c.target="_blank"),c},createCssClass:function(a){var b=this.className;return b?b+" "+b+"-"+a:""},processAnchorText:function(a){return a=this.doTruncate(a)},doTruncate:function(b){return a.Util.ellipsis(b,this.truncate||Number.POSITIVE_INFINITY)}}),a.htmlParser.HtmlParser=a.Util.extend(Object,{htmlRegex:function(){var a=/[0-9a-zA-Z][0-9a-zA-Z:]*/,b=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,c=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,d=b.source+"(?:\\s*=\\s*"+c.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",d,"|",c.source+")",")*",">",")","|","(?:","<(/)?","("+a.source+")","(?:","\\s+",d,")*","\\s*/?",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(a){for(var b,c,d=this.htmlRegex,e=0,f=[];null!==(b=d.exec(a));){var g=b[0],h=b[1]||b[3],i=!!b[2],j=a.substring(e,b.index);j&&(c=this.parseTextAndEntityNodes(j),f.push.apply(f,c)),f.push(this.createElementNode(g,h,i)),e=b.index+g.length}if(ee;e+=2){var g=d[e],h=d[e+1];g&&c.push(this.createTextNode(g)),h&&c.push(this.createEntityNode(h))}return c},createElementNode:function(b,c,d){return new a.htmlParser.ElementNode({text:b,tagName:c.toLowerCase(),closing:d})},createEntityNode:function(b){return new a.htmlParser.EntityNode({text:b})},createTextNode:function(b){return new a.htmlParser.TextNode({text:b})}}),a.htmlParser.HtmlNode=a.Util.extend(Object,{text:"",constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getText:function(){return this.text}}),a.htmlParser.ElementNode=a.Util.extend(a.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),a.htmlParser.EntityNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"entity"}}),a.htmlParser.TextNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"text"}}),a.matchParser.MatchParser=a.Util.extend(Object,{urls:!0,email:!0,twitter:!0,stripPrefix:!0,matcherRegex:function(){var a=/(^|[^\w])@(\w{1,15})/,b=/(?:[\-;:&=\+\$,\w\.]+@)/,c=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,d=/(?:www\.)/,e=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,f=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,g=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/;return new RegExp(["(",a.source,")","|","(",b.source,e.source,f.source,")","|","(","(?:","(",c.source,e.source,")","|","(?:","(.?//)?",d.source,e.source,")","|","(?:","(.?//)?",e.source,f.source,")",")","(?:"+g.source+")?",")"].join(""),"gi"); }(),charBeforeProtocolRelMatchRegex:/^(.)?\/\//,constructor:function(b){a.Util.assign(this,b),this.matchValidator=new a.MatchValidator},replace:function(a,b,c){var d=this;return a.replace(this.matcherRegex,function(a,e,f,g,h,i,j,k,l){var m=d.processCandidateMatch(a,e,f,g,h,i,j,k,l);if(m){var n=b.call(c,m.match);return m.prefixStr+n+m.suffixStr}return a})},processCandidateMatch:function(b,c,d,e,f,g,h,i,j){var k,l=i||j,m="",n="";if(c&&!this.twitter||f&&!this.email||g&&!this.urls||!this.matchValidator.isValidMatch(g,h,l))return null;if(this.matchHasUnbalancedClosingParen(b)&&(b=b.substr(0,b.length-1),n=")"),f)k=new a.match.Email({matchedText:b,email:f});else if(c)d&&(m=d,b=b.slice(1)),k=new a.match.Twitter({matchedText:b,twitterHandle:e});else{if(l){var o=l.match(this.charBeforeProtocolRelMatchRegex)[1]||"";o&&(m=o,b=b.slice(1))}k=new a.match.Url({matchedText:b,url:b,protocolUrlMatch:!!h,protocolRelativeMatch:!!l,stripPrefix:this.stripPrefix})}return{prefixStr:m,suffixStr:n,match:k}},matchHasUnbalancedClosingParen:function(a){var b=a.charAt(a.length-1);if(")"===b){var c=a.match(/\(/g),d=a.match(/\)/g),e=c&&c.length||0,f=d&&d.length||0;if(f>e)return!0}return!1}}),a.MatchValidator=a.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(a,b,c){return!(b&&!this.isValidUriScheme(b)||this.urlMatchDoesNotHaveProtocolOrDot(a,b)||this.urlMatchDoesNotHaveAtLeastOneWordChar(a,b)||this.isInvalidProtocolRelativeMatch(c))},isValidUriScheme:function(a){var b=a.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==b&&"vbscript:"!==b},urlMatchDoesNotHaveProtocolOrDot:function(a,b){return!(!a||b&&this.hasFullProtocolRegex.test(b)||-1!==a.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(a,b){return a&&b?!this.hasWordCharAfterProtocolRegex.test(a):!1},isInvalidProtocolRelativeMatch:function(a){return!!a&&this.invalidProtocolRelMatchRegex.test(a)}}),a.match.Match=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:a.Util.abstractMethod,getAnchorText:a.Util.abstractMethod}),a.match.Email=a.Util.extend(a.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),a.match.Twitter=a.Util.extend(a.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),a.match.Url=a.Util.extend(a.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var a=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(a=this.url="http://"+a,this.protocolPrepended=!0),a},getAnchorHref:function(){var a=this.getUrl();return a.replace(/&/g,"&")},getAnchorText:function(){var a=this.getUrl();return this.protocolRelativeMatch&&(a=this.stripProtocolRelativePrefix(a)),this.stripPrefix&&(a=this.stripUrlPrefix(a)),a=this.removeTrailingSlash(a)},stripUrlPrefix:function(a){return a.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(a){return a.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(a){return"/"===a.charAt(a.length-1)&&(a=a.slice(0,-1)),a}}),a})}(a("45")),c.exports}),a.registerDynamic("f8",["f7"],!0,function(a,b,c){return c.exports=a("f7"),c.exports}),a.registerDynamic("f9",["f8"],!0,function(a,b,c){"use strict";function d(a){return/^\s]/i.test(a)}function e(a){return/^<\/a\s*>/i.test(a)}function f(){var a=[],b=new g({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(b,c){switch(c.getType()){case"url":a.push({text:c.matchedText,url:c.getUrl()});break;case"email":a.push({text:c.matchedText,url:"mailto:"+c.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:a,autolinker:b}}var g=a("f8"),h=/www|@|\:\/\//;return c.exports=function(a){var b,c,g,i,j,k,l,m,n,o,p,q,r,s=a.tokens,t=null;if(a.options.linkify)for(c=0,g=s.length;g>c;c++)if("inline"===s[c].type)for(i=s[c].children,p=0,b=i.length-1;b>=0;b--)if(j=i[b],"link_close"!==j.type){if("htmltag"===j.type&&(d(j.content)&&p>0&&p--,e(j.content)&&p++),!(p>0)&&"text"===j.type&&h.test(j.content)){if(t||(t=f(),q=t.links,r=t.autolinker),k=j.content,q.length=0,r.link(k),!q.length)continue;for(l=[],o=j.level,m=0;mb;b++)d[b](a)},c.exports=d,c.exports}),a.registerDynamic("fc",[],!0,function(a,b,c){"use strict";function d(a,b,c,d,e){var f,g,h,i,j,k,l;for(this.src=a,this.parser=b,this.options=c,this.env=d,this.tokens=e,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",g=this.src,k=0,l=!1,h=i=k=0,j=g.length;j>i;i++){if(f=g.charCodeAt(i),!l){if(32===f){k++;continue}l=!0}10!==f&&i!==j-1||(10!==f&&i++,this.bMarks.push(h),this.eMarks.push(i),this.tShift.push(k),l=!1,k=0,h=i+1)}this.bMarks.push(g.length),this.eMarks.push(g.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}return d.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},d.prototype.skipEmptyLines=function(a){for(var b=this.lineMax;b>a&&!(this.bMarks[a]+this.tShift[a]a&&32===this.src.charCodeAt(a);a++);return a},d.prototype.skipChars=function(a,b){for(var c=this.src.length;c>a&&this.src.charCodeAt(a)===b;a++);return a},d.prototype.skipCharsBack=function(a,b,c){if(c>=a)return a;for(;a>c;)if(b!==this.src.charCodeAt(--a))return a+1;return a},d.prototype.getLines=function(a,b,c,d){var e,f,g,h,i,j=a;if(a>=b)return"";if(j+1===b)return f=this.bMarks[j]+Math.min(this.tShift[j],c),g=d?this.eMarks[j]+1:this.eMarks[j],this.src.slice(f,g);for(h=new Array(b-a),e=0;b>j;j++,e++)i=this.tShift[j],i>c&&(i=c),0>i&&(i=0),f=this.bMarks[j]+i,g=b>j+1||d?this.eMarks[j]+1:this.eMarks[j],h[e]=this.src.slice(f,g);return h.join("")},c.exports=d,c.exports}),a.registerDynamic("fd",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c){var d,e;if(a.tShift[b]-a.blkIndent<4)return!1;for(e=d=b+1;c>d;)if(a.isEmpty(d))d++;else{if(!(a.tShift[d]-a.blkIndent>=4))break;d++,e=d}return a.line=d,a.tokens.push({type:"code",content:a.getLines(b,e,4+a.blkIndent,!0),block:!0,lines:[b,a.line],level:a.level}),!0},c.exports}),a.registerDynamic("fe",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j=!1,k=a.bMarks[b]+a.tShift[b],l=a.eMarks[b];if(k+3>l)return!1;if(e=a.src.charCodeAt(k),126!==e&&96!==e)return!1;if(i=k,k=a.skipChars(k,e),f=k-i,3>f)return!1;if(g=a.src.slice(k,l).trim(),g.indexOf("`")>=0)return!1;if(d)return!0;for(h=b;(h++,!(h>=c))&&(k=i=a.bMarks[h]+a.tShift[h],l=a.eMarks[h],!(l>k&&a.tShift[h]=4||(k=a.skipChars(k,e),f>k-i||(k=a.skipSpaces(k),l>k)))){j=!0;break}return f=a.tShift[b],a.line=h+(j?1:0),a.tokens.push({type:"fence",params:g,content:a.getLines(b+1,h,f,!0),lines:[b,a.line],level:a.level}),!0},c.exports}),a.registerDynamic("ff",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p=a.bMarks[b]+a.tShift[b],q=a.eMarks[b];if(p>q)return!1;if(62!==a.src.charCodeAt(p++))return!1;if(a.level>=a.options.maxNesting)return!1;if(d)return!0;for(32===a.src.charCodeAt(p)&&p++,i=a.blkIndent,a.blkIndent=0,h=[a.bMarks[b]],a.bMarks[b]=p,p=q>p?a.skipSpaces(p):p,f=p>=q,g=[a.tShift[b]],a.tShift[b]=p-a.bMarks[b],l=a.parser.ruler.getRules("blockquote"),e=b+1;c>e&&(p=a.bMarks[e]+a.tShift[e],q=a.eMarks[e],!(p>=q));e++)if(62!==a.src.charCodeAt(p++)){if(f)break;for(o=!1,m=0,n=l.length;n>m;m++)if(l[m](a,e,c,!0)){o=!0;break}if(o)break;h.push(a.bMarks[e]),g.push(a.tShift[e]),a.tShift[e]=-1337}else 32===a.src.charCodeAt(p)&&p++,h.push(a.bMarks[e]),a.bMarks[e]=p,p=q>p?a.skipSpaces(p):p,f=p>=q,g.push(a.tShift[e]),a.tShift[e]=p-a.bMarks[e];for(j=a.parentType,a.parentType="blockquote",a.tokens.push({type:"blockquote_open",lines:k=[b,0],level:a.level++}),a.parser.tokenize(a,b,e),a.tokens.push({type:"blockquote_close",level:--a.level}),a.parentType=j,k[1]=a.line,m=0;mi)return!1;if(e=a.src.charCodeAt(h++),42!==e&&45!==e&&95!==e)return!1;for(f=1;i>h;){if(g=a.src.charCodeAt(h++),g!==e&&32!==g)return!1;g===e&&f++}return 3>f?!1:d?!0:(a.line=b+1,a.tokens.push({type:"hr",lines:[b,a.line],level:a.level}),!0)},c.exports}),a.registerDynamic("101",[],!0,function(a,b,c){"use strict";function d(a,b){var c,d,e;return d=a.bMarks[b]+a.tShift[b],e=a.eMarks[b],d>=e?-1:(c=a.src.charCodeAt(d++),42!==c&&45!==c&&43!==c?-1:e>d&&32!==a.src.charCodeAt(d)?-1:d)}function e(a,b){var c,d=a.bMarks[b]+a.tShift[b],e=a.eMarks[b];if(d+1>=e)return-1;if(c=a.src.charCodeAt(d++),48>c||c>57)return-1;for(;;){if(d>=e)return-1;if(c=a.src.charCodeAt(d++),!(c>=48&&57>=c)){if(41===c||46===c)break;return-1}}return e>d&&32!==a.src.charCodeAt(d)?-1:d}function f(a,b){var c,d,e=a.level+2;for(c=b+2,d=a.tokens.length-2;d>c;c++)a.tokens[c].level===e&&"paragraph_open"===a.tokens[c].type&&(a.tokens[c+2].tight=!0,a.tokens[c].tight=!0,c+=2)}return c.exports=function(a,b,c,g){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D=!0;if((o=e(a,b))>=0)t=!0;else{if(!((o=d(a,b))>=0))return!1;t=!1}if(a.level>=a.options.maxNesting)return!1;if(s=a.src.charCodeAt(o-1),g)return!0;for(v=a.tokens.length,t?(n=a.bMarks[b]+a.tShift[b],r=Number(a.src.substr(n,o-n-1)),a.tokens.push({type:"ordered_list_open",order:r,lines:x=[b,0],level:a.level++})):a.tokens.push({type:"bullet_list_open",lines:x=[b,0],level:a.level++}),h=b,w=!1,z=a.parser.ruler.getRules("list");!(!(c>h)||(u=a.skipSpaces(o),p=a.eMarks[h],q=u>=p?1:u-o,q>4&&(q=1),1>q&&(q=1),i=o-a.bMarks[h]+q,a.tokens.push({type:"list_item_open",lines:y=[b,0],level:a.level++}),k=a.blkIndent,l=a.tight,j=a.tShift[b],m=a.parentType,a.tShift[b]=u-a.bMarks[b],a.blkIndent=i,a.tight=!0,a.parentType="list",a.parser.tokenize(a,b,c,!0),a.tight&&!w||(D=!1),w=a.line-b>1&&a.isEmpty(a.line-1),a.blkIndent=k,a.tShift[b]=j,a.tight=l,a.parentType=m,a.tokens.push({type:"list_item_close",level:--a.level}),h=b=a.line,y[1]=h,u=a.bMarks[b],h>=c)||a.isEmpty(h)||a.tShift[h]A;A++)if(z[A](a,h,c,!0)){C=!0;break}if(C)break;if(t){if(o=e(a,h),0>o)break}else if(o=d(a,h),0>o)break;if(s!==a.src.charCodeAt(o-1))break}return a.tokens.push({type:t?"ordered_list_close":"bullet_list_close",level:--a.level}),x[1]=h,a.line=h,D&&f(a,v),!0},c.exports}),a.registerDynamic("102",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j=a.bMarks[b]+a.tShift[b],k=a.eMarks[b];if(j+4>k)return!1;if(91!==a.src.charCodeAt(j))return!1;if(94!==a.src.charCodeAt(j+1))return!1;if(a.level>=a.options.maxNesting)return!1;for(h=j+2;k>h;h++){if(32===a.src.charCodeAt(h))return!1;if(93===a.src.charCodeAt(h))break}return h===j+2?!1:h+1>=k||58!==a.src.charCodeAt(++h)?!1:d?!0:(h++,a.env.footnotes||(a.env.footnotes={}),a.env.footnotes.refs||(a.env.footnotes.refs={}),i=a.src.slice(j+2,h-2),a.env.footnotes.refs[":"+i]=-1,a.tokens.push({type:"footnote_reference_open",label:i,level:a.level++}),e=a.bMarks[b],f=a.tShift[b],g=a.parentType,a.tShift[b]=a.skipSpaces(h)-h,a.bMarks[b]=h,a.blkIndent+=4,a.parentType="footnote",a.tShift[b]=i)return!1;if(e=a.src.charCodeAt(h),35!==e||h>=i)return!1;for(f=1,e=a.src.charCodeAt(++h);35===e&&i>h&&6>=f;)f++,e=a.src.charCodeAt(++h);return f>6||i>h&&32!==e?!1:d?!0:(i=a.skipCharsBack(i,32,h),g=a.skipCharsBack(i,35,h),g>h&&32===a.src.charCodeAt(g-1)&&(i=g),a.line=b+1,a.tokens.push({type:"heading_open",hLevel:f,lines:[b,a.line],level:a.level}),i>h&&a.tokens.push({type:"inline",content:a.src.slice(h,i).trim(),level:a.level+1,lines:[b,a.line],children:[]}),a.tokens.push({type:"heading_close",hLevel:f,level:a.level}),!0)},c.exports}),a.registerDynamic("104",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c){var d,e,f,g=b+1;return g>=c?!1:a.tShift[g]3?!1:(e=a.bMarks[g]+a.tShift[g],f=a.eMarks[g],e>=f?!1:(d=a.src.charCodeAt(e),45!==d&&61!==d?!1:(e=a.skipChars(e,d),e=a.skipSpaces(e),f>e?!1:(e=a.bMarks[b]+a.tShift[b],a.line=g+1,a.tokens.push({type:"heading_open",hLevel:61===d?1:2,lines:[b,a.line],level:a.level}),a.tokens.push({type:"inline",content:a.src.slice(e,a.eMarks[b]).trim(),level:a.level+1,lines:[b,a.line-1],children:[]}),a.tokens.push({type:"heading_close",hLevel:61===d?1:2,level:a.level}),!0))))},c.exports}),a.registerDynamic("105",[],!0,function(a,b,c){"use strict";var d={};return["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(a){d[a]=!0}),c.exports=d,c.exports}),a.registerDynamic("106",["105","45"],!0,function(a,b,c){return function(b){"use strict";function d(a){var b=32|a;return b>=97&&122>=b}var e=a("105"),f=/^<([a-zA-Z]{1,15})[\s\/>]/,g=/^<\/([a-zA-Z]{1,15})[\s>]/;c.exports=function(a,b,c,h){var i,j,k,l=a.bMarks[b],m=a.eMarks[b],n=a.tShift[b];if(l+=n,!a.options.html)return!1;if(n>3||l+2>=m)return!1;if(60!==a.src.charCodeAt(l))return!1;if(i=a.src.charCodeAt(l+1),33===i||63===i){if(h)return!0}else{if(47!==i&&!d(i))return!1;if(47===i){if(j=a.src.slice(l,m).match(g),!j)return!1}else if(j=a.src.slice(l,m).match(f),!j)return!1;if(e[j[1].toLowerCase()]!==!0)return!1;if(h)return!0}for(k=b+1;kc)return!1;if(j=b+1,a.tShift[j]=a.eMarks[j])return!1;if(f=a.src.charCodeAt(h),124!==f&&45!==f&&58!==f)return!1;if(g=d(a,b+1),!/^[-:| ]+$/.test(g))return!1;if(k=g.split("|"),2>=k)return!1;for(l=[],i=0;ij&&!(a.tShift[j]=f?-1:(d=a.src.charCodeAt(e++),126!==d&&58!==d?-1:(c=a.skipSpaces(e),e===c?-1:c>=f?-1:c))}function e(a,b){var c,d,e=a.level+2;for(c=b+2,d=a.tokens.length-2;d>c;c++)a.tokens[c].level===e&&"paragraph_open"===a.tokens[c].type&&(a.tokens[c+2].tight=!0,a.tokens[c].tight=!0,c+=2)}return c.exports=function(a,b,c,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;if(f)return a.ddIndent<0?!1:d(a,b)>=0;if(m=b+1,a.isEmpty(m)&&++m>c)return!1;if(a.tShift[m]g)return!1;if(a.level>=a.options.maxNesting)return!1;l=a.tokens.length,a.tokens.push({type:"dl_open",lines:k=[b,0],level:a.level++}),i=b,h=m;a:for(;;){for(t=!0,s=!1,a.tokens.push({type:"dt_open",lines:[i,i],level:a.level++}),a.tokens.push({type:"inline",content:a.getLines(i,i+1,a.blkIndent,!1).trim(),level:a.level+1,lines:[i,i],children:[]}),a.tokens.push({type:"dt_close",level:--a.level});;){if(a.tokens.push({type:"dd_open",lines:j=[m,0],level:a.level++}),r=a.tight,o=a.ddIndent,n=a.blkIndent,q=a.tShift[h],p=a.parentType,a.blkIndent=a.ddIndent=a.tShift[h]+2,a.tShift[h]=g-a.bMarks[h],a.tight=!0,a.parentType="deflist",a.parser.tokenize(a,h,c,!0),a.tight&&!s||(t=!1),s=a.line-h>1&&a.isEmpty(a.line-1),a.tShift[h]=q,a.tight=r,a.parentType=p,a.blkIndent=n,a.ddIndent=o,a.tokens.push({type:"dd_close",level:--a.level}),j[1]=m=a.line,m>=c)break a;if(a.tShift[m]g)break;h=m}if(m>=c)break;if(i=m,a.isEmpty(i))break;if(a.tShift[i]=c)break;if(a.isEmpty(h)&&h++,h>=c)break;if(a.tShift[h]g)break}return a.tokens.push({type:"dl_close",level:--a.level}),k[1]=m,a.line=m,t&&e(a,l),!0},c.exports}),a.registerDynamic("109",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h,i=b+1;if(c=a.lineMax,c>i&&!a.isEmpty(i))for(h=a.parser.ruler.getRules("paragraph");c>i&&!a.isEmpty(i);i++)if(!(a.tShift[i]-a.blkIndent>3)){for(e=!1,f=0,g=h.length;g>f;f++)if(h[f](a,i,c,!0)){e=!0;break}if(e)break}return d=a.getLines(b,i,a.blkIndent,!1).trim(),a.line=i,d.length&&(a.tokens.push({type:"paragraph_open",tight:!1,lines:[b,a.line],level:a.level}),a.tokens.push({type:"inline",content:d,level:a.level+1,lines:[b,a.line],children:[]}),a.tokens.push({type:"paragraph_close",tight:!1,level:a.level})),!0},c.exports}),a.registerDynamic("10a",["fb","fc","fd","fe","ff","100","101","102","103","104","106","107","108","109"],!0,function(a,b,c){"use strict";function d(){this.ruler=new e;for(var a=0;ah&&(a.line=h=a.skipEmptyLines(h),!(h>=c))&&!(a.tShift[h]e&&!(d=f[e](a,h,c,!1));e++);if(a.tight=!i,a.isEmpty(a.line-1)&&(i=!0),h=a.line,c>h&&a.isEmpty(h)){if(i=!0,h++,c>h&&"list"===a.parentType&&a.isEmpty(h))break;a.line=h}}};var h=/[\n\t]/g,i=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,j=/\u00a0/g;return d.prototype.parse=function(a,b,c,d){var e,g=0,k=0;return a?(a=a.replace(j," "),a=a.replace(i,"\n"),a.indexOf(" ")>=0&&(a=a.replace(h,function(b,c){var d;return 10===a.charCodeAt(c)?(g=c+1,k=0,b):(d=" ".slice((c-g-k)%4),k=c-g+1,d)})),e=new f(a,this,b,c,d),void this.tokenize(e,e.line,e.lineMax)):[]},c.exports=d,c.exports}),a.registerDynamic("ec",[],!0,function(a,b,c){"use strict";function d(a,b,c,d,e){this.src=a,this.env=d,this.options=c,this.parser=b,this.tokens=e,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}return d.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},d.prototype.push=function(a){this.pending&&this.pushPending(),this.tokens.push(a),this.pendingLevel=this.level},d.prototype.cacheSet=function(a,b){for(var c=this.cache.length;a>=c;c++)this.cache.push(0);this.cache[a]=b},d.prototype.cacheGet=function(a){return a=0&&32===a.pending.charCodeAt(c)?c>=1&&32===a.pending.charCodeAt(c-1)?(a.pending=a.pending.replace(/ +$/,""),a.push({type:"hardbreak",level:a.level})):(a.pending=a.pending.slice(0,-1),a.push({type:"softbreak",level:a.level})):a.push({type:"softbreak",level:a.level})),e++;d>e&&32===a.src.charCodeAt(e);)e++;return a.pos=e,!0},c.exports}),a.registerDynamic("10d",[],!0,function(a,b,c){"use strict";for(var d=[],e=0;256>e;e++)d.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(a){d[a.charCodeAt(0)]=1}),c.exports=function(a,b){var c,e=a.pos,f=a.posMax;if(92!==a.src.charCodeAt(e))return!1;if(e++,f>e){if(c=a.src.charCodeAt(e),256>c&&0!==d[c])return b||(a.pending+=a.src[e]),a.pos+=2,!0;if(10===c){for(b||a.push({type:"hardbreak",level:a.level}),e++;f>e&&32===a.src.charCodeAt(e);)e++;return a.pos=e,!0}}return b||(a.pending+="\\"),a.pos++,!0},c.exports}),a.registerDynamic("10e",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.pos,i=a.src.charCodeAt(h);if(96!==i)return!1;for(c=h,h++,d=a.posMax;d>h&&96===a.src.charCodeAt(h);)h++;for(e=a.src.slice(c,h),f=g=h;-1!==(f=a.src.indexOf("`",g));){for(g=f+1;d>g&&96===a.src.charCodeAt(g);)g++;if(g-f===e.length)return b||a.push({type:"code",content:a.src.slice(h,f).replace(/[ \n]+/g," ").trim(),block:!1,level:a.level}),a.pos=g,!0}return b||(a.pending+=e),a.pos+=e.length,!0},c.exports}),a.registerDynamic("10f",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(126!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(126!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),126===f)return!1;if(126===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&126===a.src.charCodeAt(d);)d++;if(d>i+3)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"del_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"del_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("110",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(43!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(43!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),43===f)return!1;if(43===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&43===a.src.charCodeAt(d);)d++;if(d!==i+2)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"ins_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"ins_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("111",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(61!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(61!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),61===f)return!1;if(61===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&61===a.src.charCodeAt(d);)d++;if(d!==i+2)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"mark_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"mark_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("112",[],!0,function(a,b,c){"use strict";function d(a){return a>=48&&57>=a||a>=65&&90>=a||a>=97&&122>=a}function e(a,b){var c,e,f,g=b,h=!0,i=!0,j=a.posMax,k=a.src.charCodeAt(b);for(c=b>0?a.src.charCodeAt(b-1):-1;j>g&&a.src.charCodeAt(g)===k;)g++;return g>=j&&(h=!1),f=g-b,f>=4?h=i=!1:(e=j>g?a.src.charCodeAt(g):-1,32!==e&&10!==e||(h=!1),32!==c&&10!==c||(i=!1),95===k&&(d(c)&&(h=!1),d(e)&&(i=!1))),{can_open:h,can_close:i,delims:f}}return c.exports=function(a,b){var c,d,f,g,h,i,j,k=a.posMax,l=a.pos,m=a.src.charCodeAt(l);if(95!==m&&42!==m)return!1;if(b)return!1;if(j=e(a,l),c=j.delims,!j.can_open)return a.pos+=c,b||(a.pending+=a.src.slice(l,a.pos)),!0;if(a.level>=a.options.maxNesting)return!1;for(a.pos=l+c,i=[c];a.posh){i.push(g-h);break}if(h-=g,0===i.length)break;a.pos+=g,g=i.pop()}if(0===i.length){c=g,f=!0;break}a.pos+=d;continue}j.can_open&&i.push(d),a.pos+=d}return f?(a.posMax=a.pos,a.pos=l+c,b||(2!==c&&3!==c||a.push({type:"strong_open",level:a.level++}),1!==c&&3!==c||a.push({type:"em_open",level:a.level++}),a.parser.tokenize(a),1!==c&&3!==c||a.push({type:"em_close",level:--a.level}),2!==c&&3!==c||a.push({type:"strong_close",level:--a.level})),a.pos=a.posMax+c,a.posMax=k,!0):(a.pos=l,!1)},c.exports}),a.registerDynamic("113",[],!0,function(a,b,c){"use strict";var d=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;return c.exports=function(a,b){var c,e,f=a.posMax,g=a.pos;if(126!==a.src.charCodeAt(g))return!1;if(b)return!1;if(g+2>=f)return!1;if(a.level>=a.options.maxNesting)return!1;for(a.pos=g+1;a.pos?@[\]^_`{|}~-])/g;return c.exports=function(a,b){var c,e,f=a.posMax,g=a.pos;if(94!==a.src.charCodeAt(g))return!1;if(b)return!1;if(g+2>=f)return!1;if(a.level>=a.options.maxNesting)return!1;for(a.pos=g+1;a.posb;){if(c=a.src.charCodeAt(b),10===c)return!1;if(62===c)return g=d(e(a.src.slice(h+1,b))),a.parser.validateLink(g)?(a.pos=b+1,a.linkContent=g,!0):!1;92===c&&i>b+1?b+=2:b++}return!1}for(f=0;i>b&&(c=a.src.charCodeAt(b),32!==c)&&!(c>8&&14>c);)if(92===c&&i>b+1)b+=2;else{if(40===c&&(f++,f>1))break;if(41===c&&(f--,0>f))break;b++}return h===b?!1:(g=e(a.src.slice(h,b)),a.parser.validateLink(g)?(a.linkContent=g,a.pos=b,!0):!1)},c.exports}),a.registerDynamic("f0",["e8"],!0,function(a,b,c){"use strict";var d=a("e8").unescapeMd;return c.exports=function(a,b){var c,e=b,f=a.posMax,g=a.src.charCodeAt(b);if(34!==g&&39!==g&&40!==g)return!1;for(b++,40===g&&(g=41);f>b;){if(c=a.src.charCodeAt(b),c===g)return a.pos=b+1,a.linkContent=d(a.src.slice(e+1,b)),!0;92===c&&f>b+1?b+=2:b++}return!1},c.exports}),a.registerDynamic("f1",[],!0,function(a,b,c){"use strict";return c.exports=function(a){return a.trim().replace(/\s+/g," ").toUpperCase()},c.exports}),a.registerDynamic("116",["ed","ef","f0","f1"],!0,function(a,b,c){"use strict";var d=a("ed"),e=a("ef"),f=a("f0"),g=a("f1");return c.exports=function(a,b){var c,h,i,j,k,l,m,n,o=!1,p=a.pos,q=a.posMax,r=a.pos,s=a.src.charCodeAt(r);if(33===s&&(o=!0,s=a.src.charCodeAt(++r)),91!==s)return!1;if(a.level>=a.options.maxNesting)return!1;if(c=r+1,h=d(a,r),0>h)return!1;if(l=h+1,q>l&&40===a.src.charCodeAt(l)){for(l++;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);if(l>=q)return!1;for(r=l,e(a,l)?(j=a.linkContent,l=a.pos):j="",r=l;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);if(q>l&&r!==l&&f(a,l))for(k=a.linkContent,l=a.pos;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);else k="";if(l>=q||41!==a.src.charCodeAt(l))return a.pos=p,!1;l++}else{if(a.linkLevel>0)return!1;for(;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);if(q>l&&91===a.src.charCodeAt(l)&&(r=l+1,l=d(a,l), l>=0?i=a.src.slice(r,l++):l=r-1),i||("undefined"==typeof i&&(l=h+1),i=a.src.slice(c,h)),m=a.env.references[g(i)],!m)return a.pos=p,!1;j=m.href,k=m.title}return b||(a.pos=c,a.posMax=h,o?a.push({type:"image",src:j,title:k,alt:a.src.substr(c,h-c),level:a.level}):(a.push({type:"link_open",href:j,title:k,level:a.level++}),a.linkLevel++,a.parser.tokenize(a),a.linkLevel--,a.push({type:"link_close",level:--a.level}))),a.pos=l,a.posMax=q,!0},c.exports}),a.registerDynamic("ed",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f=-1,g=a.posMax,h=a.pos,i=a.isInLabel;if(a.isInLabel)return-1;if(a.labelUnmatchedScopes)return a.labelUnmatchedScopes--,-1;for(a.pos=b+1,a.isInLabel=!0,c=1;a.pos=h?!1:94!==a.src.charCodeAt(i)?!1:91!==a.src.charCodeAt(i+1)?!1:a.level>=a.options.maxNesting?!1:(c=i+2,e=d(a,i+1),0>e?!1:(b||(a.env.footnotes||(a.env.footnotes={}),a.env.footnotes.list||(a.env.footnotes.list=[]),f=a.env.footnotes.list.length,a.pos=c,a.posMax=e,a.push({type:"footnote_ref",id:f,level:a.level}),a.linkLevel++,g=a.tokens.length,a.parser.tokenize(a),a.env.footnotes.list[f]={tokens:a.tokens.splice(g)},a.linkLevel--),a.pos=e+1,a.posMax=h,!0))},c.exports}),a.registerDynamic("118",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g=a.posMax,h=a.pos;if(h+3>g)return!1;if(!a.env.footnotes||!a.env.footnotes.refs)return!1;if(91!==a.src.charCodeAt(h))return!1;if(94!==a.src.charCodeAt(h+1))return!1;if(a.level>=a.options.maxNesting)return!1;for(d=h+2;g>d;d++){if(32===a.src.charCodeAt(d))return!1;if(10===a.src.charCodeAt(d))return!1;if(93===a.src.charCodeAt(d))break}return d===h+2?!1:d>=g?!1:(d++,c=a.src.slice(h+2,d-1),"undefined"==typeof a.env.footnotes.refs[":"+c]?!1:(b||(a.env.footnotes.list||(a.env.footnotes.list=[]),a.env.footnotes.refs[":"+c]<0?(e=a.env.footnotes.list.length,a.env.footnotes.list[e]={label:c,count:0},a.env.footnotes.refs[":"+c]=e):e=a.env.footnotes.refs[":"+c],f=a.env.footnotes.list[e].count,a.env.footnotes.list[e].count++,a.push({type:"footnote_ref",id:e,subId:f,level:a.level})),a.pos=d,a.posMax=g,!0))},c.exports}),a.registerDynamic("119",[],!0,function(a,b,c){"use strict";return c.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],c.exports}),a.registerDynamic("115",["e8"],!0,function(a,b,c){"use strict";var d=a("e8").replaceEntities;return c.exports=function(a){var b=d(a);try{b=decodeURI(b)}catch(c){}return encodeURI(b)},c.exports}),a.registerDynamic("11a",["119","115"],!0,function(a,b,c){"use strict";var d=a("119"),e=a("115"),f=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,g=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;return c.exports=function(a,b){var c,h,i,j,k,l=a.pos;return 60!==a.src.charCodeAt(l)?!1:(c=a.src.slice(l),c.indexOf(">")<0?!1:(h=c.match(g))?d.indexOf(h[1].toLowerCase())<0?!1:(j=h[0].slice(1,-1),k=e(j),a.parser.validateLink(j)?(b||(a.push({type:"link_open",href:k,level:a.level}),a.push({type:"text",content:j,level:a.level+1}),a.push({type:"link_close",level:a.level})),a.pos+=h[0].length,!0):!1):(i=c.match(f),i?(j=i[0].slice(1,-1),k=e("mailto:"+j),a.parser.validateLink(k)?(b||(a.push({type:"link_open",href:k,level:a.level}),a.push({type:"text",content:j,level:a.level+1}),a.push({type:"link_close",level:a.level})),a.pos+=i[0].length,!0):!1):!1))},c.exports}),a.registerDynamic("11b",["45"],!0,function(a,b,c){return function(a){"use strict";function b(a,b){return a=a.source,b=b||"",function c(d,e){return d?(e=e.source||e,a=a.replace(d,e),c):new RegExp(a,b)}}var d=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,e=/[^"'=<>`\x00-\x20]+/,f=/'[^']*'/,g=/"[^"]*"/,h=b(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",e)("single_quoted",f)("double_quoted",g)(),i=b(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",d)("attr_value",h)(),j=b(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",i)(),k=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,l=//,m=/<[?].*?[?]>/,n=/]*>/,o=/])*\]\]>/,p=b(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",j)("close_tag",k)("comment",l)("processing",m)("declaration",n)("cdata",o)();c.exports.HTML_TAG_RE=p}(a("45")),c.exports}),a.registerDynamic("11c",["11b"],!0,function(a,b,c){"use strict";function d(a){var b=32|a;return b>=97&&122>=b}var e=a("11b").HTML_TAG_RE;return c.exports=function(a,b){var c,f,g,h=a.pos;return a.options.html?(g=a.posMax,60!==a.src.charCodeAt(h)||h+2>=g?!1:(c=a.src.charCodeAt(h+1),(33===c||63===c||47===c||d(c))&&(f=a.src.slice(h).match(e))?(b||a.push({type:"htmltag",content:a.src.slice(h,h+f[0].length),level:a.level}),a.pos+=f[0].length,!0):!1)):!1},c.exports}),a.registerDynamic("11d",[],!0,function(a,b,c){"use strict";return c.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒","in":"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬","int":"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},c.exports}),a.registerDynamic("e8",["11d"],!0,function(a,b,c){"use strict";function d(a){return Object.prototype.toString.call(a)}function e(a){return"[object String]"===d(a)}function f(a,b){return a?o.call(a,b):!1}function g(a){var b=[].slice.call(arguments,1);return b.forEach(function(b){if(b){if("object"!=typeof b)throw new TypeError(b+"must be object");Object.keys(b).forEach(function(c){a[c]=b[c]})}}),a}function h(a){return a.indexOf("\\")<0?a:a.replace(p,"$1")}function i(a){return a>=55296&&57343>=a?!1:a>=64976&&65007>=a?!1:65535===(65535&a)||65534===(65535&a)?!1:a>=0&&8>=a?!1:11===a?!1:a>=14&&31>=a?!1:a>=127&&159>=a?!1:!(a>1114111)}function j(a){if(a>65535){ a-=65536;var b=55296+(a>>10),c=56320+(1023&a);return String.fromCharCode(b,c)}return String.fromCharCode(a)}function k(a,b){var c=0;return f(s,b)?s[b]:35===b.charCodeAt(0)&&r.test(b)&&(c="x"===b[1].toLowerCase()?parseInt(b.slice(2),16):parseInt(b.slice(1),10),i(c))?j(c):a}function l(a){return a.indexOf("&")<0?a:a.replace(q,k)}function m(a){return v[a]}function n(a){return t.test(a)?a.replace(u,m):a}var o=Object.prototype.hasOwnProperty,p=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,q=/&([a-z#][a-z0-9]{1,31});/gi,r=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,s=a("11d"),t=/[&<>"]/,u=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};return b.assign=g,b.isString=e,b.has=f,b.unescapeMd=h,b.isValidEntityCode=i,b.fromCodePoint=j,b.replaceEntities=l,b.escapeHtml=n,c.exports}),a.registerDynamic("11e",["11d","e8"],!0,function(a,b,c){"use strict";var d=a("11d"),e=a("e8").has,f=a("e8").isValidEntityCode,g=a("e8").fromCodePoint,h=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,i=/^&([a-z][a-z0-9]{1,31});/i;return c.exports=function(a,b){var c,j,k,l=a.pos,m=a.posMax;if(38!==a.src.charCodeAt(l))return!1;if(m>l+1)if(c=a.src.charCodeAt(l+1),35===c){if(k=a.src.slice(l).match(h))return b||(j="x"===k[1][0].toLowerCase()?parseInt(k[1].slice(1),16):parseInt(k[1],10),a.pending+=g(f(j)?j:65533)),a.pos+=k[0].length,!0}else if(k=a.src.slice(l).match(i),k&&e(d,k[1]))return b||(a.pending+=d[k[1]]),a.pos+=k[0].length,!0;return b||(a.pending+="&"),a.pos++,!0},c.exports}),a.registerDynamic("11f",["fb","ec","e8","10b","10c","10d","10e","10f","110","111","112","113","114","116","117","118","11a","11c","11e"],!0,function(a,b,c){"use strict";function d(){this.ruler=new f;for(var a=0;a0)return void(a.pos=c);for(b=0;e>b;b++)if(d[b](a,!0))return void a.cacheSet(f,a.pos);a.pos++,a.cacheSet(f,a.pos)},d.prototype.tokenize=function(a){for(var b,c,d=this.ruler.getRules(""),e=d.length,f=a.posMax;a.posc&&!(b=d[c](a,!1));c++);if(b){if(a.pos>=f)break}else a.pending+=a.src[a.pos++]}a.pending&&a.pushPending()},d.prototype.parse=function(a,b,c,d){var e=new g(a,this,b,c,d);this.tokenize(e)},c.exports=d,c.exports}),a.registerDynamic("fb",[],!0,function(a,b,c){"use strict";function d(){this.__rules__=[],this.__cache__=null}return d.prototype.__find__=function(a){for(var b=this.__rules__.length,c=-1;b--;)if(this.__rules__[++c].name===a)return c;return-1},d.prototype.__compile__=function(){var a=this,b=[""];a.__rules__.forEach(function(a){a.enabled&&a.alt.forEach(function(a){b.indexOf(a)<0&&b.push(a)})}),a.__cache__={},b.forEach(function(b){a.__cache__[b]=[],a.__rules__.forEach(function(c){c.enabled&&(b&&c.alt.indexOf(b)<0||a.__cache__[b].push(c.fn))})})},d.prototype.at=function(a,b,c){var d=this.__find__(a),e=c||{};if(-1===d)throw new Error("Parser rule not found: "+a);this.__rules__[d].fn=b,this.__rules__[d].alt=e.alt||[],this.__cache__=null},d.prototype.before=function(a,b,c,d){var e=this.__find__(a),f=d||{};if(-1===e)throw new Error("Parser rule not found: "+a);this.__rules__.splice(e,0,{name:b,enabled:!0,fn:c,alt:f.alt||[]}),this.__cache__=null},d.prototype.after=function(a,b,c,d){var e=this.__find__(a),f=d||{};if(-1===e)throw new Error("Parser rule not found: "+a);this.__rules__.splice(e+1,0,{name:b,enabled:!0,fn:c,alt:f.alt||[]}),this.__cache__=null},d.prototype.push=function(a,b,c){var d=c||{};this.__rules__.push({name:a,enabled:!0,fn:b,alt:d.alt||[]}),this.__cache__=null},d.prototype.enable=function(a,b){a=Array.isArray(a)?a:[a],b&&this.__rules__.forEach(function(a){a.enabled=!1}),a.forEach(function(a){var b=this.__find__(a);if(0>b)throw new Error("Rules manager: invalid rule name "+a);this.__rules__[b].enabled=!0},this),this.__cache__=null},d.prototype.disable=function(a){a=Array.isArray(a)?a:[a],a.forEach(function(a){var b=this.__find__(a);if(0>b)throw new Error("Rules manager: invalid rule name "+a);this.__rules__[b].enabled=!1},this),this.__cache__=null},d.prototype.getRules=function(a){return null===this.__cache__&&this.__compile__(),this.__cache__[a]},c.exports=d,c.exports}),a.registerDynamic("120",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","linkify","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},c.exports}),a.registerDynamic("121",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},c.exports}),a.registerDynamic("122",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},c.exports}),a.registerDynamic("123",["e8","e9","fa","10a","11f","fb","120","121","122"],!0,function(a,b,c){"use strict";function d(a,b,c){this.src=b,this.env=c,this.options=a.options,this.tokens=[],this.inlineMode=!1,this.inline=a.inline,this.block=a.block,this.renderer=a.renderer,this.typographer=a.typographer}function e(a,b){"string"!=typeof a&&(b=a,a="default"),this.inline=new j,this.block=new i,this.core=new h,this.renderer=new g,this.ruler=new k,this.options={},this.configure(l[a]),this.set(b||{})}var f=a("e8").assign,g=a("e9"),h=a("fa"),i=a("10a"),j=a("11f"),k=a("fb"),l={"default":a("120"),full:a("121"),commonmark:a("122")};return e.prototype.set=function(a){f(this.options,a)},e.prototype.configure=function(a){var b=this;if(!a)throw new Error("Wrong `remarkable` preset, check name/content");a.options&&b.set(a.options),a.components&&Object.keys(a.components).forEach(function(c){a.components[c].rules&&b[c].ruler.enable(a.components[c].rules,!0)})},e.prototype.use=function(a,b){return a(this,b),this},e.prototype.parse=function(a,b){var c=new d(this,a,b);return this.core.process(c),c.tokens},e.prototype.render=function(a,b){return b=b||{},this.renderer.render(this.parse(a,b),this.options,b)},e.prototype.parseInline=function(a,b){var c=new d(this,a,b);return c.inlineMode=!0,this.core.process(c),c.tokens},e.prototype.renderInline=function(a,b){return b=b||{},this.renderer.render(this.parseInline(a,b),this.options,b)},c.exports=e,c.exports.utils=a("e8"),c.exports}),a.registerDynamic("124",["123"],!0,function(a,b,c){"use strict";return c.exports=a("123"),c.exports}),a.registerDynamic("125",["124"],!0,function(a,b,c){return c.exports=a("124"),c.exports}),a.register("a4",["9","75","76","77","78","79","82","89","125","126","7a","6e","9f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D;return{setters:[function(a){b=a.Pipe},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.BaseException},function(a){l=a["default"]},function(a){m=a.DomSanitizationService},function(a){n=a.isString,o=a.stringify,p=a.isBlank}],execute:function(){"use strict";q=function(a,b,c,d){var e,f=arguments.length,h=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var i=a.length-1;i>=0;i--)(e=a[i])&&(h=(3>f?e(h):f>3?e(b,c,h):e(b,c))||h);return f>3&&h&&l(b,c,h),h},r=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},s=new j({html:!0,linkify:!0,breaks:!1,typographer:!1,highlight:function(a,b){"json"===b&&(b="js");var c=Prism.languages[b];return c?Prism.highlight(a,c):a}}),t=function(a){function b(a,d){f(this,b),c(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,"Invalid argument '"+d+"' for pipe '"+o(a)+"'")}return d(b,a),b}(k),u=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(p(a))return a;if("object"!=typeof a)throw new t(w,a);return h(a)}}]),a}(),a("KeysPipe",u),a("KeysPipe",u=q([b({name:"keys"}),r("design:paramtypes",[])],u)),v=void 0,w=v=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(p(a))return a;if("object"!=typeof a)throw new t(v,a);return h(a).map(function(b){return a[b]})}}]),a}(),a("ValuesPipe",w),a("ValuesPipe",w=v=q([b({name:"values"}),r("design:paramtypes",[])],w)),x=void 0,y=x=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(p(a))return a;if(!n(a))throw new t(x,a);return i.escape(a)}}]),a}(),a("JsonPointerEscapePipe",y),a("JsonPointerEscapePipe",y=x=q([b({name:"jsonPointerEscape"}),r("design:paramtypes",[])],y)),z=function(){function a(b){f(this,a),this.sanitizer=b}return e(a,[{key:"transform",value:function(a){if(p(a))return a;if(!n(a))throw new t(y,a);return this.sanitizer.bypassSecurityTrustHtml(''+s.render(a)+"")}}]),a}(),a("MarkedPipe",z),a("MarkedPipe",z=q([b({name:"marked"}),r("design:paramtypes",[m])],z)),A={"c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim"},B=function(){function a(b){f(this,a),this.sanitizer=b}return e(a,[{key:"transform",value:function(a,b){if(p(b)||0===b.length)throw new k("Prism pipe requires one argument");if(p(a))return a;if(!n(a))throw new t(y,a);var c=b[0].toString().trim().toLowerCase();A[c]&&(c=A[c]);var d=Prism.languages[c];return d||(d=Prism.languages.clike),this.sanitizer.bypassSecurityTrustHtml(Prism.highlight(a,d))}}]),a}(),a("PrismPipe",B),a("PrismPipe",B=q([b({name:"prism"}),r("design:paramtypes",[m])],B)),C=void 0,D=C=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(p(a))return a;if(!n(a))throw new t(C,a);return encodeURIComponent(a)}}]),a}(),a("EncodeURIComponentPipe",D),a("EncodeURIComponentPipe",D=C=q([b({name:"encodeURIComponent"}),r("design:paramtypes",[])],D))}}}),a.register("73",["9","77","78","86","6d","a4"],function(a){function b(a,b){var c=a&&a.slice()||[];return b=void 0==b?[]:b,c.concat(b)}function c(a){var c=b(a.inputs,n),f=b(a.directives,i),g=b(a.pipes,[m,l,j,k]);return void 0===a.onPushOnly&&(a.onPushOnly=!0),function(b){var h=d({selector:a.selector,inputs:c,outputs:a.outputs,providers:a.providers,changeDetection:a.onPushOnly?e.OnPush:e.Default,animations:a.animations,templateUrl:a.templateUrl,template:a.template,styles:a.styles,directives:f,pipes:g});return h(b)||b}}var d,e,f,g,h,i,j,k,l,m,n,o;return{setters:[function(a){d=a.Component,e=a.ChangeDetectionStrategy},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a.SpecManager},function(a){i=a.CORE_DIRECTIVES,j=a.JsonPipe,k=a.AsyncPipe},function(a){l=a.MarkedPipe,m=a.JsonPointerEscapePipe}],execute:function(){"use strict";a("RedocComponent",c),a("SpecManager",h),n=["pointer"],o=function(){function a(b){g(this,a),this.specMgr=b,this.componentSchema=null,this.dereferencedCache={}}return f(a,[{key:"ngOnInit",value:function(){this.componentSchema=this.specMgr.byPointer(this.pointer||""),this.prepareModel(),this.init()}},{key:"ngOnDestroy",value:function(){this.destroy()}},{key:"prepareModel",value:function(){}},{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),a}(),a("BaseComponent",o)}}}),a.register("127",["9","73","74","75","76","77","78","79","7a","ca","9f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;return{setters:[function(a){b=a.ElementRef,c=a.ChangeDetectorRef,d=a.trigger,e=a.state,f=a.animate,g=a.transition,h=a.style},function(a){i=a.RedocComponent,j=a.BaseComponent,k=a.SpecManager},function(a){l=a.ScrollService,m=a.Hash,n=a.MenuService,o=a.OptionsService},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a["default"]},function(a){s=a["default"]},function(a){t=a["default"]},function(a){u=a["default"]},function(a){v=a.BrowserDomAdapter},function(a){w=a.global}],execute:function(){"use strict";x=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=t(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&u(b,c,g),g},y=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},z=function(a){function b(a,c,d,e,f,g,h,i){var j=this;s(this,b),p(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.dom=d,this.scrollService=e,this.menuService=f,this.hash=g,this.detectorRef=i,this.$element=c.nativeElement,this.activeCatCaption="",this.activeItemCaption="",this.options=h.options,this.menuService.changed.subscribe(function(a){return j.changed(a)})}return q(b,a),r(b,[{key:"changed",value:function(a){var b=a.cat,c=a.item;this.activeCatCaption=b.name||"",this.activeItemCaption=c&&c.summary||"",this.detectorRef.detectChanges()}},{key:"activateAndScroll",value:function(a,b){this.mobileMode()&&this.toggleMobileNav(),this.menuService.activate(a,b),this.menuService.scrollToActive()}},{key:"init",value:function(){var a=this;this.$mobileNav=this.dom.querySelector(this.$element,".mobile-nav"),this.$resourcesNav=this.dom.querySelector(this.$element,"#resources-nav"),this.scrollService.scrollYOffset=function(){var b=a.$mobileNav.clientHeight;return a.options.scrollYOffset()+b}}},{key:"prepareModel",value:function(){this.data={},this.data.menu=this.menuService.categories}},{key:"mobileMode",value:function(){return this.$mobileNav.clientHeight>0}},{key:"toggleMobileNav",value:function(){var a=this.dom,b=this.options.$scrollParent===w?a.defaultDoc().body:this.$scrollParent.$scrollParent;if(a.hasStyle(this.$resourcesNav,"height"))a.removeStyle(this.$resourcesNav,"height"),a.removeStyle(b,"overflow-y");else{var c=this.options.$scrollParent.innerHeight||this.options.$scrollParent.clientHeight,d=c-this.$mobileNav.getBoundingClientRect().bottom;a.setStyle(b,"overflow-y","hidden"),a.setStyle(this.$resourcesNav,"height",d+"px")}}},{key:"destroy",value:function(){this.scrollService.unbind(),this.hash.unbind()}}]),b}(j),a("SideMenu",z),a("SideMenu",z=x([i({selector:"side-menu",template:'\n
    \n API Reference: \n \n {{activeCatCaption}} \n {{activeItemCaption}}\n \n
    \n
    \n \n \n
    \n ',providers:[l,n,m],styles:['\n .menu-header {\n text-transform: uppercase;\n color: #0033a0;\n padding: 0 20px;\n margin: 10px 0; }\n\n .menu-cat-header {\n font-size: 0.929em;\n font-family: Montserrat, sans-serif;\n font-weight: 300;\n cursor: pointer;\n color: rgba(38, 50, 56, 0.6);\n text-transform: uppercase;\n background-color: #FAFAFA;\n -webkit-transition: all .15s ease-in-out;\n -moz-transition: all .15s ease-in-out;\n -ms-transition: all .15s ease-in-out;\n -o-transition: all .15s ease-in-out;\n transition: all .15s ease-in-out;\n display: block;\n padding: 12.5px 20px; }\n .menu-cat-header:hover, .menu-cat-header.active {\n color: #0033a0;\n background-color: #f0f0f0; }\n .menu-cat-header[hidden] {\n display: none; }\n\n .menu-subitems {\n margin: 0;\n font-size: 0.929em;\n line-height: 1.2em;\n font-weight: 300;\n color: rgba(38, 50, 56, 0.9);\n padding: 0;\n overflow: hidden; }\n .menu-subitems.active {\n height: auto; }\n .menu-subitems li {\n -webkit-transition: all .15s ease-in-out;\n -moz-transition: all .15s ease-in-out;\n -ms-transition: all .15s ease-in-out;\n -o-transition: all .15s ease-in-out;\n transition: all .15s ease-in-out;\n list-style: none inside none;\n cursor: pointer;\n background-color: #f0f0f0;\n padding: 10px 40px;\n padding-left: 40px;\n overflow: hidden;\n text-overflow: ellipsis; }\n .menu-subitems li:hover,\n .menu-subitems li.active {\n background: #e1e1e1; }\n\n .mobile-nav {\n display: none;\n height: 3em;\n line-height: 3em;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n cursor: pointer; }\n .mobile-nav:after {\n content: "";\n display: inline-block;\n width: 3em;\n height: 3em;\n background: url(\'data:image/svg+xml;utf8,\');\n background-size: 70%;\n background-repeat: no-repeat;\n background-position: center;\n float: right;\n vertical-align: middle; }\n .mobile-nav .menu-header {\n padding: 0 10px 0 20px;\n font-size: 0.95em; }\n @media (max-width: 550px) {\n .mobile-nav .menu-header {\n display: none; } }\n\n @media (max-width: 1000px) {\n .mobile-nav {\n display: block; }\n #resources-nav {\n height: 0;\n overflow-y: auto;\n transition: all 0.3s ease; }\n #resources-nav .menu-header {\n display: none; }\n .menu-subitems {\n height: auto; } }\n\n .selected-tag {\n text-transform: capitalize; }\n\n .selected-endpoint:before {\n content: "/";\n padding: 0 2px;\n color: #ccc; }\n\n .selected-endpoint:empty:before {\n display: none; }\n\n .selected-item-info {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n box-sizing: border-box;\n max-width: 350px; }\n @media (max-width: 550px) {\n .selected-item-info {\n display: inline-block;\n padding: 0 20px;\n max-width: 80%;\n max-width: calc(100% - 4em); } }\n '],detect:!0,onPushOnly:!1,animations:[d("itemAnimation",[e("collapsed, void",h({height:"0px"})),e("expanded",h({height:"*"})),g("collapsed <=> expanded",[f("200ms ease")])])]}),y("design:paramtypes",[k,b,v,l,n,m,o,c])],z))}}}),a.registerDynamic("128",[],!1,function(e,f,g){var h=a.get("@@global-helpers").prepareGlobal(g.id,null,null);return function(){"format global";!function(){if(!window.CustomEvent&&document.createEventObject)return void(window.CustomEvent=function(a,b){if(!arguments.length)throw new Error("Not enough arguments");var c={type:a,bubbles:!1,cancelable:!1,detail:null},d=document.createEventObject();for(var e in c)d[e]=c[e];for(var e in b)d[e]=b[e];return d});try{new CustomEvent("test")}catch(a){var b=function(a,b){if(!arguments.length)throw new Error("Not enough arguments");var c={bubbles:!1,cancelable:!1,detail:null};for(var d in b)c[d]=b[d];var e=document.createEvent("CustomEvent");return e.initCustomEvent(a,c.bubbles,c.cancelable,c.detail),e};b.prototype=(window.CustomEvent||window.Event).prototype,window.CustomEvent=b}}(),function(){if(!document.addEventListener&&window.Element&&window.Event){var a="__events",b="__immediateStopped";Event.prototype.NONE=Event.NONE=0,Event.prototype.CAPTURING_PHASE=Event.CAPTURING_PHASE=1,Event.prototype.AT_TARGET=Event.AT_TARGET=2,Event.prototype.BUBBLING_PHASE=Event.BUBBLING_PHASE=3,Event.prototype.preventDefault=function(){this.cancelable!==!1&&(this.returnValue=!1)},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},Event.prototype.stopImmediatePropagation=function(){this[b]=this.cancelBubble=!0};for(var c=function(a,b){return a.timeStamp=+new Date,a.target||(a.target=a.srcElement||b),a.pageX=a.clientX+document.documentElement.scrollLeft,a.pageY=a.clientY+document.documentElement.scrollTop,"mouseover"==a.type?a.relatedTarget=a.fromElement:"mouseout"==a.type?a.relatedTarget=a.toElement:a.relatedTarget=null,a},d=function(a,b,c){for(var d=0;d-1)){if(a in this)var j=this[a];else{var j={_handler:function(){h.apply(f,arguments)}};this[a]=j}b in j||(j[b]=[]),j[b].push({listener:c,useCapture:e}),i||this.attachEvent("on"+b,j._handler)}},removeEventListener:function(b,c,e){var f=(this[a]||{})[b]||[],g=d(f,c,e);-1!=g&&(f.splice(g,1),f.length||this.detachEvent("on"+b,this[a]._handler))},dispatchEvent:function(a){return a.returnValue=!0,h.call(this,a)}}),j=[Element,window.constructor,document.constructor];j.length;){var k=j.pop();for(var l in i)k.prototype[l]=i[l]}}}(),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c,d;if(null==this)throw new TypeError(" this is null or not defined");var e=Object(this),f=e.length>>>0;if("function"!=typeof a)throw new TypeError(a+" is not a function");for(arguments.length>1&&(c=b),d=0;f>d;){var g;d in e&&(g=e[d],a.call(c,g,d,e)),d++}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c;if(null==this)throw new TypeError('"this" is null or not defined');var d=Object(this),e=d.length>>>0;if(0===e)return-1;var f=+b||0;if(Math.abs(f)===1/0&&(f=0),f>=e)return-1;for(c=Math.max(f>=0?f:e-Math.abs(f),0);e>c;){if(c in d&&d[c]===a)return c;c++}return-1}),function(a){var e;if("object"==typeof c){try{e=b("jquery")}catch(f){}d.exports=a(window,document,e)}else"function"==typeof define&&define.amd?define([],function(){return a(window,document,window.jQuery)}):window.Dropkick=a(window,document,window.jQuery)}(function(a,b,c,d){var e,f=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),g=a.parent!==a.self,h=-1!==navigator.appVersion.indexOf("MSIE"),i=function(c,d){var e,f;if(this===a)return new i(c,d);for("string"==typeof c&&"#"===c[0]&&(c=b.getElementById(c.substr(1))),e=0;e: ",c),!1):"SELECT"===c.nodeName?this.init(c,d):void 0:(console.error("You must pass a select to DropKick"),!1)},j=function(){},k={initialize:j,mobile:!1,change:j,open:j,close:j,search:"strict",bubble:!0},l={hasClass:function(a,b){var c=new RegExp("(^|\\s+)"+b+"(\\s+|$)");return a&&c.test(a.className)},addClass:function(a,b){a&&!l.hasClass(a,b)&&(a.className+=" "+b)},removeClass:function(a,b){var c=new RegExp("(^|\\s+)"+b+"(\\s+|$)");a&&(a.className=a.className.replace(c," "))},toggleClass:function(a,b){var c=l.hasClass(a,b)?"remove":"add";l[c+"Class"](a,b)},extend:function(a){return Array.prototype.slice.call(arguments,1).forEach(function(b){if(b)for(var c in b)a[c]=b[c]}),a},offset:function(c){var d=c.getBoundingClientRect()||{top:0,left:0},e=b.documentElement,f=h?e.scrollTop:a.pageYOffset,g=h?e.scrollLeft:a.pageXOffset;return{top:d.top+f-e.clientTop,left:d.left+g-e.clientLeft}},position:function(a,b){for(var c={top:0,left:0};a&&a!==b;)c.top+=a.offsetTop,c.left+=a.offsetLeft,a=a.parentNode;return c},closest:function(a,b){for(;a;){if(a===b)return a;a=a.parentNode}return!1},create:function(a,c){var d,e=b.createElement(a);c||(c={});for(d in c)c.hasOwnProperty(d)&&("innerHTML"===d?e.innerHTML=c[d]:e.setAttribute(d,c[d]));return e},deferred:function(b){return function(){var c=arguments,d=this;a.setTimeout(function(){b.apply(d,c)},1)}}};return i.cache={},i.uid=0,i.prototype={add:function(a,c){var d,e,f;"string"==typeof a&&(d=a,a=b.createElement("option"),a.text=d),"OPTION"===a.nodeName&&(e=l.create("li",{"class":"dk-option","data-value":a.value,innerHTML:a.text,role:"option","aria-selected":"false",id:"dk"+this.data.cacheID+"-"+(a.id||a.value.replace(" ","-"))}),l.addClass(e,a.className),this.length+=1,a.disabled&&(l.addClass(e,"dk-option-disabled"),e.setAttribute("aria-disabled","true")),this.data.select.add(a,c),"number"==typeof c&&(c=this.item(c)),f=this.options.indexOf(c),f>-1?(c.parentNode.insertBefore(e,c),this.options.splice(f,0,e)):(this.data.elem.lastChild.appendChild(e),this.options.push(e)),e.addEventListener("mouseover",this),a.selected&&this.select(f))},item:function(a){return a=0>a?this.options.length+a:a,this.options[a]||null},remove:function(a){var b=this.item(a);b.parentNode.removeChild(b),this.options.splice(a,1),this.data.select.remove(a),this.select(this.data.select.selectedIndex),this.length-=1},init:function(a,c){var d,h=i.build(a,"dk"+i.uid);if(this.data={},this.data.select=a,this.data.elem=h.elem,this.data.settings=l.extend({},k,c),this.disabled=a.disabled,this.form=a.form,this.length=a.length,this.multiple=a.multiple,this.options=h.options.slice(0),this.selectedIndex=a.selectedIndex,this.selectedOptions=h.selected.slice(0),this.value=a.value,this.data.cacheID=i.uid,i.cache[this.data.cacheID]=this,this.data.settings.initialize.call(this),i.uid+=1,this._changeListener||(a.addEventListener("change",this),this._changeListener=!0),!f||this.data.settings.mobile){if(a.parentNode.insertBefore(this.data.elem,a),a.setAttribute("data-dkCacheId",this.data.cacheID),this.data.elem.addEventListener("click",this),this.data.elem.addEventListener("keydown",this),this.data.elem.addEventListener("keypress",this),this.form&&this.form.addEventListener("reset",this),!this.multiple)for(d=0;dc,f=i>c,g=e&&!f?"-up":"-down",this.isOpen=!0,l.addClass(j,"dk-select-open"+g),k.setAttribute("aria-expanded","true"),this._scrollTo(this.options.length-1),this._scrollTo(this.selectedIndex),void this.data.settings.open.call(this))}),disable:function(a,b){var c="dk-option-disabled";0!==arguments.length&&"boolean"!=typeof a||(b=a===d,a=this.data.elem,c="dk-select-disabled",this.disabled=b),b===d&&(b=!0),"number"==typeof a&&(a=this.item(a)),b?(a.setAttribute("aria-disabled",!0),l.addClass(a,c)):(a.setAttribute("aria-disabled",!1),l.removeClass(a,c))},select:function(a,b){var c,d,e,f,g=this.data.select;if("number"==typeof a&&(a=this.item(a)),"string"==typeof a)for(c=0;c