(self.webpackChunkcampaign_ui=self.webpackChunkcampaign_ui||[]).push([[429],{38204:function(t,e){!function(t){"use strict";var e,n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function i(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function a(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i0&&i.forEach(function(t){return n.closedByChildren[t]=!0}),this.isVoid=p,this.closedByParent=c||p,this.implicitNamespacePrefix=o||null,this.contentType=a,this.ignoreFirstLf=f,this.preventNamespaceInheritance=v}return e.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},e.prototype.getContentType=function(t){if("object"==typeof this.contentType){var e=void 0===t?void 0:this.contentType[t];return null!=e?e:this.contentType.default}return this.contentType},e}();function y(e){var n,r;return v||(d=new m,v={base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:t.TagContentType.RAW_TEXT}),script:new m({contentType:t.TagContentType.RAW_TEXT}),title:new m({contentType:{default:t.TagContentType.ESCAPABLE_RAW_TEXT,svg:t.TagContentType.PARSABLE_DATA}}),textarea:new m({contentType:t.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(r=null!==(n=v[e])&&void 0!==n?n:v[e.toLowerCase()])&&void 0!==r?r:d}var g=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),S=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],i=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},o=new t,s=o,a=!1;for(g.lastIndex=0;n=g.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not in a selector is not allowed");a=!0,s=new t,o.notSelectors.push(s)}var u=n[2];if(u){var c=n[3];"#"===c?s.addAttribute("id",u.substr(1)):"."===c?s.addClassName(u.substr(1)):s.setElement(u)}var l=n[4];if(l&&s.addAttribute(s.unescapeAttribute(l),n[6]),n[7]&&(a=!1,s=o),n[8]){if(a)throw new Error("Multiple selectors in :not are not supported");i(r,o),o=s=new t}}return i(r,o),r},t.prototype.unescapeAttribute=function(t){for(var e="",n=!1,r=0;r0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r":"<"+t+e+n+">"},t.prototype.getAttrs=function(){var t=[];return this.classNames.length>0&&t.push("class",this.classNames.join(" ")),t.concat(this.attrs)},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e1&&(n=new x(t),this._listContexts.push(n));for(var r=0;r0)||this.listContext&&this.listContext.alreadyMatched||(n=!_.createNotMatcher(this.notSelectors).match(t,null)),n&&e&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),E=$("Inject",function(t){return{token:t}}),b=$("InjectionToken",function(t){return{_desc:t,"\u0275prov":void 0}}),C=$("Attribute",function(t){return{attributeName:t}}),T=$("ContentChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true},e)}),P=$("ContentChild",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)}),M=$("ViewChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true},e)}),k=$("ViewChild",function(t,e){return Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)}),I=$("Directive",function(t){return void 0===t&&(t={}),t}),N=(()=>((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N))(),A=(()=>((A=A||{})[A.OnPush=0]="OnPush",A[A.Default=1]="Default",A))(),O=$("Component",function(t){return void 0===t&&(t={}),Object.assign({changeDetection:A.Default},t)}),R=$("Pipe",function(t){return Object.assign({pure:!0},t)}),F=$("Input",function(t){return{bindingPropertyName:t}}),D=$("Output",function(t){return{bindingPropertyName:t}}),L=$("HostBinding",function(t){return{hostPropertyName:t}}),j=$("HostListener",function(t,e){return{eventName:t,args:e}}),B=$("NgModule",function(t){return t}),V=$("Injectable",function(t){return void 0===t&&(t={}),t}),q={name:"custom-elements"},U={name:"no-errors-schema"},H=$("Optional"),z=$("Self"),W=$("SkipSelf"),G=$("Host"),K=Function,Z=(()=>((Z=Z||{})[Z.NONE=0]="NONE",Z[Z.HTML=1]="HTML",Z[Z.STYLE=2]="STYLE",Z[Z.SCRIPT=3]="SCRIPT",Z[Z.URL=4]="URL",Z[Z.RESOURCE_URL=5]="RESOURCE_URL",Z))(),Q=(()=>((Q=Q||{})[Q.Error=0]="Error",Q[Q.Warning=1]="Warning",Q[Q.Ignore=2]="Ignore",Q))();function $(t,e){function n(){for(var n=[],r=0;r((tt=tt||{})[tt.Const=0]="Const",tt))(),et=function(){function t(t){void 0===t&&(t=[]),this.modifiers=t}return t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}();!function(t){t[t.Dynamic=0]="Dynamic",t[t.Bool=1]="Bool",t[t.String=2]="String",t[t.Int=3]="Int",t[t.Number=4]="Number",t[t.Function=5]="Function",t[t.Inferred=6]="Inferred",t[t.None=7]="None"}(t.BuiltinTypeName||(t.BuiltinTypeName={}));var nt=function(t){function e(e,n){var r=t.call(this,n)||this;return r.name=e,r}return r(e,t),e.prototype.visitType=function(t,e){return t.visitBuiltinType(this,e)},e}(et),rt=function(t){function e(e,n,r){void 0===r&&(r=null);var i=t.call(this,n)||this;return i.value=e,i.typeParams=r,i}return r(e,t),e.prototype.visitType=function(t,e){return t.visitExpressionType(this,e)},e}(et),it=function(t){function e(e,n){var r=t.call(this,n)||this;return r.of=e,r}return r(e,t),e.prototype.visitType=function(t,e){return t.visitArrayType(this,e)},e}(et),ot=function(t){function e(e,n){var r=t.call(this,n)||this;return r.valueType=e||null,r}return r(e,t),e.prototype.visitType=function(t,e){return t.visitMapType(this,e)},e}(et),st=new nt(t.BuiltinTypeName.Dynamic),at=new nt(t.BuiltinTypeName.Inferred),ut=new nt(t.BuiltinTypeName.Bool),ct=(new nt(t.BuiltinTypeName.Int),new nt(t.BuiltinTypeName.Number)),lt=new nt(t.BuiltinTypeName.String),pt=(new nt(t.BuiltinTypeName.Function),new nt(t.BuiltinTypeName.None));function ht(t,e){return null==t||null==e?t==e:t.isEquivalent(e)}function ft(t,e,n){var r=t.length;if(r!==e.length)return!1;for(var i=0;i"),Ve={},qe=function(t){function e(e){var n=t.call(this,e.type)||this;return n.resolved=e,n.original=e,n}return r(e,t),e.prototype.visitExpression=function(t,e){return e===Ve?this.original.visitExpression(t,e):this.resolved.visitExpression(t,e)},e.prototype.isEquivalent=function(t){return t instanceof e&&this.resolved.isEquivalent(t.resolved)},e.prototype.isConstant=function(){return!0},e.prototype.fixup=function(t){this.resolved=t,this.shared=!0},e}(vt),Ue=function(){function e(t){void 0===t&&(t=!1),this.isClosureCompilerEnabled=t,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}return e.prototype.getConstLiteral=function(e,n){if(e instanceof Tt&&!Ge(e)||e instanceof qe)return e;var r=this.keyOf(e),i=this.literals.get(r),o=!1;if(i||(i=new qe(e),this.literals.set(r,i),o=!0),!o&&!i.shared||o&&n){var s=this.freshName(),a=void 0,u=void 0;this.isClosureCompilerEnabled&&Ge(e)?(a=Te(s).set(new Wt([],[new ue(e)])),u=Te(s).callFn([])):(a=Te(s).set(e),u=Te(s)),this.statements.push(a.toDeclStmt(at,[t.StmtModifier.Final])),i.fixup(u)}return i},e.prototype.getDefinition=function(e,n,r,i){void 0===i&&(i=!1);var o=this.definitionsOf(n),s=o.get(e),a=!1;if(!s){var u=this.propertyNameOf(n);s=new qe(r.importExpr(e).prop(u)),o.set(e,s),a=!0}if(!a&&!s.shared||a&&i){var c=this.freshName();this.statements.push(Te(c).set(s.resolved).toDeclStmt(at,[t.StmtModifier.Final])),s.fixup(Te(c))}return s},e.prototype.getLiteralFactory=function(t){if(t instanceof $t){var e=t.entries.map(function(t){return t.isConstant()?t:Be}),n=this.keyOf(Ne(e));return this._getLiteralFactory(n,t.entries,function(t){return Ne(t)})}var r=Ae(t.entries.map(function(t){return{key:t.key,value:t.value.isConstant()?t.value:Be,quoted:t.quoted}}));return n=this.keyOf(r),this._getLiteralFactory(n,t.entries.map(function(t){return t.value}),function(e){return Ae(e.map(function(e,n){return{key:t.entries[n].key,value:e,quoted:t.entries[n].quoted}}))})},e.prototype._getLiteralFactory=function(e,n,r){var i=this,o=this.literalFactories.get(e),s=n.filter(function(t){return!t.isConstant()});if(!o){var a=n.map(function(t,e){return t.isConstant()?i.getConstLiteral(t,!0):Te("a"+e)}),u=Oe(a.filter(We).map(function(t){return new zt(t.name,st)}),[new ue(r(a))],at),c=this.freshName();this.statements.push(Te(c).set(u).toDeclStmt(at,[t.StmtModifier.Final])),o=Te(c),this.literalFactories.set(e,o)}return{literalFactory:o,literalFactoryArguments:s}},e.prototype.uniqueName=function(t){return""+t+this.nextNameIndex++},e.prototype.definitionsOf=function(t){switch(t){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}},e.prototype.propertyNameOf=function(t){switch(t){case 2:return"\u0275cmp";case 1:return"\u0275dir";case 0:return"\u0275inj";case 3:return"\u0275pipe"}},e.prototype.freshName=function(){return this.uniqueName("_c")},e.prototype.keyOf=function(t){return t.visitExpression(new He,Ve)},e}(),He=function(){function t(){this.visitWrappedNodeExpr=ze,this.visitWriteVarExpr=ze,this.visitWriteKeyExpr=ze,this.visitWritePropExpr=ze,this.visitInvokeMethodExpr=ze,this.visitInvokeFunctionExpr=ze,this.visitTaggedTemplateExpr=ze,this.visitInstantiateExpr=ze,this.visitConditionalExpr=ze,this.visitNotExpr=ze,this.visitAssertNotNullExpr=ze,this.visitCastExpr=ze,this.visitFunctionExpr=ze,this.visitUnaryOperatorExpr=ze,this.visitBinaryOperatorExpr=ze,this.visitReadPropExpr=ze,this.visitReadKeyExpr=ze,this.visitCommaExpr=ze,this.visitLocalizedString=ze}return t.prototype.visitLiteralExpr=function(t){return""+("string"==typeof t.value?'"'+t.value+'"':t.value)},t.prototype.visitLiteralArrayExpr=function(t,e){var n=this;return"["+t.entries.map(function(t){return t.visitExpression(n,e)}).join(",")+"]"},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return"{"+t.entries.map(function(t){return function(t){var e=t.quoted?'"':"";return""+e+t.key+e}(t)+":"+t.value.visitExpression(n,e)}).join(",")},t.prototype.visitExternalExpr=function(t){return t.value.moduleName?"EX:"+t.value.moduleName+":"+t.value.name:"EX:"+t.value.runtime.name},t.prototype.visitReadVarExpr=function(t){return"VAR:"+t.name},t.prototype.visitTypeofExpr=function(t,e){return"TYPEOF:"+t.expr.visitExpression(this,e)},t}();function ze(t){throw new Error("Invalid state: Visitor "+this.constructor.name+" doesn't handle "+t.constructor.name)}function We(t){return t instanceof mt}function Ge(t){return t instanceof Tt&&"string"==typeof t.value&&t.value.length>=50}var Ke="@angular/core",Ze=function(){};Ze.NEW_METHOD="factory",Ze.TRANSFORM_METHOD="transform",Ze.PATCH_DEPS="patchedDeps",Ze.core={name:null,moduleName:Ke},Ze.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:Ke},Ze.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:Ke},Ze.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:Ke},Ze.element={name:"\u0275\u0275element",moduleName:Ke},Ze.elementStart={name:"\u0275\u0275elementStart",moduleName:Ke},Ze.elementEnd={name:"\u0275\u0275elementEnd",moduleName:Ke},Ze.advance={name:"\u0275\u0275advance",moduleName:Ke},Ze.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:Ke},Ze.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:Ke},Ze.attribute={name:"\u0275\u0275attribute",moduleName:Ke},Ze.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:Ke},Ze.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:Ke},Ze.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:Ke},Ze.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:Ke},Ze.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:Ke},Ze.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:Ke},Ze.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:Ke},Ze.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:Ke},Ze.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:Ke},Ze.classProp={name:"\u0275\u0275classProp",moduleName:Ke},Ze.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:Ke},Ze.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:Ke},Ze.elementContainer={name:"\u0275\u0275elementContainer",moduleName:Ke},Ze.styleMap={name:"\u0275\u0275styleMap",moduleName:Ke},Ze.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:Ke},Ze.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:Ke},Ze.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:Ke},Ze.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:Ke},Ze.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:Ke},Ze.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:Ke},Ze.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:Ke},Ze.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:Ke},Ze.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:Ke},Ze.classMap={name:"\u0275\u0275classMap",moduleName:Ke},Ze.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:Ke},Ze.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:Ke},Ze.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:Ke},Ze.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:Ke},Ze.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:Ke},Ze.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:Ke},Ze.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:Ke},Ze.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:Ke},Ze.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:Ke},Ze.styleProp={name:"\u0275\u0275styleProp",moduleName:Ke},Ze.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:Ke},Ze.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:Ke},Ze.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:Ke},Ze.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:Ke},Ze.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:Ke},Ze.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:Ke},Ze.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:Ke},Ze.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:Ke},Ze.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:Ke},Ze.nextContext={name:"\u0275\u0275nextContext",moduleName:Ke},Ze.templateCreate={name:"\u0275\u0275template",moduleName:Ke},Ze.text={name:"\u0275\u0275text",moduleName:Ke},Ze.enableBindings={name:"\u0275\u0275enableBindings",moduleName:Ke},Ze.disableBindings={name:"\u0275\u0275disableBindings",moduleName:Ke},Ze.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:Ke},Ze.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:Ke},Ze.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:Ke},Ze.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:Ke},Ze.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:Ke},Ze.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:Ke},Ze.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:Ke},Ze.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:Ke},Ze.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:Ke},Ze.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:Ke},Ze.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:Ke},Ze.restoreView={name:"\u0275\u0275restoreView",moduleName:Ke},Ze.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:Ke},Ze.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:Ke},Ze.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:Ke},Ze.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:Ke},Ze.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:Ke},Ze.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:Ke},Ze.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:Ke},Ze.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:Ke},Ze.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:Ke},Ze.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:Ke},Ze.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:Ke},Ze.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:Ke},Ze.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:Ke},Ze.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:Ke},Ze.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:Ke},Ze.hostProperty={name:"\u0275\u0275hostProperty",moduleName:Ke},Ze.property={name:"\u0275\u0275property",moduleName:Ke},Ze.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:Ke},Ze.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:Ke},Ze.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:Ke},Ze.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:Ke},Ze.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:Ke},Ze.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:Ke},Ze.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:Ke},Ze.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:Ke},Ze.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:Ke},Ze.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:Ke},Ze.i18n={name:"\u0275\u0275i18n",moduleName:Ke},Ze.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:Ke},Ze.i18nExp={name:"\u0275\u0275i18nExp",moduleName:Ke},Ze.i18nStart={name:"\u0275\u0275i18nStart",moduleName:Ke},Ze.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:Ke},Ze.i18nApply={name:"\u0275\u0275i18nApply",moduleName:Ke},Ze.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:Ke},Ze.pipe={name:"\u0275\u0275pipe",moduleName:Ke},Ze.projection={name:"\u0275\u0275projection",moduleName:Ke},Ze.projectionDef={name:"\u0275\u0275projectionDef",moduleName:Ke},Ze.reference={name:"\u0275\u0275reference",moduleName:Ke},Ze.inject={name:"\u0275\u0275inject",moduleName:Ke},Ze.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:Ke},Ze.directiveInject={name:"\u0275\u0275directiveInject",moduleName:Ke},Ze.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:Ke},Ze.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:Ke},Ze.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:Ke},Ze.forwardRef={name:"forwardRef",moduleName:Ke},Ze.resolveForwardRef={name:"resolveForwardRef",moduleName:Ke},Ze.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:Ke},Ze.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:Ke},Ze.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:Ke},Ze.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:Ke},Ze.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:Ke},Ze.resolveBody={name:"\u0275\u0275resolveBody",moduleName:Ke},Ze.defineComponent={name:"\u0275\u0275defineComponent",moduleName:Ke},Ze.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:Ke},Ze.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:Ke},Ze.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:Ke},Ze.ViewEncapsulation={name:"ViewEncapsulation",moduleName:Ke},Ze.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:Ke},Ze.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:Ke},Ze.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:Ke},Ze.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:Ke},Ze.defineDirective={name:"\u0275\u0275defineDirective",moduleName:Ke},Ze.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:Ke},Ze.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:Ke},Ze.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:Ke},Ze.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:Ke},Ze.defineInjector={name:"\u0275\u0275defineInjector",moduleName:Ke},Ze.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:Ke},Ze.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:Ke},Ze.ModuleWithProviders={name:"ModuleWithProviders",moduleName:Ke},Ze.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:Ke},Ze.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:Ke},Ze.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:Ke},Ze.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:Ke},Ze.definePipe={name:"\u0275\u0275definePipe",moduleName:Ke},Ze.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:Ke},Ze.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:Ke},Ze.setClassMetadata={name:"\u0275setClassMetadata",moduleName:Ke},Ze.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:Ke},Ze.viewQuery={name:"\u0275\u0275viewQuery",moduleName:Ke},Ze.loadQuery={name:"\u0275\u0275loadQuery",moduleName:Ke},Ze.contentQuery={name:"\u0275\u0275contentQuery",moduleName:Ke},Ze.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:Ke},Ze.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:Ke},Ze.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:Ke},Ze.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:Ke},Ze.listener={name:"\u0275\u0275listener",moduleName:Ke},Ze.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:Ke},Ze.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:Ke},Ze.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:Ke},Ze.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:Ke},Ze.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:Ke},Ze.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:Ke},Ze.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:Ke},Ze.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:Ke},Ze.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:Ke},Ze.validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:Ke};var Qe=/-+([a-z0-9])/g;function $e(t,e){return Ye(t,":",e)}function Ye(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function Je(t,e,n){return Array.isArray(t)?e.visitArray(t,n):function(t){return"object"==typeof t&&null!==t&&Object.getPrototypeOf(t)===an}(t)?e.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?e.visitPrimitive(t,n):e.visitOther(t,n)}function Xe(t){return null!=t}function tn(t){return void 0===t?null:t}var en=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return Je(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=Je(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),nn=function(t){if(pn(t))throw new Error("Illegal state: value cannot be a promise");return t},rn=function(t,e){return pn(t)?t.then(e):e(t)},on=function(t){return t.some(pn)?Promise.all(t):t};function sn(t){throw new Error("Internal Error: "+t)}var an=Object.getPrototypeOf({});function un(t){for(var e=[],n=0;n=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e.push(r):r<=2047?e.push(r>>6&31|192,63&r|128):r<=65535?e.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&e.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return e}function cn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(cn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;if(!t.toString)return"object";var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ln(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function pn(t){return!!t&&"function"==typeof t.then}var hn=function(t){this.full=t;var e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")},fn="undefined"!=typeof window&&window,dn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,vn="undefined"!=typeof global&&global||fn||dn;function mn(t,e){for(var n=[],r=0;r>2),e+=Sn((3&i)<<4|(null===o?0:o>>4)),e+=null===o?"=":Sn((15&o)<<2|(null===s?0:s>>6)),e+=null===o||null===s?"=":Sn(63&s)}return e}(JSON.stringify(this,null,0)):""},t}();function gn(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;(t>>=5)>0&&(n|=32),e+=Sn(n)}while(t>0);return e}function Sn(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[t]}var _n=/'|\\|\n|\r|\$/g,xn=/^[$A-Z_][0-9A-Z_$]*$/i,wn=Te("error",null,null),En=Te("stack",null,null),bn=function(t){this.indent=t,this.partsLength=0,this.parts=[],this.srcSpans=[]},Cn=function(){function t(t){this._indent=t,this._classes=[],this._preambleLineCount=0,this._lines=[new bn(t)]}return t.createRoot=function(){return new t(0)},Object.defineProperty(t.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!1,configurable:!0}),t.prototype.println=function(t,e){void 0===e&&(e=""),this.print(t||null,e,!0)},t.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},t.prototype.lineLength=function(){return this._currentLine.indent*" ".length+this._currentLine.partsLength},t.prototype.print=function(t,e,n){void 0===n&&(n=!1),e.length>0&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new bn(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!1,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return t.parts.length>0?Mn(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e){void 0===e&&(e=0);for(var n=new yn(t),r=!1,i=function(){r||(n.addSource(t," ").addMapping(0,t,0,0),r=!0)},o=0;or)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(t.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!1,configurable:!0}),t}(),Tn=function(){function e(t){this._escapeDollarInStrings=t}return e.prototype.printLeadingComments=function(t,e){var n,r;if(void 0!==t.leadingComments)try{for(var i=o(t.leadingComments),s=i.next();!s.done;s=i.next()){var a=s.value;a instanceof re?e.print(t,"/*"+a.toString()+"*/",a.trailingNewline):a.multiline?e.print(t,"/* "+a.text+" */",a.trailingNewline):a.text.split("\n").forEach(function(n){e.println(t,"// "+n)})}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.visitExpressionStmt=function(t,e){return this.printLeadingComments(t,e),t.expr.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitReturnStmt=function(t,e){return this.printLeadingComments(t,e),e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitIfStmt=function(t,e){this.printLeadingComments(t,e),e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");var n=null!=t.falseCase&&t.falseCase.length>0;return t.trueCase.length<=1&&!n?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null},e.prototype.visitThrowStmt=function(t,e){return this.printLeadingComments(t,e),e.print(t,"throw "),t.error.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),e.print(t,t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},e.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},e.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},e.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return null!=t.builtin&&null==(n=this.getBuiltinMethodName(t.builtin))||(e.print(t,"."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(t,")")),null},e.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},e.prototype.visitTaggedTemplateExpr=function(t,e){t.tag.visitExpression(this,e),e.print(t,"`"+t.template.elements[0].rawText);for(var n=1;n0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),t(e[o]);i&&(n.decIndent(),n.decIndent())},e.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},e}();function Pn(t,e,n){if(void 0===n&&(n=!0),null==t)return null;var r=t.replace(_n,function(){for(var t=[],n=0;n((Vn=Vn||{})[Vn.Class=0]="Class",Vn[Vn.Function=1]="Function",Vn))();function qn(e){var n=Te("t"),r=null,i=zn(e)?n:new Kt(t.BinaryOperator.Or,n,e.internalType),o=null;null!==e.deps?"invalid"!==e.deps&&(o=new Ct(i,Hn(e.deps,e.target))):(r=Te("\u0275"+e.name+"_BaseFactory"),o=r.callFn([i]));var s=[],a=null;function u(t){var e=Te("r");s.push(e.set(te).toDeclStmt());var r=null!==o?e.set(o).toStmt():Pe(Ze.invalidFactory).callFn([]).toStmt();return s.push(Re(n,[r],[e.set(t).toStmt()])),e}if(zn(e)){var c=Hn(e.delegateDeps,e.target);a=u(new(e.delegateType===Vn.Class?Ct:Et)(e.delegate,c))}else a=function(t){return void 0!==t.expression}(e)?u(e.expression):o;if(null===a)s.push(Pe(Ze.invalidFactory).callFn([]).toStmt());else if(null!==r){var l=Pe(Ze.getInheritedFactory).callFn([e.internalType]),p=new Kt(t.BinaryOperator.Or,r,r.set(l));s.push(new ue(p.callFn([i])))}else s.push(new ue(a));var h=Oe([new zt("t",st)],s,at,void 0,e.name+"_Factory");return null!==r&&(h=Oe([],[new oe(r.name),new ue(h)]).callFn([],void 0,!0)),{expression:h,statements:[],type:Un(e)}}function Un(t){var e=null!==t.deps&&"invalid"!==t.deps?function(t){var e=!1,n=t.map(function(t){var n=function(t){var e=[];return null!==t.attributeNameType&&e.push({key:"attribute",value:t.attributeNameType,quoted:!1}),t.optional&&e.push({key:"optional",value:De(!0),quoted:!1}),t.host&&e.push({key:"host",value:De(!0),quoted:!1}),t.self&&e.push({key:"self",value:De(!0),quoted:!1}),t.skipSelf&&e.push({key:"skipSelf",value:De(!0),quoted:!1}),e.length>0?Ae(e):null}(t);return null!==n?(e=!0,n):De(null)});return e?ke(Ne(n)):pt}(t.deps):pt;return ke(Pe(Ze.FactoryDeclaration,[kn(t.type.type,t.typeArgumentCount),e]))}function Hn(e,n){return e.map(function(e,r){return function(e,n,r){if(null===e.token)return Pe(Ze.invalidFactoryDep).callFn([De(r)]);if(null===e.attributeNameType){var i=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0)|(n===t.FactoryTarget.Pipe?16:0),o=0!==i||e.optional?De(i):null,s=[e.token];return o&&s.push(o),Pe(function(e){switch(e){case t.FactoryTarget.Component:case t.FactoryTarget.Directive:case t.FactoryTarget.Pipe:return Ze.directiveInject;default:return Ze.inject}}(n)).callFn(s)}return Pe(Ze.injectAttribute).callFn([e.token])}(e,n,r)})}function zn(t){return void 0!==t.delegateType}!function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"}(t.FactoryTarget||(t.FactoryTarget={}));var Wn=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t){throw new Error("visit() not implemented for Comment")},t}(),Gn=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Kn=function(){function t(t,e,n){this.value=t,this.sourceSpan=e,this.i18n=n}return t.prototype.visit=function(t){return t.visitBoundText(this)},t}(),Zn=function(){function t(t,e,n,r,i,o){this.name=t,this.value=e,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i,this.i18n=o}return t.prototype.visit=function(t){return t.visitTextAttribute(this)},t}(),Qn=function(){function t(t,e,n,r,i,o,s,a,u){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.keySpan=s,this.valueSpan=a,this.i18n=u}return t.fromBoundElementProperty=function(e,n){if(void 0===e.keySpan)throw new Error("Unexpected state: keySpan must be defined for bound attributes but was not for "+e.name+": "+e.sourceSpan);return new t(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,n)},t.prototype.visit=function(t){return t.visitBoundAttribute(this)},t}(),$n=function(){function t(t,e,n,r,i,o,s,a){this.name=t,this.type=e,this.handler=n,this.target=r,this.phase=i,this.sourceSpan=o,this.handlerSpan=s,this.keySpan=a}return t.fromParsedEvent=function(e){var n=0===e.type?e.targetOrPhase:null,r=1===e.type?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error("Unexpected state: keySpan must be defined for bound event but was not for "+e.name+": "+e.sourceSpan);return new t(e.name,e.type,e.handler,n,r,e.sourceSpan,e.handlerSpan,e.keySpan)},t.prototype.visit=function(t){return t.visitBoundEvent(this)},t}(),Yn=function(){function t(t,e,n,r,i,o,s,a,u,c){this.name=t,this.attributes=e,this.inputs=n,this.outputs=r,this.children=i,this.references=o,this.sourceSpan=s,this.startSourceSpan=a,this.endSourceSpan=u,this.i18n=c}return t.prototype.visit=function(t){return t.visitElement(this)},t}(),Jn=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p){this.tagName=t,this.attributes=e,this.inputs=n,this.outputs=r,this.templateAttrs=i,this.children=o,this.references=s,this.variables=a,this.sourceSpan=u,this.startSourceSpan=c,this.endSourceSpan=l,this.i18n=p}return t.prototype.visit=function(t){return t.visitTemplate(this)},t}(),Xn=function(){function t(t,e,n,r){this.selector=t,this.attributes=e,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}return t.prototype.visit=function(t){return t.visitContent(this)},t}(),tr=function(){function t(t,e,n,r,i){this.name=t,this.value=e,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}return t.prototype.visit=function(t){return t.visitVariable(this)},t}(),er=function(){function t(t,e,n,r,i){this.name=t,this.value=e,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}return t.prototype.visit=function(t){return t.visitReference(this)},t}(),nr=function(){function t(t,e,n,r){this.vars=t,this.placeholders=e,this.sourceSpan=n,this.i18n=r}return t.prototype.visit=function(t){return t.visitIcu(this)},t}(),rr=(function(){function t(){}t.prototype.visitElement=function(t){},t.prototype.visitTemplate=function(t){},t.prototype.visitContent=function(t){},t.prototype.visitVariable=function(t){},t.prototype.visitReference=function(t){},t.prototype.visitTextAttribute=function(t){},t.prototype.visitBoundAttribute=function(t){},t.prototype.visitBoundEvent=function(t){},t.prototype.visitText=function(t){},t.prototype.visitBoundText=function(t){},t.prototype.visitIcu=function(t){}}(),function(){function t(){}return t.prototype.visitElement=function(t){ir(this,t.attributes),ir(this,t.inputs),ir(this,t.outputs),ir(this,t.children),ir(this,t.references)},t.prototype.visitTemplate=function(t){ir(this,t.attributes),ir(this,t.inputs),ir(this,t.outputs),ir(this,t.children),ir(this,t.references),ir(this,t.variables)},t.prototype.visitContent=function(t){},t.prototype.visitVariable=function(t){},t.prototype.visitReference=function(t){},t.prototype.visitTextAttribute=function(t){},t.prototype.visitBoundAttribute=function(t){},t.prototype.visitBoundEvent=function(t){},t.prototype.visitText=function(t){},t.prototype.visitBoundText=function(t){},t.prototype.visitIcu=function(t){},t}());function ir(t,e){var n,r,i,s,a=[];if(t.visit)try{for(var u=o(e),c=u.next();!c.done;c=u.next())var l=t.visit(f=c.value)||f.visit(t)}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}else try{for(var p=o(e),h=p.next();!h.done;h=p.next()){var f;(l=(f=h.value).visit(t))&&a.push(l)}}catch(d){i={error:d}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(i)throw i.error}}return a}function or(t,e){var n,r,i=[],s=!1;try{for(var a=o(e),u=a.next();!u.done;u=a.next()){var c=u.value,l=c.visit(t);l&&i.push(l),s=s||l!=c}}catch(p){n={error:p}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return s?i:e}!function(){function t(){}t.prototype.visitElement=function(t){var e=or(this,t.attributes),n=or(this,t.inputs),r=or(this,t.outputs),i=or(this,t.children),o=or(this,t.references);return e!=t.attributes||n!=t.inputs||r!=t.outputs||i!=t.children||o!=t.references?new Yn(t.name,e,n,r,i,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):t},t.prototype.visitTemplate=function(t){var e=or(this,t.attributes),n=or(this,t.inputs),r=or(this,t.outputs),i=or(this,t.templateAttrs),o=or(this,t.children),s=or(this,t.references),a=or(this,t.variables);return e!=t.attributes||n!=t.inputs||r!=t.outputs||i!=t.templateAttrs||o!=t.children||s!=t.references||a!=t.variables?new Jn(t.tagName,e,n,r,i,o,s,a,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):t},t.prototype.visitContent=function(t){return t},t.prototype.visitVariable=function(t){return t},t.prototype.visitReference=function(t){return t},t.prototype.visitTextAttribute=function(t){return t},t.prototype.visitBoundAttribute=function(t){return t},t.prototype.visitBoundEvent=function(t){return t},t.prototype.visitText=function(t){return t},t.prototype.visitBoundText=function(t){return t},t.prototype.visitIcu=function(t){return t}}();var sr=function(t,e,n,r,i,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.customId=o,this.id=this.customId,this.legacyIds=[],this.sources=t.length?[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:[]},ar=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),ur=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),cr=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),lr=function(){function t(t,e,n,r,i,o,s,a,u){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s,this.startSourceSpan=a,this.endSourceSpan=u}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),pr=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),hr=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),fr=function(){function t(){}return t.prototype.visitText=function(t,e){return new ar(t.value,t.sourceSpan)},t.prototype.visitContainer=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new ur(r,t.sourceSpan)},t.prototype.visitIcu=function(t,e){var n=this,r={};Object.keys(t.cases).forEach(function(i){return r[i]=t.cases[i].visit(n,e)});var i=new cr(t.expression,t.type,r,t.sourceSpan);return i.expressionPlaceholder=t.expressionPlaceholder,i},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new lr(t.tag,t.attrs,t.startName,t.closeName,r,t.isVoid,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitPlaceholder=function(t,e){return new pr(t.value,t.name,t.sourceSpan)},t.prototype.visitIcuPlaceholder=function(t,e){return new hr(t.value,t.name,t.sourceSpan)},t}(),dr=function(){function t(){}return t.prototype.visitText=function(t,e){},t.prototype.visitContainer=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitIcu=function(t,e){var n=this;Object.keys(t.cases).forEach(function(e){t.cases[e].visit(n)})},t.prototype.visitTagPlaceholder=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitPlaceholder=function(t,e){},t.prototype.visitIcuPlaceholder=function(t,e){},t}(),vr=function(){function t(t){this.digits=t}return t.zero=function(){return new t([0])},t.one=function(){return new t([1])},t.prototype.clone=function(){return new t(this.digits.slice())},t.prototype.add=function(t){var e=this.clone();return e.addToSelf(t),e},t.prototype.addToSelf=function(t){for(var e=Math.max(this.digits.length,t.digits.length),n=0,r=0;r=10?(this.digits[r]=i-10,n=1):(this.digits[r]=i,n=0)}n>0&&(this.digits[e]=1)},t.prototype.toString=function(){for(var t="",e=this.digits.length-1;e>=0;e--)t+=this.digits[e];return t},t}(),mr=function(){function t(t){this.powerOfTwos=[t]}return t.prototype.getValue=function(){return this.powerOfTwos[0]},t.prototype.multiplyBy=function(t){var e=vr.zero();return this.multiplyByAndAddTo(t,e),e},t.prototype.multiplyByAndAddTo=function(t,e){for(var n=0;0!==t;t>>>=1,n++)if(1&t){var r=this.getMultipliedByPowerOfTwo(n);e.addToSelf(r)}},t.prototype.getMultipliedByPowerOfTwo=function(t){for(var e=this.powerOfTwos.length;e<=t;e++){var n=this.powerOfTwos[e-1];this.powerOfTwos[e]=n.add(n)}return this.powerOfTwos[t]},t}(),yr=function(){function t(t){this.base=t,this.exponents=[new mr(vr.one())]}return t.prototype.toThePowerOf=function(t){for(var e=this.exponents.length;e<=t;e++){var n=this.exponents[e-1].multiplyBy(this.base);this.exponents[e]=new mr(n)}return this.exponents[t]},t}();function gr(t){return t.id||Sr(t)}function Sr(t){return function(t){var e=un(t),n=function(t,e){for(var n=t.length+3>>>2,r=[],i=0;i>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(var l=0;l>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}(function(t){return t.reduce(function(t,e){return t.concat(function(t){for(var e=[],n=0;n<4;n++)e.push(t>>>8*(3-n)&255);return e}(e))},[])}([o,s,a,u,c]))}(function(t){return t.map(function(t){return t.visit(Er,null)})}(t.nodes).join("")+"["+t.meaning+"]")}function _r(t){return t.id||xr(t)}function xr(t){var e=new br;return Pr(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}var wr=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'':''+t.children.map(function(t){return t.visit(n)}).join(", ")+''},t.prototype.visitPlaceholder=function(t,e){return t.value?''+t.value+"":''},t.prototype.visitIcuPlaceholder=function(t,e){return''+t.value.visit(this)+""},t}(),Er=new wr;var br=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},e}(wr);function Cr(t,e,n,r){return t<20?[e&n|~e&r,1518500249]:t<40?[e^n^r,1859775393]:t<60?[e&n|e&r|n&r,2400959708]:[e^n^r,3395469782]}function Tr(t){var e=un(t),n=Mr(e,0),r=Mr(e,102072);return 0==n&&(0==r||1==r)&&(n^=319790063,r^=-1801410264),[n,r]}function Pr(t,e){void 0===e&&(e="");var n=Tr(t);if(e){var r=Tr(e);n=function(t,e){var n=t[0],r=e[0],i=Ar(t[1],e[1]),o=i[0],s=i[1];return[Nr(Nr(n,r),o),s]}(function(t,e){var n=t[0],r=t[1];return[n<>>32-e,r<>>32-e]}(n,1),r)}return function(t,e){var n=Lr.toThePowerOf(0).multiplyBy(e);return Lr.toThePowerOf(4).multiplyByAndAddTo(t,n),n.toString()}(2147483647&n[0],n[1])}function Mr(t,e){var n,r=2654435769,i=2654435769,o=t.length;for(n=0;n+12<=o;n+=12){var s=kr(r=Nr(r,Dr(t,n,Ir.Little)),i=Nr(i,Dr(t,n+4,Ir.Little)),e=Nr(e,Dr(t,n+8,Ir.Little)));r=s[0],i=s[1],e=s[2]}return r=Nr(r,Dr(t,n,Ir.Little)),i=Nr(i,Dr(t,n+4,Ir.Little)),e=Nr(e,o),kr(r,i,e=Nr(e,Dr(t,n+8,Ir.Little)<<8))[2]}function kr(t,e,n){return t=Or(t,e),t=Or(t,n),t^=n>>>13,e=Or(e,n),e=Or(e,t),e^=t<<8,n=Or(n,t),n=Or(n,e),n^=e>>>13,t=Or(t,e),t=Or(t,n),t^=n>>>12,e=Or(e,n),e=Or(e,t),e^=t<<16,n=Or(n,t),n=Or(n,e),n^=e>>>5,t=Or(t,e),t=Or(t,n),t^=n>>>3,e=Or(e,n),e=Or(e,t),e^=t<<10,n=Or(n,t),n=Or(n,e),[t,e,n^=e>>>15]}var Ir=(()=>((Ir=Ir||{})[Ir.Little=0]="Little",Ir[Ir.Big=1]="Big",Ir))();function Nr(t,e){return Ar(t,e)[1]}function Ar(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function Or(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function Rr(t,e){return t<>>32-e}function Fr(t,e){return e>=t.length?0:t[e]}function Dr(t,e,n){var r=0;if(n===Ir.Big)for(var i=0;i<4;i++)r+=Fr(t,e+i)<<24-8*i;else for(i=0;i<4;i++)r+=Fr(t,e+i)<<8*i;return r}var Lr=new yr(256);var jr=function(){function t(){}return t.prototype.createNameMapper=function(t){return null},t}(),Br=function(t){function e(e,n){var r=t.call(this)||this;return r.mapName=n,r.internalToPublic={},r.publicToNextId={},r.publicToInternal={},e.nodes.forEach(function(t){return t.visit(r)}),r}return r(e,t),e.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},e.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},e.prototype.visitText=function(t,e){return null},e.prototype.visitTagPlaceholder=function(e,n){this.visitPlaceholderName(e.startName),t.prototype.visitTagPlaceholder.call(this,e,n),this.visitPlaceholderName(e.closeName)},e.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},e}(dr),Vr=new(function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+""},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return""},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return""},t}());function qr(t){return t.map(function(t){return t.visit(Vr)}).join("")}var Ur=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=Zr(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),Hr=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),zr=function(){function t(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=[]),this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=Zr(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),Wr=function(){function t(t){this.value=Zr(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Gr=function(t){function e(e){return void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))||this}return r(e,t),e}(Wr),Kr=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]];function Zr(t){return Kr.reduce(function(t,e){return t.replace(e[0],e[1])},t)}var Qr="messagebundle",$r="ph",Yr="ex",Jr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.write=function(t,e){var n=new ei,r=new Xr,i=new zr(Qr);return t.forEach(function(t){var e={id:t.id};t.description&&(e.desc=t.description),t.meaning&&(e.meaning=t.meaning);var n=[];t.sources.forEach(function(t){n.push(new zr("source",{},[new Wr(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Gr(2),new zr("msg",e,a(a([],s(n)),s(r.serialize(t.nodes)))))}),i.children.push(new Gr),qr([new Ur({version:"1.0",encoding:"UTF-8"}),new Gr,new Hr(Qr,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'),new Gr,n.addDefaultExamples(i),new Gr])},e.prototype.load=function(t,e){throw new Error("Unsupported")},e.prototype.digest=function(t){return ti(t)},e.prototype.createNameMapper=function(t){return new Br(t,ni)},e}(jr),Xr=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Wr(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,a([],s(t.visit(n))))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Wr("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,a(a([new Wr(e+" {")],s(t.cases[e].visit(n))),[new Wr("} ")]))}),r.push(new Wr("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new Wr("<"+t.tag+">"),r=new zr(Yr,{},[n]),i=new zr($r,{name:t.startName},[r,n]);if(t.isVoid)return[i];var o=new Wr(""),u=new zr(Yr,{},[o]),c=new zr($r,{name:t.closeName},[u,o]);return a(a([i],s(this.serialize(t.children))),[c])},t.prototype.visitPlaceholder=function(t,e){var n=new Wr("{{"+t.value+"}}"),r=new zr(Yr,{},[n]);return[new zr($r,{name:t.name},[r,n])]},t.prototype.visitIcuPlaceholder=function(t,e){var n=t.value.expression,r=t.value.type,i=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),o=new Wr("{"+n+", "+r+", "+i+"}"),s=new zr(Yr,{},[o]);return[new zr($r,{name:t.name},[s,o])]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],a([],s(t.map(function(t){return t.visit(e)}))))},t}();function ti(t){return _r(t)}var ei=function(){function t(){}return t.prototype.addDefaultExamples=function(t){return t.visit(this),t},t.prototype.visitTag=function(t){var e=this;if(t.name===$r){if(!t.children||0==t.children.length){var n=new Wr(t.attrs.name||"...");t.children=[new zr(Yr,{},[n])]}}else t.children&&t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitText=function(t){},t.prototype.visitDeclaration=function(t){},t.prototype.visitDoctype=function(t){},t}();function ni(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}var ri="i18n-";function ii(t){return"i18n"===t||t.startsWith(ri)}function oi(t){return t instanceof sr}function si(t){return oi(t)&&1===t.nodes.length&&t.nodes[0]instanceof cr}function ai(t){return!!t.i18n}function ui(t){return t.nodes[0]}function ci(t,e){return void 0===e&&(e=0),"\ufffd"+t+(e>0?":"+e:"")+"\ufffd"}function li(t){void 0===t&&(t=0);var e=t;return function(){return e++}}function pi(t){var e={};return t.forEach(function(t,n){e[n]=De(t.length>1?"["+t.join("|")+"]":t[0])}),e}function hi(t,e){for(var n=[],r=2;r0?function(t,e){return Ae(Object.getOwnPropertyNames(t).map(function(n){var r,i,o,a,u,c,l=t[n];return Array.isArray(l)?(u=n,c=(a=(r=s(l,2))[0])!==(o=r[1])):(u=o=(i=s($e(n,[n,l]),2))[0],c=(a=i[1])!==o&&n.includes(":")),{key:u,quoted:gi.test(u),value:e&&c?Ne([Ti(a),Ti(o)]):Ti(a)}}))}(t,e):null}function Mi(t){for(;Le(t[t.length-1]);)t.pop();return t}function ki(t,e){if(Array.isArray(t.predicate)){var n=[];return t.predicate.forEach(function(t){var e=t.split(",").map(function(t){return De(t.trim())});n.push.apply(n,a([],s(e)))}),e.getConstLiteral(Ne(n),!0)}switch(t.predicate.forwardRef){case 0:case 2:return t.predicate.expression;case 1:return Pe(Ze.resolveForwardRef).callFn([t.predicate.expression])}}var Ii=function(){function t(){this.values=[]}return t.prototype.set=function(t,e){e&&this.values.push({key:t,value:e,quoted:!1})},t.prototype.toLiteralMap=function(){return Ae(this.values)},t}();function Ni(t){var e={};return t instanceof Jn&&"ng-template"!==t.tagName?t.templateAttrs.forEach(function(t){return e[t.name]=""}):(t.attributes.forEach(function(t){ii(t.name)||(e[t.name]=t.value)}),t.inputs.forEach(function(t){e[t.name]=""}),t.outputs.forEach(function(t){e[t.name]=""})),e}function Ai(t,e,n){var r=Pe(t,null,n);if(e.length>0)for(var i=0;i]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Bi(t,e){if(null!=e&&(!Array.isArray(e)||2!=e.length))throw new Error("Expected '"+t+"' to be an array, [start, end].");if(null!=e){var n=e[0],r=e[1];ji.forEach(function(t){if(t.test(n)||t.test(r))throw new Error("['"+n+"', '"+r+"'] contains unusable interpolation symbol.")})}}var Vi=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(Bi("interpolation",e),new t(e[0],e[1])):qi},t}(),qi=new Vi("{{","}}"),Ui=function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},t}(),Hi=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){var r='"'+t+'".'+e+((n=n||[]).length?"."+n.join("."):""),i=this.cache.get(r);return i||(i=new Ui(t,e,n),this.cache.set(r,i)),i},t}(),zi=123,Wi=125;function Gi(t){return t>=9&&t<=32||160==t}function Ki(t){return 48<=t&&t<=57}function Zi(t){return t>=97&&t<=122||t>=65&&t<=90}function Qi(t){return 10===t||13===t}function $i(t){return 48<=t&&t<=55}function Yi(t){return 39===t||34===t||96===t}var Ji=function(){function t(t,e,n,r){this.file=t,this.offset=e,this.line=n,this.col=r}return t.prototype.toString=function(){return null!=this.offset?this.file.url+"@"+this.line+":"+this.col:this.file.url},t.prototype.moveBy=function(e){for(var n=this.file.content,r=n.length,i=this.offset,o=this.line,s=this.col;i>0&&e<0;)if(i--,e++,10==(u=n.charCodeAt(i))){o--;var a=n.substr(0,i-1).lastIndexOf(String.fromCharCode(10));s=a>0?i-a:i}else s--;for(;i0;){var u=n.charCodeAt(i);i++,e--,10==u?(o++,s=0):s++}return new t(this.file,i,o,s)},t.prototype.getContext=function(t,e){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,o=0,s=0;o0&&(o++,"\n"!=n[--r]||++s!=e););for(o=0,s=0;o]"+e.after+'")':this.msg},e.prototype.toString=function(){var t=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+t},e}();function no(t,e){var n=co(e),r=null!=n?"in "+t+" "+uo(e)+" in "+n:"in "+t+" "+uo(e),i=new Xi("",r);return new to(new Ji(i,-1,-1,-1),new Ji(i,-1,-1,-1))}function ro(t,e,n){var r=new Xi("","in "+t+" "+e+" in "+n);return new to(new Ji(r,-1,-1,-1),new Ji(r,-1,-1,-1))}function io(t,e){var n=Error(t);return n[oo]=!0,e&&(n[so]=e),n}var oo="ngSyntaxError",so="ngParseErrors";var ao=0;function uo(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof Ui)return e.name;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";var n=cn(e);return n.indexOf("(")>=0?(n="anonymous_"+ao++,e.__anonymousType=n):n=lo(n),n}function co(t){var e=t.reference;return e instanceof Ui?e.filePath:"./"+cn(e)}function lo(t){return t.replace(/\W/g,"_")}var po,ho='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})',fo=function(e){function n(){return e.call(this,!1)||this}return r(n,e),n.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),this._visitClassConstructor(t,e),null!=t.parent&&(e.print(t,t.name+".prototype = Object.create("),t.parent.visitExpression(this,e),e.println(t,".prototype);")),t.getters.forEach(function(r){return n._visitClassGetter(t,r,e)}),t.methods.forEach(function(r){return n._visitClassMethod(t,r,e)}),e.popClass(),null},n.prototype._visitClassConstructor=function(t,e){e.print(t,"function "+t.name+"("),null!=t.constructorMethod&&this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),null!=t.constructorMethod&&t.constructorMethod.body.length>0&&(e.println(t,"var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println(t,"}")},n.prototype._visitClassGetter=function(t,e,n){n.println(t,"Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"}});")},n.prototype._visitClassMethod=function(t,e,n){n.print(t,t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(t,") {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"};")},n.prototype.visitWrappedNodeExpr=function(t,e){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")},n.prototype.visitReadVarExpr=function(n,r){if(n.builtin===t.BuiltinVar.This)r.print(n,"self");else{if(n.builtin===t.BuiltinVar.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");e.prototype.visitReadVarExpr.call(this,n,r)}return null},n.prototype.visitDeclareVarStmt=function(t,e){return e.print(t,"var "+t.name),t.value&&(e.print(t," = "),t.value.visitExpression(this,e)),e.println(t,";"),null},n.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},n.prototype.visitInvokeFunctionExpr=function(n,r){var i=n.fn;return i instanceof mt&&i.builtin===t.BuiltinVar.Super?(r.currentClass.parent.visitExpression(this,r),r.print(n,".call(this"),n.args.length>0&&(r.print(n,", "),this.visitAllExpressions(n.args,r,",")),r.print(n,")")):e.prototype.visitInvokeFunctionExpr.call(this,n,r),null},n.prototype.visitTaggedTemplateExpr=function(t,e){var n=this,r=t.template.elements;return t.tag.visitExpression(this,e),e.print(t,"("+ho+"("),e.print(t,"["+r.map(function(t){return Pn(t.text,!1)}).join(", ")+"], "),e.print(t,"["+r.map(function(t){return Pn(t.rawText,!1)}).join(", ")+"])"),t.template.expressions.forEach(function(r){e.print(t,", "),r.visitExpression(n,e)}),e.print(t,")"),null},n.prototype.visitFunctionExpr=function(t,e){return e.print(t,"function"+(t.name?" "+t.name:"")+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},n.prototype.visitDeclareFunctionStmt=function(t,e){return e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},n.prototype.visitTryCatchStmt=function(e,n){n.println(e,"try {"),n.incIndent(),this.visitAllStatements(e.bodyStmts,n),n.decIndent(),n.println(e,"} catch ("+wn.name+") {"),n.incIndent();var r=[En.set(wn.prop("stack")).toDeclStmt(null,[t.StmtModifier.Final])].concat(e.catchStmts);return this.visitAllStatements(r,n),n.decIndent(),n.println(e,"}"),null},n.prototype.visitLocalizedString=function(t,e){var n=this;e.print(t,"$localize("+ho+"(");for(var r=[t.serializeI18nHead()],i=1;i0&&!function(t){return t.isEquivalent(De("use strict").toStmt())}(e[0])&&(e=a([De("use strict").toStmt()],s(e))),i.visitAllStatements(e,o),i.createReturnStmt(o),this.evaluateCode(t,o,i.getArgs(),r)},t.prototype.evaluateCode=function(t,e,n,r){var i='"use strict";'+e.toSource()+"\n//# sourceURL="+t,o=[],u=[];for(var c in n)u.push(n[c]),o.push(c);if(r){var l=mo.apply(void 0,a([],s(o.concat("return null;")))).toString(),p=l.slice(0,l.indexOf("return null;")).split("\n").length-1;i+="\n"+e.toSourceMapGenerator(t,p).toJsComment()}var h=mo.apply(void 0,a([],s(o.concat(i))));return this.executeFunction(h,u)},t.prototype.executeFunction=function(t,e){return t.apply(void 0,a([],s(e)))},t}(),go=function(e){function n(t){var n=e.call(this)||this;return n.reflector=t,n._evalArgNames=[],n._evalArgValues=[],n._evalExportedVars=[],n}return r(n,e),n.prototype.createReturnStmt=function(t){new ue(new Jt(this._evalExportedVars.map(function(t){return new Yt(t,Te(t),!1)}))).visitStatement(this,t)},n.prototype.getArgs=function(){for(var t={},e=0;e0&&e.set("imports",Ne(t.imports)),{expression:Pe(Ze.defineInjector).callFn([e.toLiteralMap()],void 0,!0),type:_o(t),statements:[]}}function _o(t){return new rt(Pe(Ze.InjectorDeclaration,[new rt(t.type.type)]))}var xo=function(){function t(t){this.context=t}return t.prototype.resolveExternalReference=function(t){if("@angular/core"!==t.moduleName)throw new Error("Cannot resolve external reference to "+t.moduleName+", only references to @angular/core are supported.");if(!this.context.hasOwnProperty(t.name))throw new Error("No value provided for @angular/core symbol '"+t.name+"'.");return this.context[t.name]},t.prototype.parameters=function(t){throw new Error("Not implemented.")},t.prototype.annotations=function(t){throw new Error("Not implemented.")},t.prototype.shallowAnnotations=function(t){throw new Error("Not implemented.")},t.prototype.tryAnnotations=function(t){throw new Error("Not implemented.")},t.prototype.propMetadata=function(t){throw new Error("Not implemented.")},t.prototype.hasLifecycleHook=function(t,e){throw new Error("Not implemented.")},t.prototype.guards=function(t){throw new Error("Not implemented.")},t.prototype.componentModuleUrl=function(t,e){throw new Error("Not implemented.")},t}();function wo(t){var e=t.internalType,n=t.bootstrap,r=t.declarations,i=t.imports,o=t.exports,s=t.schemas,a=t.containsForwardDecls,u=t.emitInline,c=t.id,l=[],p=new Ii;if(p.set("type",e),n.length>0&&p.set("bootstrap",Dn(n,a)),u)r.length>0&&p.set("declarations",Dn(r,a)),i.length>0&&p.set("imports",Dn(i,a)),o.length>0&&p.set("exports",Dn(o,a));else{var h=function(t){var e=t.adjacentType,n=t.declarations,r=t.imports,i=t.exports,o=t.containsForwardDecls,s=new Ii;if(n.length>0&&s.set("declarations",Dn(n,o)),r.length>0&&s.set("imports",Dn(r,o)),i.length>0&&s.set("exports",Dn(i,o)),0===Object.keys(s.values).length)return null;var a=function(t){return Rn("ngJitMode",t)}(new Et(Pe(Ze.setNgModuleScope),[e,s.toLiteralMap()])),u=new Wt([],[a.toStmt()]);return new Et(u,[]).toStmt()}(t);null!==h&&l.push(h)}return null!==s&&s.length>0&&p.set("schemas",Ne(s.map(function(t){return t.value}))),null!==c&&p.set("id",c),{expression:Pe(Ze.defineNgModule).callFn([p.toLiteralMap()],void 0,!0),type:Eo(t),statements:l}}function Eo(t){var e=t.declarations,n=t.imports,r=t.exports;return new rt(Pe(Ze.NgModuleDeclaration,[new rt(t.type.type),bo(e),bo(n),bo(r)]))}function bo(t){var e=t.map(function(t){return Ie(t.type)});return t.length>0?ke(Ne(e)):pt}function Co(t){var e=[];return e.push({key:"name",value:De(t.pipeName),quoted:!1}),e.push({key:"type",value:t.type.value,quoted:!1}),e.push({key:"pure",value:De(t.pure),quoted:!1}),{expression:Pe(Ze.definePipe).callFn([Ae(e)],void 0,!0),type:To(t),statements:[]}}function To(t){return new rt(Pe(Ze.PipeDeclaration,[kn(t.type.type,t.typeArgumentCount),new rt(new Tt(t.pipeName))]))}var Po=function(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r},Mo=function(){function t(t,e){this.start=t,this.end=e}return t.prototype.toAbsolute=function(t){return new es(t+this.start,t+this.end)},t}(),ko=function(){function t(t,e){this.span=t,this.sourceSpan=e}return t.prototype.toString=function(){return"AST"},t}(),Io=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.nameSpan=r,i}return r(e,t),e}(ko),No=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.prefix=r,s.uninterpretedExpression=i,s.location=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(ko),Ao=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(ko),Oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(ko),Ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.visit=function(t,e){var n;return void 0===e&&(e=null),null===(n=t.visitThisReceiver)||void 0===n?void 0:n.call(t,this,e)},e}(Oo),Fo=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.expressions=r,i}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(ko),Do=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.condition=r,s.trueExp=i,s.falseExp=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(ko),Lo=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n,r)||this;return s.receiver=i,s.name=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(Io),jo=function(t){function e(e,n,r,i,o,s){var a=t.call(this,e,n,r)||this;return a.receiver=i,a.name=o,a.value=s,a}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(Io),Bo=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n,r)||this;return s.receiver=i,s.name=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(Io),Vo=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.receiver=r,o.key=i,o}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(ko),qo=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.receiver=r,o.key=i,o}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeKeyedRead(this,e)},e}(ko),Uo=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.receiver=r,s.key=i,s.value=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(ko),Ho=function(t){function e(e,n,r,i,o,s){var a=t.call(this,e,n,s)||this;return a.exp=r,a.name=i,a.args=o,a}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(Io),zo=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.value=r,i}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(ko),Wo=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.expressions=r,i}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(ko),Go=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.keys=r,o.values=i,o}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(ko),Ko=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.strings=r,o.expressions=i,o}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(ko),Zo=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.operation=r,s.left=i,s.right=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(ko),Qo=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,e,n,o,s,a)||this;return u.operator=r,u.expr=i,u}return r(e,t),e.createMinus=function(t,n,r){return new e(t,n,"-",r,"-",new zo(t,n,0),r)},e.createPlus=function(t,n,r){return new e(t,n,"+",r,"-",r,new zo(t,n,0))},e.prototype.visit=function(t,e){return void 0===e&&(e=null),void 0!==t.visitUnary?t.visitUnary(this,e):t.visitBinary(this,e)},e}(Zo),$o=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.expression=r,i}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(ko),Yo=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.expression=r,i}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitNonNullAssert(this,e)},e}(ko),Jo=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,e,n,r)||this;return u.receiver=i,u.name=o,u.args=s,u.argumentSpan=a,u}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(Io),Xo=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,e,n,r)||this;return u.receiver=i,u.name=o,u.args=s,u.argumentSpan=a,u}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(Io),ts=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.target=r,o.args=i,o}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(ko),es=function(t,e){this.start=t,this.end=e},ns=function(t){function e(e,n,r,i,o){var s=t.call(this,new Mo(0,null===n?0:n.length),new es(i,null===n?i:i+n.length))||this;return s.ast=e,s.source=n,s.location=r,s.errors=o,s}return r(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitASTWithSource?t.visitASTWithSource(this,e):this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(ko),rs=function(t,e,n){this.sourceSpan=t,this.key=e,this.value=n},is=function(t,e,n){this.sourceSpan=t,this.key=e,this.value=n},os=function(){function t(){}return t.prototype.visit=function(t,e){t.visit(this,e)},t.prototype.visitUnary=function(t,e){this.visit(t.expr,e)},t.prototype.visitBinary=function(t,e){this.visit(t.left,e),this.visit(t.right,e)},t.prototype.visitChain=function(t,e){this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){this.visit(t.condition,e),this.visit(t.trueExp,e),this.visit(t.falseExp,e)},t.prototype.visitPipe=function(t,e){this.visit(t.exp,e),this.visitAll(t.args,e)},t.prototype.visitFunctionCall=function(t,e){t.target&&this.visit(t.target,e),this.visitAll(t.args,e)},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitThisReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){this.visit(t.receiver,e),this.visit(t.key,e)},t.prototype.visitKeyedWrite=function(t,e){this.visit(t.receiver,e),this.visit(t.key,e),this.visit(t.value,e)},t.prototype.visitLiteralArray=function(t,e){this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitMethodCall=function(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){this.visit(t.expression,e)},t.prototype.visitNonNullAssert=function(t,e){this.visit(t.expression,e)},t.prototype.visitPropertyRead=function(t,e){this.visit(t.receiver,e)},t.prototype.visitPropertyWrite=function(t,e){this.visit(t.receiver,e),this.visit(t.value,e)},t.prototype.visitSafePropertyRead=function(t,e){this.visit(t.receiver,e)},t.prototype.visitSafeMethodCall=function(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)},t.prototype.visitSafeKeyedRead=function(t,e){this.visit(t.receiver,e),this.visit(t.key,e)},t.prototype.visitQuote=function(t,e){},t.prototype.visitAll=function(t,e){var n,r;try{for(var i=o(t),s=i.next();!s.done;s=i.next())this.visit(s.value,e)}catch(a){n={error:a}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t}(),ss=function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitThisReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new Ko(t.span,t.sourceSpan,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new zo(t.span,t.sourceSpan,t.value)},t.prototype.visitPropertyRead=function(t,e){return new Lo(t.span,t.sourceSpan,t.nameSpan,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new jo(t.span,t.sourceSpan,t.nameSpan,t.receiver.visit(this),t.name,t.value.visit(this))},t.prototype.visitSafePropertyRead=function(t,e){return new Bo(t.span,t.sourceSpan,t.nameSpan,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new Jo(t.span,t.sourceSpan,t.nameSpan,t.receiver.visit(this),t.name,this.visitAll(t.args),t.argumentSpan)},t.prototype.visitSafeMethodCall=function(t,e){return new Xo(t.span,t.sourceSpan,t.nameSpan,t.receiver.visit(this),t.name,this.visitAll(t.args),t.argumentSpan)},t.prototype.visitFunctionCall=function(t,e){return new ts(t.span,t.sourceSpan,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new Wo(t.span,t.sourceSpan,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new Go(t.span,t.sourceSpan,t.keys,this.visitAll(t.values))},t.prototype.visitUnary=function(t,e){switch(t.operator){case"+":return Qo.createPlus(t.span,t.sourceSpan,t.expr.visit(this));case"-":return Qo.createMinus(t.span,t.sourceSpan,t.expr.visit(this));default:throw new Error("Unknown unary operator "+t.operator)}},t.prototype.visitBinary=function(t,e){return new Zo(t.span,t.sourceSpan,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new $o(t.span,t.sourceSpan,t.expression.visit(this))},t.prototype.visitNonNullAssert=function(t,e){return new Yo(t.span,t.sourceSpan,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new Do(t.span,t.sourceSpan,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new Ho(t.span,t.sourceSpan,t.exp.visit(this),t.name,this.visitAll(t.args),t.nameSpan)},t.prototype.visitKeyedRead=function(t,e){return new Vo(t.span,t.sourceSpan,t.receiver.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new Uo(t.span,t.sourceSpan,t.receiver.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=[],n=0;n=0;r--)n.unshift(Cs(e,r))}(l.temporaryCount,i,p),l.usesImplicitReceiver&&e.notifyImplicitReceiverUse();var h=p.length-1,f=null;if(h>=0){var d=function(t){return t instanceof ae?t.expr:t instanceof ue?t.value:null}(p[h]);d&&(f=function(t){return Te("pd_"+t)}(i),p[h]=f.set(d.cast(st).notIdentical(De(!1))).toDeclStmt(null,[t.StmtModifier.Final]))}return new ys(p,f)}function Ss(t,e){return function(t,e){var n=new ks(t);return e.visit(n)}(t,e)}var _s=function(t,e){this.stmts=t,this.currValExpr=e},xs=(()=>((xs=xs||{})[xs.General=0]="General",xs[xs.TrySimple=1]="TrySimple",xs[xs.Expression=2]="Expression",xs))();function ws(e,n,r,i,o,s){e||(e=new As);var a=new Is(e,n,i,s),u=r.visit(a,Ts.Expression),c=Es(a,i);if(a.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===a.temporaryCount&&o==xs.TrySimple)return new _s([],u);if(o===xs.Expression)return new _s(c,u);var l=function(t){return Te("currVal_"+t)}(i);return c.push(l.set(u).toDeclStmt(st,[t.StmtModifier.Final])),new _s(c,l)}function Es(t,e){for(var n=[],r=0;r((Ts=Ts||{})[Ts.Statement=0]="Statement",Ts[Ts.Expression=1]="Expression",Ts))();function Ps(t,e){if(t!==Ts.Expression)throw new Error("Expected an expression, but saw "+e)}function Ms(t,e){return t===Ts.Statement?e.toStmt():e}var ks=function(t){function e(e){var n=t.call(this)||this;return n._converterFactory=e,n}return r(e,t),e.prototype.visitPipe=function(t,e){var n=this,r=a([t.exp],s(t.args)).map(function(t){return t.visit(n,e)});return new Rs(t.span,t.sourceSpan,r,this._converterFactory.createPipeConverter(t.name,r.length))},e.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new Rs(t.span,t.sourceSpan,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},e.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new Rs(t.span,t.sourceSpan,r,this._converterFactory.createLiteralMapConverter(t.keys))},e}(ss),Is=function(){function e(t,e,n,r,i,o){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=i,this.implicitReceiverAccesses=o,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}return e.prototype.visitUnary=function(e,n){var r;switch(e.operator){case"+":r=t.UnaryOperator.Plus;break;case"-":r=t.UnaryOperator.Minus;break;default:throw new Error("Unsupported operator "+e.operator)}return Ms(n,new Gt(r,this._visit(e.expr,Ts.Expression),void 0,this.convertSourceSpan(e.span)))},e.prototype.visitBinary=function(e,n){var r;switch(e.operation){case"+":r=t.BinaryOperator.Plus;break;case"-":r=t.BinaryOperator.Minus;break;case"*":r=t.BinaryOperator.Multiply;break;case"/":r=t.BinaryOperator.Divide;break;case"%":r=t.BinaryOperator.Modulo;break;case"&&":r=t.BinaryOperator.And;break;case"||":r=t.BinaryOperator.Or;break;case"==":r=t.BinaryOperator.Equals;break;case"!=":r=t.BinaryOperator.NotEquals;break;case"===":r=t.BinaryOperator.Identical;break;case"!==":r=t.BinaryOperator.NotIdentical;break;case"<":r=t.BinaryOperator.Lower;break;case">":r=t.BinaryOperator.Bigger;break;case"<=":r=t.BinaryOperator.LowerEquals;break;case">=":r=t.BinaryOperator.BiggerEquals;break;case"??":return this.convertNullishCoalesce(e,n);default:throw new Error("Unsupported operation "+e.operation)}return Ms(n,new Kt(r,this._visit(e.left,Ts.Expression),this._visit(e.right,Ts.Expression),void 0,this.convertSourceSpan(e.span)))},e.prototype.visitChain=function(t,e){return function(t,e){if(t!==Ts.Statement)throw new Error("Expected a statement, but saw "+e)}(e,t),this.visitAll(t.expressions,e)},e.prototype.visitConditional=function(t,e){return Ms(e,this._visit(t.condition,Ts.Expression).conditional(this._visit(t.trueExp,Ts.Expression),this._visit(t.falseExp,Ts.Expression),this.convertSourceSpan(t.span)))},e.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},e.prototype.visitFunctionCall=function(t,e){var n=this.visitAll(t.args,Ts.Expression);return Ms(e,t instanceof Rs?t.converter(n):this._visit(t.target,Ts.Expression).callFn(n,this.convertSourceSpan(t.span)))},e.prototype.visitImplicitReceiver=function(t,e){return Ps(e,t),this.usesImplicitReceiver=!0,this._implicitReceiver},e.prototype.visitThisReceiver=function(t,e){return this.visitImplicitReceiver(t,e)},e.prototype.visitInterpolation=function(t,e){Ps(e,t);for(var n=[De(t.expressions.length)],r=0;r0;)for(var o=i.length,s=t.pop(),a=0;a-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(ea,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);a&&(i=a[1]+o+a[2]+a[3])}}return i},a=new Vs(t),u="",c=0,l=/( |>|\+|~(?!=))\s*/g,p=!((t=a.content()).indexOf($s)>-1);null!==(i=l.exec(t));){var h=i[1],f=t.slice(c,i.index).trim();u+=((p=p||f.indexOf($s)>-1)?s(f):f)+" "+h+" ",c=l.lastIndex}var d=t.substring(c);return u+=(p=p||d.indexOf($s)>-1)?s(d):d,a.restore(u)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(ra,Ws).replace(na,zs)},t}(),Vs=function(){function t(t){var e=this;this.placeholders=[],this.index=0,t=this._escapeRegexMatches(t,/(\[[^\]]*\])/g),t=this._escapeRegexMatches(t,/(\\.)/g),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,n,r){var i="__ph-"+e.index+"__";return e.placeholders.push(r),e.index++,n+i})}return t.prototype.restore=function(t){var e=this;return t.replace(/__ph-(\d+)__/g,function(t,n){return e.placeholders[+n]})},t.prototype.content=function(){return this._content},t.prototype._escapeRegexMatches=function(t,e){var n=this;return t.replace(e,function(t,e){var r="__ph-"+n.index+"__";return n.placeholders.push(e),n.index++,r})},t}(),qs=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Us=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Hs=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,zs="-shadowcsshost",Ws="-shadowcsscontext",Gs="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Ks=new RegExp(zs+Gs,"gim"),Zs=new RegExp(Ws+Gs,"gim"),Qs=new RegExp(Ws+Gs,"im"),$s=zs+"-no-combinator",Ys=/-shadowcsshost-no-combinator([^\s]*)/,Js=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Xs=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,ta="([>\\s~+[.,{:][\\s\\S]*)?$",ea=/-shadowcsshost/gim,na=/:host/gim,ra=/:host-context/gim,ia=/\/\*[\s\S]*?\*\//g;var oa=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var sa="%BLOCK%",aa=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ua=/%QUOTED%/g,ca=new Map([["{","}"]]),la=new Map([['"','"'],["'","'"]]),pa=function(t,e){this.selector=t,this.content=e};function ha(t,e){var n=da(t,la,"%QUOTED%"),r=da(n.escapedString,ca,sa),i=0,o=0;return r.escapedString.replace(aa,function(){for(var t=[],n=0;n=0;e--){var n=this.path[e];if(n instanceof t)return n}},t.prototype.push=function(t){this.path.push(t)},t.prototype.pop=function(){return this.path.pop()},t}(),Wa=function(t,e){this.sourceSpan=t,this.i18n=e},Ga=function(t){function e(e,n,r,i){var o=t.call(this,n,i)||this;return o.value=e,o.tokens=r,o}return r(e,t),e.prototype.visit=function(t,e){return t.visitText(this,e)},e}(Wa),Ka=function(t){function e(e,n,r,i,o,s){var a=t.call(this,i,s)||this;return a.switchValue=e,a.type=n,a.cases=r,a.switchValueSourceSpan=o,a}return r(e,t),e.prototype.visit=function(t,e){return t.visitExpansion(this,e)},e}(Wa),Za=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),Qa=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,r,a)||this;return u.name=e,u.value=n,u.keySpan=i,u.valueSpan=o,u.valueTokens=s,u}return r(e,t),e.prototype.visit=function(t,e){return t.visitAttribute(this,e)},e}(Wa),$a=function(t){function e(e,n,r,i,o,s,a){void 0===s&&(s=null);var u=t.call(this,i,a)||this;return u.name=e,u.attrs=n,u.children=r,u.startSourceSpan=o,u.endSourceSpan=s,u}return r(e,t),e.prototype.visit=function(t,e){return t.visitElement(this,e)},e}(Wa),Ya=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}();function Ja(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}var Xa=function(){function t(){}return t.prototype.visitElement=function(t,e){this.visitChildren(e,function(e){e(t.attrs),e(t.children)})},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){return this.visitChildren(e,function(e){e(t.cases)})},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitChildren=function(t,e){var n=[],r=this;return e(function(e){e&&n.push(Ja(r,e,t))}),Array.prototype.concat.apply([],n)},t}();function tu(t){var e=t.sourceSpan.start.offset,n=t.sourceSpan.end.offset;return t instanceof $a&&(t.endSourceSpan?n=t.endSourceSpan.end.offset:t.children&&t.children.length&&(n=tu(t.children[t.children.length-1]).end)),{start:e,end:n}}var eu={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\ud835\udd44",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\ud835\udca9",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",rationals:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\ud835\udcb5",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\ud835\udd1e",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\ud835\udd1f",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\ud835\udd54",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\ud835\udcbb",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\ud835\udd58",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\ud835\udd26",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iquest:"\xbf",iscr:"\ud835\udcbe",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\ud835\udd29",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\ud835\udd5e",mscr:"\ud835\udcc2",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\ud835\udd2b",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\ud835\udd5f",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\ud835\udcc3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\ud835\udd61",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\ud835\udd2f",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\ud835\udcc7",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\ud835\udd30",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\ud835\udcc8",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\ud835\udd31",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\ud835\udd32",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\ud835\udd66",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\ud835\udd33",vopf:"\ud835\udd67",vscr:"\ud835\udccb",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wscr:"\ud835\udccc",xfr:"\ud835\udd35",xi:"\u03be",xnis:"\u22fb",xopf:"\ud835\udd69",xscr:"\ud835\udccd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"};eu.ngsp="\ue500";var nu=function(t){function e(e,n,r){var i=t.call(this,r,e)||this;return i.tokenType=n,i}return r(e,t),e}(eo),ru=function(t,e,n){this.tokens=t,this.errors=e,this.nonNormalizedIcuExpressions=n};var iu=/\r\n?/g;function ou(t){return'Unexpected character "'+(0===t?"EOF":String.fromCharCode(t))+'"'}function su(t){return'Unknown entity "'+t+'" - use the "&#;" or "&#x;" syntax'}var au=(()=>((au=au||{}).HEX="hexadecimal",au.DEC="decimal",au))(),uu=function(t){this.error=t},cu=function(){function e(t,e,n){this._getTagDefinition=e,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||qi,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(function(t){return t.codePointAt(0)||0});var r=n.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new yu(t,r):new mu(t,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}return e.prototype._processCarriageReturns=function(t){return this._preserveLineEndings?t:t.replace(iu,"\n")},e.prototype.tokenize=function(){for(var t=this;0!==this._cursor.peek();){var e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,function(){return t._isTextEnd()},function(){return t._isTagStart()})}catch(n){this.handleError(n)}}this._beginToken(24),this._endToken([])},e.prototype._tokenizeExpansionForm=function(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function(t){return t!==Wi}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Wi){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},e.prototype._beginToken=function(t,e){void 0===e&&(e=this._cursor.clone()),this._currentTokenStart=e,this._currentTokenType=t},e.prototype._endToken=function(t,e){if(null===this._currentTokenStart)throw new nu("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(e));if(null===this._currentTokenType)throw new nu("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var n={type:this._currentTokenType,parts:t,sourceSpan:(null!=e?e:this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},e.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new nu(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new uu(n)},e.prototype.handleError=function(t){if(t instanceof gu&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),!(t instanceof uu))throw t;this.errors.push(t.error)},e.prototype._attemptCharCode=function(t){return this._cursor.peek()===t&&(this._cursor.advance(),!0)},e.prototype._attemptCharCodeCaseInsensitive=function(t){return!!function(t,e){return vu(t)===vu(e)}(this._cursor.peek(),t)&&(this._cursor.advance(),!0)},e.prototype._requireCharCode=function(t){var e=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(ou(this._cursor.peek()),this._cursor.getSpan(e))},e.prototype._attemptStr=function(t){var e=t.length;if(this._cursor.charsLeft()")}),this._beginToken(13),this._requireStr("]]>"),this._endToken([])},e.prototype._consumeDocType=function(t){this._beginToken(18,t);var e=this._cursor.clone();this._attemptUntilChar(62);var n=this._cursor.getChars(e);this._cursor.advance(),this._endToken([n])},e.prototype._consumePrefixAndName=function(){for(var t=this._cursor.clone(),e="";58!==this._cursor.peek()&&!hu(this._cursor.peek());)this._cursor.advance();var n;return 58===this._cursor.peek()?(e=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(pu,""===e?0:1),[e,this._cursor.getChars(n)]},e.prototype._consumeTagOpen=function(e){var n,r,i;try{if(!Zi(this._cursor.peek()))throw this._createError(ou(this._cursor.peek()),this._cursor.getSpan(e));for(r=(i=this._consumeTagOpenStart(e)).parts[0],n=i.parts[1],this._attemptCharCodeUntilFn(lu);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(lu),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(lu),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(lu);this._consumeTagOpenEnd()}catch(s){if(s instanceof uu)return void(i?i.type=4:(this._beginToken(5,e),this._endToken(["<"])));throw s}var o=this._getTagDefinition(n).getContentType(r);o===t.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,n,!1):o===t.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,n,!0)},e.prototype._consumeRawTextWithTagClose=function(t,e,n){var r=this;this._consumeRawText(n,function(){return!!(r._attemptCharCode(60)&&r._attemptCharCode(47)&&(r._attemptCharCodeUntilFn(lu),r._attemptStrCaseInsensitive(e)))&&(r._attemptCharCodeUntilFn(lu),r._attemptCharCode(62))}),this._beginToken(3),this._requireCharCodeUntilFn(function(t){return 62===t},3),this._cursor.advance(),this._endToken([t,e])},e.prototype._consumeTagOpenStart=function(t){this._beginToken(0,t);var e=this._consumePrefixAndName();return this._endToken(e)},e.prototype._consumeAttributeName=function(){var t=this._cursor.peek();if(39===t||34===t)throw this._createError(ou(t),this._cursor.getSpan());this._beginToken(14);var e=this._consumePrefixAndName();this._endToken(e)},e.prototype._consumeAttributeValue=function(){var t=this;if(39===this._cursor.peek()||34===this._cursor.peek()){var e=this._cursor.peek();this._consumeQuote(e),this._consumeWithInterpolation(16,17,n=function(){return t._cursor.peek()===e},n),this._consumeQuote(e)}else{var n;this._consumeWithInterpolation(16,17,n=function(){return pu(t._cursor.peek())},n)}},e.prototype._consumeQuote=function(t){this._beginToken(15),this._requireCharCode(t),this._endToken([String.fromCodePoint(t)])},e.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(47)?2:1;this._beginToken(t),this._requireCharCode(62),this._endToken([])},e.prototype._consumeTagClose=function(t){this._beginToken(3,t),this._attemptCharCodeUntilFn(lu);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(lu),this._requireCharCode(62),this._endToken(e)},e.prototype._consumeExpansionFormStart=function(){this._beginToken(19),this._requireCharCode(zi),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);var t=this._readUntil(44),e=this._processCarriageReturns(t);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([e]);else{var n=this._endToken([t]);e!==t&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(lu),this._beginToken(7);var r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(lu)},e.prototype._consumeExpansionCaseStart=function(){this._beginToken(20);var t=this._readUntil(zi).trim();this._endToken([t]),this._attemptCharCodeUntilFn(lu),this._beginToken(21),this._requireCharCode(zi),this._endToken([]),this._attemptCharCodeUntilFn(lu),this._expansionCaseStack.push(21)},e.prototype._consumeExpansionCaseEnd=function(){this._beginToken(22),this._requireCharCode(Wi),this._endToken([]),this._attemptCharCodeUntilFn(lu),this._expansionCaseStack.pop()},e.prototype._consumeExpansionFormEnd=function(){this._beginToken(23),this._requireCharCode(Wi),this._endToken([]),this._expansionCaseStack.pop()},e.prototype._consumeWithInterpolation=function(t,e,n,r){this._beginToken(t);for(var i=[];!n();){var o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],o),i.length=0,this._consumeInterpolation(e,o,r),this._beginToken(t)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(t),this._beginToken(t)):i.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(i.join(""))])},e.prototype._consumeInterpolation=function(t,e,n){var r=[];this._beginToken(t,e),r.push(this._interpolationConfig.start);for(var i=this._cursor.clone(),o=null,s=!1;0!==this._cursor.peek()&&(null===n||!n());){var a=this._cursor.clone();if(this._isTagStart())return this._cursor=a,r.push(this._getProcessedChars(i,a)),void this._endToken(r);if(null===o){if(this._attemptStr(this._interpolationConfig.end))return r.push(this._getProcessedChars(i,a)),r.push(this._interpolationConfig.end),void this._endToken(r);this._attemptStr("//")&&(s=!0)}var u=this._cursor.peek();this._cursor.advance(),92===u?this._cursor.advance():u===o?o=null:!s&&null===o&&Yi(u)&&(o=u)}r.push(this._getProcessedChars(i,this._cursor)),this._endToken(r)},e.prototype._getProcessedChars=function(t,e){return this._processCarriageReturns(e.getChars(t))},e.prototype._isTextEnd=function(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Wi&&this._isInExpansionCase()))},e.prototype._isTagStart=function(){if(60===this._cursor.peek()){var t=this._cursor.clone();t.advance();var e=t.peek();if(97<=e&&e<=122||65<=e&&e<=90||47===e||33===e)return!0}return!1},e.prototype._readUntil=function(t){var e=this._cursor.clone();return this._attemptUntilChar(t),this._cursor.getChars(e)},e.prototype._isInExpansionCase=function(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]},e.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]},e.prototype.isExpansionFormStart=function(){if(this._cursor.peek()!==zi)return!1;if(this._interpolationConfig){var t=this._cursor.clone(),e=this._attemptStr(this._interpolationConfig.start);return this._cursor=t,!e}return!0},e}();function lu(t){return!Gi(t)||0===t}function pu(t){return Gi(t)||62===t||60===t||47===t||39===t||34===t||61===t||0===t}function hu(t){return(t<97||12257)}function fu(t){return 59===t||0===t||!function(t){return t>=97&&t<=102||t>=65&&t<=70||Ki(t)}(t)}function du(t){return 59===t||0===t||!Zi(t)}function vu(t){return t>=97&&t<=122?t-97+65:t}var mu=function(){function t(e,n){if(e instanceof t){this.file=e.file,this.input=e.input,this.end=e.end;var r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!n)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=n.endPos,this.state={peek:-1,offset:n.startPos,line:n.startLine,column:n.startCol}}}return t.prototype.clone=function(){return new t(this)},t.prototype.peek=function(){return this.state.peek},t.prototype.charsLeft=function(){return this.end-this.state.offset},t.prototype.diff=function(t){return this.state.offset-t.state.offset},t.prototype.advance=function(){this.advanceState(this.state)},t.prototype.init=function(){this.updatePeek(this.state)},t.prototype.getSpan=function(t,e){var n=t=t||this;if(e)for(;this.diff(t)>0&&-1!==e.indexOf(t.peek());)n===t&&(t=t.clone()),t.advance();var r=this.locationFromCursor(t),i=this.locationFromCursor(this),o=n!==t?this.locationFromCursor(n):r;return new to(r,i,o)},t.prototype.getChars=function(t){return this.input.substring(t.state.offset,this.state.offset)},t.prototype.charAt=function(t){return this.input.charCodeAt(t)},t.prototype.advanceState=function(t){if(t.offset>=this.end)throw this.state=t,new gu('Unexpected character "EOF"',this);var e=this.charAt(t.offset);10===e?(t.line++,t.column=0):Qi(e)||t.column++,t.offset++,this.updatePeek(t)},t.prototype.updatePeek=function(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)},t.prototype.locationFromCursor=function(t){return new Ji(t.file,t.state.offset,t.state.line,t.state.column)},t}(),yu=function(t){function e(n,r){var i=this;return n instanceof e?(i=t.call(this,n)||this).internalState=Object.assign({},n.internalState):(i=t.call(this,n,r)||this).internalState=i.state,i}return r(e,t),e.prototype.advance=function(){this.state=this.internalState,t.prototype.advance.call(this),this.processEscapeSequence()},e.prototype.init=function(){t.prototype.init.call(this),this.processEscapeSequence()},e.prototype.clone=function(){return new e(this)},e.prototype.getChars=function(t){for(var e=t.clone(),n="";e.internalState.offset0)return this.errors=this.errors.concat(o.errors),null;var s=new to(e.sourceSpan.start,i.sourceSpan.end,e.sourceSpan.fullStart),a=new to(n.sourceSpan.start,i.sourceSpan.end,n.sourceSpan.fullStart);return new Za(e.parts[0],o.rootNodes,s,e.sourceSpan,a)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[21];;){if((19===this._peek.type||21===this._peek.type)&&n.push(this._peek.type),22===this._peek.type){if(!Eu(n,21))return this.errors.push(Su.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0===n.length)return e}if(23===this._peek.type){if(!Eu(n,19))return this.errors.push(Su.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(24===this._peek.type)return this.errors.push(Su.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=[t],n=t.sourceSpan,r=t.parts[0];if(r.length>0&&"\n"===r[0]){var i=this._getParentElement();null!=i&&0===i.children.length&&this.getTagDefinition(i.name).ignoreFirstLf&&(r=r.substring(1),e[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[r]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)t=this._advance(),e.push(t),r+=8===t.type?t.parts.join("").replace(/&([^;]+);/g,bu):9===t.type?t.parts[0]:t.parts.join("");r.length>0&&this._addToParent(new Ga(r,new to(n.start,t.sourceSpan.end,n.fullStart,n.details),e))},t.prototype._closeVoidElement=function(){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()},t.prototype._consumeStartTag=function(t){for(var e=s(t.parts,2),n=e[0],r=e[1],i=[];14===this._peek.type;)i.push(this._consumeAttr(this._advance()));var o=this._getElementFullName(n,r,this._getParentElement()),a=!1;if(2===this._peek.type){this._advance(),a=!0;var u=this.getTagDefinition(o);u.canSelfClose||null!==h(o)||u.isVoid||this.errors.push(Su.create(o,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else 1===this._peek.type&&(this._advance(),a=!1);var c=this._peek.sourceSpan.fullStart,l=new to(t.sourceSpan.start,c,t.sourceSpan.fullStart),p=new to(t.sourceSpan.start,c,t.sourceSpan.fullStart),f=new $a(o,i,[],l,p,void 0);this._pushElement(f),a?this._popElement(o,l):4===t.type&&(this._popElement(o,null),this.errors.push(Su.create(o,l,'Opening tag "'+o+'" not terminated.')))},t.prototype._pushElement=function(t){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop(),this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());this.getTagDefinition(e).isVoid?this.errors.push(Su.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"')):this._popElement(e,t.sourceSpan)||this.errors.push(Su.create(e,t.sourceSpan,'Unexpected closing tag "'+e+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags'))},t.prototype._popElement=function(t,e){for(var n=!1,r=this._elementStack.length-1;r>=0;r--){var i=this._elementStack[r];if(i.name===t)return i.endSourceSpan=e,i.sourceSpan.end=null!==e?e.end:i.sourceSpan.end,this._elementStack.splice(r,this._elementStack.length-r),!n;this.getTagDefinition(i.name).closedByParent||(n=!0)}return!1},t.prototype._consumeAttr=function(t){var e=f(t.parts[0],t.parts[1]),n=t.sourceSpan.end;15===this._peek.type&&this._advance();var r="",i=[],o=void 0,s=void 0;if(16===this._peek.type)for(o=this._peek.sourceSpan,s=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){var a=this._advance();i.push(a),r+=17===a.type?a.parts.join("").replace(/&([^;]+);/g,bu):9===a.type?a.parts[0]:a.parts.join(""),s=n=a.sourceSpan.end}15===this._peek.type&&(n=this._advance().sourceSpan.end);var u=o&&s&&new to(o.start,s,o.fullStart);return new Qa(e,r,new to(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,u,i.length>0?i:void 0,void 0)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._addToParent=function(t){var e=this._getParentElement();null!=e?e.children.push(t):this.rootNodes.push(t)},t.prototype._getElementFullName=function(t,e,n){if(""===t&&""===(t=this.getTagDefinition(e).implicitNamespacePrefix||"")&&null!=n){var r=u(n.name)[1];this.getTagDefinition(r).preventNamespaceInheritance||(t=h(n.name))}return f(t,e)},t}();function Eu(t,e){return t.length>0&&t[t.length-1]===e}function bu(t,e){return void 0!==eu[e]?eu[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}var Cu=function(t){function e(){return t.call(this,y)||this}return r(e,t),e.prototype.parse=function(e,n,r){return t.prototype.parse.call(this,e,n,r)},e}(xu),Tu="ngPreserveWhitespaces",Pu=new Set(["pre","template","textarea","script","style"]),Mu=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",ku=new RegExp("[^"+Mu+"]"),Iu=new RegExp("["+Mu+"]{2,}","g");function Nu(t){return t.replace(new RegExp("\ue500","g")," ")}var Au=function(){function t(){}return t.prototype.visitElement=function(t,e){return Pu.has(t.name)||function(t){return t.some(function(t){return t.name===Tu})}(t.attrs)?new $a(t.name,Ja(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n):new $a(t.name,t.attrs,function(t,e){var n=[];return e.forEach(function(r,i){var o=r.visit(t,{prev:e[i-1],next:e[i+1]});o&&n.push(o)}),n}(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n)},t.prototype.visitAttribute=function(t,e){return t.name!==Tu?t:null},t.prototype.visitText=function(t,e){if(t.value.match(ku)||e&&(e.prev instanceof Ka||e.next instanceof Ka)){var n=t.tokens.map(function(t){return 5===t.type?function(t){var e=t.sourceSpan;return{type:t.type,parts:[Ou(t.parts[0])],sourceSpan:e}}(t):t}),r=Ou(t.value);return new Ga(r,t.sourceSpan,n,t.i18n)}return null},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}();function Ou(t){return Nu(t).replace(Iu," ")}var Ru=["zero","one","two","few","many","other"];function Fu(t){var e=new Bu;return new Lu(Ja(e,t),e.isExpanded,e.errors)}var Du,Lu=function(t,e,n){this.nodes=t,this.expanded=e,this.errors=n},ju=function(t){function e(e,n){return t.call(this,e,n)||this}return r(e,t),e}(eo),Bu=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new $a(t.name,t.attrs,Ja(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"===t.type?function(t,e){var n=t.cases.map(function(t){-1===Ru.indexOf(t.value)&&!t.value.match(/^=\d+$/)&&e.push(new ju(t.valueSourceSpan,'Plural cases should be "=" or one of '+Ru.join(", ")));var n=Fu(t.expression);return e.push.apply(e,a([],s(n.errors))),new $a("ng-template",[new Qa("ngPluralCase",""+t.value,t.valueSourceSpan,void 0,void 0,void 0,void 0)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Qa("[ngPlural]",t.switchValue,t.switchValueSourceSpan,void 0,void 0,void 0,void 0);return new $a("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}(t,this.errors):function(t,e){var n=t.cases.map(function(t){var n=Fu(t.expression);return e.push.apply(e,a([],s(n.errors))),new $a("ng-template","other"===t.value?[new Qa("ngSwitchDefault","",t.valueSourceSpan,void 0,void 0,void 0,void 0)]:[new Qa("ngSwitchCase",""+t.value,t.valueSourceSpan,void 0,void 0,void 0,void 0)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Qa("[ngSwitch]",t.switchValue,t.switchValueSourceSpan,void 0,void 0,void 0,void 0);return new $a("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}();var Vu=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),qu=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),Uu=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),Hu=((Du={})[4]=4,Du[1]=1,Du[2]=2,Du[0]=0,Du[3]=3,Du),zu=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=4===this.type}return t.fromBoundProperty=function(e){return new t(e.name,Hu[e.type],e.securityContext,e.value,e.unit,e.sourceSpan)},t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}(),Wu=function(){function t(e,n,r,i,o,s){this.name=e,this.target=n,this.phase=r,this.handler=i,this.sourceSpan=o,this.handlerSpan=s,this.fullName=t.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.fromParsedEvent=function(e){return new t(e.name,0===e.type?e.targetOrPhase:null,1===e.type?e.targetOrPhase:null,e.handler,e.sourceSpan,e.handlerSpan)},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},t}(),Gu=function(){function t(t,e,n,r){this.name=t,this.value=e,this.originalValue=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),Ku=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.fromParsedVariable=function(e){return new t(e.name,e.value,e.sourceSpan,e.valueSpan)},t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),Zu=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),Qu=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),$u=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),Yu=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),Ju=function(){function t(t,e,n,r,i,o,s,a){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s,this.isModule=a}return t.prototype.visit=function(t,e){return null},t}();!function(t){t[t.PublicService=0]="PublicService",t[t.PrivateService=1]="PrivateService",t[t.Component=2]="Component",t[t.Directive=3]="Directive",t[t.Builtin=4]="Builtin"}(t.ProviderAstType||(t.ProviderAstType={}));var Xu=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),tc=function(){function t(){}return t.prototype.visitNgContent=function(t,e){},t.prototype.visitEmbeddedTemplate=function(t,e){},t.prototype.visitElement=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t.prototype.visitBoundText=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t}(),ec=function(t){function e(){return t.call(this)||this}return r(e,t),e.prototype.visitEmbeddedTemplate=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.references),e(t.variables),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitElement=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.inputs),e(t.outputs),e(t.references),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitDirective=function(t,e){return this.visitChildren(e,function(e){e(t.inputs),e(t.hostProperties),e(t.hostEvents)})},e.prototype.visitChildren=function(t,e){var n=[],r=this;return e(function(e){e&&e.length&&n.push(nc(r,e,t))}),Array.prototype.concat.apply([],n)},e}(tc);function nc(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}var rc=function(t){function e(e,n){return t.call(this,n,e)||this}return r(e,t),e}(eo),ic=function(t,e){var n=this;this.reflector=t,this.component=e,this.errors=[],this.viewQueries=function(t){var e=1,n=new Map;return t.viewQueries&&t.viewQueries.forEach(function(t){return lc(n,{meta:t,queryId:e++})}),n}(e),this.viewProviders=new Map,e.viewProviders.forEach(function(t){null==n.viewProviders.get(wa(t.token))&&n.viewProviders.set(wa(t.token),!0)})},oc=function(){function e(e,n,r,i,o,s,a,u,c){var l=this;this.viewContext=e,this._parent=n,this._isViewRoot=r,this._directiveAsts=i,this._sourceSpan=c,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},o.forEach(function(t){return l._attrs[t.name]=t.value});var p=i.map(function(t){return t.directive});if(this._allProviders=function(e,n,r){var i=new Map;return e.forEach(function(e){cc([{token:{identifier:e.type},useClass:e.type}],e.isComponent?t.ProviderAstType.Component:t.ProviderAstType.Directive,!0,n,r,i,!1)}),e.filter(function(t){return t.isComponent}).concat(e.filter(function(t){return!t.isComponent})).forEach(function(e){cc(e.providers,t.ProviderAstType.PublicService,!1,n,r,i,!1),cc(e.viewProviders,t.ProviderAstType.PrivateService,!1,n,r,i,!1)}),i}(p,c,e.errors),this._contentQueries=function(t,e){var n=t,r=new Map;return e.forEach(function(t,e){t.queries&&t.queries.forEach(function(t){return lc(r,{meta:t,queryId:n++})})}),r}(u,p),Array.from(this._allProviders.values()).forEach(function(t){l._addQueryReadsTo(t.token,t.token,l._queriedTokens)}),a){var h=vs(this.viewContext.reflector,fs.TemplateRef);this._addQueryReadsTo(h,h,this._queriedTokens)}s.forEach(function(t){var e=t.value||vs(l.viewContext.reflector,fs.ElementRef);l._addQueryReadsTo({value:t.name},e,l._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(fs.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||l._queriedTokens.get(wa(t.token)))&&l._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return e.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(e.prototype,"transformProviders",{get:function(){var t=[],e=[];return this._transformedProviders.forEach(function(n){n.eager?e.push(n):t.push(n)}),t.concat(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,a([],s(e)))}),t},enumerable:!1,configurable:!0}),e.prototype._addQueryReadsTo=function(t,e,n){this._getQueriesFor(t).forEach(function(t){var r=t.meta.read||e,i=wa(r),o=n.get(i);o||n.set(i,o=[]),o.push({queryId:t.queryId,value:r})})},e.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,i=0;null!==r;)(e=r._contentQueries.get(wa(t)))&&n.push.apply(n,a([],s(e.filter(function(t){return t.meta.descendants||i<=1})))),r._directiveAsts.length>0&&i++,r=r._parent;return(e=this.viewContext.viewQueries.get(wa(t)))&&n.push.apply(n,a([],s(e))),n},e.prototype._getOrCreateLocalProvider=function(e,n,r){var i=this,o=this._allProviders.get(wa(n));if(!o||(e===t.ProviderAstType.Directive||e===t.ProviderAstType.PublicService)&&o.providerType===t.ProviderAstType.PrivateService||(e===t.ProviderAstType.PrivateService||e===t.ProviderAstType.PublicService)&&o.providerType===t.ProviderAstType.Builtin)return null;var s=this._transformedProviders.get(wa(n));if(s)return s;if(null!=this._seenProviders.get(wa(n)))return this.viewContext.errors.push(new rc("Cannot instantiate cyclic dependency! "+xa(n),this._sourceSpan)),null;this._seenProviders.set(wa(n),!0);var a=o.providers.map(function(t){var e=t.useValue,n=t.useExisting,s=void 0;if(null!=t.useExisting){var a=i._getDependency(o.providerType,{token:t.useExisting},r);null!=a.token?n=a.token:(n=null,e=a.value)}else t.useFactory?s=(t.deps||t.useFactory.diDeps).map(function(t){return i._getDependency(o.providerType,t,r)}):t.useClass&&(s=(t.deps||t.useClass.diDeps).map(function(t){return i._getDependency(o.providerType,t,r)}));return ac(t,{useExisting:n,useValue:e,deps:s})});return s=uc(o,{eager:r,providers:a}),this._transformedProviders.set(wa(n),s),s},e.prototype._getLocalDependency=function(e,n,r){if(void 0===r&&(r=!1),n.isAttribute){var i=this._attrs[n.token.value];return{isValue:!0,value:null==i?null:i}}if(null!=n.token){if(e===t.ProviderAstType.Directive||e===t.ProviderAstType.Component){if(wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.Renderer)||wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.ElementRef)||wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.ChangeDetectorRef)||wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.TemplateRef))return n;wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(wa(n.token)===this.viewContext.reflector.resolveExternalReference(fs.Injector)||null!=this._getOrCreateLocalProvider(e,n.token,r))return n}return null},e.prototype._getDependency=function(e,n,r){void 0===r&&(r=!1);var i=this,o=r,s=null;if(n.isSkipSelf||(s=this._getLocalDependency(e,n,r)),n.isSelf)!s&&n.isOptional&&(s={isValue:!0,value:null});else{for(;!s&&i._parent;)i._isViewRoot&&(o=!1),s=(i=i._parent)._getLocalDependency(t.ProviderAstType.PublicService,n,o);s||(s=!n.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===wa(n.token)||null!=this.viewContext.viewProviders.get(wa(n.token))?n:n.isOptional?{isValue:!0,value:null}:null)}return s||this.viewContext.errors.push(new rc("No provider for "+xa(n.token),this._sourceSpan)),s},e}(),sc=function(){function e(e,n,r,i){var o=this;this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,n.transitiveModule.modules.forEach(function(e){cc([{token:{identifier:e},useClass:e}],t.ProviderAstType.PublicService,!0,i,o._errors,o._allProviders,!0)}),cc(n.transitiveModule.providers.map(function(t){return t.provider}).concat(r),t.ProviderAstType.PublicService,!1,i,this._errors,this._allProviders,!1)}return e.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}var n=[],r=[];return this._transformedProviders.forEach(function(t){t.eager?r.push(t):n.push(t)}),n.concat(r)},e.prototype._getOrCreateLocalProvider=function(t,e){var n=this,r=this._allProviders.get(wa(t));if(!r)return null;var i=this._transformedProviders.get(wa(t));if(i)return i;if(null!=this._seenProviders.get(wa(t)))return this._errors.push(new rc("Cannot instantiate cyclic dependency! "+xa(t),r.sourceSpan)),null;this._seenProviders.set(wa(t),!0);var o=r.providers.map(function(t){var i=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=n._getDependency({token:t.useExisting},e,r.sourceSpan);null!=a.token?o=a.token:(o=null,i=a.value)}else t.useFactory?s=(t.deps||t.useFactory.diDeps).map(function(t){return n._getDependency(t,e,r.sourceSpan)}):t.useClass&&(s=(t.deps||t.useClass.diDeps).map(function(t){return n._getDependency(t,e,r.sourceSpan)}));return ac(t,{useExisting:o,useValue:i,deps:s})});return i=uc(r,{eager:e,providers:o}),this._transformedProviders.set(wa(t),i),i},e.prototype._getDependency=function(t,e,n){return void 0===e&&(e=!1),t.isSkipSelf||null==t.token||wa(t.token)!==this.reflector.resolveExternalReference(fs.Injector)&&wa(t.token)!==this.reflector.resolveExternalReference(fs.ComponentFactoryResolver)&&this._getOrCreateLocalProvider(t.token,e),t},e}();function ac(t,e){return{token:t.token,useClass:t.useClass,useExisting:e.useExisting,useFactory:t.useFactory,useValue:e.useValue,deps:e.deps,multi:t.multi}}function uc(t,e){return new Ju(t.token,t.multiProvider,t.eager||e.eager,e.providers,t.providerType,t.lifecycleHooks,t.sourceSpan,t.isModule)}function cc(t,e,n,r,i,o,s){t.forEach(function(t){var a=o.get(wa(t.token));null!=a&&!!a.multiProvider!=!!t.multi&&i.push(new rc("Mixing multi and non multi provider is not possible for token "+xa(a.token),r)),a?(t.multi||(a.providers.length=0),a.providers.push(t)):(a=new Ju(t.token,!!t.multi,n||!(t.useClass||t.useExisting||t.useFactory),[t],e,t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[],r,s),o.set(wa(t.token),a))})}function lc(t,e){e.meta.selectors.forEach(function(n){var r=t.get(wa(n));r||(r=[],t.set(wa(n),r)),r.push(e)})}var pc=function(t,e){this.style=t,this.styleUrls=e};function hc(t){if(null==t||0===t.length||"/"==t[0])return!1;var e=t.match(vc);return null===e||"package"==e[1]||"asset"==e[1]}var fc=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,dc=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,vc=/^([^:/?#]+):/,mc="animate-",yc=function(){function e(t,e,n,r,i){if(this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this.errors=i,this.pipesByName=null,this._usedPipes=new Map,r){var o=new Map;r.forEach(function(t){return o.set(t.name,t)}),this.pipesByName=o}}return Object.defineProperty(e.prototype,"interpolationConfig",{get:function(){return this._interpolationConfig},enumerable:!1,configurable:!0}),e.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},e.prototype.createBoundHostProperties=function(t,e){var n=this;if(t.hostProperties){var r=[];return Object.keys(t.hostProperties).forEach(function(i){var o=t.hostProperties[i];"string"==typeof o?n.parsePropertyBinding(i,o,!0,e,e.start.offset,void 0,[],r,e):n._reportError('Value of the host property binding "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}return null},e.prototype.createDirectiveHostPropertyAsts=function(t,e,n){var r=this,i=this.createBoundHostProperties(t,n);return i&&i.map(function(t){return r.createBoundElementProperty(e,t)})},e.prototype.createDirectiveHostEventAsts=function(t,e){var n=this;if(t.hostListeners){var r=[];return Object.keys(t.hostListeners).forEach(function(i){var o=t.hostListeners[i];"string"==typeof o?n.parseEvent(i,o,e,e,[],r,e):n._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}return null},e.prototype.parseInterpolation=function(t,e){var n=e.start.toString(),r=e.fullStart.offset;try{var i=this._exprParser.parseInterpolation(t,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,e),this._checkPipes(i,e),i}catch(o){return this._reportError(""+o,e),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}},e.prototype.parseInterpolationExpression=function(t,e){var n=e.start.toString(),r=e.start.offset;try{var i=this._exprParser.parseInterpolationExpression(t,n,r);return i&&this._reportExpressionParserErrors(i.errors,e),this._checkPipes(i,e),i}catch(o){return this._reportError(""+o,e),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}},e.prototype.parseInlineTemplateBinding=function(t,e,n,r,i,s,a,u){var c,l,p=this._parseTemplateBindings(t,e,n,n.start.offset+"*".length,r);try{for(var h=o(p),f=h.next();!f.done;f=h.next()){var d=f.value,v=xc(n,d.sourceSpan),m=d.key.source,y=xc(n,d.key.span);if(d instanceof rs){var g=d.value?d.value.source:"$implicit",S=d.value?xc(n,d.value.span):void 0;a.push(new ls(m,g,v,y,S))}else if(d.value){var _=u?v:n;S=xc(n,d.value.ast.sourceSpan),this._parsePropertyAst(m,d.value,_,y,S,i,s)}else i.push([m,""]),this.parseLiteralAttr(m,null,y,r,void 0,i,s,y)}}catch(x){c={error:x}}finally{try{f&&!f.done&&(l=h.return)&&l.call(h)}finally{if(c)throw c.error}}},e.prototype._parseTemplateBindings=function(e,n,r,i,o){var s=this,a=r.start.toString();try{var u=this._exprParser.parseTemplateBindings(e,n,a,i,o);return this._reportExpressionParserErrors(u.errors,r),u.templateBindings.forEach(function(t){t.value instanceof ns&&s._checkPipes(t.value,r)}),u.warnings.forEach(function(e){s._reportError(e,r,t.ParseErrorLevel.WARNING)}),u.templateBindings}catch(c){return this._reportError(""+c,r),[]}},e.prototype.parseLiteralAttr=function(e,n,r,i,o,s,a,u){Sc(e)?(e=e.substring(1),void 0!==u&&(u=xc(u,new es(u.start.offset+1,u.end.offset))),n&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',r,t.ParseErrorLevel.ERROR),this._parseAnimation(e,n,r,i,u,o,s,a)):a.push(new us(e,this._exprParser.wrapLiteralPrimitive(n,"",i),t.ParsedPropertyType.LITERAL_ATTR,r,u,o))},e.prototype.parsePropertyBinding=function(t,e,n,r,i,o,s,a,u){0===t.length&&this._reportError("Property name is missing in binding",r);var c=!1;t.startsWith(mc)?(c=!0,t=t.substring(mc.length),void 0!==u&&(u=xc(u,new es(u.start.offset+mc.length,u.end.offset)))):Sc(t)&&(c=!0,t=t.substring(1),void 0!==u&&(u=xc(u,new es(u.start.offset+1,u.end.offset)))),c?this._parseAnimation(t,e,r,i,u,o,s,a):this._parsePropertyAst(t,this._parseBinding(e,n,o||r,i),r,u,o,s,a)},e.prototype.parsePropertyInterpolation=function(t,e,n,r,i,o,s){var a=this.parseInterpolation(e,r||n);return!!a&&(this._parsePropertyAst(t,a,n,s,r,i,o),!0)},e.prototype._parsePropertyAst=function(e,n,r,i,o,s,a){s.push([e,n.source]),a.push(new us(e,n,t.ParsedPropertyType.DEFAULT,r,i,o))},e.prototype._parseAnimation=function(e,n,r,i,o,s,a,u){0===e.length&&this._reportError("Animation trigger is missing",r);var c=this._parseBinding(n||"undefined",!1,s||r,i);a.push([e,c.source]),u.push(new us(e,c,t.ParsedPropertyType.ANIMATION,r,o,s))},e.prototype._parseBinding=function(t,e,n,r){var i=(n&&n.start||"(unknown)").toString();try{var o=e?this._exprParser.parseSimpleBinding(t,i,r,this._interpolationConfig):this._exprParser.parseBinding(t,i,r,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,n),this._checkPipes(o,n),o}catch(s){return this._reportError(""+s,n),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}},e.prototype.createBoundElementProperty=function(t,e,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e.isAnimation)return new ps(e.name,4,Z.NONE,e.expression,null,e.sourceSpan,e.keySpan,e.valueSpan);var i=null,o=void 0,s=null,a=e.name.split("."),u=void 0;if(a.length>1)if("attr"==a[0]){s=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(s,e.sourceSpan,!0),u=_c(this._schemaRegistry,t,s,!0);var c=s.indexOf(":");if(c>-1){var l=s.substring(0,c),p=s.substring(c+1);s=f(l,p)}o=1}else"class"==a[0]?(s=a[1],o=2,u=[Z.NONE]):"style"==a[0]&&(i=a.length>2?a[2]:null,s=a[1],o=3,u=[Z.STYLE]);if(null===s){var h=this._schemaRegistry.getMappedPropName(e.name);s=r?h:e.name,u=_c(this._schemaRegistry,t,h,!1),o=0,n||this._validatePropertyOrAttributeName(h,e.sourceSpan,!1)}return new ps(s,o,u[0],e.expression,i,e.sourceSpan,e.keySpan,e.valueSpan)},e.prototype.parseEvent=function(t,e,n,r,i,o,s){0===t.length&&this._reportError("Event name is missing in binding",n),Sc(t)?(t=t.substr(1),void 0!==s&&(s=xc(s,new es(s.start.offset+1,s.end.offset))),this._parseAnimationEvent(t,e,n,r,o,s)):this._parseRegularEvent(t,e,n,r,i,o,s)},e.prototype.calcPossibleSecurityContexts=function(t,e,n){var r=this._schemaRegistry.getMappedPropName(e);return _c(this._schemaRegistry,t,r,n)},e.prototype._parseAnimationEvent=function(t,e,n,r,i,o){var s=function(t,e){return Ye(t,".",e)}(t,[t,""]),a=s[0],u=s[1].toLowerCase(),c=this._parseAction(e,r);i.push(new cs(a,u,1,c,n,r,o)),0===a.length&&this._reportError("Animation event name is missing in binding",n),u?"start"!==u&&"done"!==u&&this._reportError('The provided animation output phase value "'+u+'" for "@'+a+'" is not supported (use start or done)',n):this._reportError("The animation trigger output event (@"+a+") is missing its phase value name (start or done are currently supported)",n)},e.prototype._parseRegularEvent=function(t,e,n,r,i,o,a){var u=s($e(t,[null,t]),2),c=u[0],l=u[1],p=this._parseAction(e,r);i.push([t,p.source]),o.push(new cs(l,c,0,p,n,r,a))},e.prototype._parseAction=function(t,e){var n=(e&&e.start||"(unknown").toString(),r=e&&e.start?e.start.offset:0;try{var i=this._exprParser.parseAction(t,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,e),!i||i.ast instanceof Ao?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(i,e),i)}catch(o){return this._reportError(""+o,e),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}},e.prototype._reportError=function(e,n,r){void 0===r&&(r=t.ParseErrorLevel.ERROR),this.errors.push(new eo(n,e,r))},e.prototype._reportExpressionParserErrors=function(t,e){var n,r;try{for(var i=o(t),s=i.next();!s.done;s=i.next())this._reportError(s.value.message,e)}catch(a){n={error:a}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype._checkPipes=function(t,e){var n=this;if(t&&this.pipesByName){var r=new gc;t.visit(r),r.pipes.forEach(function(t,r){var i=n.pipesByName.get(r);i?n._usedPipes.set(r,i):n._reportError("The pipe '"+r+"' could not be found",new to(e.start.moveBy(t.span.start),e.start.moveBy(t.span.end)))})}},e.prototype._validatePropertyOrAttributeName=function(e,n,r){var i=r?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);i.error&&this._reportError(i.msg,n,t.ParseErrorLevel.ERROR)},e}(),gc=function(t){function e(){var e=t.apply(this,a([],s(arguments)))||this;return e.pipes=new Map,e}return r(e,t),e.prototype.visitPipe=function(t,e){return this.pipes.set(t.name,t),t.exp.visit(this),this.visitAll(t.args,e),null},e}(os);function Sc(t){return"@"==t[0]}function _c(t,e,n,r){var i=[];return S.parse(e).forEach(function(e){var o=e.element?[e.element]:t.allKnownElementNames(),u=new Set(e.notSelectors.filter(function(t){return t.isElementSelector()}).map(function(t){return t.element})),c=o.filter(function(t){return!u.has(t)});i.push.apply(i,a([],s(c.map(function(e){return t.securityContext(e,n,r)}))))}),0===i.length?[Z.NONE]:Array.from(new Set(i)).sort()}function xc(t,e){var n=e.start-t.start.offset,r=e.end-t.end.offset;return new to(t.start.moveBy(n),t.end.moveBy(r),t.fullStart.moveBy(n),t.details)}function wc(t){var e=null,n=null,r=null,i=!1,o="";t.attrs.forEach(function(t){var s=t.name.toLowerCase();"select"==s?e=t.value:"href"==s?n=t.value:"rel"==s?r=t.value:"ngNonBindable"==t.name?i=!0:"ngProjectAs"==t.name&&t.value.length>0&&(o=t.value)}),e=function(t){return null===t||0===t.length?"*":t}(e);var s=t.name.toLowerCase(),a=Ec.OTHER;return l(s)?a=Ec.NG_CONTENT:"style"==s?a=Ec.STYLE:"script"==s?a=Ec.SCRIPT:"link"==s&&"stylesheet"==r&&(a=Ec.STYLESHEET),new bc(a,e,n,i,o)}var Ec=(()=>((Ec=Ec||{})[Ec.NG_CONTENT=0]="NG_CONTENT",Ec[Ec.STYLE=1]="STYLE",Ec[Ec.STYLESHEET=2]="STYLESHEET",Ec[Ec.SCRIPT=3]="SCRIPT",Ec[Ec.OTHER=4]="OTHER",Ec))(),bc=function(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i};var Cc,Tc=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function Pc(){return Cc||(Cc=S.parse("*")[0]),Cc}var Mc=function(t){function e(e,n,r){return t.call(this,n,e,r)||this}return r(e,t),e}(eo),kc=function(t,e,n){this.templateAst=t,this.usedPipes=e,this.errors=n},Ic=function(){function e(t,e,n,r,i,o,s){this._config=t,this._reflector=e,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=s}return Object.defineProperty(e.prototype,"expressionParser",{get:function(){return this._exprParser},enumerable:!1,configurable:!0}),e.prototype.parse=function(e,n,r,i,o,s,a){var u,c=this.tryParse(e,n,r,i,o,s,a),l=c.errors.filter(function(e){return e.level===t.ParseErrorLevel.WARNING}),p=c.errors.filter(function(e){return e.level===t.ParseErrorLevel.ERROR});if(l.length>0&&(null===(u=this._console)||void 0===u||u.warn("Template parse warnings:\n"+l.join("\n"))),p.length>0)throw io("Template parse errors:\n"+p.join("\n"),p);return{template:c.templateAst,pipes:c.usedPipes}},e.prototype.tryParse=function(t,e,n,r,i,o,s){var a="string"==typeof e?this._htmlParser.parse(e,o,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(t)}):e;return s||(a=function(t){return new _u(Ja(new Au,t.rootNodes),t.errors)}(a)),this.tryParseHtml(this.expandHtml(a),t,n,r,i)},e.prototype.tryParseHtml=function(t,e,n,r,i){var o,u=t.errors,c=[];if(t.rootNodes.length>0){var l=Vc(n),p=Vc(r),h=new ic(this._reflector,e),f=void 0;e.template&&e.template.interpolation&&(f={start:e.template.interpolation[0],end:e.template.interpolation[1]});var d=new yc(this._exprParser,f,this._schemaRegistry,p,u),v=new Nc(this._reflector,this._config,h,l,d,this._schemaRegistry,i,u);o=Ja(v,t.rootNodes,Lc),u.push.apply(u,a([],s(h.errors))),c.push.apply(c,a([],s(d.getUsedPipes())))}else o=[];return this._assertNoReferenceDuplicationOnTemplate(o,u),u.length>0||this.transforms&&this.transforms.forEach(function(t){o=nc(t,o)}),new kc(o,c,u)},e.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=Fu(t.rootNodes);n.push.apply(n,a([],s(r.errors))),t=new _u(r.nodes,n)}return t},e.prototype.getInterpolationConfig=function(t){if(t.template)return Vi.fromArray(t.template.interpolation)},e.prototype._assertNoReferenceDuplicationOnTemplate=function(e,n){var r=[];e.filter(function(t){return!!t.references}).forEach(function(e){return e.references.forEach(function(e){var i=e.name;if(r.indexOf(i)<0)r.push(i);else{var o=new Mc('Reference "#'+i+'" is defined several times',e.sourceSpan,t.ParseErrorLevel.ERROR);n.push(o)}})})},e}(),Nc=function(){function e(t,e,n,r,i,o,s,a){var u=this;this.reflector=t,this.config=e,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=s,this._targetErrors=a,this.selectorMatcher=new _,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(t,e){var n=S.parse(t.selector);u.selectorMatcher.addSelectables(n,t),u.directivesIndex.set(t,e)})}return e.prototype.visitExpansion=function(t,e){return null},e.prototype.visitExpansionCase=function(t,e){return null},e.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Pc()),r=Nu(t.value),i=this._bindingParser.parseInterpolation(r,t.sourceSpan);return i?new qu(i,n,t.sourceSpan):new Vu(r,n,t.sourceSpan)},e.prototype.visitAttribute=function(t,e){return new Uu(t.name,t.value,t.sourceSpan)},e.prototype.visitComment=function(t,e){return null},e.prototype.visitElement=function(t,e){var n=this,r=this.contentQueryStartId,i=t.name,o=wc(t);if(o.type===Ec.SCRIPT||o.type===Ec.STYLE||o.type===Ec.STYLESHEET&&hc(o.hrefAttr))return null;var u=[],c=[],l=[],h=[],f=[],d=[],v=[],m=[],y=!1,g=[],_=p(t.name);t.attrs.forEach(function(t){var e=n._parseAttr(_,t,u,c,f,l,h);h.push.apply(h,a([],s([].map(function(t){return Ku.fromParsedVariable(t)}))));var r,i,o=n._normalizeAttributeName(t.name);o.startsWith("*")&&(r=t.value,i=o.substring("*".length));var p=null!=r;if(p){y&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",t.sourceSpan),y=!0;var S=[];n._bindingParser.parseInlineTemplateBinding(i,r,t.sourceSpan,(t.valueSpan||t.sourceSpan).start.offset,v,d,S,!1),m.push.apply(m,a([],s(S.map(function(t){return Ku.fromParsedVariable(t)}))))}!e&&!p&&(g.push(n.visitAttribute(t,null)),u.push([t.name,t.value]))});var x=Dc(i,u),w=this._parseDirectives(this.selectorMatcher,x),E=w.directives,b=w.matchElement,C=[],T=new Set,P=this._createDirectiveAsts(_,t.name,E,c,l,t.sourceSpan,C,T),M=this._createElementPropertyAsts(t.name,c,T),k=new oc(this.providerViewContext,e.providerContext,e.isTemplateElement||y,P,g,C,_,r,t.sourceSpan),I=Ja(o.nonBindable?jc:this,t.children,Fc.create(_,P,_?e.providerContext:k));k.afterElement();var N,A=""!=o.projectAs?S.parse(o.projectAs)[0]:x,O=e.findNgContentIndex(A);if(o.type===Ec.NG_CONTENT)t.children&&!t.children.every(Bc)&&this._reportError(" element cannot have content.",t.sourceSpan),N=new Xu(this.ngContentCount++,y?null:O,t.sourceSpan);else if(_)this._assertAllEventsPublishedByDirectives(P,f),this._assertNoComponentsNorElementBindingsOnTemplate(P,M,t.sourceSpan),N=new Qu(g,f,C,h,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,k.queryMatches,I,y?null:O,t.sourceSpan);else{this._assertElementExists(b,t),this._assertOnlyOneComponent(P,t.sourceSpan);var R=y?null:e.findNgContentIndex(A);N=new Zu(i,g,M,f,C,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,k.queryMatches,I,y?null:R,t.sourceSpan,t.endSourceSpan||null)}if(y){var F=this.contentQueryStartId,D=Dc("ng-template",v),L=this._parseDirectives(this.selectorMatcher,D).directives,j=new Set,B=this._createDirectiveAsts(!0,i,L,d,[],t.sourceSpan,[],j),V=this._createElementPropertyAsts(i,d,j);this._assertNoComponentsNorElementBindingsOnTemplate(B,V,t.sourceSpan);var q=new oc(this.providerViewContext,e.providerContext,e.isTemplateElement,B,[],[],!0,F,t.sourceSpan);q.afterElement(),N=new Qu([],[],[],m,q.transformedDirectiveAsts,q.transformProviders,q.transformedHasViewContainer,q.queryMatches,[N],O,t.sourceSpan)}return N},e.prototype._parseAttr=function(t,e,n,r,i,o,u){var c=this._normalizeAttributeName(e.name),l=e.value,p=e.sourceSpan,h=e.valueSpan?e.valueSpan.start.offset:p.start.offset,f=[],d=c.match(Tc),v=!1;return null!==d?(v=!0,null!=d[1]?this._bindingParser.parsePropertyBinding(d[7],l,!1,p,h,e.valueSpan,n,r):d[2]?t?this._parseVariable(d[7],l,p,u):this._reportError('"let-" is only supported on ng-template elements.',p):d[3]?this._parseReference(d[7],l,p,o):d[4]?this._bindingParser.parseEvent(d[7],l,p,e.valueSpan||p,n,f):d[5]?(this._bindingParser.parsePropertyBinding(d[7],l,!1,p,h,e.valueSpan,n,r),this._parseAssignmentEvent(d[7],l,p,e.valueSpan||p,n,f)):d[6]?this._bindingParser.parseLiteralAttr(c,l,p,h,e.valueSpan,n,r):d[8]?(this._bindingParser.parsePropertyBinding(d[8],l,!1,p,h,e.valueSpan,n,r),this._parseAssignmentEvent(d[8],l,p,e.valueSpan||p,n,f)):d[9]?this._bindingParser.parsePropertyBinding(d[9],l,!1,p,h,e.valueSpan,n,r):d[10]&&this._bindingParser.parseEvent(d[10],l,p,e.valueSpan||p,n,f)):v=this._bindingParser.parsePropertyInterpolation(c,l,p,e.valueSpan,n,r),v||this._bindingParser.parseLiteralAttr(c,l,p,h,e.valueSpan,n,r),i.push.apply(i,a([],s(f.map(function(t){return Wu.fromParsedEvent(t)})))),v},e.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},e.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1?this._reportError('"-" is not allowed in variable names',n):0===t.length&&this._reportError("Variable does not have a name",n),r.push(new Ku(t,e,n))},e.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1?this._reportError('"-" is not allowed in reference names',n):0===t.length&&this._reportError("Reference does not have a name",n),r.push(new Oc(t,e,n))},e.prototype._parseAssignmentEvent=function(t,e,n,r,i,o){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i,o)},e.prototype._parseDirectives=function(t,e){var n=this,r=mn(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},e.prototype._createDirectiveAsts=function(t,e,n,r,i,o,s,a){var u=this,c=new Set,l=null,p=n.map(function(t){var n=new to(o.start,o.end,o.fullStart,"Directive "+uo(t.type));t.isComponent&&(l=t);var p=[],h=u._bindingParser.createDirectiveHostPropertyAsts(t,e,n).map(function(t){return zu.fromBoundProperty(t)});h=u._checkPropertiesInSchema(e,h);var f=u._bindingParser.createDirectiveHostEventAsts(t,n);u._createDirectivePropertyAsts(t.inputs,r,p,a),i.forEach(function(e){(0===e.value.length&&t.isComponent||e.isReferenceToDirective(t))&&(s.push(new Gu(e.name,ds(t.type.reference),e.value,e.sourceSpan)),c.add(e.name))});var d=f.map(function(t){return Wu.fromParsedEvent(t)}),v=u.contentQueryStartId;return u.contentQueryStartId+=t.queries.length,new Yu(t,p,h,d,v,n)});return i.forEach(function(e){if(e.value.length>0)c.has(e.name)||u._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!l){var n=null;t&&(n=vs(u.reflector,fs.TemplateRef)),s.push(new Gu(e.name,n,e.value,e.sourceSpan))}}),p},e.prototype._createDirectivePropertyAsts=function(t,e,n,r){if(t){var i=new Map;e.forEach(function(t){var e=i.get(t.name);(!e||e.isLiteral)&&i.set(t.name,t)}),Object.keys(t).forEach(function(e){var o=i.get(t[e]);o&&(r.add(o.name),qc(o.expression)||n.push(new $u(e,o.name,o.expression,o.sourceSpan)))})}},e.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[];return e.forEach(function(e){if(!e.isLiteral&&!n.has(e.name)){var o=r._bindingParser.createBoundElementProperty(t,e);i.push(zu.fromBoundProperty(o))}}),this._checkPropertiesInSchema(t,i)},e.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},e.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return uo(t.directive.type)})},e.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},e.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",n.indexOf("-")>-1?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,e.sourceSpan)}},e.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},e.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,r=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){r.add(t.directive.outputs[e])})}),e.forEach(function(t){(null!=t.target||!r.has(t.name))&&n._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',t.sourceSpan)})},e.prototype._checkPropertiesInSchema=function(t,e){var n=this;return e.filter(function(e){if(0===e.type&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.startsWith("ng-")?r+="\n1. If '"+e.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module.\n2. If '"+t+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),n._reportError(r,e.sourceSpan)}return!qc(e.value)})},e.prototype._reportError=function(e,n,r){void 0===r&&(r=t.ParseErrorLevel.ERROR),this._targetErrors.push(new eo(n,e,r))},e}(),Ac=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=wc(t);if(n.type===Ec.SCRIPT||n.type===Ec.STYLE||n.type===Ec.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=Dc(t.name,r),o=e.findNgContentIndex(i),s=Ja(this,t.children,Lc);return new Zu(t.name,Ja(this,t.attrs),[],[],[],[],[],!1,[],s,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new Uu(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Pc());return new Vu(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),Oc=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.isReferenceToDirective=function(t){return-1!==function(t){return t?t.split(",").map(function(t){return t.trim()}):[]}(t.exportAs).indexOf(this.value)},t}();function Rc(t){return t.trim().split(/\s+/g)}var Fc=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new _,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u0?e[0]:null},t}();function Dc(t,e){var n=new S,r=u(t)[1];n.setElement(r);for(var i=0;i0,0===i?i=39:39===i&&92!==t.charCodeAt(n-1)&&(i=0);break;case 34:u=u||o>0,0===i?i=34:34===i&&92!==t.charCodeAt(n-1)&&(i=0);break;case 58:!a&&0===r&&0===i&&(a=Hc(t.substring(s,n-1).trim()),o=n);break;case 59:if(a&&o>0&&0===r&&0===i){var c=t.substring(o,n-1).trim();e.push(a,u?Uc(c):c),s=n,o=0,a=null,u=!1}}return a&&o&&(c=t.substr(o).trim(),e.push(a,u?Uc(c):c)),e}(t),this._hasInitialValues=!0},t.prototype.registerClassAttr=function(t){this._initialClassValues=t.trim().split(/\s+/g),this._hasInitialValues=!0},t.prototype.populateInitialStylingAttrs=function(t){if(this._initialClassValues.length){t.push(De(1));for(var e=0;e0?t.substring(0,n):"",e=!0);var r=null,i=t,o=t.lastIndexOf(".");return o>0&&(r=t.substr(o+1),i=t.substring(0,o)),{property:i,suffix:r,hasOverrideFlag:e}}function Kc(t){switch(Oi(t)){case 1:return Ze.styleProp;case 3:return Ze.stylePropInterpolate1;case 5:return Ze.stylePropInterpolate2;case 7:return Ze.stylePropInterpolate3;case 9:return Ze.stylePropInterpolate4;case 11:return Ze.stylePropInterpolate5;case 13:return Ze.stylePropInterpolate6;case 15:return Ze.stylePropInterpolate7;case 17:return Ze.stylePropInterpolate8;default:return Ze.stylePropInterpolateV}}!function(t){t[t.Character=0]="Character",t[t.Identifier=1]="Identifier",t[t.PrivateIdentifier=2]="PrivateIdentifier",t[t.Keyword=3]="Keyword",t[t.String=4]="String",t[t.Operator=5]="Operator",t[t.Number=6]="Number",t[t.Error=7]="Error"}(t.TokenType||(t.TokenType={}));var Zc=["var","let","as","null","undefined","true","false","if","else","this"],Qc=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new tl(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t}(),$c=function(){function e(t,e,n,r,i){this.index=t,this.end=e,this.type=n,this.numValue=r,this.strValue=i}return e.prototype.isCharacter=function(e){return this.type==t.TokenType.Character&&this.numValue==e},e.prototype.isNumber=function(){return this.type==t.TokenType.Number},e.prototype.isString=function(){return this.type==t.TokenType.String},e.prototype.isOperator=function(e){return this.type==t.TokenType.Operator&&this.strValue==e},e.prototype.isIdentifier=function(){return this.type==t.TokenType.Identifier},e.prototype.isPrivateIdentifier=function(){return this.type==t.TokenType.PrivateIdentifier},e.prototype.isKeyword=function(){return this.type==t.TokenType.Keyword},e.prototype.isKeywordLet=function(){return this.type==t.TokenType.Keyword&&"let"==this.strValue},e.prototype.isKeywordAs=function(){return this.type==t.TokenType.Keyword&&"as"==this.strValue},e.prototype.isKeywordNull=function(){return this.type==t.TokenType.Keyword&&"null"==this.strValue},e.prototype.isKeywordUndefined=function(){return this.type==t.TokenType.Keyword&&"undefined"==this.strValue},e.prototype.isKeywordTrue=function(){return this.type==t.TokenType.Keyword&&"true"==this.strValue},e.prototype.isKeywordFalse=function(){return this.type==t.TokenType.Keyword&&"false"==this.strValue},e.prototype.isKeywordThis=function(){return this.type==t.TokenType.Keyword&&"this"==this.strValue},e.prototype.isError=function(){return this.type==t.TokenType.Error},e.prototype.toNumber=function(){return this.type==t.TokenType.Number?this.numValue:-1},e.prototype.toString=function(){switch(this.type){case t.TokenType.Character:case t.TokenType.Identifier:case t.TokenType.Keyword:case t.TokenType.Operator:case t.TokenType.PrivateIdentifier:case t.TokenType.String:case t.TokenType.Error:return this.strValue;case t.TokenType.Number:return this.numValue.toString();default:return null}},e}();function Yc(e,n,r){return new $c(e,n,t.TokenType.Character,r,String.fromCharCode(r))}function Jc(e,n,r){return new $c(e,n,t.TokenType.Operator,0,r)}var Xc=new $c(-1,-1,t.TokenType.Character,0,""),tl=function(){function e(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return e.prototype.advance=function(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)},e.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;n<=32;){if(++r>=e){n=0;break}n=t.charCodeAt(r)}if(this.peek=n,this.index=r,r>=e)return null;if(el(n))return this.scanIdentifier();if(Ki(n))return this.scanNumber(r);var i=r;switch(n){case 46:return this.advance(),Ki(this.peek)?this.scanNumber(i):Yc(i,this.index,46);case 40:case 41:case zi:case Wi:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,n);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanQuestion(i);case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;Gi(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},e.prototype.scanCharacter=function(t,e){return this.advance(),Yc(t,this.index,e)},e.prototype.scanOperator=function(t,e){return this.advance(),Jc(t,this.index,e)},e.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var s=e;return this.peek==n&&(this.advance(),s+=r),null!=i&&this.peek==i&&(this.advance(),s+=o),Jc(t,this.index,s)},e.prototype.scanIdentifier=function(){var e=this.index;for(this.advance();rl(this.peek);)this.advance();var n=this.input.substring(e,this.index);return Zc.indexOf(n)>-1?function(e,n,r){return new $c(e,n,t.TokenType.Keyword,0,r)}(e,this.index,n):function(e,n,r){return new $c(e,n,t.TokenType.Identifier,0,r)}(e,this.index,n)},e.prototype.scanPrivateIdentifier=function(){var e=this.index;if(this.advance(),!el(this.peek))return this.error("Invalid character [#]",-1);for(;rl(this.peek);)this.advance();var n=this.input.substring(e,this.index);return function(e,n,r){return new $c(e,n,t.TokenType.PrivateIdentifier,0,r)}(e,this.index,n)},e.prototype.scanNumber=function(e){var n=this.index===e,r=!1;for(this.advance();;){if(!Ki(this.peek))if(95===this.peek){if(!Ki(this.input.charCodeAt(this.index-1))||!Ki(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(46===this.peek)n=!1;else{if(!il(this.peek))break;if(this.advance(),ol(this.peek)&&this.advance(),!Ki(this.peek))return this.error("Invalid exponent",-1);n=!1}this.advance()}var i=this.input.substring(e,this.index);r&&(i=i.replace(/_/g,""));var o=n?function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}(i):parseFloat(i);return function(e,n,r){return new $c(e,n,t.TokenType.Number,r,"")}(e,this.index,o)},e.prototype.scanString=function(){var e=this.index,n=this.peek;this.advance();for(var r="",i=this.index,o=this.input;this.peek!=n;)if(92==this.peek){r+=o.substring(i,this.index),this.advance();var s=void 0;if(this.peek=this.peek,117==this.peek){var a=o.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(a))return this.error("Invalid unicode escape [\\u"+a+"]",0);s=parseInt(a,16);for(var u=0;u<5;u++)this.advance()}else s=sl(this.peek),this.advance();r+=String.fromCharCode(s),i=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}var c=o.substring(i,this.index);return this.advance(),function(e,n,r){return new $c(e,n,t.TokenType.String,0,r)}(e,this.index,r+c)},e.prototype.scanQuestion=function(t){this.advance();var e="?";return(63===this.peek||46===this.peek)&&(e+=46===this.peek?".":"?",this.advance()),Jc(t,this.index,e)},e.prototype.error=function(e,n){var r=this.index+n;return function(e,n,r){return new $c(e,n,t.TokenType.Error,0,r)}(r,this.index,"Lexer Error: "+e+" at column "+r+" in expression ["+this.input+"]")},e}();function el(t){return 97<=t&&t<=122||65<=t&&t<=90||95==t||36==t}function nl(t){if(0==t.length)return!1;var e=new tl(t);if(!el(e.peek))return!1;for(e.advance();0!==e.peek;){if(!rl(e.peek))return!1;e.advance()}return!0}function rl(t){return Zi(t)||Ki(t)||95==t||36==t}function il(t){return 101==t||69==t}function ol(t){return 45==t||43==t}function sl(t){switch(t){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return t}}var al=function(t,e,n){this.strings=t,this.expressions=e,this.offsets=n},ul=function(t,e,n){this.templateBindings=t,this.warnings=e,this.errors=n},cl=function(){function t(t){this._lexer=t,this.errors=[],this.simpleExpressionChecker=fl}return t.prototype.parseAction=function(t,e,n,r){void 0===r&&(r=qi),this._checkNoInterpolation(t,e,r);var i=this._stripComments(t),o=this._lexer.tokenize(this._stripComments(t)),s=new hl(t,e,n,o,i.length,!0,this.errors,t.length-i.length).parseChain();return new ns(s,t,e,n,this.errors)},t.prototype.parseBinding=function(t,e,n,r){void 0===r&&(r=qi);var i=this._parseBindingAst(t,e,n,r);return new ns(i,t,e,n,this.errors)},t.prototype.checkSimpleExpression=function(t){var e=new this.simpleExpressionChecker;return t.visit(e),e.errors},t.prototype.parseSimpleBinding=function(t,e,n,r){void 0===r&&(r=qi);var i=this._parseBindingAst(t,e,n,r),o=this.checkSimpleExpression(i);return o.length>0&&this._reportError("Host binding expression cannot contain "+o.join(" "),t,e),new ns(i,t,e,n,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new Po(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n,r){var i=this._parseQuote(t,e,n);if(null!=i)return i;this._checkNoInterpolation(t,e,r);var o=this._stripComments(t),s=this._lexer.tokenize(o);return new hl(t,e,n,s,o.length,!1,this.errors,t.length-o.length).parseChain()},t.prototype._parseQuote=function(t,e,n){if(null==t)return null;var r=t.indexOf(":");if(-1==r)return null;var i=t.substring(0,r).trim();if(!nl(i))return null;var o=t.substring(r+1),s=new Mo(0,t.length);return new No(s,s.toAbsolute(n),i,o,e)},t.prototype.parseTemplateBindings=function(t,e,n,r,i){var o=this._lexer.tokenize(e);return new hl(e,n,i,o,e.length,!1,this.errors,0).parseTemplateBindings({source:t,span:new es(r,r+t.length)})},t.prototype.parseInterpolation=function(t,e,n,r){void 0===r&&(r=qi);var i=this.splitInterpolation(t,e,r),o=i.strings,s=i.expressions,a=i.offsets;if(0===s.length)return null;for(var u=[],c=0;c-1)break}}catch(f){r={error:f}}finally{try{p&&!p.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}u>-1&&c>-1&&this._reportError("Got interpolation ("+s+a+") where expression was expected",t,"at column "+u+" in",e)},t.prototype._getInterpolationEndIndex=function(t,e,n){var r,i;try{for(var s=o(this._forEachUnquotedChar(t,n)),a=s.next();!a.done;a=s.next()){var u=a.value;if(t.startsWith(e,u))return u;if(t.startsWith("//",u))return t.indexOf(e,u)}}catch(c){r={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return-1},t.prototype._forEachUnquotedChar=function(t,e){var n,r,o,s;return i(this,function(i){switch(i.label){case 0:n=null,r=0,o=e,i.label=1;case 1:return o((pl=pl||{})[pl.None=0]="None",pl[pl.Writable=1]="Writable",pl))(),hl=function(){function e(t,e,n,r,i,o,s,a){this.input=t,this.location=e,this.absoluteOffset=n,this.tokens=r,this.inputLength=i,this.parseAction=o,this.errors=s,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=pl.None,this.sourceSpanCache=new Map,this.index=0}return e.prototype.peek=function(t){var e=this.index+t;return e=this.tokens.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputIndex",{get:function(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEndIndex",{get:function(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentAbsoluteOffset",{get:function(){return this.absoluteOffset+this.inputIndex},enumerable:!1,configurable:!0}),e.prototype.span=function(t,e){var n=this.currentEndIndex;if(void 0!==e&&e>this.currentEndIndex&&(n=e),t>n){var r=n;n=t,t=r}return new Mo(t,n)},e.prototype.sourceSpan=function(t,e){var n=t+"@"+this.inputIndex+":"+e;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(t,e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)},e.prototype.advance=function(){this.index++},e.prototype.withContext=function(t,e){this.context|=t;var n=e();return this.context^=t,n},e.prototype.consumeOptionalCharacter=function(t){return!!this.next.isCharacter(t)&&(this.advance(),!0)},e.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},e.prototype.peekKeywordAs=function(){return this.next.isKeywordAs()},e.prototype.expectCharacter=function(t){this.consumeOptionalCharacter(t)||this.error("Missing expected "+String.fromCharCode(t))},e.prototype.consumeOptionalOperator=function(t){return!!this.next.isOperator(t)&&(this.advance(),!0)},e.prototype.expectOperator=function(t){this.consumeOptionalOperator(t)||this.error("Missing expected operator "+t)},e.prototype.prettyPrintToken=function(t){return t===Xc?"end of input":"token "+t},e.prototype.expectIdentifierOrKeyword=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()?(this.advance(),t.toString()):(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier or keyword"):this.error("Unexpected "+this.prettyPrintToken(t)+", expected identifier or keyword"),null)},e.prototype.expectIdentifierOrKeywordOrString=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()||t.isString()?(this.advance(),t.toString()):(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier, keyword or string"):this.error("Unexpected "+this.prettyPrintToken(t)+", expected identifier, keyword, or string"),"")},e.prototype.parseChain=function(){for(var t=[],e=this.inputIndex;this.index":case"<=":case">=":this.advance();var i=this.parseAdditive();n=new Zo(this.span(e),this.sourceSpan(e),r,n,i);continue}break}return n},e.prototype.parseAdditive=function(){for(var e=this.inputIndex,n=this.parseMultiplicative();this.next.type==t.TokenType.Operator;){var r=this.next.strValue;switch(r){case"+":case"-":this.advance();var i=this.parseMultiplicative();n=new Zo(this.span(e),this.sourceSpan(e),r,n,i);continue}break}return n},e.prototype.parseMultiplicative=function(){for(var e=this.inputIndex,n=this.parsePrefix();this.next.type==t.TokenType.Operator;){var r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();var i=this.parsePrefix();n=new Zo(this.span(e),this.sourceSpan(e),r,n,i);continue}break}return n},e.prototype.parsePrefix=function(){if(this.next.type==t.TokenType.Operator){var e=this.inputIndex,n=void 0;switch(this.next.strValue){case"+":return this.advance(),n=this.parsePrefix(),Qo.createPlus(this.span(e),this.sourceSpan(e),n);case"-":return this.advance(),n=this.parsePrefix(),Qo.createMinus(this.span(e),this.sourceSpan(e),n);case"!":return this.advance(),n=this.parsePrefix(),new $o(this.span(e),this.sourceSpan(e),n)}}return this.parseCallChain()},e.prototype.parseCallChain=function(){for(var t=this.inputIndex,e=this.parsePrimary();;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMemberOrMethodCall(e,t,!1);else if(this.consumeOptionalOperator("?."))e=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(e,t,!0):this.parseAccessMemberOrMethodCall(e,t,!0);else if(this.consumeOptionalCharacter(91))e=this.parseKeyedReadOrWrite(e,t,!1);else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;var n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),e=new ts(this.span(t),this.sourceSpan(t),e,n)}else{if(!this.consumeOptionalOperator("!"))return e;e=new Yo(this.span(t),this.sourceSpan(t),e)}},e.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new zo(this.span(t),this.sourceSpan(t),null);if(this.next.isKeywordUndefined())return this.advance(),new zo(this.span(t),this.sourceSpan(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new zo(this.span(t),this.sourceSpan(t),!0);if(this.next.isKeywordFalse())return this.advance(),new zo(this.span(t),this.sourceSpan(t),!1);if(this.next.isKeywordThis())return this.advance(),new Ro(this.span(t),this.sourceSpan(t));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;var n=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Wo(this.span(t),this.sourceSpan(t),n)}if(this.next.isCharacter(zi))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Oo(this.span(t),this.sourceSpan(t)),t,!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new zo(this.span(t),this.sourceSpan(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new zo(this.span(t),this.sourceSpan(t),i)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Ao(this.span(t),this.sourceSpan(t))):this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new Ao(this.span(t),this.sourceSpan(t))):(this.error("Unexpected token "+this.next),new Ao(this.span(t),this.sourceSpan(t)))},e.prototype.parseExpressionList=function(t){var e=[];do{if(this.next.isCharacter(t))break;e.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return e},e.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(zi),!this.consumeOptionalCharacter(Wi)){this.rbracesExpected++;do{var r=this.inputIndex,i=this.next.isString(),o=this.expectIdentifierOrKeywordOrString();if(t.push({key:o,quoted:i}),i)this.expectCharacter(58),e.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))e.push(this.parsePipe());else{var s=this.span(r),a=this.sourceSpan(r);e.push(new Lo(s,a,a,new Oo(s,a),o))}}while(this.consumeOptionalCharacter(44));this.rbracesExpected--,this.expectCharacter(Wi)}return new Go(this.span(n),this.sourceSpan(n),t,e)},e.prototype.parseAccessMemberOrMethodCall=function(t,e,n){var r=this,i=this.inputIndex,o=this.withContext(pl.Writable,function(){var e,n=null!==(e=r.expectIdentifierOrKeyword())&&void 0!==e?e:"";return 0===n.length&&r.error("Expected identifier for property access",t.span.end),n}),s=this.sourceSpan(i);if(this.consumeOptionalCharacter(40)){var a=this.inputIndex;this.rparensExpected++;var u=this.parseCallArguments(),c=this.span(a,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;var l=this.span(e),p=this.sourceSpan(e);return n?new Xo(l,p,s,t,o,u,c):new Jo(l,p,s,t,o,u,c)}if(n)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Ao(this.span(e),this.sourceSpan(e))):new Bo(this.span(e),this.sourceSpan(e),s,t,o);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Ao(this.span(e),this.sourceSpan(e));var h=this.parseConditional();return new jo(this.span(e),this.sourceSpan(e),s,t,o,h)}return new Lo(this.span(e),this.sourceSpan(e),s,t,o)},e.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];var t=[];do{t.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return t},e.prototype.expectTemplateBindingKey=function(){var t="",e=!1,n=this.currentAbsoluteOffset;do{t+=this.expectIdentifierOrKeywordOrString(),(e=this.consumeOptionalOperator("-"))&&(t+="-")}while(e);return{source:t,span:new es(n,n+t.length)}},e.prototype.parseTemplateBindings=function(t){var e=[];for(e.push.apply(e,a([],s(this.parseDirectiveKeywordBindings(t))));this.index0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]="boolean";break;case"#":n[t.substring(1)]="number";break;case"%":n[t.substring(1)]="object";break;default:n[t]="string"}})}),e}return r(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===U.name}))return!0;if(t.indexOf("-")>-1){if(c(t)||l(t))return!1;if(n.some(function(t){return t.name===q.name}))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]},e.prototype.hasElement=function(t,e){return!!(e.some(function(t){return t.name===U.name})||t.indexOf("-")>-1&&(c(t)||l(t)||e.some(function(t){return t.name===q.name})))||!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var r=Fs()[t+"|"+e];return r||(r=Fs()["*|"+e])||Z.NONE},e.prototype.getMappedPropName=function(t){return gl[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event property '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=...\nIf '"+t+"' is a directive input, make sure the directive is imported by the current module."}:{error:!1}},e.prototype.validateAttribute=function(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event attribute '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=..."}:{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.prototype.allKnownAttributesOfElement=function(t){var e=this._schema[t.toLowerCase()]||this._schema.unknown;return Object.keys(e).map(function(t){var e;return null!==(e=Sl[t])&&void 0!==e?e:t})},e.prototype.normalizeAnimationStyleProperty=function(t){return function(t){return t.replace(Qe,function(){for(var t=[],e=0;e element cannot have content.",t.sourceSpan);var A=u.selectAttr,O=t.attrs.map(function(t){return r.visitAttribute(t)});I=new Xn(A,O,t.sourceSpan,t.i18n),this.ngContentSelectors.push(A)}else l?(O=this.extractAttributes(t.name,h,y),I=new Jn(t.name,m,O.bound,f,[],N,v,d,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n)):(O=this.extractAttributes(t.name,h,y),I=new Yn(t.name,m,O.bound,f,N,v,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,t.i18n));if(_){O=this.extractAttributes("ng-template",g,y);var R=[];O.literal.forEach(function(t){return R.push(t)}),O.bound.forEach(function(t){return R.push(t)});var F=I instanceof Yn?{attributes:I.attributes,inputs:I.inputs,outputs:I.outputs}:{attributes:[],inputs:[],outputs:[]};I=new Jn(I.name,F.attributes,F.inputs,F.outputs,R,[I],[],S,t.sourceSpan,t.startSourceSpan,t.endSourceSpan,l&&i?void 0:t.i18n)}return i&&(this.inI18nBlock=!1),I},e.prototype.visitAttribute=function(t){return new Zn(t.name,t.value,t.sourceSpan,t.keySpan,t.valueSpan,t.i18n)},e.prototype.visitText=function(t){return this._visitTextWithInterpolation(t.value,t.sourceSpan,t.i18n)},e.prototype.visitExpansion=function(t){var e=this;if(!t.i18n)return null;if(!oi(t.i18n))throw new Error('Invalid type "'+t.i18n.constructor+'" for "i18n" property of '+t.sourceSpan.toString()+'. Expected a "Message"');var n=t.i18n,r={},i={};return Object.keys(n.placeholders).forEach(function(t){var o=n.placeholders[t];if(t.startsWith("VAR_")){var s=t.trim(),a=e.bindingParser.parseInterpolationExpression(o.text,o.sourceSpan);r[s]=new Kn(a,o.sourceSpan)}else i[t]=e._visitTextWithInterpolation(o.text,o.sourceSpan)}),new nr(r,i,t.sourceSpan,n)},e.prototype.visitExpansionCase=function(t){return null},e.prototype.visitComment=function(t){return this.options.collectCommentNodes&&this.commentNodes.push(new Wn(t.value||"",t.sourceSpan)),null},e.prototype.extractAttributes=function(t,e,n){var r=this,i=[],o=[];return e.forEach(function(e){var s=n[e.name];if(e.isLiteral)o.push(new Zn(e.name,e.expression.source||"",e.sourceSpan,e.keySpan,e.valueSpan,s));else{var a=r.bindingParser.createBoundElementProperty(t,e,!0,!1);i.push(Qn.fromBoundElementProperty(a,s))}}),{bound:i,literal:o}},e.prototype.parseAttribute=function(t,e,n,r,i,o,s){var a=kl(e.name),u=e.value,c=e.sourceSpan,l=e.valueSpan?e.valueSpan.start.offset:c.start.offset;function p(t,n,r){var i=t.start.moveBy(n.length+(e.name.length-a.length)),o=i.moveBy(r.length);return new to(i,o,i,r)}var h=a.match(El);if(h){if(null!=h[1]){var f=p(c,h[1],x=h[7]);this.bindingParser.parsePropertyBinding(x,u,!1,c,l,e.valueSpan,n,r,f)}else if(h[2])if(t){var d=p(c,h[2],x=h[7]);this.parseVariable(x,u,c,d,e.valueSpan,o)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(h[3]){var v=p(c,h[3],x=h[7]);this.parseReference(x,u,c,v,e.valueSpan,s)}else if(h[4]){var m=[],y=p(c,h[4],x=h[7]);this.bindingParser.parseEvent(x,u,c,e.valueSpan||c,n,m,y),Il(m,i)}else if(h[5]){var g=p(c,h[5],x=h[7]);this.bindingParser.parsePropertyBinding(x,u,!1,c,l,e.valueSpan,n,r,g),this.parseAssignmentEvent(x,u,c,e.valueSpan,n,i,g)}else if(h[6]){var S=p(c,"",a);this.bindingParser.parseLiteralAttr(a,u,c,l,e.valueSpan,n,r,S)}return!0}var _=null;if(a.startsWith(bl.start)?_=bl:a.startsWith(Cl.start)?_=Cl:a.startsWith(Tl.start)&&(_=Tl),null!==_&&a.endsWith(_.end)&&a.length>_.start.length+_.end.length){var x=a.substring(_.start.length,a.length-_.end.length),w=p(c,_.start,x);return _.start===bl.start?(this.bindingParser.parsePropertyBinding(x,u,!1,c,l,e.valueSpan,n,r,w),this.parseAssignmentEvent(x,u,c,e.valueSpan,n,i,w)):_.start===Cl.start?this.bindingParser.parsePropertyBinding(x,u,!1,c,l,e.valueSpan,n,r,w):(this.bindingParser.parseEvent(x,u,c,e.valueSpan||c,n,m=[],w),Il(m,i)),!0}var E=p(c,"",a);return this.bindingParser.parsePropertyInterpolation(a,u,c,e.valueSpan,n,r,E)},e.prototype._visitTextWithInterpolation=function(t,e,n){var r=Nu(t),i=this.bindingParser.parseInterpolation(r,e);return i?new Kn(i,e,n):new Gn(r,e)},e.prototype.parseVariable=function(t,e,n,r,i,o){t.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===t.length&&this.reportError("Variable does not have a name",n),o.push(new tr(t,e,n,r,i))},e.prototype.parseReference=function(t,e,n,r,i,o){t.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===t.length?this.reportError("Reference does not have a name",n):o.some(function(e){return e.name===t})&&this.reportError('Reference "#'+t+'" is defined more than once',n),o.push(new er(t,e,n,r,i))},e.prototype.parseAssignmentEvent=function(t,e,n,r,i,o,s){var a=[];this.bindingParser.parseEvent(t+"Change",e+"=$event",n,r||n,i,a,s),Il(a,o)},e.prototype.reportError=function(e,n,r){void 0===r&&(r=t.ParseErrorLevel.ERROR),this.errors.push(new eo(n,e,r))},e}(),Ml=new(function(){function t(){}return t.prototype.visitElement=function(t){var e=wc(t);if(e.type===Ec.SCRIPT||e.type===Ec.STYLE||e.type===Ec.STYLESHEET)return null;var n=Ja(this,t.children,null);return new Yn(t.name,Ja(this,t.attrs),[],[],n,[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t){return null},t.prototype.visitAttribute=function(t){return new Zn(t.name,t.value,t.sourceSpan,t.keySpan,t.valueSpan,t.i18n)},t.prototype.visitText=function(t){return new Gn(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t){return null},t.prototype.visitExpansionCase=function(t){return null},t}());function kl(t){return/^data-/i.test(t)?t.substring(5):t}function Il(t,e){e.push.apply(e,a([],s(t.map(function(t){return $n.fromParsedEvent(t)}))))}var Nl=(()=>((Nl=Nl||{})[Nl.ELEMENT=0]="ELEMENT",Nl[Nl.TEMPLATE=1]="TEMPLATE",Nl))();var Al=function(){function t(t,e,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=null),this.index=t,this.ref=e,this.level=n,this.templateIndex=r,this.meta=i,this.registry=o,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=o||{getUniqueId:li(),icus:new Map},this.id=this._registry.getUniqueId()}return t.prototype.appendTag=function(t,e,n,r){e.isVoid&&r||hi(this.placeholders,e.isVoid||!r?e.startName:e.closeName,{type:t,index:n,ctx:this.id,isVoid:e.isVoid,closed:r})},Object.defineProperty(t.prototype,"icus",{get:function(){return this._registry.icus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRoot",{get:function(){return 0===this.level},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isResolved",{get:function(){return 0===this._unresolvedCtxCount},enumerable:!1,configurable:!0}),t.prototype.getSerializedPlaceholders=function(){var t=new Map;return this.placeholders.forEach(function(e,n){return t.set(n,e.map(Dl))}),t},t.prototype.appendBinding=function(t){this.bindings.add(t)},t.prototype.appendIcu=function(t,e){hi(this._registry.icus,t,e)},t.prototype.appendBoundText=function(t){var e=this;fi(t,this.bindings.size,this.id).forEach(function(t,n){return hi.apply(void 0,a([e.placeholders,n],s(t)))})},t.prototype.appendTemplate=function(t,e){this.appendTag(Nl.TEMPLATE,t,e,!1),this.appendTag(Nl.TEMPLATE,t,e,!0),this._unresolvedCtxCount++},t.prototype.appendElement=function(t,e,n){this.appendTag(Nl.ELEMENT,t,e,n)},t.prototype.appendProjection=function(t,e){this.appendTag(Nl.ELEMENT,t,e,!1),this.appendTag(Nl.ELEMENT,t,e,!0)},t.prototype.forkChildContext=function(e,n,r){return new t(e,this.ref,this.level+1,n,r,this._registry)},t.prototype.reconcileChildContext=function(t){var e=this;["start","close"].forEach(function(n){var r=(e.placeholders.get(t.meta[n+"Name"])||[]).find(Fl(e.id,t.templateIndex));r&&(r.ctx=t.id)}),t.placeholders.forEach(function(n,r){var i=e.placeholders.get(r);if(i){var o=i.findIndex(Fl(t.id,t.templateIndex));if(o>=0){var u=r.startsWith("CLOSE");r.endsWith("NG-TEMPLATE")?i.splice.apply(i,a([o+(u?0:1),0],s(n))):(n[u?n.length-1:0].tmpl=i[o],i.splice.apply(i,a([o,1],s(n))))}else i.push.apply(i,a([],s(n)));e.placeholders.set(r,i)}else e.placeholders.set(r,n)}),this._unresolvedCtxCount--},t}();function Ol(t,e,n,r){return ci((r?"/":"")+t+e,n)}function Rl(t,e,n){var r=e.index,i=e.ctx;return e.isVoid?Ol(t,r,i)+Ol(t,r,i,!0):Ol(t,r,i,n)}function Fl(t,e){return function(n){return"object"==typeof n&&n.type===Nl.TEMPLATE&&n.index===e&&n.ctx===t}}function Dl(t){var e=function(t,e){return Rl("#",t,e)},n=function(t,e){return Rl("*",t,e)};switch(t.type){case Nl.ELEMENT:return t.closed?e(t,!0)+(t.tmpl?n(t.tmpl,!0):""):t.tmpl?n(t.tmpl)+e(t)+(t.isVoid?n(t.tmpl,!0):""):e(t);case Nl.TEMPLATE:return n(t,t.closed);default:return t}}var Ll=new(function(){function t(){}return t.prototype.visitText=function(t){return t.value},t.prototype.visitContainer=function(t){var e=this;return t.children.map(function(t){return t.visit(e)}).join("")},t.prototype.visitIcu=function(t){var e=this,n=Object.keys(t.cases).map(function(n){return n+" {"+t.cases[n].visit(e)+"}"});return"{"+t.expressionPlaceholder+", "+t.type+", "+n.join(" ")+"}"},t.prototype.visitTagPlaceholder=function(t){var e=this;return t.isVoid?this.formatPh(t.startName):""+this.formatPh(t.startName)+t.children.map(function(t){return t.visit(e)}).join("")+this.formatPh(t.closeName)},t.prototype.visitPlaceholder=function(t){return this.formatPh(t.name)},t.prototype.visitIcuPlaceholder=function(t,e){return this.formatPh(t.name)},t.prototype.formatPh=function(t){return"{"+vi(t,!1)+"}"},t}());function jl(t){return t.visit(Ll)}var Bl={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},Vl=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=Bl[i]||"TAG_"+i,s=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=s,s},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=this._generateUniqueName("CLOSE_"+(Bl[n]||"TAG_"+n));return this._signatureToName[e]=r,r},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){return"<"+t+Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join("")+(n?"/>":">")},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e+1,t+"_"+e},t}(),ql=new cl(new Qc);function Ul(t){var e=new zl(ql,t);return function(t,n,r,i,o){return e.toI18nMessage(t,n,r,i,o)}}function Hl(t,e){return e}var zl=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n,r,i){void 0===e&&(e=""),void 0===n&&(n=""),void 0===r&&(r="");var o={isIcu:1==t.length&&t[0]instanceof Ka,icuDepth:0,placeholderRegistry:new Vl,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:i||Hl},s=Ja(this,t,o);return new sr(s,o.placeholderToContent,o.placeholderToMessage,e,n,r)},t.prototype.visitElement=function(t,e){var n,r=Ja(this,t.children,e),i={};t.attrs.forEach(function(t){i[t.name]=t.value});var o=y(t.name).isVoid,s=e.placeholderRegistry.getStartTagPlaceholderName(t.name,i,o);e.placeholderToContent[s]={text:t.startSourceSpan.toString(),sourceSpan:t.startSourceSpan};var a="";o||(a=e.placeholderRegistry.getCloseTagPlaceholderName(t.name),e.placeholderToContent[a]={text:"",sourceSpan:null!==(n=t.endSourceSpan)&&void 0!==n?n:t.sourceSpan});var u=new lr(t.name,i,s,a,r,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan);return e.visitNodeFn(t,u)},t.prototype.visitAttribute=function(t,e){var n=void 0===t.valueTokens||1===t.valueTokens.length?new ar(t.value,t.valueSpan||t.sourceSpan):this._visitTextWithInterpolation(t.valueTokens,t.valueSpan||t.sourceSpan,e,t.i18n);return e.visitNodeFn(t,n)},t.prototype.visitText=function(t,e){var n=1===t.tokens.length?new ar(t.value,t.sourceSpan):this._visitTextWithInterpolation(t.tokens,t.sourceSpan,e,t.i18n);return e.visitNodeFn(t,n)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(t,e){var n=this;e.icuDepth++;var r={},i=new cr(t.switchValue,t.type,r,t.sourceSpan);if(t.cases.forEach(function(t){r[t.value]=new ur(t.expression.map(function(t){return t.visit(n,e)}),t.expSourceSpan)}),e.icuDepth--,e.isIcu||e.icuDepth>0){var o=e.placeholderRegistry.getUniquePlaceholder("VAR_"+t.type);return i.expressionPlaceholder=o,e.placeholderToContent[o]={text:t.switchValue,sourceSpan:t.switchValueSourceSpan},e.visitNodeFn(t,i)}var s=e.placeholderRegistry.getPlaceholderName("ICU",t.sourceSpan.toString());e.placeholderToMessage[s]=this.toI18nMessage([t],"","","",void 0);var a=new hr(i,s,t.sourceSpan);return e.visitNodeFn(t,a)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e,n,r){var i,s,a=[],u=!1;try{for(var c=o(t),l=c.next();!l.done;l=c.next()){var p=l.value;switch(p.type){case 8:case 17:u=!0;var h=p.parts[1],f=Gl(h)||"INTERPOLATION",d=n.placeholderRegistry.getPlaceholderName(f,h);n.placeholderToContent[d]={text:p.parts.join(""),sourceSpan:p.sourceSpan},a.push(new pr(h,d,p.sourceSpan));break;default:if(p.parts[0].length>0){var v=a[a.length-1];v instanceof ar?(v.value+=p.parts[0],v.sourceSpan=new to(v.sourceSpan.start,p.sourceSpan.end,v.sourceSpan.fullStart,v.sourceSpan.details)):a.push(new ar(p.parts[0],p.sourceSpan))}}}}catch(m){i={error:m}}finally{try{l&&!l.done&&(s=c.return)&&s.call(c)}finally{if(i)throw i.error}}return u?(function(t,e){if(e instanceof sr&&(function(t){var e=t.nodes;if(1!==e.length||!(e[0]instanceof ur))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(e),e=e.nodes[0]),e instanceof ur){!function(t,e){if(t.length!==e.length)throw new Error("The number of i18n message children changed between first and second pass.");if(t.some(function(t,n){return e[n].constructor!==t.constructor}))throw new Error("The types of the i18n message children changed between first and second pass.")}(e.children,t);for(var n=0;n-1?[t.slice(0,a),t.slice(a+2)]:[t,""],2))[0],r=e[1],i=(n=s(u>-1?[c.slice(0,u),c.slice(u+1)]:["",c],2))[0],o=n[1]}return{customId:r,meaning:i,description:o}}(t):t instanceof sr?t:{}},t.prototype._setMessageId=function(t,e){t.id||(t.id=e instanceof sr&&e.id||_r(t))},t.prototype._setLegacyIds=function(t,e){if(this.enableI18nLegacyMessageIdFormat)t.legacyIds=[Sr(t),xr(t)];else if("string"!=typeof e){var n=e instanceof sr?e:e instanceof hr?e.previousMessage:void 0;t.legacyIds=n?n.legacyIds:[]}},t.prototype._reportError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}();function $l(t,e,n,r){var i=[De(Jl(e))];Object.keys(r).length&&i.push(vl(r,!0));var o=n.set(Te("goog.getMsg").callFn(i)).toConstDecl(),s=function(t){var e=[];return t.description&&e.push({tagName:"desc",text:t.description}),t.meaning&&e.push({tagName:"meaning",text:t.meaning}),0==e.length?null:Ce(e)}(e);return null!==s&&o.addLeadingComment(s),[o,new ae(t.set(n))]}var Yl=new(function(){function t(){}return t.prototype.formatPh=function(t){return"{$"+vi(t)+"}"},t.prototype.visitText=function(t){return t.value},t.prototype.visitContainer=function(t){var e=this;return t.children.map(function(t){return t.visit(e)}).join("")},t.prototype.visitIcu=function(t){return jl(t)},t.prototype.visitTagPlaceholder=function(t){var e=this;return t.isVoid?this.formatPh(t.startName):""+this.formatPh(t.startName)+t.children.map(function(t){return t.visit(e)}).join("")+this.formatPh(t.closeName)},t.prototype.visitPlaceholder=function(t){return this.formatPh(t.name)},t.prototype.visitIcuPlaceholder=function(t,e){return this.formatPh(t.name)},t}());function Jl(t){return t.nodes.map(function(t){return t.visit(Yl,null)}).join("")}function Xl(t,e,n){var r=function(t){var e=[];return t.nodes.forEach(function(t){return t.visit(tp,e)}),function(t){var e=[],n=[];t[0]instanceof Nt&&e.push(ep(t[0].sourceSpan.start));for(var r=0;r1||"*"!==this._ngContentReservedSlots[0]){var l=this._ngContentReservedSlots.map(function(t){return"*"!==t?J(t):t});c.push(this.constantPool.getConstLiteral(Ti(l),!0))}this.creationInstruction(null,Ze.projectionDef,c,!0)}o&&this.i18nEnd(null,u);var p=this._creationCodeFns.map(function(t){return t()}),h=this._updateCodeFns.map(function(t){return t()}),f=this._bindingScope.viewSnapshotStatements(),d=this._bindingScope.variableDeclarations().concat(this._tempVariables),v=p.length>0?[op(1,f.concat(p))]:[],m=h.length>0?[op(2,d.concat(h))]:[];return Oe([new zt(xi,ct),new zt(_i,null)],a(a(a([],s(this._prefixCode)),s(v)),s(m)),at,null,this.templateName)},t.prototype.getLocal=function(t){return this._bindingScope.get(t)},t.prototype.notifyImplicitReceiverUse=function(){this._bindingScope.notifyImplicitReceiverUse()},t.prototype.maybeRestoreView=function(){this._bindingScope.maybeRestoreView()},t.prototype.i18nTranslate=function(t,e,n,r){var i;void 0===e&&(e={});var o=n||this.i18nGenerateMainBlockVar(),u=function(t,e,n,r,i){void 0===r&&(r={});var o=[yi(e),Re(Pp(),$l(e,t,n,di(r,!0)),Xl(e,t,di(r,!1)))];return i&&o.push(new ae(e.set(i(e)))),o}(t,o,this.i18nGenerateClosureVar(t.id),e,r);return(i=this._constants.prepareStatements).push.apply(i,a([],s(u))),o},t.prototype.registerContextVariables=function(t){var e=this._bindingScope.freshReferenceName(),n=this.level,r=Te(t.name+e);this._bindingScope.set(n,t.name,r,1,function(e,i){var o;return e.bindingLevel===n?e.isListenerScope()&&e.hasRestoreViewVariable()?(o=Te(wi),e.notifyRestoredViewContextUse()):o=Te(_i):o=e.getSharedContextName(n)||hp(i),[r.set(o.prop(t.value||"$implicit")).toConstDecl()]})},t.prototype.i18nAppendBindings=function(t){var e=this;t.length>0&&t.forEach(function(t){return e.i18n.appendBinding(t)})},t.prototype.i18nBindProps=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){var i=t[r];if(i instanceof Gn)n[r]=De(i.value);else{var o=i.value.visit(e._valueConverter);if(e.allocateBindingSlots(o),o instanceof Ko){var s=o.expressions,a=e.i18n,u=function(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=0),!t.length)return"";for(var r="",i=t.length-1,o=0;o1})||Object.keys(i).length)&&(s=function(t){var e=[t];return Object.keys(i).length&&e.push(vl(i,!0)),pp(null,Ze.i18nPostprocess,e)}),this.i18nTranslate(n,o,t.ref,s)}},t.prototype.i18nStart=function(t,e,n){void 0===t&&(t=null);var r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,e):new Al(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,e);var i=this.i18n,o=i.id,s=i.ref,a=[De(r),this.addToConsts(s)];o>0&&a.push(De(o)),this.creationInstruction(t,n?Ze.i18n:Ze.i18nStart,a)},t.prototype.i18nEnd=function(t,e){var n=this;if(void 0===t&&(t=null),!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);var r=this.i18n,i=r.index,o=r.bindings;if(o.size){var s=[];o.forEach(function(e){s.push({sourceSpan:t,value:function(){return n.convertPropertyBinding(e)}})}),this.updateInstructionChainWithAdvance(this.getConstCount()-1,Ze.i18nExp,s),this.updateInstruction(t,Ze.i18nApply,[De(i)])}e||this.creationInstruction(t,Ze.i18nEnd),this.i18n=null},t.prototype.i18nAttributesInstruction=function(t,e,n){var r=this,i=!1,o=[],s=[];if(e.forEach(function(t){var e=t.i18n,a=t.value.visit(r._valueConverter);if(r.allocateBindingSlots(a),a instanceof Ko){var u=pi(fi(e));o.push(De(t.name),r.i18nTranslate(e,u)),a.expressions.forEach(function(t){i=!0,s.push({sourceSpan:n,value:function(){return r.convertPropertyBinding(t)}})})}}),s.length>0&&this.updateInstructionChainWithAdvance(t,Ze.i18nExp,s),o.length>0){var a=De(this.allocateDataSlot()),u=this.addToConsts(Ne(o));this.creationInstruction(n,Ze.i18nAttributes,[a,u]),i&&this.updateInstruction(n,Ze.i18nApply,[a])}},t.prototype.getNamespaceInstruction=function(t){switch(t){case"math":return Ze.namespaceMathML;case"svg":return Ze.namespaceSVG;default:return Ze.namespaceHTML}},t.prototype.addNamespaceInstruction=function(t,e){this._namespace=t,this.creationInstruction(e.startSourceSpan,t)},t.prototype.interpolatedUpdateInstruction=function(t,e,n,r,i,o){var u=this;this.updateInstructionWithAdvance(e,r.sourceSpan,t,function(){return a(a([De(n)],s(u.getUpdateInstructionArguments(i))),s(o))})},t.prototype.visitContent=function(t){var e=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[De(e)];this._ngContentReservedSlots.push(t.selector);var i=t.attributes.filter(function(t){return"select"!==t.name.toLowerCase()}),o=this.getAttributeExpressions(t.name,i,[],[]);o.length>0?r.push(De(n),Ne(o)):0!==n&&r.push(De(n)),this.creationInstruction(t.sourceSpan,Ze.projection,r),this.i18n&&this.i18n.appendProjection(t.i18n,e)},t.prototype.visitElement=function(t){var e,n,r,i,l=this,p=this.allocateDataSlot(),h=new zc(null),f=!1,d=oi(t.i18n)&&!si(t.i18n),v=[],m=s(u(t.name),2),y=m[0],g=m[1],S=c(t.name);try{for(var _=o(t.attributes),x=_.next();!x.done;x=_.next()){var w=x.value,E=w.name,b=w.value;"ngNonBindable"===E?f=!0:"style"===E?h.registerStyleAttr(b):"class"===E?h.registerClassAttr(b):v.push(w)}}catch(H){e={error:H}}finally{try{x&&!x.done&&(n=_.return)&&n.call(_)}finally{if(e)throw e.error}}this.matchDirectives(t.name,t);var C=[De(p)];S||C.push(De(g));var T=[],P=[];t.inputs.forEach(function(t){h.registerBoundInput(t)||(0===t.type&&t.i18n?P.push(t):T.push(t))});var M=this.getAttributeExpressions(t.name,v,T,t.outputs,h,[],P);C.push(this.addAttrsToConsts(M));var k=this.prepareRefsArray(t.references);C.push(this.addToConsts(k));var I=this._namespace,N=this.getNamespaceInstruction(y);N!==I&&this.addNamespaceInstruction(N,t),this.i18n&&this.i18n.appendElement(t.i18n,p);var A=!d&&this.i18n?!Cp(t.children):t.children.length>0,O=!h.hasBindingsWithPipes&&0===t.outputs.length&&0===P.length&&!A,R=!O&&Cp(t.children);if(O)this.creationInstruction(t.sourceSpan,S?Ze.elementContainer:Ze.element,Mi(C));else{if(this.creationInstruction(t.startSourceSpan,S?Ze.elementContainerStart:Ze.elementStart,Mi(C)),f&&this.creationInstruction(t.startSourceSpan,Ze.disableBindings),P.length>0&&this.i18nAttributesInstruction(p,P,null!==(r=t.startSourceSpan)&&void 0!==r?r:t.sourceSpan),t.outputs.length>0){var F=t.outputs.map(function(e){return{sourceSpan:e.sourceSpan,params:l.prepareListenerParameter(t.name,e,p)}});this.creationInstructionChain(Ze.listener,F)}d&&this.i18nStart(t.startSourceSpan,t.i18n,R)}for(var D=h.buildUpdateLevelInstructions(this._valueConverter),L=D.length-1,j=0;j<=L;j++)this._bindingSlots+=this.processStylingUpdateInstruction(p,D[j]);var B=De(void 0),V=[],q=[];if(T.forEach(function(e){var n=e.type;if(4===n){var r=e.value.visit(l._valueConverter),i=!(r instanceof zo&&!r.value);l.allocateBindingSlots(r),V.push({name:In(e.name),sourceSpan:e.sourceSpan,value:function(){return i?l.convertPropertyBinding(r):B}})}else{if(e.i18n)return;var o=e.value.visit(l._valueConverter);if(void 0!==o){var c=[],h=s(u(e.name),2),f=h[0],d=h[1],v=wp(e.securityContext,1===n);if(v||function(t){return"iframe"===t.toLowerCase()}(t.name)&&js(e.name)&&(v=Pe(Ze.validateIframeAttribute)),v&&c.push(v),f){var m=De(f);v?c.push(m):c.push(De(null),m)}if(l.allocateBindingSlots(o),0===n)o instanceof Ko?l.interpolatedUpdateInstruction(gp(o),p,d,e,o,c):V.push({name:d,sourceSpan:e.sourceSpan,value:function(){return l.convertPropertyBinding(o)},params:c});else if(1===n)if(o instanceof Ko&&Oi(o)>1)l.interpolatedUpdateInstruction(function(t){switch(Oi(t)){case 3:return Ze.attributeInterpolate1;case 5:return Ze.attributeInterpolate2;case 7:return Ze.attributeInterpolate3;case 9:return Ze.attributeInterpolate4;case 11:return Ze.attributeInterpolate5;case 13:return Ze.attributeInterpolate6;case 15:return Ze.attributeInterpolate7;case 17:return Ze.attributeInterpolate8;default:return Ze.attributeInterpolateV}}(o),p,d,e,o,c);else{var y=o instanceof Ko?o.expressions[0]:o;q.push({name:d,sourceSpan:e.sourceSpan,value:function(){return l.convertPropertyBinding(y)},params:c})}else l.updateInstructionWithAdvance(p,e.sourceSpan,Ze.classProp,function(){return a([De(p),De(d),l.convertPropertyBinding(o)],s(c))})}}}),V.length>0&&this.updateInstructionChainWithAdvance(p,Ze.property,V),q.length>0&&this.updateInstructionChainWithAdvance(p,Ze.attribute,q),ir(this,t.children),!d&&this.i18n&&this.i18n.appendElement(t.i18n,p,!0),!O){var U=null!==(i=t.endSourceSpan)&&void 0!==i?i:t.sourceSpan;d&&this.i18nEnd(U,R),f&&this.creationInstruction(U,Ze.enableBindings),this.creationInstruction(U,S?Ze.elementContainerEnd:Ze.elementEnd)}},t.prototype.visitTemplate=function(e){var n,r=this,i="ng-template",c=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,c);var l=e.tagName?u(e.tagName)[1]:e.tagName,p=this.contextName+(e.tagName?"_"+lo(e.tagName):"")+"_"+c,h=p+"_Template",f=[De(c),Te(h),De(l)];this.matchDirectives(i,e);var d=this.getAttributeExpressions(i,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(f.push(this.addAttrsToConsts(d)),e.references&&e.references.length){var v=this.prepareRefsArray(e.references);f.push(this.addToConsts(v)),f.push(Pe(Ze.templateRefExtractor))}var m=new t(this.constantPool,this._bindingScope,this.level+1,p,this.i18n,c,h,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(function(){var t,n=m.buildTemplateFunction(e.children,e.variables,r._ngContentReservedSlots.length+r._ngContentSelectorsOffset,e.i18n);r.constantPool.statements.push(n.toDeclStmt(h)),m._ngContentReservedSlots.length&&(t=r._ngContentReservedSlots).push.apply(t,a([],s(m._ngContentReservedSlots)))}),this.creationInstruction(e.sourceSpan,Ze.templateCreate,function(){return f.splice(2,0,De(m.getConstCount()),De(m.getVarCount())),Mi(f)}),this.templatePropertyBindings(c,e.templateAttrs),l===i){var y=s(function(t,e){var n,r,i=[],s=[];try{for(var a=o(t),u=a.next();!u.done;u=a.next()){var c=u.value;(e(c)?i:s).push(c)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}(e.inputs,ai),2),g=y[0],S=y[1];if(g.length>0&&this.i18nAttributesInstruction(c,g,null!==(n=e.startSourceSpan)&&void 0!==n?n:e.sourceSpan),S.length>0&&this.templatePropertyBindings(c,S),e.outputs.length>0){var _=e.outputs.map(function(t){return{sourceSpan:t.sourceSpan,params:r.prepareListenerParameter("ng_template",t,c)}});this.creationInstructionChain(Ze.listener,_)}}},t.prototype.visitBoundText=function(t){var e=this;if(this.i18n){var n=t.value.visit(this._valueConverter);return this.allocateBindingSlots(n),void(n instanceof Ko&&(this.i18n.appendBoundText(t.i18n),this.i18nAppendBindings(n.expressions)))}var r=this.allocateDataSlot();this.creationInstruction(t.sourceSpan,Ze.text,[De(r)]);var i=t.value.visit(this._valueConverter);this.allocateBindingSlots(i),i instanceof Ko?this.updateInstructionWithAdvance(r,t.sourceSpan,function(t){switch(Oi(t)){case 1:return Ze.textInterpolate;case 3:return Ze.textInterpolate1;case 5:return Ze.textInterpolate2;case 7:return Ze.textInterpolate3;case 9:return Ze.textInterpolate4;case 11:return Ze.textInterpolate5;case 13:return Ze.textInterpolate6;case 15:return Ze.textInterpolate7;case 17:return Ze.textInterpolate8;default:return Ze.textInterpolateV}}(i),function(){return e.getUpdateInstructionArguments(i)}):sn("Text nodes should be interpolated and never bound directly.")},t.prototype.visitText=function(t){this.i18n||this.creationInstruction(t.sourceSpan,Ze.text,[De(this.allocateDataSlot()),De(t.value)])},t.prototype.visitIcu=function(t){var e=!1;this.i18n||(e=!0,this.i18nStart(null,t.i18n,!0));var n=this.i18n,r=this.i18nBindProps(t.vars),i=this.i18nBindProps(t.placeholders),o=t.i18n,s=function(t){var e=di(Object.assign(Object.assign({},r),i),!1);return pp(null,Ze.i18nPostprocess,[t,vl(e,!0)])};if(si(n.meta))this.i18nTranslate(o,{},n.ref,s);else{var a=this.i18nTranslate(o,{},void 0,s);n.appendIcu(ui(o).name,a)}return e&&this.i18nEnd(null,!0),null},t.prototype.allocateDataSlot=function(){return this._dataIndex++},t.prototype.getConstCount=function(){return this._dataIndex},t.prototype.getVarCount=function(){return this._pureFunctionSlots},t.prototype.getConsts=function(){return this._constants},t.prototype.getNgContentSelectors=function(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(Ti(this._ngContentReservedSlots),!0):null},t.prototype.bindingContext=function(){return""+this._bindingContext++},t.prototype.templatePropertyBindings=function(t,e){var n=this,r=[];e.forEach(function(e){if(e instanceof Qn){var i=e.value.visit(n._valueConverter);if(void 0!==i)if(n.allocateBindingSlots(i),i instanceof Ko){n.interpolatedUpdateInstruction(gp(i),t,e.name,e,i,[])}else r.push({name:e.name,sourceSpan:e.sourceSpan,value:function(){return n.convertPropertyBinding(i)}})}}),r.length>0&&this.updateInstructionChainWithAdvance(t,Ze.property,r)},t.prototype.instructionFn=function(t,e,n,r,i){void 0===i&&(i=!1),t[i?"unshift":"push"](function(){var t=Array.isArray(r)?r:r();return pp(e,n,t).toStmt()})},t.prototype.processStylingUpdateInstruction=function(t,e){var n=this,r=0;if(e){var i=[];e.calls.forEach(function(t){r+=t.allocateBindingSlots,i.push({sourceSpan:t.sourceSpan,value:function(){return t.params(function(e){return t.supportsInterpolation&&e instanceof Ko?n.getUpdateInstructionArguments(e):n.convertPropertyBinding(e)})}})}),this.updateInstructionChainWithAdvance(t,e.reference,i)}return r},t.prototype.creationInstruction=function(t,e,n,r){this.instructionFn(this._creationCodeFns,t,e,n||[],r)},t.prototype.creationInstructionChain=function(t,e){var n=e.length?e[0].sourceSpan:null;this._creationCodeFns.push(function(){return Ai(t,e.map(function(t){return t.params()}),n).toStmt()})},t.prototype.updateInstructionWithAdvance=function(t,e,n,r){this.addAdvanceInstructionIfNecessary(t,e),this.updateInstruction(e,n,r)},t.prototype.updateInstruction=function(t,e,n){this.instructionFn(this._updateCodeFns,t,e,n||[])},t.prototype.updateInstructionChain=function(t,e){var n=e.length?e[0].sourceSpan:null;this._updateCodeFns.push(function(){var r=e.map(function(t){var e=t.value(),n=Array.isArray(e)?e:[e];return t.params&&n.push.apply(n,a([],s(t.params))),t.name&&n.unshift(De(t.name)),n});return Ai(t,r,n).toStmt()})},t.prototype.updateInstructionChainWithAdvance=function(t,e,n){this.addAdvanceInstructionIfNecessary(t,n.length?n[0].sourceSpan:null),this.updateInstructionChain(e,n)},t.prototype.addAdvanceInstructionIfNecessary=function(t,e){if(t!==this._currentIndex){var n=t-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,e,Ze.advance,[De(n)]),this._currentIndex=t}},t.prototype.allocatePureFunctionSlots=function(t){var e=this._pureFunctionSlots;return this._pureFunctionSlots+=t,e},t.prototype.allocateBindingSlots=function(t){this._bindingSlots+=t instanceof Ko?t.expressions.length:1},t.prototype.getImplicitReceiverExpr=function(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?Te(_i):this._bindingScope.getOrCreateSharedContextVar(0)},t.prototype.convertPropertyBinding=function(t){var e,n=ws(this,this.getImplicitReceiverExpr(),t,this.bindingContext(),xs.Expression,function(){return sn("Unexpected interpolation")}),r=n.currValExpr;return(e=this._tempVariables).push.apply(e,a([],s(n.stmts))),r},t.prototype.getUpdateInstructionArguments=function(t){var e,n=function(t,e,n,r){var i=new Is(t,e,r,void 0),o=n.visit(i,Ts.Expression);i.usesImplicitReceiver&&t.notifyImplicitReceiverUse();var s=Es(i,r),a=o.args.slice(1);if(n instanceof Ko){var u=n.strings;3===a.length&&""===u[0]&&""===u[1]?a=[a[1]]:a.length>=19&&(a=[Ne(a)])}return{stmts:s,args:a}}(this,this.getImplicitReceiverExpr(),t,this.bindingContext()),r=n.args;return(e=this._tempVariables).push.apply(e,a([],s(n.stmts))),r},t.prototype.matchDirectives=function(t,e){var n=this;if(this.directiveMatcher){var r=yp(t,Ni(e));this.directiveMatcher.match(r,function(t,e){n.directives.add(e)})}},t.prototype.getAttributeExpressions=function(t,e,n,r,i,u,c){var l,p;void 0===u&&(u=[]),void 0===c&&(c=[]);var h,f=new Set,d=[];try{for(var v=o(e),m=v.next();!m.done;m=v.next()){var y=m.value;if("ngProjectAs"===y.name&&(h=y),y.i18n){var g=this._constants.i18nVarRefsCache,S=void 0;g.has(y.i18n)?S=g.get(y.i18n):(S=this.i18nTranslate(y.i18n),g.set(y.i18n,S)),d.push(De(y.name),S)}else d.push.apply(d,a(a([],s(dp(y.name))),[Ep(t,y)]))}}catch(C){l={error:C}}finally{try{m&&!m.done&&(p=v.return)&&p.call(v)}finally{if(l)throw l.error}}function _(t,e){"string"==typeof t?f.has(t)||(d.push.apply(d,a([],s(dp(t)))),void 0!==e&&d.push(e),f.add(t)):d.push(De(t))}if(h&&d.push.apply(d,a([],s(function(t){var e=J(t.value)[0];return[De(5),Ti(e)]}(h)))),i&&i.populateInitialStylingAttrs(d),n.length||r.length){for(var x=d.length,w=0;w0?this.addToConsts(Ne(t)):ee},t.prototype.prepareRefsArray=function(t){var e=this;return t&&0!==t.length?Ti(Aa(t.map(function(t){var n=e.allocateDataSlot(),r=e._bindingScope.freshReferenceName(),i=e.level,o=Te(r);return e._bindingScope.set(i,t.name,o,0,function(t,e){var r=e>0?[hp(e).toStmt()]:[],i=o.set(Pe(Ze.reference).callFn([De(n)]));return r.concat(i.toConstDecl())},!0),[t.name,t.value]}))):ee},t.prototype.prepareListenerParameter=function(t,e,n){var r=this;return function(){var i=e.name,o=1===e.type?An(i,e.phase):lo(i),s=r.templateName+"_"+t+"_"+o+"_"+n+"_listener",a=r._bindingScope.nestedScope(r._bindingScope.bindingLevel,np);return sp(e,s,a)}},t}(),up=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.constantPool=e,o.allocateSlot=n,o.allocatePureFunctionSlots=r,o.definePipe=i,o._pipeBindExprs=[],o}return r(e,t),e.prototype.visitPipe=function(t,e){var n=this.allocateSlot(),r="PIPE:"+n,i=this.allocatePureFunctionSlots(2+t.args.length),o=new Lo(t.span,t.sourceSpan,t.nameSpan,new Oo(t.span,t.sourceSpan),r),u=function(t){var e=cp[t.length];return{identifier:e||Ze.pipeBindV,isVarLength:!e}}(t.args),c=u.isVarLength;this.definePipe(t.name,r,n,Pe(u.identifier));var l=a([t.exp],s(t.args)),p=this.visitAll(c?[new Wo(t.span,t.sourceSpan,l)]:l),h=new ts(t.span,t.sourceSpan,o,a([new zo(t.span,t.sourceSpan,n),new zo(t.span,t.sourceSpan,i)],s(p)));return this._pipeBindExprs.push(h),h},e.prototype.updatePipeSlotOffsets=function(t){this._pipeBindExprs.forEach(function(e){e.args[1].value+=t})},e.prototype.visitLiteralArray=function(t,e){var n=this;return new Rs(t.span,t.sourceSpan,this.visitAll(t.expressions),function(t){var e=Ne(t);return fp(n.constantPool,e,n.allocatePureFunctionSlots)})},e.prototype.visitLiteralMap=function(t,e){var n=this;return new Rs(t.span,t.sourceSpan,this.visitAll(t.values),function(e){var r=Ae(e.map(function(e,n){return{key:t.keys[n].key,value:e,quoted:t.keys[n].quoted}}));return fp(n.constantPool,r,n.allocatePureFunctionSlots)})},e}(as),cp=[Ze.pipeBind1,Ze.pipeBind2,Ze.pipeBind3,Ze.pipeBind4];var lp=[Ze.pureFunction0,Ze.pureFunction1,Ze.pureFunction2,Ze.pureFunction3,Ze.pureFunction4,Ze.pureFunction5,Ze.pureFunction6,Ze.pureFunction7,Ze.pureFunction8];function pp(t,e,n){return Pe(e,null,t).callFn(n,t)}function hp(t){return Pe(Ze.nextContext).callFn(t>1?[De(t)]:[])}function fp(t,e,n){var r=t.getLiteralFactory(e),i=r.literalFactory,o=r.literalFactoryArguments,u=n(1+o.length),c=function(t){var e=lp[t.length];return{identifier:e||Ze.pureFunctionV,isVarLength:!e}}(o),l=c.identifier,p=c.isVarLength,h=[De(u),i];return p?h.push(Ne(o)):h.push.apply(h,a([],s(o))),Pe(l).callFn(h)}function dp(t){var e=s(u(t),2),n=e[0],r=De(e[1]);return n?[De(0),De(n),r]:[r]}var vp="$$shared_ctx$$",mp=function(){function t(t,e,n){var r,i;if(void 0===t&&(t=0),void 0===e&&(e=null),this.bindingLevel=t,this.parent=e,this.globals=n,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,void 0!==n)try{for(var s=o(n),a=s.next();!a.done;a=s.next()){var u=a.value;this.set(0,u,Te(u))}}catch(c){r={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}}return t.createRootScope=function(){return new t},t.prototype.get=function(t){for(var e=this;e;){var n=e.map.get(t);if(null!=n)return e!==this&&(this.map.set(t,n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority}),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView()),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;e=e.parent}return 0===this.bindingLevel?null:this.getComponentProperty(t)},t.prototype.set=function(t,e,n,r,i,o){if(void 0===r&&(r=0),this.map.has(e)){if(o)return this;sn("The name "+e+" is already defined in scope to be "+this.map.get(e))}return this.map.set(e,{retrievalLevel:t,lhs:n,declare:!1,declareLocalCallback:i,priority:r}),this},t.prototype.getLocal=function(t){return this.get(t)},t.prototype.notifyImplicitReceiverUse=function(){0!==this.bindingLevel&&(this.map.get(vp+0).declare=!0)},t.prototype.nestedScope=function(e,n){var r=new t(e,this,n);return e>0&&r.generateSharedContextVar(0),r},t.prototype.getOrCreateSharedContextVar=function(t){var e=vp+t;return this.map.has(e)||this.generateSharedContextVar(t),this.map.get(e).lhs},t.prototype.getSharedContextName=function(t){var e=this.map.get(vp+t);return e&&e.declare?e.lhs:null},t.prototype.maybeGenerateSharedContextVar=function(t){if(1===t.priority&&t.retrievalLevel0){var l={interpolationConfig:r,preserveWhitespaces:i,errors:c.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(l.commentNodes=[]),l}var p=c.rootNodes,h=new Ql(r,!i,o),f=h.visitAllWithErrors(p);if(!n.alwaysAttemptHtmlToR3AstConversion&&f.errors&&f.errors.length>0){var d={interpolationConfig:r,preserveWhitespaces:i,errors:f.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(d.commentNodes=[]),d}p=f.rootNodes,i||(p=Ja(new Au,p),h.hasI18nMeta&&(p=Ja(new Ql(r,!1),p)));var v=function(t,e,n){var r=new Pl(e,n),i={nodes:Ja(r,t),errors:e.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return n.collectCommentNodes&&(i.commentNodes=r.commentNodes),i}(p,u,{collectCommentNodes:!!n.collectCommentNodes}),m=v.nodes,y=v.errors,g=v.styleUrls,S=v.styles,_=v.ngContentSelectors,x=v.commentNodes;y.push.apply(y,a(a([],s(c.errors)),s(f.errors)));var w={interpolationConfig:r,preserveWhitespaces:i,errors:y.length>0?y:null,nodes:m,styleUrls:g,styles:S,ngContentSelectors:_};return n.collectCommentNodes&&(w.commentNodes=x),w}var _p=new _l;function xp(t){return void 0===t&&(t=qi),new yc(new ll(new Qc),t,_p,null,[])}function wp(t,e){switch(t){case Z.HTML:return Pe(Ze.sanitizeHtml);case Z.SCRIPT:return Pe(Ze.sanitizeScript);case Z.STYLE:return e?Pe(Ze.sanitizeStyle):null;case Z.URL:return Pe(Ze.sanitizeUrl);case Z.RESOURCE_URL:return Pe(Ze.sanitizeResourceUrl);default:return null}}function Ep(t,e){var n=Ti(e.value);if(!wl(t,e.name))return n;switch(_p.securityContext(t,e.name,!0)){case Z.HTML:return Fe(Pe(Ze.trustConstantHtml),new Pt([new Mt(e.value)],[]),void 0,e.valueSpan);case Z.RESOURCE_URL:return Fe(Pe(Ze.trustConstantResourceUrl),new Pt([new Mt(e.value)],[]),void 0,e.valueSpan);default:return n}}function bp(t){return t instanceof Gn||t instanceof Kn||t instanceof nr}function Cp(t){return t.every(bp)}var Tp="ngI18nClosureMode";function Pp(){return Ie(Te(Tp)).notIdentical(De("undefined",lt)).and(Te(Tp))}var Mp=/attr\.([^\]]+)/;function kp(t,e,n){var r=new Ii,i=J(t.selector);return r.set("type",t.internalType),i.length>0&&r.set("selectors",Ti(i)),t.queries.length>0&&r.set("contentQueries",function(t,e,n){var r,i,u=[],c=[],l=Ei(c,"_t");try{for(var p=o(t),h=p.next();!h.done;h=p.next()){var f=h.value;u.push(Pe(Ze.contentQuery).callFn(a([Te("dirIndex")],s(Fp(f,e)))).toStmt());var d=l(),v=Pe(Ze.loadQuery).callFn([]),m=Pe(Ze.queryRefresh).callFn([d.set(v)]),y=Te(_i).prop(f.propertyName).set(f.first?d.prop("first"):d);c.push(m.and(y).toStmt())}}catch(S){r={error:S}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}var g=n?n+"_ContentQueries":null;return Oe([new zt(xi,ct),new zt(_i,null),new zt("dirIndex",null)],[op(1,u),op(2,c)],at,null,g)}(t.queries,e,t.name)),t.viewQueries.length&&r.set("viewQuery",function(t,e,n){var r=[],i=[],o=Ei(i,Si);t.forEach(function(t){var n=Pe(Ze.viewQuery).callFn(Fp(t,e));r.push(n.toStmt());var s=o(),a=Pe(Ze.loadQuery).callFn([]),u=Pe(Ze.queryRefresh).callFn([s.set(a)]),c=Te(_i).prop(t.propertyName).set(t.first?s.prop("first"):s);i.push(u.and(c).toStmt())});var s=n?n+"_Query":null;return Oe([new zt(xi,ct),new zt(_i,null)],[op(1,r),op(2,i)],at,null,s)}(t.viewQueries,e,t.name)),r.set("hostBindings",function(t,e,n,r,i,u,c){var l=Te(_i),p=new zc(l),h=t.specialAttributes,f=h.styleAttr,d=h.classAttr;void 0!==f&&p.registerStyleAttr(f),void 0!==d&&p.registerClassAttr(d);var v=[],m=[],y=e,g=Hp(t),S=n.createDirectiveHostEventAsts(g,y);if(S&&S.length){var _=function(t,e){var n=[],r=[],i=[];return t.forEach(function(t){var i=t.name&&lo(t.name),o=1===t.type?An(i,t.targetOrPhase):i,s=e&&i?e+"_"+o+"_HostBindingHandler":null,a=sp($n.fromParsedEvent(t),s);1==t.type?r.push(a):n.push(a)}),r.length>0&&i.push(Ai(Ze.syntheticHostListener,r).toStmt()),n.length>0&&i.push(Ai(Ze.listener,n).toStmt()),i}(S,u);v.push.apply(v,a([],s(_)))}var x=n.createBoundHostProperties(g,y),w=[],E=0;x&&x.forEach(function(t){p.registerInputBasedOnName(t.name,t.expression,y)?E+=2:(w.push(t),E++)});var b,C=function(){return b||(b=new up(r,function(){return sn("Unexpected node")},function(t){var e=E;return E+=t,e},function(){return sn("Unexpected pipe")})),b},T=[],P=[],M=[];w.forEach(function(t){var e=t.expression.visit(C()),r=Up(l,e),o=function(t){var e,n=t.name,r=n.match(Mp);return r?(n=r[1],e=Ze.attribute):t.isAnimation?(n=In(n),e=Ze.syntheticHostProperty):e=Ze.hostProperty,{bindingName:n,instruction:e,isAttribute:!!r}}(t),u=o.bindingName,c=o.instruction,p=o.isAttribute,h=n.calcPossibleSecurityContexts(i,u,p).filter(function(t){return t!==Z.NONE}),f=null;h.length&&(f=2===h.length&&h.indexOf(Z.URL)>-1&&h.indexOf(Z.RESOURCE_URL)>-1?Pe(Ze.sanitizeUrlOrResourceUrl):wp(h[0],p));var d=[De(u),r.currValExpr];f?d.push(f):js(u)&&d.push(Pe(Ze.validateIframeAttribute)),m.push.apply(m,a([],s(r.stmts))),c===Ze.hostProperty?T.push(d):c===Ze.attribute?P.push(d):c===Ze.syntheticHostProperty?M.push(d):m.push(Pe(c).callFn(d).toStmt())}),T.length>0&&m.push(Ai(Ze.hostProperty,T).toStmt()),P.length>0&&m.push(Ai(Ze.attribute,P).toStmt()),M.length>0&&m.push(Ai(Ze.syntheticHostProperty,M).toStmt());var k=function(t){var e,n,r=[];try{for(var i=o(Object.getOwnPropertyNames(t)),s=i.next();!s.done;s=i.next()){var a=s.value,u=t[a];r.push(De(a),u)}}catch(p){e={error:p}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}(t.attributes);if(p.assignHostAttrs(k,c),p.hasBindings&&p.buildUpdateLevelInstructions(C()).forEach(function(t){if(t.calls.length>0){var e=[];t.calls.forEach(function(t){E+=Math.max(t.allocateBindingSlots-2,0),e.push(function(t,e,n){return t.params(function(t){return n(e,t).currValExpr})}(t,l,Up))}),m.push(Ai(t.reference,e).toStmt())}}),E&&c.set("hostVars",De(E)),v.length>0||m.length>0){var I=u?u+"_HostBindings":null,N=[];return v.length>0&&N.push(op(1,v)),m.length>0&&N.push(op(2,m)),Oe([new zt(xi,ct),new zt(_i,null)],N,at,null,I)}return null}(t.host,t.typeSourceSpan,n,e,t.selector||"",t.name,r)),r.set("inputs",Pi(t.inputs,!0)),r.set("outputs",Pi(t.outputs)),null!==t.exportAs&&r.set("exportAs",Ne(t.exportAs.map(function(t){return De(t)}))),r}function Ip(t,e){var n=[],r=e.providers,i=e.viewProviders;if(r||i){var o=[r||new $t([])];i&&o.push(i),n.push(Pe(Ze.ProvidersFeature).callFn(o))}e.usesInheritance&&n.push(Pe(Ze.InheritDefinitionFeature)),e.fullInheritance&&n.push(Pe(Ze.CopyDefinitionFeature)),e.lifecycle.usesOnChanges&&n.push(Pe(Ze.NgOnChangesFeature)),n.length&&t.set("features",Ne(n))}function Np(t,e,n){var r=kp(t,e,n);return Ip(r,t),{expression:Pe(Ze.defineDirective).callFn([r.toLiteralMap()],void 0,!0),type:qp(t),statements:[]}}function Ap(t,e,n){var r,i,u=kp(t,e,n);Ip(u,t);var c=t.selector&&S.parse(t.selector),l=c&&c[0];if(l){var p=l.getAttrs();p.length&&u.set("attrs",e.getConstLiteral(Ne(p.map(function(t){return De(null!=t?t:void 0)})),!0))}var h=null;if(t.directives.length>0){var f=new _;try{for(var d=o(t.directives),v=d.next();!v.done;v=d.next()){var m=v.value,y=m.type;f.addSelectables(S.parse(m.selector),y)}}catch(j){r={error:j}}finally{try{v&&!v.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}h=f}var g=t.name,x=g?g+"_Template":null,w=new Set,E=new Set,b=t.changeDetection,C=t.template,T=new ap(e,mp.createRootScope(),0,g,null,null,x,h,w,t.pipes,E,Ze.namespaceHTML,t.relativeContextFilePath,t.i18nUseExternalIds),P=T.buildTemplateFunction(C.nodes,[]),M=T.getNgContentSelectors();M&&u.set("ngContentSelectors",M),u.set("decls",De(T.getConstCount())),u.set("vars",De(T.getVarCount()));var k=T.getConsts(),I=k.constExpressions,O=k.prepareStatements;if(I.length>0){var R=Ne(I);O.length>0&&(R=Oe([],a(a([],s(O)),[new ue(R)]))),u.set("consts",R)}if(u.set("template",P),w.size){var F=Rp(Ne(Array.from(w)),t.declarationListEmitMode);u.set("directives",F)}if(E.size){var D=Rp(Ne(Array.from(E)),t.declarationListEmitMode);u.set("pipes",D)}if(null===t.encapsulation&&(t.encapsulation=N.Emulated),t.styles&&t.styles.length){var L=(t.encapsulation==N.Emulated?function(t,e,n){var r=new Bs;return t.map(function(t){return r.shimCssText(t,e,n)})}(t.styles,Ba,ja):t.styles).map(function(t){return e.getConstLiteral(De(t))});u.set("styles",Ne(L))}else t.encapsulation===N.Emulated&&(t.encapsulation=N.None);return t.encapsulation!==N.Emulated&&u.set("encapsulation",De(t.encapsulation)),null!==t.animations&&u.set("data",Ae([{key:"animation",value:t.animations,quoted:!1}])),null!=b&&b!==A.Default&&u.set("changeDetection",De(b)),{expression:Pe(Ze.defineComponent).callFn([u.toLiteralMap()],void 0,!0),type:Op(t),statements:[]}}function Op(t){var e=Vp(t);return e.push(Bp(t.template.ngContentSelectors)),ke(Pe(Ze.ComponentDeclaration,e))}function Rp(t,e){switch(e){case 0:return t;case 1:return Oe([],[new ue(t)]);case 2:var n=t.callMethod("map",[Pe(Ze.resolveForwardRef)]);return Oe([],[new ue(n)])}}function Fp(t,e){var n=[ki(t,e),De(Dp(t))];return t.read&&n.push(t.read),n}function Dp(t){return(t.descendants?1:0)|(t.static?2:0)|(t.emitDistinctChangesOnly?4:0)}function Lp(t){return ke(De(t))}function jp(t){return ke(Ae(Object.keys(t).map(function(e){return{key:e,value:De(Array.isArray(t[e])?t[e][0]:t[e]),quoted:!0}})))}function Bp(t){return t.length>0?ke(Ne(t.map(function(t){return De(t)}))):pt}function Vp(t){var e=null!==t.selector?t.selector.replace(/\n/g,""):null;return[kn(t.type.type,t.typeArgumentCount),null!==e?Lp(e):pt,null!==t.exportAs?Bp(t.exportAs):pt,jp(t.inputs),jp(t.outputs),Bp(t.queries.map(function(t){return t.propertyName}))]}function qp(t){var e=Vp(t);return ke(Pe(Ze.DirectiveDeclaration,e))}function Up(t,e){return ws(null,t,e,"b",xs.Expression,function(){return sn("Unexpected interpolation")})}function Hp(t){return{hostAttributes:{},hostListeners:t.listeners,hostProperties:t.properties}}var zp=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function Wp(t){var e,n,r={},i={},s={},a={};try{for(var u=o(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,p=t[l],h=l.match(zp);if(null===h)switch(l){case"class":if("string"!=typeof p)throw new Error("Class binding must be string");a.classAttr=p;break;case"style":if("string"!=typeof p)throw new Error("Style binding must be string");a.styleAttr=p;break;default:r[l]="string"==typeof p?De(p):p}else if(null!=h[1]){if("string"!=typeof p)throw new Error("Property binding must be string");s[h[1]]=p}else if(null!=h[2]){if("string"!=typeof p)throw new Error("Event binding must be string");i[h[2]]=p}}}catch(f){e={error:f}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return{attributes:r,listeners:i,properties:s,specialAttributes:a}}function Gp(t,e){var n=Hp(t),r=xp();return r.createDirectiveHostEventAsts(n,e),r.createBoundHostProperties(n,e),r.errors}var Kp=function(){},Zp=function(){function e(e){void 0===e&&(e=new yo),this.jitEvaluator=e,this.FactoryTarget=t.FactoryTarget,this.ResourceLoader=Kp,this.elementSchemaRegistry=new _l}return e.prototype.compilePipe=function(t,e,n){var r=Co({name:n.name,type:Fn(n.type),internalType:new gt(n.type),typeArgumentCount:0,deps:null,pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,t,e,[])},e.prototype.compilePipeDeclaration=function(t,e,n){var r=Co(function(t){var e;return{name:t.type.name,type:Fn(t.type),internalType:new gt(t.type),typeArgumentCount:0,pipeName:t.name,deps:null,pure:null===(e=t.pure)||void 0===e||e}}(n));return this.jitExpression(r.expression,t,e,[])},e.prototype.compileInjectable=function(t,e,n){var r,i=Ri({name:n.name,type:Fn(n.type),internalType:new gt(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:ph(n.providedIn),useClass:ch(n,Qp),useFactory:lh(n,$p),useValue:ch(n,Yp),useExisting:ch(n,Jp),deps:null===(r=n.deps)||void 0===r?void 0:r.map(fh)},!0);return this.jitExpression(i.expression,t,e,i.statements)},e.prototype.compileInjectableDeclaration=function(t,e,n){var r,i=Ri({name:n.type.name,type:Fn(n.type),internalType:new gt(n.type),typeArgumentCount:0,providedIn:ph(n.providedIn),useClass:ch(n,Qp),useFactory:lh(n,$p),useValue:ch(n,Yp),useExisting:ch(n,Jp),deps:null===(r=n.deps)||void 0===r?void 0:r.map(dh)},!0);return this.jitExpression(i.expression,t,e,i.statements)},e.prototype.compileInjector=function(t,e,n){var r=So({name:n.name,type:Fn(n.type),internalType:new gt(n.type),providers:new gt(n.providers),imports:n.imports.map(function(t){return new gt(t)})});return this.jitExpression(r.expression,t,e,[])},e.prototype.compileInjectorDeclaration=function(t,e,n){var r=So(function(t){return{name:t.type.name,type:Fn(t.type),internalType:new gt(t.type),providers:void 0!==t.providers?new gt(t.providers):null,imports:void 0!==t.imports?t.imports.map(function(t){return new gt(t)}):[]}}(n));return this.jitExpression(r.expression,t,e,[])},e.prototype.compileNgModule=function(t,e,n){var r=wo({type:Fn(n.type),internalType:new gt(n.type),adjacentType:new gt(n.type),bootstrap:n.bootstrap.map(Fn),declarations:n.declarations.map(Fn),imports:n.imports.map(Fn),exports:n.exports.map(Fn),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Fn):null,id:n.id?new gt(n.id):null});return this.jitExpression(r.expression,t,e,[])},e.prototype.compileNgModuleDeclaration=function(t,e,n){var r=function(t){var e=new Ii;return e.set("type",new gt(t.type)),void 0!==t.bootstrap&&e.set("bootstrap",new gt(t.bootstrap)),void 0!==t.declarations&&e.set("declarations",new gt(t.declarations)),void 0!==t.imports&&e.set("imports",new gt(t.imports)),void 0!==t.exports&&e.set("exports",new gt(t.exports)),void 0!==t.schemas&&e.set("schemas",new gt(t.schemas)),void 0!==t.id&&e.set("id",new gt(t.id)),Pe(Ze.defineNgModule).callFn([e.toLiteralMap()])}(n);return this.jitExpression(r,t,e,[])},e.prototype.compileDirective=function(t,e,n){var r=nh(n);return this.compileDirectiveFromMeta(t,e,r)},e.prototype.compileDirectiveDeclaration=function(t,e,n){var r=rh(n,this.createParseSourceSpan("Directive",n.type.name,e));return this.compileDirectiveFromMeta(t,e,r)},e.prototype.compileDirectiveFromMeta=function(t,e,n){var r=new Ue,i=Np(n,r,xp());return this.jitExpression(i.expression,t,e,r.statements)},e.prototype.compileComponent=function(t,e,n){var r=uh(n.template,n.name,e,n.preserveWhitespaces,n.interpolation),i=r.template,o=r.interpolation,u=Object.assign(Object.assign(Object.assign({},n),nh(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,declarationListEmitMode:0,styles:a(a([],s(n.styles)),s(i.styles)),encapsulation:n.encapsulation,interpolation:o,changeDetection:n.changeDetection,animations:null!=n.animations?new gt(n.animations):null,viewProviders:null!=n.viewProviders?new gt(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0});return this.compileComponentFromMeta(t,"ng:///"+n.name+".js",u)},e.prototype.compileComponentDeclaration=function(t,e,n){var r=function(t,e,n){var r,i,o,s,a,u,c=uh(t.template,t.type.name,n,null!==(r=t.preserveWhitespaces)&&void 0!==r&&r,t.interpolation),l=c.template,p=c.interpolation;return Object.assign(Object.assign({},rh(t,e)),{template:l,styles:null!==(i=t.styles)&&void 0!==i?i:[],directives:(null!==(o=t.components)&&void 0!==o?o:[]).concat(null!==(s=t.directives)&&void 0!==s?s:[]).map(sh),pipes:ah(t.pipes),viewProviders:void 0!==t.viewProviders?new gt(t.viewProviders):null,animations:void 0!==t.animations?new gt(t.animations):null,changeDetection:null!==(a=t.changeDetection)&&void 0!==a?a:A.Default,encapsulation:null!==(u=t.encapsulation)&&void 0!==u?u:N.Emulated,interpolation:p,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0})}(n,this.createParseSourceSpan("Component",n.type.name,e),e);return this.compileComponentFromMeta(t,e,r)},e.prototype.compileComponentFromMeta=function(t,e,n){var r=new Ue,i=Ap(n,r,xp(n.interpolation));return this.jitExpression(i.expression,t,e,r.statements)},e.prototype.compileFactory=function(t,e,n){var r=qn({name:n.name,type:Fn(n.type),internalType:new gt(n.type),typeArgumentCount:n.typeArgumentCount,deps:hh(n.deps),target:n.target});return this.jitExpression(r.expression,t,e,r.statements)},e.prototype.compileFactoryDeclaration=function(t,e,n){var r=qn({name:n.type.name,type:Fn(n.type),internalType:new gt(n.type),typeArgumentCount:0,deps:Array.isArray(n.deps)?n.deps.map(dh):n.deps,target:n.target});return this.jitExpression(r.expression,t,e,r.statements)},e.prototype.createParseSourceSpan=function(t,e,n){return ro(t,e,n)},e.prototype.jitExpression=function(e,n,r,i){var o=a(a([],s(i)),[new oe("$def",e,void 0,[t.StmtModifier.Exported])]);return this.jitEvaluator.evaluateStatements(r,o,new xo(n),!0).$def},e}(),Qp=Object.keys({useClass:null})[0],$p=Object.keys({useFactory:null})[0],Yp=Object.keys({useValue:null})[0],Jp=Object.keys({useExisting:null})[0];function Xp(t){return Object.assign(Object.assign({},t),{predicate:eh(t.predicate),read:t.read?new gt(t.read):null,static:t.static,emitDistinctChangesOnly:t.emitDistinctChangesOnly})}function th(t){var e,n,r,i;return{propertyName:t.propertyName,first:null!==(e=t.first)&&void 0!==e&&e,predicate:eh(t.predicate),descendants:null!==(n=t.descendants)&&void 0!==n&&n,read:t.read?new gt(t.read):null,static:null!==(r=t.static)&&void 0!==r&&r,emitDistinctChangesOnly:null===(i=t.emitDistinctChangesOnly)||void 0===i||i}}function eh(t){return Array.isArray(t)?t:Ln(new gt(t),1)}function nh(t){var e=yh(t.inputs||[]),n=yh(t.outputs||[]),r=t.propMetadata,i={},o={},s=function(t){r.hasOwnProperty(t)&&r[t].forEach(function(e){!function(t){return"Input"===t.ngMetadataName}(e)?function(t){return"Output"===t.ngMetadataName}(e)&&(o[t]=e.bindingPropertyName||t):i[t]=e.bindingPropertyName?[e.bindingPropertyName,t]:t})};for(var a in r)s(a);return Object.assign(Object.assign({},t),{typeArgumentCount:0,typeSourceSpan:t.typeSourceSpan,type:Fn(t.type),internalType:new gt(t.type),deps:null,host:mh(t.propMetadata,t.typeSourceSpan,t.host),inputs:Object.assign(Object.assign({},e),i),outputs:Object.assign(Object.assign({},n),o),queries:t.queries.map(Xp),providers:null!=t.providers?new gt(t.providers):null,viewQueries:t.viewQueries.map(Xp),fullInheritance:!1})}function rh(t,e){var n,r,i,o,s,a,u,c;return{name:t.type.name,type:Fn(t.type),typeSourceSpan:e,internalType:new gt(t.type),selector:null!==(n=t.selector)&&void 0!==n?n:null,inputs:null!==(r=t.inputs)&&void 0!==r?r:{},outputs:null!==(i=t.outputs)&&void 0!==i?i:{},host:ih(t.host),queries:(null!==(o=t.queries)&&void 0!==o?o:[]).map(th),viewQueries:(null!==(s=t.viewQueries)&&void 0!==s?s:[]).map(th),providers:void 0!==t.providers?new gt(t.providers):null,exportAs:null!==(a=t.exportAs)&&void 0!==a?a:null,usesInheritance:null!==(u=t.usesInheritance)&&void 0!==u&&u,lifecycle:{usesOnChanges:null!==(c=t.usesOnChanges)&&void 0!==c&&c},deps:null,typeArgumentCount:0,fullInheritance:!1}}function ih(t){var e,n,r;return void 0===t&&(t={}),{attributes:oh(null!==(e=t.attributes)&&void 0!==e?e:{}),listeners:null!==(n=t.listeners)&&void 0!==n?n:{},properties:null!==(r=t.properties)&&void 0!==r?r:{},specialAttributes:{classAttr:t.classAttribute,styleAttr:t.styleAttribute}}}function oh(t){var e,n,r={};try{for(var i=o(Object.keys(t)),s=i.next();!s.done;s=i.next()){var a=s.value;r[a]=new gt(t[a])}}catch(u){e={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function sh(t){var e,n,r;return{selector:t.selector,type:new gt(t.type),inputs:null!==(e=t.inputs)&&void 0!==e?e:[],outputs:null!==(n=t.outputs)&&void 0!==n?n:[],exportAs:null!==(r=t.exportAs)&&void 0!==r?r:null}}function ah(t){var e,n,r=new Map;if(void 0===t)return r;try{for(var i=o(Object.keys(t)),s=i.next();!s.done;s=i.next()){var a=s.value;r.set(a,new gt(t[a]))}}catch(u){e={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function uh(t,e,n,r,i){var o=i?Vi.fromArray(i):qi,s=Sp(t,n,{preserveWhitespaces:r,interpolationConfig:o});if(null!==s.errors){var a=s.errors.map(function(t){return t.toString()}).join(", ");throw new Error("Errors during JIT compilation of template for "+e+": "+a)}return{template:s,interpolation:o}}function ch(t,e){if(t.hasOwnProperty(e))return Ln(new gt(t[e]),0)}function lh(t,e){if(t.hasOwnProperty(e))return new gt(t[e])}function ph(t){return Ln(null==t||"string"==typeof t?new Tt(null!=t?t:null):new gt(t),0)}function hh(t){return null==t?null:t.map(fh)}function fh(t){var e=null!=t.attribute,n=null===t.token?null:new gt(t.token);return vh(e?new gt(t.attribute):n,e,t.host,t.optional,t.self,t.skipSelf)}function dh(t){var e,n,r,i,o,s=null!==(e=t.attribute)&&void 0!==e&&e;return vh(null===t.token?null:new gt(t.token),s,null!==(n=t.host)&&void 0!==n&&n,null!==(r=t.optional)&&void 0!==r&&r,null!==(i=t.self)&&void 0!==i&&i,null!==(o=t.skipSelf)&&void 0!==o&&o)}function vh(t,e,n,r,i,o){return{token:t,attributeNameType:e?De("unknown"):null,host:n,optional:r,self:i,skipSelf:o}}function mh(t,e,n){var r=Wp(n||{}),i=Gp(r,e);if(i.length)throw new Error(i.map(function(t){return t.msg}).join("\n"));var o=function(e){t.hasOwnProperty(e)&&t[e].forEach(function(t){!function(t){return"HostBinding"===t.ngMetadataName}(t)?function(t){return"HostListener"===t.ngMetadataName}(t)&&(r.listeners[t.eventName||e]=e+"("+(t.args||[]).join(",")+")"):r.properties[t.hostPropertyName||e]=Nn("this",e)})};for(var s in t)o(s);return r}function yh(t){return t.reduce(function(t,e){var n=s(e.split(",").map(function(t){return t.trim()}),2),r=n[0];return t[r]=n[1]||r,t},{})}function gh(t){(t.ng||(t.ng={})).\u0275compilerFacade=new Zp}var Sh=new hn("12.2.17"),_h=function(t){var e=void 0===t?{}:t,n=e.defaultEncapsulation,r=e.useJit,i=void 0===r||r,o=e.jitDevMode,s=void 0!==o&&o,a=e.missingTranslation,u=void 0===a?null:a,c=e.preserveWhitespaces,l=e.strictInjectionParameters;this.defaultEncapsulation=void 0===n?N.Emulated:n,this.useJit=!!i,this.jitDevMode=!!s,this.missingTranslation=u,this.preserveWhitespaces=xh(tn(c)),this.strictInjectionParameters=!0===l};function xh(t,e){return void 0===e&&(e=!1),null===t?e:t}var wh=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e=this;if(Xe(t.template)){if(Xe(t.templateUrl))throw io("'"+cn(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw io("The template specified for component "+cn(t.componentType)+" is not a string")}else{if(!Xe(t.templateUrl))throw io("No template specified for component "+cn(t.componentType));if("string"!=typeof t.templateUrl)throw io("The templateUrl specified for component "+cn(t.componentType)+" is not a string")}if(Xe(t.preserveWhitespaces)&&"boolean"!=typeof t.preserveWhitespaces)throw io("The preserveWhitespaces option for component "+cn(t.componentType)+" must be a boolean");return rn(this._preParseTemplate(t),function(n){return e._normalizeTemplateMetadata(t,n)})},t.prototype._preParseTemplate=function(t){var e,n,r=this;return null!=t.template?(e=t.template,n=t.moduleUrl):(n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl),e=this._fetch(n)),rn(e,function(e){return r._preparseLoadedTemplate(t,e,n)})},t.prototype._preparseLoadedTemplate=function(t,e,n){var r=!!t.template,i=Vi.fromArray(t.interpolation),o=Ra({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),s=this._htmlParser.parse(e,o,{tokenizeExpansionForms:!0,interpolationConfig:i});if(s.errors.length>0)throw io("Template parse errors:\n"+s.errors.join("\n"));var a=this._normalizeStylesheet(new Ea({styles:t.styles,moduleUrl:t.moduleUrl})),u=new Eh;Ja(u,s.rootNodes);var c=this._normalizeStylesheet(new Ea({styles:u.styles,styleUrls:u.styleUrls,moduleUrl:n}));return{template:e,templateUrl:n,isInline:r,htmlAst:s,styles:a.styles.concat(c.styles),inlineStyleUrls:a.styleUrls.concat(c.styleUrls),styleUrls:this._normalizeStylesheet(new Ea({styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})).styleUrls,ngContentSelectors:u.ngContentSelectors}},t.prototype._normalizeTemplateMetadata=function(t,e){var n=this;return rn(this._loadMissingExternalStylesheets(e.styleUrls.concat(e.inlineStyleUrls)),function(r){return n._normalizeLoadedTemplateMetadata(t,e,r)})},t.prototype._normalizeLoadedTemplateMetadata=function(t,e,n){var r=this,i=a([],s(e.styles));this._inlineStyles(e.inlineStyleUrls,n,i);var o=e.styleUrls,u=o.map(function(t){var e=n.get(t),i=a([],s(e.styles));return r._inlineStyles(e.styleUrls,n,i),new Ea({moduleUrl:t,styles:i})}),c=t.encapsulation;return null==c&&(c=this._config.defaultEncapsulation),c===N.Emulated&&0===i.length&&0===o.length&&(c=N.None),new ba({encapsulation:c,template:e.template,templateUrl:e.templateUrl,htmlAst:e.htmlAst,styles:i,styleUrls:o,ngContentSelectors:e.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:e.isInline,externalStylesheets:u,preserveWhitespaces:xh(t.preserveWhitespaces,this._config.preserveWhitespaces)})},t.prototype._inlineStyles=function(t,e,n){var r=this;t.forEach(function(t){var i=e.get(t);i.styles.forEach(function(t){return n.push(t)}),r._inlineStyles(i.styleUrls,e,n)})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),rn(on(t.filter(function(t){return!e.has(t)}).map(function(t){return rn(n._fetch(t),function(r){var i=n._normalizeStylesheet(new Ea({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})),function(t){return e})},t.prototype._normalizeStylesheet=function(t){var e=this,n=t.moduleUrl,r=t.styleUrls.filter(hc).map(function(t){return e._urlResolver.resolve(n,t)}),i=t.styles.map(function(t){var i=function(t,e,n){var r=[],i=n.replace(dc,"").replace(fc,function(){for(var n=[],i=0;i', or 'attr.'.");s["["+e.hostPropertyName+"]"]=t}else s["["+t+"]"]=t}),e[t].filter(function(t){return j.isTypeOf(t)}).forEach(function(e){s["("+e.eventName+")"]=t+"("+(e.args||[]).join(",")+")"});var u=Ph(e[t],function(t){return bh.some(function(e){return e.isTypeOf(t)})});u&&(a[t]=u)}),this._merge(t,i,o,s,a,n,r)},t.prototype._extractPublicName=function(t){return $e(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=new Set,r=[],i=t.length-1;i>=0;i--){var o=t[i],s=this._extractPublicName(o);n.add(s),e.has(s)||(e.add(s),r.push(o))}return r.reverse()},t.prototype._merge=function(t,e,n,r,i,o,s){var a=this._dedupeBindings(t.inputs?t.inputs.concat(e):e),u=this._dedupeBindings(t.outputs?t.outputs.concat(n):n),c=t.host?Object.assign(Object.assign({},t.host),r):r,l=t.queries?Object.assign(Object.assign({},t.queries),i):i;return O.isTypeOf(t)?O({selector:t.selector,inputs:a,outputs:u,host:c,exportAs:t.exportAs,moduleId:t.moduleId,queries:l,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation,preserveWhitespaces:t.preserveWhitespaces}):I({selector:t.selector,inputs:a,outputs:u,host:c,exportAs:t.exportAs,queries:l,providers:t.providers,guards:o})},t}();function Th(t){return I.isTypeOf(t)||O.isTypeOf(t)}function Ph(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null}var Mh="i18n",kh="i18n-",Ih=/^i18n:?/,Nh=!1;var Ah=function(t,e){this.messages=t,this.errors=e},Oh=(()=>((Oh=Oh||{})[Oh.Extract=0]="Extract",Oh[Oh.Merge=1]="Merge",Oh))(),Rh=function(){function t(t,e){this._implicitTags=t,this._implicitAttrs=e}return t.prototype.extract=function(t,e){var n=this;return this._init(Oh.Extract,e),t.forEach(function(t){return t.visit(n,null)}),this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new Ah(this._messages,this._errors)},t.prototype.merge=function(t,e,n){this._init(Oh.Merge,n),this._translations=e;var r=new $a("wrapper",[],t,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new _u(r.children,this._errors)},t.prototype.visitExpansionCase=function(t,e){var n=Ja(this,t.expression,e);if(this._mode===Oh.Merge)return new Za(t.value,n,t.sourceSpan,t.valueSourceSpan,t.expSourceSpan)},t.prototype.visitExpansion=function(t,e){this._mayBeAddBlockChildren(t);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([t]),this._inIcu=!0);var r=Ja(this,t.cases,e);return this._mode===Oh.Merge&&(t=new Ka(t.switchValue,t.type,r,t.sourceSpan,t.switchValueSourceSpan)),this._inIcu=n,t},t.prototype.visitComment=function(t,e){var n=function(t){return!!(t instanceof Ya&&t.value&&t.value.startsWith("i18n"))}(t);if(n&&this._isInTranslatableSection)this._reportError(t,"Could not start a block inside a translatable section");else{var r=function(t){return!!(t instanceof Ya&&t.value&&"/i18n"===t.value)}(t);if(!r||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(r){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(t,this._blockChildren),this._inI18nBlock=!1;var i=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return Ja(this,this._translateMessage(t,i))}return void this._reportError(t,"I18N blocks should not cross element boundaries")}}else n&&(!Nh&&console&&console.warn&&(Nh=!0,console.warn("I18n comments are deprecated, use an element instead ("+t.sourceSpan.start+(t.sourceSpan.details?", "+t.sourceSpan.details:"")+")")),this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(Ih,"").trim(),this._openTranslatableSection(t))}else this._reportError(t,"Trying to close an unopened block")}},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(t,e){var n=this;this._mayBeAddBlockChildren(t),this._depth++;var r=this._inI18nNode,i=this._inImplicitNode,o=[],s=void 0,a=function(t){return t.attrs.find(function(t){return t.name===Mh})||null}(t),u=a?a.value:"",c=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,l=!i&&c;if(this._inImplicitNode=i||c,this._isInTranslatableSection||this._inIcu)(a||l)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==Oh.Extract&&Ja(this,t.children);else{if(a||l){this._inI18nNode=!0;var p=this._addMessage(t.children,u);s=this._translateMessage(t,p)}if(this._mode==Oh.Extract){var h=a||l;h&&this._openTranslatableSection(t),Ja(this,t.children),h&&this._closeTranslatableSection(t,t.children)}}if(this._mode===Oh.Merge&&(s||t.children).forEach(function(t){var r=t.visit(n,e);r&&!n._isInTranslatableSection&&(o=o.concat(r))}),this._visitAttributesOf(t),this._depth--,this._inI18nNode=r,this._inImplicitNode=i,this._mode===Oh.Merge){var f=this._translateAttributes(t);return new $a(t.name,f,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}return null},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=Ul(e)},t.prototype._visitAttributesOf=function(t){var e=this,n={},r=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith(kh)}).forEach(function(t){return n[t.name.slice(kh.length)]=t.value}),t.attrs.forEach(function(t){t.name in n?e._addMessage([t],n[t.name]):r.some(function(e){return t.name===e})&&e._addMessage([t])})},t.prototype._addMessage=function(t,e){if(0==t.length||1==t.length&&t[0]instanceof Qa&&!t[0].value)return null;var n=Fh(e),r=this._createI18nMessage(t,n.meaning,n.description,n.id);return this._messages.push(r),r},t.prototype._translateMessage=function(t,e){if(e&&this._mode===Oh.Merge){var n=this._translations.get(e);if(n)return n;this._reportError(t,'Translation unavailable for message id="'+this._translations.digest(e)+'"')}return[]},t.prototype._translateAttributes=function(t){var e=this,n=t.attrs,r={};n.forEach(function(t){t.name.startsWith(kh)&&(r[t.name.slice(kh.length)]=Fh(t.value))});var i=[];return n.forEach(function(n){if(n.name!==Mh&&!n.name.startsWith(kh))if(n.value&&""!=n.value&&r.hasOwnProperty(n.name)){var o=r[n.name],s=o.id,a=e._createI18nMessage([n],o.meaning,o.description,s),u=e._translations.get(a);u?0==u.length?i.push(new Qa(n.name,"",n.sourceSpan,void 0,void 0,void 0,void 0)):u[0]instanceof Ga?i.push(new Qa(n.name,u[0].value,n.sourceSpan,void 0,void 0,void 0,void 0)):e._reportError(t,'Unexpected translation for attribute "'+n.name+'" (id="'+(s||e._translations.digest(a))+'")'):e._reportError(t,'Translation unavailable for attribute "'+n.name+'" (id="'+(s||e._translations.digest(a))+'")')}else i.push(n)}),i},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!1,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(this._isInTranslatableSection){var n=this._msgCountAtSectionStart;if(1==e.reduce(function(t,e){return t+(e instanceof Ya?0:1)},0))for(var r=this._messages.length-1;r>=n;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof ar)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}else this._reportError(t,"Unexpected section end")},t.prototype._reportError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}();function Fh(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf("@@"),n=t.indexOf("|"),r=s(e>-1?[t.slice(0,e),t.slice(e+2)]:[t,""],2),i=r[0],o=r[1],a=s(n>-1?[i.slice(0,n),i.slice(n+1)]:["",i],2);return{meaning:a[0],description:a[1],id:o.trim()}}var Dh=new(function(){function e(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}return e.prototype.requireExtraParent=function(t){return!1},e.prototype.isClosedByChild=function(t){return!1},e.prototype.getContentType=function(){return t.TagContentType.PARSABLE_DATA},e}());function Lh(t){return Dh}var jh=function(t){function e(){return t.call(this,Lh)||this}return r(e,t),e.prototype.parse=function(e,n,r){return t.prototype.parse.call(this,e,n,r)},e}(xu),Bh="trans-unit",Vh="context",qh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.write=function(t,e){var n=new Uh,r=[];t.forEach(function(t){var e,i=[];t.sources.forEach(function(t){var e=new zr("context-group",{purpose:"location"});e.children.push(new Gr(10),new zr(Vh,{"context-type":"sourcefile"},[new Wr(t.filePath)]),new Gr(10),new zr(Vh,{"context-type":"linenumber"},[new Wr(""+t.startLine)]),new Gr(8)),i.push(new Gr(8),e)});var o=new zr(Bh,{id:t.id,datatype:"html"});(e=o.children).push.apply(e,a([new Gr(8),new zr("source",{},n.serialize(t.nodes))],s(i))),t.description&&o.children.push(new Gr(8),new zr("note",{priority:"1",from:"description"},[new Wr(t.description)])),t.meaning&&o.children.push(new Gr(8),new zr("note",{priority:"1",from:"meaning"},[new Wr(t.meaning)])),o.children.push(new Gr(6)),r.push(new Gr(6),o)});var i=new zr("body",{},a(a([],s(r)),[new Gr(4)])),o=new zr("file",{"source-language":e||"en",datatype:"plaintext",original:"ng2.template"},[new Gr(4),i,new Gr(2)]),u=new zr("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Gr(2),o,new Gr]);return qr([new Ur({version:"1.0",encoding:"UTF-8"}),new Gr,u,new Gr])},e.prototype.load=function(t,e){var n=(new Hh).parse(t,e),r=n.locale,i=n.msgIdToHtml,o=n.errors,u={},c=new zh;if(Object.keys(i).forEach(function(t){var n=c.convert(i[t],e),r=n.i18nNodes;o.push.apply(o,a([],s(n.errors))),u[t]=r}),o.length)throw new Error("xliff parse errors:\n"+o.join("\n"));return{locale:r,i18nNodesByMsgId:u}},e.prototype.digest=function(t){return gr(t)},e}(jr),Uh=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Wr(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,a([],s(t.visit(n))))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Wr("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,a(a([new Wr(e+" {")],s(t.cases[e].visit(n))),[new Wr("} ")]))}),r.push(new Wr("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=function(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}(t.tag);if(t.isVoid)return[new zr("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+"/>"})];var r=new zr("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+">"}),i=new zr("x",{id:t.closeName,ctype:n,"equiv-text":""});return a(a([r],s(this.serialize(t.children))),[i])},t.prototype.visitPlaceholder=function(t,e){return[new zr("x",{id:t.name,"equiv-text":"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n="{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}";return[new zr("x",{id:t.name,"equiv-text":n})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],a([],s(t.map(function(t){return t.visit(e)}))))},t}(),Hh=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new jh).parse(t,e);return this._errors=n.errors,Ja(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case Bh:this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(Ja(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,"<"+Bh+'> misses the "id" attribute');break;case"source":case"seg-source":case"alt-trans":break;case"target":var i=t.startSourceSpan.start.file.content.slice(t.startSourceSpan.end.offset,t.endSourceSpan.start.offset);this._unitMlString=i;break;case"file":var o=t.attrs.find(function(t){return"target-language"===t.name});o&&(this._locale=o.value),Ja(this,t.children,null);break;default:Ja(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}(),zh=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new jh).parse(t,e,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat.apply([],a([],s(Ja(this,n.rootNodes)))),errors:this._errors}},t.prototype.visitText=function(t,e){return new ar(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if("x"===t.name){var n=t.attrs.find(function(t){return"id"===t.name});return n?new pr("",n.value,t.sourceSpan):(this._addError(t,' misses the "id" attribute'),null)}return"mrk"===t.name?[].concat.apply([],a([],s(Ja(this,t.children)))):(this._addError(t,"Unexpected tag"),null)},t.prototype.visitExpansion=function(t,e){var n={};return Ja(this,t.cases).forEach(function(e){n[e.value]=new ur(e.nodes,t.sourceSpan)}),new cr(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:Ja(this,t.expression)}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}();var Wh="ph",Gh="unit",Kh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.write=function(t,e){var n=new Zh,r=[];t.forEach(function(t){var e=new zr(Gh,{id:t.id}),i=new zr("notes");(t.description||t.meaning)&&(t.description&&i.children.push(new Gr(8),new zr("note",{category:"description"},[new Wr(t.description)])),t.meaning&&i.children.push(new Gr(8),new zr("note",{category:"meaning"},[new Wr(t.meaning)]))),t.sources.forEach(function(t){i.children.push(new Gr(8),new zr("note",{category:"location"},[new Wr(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Gr(6)),e.children.push(new Gr(6),i);var o=new zr("segment");o.children.push(new Gr(8),new zr("source",{},n.serialize(t.nodes)),new Gr(6)),e.children.push(new Gr(6),o,new Gr(4)),r.push(new Gr(4),e)});var i=new zr("file",{original:"ng.template",id:"ngi18n"},a(a([],s(r)),[new Gr(2)])),o=new zr("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:e||"en"},[new Gr(2),i,new Gr]);return qr([new Ur({version:"1.0",encoding:"UTF-8"}),new Gr,o,new Gr])},e.prototype.load=function(t,e){var n=(new Qh).parse(t,e),r=n.locale,i=n.msgIdToHtml,o=n.errors,u={},c=new $h;if(Object.keys(i).forEach(function(t){var n=c.convert(i[t],e),r=n.i18nNodes;o.push.apply(o,a([],s(n.errors))),u[t]=r}),o.length)throw new Error("xliff2 parse errors:\n"+o.join("\n"));return{locale:r,i18nNodesByMsgId:u}},e.prototype.digest=function(t){return _r(t)},e}(jr),Zh=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Wr(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,a([],s(t.visit(n))))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Wr("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,a(a([new Wr(e+" {")],s(t.cases[e].visit(n))),[new Wr("} ")]))}),r.push(new Wr("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=function(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(t.tag);if(t.isVoid)return[new zr(Wh,{id:(this._nextPlaceholderId++).toString(),equiv:t.startName,type:r,disp:"<"+t.tag+"/>"})];var i=new zr("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:t.startName,equivEnd:t.closeName,type:r,dispStart:"<"+t.tag+">",dispEnd:""}),o=[].concat.apply([],a([],s(t.children.map(function(t){return t.visit(n)}))));return o.length?o.forEach(function(t){return i.children.push(t)}):i.children.push(new Wr("")),[i]},t.prototype.visitPlaceholder=function(t,e){var n=(this._nextPlaceholderId++).toString();return[new zr(Wh,{id:n,equiv:t.name,disp:"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new zr(Wh,{id:r,equiv:t.name,disp:"{"+t.value.expression+", "+t.value.type+", "+n+"}"})]},t.prototype.serialize=function(t){var e=this;return this._nextPlaceholderId=0,[].concat.apply([],a([],s(t.map(function(t){return t.visit(e)}))))},t}(),Qh=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new jh).parse(t,e);return this._errors=n.errors,Ja(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case Gh:this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(Ja(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,' misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.start.file.content.slice(t.startSourceSpan.end.offset,t.endSourceSpan.start.offset);this._unitMlString=i;break;case"xliff":var o=t.attrs.find(function(t){return"trgLang"===t.name});o&&(this._locale=o.value);var s=t.attrs.find(function(t){return"version"===t.name});if(s){var a=s.value;"2.0"!==a?this._addError(t,"The XLIFF file version "+a+" is not compatible with XLIFF 2.0 serializer"):Ja(this,t.children,null)}break;default:Ja(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}(),$h=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new jh).parse(t,e,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat.apply([],a([],s(Ja(this,n.rootNodes)))),errors:this._errors}},t.prototype.visitText=function(t,e){return new ar(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){var n=this;switch(t.name){case Wh:var r=t.attrs.find(function(t){return"equiv"===t.name});if(r)return[new pr("",r.value,t.sourceSpan)];this._addError(t,' misses the "equiv" attribute');break;case"pc":var i=t.attrs.find(function(t){return"equivStart"===t.name}),o=t.attrs.find(function(t){return"equivEnd"===t.name});if(i){if(o){var u=o.value,c=[];return c.concat.apply(c,a(a([new pr("",i.value,t.sourceSpan)],s(t.children.map(function(t){return t.visit(n,null)}))),[new pr("",u,t.sourceSpan)]))}this._addError(t,' misses the "equivEnd" attribute')}else this._addError(t,' misses the "equivStart" attribute');break;case"mrk":return[].concat.apply([],a([],s(Ja(this,t.children))));default:this._addError(t,"Unexpected tag")}return null},t.prototype.visitExpansion=function(t,e){var n={};return Ja(this,t.cases).forEach(function(e){n[e.value]=new ur(e.nodes,t.sourceSpan)}),new cr(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:[].concat.apply([],a([],s(Ja(this,t.expression))))}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}();var Yh="translationbundle",Jh="translation",Xh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.write=function(t,e){throw new Error("Unsupported")},e.prototype.load=function(t,e){var n=(new tf).parse(t,e),r=n.locale,i=n.msgIdToHtml,o=n.errors,s={},a=new ef;if(Object.keys(i).forEach(function(t){!function(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var r=n();return Object.defineProperty(t,e,{enumerable:!0,value:r}),r},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}(s,t,function(){var n=a.convert(i[t],e),r=n.i18nNodes,o=n.errors;if(o.length)throw new Error("xtb parse errors:\n"+o.join("\n"));return r})}),o.length)throw new Error("xtb parse errors:\n"+o.join("\n"));return{locale:r,i18nNodesByMsgId:s}},e.prototype.digest=function(t){return ti(t)},e.prototype.createNameMapper=function(t){return new Br(t,ni)},e}(jr);var tf=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._msgIdToHtml={};var n=(new jh).parse(t,e);return this._errors=n.errors,Ja(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case Yh:this._bundleDepth++,this._bundleDepth>1&&this._addError(t,"<"+Yh+"> elements can not be nested");var n=t.attrs.find(function(t){return"lang"===t.name});n&&(this._locale=n.value),Ja(this,t.children,null),this._bundleDepth--;break;case Jh:var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(t,"Duplicated translations for msg "+i);else{var o=t.startSourceSpan.start.file.content.slice(t.startSourceSpan.end.offset,t.endSourceSpan.start.offset);this._msgIdToHtml[i]=o}}else this._addError(t,"<"+Jh+'> misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}(),ef=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new jh).parse(t,e,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:Ja(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new ar(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){var n={};return Ja(this,t.cases).forEach(function(e){n[e.value]=new ur(e.nodes,t.sourceSpan)}),new cr(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:Ja(this,t.expression)}},t.prototype.visitElement=function(t,e){if("ph"===t.name){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new pr("",n.value,t.sourceSpan);this._addError(t,' misses the "name" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}(),nf=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),void 0===i&&(i=Q.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new rf(t,e,n,r,i,o)}return t.load=function(e,n,r,i,o){var s=r.load(e,n);return new t(s.i18nNodesByMsgId,s.locale,function(t){return r.digest(t)},function(t){return r.createNameMapper(t)},i,o)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),rf=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new Cu).parse(e,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:a(a([],s(this._errors)),s(r.errors))}},t.prototype.visitText=function(t,e){return Zr(t.value)},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression].text:t.expression)+", "+t.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n].text:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,i=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+t.children.map(function(t){return t.visit(n)}).join("")+""},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),i=this._mapperFactory?this._mapperFactory(t):null;this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r)?(e=this._i18nNodesByMsgId[r],this._mapper=function(t){return i?i.toInternalName(t):t}):(this._missingTranslationStrategy===Q.Error?this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+(this._locale?' for locale "'+this._locale+'"':"")):this._console&&this._missingTranslationStrategy===Q.Warning&&this._console.warn('Missing translation for message "'+r+'"'+(this._locale?' for locale "'+this._locale+'"':"")),e=t.nodes,this._mapper=function(t){return t});var o=e.map(function(t){return t.visit(n)}).join(""),s=this._contextStack.pop();return this._srcMsg=s.msg,this._mapper=s.mapper,o},t.prototype._addError=function(t,e){this._errors.push(new Kl(t.sourceSpan,e))},t}(),of=function(){function t(t,e,n,r,i){if(void 0===r&&(r=Q.Warning),this._htmlParser=t,e){var o=function(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new Jr;case"xtb":return new Xh;case"xliff2":case"xlf2":return new Kh;default:return new qh}}(n);this._translationBundle=nf.load(e,"i18n",o,r,i)}else this._translationBundle=new nf({},null,gr,void 0,r,i)}return t.prototype.parse=function(t,e,n){void 0===n&&(n={});var r=n.interpolationConfig||qi,i=this._htmlParser.parse(t,e,Object.assign({interpolationConfig:r},n));return i.errors.length?new _u(i.rootNodes,i.errors):function(t,e,n,r,i){return new Rh(r,i).merge(t,e,n)}(i.rootNodes,this._translationBundle,r,[],{})},t}();function sf(t,e,n){return void 0===n&&(n=null),Je(e,new af(t),n)}var af=function(){function t(t){this.ctx=t}return t.prototype.visitArray=function(t,e){for(var n=[],r=0;r0))return e.importExpr(t.useFactory);n=e.importExpr(t.useFactory).callFn(this.depsArray(r,e))}else if(t.useValue)n=sf(e,t.useValue);else{var i=t.useClass||t.symbol,o=this.depsArray(this.reflector.parameters(i),e);n=new Ct(e.importExpr(i),o)}return Oe([],[new ue(n)],void 0,void 0,t.symbol.name+"_Factory")},e.prototype.injectableDef=function(t,e){var n=te;void 0!==t.providedIn&&(n=null===t.providedIn?te:"string"==typeof t.providedIn?De(t.providedIn):e.importExpr(t.providedIn));var r=[uf("factory",this.factoryFor(t,e)),uf("token",e.importExpr(t.type.reference)),uf("providedIn",n)];return Pe(Ze.\u0275\u0275defineInjectable).callFn([Ae(r)],void 0,!0)},e.prototype.compile=function(e,n){if(this.alwaysGenerateDef||void 0!==e.providedIn){var r=uo(e.type),i=new fe(r,null,[new le("\u0275prov",at,[t.StmtModifier.Static],this.injectableDef(e,n))],[],new pe(null,[],[]),[]);n.statements.push(i)}},e}(),lf=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,pf=/\.ngfactory\.|\.ngsummary\./,hf=/\.ngsummary\./,ff=/NgSummary$/;function df(t,e){void 0===e&&(e=!1);var n=mf(t,e);return n[0]+".ngfactory"+yf(n[1])}function vf(t){return t.replace(pf,".")}function mf(t,e){if(void 0===e&&(e=!1),t.endsWith(".d.ts"))return[t.slice(0,-5),e?".ts":".d.ts"];var n=t.lastIndexOf(".");return-1!==n?[t.substring(0,n),t.substring(n)]:[t,""]}function yf(t){return".tsx"===t?".ts":t}function gf(t){return t.replace(lf,"")+".ngsummary.json"}function Sf(t,e){void 0===e&&(e=!1);var n=mf(vf(t),e);return n[0]+".ngsummary"+n[1]}function _f(t){return t+"NgSummary"}var xf=/\u0275\d+/;function wf(t){return xf.test(t)}var Ef=(()=>((Ef=Ef||{})[Ef.OnInit=0]="OnInit",Ef[Ef.OnDestroy=1]="OnDestroy",Ef[Ef.DoCheck=2]="DoCheck",Ef[Ef.OnChanges=3]="OnChanges",Ef[Ef.AfterContentInit=4]="AfterContentInit",Ef[Ef.AfterContentChecked=5]="AfterContentChecked",Ef[Ef.AfterViewInit=6]="AfterViewInit",Ef[Ef.AfterViewChecked=7]="AfterViewChecked",Ef))(),bf=[Ef.OnInit,Ef.OnDestroy,Ef.DoCheck,Ef.OnChanges,Ef.AfterContentInit,Ef.AfterContentChecked,Ef.AfterViewInit,Ef.AfterViewChecked];function Cf(t,e,n){return t.hasLifecycleHook(n,function(t){switch(t){case Ef.OnInit:return"ngOnInit";case Ef.OnDestroy:return"ngOnDestroy";case Ef.DoCheck:return"ngDoCheck";case Ef.OnChanges:return"ngOnChanges";case Ef.AfterContentInit:return"ngAfterContentInit";case Ef.AfterContentChecked:return"ngAfterContentChecked";case Ef.AfterViewInit:return"ngAfterViewInit";case Ef.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+t)}}(e))}function Tf(t,e){return bf.filter(function(n){return Cf(t,n,e)})}var Pf="ngComponentType",Mf="ngMissingNgModuleMetadataErrorData";var kf=function(){function e(t,e,n,r,i,o,s,a,u,c,l,p){this._config=t,this._htmlParser=e,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=o,this._schemaRegistry=s,this._directiveNormalizer=a,this._console=u,this._staticSymbolCache=c,this._reflector=l,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}return e.prototype.getReflector=function(){return this._reflector},e.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},e.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},e.prototype._createProxyClass=function(t,e){var n=null,r=function(){if(!n)throw new Error("Illegal state: Class "+e+" for type "+cn(t)+" is not compiled yet!");return n.apply(this,arguments)};return r.setDelegate=function(t){n=t,r.prototype=t.prototype},r.overriddenName=e,r},e.prototype.getGeneratedClass=function(t,e){return t instanceof Ui?this._staticSymbolCache.get(df(t.filePath),e):this._createProxyClass(t,e)},e.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,ya(t,0))},e.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,Sa(t))},e.prototype.getHostComponentType=function(t){var e=uo({reference:t})+"_Host";return t instanceof Ui?this._staticSymbolCache.get(t.filePath,e):this._createProxyClass(t,e)},e.prototype.getRendererType=function(t){return t instanceof Ui?this._staticSymbolCache.get(df(t.filePath),ga(t)):{}},e.prototype.getComponentFactory=function(t,e,n,r){if(e instanceof Ui)return this._staticSymbolCache.get(df(e.filePath),_a(e));var i=this.getHostComponentViewClass(e);return this._reflector.resolveExternalReference(fs.createComponentFactory)(t,e,i,n,r,[])},e.prototype.initComponentFactory=function(t,e){var n;t instanceof Ui||(n=t.ngContentSelectors).push.apply(n,a([],s(e)))},e.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);this._summaryCache.set(t,(n=r?r.type:null)||null)}return n&&n.summaryKind===e?n:null},e.prototype.getHostComponentMetadata=function(t,e){var n=this.getHostComponentType(t.type.reference);e||(e=this.getHostComponentViewClass(n));var r=S.parse(t.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Ca.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new ba({encapsulation:N.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:A.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:e,rendererType:{id:"__Host__",encapsulation:N.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},e.prototype.loadDirectiveMetadata=function(t,e,n){var r=this;if(this._directiveCache.has(e))return null;e=ln(e);var i=this.getNonNormalizedDirectiveMetadata(e),o=i.metadata,s=function(t){var n=new Ca({isHost:!1,type:o.type,isComponent:o.isComponent,selector:o.selector,exportAs:o.exportAs,changeDetection:o.changeDetection,inputs:o.inputs,outputs:o.outputs,hostListeners:o.hostListeners,hostProperties:o.hostProperties,hostAttributes:o.hostAttributes,providers:o.providers,viewProviders:o.viewProviders,queries:o.queries,guards:o.guards,viewQueries:o.viewQueries,entryComponents:o.entryComponents,componentViewType:o.componentViewType,rendererType:o.rendererType,componentFactory:o.componentFactory,template:t});return t&&r.initComponentFactory(o.componentFactory,t.ngContentSelectors),r._directiveCache.set(e,n),r._summaryCache.set(e,n.toSummary()),null};if(o.isComponent){var a=o.template,u=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:e,moduleUrl:this._reflector.componentModuleUrl(e,i.annotation),encapsulation:a.encapsulation,template:a.template,templateUrl:a.templateUrl,styles:a.styles,styleUrls:a.styleUrls,animations:a.animations,interpolation:a.interpolation,preserveWhitespaces:a.preserveWhitespaces});return pn(u)&&n?(this._reportError(function(t){var e=Error("Can't compile synchronously as "+cn(t)+" is still being loaded!");return e[Pf]=t,e}(e),e),null):rn(u,s)}return s(null),null},e.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=ln(t)))return null;var n=this._nonNormalizedDirectiveCache.get(t);if(n)return n;var r=this._directiveResolver.resolve(t,!1);if(!r)return null;var i=void 0;if(O.isTypeOf(r)){Li("styles",(s=r).styles),Li("styleUrls",s.styleUrls),Bi("interpolation",s.interpolation);var o=s.animations;i=new ba({encapsulation:tn(s.encapsulation),template:tn(s.template),templateUrl:tn(s.templateUrl),htmlAst:null,styles:s.styles||[],styleUrls:s.styleUrls||[],animations:o||[],interpolation:tn(s.interpolation),isInline:!!s.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:tn(r.preserveWhitespaces)})}var s,a=null,u=[],c=[],l=r.selector;O.isTypeOf(r)?(a=(s=r).changeDetection,s.viewProviders&&(u=this._getProvidersMetadata(s.viewProviders,c,'viewProviders for "'+Rf(t)+'"',[],t)),s.entryComponents&&(c=Nf(s.entryComponents).map(function(t){return e._getEntryComponentMetadata(t)}).concat(c)),l||(l=this._schemaRegistry.getDefaultComponentElementName())):l||(l=null);var p=[];null!=r.providers&&(p=this._getProvidersMetadata(r.providers,c,'providers for "'+Rf(t)+'"',[],t));var h=[],f=[];null!=r.queries&&(h=this._getQueriesMetadata(r.queries,!1,t),f=this._getQueriesMetadata(r.queries,!0,t));var d=Ca.create({isHost:!1,selector:l,exportAs:tn(r.exportAs),isComponent:!!i,type:this._getTypeMetadata(t),template:i,changeDetection:a,inputs:r.inputs||[],outputs:r.outputs||[],host:r.host||{},providers:p||[],viewProviders:u||[],queries:h||[],guards:r.guards||{},viewQueries:f||[],entryComponents:c,componentViewType:i?this.getComponentViewClass(t):null,rendererType:i?this.getRendererType(t):null,componentFactory:null});return i&&(d.componentFactory=this.getComponentFactory(l,t,d.inputs,d.outputs)),this._nonNormalizedDirectiveCache.set(t,n={metadata:d,annotation:r}),n},e.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(io("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+Rf(t)+"."),t),e},e.prototype.getDirectiveSummary=function(e){var n=this._loadSummary(e,t.CompileSummaryKind.Directive);return n||this._reportError(io("Illegal state: Could not load the summary for directive "+Rf(e)+"."),e),n},e.prototype.isDirective=function(e){return!!this._loadSummary(e,t.CompileSummaryKind.Directive)||this._directiveResolver.isDirective(e)},e.prototype.isAbstractDirective=function(e){var n=this._loadSummary(e,t.CompileSummaryKind.Directive);if(n&&!n.isComponent)return!n.selector;var r=this._directiveResolver.resolve(e,!1);return!(!r||O.isTypeOf(r)||r.selector)},e.prototype.isPipe=function(e){return!!this._loadSummary(e,t.CompileSummaryKind.Pipe)||this._pipeResolver.isPipe(e)},e.prototype.isNgModule=function(e){return!!this._loadSummary(e,t.CompileSummaryKind.NgModule)||this._ngModuleResolver.isNgModule(e)},e.prototype.getNgModuleSummary=function(e,n){void 0===n&&(n=null);var r=this._loadSummary(e,t.CompileSummaryKind.NgModule);if(!r){var i=this.getNgModuleMetadata(e,!1,n);(r=i?i.toSummary():null)&&this._summaryCache.set(e,r)}return r},e.prototype.loadNgModuleDirectiveAndPipeMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.getNgModuleMetadata(t,n),o=[];return i&&(i.declaredDirectives.forEach(function(n){var i=r.loadDirectiveMetadata(t,n.reference,e);i&&o.push(i)}),i.declaredPipes.forEach(function(t){return r._loadPipeMetadata(t.reference)})),Promise.all(o)},e.prototype.getShallowModuleMetadata=function(t){var e=this._shallowModuleCache.get(t);if(e)return e;var n=Ph(this._reflector.shallowAnnotations(t),B.isTypeOf);return e={type:this._getTypeMetadata(t),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(t,e),e},e.prototype.getNgModuleMetadata=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=null),t=ln(t);var i=this._ngModuleCache.get(t);if(i)return i;var o=this._ngModuleResolver.resolve(t,e);if(!o)return null;var u=[],c=[],l=[],p=[],h=[],f=[],d=[],v=[],m=[];o.imports&&Nf(o.imports).forEach(function(e){var i=void 0;if(Af(e)?i=e:e&&e.ngModule&&(i=e.ngModule,e.providers&&f.push.apply(f,a([],s(r._getProvidersMetadata(e.providers,d,"provider for the NgModule '"+Rf(i)+"'",[],e))))),i){if(!r._checkSelfImport(t,i))if(n||(n=new Set),n.has(i))r._reportError(io(r._getTypeDescriptor(i)+" '"+Rf(e)+"' is imported recursively by the module '"+Rf(t)+"'."),t);else{n.add(i);var o=r.getNgModuleSummary(i,n);if(n.delete(i),!o){var u=io("Unexpected "+r._getTypeDescriptor(e)+" '"+Rf(e)+"' imported by the module '"+Rf(t)+"'. Please add a @NgModule annotation.");return e instanceof Ui&&(u[Mf]={fileName:e.filePath,className:e.name}),void r._reportError(u,t)}p.push(o)}}else r._reportError(io("Unexpected value '"+Rf(e)+"' imported by the module '"+Rf(t)+"'"),t)}),o.exports&&Nf(o.exports).forEach(function(e){if(Af(e))if(n||(n=new Set),n.has(e))r._reportError(io(r._getTypeDescriptor(e)+" '"+cn(e)+"' is exported recursively by the module '"+Rf(t)+"'"),t);else{n.add(e);var i=r.getNgModuleSummary(e,n);n.delete(e),i?h.push(i):c.push(r._getIdentifierMetadata(e))}else r._reportError(io("Unexpected value '"+Rf(e)+"' exported by the module '"+Rf(t)+"'"),t)});var y=this._getTransitiveNgModuleMetadata(p,h);o.declarations&&Nf(o.declarations).forEach(function(e){if(Af(e)){var n=r._getIdentifierMetadata(e);if(r.isDirective(e))r.isAbstractDirective(e)&&r._reportError(io("Directive "+Rf(e)+" has no selector, please add it!"),e),y.addDirective(n),u.push(n),r._addTypeToModule(e,t);else{if(!r.isPipe(e))return void r._reportError(io("Unexpected "+r._getTypeDescriptor(e)+" '"+Rf(e)+"' declared by the module '"+Rf(t)+"'. Please add a @Pipe/@Directive/@Component annotation."),t);y.addPipe(n),y.pipes.push(n),l.push(n),r._addTypeToModule(e,t)}}else r._reportError(io("Unexpected value '"+Rf(e)+"' declared by the module '"+Rf(t)+"'"),t)});var g=[],S=[];return c.forEach(function(e){if(y.directivesSet.has(e.reference))g.push(e),y.addExportedDirective(e);else{if(!y.pipesSet.has(e.reference))return void r._reportError(io("Can't export "+r._getTypeDescriptor(e.reference)+" "+Rf(e.reference)+" from "+Rf(t)+" as it was neither declared nor imported!"),t);S.push(e),y.addExportedPipe(e)}}),o.providers&&f.push.apply(f,a([],s(this._getProvidersMetadata(o.providers,d,"provider for the NgModule '"+Rf(t)+"'",[],t)))),o.entryComponents&&d.push.apply(d,a([],s(Nf(o.entryComponents).map(function(t){return r._getEntryComponentMetadata(t)})))),o.bootstrap&&Nf(o.bootstrap).forEach(function(e){Af(e)?v.push(r._getIdentifierMetadata(e)):r._reportError(io("Unexpected value '"+Rf(e)+"' used in the bootstrap property of module '"+Rf(t)+"'"),t)}),d.push.apply(d,a([],s(v.map(function(t){return r._getEntryComponentMetadata(t.reference)})))),o.schemas&&m.push.apply(m,a([],s(Nf(o.schemas)))),i=new Ma({type:this._getTypeMetadata(t),providers:f,entryComponents:d,bootstrapComponents:v,schemas:m,declaredDirectives:u,exportedDirectives:g,declaredPipes:l,exportedPipes:S,importedModules:p,exportedModules:h,transitiveModule:y,id:o.id||null}),d.forEach(function(t){return y.addEntryComponent(t)}),f.forEach(function(t){return y.addProvider(t,i.type)}),y.addModule(i.type),this._ngModuleCache.set(t,i),i},e.prototype._checkSelfImport=function(t,e){return t===e&&(this._reportError(io("'"+Rf(t)+"' module can't import itself"),t),!0)},e.prototype._getTypeDescriptor=function(t){if(Af(t)){if(this.isDirective(t))return"directive";if(this.isPipe(t))return"pipe";if(this.isNgModule(t))return"module"}return t.provide?"provider":"value"},e.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);n&&n!==e?this._reportError(io("Type "+Rf(t)+" is part of the declarations of 2 modules: "+Rf(n)+" and "+Rf(e)+"! Please consider moving "+Rf(t)+" to a higher module that imports "+Rf(n)+" and "+Rf(e)+". You can also create a new NgModule that exports and includes "+Rf(t)+" then import that NgModule in "+Rf(n)+" and "+Rf(e)+"."),e):this._ngModuleOfTypes.set(t,e)},e.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=new ka,r=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return n.addModule(t)}),t.entryComponents.forEach(function(t){return n.addEntryComponent(t)});var e=new Set;t.providers.forEach(function(t){var i=wa(t.provider.token),o=r.get(i);o||(o=new Set,r.set(i,o));var s=t.module.reference;(e.has(i)||!o.has(s))&&(o.add(s),e.add(i),n.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return n.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addDirective(t)}),t.exportedPipes.forEach(function(t){return n.addPipe(t)})}),n},e.prototype._getIdentifierMetadata=function(t){return{reference:t=ln(t)}},e.prototype.isInjectable=function(t){return this._reflector.tryAnnotations(t).some(function(t){return V.isTypeOf(t)})},e.prototype.getInjectableSummary=function(e){return{summaryKind:t.CompileSummaryKind.Injectable,type:this._getTypeMetadata(e,null,!1)}},e.prototype.getInjectableMetadata=function(e,n,r){void 0===n&&(n=null),void 0===r&&(r=!0);var i=this._loadSummary(e,t.CompileSummaryKind.Injectable),o=i?i.type:this._getTypeMetadata(e,n,r),s=this._reflector.annotations(e).filter(function(t){return V.isTypeOf(t)});if(0===s.length)return null;var a=s[s.length-1];return{symbol:e,type:o,providedIn:a.providedIn,useValue:a.useValue,useClass:a.useClass,useExisting:a.useExisting,useFactory:a.useFactory,deps:a.deps}},e.prototype._getTypeMetadata=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r=this._getIdentifierMetadata(t);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,e,n),lifecycleHooks:Tf(this._reflector,r.reference)}},e.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),{reference:t=ln(t),diDeps:this._getDependenciesMetadata(t,e)}},e.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(io("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+Rf(t)+"."),t),e||null},e.prototype.getPipeSummary=function(e){var n=this._loadSummary(e,t.CompileSummaryKind.Pipe);return n||this._reportError(io("Illegal state: Could not load the summary for pipe "+Rf(e)+"."),e),n},e.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},e.prototype._loadPipeMetadata=function(t){t=ln(t);var e=this._pipeResolver.resolve(t),n=new Ta({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},e.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=(e||this._reflector.parameters(t)||[]).map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){G.isTypeOf(t)?n=!0:z.isTypeOf(t)?o=!0:W.isTypeOf(t)?s=!0:H.isTypeOf(t)?a=!0:C.isTypeOf(t)?(e=!0,u=t.attributeName):E.isTypeOf(t)?u=t.token:(b.isTypeOf(t)||t instanceof Ui||Af(t)&&null==u)&&(u=t)}):u=t,null==u?(i=!0,{}):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var s=o.map(function(t){return t.token?Rf(t.token):"?"}).join(", "),a="Can't resolve all parameters for "+Rf(t)+": ("+s+").";(n||this._config.strictInjectionParameters)&&this._reportError(io(a),t)}return o},e.prototype._getTokenMetadata=function(t){return"string"==typeof(t=ln(t))?{value:t}:{identifier:{reference:t}}},e.prototype._getProvidersMetadata=function(t,e,n,r,i){var o=this;return void 0===r&&(r=[]),t.forEach(function(u,c){if(Array.isArray(u))o._getProvidersMetadata(u,e,n,r);else{var l=void 0;if((u=ln(u))&&"object"==typeof u&&u.hasOwnProperty("provide"))o._validateProvider(u),l=new Na(u.provide,u);else{if(!Af(u)){if(void 0===u)return void o._reportError(io("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));var p=t.reduce(function(t,e,n){return n"),t.value.visitExpression(this,e),e.print(t,")"),null},n.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),this.typeExpression++,t.classExpr.visitExpression(this,e),this.typeExpression--,e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},n.prototype.visitDeclareClassStmt=function(e,n){var r=this;return n.pushClass(e),e.hasModifier(t.StmtModifier.Exported)&&n.print(e,"export "),n.print(e,"class "+e.name),null!=e.parent&&(n.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,n),this.typeExpression--),n.println(e," {"),n.incIndent(),e.fields.forEach(function(t){return r._visitClassField(t,n)}),null!=e.constructorMethod&&this._visitClassConstructor(e,n),e.getters.forEach(function(t){return r._visitClassGetter(t,n)}),e.methods.forEach(function(t){return r._visitClassMethod(t,n)}),n.decIndent(),n.println(e,"}"),n.popClass(),null},n.prototype._visitClassField=function(e,n){e.hasModifier(t.StmtModifier.Private)&&n.print(null,"/*private*/ "),e.hasModifier(t.StmtModifier.Static)&&n.print(null,"static "),n.print(null,e.name),this._printColonType(e.type,n),e.initializer&&(n.print(null," = "),e.initializer.visitExpression(this,n)),n.println(null,";")},n.prototype._visitClassGetter=function(e,n){e.hasModifier(t.StmtModifier.Private)&&n.print(null,"private "),n.print(null,"get "+e.name+"()"),this._printColonType(e.type,n),n.println(null," {"),n.incIndent(),this.visitAllStatements(e.body,n),n.decIndent(),n.println(null,"}")},n.prototype._visitClassConstructor=function(t,e){e.print(t,"constructor("),this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println(t,"}")},n.prototype._visitClassMethod=function(e,n){e.hasModifier(t.StmtModifier.Private)&&n.print(null,"private "),n.print(null,e.name+"("),this._visitParams(e.params,n),n.print(null,")"),this._printColonType(e.type,n,"void"),n.println(null," {"),n.incIndent(),this.visitAllStatements(e.body,n),n.decIndent(),n.println(null,"}")},n.prototype.visitFunctionExpr=function(t,e){return t.name&&(e.print(t,"function "),e.print(t,t.name)),e.print(t,"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),t.name||e.print(t," => "),e.println(t,"{"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},n.prototype.visitDeclareFunctionStmt=function(e,n){return e.hasModifier(t.StmtModifier.Exported)&&n.print(e,"export "),n.print(e,"function "+e.name+"("),this._visitParams(e.params,n),n.print(e,")"),this._printColonType(e.type,n,"void"),n.println(e," {"),n.incIndent(),this.visitAllStatements(e.statements,n),n.decIndent(),n.println(e,"}"),null},n.prototype.visitTryCatchStmt=function(e,n){n.println(e,"try {"),n.incIndent(),this.visitAllStatements(e.bodyStmts,n),n.decIndent(),n.println(e,"} catch ("+wn.name+") {"),n.incIndent();var r=[En.set(wn.prop("stack",null)).toDeclStmt(null,[t.StmtModifier.Final])].concat(e.catchStmts);return this.visitAllStatements(r,n),n.decIndent(),n.println(e,"}"),null},n.prototype.visitBuiltinType=function(e,n){var r;switch(e.name){case t.BuiltinTypeName.Bool:r="boolean";break;case t.BuiltinTypeName.Dynamic:r="any";break;case t.BuiltinTypeName.Function:r="Function";break;case t.BuiltinTypeName.Number:case t.BuiltinTypeName.Int:r="number";break;case t.BuiltinTypeName.String:r="string";break;case t.BuiltinTypeName.None:r="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return n.print(null,r),null},n.prototype.visitExpressionType=function(t,e){var n=this;return t.value.visitExpression(this,e),null!==t.typeParams&&(e.print(null,"<"),this.visitAllObjects(function(t){return n.visitType(t,e)},t.typeParams,e,","),e.print(null,">")),null},n.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print(null,"[]"),null},n.prototype.visitMapType=function(t,e){return e.print(null,"{[key: string]:"),this.visitType(t.valueType,e),e.print(null,"}"),null},n.prototype.getBuiltinMethodName=function(e){var n;switch(e){case t.BuiltinMethod.ConcatArray:n="concat";break;case t.BuiltinMethod.SubscribeObservable:n="subscribe";break;case t.BuiltinMethod.Bind:n="bind";break;default:throw new Error("Unknown builtin method: "+e)}return n},n.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(null,t.name),n._printColonType(t.type,e)},t,e,",")},n.prototype._visitIdentifier=function(t,e,n){var r=this,i=t.name,o=t.moduleName;if(this.referenceFilter&&this.referenceFilter(t))n.print(null,"(null as any)");else{if(o&&(!this.importFilter||!this.importFilter(t))){var s=this.importsWithPrefixes.get(o);null==s&&this.importsWithPrefixes.set(o,s="i"+this.importsWithPrefixes.size),n.print(null,s+".")}n.print(null,i),this.typeExpression>0&&(e||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(function(t){return t.visitType(r,n)},e,n,","),n.print(null,">"))}},n.prototype._printColonType=function(t,e,n){t!==at&&(e.print(null,":"),this.visitType(t,e,n))},n}(Tn),Zf=function(){function t(t){this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(ln(t));return e&&e.some(R.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(ln(t));if(n){var r=Ph(n,R.isTypeOf);if(r)return r}if(e)throw new Error("No Pipe decorator found on "+cn(t));return null},t}(),Qf=function(){function t(t,e){this.options=t,this.reflector=e}return t.prototype.compileComponent=function(t,e,n,r,i,o){var s=this,a=new Map;r.forEach(function(t){return a.set(t.name,t.type.reference)});var u=0,c=function(t,n){var r=u++;return new Jf(s.options,s.reflector,i,t,e.type.reference,e.isHost,r,a,n,o,c)},l=c(null,[]);return l.visitAll([],n),l.build(t)},t}(),$f="_any",Yf=new(function(){function t(){}return t.prototype.notifyImplicitReceiverUse=function(){},t.prototype.maybeRestoreView=function(){},t.prototype.getLocal=function(t){return t===ms.event.name?Te($f):null},t}()),Jf=function(){function e(t,e,n,r,i,o,s,a,u,c,l){this.options=t,this.reflector=e,this.externalReferenceVars=n,this.parent=r,this.component=i,this.isHostComponent=o,this.embeddedViewIndex=s,this.pipes=a,this.guards=u,this.ctx=c,this.viewBuilderFactory=l,this.refOutputVars=new Map,this.variables=[],this.children=[],this.updates=[],this.actions=[]}return e.prototype.getOutputVar=function(t){var e;if(!(e=t===this.component&&this.isHostComponent?$f:t instanceof Ui?this.externalReferenceVars.get(t):$f))throw new Error("Illegal State: referring to a type without a variable "+JSON.stringify(t));return e},e.prototype.getTypeGuardExpressions=function(t){var e,n,r,i,u=a([],s(this.guards));try{for(var c=o(t.directives),l=c.next();!l.done;l=c.next()){var p=l.value;try{for(var h=(r=void 0,o(p.inputs)),f=h.next();!f.done;f=h.next()){var d=f.value,v=p.directive.guards[d.directiveName];v&&u.push({guard:v,useIf:"UseIf"===v,expression:{context:this.component,value:d.value,sourceSpan:d.sourceSpan}})}}catch(m){r={error:m}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}}catch(m){e={error:m}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return u},e.prototype.visitAll=function(t,e){this.variables=t,nc(this,e)},e.prototype.build=function(t,e){var n,r,i=this;void 0===e&&(e=[]),this.children.forEach(function(n){return n.build(t,e)});var u=[Te($f).set(te).toDeclStmt(st)],c=0;if(this.updates.forEach(function(t){var e=i.preprocessUpdateExpression(t),n=e.sourceSpan,r=e.context,o=e.value,l=""+c++,p=ws(r===i.component?i:Yf,Te(i.getOutputVar(r)),o,l,xs.General),h=p.stmts;h.push(new ae(p.currValExpr)),u.push.apply(u,a([],s(h.map(function(t){return we(t,n)}))))}),this.actions.forEach(function(t){var e=t.sourceSpan,n=t.context,r=t.value,o=""+c++,l=gs(n===i.component?i:Yf,Te(i.getOutputVar(n)),r,o).stmts;u.push.apply(u,a([],s(l.map(function(t){return we(t,e)}))))}),this.guards.length){var l=void 0;try{for(var p=o(this.guards),h=p.next();!h.done;h=p.next()){var f=h.value,d=this.preprocessUpdateExpression(f.expression),v=d.context,m=d.value,y=""+c++,g=ws(v===this.component?this:Yf,Te(this.getOutputVar(v)),m,y,xs.TrySimple),S=g.currValExpr;if(0==g.stmts.length){var _=f.useIf?S:this.ctx.importExpr(f.guard).callFn([S]);l=l?l.and(_):_}}}catch(w){n={error:w}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}l&&(u=[new de(l,u)])}var x=new se("_View_"+t+"_"+this.embeddedViewIndex,[],u);return e.push(x),e},e.prototype.visitBoundText=function(t,e){var n=this;t.value.ast.expressions.forEach(function(e){return n.updates.push({context:n.component,value:e,sourceSpan:t.sourceSpan})})},e.prototype.visitEmbeddedTemplate=function(t,e){if(this.visitElementOrTemplate(t),this.options.fullTemplateTypeCheck){var n=this.getTypeGuardExpressions(t),r=this.viewBuilderFactory(this,n);this.children.push(r),r.visitAll(t.variables,t.children)}},e.prototype.visitElement=function(t,e){var n=this;this.visitElementOrTemplate(t),t.inputs.forEach(function(t){n.updates.push({context:n.component,value:t.value,sourceSpan:t.sourceSpan})}),nc(this,t.children)},e.prototype.visitElementOrTemplate=function(e){var n=this;e.directives.forEach(function(t){n.visitDirective(t)}),e.references.forEach(function(e){n.refOutputVars.set(e.name,e.value&&e.value.identifier&&n.options.fullTemplateTypeCheck?e.value.identifier.reference:t.BuiltinTypeName.Dynamic)}),e.outputs.forEach(function(t){n.actions.push({context:n.component,value:t.handler,sourceSpan:t.sourceSpan})})},e.prototype.visitDirective=function(t){var e=this,n=t.directive.type.reference;t.inputs.forEach(function(t){return e.updates.push({context:e.component,value:t.value,sourceSpan:t.sourceSpan})}),this.options.fullTemplateTypeCheck&&(t.hostProperties.forEach(function(t){return e.updates.push({context:n,value:t.value,sourceSpan:t.sourceSpan})}),t.hostEvents.forEach(function(t){return e.actions.push({context:n,value:t.handler,sourceSpan:t.sourceSpan})}))},e.prototype.notifyImplicitReceiverUse=function(){},e.prototype.maybeRestoreView=function(){},e.prototype.getLocal=function(e){if(e==ms.event.name)return Te(this.getOutputVar(t.BuiltinTypeName.Dynamic));for(var n=this;n;n=n.parent){var r=void 0;if(null==(r=n.refOutputVars.get(e))&&n.variables.find(function(t){return t.name===e})&&(r=t.BuiltinTypeName.Dynamic),null!=r)return Te(this.getOutputVar(r))}return null},e.prototype.pipeOutputVar=function(t){var e=this.pipes.get(t);if(!e)throw new Error("Illegal State: Could not find pipe "+t+" in template of "+this.component);return this.getOutputVar(e)},e.prototype.preprocessUpdateExpression=function(e){var n=this;return{sourceSpan:e.sourceSpan,context:e.context,value:Ss({createLiteralArrayConverter:function(t){return function(t){var e=Ne(t);return n.options.fullTemplateTypeCheck?e:e.cast(st)}},createLiteralMapConverter:function(t){return function(e){var r=Ae(t.map(function(t,n){return{key:t.key,value:e[n],quoted:t.quoted}}));return n.options.fullTemplateTypeCheck?r:r.cast(st)}},createPipeConverter:function(e,r){return function(r){return Te(n.options.fullTemplateTypeCheck?n.pipeOutputVar(e):n.getOutputVar(t.BuiltinTypeName.Dynamic)).callMethod("transform",r)}}},e.value)}},e.prototype.visitNgContent=function(t,e){},e.prototype.visitText=function(t,e){},e.prototype.visitDirectiveProperty=function(t,e){},e.prototype.visitReference=function(t,e){},e.prototype.visitVariable=function(t,e){},e.prototype.visitEvent=function(t,e){},e.prototype.visitElementProperty=function(t,e){},e.prototype.visitAttr=function(t,e){},e}(),Xf=function(t,e){this.viewClassVar=t,this.rendererTypeVar=e},td=function(){function e(t){this._reflector=t}return e.prototype.compileComponent=function(e,n,r,i,o){var u,c=this,l=0,p=void 0;if(!n.isHost){var h=n.template,f=[];h.animations&&h.animations.length&&f.push(new Yt("animation",sf(e,h.animations),!0));var d=Te(ga(n.type.reference));p=d.name,e.statements.push(d.set(Pe(fs.createRendererType2).callFn([new Jt([new Yt("encapsulation",De(h.encapsulation),!1),new Yt("styles",i,!1),new Yt("data",new Jt(f),!1)])])).toDeclStmt(Me(fs.RendererType2),[t.StmtModifier.Final,t.StmtModifier.Exported]))}var v=function(t){var r=l++;return new ad(c._reflector,e,t,n,r,o,v)},m=v(null);return m.visitAll([],r),(u=e.statements).push.apply(u,a([],s(m.build()))),new Xf(m.viewName,p)},e}(),ed=Te("_l"),nd=Te("_v"),rd=Te("_ck"),id=Te("_co"),od=Te("en"),sd=Te("ad"),ad=function(){function e(t,e,n,r,i,o,s){this.reflector=t,this.outputCtx=e,this.parent=n,this.component=r,this.embeddedViewIndex=i,this.usedPipes=o,this.viewBuilderFactory=s,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?st:ke(e.importExpr(this.component.type.reference)),this.viewName=ya(this.component.type.reference,this.embeddedViewIndex)}return e.prototype.visitAll=function(t,e){var n=this;this.variables=t,this.parent||this.usedPipes.forEach(function(t){t.pure&&(n.purePipeNodeIndices[t.name]=n._createPipe(null,t))}),this.parent||this.component.viewQueries.forEach(function(t,e){var r=e+1,i=t.first?0:1,o=134217728|fd(t);n.nodes.push(function(){return{sourceSpan:null,nodeFlags:o,nodeDef:Pe(fs.queryDef).callFn([De(o),De(r),new Jt([new Yt(t.propertyName,De(i),!1)])])}})}),nc(this,e),this.parent&&(0===e.length||ud(e))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:Pe(fs.anchorDef).callFn([De(0),te,te,De(0)])}})},e.prototype.build=function(e){void 0===e&&(e=[]),this.children.forEach(function(t){return t.build(e)});var n=this._createNodeExpressions(),r=n.updateDirectivesStmts,i=n.nodeDefExprs,o=this._createUpdateFn(n.updateRendererStmts),s=this._createUpdateFn(r),a=0;!this.parent&&this.component.changeDetection===A.OnPush&&(a|=2);var u=new se(this.viewName,[new zt(ed.name)],[new ue(Pe(fs.viewDef).callFn([De(a),Ne(i),s,o]))],Me(fs.ViewDefinition),0===this.embeddedViewIndex?[t.StmtModifier.Exported]:[]);return e.push(u),e},e.prototype._createUpdateFn=function(t){var e;if(t.length>0){var n=[];!this.component.isHost&&Se(t).has(id.name)&&n.push(id.set(nd.prop("component")).toDeclStmt(this.compType)),e=Oe([new zt(rd.name,at),new zt(nd.name,at)],a(a([],s(n)),s(t)),at)}else e=te;return e},e.prototype.visitNgContent=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:8,nodeDef:Pe(fs.ngContentDef).callFn([De(t.ngContentIndex),De(t.index)])}})},e.prototype.visitText=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:Pe(fs.textDef).callFn([De(-1),De(t.ngContentIndex),Ne([De(t.value)])])}})},e.prototype.visitBoundText=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=t.value.ast,o=i.expressions.map(function(e,i){return n._preprocessUpdateExpression({nodeIndex:r,bindingIndex:i,sourceSpan:t.sourceSpan,context:id,value:e})}),s=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:Pe(fs.textDef).callFn([De(s),De(t.ngContentIndex),Ne(i.strings.map(function(t){return De(t)}))]),updateRenderer:o}}},e.prototype.visitEmbeddedTemplate=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,t),o=i.flags,s=i.queryMatchesExpr,a=i.hostEvents,u=this.viewBuilderFactory(this);this.children.push(u),u.visitAll(t.variables,t.children);var c=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|o,nodeDef:Pe(fs.anchorDef).callFn([De(o),s,De(t.ngContentIndex),De(c),n._createElementHandleEventFn(r,a),Te(u.viewName)])}}},e.prototype.visitElement=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=c(t.name)?null:t.name,o=this._visitElementOrTemplate(r,t),a=o.flags,u=o.usedEvents,l=o.queryMatchesExpr,p=o.hostBindings,h=o.hostEvents,f=[],d=[],v=[];if(i){var m=t.inputs.map(function(t){return{context:id,inputAst:t,dirAst:null}}).concat(p);m.length&&(d=m.map(function(t,e){return n._preprocessUpdateExpression({context:t.context,nodeIndex:r,bindingIndex:e,sourceSpan:t.inputAst.sourceSpan,value:t.inputAst.value})}),f=m.map(function(t){return function(t,e){var n=t.type;switch(n){case 1:return Ne([De(1),De(t.name),De(t.securityContext)]);case 0:return Ne([De(8),De(t.name),De(t.securityContext)]);case 4:return Ne([De(8|(e&&e.directive.isComponent?32:16)),De("@"+t.name),De(t.securityContext)]);case 2:return Ne([De(2),De(t.name),te]);case 3:return Ne([De(4),De(t.name),De(t.unit)]);default:throw new Error("unexpected "+n)}}(t.inputAst,t.dirAst)})),v=u.map(function(t){var e=s(t,2),n=e[1];return Ne([De(e[0]),De(n)])})}nc(this,t.children);var y=this.nodes.length-r-1,g=t.directives.find(function(t){return t.directive.isComponent}),S=te,_=te;g&&(_=this.outputCtx.importExpr(g.directive.componentViewType),S=this.outputCtx.importExpr(g.directive.rendererType));var x=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|a,nodeDef:Pe(fs.elementDef).callFn([De(x),De(a),l,De(t.ngContentIndex),De(y),De(i),i?cd(t):te,f.length?Ne(f):te,v.length?Ne(v):te,n._createElementHandleEventFn(r,h),_,S]),updateRenderer:d}}},e.prototype._visitElementOrTemplate=function(t,e){var n=this,r=0;e.hasViewContainer&&(r|=16777216);var i=new Map;e.outputs.forEach(function(t){var e=hd(t,null),n=e.name,r=e.target;i.set(dd(r,n),[r,n])}),e.directives.forEach(function(t){t.hostEvents.forEach(function(e){var n=hd(e,t),r=n.name,o=n.target;i.set(dd(o,r),[o,r])})});var o=[],u=[];this._visitComponentFactoryResolverProvider(e.directives),e.providers.forEach(function(t){var r=void 0;if(e.directives.forEach(function(e){e.directive.type.reference===wa(t.token)&&(r=e)}),r){var c=n._visitDirective(t,r,e.references,e.queryMatches,i),l=c.hostEvents;o.push.apply(o,a([],s(c.hostBindings))),u.push.apply(u,a([],s(l)))}else n._visitProvider(t,e.queryMatches)});var c=[];return e.queryMatches.forEach(function(t){var e=void 0;wa(t.value)===n.reflector.resolveExternalReference(fs.ElementRef)?e=0:wa(t.value)===n.reflector.resolveExternalReference(fs.ViewContainerRef)?e=3:wa(t.value)===n.reflector.resolveExternalReference(fs.TemplateRef)&&(e=2),null!=e&&c.push(Ne([De(t.queryId),De(e)]))}),e.references.forEach(function(e){var r=void 0;e.value?wa(e.value)===n.reflector.resolveExternalReference(fs.TemplateRef)&&(r=2):r=1,null!=r&&(n.refNodeIndices[e.name]=t,c.push(Ne([De(e.name),De(r)])))}),e.outputs.forEach(function(t){u.push({context:id,eventAst:t,dirAst:null})}),{flags:r,usedEvents:Array.from(i.values()),queryMatchesExpr:c.length?Ne(c):te,hostBindings:o,hostEvents:u}},e.prototype._visitDirective=function(t,e,n,r,i){var o=this,s=this.nodes.length;this.nodes.push(null),e.directive.queries.forEach(function(t,n){var r=e.contentQueryStartId+n,i=67108864|fd(t),s=t.first?0:1;o.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:i,nodeDef:Pe(fs.queryDef).callFn([De(i),De(r),new Jt([new Yt(t.propertyName,De(s),!1)])])}})});var a=this.nodes.length-s-1,u=this._visitProviderOrDirective(t,r),c=u.flags,l=u.queryMatchExprs,p=u.providerExpr,h=u.depsExpr;n.forEach(function(e){e.value&&wa(e.value)===wa(t.token)&&(o.refNodeIndices[e.name]=s,l.push(Ne([De(e.name),De(4)])))}),e.directive.isComponent&&(c|=32768);var f=e.inputs.map(function(t,e){var n=Ne([De(e),De(t.directiveName)]);return new Yt(t.directiveName,n,!1)}),d=[],v=e.directive;Object.keys(v.outputs).forEach(function(t){var e=v.outputs[t];i.has(e)&&d.push(new Yt(t,De(e),!1))});var m=[];(e.inputs.length||(327680&c)>0)&&(m=e.inputs.map(function(t,e){return o._preprocessUpdateExpression({nodeIndex:s,bindingIndex:e,sourceSpan:t.sourceSpan,context:id,value:t.value})}));var y=Pe(fs.nodeValue).callFn([nd,De(s)]),g=e.hostProperties.map(function(t){return{context:y,dirAst:e,inputAst:t}}),S=e.hostEvents.map(function(t){return{context:y,eventAst:t,dirAst:e}}),_=s;return this.nodes[s]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:16384|c,nodeDef:Pe(fs.directiveDef).callFn([De(_),De(c),l.length?Ne(l):te,De(a),p,h,f.length?new Jt(f):te,d.length?new Jt(d):te]),updateDirectives:m,directive:e.directive.type}},{hostBindings:g,hostEvents:S}},e.prototype._visitProvider=function(t,e){this._addProviderNode(this._visitProviderOrDirective(t,e))},e.prototype._visitComponentFactoryResolverProvider=function(t){var e=t.find(function(t){return t.directive.isComponent});if(e&&e.directive.entryComponents.length){var n=Vf(this.reflector,this.outputCtx,8192,e.directive.entryComponents);this._addProviderNode({providerExpr:n.providerExpr,depsExpr:n.depsExpr,flags:n.flags,tokenExpr:n.tokenExpr,queryMatchExprs:[],sourceSpan:e.sourceSpan})}},e.prototype._addProviderNode=function(t){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:t.flags,nodeDef:Pe(fs.providerDef).callFn([De(t.flags),t.queryMatchExprs.length?Ne(t.queryMatchExprs):te,t.tokenExpr,t.providerExpr,t.depsExpr])}})},e.prototype._visitProviderOrDirective=function(t,e){var n=[];e.forEach(function(e){wa(e.value)===wa(t.token)&&n.push(Ne([De(e.queryId),De(4)]))});var r=Ff(this.outputCtx,t);return{flags:0|r.flags,queryMatchExprs:n,providerExpr:r.providerExpr,depsExpr:r.depsExpr,tokenExpr:r.tokenExpr,sourceSpan:t.sourceSpan}},e.prototype.getLocal=function(t){if(t==ms.event.name)return ms.event;for(var e=nd,n=this;n;n=n.parent,e=e.prop("parent").cast(st)){var r=n.refNodeIndices[t];if(null!=r)return Pe(fs.nodeValue).callFn([e,De(r)]);var i=n.variables.find(function(e){return e.name===t});if(i){var o=i.value||"$implicit";return e.prop("context").prop(o)}}return null},e.prototype.notifyImplicitReceiverUse=function(){},e.prototype.maybeRestoreView=function(){},e.prototype._createLiteralArrayConverter=function(t,e){if(0===e){var n=Pe(fs.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:32,nodeDef:Pe(fs.pureArrayDef).callFn([De(r),De(e)])}}),function(t){return ld(r,t)}},e.prototype._createLiteralMapConverter=function(t,e){if(0===e.length){var n=Pe(fs.EMPTY_MAP);return function(){return n}}var r=Ae(e.map(function(t,e){return Object.assign(Object.assign({},t),{value:De(e)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:64,nodeDef:Pe(fs.pureObjectDef).callFn([De(i),r])}}),function(t){return ld(i,t)}},e.prototype._createPipeConverter=function(t,e,n){var r=this.usedPipes.find(function(t){return t.name===e});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:128,nodeDef:Pe(fs.purePipeDef).callFn([De(i),De(n)])}});for(var o=nd,s=this;s.parent;)s=s.parent,o=o.prop("parent").cast(st);var a=s.purePipeNodeIndices[e],u=Pe(fs.nodeValue).callFn([o,De(a)]);return function(e){return pd(t.nodeIndex,t.bindingIndex,ld(i,[u].concat(e)))}}var c=this._createPipe(t.sourceSpan,r),l=Pe(fs.nodeValue).callFn([nd,De(c)]);return function(e){return pd(t.nodeIndex,t.bindingIndex,l.callMethod("transform",e))}},e.prototype._createPipe=function(t,e){var n=this,r=this.nodes.length,i=0;e.type.lifecycleHooks.forEach(function(t){t===Ef.OnDestroy&&(i|=Bf(t))});var o=e.type.diDeps.map(function(t){return jf(n.outputCtx,t)});return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:16,nodeDef:Pe(fs.pipeDef).callFn([De(i),n.outputCtx.importExpr(e.type.reference),Ne(o)])}}),r},e.prototype._preprocessUpdateExpression=function(t){var e=this;return{nodeIndex:t.nodeIndex,bindingIndex:t.bindingIndex,sourceSpan:t.sourceSpan,context:t.context,value:Ss({createLiteralArrayConverter:function(n){return e._createLiteralArrayConverter(t.sourceSpan,n)},createLiteralMapConverter:function(n){return e._createLiteralMapConverter(t.sourceSpan,n)},createPipeConverter:function(n,r){return e._createPipeConverter(t,n,r)}},t.value)}},e.prototype._createNodeExpressions=function(){var t=this,e=0,n=[],r=[],i=this.nodes.map(function(t,e){var i=t(),u=i.nodeDef,c=i.nodeFlags,l=i.updateDirectives,p=i.updateRenderer,h=i.sourceSpan;return p&&n.push.apply(n,a([],s(o(e,h,p,!1)))),l&&r.push.apply(r,a([],s(o(e,h,l,(327680&c)>0)))),Ee(3&c?new Xt([ed.callFn([]).callFn([]),u]):u,h)});return{updateRendererStmts:n,updateDirectivesStmts:r,nodeDefExprs:i};function o(n,r,i,o){var u=[],c=i.map(function(n){var r=n.sourceSpan,i=n.context,o=""+e++,c=ws(i===id?t:null,i,n.value,o,xs.General),l=c.currValExpr;return u.push.apply(u,a([],s(c.stmts.map(function(t){return we(t,r)})))),Ee(l,r)});return(i.length||o)&&u.push(we(ld(n,c).toStmt(),r)),u}},e.prototype._createElementHandleEventFn=function(t,e){var n,r=this,i=[],o=0;if(e.forEach(function(t){var e=t.context,n=t.eventAst,s=t.dirAst,a=""+o++,u=gs(e===id?r:null,e,n.handler,a),c=u.allowDefault,l=u.stmts;c&&l.push(sd.set(c.and(sd)).toStmt());var p=hd(n,s),h=dd(p.target,p.name);i.push(we(new de(De(h).identical(od),l),n.sourceSpan))}),i.length>0){var u=[sd.set(De(!0)).toDeclStmt(ut)];!this.component.isHost&&Se(i).has(id.name)&&u.push(id.set(nd.prop("component")).toDeclStmt(this.compType)),n=Oe([new zt(nd.name,at),new zt(od.name,at),new zt(ms.event.name,at)],a(a(a([],s(u)),s(i)),[new ue(sd)]),at)}else n=te;return n},e.prototype.visitDirective=function(t,e){},e.prototype.visitDirectiveProperty=function(t,e){},e.prototype.visitReference=function(t,e){},e.prototype.visitVariable=function(t,e){},e.prototype.visitEvent=function(t,e){},e.prototype.visitElementProperty=function(t,e){},e.prototype.visitAttr=function(t,e){},e}();function ud(t){var e=t[t.length-1];return e instanceof Qu?e.hasViewContainer:e instanceof Zu?c(e.name)&&e.children.length?ud(e.children):e.hasViewContainer:e instanceof Xu}function cd(t){var e=Object.create(null);return t.attrs.forEach(function(t){e[t.name]=t.value}),t.directives.forEach(function(t){Object.keys(t.directive.hostAttributes).forEach(function(n){var r=t.directive.hostAttributes[n],i=e[n];e[n]=null!=i?function(t,e,n){return"class"==t||"style"==t?e+" "+n:n}(n,i,r):r})}),Ne(Object.keys(e).sort().map(function(t){return Ne([De(t),De(e[t])])}))}function ld(t,e){return rd.callFn(e.length>10?[nd,De(t),De(1),Ne(e)]:a([nd,De(t),De(0)],s(e)))}function pd(t,e,n){return Pe(fs.unwrapValue).callFn([nd,De(t),De(e),n])}function hd(t,e){return t.isAnimation?{name:"@"+t.name+"."+t.phase,target:e&&e.directive.isComponent?"component":null}:t}function fd(t){var e=0;return e|=t.first&&t.static?268435456:536870912,t.emitDistinctChangesOnly&&(e|=-2147483648),e}function dd(t,e){return t?t+":"+e:e}var vd=function(){function t(t,e,n,r){void 0===r&&(r=null),this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._locale=r,this._messages=[]}return t.prototype.updateFromTemplate=function(t,e,n){var r,i=this._htmlParser.parse(t,e,{tokenizeExpansionForms:!0,interpolationConfig:n});if(i.errors.length)return i.errors;var o=function(t,e,n,r){return new Rh(n,r).extract(t,e)}(i.rootNodes,n,this._implicitTags,this._implicitAttrs);return o.errors.length?o.errors:((r=this._messages).push.apply(r,a([],s(o.messages))),[])},t.prototype.getMessages=function(){return this._messages},t.prototype.write=function(t,e){var n={},r=new md;this._messages.forEach(function(e){var r,i=t.digest(e);n.hasOwnProperty(i)?(r=n[i].sources).push.apply(r,a([],s(e.sources))):n[i]=e});var i=Object.keys(n).map(function(i){var o=t.createNameMapper(n[i]),s=n[i],a=o?r.convert(s.nodes,o):s.nodes,u=new sr(a,{},{},s.meaning,s.description,i);return u.sources=s.sources,e&&u.sources.forEach(function(t){return t.filePath=e(t.filePath)}),u});return t.write(i,this._locale)},t}(),md=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.convert=function(t,e){var n=this;return e?t.map(function(t){return t.visit(n,e)}):t},e.prototype.visitTagPlaceholder=function(t,e){var n=this,r=e.toPublicName(t.startName),i=t.closeName?e.toPublicName(t.closeName):t.closeName,o=t.children.map(function(t){return t.visit(n,e)});return new lr(t.tag,t.attrs,r,i,o,t.isVoid,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},e.prototype.visitPlaceholder=function(t,e){return new pr(t.value,e.toPublicName(t.name),t.sourceSpan)},e.prototype.visitIcuPlaceholder=function(t,e){return new hr(t.value,e.toPublicName(t.name),t.sourceSpan)},e}(fr),yd=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}return t.prototype.isEquivalent=function(t){return this.genFileUrl===t.genFileUrl&&(this.source?this.source===t.source:null!=t.stmts&&dt(this.stmts,t.stmts))},t}();function gd(t,e){var n,r,i,s,a=[];try{for(var u=o(t.transitiveModule.providers),c=u.next();!c.done;c=u.next()){var l=c.value,p=l.provider,h=l.module;if(wa(p.token)===e.ROUTES){var f=Sd(p.useValue);try{for(var d=(i=void 0,o(f)),v=d.next();!v.done;v=d.next())a.push(_d(v.value,e,h.reference))}catch(m){i={error:m}}finally{try{v&&!v.done&&(s=d.return)&&s.call(d)}finally{if(i)throw i.error}}}}}catch(m){n={error:m}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return a}function Sd(t,e){var n,r;if(void 0===e&&(e=[]),"string"==typeof t)e.push(t);else if(Array.isArray(t))try{for(var i=o(t),s=i.next();!s.done;s=i.next())Sd(s.value,e)}catch(a){n={error:a}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}else t.loadChildren?Sd(t.loadChildren,e):t.children&&Sd(t.children,e);return e}function _d(t,e,n){var r=s(t.split("#"),2),i=e.resolveExternalReference({moduleName:r[0],name:r[1]},n?n.filePath:void 0);return{route:t,module:n||i,referencedModule:i}}var xd=/^(?!.*\.d\.ts$).*\.ts$/,wd=function(t,e){this.symbol=t,this.metadata=e},Ed=function(){function t(t,e,n,r){this.host=t,this.staticSymbolCache=e,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.resolveSymbol=function(t){return t.members.length>0?this._resolveSymbolMembers(t):this._resolveSymbolFromSummary(t)||this.resolvedSymbols.get(t)||(this._createSymbolsOf(t.filePath),this.resolvedSymbols.get(t))},t.prototype.getImportAs=function(t,e){if(void 0===e&&(e=!0),t.members.length){var n=this.getStaticSymbol(t.filePath,t.name);return(i=this.getImportAs(n,e))?this.getStaticSymbol(i.filePath,i.name,t.members):null}var r=function(t){return t.replace(hf,".")}(t.filePath);if(r!==t.filePath){var i,o=function(t){return t.replace(ff,"")}(t.name);return n=this.getStaticSymbol(r,o,t.members),(i=this.getImportAs(n,e))?this.getStaticSymbol(Sf(i.filePath),_f(i.name),n.members):null}var s=e&&this.summaryResolver.getImportAs(t)||null;return s||(s=this.importAs.get(t)),s},t.prototype.getResourcePath=function(t){return this.symbolResourcePaths.get(t)||t.filePath},t.prototype.getTypeArity=function(t){if(function(t){return pf.test(t)}(t.filePath))return null;for(var e=Cd(this.resolveSymbol(t));e&&e.metadata instanceof Ui;)e=Cd(this.resolveSymbol(e.metadata));return e&&e.metadata&&e.metadata.arity||null},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.recordImportAs=function(t,e){t.assertNoMembers(),e.assertNoMembers(),this.importAs.set(t,e)},t.prototype.recordModuleNameForFileName=function(t,e){this.knownFileNameToModuleNames.set(t,e)},t.prototype.invalidateFile=function(t){var e,n;this.metadataCache.delete(t);var r=this.symbolFromFile.get(t);if(!r)return[];this.symbolFromFile.delete(t);try{for(var i=o(r),s=i.next();!s.done;s=i.next()){var a=s.value;this.resolvedSymbols.delete(a),this.importAs.delete(a),this.symbolResourcePaths.delete(a)}}catch(u){e={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},t.prototype.ignoreErrorsFor=function(t){var e=this.errorRecorder;this.errorRecorder=function(){};try{return t()}finally{this.errorRecorder=e}},t.prototype._resolveSymbolMembers=function(t){var e=t.members,n=this.resolveSymbol(this.getStaticSymbol(t.filePath,t.name));if(!n)return null;var r=Cd(n.metadata);if(r instanceof Ui)return new wd(t,this.getStaticSymbol(r.filePath,r.name,e));if(!r||"class"!==r.__symbolic){for(var i=r,o=0;o=0?{__symbolic:"reference",name:d}:n.has(d)?p.getStaticSymbol(e,d):void 0},o}(en),f=Je(i,new h,[]),d=Cd(f);return d instanceof Ui?this.createExport(t,d):new wd(t,f)},t.prototype.createExport=function(t,e){return t.assertNoMembers(),e.assertNoMembers(),this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(e.filePath)&&this.importAs.set(e,this.getImportAs(t)||t),new wd(t,e)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t&&t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:4,module:t,metadata:{}}),4!=e.version){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+this.host.getOutputName(t)+", found version "+e.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(t,e)}return e},t.prototype.getSymbolByModule=function(t,e,n){var r=this.resolveModule(t,n);return r?this.getStaticSymbol(r,e):(this.reportError(new Error("Could not resolve module "+t+(n?" relative to "+this.host.getOutputName(n):""))),this.getStaticSymbol("ERROR:"+t,e))},t.prototype.resolveModule=function(t,e){try{return this.host.moduleNameToFileName(t,e)}catch(n){console.error("Could not resolve module '"+t+"' relative to file "+e),this.reportError(n,void 0,e)}return null},t}();function bd(t){return t.startsWith("___")?t.substr(1):t}function Cd(t){return t&&"resolved"===t.__symbolic?t.symbol:t}function Td(e,n,r){var i=_f(n.name);e.statements.push(Oe([],[new ue(r)],new it(st)).toDeclStmt(i,[t.StmtModifier.Final,t.StmtModifier.Exported]))}var Pd=function(e){function n(t,n,r){var i=e.call(this)||this;return i.symbolResolver=t,i.summaryResolver=n,i.srcFileName=r,i.symbols=[],i.indexBySymbol=new Map,i.reexportedBy=new Map,i.processedSummaryBySymbol=new Map,i.processedSummaries=[],i.unprocessedSymbolSummariesBySymbol=new Map,i.moduleName=t.getKnownModuleName(r),i}return r(n,e),n.prototype.addSummary=function(e){var n=this,r=this.unprocessedSymbolSummariesBySymbol.get(e.symbol),i=this.processedSummaryBySymbol.get(e.symbol);if(r||(this.unprocessedSymbolSummariesBySymbol.set(e.symbol,r={symbol:e.symbol,metadata:void 0}),i={symbol:this.processValue(e.symbol,0)},this.processedSummaries.push(i),this.processedSummaryBySymbol.set(e.symbol,i)),!r.metadata&&e.metadata){var o=e.metadata||{};if("class"===o.__symbolic){var s={};Object.keys(o).forEach(function(t){"decorators"!==t&&(s[t]=o[t])}),o=s}else Id(o)&&!function(t){return Id(t)&&Cd(t.expression)instanceof Ui}(o)&&!function(t){return Id(t)&&t.expression&&"select"===t.expression.__symbolic&&Cd(t.expression.expression)instanceof Ui}(o)&&(o={__symbolic:"error",message:"Complex function calls are not supported."});if(r.metadata=o,i.metadata=this.processValue(o,1),o instanceof Ui&&this.summaryResolver.isLibraryFile(o.filePath)){var a=this.symbols[this.indexBySymbol.get(o)];wf(a.name)||this.reexportedBy.set(a,e.symbol)}}if(!r.type&&e.type&&(r.type=e.type,i.type=this.processValue(e.type,0),e.type.summaryKind===t.CompileSummaryKind.NgModule)){var u=e.type;u.exportedDirectives.concat(u.exportedPipes).forEach(function(t){var e=t.reference;if(n.summaryResolver.isLibraryFile(e.filePath)&&!n.unprocessedSymbolSummariesBySymbol.has(e)){var r=n.summaryResolver.resolveSummary(e);r&&n.addSummary(r)}})}},n.prototype.serialize=function(t){var e=this,n=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map(function(r,i){r.assertNoMembers();var o=void 0;if(e.summaryResolver.isLibraryFile(r.filePath)){var s=e.reexportedBy.get(r);if(s)o=e.indexBySymbol.get(s);else if(t){var a=e.unprocessedSymbolSummariesBySymbol.get(r);(!a||!a.metadata||"interface"!==a.metadata.__symbolic)&&n.push({symbol:r,exportAs:o=r.name+"_"+i})}}return{__symbol:i,name:r.name,filePath:e.summaryResolver.toSummaryFileName(r.filePath,e.srcFileName),importAs:o}})}),exportAs:n}},n.prototype.processValue=function(t,e){return Je(t,this,e)},n.prototype.visitOther=function(t,e){if(t instanceof Ui){var n=this.symbolResolver.getStaticSymbol(t.filePath,t.name);return{__symbol:this.visitStaticSymbol(n,e),members:t.members}}},n.prototype.visitStringMap=function(t,n){return"resolved"===t.__symbolic?Je(t.symbol,this,n):("error"===t.__symbolic&&(delete t.line,delete t.character),e.prototype.visitStringMap.call(this,t,n))},n.prototype.visitStaticSymbol=function(t,e){var n=this.indexBySymbol.get(t),r=null;if(1&e&&this.summaryResolver.isLibraryFile(t.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(t))return n;(r=this.loadSummary(t))&&r.metadata instanceof Ui&&(n=this.visitStaticSymbol(r.metadata,e),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(t)),this.indexBySymbol.set(t,n),r&&this.addSummary(r),n},n.prototype.loadSummary=function(t){var e=this.summaryResolver.resolveSummary(t);if(!e){var n=this.symbolResolver.resolveSymbol(t);n&&(e={symbol:n.symbol,metadata:n.metadata})}return e},n}(en),Md=function(){function e(t,e,n){this.outputCtx=t,this.symbolResolver=e,this.summaryResolver=n,this.data=[]}return e.prototype.addSourceType=function(t,e){this.data.push({summary:t,metadata:e,isLibrary:!1})},e.prototype.addLibType=function(t){this.data.push({summary:t,metadata:null,isLibrary:!0})},e.prototype.serialize=function(e){var n,r,i,s,a,u,c=this,l=new Map;try{for(var p=o(e),h=p.next();!h.done;h=p.next()){var f=h.value;l.set(f.symbol,f.exportAs)}}catch(b){n={error:b}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}var d=new Set;try{for(var v=o(this.data),m=v.next();!m.done;m=v.next()){var y=m.value,g=y.summary,S=y.metadata,_=y.isLibrary;if(g.summaryKind===t.CompileSummaryKind.NgModule){d.add(g.type.reference);var x=g;try{for(var w=(a=void 0,o(x.modules)),E=w.next();!E.done;E=w.next())d.add(E.value.reference)}catch(b){a={error:b}}finally{try{E&&!E.done&&(u=w.return)&&u.call(w)}finally{if(a)throw a.error}}}_||(_f(g.type.reference.name),Td(this.outputCtx,g.type.reference,this.serializeSummaryWithDeps(g,S)))}}catch(b){i={error:b}}finally{try{m&&!m.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}d.forEach(function(e){if(c.summaryResolver.isLibraryFile(e.filePath)){var n=_f(l.get(e)||e.name);c.outputCtx.statements.push(Te(n).set(c.serializeSummaryRef(e)).toDeclStmt(null,[t.StmtModifier.Exported]))}})},e.prototype.serializeSummaryWithDeps=function(e,n){var r=this,i=[this.serializeSummary(e)],o=[];return n instanceof Ma?(i.push.apply(i,a([],s(n.declaredDirectives.concat(n.declaredPipes).map(function(t){return t.reference}).concat(n.transitiveModule.modules.map(function(t){return t.reference}).filter(function(t){return t!==n.type.reference})).map(function(t){return r.serializeSummaryRef(t)})))),o=n.providers):e.summaryKind===t.CompileSummaryKind.Directive&&(o=e.providers.concat(e.viewProviders)),i.push.apply(i,a([],s(o.filter(function(t){return!!t.useClass}).map(function(e){return r.serializeSummary({summaryKind:t.CompileSummaryKind.Injectable,type:e.useClass})})))),Ne(i)},e.prototype.serializeSummaryRef=function(t){var e=this.symbolResolver.getStaticSymbol(Sf(t.filePath),_f(t.name));return this.outputCtx.importExpr(e)},e.prototype.serializeSummary=function(t){var e=this.outputCtx,n=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return Ne(t.map(function(t){return Je(t,n,e)}))},t.prototype.visitStringMap=function(t,e){var n=this;return new Jt(Object.keys(t).map(function(r){return new Yt(r,Je(t[r],n,e),!1)}))},t.prototype.visitPrimitive=function(t,e){return De(t)},t.prototype.visitOther=function(t,n){if(t instanceof Ui)return e.importExpr(t);throw new Error("Illegal State: Encountered value "+t)},t}();return Je(t,new n,null)},e}(),kd=function(t){function e(e,n){var r=t.call(this)||this;return r.symbolCache=e,r.summaryResolver=n,r}return r(e,t),e.prototype.deserialize=function(t,e){var n=this,r=JSON.parse(e),i=[];this.symbols=r.symbols.map(function(e){return n.symbolCache.get(n.summaryResolver.fromSummaryFileName(e.filePath,t),e.name)}),r.symbols.forEach(function(e,r){var o=n.symbols[r],s=e.importAs;"number"==typeof s?i.push({symbol:o,importAs:n.symbols[s]}):"string"==typeof s&&i.push({symbol:o,importAs:n.symbolCache.get(df(t),s)})});var o=Je(r.summaries,this,null);return{moduleName:r.moduleName,summaries:o,importAs:i}},e.prototype.visitStringMap=function(e,n){if("__symbol"in e){var r=this.symbols[e.__symbol],i=e.members;return i.length?this.symbolCache.get(r.filePath,r.name,i):r}return t.prototype.visitStringMap.call(this,e,n)},e}(en);function Id(t){return t&&"call"===t.__symbolic}var Nd=function(){function e(t,e,n,r,i,o,s,a,u,c,l,p,h,f){this._config=t,this._options=e,this._host=n,this.reflector=r,this._metadataResolver=i,this._templateParser=o,this._styleCompiler=s,this._viewCompiler=a,this._typeCheckCompiler=u,this._ngModuleCompiler=c,this._injectableCompiler=l,this._outputEmitter=p,this._summaryResolver=h,this._symbolResolver=f,this._templateAstCache=new Map,this._analyzedFiles=new Map,this._analyzedFilesForInjectables=new Map}return e.prototype.clearCache=function(){this._metadataResolver.clearCache()},e.prototype.analyzeModulesSync=function(t){var e=this,n=Dd(t,this._host,this._symbolResolver,this._metadataResolver);return n.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)}),n},e.prototype.analyzeModulesAsync=function(t){var e=this,n=Dd(t,this._host,this._symbolResolver,this._metadataResolver);return Promise.all(n.ngModules.map(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){return n})},e.prototype._analyzeFile=function(t){var e=this._analyzedFiles.get(t);return e||(e=jd(this._host,this._symbolResolver,this._metadataResolver,t),this._analyzedFiles.set(t,e)),e},e.prototype._analyzeFileForInjectables=function(t){var e=this._analyzedFilesForInjectables.get(t);return e||(e=Bd(0,this._symbolResolver,this._metadataResolver,t),this._analyzedFilesForInjectables.set(t,e)),e},e.prototype.findGeneratedFileNames=function(t){var e=this,n=[],r=this._analyzeFile(t);(this._options.allowEmptyCodegenFiles||r.directives.length||r.pipes.length||r.injectables.length||r.ngModules.length||r.exportsNonSourceFiles)&&(n.push(df(r.fileName,!0)),this._options.enableSummariesForJit&&n.push(Sf(r.fileName,!0)));var i=yf(mf(r.fileName,!0)[1]);return r.directives.forEach(function(t){var o=e._metadataResolver.getNonNormalizedDirectiveMetadata(t).metadata;!o.isComponent||o.template.styleUrls.forEach(function(t){var s=e._host.resourceNameToFileName(t,r.fileName);if(!s)throw io("Couldn't resolve resource "+t+" relative to "+r.fileName);var a=(o.template.encapsulation||e._config.defaultEncapsulation)===N.Emulated;n.push(Rd(s,a,i)),e._options.allowEmptyCodegenFiles&&n.push(Rd(s,!a,i))})}),n},e.prototype.emitBasicStub=function(t,e){var n=this._createOutputContext(t);if(t.endsWith(".ngfactory.ts")){if(!e)throw new Error("Assertion error: require the original file for .ngfactory.ts stubs. File: "+t);var r=this._analyzeFile(e);this._createNgFactoryStub(n,r,1)}else if(t.endsWith(".ngsummary.ts")){if(this._options.enableSummariesForJit){if(!e)throw new Error("Assertion error: require the original file for .ngsummary.ts stubs. File: "+t);r=this._analyzeFile(e),Ad(n),r.ngModules.forEach(function(t){!function(t,e){Td(t,e,te)}(n,t.type.reference)})}}else t.endsWith(".ngstyle.ts")&&Ad(n);return this._codegenSourceModule("unknown",n)},e.prototype.emitTypeCheckStub=function(t,e){var n=this._analyzeFile(e),r=this._createOutputContext(t);return t.endsWith(".ngfactory.ts")&&this._createNgFactoryStub(r,n,2),r.statements.length>0?this._codegenSourceModule(n.fileName,r):null},e.prototype.loadFilesAsync=function(t,e){var n=this,r=t.map(function(t){return n._analyzeFile(t)}),i=[];r.forEach(function(t){return t.ngModules.forEach(function(t){return i.push(n._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1))})});var o=e.map(function(t){return n._analyzeFileForInjectables(t)});return Promise.all(i).then(function(t){return{analyzedModules:qd(r),analyzedInjectables:o}})},e.prototype.loadFilesSync=function(t,e){var n=this,r=t.map(function(t){return n._analyzeFile(t)});r.forEach(function(t){return t.ngModules.forEach(function(t){return n._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)})});var i=e.map(function(t){return n._analyzeFileForInjectables(t)});return{analyzedModules:qd(r),analyzedInjectables:i}},e.prototype._createNgFactoryStub=function(t,e,n){var r=this,i=0;e.ngModules.forEach(function(e,o){r._ngModuleCompiler.createStub(t,e.type.reference);var u=a(a(a(a(a([],s(e.transitiveModule.directives.map(function(t){return t.reference}))),s(e.transitiveModule.pipes.map(function(t){return t.reference}))),s(e.importedModules.map(function(t){return t.type.reference}))),s(e.exportedModules.map(function(t){return t.type.reference}))),s(r._externalIdentifierReferences([fs.TemplateRef,fs.ElementRef]))),c=new Map;u.forEach(function(t,e){c.set(t,"_decl"+o+"_"+e)}),c.forEach(function(e,n){t.statements.push(Te(e).set(te.cast(st)).toDeclStmt(ke(t.importExpr(n,null,!1))))}),2&n&&e.declaredDirectives.forEach(function(n){var o=r._metadataResolver.getDirectiveMetadata(n.reference);!o.isComponent||(i++,r._createTypeCheckBlock(t,o.type.reference.name+"_Host_"+i,e,r._metadataResolver.getHostComponentMetadata(o),[o.type],c),r._createTypeCheckBlock(t,o.type.reference.name+"_"+i,e,o,e.transitiveModule.directives,c))})}),0===t.statements.length&&Ad(t)},e.prototype._externalIdentifierReferences=function(t){var e,n,r=[];try{for(var i=o(t),s=i.next();!s.done;s=i.next()){var a=vs(this.reflector,s.value);a.identifier&&r.push(a.identifier.reference)}}catch(u){e={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},e.prototype._createTypeCheckBlock=function(t,e,n,r,i,o){var u,c=this._parseTemplate(r,n,i);(u=t.statements).push.apply(u,a([],s(this._typeCheckCompiler.compileComponent(e,r,c.template,c.pipes,o,t))))},e.prototype.emitMessageBundle=function(t,e){var n=this,r=[],i=new Cu,o=new vd(i,[],{},e);if(t.files.forEach(function(t){var e=[];t.directives.forEach(function(t){var r=n._metadataResolver.getDirectiveMetadata(t);r&&r.isComponent&&e.push(r)}),e.forEach(function(t){var e=t.template.template,n=t.template.templateUrl,i=Vi.fromArray(t.template.interpolation);r.push.apply(r,a([],s(o.updateFromTemplate(e,n,i))))})}),r.length)throw new Error(r.map(function(t){return t.toString()}).join("\n"));return o},e.prototype.emitAllPartialModules2=function(t){var e=this;return t.reduce(function(t,n){return t.push.apply(t,a([],s(e._emitPartialModule2(n.fileName,n.injectables)))),t},[])},e.prototype._emitPartialModule2=function(t,e){var n=this,r=this._createOutputContext(t);return e.forEach(function(t){return n._injectableCompiler.compile(t,r)}),r.statements&&r.statements.length>0?[{fileName:t,statements:a(a([],s(r.constantPool.statements)),s(r.statements))}]:[]},e.prototype.emitAllImpls=function(t){var e=this,n=t.ngModuleByPipeOrDirective;return Aa(t.files.map(function(t){return e._compileImplFile(t.fileName,n,t.directives,t.pipes,t.ngModules,t.injectables)}))},e.prototype._compileImplFile=function(t,e,n,r,i,o){var u=this,c=yf(mf(t,!0)[1]),l=[],p=this._createOutputContext(df(t,!0));if(l.push.apply(l,a([],s(this._createSummary(t,n,r,i,o,p)))),i.forEach(function(t){return u._compileModule(p,t)}),n.forEach(function(n){var r=u._metadataResolver.getDirectiveMetadata(n);if(r.isComponent){var i=e.get(n);if(!i)throw new Error("Internal Error: cannot determine the module for component "+uo(r.type)+"!");var o=u._styleCompiler.compileComponent(p,r);r.template.externalStylesheets.forEach(function(e){var n=u._styleCompiler.needsStyleShim(r);l.push(u._codegenStyles(t,r,e,n,c)),u._options.allowEmptyCodegenFiles&&l.push(u._codegenStyles(t,r,e,!n,c))}),u._compileComponent(p,r,i,i.transitiveModule.directives,o,c),u._compileComponentFactory(p,r,i,c)}}),p.statements.length>0||this._options.allowEmptyCodegenFiles){var h=this._codegenSourceModule(t,p);l.unshift(h)}return l},e.prototype._createSummary=function(e,n,r,i,o,u){var c=this,l=this._symbolResolver.getSymbolsOf(e).map(function(t){return c._symbolResolver.resolveSymbol(t)}),p=a(a(a(a([],s(i.map(function(t){return{summary:c._metadataResolver.getNgModuleSummary(t.type.reference),metadata:c._metadataResolver.getNgModuleMetadata(t.type.reference)}}))),s(n.map(function(t){return{summary:c._metadataResolver.getDirectiveSummary(t),metadata:c._metadataResolver.getDirectiveMetadata(t)}}))),s(r.map(function(t){return{summary:c._metadataResolver.getPipeSummary(t),metadata:c._metadataResolver.getPipeMetadata(t)}}))),s(o.map(function(t){return{summary:c._metadataResolver.getInjectableSummary(t.symbol),metadata:c._metadataResolver.getInjectableSummary(t.symbol).type}}))),h=this._options.enableSummariesForJit?this._createOutputContext(Sf(e,!0)):null,f=function(t,e,n,r,i,o,s){void 0===s&&(s=!1);var a=new Pd(r,n,t);i.forEach(function(t){return a.addSummary({symbol:t.symbol,metadata:t.metadata})}),o.forEach(function(t){var e=t.summary;a.addSummary({symbol:e.type.reference,metadata:void 0,type:e})});var u=a.serialize(s),c=u.json,l=u.exportAs;if(e){var p=new Md(e,r,n);o.forEach(function(t){p.addSourceType(t.summary,t.metadata)}),a.unprocessedSymbolSummariesBySymbol.forEach(function(t){n.isLibraryFile(t.symbol.filePath)&&t.type&&p.addLibType(t.type)}),p.serialize(l)}return{json:c,exportAs:l}}(e,h,this._summaryResolver,this._symbolResolver,l,p,this._options.createExternalSymbolFactoryReexports),d=f.json;f.exportAs.forEach(function(e){u.statements.push(Te(e.exportAs).set(u.importExpr(e.symbol)).toDeclStmt(null,[t.StmtModifier.Exported]))});var v=[new yd(e,gf(e),d)];return h&&v.push(this._codegenSourceModule(e,h)),v},e.prototype._compileModule=function(t,e){var n=[];if(this._options.locale){var r=this._options.locale.replace(/_/g,"-");n.push({token:vs(this.reflector,fs.LOCALE_ID),useValue:r})}this._options.i18nFormat&&n.push({token:vs(this.reflector,fs.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(t,e,n)},e.prototype._compileComponentFactory=function(e,n,r,i){var o=this._metadataResolver.getHostComponentMetadata(n),s=this._compileComponent(e,o,r,[n.type],null,i).viewClassVar,a=_a(n.type.reference),u=[];for(var c in n.inputs)u.push(new Yt(c,De(n.inputs[c]),!1));var l=[];for(var c in n.outputs)l.push(new Yt(c,De(n.outputs[c]),!1));e.statements.push(Te(a).set(Pe(fs.createComponentFactory).callFn([De(n.selector),e.importExpr(n.type.reference),Te(s),new Jt(u),new Jt(l),Ne(n.template.ngContentSelectors.map(function(t){return De(t)}))])).toDeclStmt(Me(fs.ComponentFactory,[ke(e.importExpr(n.type.reference))],[tt.Const]),[t.StmtModifier.Final,t.StmtModifier.Exported]))},e.prototype._compileComponent=function(t,e,n,r,i,o){var s=this._parseTemplate(e,n,r),a=s.template,u=s.pipes,c=i?Te(i.stylesVar):Ne([]),l=this._viewCompiler.compileComponent(t,e,a,c,u);return i&&Od(this._symbolResolver,i,this._styleCompiler.needsStyleShim(e),o),l},e.prototype._parseTemplate=function(t,e,n){var r=this;if(this._templateAstCache.has(t.type.reference))return this._templateAstCache.get(t.type.reference);var i=t.template.preserveWhitespaces,o=n.map(function(t){return r._metadataResolver.getDirectiveSummary(t.reference)}),s=e.transitiveModule.pipes.map(function(t){return r._metadataResolver.getPipeSummary(t.reference)}),a=this._templateParser.parse(t,t.template.htmlAst,o,s,e.schemas,Ra(e.type,t,t.template),i);return this._templateAstCache.set(t.type.reference,a),a},e.prototype._createOutputContext=function(t){var e=this;return{statements:[],genFilePath:t,importExpr:function(n,r,i){if(void 0===r&&(r=null),void 0===i&&(i=!0),!(n instanceof Ui))throw new Error("Internal error: unknown identifier "+JSON.stringify(n));var o=e._symbolResolver.getTypeArity(n)||0,s=e._symbolResolver.getImportAs(n,i)||n,a=s.name,u=s.members,c=e._fileNameToModuleName(s.filePath,t),l=c===e._fileNameToModuleName(t,t)?null:c,p=r||[],h=p.concat(mn(o-p.length,st));return u.reduce(function(t,e){return t.prop(e)},Pe(new Bt(l,a,null),h))},constantPool:new Ue}},e.prototype._fileNameToModuleName=function(t,e){return this._summaryResolver.getKnownModuleName(t)||this._symbolResolver.getKnownModuleName(t)||this._host.fileNameToModuleName(t,e)},e.prototype._codegenStyles=function(t,e,n,r,i){var o=this._createOutputContext(Rd(n.moduleUrl,r,i)),s=this._styleCompiler.compileStyles(o,e,n,r);return Od(this._symbolResolver,s,r,i),this._codegenSourceModule(t,o)},e.prototype._codegenSourceModule=function(t,e){return new yd(t,e.genFilePath,e.statements)},e.prototype.listLazyRoutes=function(t,e){var n,r,i,s,a=this;if(t)return function t(e,n,r){var i,s;if(void 0===n&&(n=new Set),void 0===r&&(r=[]),n.has(e)||!e.name)return r;n.add(e);var u=gd(a._metadataResolver.getNgModuleMetadata(e,!0),a.reflector);try{for(var c=o(u),l=c.next();!l.done;l=c.next()){var p=l.value;r.push(p),t(p.referencedModule,n,r)}}catch(h){i={error:h}}finally{try{l&&!l.done&&(s=c.return)&&s.call(c)}finally{if(i)throw i.error}}return r}(_d(t,this.reflector).referencedModule);if(e){var u=[];try{for(var c=o(e.ngModules),l=c.next();!l.done;l=c.next()){var p=gd(l.value,this.reflector);try{for(var h=(i=void 0,o(p)),f=h.next();!f.done;f=h.next())u.push(f.value)}catch(d){i={error:d}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return u}throw new Error("Either route or analyzedModules has to be specified!")},e}();function Ad(t){t.statements.push(Pe(fs.ComponentFactory).toStmt())}function Od(t,e,n,r){e.dependencies.forEach(function(e){e.setValue(t.getStaticSymbol(Rd(e.moduleUrl,n,r),e.name))})}function Rd(t,e,n){return t+(e?".shim":"")+".ngstyle"+n}function Fd(t,e,n,r){return Vd(function(t,e,n,r){var i=new Set,o=[],s=function(t){if(i.has(t)||!e.isSourceFile(t))return!1;i.add(t);var a=jd(e,n,r,t);o.push(a),a.ngModules.forEach(function(t){t.transitiveModule.modules.forEach(function(t){return s(t.reference.filePath)})})};return t.forEach(function(t){return s(t)}),o}(t,e,n,r))}function Dd(t,e,n,r){return Ld(Fd(t,e,n,r))}function Ld(t){if(t.symbolsMissingModule&&t.symbolsMissingModule.length)throw io(t.symbolsMissingModule.map(function(t){return"Cannot determine the module for class "+t.name+" in "+t.filePath+"! Add "+t.name+" to the NgModule to fix it."}).join("\n"));return t}function jd(t,e,n,r){var i=[],o=[],s=[],a=[],u=[],c=e.hasDecorators(r),l=!1;return(!r.endsWith(".d.ts")||c)&&e.getSymbolsOf(r).forEach(function(r){var c=e.resolveSymbol(r).metadata;if(c&&"error"!==c.__symbolic){var p=!1;if("class"===c.__symbolic)if(n.isDirective(r))p=!0,n.isAbstractDirective(r)?i.push(r):o.push(r);else if(n.isPipe(r))p=!0,s.push(r);else if(n.isNgModule(r)){var h=n.getNgModuleMetadata(r,!1);h&&(p=!0,u.push(h))}else if(n.isInjectable(r)){p=!0;var f=n.getInjectableMetadata(r,null,!1);f&&a.push(f)}p||(l=l||function(t,e){var n=!1,r=function(){function e(){}return e.prototype.visitArray=function(t,e){var n=this;t.forEach(function(t){return Je(t,n,e)})},e.prototype.visitStringMap=function(t,e){var n=this;Object.keys(t).forEach(function(r){return Je(t[r],n,e)})},e.prototype.visitPrimitive=function(t,e){},e.prototype.visitOther=function(e,r){e instanceof Ui&&!t.isSourceFile(e.filePath)&&(n=!0)},e}();return Je(e,new r,null),n}(t,c))}}),{fileName:r,directives:o,abstractDirectives:i,pipes:s,ngModules:u,injectables:a,exportsNonSourceFiles:l}}function Bd(t,e,n,r){var i=[],o=[];return e.hasDecorators(r)&&e.getSymbolsOf(r).forEach(function(t){var r=e.resolveSymbol(t).metadata;if(r&&"error"!==r.__symbolic&&"class"===r.__symbolic)if(n.isInjectable(t)){var s=n.getInjectableMetadata(t,null,!1);s&&i.push(s)}else if(n.isNgModule(t)){var a=n.getShallowModuleMetadata(t);a&&o.push(a)}}),{fileName:r,injectables:i,shallowModules:o}}function Vd(t){var e=[],n=new Map,r=new Set;t.forEach(function(t){t.ngModules.forEach(function(t){e.push(t),t.declaredDirectives.forEach(function(e){return n.set(e.reference,t)}),t.declaredPipes.forEach(function(e){return n.set(e.reference,t)})}),t.directives.forEach(function(t){return r.add(t)}),t.pipes.forEach(function(t){return r.add(t)})});var i=[];return r.forEach(function(t){n.has(t)||i.push(t)}),{ngModules:e,ngModuleByPipeOrDirective:n,symbolsMissingModule:i,files:t}}function qd(t){return Ld(Vd(t))}var Ud="ngFormattedMessage";function Hd(t){if(t<=0)return"";if(t<6)return[""," "," "," "," "," "][t];var e=Hd(Math.floor(t/2));return e+e+(t%2==1?" ":"")}function zd(t,e){var n,r;if(void 0===e&&(e=0),!t)return"";var i=t.position?t.position.fileName+"("+(t.position.line+1)+","+(t.position.column+1)+")":"",s=(i&&0===e?i+": ":"")+t.message+(i&&0!==e?" at "+i:"");if(t.next)try{for(var a=o(t.next),u=a.next();!u.done;u=a.next())s+="\n"+zd(u.value,e+2)}catch(c){n={error:c}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return""+Hd(e)+s}function Wd(t){var e=io(zd(t)+".");return e[Ud]=!0,e.chain=t,e.position=t.position,e}var Gd="@angular/core",Kd=/^\$.*\$$/,Zd={__symbolic:"ignore"},Qd="useValue",$d=new Set([Qd,"useFactory","data","id","loadChildren"]),Yd="TypeGuard",Jd="UseIf";function Xd(t){return t&&"ignore"==t.__symbolic}var tv=function(){function e(e,n,r,i,o){var s=this;void 0===r&&(r=[]),void 0===i&&(i=[]),this.summaryResolver=e,this.symbolResolver=n,this.errorRecorder=o,this.annotationCache=new Map,this.shallowAnnotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.staticCache=new Map,this.conversionMap=new Map,this.resolvedExternalReferences=new Map,this.annotationForParentClassWithSummaryKind=new Map,this.initializeConversionMap(),r.forEach(function(t){return s._registerDecoratorOrConstructor(s.getStaticSymbol(t.filePath,t.name),t.ctor)}),i.forEach(function(t){return s._registerFunction(s.getStaticSymbol(t.filePath,t.name),t.fn)}),this.annotationForParentClassWithSummaryKind.set(t.CompileSummaryKind.Directive,[I,O]),this.annotationForParentClassWithSummaryKind.set(t.CompileSummaryKind.Pipe,[R]),this.annotationForParentClassWithSummaryKind.set(t.CompileSummaryKind.NgModule,[B]),this.annotationForParentClassWithSummaryKind.set(t.CompileSummaryKind.Injectable,[V,R,I,O,B])}return e.prototype.componentModuleUrl=function(t){var e=this.findSymbolDeclaration(t);return this.symbolResolver.getResourcePath(e)},e.prototype.invalidateSymbols=function(t){var e,n;try{for(var r=o(t),i=r.next();!i.done;i=r.next()){var s=i.value;this.annotationCache.delete(s),this.shallowAnnotationCache.delete(s),this.propertyCache.delete(s),this.parameterCache.delete(s),this.methodCache.delete(s),this.staticCache.delete(s),this.conversionMap.delete(s)}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.resolveExternalReference=function(t,e){var n=void 0;if(!e){var r=this.resolvedExternalReferences.get(n=t.moduleName+":"+t.name);if(r)return r}var i=this.symbolResolver.getSymbolByModule(t.moduleName,t.name,e),o=this.findSymbolDeclaration(i);return e||(this.symbolResolver.recordModuleNameForFileName(i.filePath,t.moduleName),this.symbolResolver.recordImportAs(o,i)),n&&this.resolvedExternalReferences.set(n,o),o},e.prototype.findDeclaration=function(t,e,n){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(t,e,n))},e.prototype.tryFindDeclaration=function(t,e,n){var r=this;return this.symbolResolver.ignoreErrorsFor(function(){return r.findDeclaration(t,e,n)})},e.prototype.findSymbolDeclaration=function(t){var e=this.symbolResolver.resolveSymbol(t);if(e){var n=e.metadata;if(n&&"resolved"===n.__symbolic&&(n=n.symbol),n instanceof Ui)return this.findSymbolDeclaration(e.metadata)}return t},e.prototype.tryAnnotations=function(t){var e=this.errorRecorder;this.errorRecorder=function(t,e){};try{return this.annotations(t)}finally{this.errorRecorder=e}},e.prototype.annotations=function(t){var e=this;return this._annotations(t,function(t,n){return e.simplify(t,n)},this.annotationCache)},e.prototype.shallowAnnotations=function(t){var e=this;return this._annotations(t,function(t,n){return e.simplify(t,n,!0)},this.shallowAnnotationCache)},e.prototype._annotations=function(e,n,r){var i=r.get(e);if(!i){i=[];var o=this.getTypeMetadata(e),u=this.findParentType(e,o);if(u){var c=this.annotations(u);i.push.apply(i,a([],s(c)))}var l=[];if(o.decorators&&(l=n(e,o.decorators))&&i.push.apply(i,a([],s(l))),u&&!this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(u.filePath)){var p=this.summaryResolver.resolveSummary(u);if(p&&p.type){var h=this.annotationForParentClassWithSummaryKind.get(p.type.summaryKind);h.some(function(t){return l.some(function(e){return t.isTypeOf(e)})})||this.reportError(vv(nv("Class "+e.name+" in "+e.filePath+" extends from a "+t.CompileSummaryKind[p.type.summaryKind]+" in another compilation unit without duplicating the decorator",void 0,"Please add a "+h.map(function(t){return t.ngMetadataName}).join(" or ")+" decorator to the class"),e),e)}}r.set(e,i.filter(function(t){return!!t}))}return i},e.prototype.propMetadata=function(t){var e=this,n=this.propertyCache.get(t);if(!n){var r=this.getTypeMetadata(t);n={};var i=this.findParentType(t,r);if(i){var o=this.propMetadata(i);Object.keys(o).forEach(function(t){n[t]=o[t]})}var u=r.members||{};Object.keys(u).forEach(function(r){var i=u[r].find(function(t){return"property"==t.__symbolic||"method"==t.__symbolic}),o=[];(null==n?void 0:n.hasOwnProperty(r))&&o.push.apply(o,a([],s(n[r]))),n[r]=o,i&&i.decorators&&o.push.apply(o,a([],s(e.simplify(t,i.decorators))))}),this.propertyCache.set(t,n)}return n},e.prototype.parameters=function(t){var e=this;if(!(t instanceof Ui))return this.reportError(new Error("parameters received "+JSON.stringify(t)+" which is not a StaticSymbol"),t),[];try{var n=this.parameterCache.get(t);if(!n){var r=this.getTypeMetadata(t),i=this.findParentType(t,r),o=r?r.members:null,u=o?o.__ctor__:null;if(u){var c=u.find(function(t){return"constructor"==t.__symbolic}),l=c.parameters||[],p=this.simplify(t,c.parameterDecorators||[]);n=[],l.forEach(function(r,i){var o=[],u=e.trySimplify(t,r);u&&o.push(u);var c=p?p[i]:null;c&&o.push.apply(o,a([],s(c))),n.push(o)})}else i&&(n=this.parameters(i));n||(n=[]),this.parameterCache.set(t,n)}return n}catch(h){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+h),h}},e.prototype._methodNames=function(t){var e=this.methodCache.get(t);if(!e){var n=this.getTypeMetadata(t);e={};var r=this.findParentType(t,n);if(r){var i=this._methodNames(r);Object.keys(i).forEach(function(t){e[t]=i[t]})}var o=n.members||{};Object.keys(o).forEach(function(t){var n=o[t].some(function(t){return"method"==t.__symbolic});e[t]=e[t]||n}),this.methodCache.set(t,e)}return e},e.prototype._staticMembers=function(t){var e=this.staticCache.get(t);if(!e){var n=this.getTypeMetadata(t);e=Object.keys(n.statics||{}),this.staticCache.set(t,e)}return e},e.prototype.findParentType=function(t,e){var n=this.trySimplify(t,e.extends);if(n instanceof Ui)return n},e.prototype.hasLifecycleHook=function(t,e){t instanceof Ui||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(t)+" which is not a StaticSymbol"),t);try{return!!this._methodNames(t)[e]}catch(n){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+n),n}},e.prototype.guards=function(t){var e,n;if(!(t instanceof Ui))return this.reportError(new Error("guards received "+JSON.stringify(t)+" which is not a StaticSymbol"),t),{};var r=this._staticMembers(t),i={};try{for(var s=o(r),a=s.next();!a.done;a=s.next()){var u=a.value;if(u.endsWith(Yd)){var c=u.substr(0,u.length-Yd.length),l=void 0;c.endsWith(Jd)?(c=u.substr(0,c.length-Jd.length),l=Jd):l=this.getStaticSymbol(t.filePath,t.name,[u]),i[c]=l}}}catch(p){e={error:p}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i},e.prototype._registerDecoratorOrConstructor=function(t,e){this.conversionMap.set(t,function(t,n){return new(e.bind.apply(e,a([void 0],s(n))))})},e.prototype._registerFunction=function(t,e){this.conversionMap.set(t,function(t,n){return e.apply(void 0,n)})},e.prototype.initializeConversionMap=function(){this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Injectable"),V),this.injectionToken=this.findDeclaration(Gd,"InjectionToken"),this.opaqueToken=this.findDeclaration(Gd,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration("@angular/router","ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration(Gd,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Host"),G),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Self"),z),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"SkipSelf"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Inject"),E),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Optional"),H),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Attribute"),C),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ContentChild"),P),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ContentChildren"),T),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ViewChild"),k),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ViewChildren"),M),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Input"),F),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Output"),D),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Pipe"),R),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"HostBinding"),L),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"HostListener"),j),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Directive"),I),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Component"),O),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"NgModule"),B),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Host"),G),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Self"),z),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"SkipSelf"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Optional"),H)},e.prototype.getStaticSymbol=function(t,e,n){return this.symbolResolver.getStaticSymbol(t,e,n)},e.prototype.trySimplify=function(t,e){var n=this.errorRecorder;this.errorRecorder=function(t,e){};var r=this.simplify(t,e);return this.errorRecorder=n,r},e.prototype.simplify=function(t,e,n){void 0===n&&(n=!1);var r,i=this,u=hv.empty,c=new Map;try{r=function t(e,n,r,l){function p(t){var e=i.symbolResolver.resolveSymbol(t);return e?e.metadata:null}function h(n){return t(e,n,r,0)}function f(n,o){if(n===e)return t(n,o,r+1,l);try{return t(n,o,r+1,l)}catch(a){if(!rv(a))throw a;var s=a.chain?"references '"+a.symbol.name+"'":function(t){if(t.summary)return t.summary;switch(t.message){case iv:if(t.context&&t.context.className)return"references non-exported class "+t.context.className;break;case ov:return"is not initialized";case sv:return"is a destructured variable";case av:return"could not be resolved";case uv:return t.context&&t.context.name?"calls '"+t.context.name+"'":"calls a function";case cv:return t.context&&t.context.name?"references local variable "+t.context.name:"references a local variable"}return"contains the error"}(a);i.error({message:a.message,advise:a.advise,context:a.context,chain:{message:"'"+n.name+"' "+s,position:a.position,next:a.chain},symbol:n},e)}}function d(n){var v,m,y,g;if(pv(n))return n;if(Array.isArray(n)){var S=[];try{for(var _=o(n),x=_.next();!x.done;x=_.next()){var w=x.value;if(w&&"spread"===w.__symbolic){var E=h(w.expression);if(Array.isArray(E)){try{for(var b=(y=void 0,o(E)),C=b.next();!C.done;C=b.next())S.push(C.value)}catch(z){y={error:z}}finally{try{C&&!C.done&&(g=b.return)&&g.call(b)}finally{if(y)throw y.error}}continue}}var T=d(w);Xd(T)||S.push(T)}}catch(z){v={error:z}}finally{try{x&&!x.done&&(m=_.return)&&m.call(_)}finally{if(v)throw v.error}}return S}if(n instanceof Ui)return n===i.injectionToken||i.conversionMap.has(n)||l>0&&!n.members.length?n:null!=(L=p(P=n))?f(P,L):P;if(n){if(n.__symbolic){var P=void 0;switch(n.__symbolic){case"binop":var M=d(n.left);if(Xd(M))return M;var k=d(n.right);if(Xd(k))return k;switch(n.operator){case"&&":return M&&k;case"||":return M||k;case"|":return M|k;case"^":return M^k;case"&":return M&k;case"==":return M==k;case"!=":return M!=k;case"===":return M===k;case"!==":return M!==k;case"<":return M":return M>k;case"<=":return M<=k;case">=":return M>=k;case"<<":return M<>":return M>>k;case"+":return M+k;case"-":return M-k;case"*":return M*k;case"/":return M/k;case"%":return M%k;case"??":return null!=M?M:k}return null;case"if":var I=d(n.condition);return d(I?n.thenExpression:n.elseExpression);case"pre":var N=d(n.operand);if(Xd(N))return N;switch(n.operator){case"+":return N;case"-":return-N;case"!":return!N;case"~":return~N}return null;case"index":var A=h(n.expression),O=h(n.index);return A&&pv(O)?A[O]:null;case"select":var R=n.member,F=e,D=d(n.expression);if(D instanceof Ui){var L,j=D.members.concat(R);return null!=(L=p(F=i.getStaticSymbol(D.filePath,D.name,j)))?f(F,L):F}return D&&pv(R)?f(F,D[R]):null;case"reference":var B=u.resolve(n.name);if(B!=hv.missing)return B;break;case"resolved":try{return d(n.symbol)}catch(W){throw rv(W)&&null!=n.fileName&&null!=n.line&&null!=n.character&&(W.position={fileName:n.fileName,line:n.line,column:n.character}),W}case"class":case"function":return e;case"new":case"call":if((P=t(e,n.expression,r+1,0))instanceof Ui){if(P===i.injectionToken||P===i.opaqueToken)return e;var V=n.arguments||[],q=i.conversionMap.get(P);if(q){var U=V.map(function(t){return f(e,t)}).map(function(t){return Xd(t)?void 0:t});return q(e,U)}return function(t,n,o,l){if(n&&"function"==n.__symbolic){c.get(t)&&i.error({message:"Recursion is not supported",summary:"called '"+t.name+"' recursively",value:n},t);try{var p=n.value;if(p&&(0!=r||"error"!=p.__symbolic)){var h=n.parameters,v=n.defaults;o=o.map(function(t){return f(e,t)}).map(function(t){return Xd(t)?void 0:t}),v&&v.length>o.length&&o.push.apply(o,a([],s(v.slice(o.length).map(function(t){return d(t)})))),c.set(t,!0);for(var m=hv.build(),y=0;y0?new fv(e):t.empty}}},t}();hv.missing={},hv.empty={resolve:function(t){return hv.missing}};var fv=function(t){function e(e){var n=t.call(this)||this;return n.bindings=e,n}return r(e,t),e.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):hv.missing},e}(hv);function dv(t,e){var n=function(t,e){switch(t){case iv:if(e&&e.className)return"References to a non-exported class are not supported in decorators but "+e.className+" was referenced.";break;case ov:return"Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler";case sv:return"Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler";case av:if(e&&e.typeName)return"Could not resolve type "+e.typeName;break;case uv:return e&&e.name?"Function calls are not supported in decorators but '"+e.name+"' was called":"Function calls are not supported in decorators";case cv:if(e&&e.name)return"Reference to a local (non-exported) symbols are not supported in decorators but '"+e.name+"' was referenced";break;case lv:return"Function expressions are not supported in decorators"}return t}(t.message,t.context)+(t.symbol?" in '"+t.symbol.name+"'":""),r=t.position,i=t.next?dv(t.next,e):e?{message:e}:void 0;return{message:n,position:r,next:i?[i]:void 0}}function vv(t,e){return rv(t)?Wd(dv({message:"Error during template compile of '"+e.name+"'",position:t.position,next:{message:t.message,next:t.chain,context:t.context,symbol:t.symbol}},t.advise||function(t,e){switch(t){case iv:if(e&&e.className)return"Consider exporting '"+e.className+"'";break;case sv:return"Consider simplifying to avoid destructuring";case cv:if(e&&e.name)return"Consider exporting '"+e.name+"'";break;case lv:return"Consider changing the function expression into an exported function"}}(t.message,t.context))):t}var mv=function(){function t(t,e){this.host=t,this.staticSymbolCache=e,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.isLibraryFile=function(t){return!this.host.isSourceFile(vf(t))},t.prototype.toSummaryFileName=function(t,e){return this.host.toSummaryFileName(t,e)},t.prototype.fromSummaryFileName=function(t,e){return this.host.fromSummaryFileName(t,e)},t.prototype.resolveSummary=function(t){var e=t.members.length?this.staticSymbolCache.get(t.filePath,t.name):t,n=this.summaryCache.get(e);return n||(this._loadSummaryFile(t.filePath),n=this.summaryCache.get(t)),e===t&&n||null},t.prototype.getSymbolsOf=function(t){return this._loadSummaryFile(t)?Array.from(this.summaryCache.keys()).filter(function(e){return e.filePath===t}):null},t.prototype.getImportAs=function(t){return t.assertNoMembers(),this.importAs.get(t)},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.addSummary=function(t){this.summaryCache.set(t.symbol,t)},t.prototype._loadSummaryFile=function(t){var e=this,n=this.loadedFilePaths.get(t);if(null!=n)return n;var r=null;if(this.isLibraryFile(t)){var i=gf(t);try{r=this.host.loadSummary(i)}catch(u){throw console.error("Error loading summary file "+i),u}}if(this.loadedFilePaths.set(t,n=null!=r),r){var o=function(t,e,n,r){return new kd(t,e).deserialize(n,r)}(this.staticSymbolCache,this,t,r),s=o.moduleName,a=o.importAs;o.summaries.forEach(function(t){return e.summaryCache.set(t.symbol,t)}),s&&this.knownFileNameToModuleNames.set(t,s),a.forEach(function(t){e.importAs.set(t.symbol,t.importAs)})}return n},t}();function yv(t){return{resolve:function(e,n){var r=t.resourceNameToFileName(n,e);if(!r)throw io("Couldn't resolve resource "+n+" from "+e);return r}}}var gv=function(){},Sv=function(){function t(){this._summaries=new Map}return t.prototype.isLibraryFile=function(){return!1},t.prototype.toSummaryFileName=function(t){return t},t.prototype.fromSummaryFileName=function(t){return t},t.prototype.resolveSummary=function(t){return this._summaries.get(t)||null},t.prototype.getSymbolsOf=function(){return[]},t.prototype.getImportAs=function(t){return t},t.prototype.getKnownModuleName=function(t){return null},t.prototype.addSummary=function(t){this._summaries.set(t.symbol,t)},t}();function _v(t,e,n,r,i){for(var o=r.createChildWihtLocalVars(),s=0;ss();case t.BinaryOperator.BiggerEquals:return o()>=s();case t.BinaryOperator.NullishCoalesce:return null!==(r=o())&&void 0!==r?r:s();default:throw new Error("Unknown operator "+e.operator)}},e.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.name]},e.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.index.visitExpression(this,e)]},e.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},e.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},e.prototype.visitCommaExpr=function(t,e){var n=this.visitAllExpressions(t.parts,e);return n[n.length-1]},e.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},e.prototype.visitAllStatements=function(t,e){for(var n=0;n0&&(n=function(t,e){var n=Fv(encodeURI(e)),r=Fv(t);if(null!=n[Rv.Scheme])return Dv(n);n[Rv.Scheme]=r[Rv.Scheme];for(var i=Rv.Scheme;i<=Rv.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[Rv.Path][0])return Dv(n);var o=r[Rv.Path];null==o&&(o="/");var s=o.lastIndexOf("/");return o=o.substring(0,s+1)+n[Rv.Path],n[Rv.Path]=o,Dv(n)}(t,n));var r=Fv(n),i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[Rv.Scheme]){var o=r[Rv.Path];return(i=i.replace(/\/+$/,""))+"/"+o.replace(/^\/+/,"")}return n},t}();var Ov=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Rv=(()=>((Rv=Rv||{})[Rv.Scheme=1]="Scheme",Rv[Rv.UserInfo=2]="UserInfo",Rv[Rv.Domain=3]="Domain",Rv[Rv.Port=4]="Port",Rv[Rv.Path=5]="Path",Rv[Rv.QueryData=6]="QueryData",Rv[Rv.Fragment=7]="Fragment",Rv))();function Fv(t){return t.match(Ov)}function Dv(t){var e=t[Rv.Path];return e=null==e?"":function(t){if("/"==t)return"/";for(var e="/"==t[0]?"/":"",n="/"===t[t.length-1]?"/":"",r=t.split("/"),i=[],o=0,s=0;s0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}(e),t[Rv.Path]=e,function(t,e,n,r,i,o,s){var a=[];return null!=t&&a.push(t+":"),null!=n&&(a.push("//"),null!=e&&a.push(e+"@"),a.push(n),null!=r&&a.push(":"+r)),null!=i&&a.push(i),null!=o&&a.push("?"+o),null!=s&&a.push("#"+s),a.join("")}(t[Rv.Scheme],t[Rv.UserInfo],t[Rv.Domain],t[Rv.Port],e,t[Rv.QueryData],t[Rv.Fragment])}var Lv=function(){function t(t,e,n,r){this.host=t,this.staticSymbolResolver=e,this.messageBundle=n,this.metadataResolver=r}return t.prototype.extract=function(t){var e=this,n=Dd(t,this.host,this.staticSymbolResolver,this.metadataResolver),r=n.files;return Promise.all(n.ngModules.map(function(t){return e.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var t=[];if(r.forEach(function(n){var r=[];n.directives.forEach(function(t){var n=e.metadataResolver.getDirectiveMetadata(t);n&&n.isComponent&&r.push(n)}),r.forEach(function(n){var r=n.template.template,i=n.template.templateUrl,o=Vi.fromArray(n.template.interpolation);t.push.apply(t,a([],s(e.messageBundle.updateFromTemplate(r,i,o))))})}),t.length)throw new Error(t.map(function(t){return t.toString()}).join("\n"));return e.messageBundle})},t.create=function(e,n){var r=new Cu,i=yv(e),o=new Hi,s=new mv(e,o),a=new Ed(e,o,s),u=new tv(s,a),c=new _h({defaultEncapsulation:N.Emulated,useJit:!1}),l=new wh({get:function(t){return e.loadResource(t)}},i,r,c),p=new _l,h=new kf(c,r,new zf(u),new Ch(u),new Zf(u),s,p,l,console,o,u),f=new vd(r,[],{},n);return{extractor:new t(e,a,f,h),staticReflector:u}},t}(),jv=function(){function t(t){this.directiveMatcher=t}return t.prototype.bind=function(t){if(!t.template)throw new Error("Binding without a template not yet supported");var e=Bv.apply(t.template),n=function(t){var e,n,r,i,u=new Map;function c(t){if(u.has(t.template))return u.get(t.template);var e,n=t.namedEntities;return e=null!==t.parentScope?new Map(a(a([],s(c(t.parentScope))),s(n))):new Map(n),u.set(t.template,e),e}for(var l=[t];l.length>0;){var p=l.pop();try{for(var h=(e=void 0,o(p.childScopes.values())),f=h.next();!f.done;f=h.next())l.push(f.value)}catch(g){e={error:g}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}c(p)}var d=new Map;try{for(var v=o(u),m=v.next();!m.done;m=v.next()){var y=s(m.value,2);d.set(y[0],new Set(y[1].values()))}}catch(g){r={error:g}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}return d}(e),r=Vv.apply(t.template,this.directiveMatcher),i=r.directives,u=r.bindings,c=r.references,l=qv.applyWithScope(t.template,e);return new Uv(t,i,u,c,l.expressions,l.symbols,l.nestingLevel,n,l.usedPipes)},t}(),Bv=function(){function t(t,e){this.parentScope=t,this.template=e,this.namedEntities=new Map,this.childScopes=new Map}return t.newRootScope=function(){return new t(null,null)},t.apply=function(e){var n=t.newRootScope();return n.ingest(e),n},t.prototype.ingest=function(t){var e=this;t instanceof Jn?(t.variables.forEach(function(t){return e.visitVariable(t)}),t.children.forEach(function(t){return t.visit(e)})):t.forEach(function(t){return t.visit(e)})},t.prototype.visitElement=function(t){var e=this;t.references.forEach(function(t){return e.visitReference(t)}),t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitTemplate=function(e){var n=this;e.references.forEach(function(t){return n.visitReference(t)});var r=new t(this,e);r.ingest(e),this.childScopes.set(e,r)},t.prototype.visitVariable=function(t){this.maybeDeclare(t)},t.prototype.visitReference=function(t){this.maybeDeclare(t)},t.prototype.visitContent=function(t){},t.prototype.visitBoundAttribute=function(t){},t.prototype.visitBoundEvent=function(t){},t.prototype.visitBoundText=function(t){},t.prototype.visitText=function(t){},t.prototype.visitTextAttribute=function(t){},t.prototype.visitIcu=function(t){},t.prototype.maybeDeclare=function(t){this.namedEntities.has(t.name)||this.namedEntities.set(t.name,t)},t.prototype.lookup=function(t){return this.namedEntities.has(t)?this.namedEntities.get(t):null!==this.parentScope?this.parentScope.lookup(t):null},t.prototype.getChildScope=function(t){var e=this.childScopes.get(t);if(void 0===e)throw new Error("Assertion error: child scope for "+t+" not found");return e},t}(),Vv=function(){function t(t,e,n,r){this.matcher=t,this.directives=e,this.bindings=n,this.references=r}return t.apply=function(e,n){var r=new Map,i=new Map,o=new Map;return new t(n,r,i,o).ingest(e),{directives:r,bindings:i,references:o}},t.prototype.ingest=function(t){var e=this;t.forEach(function(t){return t.visit(e)})},t.prototype.visitElement=function(t){this.visitElementOrTemplate(t.name,t)},t.prototype.visitTemplate=function(t){this.visitElementOrTemplate("ng-template",t)},t.prototype.visitElementOrTemplate=function(t,e){var n=this,r=yp(t,Ni(e)),i=[];this.matcher.match(r,function(t,e){return i.push(e)}),i.length>0&&this.directives.set(e,i),e.references.forEach(function(t){var r=null;if(""===t.value.trim())r=i.find(function(t){return t.isComponent})||null;else if(null===(r=i.find(function(e){return null!==e.exportAs&&e.exportAs.some(function(e){return e===t.value})})||null))return;n.references.set(t,null!==r?{directive:r,node:e}:e)});var o=function(t,r){var o=i.find(function(e){return e[r].hasBindingPropertyName(t.name)});n.bindings.set(t,void 0!==o?o:e)};e.inputs.forEach(function(t){return o(t,"inputs")}),e.attributes.forEach(function(t){return o(t,"inputs")}),e instanceof Jn&&e.templateAttrs.forEach(function(t){return o(t,"inputs")}),e.outputs.forEach(function(t){return o(t,"outputs")}),e.children.forEach(function(t){return t.visit(n)})},t.prototype.visitContent=function(t){},t.prototype.visitVariable=function(t){},t.prototype.visitReference=function(t){},t.prototype.visitTextAttribute=function(t){},t.prototype.visitBoundAttribute=function(t){},t.prototype.visitBoundEvent=function(t){},t.prototype.visitBoundAttributeOrEvent=function(t){},t.prototype.visitText=function(t){},t.prototype.visitBoundText=function(t){},t.prototype.visitIcu=function(t){},t}(),qv=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this)||this;return u.bindings=e,u.symbols=n,u.usedPipes=r,u.nestingLevel=i,u.scope=o,u.template=s,u.level=a,u.pipesUsed=[],u.visitNode=function(t){return t.visit(u)},u}return r(e,t),e.prototype.visit=function(t,e){t instanceof ko?t.visit(this,e):t.visit(this)},e.applyWithScope=function(t,n){var r=new Map,i=new Map,o=new Map,s=new Set;return new e(r,i,s,o,n,t instanceof Jn?t:null,0).ingest(t),{expressions:r,symbols:i,nestingLevel:o,usedPipes:s}},e.prototype.ingest=function(t){t instanceof Jn?(t.variables.forEach(this.visitNode),t.children.forEach(this.visitNode),this.nestingLevel.set(t,this.level)):t.forEach(this.visitNode)},e.prototype.visitElement=function(t){t.inputs.forEach(this.visitNode),t.outputs.forEach(this.visitNode),t.children.forEach(this.visitNode)},e.prototype.visitTemplate=function(t){t.inputs.forEach(this.visitNode),t.outputs.forEach(this.visitNode),t.templateAttrs.forEach(this.visitNode),t.references.forEach(this.visitNode);var n=this.scope.getChildScope(t);new e(this.bindings,this.symbols,this.usedPipes,this.nestingLevel,n,t,this.level+1).ingest(t)},e.prototype.visitVariable=function(t){null!==this.template&&this.symbols.set(t,this.template)},e.prototype.visitReference=function(t){null!==this.template&&this.symbols.set(t,this.template)},e.prototype.visitText=function(t){},e.prototype.visitContent=function(t){},e.prototype.visitTextAttribute=function(t){},e.prototype.visitIcu=function(t){var e=this;Object.keys(t.vars).forEach(function(n){return t.vars[n].visit(e)}),Object.keys(t.placeholders).forEach(function(n){return t.placeholders[n].visit(e)})},e.prototype.visitBoundAttribute=function(t){t.value.visit(this)},e.prototype.visitBoundEvent=function(t){t.handler.visit(this)},e.prototype.visitBoundText=function(t){t.value.visit(this)},e.prototype.visitPipe=function(e,n){return this.usedPipes.add(e.name),t.prototype.visitPipe.call(this,e,n)},e.prototype.visitPropertyRead=function(e,n){return this.maybeMap(n,e,e.name),t.prototype.visitPropertyRead.call(this,e,n)},e.prototype.visitSafePropertyRead=function(e,n){return this.maybeMap(n,e,e.name),t.prototype.visitSafePropertyRead.call(this,e,n)},e.prototype.visitPropertyWrite=function(e,n){return this.maybeMap(n,e,e.name),t.prototype.visitPropertyWrite.call(this,e,n)},e.prototype.visitMethodCall=function(e,n){return this.maybeMap(n,e,e.name),t.prototype.visitMethodCall.call(this,e,n)},e.prototype.visitSafeMethodCall=function(e,n){return this.maybeMap(n,e,e.name),t.prototype.visitSafeMethodCall.call(this,e,n)},e.prototype.maybeMap=function(t,e,n){if(e.receiver instanceof Oo){var r=this.scope.lookup(n);null!==r&&this.bindings.set(e,r)}},e}(os),Uv=function(){function t(t,e,n,r,i,o,s,a,u){this.target=t,this.directives=e,this.bindings=n,this.references=r,this.exprTargets=i,this.symbols=o,this.nestingLevel=s,this.templateEntities=a,this.usedPipes=u}return t.prototype.getEntitiesInTemplateScope=function(t){var e;return null!==(e=this.templateEntities.get(t))&&void 0!==e?e:new Set},t.prototype.getDirectivesOfNode=function(t){return this.directives.get(t)||null},t.prototype.getReferenceTarget=function(t){return this.references.get(t)||null},t.prototype.getConsumerOfBinding=function(t){return this.bindings.get(t)||null},t.prototype.getExpressionTarget=function(t){return this.exprTargets.get(t)||null},t.prototype.getTemplateOfSymbol=function(t){return this.symbols.get(t)||null},t.prototype.getNestingLevel=function(t){return this.nestingLevel.get(t)||0},t.prototype.getUsedDirectives=function(){var t=new Set;return this.directives.forEach(function(e){return e.forEach(function(e){return t.add(e)})}),Array.from(t.values())},t.prototype.getUsedPipes=function(){return Array.from(this.usedPipes)},t}();function Hv(t,e){return null===t||0===t.length?null:Ne(t.map(function(t){return e(t)}))}function zv(t,e){var n=Object.keys(t).map(function(n){return{key:n,value:e(t[n]),quoted:!0}});return n.length>0?Ae(n):null}function Wv(t){var e=new Ii;return e.set("token",t.token),null!==t.attributeNameType&&e.set("attribute",De(!0)),t.host&&e.set("host",De(!0)),t.optional&&e.set("optional",De(!0)),t.self&&e.set("self",De(!0)),t.skipSelf&&e.set("skipSelf",De(!0)),e.toLiteralMap()}function Gv(t){var e=new Ii;return e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("type",t.internalType),null!==t.selector&&e.set("selector",De(t.selector)),e.set("inputs",Pi(t.inputs,!0)),e.set("outputs",Pi(t.outputs)),e.set("host",function(t){var e=new Ii;return e.set("attributes",zv(t.attributes,function(t){return t})),e.set("listeners",zv(t.listeners,De)),e.set("properties",zv(t.properties,De)),t.specialAttributes.styleAttr&&e.set("styleAttribute",De(t.specialAttributes.styleAttr)),t.specialAttributes.classAttr&&e.set("classAttribute",De(t.specialAttributes.classAttr)),e.values.length>0?e.toLiteralMap():null}(t.host)),e.set("providers",t.providers),t.queries.length>0&&e.set("queries",Ne(t.queries.map(Kv))),t.viewQueries.length>0&&e.set("viewQueries",Ne(t.viewQueries.map(Kv))),null!==t.exportAs&&e.set("exportAs",Ti(t.exportAs)),t.usesInheritance&&e.set("usesInheritance",De(!0)),t.lifecycle.usesOnChanges&&e.set("usesOnChanges",De(!0)),e.set("ngImport",Pe(Ze.core)),e}function Kv(t){var e=new Ii;return e.set("propertyName",De(t.propertyName)),t.first&&e.set("first",De(!0)),e.set("predicate",Array.isArray(t.predicate)?Ti(t.predicate):jn(t.predicate)),t.emitDistinctChangesOnly||e.set("emitDistinctChangesOnly",De(!1)),t.descendants&&e.set("descendants",De(!0)),e.set("read",t.read),t.static&&e.set("static",De(!0)),e.toLiteralMap()}function Zv(t,e){var n=0!==t.declarationListEmitMode?Bn:function(t){return t};return Hv(t.directives.filter(e),function(t){var e=new Ii;return e.set("type",n(t.type)),e.set("selector",De(t.selector)),e.set("inputs",Hv(t.inputs,De)),e.set("outputs",Hv(t.outputs,De)),e.set("exportAs",Hv(t.exportAs,De)),e.toLiteralMap()})}gh(vn),t.AST=ko,t.ASTWithName=Io,t.ASTWithSource=ns,t.AbsoluteSourceSpan=es,t.AotCompiler=Nd,t.AotSummaryResolver=mv,t.ArrayType=it,t.AssertNotNull=Ut,t.AstMemoryEfficientTransformer=as,t.AstPath=za,t.AstTransformer=ss,t.AttrAst=Uu,t.Attribute=Qa,t.Binary=Zo,t.BinaryOperatorExpr=Kt,t.BindingPipe=Ho,t.BoundDirectivePropertyAst=$u,t.BoundElementProperty=ps,t.BoundElementPropertyAst=zu,t.BoundEventAst=Wu,t.BoundTextAst=qu,t.BuiltinType=nt,t.CONTENT_ATTR=Ba,t.CUSTOM_ELEMENTS_SCHEMA=q,t.CastExpr=Ht,t.Chain=Fo,t.ClassField=le,t.ClassMethod=pe,t.ClassStmt=fe,t.CommaExpr=Xt,t.Comment=Ya,t.CompileDirectiveMetadata=Ca,t.CompileMetadataResolver=kf,t.CompileNgModuleMetadata=Ma,t.CompilePipeMetadata=Ta,t.CompileReflector=Nv,t.CompileShallowModuleMetadata=Pa,t.CompileStylesheetMetadata=Ea,t.CompileTemplateMetadata=ba,t.CompiledStylesheet=qa,t.CompilerConfig=_h,t.Conditional=Do,t.ConditionalExpr=Vt,t.ConstantPool=Ue,t.CssSelector=S,t.DEFAULT_INTERPOLATION_CONFIG=qi,t.DYNAMIC_TYPE=st,t.DeclareFunctionStmt=se,t.DeclareVarStmt=oe,t.DirectiveAst=Yu,t.DirectiveNormalizer=wh,t.DirectiveResolver=Ch,t.DomElementSchemaRegistry=_l,t.EOF=Xc,t.ERROR_COMPONENT_TYPE=Pf,t.Element=$a,t.ElementAst=Zu,t.ElementSchemaRegistry=ml,t.EmbeddedTemplateAst=Qu,t.EmitterVisitorContext=Cn,t.EmptyExpr=Ao,t.Expansion=Ka,t.ExpansionCase=Za,t.Expression=vt,t.ExpressionBinding=is,t.ExpressionStatement=ae,t.ExpressionType=rt,t.ExternalExpr=jt,t.ExternalReference=Bt,t.Extractor=Lv,t.FunctionCall=ts,t.FunctionExpr=Wt,t.GeneratedFile=yd,t.HOST_ATTR=ja,t.HtmlParser=Cu,t.HtmlTagDefinition=m,t.I18NHtmlParser=of,t.Identifiers=fs,t.IfStmt=de,t.ImplicitReceiver=Oo,t.InstantiateExpr=Ct,t.Interpolation=Ko,t.InterpolationConfig=Vi,t.InvokeFunctionExpr=Et,t.InvokeMethodExpr=wt,t.IvyParser=ll,t.JSDocComment=re,t.JitCompiler=Pv,t.JitEvaluator=yo,t.JitSummaryResolver=Sv,t.KeyedRead=Vo,t.KeyedWrite=Uo,t.LeadingComment=ne,t.Lexer=Qc,t.LiteralArray=Wo,t.LiteralArrayExpr=$t,t.LiteralExpr=Tt,t.LiteralMap=Go,t.LiteralMapExpr=Jt,t.LiteralPrimitive=zo,t.LocalizedString=At,t.MapType=ot,t.MessageBundle=vd,t.MethodCall=Jo,t.NONE_TYPE=pt,t.NO_ERRORS_SCHEMA=U,t.NgContentAst=Xu,t.NgModuleCompiler=Hf,t.NgModuleResolver=zf,t.NodeWithI18n=Wa,t.NonNullAssert=Yo,t.NotExpr=qt,t.NullTemplateVisitor=tc,t.ParseError=eo,t.ParseLocation=Ji,t.ParseSourceFile=Xi,t.ParseSourceSpan=to,t.ParseSpan=Mo,t.ParseTreeResult=_u,t.ParsedEvent=cs,t.ParsedProperty=us,t.ParsedVariable=ls,t.Parser=cl,t.ParserError=Po,t.PipeResolver=Zf,t.PrefixNot=$o,t.PropertyRead=Lo,t.PropertyWrite=jo,t.ProviderAst=Ju,t.ProviderMeta=Na,t.Quote=No,t.R3BoundTarget=Uv,t.R3Identifiers=Ze,t.R3TargetBinder=jv,t.ReadKeyExpr=Qt,t.ReadPropExpr=Zt,t.ReadVarExpr=mt,t.RecursiveAstVisitor=os,t.RecursiveTemplateAstVisitor=ec,t.RecursiveVisitor=Xa,t.ReferenceAst=Gu,t.ResolvedStaticSymbol=wd,t.ResourceLoader=Kp,t.ReturnStatement=ue,t.STRING_TYPE=lt,t.SafeKeyedRead=qo,t.SafeMethodCall=Xo,t.SafePropertyRead=Bo,t.SelectorContext=w,t.SelectorListContext=x,t.SelectorMatcher=_,t.Serializer=jr,t.SplitInterpolation=al,t.Statement=ie,t.StaticReflector=tv,t.StaticSymbol=Ui,t.StaticSymbolCache=Hi,t.StaticSymbolResolver=Ed,t.StyleCompiler=Ua,t.StylesCompileDependency=Va,t.SummaryResolver=gv,t.TaggedTemplateExpr=bt,t.TemplateBindingParseResult=ul,t.TemplateLiteral=Pt,t.TemplateLiteralElement=Mt,t.TemplateParseError=Mc,t.TemplateParseResult=kc,t.TemplateParser=Ic,t.Text=Ga,t.TextAst=Vu,t.ThisReceiver=Ro,t.ThrowStmt=me,t.TmplAstBoundAttribute=Qn,t.TmplAstBoundEvent=$n,t.TmplAstBoundText=Kn,t.TmplAstContent=Xn,t.TmplAstElement=Yn,t.TmplAstIcu=nr,t.TmplAstRecursiveVisitor=rr,t.TmplAstReference=er,t.TmplAstTemplate=Jn,t.TmplAstText=Gn,t.TmplAstTextAttribute=Zn,t.TmplAstVariable=tr,t.Token=$c,t.TransitiveCompileNgModuleMetadata=ka,t.TreeError=Su,t.TryCatchStmt=ve,t.Type=et,t.TypeScriptEmitter=Gf,t.TypeofExpr=yt,t.Unary=Qo,t.UnaryOperatorExpr=Gt,t.UrlResolver=Av,t.VERSION=Sh,t.VariableAst=Ku,t.VariableBinding=rs,t.Version=hn,t.ViewCompiler=td,t.WrappedNodeExpr=gt,t.WriteKeyExpr=_t,t.WritePropExpr=xt,t.WriteVarExpr=St,t.Xliff=qh,t.Xliff2=Kh,t.Xmb=Jr,t.XmlParser=jh,t.Xtb=Xh,t._ParseAST=hl,t.analyzeAndValidateNgModules=Dd,t.analyzeFile=jd,t.analyzeFileForInjectables=Bd,t.analyzeNgModules=Fd,t.collectExternalReferences=function(t){var e=new xe;return e.visitAllStatements(t,null),e.externalReferences},t.compileClassMetadata=function(t){var e,n;return Oe([],[On(Pe(Ze.setClassMetadata).callFn([t.type,t.decorators,null!==(e=t.ctorParameters)&&void 0!==e?e:De(null),null!==(n=t.propDecorators)&&void 0!==n?n:De(null)])).toStmt()]).callFn([])},t.compileComponentFromMetadata=Ap,t.compileDeclareClassMetadata=function(t){var e=new Ii;return e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("ngImport",Pe(Ze.core)),e.set("type",t.type),e.set("decorators",t.decorators),e.set("ctorParameters",t.ctorParameters),e.set("propDecorators",t.propDecorators),Pe(Ze.declareClassMetadata).callFn([e.toLiteralMap()])},t.compileDeclareComponentFromMetadata=function(t,e,n){var r=function(t,e,n){var r=Gv(t);return r.set("template",function(t,e){if(null!==e.inlineTemplateLiteralExpression)return e.inlineTemplateLiteralExpression;if(e.isInline)return De(e.content,null,null);var n=e.content,r=new Xi(n,e.sourceUrl),i=new Ji(r,0,0,0),o=function(t,e){var n=e.length,r=0,i=0,o=0;do{-1!==(r=e.indexOf("\n",i))&&(i=r+1,o++)}while(-1!==r);return new Ji(t,n,o,n-i)}(r,n);return De(n,null,new to(i,o))}(0,n)),n.isInline&&r.set("isInline",De(!0)),r.set("styles",Hv(t.styles,De)),r.set("components",Zv(t,function(t){return!0===t.isComponent})),r.set("directives",Zv(t,function(t){return!0!==t.isComponent})),r.set("pipes",function(t){var e,n;if(0===t.pipes.size)return null;var r=0!==t.declarationListEmitMode?Bn:function(t){return t},i=[];try{for(var a=o(t.pipes),u=a.next();!u.done;u=a.next()){var c=s(u.value,2);i.push({key:c[0],value:r(c[1]),quoted:!0})}}catch(l){e={error:l}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return Ae(i)}(t)),r.set("viewProviders",t.viewProviders),r.set("animations",t.animations),void 0!==t.changeDetection&&r.set("changeDetection",Pe(Ze.ChangeDetectionStrategy).prop(A[t.changeDetection])),t.encapsulation!==N.Emulated&&r.set("encapsulation",Pe(Ze.ViewEncapsulation).prop(N[t.encapsulation])),t.interpolation!==qi&&r.set("interpolation",Ne([De(t.interpolation.start),De(t.interpolation.end)])),!0===e.preserveWhitespaces&&r.set("preserveWhitespaces",De(!0)),r}(t,e,n);return{expression:Pe(Ze.declareComponent).callFn([r.toLiteralMap()]),type:Op(t),statements:[]}},t.compileDeclareDirectiveFromMetadata=function(t){var e=Gv(t);return{expression:Pe(Ze.declareDirective).callFn([e.toLiteralMap()]),type:qp(t),statements:[]}},t.compileDeclareFactoryFunction=function(e){var n=new Ii;return n.set("minVersion",De("12.0.0")),n.set("version",De("12.2.17")),n.set("ngImport",Pe(Ze.core)),n.set("type",e.internalType),n.set("deps",function(t){return"invalid"===t?De("invalid"):null===t?De(null):Ne(t.map(Wv))}(e.deps)),n.set("target",Pe(Ze.FactoryTarget).prop(t.FactoryTarget[e.target])),{expression:Pe(Ze.declareFactory).callFn([n.toLiteralMap()]),statements:[],type:Un(e)}},t.compileDeclareInjectableFromMetadata=function(t){var e=function(t){var e=new Ii;if(e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("ngImport",Pe(Ze.core)),e.set("type",t.internalType),void 0!==t.providedIn){var n=jn(t.providedIn);null!==n.value&&e.set("providedIn",n)}return void 0!==t.useClass&&e.set("useClass",jn(t.useClass)),void 0!==t.useExisting&&e.set("useExisting",jn(t.useExisting)),void 0!==t.useValue&&e.set("useValue",jn(t.useValue)),void 0!==t.useFactory&&e.set("useFactory",t.useFactory),void 0!==t.deps&&e.set("deps",Ne(t.deps.map(Wv))),e}(t);return{expression:Pe(Ze.declareInjectable).callFn([e.toLiteralMap()]),type:Fi(t),statements:[]}},t.compileDeclareInjectorFromMetadata=function(t){var e=function(t){var e=new Ii;return e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("ngImport",Pe(Ze.core)),e.set("type",t.internalType),e.set("providers",t.providers),t.imports.length>0&&e.set("imports",Ne(t.imports)),e}(t);return{expression:Pe(Ze.declareInjector).callFn([e.toLiteralMap()]),type:_o(t),statements:[]}},t.compileDeclareNgModuleFromMetadata=function(t){var e=function(t){var e=new Ii;return e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("ngImport",Pe(Ze.core)),e.set("type",t.internalType),t.bootstrap.length>0&&e.set("bootstrap",Dn(t.bootstrap,t.containsForwardDecls)),t.declarations.length>0&&e.set("declarations",Dn(t.declarations,t.containsForwardDecls)),t.imports.length>0&&e.set("imports",Dn(t.imports,t.containsForwardDecls)),t.exports.length>0&&e.set("exports",Dn(t.exports,t.containsForwardDecls)),null!==t.schemas&&t.schemas.length>0&&e.set("schemas",Ne(t.schemas.map(function(t){return t.value}))),null!==t.id&&e.set("id",t.id),e}(t);return{expression:Pe(Ze.declareNgModule).callFn([e.toLiteralMap()]),type:Eo(t),statements:[]}},t.compileDeclarePipeFromMetadata=function(t){var e=function(t){var e=new Ii;return e.set("minVersion",De("12.0.0")),e.set("version",De("12.2.17")),e.set("ngImport",Pe(Ze.core)),e.set("type",t.internalType),e.set("name",De(t.pipeName)),!1===t.pure&&e.set("pure",De(t.pure)),e}(t);return{expression:Pe(Ze.declarePipe).callFn([e.toLiteralMap()]),type:To(t),statements:[]}},t.compileDirectiveFromMetadata=Np,t.compileFactoryFunction=qn,t.compileInjectable=Ri,t.compileInjector=So,t.compileNgModule=wo,t.compilePipeFromMetadata=Co,t.componentFactoryName=_a,t.computeMsgId=Pr,t.core=X,t.createAotCompiler=function(t,e,n){var r,i=e.translations||"",o=yv(t),s=new Hi,a=new mv(t,s),u=new Ed(t,s,a),c=new tv(a,u,[],[],n);r=e.enableIvy?new Cu:new of(new Cu,i,e.i18nFormat,e.missingTranslation,console);var l=new _h({defaultEncapsulation:N.Emulated,useJit:!1,missingTranslation:e.missingTranslation,preserveWhitespaces:e.preserveWhitespaces,strictInjectionParameters:e.strictInjectionParameters}),p=new wh({get:function(e){return t.loadResource(e)}},o,r,l),h=new cl(new Qc),f=new _l,d=new Ic(l,c,h,f,r,console,[]),v=new kf(l,r,new zf(c),new Ch(c),new Zf(c),a,f,p,console,s,c,n),m=new td(c),y=new Qf(e,c);return{compiler:new Nd(l,e,t,c,v,d,new Ua(o),m,y,new Hf(c),new cf(c,!!e.enableIvy),new Gf,a,u),reflector:c}},t.createAotUrlResolver=yv,t.createElementCssSelector=Dc,t.createInjectableType=Fi,t.createLoweredSymbol=function(t){return"\u0275"+t},t.createMayBeForwardRefExpression=Ln,t.createOfflineCompileUrlResolver=function(){return new Av(".")},t.createUrlResolverWithoutPackagePrefix=function(){return new Av},t.debugOutputAstAsTypeScript=Wf,t.devOnlyGuardedExpression=On,t.findNode=function(t,e){var n=[],i=new(function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.visit=function(t,r){var i=tu(t);if(!(i.start<=e&&e1?t[1]:"";return Object.defineProperty(this,"name",{value:e}),e}}),("undefined"!=typeof self?self:global).URLPolyfill=function t(e,n){if("string"!=typeof e)throw new TypeError("URL must be a string");var r=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(?:\/\/(?:([^:@\/?#]*)(?::([^:@\/?#]*))?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);if(!r)throw new RangeError;var i=r[1]||"",o=r[2]||"",s=r[3]||"",a=r[4]||"",u=r[5]||"",c=r[6]||"",l=r[7]||"",p=r[8]||"",h=r[9]||"";if(void 0!==n){var f=n instanceof t?n:new t(n),d=""===i&&""===a&&""===o;d&&""===l&&""===p&&(p=f.search),d&&"/"!==l.charAt(0)&&(l=""!==l?(""===f.host&&""===f.username||""!==f.pathname?"":"/")+f.pathname.slice(0,f.pathname.lastIndexOf("/")+1)+l:f.pathname);var v=[];l.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(t){"/.."===t?v.pop():v.push(t)}),l=v.join("").replace(/^\//,"/"===l.charAt(0)?"/":""),d&&(c=f.port,u=f.hostname,a=f.host,s=f.password,o=f.username),""===i&&(i=f.protocol)}"file:"==i&&(l=l.replace(/\\/g,"/")),this.origin=i+(""!==i||""!==a?"//":"")+a,this.href=i+(""!==i||""!==a?"//":"")+(""!==o?o+(""!==s?":"+s:"")+"@":"")+a+l+p+h,this.protocol=i,this.username=o,this.password=s,this.host=a,this.hostname=u,this.port=c,this.pathname=l,this.search=p,this.hash=h},"document"in self&&!("classList"in document.createElement("_"))&&function(t){"use strict";if("Element"in t){var e="classList",n="prototype",r=t.Element[n],i=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[n].indexOf||function(t){for(var e=0,n=this.length;e{class e{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return A.zone}static get currentTask(){return O}static __load_patch(i,o,a=!1){if(I.hasOwnProperty(i)){if(!a&&s)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){const s="Zone:"+i;n(s),I[i]=o(t,e,N),r(s,s)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{A=A.parent}}runGuarded(t,e=null,n,r){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{A=A.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===k||t.type===M))return;const r=t.state!=b;r&&t._transitionTo(b,E),t.runCount++;const i=O;O=t,A={parent:A,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{t.state!==x&&t.state!==T&&(t.type==k||t.data&&t.data.isPeriodic?r&&t._transitionTo(E,b):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(x,b,x))),A=A.parent,O=i}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(w,x);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(T,w,x),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==w&&t._transitionTo(E,w),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new l(P,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,i){return this.scheduleTask(new l(M,t,e,n,r,i))}scheduleEventTask(t,e,n,r,i){return this.scheduleTask(new l(k,t,e,n,r,i))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");t._transitionTo(C,E,b);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(T,C),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(x,C),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;rt.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,i,o)=>t.invokeTask(n,r,i,o),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class c{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:u,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,i):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=P)throw new Error("Task is missing scheduleFn.");g(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],i=n[t]=r+e;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class l{constructor(e,n,r,i,o,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=i,this.scheduleFn=o,this.cancelFn=s,!r)throw new Error("callback is not defined");this.callback=r;const a=this;this.invoke=e===k&&i&&i.useG?l.invokeTask:function(){return l.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),R++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==R&&S(),R--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,w)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==x&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const p=o("setTimeout"),h=o("Promise"),f=o("then");let d,v=[],m=!1;function y(e){if(d||t[h]&&(d=t[h].resolve(0)),d){let t=d[f];t||(t=d.then),t.call(d,e)}else t[p](e,0)}function g(t){0===R&&0===v.length&&y(S),t&&v.push(t)}function S(){if(!m){for(m=!0;v.length;){const e=v;v=[];for(let n=0;nA,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:g,showUncaughtError:()=>!a[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F,nativeScheduleMicroTask:y};let A={parent:null,zone:new a(null,null)},O=null,R=0;function F(){}r("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,i=Array.prototype.slice,o="addEventListener",s="removeEventListener",a=Zone.__symbol__(o),u=Zone.__symbol__(s),c="true",l="false",p=Zone.__symbol__("");function h(t,e){return Zone.current.wrap(t,e)}function f(t,e,n,r,i){return Zone.current.scheduleMacroTask(t,e,n,r,i)}const d=Zone.__symbol__,v="undefined"!=typeof window,m=v?window:void 0,y=v&&m||"object"==typeof self&&self||global;function g(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=h(t[n],e+"_"+n));return t}function S(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,x=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),w=!x&&!_&&!(!v||!m.HTMLElement),E=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!_&&!(!v||!m.HTMLElement),b={},C=function(t){if(!(t=t||y.event))return;let e=b[t.type];e||(e=b[t.type]=d("ON_PROPERTY"+t.type));const n=this||t.target||y,r=n[e];let i;if(w&&n===m&&"error"===t.type){const e=t;i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&t.preventDefault()}else i=r&&r.apply(this,arguments),null!=i&&!i&&t.preventDefault();return i};function T(n,r,i){let o=t(n,r);if(!o&&i&&t(i,r)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const s=d("on"+r+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete o.writable,delete o.value;const a=o.get,u=o.set,c=r.slice(2);let l=b[c];l||(l=b[c]=d("ON_PROPERTY"+c)),o.set=function(t){let e=this;!e&&n===y&&(e=y),e&&("function"==typeof e[l]&&e.removeEventListener(c,C),u&&u.call(e,null),e[l]=t,"function"==typeof t&&e.addEventListener(c,C,!1))},o.get=function(){let t=this;if(!t&&n===y&&(t=y),!t)return null;const e=t[l];if(e)return e;if(a){let e=a.call(this);if(e)return o.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(r),e}return null},e(n,r,o),n[s]=!0}function P(t,e,n){if(e)for(let r=0;rfunction(e,r){const o=n(e,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?f(o.name,r[o.cbIdx],o,i):t.apply(e,r)})}function A(t,e){t[d("OriginalDelegate")]=e}let O=!1,R=!1;function F(){if(O)return R;O=!0;try{const t=m.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(R=!0)}catch(t){}return R}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,s=[],a=!0===t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=o("Promise"),c=o("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{throw e.throwOriginal?e.rejection:e})}catch(t){p(t)}}};const l=o("unhandledPromiseRejectionHandler");function p(t){n.onUnhandledError(t);try{const n=e[l];"function"==typeof n&&n.call(this,t)}catch(r){}}function h(t){return t&&t.then}function f(t){return t}function d(t){return A.reject(t)}const v=o("state"),m=o("value"),y=o("finally"),g=o("parentPromiseValue"),S=o("parentPromiseState"),_=null,x=!1;function w(t,e){return n=>{try{C(t,e,n)}catch(r){C(t,!1,r)}}}const E=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},b=o("currentTaskTrace");function C(t,r,o){const u=E();if(t===o)throw new TypeError("Promise resolved with itself");if(t[v]===_){let p=null;try{("object"==typeof o||"function"==typeof o)&&(p=o&&o.then)}catch(c){return u(()=>{C(t,!1,c)})(),t}if(r!==x&&o instanceof A&&o.hasOwnProperty(v)&&o.hasOwnProperty(m)&&o[v]!==_)P(o),C(t,o[v],o[m]);else if(r!==x&&"function"==typeof p)try{p.call(o,u(w(t,r)),u(w(t,!1)))}catch(c){u(()=>{C(t,!1,c)})()}else{t[v]=r;const u=t[m];if(t[m]=o,t[y]===y&&!0===r&&(t[v]=t[S],t[m]=t[g]),r===x&&o instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&i(o,b,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e{try{const r=t[m],i=!!n&&y===n[y];i&&(n[g]=r,n[S]=o);const a=e.run(s,void 0,i&&s!==d&&s!==f?[]:[r]);C(n,!0,a)}catch(r){C(n,!1,r)}},n)}const k=function(){},N=t.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return C(new this(null),!0,t)}static reject(t){return C(new this(null),x,t)}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new N([],"All promises were rejected"));const e=[];let n=0;try{for(let r of t)n++,e.push(A.resolve(r))}catch(o){return Promise.reject(new N([],"All promises were rejected"))}if(0===n)return Promise.reject(new N([],"All promises were rejected"));let r=!1;const i=[];return new A((t,o)=>{for(let s=0;s{r||(r=!0,t(e))},t=>{i.push(t),n--,0===n&&(r=!0,o(new N(i,"All promises were rejected")))})})}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function i(t){e(t)}function o(t){n(t)}for(let s of t)h(s)||(s=this.resolve(s)),s.then(i,o);return r}static all(t){return A.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof A?this:A).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,i=new this((t,e)=>{n=t,r=e}),o=2,s=0;const a=[];for(let c of t){h(c)||(c=this.resolve(c));const t=s;try{c.then(r=>{a[t]=e?e.thenCallback(r):r,o--,0===o&&n(a)},i=>{e?(a[t]=e.errorCallback(i),o--,0===o&&n(a)):r(i)})}catch(u){r(u)}o++,s++}return o-=2,0===o&&n(a),i}constructor(t){const e=this;if(!(e instanceof A))throw new Error("Must be an instanceof Promise.");e[v]=_,e[m]=[];try{const n=E();t&&t(n(w(e,!0)),n(w(e,x)))}catch(n){C(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(t,n){var r;let i=null===(r=this.constructor)||void 0===r?void 0:r[Symbol.species];(!i||"function"!=typeof i)&&(i=this.constructor||A);const o=new i(k),s=e.current;return this[v]==_?this[m].push(s,o,t,n):M(this,s,o,t,n),o}catch(t){return this.then(null,t)}finally(t){var n;let r=null===(n=this.constructor)||void 0===n?void 0:n[Symbol.species];(!r||"function"!=typeof r)&&(r=A);const i=new r(k);i[y]=y;const o=e.current;return this[v]==_?this[m].push(o,i,t,t):M(this,o,i,t,t),i}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const O=t[u]=t.Promise;t.Promise=A;const R=o("thenPatched");function F(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const i=e.then;e[c]=i,t.prototype.then=function(t,e){return new A((t,e)=>{i.call(this,t,e)}).then(t,e)},t[R]=!0}return n.patchThen=F,O&&(F(O),I(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof A)return r;let i=r.constructor;return i[R]||F(i),r}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=s,A}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=d("OriginalDelegate"),r=d("Promise"),i=d("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?e.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[i];if(n)return e.call(n)}}return e.call(this)};o[n]=e,Function.prototype.toString=o;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}});let D=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(J){D=!1}const L={useG:!0},j={},B={},V=new RegExp("^"+p+"(\\w+)(true|false)$"),q=d("propagationStopped");function U(t,e){const n=(e?e(t):t)+l,r=(e?e(t):t)+c,i=p+n,o=p+r;j[t]={},j[t][l]=i,j[t][c]=o}function H(t,e,r,i){const a=i&&i.add||o,u=i&&i.rm||s,h=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",v=d(a),m="."+a+":",y=function(t,e,n){if(t.isRemoved)return;const r=t.callback;let i;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r);try{t.invoke(t,e,[n])}catch(s){i=s}const o=t.options;return o&&"object"==typeof o&&o.once&&e[u].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o),i};function g(n,r,i){if(!(r=r||t.event))return;const o=n||r.target||t,s=o[j[r.type][i?c:l]];if(s){const t=[];if(1===s.length){const e=y(s[0],o,r);e&&t.push(e)}else{const e=s.slice();for(let n=0;n{throw r})}}}const S=function(t){return g(this,t,!1)},_=function(t){return g(this,t,!0)};function w(e,r){if(!e)return!1;let i=!0;r&&void 0!==r.useG&&(i=r.useG);const o=r&&r.vh;let s=!0;r&&void 0!==r.chkDup&&(s=r.chkDup);let y=!1;r&&void 0!==r.rt&&(y=r.rt);let g=e;for(;g&&!g.hasOwnProperty(a);)g=n(g);if(!g&&e[a]&&(g=e),!g||g[v])return!1;const w=r&&r.eventNameToString,E={},b=g[v]=g[a],C=g[d(u)]=g[u],T=g[d(h)]=g[h],P=g[d(f)]=g[f];let M;function k(t,e){return!D&&"object"==typeof t&&t?!!t.capture:D&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}r&&r.prepend&&(M=g[d(r.prepend)]=g[r.prepend]);const I=i?function(t){if(!E.isExisting)return b.call(E.target,E.eventName,E.capture?_:S,E.options)}:function(t){return b.call(E.target,E.eventName,t.invoke,E.options)},N=i?function(t){if(!t.isRemoved){const e=j[t.eventName];let n;e&&(n=e[t.capture?c:l]);const r=n&&t.target[n];if(r)for(let i=0;ifunction(e,n){e[q]=!0,t&&t.apply(e,n)})}function G(t,e,n,r,i){const o=Zone.__symbol__(r);if(e[o])return;const s=e[o]=e[r];e[r]=function(o,a,u){return a&&a.prototype&&i.forEach(function(e){const i=`${n}.${r}::`+e,o=a.prototype;try{if(o.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(o,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,i),t._redefineProperty(a.prototype,e,n)):o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],i))}else o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],i))}catch(s){}}),s.call(e,o,a,u)},t.attachOriginToPatched(e[r],s)}function K(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(!r||0===r.length)return e;const i=r[0].ignoreProperties;return e.filter(t=>-1===i.indexOf(t))}function Z(t,e,n,r){t&&P(t,K(t,e,n),r)}function Q(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(n,a,u)=>{const f=Q(n);u.patchOnProperties=P,u.patchMethod=I,u.bindArguments=g,u.patchMacroTask=N;const d=a.__symbol__("BLACK_LISTED_EVENTS"),v=a.__symbol__("UNPATCHED_EVENTS");n[v]&&(n[d]=n[v]),n[d]&&(a[d]=a[v]=n[d]),u.patchEventPrototype=W,u.patchEventTarget=H,u.isIEOrEdge=F,u.ObjectDefineProperty=e,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=r,u.ArraySlice=i,u.patchClass=k,u.wrapWithCurrentZone=h,u.filterProperties=K,u.attachOriginToPatched=A,u._redefineProperty=Object.defineProperty,u.patchCallbacks=G,u.getGlobalObjects=()=>({globalSources:B,zoneSymbolEventNames:j,eventNames:f,isBrowser:w,isMix:E,isNode:x,TRUE_STR:c,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:s})});const $=d("zoneTask");function Y(t,e,n,r){let i=null,o=null;n+=r;const s={};function a(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=i.apply(t,n.args),e}function u(e){return o.call(t,e.data.handleId)}i=I(t,e+=r,n=>function(i,o){if("function"==typeof o[0]){const t={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete s[t.handleId]:t.handleId&&(t.handleId[$]=null))}};const i=f(e,o[0],t,a,u);if(!i)return i;const c=i.data.handleId;return"number"==typeof c?s[c]=i:c&&(c[$]=i),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(i.ref=c.ref.bind(c),i.unref=c.unref.bind(c)),"number"==typeof c||c?c:i}return n.apply(t,o)}),o=I(t,n,e=>function(n,r){const i=r[0];let o;"number"==typeof i?o=s[i]:(o=i&&i[$],o||(o=i)),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete s[i]:i&&(i[$]=null),o.zone.cancelTask(o)):e.apply(t,r)})}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{const e="clear";Y(t,"set",e,"Timeout"),Y(t,"set",e,"Interval"),Y(t,"set",e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Y(t,"request","cancel","AnimationFrame"),Y(t,"mozRequest","mozCancel","AnimationFrame"),Y(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;rfunction(r,o){return e.current.run(n,t,o,i)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let u=0;u{k("MutationObserver"),k("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{k("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{k("FileReader")}),Zone.__load_patch("on_property",(t,e,r)=>{!function(t,e){if(x&&!E||Zone[t.symbol("patchEvents")])return;const r=e.__Zone_ignore_on_properties;let i=[];if(w){const e=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const o=function(){try{const t=m.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];Z(e,Q(e),r&&r.concat(o),n(e))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let n=0;n{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const l=t.XMLHttpRequest;if(!l)return;const p=l.prototype;let h=p[a],v=p[u];if(!h){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;h=t[a],v=t[u]}}const m="readystatechange",y="scheduled";function g(t){const r=t.data,s=r.target;s[o]=!1,s[c]=!1;const l=s[i];h||(h=s[a],v=s[u]),l&&v.call(s,m,l);const p=s[i]=()=>{if(s.readyState===s.DONE)if(!r.aborted&&s[o]&&t.state===y){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const i=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;efunction(t,e){return t[r]=0==e[2],t[s]=e[1],x.apply(t,e)}),w=d("fetchTaskAborting"),E=d("fetchTaskScheduling"),b=I(p,"send",()=>function(t,n){if(!0===e.current[E]||t[r])return b.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},r=f("XMLHttpRequest.send",S,e,g,_);t&&!0===t[c]&&!e.aborted&&r.state===y&&r.invoke()}}),C=I(p,"abort",()=>function(t,r){const i=function(t){return t[n]}(t);if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===e.current[w])return C.apply(t,r)})}(t);const n=d("xhrTask"),r=d("xhrSync"),i=d("xhrListener"),o=d("xhrScheduled"),s=d("xhrURL"),c=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const r=e.constructor.name;for(let i=0;i{const e=function(){return t.apply(this,g(arguments,r+"."+o))};return A(e,t),e})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){z(t,e).forEach(r=>{const i=t.PromiseRejectionEvent;if(i){const t=new i(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[d("rejectionHandledHandler")]=n("rejectionhandled"))})},7435:function(t,e,n){"use strict";n(3163),n(18250),n(75227),n(49805),n(33759),n(23260),n(2582),n(32109),n(14336),n(60366),n(56974),n(86535),n(33349),n(72163),n(41925),n(35929),n(5633),n(42401),n(24965),n(1686),n(38204),n(7277)},1686:function(t,e,n){var r;!function(i,o,s){"use strict";(function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=129)})([function(t,e,n){var r=n(2),i=n(26),o=n(11),a=n(12),u=n(18),c="prototype",l=function(t,e,n){var p,h,f,d,v=t&l.F,m=t&l.G,y=t&l.P,g=t&l.B,S=m?r:t&l.S?r[e]||(r[e]={}):(r[e]||{})[c],_=m?i:i[e]||(i[e]={}),x=_[c]||(_[c]={});for(p in m&&(n=e),n)f=((h=!v&&S&&S[p]!==s)?S:n)[p],d=g&&h?u(f,r):y&&"function"==typeof f?u(Function.call,f):f,S&&a(S,p,f,t&l.U),_[p]!=f&&o(_,p,d),y&&x[p]!=f&&(x[p]=f)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof o&&(o=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(47)("wks"),i=n(33),o=n(2).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(20),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),i=n(93),o=n(22),s=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(23);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(8),i=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),i=n(11),o=n(14),s=n(33)("src"),a=n(131),u="toString",c=(""+a).split(u);n(26).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(0),i=n(3),o=n(23),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(48),i=n(23);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(49),i=n(32),o=n(15),s=n(22),a=n(14),u=n(93),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(14),i=n(9),o=n(68)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){if(r(t),e===s)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(i=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(t==s)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(26),o=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(18),i=n(48),o=n(9),a=n(6),u=n(84);t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,p=4==t,h=6==t,f=5==t||h,d=e||u;return function(e,u,v){for(var m,y,g=o(e),S=i(g),_=r(u,v,3),x=a(S.length),w=0,E=n?d(e,x):c?d(e,0):s;x>w;w++)if((f||w in S)&&(y=_(m=S[w],w,g),t))if(n)E[w]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:E.push(m)}else if(p)return!1;return h?-1:l||p?p:E}}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof i&&(i=n)},function(t,e,n){if(n(7)){var r=n(29),i=n(2),o=n(3),a=n(0),u=n(62),c=n(92),l=n(18),p=n(39),h=n(32),f=n(11),d=n(41),v=n(20),m=n(6),y=n(122),g=n(35),S=n(22),_=n(14),x=n(44),w=n(4),E=n(9),b=n(81),C=n(36),T=n(17),P=n(37).f,M=n(83),k=n(33),I=n(5),N=n(25),A=n(52),O=n(51),R=n(86),F=n(46),D=n(57),L=n(38),j=n(85),B=n(110),V=n(8),q=n(16),U=V.f,H=q.f,z=i.RangeError,W=i.TypeError,G=i.Uint8Array,K="ArrayBuffer",Z="Shared"+K,Q="BYTES_PER_ELEMENT",$="prototype",Y=Array[$],J=c.ArrayBuffer,X=c.DataView,tt=N(0),et=N(2),nt=N(3),rt=N(4),it=N(5),ot=N(6),st=A(!0),at=A(!1),ut=R.values,ct=R.keys,lt=R.entries,pt=Y.lastIndexOf,ht=Y.reduce,ft=Y.reduceRight,dt=Y.join,vt=Y.sort,mt=Y.slice,yt=Y.toString,gt=Y.toLocaleString,St=I("iterator"),_t=I("toStringTag"),xt=k("typed_constructor"),wt=k("def_constructor"),Et=u.CONSTR,bt=u.TYPED,Ct=u.VIEW,Tt="Wrong length!",Pt=N(1,function(t,e){return At(O(t,t[wt]),e)}),Mt=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),kt=!!G&&!!G[$].set&&o(function(){new G(1).set({})}),It=function(t,e){var n=v(t);if(n<0||n%e)throw z("Wrong offset!");return n},Nt=function(t){if(w(t)&&bt in t)return t;throw W(t+" is not a typed array!")},At=function(t,e){if(!w(t)||!(xt in t))throw W("It is not a typed array constructor!");return new t(e)},Ot=function(t,e){return Rt(O(t,t[wt]),e)},Rt=function(t,e){for(var n=0,r=e.length,i=At(t,r);r>n;)i[n]=e[n++];return i},Ft=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,r,i,o,a,u=E(t),c=arguments.length,p=c>1?arguments[1]:s,h=p!==s,f=M(u);if(f!=s&&!b(f)){for(a=f.call(u),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);u=r}for(h&&c>2&&(p=l(p,arguments[2],2)),e=0,n=m(u.length),i=At(this,n);n>e;e++)i[e]=h?p(u[e],e):u[e];return i},Lt=function(){for(var t=0,e=arguments.length,n=At(this,e);e>t;)n[t]=arguments[t++];return n},jt=!!G&&o(function(){gt.call(new G(1))}),Bt=function(){return gt.apply(jt?mt.call(Nt(this)):Nt(this),arguments)},Vt={copyWithin:function(t,e){return B.call(Nt(this),t,e,arguments.length>2?arguments[2]:s)},every:function(t){return rt(Nt(this),t,arguments.length>1?arguments[1]:s)},fill:function(t){return j.apply(Nt(this),arguments)},filter:function(t){return Ot(this,et(Nt(this),t,arguments.length>1?arguments[1]:s))},find:function(t){return it(Nt(this),t,arguments.length>1?arguments[1]:s)},findIndex:function(t){return ot(Nt(this),t,arguments.length>1?arguments[1]:s)},forEach:function(t){tt(Nt(this),t,arguments.length>1?arguments[1]:s)},indexOf:function(t){return at(Nt(this),t,arguments.length>1?arguments[1]:s)},includes:function(t){return st(Nt(this),t,arguments.length>1?arguments[1]:s)},join:function(t){return dt.apply(Nt(this),arguments)},lastIndexOf:function(t){return pt.apply(Nt(this),arguments)},map:function(t){return Pt(Nt(this),t,arguments.length>1?arguments[1]:s)},reduce:function(t){return ht.apply(Nt(this),arguments)},reduceRight:function(t){return ft.apply(Nt(this),arguments)},reverse:function(){for(var t,e=this,n=Nt(e).length,r=Math.floor(n/2),i=0;i1?arguments[1]:s)},sort:function(t){return vt.call(Nt(this),t)},subarray:function(t,e){var n=Nt(this),r=n.length,i=g(t,r);return new(O(n,n[wt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((e===s?r:g(e,r))-i))}},qt=function(t,e){return Ot(this,mt.call(Nt(this),t,e))},Ut=function(t){Nt(this);var e=It(arguments[1],1),n=this.length,r=E(t),i=m(r.length),o=0;if(i+e>n)throw z(Tt);for(;o255?255:255&r),i.v[d](n*e+i.o,r,Mt)}(this,n,t)},enumerable:!0})};v&&u.ABV?(!o(function(){v(1)})||!o(function(){new v(-1)})||!D(function(t){new v,new v(null),new v(1.5),new v(t)},!0))&&(v=n(function(t,n,r,i){var o;return p(t,v,l),w(n)?n instanceof J||(o=x(n))==K||o==Z?i!==s?new g(n,It(r,e),i):r!==s?new g(n,It(r,e)):new g(n):bt in n?Rt(v,n):Dt.call(v,n):new g(y(n))}),tt(S!==Function.prototype?P(g).concat(P(S)):P(g),function(t){t in v||f(v,t,g[t])}),v[$]=E,r||(E.constructor=v)):(v=n(function(t,n,r,i){p(t,v,l,"_d");var o,a,u,c,h=0,d=0;if(w(n)){if(!(n instanceof J||(c=x(n))==K||c==Z))return bt in n?Rt(v,n):Dt.call(v,n);o=n,d=It(r,e);var g=n.byteLength;if(i===s){if(g%e||(a=g-d)<0)throw z(Tt)}else if((a=m(i)*e)+d>g)throw z(Tt);u=a/e}else u=y(n),o=new J(a=u*e);for(f(t,"_d",{b:o,o:d,l:a,e:u,v:new X(o)});hdocument.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l[c][o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[c]=r(t),n=new u,u[c]=null,n[a]=t):n=l(),e===s?n:i(n,e)}},function(t,e,n){var r=n(95),i=n(69).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(2),i=n(8),o=n(7),s=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||r!==s&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(18),i=n(108),o=n(81),s=n(1),a=n(6),u=n(83),c={},l={};(e=t.exports=function(t,e,n,p,h){var f,d,v,m,y=h?function(){return t}:u(t),g=r(n,p,e?2:1),S=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(f=a(t.length);f>S;S++)if((m=e?g(s(d=t[S])[0],d[1]):g(t[S]))===c||m===l)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=i(v,g,d.value,e))===c||m===l)return m}).BREAK=c,e.RETURN=l},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(8).f,i=n(14),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(19),i=n(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return t===s?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(0),i=n(23),o=n(3),s=n(73),a="["+s+"]",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),l=function(t,e,n){var i={},a=o(function(){return!!s[t]()||"\u200b\x85"!="\u200b\x85"[t]()}),u=i[t]=a?e(p):s[t];n&&(i[n]=u),r(r.P+r.F*a,"String",i)},p=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},function(t,e){t.exports={}},function(t,e,n){var r=n(26),i=n(2),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=e!==s?e:{})})("versions",[]).push({version:r.version,mode:n(29)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),i=n(10),o=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return a===s||(n=r(a)[o])==s?e:i(n)}},function(t,e,n){var r=n(15),i=n(6),o=n(35);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),l=o(s,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(20),i=n(23);t.exports=function(t){return function(e,n){var o,a,u=String(i(e)),c=r(n),l=u.length;return c<0||c>=l?t?"":s:(o=u.charCodeAt(c))<55296||o>56319||c+1===l||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):o:t?u.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){var r=n(4),i=n(19),o=n(5)("match");t.exports=function(t){var e;return r(t)&&((e=t[o])!==s?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},function(t,e,n){var r=n(44),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){n(112);var r=n(12),i=n(11),o=n(3),a=n(23),u=n(5),c=n(87),l=u("species"),p=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=u(t),d=!o(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),v=d?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[f](""),!e}):s;if(!d||!v||"replace"===t&&!p||"split"===t&&!h){var m=/./[f],y=n(a,f,""[t],function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),g=y[1];r(String.prototype,t,y[0]),i(RegExp.prototype,f,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(2),i=n(0),o=n(12),a=n(41),u=n(30),c=n(40),l=n(39),p=n(4),h=n(3),f=n(57),d=n(43),v=n(72);t.exports=function(t,e,n,m,y,g){var S=r[t],_=S,x=y?"set":"add",w=_&&_.prototype,E={},b=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(g&&!p(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!p(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!p(t)?s:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(g||w.forEach&&!h(function(){(new _).entries().next()}))){var C=new _,T=C[x](g?{}:-0,1)!=C,P=h(function(){C.has(1)}),M=f(function(t){new _(t)}),k=!g&&h(function(){for(var t=new _,e=5;e--;)t[x](e,e);return!t.has(-0)});M||((_=e(function(e,n){l(e,_,t);var r=v(new S,e,_);return n!=s&&c(n,y,r[x],r),r})).prototype=w,w.constructor=_),(P||k)&&(b("delete"),b("has"),y&&b("get")),(k||T)&&b(x),g&&w.clear&&delete w.clear}else _=m.getConstructor(e,t,y,x),a(_.prototype,n),u.NEED=!0;return d(_,t),E[t]=_,i(i.G+i.W+i.F*(_!=S),E),g||m.setStrong(_,t,y),_}},function(t,e,n){for(var r,i=n(2),o=n(11),s=n(33),a=s("typed_array"),u=s("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,p=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[h[p++]])?(o(r.prototype,a,!0),o(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:a,VIEW:u}},function(t,e,n){t.exports=n(29)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){var r=n(0),i=n(10),o=n(18),a=n(40);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,u,c=arguments[1];return i(this),(e=c!==s)&&i(c),t==s?new this:(n=[],e?(r=0,u=o(c,arguments[2],2),a(t,!1,function(t){n.push(u(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){var r=n(4),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(2),i=n(26),o=n(29),s=n(94),a=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"!=t.charAt(0)&&!(t in e)&&a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(47)("keys"),i=n(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),i=n(1),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(16).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):s),check:o}},function(t,e,n){var r=n(4),i=n(71).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(t,e,n){var r=n(20),i=n(23);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(56),i=n(23);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},function(t,e,n){var r=n(29),i=n(0),o=n(12),a=n(11),u=n(46),c=n(80),l=n(43),p=n(17),h=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),d="keys",v="values",m=function(){return this};t.exports=function(t,e,n,y,g,S,_){c(n,e,y);var x,w,E,b=function(t){if(!f&&t in M)return M[t];switch(t){case d:case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",T=g==v,P=!1,M=t.prototype,k=M[h]||M["@@iterator"]||g&&M[g],I=k||b(g),N=g?T?b("entries"):I:s,A="Array"==e&&M.entries||k;if(A&&(E=p(A.call(new t)))!==Object.prototype&&E.next&&(l(E,C,!0),!r&&"function"!=typeof E[h]&&a(E,h,m)),T&&k&&k.name!==v&&(P=!0,I=function(){return k.call(this)}),(!r||_)&&(f||P||!M[h])&&a(M,h,I),u[e]=I,u[C]=m,g)if(x={values:T?I:b(v),keys:S?I:b(d),entries:N},_)for(w in x)w in M||o(M,w,x[w]);else i(i.P+i.F*(f||P),e,x);return x}},function(t,e,n){var r=n(36),i=n(32),o=n(43),s={};n(11)(s,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(46),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return t!==s&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(8),i=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(44),i=n(5)("iterator"),o=n(46);t.exports=n(26).getIteratorMethod=function(t){if(t!=s)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(213);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(9),i=n(35),o=n(6);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,u=i(a>1?arguments[1]:s,n),c=a>2?arguments[2]:s,l=c===s?n:i(c,n);l>u;)e[u++]=t;return e}},function(t,e,n){var r=n(31),i=n(111),o=n(46),a=n(15);t.exports=n(79)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=s,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r,i,o=n(50),a=RegExp.prototype.exec,u=String.prototype.replace,c=a,l="lastIndex",p=(i=/b*/g,a.call(r=/a/,"a"),a.call(i,"a"),0!==r[l]||0!==i[l]),h=/()??/.exec("")[1]!==s;(p||h)&&(c=function(t){var e,n,r,i,c=this;return h&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),p&&(e=c[l]),r=a.call(c,t),p&&r&&(c[l]=c.global?r.index+r[0].length:e),h&&r&&r.length>1&&u.call(r[0],n,function(){for(i=1;in;)e.push(arguments[n++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},r(m),m},f=function(t){delete y[t]},"process"==n(19)(p)?r=function(t){p.nextTick(s(S,t,1))}:v&&v.now?r=function(t){v.now(s(S,t,1))}:d?(o=(i=new d).port2,i.port1.onmessage=_,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r=g in c("script")?function(t){u.appendChild(c("script"))[g]=function(){u.removeChild(this),S.call(t)}}:function(t){setTimeout(s(S,t,1),0)}),t.exports={set:h,clear:f}},function(t,e,n){var r=n(2),i=n(89).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(19)(a);t.exports=function(){var t,e,n,l=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=s,o}}e=s,r&&r.enter()};if(c)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var p=u.resolve(s);n=function(){p.then(l)}}else n=function(){i.call(r,l)};else{var h=!0,f=document.createTextNode("");new o(l).observe(f,{characterData:!0}),n=function(){f.data=h=!h}}return function(r){var i={fn:r,next:s};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(10);function i(t){var e,n;this.promise=new t(function(t,r){if(e!==s||n!==s)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},function(t,e,n){var r=n(2),i=n(7),o=n(29),a=n(62),u=n(11),c=n(41),l=n(3),p=n(39),h=n(20),f=n(6),d=n(122),v=n(37).f,m=n(8).f,y=n(85),g=n(43),S="ArrayBuffer",_="DataView",x="prototype",w="Wrong index!",E=r[S],b=r[_],C=r.Math,T=r.RangeError,P=r.Infinity,M=E,k=C.abs,I=C.pow,N=C.floor,A=C.log,O=C.LN2,R="byteLength",F="byteOffset",D=i?"_b":"buffer",L=i?"_l":R,j=i?"_o":F;function B(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,u=(1<>1,l=23===e?I(2,-24)-I(2,-77):0,p=0,h=t<0||0===t&&1/t<0?1:0;for((t=k(t))!=t||t===P?(i=t!=t?1:0,r=u):(r=N(A(t)/O),t*(o=I(2,-r))<1&&(r--,o*=2),(t+=r+c>=1?l/o:l*I(2,1-c))*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*I(2,e),r+=c):(i=t*I(2,c-1)*I(2,e),r=0));e>=8;s[p++]=255&i,i/=256,e-=8);for(r=r<0;s[p++]=255&r,r/=256,a-=8);return s[--p]|=128*h,s}function V(t,e,n){var r,i=8*n-e-1,o=(1<>1,a=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;a>0;l=256*l+t[u],u--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:c?-P:P;r+=I(2,e),l-=s}return(c?-1:1)*r*I(2,l-e)}function q(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function U(t){return[255&t]}function H(t){return[255&t,t>>8&255]}function z(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function W(t){return B(t,52,8)}function G(t){return B(t,23,4)}function K(t,e,n){m(t[x],e,{get:function(){return this[n]}})}function Z(t,e,n,r){var i=d(+n);if(i+e>t[L])throw T(w);var o=i+t[j],s=t[D]._b.slice(o,o+e);return r?s:s.reverse()}function Q(t,e,n,r,i,o){var s=d(+n);if(s+e>t[L])throw T(w);for(var a=t[D]._b,u=s+t[j],c=r(+i),l=0;lX;)($=J[X++])in E||u(E,$,M[$]);o||(Y.constructor=E)}var tt=new b(new E(2)),et=b[x].setInt8;tt.setInt8(0,2147483648),tt.setInt8(1,2147483649),(tt.getInt8(0)||!tt.getInt8(1))&&c(b[x],{setInt8:function(t,e){et.call(this,t,e<<24>>24)},setUint8:function(t,e){et.call(this,t,e<<24>>24)}},!0)}else E=function(t){p(this,E,S);var e=d(t);this._b=y.call(new Array(e),0),this[L]=e},b=function(t,e,n){p(this,b,_),p(t,E,_);var r=t[L],i=h(e);if(i<0||i>r)throw T("Wrong offset!");if(i+(n=n===s?r-i:f(n))>r)throw T("Wrong length!");this[D]=t,this[j]=i,this[L]=n},i&&(K(E,R,"_l"),K(b,"buffer","_b"),K(b,R,"_l"),K(b,F,"_o")),c(b[x],{getInt8:function(t){return Z(this,1,t)[0]<<24>>24},getUint8:function(t){return Z(this,1,t)[0]},getInt16:function(t){var e=Z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return q(Z(this,4,t,arguments[1]))},getUint32:function(t){return q(Z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return V(Z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return V(Z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Q(this,1,t,U,e)},setUint8:function(t,e){Q(this,1,t,U,e)},setInt16:function(t,e){Q(this,2,t,H,e,arguments[2])},setUint16:function(t,e){Q(this,2,t,H,e,arguments[2])},setInt32:function(t,e){Q(this,4,t,z,e,arguments[2])},setUint32:function(t,e){Q(this,4,t,z,e,arguments[2])},setFloat32:function(t,e){Q(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){Q(this,8,t,W,e,arguments[2])}});g(E,S),g(b,_),u(b[x],a.VIEW,!0),e[S]=E,e[_]=b},function(t,e,n){t.exports=!n(7)&&!n(3)(function(){return 7!=Object.defineProperty(n(66)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(14),i=n(15),o=n(52)(!1),s=n(68)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(8),i=n(1),o=n(34);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(15),i=n(37).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(e){try{return i(e)}catch(t){return s.slice()}}(t):i(r(t))}},function(t,e,n){var r=n(7),i=n(34),o=n(53),s=n(49),a=n(9),u=n(48),c=Object.assign;t.exports=!c||n(3)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,l=1,p=o.f,h=s.f;c>l;)for(var f,d=u(arguments[l++]),v=p?i(d).concat(p(d)):i(d),m=v.length,y=0;m>y;)f=v[y++],(!r||h.call(d,f))&&(n[f]=d[f]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(10),i=n(4),o=n(101),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i>>0||(s.test(n)?16:10))}:r},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(75),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),u=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),c=r(t);return ia||n!=n?c*(1/0):c*n}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t.return;throw o!==s&&r(o.call(t)),a}}},function(t,e,n){var r=n(10),i=n(9),o=n(48),s=n(6);t.exports=function(t,e,n,a,u){r(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},function(t,e,n){var r=n(9),i=n(35),o=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),u=i(t,a),c=i(e,a),l=arguments.length>2?arguments[2]:s,p=Math.min((l===s?a:i(l,a))-c,a-u),h=1;for(c0;)c in n?n[u]=n[c]:delete n[u],u+=h,c+=h;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(87);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(8).f(RegExp.prototype,"flags",{configurable:!0,get:n(50)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},function(t,e,n){var r=n(1),i=n(4),o=n(91);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(117),i=n(42),o="Map";t.exports=n(61)(o,function(t){return function(){return t(this,arguments.length>0?arguments[0]:s)}},{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},function(t,e,n){var r=n(8).f,i=n(36),o=n(41),a=n(18),u=n(39),c=n(40),l=n(79),p=n(111),h=n(38),f=n(7),d=n(30).fastKey,v=n(42),m=f?"_s":"size",y=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var p=t(function(t,r){u(t,p,e,"_i"),t._t=e,t._i=i(null),t._f=s,t._l=s,t[m]=0,r!=s&&c(r,n,t[l],t)});return o(p.prototype,{clear:function(){for(var t=v(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=s),delete n[r.i];t._f=t._l=s,t[m]=0},delete:function(t){var n=v(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(t){v(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:s,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(v(this,e),t)}}),f&&r(p.prototype,"size",{get:function(){return v(this,e)[m]}}),p},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:s,r:!1},t._f||(t._f=o),r&&(r.n=o),t[m]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=v(t,e),this._k=n,this._l=s},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?p(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=s,p(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e,n){var r=n(117),i=n(42);t.exports=n(61)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:s)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){var r,i=n(2),o=n(25)(0),a=n(12),u=n(30),c=n(98),l=n(120),p=n(4),h=n(42),f=n(42),d=!i.ActiveXObject&&"ActiveXObject"in i,v="WeakMap",m=u.getWeak,y=Object.isExtensible,g=l.ufstore,S=function(t){return function(){return t(this,arguments.length>0?arguments[0]:s)}},_={get:function(t){if(p(t)){var e=m(t);return!0===e?g(h(this,v)).get(t):e?e[this._i]:s}},set:function(t,e){return l.def(h(this,v),t,e)}},x=t.exports=n(61)(v,S,_,l,!0,!0);f&&d&&(c((r=l.getConstructor(S,v)).prototype,_),u.NEED=!0,o(["delete","has","get","set"],function(t){var e=x.prototype,n=e[t];a(e,t,function(e,i){if(p(e)&&!y(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){var r=n(41),i=n(30).getWeak,o=n(1),a=n(4),u=n(39),c=n(40),l=n(25),p=n(14),h=n(42),f=l(5),d=l(6),v=0,m=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,e){return f(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var l=t(function(t,r){u(t,l,e,"_i"),t._t=e,t._i=v++,t._l=s,r!=s&&c(r,n,t[o],t)});return r(l.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?m(h(this,e)).delete(t):n&&p(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?m(h(this,e)).has(t):n&&p(n,this._i)}}),l},def:function(t,e,n){var r=i(o(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},function(t,e,n){var r=n(37),i=n(53),o=n(1),s=n(2).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(20),i=n(6);t.exports=function(t){if(t===s)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(54),i=n(4),o=n(6),a=n(18),u=n(5)("isConcatSpreadable");t.exports=function t(e,n,c,l,p,h,f,d){for(var v,m,y=p,g=0,S=!!f&&a(f,d,3);g0)y=t(e,n,v,o(v.length),y,h-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=v}y++}g++}return y}},function(t,e,n){var r=n(6),i=n(74),o=n(23);t.exports=function(t,e,n,a){var u=String(o(t)),c=u.length,l=n===s?" ":String(n),p=r(e);if(p<=c||""==l)return u;var h=p-c,f=i.call(l,Math.ceil(h/l.length));return f.length>h&&(f=f.slice(0,h)),a?f+u:u+f}},function(t,e,n){var r=n(7),i=n(34),o=n(15),s=n(49).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=i(a),c=u.length,l=0,p=[];c>l;)n=u[l++],(!r||s.call(a,n))&&p.push(t?[n,a[n]]:a[n]);return p}}},function(t,e,n){var r=n(44),i=n(127);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(40);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},function(t,e,n){n(130),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(86),n(226),n(227),n(112),n(228),n(113),n(229),n(230),n(231),n(232),n(233),n(116),n(118),n(119),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(253),n(254),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),t.exports=n(325)},function(t,e,n){var r=n(2),i=n(14),o=n(7),a=n(0),u=n(12),c=n(30).KEY,l=n(3),p=n(47),h=n(43),f=n(33),d=n(5),v=n(94),m=n(67),y=n(132),g=n(54),S=n(1),_=n(4),x=n(9),w=n(15),E=n(22),b=n(32),C=n(36),T=n(97),P=n(16),M=n(53),k=n(8),I=n(34),N=P.f,A=k.f,O=T.f,R=r.Symbol,F=r.JSON,D=F&&F.stringify,L="prototype",j=d("_hidden"),B=d("toPrimitive"),V={}.propertyIsEnumerable,q=p("symbol-registry"),U=p("symbols"),H=p("op-symbols"),z=Object[L],W="function"==typeof R&&!!M.f,G=r.QObject,K=!G||!G[L]||!G[L].findChild,Z=o&&l(function(){return 7!=C(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=N(z,e);r&&delete z[e],A(t,e,n),r&&t!==z&&A(z,e,r)}:A,Q=function(t){var e=U[t]=C(R[L]);return e._k=t,e},$=W&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},Y=function(t,e,n){return t===z&&Y(H,e,n),S(t),e=E(e,!0),S(n),i(U,e)?(n.enumerable?(i(t,j)&&t[j][e]&&(t[j][e]=!1),n=C(n,{enumerable:b(0,!1)})):(i(t,j)||A(t,j,b(1,{})),t[j][e]=!0),Z(t,e,n)):A(t,e,n)},J=function(t,e){S(t);for(var n,r=y(e=w(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},X=function(t){var e=V.call(this,t=E(t,!0));return!(this===z&&i(U,t)&&!i(H,t))&&(!(e||!i(this,t)||!i(U,t)||i(this,j)&&this[j][t])||e)},tt=function(t,e){if(t=w(t),e=E(e,!0),t!==z||!i(U,e)||i(H,e)){var n=N(t,e);return n&&i(U,e)&&!(i(t,j)&&t[j][e])&&(n.enumerable=!0),n}},et=function(t){for(var e,n=O(w(t)),r=[],o=0;n.length>o;)!i(U,e=n[o++])&&e!=j&&e!=c&&r.push(e);return r},nt=function(t){for(var e,n=t===z,r=O(n?H:w(t)),o=[],s=0;r.length>s;)i(U,e=r[s++])&&(!n||i(z,e))&&o.push(U[e]);return o};W||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:s),e=function(n){this===z&&e.call(H,n),i(this,j)&&i(this[j],t)&&(this[j][t]=!1),Z(this,t,b(1,n))};return o&&K&&Z(z,t,{configurable:!0,set:e}),Q(t)},u(R[L],"toString",function(){return this._k}),P.f=tt,k.f=Y,n(37).f=T.f=et,n(49).f=X,M.f=nt,o&&!n(29)&&u(z,"propertyIsEnumerable",X,!0),v.f=function(t){return Q(d(t))}),a(a.G+a.W+a.F*!W,{Symbol:R});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=I(d.store),st=0;ot.length>st;)m(ot[st++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return i(q,t+="")?q[t]:q[t]=R(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!W,"Object",{create:function(t,e){return e===s?C(t):J(C(t),e)},defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l(function(){M.f(1)});a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return M.f(x(t))}}),F&&a(a.S+a.F*(!W||l(function(){var t=R();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||t!==s)&&!$(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!$(e))return e}),r[1]=e,D.apply(F,r)}}),R[L][B]||n(11)(R[L],B,R[L].valueOf),h(R,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(47)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(34),i=n(53),o=n(49);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(96)})},function(t,e,n){var r=n(15),i=n(16).f;n(24)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(36)})},function(t,e,n){var r=n(9),i=n(17);n(24)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(9),i=n(34);n(24)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(24)("getOwnPropertyNames",function(){return n(97).f})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(24)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(24)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(24)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4);n(24)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(24)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(24)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(98)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(99)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(71).set})},function(t,e,n){var r=n(44),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(12)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(100)})},function(t,e,n){var r=n(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n(7)&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){var r=n(4),i=n(17),o=n(5)("hasInstance"),s=Function.prototype;o in s||n(8).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(2),i=n(14),o=n(19),s=n(72),a=n(22),u=n(3),c=n(37).f,l=n(16).f,p=n(8).f,h=n(45).trim,f="Number",d=r[f],v=d,m=d.prototype,y=o(n(36)(m))==f,g="trim"in String.prototype,S=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=g?e.trim():h(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(y?u(function(){m.valueOf.call(n)}):o(n)!=f)?s(new v(S(e)),n,d):S(e)};for(var _,x=n(7)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)i(v,_=x[w])&&!i(d,_)&&p(d,_,l(v,_));d.prototype=m,m.constructor=d,n(12)(r,f,d)}},function(t,e,n){var r=n(0),i=n(20),o=n(102),s=n(74),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p="0",h=function(t,e){for(var n=-1,r=e;++n<6;)c[n]=(r+=t*c[n])%1e7,r=u(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)c[e]=u((n+=c[e])/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call(p,7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2==1?v(t,e-1,n*t):v(t*t,e/2,n)};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,l),c=i(t),m="",y=p;if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*v(2,69,1))-69,n=e<0?u*v(2,-e,1):u/v(2,e,1),n*=4503599627370496,(e=52-e)>0){for(h(0,n),r=c;r>=7;)h(1e7,0),r-=7;for(h(v(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<0?m+((a=y.length)<=c?"0."+s.call(p,c-a)+y:y.slice(0,a-c)+"."+y.slice(a-c)):m+y}})},function(t,e,n){var r=n(0),i=n(3),o=n(102),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,s)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return t===s?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(103)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(103),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(104);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(105);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(105);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(104);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(0),i=n(106),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){var r=n(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(75);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(76);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(107)})},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(3)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(106)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(75)})},function(t,e,n){var r=n(0),i=n(76),o=Math.exp;r(r.S+r.F*n(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(76),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(35),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(15),o=n(6);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a1?arguments[1]:s,r=i(e.length),c=n===s?r:Math.min(i(n),r),l=String(t);return u?u.call(e,l,c):e.slice(c-l.length,c)===l}})},function(t,e,n){var r=n(0),i=n(77),o="includes";r(r.P+r.F*n(78)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:s)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(74)})},function(t,e,n){var r=n(0),i=n(6),o=n(77),a="startsWith",u=""[a];r(r.P+r.F*n(78)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(arguments.length>1?arguments[1]:s,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){var r=n(55)(!0);n(79)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:s,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(13)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){n(13)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){n(13)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){n(13)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){n(13)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){n(13)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){n(13)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){n(13)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){n(13)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){n(13)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){n(13)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){n(13)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){n(13)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(54)})},function(t,e,n){var r=n(18),i=n(0),o=n(9),a=n(108),u=n(81),c=n(6),l=n(82),p=n(83);i(i.S+i.F*!n(57)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,h,f=o(t),d="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:s,y=m!==s,g=0,S=p(f);if(y&&(m=r(m,v>2?arguments[2]:s,2)),S==s||d==Array&&u(S))for(n=new d(e=c(f.length));e>g;g++)l(n,g,y?m(f[g],g):f[g]);else for(h=S.call(f),n=new d;!(i=h.next()).done;g++)l(n,g,y?a(h,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(t,e,n){var r=n(0),i=n(82);r(r.S+r.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){var r=n(0),i=n(15),o=[].join;r(r.P+r.F*(n(48)!=Object||!n(21)(o)),"Array",{join:function(t){return o.call(i(this),t===s?",":t)}})},function(t,e,n){var r=n(0),i=n(70),o=n(19),a=n(35),u=n(6),c=[].slice;r(r.P+r.F*n(3)(function(){i&&c.call(i)}),"Array",{slice:function(t,e){var n=u(this.length),r=o(this);if(e=e===s?n:e,"Array"==r)return c.call(this,t,e);for(var i=a(t,n),l=a(e,n),p=u(l-i),h=new Array(p),f=0;f1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(110)}),n(31)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(85)}),n(31)("fill")},function(t,e,n){var r=n(0),i=n(25)(5),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:s)}}),n(31)(o)},function(t,e,n){var r=n(0),i=n(25)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:s)}}),n(31)(o)},function(t,e,n){n(38)("Array")},function(t,e,n){var r=n(2),i=n(72),o=n(8).f,a=n(37).f,u=n(56),c=n(50),l=r.RegExp,p=l,h=l.prototype,f=/a/g,d=/a/g,v=new l(f)!==f;if(n(7)&&(!v||n(3)(function(){return d[n(5)("match")]=!1,l(f)!=f||l(d)==d||"/a/i"!=l(f,"i")}))){l=function(t,e){var n=this instanceof l,r=u(t),o=e===s;return!n&&r&&t.constructor===l&&o?t:i(v?new p(r&&!o?t.source:t,e):p((r=t instanceof l)?t.source:t,r&&o?c.call(t):e),n?this:h,l)};for(var m=function(t){t in l||o(l,t,{configurable:!0,get:function(){return p[t]},set:function(e){p[t]=e}})},y=a(p),g=0;y.length>g;)m(y[g++]);h.constructor=l,l.prototype=h,n(12)(r,"RegExp",l)}n(38)("RegExp")},function(t,e,n){n(113);var r=n(1),i=n(50),o=n(7),a="toString",u=/./[a],c=function(t){n(12)(RegExp.prototype,a,t,!0)};n(3)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?c(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):s)}):u.name!=a&&c(function(){return u.call(this)})},function(t,e,n){var r=n(1),i=n(6),o=n(88),a=n(58);n(59)("match",1,function(t,e,n,u){return[function(n){var r=t(this),i=n==s?s:n[e];return i!==s?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=u(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this);if(!s.global)return a(s,c);var l=s.unicode;s.lastIndex=0;for(var p,h=[],f=0;null!==(p=a(s,c));){var d=String(p[0]);h[f]=d,""===d&&(s.lastIndex=o(c,i(s.lastIndex),l)),f++}return 0===f?null:h}]})},function(t,e,n){var r=n(1),i=n(9),o=n(6),a=n(20),u=n(88),c=n(58),l=Math.max,p=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,v=function(t){return t===s?t:String(t)};n(59)("replace",2,function(t,e,n,m){return[function(r,i){var o=t(this),a=r==s?s:r[e];return a!==s?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=m(n,t,this,e);if(i.done)return i.value;var h=r(t),f=String(this),d="function"==typeof e;d||(e=String(e));var g=h.global;if(g){var S=h.unicode;h.lastIndex=0}for(var _=[];;){var x=c(h,f);if(null===x||(_.push(x),!g))break;""===String(x[0])&&(h.lastIndex=u(f,o(h.lastIndex),S))}for(var w="",E=0,b=0;b<_.length;b++){x=_[b];for(var C=String(x[0]),T=l(p(a(x.index),f.length),0),P=[],M=1;M=E&&(w+=f.slice(E,T)+N,E=T+C.length)}return w+f.slice(E)}];function y(t,e,r,o,a,u){var c=r+t.length,l=o.length,p=d;return a!==s&&(a=i(a),p=f),n.call(u,p,function(n,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":u=a[i.slice(1,-1)];break;default:var p=+i;if(0===p)return n;if(p>l){var f=h(p/10);return 0===f?n:f<=l?o[f-1]===s?i.charAt(1):o[f-1]+i.charAt(1):n}u=o[p-1]}return u===s?"":u})}})},function(t,e,n){var r=n(1),i=n(99),o=n(58);n(59)("search",1,function(t,e,n,a){return[function(n){var r=t(this),i=n==s?s:n[e];return i!==s?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),u=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var l=o(s,u);return i(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(t,e,n){var r=n(56),i=n(1),o=n(51),a=n(88),u=n(6),c=n(58),l=n(87),p=n(3),h=Math.min,f=[].push,d="split",v="length",m="lastIndex",y=4294967295,g=!p(function(){RegExp(y,"y")});n(59)("split",2,function(t,e,n,p){var S;return S="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[v]||2!="ab"[d](/(?:ab)*/)[v]||4!="."[d](/(.?)(.?)/)[v]||"."[d](/()()/)[v]>1||""[d](/.?/)[v]?function(t,e){var i=String(this);if(t===s&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,a,u,c=[],p=0,h=e===s?y:e>>>0,d=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(o=l.call(d,i))&&!((a=d[m])>p&&(c.push(i.slice(p,o.index)),o[v]>1&&o.index=h));)d[m]===o.index&&d[m]++;return p===i[v]?(u||!d.test(""))&&c.push(""):c.push(i.slice(p)),c[v]>h?c.slice(0,h):c}:"0"[d](s,0)[v]?function(t,e){return t===s&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=n==s?s:n[e];return o!==s?o.call(n,i,r):S.call(String(i),n,r)},function(t,e){var r=p(S,t,this,e,S!==n);if(r.done)return r.value;var l=i(t),f=String(this),d=o(l,RegExp),v=l.unicode,m=new d(g?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g")),_=e===s?y:e>>>0;if(0===_)return[];if(0===f.length)return null===c(m,f)?[f]:[];for(var x=0,w=0,E=[];wo;)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){g.call(c,function(){var e,n,r,i=t._v,o=L(t);if(o&&(e=x(function(){I?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=I||L(t)?2:1),t._a=s,o&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},j=function(t){g.call(c,function(){var e;I?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},B=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},V=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=R(t))?S(function(){var r={_w:n,_d:!1};try{e.call(t,l(V,r,1),l(B,r,1))}catch(i){B.call(r,i)}}):(n._v=t,n._s=1,F(n,!1))}catch(r){B.call({_w:n,_d:!1},r)}}};O||(k=function(t){v(this,k,b,"_h"),d(t),r.call(this);try{t(l(V,this,1),l(B,this,1))}catch(e){B.call(this,e)}},(r=function(t){this._c=[],this._a=s,this._s=0,this._d=!1,this._v=s,this._h=0,this._n=!1}).prototype=n(41)(k.prototype,{then:function(t,e){var n=A(y(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=I?T.domain:s,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(s,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(V,t,1),this.reject=l(B,t,1)},_.f=A=function(t){return t===k||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!O,{Promise:k}),n(43)(k,b),n(38)(b),a=n(26)[b],h(h.S+h.F*!O,b,{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(u||!O),b,{resolve:function(t){return E(u&&this===a?k:this,t)}}),h(h.S+h.F*!(O&&n(57)(function(t){k.all(t).catch(N)})),b,{all:function(t){var e=this,n=A(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;m(t,!1,function(t){var u=o++,c=!1;n.push(s),a++,e.resolve(t).then(function(t){c||(c=!0,n[u]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,i=x(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){var r=n(120),i=n(42),o="WeakSet";n(61)(o,function(t){return function(){return t(this,arguments.length>0?arguments[0]:s)}},{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},function(t,e,n){var r=n(0),i=n(10),o=n(1),s=(n(2).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(3)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return s?s(r,e,u):a.call(r,e,u)}})},function(t,e,n){var r=n(0),i=n(36),o=n(10),s=n(1),a=n(4),u=n(3),c=n(100),l=(n(2).Reflect||{}).construct,p=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!u(function(){l(function(){})});r(r.S+r.F*(p||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var u=n.prototype,f=i(a(u)?u:Object.prototype),d=Function.apply.call(t,f,e);return a(d)?d:f}})},function(t,e,n){var r=n(8),i=n(0),o=n(1),s=n(22);i(i.S+i.F*n(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},function(t,e,n){var r=n(0),i=n(16).f,o=n(1);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var r=n(0),i=n(1),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(80)(o,"Object",function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:s,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(16),i=n(17),o=n(14),a=n(0),u=n(4),c=n(1);a(a.S,"Reflect",{get:function t(e,n){var a,l,p=arguments.length<3?e:arguments[2];return c(e)===p?e[n]:(a=r.f(e,n))?o(a,"value")?a.value:a.get!==s?a.get.call(p):s:u(l=i(e))?t(l,n,p):void 0}})},function(t,e,n){var r=n(16),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(17),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(121)})},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},function(t,e,n){var r=n(8),i=n(16),o=n(17),a=n(14),u=n(0),c=n(32),l=n(1),p=n(4);u(u.S,"Reflect",{set:function t(e,n,u){var h,f,d=arguments.length<4?e:arguments[3],v=i.f(l(e),n);if(!v){if(p(f=o(e)))return t(f,n,u,d);v=c(0)}if(a(v,"value")){if(!1===v.writable||!p(d))return!1;if(h=i.f(d,n)){if(h.get||h.set||!1===h.writable)return!1;h.value=u,r.f(d,n,h)}else r.f(d,n,c(0,u));return!0}return v.set!==s&&(v.set.call(d,u),!0)}})},function(t,e,n){var r=n(0),i=n(71);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){var r=n(0),i=n(9),o=n(22);r(r.P+r.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(252);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){var r=n(3),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n(12)(r,o,function(){var t=a.call(this);return t==t?s.call(this):i})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(11)(i,r,n(255))},function(t,e,n){var r=n(1),i=n(22),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},function(t,e,n){var r=n(0),i=n(62),o=n(92),a=n(1),u=n(35),c=n(6),l=n(4),p=n(2).ArrayBuffer,h=n(51),f=o.ArrayBuffer,d=o.DataView,v=i.ABV&&p.isView,m=f.prototype.slice,y=i.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(p!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,g,{isView:function(t){return v&&v(t)||l(t)&&y in t}}),r(r.P+r.U+r.F*n(3)(function(){return!new f(2).slice(1,s).byteLength}),g,{slice:function(t,e){if(m!==s&&e===s)return m.call(a(this),t);for(var n=a(this).byteLength,r=u(t,n),i=u(e===s?n:e,n),o=new(h(this,f))(c(i-r)),l=new d(this),p=new d(o),v=0;r1?arguments[1]:s)}}),n(31)("includes")},function(t,e,n){var r=n(0),i=n(123),o=n(9),s=n(6),a=n(10),u=n(84);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=u(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(31)("flatMap")},function(t,e,n){var r=n(0),i=n(123),o=n(9),a=n(6),u=n(20),c=n(84);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=a(e.length),r=c(e,0);return i(r,e,e,n,0,t===s?1:u(t)),r}}),n(31)("flatten")},function(t,e,n){var r=n(0),i=n(55)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){var r=n(0),i=n(124),o=n(60),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:s,!0)}})},function(t,e,n){var r=n(0),i=n(124),o=n(60),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:s,!1)}})},function(t,e,n){n(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){n(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){var r=n(0),i=n(23),o=n(6),s=n(56),a=n(50),u=RegExp.prototype,c=function(t,e){this._r=t,this._s=e};n(80)(c,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new c(r,e)}})},function(t,e,n){n(67)("asyncIterator")},function(t,e,n){n(67)("observable")},function(t,e,n){var r=n(0),i=n(121),o=n(15),a=n(16),u=n(82);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),c=a.f,l=i(r),p={},h=0;l.length>h;)(n=c(r,e=l[h++]))!==s&&u(p,e,n);return p}})},function(t,e,n){var r=n(0),i=n(125)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(125)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(9),o=n(10),s=n(8);n(7)&&r(r.P+n(63),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(0),i=n(9),o=n(10),s=n(8);n(7)&&r(r.P+n(63),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(0),i=n(9),o=n(22),s=n(17),a=n(16).f;n(7)&&r(r.P+n(63),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.get}while(n=s(n))}})},function(t,e,n){var r=n(0),i=n(9),o=n(22),s=n(17),a=n(16).f;n(7)&&r(r.P+n(63),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.set}while(n=s(n))}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(126)("Map")})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(126)("Set")})},function(t,e,n){n(64)("Map")},function(t,e,n){n(64)("Set")},function(t,e,n){n(64)("WeakMap")},function(t,e,n){n(64)("WeakSet")},function(t,e,n){n(65)("Map")},function(t,e,n){n(65)("Set")},function(t,e,n){n(65)("WeakMap")},function(t,e,n){n(65)("WeakSet")},function(t,e,n){var r=n(0);r(r.G,{global:n(2)})},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){var r=n(0),i=n(19);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,e,n){var r=n(0),i=n(128),o=n(107);r(r.S,"Math",{fscale:function(t,e,n,r,s){return o(i(t,e,n,r,s))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>16,u=i>>16,c=(a*s>>>0)+(o*s>>>16);return a*u+(c>>16)+((o*u>>>0)+(c&n)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,e,n){var r=n(0);r(r.S,"Math",{scale:n(128)})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>>16,u=i>>>16,c=(a*s>>>0)+(o*s>>>16);return a*u+(c>>>16)+((o*u>>>0)+(c&n)>>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){var r=n(0),i=n(26),o=n(2),s=n(51),a=n(115);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){var r=n(0),i=n(91),o=n(114);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,a=r.map,u=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?s:o(arguments[2]),r=a(i(e),n,!1);if(r===s||!r.delete(t))return!1;if(r.size)return!0;var c=u.get(e);return c.delete(n),!!c.size||u.delete(e)}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),a=r.has,u=r.get,c=r.key,l=function(t,e,n){if(a(t,e,n))return u(t,e,n);var r=o(e);return null!==r?l(t,r,n):s};r.exp({getMetadata:function(t,e){return l(t,i(e),arguments.length<3?s:c(arguments[2]))}})},function(t,e,n){var r=n(118),i=n(127),o=n(28),a=n(1),u=n(17),c=o.keys,l=o.key,p=function(t,e){var n=c(t,e),o=u(t);if(null===o)return n;var s=p(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return p(a(t),arguments.length<2?s:l(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?s:a(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?s:a(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),a=r.has,u=r.key,c=function(t,e,n){if(a(t,e,n))return!0;var r=o(e);return null!==r&&c(t,r,n)};r.exp({hasMetadata:function(t,e){return c(t,i(e),arguments.length<3?s:u(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?s:a(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(10),a=r.key,u=r.set;r.exp({metadata:function(t,e){return function(n,r){u(t,e,(r!==s?i:o)(n),a(r))}}})},function(t,e,n){var r=n(0),i=n(90)(),o=n(2).process,s="process"==n(19)(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(0),i=n(2),o=n(26),a=n(90)(),u=n(5)("observable"),c=n(10),l=n(1),p=n(39),h=n(41),f=n(11),d=n(40),v=d.RETURN,m=function(t){return null==t?s:c(t)},y=function(t){var e=t._c;e&&(t._c=s,e())},g=function(t){return t._o===s},S=function(t){g(t)||(t._o=s,y(t))},_=function(t,e){l(t),this._c=s,this._o=t,t=new x(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(i){return void t.error(i)}g(this)&&y(this)};_.prototype=h({},{unsubscribe:function(){S(this)}});var x=function(t){this._s=t};x.prototype=h({},{next:function(t){var e=this._s;if(!g(e)){var n=e._o;try{var r=m(n.next);if(r)return r.call(n,t)}catch(i){try{S(e)}finally{throw i}}}},error:function(t){var e=this._s;if(g(e))throw t;var n=e._o;e._o=s;try{var r=m(n.error);if(!r)throw t;t=r.call(n,t)}catch(i){try{y(e)}finally{throw i}}return y(e),t},complete:function(t){var e=this._s;if(!g(e)){var n=e._o;e._o=s;try{var r=m(n.complete);t=r?r.call(n,t):s}catch(i){try{y(e)}finally{throw i}}return y(e),t}}});var w=function(t){p(this,w,"Observable","_f")._f=c(t)};h(w.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){c(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n})})}}),h(w,{from:function(t){var e="function"==typeof this?this:w,n=m(l(t)[u]);if(n){var r=l(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(d(t,!1,function(t){if(e.next(t),n)return v})===v)return}catch(r){if(n)throw r;return void e.error(r)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})}]),t.exports?t.exports=i:(r=(function(){return i}).call(e,n,e,t))!==s&&(t.exports=r)}(1,1)},56974:function(t,e,n){n(46255),n(84022),n(51261),n(30989),n(79305),n(58003),n(9486),n(75689),n(28293),n(56846),n(78206),n(61009),n(81095),n(3698),n(71574),n(62322),n(92782),n(17454),n(28928),n(16318),n(42904),n(2291),n(21207)},60366:function(t,e,n){n(44848),n(7047),n(59654),n(59712),n(41997),t.exports=Date},49805:function(t,e,n){n(87028),n(9087),n(71306),n(21207)},33349:function(t,e,n){n(60230),n(46255),n(44515),n(47672),n(21207)},32109:function(t,e,n){n(37960),n(26960),n(51786),n(6199),n(63944),n(37990),n(69768),n(4572),n(27409),n(58063),n(50032),n(71481),n(78310),n(83955),n(82347),n(65335),n(19657),n(21207)},2582:function(t,e,n){n(63796),n(70572),n(91153),n(35505),n(90513),n(87325),n(31205),n(42062),n(59881),n(53347),n(6329),n(54115),n(21207)},75227:function(t,e,n){n(3186),n(1648),n(58514),n(38242),n(66315),n(83237),n(4023),n(3601),n(19447),n(25338),n(3617),n(88548),n(26064),n(55808),n(36264),n(62795),n(73150),n(60230),n(21207)},23260:function(t,e,n){n(10039),n(21207)},33759:function(t,e,n){n(57012),n(21207)},42401:function(t,e,n){n(22537),n(64879),n(20344),n(35359),n(63966),n(87890),n(64859),n(96039),n(16124),n(92347),n(27254),n(69541),n(66651),n(90685),n(21207)},86535:function(t,e,n){n(41567),n(73072),n(30316),n(55130),n(46581),n(79927),n(55514),n(53360),n(21207)},41925:function(t,e,n){n(60230),n(46255),n(44515),n(2057),n(21207)},14336:function(t,e,n){n(12811),n(37988),n(11064),n(46255),n(11848),n(29713),n(65166),n(6060),n(32915),n(33399),n(84610),n(64946),n(9662),n(31129),n(51355),n(91630),n(19802),n(36788),n(90905),n(22482),n(72207),n(31342),n(46581),n(79927),n(55514),n(53360),n(21207)},18250:function(t,e,n){n(3186),n(60230),n(21207)},5633:function(t,e,n){n(12508),n(93269),n(65472),n(97900),n(16271),n(38654),n(10216),n(28759),n(70985),n(51295),n(68318),n(60230),n(21207)},72163:function(t,e,n){n(60230),n(2291),n(73076),n(21207)},35929:function(t,e,n){n(60230),n(44515),n(43939),n(21207)},24965:function(t,e,n){n(55270),n(74848),n(13637),n(52275),n(42430),n(20580),n(76781),n(98701),n(91993),n(21207)},41740:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},64995:function(t,e,n){var r=n(92377);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},65067:function(t,e,n){var r=n(21906)("unscopables"),i=Array.prototype;null==i[r]&&n(73933)(i,r,{}),t.exports=function(t){i[r][t]=!0}},14209:function(t,e,n){"use strict";var r=n(39810)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},11516:function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},54539:function(t,e,n){var r=n(98378);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},48434:function(t,e,n){"use strict";var r=n(67533),i=n(60757),o=n(64249);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),u=i(e,s),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?s:i(c,s))-u,s-a),p=1;for(u0;)u in n?n[a]=n[u]:delete n[a],a+=p,u+=p;return n}},81359:function(t,e,n){"use strict";var r=n(67533),i=n(60757),o=n(64249);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>a;)e[a++]=t;return e}},6409:function(t,e,n){var r=n(99857);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},56620:function(t,e,n){var r=n(91501),i=n(64249),o=n(60757);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),l=o(s,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},36161:function(t,e,n){var r=n(35532),i=n(36813),o=n(67533),s=n(64249),a=n(39222);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,p=6==t,h=5==t||p,f=e||a;return function(e,a,d){for(var v,m,y=o(e),g=i(y),S=r(a,d,3),_=s(g.length),x=0,w=n?f(e,_):u?f(e,0):void 0;_>x;x++)if((h||x in g)&&(m=S(v=g[x],x,y),t))if(n)w[x]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:w.push(v)}else if(l)return!1;return p?-1:c||l?l:w}}},60002:function(t,e,n){var r=n(41740),i=n(67533),o=n(36813),s=n(64249);t.exports=function(t,e,n,a,u){r(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},21773:function(t,e,n){var r=n(98378),i=n(78951),o=n(21906)("species");t.exports=function(t){var e;return i(t)&&("function"==typeof(e=t.constructor)&&(e===Array||i(e.prototype))&&(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},39222:function(t,e,n){var r=n(21773);t.exports=function(t,e){return new(r(t))(e)}},29412:function(t,e,n){"use strict";var r=n(41740),i=n(98378),o=n(33915),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(d(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return d(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=m(t,e);return o?o.v=n:(t._l=o={i:i=f(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:m,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),p(e)}}},95561:function(t,e,n){"use strict";var r=n(96399),i=n(94433).getWeak,o=n(54539),s=n(98378),a=n(11516),u=n(99857),c=n(36161),l=n(92454),p=n(50593),h=c(5),f=c(6),d=0,v=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},y=function(t,e){return h(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){a(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,null!=r&&u(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},45824:function(t,e,n){"use strict";var r=n(41735),i=n(14976),o=n(63733),s=n(96399),a=n(94433),u=n(99857),c=n(11516),l=n(98378),p=n(44510),h=n(86449),f=n(36409),d=n(3902);t.exports=function(t,e,n,v,m,y){var g=r[t],S=g,_=m?"set":"add",x=S&&S.prototype,w={},E=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof S&&(y||x.forEach&&!p(function(){(new S).entries().next()}))){var b=new S,C=b[_](y?{}:-0,1)!=b,T=p(function(){b.has(1)}),P=h(function(t){new S(t)}),M=!y&&p(function(){for(var t=new S,e=5;e--;)t[_](e,e);return!t.has(-0)});P||((S=e(function(e,n){c(e,S,t);var r=d(new g,e,S);return null!=n&&u(n,m,r[_],r),r})).prototype=x,x.constructor=S),(T||M)&&(E("delete"),E("has"),m&&E("get")),(M||C)&&E(_),y&&x.clear&&delete x.clear}else S=v.getConstructor(e,t,m,_),s(S.prototype,n),a.NEED=!0;return f(S,t),w[t]=S,i(i.G+i.W+i.F*(S!=g),w),y||v.setStrong(S,t,m),S}},21207:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},31993:function(t,e,n){"use strict";var r=n(19026),i=n(57229);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},35532:function(t,e,n){var r=n(41740);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},29134:function(t,e,n){"use strict";var r=n(44510),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},27650:function(t,e,n){"use strict";var r=n(54539),i=n(10523),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},22665:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},31393:function(t,e,n){t.exports=!n(44510)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},57967:function(t,e,n){var r=n(98378),i=n(41735).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},7199:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},82694:function(t,e,n){var r=n(46523),i=n(69194),o=n(62239);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},14976:function(t,e,n){var r=n(41735),i=n(21207),o=n(73933),s=n(63733),a=n(35532),u="prototype",c=function(t,e,n){var l,p,h,f,d=t&c.F,v=t&c.G,m=t&c.P,y=t&c.B,g=v?r:t&c.S?r[e]||(r[e]={}):(r[e]||{})[u],S=v?i:i[e]||(i[e]={}),_=S[u]||(S[u]={});for(l in v&&(n=e),n)h=((p=!d&&g&&void 0!==g[l])?g:n)[l],f=y&&p?a(h,r):m&&"function"==typeof h?a(Function.call,h):h,g&&s(g,l,h,t&c.U),S[l]!=h&&o(S,l,f),m&&_[l]!=h&&(_[l]=h)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},81766:function(t,e,n){var r=n(21906)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},44510:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},36496:function(t,e,n){"use strict";n(73072);var r=n(63733),i=n(73933),o=n(44510),s=n(22665),a=n(21906),u=n(31949),c=a("species"),l=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),p=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=a(t),f=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),d=f?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!e}):void 0;if(!f||!d||"replace"===t&&!l||"split"===t&&!p){var v=/./[h],m=n(s,h,""[t],function(t,e,n,r,i){return e.exec===u?f&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=m[1];r(String.prototype,t,m[0]),i(RegExp.prototype,h,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},34231:function(t,e,n){"use strict";var r=n(54539);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},99857:function(t,e,n){var r=n(35532),i=n(86614),o=n(15277),s=n(54539),a=n(64249),u=n(60618),c={},l={},p=t.exports=function(t,e,n,p,h){var f,d,v,m,y=h?function(){return t}:u(t),g=r(n,p,e?2:1),S=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(f=a(t.length);f>S;S++)if((m=e?g(s(d=t[S])[0],d[1]):g(t[S]))===c||m===l)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=i(v,g,d.value,e))===c||m===l)return m};p.BREAK=c,p.RETURN=l},38731:function(t,e,n){t.exports=n(12053)("native-function-to-string",Function.toString)},41735:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},92454:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},73933:function(t,e,n){var r=n(19026),i=n(57229);t.exports=n(31393)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},61686:function(t,e,n){var r=n(41735).document;t.exports=r&&r.documentElement},42588:function(t,e,n){t.exports=!n(31393)&&!n(44510)(function(){return 7!=Object.defineProperty(n(57967)("div"),"a",{get:function(){return 7}}).a})},3902:function(t,e,n){var r=n(98378),i=n(31789).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},33915:function(t){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},36813:function(t,e,n){var r=n(92377);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},15277:function(t,e,n){var r=n(50457),i=n(21906)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},78951:function(t,e,n){var r=n(92377);t.exports=Array.isArray||function(t){return"Array"==r(t)}},56305:function(t,e,n){var r=n(98378),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},98378:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},80407:function(t,e,n){var r=n(98378),i=n(92377),o=n(21906)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},86614:function(t,e,n){var r=n(54539);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t.return;throw void 0!==o&&r(o.call(t)),s}}},5857:function(t,e,n){"use strict";var r=n(10493),i=n(57229),o=n(36409),s={};n(73933)(s,n(21906)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},19136:function(t,e,n){"use strict";var r=n(58185),i=n(14976),o=n(63733),s=n(73933),a=n(50457),u=n(5857),c=n(36409),l=n(3141),p=n(21906)("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",d="values",v=function(){return this};t.exports=function(t,e,n,m,y,g,S){u(n,e,m);var _,x,w,E=function(t){if(!h&&t in P)return P[t];switch(t){case f:case d:return function(){return new n(this,t)}}return function(){return new n(this,t)}},b=e+" Iterator",C=y==d,T=!1,P=t.prototype,M=P[p]||P["@@iterator"]||y&&P[y],k=M||E(y),I=y?C?E("entries"):k:void 0,N="Array"==e&&P.entries||M;if(N&&(w=l(N.call(new t)))!==Object.prototype&&w.next&&(c(w,b,!0),!r&&"function"!=typeof w[p]&&s(w,p,v)),C&&M&&M.name!==d&&(T=!0,k=function(){return M.call(this)}),(!r||S)&&(h||T||!P[p])&&s(P,p,k),a[e]=k,a[b]=v,y)if(_={values:C?k:E(d),keys:g?k:E(f),entries:I},S)for(x in _)x in P||o(P,x,_[x]);else i(i.P+i.F*(h||T),e,_);return _}},86449:function(t,e,n){var r=n(21906)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},54177:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},50457:function(t){t.exports={}},58185:function(t){t.exports=!1},28639:function(t){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},33109:function(t,e,n){var r=n(91205),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),u=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),c=r(t);return ia||n!=n?c*(1/0):c*n}},5889:function(t){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},91205:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},94433:function(t,e,n){var r=n(83837)("meta"),i=n(98378),o=n(92454),s=n(19026).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(44510)(function(){return u(Object.preventExtensions({}))}),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},p=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&p.NEED&&u(t)&&!o(t,r)&&l(t),t}}},14238:function(t,e,n){var r=n(47672),i=n(14976),o=n(12053)("metadata"),s=o.store||(o.store=new(n(73076))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o};t.exports={store:s,map:a,has:function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},get:function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},set:function(t,e,n,r){a(n,r,!0).set(t,e)},keys:function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},55269:function(t,e,n){"use strict";var r=n(31393),i=n(46523),o=n(69194),s=n(62239),a=n(67533),u=n(36813),c=Object.assign;t.exports=!c||n(44510)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,l=1,p=o.f,h=s.f;c>l;)for(var f,d=u(arguments[l++]),v=p?i(d).concat(p(d)):i(d),m=v.length,y=0;m>y;)f=v[y++],(!r||h.call(d,f))&&(n[f]=d[f]);return n}:c},10493:function(t,e,n){var r=n(54539),i=n(21128),o=n(7199),s=n(72522)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(57967)("iframe"),r=o.length;for(e.style.display="none",n(61686).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("