UNPKG

redoc-ex

Version:

Swagger-generated API Reference Documentation

7 lines 1.26 MB
/*! * ReDoc - OpenAPI/Swagger-generated API Reference Documentation * ------------------------------------------------------------- * Version: "1.14.5" * Repo: https://github.com/wizspark/redoc-ex */ (function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprima")}catch(t){}}(),function(){try{return require("jquery")}catch(t){}}()):"function"==typeof define&&define.amd?define("RedocEx",["esprima","jquery"],e):"object"==typeof exports?exports.RedocEx=e(function(){try{return require("esprima")}catch(t){}}(),function(){try{return require("jquery")}catch(t){}}()):t.RedocEx=e(t.esprima,t.jquery)})(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=701)}([function(t,e,n){var r=n(6),o=n(8),i=n(25),a=n(23),l=n(59),s=function(t,e,n){var u,c,p,f,d=t&s.F,h=t&s.G,m=t&s.S,g=t&s.P,y=t&s.B,v=h?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,_=h?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});h&&(n=e);for(u in n)c=!d&&v&&void 0!==v[u],p=(c?v:n)[u],f=y&&c?l(p,r):g&&"function"==typeof p?l(Function.call,p):p,v&&a(v,u,p,t&s.U),_[u]!=p&&i(_,u,f),g&&b[u]!=p&&(b[u]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";(function(t){function r(){if(!Br){var t=Vr.Symbol;if(t&&t.iterator)Br=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Br=r)}}return Br}function o(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function i(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function a(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function l(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function s(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+a(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var n=t,r=n.length-1,o=t[r];if("function"!=typeof o)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+a(o)+"'");if(r!=o.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+o.length+") in the function: "+a(o));for(var i=[],s=0,u=n.length-1;s<u;s++){var c=[];i.push(c);var p=n[s];if(Array.isArray(p))for(var f=0;f<p.length;f++)c.push(l(p[f]));else"function"==typeof p?c.push(l(p)):c.push(p)}return Ur.defineMetadata("parameters",i,o),o}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+a(t)+"'")}function u(t){var e=s(t.hasOwnProperty("constructor")?t.constructor:void 0,"constructor"),n=e.prototype;if(t.hasOwnProperty("extends")){if("function"!=typeof t.extends)throw new Error("Class definition 'extends' property must be a constructor function was: "+a(t.extends));e.prototype=n=Object.create(t.extends.prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=s(t[r],r));this&&this.annotations instanceof Array&&Ur.defineMetadata("annotations",this.annotations,e);var o=e.name;return o&&"constructor"!==o||(e.overriddenName="class"+Hr++),e}function c(t,e,n,r){function o(t){if(!Ur||!Ur.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof o)return i.call(this,t),this;var e=new o(t),n="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];n.push(e);var a=function(t){var n=Ur.getOwnMetadata("annotations",t)||[];return n.push(e),Ur.defineMetadata("annotations",n,t),t};return a.annotations=n,a.Class=u,r&&r(a),a}var i=p([e]);return n&&(o.prototype=Object.create(n.prototype)),o.prototype.toString=function(){return"@"+t},o.annotationCls=o,o}function p(t){return function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach(function(t,r){var o=n[r];if(Array.isArray(t))e[t[0]]=void 0===o?t[1]:o;else for(var i in t)e[i]=o&&o.hasOwnProperty(i)?o[i]:t[i]})}}function f(t,e,n){function r(){function t(t,e,n){for(var r=Ur.getOwnMetadata("parameters",t)||[];r.length<=n;)r.push(null);return r[n]=r[n]||[],r[n].push(i),Ur.defineMetadata("parameters",r,t),t}for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var i=new(r.bind.apply(r,[void 0].concat(e)));return t.annotation=i,t}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function d(t,e,n){function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof r)return o.apply(this,t),this;var n=new(r.bind.apply(r,[void 0].concat(t)));return function(t,e){var r=Ur.getOwnMetadata("propMetadata",t.constructor)||{};r[e]=r.hasOwnProperty(e)&&r[e]||[],r[e].unshift(n),Ur.defineMetadata("propMetadata",r,t.constructor)}}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function h(t){return t.__forward_ref__=h,t.toString=function(){return a(this())},t}function m(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===h?t():t}function g(t){return t[_o]}function y(t){return t[bo]}function v(t){return t[wo]||_}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}function b(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[bo]=e,r}function w(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}function x(t){if(t.length>1){return" ("+w(t.slice().reverse()).map(function(t){return a(t.token)}).join(" -> ")+")"}return""}function k(t,e,n,r){var o=r?b("",r):Error();return o.addKey=C,o.keys=[e],o.injectors=[t],o.constructResolvingMessage=n,o.message=o.constructResolvingMessage(),o[bo]=r,o}function C(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage()}function O(t,e){return k(t,e,function(){return"No provider for "+a(this.keys[0].token)+"!"+x(this.keys)})}function P(t,e){return k(t,e,function(){return"Cannot instantiate cyclic dependency!"+x(this.keys)})}function S(t,e,n,r){return k(t,r,function(){var t=a(this.keys[0].token);return y(this).message+": Error during instantiation of "+t+"!"+x(this.keys)+"."},e)}function E(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function M(t,e){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];i&&0!=i.length?n.push(i.map(a).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+a(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+a(t)+"' is decorated with Injectable.")}function A(t){return Error("Index "+t+" is out-of-bounds.")}function T(t,e){return Error("Cannot mix multi providers and regular providers, got: "+t+" "+e)}function I(t){return"function"==typeof t}function j(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}function R(t){var e=Object.getPrototypeOf(t.prototype);return(e?e.constructor:null)||Object}function N(t){var e,n;if(t.useClass){var r=m(t.useClass);e=To.factory(r),n=V(r)}else t.useExisting?(e=function(t){return t},n=[Io.fromKey(ko.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=q(t.useFactory,t.deps)):(e=function(){return t.useValue},n=jo);return new No(e,n)}function D(t){return new Ro(ko.get(t.provide),[N(t)],t.multi||!1)}function L(t){var e=z(t,[]),n=e.map(D),r=F(n,new Map);return Array.from(r.values())}function F(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw T(o,r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else e.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new Ro(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}function z(t,e){return t.forEach(function(t){if(t instanceof Po)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw E(t);z(t,e)}}),e}function q(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return B(t,e,n)})}return V(t)}function V(t){var e=To.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw M(t,e);return e.map(function(n){return B(t,n,e)})}function B(t,e,n){var r=null,o=!1;if(!Array.isArray(e))return e instanceof so?H(e.token,o,null):H(e,o,null);for(var i=null,a=0;a<e.length;++a){var l=e[a];l instanceof Po?r=l:l instanceof so?r=l.token:l instanceof uo?o=!0:l instanceof po||l instanceof fo?i=l:l instanceof Lr&&(r=l)}if(null!=(r=m(r)))return H(r,o,i);throw M(t,n)}function H(t,e,n){return new Io(ko.get(t),e,n)}function U(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}function $(t){return!!t&&"function"==typeof t.then}function Y(t){return!!t&&"function"==typeof t.subscribe}function W(){return""+G()+G()+G()}function G(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function Z(){throw new Error("Runtime compiler is not loaded")}function X(t){var e=Error("No component factory found for "+a(t)+". Did you add it to @NgModule.entryComponents?");return e[Ko]=t,e}function Q(t,e){return void 0===e&&(e=null),ni.createScope(t,e)}function K(t,e){return ei.leaveScope(t,e),e}function J(t,e){return null}function tt(t){vi=t}function et(){if(bi)throw new Error("Cannot enable prod mode after platform setup.");_i=!1}function nt(){return bi=!0,_i}function rt(t){if(gi&&!gi.destroyed&&!gi.injector.get(wi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");gi=t.get(ki);var e=t.get(Uo,null);return e&&e.forEach(function(t){return t()}),gi}function ot(t,e,n){void 0===n&&(n=[]);var r=new Lr("Platform: "+e);return function(e){void 0===e&&(e=[]);var o=at();return o&&!o.injector.get(wi,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):rt(Lo.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),it(r)}}function it(t){var e=at();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function at(){return gi&&!gi.destroyed?gi:null}function lt(t,e){try{var n=e();return $(n)?n.catch(function(e){throw t.handleError(e),e}):n}catch(e){throw t.handleError(e),e}}function st(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function ut(t){return t.reduce(function(t,e){var n=Array.isArray(e)?ut(e):e;return t.concat(n)},[])}function ct(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function pt(t,e,n){t.childNodes.forEach(function(t){t instanceof Bi&&(e(t)&&n.push(t),pt(t,e,n))})}function ft(t,e,n){t instanceof Bi&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Bi&&ft(t,e,n)})}function dt(t){return Hi.get(t)||null}function ht(t){Hi.set(t.nativeNode,t)}function mt(t){Hi.delete(t.nativeNode)}function gt(t,e){var n=yt(t),r=yt(e);if(n&&r)return vt(t,e,gt);var o=t&&("object"==typeof t||"function"==typeof t),a=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!a)||i(t,e)}function yt(t){return!!bt(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function vt(t,e,n){for(var o=t[r()](),i=e[r()]();;){var a=o.next(),l=i.next();if(a.done&&l.done)return!0;if(a.done||l.done)return!1;if(!n(a.value,l.value))return!1}}function _t(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var o=t[r()](),i=void 0;!(i=o.next()).done;)e(i.value)}function bt(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function wt(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function xt(t){return t.name||typeof t}function kt(){return To}function Ct(t,e){return t.nodes[e]}function Ot(t,e){return t.nodes[e]}function Pt(t,e){return t.nodes[e]}function St(t,e){return t.nodes[e]}function Et(t,e){return t.nodes[e]}function Mt(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),Tt(o,t)}function At(t,e){return t instanceof Error||(t=new Error(t.toString())),It(t,e),t}function Tt(t,e){var n=new Error(t);return It(n,e),n}function It(t,e){t[_o]=e,t[wo]=e.logError.bind(e)}function jt(t){return!!g(t)}function Rt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Nt(t){var e=ma.get(t);return e||(e=a(t)+"_"+ma.size,ma.set(t,e)),e}function Dt(t,e,n,r){if(r instanceof Ui){r=r.wrapped;var o=t.def.nodes[e].bindingIndex+n,i=t.oldValues[o];i instanceof Ui&&(i=i.wrapped),t.oldValues[o]=new Ui(i)}return r}function Lt(t){return{id:ga,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function Ft(t){if(t&&t.id===ga){var e=null!=t.encapsulation&&t.encapsulation!==io.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+va++:ya}return t&&t.id===ya&&(t=null),t||null}function zt(t,e,n,r){var o=t.oldValues;return!(!(1&t.state)&&i(o[e.bindingIndex+n],r))}function qt(t,e,n,r){return!!zt(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Vt(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!gt(o,r))throw Mt(da.createDebugContext(t,e.index),o,r,0!=(1&t.state))}function Bt(t){for(var e=t;e;)2&e.def.flags&&(e.state|=2),e=e.viewContainerParent||e.parent}function Ht(t,e,n,r){return Bt(16777216&t.def.nodes[e].flags?Ot(t,e).componentView:t),da.handleEvent(t,e,n,r)}function Ut(t){if(t.parent){return Ot(t.parent,t.parentNodeDef.index)}return null}function $t(t){return t.parent?t.parentNodeDef.parent:null}function Yt(t,e){switch(100673535&e.flags){case 1:return Ot(t,e.index).renderElement;case 2:return Ct(t,e.index).renderText}}function Wt(t,e){return t?t+":"+e:e}function Gt(t){return!!t.parent&&!!(16384&t.parentNodeDef.flags)}function Zt(t){return!(!t.parent||16384&t.parentNodeDef.flags)}function Xt(t){return 1<<t%32}function Qt(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=Xt(o)):r[o]=i}),{matchedQueries:e,references:r,matchedQueryIds:n}}function Kt(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(16777216&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===io.Native?Ot(t,n.renderParent.index).renderElement:void 0:e}function Jt(t){var e=_a.get(t);return e||(e=t(function(){return ha}),e.factory=t,_a.set(t,e)),e}function te(t){var e=[];return ee(t,0,void 0,void 0,e),e}function ee(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(Yt(t,t.def.lastRenderRootNode))),ne(t,e,0,t.def.nodes.length-1,n,r,o)}function ne(t,e,n,r,o,i,a){for(var l=n;l<=r;l++){var s=t.def.nodes[l];7&s.flags&&oe(t,s,e,o,i,a),l+=s.childCount}}function re(t,e,n,r,o,i){for(var a=t;a&&!Gt(a);)a=a.parent;for(var l=a.parent,s=$t(a),u=s.index+1,c=s.index+s.childCount,p=u;p<=c;p++){var f=l.def.nodes[p];f.ngContentIndex===e&&oe(l,f,n,r,o,i),p+=f.childCount}if(!l.parent){var d=t.root.projectableNodes[e];if(d)for(var p=0;p<d.length;p++)ie(t,d[p],n,r,o,i)}}function oe(t,e,n,r,o,i){if(4&e.flags)re(t,e.ngContent.index,n,r,o,i);else{var a=Yt(t,e);if(3===n&&16777216&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&ie(t,a,n,r,o,i),32&e.bindingFlags){var l=Ot(t,e.index).componentView;ie(l,a,n,r,o,i)}}else ie(t,a,n,r,o,i);if(8388608&e.flags)for(var s=Ot(t,e.index).viewContainer._embeddedViews,u=0;u<s.length;u++)ee(s[u],n,r,o,i);1&e.flags&&!e.element.name&&ne(t,n,e.index+1,e.index+e.childCount,r,o,i)}}function ie(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}function ae(t){if(":"===t[0]){var e=t.match(ba);return[e[1],e[2]]}return["",t]}function le(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function se(t,e,n,r,o,i,a,l,s,u,c,p,f,d,h,m,g,y,v,_){switch(t){case 1:return e+ue(n)+r;case 2:return e+ue(n)+r+ue(o)+i;case 3:return e+ue(n)+r+ue(o)+i+ue(a)+l;case 4:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u;case 5:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u+ue(c)+p;case 6:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u+ue(c)+p+ue(f)+d;case 7:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u+ue(c)+p+ue(f)+d+ue(h)+m;case 8:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u+ue(c)+p+ue(f)+d+ue(h)+m+ue(g)+y;case 9:return e+ue(n)+r+ue(o)+i+ue(a)+l+ue(s)+u+ue(c)+p+ue(f)+d+ue(h)+m+ue(g)+y+ue(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function ue(t){return null!=t?t.toString():""}function ce(t,e,n,r,o,i){t|=1;var a=Qt(e),l=a.matchedQueries,s=a.references;return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:a.matchedQueryIds,references:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Jt(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||ha},provider:null,text:null,query:null,ngContent:null}}function pe(t,e,n,r,o,i,a,l,s,u,c){void 0===i&&(i=[]),s||(s=ha);var p=Qt(e),f=p.matchedQueries,d=p.references,h=p.matchedQueryIds,m=null,g=null;o&&(j=ae(o),m=j[0],g=j[1]),a=a||[];for(var y=new Array(a.length),v=0;v<a.length;v++){var _=a[v],b=_[0],w=_[1],x=_[2],k=ae(w),C=k[0],O=k[1],P=void 0,S=void 0;switch(15&b){case 4:S=x;break;case 1:case 8:P=x}y[v]={flags:b,ns:C,name:O,nonMinifiedName:O,securityContext:P,suffix:S}}l=l||[];for(var E=new Array(l.length),v=0;v<l.length;v++){var M=l[v],A=M[0],T=M[1];E[v]={type:0,target:A,eventName:T,propName:null}}i=i||[];var I=i.map(function(t){var e=t[0],n=t[1],r=ae(e);return[r[0],r[1],n]});return c=Ft(c),u&&(t|=16777216),t|=1,{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:h,references:d,ngContentIndex:n,childCount:r,bindings:y,bindingFlags:le(y),outputs:E,element:{ns:m,name:g,attrs:I,template:null,componentProvider:null,componentView:u||null,componentRendererType:c,publicProviders:null,allProviders:null,handleEvent:s||ha},provider:null,text:null,query:null,ngContent:null};var j}function fe(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var l=Kt(t,e,n);l&&a.appendChild(l,r)}else r=a.selectRootElement(i);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var u=o.attrs[s],c=u[0],p=u[1],f=u[2];a.setAttribute(r,p,f,c)}return r}function de(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=he(t,n.index,Wt(i.target,i.eventName)),l=i.target,s=t;"component"===i.target&&(l=null,s=e);var u=s.renderer.listen(l||r,i.eventName,a);t.disposables[n.outputIndex+o]=u}}function he(t,e,n){return function(r){return Ht(t,e,n,r)}}function me(t,e,n,r,o,i,a,l,s,u,c,p){var f=e.bindings.length,d=!1;return f>0&&ye(t,e,0,n)&&(d=!0),f>1&&ye(t,e,1,r)&&(d=!0),f>2&&ye(t,e,2,o)&&(d=!0),f>3&&ye(t,e,3,i)&&(d=!0),f>4&&ye(t,e,4,a)&&(d=!0),f>5&&ye(t,e,5,l)&&(d=!0),f>6&&ye(t,e,6,s)&&(d=!0),f>7&&ye(t,e,7,u)&&(d=!0),f>8&&ye(t,e,8,c)&&(d=!0),f>9&&ye(t,e,9,p)&&(d=!0),d}function ge(t,e,n){for(var r=!1,o=0;o<n.length;o++)ye(t,e,o,n[o])&&(r=!0);return r}function ye(t,e,n,r){if(!qt(t,e,n,r))return!1;var o=e.bindings[n],i=Ot(t,e.index),a=i.renderElement,l=o.name;switch(15&o.flags){case 1:ve(t,o,a,o.ns,l,r);break;case 2:_e(t,a,l,r);break;case 4:be(t,o,a,l,r);break;case 8:we(16777216&e.flags&&32&o.flags?i.componentView:t,o,a,l,r)}return!0}function ve(t,e,n,r,o,i){var a=e.securityContext,l=a?t.root.sanitizer.sanitize(a,i):i;l=null!=l?l.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,l,r):s.removeAttribute(n,o,r)}function _e(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}function be(t,e,n,r,o){var i=t.root.sanitizer.sanitize(pa.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var l=t.renderer;null!=i?l.setStyle(n,r,i):l.removeStyle(n,r)}function we(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}function xe(t,e){return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:4,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function ke(t,e,n){var r=Kt(t,e,n);if(r){re(t,n.ngContent.index,1,r,null,void 0)}}function Ce(t,e,n,r){var o=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=t,Me(o,n,r);var i=Ut(r);if(i&&i!==e){var a=i.template._projectedViews;a||(a=i.template._projectedViews=[]),a.push(r)}da.dirtyParentQueries(r),Se(e,n>0?o[n-1]:null,r)}function Oe(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];r.viewContainerParent=null,Ae(n,e);var o=Ut(r);if(o&&o!==t){var i=o.template._projectedViews;Ae(i,i.indexOf(r))}return da.dirtyParentQueries(r),Ee(r),r}function Pe(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return Ae(r,e),null==n&&(n=r.length),Me(r,n,o),da.dirtyParentQueries(o),Ee(o),Se(t,n>0?r[n-1]:null,o),o}function Se(t,e,n){var r=e?Yt(e,e.def.lastRenderRootNode):t.renderElement;ee(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Ee(t){ee(t,3,null,null,void 0)}function Me(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ae(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Te(t,e,n,r,o,i){return new xa(t,e,n,r,o,i)}function Ie(t,e,n){return new Ca(t,e,n)}function je(t){return new Oa(t)}function Re(t,e){return new Pa(t,e)}function Ne(t,e){return new Sa(t,e)}function De(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ot(t,n.index);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ct(t,n.index).renderText;if(10120&n.flags)return Pt(t,n.index).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Le(t){return new Ea(t.renderer)}function Fe(t,e,n,r,o,i,a){var l=[];if(i)for(var s in i){var u=i[s],c=u[0],p=u[1];l[c]={flags:8,name:s,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var d in a)f.push({type:1,propName:d,target:null,eventName:a[d]});return t|=8192,Ve(t,e,n,r,r,o,l,f)}function ze(t,e,n){return t|=8,Ve(t,null,0,e,e,n)}function qe(t,e,n,r,o){return Ve(t,e,0,n,r,o)}function Ve(t,e,n,r,o,i,a,l){var s=Qt(e),u=s.matchedQueries,c=s.references,p=s.matchedQueryIds;l||(l=[]),a||(a=[]);var f=i.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),{flags:n,token:e,tokenKey:Nt(e)}});return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:p,references:c,ngContentIndex:-1,childCount:n,bindings:a,bindingFlags:le(a),outputs:l,element:null,provider:{token:r,tokenKey:Nt(r),value:o,deps:f},text:null,query:null,ngContent:null}}function Be(t,e){return 2048&e.flags?Da:Ge(t,e)}function He(t,e){for(var n=t;n.parent&&!Gt(n);)n=n.parent;return Ze(n.parent,$t(n),!0,e.provider.value,e.provider.deps)}function Ue(t,e){var n=(16384&e.flags)>0,r=Ze(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o<e.outputs.length;o++){var i=e.outputs[o],a=r[i.propName].subscribe($e(t,e.parent.index,i.eventName));t.disposables[e.outputIndex+o]=a.unsubscribe.bind(a)}return r}function $e(t,e,n){return function(r){return Ht(t,e,n,r)}}function Ye(t,e,n,r,o,i,a,l,s,u,c,p){var f=Pt(t,e.index),d=f.instance,h=!1,m=void 0,g=e.bindings.length;return g>0&&zt(t,e,0,n)&&(h=!0,m=Je(t,f,e,0,n,m)),g>1&&zt(t,e,1,r)&&(h=!0,m=Je(t,f,e,1,r,m)),g>2&&zt(t,e,2,o)&&(h=!0,m=Je(t,f,e,2,o,m)),g>3&&zt(t,e,3,i)&&(h=!0,m=Je(t,f,e,3,i,m)),g>4&&zt(t,e,4,a)&&(h=!0,m=Je(t,f,e,4,a,m)),g>5&&zt(t,e,5,l)&&(h=!0,m=Je(t,f,e,5,l,m)),g>6&&zt(t,e,6,s)&&(h=!0,m=Je(t,f,e,6,s,m)),g>7&&zt(t,e,7,u)&&(h=!0,m=Je(t,f,e,7,u,m)),g>8&&zt(t,e,8,c)&&(h=!0,m=Je(t,f,e,8,c,m)),g>9&&zt(t,e,9,p)&&(h=!0,m=Je(t,f,e,9,p,m)),m&&d.ngOnChanges(m),1&t.state&&32768&e.flags&&d.ngOnInit(),131072&e.flags&&d.ngDoCheck(),h}function We(t,e,n){for(var r=Pt(t,e.index),o=r.instance,i=!1,a=void 0,l=0;l<n.length;l++)zt(t,e,l,n[l])&&(i=!0,a=Je(t,r,e,l,n[l],a));return a&&o.ngOnChanges(a),1&t.state&&32768&e.flags&&o.ngOnInit(),131072&e.flags&&o.ngDoCheck(),i}function Ge(t,e){var n,r=(4096&e.flags)>0,o=e.provider;switch(100673535&e.flags){case 256:n=Ze(t,e.parent,r,o.value,o.deps);break;case 512:n=Xe(t,e.parent,r,o.value,o.deps);break;case 1024:n=Qe(t,e.parent,r,o.deps[0]);break;case 128:n=o.value}return n}function Ze(t,e,n,r,o){var i,a=o.length;switch(a){case 0:i=new r;break;case 1:i=new r(Qe(t,e,n,o[0]));break;case 2:i=new r(Qe(t,e,n,o[0]),Qe(t,e,n,o[1]));break;case 3:i=new r(Qe(t,e,n,o[0]),Qe(t,e,n,o[1]),Qe(t,e,n,o[2]));break;default:for(var l=new Array(a),s=0;s<a;s++)l[s]=Qe(t,e,n,o[s]);i=new(r.bind.apply(r,[void 0].concat(l)))}return i}function Xe(t,e,n,r,o){var i,a=o.length;switch(a){case 0:i=r();break;case 1:i=r(Qe(t,e,n,o[0]));break;case 2:i=r(Qe(t,e,n,o[0]),Qe(t,e,n,o[1]));break;case 3:i=r(Qe(t,e,n,o[0]),Qe(t,e,n,o[1]),Qe(t,e,n,o[2]));break;default:for(var l=Array(a),s=0;s<a;s++)l[s]=Qe(t,e,n,o[s]);i=r.apply(void 0,l)}return i}function Qe(t,e,n,r,o){if(void 0===o&&(o=vo.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;for(e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(a){case Ma:var l=Ke(t,e,n);return Le(l);case Aa:var l=Ke(t,e,n);return l.renderer;case Ta:return new Ti(Ot(t,e.index).renderElement);case Ia:return Ot(t,e.index).viewContainer;case ja:if(e.element.template)return Ot(t,e.index).template;break;case Ra:return je(Ke(t,e,n));case Na:return Ne(t,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var u=Pt(t,s.index);return u.instance===Da&&(u.instance=Ge(t,s)),u.instance}}n=Gt(t),e=$t(t),t=t.parent}var c=i.root.injector.get(r.token,La);return c!==La||o===La?c:i.root.ngModule.injector.get(r.token,o)}function Ke(t,e,n){var r;if(n)r=Ot(t,e.index).componentView;else for(r=t;r.parent&&!Gt(r);)r=r.parent;return r}function Je(t,e,n,r,o,i){if(16384&n.flags){var a=Ot(t,n.parent.index).componentView;2&a.def.flags&&(a.state|=2)}var l=n.bindings[r],s=l.name;if(e.instance[s]=o,262144&n.flags){i=i||{};var u=t.oldValues[n.bindingIndex+r];u instanceof Ui&&(u=u.wrapped);i[n.bindings[r].nonMinifiedName]=new $i(u,o,0!=(1&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function tn(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0;r<n.length;r++){var o=n[r],i=o.parent;for(!i&&o.flags&e&&nn(t,r,o.flags&e),0==(o.childFlags&e)&&(r+=o.childCount);i&&1&i.flags&&r===i.index+i.childCount;)i.directChildFlags&e&&en(t,i,e),i=i.parent}}function en(t,e,n){for(var r=e.index+1;r<=e.index+e.childCount;r++){var o=t.def.nodes[r];o.flags&n&&nn(t,r,o.flags&n),r+=o.childCount}}function nn(t,e,n){var r=Pt(t,e).instance;r!==Da&&(da.setCurrentNode(t,e),524288&n&&r.ngAfterContentInit(),1048576&n&&r.ngAfterContentChecked(),2097152&n&&r.ngAfterViewInit(),4194304&n&&r.ngAfterViewChecked(),65536&n&&r.ngOnDestroy())}function rn(t){return an(64,new Array(t+1))}function on(t){return an(32,t)}function an(t,e){for(var n=new Array(e.length),r=0;r<e.length;r++){var o=e[r];n[r]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:n,bindingFlags:le(n),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ln(t,e){return{value:void 0}}function sn(t,e,n,r,o,i,a,l,s,u,c,p){var f=e.bindings,d=!1,h=f.length;if(h>0&&qt(t,e,0,n)&&(d=!0),h>1&&qt(t,e,1,r)&&(d=!0),h>2&&qt(t,e,2,o)&&(d=!0),h>3&&qt(t,e,3,i)&&(d=!0),h>4&&qt(t,e,4,a)&&(d=!0),h>5&&qt(t,e,5,l)&&(d=!0),h>6&&qt(t,e,6,s)&&(d=!0),h>7&&qt(t,e,7,u)&&(d=!0),h>8&&qt(t,e,8,c)&&(d=!0),h>9&&qt(t,e,9,p)&&(d=!0),d){var m=St(t,e.index),g=void 0;switch(100673535&e.flags){case 16:g=new Array(f.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=a),h>5&&(g[5]=l),h>6&&(g[6]=s),h>7&&(g[7]=u),h>8&&(g[8]=c),h>9&&(g[9]=p);break;case 32:g={},h>0&&(g[f[0].name]=n),h>1&&(g[f[1].name]=r),h>2&&(g[f[2].name]=o),h>3&&(g[f[3].name]=i),h>4&&(g[f[4].name]=a),h>5&&(g[f[5].name]=l),h>6&&(g[f[6].name]=s),h>7&&(g[f[7].name]=u),h>8&&(g[f[8].name]=c),h>9&&(g[f[9].name]=p);break;case 64:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,l);break;case 7:g=y.transform(r,o,i,a,l,s);break;case 8:g=y.transform(r,o,i,a,l,s,u);break;case 9:g=y.transform(r,o,i,a,l,s,u,c);break;case 10:g=y.transform(r,o,i,a,l,s,u,c,p)}}m.value=g}return d}function un(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)qt(t,e,i,n[i])&&(o=!0);if(o){var a=St(t,e.index),l=void 0;switch(100673535&e.flags){case 16:l=n;break;case 32:l={};for(var i=0;i<n.length;i++)l[r[i].name]=n[i];break;case 64:var s=n[0],u=n.slice(1);l=s.transform.apply(s,u)}a.value=l}return o}function cn(t,e,n){var r=[];for(var o in n){var i=n[o];r.push({propName:o,bindingType:i})}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Xt(e),bindings:r},ngContent:null}}function pn(){return new Ii}function fn(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Zt(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.index+n.childCount,o=0;o<=r;o++){var i=t.def.nodes[o];33554432&i.flags&&268435456&i.flags&&(i.query.filterId&e)===i.query.filterId&&Et(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.index)&&33554432&i.childFlags&&268435456&i.childFlags||(o+=i.childCount)}}if(67108864&t.def.nodeFlags)for(var o=0;o<t.def.nodes.length;o++){var i=t.def.nodes[o];67108864&i.flags&&268435456&i.flags&&Et(t,o).setDirty(),o+=i.childCount}}function dn(t,e){var n=Et(t,e.index);if(n.dirty){var r,o=void 0;if(33554432&e.flags){var i=e.parent.parent;o=hn(t,i.index,i.index+i.childCount,e.query,[]),r=Pt(t,e.parent.index).instance}else 67108864&e.flags&&(o=hn(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,l=!1,s=0;s<a.length;s++){var u=a[s],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,l=!0}r[u.propName]=c}l&&n.notifyOnChanges()}}function hn(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],l=a.matchedQueries[r.id];if(null!=l&&o.push(mn(t,a,l)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Ot(t,i);if(8388608&a.flags)for(var u=s.viewContainer._embeddedViews,c=0;c<u.length;c++){var p=u[c],f=Ut(p);f&&f===s&&hn(p,0,p.def.nodes.length-1,r,o)}var d=s.template._projectedViews;if(d)for(var c=0;c<d.length;c++){var h=d[c];hn(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function mn(t,e,n){if(null!=n){var r=void 0;switch(n){case 1:r=Ot(t,e.index).renderElement;break;case 0:r=new Ti(Ot(t,e.index).renderElement);break;case 2:r=Ot(t,e.index).template;break;case 3:r=Ot(t,e.index).viewContainer;break;case 4:r=Pt(t,e.index).instance}return r}}function gn(t,e){for(var n=new Array(e.length-1),r=1;r<e.length;r++)n[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:e[r]};return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:n,bindingFlags:le(n),outputs:[],element:null,provider:null,text:{prefix:e[0]},query:null,ngContent:null}}function yn(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=Kt(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function vn(t,e,n,r,o,i,a,l,s,u,c,p){var f=!1,d=e.bindings,h=d.length;if(h>0&&qt(t,e,0,n)&&(f=!0),h>1&&qt(t,e,1,r)&&(f=!0),h>2&&qt(t,e,2,o)&&(f=!0),h>3&&qt(t,e,3,i)&&(f=!0),h>4&&qt(t,e,4,a)&&(f=!0),h>5&&qt(t,e,5,l)&&(f=!0),h>6&&qt(t,e,6,s)&&(f=!0),h>7&&qt(t,e,7,u)&&(f=!0),h>8&&qt(t,e,8,c)&&(f=!0),h>9&&qt(t,e,9,p)&&(f=!0),f){var m=e.text.prefix;h>0&&(m+=bn(n,d[0])),h>1&&(m+=bn(r,d[1])),h>2&&(m+=bn(o,d[2])),h>3&&(m+=bn(i,d[3])),h>4&&(m+=bn(a,d[4])),h>5&&(m+=bn(l,d[5])),h>6&&(m+=bn(s,d[6])),h>7&&(m+=bn(u,d[7])),h>8&&(m+=bn(c,d[8])),h>9&&(m+=bn(p,d[9]));var g=Ct(t,e.index).renderText;t.renderer.setValue(g,m)}return f}function _n(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)qt(t,e,i,n[i])&&(o=!0);if(o){for(var a="",i=0;i<n.length;i++)a+=bn(n[i],r[i]);a=e.text.prefix+a;var l=Ct(t,e.index).renderText;t.renderer.setValue(l,a)}return o}function bn(t,e){return(null!=t?t.toString():"")+e.suffix}function wn(t,e,n,r){for(var o=0,i=0,a=0,l=0,s=0,u=null,c=!1,p=!1,f=null,d=0;d<e.length;d++){for(;u&&d>u.index+u.childCount;){var h=u.parent;h&&(h.childFlags|=u.childFlags,h.childMatchedQueries|=u.childMatchedQueries),u=h}var m=e[d];m.index=d,m.parent=u,m.bindingIndex=o,m.outputIndex=i;var g=void 0;if(g=u&&1&u.flags&&!u.element.name?u.renderParent:u,m.renderParent=g,m.element){var y=m.element;y.publicProviders=u?u.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,c=!1,p=!1}if(xn(u,m,e.length),a|=m.flags,s|=m.matchedQueryIds,m.element&&m.element.template&&(s|=m.element.template.nodeMatchedQueries),u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):l|=m.flags,o+=m.bindings.length,i+=m.outputs.length,!g&&3&m.flags&&(f=m),10112&m.flags){c||(c=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var v=0!=(4096&m.flags),_=0!=(16384&m.flags);!v||_?u.element.publicProviders[m.provider.tokenKey]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[m.provider.tokenKey]=m),_&&(u.element.componentProvider=m)}m.childCount&&(u=m)}for(;u;){var h=u.parent;h&&(h.childFlags|=u.childFlags,h.childMatchedQueries|=u.childMatchedQueries),u=h}var b=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:a,rootNodeFlags:l,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||ha,updateRenderer:r||ha,handleEvent:b||ha,bindingCount:o,outputCount:i,lastRenderRootNode:f}}function xn(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&8388608&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.index+"!")}if(10112&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: Provider/Directive nodes need to be children of elements or anchors, at index "+e.index+"!")}if(e.query){if(33554432&e.flags&&(!t||0==(8192&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.index+"!");if(67108864&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.index+"!")}if(e.childCount){var o=t?t.index+t.childCount:n-1;if(e.index<=o&&e.index+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.index+"!")}}function kn(t,e,n){var r=On(t.root,t.renderer,t,e,e.element.template);return Pn(r,t.component,n),Sn(r),r}function Cn(t,e,n){var r=On(t,t.renderer,null,null,e);return Pn(r,n,n),Sn(r),r}function On(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:3,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a}}function Pn(t,e,n){t.component=e,t.context=n}function Sn(t){var e;if(Gt(t)){var n=t.parentNodeDef;e=Ot(t.parent,n.parent.index).renderElement}for(var r=t.def,o=t.nodes,i=0;i<r.nodes.length;i++){var a=r.nodes[i];da.setCurrentNode(t,i);var l=void 0;switch(100673535&a.flags){case 1:var s=fe(t,e,a),u=void 0;if(16777216&a.flags){var c=Jt(a.element.componentView),p=a.element.componentRendererType,f=void 0;f=p?t.root.rendererFactory.createRenderer(s,p):t.root.renderer,u=On(t.root,f,t,a.element.componentProvider,c)}de(t,u,a,s),l={renderElement:s,componentView:u,viewContainer:null,template:a.element.template?Re(t,a):void 0},8388608&a.flags&&(l.viewContainer=Ie(t,a,l));break;case 2:l=yn(t,e,a);break;case 256:case 512:case 1024:case 128:var d=Be(t,a);l={instance:d};break;case 8:var d=He(t,a);l={instance:d};break;case 8192:var d=Ue(t,a);if(l={instance:d},16384&a.flags){Pn(Ot(t,a.parent.index).componentView,d,d)}break;case 16:case 32:case 64:l=ln(t,a);break;case 33554432:case 67108864:l=pn();break;case 4:ke(t,e,a),l=void 0}o[i]=l}zn(t,Fa.CreateViewNodes),Bn(t,100663296,134217728,0)}function En(t){da.updateDirectives(t,1),qn(t,Fa.CheckNoChanges),da.updateRenderer(t,1),zn(t,Fa.CheckNoChanges)}function Mn(t){da.updateDirectives(t,0),qn(t,Fa.CheckAndUpdate),Bn(t,33554432,268435456,0),tn(t,1048576|(1&t.state?524288:0)),da.updateRenderer(t,0),zn(t,Fa.CheckAndUpdate),Bn(t,67108864,268435456,0),tn(t,4194304|(1&t.state?2097152:0)),2&t.def.flags&&(t.state&=-3),t.state&=-2}function An(t,e,n,r,o,i,a,l,s,u,c,p,f){return 0===n?Tn(t,e,r,o,i,a,l,s,u,c,p,f):In(t,e,r)}function Tn(t,e,n,r,o,i,a,l,s,u,c,p){var f=!1;switch(100673535&e.flags){case 1:f=me(t,e,n,r,o,i,a,l,s,u,c,p);break;case 2:f=vn(t,e,n,r,o,i,a,l,s,u,c,p);break;case 8192:f=Ye(t,e,n,r,o,i,a,l,s,u,c,p);break;case 16:case 32:case 64:f=sn(t,e,n,r,o,i,a,l,s,u,c,p)}return f}function In(t,e,n){var r=!1;switch(100673535&e.flags){case 1:r=ge(t,e,n);break;case 2:r=_n(t,e,n);break;case 8192:r=We(t,e,n);break;case 16:case 32:case 64:r=un(t,e,n)}if(r)for(var o=e.bindings.length,i=e.bindingIndex,a=t.oldValues,l=0;l<o;l++)a[i+l]=n[l];return r}function jn(t,e,n,r,o,i,a,l,s,u,c,p,f){return 0===n?Rn(t,e,r,o,i,a,l,s,u,c,p,f):Nn(t,e,r),!1}function Rn(t,e,n,r,o,i,a,l,s,u,c,p){var f=e.bindings.length;f>0&&Vt(t,e,0,n),f>1&&Vt(t,e,1,r),f>2&&Vt(t,e,2,o),f>3&&Vt(t,e,3,i),f>4&&Vt(t,e,4,a),f>5&&Vt(t,e,5,l),f>6&&Vt(t,e,6,s),f>7&&Vt(t,e,7,u),f>8&&Vt(t,e,8,c),f>9&&Vt(t,e,9,p)}function Nn(t,e,n){for(var r=0;r<n.length;r++)Vt(t,e,r,n[r])}function Dn(t,e){if(Et(t,e.index).dirty)throw Mt(da.createDebugContext(t,e.index),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Ln(t){if(!(8&t.state)){if(qn(t,Fa.Destroy),zn(t,Fa.Destroy),tn(t,65536),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();t.renderer.destroyNode&&Fn(t),Gt(t)&&t.renderer.destroy(),t.state|=8}}function Fn(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Ot(t,n).renderElement):2&r.flags&&t.renderer.destroyNode(Ct(t,n).renderText)}}function zn(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];16777216&o.flags?Vn(Ot(t,r).componentView,e):0==(16777216&o.childFlags)&&(r+=o.childCount)}}function qn(t,e){var n=t.def;if(8388608&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(8388608&o.flags)for(var i=Ot(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Vn(i[a],e);else 0==(8388608&o.childFlags)&&(r+=o.childCount)}}function Vn(t,e){var n=t.state;switch(e){case Fa.CheckNoChanges:2&n&&0==(12&n)&&En(t);break;case Fa.CheckAndUpdate:2&n&&0==(12&n)&&Mn(t);break;case Fa.Destroy:Ln(t);break;case Fa.CreateViewNodes:Sn(t)}}function Bn(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(da.setCurrentNode(t,a.index),r){case 0:dn(t,a);break;case 1:Dn(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}function Hn(){if(!za){za=!0;var t=nt()?$n():Un();da.setCurrentNode=t.setCurrentNode,da.createRootView=t.createRootView,da.createEmbeddedView=t.createEmbeddedView,da.checkAndUpdateView=t.checkAndUpdateView,da.checkNoChangesView=t.checkNoChangesView,da.destroyView=t.destroyView,da.resolveDep=Qe,da.createDebugContext=t.createDebugContext,da.handleEvent=t.handleEvent,da.updateDirectives=t.updateDirectives,da.updateRenderer=t.updateRenderer,da.dirtyParentQueries=fn}}function Un(){return{setCurrentNode:function(){},createRootView:Yn,createEmbeddedView:kn,checkAndUpdateView:Mn,checkNoChangesView:En,destroyView:Ln,createDebugContext:function(t,e){return new $a(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Zn:Xn,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Zn:Xn,t)}}}function $n(){return{setCurrentNode:er,createRootView:Wn,createEmbeddedView:Qn,checkAndUpdateView:Kn,checkNoChangesView:Jn,destroyView:tr,createDebugContext:function(t,e){return new $a(t,e)},handleEvent:nr,updateDirectives:rr,updateRenderer:or}}function Yn(t,e,n,r,o,i){return Cn(Gn(t,o,o.injector.get(Ei),e,n),r,i)}function Wn(t,e,n,r,o,i){var a=o.injector.get(Ei),l=Gn(t,o,new Ya(a),e,n);return mr(qa.create,Cn,null,[l,r,i])}function Gn(t,e,n,r,o){return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:e.injector.get(fa),rendererFactory:n,renderer:n.createRenderer(null,null)}}function Zn(t,e,n,r,o,i,a,l,s,u,c,p,f){var d=t.def.nodes[e];return An(t,d,n,r,o,i,a,l,s,u,c,p,f),112&d.flags?St(t,e).value:void 0}function Xn(t,e,n,r,o,i,a,l,s,u,c,p,f){var d=t.def.nodes[e];return jn(t,d,n,r,o,i,a,l,s,u,c,p,f),112&d.flags?St(t,e).value:void 0}function Qn(t,e,n){return mr(qa.create,kn,null,[t,e,n])}function Kn(t){return mr(qa.detectChanges,Mn,null,[t])}function Jn(t){return mr(qa.checkNoChanges,En,null,[t])}function tr(t){return mr(qa.destroy,Ln,null,[t])}function er(t,e){Ba=t,Ha=e}function nr(t,e,n,r){return er(t,e),mr(qa.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function rr(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?ir(t,a,r,o):ar(t,a,r,o),8192&a.flags&&er(t,cr(t,n)),112&a.flags?St(t,a.index).value:void 0}if(8&t.state)throw Rt(qa[Va]);return er(t,cr(t,0)),t.def.updateDirectives(n,t)}function or(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?ir(t,a,r,o):ar(t,a,r,o),3&a.flags&&er(t,pr(t,n)),112&a.flags?St(t,a.index).value:void 0}if(8&t.state)throw Rt(qa[Va]);return er(t,pr(t,0)),t.def.updateRenderer(n,t)}function ir(t,e,n,r){if(An.apply(void 0,[t,e,n].concat(r))){var o=1===n?r[0]:r;if(8192&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var l=e.bindings[a],s=o[a];8&l.flags&&(i[lr(l.nonMinifiedName)]=ur(s))}var u=e.parent,c=Ot(t,u.index).renderElement;if(u.element.name)for(var p in i){var s=i[p];null!=s?t.renderer.setAttribute(c,p,s):t.renderer.removeAttribute(c,p)}else t.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}}function ar(t,e,n,r){jn.apply(void 0,[t,e,n].concat(r))}function lr(t){return"ng-reflect-"+(t=sr(t.replace(/[$@]/g,"_")))}function sr(t){return t.replace(Ua,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})}function ur(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function cr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(8192&r.flags&&r.bindings&&r.bindings.length)return n}return null}function pr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}function fr(t,e){for(var n=-1,r=0;r<=e;r++){3&t.nodes[r].flags&&n++}return n}function dr(t){for(;t&&!Gt(t);)t=t.parent;return t.parent?Ot(t.parent,$t(t).index):null}function hr(t,e,n){for(var r in e.references)n[r]=mn(t,e,e.references[r])}function mr(t,e,n,r){var o=Va,i=Ba,a=Ha;try{Va=t;var l=e.apply(n,r);return Ba=i,Ha=a,Va=o,l}catch(t){if(jt(t)||!Ba)throw t;throw Ba.state|=4,At(t,gr())}}function gr(){return Ba?new $a(Ba,Ha):null}function yr(){return ia}function vr(){return aa}function _r(t){return t||"en-US"}function br(){Hn()}function wr(t,e){return{name:t,definitions:e}}function xr(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function kr(t){return{type:6,styles:t}}function Cr(t,e){return{type:0,name:t,styles:e}}function Or(t,e){return{type:1,expr:t,animation:e}}function Pr(t,e){return wr(t,e)}function Sr(t,e){return xr(t,e)}function Er(t){return kr(t)}function Mr(t,e){return Cr(t,e)}function Ar(t,e){return Or(t,e)}var Tr=n(29),Ir=(n.n(Tr),n(667)),jr=(n.n(Ir),n(671)),Rr=(n.n(jr),n(77));n.n(Rr);n.d(e,"h",function(){return Oi}),n.d(e,"a",function(){return et}),n.d(e,"o",function(){return nt}),n.d(e,"t",function(){return ot}),n.d(e,"l",function(){return xi}),n.d(e,"w",function(){return Bo}),n.d(e,"r",function(){return Uo}),n.d(e,"q",function(){return $o}),n.d(e,"f",function(){return qo}),n.d(e,"_21",function(){return Vo}),n.d(e,"j",function(){return dt}),n.d(e,"z",function(){return hi}),n.d(e,"g",function(){return tt}),n.d(e,"E",function(){return ua}),n.d(e,"A",function(){return Ga}),n.d(e,"D",function(){return fi}),n.d(e,"v",function(){return xo}),n.d(e,"s",function(){return fa}),n.d(e,"p",function(){return pa}),n.d(e,"S",function(){return $r}),n.d(e,"_8",function(){return Gr}),n.d(e,"_14",function(){return Wr}),n.d(e,"Y",function(){return Kr}),n.d(e,"H",function(){return Qr}),n.d(e,"_1",function(){return no}),n.d(e,"_9",function(){return ro}),n.d(e,"M",function(){return to}),n.d(e,"_2",function(){return eo}),n.d(e,"W",function(){return Jr}),n.d(e,"x",function(){return oo}),n.d(e,"m",function(){return io}),n.d(e,"C",function(){return ao}),n.d(e,"_10",function(){return h}),n.d(e,"_11",function(){return vo}),n.d(e,"c",function(){return Lr}),n.d(e,"e",function(){return so}),n.d(e,"k",function(){return uo}),n.d(e,"d",function(){return co}),n.d(e,"_13",function(){return po}),n.d(e,"B",function(){return fo}),n.d(e,"R",function(){return ho}),n.d(e,"i",function(){return di}),n.d(e,"L",function(){return Si}),n.d(e,"y",function(){return Ei}),n.d(e,"n",function(){return Mi}),n.d(e,"_17",function(){return Go}),n.d(e,"_0",function(){return Xo}),n.d(e,"O",function(){return ti}),n.d(e,"K",function(){return Ti}),n.d(e,"_25",function(){return ai}),n.d(e,"N",function(){return ii}),n.d(e,"_15",function(){return Ii}),n.d(e,"Q",function(){return Di}),n.d(e,"P",function(){return Li}),n.d(e,"Z",function(){return Zr}),n.d(e,"X",function(){return Fi}),n.d(e,"I",function(){return ea}),n.d(e,"J",function(){return na}),n.d(e,"T",function(){return Ui}),n.d(e,"u",function(){return sa}),n.d(e,"F",function(){return yt}),n.d(e,"_23",function(){return Wo}),n.d(e,"_42",function(){return ri}),n.d(e,"b",function(){return Vr}),n.d(e,"_12",function(){return i}),n.d(e,"G",function(){return a}),n.d(e,"V",function(){return Y}),n.d(e,"U",function(){return $}),n.d(e,"_24",function(){return si}),n.d(e,"_32",function(){return ce}),n.d(e,"_34",function(){return Te}),n.d(e,"_26",function(){return Lt}),n.d(e,"_30",function(){return Fe}),n.d(e,"_28",function(){return pe}),n.d(e,"_38",function(){return se}),n.d(e,"_40",function(){return xe}),n.d(e,"_31",function(){return De}),n.d(e,"_37",function(){return ze}),n.d(e,"_33",function(){return qe}),n.d(e,"_39",function(){return on}),n.d(e,"_35",function(){return rn}),n.d(e,"_41",function(){return cn}),n.d(e,"_29",function(){return gn}),n.d(e,"_36",function(){return Dt}),n.d(e,"_27",function(){return wn}),n.d(e,"_3",function(){return Pr}),n.d(e,"_7",function(){return Sr}),n.d(e,"_5",function(){return Er}),n.d(e,"_4",function(){return Mr}),n.d(e,"_6",function(){return Ar}),n.d(e,"_20",function(){return br}),n.d(e,"_18",function(){return yr}),n.d(e,"_19",function(){return vr}),n.d(e,"_16",function(){return _r}),n.d(e,"_22",function(){return Pi});var Nr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Dr=function(){function t(t){this._desc=t}return t.prototype.toString=function(){return"Token "+this._desc},t}(),Lr=function(t){function e(e){return t.call(this,e)||this}return Nr(e,t),e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(Dr),Fr="undefined"!=typeof window&&window,zr="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,qr=void 0!==t&&t,Vr=Fr||qr||zr,Br=null,Hr=0,Ur=Vr.Reflect,$r=(new Lr("AnalyzeForEntryComponents"),f("Attribute",[["attributeName",void 0]])),Yr=function(){function t(){}return t}(),Wr=(d("ContentChild