📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: polyfills.bundle.min.js
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,(function(t){return e[t]}).bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}({"++zV":function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.toKey,a=s.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:o(arguments[3]);a(e,t,i(n),r)}})},"+2oP":function(e,t,n){"use strict";var r=n("I+eb"),s=n("hh1v"),i=n("6LWA"),o=n("I8vh"),a=n("UMSQ"),c=n("/GqU"),l=n("hBjN"),u=n("tiKp"),p=n("Hd5f"),h=n("rkAj"),d=p("slice"),f=h("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!d||!f},{slice:function(e,t){var n,r,u,p=c(this),h=a(p.length),d=o(e,h),f=o(void 0===t?h:t,h);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?s(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(p,d,f);for(r=new(void 0===n?Array:n)(g(f-d,0)),u=0;d<f;d++,u++)d in p&&l(r,u,p[d]);return r.length=u,r}})},"+M1K":function(e,t,n){var r=n("ppGB");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},"+ywr":function(e,t,n){n("dOgj")("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"/5zm":function(e,t,n){var r=n("I+eb"),s=n("jrUv"),i=Math.cosh,o=Math.abs,a=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=s(o(e)-1)+1;return(t+1/(t*a*a))*(a/2)}})},"/AsP":function(e,t,n){var r=n("yIiL"),s=n("SDMg"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},"/GqU":function(e,t,n){var r=n("RK3t"),s=n("HYAF");e.exports=function(e){return r(s(e))}},"/Ybd":function(e,t,n){var r=n("T69T"),s=n("XdSI"),i=n("F26l"),o=n("LdO1"),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(i(e),t=o(t,!0),i(n),s)try{return a(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"/Yfv":function(e,t,n){n("dOgj")("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"/b8u":function(e,t,n){var r=n("STAE");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/sWL":function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=n("wIVT"),a=s.has,c=s.toKey,l=function(e,t,n){if(a(e,t,n))return!0;var r=o(t);return null!==r&&l(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return l(e,i(t),n)}})},"07d7":function(e,t,n){var r=n("AO7/"),s=n("busE"),i=n("sEFX");r||s(Object.prototype,"toString",i,{unsafe:!0})},"0BK2":function(e,t){e.exports={}},"0Dky":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"0GbY":function(e,t,n){var r=n("Qo9l"),s=n("2oRo"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},"0TkE":function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},"0eef":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!r.call({1:2},1);t.f=i?function(e){var t=s(this,e);return!!t&&t.enumerable}:r},"0oug":function(e,t,n){n("dG/n")("iterator")},"0q/z":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("Sssf"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{find:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop(n)}),void 0,!0,!0).result}})},"0rvr":function(e,t,n){var r=n("glrk"),s=n("O741");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),s(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"149L":function(e,t,n){var r=n("Ew/G");e.exports=r("document","documentElement")},"14Sl":function(e,t,n){"use strict";n("rB9j");var r=n("busE"),s=n("0Dky"),i=n("tiKp"),o=n("kmMV"),a=n("kRJp"),c=i("species"),l=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),p=i("replace"),h=!!/./[p]&&""===/./[p]("a","$0"),d=!s((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,p){var f=i(e),m=!s((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),v=m&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!m||!v||"replace"===e&&(!l||!u||h)||"split"===e&&!d){var g=/./[f],y=n(f,""[e],(function(e,t,n,r,s){return t.exec===o?m&&!s?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),E=y[0],S=y[1];r(String.prototype,e,E),r(RegExp.prototype,f,2==t?function(e,t){return S.call(e,this,t)}:function(e){return S.call(e,this)})}p&&a(RegExp.prototype[f],"sham",!0)}},"1E5z":function(e,t,n){var r=n("m/L8").f,s=n("UTVS"),i=n("tiKp")("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"1Y/n":function(e,t,n){var r=n("HAuM"),s=n("ewvW"),i=n("RK3t"),o=n("UMSQ"),a=function(e){return function(t,n,a,c){r(n);var l=s(t),u=i(l),p=o(l.length),h=e?p-1:0,d=e?-1:1;if(a<2)for(;;){if(h in u){c=u[h],h+=d;break}if(h+=d,e?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:p>h;h+=d)h in u&&(c=n(c,u[h],h,l));return c}};e.exports={left:a(!1),right:a(!0)}},"1dYe":function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},"1kQv":function(e,t,n){n("I+eb")({target:"Set",stat:!0},{from:n("qY7S")})},"1t3B":function(e,t,n){var r=n("I+eb"),s=n("0GbY"),i=n("glrk");r({target:"Reflect",stat:!0,sham:!n("uy83")},{preventExtensions:function(e){i(e);try{var t=s("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},"1uSB":function(e,t,n){"use strict";n.r(t),(function(e){var r;function s(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function i(e){return"ng-container"===s(e)[1]}function o(e){return"ng-content"===s(e)[1]}function a(e){return"ng-template"===s(e)[1]}function c(e){return null===e?null:s(e)[0]}function l(e,t){return e?`:${e}:${t}`:t}n.d(t,"AST",(function(){return to})),n.d(t,"ASTWithName",(function(){return no})),n.d(t,"ASTWithSource",(function(){return Io})),n.d(t,"AbsoluteSourceSpan",(function(){return To})),n.d(t,"AotCompiler",(function(){return vf})),n.d(t,"AotSummaryResolver",(function(){return Jf})),n.d(t,"ArrayType",(function(){return re})),n.d(t,"AssertNotNull",(function(){return Ue})),n.d(t,"AstMemoryEfficientTransformer",(function(){return Po})),n.d(t,"AstPath",(function(){return Fa})),n.d(t,"AstTransformer",(function(){return ko})),n.d(t,"AttrAst",(function(){return Oc})),n.d(t,"Attribute",(function(){return Va})),n.d(t,"Binary",(function(){return Eo})),n.d(t,"BinaryOperator",(function(){return he})),n.d(t,"BinaryOperatorExpr",(function(){return ze})),n.d(t,"BindingPipe",(function(){return fo})),n.d(t,"BoundDirectivePropertyAst",(function(){return Vc})),n.d(t,"BoundElementProperty",(function(){return Bo})),n.d(t,"BoundElementPropertyAst",(function(){return Dc})),n.d(t,"BoundEventAst",(function(){return Fc})),n.d(t,"BoundTextAst",(function(){return Pc})),n.d(t,"BuiltinMethod",(function(){return fe})),n.d(t,"BuiltinType",(function(){return te})),n.d(t,"BuiltinTypeName",(function(){return Q})),n.d(t,"BuiltinVar",(function(){return de})),n.d(t,"CONTENT_ATTR",(function(){return ka})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return B})),n.d(t,"CastExpr",(function(){return Ve})),n.d(t,"Chain",(function(){return oo})),n.d(t,"ClassField",(function(){return lt})),n.d(t,"ClassMethod",(function(){return ut})),n.d(t,"ClassStmt",(function(){return ht})),n.d(t,"CommaExpr",(function(){return Ye})),n.d(t,"Comment",(function(){return Wa})),n.d(t,"CompileDirectiveMetadata",(function(){return Vn})),n.d(t,"CompileMetadataResolver",(function(){return hd})),n.d(t,"CompileNgModuleMetadata",(function(){return Hn})),n.d(t,"CompilePipeMetadata",(function(){return $n})),n.d(t,"CompileReflector",(function(){return mm})),n.d(t,"CompileShallowModuleMetadata",(function(){return Wn})),n.d(t,"CompileStylesheetMetadata",(function(){return Bn})),n.d(t,"CompileSummaryKind",(function(){return Fn})),n.d(t,"CompileTemplateMetadata",(function(){return Un})),n.d(t,"CompiledStylesheet",(function(){return Oa})),n.d(t,"CompilerConfig",(function(){return Jp})),n.d(t,"Conditional",(function(){return ao})),n.d(t,"ConditionalExpr",(function(){return je})),n.d(t,"ConstantPool",(function(){return vn})),n.d(t,"CssSelector",(function(){return g})),n.d(t,"DEFAULT_INTERPOLATION_CONFIG",(function(){return Ai})),n.d(t,"DYNAMIC_TYPE",(function(){return ie})),n.d(t,"DeclareFunctionStmt",(function(){return it})),n.d(t,"DeclareVarStmt",(function(){return st})),n.d(t,"DirectiveAst",(function(){return $c})),n.d(t,"DirectiveNormalizer",(function(){return th})),n.d(t,"DirectiveResolver",(function(){return sh})),n.d(t,"DomElementSchemaRegistry",(function(){return mu})),n.d(t,"EOF",(function(){return zl})),n.d(t,"ERROR_COMPONENT_TYPE",(function(){return ud})),n.d(t,"Element",(function(){return $a})),n.d(t,"ElementAst",(function(){return Bc})),n.d(t,"ElementSchemaRegistry",(function(){return hu})),n.d(t,"EmbeddedTemplateAst",(function(){return Uc})),n.d(t,"EmitterVisitorContext",(function(){return Bi})),n.d(t,"EmptyExpr",(function(){return so})),n.d(t,"Expansion",(function(){return Ba})),n.d(t,"ExpansionCase",(function(){return Ua})),n.d(t,"Expression",(function(){return ge})),n.d(t,"ExpressionBinding",(function(){return Ao})),n.d(t,"ExpressionStatement",(function(){return ot})),n.d(t,"ExpressionType",(function(){return ne})),n.d(t,"ExternalExpr",(function(){return Fe})),n.d(t,"ExternalReference",(function(){return Le})),n.d(t,"Extractor",(function(){return wm})),n.d(t,"FunctionCall",(function(){return Co})),n.d(t,"FunctionExpr",(function(){return We})),n.d(t,"GeneratedFile",(function(){return ef})),n.d(t,"HOST_ATTR",(function(){return Na})),n.d(t,"HtmlParser",(function(){return gc})),n.d(t,"HtmlTagDefinition",(function(){return h})),n.d(t,"I18NHtmlParser",(function(){return $h})),n.d(t,"Identifiers",(function(){return _n})),n.d(t,"IfStmt",(function(){return dt})),n.d(t,"ImplicitReceiver",(function(){return io})),n.d(t,"InstantiateExpr",(function(){return Te})),n.d(t,"Interpolation",(function(){return yo})),n.d(t,"InterpolationConfig",(function(){return Mi})),n.d(t,"InvokeFunctionExpr",(function(){return Ce})),n.d(t,"InvokeMethodExpr",(function(){return we})),n.d(t,"IvyParser",(function(){return su})),n.d(t,"JSDocComment",(function(){return nt})),n.d(t,"JitCompiler",(function(){return pm})),n.d(t,"JitEvaluator",(function(){return Hi})),n.d(t,"JitSummaryResolver",(function(){return rm})),n.d(t,"KeyedRead",(function(){return po})),n.d(t,"KeyedWrite",(function(){return ho})),n.d(t,"LeadingComment",(function(){return tt})),n.d(t,"Lexer",(function(){return Vl})),n.d(t,"LiteralArray",(function(){return vo})),n.d(t,"LiteralArrayExpr",(function(){return Ke})),n.d(t,"LiteralExpr",(function(){return Ie})),n.d(t,"LiteralMap",(function(){return go})),n.d(t,"LiteralMapExpr",(function(){return Xe})),n.d(t,"LiteralPrimitive",(function(){return mo})),n.d(t,"LocalizedString",(function(){return ke})),n.d(t,"MapType",(function(){return se})),n.d(t,"MessageBundle",(function(){return Qd})),n.d(t,"MethodCall",(function(){return bo})),n.d(t,"NAMED_ENTITIES",(function(){return u})),n.d(t,"NGSP_UNICODE",(function(){return p})),n.d(t,"NONE_TYPE",(function(){return ue})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return U})),n.d(t,"NgContentAst",(function(){return zc})),n.d(t,"NgModuleCompiler",(function(){return Cd})),n.d(t,"NgModuleResolver",(function(){return Td})),n.d(t,"NodeWithI18n",(function(){return La})),n.d(t,"NonNullAssert",(function(){return _o})),n.d(t,"NotExpr",(function(){return Be})),n.d(t,"NullTemplateVisitor",(function(){return qc})),n.d(t,"ParseError",(function(){return Ar})),n.d(t,"ParseErrorLevel",(function(){return Mr})),n.d(t,"ParseLocation",(function(){return Cr})),n.d(t,"ParseSourceFile",(function(){return Tr})),n.d(t,"ParseSourceSpan",(function(){return Ir})),n.d(t,"ParseSpan",(function(){return eo})),n.d(t,"ParseTreeResult",(function(){return dc})),n.d(t,"ParsedEvent",(function(){return Lo})),n.d(t,"ParsedProperty",(function(){return Oo})),n.d(t,"ParsedPropertyType",(function(){return Ro})),n.d(t,"ParsedVariable",(function(){return jo})),n.d(t,"Parser",(function(){return ru})),n.d(t,"ParserError",(function(){return Ji})),n.d(t,"PipeResolver",(function(){return Nd})),n.d(t,"PrefixNot",(function(){return xo})),n.d(t,"PropertyRead",(function(){return co})),n.d(t,"PropertyWrite",(function(){return lo})),n.d(t,"ProviderAst",(function(){return Wc})),n.d(t,"ProviderAstType",(function(){return Hc})),n.d(t,"ProviderMeta",(function(){return Gn})),n.d(t,"Quote",(function(){return ro})),n.d(t,"R3BoundTarget",(function(){return Am})),n.d(t,"R3FactoryTarget",(function(){return gi})),n.d(t,"R3Identifiers",(function(){return tr})),n.d(t,"R3ResolvedDependencyType",(function(){return yi})),n.d(t,"R3TargetBinder",(function(){return Cm})),n.d(t,"ReadKeyExpr",(function(){return Ge})),n.d(t,"ReadPropExpr",(function(){return qe})),n.d(t,"ReadVarExpr",(function(){return ye})),n.d(t,"RecursiveAstVisitor",(function(){return No})),n.d(t,"RecursiveTemplateAstVisitor",(function(){return Gc})),n.d(t,"RecursiveVisitor",(function(){return za})),n.d(t,"ReferenceAst",(function(){return Lc})),n.d(t,"ResolvedStaticSymbol",(function(){return af})),n.d(t,"ResourceLoader",(function(){return Rp})),n.d(t,"ReturnStatement",(function(){return at})),n.d(t,"STRING_TYPE",(function(){return le})),n.d(t,"SafeMethodCall",(function(){return wo})),n.d(t,"SafePropertyRead",(function(){return uo})),n.d(t,"SelectorContext",(function(){return S})),n.d(t,"SelectorListContext",(function(){return E})),n.d(t,"SelectorMatcher",(function(){return y})),n.d(t,"Serializer",(function(){return Ss})),n.d(t,"SplitInterpolation",(function(){return Jl})),n.d(t,"Statement",(function(){return rt})),n.d(t,"StaticReflector",(function(){return jf})),n.d(t,"StaticSymbol",(function(){return Cn})),n.d(t,"StaticSymbolCache",(function(){return Tn})),n.d(t,"StaticSymbolResolver",(function(){return cf})),n.d(t,"StmtModifier",(function(){return et})),n.d(t,"StyleCompiler",(function(){return Ra})),n.d(t,"StylesCompileDependency",(function(){return Pa})),n.d(t,"SummaryResolver",(function(){return nm})),n.d(t,"TagContentType",(function(){return r})),n.d(t,"TemplateBindingParseResult",(function(){return eu})),n.d(t,"TemplateParseError",(function(){return Sl})),n.d(t,"TemplateParseResult",(function(){return xl})),n.d(t,"TemplateParser",(function(){return _l})),n.d(t,"Text",(function(){return ja})),n.d(t,"TextAst",(function(){return kc})),n.d(t,"ThrowStmt",(function(){return mt})),n.d(t,"TmplAstBoundAttribute",(function(){return Dr})),n.d(t,"TmplAstBoundEvent",(function(){return Fr})),n.d(t,"TmplAstBoundText",(function(){return Or})),n.d(t,"TmplAstContent",(function(){return Br})),n.d(t,"TmplAstElement",(function(){return Lr})),n.d(t,"TmplAstRecursiveVisitor",(function(){return Wr})),n.d(t,"TmplAstReference",(function(){return Vr})),n.d(t,"TmplAstTemplate",(function(){return jr})),n.d(t,"TmplAstText",(function(){return Pr})),n.d(t,"TmplAstTextAttribute",(function(){return Rr})),n.d(t,"TmplAstVariable",(function(){return Ur})),n.d(t,"Token",(function(){return $l})),n.d(t,"TokenType",(function(){return Bl})),n.d(t,"TransitiveCompileNgModuleMetadata",(function(){return zn})),n.d(t,"TreeError",(function(){return hc})),n.d(t,"TryCatchStmt",(function(){return ft})),n.d(t,"Type",(function(){return ee})),n.d(t,"TypeScriptEmitter",(function(){return Md})),n.d(t,"TypeofExpr",(function(){return Ee})),n.d(t,"Unary",(function(){return So})),n.d(t,"UnaryOperator",(function(){return pe})),n.d(t,"UnaryOperatorExpr",(function(){return He})),n.d(t,"UrlResolver",(function(){return ym})),n.d(t,"VERSION",(function(){return Qp})),n.d(t,"VariableAst",(function(){return jc})),n.d(t,"VariableBinding",(function(){return Mo})),n.d(t,"Version",(function(){return an})),n.d(t,"ViewCompiler",(function(){return jd})),n.d(t,"WrappedNodeExpr",(function(){return Se})),n.d(t,"WriteKeyExpr",(function(){return _e})),n.d(t,"WritePropExpr",(function(){return be})),n.d(t,"WriteVarExpr",(function(){return xe})),n.d(t,"Xliff",(function(){return bh})),n.d(t,"Xliff2",(function(){return kh})),n.d(t,"Xmb",(function(){return Rs})),n.d(t,"XmlParser",(function(){return yh})),n.d(t,"Xtb",(function(){return Lh})),n.d(t,"_ParseAST",(function(){return ou})),n.d(t,"analyzeAndValidateNgModules",(function(){return xf})),n.d(t,"analyzeFile",(function(){return bf})),n.d(t,"analyzeFileForInjectables",(function(){return wf})),n.d(t,"analyzeNgModules",(function(){return Sf})),n.d(t,"collectExternalReferences",(function(){return Et})),n.d(t,"compileComponentFromMetadata",(function(){return Sp})),n.d(t,"compileDirectiveFromMetadata",(function(){return Ep})),n.d(t,"compileFactoryFunction",(function(){return Ei})),n.d(t,"compileInjectable",(function(){return bi})),n.d(t,"compileInjector",(function(){return Zi})),n.d(t,"compileNgModule",(function(){return Ki})),n.d(t,"compilePipeFromMetadata",(function(){return Qi})),n.d(t,"componentFactoryName",(function(){return Dn})),n.d(t,"computeMsgId",(function(){return as})),n.d(t,"core",(function(){return J})),n.d(t,"createAotCompiler",(function(){return tm})),n.d(t,"createAotUrlResolver",(function(){return em})),n.d(t,"createElementCssSelector",(function(){return Il})),n.d(t,"createLoweredSymbol",(function(){return od})),n.d(t,"createOfflineCompileUrlResolver",(function(){return gm})),n.d(t,"createUrlResolverWithoutPackagePrefix",(function(){return vm})),n.d(t,"debugOutputAstAsTypeScript",(function(){return Id})),n.d(t,"findNode",(function(){return qa})),n.d(t,"flatten",(function(){return Kn})),n.d(t,"formattedError",(function(){return Mf})),n.d(t,"getHtmlTagDefinition",(function(){return m})),n.d(t,"getMissingNgModuleMetadataErrorData",(function(){return pd})),n.d(t,"getNsPrefix",(function(){return c})),n.d(t,"getParseErrors",(function(){return Jt})),n.d(t,"getUrlScheme",(function(){return Em})),n.d(t,"hostViewClassName",(function(){return Rn})),n.d(t,"identifierModuleUrl",(function(){return kn})),n.d(t,"identifierName",(function(){return Nn})),n.d(t,"isEmptyExpression",(function(){return Pl})),n.d(t,"isFormattedError",(function(){return Af})),n.d(t,"isIdentifier",(function(){return Kl})),n.d(t,"isLoweredSymbol",(function(){return id})),n.d(t,"isNgContainer",(function(){return i})),n.d(t,"isNgContent",(function(){return o})),n.d(t,"isNgTemplate",(function(){return a})),n.d(t,"isQuote",(function(){return Yl})),n.d(t,"isSyntaxError",(function(){return Qt})),n.d(t,"jsDocComment",(function(){return Ct})),n.d(t,"leadingComment",(function(){return wt})),n.d(t,"literalMap",(function(){return Pt})),n.d(t,"makeBindingParser",(function(){return lp})),n.d(t,"mergeAnalyzedFiles",(function(){return Cf})),n.d(t,"mergeNsAndName",(function(){return l})),n.d(t,"ngModuleJitUrl",(function(){return Qn})),n.d(t,"parseHostBindings",(function(){return Pp})),n.d(t,"parseTemplate",(function(){return ap})),n.d(t,"preserveWhitespacesDefault",(function(){return eh})),n.d(t,"publishFacade",(function(){return Yp})),n.d(t,"r3JitTypeSourceSpan",(function(){return kr})),n.d(t,"removeSummaryDuplicates",(function(){return kl})),n.d(t,"rendererTypeName",(function(){return On})),n.d(t,"sanitizeIdentifier",(function(){return Mn})),n.d(t,"sharedStylesheetJitUrl",(function(){return Yn})),n.d(t,"splitClasses",(function(){return Cl})),n.d(t,"splitNsName",(function(){return s})),n.d(t,"syntaxError",(function(){return Zt})),n.d(t,"templateJitUrl",(function(){return Jn})),n.d(t,"templateSourceUrl",(function(){return Xn})),n.d(t,"templateVisitAll",(function(){return Kc})),n.d(t,"toTypeScript",(function(){return tf})),n.d(t,"tokenName",(function(){return Ln})),n.d(t,"tokenReference",(function(){return jn})),n.d(t,"typeSourceSpan",(function(){return Nr})),n.d(t,"unescapeIdentifier",(function(){return lf})),n.d(t,"unwrapResolvedMetadata",(function(){return uf})),n.d(t,"verifyHostBindings",(function(){return Op})),n.d(t,"viewClassName",(function(){return Pn})),n.d(t,"visitAll",(function(){return Ha})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(r||(r={}));const u={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",Alpha:"\u0391",alpha:"\u03b1",amp:"&",and:"\u2227",ang:"\u2220",apos:"'",Aring:"\xc5",aring:"\xe5",asymp:"\u2248",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",bdquo:"\u201e",Beta:"\u0392",beta:"\u03b2",brvbar:"\xa6",bull:"\u2022",cap:"\u2229",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",clubs:"\u2663",cong:"\u2245",copy:"\xa9",crarr:"\u21b5",cup:"\u222a",curren:"\xa4",dagger:"\u2020",Dagger:"\u2021",darr:"\u2193",dArr:"\u21d3",deg:"\xb0",Delta:"\u0394",delta:"\u03b4",diams:"\u2666",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",empty:"\u2205",emsp:"\u2003",ensp:"\u2002",Epsilon:"\u0395",epsilon:"\u03b5",equiv:"\u2261",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",exist:"\u2203",fnof:"\u0192",forall:"\u2200",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",frasl:"\u2044",Gamma:"\u0393",gamma:"\u03b3",ge:"\u2265",gt:">",harr:"\u2194",hArr:"\u21d4",hearts:"\u2665",hellip:"\u2026",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",image:"\u2111",infin:"\u221e",int:"\u222b",Iota:"\u0399",iota:"\u03b9",iquest:"\xbf",isin:"\u2208",Iuml:"\xcf",iuml:"\xef",Kappa:"\u039a",kappa:"\u03ba",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",lceil:"\u2308",ldquo:"\u201c",le:"\u2264",lfloor:"\u230a",lowast:"\u2217",loz:"\u25ca",lrm:"\u200e",lsaquo:"\u2039",lsquo:"\u2018",lt:"<",macr:"\xaf",mdash:"\u2014",micro:"\xb5",middot:"\xb7",minus:"\u2212",Mu:"\u039c",mu:"\u03bc",nabla:"\u2207",nbsp:"\xa0",ndash:"\u2013",ne:"\u2260",ni:"\u220b",not:"\xac",notin:"\u2209",nsub:"\u2284",Ntilde:"\xd1",ntilde:"\xf1",Nu:"\u039d",nu:"\u03bd",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",OElig:"\u0152",oelig:"\u0153",Ograve:"\xd2",ograve:"\xf2",oline:"\u203e",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",oplus:"\u2295",or:"\u2228",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",permil:"\u2030",perp:"\u22a5",Phi:"\u03a6",phi:"\u03c6",Pi:"\u03a0",pi:"\u03c0",piv:"\u03d6",plusmn:"\xb1",pound:"\xa3",prime:"\u2032",Prime:"\u2033",prod:"\u220f",prop:"\u221d",Psi:"\u03a8",psi:"\u03c8",quot:'"',radic:"\u221a",rang:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",rceil:"\u2309",rdquo:"\u201d",real:"\u211c",reg:"\xae",rfloor:"\u230b",Rho:"\u03a1",rho:"\u03c1",rlm:"\u200f",rsaquo:"\u203a",rsquo:"\u2019",sbquo:"\u201a",Scaron:"\u0160",scaron:"\u0161",sdot:"\u22c5",sect:"\xa7",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sim:"\u223c",spades:"\u2660",sub:"\u2282",sube:"\u2286",sum:"\u2211",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supe:"\u2287",szlig:"\xdf",Tau:"\u03a4",tau:"\u03c4",there4:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thinsp:"\u2009",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",times:"\xd7",trade:"\u2122",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",uArr:"\u21d1",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",Uuml:"\xdc",uuml:"\xfc",weierp:"\u2118",Xi:"\u039e",xi:"\u03be",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff",Yuml:"\u0178",Zeta:"\u0396",zeta:"\u03b6",zwj:"\u200d",zwnj:"\u200c"},p="\ue500";u.ngsp=p;class h{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=r.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}let d,f;function m(e){var t,n;return f||(d=new h,f={base:new h({isVoid:!0}),meta:new h({isVoid:!0}),area:new h({isVoid:!0}),embed:new h({isVoid:!0}),link:new h({isVoid:!0}),img:new h({isVoid:!0}),input:new h({isVoid:!0}),param:new h({isVoid:!0}),hr:new h({isVoid:!0}),br:new h({isVoid:!0}),source:new h({isVoid:!0}),track:new h({isVoid:!0}),wbr:new h({isVoid:!0}),p:new h({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 h({closedByChildren:["tbody","tfoot"]}),tbody:new h({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new h({closedByChildren:["tbody"],closedByParent:!0}),tr:new h({closedByChildren:["tr"],closedByParent:!0}),td:new h({closedByChildren:["td","th"],closedByParent:!0}),th:new h({closedByChildren:["td","th"],closedByParent:!0}),col:new h({isVoid:!0}),svg:new h({implicitNamespacePrefix:"svg"}),foreignObject:new h({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new h({implicitNamespacePrefix:"math"}),li:new h({closedByChildren:["li"],closedByParent:!0}),dt:new h({closedByChildren:["dt","dd"]}),dd:new h({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new h({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new h({closedByChildren:["optgroup"],closedByParent:!0}),option:new h({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new h({ignoreFirstLf:!0}),listing:new h({ignoreFirstLf:!0}),style:new h({contentType:r.RAW_TEXT}),script:new h({contentType:r.RAW_TEXT}),title:new h({contentType:r.ESCAPABLE_RAW_TEXT}),textarea:new h({contentType:r.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(n=null!==(t=f[e])&&void 0!==t?t:f[e.toLowerCase()])&&void 0!==n?n:d}const v=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class g{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],n=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let r,s=new g,i=s,o=!1;for(v.lastIndex=0;r=v.exec(e);){if(r[1]){if(o)throw new Error("Nesting :not in a selector is not allowed");o=!0,i=new g,s.notSelectors.push(i)}const e=r[2];if(e){const t=r[3];"#"===t?i.addAttribute("id",e.substr(1)):"."===t?i.addClassName(e.substr(1)):i.setElement(e)}const a=r[4];if(a&&i.addAttribute(a,r[6]),r[7]&&(o=!1,i=s),r[8]){if(o)throw new Error("Multiple selectors in :not are not supported");n(t,s),s=i=new g}}return n(t,s),t}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getMatchingElementTemplate(){const e=this.element||"div",t=this.classNames.length>0?` class="${this.classNames.join(" ")}"`:"";let n="";for(let r=0;r<this.attrs.length;r+=2){n+=` ${this.attrs[r]}${""!==this.attrs[r+1]?`="${this.attrs[r+1]}"`:""}`}return m(e).isVoid?`<${e}${t}${n}/>`:`<${e}${t}${n}></${e}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+="."+t),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.attrs[t],r=this.attrs[t+1];e+=`[${n}${r?"="+r:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class y{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(e){const t=new y;return t.addSelectables(e,null),t}addSelectables(e,t){let n=null;e.length>1&&(n=new E(e),this._listContexts.push(n));for(let r=0;r<e.length;r++)this._addSelectable(e[r],t,n)}_addSelectable(e,t,n){let r=this;const s=e.element,i=e.classNames,o=e.attrs,a=new S(e,t,n);if(s){0===o.length&&0===i.length?this._addTerminal(r._elementMap,s,a):r=this._addPartial(r._elementPartialMap,s)}if(i)for(let c=0;c<i.length;c++){const e=0===o.length&&c===i.length-1,t=i[c];e?this._addTerminal(r._classMap,t,a):r=this._addPartial(r._classPartialMap,t)}if(o)for(let c=0;c<o.length;c+=2){const e=c===o.length-2,t=o[c],n=o[c+1];if(e){const e=r._attrValueMap;let s=e.get(t);s||(s=new Map,e.set(t,s)),this._addTerminal(s,n,a)}else{const e=r._attrValuePartialMap;let s=e.get(t);s||(s=new Map,e.set(t,s)),r=this._addPartial(s,n)}}}_addTerminal(e,t,n){let r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new y,e.set(t,n)),n}match(e,t){let n=!1;const r=e.element,s=e.classNames,i=e.attrs;for(let o=0;o<this._listContexts.length;o++)this._listContexts[o].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,s)for(let o=0;o<s.length;o++){const r=s[o];n=this._matchTerminal(this._classMap,r,e,t)||n,n=this._matchPartial(this._classPartialMap,r,e,t)||n}if(i)for(let o=0;o<i.length;o+=2){const r=i[o],s=i[o+1],a=this._attrValueMap.get(r);s&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,s,e,t)||n;const c=this._attrValuePartialMap.get(r);s&&(n=this._matchPartial(c,"",e,t)||n),n=this._matchPartial(c,s,e,t)||n}return n}_matchTerminal(e,t,n,r){if(!e||"string"!=typeof t)return!1;let s=e.get(t)||[];const i=e.get("*");if(i&&(s=s.concat(i)),0===s.length)return!1;let o,a=!1;for(let c=0;c<s.length;c++)o=s[c],a=o.finalize(n,r)||a;return a}_matchPartial(e,t,n,r){if(!e||"string"!=typeof t)return!1;const s=e.get(t);return!!s&&s.match(n,r)}}class E{constructor(e){this.selectors=e,this.alreadyMatched=!1}}class S{constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!y.createNotMatcher(this.notSelectors).match(e,null)}return!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}const x=K("Inject",e=>({token:e})),_=K("InjectionToken",e=>({_desc:e,"\u0275prov":void 0})),b=K("Attribute",e=>({attributeName:e})),w=K("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)),C=K("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),T=K("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)),I=K("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),M=K("Directive",(e={})=>e);var A,N;!function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(A||(A={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(N||(N={}));const k=K("Component",(e={})=>Object.assign({changeDetection:N.Default},e)),P=K("Pipe",e=>Object.assign({pure:!0},e)),O=K("Input",e=>({bindingPropertyName:e})),R=K("Output",e=>({bindingPropertyName:e})),D=K("HostBinding",e=>({hostPropertyName:e})),F=K("HostListener",(e,t)=>({eventName:e,args:t})),L=K("NgModule",e=>e),j=K("Injectable",(e={})=>e),B={name:"custom-elements"},U={name:"no-errors-schema"},V=K("Optional"),$=K("Self"),W=K("SkipSelf"),H=K("Host"),z=Function;var q,G;function K(e,t){function n(...n){const r=t?t(...n):{};return Object.assign({ngMetadataName:e},r)}return n.isTypeOf=t=>t&&t.ngMetadataName===e,n.ngMetadataName=e,n}function Z(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e)):[];return t.concat(...n)}function X(e){return e?g.parse(e).map(Z):[]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(q||(q={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(G||(G={}));var Y,Q,J=Object.freeze({__proto__:null,createInject:x,createInjectionToken:_,createAttribute:b,createContentChildren:w,createContentChild:C,createViewChildren:T,createViewChild:I,createDirective:M,get ViewEncapsulation(){return A},get ChangeDetectionStrategy(){return N},createComponent:k,createPipe:P,createInput:O,createOutput:R,createHostBinding:D,createHostListener:F,createNgModule:L,createInjectable:j,CUSTOM_ELEMENTS_SCHEMA:B,NO_ERRORS_SCHEMA:U,createOptional:V,createSelf:$,createSkipSelf:W,createHost:H,Type:z,get SecurityContext(){return q},get MissingTranslationStrategy(){return G},parseSelectorToR3Selector:X});!function(e){e[e.Const=0]="Const"}(Y||(Y={}));class ee{constructor(e=[]){this.modifiers=e}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(Q||(Q={}));class te extends ee{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class ne extends ee{constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}class re extends ee{constructor(e,t){super(t),this.of=e}visitType(e,t){return e.visitArrayType(this,t)}}class se extends ee{constructor(e,t){super(t),this.valueType=e||null}visitType(e,t){return e.visitMapType(this,t)}}const ie=new te(Q.Dynamic),oe=new te(Q.Inferred),ae=new te(Q.Bool),ce=(new te(Q.Int),new te(Q.Number)),le=new te(Q.String),ue=(new te(Q.Function),new te(Q.None));var pe,he,de,fe;function me(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function ve(e,t){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(!e[r].isEquivalent(t[r]))return!1;return!0}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(pe||(pe={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals"}(he||(he={}));class ge{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new qe(this,e,null,t)}key(e,t,n){return new Ge(this,e,t,n)}callMethod(e,t,n){return new we(this,e,t,null,n)}callFn(e,t,n){return new Ce(this,e,null,t,n)}instantiate(e,t,n){return new Te(this,e,t,n)}conditional(e,t=null,n){return new je(this,e,t,null,n)}equals(e,t){return new ze(he.Equals,this,e,null,t)}notEquals(e,t){return new ze(he.NotEquals,this,e,null,t)}identical(e,t){return new ze(he.Identical,this,e,null,t)}notIdentical(e,t){return new ze(he.NotIdentical,this,e,null,t)}minus(e,t){return new ze(he.Minus,this,e,null,t)}plus(e,t){return new ze(he.Plus,this,e,null,t)}divide(e,t){return new ze(he.Divide,this,e,null,t)}multiply(e,t){return new ze(he.Multiply,this,e,null,t)}modulo(e,t){return new ze(he.Modulo,this,e,null,t)}and(e,t){return new ze(he.And,this,e,null,t)}bitwiseAnd(e,t,n=!0){return new ze(he.BitwiseAnd,this,e,null,t,n)}or(e,t){return new ze(he.Or,this,e,null,t)}lower(e,t){return new ze(he.Lower,this,e,null,t)}lowerEquals(e,t){return new ze(he.LowerEquals,this,e,null,t)}bigger(e,t){return new ze(he.Bigger,this,e,null,t)}biggerEquals(e,t){return new ze(he.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(Je,e)}cast(e,t){return new Ve(this,e,t)}toStmt(){return new ot(this,null)}}!function(e){e[e.This=0]="This",e[e.Super=1]="Super",e[e.CatchError=2]="CatchError",e[e.CatchStack=3]="CatchStack"}(de||(de={}));class ye extends ge{constructor(e,t,n){super(t,n),"string"==typeof e?(this.name=e,this.builtin=null):(this.name=null,this.builtin=e)}isEquivalent(e){return e instanceof ye&&this.name===e.name&&this.builtin===e.builtin}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){if(!this.name)throw new Error(`Built in variable ${this.builtin} can not be assigned to.`);return new xe(this.name,e,null,this.sourceSpan)}}class Ee extends ge{constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof Ee&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class Se extends ge{constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof Se&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class xe extends ge{constructor(e,t,n,r){super(n||t.type,r),this.name=e,this.value=t}isEquivalent(e){return e instanceof xe&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new st(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(oe,[et.Final])}}class _e extends ge{constructor(e,t,n,r,s){super(r||n.type,s),this.receiver=e,this.index=t,this.value=n}isEquivalent(e){return e instanceof _e&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class be extends ge{constructor(e,t,n,r,s){super(r||n.type,s),this.receiver=e,this.name=t,this.value=n}isEquivalent(e){return e instanceof be&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}!function(e){e[e.ConcatArray=0]="ConcatArray",e[e.SubscribeObservable=1]="SubscribeObservable",e[e.Bind=2]="Bind"}(fe||(fe={}));class we extends ge{constructor(e,t,n,r,s){super(r,s),this.receiver=e,this.args=n,"string"==typeof t?(this.name=t,this.builtin=null):(this.name=null,this.builtin=t)}isEquivalent(e){return e instanceof we&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&ve(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeMethodExpr(this,t)}}class Ce extends ge{constructor(e,t,n,r,s=!1){super(n,r),this.fn=e,this.args=t,this.pure=s}isEquivalent(e){return e instanceof Ce&&this.fn.isEquivalent(e.fn)&&ve(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class Te extends ge{constructor(e,t,n,r){super(n,r),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof Te&&this.classExpr.isEquivalent(e.classExpr)&&ve(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class Ie extends ge{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof Ie&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class Me{constructor(e,t){this.text=e,this.sourceSpan=t}}class Ae extends Me{}class Ne extends Me{}class ke extends ge{constructor(e,t,n,r,s){super(le,s),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=r}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),De(e,this.messageParts[0].text)}getMessagePartSourceSpan(e){var t,n;return null!==(n=null===(t=this.messageParts[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:this.sourceSpan}getPlaceholderSourceSpan(e){var t,n,r,s;return null!==(s=null!==(n=null===(t=this.placeHolderNames[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:null===(r=this.expressions[e])||void 0===r?void 0:r.sourceSpan)&&void 0!==s?s:this.sourceSpan}serializeI18nTemplatePart(e){return De(this.placeHolderNames[e-1].text,this.messageParts[e].text)}}const Pe=e=>e.replace(/\\/g,"\\\\"),Oe=e=>e.replace(/:/g,"\\:"),Re=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function De(e,t){return""===e?{cooked:t,raw:Re((n=Pe(t),n.replace(/^:/,"\\:")))}:{cooked:`:${e}:${t}`,raw:Re(`:${Oe(Pe(e))}:${Pe(t)}`)};var n}class Fe extends ge{constructor(e,t,n=null,r){super(t,r),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof Fe&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class Le{constructor(e,t,n){this.moduleName=e,this.name=t,this.runtime=n}}class je extends ge{constructor(e,t,n=null,r,s){super(r||t.type,s),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof je&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&me(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class Be extends ge{constructor(e,t){super(ae,t),this.condition=e}isEquivalent(e){return e instanceof Be&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class Ue extends ge{constructor(e,t){super(e.type,t),this.condition=e}isEquivalent(e){return e instanceof Ue&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitAssertNotNullExpr(this,t)}}class Ve extends ge{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof Ve&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitCastExpr(this,t)}}class $e{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class We extends ge{constructor(e,t,n,r,s){super(n,r),this.params=e,this.statements=t,this.name=s}isEquivalent(e){return e instanceof We&&ve(this.params,e.params)&&ve(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new it(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class He extends ge{constructor(e,t,n,r,s=!0){super(n||ce,r),this.operator=e,this.expr=t,this.parens=s}isEquivalent(e){return e instanceof He&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class ze extends ge{constructor(e,t,n,r,s,i=!0){super(r||t.type,s),this.operator=e,this.rhs=n,this.parens=i,this.lhs=t}isEquivalent(e){return e instanceof ze&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class qe extends ge{constructor(e,t,n,r){super(n,r),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof qe&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new be(this.receiver,this.name,e,null,this.sourceSpan)}}class Ge extends ge{constructor(e,t,n,r){super(n,r),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof Ge&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new _e(this.receiver,this.index,e,null,this.sourceSpan)}}class Ke extends ge{constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof Ke&&ve(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class Ze{constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Xe extends ge{constructor(e,t,n){super(t,n),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Xe&&ve(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}class Ye extends ge{constructor(e,t){super(e[e.length-1].type,t),this.parts=e}isEquivalent(e){return e instanceof Ye&&ve(this.parts,e.parts)}isConstant(){return!1}visitExpression(e,t){return e.visitCommaExpr(this,t)}}new ye(de.This,null,null),new ye(de.Super,null,null),new ye(de.CatchError,null,null),new ye(de.CatchStack,null,null);const Qe=new Ie(null,null,null),Je=new Ie(null,oe,null);var et;!function(e){e[e.Final=0]="Final",e[e.Private=1]="Private",e[e.Exported=2]="Exported",e[e.Static=3]="Static"}(et||(et={}));class tt{constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class nt extends tt{constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${Lt(e[0])} `;let t="*\n";for(const n of e)t+=" *",t+=Lt(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class rt{constructor(e=[],t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return-1!==this.modifiers.indexOf(e)}addLeadingComment(e){var t;this.leadingComments=null!==(t=this.leadingComments)&&void 0!==t?t:[],this.leadingComments.push(e)}}class st extends rt{constructor(e,t,n,r,s,i){super(r,s,i),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof st&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class it extends rt{constructor(e,t,n,r,s,i,o){super(s,i,o),this.name=e,this.params=t,this.statements=n,this.type=r||null}isEquivalent(e){return e instanceof it&&ve(this.params,e.params)&&ve(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class ot extends rt{constructor(e,t,n){super([],t,n),this.expr=e}isEquivalent(e){return e instanceof ot&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class at extends rt{constructor(e,t=null,n){super([],t,n),this.value=e}isEquivalent(e){return e instanceof at&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class ct{constructor(e=null,t=[]){this.type=e,this.modifiers=t}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}class lt extends ct{constructor(e,t,n,r){super(t,n),this.name=e,this.initializer=r}isEquivalent(e){return this.name===e.name}}class ut extends ct{constructor(e,t,n,r,s){super(r,s),this.name=e,this.params=t,this.body=n}isEquivalent(e){return this.name===e.name&&ve(this.body,e.body)}}class pt extends ct{constructor(e,t,n,r){super(n,r),this.name=e,this.body=t}isEquivalent(e){return this.name===e.name&&ve(this.body,e.body)}}class ht extends rt{constructor(e,t,n,r,s,i,o,a,c){super(o,a,c),this.name=e,this.parent=t,this.fields=n,this.getters=r,this.constructorMethod=s,this.methods=i}isEquivalent(e){return e instanceof ht&&this.name===e.name&&me(this.parent,e.parent)&&ve(this.fields,e.fields)&&ve(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&ve(this.methods,e.methods)}visitStatement(e,t){return e.visitDeclareClassStmt(this,t)}}class dt extends rt{constructor(e,t,n=[],r,s){super([],r,s),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof dt&&this.condition.isEquivalent(e.condition)&&ve(this.trueCase,e.trueCase)&&ve(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}class ft extends rt{constructor(e,t,n=null,r){super([],n,r),this.bodyStmts=e,this.catchStmts=t}isEquivalent(e){return e instanceof ft&&ve(this.bodyStmts,e.bodyStmts)&&ve(this.catchStmts,e.catchStmts)}visitStatement(e,t){return e.visitTryCatchStmt(this,t)}}class mt extends rt{constructor(e,t=null,n){super([],t,n),this.error=e}isEquivalent(e){return e instanceof ft&&this.error.isEquivalent(e.error)}visitStatement(e,t){return e.visitThrowStmt(this,t)}}class vt{visitType(e,t){return e}visitExpression(e,t){return e.type&&e.type.visitType(this,t),e}visitBuiltinType(e,t){return this.visitType(e,t)}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach(e=>this.visitType(e,t)),this.visitType(e,t)}visitArrayType(e,t){return this.visitType(e,t)}visitMapType(e,t){return this.visitType(e,t)}visitWrappedNodeExpr(e,t){return e}visitTypeofExpr(e,t){return this.visitExpression(e,t)}visitReadVarExpr(e,t){return this.visitExpression(e,t)}visitWriteVarExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWriteKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWritePropExpr(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitInvokeMethodExpr(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInstantiateExpr(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitLiteralExpr(e,t){return this.visitExpression(e,t)}visitLocalizedString(e,t){return this.visitExpression(e,t)}visitExternalExpr(e,t){return e.typeParams&&e.typeParams.forEach(e=>e.visitType(this,t)),this.visitExpression(e,t)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)}visitNotExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitFunctionExpr(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)}visitUnaryOperatorExpr(e,t){return e.expr.visitExpression(this,t),this.visitExpression(e,t)}visitBinaryOperatorExpr(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)}visitLiteralMapExpr(e,t){return e.entries.forEach(e=>e.value.visitExpression(this,t)),this.visitExpression(e,t)}visitCommaExpr(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)}visitAllExpressions(e,t){e.forEach(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e}visitDeclareFunctionStmt(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t),e}visitReturnStmt(e,t){return e.value.visitExpression(this,t),e}visitDeclareClassStmt(e,t){return e.parent.visitExpression(this,t),e.getters.forEach(e=>this.visitAllStatements(e.body,t)),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach(e=>this.visitAllStatements(e.body,t)),e}visitIfStmt(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e}visitTryCatchStmt(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e}visitThrowStmt(e,t){return e.error.visitExpression(this,t),e}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function gt(e){const t=new yt;return t.visitAllStatements(e,null),t.varNames}class yt extends vt{constructor(){super(...arguments),this.varNames=new Set}visitDeclareFunctionStmt(e,t){return e}visitDeclareClassStmt(e,t){return e}visitReadVarExpr(e,t){return e.name&&this.varNames.add(e.name),null}}function Et(e){const t=new St;return t.visitAllStatements(e,null),t.externalReferences}class St extends vt{constructor(){super(...arguments),this.externalReferences=[]}visitExternalExpr(e,t){return this.externalReferences.push(e.value),super.visitExternalExpr(e,t)}}function xt(e,t){if(!t)return e;const n=new bt(t);return e.visitStatement(n,null)}function _t(e,t){if(!t)return e;const n=new bt(t);return e.visitExpression(n,null)}class bt extends class{transformExpr(e,t){return e}transformStmt(e,t){return e}visitReadVarExpr(e,t){return this.transformExpr(e,t)}visitWrappedNodeExpr(e,t){return this.transformExpr(e,t)}visitTypeofExpr(e,t){return this.transformExpr(new Ee(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteVarExpr(e,t){return this.transformExpr(new xe(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteKeyExpr(e,t){return this.transformExpr(new _e(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWritePropExpr(e,t){return this.transformExpr(new be(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitInvokeMethodExpr(e,t){const n=e.builtin||e.name;return this.transformExpr(new we(e.receiver.visitExpression(this,t),n,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInvokeFunctionExpr(e,t){return this.transformExpr(new Ce(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInstantiateExpr(e,t){return this.transformExpr(new Te(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitLiteralExpr(e,t){return this.transformExpr(e,t)}visitLocalizedString(e,t){return this.transformExpr(new ke(e.metaBlock,e.messageParts,e.placeHolderNames,this.visitAllExpressions(e.expressions,t),e.sourceSpan),t)}visitExternalExpr(e,t){return this.transformExpr(e,t)}visitConditionalExpr(e,t){return this.transformExpr(new je(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)}visitNotExpr(e,t){return this.transformExpr(new Be(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitAssertNotNullExpr(e,t){return this.transformExpr(new Ue(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitCastExpr(e,t){return this.transformExpr(new Ve(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitFunctionExpr(e,t){return this.transformExpr(new We(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)}visitUnaryOperatorExpr(e,t){return this.transformExpr(new He(e.operator,e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitBinaryOperatorExpr(e,t){return this.transformExpr(new ze(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)}visitReadPropExpr(e,t){return this.transformExpr(new qe(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)}visitReadKeyExpr(e,t){return this.transformExpr(new Ge(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)}visitLiteralArrayExpr(e,t){return this.transformExpr(new Ke(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)}visitLiteralMapExpr(e,t){const n=e.entries.map(e=>new Ze(e.key,e.value.visitExpression(this,t),e.quoted)),r=new se(e.valueType);return this.transformExpr(new Xe(n,r,e.sourceSpan),t)}visitCommaExpr(e,t){return this.transformExpr(new Ye(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){const n=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new st(e.name,n,e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitDeclareFunctionStmt(e,t){return this.transformStmt(new it(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitExpressionStmt(e,t){return this.transformStmt(new ot(e.expr.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitReturnStmt(e,t){return this.transformStmt(new at(e.value.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitDeclareClassStmt(e,t){const n=e.parent.visitExpression(this,t),r=e.getters.map(e=>new pt(e.name,this.visitAllStatements(e.body,t),e.type,e.modifiers)),s=e.constructorMethod&&new ut(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),i=e.methods.map(e=>new ut(e.name,e.params,this.visitAllStatements(e.body,t),e.type,e.modifiers));return this.transformStmt(new ht(e.name,n,e.fields,r,s,i,e.modifiers,e.sourceSpan),t)}visitIfStmt(e,t){return this.transformStmt(new dt(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan,e.leadingComments),t)}visitTryCatchStmt(e,t){return this.transformStmt(new ft(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan,e.leadingComments),t)}visitThrowStmt(e,t){return this.transformStmt(new mt(e.error.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitAllStatements(e,t){return e.map(e=>e.visitStatement(this,t))}}{constructor(e){super(),this.sourceSpan=e}_clone(e){const t=Object.create(e.constructor.prototype);for(let n of Object.keys(e))t[n]=e[n];return t}transformExpr(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}transformStmt(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}}function wt(e,t=!1,n=!0){return new tt(e,t,n)}function Ct(e=[]){return new nt(e)}function Tt(e,t,n){return new ye(e,t,n)}function It(e,t=null,n){return new Fe(e,null,t,n)}function Mt(e,t,n){return null!=e?At(It(e,t,null),n):null}function At(e,t,n){return new ne(e,t,n)}function Nt(e){return new Ee(e)}function kt(e,t,n){return new Ke(e,t,n)}function Pt(e,t=null){return new Xe(e.map(e=>new Ze(e.key,e.value,e.quoted)),t,null)}function Ot(e,t,n,r,s){return new We(e,t,n,r,s)}function Rt(e,t,n,r,s){return new dt(e,t,n,r,s)}function Dt(e,t,n){return new Ie(e,t,n)}function Ft(e){return e instanceof Ie&&null===e.value}function Lt(e){let t="";if(e.tagName&&(t+=" @"+e.tagName),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}const jt=/-+([a-z0-9])/g;function Bt(e,t){return Ut(e,":",t)}function Ut(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function Vt(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===tn?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}function $t(e){return null!=e}function Wt(e){return void 0===e?null:e}class Ht{visitArray(e,t){return e.map(e=>Vt(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=Vt(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}}const zt=e=>{if(on(e))throw new Error("Illegal state: value cannot be a promise");return e},qt=(e,t)=>on(e)?e.then(t):t(e),Gt=e=>e.some(on)?Promise.all(e):e;function Kt(e){throw new Error("Internal Error: "+e)}function Zt(e,t){const n=Error(e);return n[Xt]=!0,t&&(n[Yt]=t),n}const Xt="ngSyntaxError",Yt="ngParseErrors";function Qt(e){return e[Xt]}function Jt(e){return e[Yt]||[]}function en(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}const tn=Object.getPrototypeOf({});function nn(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t}function rn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;if(!e.toString)return"object";const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function sn(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function on(e){return!!e&&"function"==typeof e.then}class an{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const cn="undefined"!=typeof window&&window,ln="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,un=void 0!==e&&e||cn||ln;function pn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function hn(e,t){const n=[],r=[];return e.forEach(e=>{(t(e)?n:r).push(e)}),[n,r]}const dn=Tt("<unknown>"),fn={};class mn extends ge{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===fn?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof mn&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class vn{constructor(e=!1){this.isClosureCompilerEnabled=e,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}getConstLiteral(e,t){if(e instanceof Ie&&!Sn(e)||e instanceof mn)return e;const n=this.keyOf(e);let r=this.literals.get(n),s=!1;if(r||(r=new mn(e),this.literals.set(n,r),s=!0),!s&&!r.shared||s&&t){const t=this.freshName();let n,s;this.isClosureCompilerEnabled&&Sn(e)?(n=Tt(t).set(new We([],[new at(e)])),s=Tt(t).callFn([])):(n=Tt(t).set(e),s=Tt(t)),this.statements.push(n.toDeclStmt(oe,[et.Final])),r.fixup(s)}return r}getDefinition(e,t,n,r=!1){const s=this.definitionsOf(t);let i=s.get(e),o=!1;if(!i){const r=this.propertyNameOf(t);i=new mn(n.importExpr(e).prop(r)),s.set(e,i),o=!0}if(!o&&!i.shared||o&&r){const e=this.freshName();this.statements.push(Tt(e).set(i.resolved).toDeclStmt(oe,[et.Final])),i.fixup(Tt(e))}return i}getLiteralFactory(e){if(e instanceof Ke){const t=e.entries.map(e=>e.isConstant()?e:dn),n=this.keyOf(kt(t));return this._getLiteralFactory(n,e.entries,e=>kt(e))}{const t=Pt(e.entries.map(e=>({key:e.key,value:e.value.isConstant()?e.value:dn,quoted:e.quoted}))),n=this.keyOf(t);return this._getLiteralFactory(n,e.entries.map(e=>e.value),t=>Pt(t.map((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))}}_getLiteralFactory(e,t,n){let r=this.literalFactories.get(e);const s=t.filter(e=>!e.isConstant());if(!r){const s=t.map((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):Tt("a"+t)),i=Ot(s.filter(En).map(e=>new $e(e.name,ie)),[new at(n(s))],oe),o=this.freshName();this.statements.push(Tt(o).set(i).toDeclStmt(oe,[et.Final])),r=Tt(o),this.literalFactories.set(e,r)}return{literalFactory:r,literalFactoryArguments:s}}uniqueName(e){return`${e}${this.nextNameIndex++}`}definitionsOf(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}return Kt("Unknown definition kind "+e),this.componentDefinitions}propertyNameOf(e){switch(e){case 2:return"\u0275cmp";case 1:return"\u0275dir";case 0:return"\u0275inj";case 3:return"\u0275pipe"}return Kt("Unknown definition kind "+e),"<unknown>"}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new gn,fn)}}class gn{constructor(){this.visitWrappedNodeExpr=yn,this.visitWriteVarExpr=yn,this.visitWriteKeyExpr=yn,this.visitWritePropExpr=yn,this.visitInvokeMethodExpr=yn,this.visitInvokeFunctionExpr=yn,this.visitInstantiateExpr=yn,this.visitConditionalExpr=yn,this.visitNotExpr=yn,this.visitAssertNotNullExpr=yn,this.visitCastExpr=yn,this.visitFunctionExpr=yn,this.visitUnaryOperatorExpr=yn,this.visitBinaryOperatorExpr=yn,this.visitReadPropExpr=yn,this.visitReadKeyExpr=yn,this.visitCommaExpr=yn,this.visitLocalizedString=yn}visitLiteralExpr(e){return""+("string"==typeof e.value?'"'+e.value+'"':e.value)}visitLiteralArrayExpr(e,t){return`[${e.entries.map(e=>e.visitExpression(this,t)).join(",")}]`}visitLiteralMapExpr(e,t){return"{"+e.entries.map(e=>`${(e=>{const t=e.quoted?'"':"";return`${t}${e.key}${t}`})(e)}:${e.value.visitExpression(this,t)}`).join(",")}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:"EX:"+e.value.runtime.name}visitReadVarExpr(e){return"VAR:"+e.name}visitTypeofExpr(e,t){return"TYPEOF:"+e.expr.visitExpression(this,t)}}function yn(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function En(e){return e instanceof ye}function Sn(e){return e instanceof Ie&&"string"==typeof e.value&&e.value.length>=50}const xn="@angular/core";class _n{}function bn(e){return{identifier:{reference:e}}}function wn(e,t){return bn(e.resolveExternalReference(t))}_n.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:xn},_n.ElementRef={name:"ElementRef",moduleName:xn},_n.NgModuleRef={name:"NgModuleRef",moduleName:xn},_n.ViewContainerRef={name:"ViewContainerRef",moduleName:xn},_n.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:xn},_n.QueryList={name:"QueryList",moduleName:xn},_n.TemplateRef={name:"TemplateRef",moduleName:xn},_n.Renderer2={name:"Renderer2",moduleName:xn},_n.CodegenComponentFactoryResolver={name:"\u0275CodegenComponentFactoryResolver",moduleName:xn},_n.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:xn},_n.ComponentFactory={name:"ComponentFactory",moduleName:xn},_n.ComponentRef={name:"ComponentRef",moduleName:xn},_n.NgModuleFactory={name:"NgModuleFactory",moduleName:xn},_n.createModuleFactory={name:"\u0275cmf",moduleName:xn},_n.moduleDef={name:"\u0275mod",moduleName:xn},_n.moduleProviderDef={name:"\u0275mpd",moduleName:xn},_n.RegisterModuleFactoryFn={name:"\u0275registerModuleFactory",moduleName:xn},_n.inject={name:"\u0275\u0275inject",moduleName:xn},_n.directiveInject={name:"\u0275\u0275directiveInject",moduleName:xn},_n.INJECTOR={name:"INJECTOR",moduleName:xn},_n.Injector={name:"Injector",moduleName:xn},_n.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:xn},_n.InjectableDef={name:"\u0275\u0275InjectableDef",moduleName:xn},_n.ViewEncapsulation={name:"ViewEncapsulation",moduleName:xn},_n.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:xn},_n.SecurityContext={name:"SecurityContext",moduleName:xn},_n.LOCALE_ID={name:"LOCALE_ID",moduleName:xn},_n.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:xn},_n.inlineInterpolate={name:"\u0275inlineInterpolate",moduleName:xn},_n.interpolate={name:"\u0275interpolate",moduleName:xn},_n.EMPTY_ARRAY={name:"\u0275EMPTY_ARRAY",moduleName:xn},_n.EMPTY_MAP={name:"\u0275EMPTY_MAP",moduleName:xn},_n.Renderer={name:"Renderer",moduleName:xn},_n.viewDef={name:"\u0275vid",moduleName:xn},_n.elementDef={name:"\u0275eld",moduleName:xn},_n.anchorDef={name:"\u0275and",moduleName:xn},_n.textDef={name:"\u0275ted",moduleName:xn},_n.directiveDef={name:"\u0275did",moduleName:xn},_n.providerDef={name:"\u0275prd",moduleName:xn},_n.queryDef={name:"\u0275qud",moduleName:xn},_n.pureArrayDef={name:"\u0275pad",moduleName:xn},_n.pureObjectDef={name:"\u0275pod",moduleName:xn},_n.purePipeDef={name:"\u0275ppd",moduleName:xn},_n.pipeDef={name:"\u0275pid",moduleName:xn},_n.nodeValue={name:"\u0275nov",moduleName:xn},_n.ngContentDef={name:"\u0275ncd",moduleName:xn},_n.unwrapValue={name:"\u0275unv",moduleName:xn},_n.createRendererType2={name:"\u0275crt",moduleName:xn},_n.RendererType2={name:"RendererType2",moduleName:xn},_n.ViewDefinition={name:"\u0275ViewDefinition",moduleName:xn},_n.createComponentFactory={name:"\u0275ccf",moduleName:xn},_n.setClassMetadata={name:"\u0275setClassMetadata",moduleName:xn};class Cn{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}class Tn{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?"."+n.join("."):""}`;let s=this.cache.get(r);return s||(s=new Cn(e,t,n),this.cache.set(r,s)),s}}const In=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Mn(e){return e.replace(/\W/g,"_")}let An=0;function Nn(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof Cn)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=rn(t);return n.indexOf("(")>=0?(n="anonymous_"+An++,t.__anonymousType=n):n=Mn(n),n}function kn(e){const t=e.reference;return t instanceof Cn?t.filePath:"./"+rn(t)}function Pn(e,t){return`View_${Nn({reference:e})}_${t}`}function On(e){return"RenderType_"+Nn({reference:e})}function Rn(e){return"HostView_"+Nn({reference:e})}function Dn(e){return Nn({reference:e})+"NgFactory"}var Fn;function Ln(e){return null!=e.value?Mn(e.value):Nn(e.identifier)}function jn(e){return null!=e.identifier?e.identifier.reference:e.value}!function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(Fn||(Fn={}));class Bn{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=qn(t),this.styleUrls=qn(n)}}class Un{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:s,styleUrls:i,externalStylesheets:o,animations:a,ngContentSelectors:c,interpolation:l,isInline:u,preserveWhitespaces:p}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=qn(s),this.styleUrls=qn(i),this.externalStylesheets=qn(o),this.animations=a?Kn(a):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=u,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}class Vn{constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:s,changeDetection:i,inputs:o,outputs:a,hostListeners:c,hostProperties:l,hostAttributes:u,providers:p,viewProviders:h,queries:d,guards:f,viewQueries:m,entryComponents:v,template:g,componentViewType:y,rendererType:E,componentFactory:S}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=a,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=u,this.providers=qn(p),this.viewProviders=qn(h),this.queries=qn(d),this.guards=f,this.viewQueries=qn(m),this.entryComponents=qn(v),this.template=g,this.componentViewType=y,this.rendererType=E,this.componentFactory=S}static create({isHost:e,type:t,isComponent:n,selector:r,exportAs:s,changeDetection:i,inputs:o,outputs:a,host:c,providers:l,viewProviders:u,queries:p,guards:h,viewQueries:d,entryComponents:f,template:m,componentViewType:v,rendererType:g,componentFactory:y}){const E={},S={},x={};null!=c&&Object.keys(c).forEach(e=>{const t=c[e],n=e.match(In);null===n?x[e]=t:null!=n[1]?S[n[1]]=t:null!=n[2]&&(E[n[2]]=t)});const _={};null!=o&&o.forEach(e=>{const t=Bt(e,[e,e]);_[t[0]]=t[1]});const b={};return null!=a&&a.forEach(e=>{const t=Bt(e,[e,e]);b[t[0]]=t[1]}),new Vn({isHost:e,type:t,isComponent:!!n,selector:r,exportAs:s,changeDetection:i,inputs:_,outputs:b,hostListeners:E,hostProperties:S,hostAttributes:x,providers:l,viewProviders:u,queries:p,guards:h,viewQueries:d,entryComponents:f,template:m,componentViewType:v,rendererType:g,componentFactory:y})}toSummary(){return{summaryKind:Fn.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}class $n{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:Fn.Pipe,type:this.type,name:this.name,pure:this.pure}}}class Wn{}class Hn{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:s,exportedPipes:i,entryComponents:o,bootstrapComponents:a,importedModules:c,exportedModules:l,schemas:u,transitiveModule:p,id:h}){this.type=e||null,this.declaredDirectives=qn(n),this.exportedDirectives=qn(r),this.declaredPipes=qn(s),this.exportedPipes=qn(i),this.providers=qn(t),this.entryComponents=qn(o),this.bootstrapComponents=qn(a),this.importedModules=qn(c),this.exportedModules=qn(l),this.schemas=qn(u),this.id=h||null,this.transitiveModule=p||null}toSummary(){const e=this.transitiveModule;return{summaryKind:Fn.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}class zn{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}function qn(e){return e||[]}class Gn{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:s,deps:i,multi:o}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}}function Kn(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?Kn(t):t;return e.concat(n)},[])}function Zn(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Xn(e,t,n){let r;return r=n.isInline?t.type.reference instanceof Cn?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${Nn(e)}/${Nn(t.type)}.html`:n.templateUrl,t.type.reference instanceof Cn?r:Zn(r)}function Yn(e,t){const n=e.moduleUrl.split(/\/\\/g);return Zn(`css/${t}${n[n.length-1]}.ngstyle.js`)}function Qn(e){return Zn(Nn(e.type)+"/module.ngfactory.js")}function Jn(e,t){return Zn(`${Nn(e)}/${Nn(t.type)}.ngfactory.js`)}const er="@angular/core";class tr{}function nr(e){return Pt(Object.keys(e).map(t=>({key:t,value:e[t],quoted:!1})))}function rr(e,t){if(Array.isArray(e))return kt(e.map(e=>rr(e,t)));if(e instanceof Cn)return t.importExpr(e);if(null==e)return Dt(e);throw new Error("Internal error: Unsupported or unknown metadata: "+e)}function sr(e,t){if(0===t)return At(e);const n=[];for(let r=0;r<t;r++)n.push(ie);return At(e,void 0,n)}tr.NEW_METHOD="factory",tr.TRANSFORM_METHOD="transform",tr.PATCH_DEPS="patchedDeps",tr.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:er},tr.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:er},tr.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:er},tr.element={name:"\u0275\u0275element",moduleName:er},tr.elementStart={name:"\u0275\u0275elementStart",moduleName:er},tr.elementEnd={name:"\u0275\u0275elementEnd",moduleName:er},tr.advance={name:"\u0275\u0275advance",moduleName:er},tr.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:er},tr.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:er},tr.attribute={name:"\u0275\u0275attribute",moduleName:er},tr.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:er},tr.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:er},tr.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:er},tr.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:er},tr.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:er},tr.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:er},tr.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:er},tr.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:er},tr.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:er},tr.classProp={name:"\u0275\u0275classProp",moduleName:er},tr.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:er},tr.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:er},tr.elementContainer={name:"\u0275\u0275elementContainer",moduleName:er},tr.styleMap={name:"\u0275\u0275styleMap",moduleName:er},tr.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:er},tr.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:er},tr.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:er},tr.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:er},tr.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:er},tr.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:er},tr.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:er},tr.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:er},tr.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:er},tr.classMap={name:"\u0275\u0275classMap",moduleName:er},tr.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:er},tr.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:er},tr.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:er},tr.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:er},tr.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:er},tr.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:er},tr.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:er},tr.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:er},tr.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:er},tr.styleProp={name:"\u0275\u0275styleProp",moduleName:er},tr.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:er},tr.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:er},tr.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:er},tr.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:er},tr.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:er},tr.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:er},tr.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:er},tr.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:er},tr.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:er},tr.nextContext={name:"\u0275\u0275nextContext",moduleName:er},tr.templateCreate={name:"\u0275\u0275template",moduleName:er},tr.text={name:"\u0275\u0275text",moduleName:er},tr.enableBindings={name:"\u0275\u0275enableBindings",moduleName:er},tr.disableBindings={name:"\u0275\u0275disableBindings",moduleName:er},tr.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:er},tr.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:er},tr.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:er},tr.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:er},tr.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:er},tr.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:er},tr.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:er},tr.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:er},tr.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:er},tr.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:er},tr.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:er},tr.restoreView={name:"\u0275\u0275restoreView",moduleName:er},tr.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:er},tr.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:er},tr.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:er},tr.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:er},tr.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:er},tr.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:er},tr.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:er},tr.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:er},tr.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:er},tr.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:er},tr.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:er},tr.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:er},tr.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:er},tr.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:er},tr.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:er},tr.hostProperty={name:"\u0275\u0275hostProperty",moduleName:er},tr.property={name:"\u0275\u0275property",moduleName:er},tr.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:er},tr.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:er},tr.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:er},tr.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:er},tr.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:er},tr.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:er},tr.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:er},tr.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:er},tr.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:er},tr.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:er},tr.i18n={name:"\u0275\u0275i18n",moduleName:er},tr.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:er},tr.i18nExp={name:"\u0275\u0275i18nExp",moduleName:er},tr.i18nStart={name:"\u0275\u0275i18nStart",moduleName:er},tr.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:er},tr.i18nApply={name:"\u0275\u0275i18nApply",moduleName:er},tr.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:er},tr.pipe={name:"\u0275\u0275pipe",moduleName:er},tr.projection={name:"\u0275\u0275projection",moduleName:er},tr.projectionDef={name:"\u0275\u0275projectionDef",moduleName:er},tr.reference={name:"\u0275\u0275reference",moduleName:er},tr.inject={name:"\u0275\u0275inject",moduleName:er},tr.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:er},tr.injectPipeChangeDetectorRef={name:"\u0275\u0275injectPipeChangeDetectorRef",moduleName:er},tr.directiveInject={name:"\u0275\u0275directiveInject",moduleName:er},tr.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:er},tr.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:er},tr.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:er},tr.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:er},tr.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:er},tr.resolveBody={name:"\u0275\u0275resolveBody",moduleName:er},tr.defineComponent={name:"\u0275\u0275defineComponent",moduleName:er},tr.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:er},tr.ComponentDefWithMeta={name:"\u0275\u0275ComponentDefWithMeta",moduleName:er},tr.FactoryDef={name:"\u0275\u0275FactoryDef",moduleName:er},tr.defineDirective={name:"\u0275\u0275defineDirective",moduleName:er},tr.DirectiveDefWithMeta={name:"\u0275\u0275DirectiveDefWithMeta",moduleName:er},tr.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:er},tr.defineInjector={name:"\u0275\u0275defineInjector",moduleName:er},tr.NgModuleDefWithMeta={name:"\u0275\u0275NgModuleDefWithMeta",moduleName:er},tr.ModuleWithProviders={name:"ModuleWithProviders",moduleName:er},tr.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:er},tr.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:er},tr.PipeDefWithMeta={name:"\u0275\u0275PipeDefWithMeta",moduleName:er},tr.definePipe={name:"\u0275\u0275definePipe",moduleName:er},tr.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:er},tr.viewQuery={name:"\u0275\u0275viewQuery",moduleName:er},tr.staticViewQuery={name:"\u0275\u0275staticViewQuery",moduleName:er},tr.staticContentQuery={name:"\u0275\u0275staticContentQuery",moduleName:er},tr.loadQuery={name:"\u0275\u0275loadQuery",moduleName:er},tr.contentQuery={name:"\u0275\u0275contentQuery",moduleName:er},tr.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:er},tr.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:er},tr.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:er},tr.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:er},tr.listener={name:"\u0275\u0275listener",moduleName:er},tr.getFactoryOf={name:"\u0275\u0275getFactoryOf",moduleName:er},tr.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:er},tr.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:er},tr.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:er},tr.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:er},tr.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:er},tr.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:er},tr.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:er};function ir(e){return"@"+e}function or(e,t){return`animation_${e}_${t}`}function ar(e){const t=new Se(e);return{value:t,type:t}}const cr=10,lr=41,ur=44,pr=47,hr=58,dr=59,fr=61,mr=62,vr=97,gr=122,yr=123,Er=125;function Sr(e){return e>=9&&e<=32||160==e}function xr(e){return 48<=e&&e<=57}function _r(e){return e>=vr&&e<=gr||e>=65&&e<=90}function br(e){return e===cr||13===e}function wr(e){return 48<=e&&e<=55}class Cr{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let r=this.offset,s=this.line,i=this.col;for(;r>0&&e<0;){r--,e++;if(t.charCodeAt(r)==cr){s--;const e=t.substr(0,r-1).lastIndexOf(String.fromCharCode(cr));i=e>0?r-e:r}else i--}for(;r<n&&e>0;){const n=t.charCodeAt(r);r++,e--,n==cr?(s++,i=0):i++}return new Cr(this.file,r,s,i)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let s=r,i=0,o=0;for(;i<e&&r>0&&(r--,i++,"\n"!=n[r]||++o!=t););for(i=0,o=0;i<e&&s<n.length-1&&(s++,i++,"\n"!=n[s]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,s+1)}}return null}}class Tr{constructor(e,t){this.content=e,this.url=t}}class Ir{constructor(e,t,n=e,r=null){this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var Mr;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(Mr||(Mr={}));class Ar{constructor(e,t,n=Mr.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Mr[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?", "+this.span.details:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}function Nr(e,t){const n=kn(t),r=null!=n?`in ${e} ${Nn(t)} in ${n}`:`in ${e} ${Nn(t)}`,s=new Tr("",r);return new Ir(new Cr(s,-1,-1,-1),new Cr(s,-1,-1,-1))}function kr(e,t,n){const r=new Tr("",`in ${e} ${t} in ${n}`);return new Ir(new Cr(r,-1,-1,-1),new Cr(r,-1,-1,-1))}class Pr{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class Or{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class Rr{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r,this.i18n=s}visit(e){return e.visitTextAttribute(this)}}class Dr{constructor(e,t,n,r,s,i,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.valueSpan=o,this.i18n=a}static fromBoundElementProperty(e,t){return new Dr(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class Fr{constructor(e,t,n,r,s,i,o){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=s,this.sourceSpan=i,this.handlerSpan=o}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new Fr(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan)}visit(e){return e.visitBoundEvent(this)}}class Lr{constructor(e,t,n,r,s,i,o,a,c,l){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=s,this.references=i,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=c,this.i18n=l,0===s.length&&a&&c&&(this.sourceSpan=new Ir(o.start,c.end))}visit(e){return e.visitElement(this)}}class jr{constructor(e,t,n,r,s,i,o,a,c,l,u,p){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=s,this.children=i,this.references=o,this.variables=a,this.sourceSpan=c,this.startSourceSpan=l,this.endSourceSpan=u,this.i18n=p}visit(e){return e.visitTemplate(this)}}class Br{constructor(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}visit(e){return e.visitContent(this)}}class Ur{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}visit(e){return e.visitVariable(this)}}class Vr{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}visit(e){return e.visitReference(this)}}class $r{constructor(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitIcu(this)}}class Wr{visitElement(e){Hr(this,e.attributes),Hr(this,e.children),Hr(this,e.references)}visitTemplate(e){Hr(this,e.attributes),Hr(this,e.children),Hr(this,e.references),Hr(this,e.variables)}visitContent(e){}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}}function Hr(e,t){const n=[];if(e.visit)for(const r of t){e.visit(r)||r.visit(e)}else for(const r of t){const t=r.visit(e);t&&n.push(t)}return n}class zr{constructor(e,t,n,r,s,i){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=s,this.customId=i,this.id=this.customId,this.legacyIds=[],e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class qr{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class Gr{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class Kr{constructor(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}visit(e,t){return e.visitIcu(this,t)}}class Zr{constructor(e,t,n,r,s,i,o,a,c){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=s,this.isVoid=i,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=c}visit(e,t){return e.visitTagPlaceholder(this,t)}}class Xr{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class Yr{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}function Qr(e){return e.id||Jr(e)}function Jr(e){return function(e){const t=nn(e),n=function(e,t){const n=e.length+3>>>2,r=[];for(let s=0;s<n;s++)r[s]=vs(e,4*s,t);return r}(t,us.Big),r=8*t.length,s=pn(80);let i=1732584193,o=4023233417,a=2562383102,c=271733878,l=3285377520;n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(let u=0;u<n.length;u+=16){const e=i,t=o,r=a,p=c,h=l;for(let d=0;d<80;d++){s[d]=d<16?n[u+d]:fs(s[d-3]^s[d-8]^s[d-14]^s[d-16],1);const e=is(d,o,a,c),t=e[0],r=e[1],p=[fs(i,5),t,l,r,s[d]].reduce(ps);l=c,c=a,a=fs(o,30),o=i,i=p}i=ps(i,e),o=ps(o,t),a=ps(a,r),c=ps(c,p),l=ps(l,h)}return function(e){let t="";for(let n=0;n<e.length;n++){const r=ms(e,n);t+=(r>>>4).toString(16)+(15&r).toString(16)}return t.toLowerCase()}(gs([i,o,a,c,l]))}((t=e.nodes,t.map(e=>e.visit(rs,null))).join("")+`[${e.meaning}]`);var t}function es(e){return e.id||ts(e)}function ts(e){const t=new ss;return as(e.nodes.map(e=>e.visit(t,null)).join(""),e.meaning)}class ns{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(e=>e.visit(this)).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const rs=new ns;class ss extends ns{visitIcu(e,t){let n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.type}, ${n.join(", ")}}`}}function is(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function os(e){const t=nn(e);let n=cs(t,0),r=cs(t,102072);return 0!=n||0!=r&&1!=r||(n^=319790063,r^=-1801410264),[n,r]}function as(e,t=""){let n=os(e);if(t){const e=os(t);n=function(e,t){const n=e[0],r=e[1],s=t[0],i=t[1],o=hs(r,i),a=o[0],c=o[1];return[ps(ps(n,s),a),c]}(function(e,t){const n=e[0],r=e[1];return[n<<t|r>>>32-t,r<<t|n>>>32-t]}(n,1),e)}return function(e){let t="",n="1";for(let r=e.length-1;r>=0;r--)t=ys(t,Es(ms(e,r),n)),n=Es(256,n);return t.split("").reverse().join("")}(gs([2147483647&n[0],n[1]]))}function cs(e,t){let n,r=2654435769,s=2654435769;const i=e.length;for(n=0;n+12<=i;n+=12){r=ps(r,vs(e,n,us.Little)),s=ps(s,vs(e,n+4,us.Little));const i=ls(r,s,t=ps(t,vs(e,n+8,us.Little)));r=i[0],s=i[1],t=i[2]}return r=ps(r,vs(e,n,us.Little)),s=ps(s,vs(e,n+4,us.Little)),t=ps(t,i),ls(r,s,t=ps(t,vs(e,n+8,us.Little)<<8))[2]}function ls(e,t,n){return e=ds(e,t),e=ds(e,n),e^=n>>>13,t=ds(t,n),t=ds(t,e),t^=e<<8,n=ds(n,e),n=ds(n,t),n^=t>>>13,e=ds(e,t),e=ds(e,n),e^=n>>>12,t=ds(t,n),t=ds(t,e),t^=e<<16,n=ds(n,e),n=ds(n,t),n^=t>>>5,e=ds(e,t),e=ds(e,n),e^=n>>>3,t=ds(t,n),t=ds(t,e),t^=e<<10,n=ds(n,e),n=ds(n,t),[e,t,n^=t>>>15]}var us;function ps(e,t){return hs(e,t)[1]}function hs(e,t){const n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function ds(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function fs(e,t){return e<<t|e>>>32-t}function ms(e,t){return t>=e.length?0:255&e.charCodeAt(t)}function vs(e,t,n){let r=0;if(n===us.Big)for(let s=0;s<4;s++)r+=ms(e,t+s)<<24-8*s;else for(let s=0;s<4;s++)r+=ms(e,t+s)<<8*s;return r}function gs(e){return e.reduce((e,t)=>e+function(e){let t="";for(let n=0;n<4;n++)t+=String.fromCharCode(e>>>8*(3-n)&255);return t}(t),"")}function ys(e,t){let n="";const r=Math.max(e.length,t.length);for(let s=0,i=0;s<r||i;s++){const r=i+ +(e[s]||0)+ +(t[s]||0);r>=10?(i=1,n+=r-10):(i=0,n+=r)}return n}function Es(e,t){let n="",r=t;for(;0!==e;e>>>=1)1&e&&(n=ys(n,r)),r=ys(r,r);return n}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(us||(us={}));class Ss{createNameMapper(e){return null}}class xs extends class{visitText(e,t){}visitContainer(e,t){e.children.forEach(e=>e.visit(this))}visitIcu(e,t){Object.keys(e.cases).forEach(t=>{e.cases[t].visit(this)})}visitTagPlaceholder(e,t){e.children.forEach(e=>e.visit(this))}visitPlaceholder(e,t){}visitIcuPlaceholder(e,t){}}{constructor(e,t){super(),this.mapName=t,this.internalToPublic={},this.publicToNextId={},this.publicToInternal={},e.nodes.forEach(e=>e.visit(this))}toPublicName(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null}toInternalName(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null}visitText(e,t){return null}visitTagPlaceholder(e,t){this.visitPlaceholderName(e.startName),super.visitTagPlaceholder(e,t),this.visitPlaceholderName(e.closeName)}visitPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitIcuPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitPlaceholderName(e){if(!e||this.internalToPublic.hasOwnProperty(e))return;let t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){const e=this.publicToNextId[t];this.publicToNextId[t]=e+1,t=`${t}_${e}`}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}}const _s=new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map(e=>e.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function bs(e){return e.map(e=>e.visit(_s)).join("")}class ws{constructor(e){this.attrs={},Object.keys(e).forEach(t=>{this.attrs[t]=Ns(e[t])})}visit(e){return e.visitDeclaration(this)}}class Cs{constructor(e,t){this.rootTag=e,this.dtd=t}visit(e){return e.visitDoctype(this)}}class Ts{constructor(e,t={},n=[]){this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(e=>{this.attrs[e]=Ns(t[e])})}visit(e){return e.visitTag(this)}}class Is{constructor(e){this.value=Ns(e)}visit(e){return e.visitText(this)}}class Ms extends Is{constructor(e=0){super("\n"+new Array(e+1).join(" "))}}const As=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[/</g,"<"],[/>/g,">"]];function Ns(e){return As.reduce((e,t)=>e.replace(t[0],t[1]),e)}const ks="messagebundle",Ps="ph",Os="ex";class Rs extends Ss{write(e,t){const n=new Ls,r=new Ds;let s=new Ts(ks);return e.forEach(e=>{const t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);let n=[];e.sources.forEach(e=>{n.push(new Ts("source",{},[new Is(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),s.children.push(new Ms(2),new Ts("msg",t,[...n,...r.serialize(e.nodes)]))}),s.children.push(new Ms),bs([new ws({version:"1.0",encoding:"UTF-8"}),new Ms,new Cs(ks,'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new Ms,n.addDefaultExamples(s),new Ms])}load(e,t){throw new Error("Unsupported")}digest(e){return Fs(e)}createNameMapper(e){return new xs(e,js)}}class Ds{visitText(e,t){return[new Is(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Is(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Is(t+" {"),...e.cases[t].visit(this),new Is("} "))}),n.push(new Is("}")),n}visitTagPlaceholder(e,t){const n=new Is(`<${e.tag}>`),r=new Ts(Os,{},[n]),s=new Ts(Ps,{name:e.startName},[r,n]);if(e.isVoid)return[s];const i=new Is(`</${e.tag}>`),o=new Ts(Os,{},[i]),a=new Ts(Ps,{name:e.closeName},[o,i]);return[s,...this.serialize(e.children),a]}visitPlaceholder(e,t){const n=new Is(`{{${e.value}}}`),r=new Ts(Os,{},[n]);return[new Ts(Ps,{name:e.name},[r,n])]}visitIcuPlaceholder(e,t){const n=e.value.expression,r=e.value.type,s=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),i=new Is(`{${n}, ${r}, ${s}}`),o=new Ts(Os,{},[i]);return[new Ts(Ps,{name:e.name},[o,i])]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}function Fs(e){return es(e)}class Ls{addDefaultExamples(e){return e.visit(this),e}visitTag(e){if(e.name===Ps){if(!e.children||0==e.children.length){const t=new Is(e.attrs.name||"...");e.children=[new Ts(Os,{},[t])]}}else e.children&&e.children.forEach(e=>e.visit(this))}visitText(e){}visitDeclaration(e){}visitDoctype(e){}}function js(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const Bs="i18n",Us="i18n-";function Vs(e){return e===Bs||e.startsWith(Us)}function $s(e){return e instanceof zr}function Ws(e){return $s(e)&&1===e.nodes.length&&e.nodes[0]instanceof Kr}function Hs(e){return!!e.i18n}function zs(e){return e.nodes[0]}function qs(e,t=0){return`\ufffd${e}${t>0?":"+t:""}\ufffd`}function Gs(e=0){let t=e;return()=>t++}function Ks(e){const t={};return e.forEach((e,n)=>{t[n]=Dt(e.length>1?`[${e.join("|")}]`:e[0])}),t}function Zs(e,t,...n){const r=e.get(t)||[];r.push(...n),e.set(t,r)}function Xs(e,t=0,n=0){const r=t,s=new Map,i=e instanceof zr?e.nodes.find(e=>e instanceof Gr):e;return i&&i.children.filter(e=>e instanceof Xr).forEach((e,t)=>{const i=qs(r+t,n);Zs(s,e.name,i)}),s}function Ys(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach(r=>n[Qs(r,t)]=e[r]),n}function Qs(e,t=!0){const n=js(e);if(!t)return n;const r=n.split("_");if(1===r.length)return e.toLowerCase();let s;/^\d+$/.test(r[r.length-1])&&(s=r.pop());let i=r.shift().toLowerCase();return r.length&&(i+=r.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")),s?`${i}_${s}`:i}function Js(e){return("MSG_"+e).toUpperCase()}function ei(e){return new st(e.name,void 0,oe,void 0,e.sourceSpan)}const ti=/[-.]/,ni="_t",ri="ctx",si="rf";function ii(e,t){let n=null;return()=>(n||(e.push(new st(ni,void 0,ie)),n=Tt(t)),n)}function oi(e){if(this)throw new Error(`Builder ${this.constructor.name} doesn't support ${e} yet`);throw new Error(`Feature ${e} is not supported yet`)}function ai(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function ci(e){return Array.isArray(e)?kt(e.map(ci)):Dt(e,oe)}function li(e,t){return Object.getOwnPropertyNames(e).length>0?function(e,t){return Pt(Object.getOwnPropertyNames(e).map(n=>{const r=e[n];let s,i,o;return Array.isArray(r)?[i,s]=r:[s,i]=Bt(n,[n,r]),o=s,{key:o,quoted:ti.test(o),value:t&&i!==s?kt([ci(i),ci(s)]):ci(i)}}))}(e,t):null}function ui(e){for(;Ft(e[e.length-1]);)e.pop();return e}function pi(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach(e=>{const t=e.split(",").map(e=>Dt(e.trim()));n.push(...t)}),t.getConstLiteral(kt(n),!0)}return e.predicate}class hi{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return Pt(this.values)}}function di(e){const t={};return e instanceof jr&&"ng-template"!==e.tagName?e.templateAttrs.forEach(e=>t[e.name]=""):(e.attributes.forEach(e=>{Vs(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(e=>{t[e.name]=""}),e.outputs.forEach(e=>{t[e.name]=""})),t}function fi(e,t,n){let r=It(e,null,n);if(t.length>0)for(let s=0;s<t.length;s++)r=r.callFn(t[s],n);else r=r.callFn([],n);return r}function mi(e){const{expressions:t,strings:n}=e;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}var vi,gi,yi;function Ei(e){const t=Tt("t"),n=[];let r=ue;const s=_i(e)?t:new ze(he.Or,t,e.internalType);let i=null;if(null!==e.deps)"invalid"!==e.deps&&(i=new Te(s,Si(e.deps,e.injectFn,e.target===gi.Pipe)),r=function(e){let t=!1;const n=e.map(e=>{const n=function(e){const t=[];e.resolved===yi.Attribute&&null!==e.attribute&&t.push({key:"attribute",value:e.attribute,quoted:!1});e.optional&&t.push({key:"optional",value:Dt(!0),quoted:!1});e.host&&t.push({key:"host",value:Dt(!0),quoted:!1});e.self&&t.push({key:"self",value:Dt(!0),quoted:!1});e.skipSelf&&t.push({key:"skipSelf",value:Dt(!0),quoted:!1});return t.length>0?Pt(t):null}(e);return null!==n?(t=!0,n):Dt(null)});return t?At(kt(n)):ue}(e.deps));else{const t=Tt(`\u0275${e.name}_BaseFactory`),r=It(tr.getInheritedFactory),o=t.set(r.callFn([e.internalType],void 0,!0)).toDeclStmt(oe,[et.Exported,et.Final]);n.push(o),i=t.callFn([s])}const o=i,a=[];let c=null;function l(e){const n=Tt("r");a.push(n.set(Qe).toDeclStmt());let r=null;return r=null!==o?n.set(o).toStmt():It(tr.invalidFactory).callFn([]).toStmt(),a.push(Rt(t,[r],[n.set(e).toStmt()])),n}if(_i(e)&&e.delegateType===vi.Factory){const t=Tt(`\u0275${e.name}_BaseFactory`),r=It(tr.getFactoryOf);if(e.delegate.isEquivalent(e.internalType))throw new Error("Illegal state: compiling factory that delegates to itself");const s=t.set(r.callFn([e.delegate])).toDeclStmt(oe,[et.Exported,et.Final]);n.push(s),c=l(t.callFn([]))}else if(_i(e)){const t=Si(e.delegateDeps,e.injectFn,e.target===gi.Pipe);c=l(new(e.delegateType===vi.Class?Te:Ce)(e.delegate,t))}else c=function(e){return void 0!==e.expression}(e)?l(e.expression):i;return null!==c?a.push(new at(c)):a.push(It(tr.invalidFactory).callFn([]).toStmt()),{factory:Ot([new $e("t",ie)],a,oe,void 0,e.name+"_Factory"),statements:n,type:At(It(tr.FactoryDef,[sr(e.type.type,e.typeArgumentCount),r]))}}function Si(e,t,n){return e.map((e,r)=>function(e,t,n,r){switch(e.resolved){case yi.Token:case yi.ChangeDetectorRef:const s=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0);let i=0!==s||e.optional?Dt(s):null;if(n&&e.resolved===yi.ChangeDetectorRef)return It(tr.injectPipeChangeDetectorRef).callFn(i?[i]:[]);const o=[e.token];return i&&o.push(i),It(t).callFn(o);case yi.Attribute:return It(tr.injectAttribute).callFn([e.token]);case yi.Invalid:return It(tr.invalidFactoryDep).callFn([Dt(r)]);default:return oi("Unknown R3ResolvedDependencyType: "+yi[e.resolved])}}(e,t,n,r))}function xi(e,t,n){n.resolveExternalReference(_n.Injector);const r=[];for(let s of e.diDeps)if(s.token){const e=jn(s.token);let n=s.isAttribute?yi.Attribute:yi.Token;const i=e instanceof Cn?t.importExpr(e):Dt(e);r.push({token:i,attribute:null,resolved:n,host:!!s.isHost,optional:!!s.isOptional,self:!!s.isSelf,skipSelf:!!s.isSkipSelf})}else oi("dependency without a token");return r}function _i(e){return void 0!==e.delegateType}function bi(e){let t=null;const n={name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:e.typeArgumentCount,deps:[],injectFn:_n.inject,target:gi.Injectable};if(void 0!==e.useClass){const r=e.useClass.isEquivalent(e.internalType);let s=void 0;void 0!==e.userDeps&&(s=e.userDeps),t=void 0!==s?Ei(Object.assign(Object.assign({},n),{delegate:e.useClass,delegateDeps:s,delegateType:vi.Class})):r?Ei(n):wi(e.type.value,e.useClass)}else t=void 0!==e.useFactory?void 0!==e.userDeps?Ei(Object.assign(Object.assign({},n),{delegate:e.useFactory,delegateDeps:e.userDeps||[],delegateType:vi.Function})):{statements:[],factory:Ot([],[new at(e.useFactory.callFn([]))])}:void 0!==e.useValue?Ei(Object.assign(Object.assign({},n),{expression:e.useValue})):void 0!==e.useExisting?Ei(Object.assign(Object.assign({},n),{expression:It(_n.inject).callFn([e.useExisting])})):wi(e.type.value,e.internalType);const r={token:e.internalType,factory:t.factory};null!==e.providedIn.value&&(r.providedIn=e.providedIn);return{expression:It(_n.\u0275\u0275defineInjectable).callFn([nr(r)]),type:new ne(It(_n.InjectableDef,[sr(e.type.type,e.typeArgumentCount)])),statements:t.statements}}function wi(e,t){return{statements:[],factory:e.node===t.node?t.prop("\u0275fac"):Ot([new $e("t",ie)],[new at(t.callMethod("\u0275fac",[Tt("t")]))])}}function Ci(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error(`Expected '${e}' to be an array of strings.`)}}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function",e[e.Factory=2]="Factory"}(vi||(vi={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(gi||(gi={})),function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(yi||(yi={}));const Ti=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ii(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){const e=t[0],n=t[1];Ti.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}class Mi{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(Ii("interpolation",e),new Mi(e[0],e[1])):Ai}}const Ai=new Mi("{{","}}");class Ni{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((r,s)=>{e.set(r,s),t.push(r),n.push(this.sourcesContent.get(r)||null)});let r="",s=0,i=0,o=0,a=0;return this.lines.forEach(t=>{s=0,r+=t.map(t=>{let n=ki(t.col0-s);return s=t.col0,null!=t.sourceUrl&&(n+=ki(e.get(t.sourceUrl)-i),i=e.get(t.sourceUrl),n+=ki(t.sourceLine0-o),o=t.sourceLine0,n+=ki(t.sourceCol0-a),a=t.sourceCol0),n}).join(","),r+=";"}),r=r.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:r}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";e=nn(e);for(let n=0;n<e.length;){const r=e.charCodeAt(n++),s=e.charCodeAt(n++),i=e.charCodeAt(n++);t+=Pi(r>>2),t+=Pi((3&r)<<4|(isNaN(s)?0:s>>4)),t+=isNaN(s)?"=":Pi((15&s)<<2|i>>6),t+=isNaN(s)||isNaN(i)?"=":Pi(63&i)}return t}(JSON.stringify(this,null,0)):""}}function ki(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=Pi(n)}while(e>0);return t}function Pi(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}const Oi=/'|\\|\n|\r|\$/g,Ri=/^[$A-Z_][0-9A-Z_$]*$/i,Di=" ",Fi=Tt("error",null,null),Li=Tt("stack",null,null);class ji{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class Bi{constructor(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new ji(e)]}static createRoot(){return new Bi(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*Di.length+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new ji(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}pushClass(e){this._classes.push(e)}popClass(){return this._classes.pop()}get currentClass(){return this._classes.length>0?this._classes[this._classes.length-1]:null}toSource(){return this.sourceLines.map(e=>e.parts.length>0?$i(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const n=new Ni(e);let r=!1;const s=()=>{r||(n.addSource(e," ").addMapping(0,e,0,0),r=!0)};for(let i=0;i<t;i++)n.addLine(),s();return this.sourceLines.forEach((e,t)=>{n.addLine();const i=e.srcSpans,o=e.parts;let a=e.indent*Di.length,c=0;for(;c<i.length&&!i[c];)a+=o[c].length,c++;for(c<i.length&&0===t&&0===a?r=!0:s();c<i.length;){const e=i[c],t=e.start.file,r=e.start.line,s=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,r,s),a+=o[c].length,c++;c<i.length&&(e===i[c]||!i[c]);)a+=o[c].length,c++}}),n}setPreambleLineCount(e){return this._preambleLineCount=e}spanOf(e,t){const n=this._lines[e-this._preambleLineCount];if(n){let e=t-$i(n.indent).length;for(let t=0;t<n.parts.length;t++){const r=n.parts[t];if(r.length>e)return n.srcSpans[t];e-=r.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class Ui{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof nt?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach(n=>{t.println(e,"// "+n)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitThrowStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null}visitWriteVarExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,e.name+" = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWriteKeyExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWritePropExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitInvokeMethodExpr(e,t){e.receiver.visitExpression(this,t);let n=e.name;return null!=e.builtin&&(n=this.getBuiltinMethodName(e.builtin),null==n)||(t.print(e,`.${n}(`),this.visitAllExpressions(e.args,t,","),t.print(e,")")),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case de.Super:n="super";break;case de.This:n="this";break;case de.CatchError:n=Fi.name;break;case de.CatchStack:n=Li.name;break;default:throw new Error("Unknown builtin variable "+e.builtin)}return t.print(e,n),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,Vi(n,this._escapeDollarInStrings)):t.print(e,""+n),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let r=1;r<e.messageParts.length;r++)t.print(e,"${"),e.expressions[r-1].visitExpression(this,t),t.print(e,"}"+e.serializeI18nTemplatePart(r).raw);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case pe.Plus:n="+";break;case pe.Minus:n="-";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n;switch(e.operator){case he.Equals:n="==";break;case he.Identical:n="===";break;case he.NotEquals:n="!=";break;case he.NotIdentical:n="!==";break;case he.And:n="&&";break;case he.BitwiseAnd:n="&";break;case he.Or:n="||";break;case he.Plus:n="+";break;case he.Minus:n="-";break;case he.Divide:n="/";break;case he.Multiply:n="*";break;case he.Modulo:n="%";break;case he.Lower:n="<";break;case he.LowerEquals:n="<=";break;case he.Bigger:n=">";break;case he.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,Vi(n.key,this._escapeDollarInStrings,n.quoted)+":"),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,n){this.visitAllObjects(e=>e.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,r){let s=!1;for(let i=0;i<t.length;i++)i>0&&(n.lineLength()>80?(n.print(null,r,!0),s||(n.incIndent(),n.incIndent(),s=!0)):n.print(null,r,!1)),e(t[i]);s&&(n.decIndent(),n.decIndent())}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function Vi(e,t,n=!0){if(null==e)return null;const r=e.replace(Oi,(...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]);return n||!Ri.test(r)?`'${r}'`:r}function $i(e){let t="";for(let n=0;n<e;n++)t+=Di;return t}class Wi extends Ui{constructor(){super(!1)}visitDeclareClassStmt(e,t){return t.pushClass(e),this._visitClassConstructor(e,t),null!=e.parent&&(t.print(e,e.name+".prototype = Object.create("),e.parent.visitExpression(this,t),t.println(e,".prototype);")),e.getters.forEach(n=>this._visitClassGetter(e,n,t)),e.methods.forEach(n=>this._visitClassMethod(e,n,t)),t.popClass(),null}_visitClassConstructor(e,t){t.print(e,`function ${e.name}(`),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&e.constructorMethod.body.length>0&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")}_visitClassGetter(e,t,n){n.println(e,`Object.defineProperty(${e.name}.prototype, '${t.name}', { get: function() {`),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"}});")}_visitClassMethod(e,t,n){n.print(e,`${e.name}.prototype.${t.name} = function(`),this._visitParams(t.params,n),n.println(e,") {"),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"};")}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitReadVarExpr(e,t){if(e.builtin===de.This)t.print(e,"self");else{if(e.builtin===de.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");super.visitReadVarExpr(e,t)}return null}visitDeclareVarStmt(e,t){return t.print(e,"var "+e.name),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitCastExpr(e,t){return e.value.visitExpression(this,t),null}visitInvokeFunctionExpr(e,t){const n=e.fn;return n instanceof ye&&n.builtin===de.Super?(t.currentClass.parent.visitExpression(this,t),t.print(e,".call(this"),e.args.length>0&&(t.print(e,", "),this.visitAllExpressions(e.args,t,",")),t.print(e,")")):super.visitInvokeFunctionExpr(e,t),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Fi.name}) {`),t.incIndent();const n=[Li.set(Fi.prop("stack")).toDeclStmt(null,[et.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,'$localize((this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})(');const n=[e.serializeI18nHead()];for(let r=1;r<e.messageParts.length;r++)n.push(e.serializeI18nTemplatePart(r));return t.print(e,`[${n.map(e=>Vi(e.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>Vi(e.raw,!1)).join(", ")}])`),e.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(e=>t.print(null,e.name),e,t,",")}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}}class Hi{evaluateStatements(e,t,n,r){const s=new zi(n),i=Bi.createRoot();return t.length>0&&!t[0].isEquivalent(Dt("use strict").toStmt())&&(t=[Dt("use strict").toStmt(),...t]),s.visitAllStatements(t,i),s.createReturnStmt(i),this.evaluateCode(e,i,s.getArgs(),r)}evaluateCode(e,t,n,r){let s=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const i=[],o=[];for(const c in n)o.push(n[c]),i.push(c);if(r){const n=new Function(...i.concat("return null;")).toString(),r=n.slice(0,n.indexOf("return null;")).split("\n").length-1;s+="\n"+t.toSourceMapGenerator(e,r).toJsComment()}const a=new Function(...i.concat(s));return this.executeFunction(a,o)}executeFunction(e,t){return e(...t)}}class zi extends Wi{constructor(e){super(),this.reflector=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new at(new Xe(this._evalExportedVars.map(e=>new Ze(e,Tt(e),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}visitDeclareClassStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareClassStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);const e=Nn({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${r}`)}n.print(e,this._evalArgNames[r])}}class qi{constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}parameters(e){throw new Error("Not implemented.")}annotations(e){throw new Error("Not implemented.")}shallowAnnotations(e){throw new Error("Not implemented.")}tryAnnotations(e){throw new Error("Not implemented.")}propMetadata(e){throw new Error("Not implemented.")}hasLifecycleHook(e,t){throw new Error("Not implemented.")}guards(e){throw new Error("Not implemented.")}componentModuleUrl(e,t){throw new Error("Not implemented.")}}function Gi(e,t=!1){return Pt(Object.keys(e).map(n=>({key:n,quoted:t,value:e[n]})))}function Ki(e){const{internalType:t,type:n,bootstrap:r,declarations:s,imports:i,exports:o,schemas:a,containsForwardDecls:c,emitInline:l,id:u}=e,p=[],h={type:t};if(r.length&&(h.bootstrap=Yi(r,c)),l)s.length&&(h.declarations=Yi(s,c)),i.length&&(h.imports=Yi(i,c)),o.length&&(h.exports=Yi(o,c));else{const t=function(e){const{adjacentType:t,declarations:n,imports:r,exports:s,containsForwardDecls:i}=e,o={};n.length&&(o.declarations=Yi(n,i));r.length&&(o.imports=Yi(r,i));s.length&&(o.exports=Yi(s,i));if(0===Object.keys(o).length)return null;const a=function(e){const t=new Fe({name:"ngJitMode",moduleName:null}),n=new ze(he.Identical,new Ee(t),Dt("undefined")),r=new ze(he.Or,n,t,void 0,void 0,!0);return new ze(he.And,r,e)}(new Ce(It(tr.setNgModuleScope),[t,nr(o)])),c=new We([],[a.toStmt()]);return new Ce(c,[]).toStmt()}(e);null!==t&&p.push(t)}a&&a.length&&(h.schemas=kt(a.map(e=>e.value))),u&&(h.id=u);return{expression:It(tr.defineNgModule).callFn([nr(h)]),type:new ne(It(tr.NgModuleDefWithMeta,[new ne(n.type),Xi(s),Xi(i),Xi(o)])),additionalStatements:p}}function Zi(e){const t=Ei({name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:0,deps:e.deps,injectFn:tr.inject,target:gi.NgModule}),n={factory:t.factory};null!==e.providers&&(n.providers=e.providers),e.imports.length>0&&(n.imports=kt(e.imports));return{expression:It(tr.defineInjector).callFn([nr(n)]),type:new ne(It(tr.InjectorDef,[new ne(e.type.type)])),statements:t.statements}}function Xi(e){const t=e.map(e=>Nt(e.type));return e.length>0?At(kt(t)):ue}function Yi(e,t){const n=kt(e.map(e=>e.value));return t?Ot([],[new at(n)]):n}function Qi(e){const t=[];t.push({key:"name",value:Dt(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:Dt(e.pure),quoted:!1});return{expression:It(tr.definePipe).callFn([Pt(t)]),type:new ne(It(tr.PipeDefWithMeta,[sr(e.type.type,e.typeArgumentCount),new ne(new Ie(e.pipeName))]))}}class Ji{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message=`Parser Error: ${e} ${n} [${t}] in ${r}`}}class eo{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new To(e+this.start,e+this.end)}}class to{constructor(e,t){this.span=e,this.sourceSpan=t}visit(e,t=null){return null}toString(){return"AST"}}class no extends to{constructor(e,t,n){super(e,t),this.nameSpan=n}}class ro extends to{constructor(e,t,n,r,s){super(e,t),this.prefix=n,this.uninterpretedExpression=r,this.location=s}visit(e,t=null){return e.visitQuote(this,t)}toString(){return"Quote"}}class so extends to{visit(e,t=null){}}class io extends to{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class oo extends to{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class ao extends to{constructor(e,t,n,r,s){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=s}visit(e,t=null){return e.visitConditional(this,t)}}class co extends no{constructor(e,t,n,r,s){super(e,t,n),this.receiver=r,this.name=s}visit(e,t=null){return e.visitPropertyRead(this,t)}}class lo extends no{constructor(e,t,n,r,s,i){super(e,t,n),this.receiver=r,this.name=s,this.value=i}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class uo extends no{constructor(e,t,n,r,s){super(e,t,n),this.receiver=r,this.name=s}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class po extends to{constructor(e,t,n,r){super(e,t),this.obj=n,this.key=r}visit(e,t=null){return e.visitKeyedRead(this,t)}}class ho extends to{constructor(e,t,n,r,s){super(e,t),this.obj=n,this.key=r,this.value=s}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class fo extends no{constructor(e,t,n,r,s,i){super(e,t,i),this.exp=n,this.name=r,this.args=s}visit(e,t=null){return e.visitPipe(this,t)}}class mo extends to{constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class vo extends to{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class go extends to{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e,t=null){return e.visitLiteralMap(this,t)}}class yo extends to{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e,t=null){return e.visitInterpolation(this,t)}}class Eo extends to{constructor(e,t,n,r,s){super(e,t),this.operation=n,this.left=r,this.right=s}visit(e,t=null){return e.visitBinary(this,t)}}class So extends Eo{constructor(e,t,n,r,s,i,o){super(e,t,s,i,o),this.operator=n,this.expr=r}static createMinus(e,t,n){return new So(e,t,"-",n,"-",new mo(e,t,0),n)}static createPlus(e,t,n){return new So(e,t,"+",n,"-",n,new mo(e,t,0))}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class xo extends to{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class _o extends to{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class bo extends no{constructor(e,t,n,r,s,i){super(e,t,n),this.receiver=r,this.name=s,this.args=i}visit(e,t=null){return e.visitMethodCall(this,t)}}class wo extends no{constructor(e,t,n,r,s,i){super(e,t,n),this.receiver=r,this.name=s,this.args=i}visit(e,t=null){return e.visitSafeMethodCall(this,t)}}class Co extends to{constructor(e,t,n,r){super(e,t),this.target=n,this.args=r}visit(e,t=null){return e.visitFunctionCall(this,t)}}class To{constructor(e,t){this.start=e,this.end=t}}class Io extends to{constructor(e,t,n,r,s){super(new eo(0,null===t?0:t.length),new To(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=s}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class Mo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class Ao{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class No{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.obj,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.obj,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitQuote(e,t){}visitAll(e,t){for(const n of e)this.visit(n,t)}}class ko{visitImplicitReceiver(e,t){return e}visitInterpolation(e,t){return new yo(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new mo(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new co(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new lo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new uo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new bo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitSafeMethodCall(e,t){return new wo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitFunctionCall(e,t){return new Co(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new vo(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new go(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return So.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return So.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator "+e.operator)}}visitBinary(e,t){return new Eo(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new xo(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new _o(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new ao(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new fo(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new po(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new ho(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new oo(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new ro(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}}class Po{visitImplicitReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new yo(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new co(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new lo(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new uo(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new bo(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafeMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new wo(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitFunctionCall(e,t){const n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new Co(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new vo(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new go(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return So.createPlus(e.span,e.sourceSpan,n);case"-":return So.createMinus(e.span,e.sourceSpan,n);default:throw new Error("Unknown unary operator "+e.operator)}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new Eo(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new xo(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new _o(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),s=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||s!==e.falseExp?new ao(e.span,e.sourceSpan,n,r,s):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new fo(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.obj.visit(this),r=e.key.visit(this);return n!==e.obj||r!==e.key?new po(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.obj.visit(this),r=e.key.visit(this),s=e.value.visit(this);return n!==e.obj||r!==e.key||s!==e.value?new ho(e.span,e.sourceSpan,n,r,s):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const s=e[r],i=s.visit(this);t[r]=i,n=n||i!==s}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new oo(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}}class Oo{constructor(e,t,n,r,s){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.valueSpan=s,this.isLiteral=this.type===Ro.LITERAL_ATTR,this.isAnimation=this.type===Ro.ANIMATION}}var Ro,Do,Fo;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(Ro||(Ro={}));class Lo{constructor(e,t,n,r,s,i){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=s,this.handlerSpan=i}}class jo{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s}}class Bo{constructor(e,t,n,r,s,i,o){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.valueSpan=o}}class Uo{}Uo.event=Tt("$event");class Vo{constructor(e,t){this.stmts=e,this.allowDefault=t,this.render3Stmts=e.map(e=>{if(e instanceof st&&e.name==t.name&&e.value instanceof ze){const t=e.value.lhs;return new at(t.value)}return e})}}function $o(e,t,n,r,s,i,o){e||(e=new Jo);const a=Wo({createLiteralArrayConverter:e=>e=>kt(e),createLiteralMapConverter:e=>t=>Pt(e.map((e,n)=>({key:e.key,value:t[n],quoted:e.quoted}))),createPipeConverter:e=>{throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+e)}},n),c=new Qo(e,t,r,s,i,o),l=[];!function e(t,n){Array.isArray(t)?t.forEach(t=>e(t,n)):n.push(t)}(a.visit(c,Fo.Statement),l),function(e,t,n){for(let r=e-1;r>=0;r--)n.unshift(Ko(t,r))}(c.temporaryCount,r,l),c.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const u=l.length-1;let p=null;if(u>=0){const e=function(e){if(e instanceof ot)return e.expr;if(e instanceof at)return e.value;return null}(l[u]);e&&(p=function(e){return Tt("pd_"+e)}(r),l[u]=p.set(e.cast(ie).notIdentical(Dt(!1))).toDeclStmt(null,[et.Final]))}return new Vo(l,p)}function Wo(e,t){return function(e,t){const n=new Yo(e);return t.visit(n)}(e,t)}class Ho{constructor(e,t){this.stmts=e,this.currValExpr=t}}function zo(e,t,n,r,s,i){e||(e=new Jo);const o=new Qo(e,t,r,i),a=n.visit(o,Fo.Expression),c=qo(o,r);if(o.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===o.temporaryCount&&s==Do.TrySimple)return new Ho([],a);if(s===Do.Expression)return new Ho(c,a);const l=function(e){return Tt("currVal_"+e)}(r);return c.push(l.set(a).toDeclStmt(ie,[et.Final])),new Ho(c,l)}function qo(e,t){const n=[];for(let r=0;r<e.temporaryCount;r++)n.push(Ko(t,r));return n}function Go(e,t){return`tmp_${e}_${t}`}function Ko(e,t){return new st(Go(e,t),Qe)}function Zo(e,t){if(e!==Fo.Expression)throw new Error("Expected an expression, but saw "+t)}function Xo(e,t){return e===Fo.Statement?t.toStmt():t}!function(e){e[e.General=0]="General",e[e.TrySimple=1]="TrySimple",e[e.Expression=2]="Expression"}(Do||(Do={})),function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}(Fo||(Fo={}));class Yo extends ko{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const n=[e.exp,...e.args].map(e=>e.visit(this,t));return new ea(e.span,e.sourceSpan,n,this._converterFactory.createPipeConverter(e.name,n.length))}visitLiteralArray(e,t){const n=e.expressions.map(e=>e.visit(this,t));return new ea(e.span,e.sourceSpan,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const n=e.values.map(e=>e.visit(this,t));return new ea(e.span,e.sourceSpan,n,this._converterFactory.createLiteralMapConverter(e.keys))}}class Qo{constructor(e,t,n,r,s,i){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=s,this.implicitReceiverAccesses=i,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let n;switch(e.operator){case"+":n=pe.Plus;break;case"-":n=pe.Minus;break;default:throw new Error("Unsupported operator "+e.operator)}return Xo(t,new He(n,this._visit(e.expr,Fo.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let n;switch(e.operation){case"+":n=he.Plus;break;case"-":n=he.Minus;break;case"*":n=he.Multiply;break;case"/":n=he.Divide;break;case"%":n=he.Modulo;break;case"&&":n=he.And;break;case"||":n=he.Or;break;case"==":n=he.Equals;break;case"!=":n=he.NotEquals;break;case"===":n=he.Identical;break;case"!==":n=he.NotIdentical;break;case"<":n=he.Lower;break;case">":n=he.Bigger;break;case"<=":n=he.LowerEquals;break;case">=":n=he.BiggerEquals;break;default:throw new Error("Unsupported operation "+e.operation)}return Xo(t,new ze(n,this._visit(e.left,Fo.Expression),this._visit(e.right,Fo.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function(e,t){if(e!==Fo.Statement)throw new Error("Expected a statement, but saw "+t)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return Xo(t,this._visit(e.condition,Fo.Expression).conditional(this._visit(e.trueExp,Fo.Expression),this._visit(e.falseExp,Fo.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+e.name)}visitFunctionCall(e,t){const n=this.visitAll(e.args,Fo.Expression);let r;return r=e instanceof ea?e.converter(n):this._visit(e.target,Fo.Expression).callFn(n,this.convertSourceSpan(e.span)),Xo(t,r)}visitImplicitReceiver(e,t){return Zo(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitInterpolation(e,t){Zo(t,e);const n=[Dt(e.expressions.length)];for(let r=0;r<e.strings.length-1;r++)n.push(Dt(e.strings[r])),n.push(this._visit(e.expressions[r],Fo.Expression));return n.push(Dt(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(n):e.expressions.length<=9?It(_n.inlineInterpolate).callFn(n):It(_n.interpolate).callFn([n[0],kt(n.slice(1),void 0,this.convertSourceSpan(e.span))])}visitKeyedRead(e,t){const n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):Xo(t,this._visit(e.obj,Fo.Expression).key(this._visit(e.key,Fo.Expression)))}visitKeyedWrite(e,t){const n=this._visit(e.obj,Fo.Expression),r=this._visit(e.key,Fo.Expression),s=this._visit(e.value,Fo.Expression);return Xo(t,n.key(r).set(s))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?oe:void 0;return Xo(t,Dt(e.value,n,this.convertSourceSpan(e.span)))}_getLocal(e){return this._localResolver.getLocal(e)}visitMethodCall(e,t){if(e.receiver instanceof io&&"$any"==e.name){const t=this.visitAll(e.args,Fo.Expression);if(1!=t.length)throw new Error("Invalid call to $any, expected 1 argument but received "+(t.length||"none"));return t[0].cast(ie,this.convertSourceSpan(e.span))}const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{const n=this.visitAll(e.args,Fo.Expression),r=this.usesImplicitReceiver;let s=null;const i=this._visit(e.receiver,Fo.Expression);if(i===this._implicitReceiver){const t=this._getLocal(e.name);t&&(this.usesImplicitReceiver=r,s=t.callFn(n)),this.addImplicitReceiverAccess(e.name)}return null==s&&(s=i.callMethod(e.name,n,this.convertSourceSpan(e.span))),Xo(t,s)}}visitPrefixNot(e,t){return Xo(t,(n=this._visit(e.expression,Fo.Expression),new Be(n,r)));var n,r}visitNonNullAssert(e,t){return Xo(t,(n=this._visit(e.expression,Fo.Expression),new Ue(n,r)));var n,r}visitPropertyRead(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{let n=null;const r=this.usesImplicitReceiver,s=this._visit(e.receiver,Fo.Expression);return s===this._implicitReceiver&&(n=this._getLocal(e.name),n&&(this.usesImplicitReceiver=r),this.addImplicitReceiverAccess(e.name)),null==n&&(n=s.prop(e.name)),Xo(t,n)}}visitPropertyWrite(e,t){const n=this._visit(e.receiver,Fo.Expression),r=this.usesImplicitReceiver;let s=null;if(n===this._implicitReceiver){const t=this._getLocal(e.name);if(t){if(!(t instanceof qe)){const t=e.name,n=e.value instanceof co?e.value.name:void 0;throw new Error(`Cannot assign value "${n}" to template variable "${t}". Template variables are read-only.`)}s=t,this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name)}}return null===s&&(s=n.prop(e.name)),Xo(t,s.set(this._visit(e.value,Fo.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeMethodCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map(e=>this._visit(e,t))}visitQuote(e,t){throw new Error(`Quotes are not supported for evaluation!\n Statement: ${e.uninterpretedExpression} located at ${e.location}`)}_visit(e,t){const n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)}convertSafeAccess(e,t,n){let r=this._visit(t.receiver,Fo.Expression),s=void 0;this.needsTemporary(t.receiver)&&(s=this.allocateTemporary(),r=s.set(r),this._resultMap.set(t.receiver,s));const i=r.isBlank();t instanceof wo?this._nodeMap.set(t,new bo(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name,t.args)):this._nodeMap.set(t,new co(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const o=this._visit(e,Fo.Expression);return this._nodeMap.delete(t),s&&this.releaseTemporary(s),Xo(n,i.conditional(Dt(null),o))}leftMostSafeNode(e){const t=(e,t)=>(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary:e=>null,visitBinary:e=>null,visitChain:e=>null,visitConditional:e=>null,visitFunctionCall:e=>null,visitImplicitReceiver:e=>null,visitInterpolation:e=>null,visitKeyedRead(e){return t(this,e.obj)},visitKeyedWrite:e=>null,visitLiteralArray:e=>null,visitLiteralMap:e=>null,visitLiteralPrimitive:e=>null,visitMethodCall(e){return t(this,e.receiver)},visitPipe:e=>null,visitPrefixNot:e=>null,visitNonNullAssert:e=>null,visitPropertyRead(e){return t(this,e.receiver)},visitPropertyWrite:e=>null,visitQuote:e=>null,visitSafeMethodCall(e){return t(this,e.receiver)||e},visitSafePropertyRead(e){return t(this,e.receiver)||e}})}needsTemporary(e){const t=(e,t)=>t&&(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return t(this,e.expr)},visitBinary(e){return t(this,e.left)||t(this,e.right)},visitChain:e=>!1,visitConditional(e){return t(this,e.condition)||t(this,e.trueExp)||t(this,e.falseExp)},visitFunctionCall:e=>!0,visitImplicitReceiver:e=>!1,visitInterpolation(e){return((e,n)=>n.some(n=>t(e,n)))(this,e.expressions)},visitKeyedRead:e=>!1,visitKeyedWrite:e=>!1,visitLiteralArray:e=>!0,visitLiteralMap:e=>!0,visitLiteralPrimitive:e=>!1,visitMethodCall:e=>!0,visitPipe:e=>!0,visitPrefixNot(e){return t(this,e.expression)},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead:e=>!1,visitPropertyWrite:e=>!1,visitQuote:e=>!1,visitSafeMethodCall:e=>!0,visitSafePropertyRead:e=>!1})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ye(Go(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=Go(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end),r=this.baseSourceSpan.fullStart.moveBy(e.start);return new Ir(t,n,r)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}class Jo{notifyImplicitReceiverUse(){}getLocal(e){return e===Uo.event.name?Uo.event:null}}class ea extends Co{constructor(e,t,n,r){super(e,t,null,n),this.args=n,this.converter=r}}class ta{constructor(){this.strictStyling=!0}shimCssText(e,t,n=""){const r=e.match(Sa)||[];e=function(e){return e.replace(Ea,"")}(e),e=this._insertDirectives(e);return[this._scopeCssText(e,t,n),...r].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(ra,(function(...e){return e[2]+"{"}))}_insertPolyfillRulesInCssText(e){return e.replace(sa,(...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t})}_scopeCssText(e,t,n){const r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(ia.lastIndex=0;null!==(t=ia.exec(e));){n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return n}_convertColonHost(e){return this._convertColonRule(e,la,this._colonHostPartReplacer)}_convertColonHostContext(e){return this._convertColonRule(e,ua,this._colonHostContextPartReplacer)}_convertColonRule(e,t,n){return e.replace(t,(function(...e){if(e[2]){const t=e[2].split(","),r=[];for(let s=0;s<t.length;s++){const i=t[s].trim();if(!i)break;r.push(n(pa,i,e[3]))}return r.join(",")}return pa+e[3]}))}_colonHostContextPartReplacer(e,t,n){return t.indexOf(oa)>-1?this._colonHostPartReplacer(e,t,n):e+t+n+", "+t+" "+e+n}_colonHostPartReplacer(e,t,n){return e+t.replace(oa,"")+n}_convertShadowDOMSelectors(e){return da.reduce((e,t)=>e.replace(t," "),e)}_scopeSelectors(e,t,n){return function(e,t){const n=Aa(e,Ta,_a),r=Aa(n.escapedString,Ca,xa);let s=0,i=0;return r.escapedString.replace(ba,(...e)=>{const n=e[2];let i="",o=e[4],a="";o&&o.startsWith("{%BLOCK%")&&(i=r.blocks[s++],o=o.substring(xa.length+1),a="{");const c=t(new Ia(n,i));return`${e[1]}${c.selector}${e[3]}${a}${c.content}${o}`}).replace(wa,()=>n.blocks[i++])}(e,e=>{let r=e.selector,s=e.content;return"@"!=e.selector[0]?r=this._scopeSelector(e.selector,t,n,this.strictStyling):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(s=this._scopeSelectors(e.content,t,n)),new Ia(r,s)})}_scopeSelector(e,t,n,r){return e.split(",").map(e=>e.trim().split(fa)).map(e=>{const[s,...i]=e;return[(e=>this._selectorNeedsScoping(e,t)?r?this._applyStrictSelectorScope(e,t,n):this._applySelectorScope(e,t,n):e)(s),...i].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+ma,"m")}_applySelectorScope(e,t,n){return this._applySimpleSelectorScope(e,t,n)}_applySimpleSelectorScope(e,t,n){if(va.lastIndex=0,va.test(e)){const r=this.strictStyling?`[${n}]`:t;return e.replace(ha,(e,t)=>t.replace(/([^:]*)(:*)(.*)/,(e,t,n,s)=>t+r+n+s)).replace(va,r+" ")}return t+" "+e}_applyStrictSelectorScope(e,t,n){const r="["+(t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0]))+"]",s=e=>{let s=e.trim();if(!s)return"";if(e.indexOf(pa)>-1)s=this._applySimpleSelectorScope(e,t,n);else{const t=e.replace(va,"");if(t.length>0){const e=t.match(/([^:]*)(:*)(.*)/);e&&(s=e[1]+r+e[2]+e[3])}}return s},i=new na(e);let o,a="",c=0;const l=/( |>|\+|~(?!=))\s*/g;let u=!((e=i.content()).indexOf(pa)>-1);for(;null!==(o=l.exec(e));){const t=o[1],n=e.slice(c,o.index).trim();u=u||n.indexOf(pa)>-1;a+=`${u?s(n):n} ${t} `,c=l.lastIndex}const p=e.substring(c);return u=u||p.indexOf(pa)>-1,a+=u?s(p):p,i.restore(a)}_insertPolyfillHostInCssText(e){return e.replace(ya,aa).replace(ga,oa)}}class na{constructor(e){this.placeholders=[],this.index=0,e=e.replace(/(\[[^\]]*\])/g,(e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n}),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,t,n)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+r})}restore(e){return e.replace(/__ph-(\d+)__/g,(e,t)=>this.placeholders[+t])}content(){return this._content}}const ra=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,sa=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ia=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,oa="-shadowcsshost",aa="-shadowcsscontext",ca=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",la=new RegExp("("+oa+ca,"gim"),ua=new RegExp("("+aa+ca,"gim"),pa=oa+"-no-combinator",ha=/-shadowcsshost-no-combinator([^\s]*)/,da=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],fa=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,ma="([>\\s~+[.,{:][\\s\\S]*)?$",va=/-shadowcsshost/gim,ga=/:host/gim,ya=/:host-context/gim,Ea=/\/\*\s*[\s\S]*?\*\//g;const Sa=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const xa="%BLOCK%",_a="%QUOTED%",ba=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,wa=/%QUOTED%/g,Ca=new Map([["{","}"]]),Ta=new Map([['"','"'],["'","'"]]);class Ia{constructor(e,t){this.selector=e,this.content=t}}class Ma{constructor(e,t){this.escapedString=e,this.blocks=t}}function Aa(e,t,n){const r=[],s=[];let i,o,a=0,c=0,l=-1;for(let u=0;u<e.length;u++){const p=e[u];"\\"===p?u++:p===o?(a--,0===a&&(s.push(e.substring(l,u)),r.push(n),c=u,l=-1,i=o=void 0)):p===i?a++:0===a&&t.has(p)&&(i=p,o=t.get(p),a=1,l=u+1,r.push(e.substring(c,l)))}return-1!==l?(s.push(e.substring(l)),r.push(n)):r.push(e.substring(c)),new Ma(r.join(""),s)}const Na="_nghost-%COMP%",ka="_ngcontent-%COMP%";class Pa{constructor(e,t,n){this.name=e,this.moduleUrl=t,this.setValue=n}}class Oa{constructor(e,t,n,r,s){this.outputCtx=e,this.stylesVar=t,this.dependencies=n,this.isShimmed=r,this.meta=s}}class Ra{constructor(e){this._urlResolver=e,this._shadowCss=new ta}compileComponent(e,t){const n=t.template;return this._compileStyles(e,t,new Bn({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:kn(t.type)}),this.needsStyleShim(t),!0)}compileStyles(e,t,n,r=this.needsStyleShim(t)){return this._compileStyles(e,t,n,r,!1)}needsStyleShim(e){return e.template.encapsulation===A.Emulated}_compileStyles(e,t,n,r,s){const i=n.styles.map(e=>Dt(this._shimIfNeeded(e,r))),o=[];n.styleUrls.forEach(t=>{const n=i.length;i.push(null),o.push(new Pa(Da(null),t,t=>i[n]=e.importExpr(t)))});const a=Da(s?t:null),c=Tt(a).set(kt(i,new re(ie,[Y.Const]))).toDeclStmt(null,s?[et.Final]:[et.Final,et.Exported]);return e.statements.push(c),new Oa(e,a,o,r,n)}_shimIfNeeded(e,t){return t?this._shadowCss.shimCssText(e,ka,Na):e}}function Da(e){let t="styles";return e&&(t+="_"+Nn(e.type)),t}class Fa{constructor(e,t=-1){this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let n=this.path[t];if(n instanceof e)return n}}push(e){this.path.push(e)}pop(){return this.path.pop()}}class La{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class ja extends La{constructor(e,t,n){super(t,n),this.value=e}visit(e,t){return e.visitText(this,t)}}class Ba extends La{constructor(e,t,n,r,s,i){super(r,i),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=s}visit(e,t){return e.visitExpansion(this,t)}}class Ua{constructor(e,t,n,r,s){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=s}visit(e,t){return e.visitExpansionCase(this,t)}}class Va extends La{constructor(e,t,n,r,s){super(n,s),this.name=e,this.value=t,this.valueSpan=r}visit(e,t){return e.visitAttribute(this,t)}}class $a extends La{constructor(e,t,n,r,s=null,i=null,o){super(r,o),this.name=e,this.attrs=t,this.children=n,this.startSourceSpan=s,this.endSourceSpan=i}visit(e,t){return e.visitElement(this,t)}}class Wa{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function Ha(e,t,n=null){const r=[],s=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=s(e);t&&r.push(t)}),r}class za{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){return this.visitChildren(t,t=>{t(e.cases)})}visitExpansionCase(e,t){}visitChildren(e,t){let n=[],r=this;return t((function(t){t&&n.push(Ha(r,t,e))})),Array.prototype.concat.apply([],n)}}function qa(e,t){const n=[];return Ha(new class extends za{visit(e,r){const s=function e(t){const n=t.sourceSpan.start.offset;let r=t.sourceSpan.end.offset;return t instanceof $a&&(t.endSourceSpan?r=t.endSourceSpan.end.offset:t.children&&t.children.length&&(r=e(t.children[t.children.length-1]).end)),{start:n,end:r}}(e);if(!(s.start<=t&&t<s.end))return!0;n.push(e)}},e),new Fa(n,t)}var Ga;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE=14]="DOC_TYPE",e[e.EXPANSION_FORM_START=15]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=16]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=17]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=18]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=19]="EXPANSION_FORM_END",e[e.EOF=20]="EOF"}(Ga||(Ga={}));class Ka{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}}class Za extends Ar{constructor(e,t,n){super(n,e),this.tokenType=t}}class Xa{constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}function Ya(e,t,n,r={}){const s=new rc(new Tr(e,t),n,r);return s.tokenize(),new Xa(function(e){const t=[];let n=void 0;for(let r=0;r<e.length;r++){const s=e[r];n&&n.type==Ga.TEXT&&s.type==Ga.TEXT?(n.parts[0]+=s.parts[0],n.sourceSpan.end=s.sourceSpan.end):(n=s,t.push(n))}return t}(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}const Qa=/\r\n?/g;function Ja(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function ec(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var tc;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(tc||(tc={}));class nc{constructor(e){this.error=e}}class rc{constructor(e,t,n){this._getTagDefinition=t,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||Ai,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0);const r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new uc(e,r):new lc(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(s){this.handleError(s)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Qa,"\n")}tokenize(){for(;0!==this._cursor.peek();){const t=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(45)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(pr)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}this._beginToken(Ga.EOF),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(this._cursor.peek()!==Er&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Er){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new Za("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new Za("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const n=new Ka(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new Za(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new nc(n)}handleError(e){if(e instanceof pc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof nc))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),n=e,cc(t)==cc(n)&&(this._cursor.advance(),!0);var t,n}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Ja(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(Ja(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(Ja(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&38===this._cursor.peek())return this._decodeEntity();{const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){const e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(35)){const t=this._cursor.clone();if(this._attemptCharCodeUntilFn(ac),this._cursor.peek()!=dr)return this._cursor=t,"&";const n=this._cursor.getChars(t);this._cursor.advance();const r=u[n];if(!r)throw this._createError(ec(n),this._cursor.getSpan(e));return r}{const r=this._attemptCharCode(120)||this._attemptCharCode(88),s=this._cursor.clone();if(this._attemptCharCodeUntilFn(oc),this._cursor.peek()!=dr){this._cursor.advance();const n=r?tc.HEX:tc.DEC;throw this._createError((t=n,`Unable to parse entity "${this._cursor.getChars(e)}" - ${t} character reference entities must end with ";"`),this._cursor.getSpan())}const i=this._cursor.getChars(s);this._cursor.advance();try{const e=parseInt(i,r?16:10);return String.fromCharCode(e)}catch(n){throw this._createError(ec(this._cursor.getChars(e)),this._cursor.getSpan())}}var t}_consumeRawText(e,t){this._beginToken(e?Ga.ESCAPABLE_RAW_TEXT:Ga.RAW_TEXT);const n=[];for(;;){const r=this._cursor.clone(),s=t();if(this._cursor=r,s)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(Ga.COMMENT_START,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(Ga.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(Ga.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(Ga.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(Ga.DOC_TYPE,e);const t=this._cursor.clone();this._attemptUntilChar(mr);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;this._cursor.peek()!==hr&&!(((n=this._cursor.peek())<vr||gr<n)&&(n<65||90<n)&&(n<48||n>57));)this._cursor.advance();var n;let r;this._cursor.peek()===hr?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(ic,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,n,s,i=this.tokens.length;const o=this._cursor.clone();try{if(!_r(this._cursor.peek()))throw this._createError(Ja(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],t=s.parts[1],this._attemptCharCodeUntilFn(sc);this._cursor.peek()!==pr&&this._cursor.peek()!==mr;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(sc),this._attemptCharCode(fr)&&(this._attemptCharCodeUntilFn(sc),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(sc);this._consumeTagOpenEnd()}catch(c){if(c instanceof nc)return this._cursor=o,s&&(this.tokens.length=i),this._beginToken(Ga.TEXT,e),void this._endToken(["<"]);throw c}const a=this._getTagDefinition(t).contentType;a===r.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):a===r.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!!this._attemptCharCode(60)&&(!!this._attemptCharCode(pr)&&(this._attemptCharCodeUntilFn(sc),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(sc),this._attemptCharCode(mr)))));this._beginToken(Ga.TAG_CLOSE),this._requireCharCodeUntilFn(e=>e===mr,3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(Ga.TAG_OPEN_START,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(Ja(e),this._cursor.getSpan());this._beginToken(Ga.ATTR_NAME);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){this._beginToken(Ga.ATTR_QUOTE);const t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(Ga.ATTR_VALUE);const n=[];for(;this._cursor.peek()!==t;)n.push(this._readChar(!0));e=n.join(""),this._endToken([this._processCarriageReturns(e)]),this._beginToken(Ga.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(Ga.ATTR_VALUE);const t=this._cursor.clone();this._requireCharCodeUntilFn(ic,1),e=this._cursor.getChars(t),this._endToken([this._processCarriageReturns(e)])}}_consumeTagOpenEnd(){const e=this._attemptCharCode(pr)?Ga.TAG_OPEN_END_VOID:Ga.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(mr),this._endToken([])}_consumeTagClose(e){this._beginToken(Ga.TAG_CLOSE,e),this._attemptCharCodeUntilFn(sc);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(sc),this._requireCharCode(mr),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(Ga.EXPANSION_FORM_START),this._requireCharCode(yr),this._endToken([]),this._expansionCaseStack.push(Ga.EXPANSION_FORM_START),this._beginToken(Ga.RAW_TEXT);const e=this._readUntil(ur),t=this._processCarriageReturns(e);if(this._escapedString||this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(ur),this._attemptCharCodeUntilFn(sc),this._beginToken(Ga.RAW_TEXT);const n=this._readUntil(ur);this._endToken([n]),this._requireCharCode(ur),this._attemptCharCodeUntilFn(sc)}_consumeExpansionCaseStart(){this._beginToken(Ga.EXPANSION_CASE_VALUE);const e=this._readUntil(yr).trim();this._endToken([e]),this._attemptCharCodeUntilFn(sc),this._beginToken(Ga.EXPANSION_CASE_EXP_START),this._requireCharCode(yr),this._endToken([]),this._attemptCharCodeUntilFn(sc),this._expansionCaseStack.push(Ga.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(Ga.EXPANSION_CASE_EXP_END),this._requireCharCode(Er),this._endToken([]),this._attemptCharCodeUntilFn(sc),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(Ga.EXPANSION_FORM_END),this._requireCharCode(Er),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){const e=this._cursor.clone();this._beginToken(Ga.TEXT,e);const t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}_isTextEnd(){if(60===this._cursor.peek()||0===this._cursor.peek())return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===Er&&this._isInExpansionCase())return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ga.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ga.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==yr)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function sc(e){return!Sr(e)||0===e}function ic(e){return Sr(e)||e===mr||e===pr||39===e||34===e||e===fr}function oc(e){return e==dr||0==e||!function(e){return e>=vr&&e<=102||e>=65&&e<=70||xr(e)}(e)}function ac(e){return e==dr||0==e||!_r(e)}function cc(e){return e>=vr&&e<=gr?e-vr+65:e}class lc{constructor(e,t){if(e instanceof lc){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new lc(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const r=this.locationFromCursor(e),s=this.locationFromCursor(this),i=n!==e?this.locationFromCursor(n):r;return new Ir(r,s,i)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new pc('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===cr?(e.line++,e.column=0):br(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Cr(e.file,e.state.offset,e.state.line,e.state.column)}}class uc extends lc{constructor(e,t){e instanceof uc?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new uc(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),110===e())this.state.peek=cr;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===yr){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;e()!==Er;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(wr(e())){let t="",n=0,r=this.clone();for(;wr(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else br(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new pc("Invalid hexadecimal escape sequence",e);return r}}class pc{constructor(e,t){this.msg=e,this.cursor=t}}class hc extends Ar{constructor(e,t,n){super(t,n),this.elementName=e}static create(e,t,n){return new hc(e,t,n)}}class dc{constructor(e,t){this.rootNodes=e,this.errors=t}}class fc{constructor(e){this.getTagDefinition=e}parse(e,t,n){const r=Ya(e,t,this.getTagDefinition,n),s=new mc(r.tokens,this.getTagDefinition);return s.build(),new dc(s.rootNodes,r.errors.concat(s.errors))}}class mc{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==Ga.EOF;)this._peek.type===Ga.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ga.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Ga.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ga.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ga.TEXT||this._peek.type===Ga.RAW_TEXT||this._peek.type===Ga.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ga.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(Ga.CDATA_END)}_consumeComment(e){const t=this._advanceIf(Ga.RAW_TEXT);this._advanceIf(Ga.COMMENT_END);const n=null!=t?t.parts[0].trim():null;this._addToParent(new Wa(n,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===Ga.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==Ga.EXPANSION_FORM_END)return void this.errors.push(hc.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const s=new Ir(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Ba(t.parts[0],n.parts[0],r,s,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==Ga.EXPANSION_CASE_EXP_START)return this.errors.push(hc.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const r=this._advance();n.push(new Ka(Ga.EOF,[],r.sourceSpan));const s=new mc(n,this.getTagDefinition);if(s.build(),s.errors.length>0)return this.errors=this.errors.concat(s.errors),null;const i=new Ir(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart),o=new Ir(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);return new Ua(e.parts[0],s.rootNodes,i,e.sourceSpan,o)}_collectExpansionExpTokens(e){const t=[],n=[Ga.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==Ga.EXPANSION_FORM_START&&this._peek.type!==Ga.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Ga.EXPANSION_CASE_EXP_END){if(!vc(n,Ga.EXPANSION_CASE_EXP_START))return this.errors.push(hc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===Ga.EXPANSION_FORM_END){if(!vc(n,Ga.EXPANSION_FORM_START))return this.errors.push(hc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Ga.EOF)return this.errors.push(hc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){const e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new ja(t,e.sourceSpan))}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const t=e.parts[0],n=e.parts[1],r=[];for(;this._peek.type===Ga.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));const s=this._getElementFullName(t,n,this._getParentElement());let i=!1;if(this._peek.type===Ga.TAG_OPEN_END_VOID){this._advance(),i=!0;const t=this.getTagDefinition(s);t.canSelfClose||null!==c(s)||t.isVoid||this.errors.push(hc.create(s,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===Ga.TAG_OPEN_END&&(this._advance(),i=!1);const o=this._peek.sourceSpan.start,a=new Ir(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new Ir(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new $a(s,r,[],a,l,void 0);this._pushElement(u),i&&this._popElement(s,a)}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(hc.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const n=`Unexpected closing tag "${t}". 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`;this.errors.push(hc.create(t,e.sourceSpan,n))}}_popElement(e,t){for(let n=this._elementStack.length-1;n>=0;n--){const r=this._elementStack[n];if(r.name==e)return r.endSourceSpan=t,this._elementStack.splice(n,this._elementStack.length-n),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){const t=l(e.parts[0],e.parts[1]);let n=e.sourceSpan.end,r="",s=void 0;if(this._peek.type===Ga.ATTR_QUOTE&&this._advance(),this._peek.type===Ga.ATTR_VALUE){const e=this._advance();r=e.parts[0],n=e.sourceSpan.end,s=e.sourceSpan}if(this._peek.type===Ga.ATTR_QUOTE){n=this._advance().sourceSpan.end}return new Va(t,r,new Ir(e.sourceSpan.start,n,e.sourceSpan.fullStart),s)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,n){if(""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n){const t=s(n.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=c(n.name))}return l(e,t)}}function vc(e,t){return e.length>0&&e[e.length-1]===t}class gc extends fc{constructor(){super(m)}parse(e,t,n){return super.parse(e,t,n)}}const yc="ngPreserveWhitespaces",Ec=new Set(["pre","template","textarea","script","style"]),Sc=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",xc=new RegExp(`[^${Sc}]`),_c=new RegExp(`[${Sc}]{2,}`,"g");function bc(e){return e.replace(new RegExp(p,"g")," ")}class wc{visitElement(e,t){return Ec.has(e.name)||e.attrs.some(e=>e.name===yc)?new $a(e.name,Ha(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new $a(e.name,e.attrs,function(e,t){const n=[];return t.forEach((r,s)=>{const i={prev:t[s-1],next:t[s+1]},o=r.visit(e,i);o&&n.push(o)}),n}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return e.name!==yc?e:null}visitText(e,t){const n=e.value.match(xc),r=t&&(t.prev instanceof Ba||t.next instanceof Ba);return n||r?new ja(bc(e.value).replace(_c," "),e.sourceSpan,e.i18n):null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}function Cc(e){return new dc(Ha(new wc,e.rootNodes),e.errors)}const Tc=["zero","one","two","few","many","other"];function Ic(e){const t=new Nc;return new Mc(Ha(t,e),t.isExpanded,t.errors)}class Mc{constructor(e,t,n){this.nodes=e,this.expanded=t,this.errors=n}}class Ac extends Ar{constructor(e,t){super(e,t)}}class Nc{constructor(){this.isExpanded=!1,this.errors=[]}visitElement(e,t){return new $a(e.name,e.attrs,Ha(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitAttribute(e,t){return e}visitText(e,t){return e}visitComment(e,t){return e}visitExpansion(e,t){return this.isExpanded=!0,"plural"==e.type?function(e,t){const n=e.cases.map(e=>{-1!=Tc.indexOf(e.value)||e.value.match(/^=\d+$/)||t.push(new Ac(e.valueSourceSpan,'Plural cases should be "=<number>" or one of '+Tc.join(", ")));const n=Ic(e.expression);return t.push(...n.errors),new $a("ng-template",[new Va("ngPluralCase",""+e.value,e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Va("[ngPlural]",e.switchValue,e.switchValueSourceSpan);return new $a("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors):function(e,t){const n=e.cases.map(e=>{const n=Ic(e.expression);return t.push(...n.errors),"other"===e.value?new $a("ng-template",[new Va("ngSwitchDefault","",e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new $a("ng-template",[new Va("ngSwitchCase",""+e.value,e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Va("[ngSwitch]",e.switchValue,e.switchValueSourceSpan);return new $a("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors)}visitExpansionCase(e,t){throw new Error("Should not be reached")}}class kc{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitText(this,t)}}class Pc{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitBoundText(this,t)}}class Oc{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}visit(e,t){return e.visitAttr(this,t)}}const Rc={4:4,1:1,2:2,0:0,3:3};class Dc{constructor(e,t,n,r,s,i){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.isAnimation=4===this.type}static fromBoundProperty(e){const t=Rc[e.type];return new Dc(e.name,t,e.securityContext,e.value,e.unit,e.sourceSpan)}visit(e,t){return e.visitElementProperty(this,t)}}class Fc{constructor(e,t,n,r,s,i){this.name=e,this.target=t,this.phase=n,this.handler=r,this.sourceSpan=s,this.handlerSpan=i,this.fullName=Fc.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}static calcFullName(e,t,n){return t?`${t}:${e}`:n?`@${e}.${n}`:e}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new Fc(e.name,t,n,e.handler,e.sourceSpan,e.handlerSpan)}visit(e,t){return e.visitEvent(this,t)}}class Lc{constructor(e,t,n,r){this.name=e,this.value=t,this.originalValue=n,this.sourceSpan=r}visit(e,t){return e.visitReference(this,t)}}class jc{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}static fromParsedVariable(e){return new jc(e.name,e.value,e.sourceSpan,e.valueSpan)}visit(e,t){return e.visitVariable(this,t)}}class Bc{constructor(e,t,n,r,s,i,o,a,c,l,u,p,h){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=s,this.directives=i,this.providers=o,this.hasViewContainer=a,this.queryMatches=c,this.children=l,this.ngContentIndex=u,this.sourceSpan=p,this.endSourceSpan=h}visit(e,t){return e.visitElement(this,t)}}class Uc{constructor(e,t,n,r,s,i,o,a,c,l,u){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=s,this.providers=i,this.hasViewContainer=o,this.queryMatches=a,this.children=c,this.ngContentIndex=l,this.sourceSpan=u}visit(e,t){return e.visitEmbeddedTemplate(this,t)}}class Vc{constructor(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}visit(e,t){return e.visitDirectiveProperty(this,t)}}class $c{constructor(e,t,n,r,s,i){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=s,this.sourceSpan=i}visit(e,t){return e.visitDirective(this,t)}}class Wc{constructor(e,t,n,r,s,i,o,a){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=s,this.lifecycleHooks=i,this.sourceSpan=o,this.isModule=a}visit(e,t){return null}}var Hc;!function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Builtin=4]="Builtin"}(Hc||(Hc={}));class zc{constructor(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitNgContent(this,t)}}class qc{visitNgContent(e,t){}visitEmbeddedTemplate(e,t){}visitElement(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}visitBoundText(e,t){}visitText(e,t){}visitDirective(e,t){}visitDirectiveProperty(e,t){}}class Gc extends qc{constructor(){super()}visitEmbeddedTemplate(e,t){return this.visitChildren(t,t=>{t(e.attrs),t(e.references),t(e.variables),t(e.directives),t(e.providers),t(e.children)})}visitElement(e,t){return this.visitChildren(t,t=>{t(e.attrs),t(e.inputs),t(e.outputs),t(e.references),t(e.directives),t(e.providers),t(e.children)})}visitDirective(e,t){return this.visitChildren(t,t=>{t(e.inputs),t(e.hostProperties),t(e.hostEvents)})}visitChildren(e,t){let n=[],r=this;return t((function(t){t&&t.length&&n.push(Kc(r,t,e))})),Array.prototype.concat.apply([],n)}}function Kc(e,t,n=null){const r=[],s=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=s(e);t&&r.push(t)}),r}class Zc extends Ar{constructor(e,t){super(t,e)}}class Xc{constructor(e,t){this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){let t=1;const n=new Map;e.viewQueries&&e.viewQueries.forEach(e=>nl(n,{meta:e,queryId:t++}));return n}(t),this.viewProviders=new Map,t.viewProviders.forEach(e=>{null==this.viewProviders.get(jn(e.token))&&this.viewProviders.set(jn(e.token),!0)})}}class Yc{constructor(e,t,n,r,s,i,o,a,c){this.viewContext=e,this._parent=t,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=c,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},s.forEach(e=>this._attrs[e.name]=e.value);const l=r.map(e=>e.directive);if(this._allProviders=function(e,t,n){const r=new Map;e.forEach(e=>{tl([{token:{identifier:e.type},useClass:e.type}],e.isComponent?Hc.Component:Hc.Directive,!0,t,n,r,!1)});return e.filter(e=>e.isComponent).concat(e.filter(e=>!e.isComponent)).forEach(e=>{tl(e.providers,Hc.PublicService,!1,t,n,r,!1),tl(e.viewProviders,Hc.PrivateService,!1,t,n,r,!1)}),r}(l,c,e.errors),this._contentQueries=function(e,t){let n=e;const r=new Map;return t.forEach((e,t)=>{e.queries&&e.queries.forEach(e=>nl(r,{meta:e,queryId:n++}))}),r}(a,l),Array.from(this._allProviders.values()).forEach(e=>{this._addQueryReadsTo(e.token,e.token,this._queriedTokens)}),o){const e=wn(this.viewContext.reflector,_n.TemplateRef);this._addQueryReadsTo(e,e,this._queriedTokens)}i.forEach(e=>{let t=e.value||wn(this.viewContext.reflector,_n.ElementRef);this._addQueryReadsTo({value:e.name},t,this._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(_n.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(e=>{(e.eager||this._queriedTokens.get(jn(e.token)))&&this._getOrCreateLocalProvider(e.providerType,e.token,!0)})}afterElement(){Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.providerType,e.token,!1)})}get transformProviders(){const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}get transformedDirectiveAsts(){const e=this.transformProviders.map(e=>e.token.identifier),t=this._directiveAsts.slice();return t.sort((t,n)=>e.indexOf(t.directive.type)-e.indexOf(n.directive.type)),t}get queryMatches(){const e=[];return this._queriedTokens.forEach(t=>{e.push(...t)}),e}_addQueryReadsTo(e,t,n){this._getQueriesFor(e).forEach(e=>{const r=e.meta.read||t,s=jn(r);let i=n.get(s);i||(i=[],n.set(s,i)),i.push({queryId:e.queryId,value:r})})}_getQueriesFor(e){const t=[];let n,r=this,s=0;for(;null!==r;)n=r._contentQueries.get(jn(e)),n&&t.push(...n.filter(e=>e.meta.descendants||s<=1)),r._directiveAsts.length>0&&s++,r=r._parent;return n=this.viewContext.viewQueries.get(jn(e)),n&&t.push(...n),t}_getOrCreateLocalProvider(e,t,n){const r=this._allProviders.get(jn(t));if(!r||(e===Hc.Directive||e===Hc.PublicService)&&r.providerType===Hc.PrivateService||(e===Hc.PrivateService||e===Hc.PublicService)&&r.providerType===Hc.Builtin)return null;let s=this._transformedProviders.get(jn(t));if(s)return s;if(null!=this._seenProviders.get(jn(t)))return this.viewContext.errors.push(new Zc("Cannot instantiate cyclic dependency! "+Ln(t),this._sourceSpan)),null;this._seenProviders.set(jn(t),!0);const i=r.providers.map(e=>{let t=e.useValue,s=e.useExisting,i=void 0;if(null!=e.useExisting){const i=this._getDependency(r.providerType,{token:e.useExisting},n);null!=i.token?s=i.token:(s=null,t=i.value)}else if(e.useFactory){i=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(r.providerType,e,n))}else if(e.useClass){i=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(r.providerType,e,n))}return Jc(e,{useExisting:s,useValue:t,deps:i})});return s=el(r,{eager:n,providers:i}),this._transformedProviders.set(jn(t),s),s}_getLocalDependency(e,t,n=!1){if(t.isAttribute){const e=this._attrs[t.token.value];return{isValue:!0,value:null==e?null:e}}if(null!=t.token){if(e===Hc.Directive||e===Hc.Component){if(jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.Renderer)||jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.ElementRef)||jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.ChangeDetectorRef)||jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.TemplateRef))return t;jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(jn(t.token)===this.viewContext.reflector.resolveExternalReference(_n.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,n))return t}return null}_getDependency(e,t,n=!1){let r=this,s=n,i=null;if(t.isSkipSelf||(i=this._getLocalDependency(e,t,n)),t.isSelf)!i&&t.isOptional&&(i={isValue:!0,value:null});else{for(;!i&&r._parent;){const e=r;r=r._parent,e._isViewRoot&&(s=!1),i=r._getLocalDependency(Hc.PublicService,t,s)}i||(i=!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===jn(t.token)||null!=this.viewContext.viewProviders.get(jn(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return i||this.viewContext.errors.push(new Zc("No provider for "+Ln(t.token),this._sourceSpan)),i}}class Qc{constructor(e,t,n,r){this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(e=>{tl([{token:{identifier:e},useClass:e}],Hc.PublicService,!0,r,this._errors,this._allProviders,!0)}),tl(t.transitiveModule.providers.map(e=>e.provider).concat(n),Hc.PublicService,!1,r,this._errors,this._allProviders,!1)}parse(){if(Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){const e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}_getOrCreateLocalProvider(e,t){const n=this._allProviders.get(jn(e));if(!n)return null;let r=this._transformedProviders.get(jn(e));if(r)return r;if(null!=this._seenProviders.get(jn(e)))return this._errors.push(new Zc("Cannot instantiate cyclic dependency! "+Ln(e),n.sourceSpan)),null;this._seenProviders.set(jn(e),!0);const s=n.providers.map(e=>{let r=e.useValue,s=e.useExisting,i=void 0;if(null!=e.useExisting){const i=this._getDependency({token:e.useExisting},t,n.sourceSpan);null!=i.token?s=i.token:(s=null,r=i.value)}else if(e.useFactory){i=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}else if(e.useClass){i=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}return Jc(e,{useExisting:s,useValue:r,deps:i})});return r=el(n,{eager:t,providers:s}),this._transformedProviders.set(jn(e),r),r}_getDependency(e,t=!1,n){let r=!1;return e.isSkipSelf||null==e.token||(jn(e.token)===this.reflector.resolveExternalReference(_n.Injector)||jn(e.token)===this.reflector.resolveExternalReference(_n.ComponentFactoryResolver)||null!=this._getOrCreateLocalProvider(e.token,t))&&(r=!0),e}}function Jc(e,{useExisting:t,useValue:n,deps:r}){return{token:e.token,useClass:e.useClass,useExisting:t,useFactory:e.useFactory,useValue:n,deps:r,multi:e.multi}}function el(e,{eager:t,providers:n}){return new Wc(e.token,e.multiProvider,e.eager||t,n,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function tl(e,t,n,r,s,i,o){e.forEach(e=>{let a=i.get(jn(e.token));if(null!=a&&!!a.multiProvider!=!!e.multi&&s.push(new Zc("Mixing multi and non multi provider is not possible for token "+Ln(a.token),r)),a)e.multi||(a.providers.length=0),a.providers.push(e);else{const s=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],c=!(e.useClass||e.useExisting||e.useFactory);a=new Wc(e.token,!!e.multi,n||c,[e],t,s,r,o),i.set(jn(e.token),a)}})}function nl(e,t){t.meta.selectors.forEach(n=>{let r=e.get(jn(n));r||(r=[],e.set(jn(n),r)),r.push(t)})}class rl{constructor(e,t){this.style=e,this.styleUrls=t}}function sl(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(al);return null===t||"package"==t[1]||"asset"==t[1]}const il=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,ol=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,al=/^([^:/?#]+):/,cl="animate-";class ll{constructor(e,t,n,r,s){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=s,this.pipesByName=null,this._usedPipes=new Map,r){const e=new Map;r.forEach(t=>e.set(t.name,t)),this.pipesByName=e}}get interpolationConfig(){return this._interpolationConfig}getUsedPipes(){return Array.from(this._usedPipes.values())}createBoundHostProperties(e,t){if(e.hostProperties){const n=[];return Object.keys(e.hostProperties).forEach(r=>{const s=e.hostProperties[r];"string"==typeof s?this.parsePropertyBinding(r,s,!0,t,t.start.offset,void 0,[],n):this._reportError(`Value of the host property binding "${r}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}),n}return null}createDirectiveHostPropertyAsts(e,t,n){const r=this.createBoundHostProperties(e,n);return r&&r.map(e=>this.createBoundElementProperty(t,e))}createDirectiveHostEventAsts(e,t){if(e.hostListeners){const n=[];return Object.keys(e.hostListeners).forEach(r=>{const s=e.hostListeners[r];"string"==typeof s?this.parseEvent(r,s,t,t,[],n):this._reportError(`Value of the host listener "${r}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}),n}return null}parseInterpolation(e,t){const n=t.start.toString();try{const r=this._exprParser.parseInterpolation(e,n,t.start.offset,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,t),this._checkPipes(r,t),r}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,t.start.offset)}}parseInlineTemplateBinding(e,t,n,r,s,i,o){const a=n.start.offset+"*".length,c=this._parseTemplateBindings(e,t,n,a,r);for(const l of c){const e=dl(n,l.sourceSpan),t=l.key.source,a=dl(n,l.key.span);if(l instanceof Mo){const r=l.value?l.value.source:"$implicit",s=l.value?dl(n,l.value.span):void 0;o.push(new jo(t,r,e,a,s))}else if(l.value){const e=dl(n,l.value.ast.sourceSpan);this._parsePropertyAst(t,l.value,n,e,s,i)}else s.push([t,""]),this.parseLiteralAttr(t,null,n,r,void 0,s,i)}}_parseTemplateBindings(e,t,n,r,s){const i=n.start.toString();try{const o=this._exprParser.parseTemplateBindings(e,t,i,r,s);return this._reportExpressionParserErrors(o.errors,n),o.templateBindings.forEach(e=>{e.value instanceof Io&&this._checkPipes(e.value,n)}),o.warnings.forEach(e=>{this._reportError(e,n,Mr.WARNING)}),o.templateBindings}catch(o){return this._reportError(""+o,n),[]}}parseLiteralAttr(e,t,n,r,s,i,o){pl(e)?(e=e.substring(1),t&&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.',n,Mr.ERROR),this._parseAnimation(e,t,n,r,s,i,o)):o.push(new Oo(e,this._exprParser.wrapLiteralPrimitive(t,"",r),Ro.LITERAL_ATTR,n,s))}parsePropertyBinding(e,t,n,r,s,i,o,a){0===e.length&&this._reportError("Property name is missing in binding",r);let c=!1;e.startsWith(cl)?(c=!0,e=e.substring(cl.length)):pl(e)&&(c=!0,e=e.substring(1)),c?this._parseAnimation(e,t,r,s,i,o,a):this._parsePropertyAst(e,this._parseBinding(t,n,i||r,s),r,i,o,a)}parsePropertyInterpolation(e,t,n,r,s,i){const o=this.parseInterpolation(t,r||n);return!!o&&(this._parsePropertyAst(e,o,n,r,s,i),!0)}_parsePropertyAst(e,t,n,r,s,i){s.push([e,t.source]),i.push(new Oo(e,t,Ro.DEFAULT,n,r))}_parseAnimation(e,t,n,r,s,i,o){0===e.length&&this._reportError("Animation trigger is missing",n);const a=this._parseBinding(t||"undefined",!1,s||n,r);i.push([e,a.source]),o.push(new Oo(e,a,Ro.ANIMATION,n,s))}_parseBinding(e,t,n,r){const s=(n&&n.start||"(unknown)").toString();try{const i=t?this._exprParser.parseSimpleBinding(e,s,r,this._interpolationConfig):this._exprParser.parseBinding(e,s,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,n),this._checkPipes(i,n),i}catch(i){return this._reportError(""+i,n),this._exprParser.wrapLiteralPrimitive("ERROR",s,r)}}createBoundElementProperty(e,t,n=!1,r=!0){if(t.isAnimation)return new Bo(t.name,4,q.NONE,t.expression,null,t.sourceSpan,t.valueSpan);let s=null,i=void 0,o=null;const a=t.name.split(".");let c=void 0;if(a.length>1)if("attr"==a[0]){o=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),c=hl(this._schemaRegistry,e,o,!0);const r=o.indexOf(":");if(r>-1){const e=o.substring(0,r),t=o.substring(r+1);o=l(e,t)}i=1}else"class"==a[0]?(o=a[1],i=2,c=[q.NONE]):"style"==a[0]&&(s=a.length>2?a[2]:null,o=a[1],i=3,c=[q.STYLE]);if(null===o){const s=this._schemaRegistry.getMappedPropName(t.name);o=r?s:t.name,c=hl(this._schemaRegistry,e,s,!1),i=0,n||this._validatePropertyOrAttributeName(s,t.sourceSpan,!1)}return new Bo(o,i,c[0],t.expression,s,t.sourceSpan,t.valueSpan)}parseEvent(e,t,n,r,s,i){0===e.length&&this._reportError("Event name is missing in binding",n),pl(e)?(e=e.substr(1),this._parseAnimationEvent(e,t,n,r,i)):this._parseRegularEvent(e,t,n,r,s,i)}calcPossibleSecurityContexts(e,t,n){const r=this._schemaRegistry.getMappedPropName(t);return hl(this._schemaRegistry,e,r,n)}_parseAnimationEvent(e,t,n,r,s){const i=Ut(e,".",[e,""]);const o=i[0],a=i[1].toLowerCase();if(a)switch(a){case"start":case"done":const e=this._parseAction(t,r);s.push(new Lo(o,a,1,e,n,r));break;default:this._reportError(`The provided animation output phase value "${a}" for "@${o}" is not supported (use start or done)`,n)}else this._reportError(`The animation trigger output event (@${o}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,r,s,i){const[o,a]=Bt(e,[null,e]),c=this._parseAction(t,r);s.push([e,c.source]),i.push(new Lo(a,o,0,c,n,r))}_parseAction(e,t){const n=(t&&t.start||"(unknown").toString(),r=t&&t.start?t.start.offset:0;try{const s=this._exprParser.parseAction(e,n,r,this._interpolationConfig);return s&&this._reportExpressionParserErrors(s.errors,t),!s||s.ast instanceof so?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(s,t),s)}catch(s){return this._reportError(""+s,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}_reportError(e,t,n=Mr.ERROR){this.errors.push(new Ar(t,e,n))}_reportExpressionParserErrors(e,t){for(const n of e)this._reportError(n.message,t)}_checkPipes(e,t){if(e&&this.pipesByName){const n=new ul;e.visit(n),n.pipes.forEach((e,n)=>{const r=this.pipesByName.get(n);r?this._usedPipes.set(n,r):this._reportError(`The pipe '${n}' could not be found`,new Ir(t.start.moveBy(e.span.start),t.start.moveBy(e.span.end)))})}}_validatePropertyOrAttributeName(e,t,n){const r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,Mr.ERROR)}}class ul extends No{constructor(){super(...arguments),this.pipes=new Map}visitPipe(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null}}function pl(e){return"@"==e[0]}function hl(e,t,n,r){const s=[];return g.parse(t).forEach(t=>{const i=t.element?[t.element]:e.allKnownElementNames(),o=new Set(t.notSelectors.filter(e=>e.isElementSelector()).map(e=>e.element)),a=i.filter(e=>!o.has(e));s.push(...a.map(t=>e.securityContext(t,n,r)))}),0===s.length?[q.NONE]:Array.from(new Set(s)).sort()}function dl(e,t){const n=t.start-e.start.offset,r=t.end-e.end.offset;return new Ir(e.start.moveBy(n),e.end.moveBy(r),e.fullStart.moveBy(n),e.details)}function fl(e){let t=null,n=null,r=null,s=!1,i="";e.attrs.forEach(e=>{const o=e.name.toLowerCase();"select"==o?t=e.value:"href"==o?n=e.value:"rel"==o?r=e.value:"ngNonBindable"==e.name?s=!0:"ngProjectAs"==e.name&&e.value.length>0&&(i=e.value)}),t=function(e){if(null===e||0===e.length)return"*";return e}(t);const a=e.name.toLowerCase();let c=ml.OTHER;return o(a)?c=ml.NG_CONTENT:"style"==a?c=ml.STYLE:"script"==a?c=ml.SCRIPT:"link"==a&&"stylesheet"==r&&(c=ml.STYLESHEET),new vl(c,t,n,s,i)}var ml;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(ml||(ml={}));class vl{constructor(e,t,n,r,s){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=s}}const gl=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;let yl;function El(){return yl||(yl=g.parse("*")[0]),yl}class Sl extends Ar{constructor(e,t,n){super(t,e,n)}}class xl{constructor(e,t,n){this.templateAst=e,this.usedPipes=t,this.errors=n}}class _l{constructor(e,t,n,r,s,i,o){this._config=e,this._reflector=t,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=s,this._console=i,this.transforms=o}get expressionParser(){return this._exprParser}parse(e,t,n,r,s,i,o){var a;const c=this.tryParse(e,t,n,r,s,i,o),l=c.errors.filter(e=>e.level===Mr.WARNING),u=c.errors.filter(e=>e.level===Mr.ERROR);if(l.length>0&&(null===(a=this._console)||void 0===a||a.warn("Template parse warnings:\n"+l.join("\n"))),u.length>0){throw Zt("Template parse errors:\n"+u.join("\n"),u)}return{template:c.templateAst,pipes:c.usedPipes}}tryParse(e,t,n,r,s,i,o){let a="string"==typeof t?this._htmlParser.parse(t,i,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(e)}):t;return o||(a=Cc(a)),this.tryParseHtml(this.expandHtml(a),e,n,r,s)}tryParseHtml(e,t,n,r,s){let i;const o=e.errors,a=[];if(e.rootNodes.length>0){const c=kl(n),l=kl(r),u=new Xc(this._reflector,t);let p=void 0;t.template&&t.template.interpolation&&(p={start:t.template.interpolation[0],end:t.template.interpolation[1]});const h=new ll(this._exprParser,p,this._schemaRegistry,l,o),d=new bl(this._reflector,this._config,u,c,h,this._schemaRegistry,s,o);i=Ha(d,e.rootNodes,Ml),o.push(...u.errors),a.push(...h.getUsedPipes())}else i=[];return this._assertNoReferenceDuplicationOnTemplate(i,o),o.length>0||this.transforms&&this.transforms.forEach(e=>{i=Kc(e,i)}),new xl(i,a,o)}expandHtml(e,t=!1){const n=e.errors;if(0==n.length||t){const t=Ic(e.rootNodes);n.push(...t.errors),e=new dc(t.nodes,n)}return e}getInterpolationConfig(e){if(e.template)return Mi.fromArray(e.template.interpolation)}_assertNoReferenceDuplicationOnTemplate(e,t){const n=[];e.filter(e=>!!e.references).forEach(e=>e.references.forEach(e=>{const r=e.name;if(n.indexOf(r)<0)n.push(r);else{const n=new Sl(`Reference "#${r}" is defined several times`,e.sourceSpan,Mr.ERROR);t.push(n)}}))}}class bl{constructor(e,t,n,r,s,i,o,a){this.reflector=e,this.config=t,this.providerViewContext=n,this._bindingParser=s,this._schemaRegistry=i,this._schemas=o,this._targetErrors=a,this.selectorMatcher=new y,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach((e,t)=>{const n=g.parse(e.selector);this.selectorMatcher.addSelectables(n,e),this.directivesIndex.set(e,t)})}visitExpansion(e,t){return null}visitExpansionCase(e,t){return null}visitText(e,t){const n=t.findNgContentIndex(El()),r=bc(e.value),s=this._bindingParser.parseInterpolation(r,e.sourceSpan);return s?new Pc(s,n,e.sourceSpan):new kc(r,n,e.sourceSpan)}visitAttribute(e,t){return new Oc(e.name,e.value,e.sourceSpan)}visitComment(e,t){return null}visitElement(e,t){const n=this.contentQueryStartId,r=e.name,s=fl(e);if(s.type===ml.SCRIPT||s.type===ml.STYLE)return null;if(s.type===ml.STYLESHEET&&sl(s.hrefAttr))return null;const i=[],o=[],c=[],l=[],u=[],p=[],h=[],d=[];let f=!1;const m=[],v=a(e.name);e.attrs.forEach(e=>{const t=this._parseAttr(v,e,i,o,u,c,l);let n,r;l.push(...[].map(e=>jc.fromParsedVariable(e)));const s=this._normalizeAttributeName(e.name);s.startsWith("*")&&(n=e.value,r=s.substring("*".length));const a=null!=n;if(a){f&&this._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),f=!0;const t=[],s=(e.valueSpan||e.sourceSpan).start.offset;this._bindingParser.parseInlineTemplateBinding(r,n,e.sourceSpan,s,h,p,t),d.push(...t.map(e=>jc.fromParsedVariable(e)))}t||a||(m.push(this.visitAttribute(e,null)),i.push([e.name,e.value]))});const y=Il(r,i),{directives:E,matchElement:S}=this._parseDirectives(this.selectorMatcher,y),x=[],_=new Set,b=this._createDirectiveAsts(v,e.name,E,o,c,e.sourceSpan,x,_),w=this._createElementPropertyAsts(e.name,o,_),C=t.isTemplateElement||f,T=new Yc(this.providerViewContext,t.providerContext,C,b,m,x,v,n,e.sourceSpan),I=Ha(s.nonBindable?Al:this,e.children,Tl.create(v,b,v?t.providerContext:T));T.afterElement();const M=""!=s.projectAs?g.parse(s.projectAs)[0]:y,A=t.findNgContentIndex(M);let N;if(s.type===ml.NG_CONTENT)e.children&&!e.children.every(Nl)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),N=new zc(this.ngContentCount++,f?null:A,e.sourceSpan);else if(v)this._assertAllEventsPublishedByDirectives(b,u),this._assertNoComponentsNorElementBindingsOnTemplate(b,w,e.sourceSpan),N=new Uc(m,u,x,l,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,I,f?null:A,e.sourceSpan);else{this._assertElementExists(S,e),this._assertOnlyOneComponent(b,e.sourceSpan);const n=f?null:t.findNgContentIndex(M);N=new Bc(r,m,w,u,x,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,I,f?null:n,e.sourceSpan,e.endSourceSpan||null)}if(f){const n=this.contentQueryStartId,s=Il("ng-template",h),{directives:i}=this._parseDirectives(this.selectorMatcher,s),o=new Set,a=this._createDirectiveAsts(!0,r,i,p,[],e.sourceSpan,[],o),c=this._createElementPropertyAsts(r,p,o);this._assertNoComponentsNorElementBindingsOnTemplate(a,c,e.sourceSpan);const l=new Yc(this.providerViewContext,t.providerContext,t.isTemplateElement,a,[],[],!0,n,e.sourceSpan);l.afterElement(),N=new Uc([],[],[],d,l.transformedDirectiveAsts,l.transformProviders,l.transformedHasViewContainer,l.queryMatches,[N],A,e.sourceSpan)}return N}_parseAttr(e,t,n,r,s,i,o){const a=this._normalizeAttributeName(t.name),c=t.value,l=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:l.start.offset,p=[],h=a.match(gl);let d=!1;if(null!==h)if(d=!0,null!=h[1])this._bindingParser.parsePropertyBinding(h[7],c,!1,l,u,t.valueSpan,n,r);else if(h[2])if(e){const e=h[7];this._parseVariable(e,c,l,o)}else this._reportError('"let-" is only supported on ng-template elements.',l);else if(h[3]){const e=h[7];this._parseReference(e,c,l,i)}else h[4]?this._bindingParser.parseEvent(h[7],c,l,t.valueSpan||l,n,p):h[5]?(this._bindingParser.parsePropertyBinding(h[7],c,!1,l,u,t.valueSpan,n,r),this._parseAssignmentEvent(h[7],c,l,t.valueSpan||l,n,p)):h[6]?this._bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r):h[8]?(this._bindingParser.parsePropertyBinding(h[8],c,!1,l,u,t.valueSpan,n,r),this._parseAssignmentEvent(h[8],c,l,t.valueSpan||l,n,p)):h[9]?this._bindingParser.parsePropertyBinding(h[9],c,!1,l,u,t.valueSpan,n,r):h[10]&&this._bindingParser.parseEvent(h[10],c,l,t.valueSpan||l,n,p);else d=this._bindingParser.parsePropertyInterpolation(a,c,l,t.valueSpan,n,r);return d||this._bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r),s.push(...p.map(e=>Fc.fromParsedEvent(e))),d}_normalizeAttributeName(e){return/^data-/i.test(e)?e.substring(5):e}_parseVariable(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in variable names',n):0===e.length&&this._reportError("Variable does not have a name",n),r.push(new jc(e,t,n))}_parseReference(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in reference names',n):0===e.length&&this._reportError("Reference does not have a name",n),r.push(new wl(e,t,n))}_parseAssignmentEvent(e,t,n,r,s,i){this._bindingParser.parseEvent(e+"Change",t+"=$event",n,r,s,i)}_parseDirectives(e,t){const n=pn(this.directivesIndex.size);let r=!1;return e.match(t,(e,t)=>{n[this.directivesIndex.get(t)]=t,r=r||e.hasElementSelector()}),{directives:n.filter(e=>!!e),matchElement:r}}_createDirectiveAsts(e,t,n,r,s,i,o,a){const c=new Set;let l=null;const u=n.map(e=>{const n=new Ir(i.start,i.end,i.fullStart,"Directive "+Nn(e.type));e.isComponent&&(l=e);const u=[];let p=this._bindingParser.createDirectiveHostPropertyAsts(e,t,n).map(e=>Dc.fromBoundProperty(e));p=this._checkPropertiesInSchema(t,p);const h=this._bindingParser.createDirectiveHostEventAsts(e,n);this._createDirectivePropertyAsts(e.inputs,r,u,a),s.forEach(t=>{(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(o.push(new Lc(t.name,bn(e.type.reference),t.value,t.sourceSpan)),c.add(t.name))});const d=h.map(e=>Fc.fromParsedEvent(e)),f=this.contentQueryStartId;return this.contentQueryStartId+=e.queries.length,new $c(e,u,p,d,f,n)});return s.forEach(t=>{if(t.value.length>0)c.has(t.name)||this._reportError(`There is no directive with "exportAs" set to "${t.value}"`,t.sourceSpan);else if(!l){let n=null;e&&(n=wn(this.reflector,_n.TemplateRef)),o.push(new Lc(t.name,n,t.value,t.sourceSpan))}}),u}_createDirectivePropertyAsts(e,t,n,r){if(e){const s=new Map;t.forEach(e=>{const t=s.get(e.name);t&&!t.isLiteral||s.set(e.name,e)}),Object.keys(e).forEach(t=>{const i=e[t],o=s.get(i);o&&(r.add(o.name),Pl(o.expression)||n.push(new Vc(t,o.name,o.expression,o.sourceSpan)))})}}_createElementPropertyAsts(e,t,n){const r=[];return t.forEach(t=>{if(!t.isLiteral&&!n.has(t.name)){const n=this._bindingParser.createBoundElementProperty(e,t);r.push(Dc.fromBoundProperty(n))}}),this._checkPropertiesInSchema(e,r)}_findComponentDirectives(e){return e.filter(e=>e.directive.isComponent)}_findComponentDirectiveNames(e){return this._findComponentDirectives(e).map(e=>Nn(e.directive.type))}_assertOnlyOneComponent(e,t){const n=this._findComponentDirectiveNames(e);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(","),t)}_assertElementExists(e,t){const n=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(n,this._schemas)){let e=`'${n}' is not a known element:\n`;e+=`1. If '${n}' is an Angular component, then verify that it is part of this module.\n`,n.indexOf("-")>-1?e+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(e,t.sourceSpan)}}_assertNoComponentsNorElementBindingsOnTemplate(e,t,n){const r=this._findComponentDirectiveNames(e);r.length>0&&this._reportError("Components on an embedded template: "+r.join(","),n),t.forEach(e=>{this._reportError(`Property binding ${e.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)})}_assertAllEventsPublishedByDirectives(e,t){const n=new Set;e.forEach(e=>{Object.keys(e.directive.outputs).forEach(t=>{const r=e.directive.outputs[t];n.add(r)})}),t.forEach(e=>{null==e.target&&n.has(e.name)||this._reportError(`Event binding ${e.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".`,e.sourceSpan)})}_checkPropertiesInSchema(e,t){return t.filter(t=>{if(0===t.type&&!this._schemaRegistry.hasProperty(e,t.name,this._schemas)){let n=`Can't bind to '${t.name}' since it isn't a known property of '${e}'.`;e.startsWith("ng-")?n+=`\n1. If '${t.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.`:e.indexOf("-")>-1&&(n+=`\n1. If '${e}' is an Angular component and it has '${t.name}' input, then verify that it is part of this module.\n2. If '${e}' 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.`),this._reportError(n,t.sourceSpan)}return!Pl(t.value)})}_reportError(e,t,n=Mr.ERROR){this._targetErrors.push(new Ar(t,e,n))}}class wl{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}isReferenceToDirective(e){return-1!==(t=e.exportAs,t?t.split(",").map(e=>e.trim()):[]).indexOf(this.value);var t}}function Cl(e){return e.trim().split(/\s+/g)}class Tl{constructor(e,t,n,r){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=n,this.providerContext=r}static create(e,t,n){const r=new y;let s=null;const i=t.find(e=>e.directive.isComponent);if(i){const e=i.directive.template.ngContentSelectors;for(let t=0;t<e.length;t++){"*"===e[t]?s=t:r.addSelectables(g.parse(e[t]),t)}}return new Tl(e,r,s,n)}findNgContentIndex(e){const t=[];return this._ngContentIndexMatcher.match(e,(e,n)=>{t.push(n)}),t.sort(),null!=this._wildcardNgContentIndex&&t.push(this._wildcardNgContentIndex),t.length>0?t[0]:null}}function Il(e,t){const n=new g,r=s(e)[1];n.setElement(r);for(let i=0;i<t.length;i++){const e=t[i][0],r=s(e)[1],o=t[i][1];if(n.addAttribute(r,o),"class"==e.toLowerCase()){Cl(o).forEach(e=>n.addClassName(e))}}return n}const Ml=new Tl(!0,new y,null,null),Al=new class{visitElement(e,t){const n=fl(e);if(n.type===ml.SCRIPT||n.type===ml.STYLE||n.type===ml.STYLESHEET)return null;const r=e.attrs.map(e=>[e.name,e.value]),s=Il(e.name,r),i=t.findNgContentIndex(s),o=Ha(this,e.children,Ml);return new Bc(e.name,Ha(this,e.attrs),[],[],[],[],[],!1,[],o,i,e.sourceSpan,e.endSourceSpan)}visitComment(e,t){return null}visitAttribute(e,t){return new Oc(e.name,e.value,e.sourceSpan)}visitText(e,t){const n=t.findNgContentIndex(El());return new kc(e.value,n,e.sourceSpan)}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}};function Nl(e){return e instanceof ja&&0==e.value.trim().length}function kl(e){const t=new Map;return e.forEach(e=>{t.get(e.type.reference)||t.set(e.type.reference,e)}),Array.from(t.values())}function Pl(e){return e instanceof Io&&(e=e.ast),e instanceof so}function Ol(e){const t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){const t=e.substring(1,e.length-1);-1==t.indexOf("'")&&-1==t.indexOf('"')&&(e=t)}return e}function Rl(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}class Dl{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,n){let r=null;const s=e.substring(0,6),i="style"===e||"style."===s||"style!"===s;if(i||!i&&("class"===e||"class."===s||"class!"===s)){const s="."!==e.charAt(5),o=e.substr(s?5:6);r=i?this.registerStyleInput(o,s,t,n):this.registerClassInput(o,s,t,n)}return r}registerStyleInput(e,t,n,r,s){if(Pl(n))return null;e=Rl(e);const{property:i,hasOverrideFlag:o,suffix:a}=Ll(e),c={name:i,suffix:s="string"==typeof s&&0!==s.length?s:a,value:n,sourceSpan:r,hasOverrideFlag:o};return t?this._styleMapInput=c:((this._singleStyleInputs=this._singleStyleInputs||[]).push(c),Fl(this._stylesIndex,i)),this._lastStylingInput=c,this._firstStylingInput=this._firstStylingInput||c,this._checkForPipes(n),this.hasBindings=!0,c}registerClassInput(e,t,n,r){if(Pl(n))return null;const{property:s,hasOverrideFlag:i}=Ll(e),o={name:s,value:n,sourceSpan:r,hasOverrideFlag:i,suffix:null};if(t){if(this._classMapInput)throw new Error("[class] and [className] bindings cannot be used on the same element simultaneously");this._classMapInput=o}else(this._singleClassInputs=this._singleClassInputs||[]).push(o),Fl(this._classesIndex,s);return this._lastStylingInput=o,this._firstStylingInput=this._firstStylingInput||o,this._checkForPipes(n),this.hasBindings=!0,o}_checkForPipes(e){e instanceof Io&&e.ast instanceof fo&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function(e){const t=[];let n=0,r=0,s=0,i=0,o=0,a=null,c=!1;for(;n<e.length;)switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:c=c||i>0,0===s?s=39:39===s&&92!==e.charCodeAt(n-1)&&(s=0);break;case 34:c=c||i>0,0===s?s=34:34===s&&92!==e.charCodeAt(n-1)&&(s=0);break;case 58:a||0!==r||0!==s||(a=Rl(e.substring(o,n-1).trim()),i=n);break;case 59:if(a&&i>0&&0===r&&0===s){const r=e.substring(i,n-1).trim();t.push(a,c?Ol(r):r),o=n,i=0,a=null,c=!1}}if(a&&i){const n=e.substr(i).trim();t.push(a,c?Ol(n):n)}return t}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(Dt(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(Dt(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(Dt(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(Dt(this._initialStyleValues[t]),Dt(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",kt(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,n){let r=2;const s=n.value.visit(e);let i;return s instanceof yo?(r+=s.expressions.length,i=t?function(e){switch(mi(e)){case 1:return tr.classMap;case 3:return tr.classMapInterpolate1;case 5:return tr.classMapInterpolate2;case 7:return tr.classMapInterpolate3;case 9:return tr.classMapInterpolate4;case 11:return tr.classMapInterpolate5;case 13:return tr.classMapInterpolate6;case 15:return tr.classMapInterpolate7;case 17:return tr.classMapInterpolate8;default:return tr.classMapInterpolateV}}(s):function(e){switch(mi(e)){case 1:return tr.styleMap;case 3:return tr.styleMapInterpolate1;case 5:return tr.styleMapInterpolate2;case 7:return tr.styleMapInterpolate3;case 9:return tr.styleMapInterpolate4;case 11:return tr.styleMapInterpolate5;case 13:return tr.styleMapInterpolate6;case 15:return tr.styleMapInterpolate7;case 17:return tr.styleMapInterpolate8;default:return tr.styleMapInterpolateV}}(s)):i=t?tr.classMap:tr.styleMap,{reference:i,calls:[{supportsInterpolation:!0,sourceSpan:n.sourceSpan,allocateBindingSlots:r,params:e=>{const t=e(s);return Array.isArray(t)?t:[t]}}]}}_buildSingleInputs(e,t,n,r,s){const i=[];return t.forEach(t=>{const o=i[i.length-1],a=t.value.visit(n);let c=e,l=2;a instanceof yo&&(l+=a.expressions.length,r&&(c=r(a)));const u={sourceSpan:t.sourceSpan,allocateBindingSlots:l,supportsInterpolation:!!r,params:e=>{const n=[];n.push(Dt(t.name));const r=e(a);return Array.isArray(r)?n.push(...r):n.push(r),s||null===t.suffix||n.push(Dt(t.suffix)),n}};o&&o.reference===c?o.calls.push(u):i.push({reference:c,calls:[u]})}),i}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(tr.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(tr.styleProp,this._singleStyleInputs,e,jl,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const n=this.buildStyleMapInstruction(e);n&&t.push(n);const r=this.buildClassMapInstruction(e);r&&t.push(r),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function Fl(e,t){e.has(t)||e.set(t,e.size)}function Ll(e){let t=!1;const n=e.indexOf("!important");-1!==n&&(e=n>0?e.substring(0,n):"",t=!0);let r=null,s=e;const i=e.lastIndexOf(".");return i>0&&(r=e.substr(i+1),s=e.substring(0,i)),{property:s,suffix:r,hasOverrideFlag:t}}function jl(e){switch(mi(e)){case 1:return tr.styleProp;case 3:return tr.stylePropInterpolate1;case 5:return tr.stylePropInterpolate2;case 7:return tr.stylePropInterpolate3;case 9:return tr.stylePropInterpolate4;case 11:return tr.stylePropInterpolate5;case 13:return tr.stylePropInterpolate6;case 15:return tr.stylePropInterpolate7;case 17:return tr.stylePropInterpolate8;default:return tr.stylePropInterpolateV}}var Bl;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.Keyword=2]="Keyword",e[e.String=3]="String",e[e.Operator=4]="Operator",e[e.Number=5]="Number",e[e.Error=6]="Error"}(Bl||(Bl={}));const Ul=["var","let","as","null","undefined","true","false","if","else","this"];class Vl{tokenize(e){const t=new ql(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}}class $l{constructor(e,t,n,r,s){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=s}isCharacter(e){return this.type==Bl.Character&&this.numValue==e}isNumber(){return this.type==Bl.Number}isString(){return this.type==Bl.String}isOperator(e){return this.type==Bl.Operator&&this.strValue==e}isIdentifier(){return this.type==Bl.Identifier}isKeyword(){return this.type==Bl.Keyword}isKeywordLet(){return this.type==Bl.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==Bl.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==Bl.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==Bl.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==Bl.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==Bl.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==Bl.Keyword&&"this"==this.strValue}isError(){return this.type==Bl.Error}toNumber(){return this.type==Bl.Number?this.numValue:-1}toString(){switch(this.type){case Bl.Character:case Bl.Identifier:case Bl.Keyword:case Bl.Operator:case Bl.String:case Bl.Error:return this.strValue;case Bl.Number:return this.numValue.toString();default:return null}}}function Wl(e,t,n){return new $l(e,t,Bl.Character,n,String.fromCharCode(n))}function Hl(e,t,n){return new $l(e,t,Bl.Operator,0,n)}const zl=new $l(-1,-1,Bl.Character,0,"");class ql{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=32;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(Gl(n))return this.scanIdentifier();if(xr(n))return this.scanNumber(r);const s=r;switch(n){case 46:return this.advance(),xr(this.peek)?this.scanNumber(s):Wl(s,this.index,46);case 40:case lr:case yr:case Er:case 91:case 93:case ur:case hr:case dr:return this.scanCharacter(s,n);case 39:case 34:return this.scanString();case 35:case 43:case 45:case 42:case pr:case 37:case 94:return this.scanOperator(s,String.fromCharCode(n));case 63:return this.scanComplexOperator(s,"?",46,".");case 60:case mr:return this.scanComplexOperator(s,String.fromCharCode(n),fr,"=");case 33:case fr:return this.scanComplexOperator(s,String.fromCharCode(n),fr,"=",fr,"=");case 38:return this.scanComplexOperator(s,"&",38,"&");case 124:return this.scanComplexOperator(s,"|",124,"|");case 160:for(;Sr(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),Wl(e,this.index,t)}scanOperator(e,t){return this.advance(),Hl(e,this.index,t)}scanComplexOperator(e,t,n,r,s,i){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=r),null!=s&&this.peek==s&&(this.advance(),o+=i),Hl(e,this.index,o)}scanIdentifier(){const e=this.index;for(this.advance();Zl(this.peek);)this.advance();const t=this.input.substring(e,this.index);return Ul.indexOf(t)>-1?(n=e,r=this.index,s=t,new $l(n,r,Bl.Keyword,0,s)):function(e,t,n){return new $l(e,t,Bl.Identifier,0,n)}(e,this.index,t);var n,r,s}scanNumber(e){let t=this.index===e;for(this.advance();;){if(xr(this.peek));else if(46==this.peek)t=!1;else{if(101!=(n=this.peek)&&69!=n)break;if(this.advance(),Xl(this.peek)&&this.advance(),!xr(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var n;const r=this.input.substring(e,this.index),s=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(r):parseFloat(r);return i=e,o=this.index,a=s,new $l(i,o,Bl.Number,a,"");var i,o,a}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const s=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=s.substring(r,this.index),this.advance(),this.peek=this.peek,117==this.peek){const t=s.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error(`Invalid unicode escape [\\u${t}]`,0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=Ql(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const i=s.substring(r,this.index);return this.advance(),o=e,a=this.index,c=n+i,new $l(o,a,Bl.String,0,c);var o,a,c}error(e,t){const n=this.index+t;return function(e,t,n){return new $l(e,t,Bl.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}}function Gl(e){return vr<=e&&e<=gr||65<=e&&e<=90||95==e||36==e}function Kl(e){if(0==e.length)return!1;const t=new ql(e);if(!Gl(t.peek))return!1;for(t.advance();0!==t.peek;){if(!Zl(t.peek))return!1;t.advance()}return!0}function Zl(e){return _r(e)||xr(e)||95==e||36==e}function Xl(e){return 45==e||43==e}function Yl(e){return 39===e||34===e||96===e}function Ql(e){switch(e){case 110:return cr;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}class Jl{constructor(e,t,n,r,s){this.strings=e,this.stringSpans=t,this.expressions=n,this.expressionsSpans=r,this.offsets=s}}class eu{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}const tu=nu(Ai);function nu(e){const t=en(e.start)+"([\\s\\S]*?)"+en(e.end);return new RegExp(t,"g")}class ru{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=au}parseAction(e,t,n,r=Ai){this._checkNoInterpolation(e,t,r);const s=this._stripComments(e),i=this._lexer.tokenize(this._stripComments(e)),o=new ou(e,t,n,i,s.length,!0,this.errors,e.length-s.length).parseChain();return new Io(o,e,t,n,this.errors)}parseBinding(e,t,n,r=Ai){const s=this._parseBindingAst(e,t,n,r);return new Io(s,e,t,n,this.errors)}checkSimpleExpression(e){const t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,r=Ai){const s=this._parseBindingAst(e,t,n,r),i=this.checkSimpleExpression(s);return i.length>0&&this._reportError("Host binding expression cannot contain "+i.join(" "),e,t),new Io(s,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new Ji(e,t,n,r))}_parseBindingAst(e,t,n,r){const s=this._parseQuote(e,t,n);if(null!=s)return s;this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),o=this._lexer.tokenize(i);return new ou(e,t,n,o,i.length,!1,this.errors,e.length-i.length).parseChain()}_parseQuote(e,t,n){if(null==e)return null;const r=e.indexOf(":");if(-1==r)return null;const s=e.substring(0,r).trim();if(!Kl(s))return null;const i=e.substring(r+1),o=new eo(0,e.length);return new ro(o,o.toAbsolute(n),s,i,t)}parseTemplateBindings(e,t,n,r,s){const i=this._lexer.tokenize(t);return new ou(t,n,s,i,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new To(r,r+e.length)})}parseInterpolation(e,t,n,r=Ai){const s=this.splitInterpolation(e,t,r);if(null==s)return null;const i=[];for(let a=0;a<s.expressions.length;++a){const r=s.expressions[a],o=this._stripComments(r),c=this._lexer.tokenize(o),l=new ou(e,t,n,c,o.length,!1,this.errors,s.offsets[a]+(r.length-o.length)).parseChain();i.push(l)}const o=new eo(0,null==e?0:e.length);return new Io(new yo(o,o.toAbsolute(n),s.strings,i),e,t,n,this.errors)}splitInterpolation(e,t,n=Ai){const r=[],s=[],i=[],o=[],a=[];let c=0,l=!1,u=!1,{start:p,end:h}=n;for(;c<e.length;)if(l){const n=c,r=n+p.length,o=e.indexOf(h,r);if(-1===o){l=!1,u=!0;break}const d=o+h.length,f=e.substring(r,o);f.trim().length>0?s.push(f):(this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${c} in`,t),s.push("$implicit")),i.push(r),a.push({start:n,end:d}),c=d,l=!1}else{const t=c;c=e.indexOf(p,c),-1===c&&(c=e.length);const n=e.substring(t,c);r.push(n),o.push({start:t,end:c}),l=!0}return l||(u?(r[r.length-1]+=e.substring(c),o[o.length-1].end=e.length):(r.push(e.substring(c)),o.push({start:c,end:e.length}))),0===s.length?null:new Jl(r,o,s,a,i)}wrapLiteralPrimitive(e,t,n){const r=new eo(0,null==e?0:e.length);return new Io(new mo(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),s=e.charCodeAt(n+1);if(r===pr&&s==pr&&null==t)return n;t===r?t=null:null==t&&Yl(r)&&(t=r)}return null}_checkNoInterpolation(e,t,n){const r=(s=n)===Ai?tu:nu(s);var s;const i=e.split(r);i.length>1&&this._reportError(`Got interpolation (${n.start}${n.end}) where expression was expected`,e,`at column ${this._findInterpolationErrorColumn(i,1,n)} in`,t)}_findInterpolationErrorColumn(e,t,n){let r="";for(let s=0;s<t;s++)r+=s%2==0?e[s]:`${n.start}${e[s]}${n.end}`;return r.length}}class su extends ru{constructor(){super(...arguments),this.simpleExpressionChecker=cu}}var iu;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(iu||(iu={}));class ou{constructor(e,t,n,r,s,i,o,a){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=s,this.parseAction=i,this.errors=o,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=iu.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:zl}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e){return new eo(e,this.currentEndIndex)}sourceSpan(e){const t=`${e}@${this.inputIndex}`;return this.sourceSpanCache.has(t)||this.sourceSpanCache.set(t,this.span(e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(t)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected "+String.fromCharCode(e))}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator "+e)}prettyPrintToken(e){return e===zl?"end of input":"token "+e}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),"")}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(dr))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(dr););else this.index<this.tokens.length&&this.error(`Unexpected token '${this.next}'`)}return 0==e.length?new so(this.span(t),this.sourceSpan(t)):1==e.length?e[0]:new oo(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{const t=this.inputIndex,n=this.expectIdentifierOrKeyword(),r=this.sourceSpan(t),s=[];for(;this.consumeOptionalCharacter(hr);)s.push(this.parseExpression());const{start:i}=e.span;e=new fo(this.span(i),this.sourceSpan(i),e,n,s,r)}while(this.consumeOptionalOperator("|"))}return e}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(hr))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),r=new so(this.span(e),this.sourceSpan(e))}return new ao(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){let e=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const t=this.parseLogicalAnd(),{start:n}=e.span;e=new Eo(this.span(n),this.sourceSpan(n),"||",e,t)}return e}parseLogicalAnd(){let e=this.parseEquality();for(;this.consumeOptionalOperator("&&");){const t=this.parseEquality(),{start:n}=e.span;e=new Eo(this.span(n),this.sourceSpan(n),"&&",e,t)}return e}parseEquality(){let e=this.parseRelational();for(;this.next.type==Bl.Operator;){const t=this.next.strValue;switch(t){case"==":case"===":case"!=":case"!==":this.advance();const n=this.parseRelational(),{start:r}=e.span;e=new Eo(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseRelational(){let e=this.parseAdditive();for(;this.next.type==Bl.Operator;){const t=this.next.strValue;switch(t){case"<":case">":case"<=":case">=":this.advance();const n=this.parseAdditive(),{start:r}=e.span;e=new Eo(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseAdditive(){let e=this.parseMultiplicative();for(;this.next.type==Bl.Operator;){const t=this.next.strValue;switch(t){case"+":case"-":this.advance();let n=this.parseMultiplicative();const{start:r}=e.span;e=new Eo(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseMultiplicative(){let e=this.parsePrefix();for(;this.next.type==Bl.Operator;){const t=this.next.strValue;switch(t){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();const{start:r}=e.span;e=new Eo(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parsePrefix(){if(this.next.type==Bl.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),So.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),So.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new xo(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){let e=this.parsePrimary();const t=e.span.start;for(;;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.consumeOptionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.consumeOptionalCharacter(91))this.withContext(iu.Writable,()=>{this.rbracketsExpected++;const n=this.parsePipe();if(n instanceof so&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("=")){const r=this.parseConditional();e=new ho(this.span(t),this.sourceSpan(t),e,n,r)}else e=new po(this.span(t),this.sourceSpan(t),e,n)});else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(lr),e=new Co(this.span(t),this.sourceSpan(t),e,n)}else{if(!this.consumeOptionalOperator("!"))return e;e=new _o(this.span(t),this.sourceSpan(t),e)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(lr),e}if(this.next.isKeywordNull())return this.advance(),new mo(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new mo(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new mo(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new mo(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new io(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new vo(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(yr))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new io(this.span(e),this.sourceSpan(e)),!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new mo(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new mo(this.span(e),this.sourceSpan(e),t)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new so(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token "+this.next),new so(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];if(!this.next.isCharacter(e))do{t.push(this.parsePipe())}while(this.consumeOptionalCharacter(ur));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(yr),!this.consumeOptionalCharacter(Er)){this.rbracesExpected++;do{const n=this.next.isString(),r=this.expectIdentifierOrKeywordOrString();e.push({key:r,quoted:n}),this.expectCharacter(hr),t.push(this.parsePipe())}while(this.consumeOptionalCharacter(ur));this.rbracesExpected--,this.expectCharacter(Er)}return new go(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t=!1){const n=e.span.start,r=this.inputIndex,s=this.expectIdentifierOrKeyword(),i=this.sourceSpan(r);if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const r=this.parseCallArguments();this.expectCharacter(lr),this.rparensExpected--;const o=this.span(n),a=this.sourceSpan(n);return t?new wo(o,a,i,e,s,r):new bo(o,a,i,e,s,r)}if(t)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new so(this.span(n),this.sourceSpan(n))):new uo(this.span(n),this.sourceSpan(n),i,e,s);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new so(this.span(n),this.sourceSpan(n));const t=this.parseConditional();return new lo(this.span(n),this.sourceSpan(n),i,e,s,t)}return new co(this.span(n),this.sourceSpan(n),i,e,s)}parseCallArguments(){if(this.next.isCharacter(lr))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(ur));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new To(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source[0].toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new eu(t,[],this.errors)}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(hr);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const s=this.parseAsBinding(e);s||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const i=new To(e.span.start,r);return t.push(new Ao(i,e,n)),s&&t.push(s),t}getDirectiveBoundTarget(){if(this.next===zl||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new Io(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new To(e.span.start,this.currentAbsoluteOffset);return new Mo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new To(e,this.currentAbsoluteOffset);return new Mo(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(dr)||this.consumeOptionalCharacter(ur)}error(e,t=null){this.errors.push(new Ji(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(dr)||!(this.rparensExpected<=0)&&e.isCharacter(lr)||!(this.rbracesExpected<=0)&&e.isCharacter(Er)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&iu.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new Ji(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class au{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map(e=>e.visit(this,t))}visitChain(e,t){}visitQuote(e,t){}}class cu extends No{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}let lu;function uu(){return lu||(lu={},pu(q.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),pu(q.STYLE,["*|style"]),pu(q.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),pu(q.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),lu}function pu(e,t){for(const n of t)lu[n.toLowerCase()]=e}class hu{}const du=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],fu={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"};class mu extends hu{constructor(){super(),this._schema={},du.forEach(e=>{const t={},[n,r]=e.split("|"),s=r.split(","),[i,o]=n.split("^");i.split(",").forEach(e=>this._schema[e.toLowerCase()]=t);const a=o&&this._schema[o.toLowerCase()];a&&Object.keys(a).forEach(e=>{t[e]=a[e]}),s.forEach(e=>{if(e.length>0)switch(e[0]){case"*":break;case"!":t[e.substring(1)]="boolean";break;case"#":t[e.substring(1)]="number";break;case"%":t[e.substring(1)]="object";break;default:t[e]="string"}})})}hasProperty(e,t,n){if(n.some(e=>e.name===U.name))return!0;if(e.indexOf("-")>-1){if(i(e)||o(e))return!1;if(n.some(e=>e.name===B.name))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]}hasElement(e,t){if(t.some(e=>e.name===U.name))return!0;if(e.indexOf("-")>-1){if(i(e)||o(e))return!0;if(t.some(e=>e.name===B.name))return!0}return!!this._schema[e.toLowerCase()]}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let r=uu()[e+"|"+t];return r||(r=uu()["*|"+t],r||q.NONE)}getMappedPropName(e){return fu[e]||e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}normalizeAnimationStyleProperty(e){return e.replace(jt,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,n){let r="";const s=n.toString().trim();let i=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(i=`Please provide a CSS unit value for ${t}:${n}`)}return{error:i,value:s+r}}}const vu=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function gu(e,t){const n=new yu(t);return{nodes:Ha(n,e),errors:t.errors.concat(n.errors),styleUrls:n.styleUrls,styles:n.styles,ngContentSelectors:n.ngContentSelectors}}class yu{constructor(e){this.bindingParser=e,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.inI18nBlock=!1}visitElement(e){const t=$s(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=fl(e);if(n.type===ml.SCRIPT)return null;if(n.type===ml.STYLE){const t=1===(r=e).children.length&&r.children[0]instanceof ja?r.children[0].value:null;return null!==t&&this.styles.push(t),null}if(n.type===ml.STYLESHEET&&sl(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;var r;const s=a(e.name),i=[],o=[],c=[],l=[],u=[],p={},h=[],d=[];let f=!1;for(const a of e.attrs){let e=!1;const t=Su(a.name);let n=!1;if(a.i18n&&(p[a.name]=a.i18n),t.startsWith("*")){f&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",a.sourceSpan),n=!0,f=!0;const e=a.value,r=t.substring("*".length),s=[],i=a.valueSpan?a.valueSpan.start.offset:a.sourceSpan.start.offset+a.name.length;this.bindingParser.parseInlineTemplateBinding(r,e,a.sourceSpan,i,[],h,s),d.push(...s.map(e=>new Ur(e.name,e.value,e.sourceSpan,e.valueSpan)))}else e=this.parseAttribute(s,a,[],i,o,c,l);e||n||u.push(this.visitAttribute(a))}const m=Ha(n.nonBindable?Eu:this,e.children);let v;if(n.type===ml.NG_CONTENT){e.children&&!e.children.every(e=>function(e){return e instanceof ja&&0==e.value.trim().length}(e)||function(e){return e instanceof Wa}(e))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const t=n.selectAttr,r=e.attrs.map(e=>this.visitAttribute(e));v=new Br(t,r,e.sourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(s){const t=this.extractAttributes(e.name,i,p);v=new jr(e.name,u,t.bound,o,[],m,l,c,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.extractAttributes(e.name,i,p);v=new Lr(e.name,u,t.bound,o,m,l,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(f){const n=this.extractAttributes("ng-template",h,p),r=[];n.literal.forEach(e=>r.push(e)),n.bound.forEach(e=>r.push(e));const i=v instanceof Lr?{attributes:v.attributes,inputs:v.inputs,outputs:v.outputs}:{attributes:[],inputs:[],outputs:[]},o=s&&t?void 0:e.i18n;v=new jr(v.name,i.attributes,i.inputs,i.outputs,r,[v],[],d,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,o)}return t&&(this.inI18nBlock=!1),v}visitAttribute(e){return new Rr(e.name,e.value,e.sourceSpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!$s(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},r={};return Object.keys(t.placeholders).forEach(s=>{const i=t.placeholders[s];if(s.startsWith("VAR_")){const t=this.bindingParser.interpolationConfig,r=`${t.start}${i}${t.end}`,o=s.trim();n[o]=this._visitTextWithInterpolation(r,e.sourceSpan)}else r[s]=this._visitTextWithInterpolation(i,e.sourceSpan)}),new $r(n,r,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return null}extractAttributes(e,t,n){const r=[],s=[];return t.forEach(t=>{const i=n[t.name];if(t.isLiteral)s.push(new Rr(t.name,t.expression.source||"",t.sourceSpan,void 0,i));else{const n=this.bindingParser.createBoundElementProperty(e,t,!0,!1);r.push(Dr.fromBoundElementProperty(n,i))}}),{bound:r,literal:s}}parseAttribute(e,t,n,r,s,i,o){const a=Su(t.name),c=t.value,l=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:l.start.offset,p=a.match(vu);let h=!1;if(p){if(h=!0,null!=p[1])this.bindingParser.parsePropertyBinding(p[7],c,!1,l,u,t.valueSpan,n,r);else if(p[2])if(e){const e=p[7];this.parseVariable(e,c,l,t.valueSpan,i)}else this.reportError('"let-" is only supported on ng-template elements.',l);else if(p[3]){const e=p[7];this.parseReference(e,c,l,t.valueSpan,o)}else if(p[4]){const e=[];this.bindingParser.parseEvent(p[7],c,l,t.valueSpan||l,n,e),xu(e,s)}else if(p[5])this.bindingParser.parsePropertyBinding(p[7],c,!1,l,u,t.valueSpan,n,r),this.parseAssignmentEvent(p[7],c,l,t.valueSpan,n,s);else if(p[6])this.bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r);else if(p[8])this.bindingParser.parsePropertyBinding(p[8],c,!1,l,u,t.valueSpan,n,r),this.parseAssignmentEvent(p[8],c,l,t.valueSpan,n,s);else if(p[9])this.bindingParser.parsePropertyBinding(p[9],c,!1,l,u,t.valueSpan,n,r);else if(p[10]){const e=[];this.bindingParser.parseEvent(p[10],c,l,t.valueSpan||l,n,e),xu(e,s)}}else h=this.bindingParser.parsePropertyInterpolation(a,c,l,t.valueSpan,n,r);return h}_visitTextWithInterpolation(e,t,n){const r=bc(e),s=this.bindingParser.parseInterpolation(r,t);return s?new Or(s,t,n):new Pr(r,t)}parseVariable(e,t,n,r,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),s.push(new Ur(e,t,n,r))}parseReference(e,t,n,r,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length&&this.reportError("Reference does not have a name",n),s.push(new Vr(e,t,n,r))}parseAssignmentEvent(e,t,n,r,s,i){const o=[];this.bindingParser.parseEvent(e+"Change",t+"=$event",n,r||n,s,o),xu(o,i)}reportError(e,t,n=Mr.ERROR){this.errors.push(new Ar(t,e,n))}}const Eu=new class{visitElement(e){const t=fl(e);if(t.type===ml.SCRIPT||t.type===ml.STYLE||t.type===ml.STYLESHEET)return null;const n=Ha(this,e.children,null);return new Lr(e.name,Ha(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new Rr(e.name,e.value,e.sourceSpan,void 0,e.i18n)}visitText(e){return new Pr(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function Su(e){return/^data-/i.test(e)?e.substring(5):e}function xu(e,t){t.push(...e.map(e=>Fr.fromParsedEvent(e)))}var _u;!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE",e[e.PROJECTION=2]="PROJECTION"}(_u||(_u={}));class bu{constructor(e,t,n=0,r=null,s,i){this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=s,this.registry=i,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=i||{getUniqueId:Gs(),icus:new Map},this.id=this._registry.getUniqueId()}appendTag(e,t,n,r){if(t.isVoid&&r)return;const s=t.isVoid||!r?t.startName:t.closeName,i={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};Zs(this.placeholders,s,i)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;return this.placeholders.forEach((t,n)=>e.set(n,t.map(Iu))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){Zs(this._registry.icus,e,t)}appendBoundText(e){Xs(e,this.bindings.size,this.id).forEach((e,t)=>Zs(this.placeholders,t,...e))}appendTemplate(e,t){this.appendTag(_u.TEMPLATE,e,t,!1),this.appendTag(_u.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,n){this.appendTag(_u.ELEMENT,e,t,n)}appendProjection(e,t){this.appendTag(_u.PROJECTION,e,t,!1),this.appendTag(_u.PROJECTION,e,t,!0)}forkChildContext(e,t,n){return new bu(e,this.ref,this.level+1,t,n,this._registry)}reconcileChildContext(e){["start","close"].forEach(t=>{const n=e.meta[t+"Name"],r=(this.placeholders.get(n)||[]).find(Tu(this.id,e.templateIndex));r&&(r.ctx=e.id)});e.placeholders.forEach((t,n)=>{const r=this.placeholders.get(n);if(!r)return void this.placeholders.set(n,t);const s=r.findIndex(Tu(e.id,e.templateIndex));if(s>=0){const e=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))r.splice(s+(e?0:1),0,...t);else{t[e?t.length-1:0].tmpl=r[s],r.splice(s,1,...t)}}else r.push(...t);this.placeholders.set(n,r)}),this._unresolvedCtxCount--}}function wu(e,t,n,r){return qs(`${r?"/":""}${e}${t}`,n)}function Cu(e,{index:t,ctx:n,isVoid:r},s){return r?wu(e,t,n)+wu(e,t,n,!0):wu(e,t,n,s)}function Tu(e,t){return n=>"object"==typeof n&&n.type===_u.TEMPLATE&&n.index===t&&n.ctx===e}function Iu(e){const t=(e,t)=>Cu("#",e,t),n=(e,t)=>Cu("*",e,t);switch(e.type){case _u.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case _u.TEMPLATE:return n(e,e.closed);case _u.PROJECTION:return r=e,s=e.closed,Cu("!",r,s);default:return e}var r,s}const Mu=new class{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Qs(e,!1)}}`}};function Au(e){return e.visit(Mu)}const Nu={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"};class ku{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,n){const r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];const s=e.toUpperCase(),i=Nu[s]||"TAG_"+s,o=this._generateUniqueName(n?i:"START_"+i);return this._signatureToName[r]=o,o}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),r=Nu[n]||"TAG_"+n,s=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[t]=s,s}getPlaceholderName(e,t){const n=e.toUpperCase(),r=`PH: ${n}=${t}`;if(this._signatureToName[r])return this._signatureToName[r];const s=this._generateUniqueName(n);return this._signatureToName[r]=s,s}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,n){return"<"+e+Object.keys(t).sort().map(e=>` ${e}=${t[e]}`).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag("/"+e,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}const Pu=new ru(new Vl);function Ou(e){const t=new Du(Pu,e);return(e,n,r,s,i)=>t.toI18nMessage(e,n,r,s,i)}function Ru(e,t){return t}class Du{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",n="",r="",s){const i={isIcu:1==e.length&&e[0]instanceof Ba,icuDepth:0,placeholderRegistry:new ku,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:s||Ru},o=Ha(this,e,i);return new zr(o,i.placeholderToContent,i.placeholderToMessage,t,n,r)}visitElement(e,t){const n=Ha(this,e.children,t),r={};e.attrs.forEach(e=>{r[e.name]=e.value});const s=m(e.name).isVoid,i=t.placeholderRegistry.getStartTagPlaceholderName(e.name,r,s);t.placeholderToContent[i]=e.sourceSpan.toString();let o="";s||(o=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[o]=`</${e.name}>`);const a=new Zr(e.name,r,i,o,n,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,a)}visitAttribute(e,t){const n=this._visitTextWithInterpolation(e.value,e.sourceSpan,t);return t.visitNodeFn(e,n)}visitText(e,t){const n=this._visitTextWithInterpolation(e.value,e.sourceSpan,t);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},r=new Kr(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach(e=>{n[e.value]=new Gr(e.expression.map(e=>e.visit(this,t)),e.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return r.expressionPlaceholder=n,t.placeholderToContent[n]=e.switchValue,t.visitNodeFn(e,r)}const s=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[s]=this.toI18nMessage([e],"","","",void 0);const i=new Yr(r,s,e.sourceSpan);return t.visitNodeFn(e,i)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,n){const r=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(!r)return new qr(e,t);const s=[],i=new Gr(s,t),{start:o,end:a}=this._interpolationConfig;for(let l=0;l<r.strings.length-1;l++){const e=r.expressions[l],i=e.split(Lu)[2]||"INTERPOLATION",c=n.placeholderRegistry.getPlaceholderName(i,e);if(r.strings[l].length){const e=Fu(t,r.stringSpans[l]);s.push(new qr(r.strings[l],e))}const u=Fu(t,r.expressionsSpans[l]);s.push(new Xr(e,c,u)),n.placeholderToContent[c]=o+e+a}const c=r.strings.length-1;if(r.strings[c].length){const e=Fu(t,r.stringSpans[c]);s.push(new qr(r.strings[c],e))}return i}}function Fu(e,{start:t,end:n}){return new Ir(e.fullStart.moveBy(t),e.fullStart.moveBy(n))}const Lu=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;const ju=(e,t)=>(e instanceof La&&(t instanceof Yr&&e.i18n instanceof zr&&(t.previousMessage=e.i18n),e.i18n=t),t);class Bu{constructor(e=Ai,t=!1,n=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.hasI18nMeta=!1,this._createI18nMessage=Ou(this.interpolationConfig)}_generateI18nMessage(e,t="",n){const{meaning:r,description:s,customId:i}=this._parseMetadata(t),o=this._createI18nMessage(e,r,s,i,n);return this._setMessageId(o,t),this._setLegacyIds(o,t),o}visitElement(e){if(function(e){return e.attrs.some(e=>Vs(e.name))}(e)){this.hasI18nMeta=!0;const t=[],n={};for(const r of e.attrs)if(r.name===Bs){const t=e.i18n||r.value,n=this._generateI18nMessage(e.children,t,ju);n.nodes.length&&(e.i18n=n)}else if(r.name.startsWith(Us)){n[r.name.slice(Us.length)]=r.value}else t.push(r);if(Object.keys(n).length)for(const e of t){const t=n[e.name];void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=t)}return Ha(this,e.children,e.i18n),e}visitExpansion(e,t){let n;const r=e.i18n;if(this.hasI18nMeta=!0,r instanceof Yr){const t=r.name;n=this._generateI18nMessage([e],r);zs(n).name=t}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,r;if(e=e.trim()){const s=e.indexOf("@@"),i=e.indexOf("|");let o;[o,t]=s>-1?[e.slice(0,s),e.slice(s+2)]:[e,""],[n,r]=i>-1?[o.slice(0,i),o.slice(i+1)]:["",o]}return{customId:t,meaning:n,description:r}}(e):e instanceof zr?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof zr&&t.id||es(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[Jr(e),ts(e)];else if("string"!=typeof t){const n=t instanceof zr?t:t instanceof Yr?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}}function Uu(e,t,n,r){const s=[Dt(function(e){return e.nodes.map(e=>e.visit(Vu,null)).join("")}(t))];Object.keys(r).length&&s.push(Gi(r,!0));const i=n.set(Tt("goog.getMsg").callFn(s)).toConstDecl(),o=function(e){const t=[];return e.description&&t.push({tagName:"desc",text:e.description}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),0==t.length?null:Ct(t)}(t);null!==o&&i.addLeadingComment(o);return[i,new ot(e.set(n))]}const Vu=new class{formatPh(e){return`{$${Qs(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){return Au(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function $u(e,t,n){const{messageParts:r,placeHolders:s}=function(e){const t=[];return e.nodes.forEach(e=>e.visit(Wu,t)),function(e){const t=[],n=[];e[0]instanceof Ne&&t.push(Hu(e[0].sourceSpan.start));for(let r=0;r<e.length;r++){const s=e[r];s instanceof Ae?t.push(s):(n.push(s),e[r-1]instanceof Ne&&t.push(Hu(e[r-1].sourceSpan.end)))}e[e.length-1]instanceof Ne&&t.push(Hu(e[e.length-1].sourceSpan.end));return{messageParts:t,placeHolders:n}}(t)}(t),i=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new Ir(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),o=s.map(e=>n[e.text]),a=function(e,t,n,r,s){return new ke(e,t,n,r,s)}(t,r,s,o,i),c=e.set(a);return[new ot(c)]}const Wu=new class{visitText(e,t){t[t.length-1]instanceof Ae?t[t.length-1].text+=e.value:t.push(new Ae(e.value,e.sourceSpan))}visitContainer(e,t){e.children.forEach(e=>e.visit(this,t))}visitIcu(e,t){t.push(new Ae(Au(e),e.sourceSpan))}visitTagPlaceholder(e,t){var n,r;t.push(this.createPlaceholderPiece(e.startName,null!==(n=e.startSourceSpan)&&void 0!==n?n:e.sourceSpan)),e.isVoid||(e.children.forEach(e=>e.visit(this,t)),t.push(this.createPlaceholderPiece(e.closeName,null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan)))}visitPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}createPlaceholderPiece(e,t){return new Ne(Qs(e,!1),t)}};function Hu(e){return new Ae("",new Ir(e,e))}const zu=new Map([["window",tr.resolveWindow],["document",tr.resolveDocument],["body",tr.resolveBody]]),qu=[" ","\n","\r","\t"];function Gu(e,t){return Rt(Tt(si).bitwiseAnd(Dt(e),null,!1),t)}function Ku(e,t=null,n=null){const{type:r,name:s,target:i,phase:o,handler:a}=e;if(i&&!zu.has(i))throw new Error(`Unexpected global target '${i}' defined for '${s}' event.\n Supported list of global targets: ${Array.from(zu.keys())}.`);const c="$event",l=new Set,u=null===n||0===n.bindingLevel?Tt(ri):n.getOrCreateSharedContextVar(0),p=$o(n,u,a,"b",()=>Kt("Unexpected interpolation"),e.handlerSpan,l),h=[];n&&(h.push(...n.restoreViewStatement()),h.push(...n.variableDeclarations())),h.push(...p.render3Stmts);const d=1===r?function(e,t){return`@${e}.${t}`}(s,o):s,f=t&&Mn(t),m=[];l.has(c)&&m.push(new $e(c,ie));const v=Ot(m,h,oe,null,f),g=[Dt(d),v];return i&&g.push(Dt(!1),It(zu.get(i))),g}class Zu{constructor(e,t,n=0,r,s,i,o,a,c,l,u,p,h,d,f={prepareStatements:[],constExpressions:[]}){this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=s,this.templateIndex=i,this.templateName=o,this.directiveMatcher=a,this.directives=c,this.pipeTypeByName=l,this.pipes=u,this._namespace=p,this.i18nUseExternalIds=d,this._constants=f,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=oi,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=ai,this.visitVariable=ai,this.visitTextAttribute=ai,this.visitBoundAttribute=ai,this.visitBoundEvent=ai,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=h.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new Xu(e,()=>this.allocateDataSlot(),e=>this.allocatePureFunctionSlots(e),(e,t,n,r)=>{const s=l.get(e);s&&this.pipes.add(s),this._bindingScope.set(this.level,t,r),this.creationInstruction(null,tr.pipe,[Dt(n),Dt(e)])})}buildTemplateFunction(e,t,n=0,r){this._ngContentSelectorsOffset=n,this._namespace!==tr.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(e=>this.registerContextVariables(e));const s=this.i18nContext||$s(r)&&!Ws(r)&&!(1===(i=e).length&&i[0]instanceof Lr&&e[0].i18n===r);var i;const o=hp(e);if(s&&this.i18nStart(null,r,o),Hr(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(e=>e()),0===this.level&&this._ngContentReservedSlots.length){const e=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const t=this._ngContentReservedSlots.map(e=>"*"!==e?X(e):e);e.push(this.constantPool.getConstLiteral(ci(t),!0))}this.creationInstruction(null,tr.projectionDef,e,!0)}s&&this.i18nEnd(null,o);const a=this._creationCodeFns.map(e=>e()),c=this._updateCodeFns.map(e=>e()),l=this._bindingScope.viewSnapshotStatements(),u=this._bindingScope.variableDeclarations().concat(this._tempVariables),p=a.length>0?[Gu(1,l.concat(a))]:[],h=c.length>0?[Gu(2,u.concat(c))]:[];return Ot([new $e(si,ce),new $e(ri,null)],[...this._prefixCode,...p,...h],oe,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}i18nTranslate(e,t={},n,r){const s=n||this.i18nGenerateMainBlockVar(),i=function(e,t,n,r={},s){const i=[ei(t),Rt(fp(),Uu(t,e,n,Ys(r,!0)),$u(t,e,Ys(r,!1)))];s&&i.push(new ot(t.set(s(t))));return i}(e,s,this.i18nGenerateClosureVar(e.id),t,r);return this._constants.prepareStatements.push(...i),s}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),n=this.level,r=Tt(e.name+t);this._bindingScope.set(n,e.name,r,1,(t,s)=>{let i;if(t.bindingLevel===n)i=Tt(ri);else{const e=t.getSharedContextName(n);i=e||ep(s)}return[r.set(i.prop(e.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(e=>this.i18n.appendBinding(e))}i18nBindProps(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];if(r instanceof Pr)t[n]=Dt(r.value);else{const e=r.value.visit(this._valueConverter);if(this.allocateBindingSlots(e),e instanceof yo){const{strings:r,expressions:s}=e,{id:i,bindings:o}=this.i18n,a=function(e,t=0,n=0){if(!e.length)return"";let r="";const s=e.length-1;for(let i=0;i<s;i++)r+=`${e[i]}${qs(t+i,n)}`;return r+=e[s],r}(r,o.size,i);this.i18nAppendBindings(s),t[n]=Dt(a)}}}),t}i18nGenerateMainBlockVar(){return Tt(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const r=Js("EXTERNAL_"),s=this.constantPool.uniqueName(n);t=`${r}${Mn(e)}$$${s}`}else{const e=Js(n);t=this.constantPool.uniqueName(e)}return Tt(t)}i18nUpdateRef(e){const{icus:t,meta:n,isRoot:r,isResolved:s,isEmitted:i}=e;if(r&&s&&!i&&!Ws(n)){e.isEmitted=!0;const r=e.getSerializedPlaceholders();let s={},i=r.size?Ks(r):{};t.size&&t.forEach((e,t)=>{if(1===e.length)i[t]=e[0];else{const n=qs("I18N_EXP_"+t);i[t]=Dt(n),s[t]=kt(e)}});let o;(Array.from(r.values()).some(e=>e.length>1)||Object.keys(s).length)&&(o=e=>{const t=[e];return Object.keys(s).length&&t.push(Gi(s,!0)),Ju(null,tr.i18nPostprocess,t)}),this.i18nTranslate(n,i,e.ref,o)}}i18nStart(e=null,t,n){const r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,t):new bu(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:s,ref:i}=this.i18n,o=[Dt(r),this.addToConsts(i)];s>0&&o.push(Dt(s)),this.creationInstruction(e,n?tr.i18n:tr.i18nStart,o)}i18nEnd(e=null,t){if(!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);const{index:n,bindings:r}=this.i18n;if(r.size){const t=[];r.forEach(n=>{t.push({sourceSpan:e,value:()=>this.convertPropertyBinding(n)})}),this.updateInstructionChainWithAdvance(this.getConstCount()-1,tr.i18nExp,t),this.updateInstruction(e,tr.i18nApply,[Dt(n)])}t||this.creationInstruction(e,tr.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,n){let r=!1;const s=[],i=[];if(t.forEach(e=>{const t=e.i18n;if(e instanceof Rr)s.push(Dt(e.name),this.i18nTranslate(t));else{const o=e.value.visit(this._valueConverter);if(this.allocateBindingSlots(o),o instanceof yo){const a=Ks(Xs(t));s.push(Dt(e.name),this.i18nTranslate(t,a)),o.expressions.forEach(e=>{r=!0,i.push({sourceSpan:n,value:()=>this.convertPropertyBinding(e)})})}}}),i.length>0&&this.updateInstructionChainWithAdvance(e,tr.i18nExp,i),s.length>0){const e=Dt(this.allocateDataSlot()),t=this.addToConsts(kt(s));this.creationInstruction(n,tr.i18nAttributes,[e,t]),r&&this.updateInstruction(n,tr.i18nApply,[e])}}getNamespaceInstruction(e){switch(e){case"math":return tr.namespaceMathML;case"svg":return tr.namespaceSVG;default:return tr.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.sourceSpan,e)}interpolatedUpdateInstruction(e,t,n,r,s,i){this.updateInstructionWithAdvance(t,r.sourceSpan,e,()=>[Dt(n),...this.getUpdateInstructionArguments(s),...i])}visitContent(e){const t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[Dt(t)];this._ngContentReservedSlots.push(e.selector);const s=e.attributes.filter(e=>"select"!==e.name.toLowerCase()),i=this.getAttributeExpressions(s,[],[]);i.length>0?r.push(Dt(n),kt(i)):0!==n&&r.push(Dt(n)),this.creationInstruction(e.sourceSpan,tr.projection,r),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){const t=this.allocateDataSlot(),n=new Dl(null);let r=!1;const o=$s(e.i18n)&&!Ws(e.i18n),a=[],c=[],[l,u]=s(e.name),p=i(e.name);for(const s of e.attributes){const{name:e,value:t}=s;"ngNonBindable"===e?r=!0:"style"===e?n.registerStyleAttr(t):"class"===e?n.registerClassAttr(t):(s.i18n?a:c).push(s)}this.matchDirectives(e.name,e);const h=[Dt(t)];p||h.push(Dt(u));const d=[];e.inputs.forEach(e=>{n.registerBoundInput(e)||(0===e.type&&e.i18n?a.push(e):d.push(e))});const f=this.getAttributeExpressions(c,d,e.outputs,n,[],a);h.push(this.addAttrsToConsts(f));const m=this.prepareRefsArray(e.references);h.push(this.addToConsts(m));const v=this._namespace,g=this.getNamespaceInstruction(l);g!==v&&this.addNamespaceInstruction(g,e),this.i18n&&this.i18n.appendElement(e.i18n,t);const y=!o&&this.i18n?!hp(e.children):e.children.length>0,E=!n.hasBindingsWithPipes&&0===e.outputs.length&&0===a.length&&!y,S=!E&&hp(e.children);if(E)this.creationInstruction(e.sourceSpan,p?tr.elementContainer:tr.element,ui(h));else{if(this.creationInstruction(e.sourceSpan,p?tr.elementContainerStart:tr.elementStart,ui(h)),r&&this.creationInstruction(e.sourceSpan,tr.disableBindings),a.length>0&&this.i18nAttributesInstruction(t,a,e.sourceSpan),e.outputs.length>0){const n=e.outputs.map(n=>({sourceSpan:n.sourceSpan,params:this.prepareListenerParameter(e.name,n,t)}));this.creationInstructionChain(tr.listener,n)}o&&this.i18nStart(e.sourceSpan,e.i18n,S)}const x=n.buildUpdateLevelInstructions(this._valueConverter),_=x.length-1;for(let s=0;s<=_;s++){const e=x[s];this._bindingSlots+=this.processStylingUpdateInstruction(t,e)}const b=Dt(void 0),w=[],C=[];if(d.forEach(e=>{const n=e.type;if(4===n){const t=e.value.visit(this._valueConverter),n=!(t instanceof mo)||!!t.value;this.allocateBindingSlots(t),w.push({name:ir(e.name),sourceSpan:e.sourceSpan,value:()=>n?this.convertPropertyBinding(t):b})}else{if(e.i18n)return;const r=e.value.visit(this._valueConverter);if(void 0!==r){const i=[],[o,a]=s(e.name),c=1===n,l=up(e.securityContext,c);if(l&&i.push(l),o){const e=Dt(o);l?i.push(e):i.push(Dt(null),e)}if(this.allocateBindingSlots(r),0===n)r instanceof yo?this.interpolatedUpdateInstruction(op(r),t,a,e,r,i):w.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(r),params:i});else if(1===n)if(r instanceof yo&&mi(r)>1)this.interpolatedUpdateInstruction(function(e){switch(mi(e)){case 3:return tr.attributeInterpolate1;case 5:return tr.attributeInterpolate2;case 7:return tr.attributeInterpolate3;case 9:return tr.attributeInterpolate4;case 11:return tr.attributeInterpolate5;case 13:return tr.attributeInterpolate6;case 15:return tr.attributeInterpolate7;case 17:return tr.attributeInterpolate8;default:return tr.attributeInterpolateV}}(r),t,a,e,r,i);else{const t=r instanceof yo?r.expressions[0]:r;C.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(t),params:i})}else this.updateInstructionWithAdvance(t,e.sourceSpan,tr.classProp,()=>[Dt(t),Dt(a),this.convertPropertyBinding(r),...i])}}}),w.length>0&&this.updateInstructionChainWithAdvance(t,tr.property,w),C.length>0&&this.updateInstructionChainWithAdvance(t,tr.attribute,C),Hr(this,e.children),!o&&this.i18n&&this.i18n.appendElement(e.i18n,t,!0),!E){const t=e.endSourceSpan||e.sourceSpan;o&&this.i18nEnd(t,S),r&&this.creationInstruction(t,tr.enableBindings),this.creationInstruction(t,p?tr.elementContainerEnd:tr.elementEnd)}}visitTemplate(e){const t="ng-template",n=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,n);const r=Mn(e.tagName||""),i=`${this.contextName}${r?"_"+r:""}_${n}`,o=i+"_Template",a=[Dt(n),Tt(o),Dt(e.tagName?s(e.tagName)[1]:e.tagName)];this.matchDirectives(t,e);const[c,l]=hn(e.attributes,Hs),u=this.getAttributeExpressions(l,e.inputs,e.outputs,void 0,e.templateAttrs,c);if(a.push(this.addAttrsToConsts(u)),e.references&&e.references.length){const t=this.prepareRefsArray(e.references);a.push(this.addToConsts(t)),a.push(It(tr.templateRefExtractor))}const p=new Zu(this.constantPool,this._bindingScope,this.level+1,i,this.i18n,n,o,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const t=p.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(t.toDeclStmt(o)),p._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...p._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,tr.templateCreate,()=>(a.splice(2,0,Dt(p.getConstCount()),Dt(p.getVarCount())),ui(a))),this.templatePropertyBindings(n,e.templateAttrs),e.tagName===t){const[t,r]=hn(e.inputs,Hs),s=[...c,...t];if(s.length>0&&this.i18nAttributesInstruction(n,s,e.sourceSpan),r.length>0&&this.templatePropertyBindings(n,r),e.outputs.length>0){const t=e.outputs.map(e=>({sourceSpan:e.sourceSpan,params:this.prepareListenerParameter("ng_template",e,n)}));this.creationInstructionChain(tr.listener,t)}}}visitBoundText(e){if(this.i18n){const t=e.value.visit(this._valueConverter);return this.allocateBindingSlots(t),void(t instanceof yo&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(t.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,tr.text,[Dt(t)]);const n=e.value.visit(this._valueConverter);this.allocateBindingSlots(n),n instanceof yo?this.updateInstructionWithAdvance(t,e.sourceSpan,function(e){switch(mi(e)){case 1:return tr.textInterpolate;case 3:return tr.textInterpolate1;case 5:return tr.textInterpolate2;case 7:return tr.textInterpolate3;case 9:return tr.textInterpolate4;case 11:return tr.textInterpolate5;case 13:return tr.textInterpolate6;case 15:return tr.textInterpolate7;case 17:return tr.textInterpolate8;default:return tr.textInterpolateV}}(n),()=>this.getUpdateInstructionArguments(n)):Kt("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,tr.text,[Dt(this.allocateDataSlot()),Dt(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));const n=this.i18n,r=this.i18nBindProps(e.vars),s=this.i18nBindProps(e.placeholders),i=e.i18n,o=e=>{const t=Ys(Object.assign(Object.assign({},r),s),!1);return Ju(null,tr.i18nPostprocess,[e,Gi(t,!0)])};if(Ws(n.meta))this.i18nTranslate(i,{},n.ref,o);else{const e=this.i18nTranslate(i,{},void 0,o);n.appendIcu(zs(i).name,e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(ci(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const n=[];t.forEach(t=>{if(t instanceof Dr){const r=t.value.visit(this._valueConverter);if(void 0!==r)if(this.allocateBindingSlots(r),r instanceof yo){const n=[];this.interpolatedUpdateInstruction(op(r),e,t.name,t,r,n)}else n.push({name:t.name,sourceSpan:t.sourceSpan,value:()=>this.convertPropertyBinding(r)})}}),n.length>0&&this.updateInstructionChainWithAdvance(e,tr.property,n)}instructionFn(e,t,n,r,s=!1){e[s?"unshift":"push"](()=>{const e=Array.isArray(r)?r:r();return Ju(t,n,e).toStmt()})}processStylingUpdateInstruction(e,t){let n=0;if(t){const r=[];t.calls.forEach(e=>{n+=e.allocateBindingSlots,r.push({sourceSpan:e.sourceSpan,value:()=>e.params(t=>e.supportsInterpolation&&t instanceof yo?this.getUpdateInstructionArguments(t):this.convertPropertyBinding(t))})}),this.updateInstructionChainWithAdvance(e,t.reference,r)}return n}creationInstruction(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)}creationInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._creationCodeFns.push(()=>fi(e,t.map(e=>e.params()),n).toStmt())}updateInstructionWithAdvance(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)}updateInstruction(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])}updateInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._updateCodeFns.push(()=>{const r=t.map(e=>{const t=e.value(),n=Array.isArray(t)?t:[t];return e.params&&n.push(...e.params),e.name&&n.unshift(Dt(e.name)),n});return fi(e,r,n).toStmt()})}updateInstructionChainWithAdvance(e,t,n){this.addAdvanceInstructionIfNecessary(e,n.length?n[0].sourceSpan:null),this.updateInstructionChain(t,n)}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,tr.advance,[Dt(n)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof yo?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?Tt(ri):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=zo(this,this.getImplicitReceiverExpr(),e,this.bindingContext(),Do.Expression,()=>Kt("Unexpected interpolation")),n=t.currValExpr;return this._tempVariables.push(...t.stmts),n}getUpdateInstructionArguments(e){const{args:t,stmts:n}=function(e,t,n,r){const s=new Qo(e,t,r,void 0),i=n.visit(s,Fo.Expression);s.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const o=qo(s,r);let a=i.args.slice(1);if(n instanceof yo){const e=n.strings;3===a.length&&""===e[0]&&""===e[1]?a=[a[1]]:a.length>=19&&(a=[kt(a)])}return{stmts:o,args:a}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...n),t}matchDirectives(e,t){if(this.directiveMatcher){const n=ip(e,di(t));this.directiveMatcher.match(n,(e,t)=>{this.directives.add(t)})}}getAttributeExpressions(e,t,n,r,s=[],i=[]){const o=new Set,a=[];let c;function l(e,t){"string"==typeof e?o.has(e)||(a.push(...np(e)),void 0!==t&&a.push(t),o.add(e)):a.push(Dt(e))}if(e.forEach(e=>{"ngProjectAs"===e.name&&(c=e),a.push(...np(e.name),ci(e.value))}),c&&a.push(...function(e){const t=X(e.value)[0];return[Dt(5),ci(t)]}(c)),r&&r.populateInitialStylingAttrs(a),t.length||n.length){const e=a.length;for(let n=0;n<t.length;n++){const e=t[n];4!==e.type&&1!==e.type&&l(e.name)}for(let t=0;t<n.length;t++){const e=n[t];1!==e.type&&l(e.name)}a.length!==e&&a.splice(e,0,Dt(3))}return s.length&&(a.push(Dt(4)),s.forEach(e=>l(e.name))),i.length&&(a.push(Dt(6)),i.forEach(e=>l(e.name))),a}addToConsts(e){if(Ft(e))return Je;const t=this._constants.constExpressions;for(let n=0;n<t.length;n++)if(t[n].isEquivalent(e))return Dt(n);return Dt(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(kt(e)):Je}prepareRefsArray(e){if(!e||0===e.length)return Je;return ci(Kn(e.map(e=>{const t=this.allocateDataSlot(),n=this._bindingScope.freshReferenceName(),r=this.level,s=Tt(n);return this._bindingScope.set(r,e.name,s,0,(e,n)=>{const r=n>0?[ep(n).toStmt()]:[],i=s.set(It(tr.reference).callFn([Dt(t)]));return r.concat(i.toConstDecl())},!0),[e.name,e.value]})))}prepareListenerParameter(e,t,n){return()=>{const r=t.name,s=1===t.type?or(r,t.phase):Mn(r),i=`${this.templateName}_${e}_${s}_${n}_listener`,o=this._bindingScope.nestedScope(this._bindingScope.bindingLevel);return Ku(t,i,o)}}}class Xu extends Po{constructor(e,t,n,r){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=n,this.definePipe=r,this._pipeBindExprs=[]}visitPipe(e,t){const n=this.allocateSlot(),r="PIPE:"+n,s=this.allocatePureFunctionSlots(2+e.args.length),i=new co(e.span,e.sourceSpan,e.nameSpan,new io(e.span,e.sourceSpan),r),{identifier:o,isVarLength:a}=function(e){const t=Yu[e.length];return{identifier:t||tr.pipeBindV,isVarLength:!t}}(e.args);this.definePipe(e.name,r,n,It(o));const c=[e.exp,...e.args],l=a?this.visitAll([new vo(e.span,e.sourceSpan,c)]):this.visitAll(c),u=new Co(e.span,e.sourceSpan,i,[new mo(e.span,e.sourceSpan,n),new mo(e.span,e.sourceSpan,s),...l]);return this._pipeBindExprs.push(u),u}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(t=>{t.args[1].value+=e})}visitLiteralArray(e,t){return new ea(e.span,e.sourceSpan,this.visitAll(e.expressions),e=>{const t=kt(e);return tp(this.constantPool,t,this.allocatePureFunctionSlots)})}visitLiteralMap(e,t){return new ea(e.span,e.sourceSpan,this.visitAll(e.values),t=>{const n=Pt(t.map((t,n)=>({key:e.keys[n].key,value:t,quoted:e.keys[n].quoted})));return tp(this.constantPool,n,this.allocatePureFunctionSlots)})}}const Yu=[tr.pipeBind1,tr.pipeBind2,tr.pipeBind3,tr.pipeBind4];const Qu=[tr.pureFunction0,tr.pureFunction1,tr.pureFunction2,tr.pureFunction3,tr.pureFunction4,tr.pureFunction5,tr.pureFunction6,tr.pureFunction7,tr.pureFunction8];function Ju(e,t,n){return It(t,null,e).callFn(n,e)}function ep(e){return It(tr.nextContext).callFn(e>1?[Dt(e)]:[])}function tp(e,t,n){const{literalFactory:r,literalFactoryArguments:s}=e.getLiteralFactory(t),i=n(1+s.length),{identifier:o,isVarLength:a}=function(e){const t=Qu[e.length];return{identifier:t||tr.pureFunctionV,isVarLength:!t}}(s),c=[Dt(i),r];return a?c.push(kt(s)):c.push(...s),It(o).callFn(c)}function np(e){const[t,n]=s(e),r=Dt(n);return t?[Dt(0),Dt(t),r]:[r]}const rp="$$shared_ctx$$";class sp{constructor(e=0,t=null){this.bindingLevel=e,this.parent=t,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null}static createRootScope(){return(new sp).set(0,"$event",Tt("$event"))}get(e){let t=this;for(;t;){let n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority,localRef:n.localRef},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView(n.retrievalLevel,n.localRef)),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,n,r=0,s,i){if(this.map.has(t)){if(i)return this;Kt(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:s,priority:r,localRef:i||!1}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get("$$shared_ctx$$0").declare=!0)}nestedScope(e){const t=new sp(e,this);return e>0&&t.generateSharedContextVar(0),t}getOrCreateSharedContextVar(e){const t=rp+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get(rp+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get(rp+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=Tt(ri+this.freshReferenceName());this.map.set(rp+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(e,n)=>[t.set(ep(n)).toConstDecl()],declare:!1,priority:2,localRef:!1})}getComponentProperty(e){const t=this.map.get("$$shared_ctx$$0");return t.declare=!0,this.maybeRestoreView(0,!1),t.lhs.prop(e)}maybeRestoreView(e,t){this.isListenerScope()&&(e<this.bindingLevel||t)&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=Tt(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){return this.restoreViewVariable?[Ju(null,tr.restoreView,[this.restoreViewVariable]).toStmt()]:[]}viewSnapshotStatements(){const e=Ju(null,tr.getCurrentView,[]);return this.restoreViewVariable?[this.restoreViewVariable.set(e).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(e=>e.declare).sort((e,t)=>t.retrievalLevel-e.retrievalLevel||t.priority-e.priority).reduce((t,n)=>{const r=this.bindingLevel-n.retrievalLevel,s=n.declareLocalCallback(this,r-e);return e=r,t.concat(s)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}}function ip(e,t){const n=new g,r=s(e)[1];return n.setElement(r),Object.getOwnPropertyNames(t).forEach(e=>{const r=s(e)[1],i=t[e];if(n.addAttribute(r,i),"class"===e.toLowerCase()){i.trim().split(/\s+/).forEach(e=>n.addClassName(e))}}),n}function op(e){switch(mi(e)){case 1:return tr.propertyInterpolate;case 3:return tr.propertyInterpolate1;case 5:return tr.propertyInterpolate2;case 7:return tr.propertyInterpolate3;case 9:return tr.propertyInterpolate4;case 11:return tr.propertyInterpolate5;case 13:return tr.propertyInterpolate6;case 15:return tr.propertyInterpolate7;case 17:return tr.propertyInterpolate8;default:return tr.propertyInterpolateV}}function ap(e,t,n={}){const{interpolationConfig:r,preserveWhitespaces:s,enableI18nLegacyMessageIdFormat:i}=n,o=lp(r),a=(new gc).parse(e,t,Object.assign(Object.assign({leadingTriviaChars:qu},n),{tokenizeExpansionForms:!0}));if(a.errors&&a.errors.length>0)return{errors:a.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};let c=a.rootNodes;const l=new Bu(r,!s,i);c=Ha(l,c),s||(c=Ha(new wc,c),l.hasI18nMeta&&(c=Ha(new Bu(r,!1),c)));const{nodes:u,errors:p,styleUrls:h,styles:d,ngContentSelectors:f}=gu(c,o);return p&&p.length>0?{errors:p,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]}:{nodes:u,styleUrls:h,styles:d,ngContentSelectors:f}}const cp=new mu;function lp(e=Ai){return new ll(new su(new Vl),e,cp,null,[])}function up(e,t){switch(e){case q.HTML:return It(tr.sanitizeHtml);case q.SCRIPT:return It(tr.sanitizeScript);case q.STYLE:return t?It(tr.sanitizeStyle):null;case q.URL:return It(tr.sanitizeUrl);case q.RESOURCE_URL:return It(tr.sanitizeResourceUrl);default:return null}}function pp(e){return e instanceof Pr||e instanceof Or||e instanceof $r}function hp(e){return e.every(pp)}const dp="ngI18nClosureMode";function fp(){return Nt(Tt(dp)).notIdentical(Dt("undefined",le)).and(Tt(dp))}const mp=[],vp=/attr\.([^\]]+)/;function gp(e,t,n){const r=new hi,s=X(e.selector);return r.set("type",e.internalType),s.length>0&&r.set("selectors",ci(s)),e.queries.length>0&&r.set("contentQueries",function(e,t,n){const r=[],s=[],i=ii(s,ni);for(const a of e){const e=a.static?tr.staticContentQuery:tr.contentQuery;r.push(It(e).callFn([Tt("dirIndex"),...wp(a,t)]).toStmt());const n=i(),o=It(tr.loadQuery).callFn([]),c=It(tr.queryRefresh).callFn([n.set(o)]),l=Tt(ri).prop(a.propertyName).set(a.first?n.prop("first"):n);s.push(c.and(l).toStmt())}const o=n?n+"_ContentQueries":null;return Ot([new $e(si,ce),new $e(ri,null),new $e("dirIndex",null)],[Gu(1,r),Gu(2,s)],oe,null,o)}(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",function(e,t,n){const r=[],s=[],i=ii(s,ni);e.forEach(e=>{const n=It(e.static?tr.staticViewQuery:tr.viewQuery).callFn(wp(e,t));r.push(n.toStmt());const o=i(),a=It(tr.loadQuery).callFn([]),c=It(tr.queryRefresh).callFn([o.set(a)]),l=Tt(ri).prop(e.propertyName).set(e.first?o.prop("first"):o);s.push(c.and(l).toStmt())});const o=n?n+"_Query":null;return Ot([new $e(si,ce),new $e(ri,null)],[Gu(1,r),Gu(2,s)],oe,null,o)}(e.viewQueries,t,e.name)),r.set("hostBindings",function(e,t,n,r,s,i,o){const a=Tt(ri),c=new Dl(a),{styleAttr:l,classAttr:u}=e.specialAttributes;void 0!==l&&c.registerStyleAttr(l);void 0!==u&&c.registerClassAttr(u);const p=[],h=[],d=t,f=Ap(e),m=n.createDirectiveHostEventAsts(f,d);if(m&&m.length){const e=function(e,t){const n=[],r=[],s=[];e.forEach(e=>{let s=e.name&&Mn(e.name);const i=1===e.type?or(s,e.targetOrPhase):s,o=t&&s?`${t}_${i}_HostBindingHandler`:null,a=Ku(Fr.fromParsedEvent(e),o);1==e.type?r.push(a):n.push(a)}),r.length>0&&s.push(fi(tr.syntheticHostListener,r).toStmt());n.length>0&&s.push(fi(tr.listener,n).toStmt());return s}(m,i);p.push(...e)}const v=n.createBoundHostProperties(f,d),g=[];let y,E=0;v&&v.forEach(e=>{const t=e.name;c.registerInputBasedOnName(t,e.expression,e.sourceSpan)?E+=2:(g.push(e),E++)});const S=()=>{if(!y){y=new Xu(r,()=>Kt("Unexpected node"),e=>{const t=E;return E+=e,t},()=>Kt("Unexpected pipe"))}return y},x=[],_=[],b=[];g.forEach(e=>{const t=e.expression.visit(S()),r=Mp(a,t),{bindingName:i,instruction:o,isAttribute:c}=function(e){let t,n=e.name;const r=n.match(vp);r?(n=r[1],t=tr.attribute):e.isAnimation?(n=ir(n),t=tr.syntheticHostProperty):t=tr.hostProperty;return{bindingName:n,instruction:t,isAttribute:!!r}}(e),l=n.calcPossibleSecurityContexts(s,i,c).filter(e=>e!==q.NONE);let u=null;l.length&&(u=2===l.length&&l.indexOf(q.URL)>-1&&l.indexOf(q.RESOURCE_URL)>-1?It(tr.sanitizeUrlOrResourceUrl):up(l[0],c));const p=[Dt(i),r.currValExpr];u&&p.push(u),h.push(...r.stmts),o===tr.hostProperty?x.push(p):o===tr.attribute?_.push(p):o===tr.syntheticHostProperty?b.push(p):h.push(It(o).callFn(p).toStmt())}),x.length>0&&h.push(fi(tr.hostProperty,x).toStmt());_.length>0&&h.push(fi(tr.attribute,_).toStmt());b.length>0&&h.push(fi(tr.syntheticHostProperty,b).toStmt());const w=function(e){const t=[];for(let n of Object.getOwnPropertyNames(e)){const r=e[n];t.push(Dt(n),r)}return t}(e.attributes);c.assignHostAttrs(w,o),c.hasBindings&&c.buildUpdateLevelInstructions(S()).forEach(e=>{if(e.calls.length>0){const t=[];e.calls.forEach(e=>{E+=Math.max(e.allocateBindingSlots-2,0),t.push(function(e,t,n){return e.params(e=>n(t,e).currValExpr)}(e,a,Mp))}),h.push(fi(e.reference,t).toStmt())}});E&&o.set("hostVars",Dt(E));if(p.length>0||h.length>0){const e=i?i+"_HostBindings":null,t=[];return p.length>0&&t.push(Gu(1,p)),h.length>0&&t.push(Gu(2,h)),Ot([new $e(si,ce),new $e(ri,null)],t,oe,null,e)}return null}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,r)),r.set("inputs",li(e.inputs,!0)),r.set("outputs",li(e.outputs)),null!==e.exportAs&&r.set("exportAs",kt(e.exportAs.map(e=>Dt(e)))),r}function yp(e,t){const n=[],r=t.providers,s=t.viewProviders;if(r||s){const e=[r||new Ke([])];s&&e.push(s),n.push(It(tr.ProvidersFeature).callFn(e))}t.usesInheritance&&n.push(It(tr.InheritDefinitionFeature)),t.fullInheritance&&n.push(It(tr.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(It(tr.NgOnChangesFeature)),n.length&&e.set("features",kt(n))}function Ep(e,t,n){const r=gp(e,t,n);yp(r,e);const s=It(tr.defineDirective).callFn([r.toLiteralMap()]),i=Ip(e);return{expression:s,type:At(It(tr.DirectiveDefWithMeta,i))}}function Sp(e,t,n){const r=gp(e,t,n);yp(r,e);const s=e.selector&&g.parse(e.selector),i=s&&s[0];if(i){const e=i.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(kt(e.map(e=>Dt(null!=e?e:void 0))),!0))}let o=null;if(e.directives.length>0){const t=new y;for(const{selector:n,expression:r}of e.directives)t.addSelectables(g.parse(n),r);o=t}const a=e.name,c=a?a+"_Template":null,l=new Set,u=new Set,p=e.changeDetection,h=e.template,d=new Zu(t,sp.createRootScope(),0,a,null,null,c,o,l,e.pipes,u,tr.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),f=d.buildTemplateFunction(h.nodes,[]),m=d.getNgContentSelectors();m&&r.set("ngContentSelectors",m),r.set("decls",Dt(d.getConstCount())),r.set("vars",Dt(d.getVarCount()));const{constExpressions:v,prepareStatements:E}=d.getConsts();if(v.length>0){let e=kt(v);E.length>0&&(e=Ot([],[...E,new at(e)])),r.set("consts",e)}if(r.set("template",f),l.size){let t=kt(Array.from(l));e.wrapDirectivesAndPipesInClosure&&(t=Ot([],[new at(t)])),r.set("directives",t)}if(u.size){let t=kt(Array.from(u));e.wrapDirectivesAndPipesInClosure&&(t=Ot([],[new at(t)])),r.set("pipes",t)}if(null===e.encapsulation&&(e.encapsulation=A.Emulated),e.styles&&e.styles.length){const n=(e.encapsulation==A.Emulated?function(e,t,n){const r=new ta;return e.map(e=>r.shimCssText(e,t,n))}(e.styles,ka,Na):e.styles).map(e=>t.getConstLiteral(Dt(e)));r.set("styles",kt(n))}else e.encapsulation===A.Emulated&&(e.encapsulation=A.None);e.encapsulation!==A.Emulated&&r.set("encapsulation",Dt(e.encapsulation)),null!==e.animations&&r.set("data",Pt([{key:"animation",value:e.animations,quoted:!1}])),null!=p&&p!==N.Default&&r.set("changeDetection",Dt(p));const S=It(tr.defineComponent).callFn([r.toLiteralMap()]),x=Ip(e);x.push(Tp(e.template.ngContentSelectors));return{expression:S,type:At(It(tr.ComponentDefWithMeta,x))}}function xp(e,t,n){throw new Error("unsupported")}function _p(e,t){return e.map(e=>{let n=null;return e.read&&e.read.identifier&&(n=t.importExpr(e.read.identifier.reference)),{propertyName:e.propertyName,first:e.first,predicate:bp(e.selectors,t),descendants:e.descendants,read:n,static:!!e.static}})}function bp(e,t){if(e.length>1||1==e.length&&e[0].value){const n=e.map(e=>e.value);return n.some(e=>!e)&&Kt("Found a type among the string selectors expected"),t.constantPool.getConstLiteral(kt(n.map(e=>Dt(e))))}if(1==e.length){const n=e[0];if(n.identifier)return t.importExpr(n.identifier.reference)}return Kt("Unexpected query form"),Qe}function wp(e,t){const n=[pi(e,t),Dt(e.descendants)];return e.read&&n.push(e.read),n}function Cp(e){return At(Pt(Object.keys(e).map(t=>({key:t,value:Dt(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}))))}function Tp(e){return e.length>0?At(kt(e.map(e=>Dt(e)))):ue}function Ip(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[sr(e.type.type,e.typeArgumentCount),null!==t?(n=t,At(Dt(n))):ue,null!==e.exportAs?Tp(e.exportAs):ue,Cp(e.inputs),Cp(e.outputs),Tp(e.queries.map(e=>e.propertyName))];var n}function Mp(e,t){return zo(null,e,t,"b",Do.Expression,()=>Kt("Unexpected interpolation"))}function Ap(e){return{hostAttributes:{},hostListeners:e.listeners,hostProperties:e.properties}}function Np(e,t){const n=Array.from(e).map(([e,n])=>[e,t.importExpr(n)]);return new Map(n)}const kp=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function Pp(e){const t={},n={},r={},s={};for(const i of Object.keys(e)){const o=e[i],a=i.match(kp);if(null===a)switch(i){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");s.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");s.styleAttr=o;break;default:t[i]="string"==typeof o?Dt(o):o}else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");r[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:t,listeners:n,properties:r,specialAttributes:s}}function Op(e,t){const n=Ap(e),r=lp();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}class Rp{get(e){return""}}class Dp{constructor(e=new Hi){this.jitEvaluator=e,this.R3ResolvedDependencyType=yi,this.R3FactoryTarget=gi,this.ResourceLoader=Rp,this.elementSchemaRegistry=new mu}compilePipe(e,t,n){const r=Qi({name:n.name,type:Up(n.type),internalType:new Se(n.type),typeArgumentCount:n.typeArgumentCount,deps:qp(n.deps),pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,e,t,[])}compileInjectable(e,t,n){const{expression:r,statements:s}=bi({name:n.name,type:Up(n.type),internalType:new Se(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:Hp(n.providedIn),useClass:Wp(n,Fp),useFactory:Wp(n,Lp),useValue:Wp(n,jp),useExisting:Wp(n,Bp),userDeps:qp(n.userDeps)||void 0});return this.jitExpression(r,e,t,s)}compileInjector(e,t,n){const r=Zi({name:n.name,type:Up(n.type),internalType:new Se(n.type),deps:qp(n.deps),providers:new Se(n.providers),imports:n.imports.map(e=>new Se(e))});return this.jitExpression(r.expression,e,t,r.statements)}compileNgModule(e,t,n){const r=Ki({type:Up(n.type),internalType:new Se(n.type),adjacentType:new Se(n.type),bootstrap:n.bootstrap.map(Up),declarations:n.declarations.map(Up),imports:n.imports.map(Up),exports:n.exports.map(Up),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Up):null,id:n.id?new Se(n.id):null});return this.jitExpression(r.expression,e,t,[])}compileDirective(e,t,n){const r=new vn,s=lp(),i=Ep($p(n),r,s);return this.jitExpression(i.expression,e,t,r.statements)}compileComponent(e,t,n){const r=new vn,s=n.interpolation?Mi.fromArray(n.interpolation):Ai,i=ap(n.template,t,{preserveWhitespaces:n.preserveWhitespaces,interpolationConfig:s});if(void 0!==i.errors){const e=i.errors.map(e=>e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${n.name}: ${e}`)}const o=Sp(Object.assign(Object.assign(Object.assign({},n),$p(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,wrapDirectivesAndPipesInClosure:!1,styles:[...n.styles,...i.styles],encapsulation:n.encapsulation,interpolation:s,changeDetection:n.changeDetection,animations:null!=n.animations?new Se(n.animations):null,viewProviders:null!=n.viewProviders?new Se(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),r,lp(s)),a=`ng:///${n.name}.js`;return this.jitExpression(o.expression,e,a,r.statements)}compileFactory(e,t,n){const r=Ei({name:n.name,type:Up(n.type),internalType:new Se(n.type),typeArgumentCount:n.typeArgumentCount,deps:qp(n.deps),injectFn:"directiveInject"===n.injectFn?_n.directiveInject:_n.inject,target:n.target});return this.jitExpression(r.factory,e,t,r.statements)}createParseSourceSpan(e,t,n){return kr(e,t,n)}jitExpression(e,t,n,r){const s=[...r,new st("$def",e,void 0,[et.Exported])];return this.jitEvaluator.evaluateStatements(n,s,new qi(t),!0).$def}}const Fp=Object.keys({useClass:null})[0],Lp=Object.keys({useFactory:null})[0],jp=Object.keys({useValue:null})[0],Bp=Object.keys({useExisting:null})[0],Up=function(e){const t=new Se(e);return{value:t,type:t}};function Vp(e){return Object.assign(Object.assign({},e),{predicate:Array.isArray(e.predicate)?e.predicate:new Se(e.predicate),read:e.read?new Se(e.read):null,static:e.static})}function $p(e){const t=Xp(e.inputs||[]),n=Xp(e.outputs||[]),r=e.propMetadata,s={},i={};for(const o in r)r.hasOwnProperty(o)&&r[o].forEach(e=>{"Input"===e.ngMetadataName?s[o]=e.bindingPropertyName?[e.bindingPropertyName,o]:o:Zp(e)&&(i[o]=e.bindingPropertyName||o)});return Object.assign(Object.assign({},e),{typeSourceSpan:e.typeSourceSpan,type:Up(e.type),internalType:new Se(e.type),deps:qp(e.deps),host:Gp(e.propMetadata,e.typeSourceSpan,e.host),inputs:Object.assign(Object.assign({},t),s),outputs:Object.assign(Object.assign({},n),i),queries:e.queries.map(Vp),providers:null!=e.providers?new Se(e.providers):null,viewQueries:e.viewQueries.map(Vp),fullInheritance:!1})}function Wp(e,t){return e.hasOwnProperty(t)?new Se(e[t]):void 0}function Hp(e){return null==e||"string"==typeof e?new Ie(e):new Se(e)}function zp(e){let t;return t=null===e.token?new Ie(null):e.resolved===yi.Attribute?new Ie(e.token):new Se(e.token),{token:t,attribute:null,resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function qp(e){return null==e?null:e.map(zp)}function Gp(e,t,n){const r=Pp(n||{}),s=Op(r,t);if(s.length)throw new Error(s.map(e=>e.msg).join("\n"));for(const i in e)e.hasOwnProperty(i)&&e[i].forEach(e=>{"HostBinding"===e.ngMetadataName?r.properties[e.hostPropertyName||i]=i:Kp(e)&&(r.listeners[e.eventName||i]=`${i}(${(e.args||[]).join(",")})`)});return r}function Kp(e){return"HostListener"===e.ngMetadataName}function Zp(e){return"Output"===e.ngMetadataName}function Xp(e){return e.reduce((e,t)=>{const[n,r]=t.split(",").map(e=>e.trim());return e[n]=r||n,e},{})}function Yp(e){(e.ng||(e.ng={})).\u0275compilerFacade=new Dp}const Qp=new an("10.2.5");class Jp{constructor({defaultEncapsulation:e=A.Emulated,useJit:t=!0,jitDevMode:n=!1,missingTranslation:r=null,preserveWhitespaces:s,strictInjectionParameters:i}={}){this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!n,this.missingTranslation=r,this.preserveWhitespaces=eh(Wt(s)),this.strictInjectionParameters=!0===i}}function eh(e,t=!1){return null===e?t:e}class th{constructor(e,t,n,r){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}clearCache(){this._resourceLoaderCache.clear()}clearCacheFor(e){if(!e.isComponent)return;const t=e.template;this._resourceLoaderCache.delete(t.templateUrl),t.externalStylesheets.forEach(e=>{this._resourceLoaderCache.delete(e.moduleUrl)})}_fetch(e){let t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t}normalizeTemplate(e){if($t(e.template)){if($t(e.templateUrl))throw Zt(`'${rn(e.componentType)}' component cannot define both template and templateUrl`);if("string"!=typeof e.template)throw Zt(`The template specified for component ${rn(e.componentType)} is not a string`)}else{if(!$t(e.templateUrl))throw Zt("No template specified for component "+rn(e.componentType));if("string"!=typeof e.templateUrl)throw Zt(`The templateUrl specified for component ${rn(e.componentType)} is not a string`)}if($t(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw Zt(`The preserveWhitespaces option for component ${rn(e.componentType)} must be a boolean`);return qt(this._preParseTemplate(e),t=>this._normalizeTemplateMetadata(e,t))}_preParseTemplate(e){let t,n;return null!=e.template?(t=e.template,n=e.moduleUrl):(n=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(n)),qt(t,t=>this._preparseLoadedTemplate(e,t,n))}_preparseLoadedTemplate(e,t,n){const r=!!e.template,s=Mi.fromArray(e.interpolation),i=Xn({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:r,templateUrl:n}),o=this._htmlParser.parse(t,i,{tokenizeExpansionForms:!0,interpolationConfig:s});if(o.errors.length>0){throw Zt("Template parse errors:\n"+o.errors.join("\n"))}const a=this._normalizeStylesheet(new Bn({styles:e.styles,moduleUrl:e.moduleUrl})),c=new nh;Ha(c,o.rootNodes);const l=this._normalizeStylesheet(new Bn({styles:c.styles,styleUrls:c.styleUrls,moduleUrl:n}));return{template:t,templateUrl:n,isInline:r,htmlAst:o,styles:a.styles.concat(l.styles),inlineStyleUrls:a.styleUrls.concat(l.styleUrls),styleUrls:this._normalizeStylesheet(new Bn({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:c.ngContentSelectors}}_normalizeTemplateMetadata(e,t){return qt(this._loadMissingExternalStylesheets(t.styleUrls.concat(t.inlineStyleUrls)),n=>this._normalizeLoadedTemplateMetadata(e,t,n))}_normalizeLoadedTemplateMetadata(e,t,n){const r=[...t.styles];this._inlineStyles(t.inlineStyleUrls,n,r);const s=t.styleUrls,i=s.map(e=>{const t=n.get(e),r=[...t.styles];return this._inlineStyles(t.styleUrls,n,r),new Bn({moduleUrl:e,styles:r})});let o=e.encapsulation;return null==o&&(o=this._config.defaultEncapsulation),o===A.Emulated&&0===r.length&&0===s.length&&(o=A.None),new Un({encapsulation:o,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:r,styleUrls:s,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:i,preserveWhitespaces:eh(e.preserveWhitespaces,this._config.preserveWhitespaces)})}_inlineStyles(e,t,n){e.forEach(e=>{const r=t.get(e);r.styles.forEach(e=>n.push(e)),this._inlineStyles(r.styleUrls,t,n)})}_loadMissingExternalStylesheets(e,t=new Map){return qt(Gt(e.filter(e=>!t.has(e)).map(e=>qt(this._fetch(e),n=>{const r=this._normalizeStylesheet(new Bn({styles:[n],moduleUrl:e}));return t.set(e,r),this._loadMissingExternalStylesheets(r.styleUrls,t)}))),e=>t)}_normalizeStylesheet(e){const t=e.moduleUrl,n=e.styleUrls.filter(sl).map(e=>this._urlResolver.resolve(t,e)),r=e.styles.map(e=>{const r=function(e,t,n){const r=[],s=n.replace(ol,"").replace(il,(...n)=>{const s=n[1]||n[2];return sl(s)?(r.push(e.resolve(t,s)),""):n[0]});return new rl(s,r)}(this._urlResolver,t,e);return n.push(...r.styleUrls),r.style});return new Bn({styles:r,styleUrls:n,moduleUrl:t})}}class nh{constructor(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}visitElement(e,t){const n=fl(e);switch(n.type){case ml.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case ml.STYLE:let t="";e.children.forEach(e=>{e instanceof ja&&(t+=e.value)}),this.styles.push(t);break;case ml.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,Ha(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null}visitExpansion(e,t){Ha(this,e.cases)}visitExpansionCase(e,t){Ha(this,e.expression)}visitComment(e,t){return null}visitAttribute(e,t){return null}visitText(e,t){return null}}const rh=[I,T,C,w];class sh{constructor(e){this._reflector=e}isDirective(e){const t=this._reflector.annotations(sn(e));return t&&t.some(ih)}resolve(e,t=!0){const n=this._reflector.annotations(sn(e));if(n){const t=oh(n,ih);if(t){const n=this._reflector.propMetadata(e),r=this._reflector.guards(e);return this._mergeWithPropertyMetadata(t,n,r,e)}}if(t)throw new Error("No Directive annotation found on "+rn(e));return null}_mergeWithPropertyMetadata(e,t,n,r){const s=[],i=[],o={},a={};return Object.keys(t).forEach(e=>{const n=oh(t[e],e=>O.isTypeOf(e));n&&(n.bindingPropertyName?s.push(`${e}: ${n.bindingPropertyName}`):s.push(e));const r=oh(t[e],e=>R.isTypeOf(e));r&&(r.bindingPropertyName?i.push(`${e}: ${r.bindingPropertyName}`):i.push(e));t[e].filter(e=>D.isTypeOf(e)).forEach(t=>{if(t.hostPropertyName){const n=t.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");o[`[${t.hostPropertyName}]`]=e}else o[`[${e}]`]=e});t[e].filter(e=>F.isTypeOf(e)).forEach(t=>{const n=t.args||[];o[`(${t.eventName})`]=`${e}(${n.join(",")})`});const c=oh(t[e],e=>rh.some(t=>t.isTypeOf(e)));c&&(a[e]=c)}),this._merge(e,s,i,o,a,n,r)}_extractPublicName(e){return Bt(e,[null,e])[1].trim()}_dedupeBindings(e){const t=new Set,n=new Set,r=[];for(let s=e.length-1;s>=0;s--){const i=e[s],o=this._extractPublicName(i);n.add(o),t.has(o)||(t.add(o),r.push(i))}return r.reverse()}_merge(e,t,n,r,s,i,o){const a=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),c=this._dedupeBindings(e.outputs?e.outputs.concat(n):n),l=e.host?Object.assign(Object.assign({},e.host),r):r,u=e.queries?Object.assign(Object.assign({},e.queries),s):s;if(k.isTypeOf(e)){const t=e;return k({selector:t.selector,inputs:a,outputs:c,host:l,exportAs:t.exportAs,moduleId:t.moduleId,queries:u,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:e.preserveWhitespaces})}return M({selector:e.selector,inputs:a,outputs:c,host:l,exportAs:e.exportAs,queries:u,providers:e.providers,guards:i})}}function ih(e){return M.isTypeOf(e)||k.isTypeOf(e)}function oh(e,t){for(let n=e.length-1;n>=0;n--)if(t(e[n]))return e[n];return null}class ah extends Ar{constructor(e,t){super(e,t)}}const ch="i18n",lh="i18n-",uh=/^i18n:?/;let ph=!1;class hh{constructor(e,t){this.messages=e,this.errors=t}}var dh;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(dh||(dh={}));class fh{constructor(e,t){this._implicitTags=e,this._implicitAttrs=t}extract(e,t){return this._init(dh.Extract,t),e.forEach(e=>e.visit(this,null)),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new hh(this._messages,this._errors)}merge(e,t,n){this._init(dh.Merge,n),this._translations=t;const r=new $a("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new dc(r.children,this._errors)}visitExpansionCase(e,t){const n=Ha(this,e.expression,t);if(this._mode===dh.Merge)return new Ua(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)}visitExpansion(e,t){this._mayBeAddBlockChildren(e);const n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);const r=Ha(this,e.cases,t);return this._mode===dh.Merge&&(e=new Ba(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e}visitComment(e,t){const n=!!((r=e)instanceof Wa&&r.value&&r.value.startsWith("i18n"));var r;if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");const s=function(e){return!!(e instanceof Wa&&e.value&&"/i18n"===e.value)}(e);if(!s||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(s){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;const t=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return Ha(this,this._translateMessage(e,t))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!ph&&console&&console.warn){ph=!0;e.sourceSpan.details&&e.sourceSpan.details}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(uh,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}visitText(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e}visitElement(e,t){this._mayBeAddBlockChildren(e),this._depth++;const n=this._inI18nNode,r=this._inImplicitNode;let s=[],i=void 0;const o=e.attrs.find(e=>e.name===ch)||null;const a=o?o.value:"",c=this._implicitTags.some(t=>e.name===t)&&!this._inIcu&&!this._isInTranslatableSection,l=!r&&c;if(this._inImplicitNode=r||c,this._isInTranslatableSection||this._inIcu)(o||l)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==dh.Extract&&Ha(this,e.children);else{if(o||l){this._inI18nNode=!0;const t=this._addMessage(e.children,a);i=this._translateMessage(e,t)}if(this._mode==dh.Extract){const t=o||l;t&&this._openTranslatableSection(e),Ha(this,e.children),t&&this._closeTranslatableSection(e,e.children)}}if(this._mode===dh.Merge){(i||e.children).forEach(e=>{const n=e.visit(this,t);n&&!this._isInTranslatableSection&&(s=s.concat(n))})}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=r,this._mode===dh.Merge){const t=this._translateAttributes(e);return new $a(e.name,t,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null}visitAttribute(e,t){throw new Error("unreachable code")}_init(e,t){this._mode=e,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=Ou(t)}_visitAttributesOf(e){const t={},n=this._implicitAttrs[e.name]||[];e.attrs.filter(e=>e.name.startsWith(lh)).forEach(e=>t[e.name.slice(lh.length)]=e.value),e.attrs.forEach(e=>{e.name in t?this._addMessage([e],t[e.name]):n.some(t=>e.name===t)&&this._addMessage([e])})}_addMessage(e,t){if(0==e.length||1==e.length&&e[0]instanceof Va&&!e[0].value)return null;const{meaning:n,description:r,id:s}=mh(t),i=this._createI18nMessage(e,n,r,s);return this._messages.push(i),i}_translateMessage(e,t){if(t&&this._mode===dh.Merge){const n=this._translations.get(t);if(n)return n;this._reportError(e,`Translation unavailable for message id="${this._translations.digest(t)}"`)}return[]}_translateAttributes(e){const t=e.attrs,n={};t.forEach(e=>{e.name.startsWith(lh)&&(n[e.name.slice(lh.length)]=mh(e.value))});const r=[];return t.forEach(t=>{if(t.name!==ch&&!t.name.startsWith(lh))if(t.value&&""!=t.value&&n.hasOwnProperty(t.name)){const{meaning:s,description:i,id:o}=n[t.name],a=this._createI18nMessage([t],s,i,o),c=this._translations.get(a);if(c)if(0==c.length)r.push(new Va(t.name,"",t.sourceSpan));else if(c[0]instanceof ja){const e=c[0].value;r.push(new Va(t.name,e,t.sourceSpan))}else this._reportError(e,`Unexpected translation for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`);else this._reportError(e,`Translation unavailable for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`)}else r.push(t)}),r}_mayBeAddBlockChildren(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)}_openTranslatableSection(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length}get _isInTranslatableSection(){return void 0!==this._msgCountAtSectionStart}_closeTranslatableSection(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");const n=this._msgCountAtSectionStart;if(1==t.reduce((e,t)=>e+(t instanceof Wa?0:1),0))for(let r=this._messages.length-1;r>=n;r--){const e=this._messages[r].nodes;if(!(1==e.length&&e[0]instanceof qr)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}_reportError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}function mh(e){if(!e)return{meaning:"",description:"",id:""};const t=e.indexOf("@@"),n=e.indexOf("|"),[r,s]=t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],[i,o]=n>-1?[r.slice(0,n),r.slice(n+1)]:["",r];return{meaning:i,description:o,id:s.trim()}}const vh=new class{constructor(){this.closedByParent=!1,this.contentType=r.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}};function gh(e){return vh}class yh extends fc{constructor(){super(gh)}parse(e,t,n){return super.parse(e,t,n)}}const Eh="x",Sh="source",xh="trans-unit",_h="context";class bh extends Ss{write(e,t){const n=new wh,r=[];e.forEach(e=>{let t=[];e.sources.forEach(e=>{let n=new Ts("context-group",{purpose:"location"});n.children.push(new Ms(10),new Ts(_h,{"context-type":"sourcefile"},[new Is(e.filePath)]),new Ms(10),new Ts(_h,{"context-type":"linenumber"},[new Is(""+e.startLine)]),new Ms(8)),t.push(new Ms(8),n)});const s=new Ts(xh,{id:e.id,datatype:"html"});s.children.push(new Ms(8),new Ts(Sh,{},n.serialize(e.nodes)),...t),e.description&&s.children.push(new Ms(8),new Ts("note",{priority:"1",from:"description"},[new Is(e.description)])),e.meaning&&s.children.push(new Ms(8),new Ts("note",{priority:"1",from:"meaning"},[new Is(e.meaning)])),s.children.push(new Ms(6)),r.push(new Ms(6),s)});const s=new Ts("body",{},[...r,new Ms(4)]),i=new Ts("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new Ms(4),s,new Ms(2)]),o=new Ts("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Ms(2),i,new Ms]);return bs([new ws({version:"1.0",encoding:"UTF-8"}),new Ms,o,new Ms])}load(e,t){const n=new Ch,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new Th;if(Object.keys(s).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(s[e],t);i.push(...r),o[e]=n}),i.length)throw new Error("xliff parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return Qr(e)}}class wh{visitText(e,t){return[new Is(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Is(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Is(t+" {"),...e.cases[t].visit(this),new Is("} "))}),n.push(new Is("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+e}}(e.tag);if(e.isVoid)return[new Ts(Eh,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}/>`})];const r=new Ts(Eh,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}>`}),s=new Ts(Eh,{id:e.closeName,ctype:n,"equiv-text":`</${e.tag}>`});return[r,...this.serialize(e.children),s]}visitPlaceholder(e,t){return[new Ts(Eh,{id:e.name,"equiv-text":`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=`{${e.value.expression}, ${e.value.type}, ${Object.keys(e.value.cases).map(e=>e+" {...}").join(" ")}}`;return[new Ts(Eh,{id:e.name,"equiv-text":n})]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}class Ch{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new yh).parse(e,t);return this._errors=n.errors,Ha(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case xh:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(Ha(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<trans-unit> misses the "id" attribute');break;case Sh:case"seg-source":case"alt-trans":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=s;break;case"file":const i=e.attrs.find(e=>"target-language"===e.name);i&&(this._locale=i.value),Ha(this,e.children,null);break;default:Ha(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}class Th{convert(e,t){const n=(new yh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...Ha(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new qr(e.value,e.sourceSpan)}visitElement(e,t){if(e.name===Eh){const t=e.attrs.find(e=>"id"===e.name);return t?new Xr("",t.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)}return"mrk"===e.name?[].concat(...Ha(this,e.children)):(this._addError(e,"Unexpected tag"),null)}visitExpansion(e,t){const n={};return Ha(this,e.cases).forEach(t=>{n[t.value]=new Gr(t.nodes,e.sourceSpan)}),new Kr(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:Ha(this,e.expression)}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}const Ih="ph",Mh="xliff",Ah="source",Nh="unit";class kh extends Ss{write(e,t){const n=new Ph,r=[];e.forEach(e=>{const t=new Ts(Nh,{id:e.id}),s=new Ts("notes");(e.description||e.meaning)&&(e.description&&s.children.push(new Ms(8),new Ts("note",{category:"description"},[new Is(e.description)])),e.meaning&&s.children.push(new Ms(8),new Ts("note",{category:"meaning"},[new Is(e.meaning)]))),e.sources.forEach(e=>{s.children.push(new Ms(8),new Ts("note",{category:"location"},[new Is(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),s.children.push(new Ms(6)),t.children.push(new Ms(6),s);const i=new Ts("segment");i.children.push(new Ms(8),new Ts(Ah,{},n.serialize(e.nodes)),new Ms(6)),t.children.push(new Ms(6),i,new Ms(4)),r.push(new Ms(4),t)});const s=new Ts("file",{original:"ng.template",id:"ngi18n"},[...r,new Ms(2)]),i=new Ts(Mh,{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new Ms(2),s,new Ms]);return bs([new ws({version:"1.0",encoding:"UTF-8"}),new Ms,i,new Ms])}load(e,t){const n=new Oh,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new Rh;if(Object.keys(s).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(s[e],t);i.push(...r),o[e]=n}),i.length)throw new Error("xliff2 parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return es(e)}}class Ph{visitText(e,t){return[new Is(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Is(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Is(t+" {"),...e.cases[t].visit(this),new Is("} "))}),n.push(new Is("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(e.tag);if(e.isVoid){return[new Ts(Ih,{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:`<${e.tag}/>`})]}const r=new Ts("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:`<${e.tag}>`,dispEnd:`</${e.tag}>`}),s=[].concat(...e.children.map(e=>e.visit(this)));return s.length?s.forEach(e=>r.children.push(e)):r.children.push(new Is("")),[r]}visitPlaceholder(e,t){const n=(this._nextPlaceholderId++).toString();return[new Ts(Ih,{id:n,equiv:e.name,disp:`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),r=(this._nextPlaceholderId++).toString();return[new Ts(Ih,{id:r,equiv:e.name,disp:`{${e.value.expression}, ${e.value.type}, ${n}}`})]}serialize(e){return this._nextPlaceholderId=0,[].concat(...e.map(e=>e.visit(this)))}}class Oh{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new yh).parse(e,t);return this._errors=n.errors,Ha(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Nh:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(Ha(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<unit> misses the "id" attribute');break;case Ah:break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=s;break;case Mh:const i=e.attrs.find(e=>"trgLang"===e.name);i&&(this._locale=i.value);const o=e.attrs.find(e=>"version"===e.name);if(o){const t=o.value;"2.0"!==t?this._addError(e,`The XLIFF file version ${t} is not compatible with XLIFF 2.0 serializer`):Ha(this,e.children,null)}break;default:Ha(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}class Rh{convert(e,t){const n=(new yh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...Ha(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new qr(e.value,e.sourceSpan)}visitElement(e,t){switch(e.name){case Ih:const t=e.attrs.find(e=>"equiv"===e.name);if(t)return[new Xr("",t.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":const n=e.attrs.find(e=>"equivStart"===e.name),r=e.attrs.find(e=>"equivEnd"===e.name);if(n){if(r){const t=n.value,s=r.value;return[].concat(new Xr("",t,e.sourceSpan),...e.children.map(e=>e.visit(this,null)),new Xr("",s,e.sourceSpan))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat(...Ha(this,e.children));default:this._addError(e,"Unexpected tag")}return null}visitExpansion(e,t){const n={};return Ha(this,e.cases).forEach(t=>{n[t.value]=new Gr(t.nodes,e.sourceSpan)}),new Kr(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:[].concat(...Ha(this,e.expression))}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}const Dh="translationbundle",Fh="translation";class Lh extends Ss{write(e,t){throw new Error("Unsupported")}load(e,t){const n=new jh,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new Bh;if(Object.keys(s).forEach(e=>{!function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){const r=n();return Object.defineProperty(e,t,{enumerable:!0,value:r}),r},set:e=>{throw new Error("Could not overwrite an XTB translation")}})}(o,e,(function(){const{i18nNodes:n,errors:r}=a.convert(s[e],t);if(r.length)throw new Error("xtb parse errors:\n"+r.join("\n"));return n}))}),i.length)throw new Error("xtb parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return Fs(e)}createNameMapper(e){return new xs(e,js)}}class jh{constructor(){this._locale=null}parse(e,t){this._bundleDepth=0,this._msgIdToHtml={};const n=(new yh).parse(e,t);return this._errors=n.errors,Ha(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Dh:this._bundleDepth++,this._bundleDepth>1&&this._addError(e,"<translationbundle> elements can not be nested");const t=e.attrs.find(e=>"lang"===e.name);t&&(this._locale=t.value),Ha(this,e.children,null),this._bundleDepth--;break;case Fh:const n=e.attrs.find(e=>"id"===e.name);if(n){const t=n.value;if(this._msgIdToHtml.hasOwnProperty(t))this._addError(e,"Duplicated translations for msg "+t);else{const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._msgIdToHtml[t]=s}}else this._addError(e,'<translation> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}class Bh{convert(e,t){const n=(new yh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:Ha(this,n.rootNodes),errors:this._errors}}visitText(e,t){return new qr(e.value,e.sourceSpan)}visitExpansion(e,t){const n={};return Ha(this,e.cases).forEach(t=>{n[t.value]=new Gr(t.nodes,e.sourceSpan)}),new Kr(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:Ha(this,e.expression)}}visitElement(e,t){if("ph"===e.name){const t=e.attrs.find(e=>"name"===e.name);if(t)return new Xr("",t.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}class Uh{constructor(e={},t,n,r,s=G.Warning,i){this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Vh(e,t,n,r,s,i)}static load(e,t,n,r,s){const{locale:i,i18nNodesByMsgId:o}=n.load(e,t);return new Uh(o,i,e=>n.digest(e),e=>n.createNameMapper(e),r,s)}get(e){const t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes}has(e){return this.digest(e)in this._i18nNodesByMsgId}}class Vh{constructor(e={},t,n,r,s,i){this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=s,this._console=i,this._contextStack=[],this._errors=[]}convert(e){this._contextStack.length=0,this._errors.length=0;const t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new gc).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:[...this._errors,...r.errors]}}visitText(e,t){return Ns(e.value)}visitContainer(e,t){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression]:e.expression}, ${e.type}, ${n.join(" ")}}`}visitPlaceholder(e,t){const n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,`Unknown placeholder "${e.name}"`),"")}visitTagPlaceholder(e,t){const n=""+e.tag,r=Object.keys(e.attrs).map(t=>`${t}="${e.attrs[t]}"`).join(" ");if(e.isVoid)return`<${n} ${r}/>`;return`<${n} ${r}>${e.children.map(e=>e.visit(this)).join("")}</${n}>`}visitIcuPlaceholder(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])}_convertToText(e){const t=this._digest(e),n=this._mapperFactory?this._mapperFactory(e):null;let r;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(t))r=this._i18nNodesByMsgId[t],this._mapper=e=>n?n.toInternalName(e):e;else{if(this._missingTranslationStrategy===G.Error){const n=this._locale?` for locale "${this._locale}"`:"";this._addError(e.nodes[0],`Missing translation for message "${t}"${n}`)}else if(this._console&&this._missingTranslationStrategy===G.Warning){const e=this._locale?` for locale "${this._locale}"`:"";this._console.warn(`Missing translation for message "${t}"${e}`)}r=e.nodes,this._mapper=e=>e}const s=r.map(e=>e.visit(this)).join(""),i=this._contextStack.pop();return this._srcMsg=i.msg,this._mapper=i.mapper,s}_addError(e,t){this._errors.push(new ah(e.sourceSpan,t))}}class $h{constructor(e,t,n,r=G.Warning,s){if(this._htmlParser=e,t){const e=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new Rs;case"xtb":return new Lh;case"xliff2":case"xlf2":return new kh;case"xliff":case"xlf":default:return new bh}}(n);this._translationBundle=Uh.load(t,"i18n",e,r,s)}else this._translationBundle=new Uh({},null,Qr,void 0,r,s)}parse(e,t,n={}){const r=n.interpolationConfig||Ai,s=this._htmlParser.parse(e,t,Object.assign({interpolationConfig:r},n));return s.errors.length?new dc(s.rootNodes,s.errors):function(e,t,n,r,s){return new fh(r,s).merge(e,t,n)}(s.rootNodes,this._translationBundle,r,[],{})}}function Wh(e,t,n=null){return Vt(t,new Hh(e),n)}class Hh{constructor(e){this.ctx=e}visitArray(e,t){const n=[];for(let r=0;r<e.length;++r)n.push(Vt(e[r],this,null));return kt(n,t)}visitStringMap(e,t){const n=[],r=new Set(e&&e.$quoted$);return Object.keys(e).forEach(t=>{n.push(new Ze(t,Vt(e[t],this,null),r.has(t)))}),new Xe(n,t)}visitPrimitive(e,t){return Dt(e,t)}visitOther(e,t){return e instanceof ge?e:this.ctx.importExpr(e)}}function zh(e,t){return{key:e,value:t,quoted:!1}}class qh{constructor(e,t){this.reflector=e,this.alwaysGenerateDef=t,this.tokenInjector=e.resolveExternalReference(_n.Injector)}depsArray(e,t){return e.map(e=>{let n,r=e,s=[r],i=0;if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];n&&("Optional"===n.ngMetadataName?i|=8:"SkipSelf"===n.ngMetadataName?i|=4:"Self"===n.ngMetadataName?i|=2:r="Inject"===n.ngMetadataName?n.token:n)}return n="string"==typeof r?Dt(r):r===this.tokenInjector?It(_n.INJECTOR):t.importExpr(r),s=0!==i?[n,Dt(i)]:[n],It(_n.inject).callFn(s)})}factoryFor(e,t){let n;if(e.useExisting)n=It(_n.inject).callFn([t.importExpr(e.useExisting)]);else if(e.useFactory){const r=e.deps||[];if(!(r.length>0))return t.importExpr(e.useFactory);n=t.importExpr(e.useFactory).callFn(this.depsArray(r,t))}else if(e.useValue)n=Wh(t,e.useValue);else{const r=e.useClass||e.symbol,s=this.depsArray(this.reflector.parameters(r),t);n=new Te(t.importExpr(r),s)}return Ot([],[new at(n)],void 0,void 0,e.symbol.name+"_Factory")}injectableDef(e,t){let n=Qe;void 0!==e.providedIn&&(n=null===e.providedIn?Qe:"string"==typeof e.providedIn?Dt(e.providedIn):t.importExpr(e.providedIn));const r=[zh("factory",this.factoryFor(e,t)),zh("token",t.importExpr(e.type.reference)),zh("providedIn",n)];return It(_n.\u0275\u0275defineInjectable).callFn([Pt(r)])}compile(e,t){if(this.alwaysGenerateDef||void 0!==e.providedIn){const n=Nn(e.type),r=new ht(n,null,[new lt("\u0275prov",oe,[et.Static],this.injectableDef(e,t))],[],new ut(null,[],[]),[]);t.statements.push(r)}}}const Gh=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,Kh=/\.ngfactory\.|\.ngsummary\./,Zh=/\.ngsummary\./,Xh=/NgSummary$/;function Yh(e,t=!1){const n=Jh(e,t);return`${n[0]}.ngfactory${ed(n[1])}`}function Qh(e){return e.replace(Kh,".")}function Jh(e,t=!1){if(e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];const n=e.lastIndexOf(".");return-1!==n?[e.substring(0,n),e.substring(n)]:[e,""]}function ed(e){return".tsx"===e?".ts":e}function td(e){return e.replace(Gh,"")+".ngsummary.json"}function nd(e,t=!1){const n=Jh(Qh(e),t);return`${n[0]}.ngsummary${n[1]}`}function rd(e){return e+"NgSummary"}const sd=/\u0275\d+/;function id(e){return sd.test(e)}function od(e){return"\u0275"+e}var ad;!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(ad||(ad={}));const cd=[ad.OnInit,ad.OnDestroy,ad.DoCheck,ad.OnChanges,ad.AfterContentInit,ad.AfterContentChecked,ad.AfterViewInit,ad.AfterViewChecked];function ld(e,t,n){return e.hasLifecycleHook(n,function(e){switch(e){case ad.OnInit:return"ngOnInit";case ad.OnDestroy:return"ngOnDestroy";case ad.DoCheck:return"ngDoCheck";case ad.OnChanges:return"ngOnChanges";case ad.AfterContentInit:return"ngAfterContentInit";case ad.AfterContentChecked:return"ngAfterContentChecked";case ad.AfterViewInit:return"ngAfterViewInit";case ad.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+e)}}(t))}const ud="ngComponentType";function pd(e){var t;return null!==(t=e.ngMissingNgModuleMetadataErrorData)&&void 0!==t?t:null}class hd{constructor(e,t,n,r,s,i,o,a,c,l,u,p){this._config=e,this._htmlParser=t,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=s,this._summaryResolver=i,this._schemaRegistry=o,this._directiveNormalizer=a,this._console=c,this._staticSymbolCache=l,this._reflector=u,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}getReflector(){return this._reflector}clearCacheFor(e){const t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)}clearCache(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()}_createProxyClass(e,t){let n=null;const r=function(){if(!n)throw new Error(`Illegal state: Class ${t} for type ${rn(e)} is not compiled yet!`);return n.apply(this,arguments)};return r.setDelegate=e=>{n=e,r.prototype=e.prototype},r.overriddenName=t,r}getGeneratedClass(e,t){return e instanceof Cn?this._staticSymbolCache.get(Yh(e.filePath),t):this._createProxyClass(e,t)}getComponentViewClass(e){return this.getGeneratedClass(e,Pn(e,0))}getHostComponentViewClass(e){return this.getGeneratedClass(e,Rn(e))}getHostComponentType(e){const t=Nn({reference:e})+"_Host";return e instanceof Cn?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)}getRendererType(e){return e instanceof Cn?this._staticSymbolCache.get(Yh(e.filePath),On(e)):{}}getComponentFactory(e,t,n,r){if(t instanceof Cn)return this._staticSymbolCache.get(Yh(t.filePath),Dn(t));{const s=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(_n.createComponentFactory)(e,t,s,n,r,[])}}initComponentFactory(e,t){e instanceof Cn||e.ngContentSelectors.push(...t)}_loadSummary(e,t){let n=this._summaryCache.get(e);if(!n){const t=this._summaryResolver.resolveSummary(e);n=t?t.type:null,this._summaryCache.set(e,n||null)}return n&&n.summaryKind===t?n:null}getHostComponentMetadata(e,t){const n=this.getHostComponentType(e.type.reference);t||(t=this.getHostComponentViewClass(n));const r=g.parse(e.selector)[0].getMatchingElementTemplate(),s=this._htmlParser.parse(r,"");return Vn.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Un({encapsulation:A.None,template:r,templateUrl:"",htmlAst:s,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:N.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:A.None,styles:[],data:{}},entryComponents:[],componentFactory:null})}loadDirectiveMetadata(e,t,n){if(this._directiveCache.has(t))return null;t=sn(t);const{annotation:r,metadata:s}=this.getNonNormalizedDirectiveMetadata(t),i=e=>{const n=new Vn({isHost:!1,type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,guards:s.guards,viewQueries:s.viewQueries,entryComponents:s.entryComponents,componentViewType:s.componentViewType,rendererType:s.rendererType,componentFactory:s.componentFactory,template:e});return e&&this.initComponentFactory(s.componentFactory,e.ngContentSelectors),this._directiveCache.set(t,n),this._summaryCache.set(t,n.toSummary()),null};if(s.isComponent){const o=s.template,a=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:t,moduleUrl:this._reflector.componentModuleUrl(t,r),encapsulation:o.encapsulation,template:o.template,templateUrl:o.templateUrl,styles:o.styles,styleUrls:o.styleUrls,animations:o.animations,interpolation:o.interpolation,preserveWhitespaces:o.preserveWhitespaces});return on(a)&&n?(this._reportError(function(e){const t=Error(`Can't compile synchronously as ${rn(e)} is still being loaded!`);return t[ud]=e,t}(t),t),null):qt(a,i)}return i(null),null}getNonNormalizedDirectiveMetadata(e){if(!(e=sn(e)))return null;let t=this._nonNormalizedDirectiveCache.get(e);if(t)return t;const n=this._directiveResolver.resolve(e,!1);if(!n)return null;let r=void 0;if(k.isTypeOf(n)){const e=n;Ci("styles",e.styles),Ci("styleUrls",e.styleUrls),Ii("interpolation",e.interpolation);const t=e.animations;r=new Un({encapsulation:Wt(e.encapsulation),template:Wt(e.template),templateUrl:Wt(e.templateUrl),htmlAst:null,styles:e.styles||[],styleUrls:e.styleUrls||[],animations:t||[],interpolation:Wt(e.interpolation),isInline:!!e.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:Wt(n.preserveWhitespaces)})}let s=null,i=[],o=[],a=n.selector;if(k.isTypeOf(n)){const t=n;s=t.changeDetection,t.viewProviders&&(i=this._getProvidersMetadata(t.viewProviders,o,`viewProviders for "${vd(e)}"`,[],e)),t.entryComponents&&(o=dd(t.entryComponents).map(e=>this._getEntryComponentMetadata(e)).concat(o)),a||(a=this._schemaRegistry.getDefaultComponentElementName())}else a||(a=null);let c=[];null!=n.providers&&(c=this._getProvidersMetadata(n.providers,o,`providers for "${vd(e)}"`,[],e));let l=[],u=[];null!=n.queries&&(l=this._getQueriesMetadata(n.queries,!1,e),u=this._getQueriesMetadata(n.queries,!0,e));const p=Vn.create({isHost:!1,selector:a,exportAs:Wt(n.exportAs),isComponent:!!r,type:this._getTypeMetadata(e),template:r,changeDetection:s,inputs:n.inputs||[],outputs:n.outputs||[],host:n.host||{},providers:c||[],viewProviders:i||[],queries:l||[],guards:n.guards||{},viewQueries:u||[],entryComponents:o,componentViewType:r?this.getComponentViewClass(e):null,rendererType:r?this.getRendererType(e):null,componentFactory:null});return r&&(p.componentFactory=this.getComponentFactory(a,e,p.inputs,p.outputs)),t={metadata:p,annotation:n},this._nonNormalizedDirectiveCache.set(e,t),t}getDirectiveMetadata(e){const t=this._directiveCache.get(e);return t||this._reportError(Zt(`Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive ${vd(e)}.`),e),t}getDirectiveSummary(e){const t=this._loadSummary(e,Fn.Directive);return t||this._reportError(Zt(`Illegal state: Could not load the summary for directive ${vd(e)}.`),e),t}isDirective(e){return!!this._loadSummary(e,Fn.Directive)||this._directiveResolver.isDirective(e)}isAbstractDirective(e){const t=this._loadSummary(e,Fn.Directive);if(t&&!t.isComponent)return!t.selector;const n=this._directiveResolver.resolve(e,!1);return!(!n||k.isTypeOf(n))&&!n.selector}isPipe(e){return!!this._loadSummary(e,Fn.Pipe)||this._pipeResolver.isPipe(e)}isNgModule(e){return!!this._loadSummary(e,Fn.NgModule)||this._ngModuleResolver.isNgModule(e)}getNgModuleSummary(e,t=null){let n=this._loadSummary(e,Fn.NgModule);if(!n){const r=this.getNgModuleMetadata(e,!1,t);n=r?r.toSummary():null,n&&this._summaryCache.set(e,n)}return n}loadNgModuleDirectiveAndPipeMetadata(e,t,n=!0){const r=this.getNgModuleMetadata(e,n),s=[];return r&&(r.declaredDirectives.forEach(n=>{const r=this.loadDirectiveMetadata(e,n.reference,t);r&&s.push(r)}),r.declaredPipes.forEach(e=>this._loadPipeMetadata(e.reference))),Promise.all(s)}getShallowModuleMetadata(e){let t=this._shallowModuleCache.get(e);if(t)return t;const n=oh(this._reflector.shallowAnnotations(e),L.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(e,t),t}getNgModuleMetadata(e,t=!0,n=null){e=sn(e);let r=this._ngModuleCache.get(e);if(r)return r;const s=this._ngModuleResolver.resolve(e,t);if(!s)return null;const i=[],o=[],a=[],c=[],l=[],u=[],p=[],h=[],d=[];s.imports&&dd(s.imports).forEach(t=>{let r=void 0;if(fd(t))r=t;else if(t&&t.ngModule){const e=t;r=e.ngModule,e.providers&&u.push(...this._getProvidersMetadata(e.providers,p,`provider for the NgModule '${vd(r)}'`,[],t))}if(r){if(this._checkSelfImport(e,r))return;if(n||(n=new Set),n.has(r))return void this._reportError(Zt(`${this._getTypeDescriptor(r)} '${vd(t)}' is imported recursively by the module '${vd(e)}'.`),e);n.add(r);const s=this.getNgModuleSummary(r,n);if(n.delete(r),!s){const n=Zt(`Unexpected ${this._getTypeDescriptor(t)} '${vd(t)}' imported by the module '${vd(e)}'. Please add a @NgModule annotation.`);return t instanceof Cn&&(n.ngMissingNgModuleMetadataErrorData={fileName:t.filePath,className:t.name}),void this._reportError(n,e)}c.push(s)}else this._reportError(Zt(`Unexpected value '${vd(t)}' imported by the module '${vd(e)}'`),e)}),s.exports&&dd(s.exports).forEach(t=>{if(!fd(t))return void this._reportError(Zt(`Unexpected value '${vd(t)}' exported by the module '${vd(e)}'`),e);if(n||(n=new Set),n.has(t))return void this._reportError(Zt(`${this._getTypeDescriptor(t)} '${rn(t)}' is exported recursively by the module '${vd(e)}'`),e);n.add(t);const r=this.getNgModuleSummary(t,n);n.delete(t),r?l.push(r):o.push(this._getIdentifierMetadata(t))});const f=this._getTransitiveNgModuleMetadata(c,l);s.declarations&&dd(s.declarations).forEach(t=>{if(!fd(t))return void this._reportError(Zt(`Unexpected value '${vd(t)}' declared by the module '${vd(e)}'`),e);const n=this._getIdentifierMetadata(t);if(this.isDirective(t))this.isAbstractDirective(t)&&this._reportError(Zt(`Directive ${vd(t)} has no selector, please add it!`),t),f.addDirective(n),i.push(n),this._addTypeToModule(t,e);else{if(!this.isPipe(t))return void this._reportError(Zt(`Unexpected ${this._getTypeDescriptor(t)} '${vd(t)}' declared by the module '${vd(e)}'. Please add a @Pipe/@Directive/@Component annotation.`),e);f.addPipe(n),f.pipes.push(n),a.push(n),this._addTypeToModule(t,e)}});const m=[],v=[];return o.forEach(t=>{if(f.directivesSet.has(t.reference))m.push(t),f.addExportedDirective(t);else{if(!f.pipesSet.has(t.reference))return void this._reportError(Zt(`Can't export ${this._getTypeDescriptor(t.reference)} ${vd(t.reference)} from ${vd(e)} as it was neither declared nor imported!`),e);v.push(t),f.addExportedPipe(t)}}),s.providers&&u.push(...this._getProvidersMetadata(s.providers,p,`provider for the NgModule '${vd(e)}'`,[],e)),s.entryComponents&&p.push(...dd(s.entryComponents).map(e=>this._getEntryComponentMetadata(e))),s.bootstrap&&dd(s.bootstrap).forEach(t=>{fd(t)?h.push(this._getIdentifierMetadata(t)):this._reportError(Zt(`Unexpected value '${vd(t)}' used in the bootstrap property of module '${vd(e)}'`),e)}),p.push(...h.map(e=>this._getEntryComponentMetadata(e.reference))),s.schemas&&d.push(...dd(s.schemas)),r=new Hn({type:this._getTypeMetadata(e),providers:u,entryComponents:p,bootstrapComponents:h,schemas:d,declaredDirectives:i,exportedDirectives:m,declaredPipes:a,exportedPipes:v,importedModules:c,exportedModules:l,transitiveModule:f,id:s.id||null}),p.forEach(e=>f.addEntryComponent(e)),u.forEach(e=>f.addProvider(e,r.type)),f.addModule(r.type),this._ngModuleCache.set(e,r),r}_checkSelfImport(e,t){return e===t&&(this._reportError(Zt(`'${vd(e)}' module can't import itself`),e),!0)}_getTypeDescriptor(e){if(fd(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"}_addTypeToModule(e,t){const n=this._ngModuleOfTypes.get(e);n&&n!==t?this._reportError(Zt(`Type ${vd(e)} is part of the declarations of 2 modules: ${vd(n)} and ${vd(t)}! Please consider moving ${vd(e)} to a higher module that imports ${vd(n)} and ${vd(t)}. You can also create a new NgModule that exports and includes ${vd(e)} then import that NgModule in ${vd(n)} and ${vd(t)}.`),t):this._ngModuleOfTypes.set(e,t)}_getTransitiveNgModuleMetadata(e,t){const n=new zn,r=new Map;return e.concat(t).forEach(e=>{e.modules.forEach(e=>n.addModule(e)),e.entryComponents.forEach(e=>n.addEntryComponent(e));const t=new Set;e.providers.forEach(e=>{const s=jn(e.provider.token);let i=r.get(s);i||(i=new Set,r.set(s,i));const o=e.module.reference;!t.has(s)&&i.has(o)||(i.add(o),t.add(s),n.addProvider(e.provider,e.module))})}),t.forEach(e=>{e.exportedDirectives.forEach(e=>n.addExportedDirective(e)),e.exportedPipes.forEach(e=>n.addExportedPipe(e))}),e.forEach(e=>{e.exportedDirectives.forEach(e=>n.addDirective(e)),e.exportedPipes.forEach(e=>n.addPipe(e))}),n}_getIdentifierMetadata(e){return{reference:e=sn(e)}}isInjectable(e){return this._reflector.tryAnnotations(e).some(e=>j.isTypeOf(e))}getInjectableSummary(e){return{summaryKind:Fn.Injectable,type:this._getTypeMetadata(e,null,!1)}}getInjectableMetadata(e,t=null,n=!0){const r=this._loadSummary(e,Fn.Injectable),s=r?r.type:this._getTypeMetadata(e,t,n),i=this._reflector.annotations(e).filter(e=>j.isTypeOf(e));if(0===i.length)return null;const o=i[i.length-1];return{symbol:e,type:s,providedIn:o.providedIn,useValue:o.useValue,useClass:o.useClass,useExisting:o.useExisting,useFactory:o.useFactory,deps:o.deps}}_getTypeMetadata(e,t=null,n=!0){const r=this._getIdentifierMetadata(e);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,t,n),lifecycleHooks:(s=this._reflector,i=r.reference,cd.filter(e=>ld(s,e,i)))};var s,i}_getFactoryMetadata(e,t=null){return{reference:e=sn(e),diDeps:this._getDependenciesMetadata(e,t)}}getPipeMetadata(e){const t=this._pipeCache.get(e);return t||this._reportError(Zt(`Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe ${vd(e)}.`),e),t||null}getPipeSummary(e){const t=this._loadSummary(e,Fn.Pipe);return t||this._reportError(Zt(`Illegal state: Could not load the summary for pipe ${vd(e)}.`),e),t}getOrLoadPipeMetadata(e){let t=this._pipeCache.get(e);return t||(t=this._loadPipeMetadata(e)),t}_loadPipeMetadata(e){e=sn(e);const t=this._pipeResolver.resolve(e),n=new $n({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,n),this._summaryCache.set(e,n.toSummary()),n}_getDependenciesMetadata(e,t,n=!0){let r=!1;const s=(t||this._reflector.parameters(e)||[]).map(e=>{let t=!1,n=!1,s=!1,i=!1,o=!1,a=null;return Array.isArray(e)?e.forEach(e=>{H.isTypeOf(e)?n=!0:$.isTypeOf(e)?s=!0:W.isTypeOf(e)?i=!0:V.isTypeOf(e)?o=!0:b.isTypeOf(e)?(t=!0,a=e.attributeName):x.isTypeOf(e)?a=e.token:(_.isTypeOf(e)||e instanceof Cn||fd(e)&&null==a)&&(a=e)}):a=e,null==a?(r=!0,{}):{isAttribute:t,isHost:n,isSelf:s,isSkipSelf:i,isOptional:o,token:this._getTokenMetadata(a)}});if(r){const t=s.map(e=>e.token?vd(e.token):"?").join(", "),r=`Can't resolve all parameters for ${vd(e)}: (${t}).`;(n||this._config.strictInjectionParameters)&&this._reportError(Zt(r),e)}return s}_getTokenMetadata(e){let t;return t="string"==typeof(e=sn(e))?{value:e}:{identifier:{reference:e}},t}_getProvidersMetadata(e,t,n,r=[],s){return e.forEach((i,o)=>{if(Array.isArray(i))this._getProvidersMetadata(i,t,n,r);else{let a=void 0;if((i=sn(i))&&"object"==typeof i&&i.hasOwnProperty("provide"))this._validateProvider(i),a=new Gn(i.provide,i);else{if(!fd(i)){if(void 0===i)return void this._reportError(Zt("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));{const t=e.reduce((e,t,n)=>(n<o?e.push(""+vd(t)):n==o?e.push(`?${vd(t)}?`):n==o+1&&e.push("..."),e),[]).join(", ");return void this._reportError(Zt(`Invalid ${n||"provider"} - only instances of Provider and Type are allowed, got: [${t}]`),s)}}a=new Gn(i,{useClass:i})}a.token===this._reflector.resolveExternalReference(_n.ANALYZE_FOR_ENTRY_COMPONENTS)?t.push(...this._getEntryComponentsFromProvider(a,s)):r.push(this.getProviderMetadata(a))}}),r}_validateProvider(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(Zt(`Invalid provider for ${vd(e.provide)}. useClass cannot be ${e.useClass}.\n Usually it happens when:\n 1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n 2. Class was used before it was declared. Use forwardRef in this case.`))}_getEntryComponentsFromProvider(e,t){const n=[],r=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(Zt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(s=e.useValue,i=r,Vt(s,new md,i),r.forEach(e=>{const t=this._getEntryComponentMetadata(e.reference,!1);t&&n.push(t)}),n):(this._reportError(Zt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[]);var s,i}_getEntryComponentMetadata(e,t=!0){const n=this.getNonNormalizedDirectiveMetadata(e);if(n&&n.metadata.isComponent)return{componentType:e,componentFactory:n.metadata.componentFactory};const r=this._loadSummary(e,Fn.Directive);if(r&&r.isComponent)return{componentType:e,componentFactory:r.componentFactory};if(t)throw Zt(e.name+" cannot be used as an entry component.");return null}_getInjectableTypeMetadata(e,t=null){const n=this._loadSummary(e,Fn.Injectable);return n?n.type:this._getTypeMetadata(e,t)}getProviderMetadata(e){let t=void 0,n=null,r=null,s=this._getTokenMetadata(e.token);return e.useClass?(n=this._getInjectableTypeMetadata(e.useClass,e.dependencies),t=n.diDeps,e.token===e.useClass&&(s={identifier:n})):e.useFactory&&(r=this._getFactoryMetadata(e.useFactory,e.dependencies),t=r.diDeps),{token:s,useClass:n,useValue:e.useValue,useFactory:r,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}}_getQueriesMetadata(e,t,n){const r=[];return Object.keys(e).forEach(s=>{const i=e[s];i.isViewQuery===t&&r.push(this._getQueryMetadata(i,s,n))}),r}_queryVarBindings(e){return e.split(/\s*,\s*/)}_getQueryMetadata(e,t,n){let r;return"string"==typeof e.selector?r=this._queryVarBindings(e.selector).map(e=>this._getTokenMetadata(e)):e.selector?r=[this._getTokenMetadata(e.selector)]:(this._reportError(Zt(`Can't construct a query for the property "${t}" of "${vd(n)}" since the query selector wasn't defined.`),n),r=[]),{selectors:r,first:e.first,descendants:e.descendants,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null,static:e.static}}_reportError(e,t,n){if(!this._errorCollector)throw e;this._errorCollector(e,t),n&&this._errorCollector(e,n)}}function dd(e){return(t=function e(t,n=[]){if(t)for(let r=0;r<t.length;r++){const s=sn(t[r]);Array.isArray(s)?e(s,n):n.push(s)}return n}(e))?Array.from(new Set(t)):[];var t}function fd(e){return e instanceof Cn||e instanceof z}class md extends Ht{visitOther(e,t){t.push({reference:e})}}function vd(e){return e instanceof Cn?`${e.name} in ${e.filePath}`:rn(e)}function gd(e,t){let n=0;t.eager||(n|=4096),t.providerType===Hc.PrivateService&&(n|=8192),t.isModule&&(n|=1073741824),t.lifecycleHooks.forEach(e=>{e!==ad.OnDestroy&&t.providerType!==Hc.Directive&&t.providerType!==Hc.Component||(n|=xd(e))});const{providerExpr:r,flags:s,depsExpr:i}=t.multiProvider?function(e,t,n){const r=[],s=[],i=n.map((t,n)=>{let r;if(t.useClass){const s=o(n,t.deps||t.useClass.diDeps);r=e.importExpr(t.useClass.reference).instantiate(s)}else if(t.useFactory){const s=o(n,t.deps||t.useFactory.diDeps);r=e.importExpr(t.useFactory.reference).callFn(s)}else if(t.useExisting){r=o(n,[{token:t.useExisting}])[0]}else r=Wh(e,t.useValue);return r});return{providerExpr:Ot(s,[new at(kt(i))],oe),flags:1024|t,depsExpr:kt(r)};function o(t,n){return n.map((n,i)=>{const o=`p${t}_${i}`;return s.push(new $e(o,ie)),r.push(Sd(e,n)),Tt(o)})}}(e,n,t.providers):yd(e,n,t.providerType,t.providers[0]);return{providerExpr:r,flags:s,depsExpr:i,tokenExpr:Ed(e,t.token)}}function yd(e,t,n,r){let s,i;n===Hc.Directive||n===Hc.Component?(s=e.importExpr(r.useClass.reference),t|=16384,i=r.deps||r.useClass.diDeps):r.useClass?(s=e.importExpr(r.useClass.reference),t|=512,i=r.deps||r.useClass.diDeps):r.useFactory?(s=e.importExpr(r.useFactory.reference),t|=1024,i=r.deps||r.useFactory.diDeps):r.useExisting?(s=Qe,t|=2048,i=[{token:r.useExisting}]):(s=Wh(e,r.useValue),t|=256,i=[]);return{providerExpr:s,flags:t,depsExpr:kt(i.map(t=>Sd(e,t)))}}function Ed(e,t){return t.identifier?e.importExpr(t.identifier.reference):Dt(t.value)}function Sd(e,t){const n=t.isValue?Wh(e,t.value):Ed(e,t.token);let r=0;return t.isSkipSelf&&(r|=1),t.isOptional&&(r|=2),t.isSelf&&(r|=4),t.isValue&&(r|=8),0===r?n:kt([Dt(r),n])}function xd(e){let t=0;switch(e){case ad.AfterContentChecked:t=2097152;break;case ad.AfterContentInit:t=1048576;break;case ad.AfterViewChecked:t=8388608;break;case ad.AfterViewInit:t=4194304;break;case ad.DoCheck:t=262144;break;case ad.OnChanges:t=524288;break;case ad.OnDestroy:t=131072;break;case ad.OnInit:t=65536}return t}function _d(e,t,n,r){const s=r.map(e=>t.importExpr(e.componentFactory)),i=wn(e,_n.ComponentFactoryResolver),o={diDeps:[{isValue:!0,value:kt(s)},{token:i,isSkipSelf:!0,isOptional:!0},{token:wn(e,_n.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(_n.CodegenComponentFactoryResolver)},{providerExpr:a,flags:c,depsExpr:l}=yd(t,n,Hc.PrivateService,{token:i,multi:!1,useClass:o});return{providerExpr:a,flags:c,depsExpr:l,tokenExpr:Ed(t,i)}}class bd{constructor(e){this.ngModuleFactoryVar=e}}const wd=Tt("_l");class Cd{constructor(e){this.reflector=e}compile(e,t,n){const r=Nr("NgModule",t.type),s=t.transitiveModule.entryComponents,i=t.bootstrapComponents,o=new Qc(this.reflector,t,n,r),a=[_d(this.reflector,e,0,s)].concat(o.parse().map(t=>gd(e,t))).map(({providerExpr:e,depsExpr:t,flags:n,tokenExpr:r})=>It(_n.moduleProviderDef).callFn([Dt(n),r,e,t])),c=It(_n.moduleDef).callFn([kt(a)]),l=Ot([new $e(wd.name)],[new at(c)],oe),u=Nn(t.type)+"NgFactory";if(this._createNgModuleFactory(e,t.type.reference,It(_n.createModuleFactory).callFn([e.importExpr(t.type.reference),kt(i.map(t=>e.importExpr(t.reference))),l])),t.id){const n="string"==typeof t.id?Dt(t.id):e.importExpr(t.id),r=It(_n.RegisterModuleFactoryFn).callFn([n,Tt(u)]).toStmt();e.statements.push(r)}return new bd(u)}createStub(e,t){this._createNgModuleFactory(e,t,Qe)}_createNgModuleFactory(e,t,n){const r=Tt(Nn({reference:t})+"NgFactory").set(n).toDeclStmt(Mt(_n.NgModuleFactory,[At(e.importExpr(t))],[Y.Const]),[et.Final,et.Exported]);e.statements.push(r)}}class Td{constructor(e){this._reflector=e}isNgModule(e){return this._reflector.annotations(e).some(L.isTypeOf)}resolve(e,t=!0){const n=oh(this._reflector.annotations(e),L.isTypeOf);if(n)return n;if(t)throw new Error(`No NgModule metadata found for '${rn(e)}'.`);return null}}function Id(e){const t=new Ad,n=Bi.createRoot();return(Array.isArray(e)?e:[e]).forEach(e=>{if(e instanceof rt)e.visitStatement(t,n);else if(e instanceof ge)e.visitExpression(t,n);else{if(!(e instanceof ee))throw new Error("Don't know how to print debug info for "+e);e.visitType(t,n)}}),n.toSource()}class Md{emitStatementsAndContext(e,t,n="",r=!0,s,i){const o=new Ad(s,i),a=Bi.createRoot();o.visitAllStatements(t,a);const c=n?n.split("\n"):[];o.reexports.forEach((e,t)=>{const n=e.map(e=>`${e.name} as ${e.as}`).join(",");c.push(`export {${n}} from '${t}';`)}),o.importsWithPrefixes.forEach((e,t)=>{c.push(`import * as ${e} from '${t}';`)});const l=r?a.toSourceMapGenerator(e,c.length).toJsComment():"",u=[...c,a.toSource(),l];return l&&u.push(""),a.setPreambleLineCount(c.length),{sourceText:u.join("\n"),context:a}}emitStatements(e,t,n=""){return this.emitStatementsAndContext(e,t,n).sourceText}}class Ad extends Ui{constructor(e,t){super(!1),this.referenceFilter=e,this.importFilter=t,this.typeExpression=0,this.importsWithPrefixes=new Map,this.reexports=new Map}visitType(e,t,n="any"){e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,n)}visitLiteralExpr(e,t){const n=e.value;return null==n&&e.type!=oe?(t.print(e,`(${n} as any)`),null):super.visitLiteralExpr(e,t)}visitLiteralArrayExpr(e,t){0===e.entries.length&&t.print(e,"(");const n=super.visitLiteralArrayExpr(e,t);return 0===e.entries.length&&t.print(e," as any[])"),n}visitExternalExpr(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null}visitAssertNotNullExpr(e,t){const n=super.visitAssertNotNullExpr(e,t);return t.print(e,"!"),n}visitDeclareVarStmt(e,t){if(e.hasModifier(et.Exported)&&e.value instanceof Fe&&!e.type){const{name:t,moduleName:n}=e.value.value;if(n){let r=this.reexports.get(n);return r||(r=[],this.reexports.set(n,r)),r.push({name:t,as:e.name}),null}}return e.hasModifier(et.Exported)&&t.print(e,"export "),e.hasModifier(et.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e," "+e.name),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitWrappedNodeExpr(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")}visitCastExpr(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null}visitInstantiateExpr(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitDeclareClassStmt(e,t){return t.pushClass(e),e.hasModifier(et.Exported)&&t.print(e,"export "),t.print(e,"class "+e.name),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach(e=>this._visitClassField(e,t)),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach(e=>this._visitClassGetter(e,t)),e.methods.forEach(e=>this._visitClassMethod(e,t)),t.decIndent(),t.println(e,"}"),t.popClass(),null}_visitClassField(e,t){e.hasModifier(et.Private)&&t.print(null,"/*private*/ "),e.hasModifier(et.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")}_visitClassGetter(e,t){e.hasModifier(et.Private)&&t.print(null,"private "),t.print(null,`get ${e.name}()`),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}_visitClassConstructor(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")}_visitClassMethod(e,t){e.hasModifier(et.Private)&&t.print(null,"private "),t.print(null,e.name+"("),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}visitFunctionExpr(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return e.hasModifier(et.Exported)&&t.print(e,"export "),t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Fi.name}) {`),t.incIndent();const n=[Li.set(Fi.prop("stack",null)).toDeclStmt(null,[et.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitBuiltinType(e,t){let n;switch(e.name){case Q.Bool:n="boolean";break;case Q.Dynamic:n="any";break;case Q.Function:n="Function";break;case Q.Number:case Q.Int:n="number";break;case Q.String:n="string";break;case Q.None:n="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return t.print(null,n),null}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects(e=>this.visitType(e,t),e.typeParams,t,","),t.print(null,">")),null}visitArrayType(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null}visitMapType(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}_visitParams(e,t){this.visitAllObjects(e=>{t.print(null,e.name),this._printColonType(e.type,t)},e,t,",")}_visitIdentifier(e,t,n){const{name:r,moduleName:s}=e;if(this.referenceFilter&&this.referenceFilter(e))n.print(null,"(null as any)");else{if(s&&(!this.importFilter||!this.importFilter(e))){let e=this.importsWithPrefixes.get(s);null==e&&(e="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(s,e)),n.print(null,e+".")}if(n.print(null,r),this.typeExpression>0){(t||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(e=>e.visitType(this,n),t,n,","),n.print(null,">"))}}}_printColonType(e,t,n){e!==oe&&(t.print(null,":"),this.visitType(e,t,n))}}class Nd{constructor(e){this._reflector=e}isPipe(e){const t=this._reflector.annotations(sn(e));return t&&t.some(P.isTypeOf)}resolve(e,t=!0){const n=this._reflector.annotations(sn(e));if(n){const e=oh(n,P.isTypeOf);if(e)return e}if(t)throw new Error("No Pipe decorator found on "+rn(e));return null}}class kd{constructor(e,t){this.options=e,this.reflector=t}compileComponent(e,t,n,r,s,i){const o=new Map;r.forEach(e=>o.set(e.name,e.type.reference));let a=0;const c=(e,n)=>{const r=a++;return new Rd(this.options,this.reflector,s,e,t.type.reference,t.isHost,r,o,n,i,c)},l=c(null,[]);return l.visitAll([],n),l.build(e)}}const Pd="_any";const Od=new class{notifyImplicitReceiverUse(){}getLocal(e){return e===Uo.event.name?Tt(Pd):null}};class Rd{constructor(e,t,n,r,s,i,o,a,c,l,u){this.options=e,this.reflector=t,this.externalReferenceVars=n,this.parent=r,this.component=s,this.isHostComponent=i,this.embeddedViewIndex=o,this.pipes=a,this.guards=c,this.ctx=l,this.viewBuilderFactory=u,this.refOutputVars=new Map,this.variables=[],this.children=[],this.updates=[],this.actions=[]}getOutputVar(e){let t;if(t=e===this.component&&this.isHostComponent?Pd:e instanceof Cn?this.externalReferenceVars.get(e):Pd,!t)throw new Error("Illegal State: referring to a type without a variable "+JSON.stringify(e));return t}getTypeGuardExpressions(e){const t=[...this.guards];for(let n of e.directives)for(let e of n.inputs){const r=n.directive.guards[e.directiveName];if(r){const n="UseIf"===r;t.push({guard:r,useIf:n,expression:{context:this.component,value:e.value,sourceSpan:e.sourceSpan}})}}return t}visitAll(e,t){this.variables=e,Kc(this,t)}build(e,t=[]){this.children.forEach(n=>n.build(e,t));let n=[Tt(Pd).set(Qe).toDeclStmt(ie)],r=0;if(this.updates.forEach(e=>{const{sourceSpan:t,context:s,value:i}=this.preprocessUpdateExpression(e),o=""+r++,a=s===this.component?this:Od,{stmts:c,currValExpr:l}=zo(a,Tt(this.getOutputVar(s)),i,o,Do.General);c.push(new ot(l)),n.push(...c.map(e=>xt(e,t)))}),this.actions.forEach(({sourceSpan:e,context:t,value:s})=>{const i=""+r++,o=t===this.component?this:Od,{stmts:a}=$o(o,Tt(this.getOutputVar(t)),s,i);n.push(...a.map(t=>xt(t,e)))}),this.guards.length){let e=void 0;for(const t of this.guards){const{context:n,value:s}=this.preprocessUpdateExpression(t.expression),i=""+r++,o=n===this.component?this:Od,{stmts:a,currValExpr:c}=zo(o,Tt(this.getOutputVar(n)),s,i,Do.TrySimple);if(0==a.length){const n=t.useIf?c:this.ctx.importExpr(t.guard).callFn([c]);e=e?e.and(n):n}}e&&(n=[new dt(e,n)])}const s=`_View_${e}_${this.embeddedViewIndex}`,i=new it(s,[],n);return t.push(i),t}visitBoundText(e,t){e.value.ast.expressions.forEach(t=>this.updates.push({context:this.component,value:t,sourceSpan:e.sourceSpan}))}visitEmbeddedTemplate(e,t){if(this.visitElementOrTemplate(e),this.options.fullTemplateTypeCheck){const t=this.getTypeGuardExpressions(e),n=this.viewBuilderFactory(this,t);this.children.push(n),n.visitAll(e.variables,e.children)}}visitElement(e,t){this.visitElementOrTemplate(e);e.inputs.forEach(e=>{this.updates.push({context:this.component,value:e.value,sourceSpan:e.sourceSpan})}),Kc(this,e.children)}visitElementOrTemplate(e){e.directives.forEach(e=>{this.visitDirective(e)}),e.references.forEach(e=>{let t=null;t=e.value&&e.value.identifier&&this.options.fullTemplateTypeCheck?e.value.identifier.reference:Q.Dynamic,this.refOutputVars.set(e.name,t)}),e.outputs.forEach(e=>{this.actions.push({context:this.component,value:e.handler,sourceSpan:e.sourceSpan})})}visitDirective(e){const t=e.directive.type.reference;e.inputs.forEach(e=>this.updates.push({context:this.component,value:e.value,sourceSpan:e.sourceSpan})),this.options.fullTemplateTypeCheck&&(e.hostProperties.forEach(e=>this.updates.push({context:t,value:e.value,sourceSpan:e.sourceSpan})),e.hostEvents.forEach(e=>this.actions.push({context:t,value:e.handler,sourceSpan:e.sourceSpan})))}notifyImplicitReceiverUse(){}getLocal(e){if(e==Uo.event.name)return Tt(this.getOutputVar(Q.Dynamic));for(let t=this;t;t=t.parent){let n;if(n=t.refOutputVars.get(e),null==n){t.variables.find(t=>t.name===e)&&(n=Q.Dynamic)}if(null!=n)return Tt(this.getOutputVar(n))}return null}pipeOutputVar(e){const t=this.pipes.get(e);if(!t)throw new Error(`Illegal State: Could not find pipe ${e} in template of ${this.component}`);return this.getOutputVar(t)}preprocessUpdateExpression(e){return{sourceSpan:e.sourceSpan,context:e.context,value:Wo({createLiteralArrayConverter:e=>e=>{const t=kt(e);return this.options.fullTemplateTypeCheck?t:t.cast(ie)},createLiteralMapConverter:e=>t=>{const n=Pt(e.map((e,n)=>({key:e.key,value:t[n],quoted:e.quoted})));return this.options.fullTemplateTypeCheck?n:n.cast(ie)},createPipeConverter:(e,t)=>t=>(this.options.fullTemplateTypeCheck?Tt(this.pipeOutputVar(e)):Tt(this.getOutputVar(Q.Dynamic))).callMethod("transform",t)},e.value)}}visitNgContent(e,t){}visitText(e,t){}visitDirectiveProperty(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}}const Dd="class",Fd="style";class Ld{constructor(e,t){this.viewClassVar=e,this.rendererTypeVar=t}}class jd{constructor(e){this._reflector=e}compileComponent(e,t,n,r,s){let i=0,o=void 0;if(!t.isHost){const n=t.template,s=[];n.animations&&n.animations.length&&s.push(new Ze("animation",Wh(e,n.animations),!0));const i=Tt(On(t.type.reference));o=i.name,e.statements.push(i.set(It(_n.createRendererType2).callFn([new Xe([new Ze("encapsulation",Dt(n.encapsulation),!1),new Ze("styles",r,!1),new Ze("data",new Xe(s),!1)])])).toDeclStmt(Mt(_n.RendererType2),[et.Final,et.Exported]))}const a=n=>{const r=i++;return new zd(this._reflector,e,n,t,r,s,a)},c=a(null);return c.visitAll([],n),e.statements.push(...c.build()),new Ld(c.viewName,o)}}const Bd=Tt("_l"),Ud=Tt("_v"),Vd=Tt("_ck"),$d=Tt("_co"),Wd=Tt("en"),Hd=Tt("ad");class zd{constructor(e,t,n,r,s,i,o){this.reflector=e,this.outputCtx=t,this.parent=n,this.component=r,this.embeddedViewIndex=s,this.usedPipes=i,this.viewBuilderFactory=o,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?ie:At(t.importExpr(this.component.type.reference)),this.viewName=Pn(this.component.type.reference,this.embeddedViewIndex)}visitAll(e,t){this.variables=e,this.parent||this.usedPipes.forEach(e=>{e.pure&&(this.purePipeNodeIndices[e.name]=this._createPipe(null,e))}),this.parent||this.component.viewQueries.forEach((e,t)=>{const n=t+1,r=e.first?0:1,s=134217728|Xd(e);this.nodes.push(()=>({sourceSpan:null,nodeFlags:s,nodeDef:It(_n.queryDef).callFn([Dt(s),Dt(n),new Xe([new Ze(e.propertyName,Dt(r),!1)])])}))}),Kc(this,t),this.parent&&(0===t.length||function e(t){const n=t[t.length-1];if(n instanceof Uc)return n.hasViewContainer;if(n instanceof Bc)return i(n.name)&&n.children.length?e(n.children):n.hasViewContainer;return n instanceof zc}(t))&&this.nodes.push(()=>({sourceSpan:null,nodeFlags:1,nodeDef:It(_n.anchorDef).callFn([Dt(0),Qe,Qe,Dt(0)])}))}build(e=[]){this.children.forEach(t=>t.build(e));const{updateRendererStmts:t,updateDirectivesStmts:n,nodeDefExprs:r}=this._createNodeExpressions(),s=this._createUpdateFn(t),i=this._createUpdateFn(n);let o=0;this.parent||this.component.changeDetection!==N.OnPush||(o|=2);const a=new it(this.viewName,[new $e(Bd.name)],[new at(It(_n.viewDef).callFn([Dt(o),kt(r),i,s]))],Mt(_n.ViewDefinition),0===this.embeddedViewIndex?[et.Exported]:[]);return e.push(a),e}_createUpdateFn(e){let t;if(e.length>0){const n=[];!this.component.isHost&>(e).has($d.name)&&n.push($d.set(Ud.prop("component")).toDeclStmt(this.compType)),t=Ot([new $e(Vd.name,oe),new $e(Ud.name,oe)],[...n,...e],oe)}else t=Qe;return t}visitNgContent(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:It(_n.ngContentDef).callFn([Dt(e.ngContentIndex),Dt(e.index)])}))}visitText(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:It(_n.textDef).callFn([Dt(-1),Dt(e.ngContentIndex),kt([Dt(e.value)])])}))}visitBoundText(e,t){const n=this.nodes.length;this.nodes.push(null);const r=e.value.ast,s=r.expressions.map((t,r)=>this._preprocessUpdateExpression({nodeIndex:n,bindingIndex:r,sourceSpan:e.sourceSpan,context:$d,value:t})),i=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:It(_n.textDef).callFn([Dt(i),Dt(e.ngContentIndex),kt(r.strings.map(e=>Dt(e)))]),updateRenderer:s})}visitEmbeddedTemplate(e,t){const n=this.nodes.length;this.nodes.push(null);const{flags:r,queryMatchesExpr:s,hostEvents:i}=this._visitElementOrTemplate(n,e),o=this.viewBuilderFactory(this);this.children.push(o),o.visitAll(e.variables,e.children);const a=this.nodes.length-n-1;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|r,nodeDef:It(_n.anchorDef).callFn([Dt(r),s,Dt(e.ngContentIndex),Dt(a),this._createElementHandleEventFn(n,i),Tt(o.viewName)])})}visitElement(e,t){const n=this.nodes.length;this.nodes.push(null);const r=i(e.name)?null:e.name,{flags:s,usedEvents:o,queryMatchesExpr:a,hostBindings:c,hostEvents:l}=this._visitElementOrTemplate(n,e);let u=[],p=[],h=[];if(r){const t=e.inputs.map(e=>({context:$d,inputAst:e,dirAst:null})).concat(c);t.length&&(p=t.map((e,t)=>this._preprocessUpdateExpression({context:e.context,nodeIndex:n,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})),u=t.map(e=>function(e,t){const n=e.type;switch(n){case 1:return kt([Dt(1),Dt(e.name),Dt(e.securityContext)]);case 0:return kt([Dt(8),Dt(e.name),Dt(e.securityContext)]);case 4:return kt([Dt(8|(t&&t.directive.isComponent?32:16)),Dt("@"+e.name),Dt(e.securityContext)]);case 2:return kt([Dt(2),Dt(e.name),Qe]);case 3:return kt([Dt(4),Dt(e.name),Dt(e.unit)]);default:throw new Error("unexpected "+n)}}(e.inputAst,e.dirAst))),h=o.map(([e,t])=>kt([Dt(e),Dt(t)]))}Kc(this,e.children);const d=this.nodes.length-n-1,f=e.directives.find(e=>e.directive.isComponent);let m=Qe,v=Qe;f&&(v=this.outputCtx.importExpr(f.directive.componentViewType),m=this.outputCtx.importExpr(f.directive.rendererType));const g=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|s,nodeDef:It(_n.elementDef).callFn([Dt(g),Dt(s),a,Dt(e.ngContentIndex),Dt(d),Dt(r),r?qd(e):Qe,u.length?kt(u):Qe,h.length?kt(h):Qe,this._createElementHandleEventFn(n,l),v,m]),updateRenderer:p})}_visitElementOrTemplate(e,t){let n=0;t.hasViewContainer&&(n|=16777216);const r=new Map;t.outputs.forEach(e=>{const{name:t,target:n}=Zd(e,null);r.set(Yd(n,t),[n,t])}),t.directives.forEach(e=>{e.hostEvents.forEach(t=>{const{name:n,target:s}=Zd(t,e);r.set(Yd(s,n),[s,n])})});const s=[],i=[];this._visitComponentFactoryResolverProvider(t.directives),t.providers.forEach(e=>{let n=void 0;if(t.directives.forEach(t=>{t.directive.type.reference===jn(e.token)&&(n=t)}),n){const{hostBindings:o,hostEvents:a}=this._visitDirective(e,n,t.references,t.queryMatches,r);s.push(...o),i.push(...a)}else this._visitProvider(e,t.queryMatches)});let o=[];return t.queryMatches.forEach(e=>{let t=void 0;jn(e.value)===this.reflector.resolveExternalReference(_n.ElementRef)?t=0:jn(e.value)===this.reflector.resolveExternalReference(_n.ViewContainerRef)?t=3:jn(e.value)===this.reflector.resolveExternalReference(_n.TemplateRef)&&(t=2),null!=t&&o.push(kt([Dt(e.queryId),Dt(t)]))}),t.references.forEach(t=>{let n=void 0;t.value?jn(t.value)===this.reflector.resolveExternalReference(_n.TemplateRef)&&(n=2):n=1,null!=n&&(this.refNodeIndices[t.name]=e,o.push(kt([Dt(t.name),Dt(n)])))}),t.outputs.forEach(e=>{i.push({context:$d,eventAst:e,dirAst:null})}),{flags:n,usedEvents:Array.from(r.values()),queryMatchesExpr:o.length?kt(o):Qe,hostBindings:s,hostEvents:i}}_visitDirective(e,t,n,r,s){const i=this.nodes.length;this.nodes.push(null),t.directive.queries.forEach((e,n)=>{const r=t.contentQueryStartId+n,s=67108864|Xd(e),i=e.first?0:1;this.nodes.push(()=>({sourceSpan:t.sourceSpan,nodeFlags:s,nodeDef:It(_n.queryDef).callFn([Dt(s),Dt(r),new Xe([new Ze(e.propertyName,Dt(i),!1)])])}))});const o=this.nodes.length-i-1;let{flags:a,queryMatchExprs:c,providerExpr:l,depsExpr:u}=this._visitProviderOrDirective(e,r);n.forEach(t=>{t.value&&jn(t.value)===jn(e.token)&&(this.refNodeIndices[t.name]=i,c.push(kt([Dt(t.name),Dt(4)])))}),t.directive.isComponent&&(a|=32768);const p=t.inputs.map((e,t)=>{const n=kt([Dt(t),Dt(e.directiveName)]);return new Ze(e.directiveName,n,!1)}),h=[],d=t.directive;Object.keys(d.outputs).forEach(e=>{const t=d.outputs[e];s.has(t)&&h.push(new Ze(e,Dt(t),!1))});let f=[];(t.inputs.length||(327680&a)>0)&&(f=t.inputs.map((e,t)=>this._preprocessUpdateExpression({nodeIndex:i,bindingIndex:t,sourceSpan:e.sourceSpan,context:$d,value:e.value})));const m=It(_n.nodeValue).callFn([Ud,Dt(i)]),v=t.hostProperties.map(e=>({context:m,dirAst:t,inputAst:e})),g=t.hostEvents.map(e=>({context:m,eventAst:e,dirAst:t})),y=i;return this.nodes[i]=()=>({sourceSpan:t.sourceSpan,nodeFlags:16384|a,nodeDef:It(_n.directiveDef).callFn([Dt(y),Dt(a),c.length?kt(c):Qe,Dt(o),l,u,p.length?new Xe(p):Qe,h.length?new Xe(h):Qe]),updateDirectives:f,directive:t.directive.type}),{hostBindings:v,hostEvents:g}}_visitProvider(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))}_visitComponentFactoryResolverProvider(e){const t=e.find(e=>e.directive.isComponent);if(t&&t.directive.entryComponents.length){const{providerExpr:e,depsExpr:n,flags:r,tokenExpr:s}=_d(this.reflector,this.outputCtx,8192,t.directive.entryComponents);this._addProviderNode({providerExpr:e,depsExpr:n,flags:r,tokenExpr:s,queryMatchExprs:[],sourceSpan:t.sourceSpan})}}_addProviderNode(e){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:It(_n.providerDef).callFn([Dt(e.flags),e.queryMatchExprs.length?kt(e.queryMatchExprs):Qe,e.tokenExpr,e.providerExpr,e.depsExpr])}))}_visitProviderOrDirective(e,t){let n=[];t.forEach(t=>{jn(t.value)===jn(e.token)&&n.push(kt([Dt(t.queryId),Dt(4)]))});const{providerExpr:r,depsExpr:s,flags:i,tokenExpr:o}=gd(this.outputCtx,e);return{flags:0|i,queryMatchExprs:n,providerExpr:r,depsExpr:s,tokenExpr:o,sourceSpan:e.sourceSpan}}getLocal(e){if(e==Uo.event.name)return Uo.event;let t=Ud;for(let n=this;n;n=n.parent,t=t.prop("parent").cast(ie)){const r=n.refNodeIndices[e];if(null!=r)return It(_n.nodeValue).callFn([t,Dt(r)]);const s=n.variables.find(t=>t.name===e);if(s){const e=s.value||"$implicit";return t.prop("context").prop(e)}}return null}notifyImplicitReceiverUse(){}_createLiteralArrayConverter(e,t){if(0===t){const e=It(_n.EMPTY_ARRAY);return()=>e}const n=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:32,nodeDef:It(_n.pureArrayDef).callFn([Dt(n),Dt(t)])})),e=>Gd(n,e)}_createLiteralMapConverter(e,t){if(0===t.length){const e=It(_n.EMPTY_MAP);return()=>e}const n=Pt(t.map((e,t)=>Object.assign(Object.assign({},e),{value:Dt(t)}))),r=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:64,nodeDef:It(_n.pureObjectDef).callFn([Dt(r),n])})),e=>Gd(r,e)}_createPipeConverter(e,t,n){const r=this.usedPipes.find(e=>e.name===t);if(r.pure){const r=this.nodes.length;this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:It(_n.purePipeDef).callFn([Dt(r),Dt(n)])}));let s=Ud,i=this;for(;i.parent;)i=i.parent,s=s.prop("parent").cast(ie);const o=i.purePipeNodeIndices[t],a=It(_n.nodeValue).callFn([s,Dt(o)]);return t=>Kd(e.nodeIndex,e.bindingIndex,Gd(r,[a].concat(t)))}{const t=this._createPipe(e.sourceSpan,r),n=It(_n.nodeValue).callFn([Ud,Dt(t)]);return t=>Kd(e.nodeIndex,e.bindingIndex,n.callMethod("transform",t))}}_createPipe(e,t){const n=this.nodes.length;let r=0;t.type.lifecycleHooks.forEach(e=>{e===ad.OnDestroy&&(r|=xd(e))});const s=t.type.diDeps.map(e=>Sd(this.outputCtx,e));return this.nodes.push(()=>({sourceSpan:e,nodeFlags:16,nodeDef:It(_n.pipeDef).callFn([Dt(r),this.outputCtx.importExpr(t.type.reference),kt(s)])})),n}_preprocessUpdateExpression(e){return{nodeIndex:e.nodeIndex,bindingIndex:e.bindingIndex,sourceSpan:e.sourceSpan,context:e.context,value:Wo({createLiteralArrayConverter:t=>this._createLiteralArrayConverter(e.sourceSpan,t),createLiteralMapConverter:t=>this._createLiteralMapConverter(e.sourceSpan,t),createPipeConverter:(t,n)=>this._createPipeConverter(e,t,n)},e.value)}}_createNodeExpressions(){const e=this;let t=0;const n=[],r=[],s=this.nodes.map((e,t)=>{const{nodeDef:s,nodeFlags:o,updateDirectives:a,updateRenderer:c,sourceSpan:l}=e();c&&n.push(...i(t,l,c,!1)),a&&r.push(...i(t,l,a,(327680&o)>0));return _t(3&o?new Ye([Bd.callFn([]).callFn([]),s]):s,l)});return{updateRendererStmts:n,updateDirectivesStmts:r,nodeDefExprs:s};function i(n,r,s,i){const o=[],a=s.map(({sourceSpan:n,context:r,value:s})=>{const i=""+t++,a=r===$d?e:null,{stmts:c,currValExpr:l}=zo(a,r,s,i,Do.General);return o.push(...c.map(e=>xt(e,n))),_t(l,n)});return(s.length||i)&&o.push(xt(Gd(n,a).toStmt(),r)),o}}_createElementHandleEventFn(e,t){const n=[];let r,s=0;if(t.forEach(({context:e,eventAst:t,dirAst:r})=>{const i=""+s++,o=e===$d?this:null,{stmts:a,allowDefault:c}=$o(o,e,t.handler,i),l=a;c&&l.push(Hd.set(c.and(Hd)).toStmt());const{target:u,name:p}=Zd(t,r),h=Yd(u,p);n.push(xt(new dt(Dt(h).identical(Wd),l),t.sourceSpan))}),n.length>0){const e=[Hd.set(Dt(!0)).toDeclStmt(ae)];!this.component.isHost&>(n).has($d.name)&&e.push($d.set(Ud.prop("component")).toDeclStmt(this.compType)),r=Ot([new $e(Ud.name,oe),new $e(Wd.name,oe),new $e(Uo.event.name,oe)],[...e,...n,new at(Hd)],oe)}else r=Qe;return r}visitDirective(e,t){}visitDirectiveProperty(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}}function qd(e){const t=Object.create(null);return e.attrs.forEach(e=>{t[e.name]=e.value}),e.directives.forEach(e=>{Object.keys(e.directive.hostAttributes).forEach(n=>{const r=e.directive.hostAttributes[n],s=t[n];var i,o,a;t[n]=null!=s?(o=s,a=r,(i=n)==Dd||i==Fd?`${o} ${a}`:a):r})}),kt(Object.keys(t).sort().map(e=>kt([Dt(e),Dt(t[e])])))}function Gd(e,t){return t.length>10?Vd.callFn([Ud,Dt(e),Dt(1),kt(t)]):Vd.callFn([Ud,Dt(e),Dt(0),...t])}function Kd(e,t,n){return It(_n.unwrapValue).callFn([Ud,Dt(e),Dt(t),n])}function Zd(e,t){return e.isAnimation?{name:`@${e.name}.${e.phase}`,target:t&&t.directive.isComponent?"component":null}:e}function Xd(e){let t=0;return e.first&&e.static?t|=268435456:t|=536870912,t}function Yd(e,t){return e?`${e}:${t}`:t}class Qd{constructor(e,t,n,r=null){this._htmlParser=e,this._implicitTags=t,this._implicitAttrs=n,this._locale=r,this._messages=[]}updateFromTemplate(e,t,n){const r=this._htmlParser.parse(e,t,{tokenizeExpansionForms:!0,interpolationConfig:n});if(r.errors.length)return r.errors;const s=function(e,t,n,r){return new fh(n,r).extract(e,t)}(r.rootNodes,n,this._implicitTags,this._implicitAttrs);return s.errors.length?s.errors:(this._messages.push(...s.messages),[])}getMessages(){return this._messages}write(e,t){const n={},r=new Jd;this._messages.forEach(t=>{const r=e.digest(t);n.hasOwnProperty(r)?n[r].sources.push(...t.sources):n[r]=t});const s=Object.keys(n).map(s=>{const i=e.createNameMapper(n[s]),o=n[s],a=i?r.convert(o.nodes,i):o.nodes;let c=new zr(a,{},{},o.meaning,o.description,s);return c.sources=o.sources,t&&c.sources.forEach(e=>e.filePath=t(e.filePath)),c});return e.write(s,this._locale)}}class Jd extends class{visitText(e,t){return new qr(e.value,e.sourceSpan)}visitContainer(e,t){const n=e.children.map(e=>e.visit(this,t));return new Gr(n,e.sourceSpan)}visitIcu(e,t){const n={};Object.keys(e.cases).forEach(r=>n[r]=e.cases[r].visit(this,t));const r=new Kr(e.expression,e.type,n,e.sourceSpan);return r.expressionPlaceholder=e.expressionPlaceholder,r}visitTagPlaceholder(e,t){const n=e.children.map(e=>e.visit(this,t));return new Zr(e.tag,e.attrs,e.startName,e.closeName,n,e.isVoid,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitPlaceholder(e,t){return new Xr(e.value,e.name,e.sourceSpan)}visitIcuPlaceholder(e,t){return new Yr(e.value,e.name,e.sourceSpan)}}{convert(e,t){return t?e.map(e=>e.visit(this,t)):e}visitTagPlaceholder(e,t){const n=t.toPublicName(e.startName),r=e.closeName?t.toPublicName(e.closeName):e.closeName,s=e.children.map(e=>e.visit(this,t));return new Zr(e.tag,e.attrs,n,r,s,e.isVoid,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitPlaceholder(e,t){return new Xr(e.value,t.toPublicName(e.name),e.sourceSpan)}visitIcuPlaceholder(e,t){return new Yr(e.value,t.toPublicName(e.name),e.sourceSpan)}}class ef{constructor(e,t,n){this.srcFileUrl=e,this.genFileUrl=t,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}isEquivalent(e){return this.genFileUrl===e.genFileUrl&&(this.source?this.source===e.source:null!=e.stmts&&ve(this.stmts,e.stmts))}}function tf(e,t=""){if(!e.stmts)throw new Error("Illegal state: No stmts present on GeneratedFile "+e.genFileUrl);return(new Md).emitStatements(e.genFileUrl,e.stmts,t)}function nf(e,t){const n=[];for(const{provider:r,module:s}of e.transitiveModule.providers)if(jn(r.token)===t.ROUTES){const e=rf(r.useValue);for(const r of e)n.push(sf(r,t,s.reference))}return n}function rf(e,t=[]){if("string"==typeof e)t.push(e);else if(Array.isArray(e))for(const n of e)rf(n,t);else e.loadChildren?rf(e.loadChildren,t):e.children&&rf(e.children,t);return t}function sf(e,t,n){const[r,s]=e.split("#"),i=t.resolveExternalReference({moduleName:r,name:s},n?n.filePath:void 0);return{route:e,module:n||i,referencedModule:i}}const of=/^(?!.*\.d\.ts$).*\.ts$/;class af{constructor(e,t){this.symbol=e,this.metadata=t}}class cf{constructor(e,t,n,r){this.host=e,this.staticSymbolCache=t,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}resolveSymbol(e){if(e.members.length>0)return this._resolveSymbolMembers(e);const t=this._resolveSymbolFromSummary(e);if(t)return t;const n=this.resolvedSymbols.get(e);return n||(this._createSymbolsOf(e.filePath),this.resolvedSymbols.get(e))}getImportAs(e,t=!0){if(e.members.length){const n=this.getStaticSymbol(e.filePath,e.name),r=this.getImportAs(n,t);return r?this.getStaticSymbol(r.filePath,r.name,e.members):null}const n=e.filePath.replace(Zh,".");if(n!==e.filePath){const r=e.name.replace(Xh,""),s=this.getStaticSymbol(n,r,e.members),i=this.getImportAs(s,t);return i?this.getStaticSymbol(nd(i.filePath),rd(i.name),s.members):null}let r=t&&this.summaryResolver.getImportAs(e)||null;return r||(r=this.importAs.get(e)),r}getResourcePath(e){return this.symbolResourcePaths.get(e)||e.filePath}getTypeArity(e){if(t=e.filePath,Kh.test(t))return null;var t;let n=uf(this.resolveSymbol(e));for(;n&&n.metadata instanceof Cn;)n=uf(this.resolveSymbol(n.metadata));return n&&n.metadata&&n.metadata.arity||null}getKnownModuleName(e){return this.knownFileNameToModuleNames.get(e)||null}recordImportAs(e,t){e.assertNoMembers(),t.assertNoMembers(),this.importAs.set(e,t)}recordModuleNameForFileName(e,t){this.knownFileNameToModuleNames.set(e,t)}invalidateFile(e){this.metadataCache.delete(e);const t=this.symbolFromFile.get(e);if(!t)return[];this.symbolFromFile.delete(e);for(const n of t)this.resolvedSymbols.delete(n),this.importAs.delete(n),this.symbolResourcePaths.delete(n);return t}ignoreErrorsFor(e){const t=this.errorRecorder;this.errorRecorder=()=>{};try{return e()}finally{this.errorRecorder=t}}_resolveSymbolMembers(e){const t=e.members,n=this.resolveSymbol(this.getStaticSymbol(e.filePath,e.name));if(!n)return null;let r=uf(n.metadata);if(r instanceof Cn)return new af(e,this.getStaticSymbol(r.filePath,r.name,t));if(!r||"class"!==r.__symbolic){let n=r;for(let e=0;e<t.length&&n;e++)n=n[t[e]];return new af(e,n)}return r.statics&&1===t.length?new af(e,r.statics[t[0]]):null}_resolveSymbolFromSummary(e){const t=this.summaryResolver.resolveSummary(e);return t?new af(e,t.metadata):null}getStaticSymbol(e,t,n){return this.staticSymbolCache.get(e,t,n)}hasDecorators(e){const t=this.getModuleMetadata(e);return!!t.metadata&&Object.keys(t.metadata).some(e=>{const n=t.metadata[e];return n&&"class"===n.__symbolic&&n.decorators})}getSymbolsOf(e){const t=this.summaryResolver.getSymbolsOf(e);return t||(this._createSymbolsOf(e),this.symbolFromFile.get(e)||[])}_createSymbolsOf(e){if(this.symbolFromFile.has(e))return;const t=[],n=this.getModuleMetadata(e);if(n.importAs&&this.knownFileNameToModuleNames.set(e,n.importAs),n.exports)for(const s of n.exports)if(s.export)s.export.forEach(n=>{let r;r="string"==typeof n?n:n.as,r=lf(r);let i=r;"string"!=typeof n&&(i=lf(n.name));const o=this.resolveModule(s.from,e);if(o){const n=this.getStaticSymbol(o,i),s=this.getStaticSymbol(e,r);t.push(this.createExport(s,n))}});else{const n=this.resolveModule(s.from,e);if(n&&n!==e){this.getSymbolsOf(n).forEach(n=>{const r=this.getStaticSymbol(e,n.name);t.push(this.createExport(r,n))})}}if(n.metadata){const r=new Set(Object.keys(n.metadata).map(lf)),s=n.origins||{};Object.keys(n.metadata).forEach(i=>{const o=n.metadata[i],a=lf(i),c=this.getStaticSymbol(e,a),l=s.hasOwnProperty(i)&&s[i];if(l){const t=this.resolveModule(l,e);t?this.symbolResourcePaths.set(c,t):this.reportError(new Error(`Couldn't resolve original symbol for ${l} from ${this.host.getOutputName(e)}`))}t.push(this.createResolvedSymbol(c,e,r,o))})}const r=new Set;for(const s of t)this.resolvedSymbols.set(s.symbol,s),r.add(s.symbol);this.symbolFromFile.set(e,Array.from(r))}createResolvedSymbol(e,t,n,r){const s=of.test(e.filePath);if(this.summaryResolver.isLibraryFile(e.filePath)&&!s&&r&&"class"===r.__symbolic){const t={__symbolic:"class",arity:r.arity};return new af(e,t)}let i;const o=()=>(i||(i=this.host.getOutputName(t.replace(/((\.ts)|(\.d\.ts)|)$/,".ts").replace(/^.*node_modules[/\\]/,""))),i),a=this;const c=Vt(r,new class extends Ht{visitStringMap(r,s){const i=r.__symbolic;if("function"===i){const e=s.length;s.push(...r.parameters||[]);const t=super.visitStringMap(r,s);return s.length=e,t}if("reference"!==i)return"error"===i?Object.assign(Object.assign({},r),{fileName:o()}):super.visitStringMap(r,s);{const i=r.module,c=r.name?lf(r.name):r.name;if(!c)return null;let l;if(i)return l=a.resolveModule(i,e.filePath),l?{__symbolic:"resolved",symbol:a.getStaticSymbol(l,c),line:r.line,character:r.character,fileName:o()}:{__symbolic:"error",message:`Could not resolve ${i} relative to ${a.host.getMetadataFor(e.filePath)}.`,line:r.line,character:r.character,fileName:o()};if(s.indexOf(c)>=0)return{__symbolic:"reference",name:c};if(n.has(c))return a.getStaticSymbol(t,c)}}},[]);let l=uf(c);return l instanceof Cn?this.createExport(e,l):new af(e,c)}createExport(e,t){return e.assertNoMembers(),t.assertNoMembers(),this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(t.filePath)&&this.importAs.set(t,this.getImportAs(e)||e),new af(e,t)}reportError(e,t,n){if(!this.errorRecorder)throw e;this.errorRecorder(e,t&&t.filePath||n)}getModuleMetadata(e){let t=this.metadataCache.get(e);if(!t){const n=this.host.getMetadataFor(e);if(n){let e=-1;n.forEach(n=>{n&&n.version>e&&(e=n.version,t=n)})}if(t||(t={__symbolic:"module",version:4,module:e,metadata:{}}),4!=t.version){const n=2==t.version?`Unsupported metadata version ${t.version} for module ${e}. This module should be compiled with a newer version of ngc`:`Metadata version mismatch for module ${this.host.getOutputName(e)}, found version ${t.version}, expected 4`;this.reportError(new Error(n))}this.metadataCache.set(e,t)}return t}getSymbolByModule(e,t,n){const r=this.resolveModule(e,n);return r?this.getStaticSymbol(r,t):(this.reportError(new Error(`Could not resolve module ${e}${n?" relative to "+this.host.getOutputName(n):""}`)),this.getStaticSymbol("ERROR:"+e,t))}resolveModule(e,t){try{return this.host.moduleNameToFileName(e,t)}catch(n){this.reportError(n,void 0,t)}return null}}function lf(e){return e.startsWith("___")?e.substr(1):e}function uf(e){return e&&"resolved"===e.__symbolic?e.symbol:e}function pf(e,t,n){const r=rd(t.name);e.statements.push(Ot([],[new at(n)],new re(ie)).toDeclStmt(r,[et.Final,et.Exported]))}class hf extends Ht{constructor(e,t,n){super(),this.symbolResolver=e,this.summaryResolver=t,this.srcFileName=n,this.symbols=[],this.indexBySymbol=new Map,this.reexportedBy=new Map,this.processedSummaryBySymbol=new Map,this.processedSummaries=[],this.unprocessedSymbolSummariesBySymbol=new Map,this.moduleName=e.getKnownModuleName(n)}addSummary(e){let t=this.unprocessedSymbolSummariesBySymbol.get(e.symbol),n=this.processedSummaryBySymbol.get(e.symbol);if(t||(t={symbol:e.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(e.symbol,t),n={symbol:this.processValue(e.symbol,0)},this.processedSummaries.push(n),this.processedSummaryBySymbol.set(e.symbol,n)),!t.metadata&&e.metadata){let r=e.metadata||{};if("class"===r.__symbolic){const e={};Object.keys(r).forEach(t=>{"decorators"!==t&&(e[t]=r[t])}),r=e}else mf(r)&&(function(e){return mf(e)&&uf(e.expression)instanceof Cn}(r)||function(e){return mf(e)&&e.expression&&"select"===e.expression.__symbolic&&uf(e.expression.expression)instanceof Cn}(r)||(r={__symbolic:"error",message:"Complex function calls are not supported."}));if(t.metadata=r,n.metadata=this.processValue(r,1),r instanceof Cn&&this.summaryResolver.isLibraryFile(r.filePath)){const t=this.symbols[this.indexBySymbol.get(r)];id(t.name)||this.reexportedBy.set(t,e.symbol)}}if(!t.type&&e.type&&(t.type=e.type,n.type=this.processValue(e.type,0),e.type.summaryKind===Fn.NgModule)){const t=e.type;t.exportedDirectives.concat(t.exportedPipes).forEach(e=>{const t=e.reference;if(this.summaryResolver.isLibraryFile(t.filePath)&&!this.unprocessedSymbolSummariesBySymbol.has(t)){const e=this.summaryResolver.resolveSummary(t);e&&this.addSummary(e)}})}}serialize(e){const t=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map((n,r)=>{n.assertNoMembers();let s=void 0;if(this.summaryResolver.isLibraryFile(n.filePath)){const i=this.reexportedBy.get(n);if(i)s=this.indexBySymbol.get(i);else if(e){const e=this.unprocessedSymbolSummariesBySymbol.get(n);e&&e.metadata&&"interface"===e.metadata.__symbolic||(s=`${n.name}_${r}`,t.push({symbol:n,exportAs:s}))}}return{__symbol:r,name:n.name,filePath:this.summaryResolver.toSummaryFileName(n.filePath,this.srcFileName),importAs:s}})}),exportAs:t}}processValue(e,t){return Vt(e,this,t)}visitOther(e,t){if(e instanceof Cn){let n=this.symbolResolver.getStaticSymbol(e.filePath,e.name);return{__symbol:this.visitStaticSymbol(n,t),members:e.members}}}visitStringMap(e,t){return"resolved"===e.__symbolic?Vt(e.symbol,this,t):("error"===e.__symbolic&&(delete e.line,delete e.character),super.visitStringMap(e,t))}visitStaticSymbol(e,t){let n=this.indexBySymbol.get(e),r=null;if(1&t&&this.summaryResolver.isLibraryFile(e.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(e))return n;r=this.loadSummary(e),r&&r.metadata instanceof Cn&&(n=this.visitStaticSymbol(r.metadata,t),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(e)),this.indexBySymbol.set(e,n),r&&this.addSummary(r),n}loadSummary(e){let t=this.summaryResolver.resolveSummary(e);if(!t){const n=this.symbolResolver.resolveSymbol(e);n&&(t={symbol:n.symbol,metadata:n.metadata})}return t}}class df{constructor(e,t,n){this.outputCtx=e,this.symbolResolver=t,this.summaryResolver=n,this.data=[]}addSourceType(e,t){this.data.push({summary:e,metadata:t,isLibrary:!1})}addLibType(e){this.data.push({summary:e,metadata:null,isLibrary:!0})}serialize(e){const t=new Map;for(const{symbol:r,exportAs:s}of e)t.set(r,s);const n=new Set;for(const{summary:r,metadata:s,isLibrary:i}of this.data){if(r.summaryKind===Fn.NgModule){n.add(r.type.reference);const e=r;for(const t of e.modules)n.add(t.reference)}if(!i){rd(r.type.reference.name);pf(this.outputCtx,r.type.reference,this.serializeSummaryWithDeps(r,s))}}n.forEach(e=>{if(this.summaryResolver.isLibraryFile(e.filePath)){const n=rd(t.get(e)||e.name);this.outputCtx.statements.push(Tt(n).set(this.serializeSummaryRef(e)).toDeclStmt(null,[et.Exported]))}})}serializeSummaryWithDeps(e,t){const n=[this.serializeSummary(e)];let r=[];if(t instanceof Hn)n.push(...t.declaredDirectives.concat(t.declaredPipes).map(e=>e.reference).concat(t.transitiveModule.modules.map(e=>e.reference).filter(e=>e!==t.type.reference)).map(e=>this.serializeSummaryRef(e))),r=t.providers;else if(e.summaryKind===Fn.Directive){const t=e;r=t.providers.concat(t.viewProviders)}return n.push(...r.filter(e=>!!e.useClass).map(e=>this.serializeSummary({summaryKind:Fn.Injectable,type:e.useClass}))),kt(n)}serializeSummaryRef(e){const t=this.symbolResolver.getStaticSymbol(nd(e.filePath),rd(e.name));return this.outputCtx.importExpr(t)}serializeSummary(e){const t=this.outputCtx;return Vt(e,new class{visitArray(e,t){return kt(e.map(e=>Vt(e,this,t)))}visitStringMap(e,t){return new Xe(Object.keys(e).map(n=>new Ze(n,Vt(e[n],this,t),!1)))}visitPrimitive(e,t){return Dt(e)}visitOther(e,n){if(e instanceof Cn)return t.importExpr(e);throw new Error("Illegal State: Encountered value "+e)}},null)}}class ff extends Ht{constructor(e,t){super(),this.symbolCache=e,this.summaryResolver=t}deserialize(e,t){const n=JSON.parse(t),r=[];this.symbols=n.symbols.map(t=>this.symbolCache.get(this.summaryResolver.fromSummaryFileName(t.filePath,e),t.name)),n.symbols.forEach((t,n)=>{const s=this.symbols[n],i=t.importAs;"number"==typeof i?r.push({symbol:s,importAs:this.symbols[i]}):"string"==typeof i&&r.push({symbol:s,importAs:this.symbolCache.get(Yh(e),i)})});const s=Vt(n.summaries,this,null);return{moduleName:n.moduleName,summaries:s,importAs:r}}visitStringMap(e,t){if("__symbol"in e){const t=this.symbols[e.__symbol],n=e.members;return n.length?this.symbolCache.get(t.filePath,t.name,n):t}return super.visitStringMap(e,t)}}function mf(e){return e&&"call"===e.__symbolic}class vf{constructor(e,t,n,r,s,i,o,a,c,l,u,p,h,d){this._config=e,this._options=t,this._host=n,this.reflector=r,this._metadataResolver=s,this._templateParser=i,this._styleCompiler=o,this._viewCompiler=a,this._typeCheckCompiler=c,this._ngModuleCompiler=l,this._injectableCompiler=u,this._outputEmitter=p,this._summaryResolver=h,this._symbolResolver=d,this._templateAstCache=new Map,this._analyzedFiles=new Map,this._analyzedFilesForInjectables=new Map}clearCache(){this._metadataResolver.clearCache()}analyzeModulesSync(e){const t=xf(e,this._host,this._symbolResolver,this._metadataResolver);return t.ngModules.forEach(e=>this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)),t}analyzeModulesAsync(e){const t=xf(e,this._host,this._symbolResolver,this._metadataResolver);return Promise.all(t.ngModules.map(e=>this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1))).then(()=>t)}_analyzeFile(e){let t=this._analyzedFiles.get(e);return t||(t=bf(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFiles.set(e,t)),t}_analyzeFileForInjectables(e){let t=this._analyzedFilesForInjectables.get(e);return t||(t=wf(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFilesForInjectables.set(e,t)),t}findGeneratedFileNames(e){const t=[],n=this._analyzeFile(e);(this._options.allowEmptyCodegenFiles||n.directives.length||n.pipes.length||n.injectables.length||n.ngModules.length||n.exportsNonSourceFiles)&&(t.push(Yh(n.fileName,!0)),this._options.enableSummariesForJit&&t.push(nd(n.fileName,!0)));const r=ed(Jh(n.fileName,!0)[1]);return n.directives.forEach(e=>{const s=this._metadataResolver.getNonNormalizedDirectiveMetadata(e).metadata;s.isComponent&&s.template.styleUrls.forEach(e=>{const i=this._host.resourceNameToFileName(e,n.fileName);if(!i)throw Zt(`Couldn't resolve resource ${e} relative to ${n.fileName}`);const o=(s.template.encapsulation||this._config.defaultEncapsulation)===A.Emulated;t.push(Ef(i,o,r)),this._options.allowEmptyCodegenFiles&&t.push(Ef(i,!o,r))})}),t}emitBasicStub(e,t){const n=this._createOutputContext(e);if(e.endsWith(".ngfactory.ts")){if(!t)throw new Error("Assertion error: require the original file for .ngfactory.ts stubs. File: "+e);const r=this._analyzeFile(t);this._createNgFactoryStub(n,r,1)}else if(e.endsWith(".ngsummary.ts")){if(this._options.enableSummariesForJit){if(!t)throw new Error("Assertion error: require the original file for .ngsummary.ts stubs. File: "+e);const r=this._analyzeFile(t);gf(n),r.ngModules.forEach(e=>{!function(e,t){pf(e,t,Qe)}(n,e.type.reference)})}}else e.endsWith(".ngstyle.ts")&&gf(n);return this._codegenSourceModule("unknown",n)}emitTypeCheckStub(e,t){const n=this._analyzeFile(t),r=this._createOutputContext(e);return e.endsWith(".ngfactory.ts")&&this._createNgFactoryStub(r,n,2),r.statements.length>0?this._codegenSourceModule(n.fileName,r):null}loadFilesAsync(e,t){const n=e.map(e=>this._analyzeFile(e)),r=[];n.forEach(e=>e.ngModules.forEach(e=>r.push(this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1))));const s=t.map(e=>this._analyzeFileForInjectables(e));return Promise.all(r).then(e=>({analyzedModules:Tf(n),analyzedInjectables:s}))}loadFilesSync(e,t){const n=e.map(e=>this._analyzeFile(e));n.forEach(e=>e.ngModules.forEach(e=>this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)));const r=t.map(e=>this._analyzeFileForInjectables(e));return{analyzedModules:Tf(n),analyzedInjectables:r}}_createNgFactoryStub(e,t,n){let r=0;t.ngModules.forEach((t,s)=>{this._ngModuleCompiler.createStub(e,t.type.reference);const i=[...t.transitiveModule.directives.map(e=>e.reference),...t.transitiveModule.pipes.map(e=>e.reference),...t.importedModules.map(e=>e.type.reference),...t.exportedModules.map(e=>e.type.reference),...this._externalIdentifierReferences([_n.TemplateRef,_n.ElementRef])],o=new Map;i.forEach((e,t)=>{o.set(e,`_decl${s}_${t}`)}),o.forEach((t,n)=>{e.statements.push(Tt(t).set(Qe.cast(ie)).toDeclStmt(At(e.importExpr(n,null,!1))))}),2&n&&t.declaredDirectives.forEach(n=>{const s=this._metadataResolver.getDirectiveMetadata(n.reference);s.isComponent&&(r++,this._createTypeCheckBlock(e,`${s.type.reference.name}_Host_${r}`,t,this._metadataResolver.getHostComponentMetadata(s),[s.type],o),this._createTypeCheckBlock(e,`${s.type.reference.name}_${r}`,t,s,t.transitiveModule.directives,o))})}),0===e.statements.length&&gf(e)}_externalIdentifierReferences(e){const t=[];for(let n of e){const e=wn(this.reflector,n);e.identifier&&t.push(e.identifier.reference)}return t}_createTypeCheckBlock(e,t,n,r,s,i){const{template:o,pipes:a}=this._parseTemplate(r,n,s);e.statements.push(...this._typeCheckCompiler.compileComponent(t,r,o,a,i,e))}emitMessageBundle(e,t){const n=[],r=new gc,s=new Qd(r,[],{},t);if(e.files.forEach(e=>{const t=[];e.directives.forEach(e=>{const n=this._metadataResolver.getDirectiveMetadata(e);n&&n.isComponent&&t.push(n)}),t.forEach(e=>{const t=e.template.template,r=e.template.templateUrl,i=Mi.fromArray(e.template.interpolation);n.push(...s.updateFromTemplate(t,r,i))})}),n.length)throw new Error(n.map(e=>e.toString()).join("\n"));return s}emitAllPartialModules({ngModuleByPipeOrDirective:e,files:t},n){const r=new Map,s=e=>(r.has(e)||r.set(e,this._createOutputContext(e)),r.get(e));return t.forEach(t=>this._compilePartialModule(t.fileName,e,t.directives,t.pipes,t.ngModules,t.injectables,s(t.fileName))),n.forEach(e=>this._compileShallowModules(e.fileName,e.shallowModules,s(e.fileName))),Array.from(r.values()).map(e=>({fileName:e.genFilePath,statements:[...e.constantPool.statements,...e.statements]}))}_compileShallowModules(e,t,n){t.forEach(e=>function(e,t,n){const r=Nn(t.type),s=t.rawImports?[t.rawImports]:[],i=t.rawExports?[t.rawExports]:[],o=Gi({factory:n.factoryFor({type:t.type,symbol:t.type.reference},e),providers:rr(t.rawProviders,e),imports:rr([...s,...i],e)}),a=It(tr.defineInjector).callFn([o]);e.statements.push(new ht(r,null,[new lt("\u0275inj",oe,[et.Static],a)],[],new ut(null,[],[]),[]))}(n,e,this._injectableCompiler))}_compilePartialModule(e,t,n,r,s,i,o){const a=new mu,c=new ll(this._templateParser.expressionParser,Ai,a,[],[]);n.forEach(e=>{const n=this._metadataResolver.getDirectiveMetadata(e);if(n.isComponent){const r=t.get(e);r||Kt(`Cannot determine the module for component '${Nn(n.type)}'`);let s=n.template.htmlAst;n.template.preserveWhitespaces||(s=Cc(s));const i=gu(s.rootNodes,c),a=new Map;r.transitiveModule.directives.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)).forEach(e=>{e.selector&&a.set(e.selector,e.type.reference)});const l=new Map;r.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference)).forEach(e=>{l.set(e.name,e.type.reference)}),function(e,t,n,r,s,i,o){const a=Nn(t.type);a||Kt("Cannot resolver the name of "+t.type);const c=e.constantPool.propertyNameOf(2),l=t.toSummary(),u=Object.assign(Object.assign({},xp()),{selector:t.selector,template:{nodes:n.nodes,ngContentSelectors:n.ngContentSelectors},directives:[],pipes:Np(o,e),viewQueries:_p(t.viewQueries,e),wrapDirectivesAndPipesInClosure:!1,styles:l.template&&l.template.styles||mp,encapsulation:l.template&&l.template.encapsulation||A.Emulated,interpolation:Ai,animations:null,viewProviders:t.viewProviders.length>0?new Se(t.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),p=Sp(u,e.constantPool,s),h=Ei(Object.assign(Object.assign({},u),{injectFn:tr.directiveInject,target:gi.Directive})),d=new ht(a,null,[new lt("\u0275fac",oe,[et.Static],h.factory)],[],new ut(null,[],[]),[]),f=new ht(a,null,[new lt(c,oe,[et.Static],p.expression)],[],new ut(null,[],[]),[]);e.statements.push(d,f)}(o,n,i,this.reflector,c,0,l)}else!function(e,t,n,r){const s=Nn(t.type);s||Kt("Cannot resolver the name of "+t.type);const i=e.constantPool.propertyNameOf(1),o=xp(),a=Ep(o,e.constantPool,r),c=Ei(Object.assign(Object.assign({},o),{injectFn:tr.directiveInject,target:gi.Directive})),l=new ht(s,null,[new lt("\u0275fac",oe,[et.Static],c.factory)],[],new ut(null,[],[]),[]),u=new ht(s,null,[new lt(i,oe,[et.Static],a.expression)],[],new ut(null,[],[]),[]);e.statements.push(l,u)}(o,n,this.reflector,c)}),r.forEach(e=>{const t=this._metadataResolver.getPipeMetadata(e);t&&function(e,t,n){const r=Nn(t.type);if(!r)return Kt("Cannot resolve the name of "+t.type);const s=e.importExpr(t.type.reference),i={name:r,type:ar(s),internalType:s,pipeName:t.name,typeArgumentCount:0,deps:xi(t.type,e,n),pure:t.pure},o=Qi(i),a=Ei(Object.assign(Object.assign({},i),{injectFn:tr.directiveInject,target:gi.Pipe})),c=e.constantPool.propertyNameOf(3),l=new ht(r,null,[new lt("\u0275fac",oe,[et.Static],a.factory)],[],new ut(null,[],[]),[]),u=new ht(r,null,[new lt(c,oe,[et.Static],o.expression)],[],new ut(null,[],[]),[]);e.statements.push(l,u)}(o,t,this.reflector)}),i.forEach(e=>this._injectableCompiler.compile(e,o))}emitAllPartialModules2(e){return e.reduce((e,t)=>(e.push(...this._emitPartialModule2(t.fileName,t.injectables)),e),[])}_emitPartialModule2(e,t){const n=this._createOutputContext(e);return t.forEach(e=>this._injectableCompiler.compile(e,n)),n.statements&&n.statements.length>0?[{fileName:e,statements:[...n.constantPool.statements,...n.statements]}]:[]}emitAllImpls(e){const{ngModuleByPipeOrDirective:t,files:n}=e;return Kn(n.map(e=>this._compileImplFile(e.fileName,t,e.directives,e.pipes,e.ngModules,e.injectables)))}_compileImplFile(e,t,n,r,s,i){const o=ed(Jh(e,!0)[1]),a=[],c=this._createOutputContext(Yh(e,!0));if(a.push(...this._createSummary(e,n,r,s,i,c)),s.forEach(e=>this._compileModule(c,e)),n.forEach(n=>{const r=this._metadataResolver.getDirectiveMetadata(n);if(!r.isComponent)return;const s=t.get(n);if(!s)throw new Error(`Internal Error: cannot determine the module for component ${Nn(r.type)}!`);const i=this._styleCompiler.compileComponent(c,r);r.template.externalStylesheets.forEach(t=>{const n=this._styleCompiler.needsStyleShim(r);a.push(this._codegenStyles(e,r,t,n,o)),this._options.allowEmptyCodegenFiles&&a.push(this._codegenStyles(e,r,t,!n,o))});this._compileComponent(c,r,s,s.transitiveModule.directives,i,o);this._compileComponentFactory(c,r,s,o)}),c.statements.length>0||this._options.allowEmptyCodegenFiles){const t=this._codegenSourceModule(e,c);a.unshift(t)}return a}_createSummary(e,t,n,r,s,i){const o=this._symbolResolver.getSymbolsOf(e).map(e=>this._symbolResolver.resolveSymbol(e)),a=[...r.map(e=>({summary:this._metadataResolver.getNgModuleSummary(e.type.reference),metadata:this._metadataResolver.getNgModuleMetadata(e.type.reference)})),...t.map(e=>({summary:this._metadataResolver.getDirectiveSummary(e),metadata:this._metadataResolver.getDirectiveMetadata(e)})),...n.map(e=>({summary:this._metadataResolver.getPipeSummary(e),metadata:this._metadataResolver.getPipeMetadata(e)})),...s.map(e=>({summary:this._metadataResolver.getInjectableSummary(e.symbol),metadata:this._metadataResolver.getInjectableSummary(e.symbol).type}))],c=this._options.enableSummariesForJit?this._createOutputContext(nd(e,!0)):null,{json:l,exportAs:u}=function(e,t,n,r,s,i,o=!1){const a=new hf(r,n,e);s.forEach(e=>a.addSummary({symbol:e.symbol,metadata:e.metadata})),i.forEach(({summary:e,metadata:t})=>{a.addSummary({symbol:e.type.reference,metadata:void 0,type:e})});const{json:c,exportAs:l}=a.serialize(o);if(t){const e=new df(t,r,n);i.forEach(({summary:t,metadata:n})=>{e.addSourceType(t,n)}),a.unprocessedSymbolSummariesBySymbol.forEach(t=>{n.isLibraryFile(t.symbol.filePath)&&t.type&&e.addLibType(t.type)}),e.serialize(l)}return{json:c,exportAs:l}}(e,c,this._summaryResolver,this._symbolResolver,o,a,this._options.createExternalSymbolFactoryReexports);u.forEach(e=>{i.statements.push(Tt(e.exportAs).set(i.importExpr(e.symbol)).toDeclStmt(null,[et.Exported]))});const p=[new ef(e,td(e),l)];return c&&p.push(this._codegenSourceModule(e,c)),p}_compileModule(e,t){const n=[];if(this._options.locale){const e=this._options.locale.replace(/_/g,"-");n.push({token:wn(this.reflector,_n.LOCALE_ID),useValue:e})}this._options.i18nFormat&&n.push({token:wn(this.reflector,_n.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(e,t,n)}_compileComponentFactory(e,t,n,r){const s=this._metadataResolver.getHostComponentMetadata(t),i=this._compileComponent(e,s,n,[t.type],null,r).viewClassVar,o=Dn(t.type.reference),a=[];for(let l in t.inputs){const e=t.inputs[l];a.push(new Ze(l,Dt(e),!1))}const c=[];for(let l in t.outputs){const e=t.outputs[l];c.push(new Ze(l,Dt(e),!1))}e.statements.push(Tt(o).set(It(_n.createComponentFactory).callFn([Dt(t.selector),e.importExpr(t.type.reference),Tt(i),new Xe(a),new Xe(c),kt(t.template.ngContentSelectors.map(e=>Dt(e)))])).toDeclStmt(Mt(_n.ComponentFactory,[At(e.importExpr(t.type.reference))],[Y.Const]),[et.Final,et.Exported]))}_compileComponent(e,t,n,r,s,i){const{template:o,pipes:a}=this._parseTemplate(t,n,r),c=s?Tt(s.stylesVar):kt([]),l=this._viewCompiler.compileComponent(e,t,o,c,a);return s&&yf(this._symbolResolver,s,this._styleCompiler.needsStyleShim(t),i),l}_parseTemplate(e,t,n){if(this._templateAstCache.has(e.type.reference))return this._templateAstCache.get(e.type.reference);const r=e.template.preserveWhitespaces,s=n.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)),i=t.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference)),o=this._templateParser.parse(e,e.template.htmlAst,s,i,t.schemas,Xn(t.type,e,e.template),r);return this._templateAstCache.set(e.type.reference,o),o}_createOutputContext(e){return{statements:[],genFilePath:e,importExpr:(t,n=null,r=!0)=>{if(!(t instanceof Cn))throw new Error("Internal error: unknown identifier "+JSON.stringify(t));const s=this._symbolResolver.getTypeArity(t)||0,{filePath:i,name:o,members:a}=this._symbolResolver.getImportAs(t,r)||t,c=this._fileNameToModuleName(i,e),l=c===this._fileNameToModuleName(e,e)?null:c,u=n||[],p=s-u.length,h=u.concat(pn(p,ie));return a.reduce((e,t)=>e.prop(t),It(new Le(l,o,null),h))},constantPool:new vn}}_fileNameToModuleName(e,t){return this._summaryResolver.getKnownModuleName(e)||this._symbolResolver.getKnownModuleName(e)||this._host.fileNameToModuleName(e,t)}_codegenStyles(e,t,n,r,s){const i=this._createOutputContext(Ef(n.moduleUrl,r,s)),o=this._styleCompiler.compileStyles(i,t,n,r);return yf(this._symbolResolver,o,r,s),this._codegenSourceModule(e,i)}_codegenSourceModule(e,t){return new ef(e,t.genFilePath,t.statements)}listLazyRoutes(e,t){const n=this;if(e){return function e(t,r=new Set,s=[]){if(r.has(t)||!t.name)return s;r.add(t);const i=nf(n._metadataResolver.getNgModuleMetadata(t,!0),n.reflector);for(const n of i)s.push(n),e(n.referencedModule,r,s);return s}(sf(e,this.reflector).referencedModule)}if(t){const e=[];for(const n of t.ngModules){const t=nf(n,this.reflector);for(const n of t)e.push(n)}return e}throw new Error("Either route or analyzedModules has to be specified!")}}function gf(e){e.statements.push(It(_n.ComponentFactory).toStmt())}function yf(e,t,n,r){t.dependencies.forEach(t=>{t.setValue(e.getStaticSymbol(Ef(t.moduleUrl,n,r),t.name))})}function Ef(e,t,n){return`${e}${t?".shim":""}.ngstyle${n}`}function Sf(e,t,n,r){return Cf(function(e,t,n,r){const s=new Set,i=[],o=e=>{if(s.has(e)||!t.isSourceFile(e))return!1;s.add(e);const a=bf(t,n,r,e);i.push(a),a.ngModules.forEach(e=>{e.transitiveModule.modules.forEach(e=>o(e.reference.filePath))})};return e.forEach(e=>o(e)),i}(e,t,n,r))}function xf(e,t,n,r){return _f(Sf(e,t,n,r))}function _f(e){if(e.symbolsMissingModule&&e.symbolsMissingModule.length){throw Zt(e.symbolsMissingModule.map(e=>`Cannot determine the module for class ${e.name} in ${e.filePath}! Add ${e.name} to the NgModule to fix it.`).join("\n"))}return e}function bf(e,t,n,r){const s=[],i=[],o=[],a=[],c=[],l=t.hasDecorators(r);let u=!1;return r.endsWith(".d.ts")&&!l||t.getSymbolsOf(r).forEach(r=>{const l=t.resolveSymbol(r).metadata;if(!l||"error"===l.__symbolic)return;let p=!1;if("class"===l.__symbolic)if(n.isDirective(r))p=!0,n.isAbstractDirective(r)?s.push(r):i.push(r);else if(n.isPipe(r))p=!0,o.push(r);else if(n.isNgModule(r)){const e=n.getNgModuleMetadata(r,!1);e&&(p=!0,c.push(e))}else if(n.isInjectable(r)){p=!0;const e=n.getInjectableMetadata(r,null,!1);e&&a.push(e)}p||(u=u||function(e,t){let n=!1;class r{visitArray(e,t){e.forEach(e=>Vt(e,this,t))}visitStringMap(e,t){Object.keys(e).forEach(n=>Vt(e[n],this,t))}visitPrimitive(e,t){}visitOther(t,r){t instanceof Cn&&!e.isSourceFile(t.filePath)&&(n=!0)}}return Vt(t,new r,null),n}(e,l))}),{fileName:r,directives:i,abstractDirectives:s,pipes:o,ngModules:c,injectables:a,exportsNonSourceFiles:u}}function wf(e,t,n,r){const s=[],i=[];return t.hasDecorators(r)&&t.getSymbolsOf(r).forEach(e=>{const r=t.resolveSymbol(e).metadata;if(r&&"error"!==r.__symbolic&&"class"===r.__symbolic)if(n.isInjectable(e)){const t=n.getInjectableMetadata(e,null,!1);t&&s.push(t)}else if(n.isNgModule(e)){const t=n.getShallowModuleMetadata(e);t&&i.push(t)}}),{fileName:r,injectables:s,shallowModules:i}}function Cf(e){const t=[],n=new Map,r=new Set;e.forEach(e=>{e.ngModules.forEach(e=>{t.push(e),e.declaredDirectives.forEach(t=>n.set(t.reference,e)),e.declaredPipes.forEach(t=>n.set(t.reference,e))}),e.directives.forEach(e=>r.add(e)),e.pipes.forEach(e=>r.add(e))});const s=[];return r.forEach(e=>{n.has(e)||s.push(e)}),{ngModules:t,ngModuleByPipeOrDirective:n,symbolsMissingModule:s,files:e}}function Tf(e){return _f(Cf(e))}function If(e,t=0){if(!e)return"";const n=e.position?`${e.position.fileName}(${e.position.line+1},${e.position.column+1})`:"",r=n&&0!==t?" at "+n:"";let s=`${n&&0===t?n+": ":""}${e.message}${r}`;if(e.next)for(const i of e.next)s+="\n"+If(i,t+2);return`${function e(t){if(t<=0)return"";if(t<6)return[""," "," "," "," "," "][t];const n=e(Math.floor(t/2));return n+n+(t%2==1?" ":"")}(t)}${s}`}function Mf(e){const t=Zt(If(e)+".");return t.ngFormattedMessage=!0,t.chain=e,t.position=e.position,t}function Af(e){return!!e.ngFormattedMessage}const Nf="@angular/core",kf=/^\$.*\$$/,Pf={__symbolic:"ignore"},Of="useValue",Rf=new Set([Of,"useFactory","data","id","loadChildren"]),Df="TypeGuard",Ff="UseIf";function Lf(e){return e&&"ignore"==e.__symbolic}class jf{constructor(e,t,n=[],r=[],s){this.summaryResolver=e,this.symbolResolver=t,this.errorRecorder=s,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(),n.forEach(e=>this._registerDecoratorOrConstructor(this.getStaticSymbol(e.filePath,e.name),e.ctor)),r.forEach(e=>this._registerFunction(this.getStaticSymbol(e.filePath,e.name),e.fn)),this.annotationForParentClassWithSummaryKind.set(Fn.Directive,[M,k]),this.annotationForParentClassWithSummaryKind.set(Fn.Pipe,[P]),this.annotationForParentClassWithSummaryKind.set(Fn.NgModule,[L]),this.annotationForParentClassWithSummaryKind.set(Fn.Injectable,[j,P,M,k,L])}componentModuleUrl(e){const t=this.findSymbolDeclaration(e);return this.symbolResolver.getResourcePath(t)}invalidateSymbols(e){for(const t of e)this.annotationCache.delete(t),this.shallowAnnotationCache.delete(t),this.propertyCache.delete(t),this.parameterCache.delete(t),this.methodCache.delete(t),this.staticCache.delete(t),this.conversionMap.delete(t)}resolveExternalReference(e,t){let n=void 0;if(!t){n=`${e.moduleName}:${e.name}`;const t=this.resolvedExternalReferences.get(n);if(t)return t}const r=this.symbolResolver.getSymbolByModule(e.moduleName,e.name,t),s=this.findSymbolDeclaration(r);return t||(this.symbolResolver.recordModuleNameForFileName(r.filePath,e.moduleName),this.symbolResolver.recordImportAs(s,r)),n&&this.resolvedExternalReferences.set(n,s),s}findDeclaration(e,t,n){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(e,t,n))}tryFindDeclaration(e,t,n){return this.symbolResolver.ignoreErrorsFor(()=>this.findDeclaration(e,t,n))}findSymbolDeclaration(e){const t=this.symbolResolver.resolveSymbol(e);if(t){let e=t.metadata;if(e&&"resolved"===e.__symbolic&&(e=e.symbol),e instanceof Cn)return this.findSymbolDeclaration(t.metadata)}return e}tryAnnotations(e){const t=this.errorRecorder;this.errorRecorder=(e,t)=>{};try{return this.annotations(e)}finally{this.errorRecorder=t}}annotations(e){return this._annotations(e,(e,t)=>this.simplify(e,t),this.annotationCache)}shallowAnnotations(e){return this._annotations(e,(e,t)=>this.simplify(e,t,!0),this.shallowAnnotationCache)}_annotations(e,t,n){let r=n.get(e);if(!r){r=[];const s=this.getTypeMetadata(e),i=this.findParentType(e,s);if(i){const e=this.annotations(i);r.push(...e)}let o=[];if(s.decorators&&(o=t(e,s.decorators),o&&r.push(...o)),i&&!this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(i.filePath)){const t=this.summaryResolver.resolveSummary(i);if(t&&t.type){const n=this.annotationForParentClassWithSummaryKind.get(t.type.summaryKind);n.some(e=>o.some(t=>e.isTypeOf(t)))||this.reportError(Qf(Bf(`Class ${e.name} in ${e.filePath} extends from a ${Fn[t.type.summaryKind]} in another compilation unit without duplicating the decorator`,void 0,`Please add a ${n.map(e=>e.ngMetadataName).join(" or ")} decorator to the class`),e),e)}}n.set(e,r.filter(e=>!!e))}return r}propMetadata(e){let t=this.propertyCache.get(e);if(!t){const n=this.getTypeMetadata(e);t={};const r=this.findParentType(e,n);if(r){const e=this.propMetadata(r);Object.keys(e).forEach(n=>{t[n]=e[n]})}const s=n.members||{};Object.keys(s).forEach(n=>{const r=s[n].find(e=>"property"==e.__symbolic||"method"==e.__symbolic),i=[];(null==t?void 0:t.hasOwnProperty(n))&&i.push(...t[n]),t[n]=i,r&&r.decorators&&i.push(...this.simplify(e,r.decorators))}),this.propertyCache.set(e,t)}return t}parameters(e){if(!(e instanceof Cn))return this.reportError(new Error(`parameters received ${JSON.stringify(e)} which is not a StaticSymbol`),e),[];try{let t=this.parameterCache.get(e);if(!t){const n=this.getTypeMetadata(e),r=this.findParentType(e,n),s=n?n.members:null,i=s?s.__ctor__:null;if(i){const n=i.find(e=>"constructor"==e.__symbolic),r=n.parameters||[],s=this.simplify(e,n.parameterDecorators||[]);t=[],r.forEach((n,r)=>{const i=[],o=this.trySimplify(e,n);o&&i.push(o);const a=s?s[r]:null;a&&i.push(...a),t.push(i)})}else r&&(t=this.parameters(r));t||(t=[]),this.parameterCache.set(e,t)}return t}catch(t){throw t}}_methodNames(e){let t=this.methodCache.get(e);if(!t){const n=this.getTypeMetadata(e);t={};const r=this.findParentType(e,n);if(r){const e=this._methodNames(r);Object.keys(e).forEach(n=>{t[n]=e[n]})}const s=n.members||{};Object.keys(s).forEach(e=>{const n=s[e].some(e=>"method"==e.__symbolic);t[e]=t[e]||n}),this.methodCache.set(e,t)}return t}_staticMembers(e){let t=this.staticCache.get(e);if(!t){const n=this.getTypeMetadata(e).statics||{};t=Object.keys(n),this.staticCache.set(e,t)}return t}findParentType(e,t){const n=this.trySimplify(e,t.extends);if(n instanceof Cn)return n}hasLifecycleHook(e,t){e instanceof Cn||this.reportError(new Error(`hasLifecycleHook received ${JSON.stringify(e)} which is not a StaticSymbol`),e);try{return!!this._methodNames(e)[t]}catch(n){throw n}}guards(e){if(!(e instanceof Cn))return this.reportError(new Error(`guards received ${JSON.stringify(e)} which is not a StaticSymbol`),e),{};const t=this._staticMembers(e),n={};for(let r of t)if(r.endsWith(Df)){let t,s=r.substr(0,r.length-Df.length);s.endsWith(Ff)?(s=r.substr(0,s.length-Ff.length),t=Ff):t=this.getStaticSymbol(e.filePath,e.name,[r]),n[s]=t}return n}_registerDecoratorOrConstructor(e,t){this.conversionMap.set(e,(e,n)=>new t(...n))}_registerFunction(e,t){this.conversionMap.set(e,(e,n)=>t.apply(void 0,n))}initializeConversionMap(){this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Injectable"),j),this.injectionToken=this.findDeclaration(Nf,"InjectionToken"),this.opaqueToken=this.findDeclaration(Nf,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration("@angular/router","ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration(Nf,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Host"),H),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Self"),$),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"SkipSelf"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Inject"),x),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Optional"),V),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Attribute"),b),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"ContentChild"),C),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"ContentChildren"),w),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"ViewChild"),I),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"ViewChildren"),T),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Input"),O),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Output"),R),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Pipe"),P),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"HostBinding"),D),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"HostListener"),F),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Directive"),M),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Component"),k),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"NgModule"),L),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Host"),H),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Self"),$),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"SkipSelf"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Nf,"Optional"),V)}getStaticSymbol(e,t,n){return this.symbolResolver.getStaticSymbol(e,t,n)}trySimplify(e,t){const n=this.errorRecorder;this.errorRecorder=(e,t)=>{};const r=this.simplify(e,t);return this.errorRecorder=n,r}simplify(e,t,n=!1){const r=this;let s=Zf.empty;const i=new Map;let o;try{o=function e(t,n,o,a){function c(e){const t=r.symbolResolver.resolveSymbol(e);return t?t.metadata:null}function l(n){return e(t,n,o,0)}function u(n,s){if(n===t)return e(n,s,o+1,a);try{return e(n,s,o+1,a)}catch(i){if(!Uf(i))throw i;{const e=i.chain?"references '"+i.symbol.name+"'":function(e){if(e.summary)return e.summary;switch(e.message){case Vf:if(e.context&&e.context.className)return"references non-exported class "+e.context.className;break;case $f:return"is not initialized";case Wf:return"is a destructured variable";case Hf:return"could not be resolved";case zf:return e.context&&e.context.name?`calls '${e.context.name}'`:"calls a function";case qf:return e.context&&e.context.name?"references local variable "+e.context.name:"references a local variable"}return"contains the error"}(i),s={message:`'${n.name}' ${e}`,position:i.position,next:i.chain};r.error({message:i.message,advise:i.advise,context:i.context,chain:s,symbol:n},t)}}}function p(n){if(Kf(n))return n;if(Array.isArray(n)){const e=[];for(const t of n){if(t&&"spread"===t.__symbolic){const n=l(t.expression);if(Array.isArray(n)){for(const t of n)e.push(t);continue}}const n=p(t);Lf(n)||e.push(n)}return e}if(n instanceof Cn){if(n===r.injectionToken||r.conversionMap.has(n)||a>0&&!n.members.length)return n;{const e=n,t=c(e);return null!=t?u(e,t):e}}if(n){if(n.__symbolic){let a;switch(n.__symbolic){case"binop":let d=p(n.left);if(Lf(d))return d;let f=p(n.right);if(Lf(f))return f;switch(n.operator){case"&&":return d&&f;case"||":return d||f;case"|":return d|f;case"^":return d^f;case"&":return d&f;case"==":return d==f;case"!=":return d!=f;case"===":return d===f;case"!==":return d!==f;case"<":return d<f;case">":return d>f;case"<=":return d<=f;case">=":return d>=f;case"<<":return d<<f;case">>":return d>>f;case"+":return d+f;case"-":return d-f;case"*":return d*f;case"/":return d/f;case"%":return d%f}return null;case"if":let m=p(n.condition);return p(m?n.thenExpression:n.elseExpression);case"pre":let v=p(n.operand);if(Lf(v))return v;switch(n.operator){case"+":return v;case"-":return-v;case"!":return!v;case"~":return~v}return null;case"index":let g=l(n.expression),y=l(n.index);return g&&Kf(y)?g[y]:null;case"select":const E=n.member;let S=t,x=p(n.expression);if(x instanceof Cn){const e=x.members.concat(E);S=r.getStaticSymbol(x.filePath,x.name,e);const t=c(S);return null!=t?u(S,t):S}return x&&Kf(E)?u(S,x[E]):null;case"reference":const _=n.name,b=s.resolve(_);if(b!=Zf.missing)return b;break;case"resolved":try{return p(n.symbol)}catch(h){throw Uf(h)&&null!=n.fileName&&null!=n.line&&null!=n.character&&(h.position={fileName:n.fileName,line:n.line,column:n.character}),h}case"class":case"function":return t;case"new":case"call":if(a=e(t,n.expression,o+1,0),a instanceof Cn){if(a===r.injectionToken||a===r.opaqueToken)return t;const e=n.arguments||[];let l=r.conversionMap.get(a);if(l){const n=e.map(e=>u(t,e)).map(e=>Lf(e)?void 0:e);return l(t,n)}return function(e,n,a,c){if(n&&"function"==n.__symbolic){i.get(e)&&r.error({message:"Recursion is not supported",summary:`called '${e.name}' recursively`,value:n},e);try{const r=n.value;if(r&&(0!=o||"error"!=r.__symbolic)){const o=n.parameters,c=n.defaults;a=a.map(e=>u(t,e)).map(e=>Lf(e)?void 0:e),c&&c.length>a.length&&a.push(...c.slice(a.length).map(e=>p(e))),i.set(e,!0);const l=Zf.build();for(let e=0;e<o.length;e++)l.define(o[e],a[e]);const h=s;let d;try{s=l.done(),d=u(e,r)}finally{s=h}return d}}finally{i.delete(e)}}if(0===o)return Pf;let l=void 0;if(c&&"resolved"==c.__symbolic){const e=c.line,t=c.character,n=c.fileName;null!=n&&null!=e&&null!=t&&(l={fileName:n,line:e,column:t})}r.error({message:zf,context:e,value:n,position:l},t)}(a,c(a),e,n.expression)}return Pf;case"error":let w=n.message;return null!=n.line?r.error({message:w,context:n.context,value:n,position:{fileName:n.fileName,line:n.line,column:n.character}},t):r.error({message:w,context:n.context},t),Pf;case"ignore":return n}return null}return function(e,t){if(!e)return{};const n={};return Object.keys(e).forEach(r=>{const s=t(e[r],r);Lf(s)||(kf.test(r)?Object.defineProperty(n,r,{enumerable:!1,configurable:!0,value:s}):n[r]=s)}),n}(n,(s,i)=>{if(Rf.has(i)){if(i===Of&&"provide"in n){const e=p(n.provide);if(e===r.ROUTES||e==r.ANALYZE_FOR_ENTRY_COMPONENTS)return p(s)}return function(n){return e(t,n,o,a+1)}(s)}return p(s)})}return Pf}return p(n)}(e,t,0,n?1:0)}catch(a){if(!this.errorRecorder)throw Qf(a,e);this.reportError(a,e)}if(!Lf(o))return o}getTypeMetadata(e){const t=this.symbolResolver.resolveSymbol(e);return t&&t.metadata?t.metadata:{__symbolic:"class"}}reportError(e,t,n){if(!this.errorRecorder)throw e;this.errorRecorder(Qf(e,t),t&&t.filePath||n)}error({message:e,summary:t,advise:n,position:r,context:s,value:i,symbol:o,chain:a},c){this.reportError(Bf(e,t,n,r,o,s,a),c)}}function Bf(e,t,n,r,s,i,o){const a=Zt(e);return a.ngMetadataError=!0,n&&(a.advise=n),r&&(a.position=r),t&&(a.summary=t),i&&(a.context=i),o&&(a.chain=o),s&&(a.symbol=s),a}function Uf(e){return!!e.ngMetadataError}const Vf="Reference to non-exported class",$f="Variable not initialized",Wf="Destructuring not supported",Hf="Could not resolve type",zf="Function call not supported",qf="Reference to a local symbol",Gf="Lambda not supported";function Kf(e){return null===e||"function"!=typeof e&&"object"!=typeof e}class Zf{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new Xf(e):Zf.empty}}}}Zf.missing={},Zf.empty={resolve:e=>Zf.missing};class Xf extends Zf{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):Zf.missing}}function Yf(e,t){const n=`${function(e,t){switch(e){case Vf:if(t&&t.className)return`References to a non-exported class are not supported in decorators but ${t.className} was referenced.`;break;case $f:return"Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler";case Wf:return"Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler";case Hf:if(t&&t.typeName)return"Could not resolve type "+t.typeName;break;case zf:return t&&t.name?`Function calls are not supported in decorators but '${t.name}' was called`:"Function calls are not supported in decorators";case qf:if(t&&t.name)return`Reference to a local (non-exported) symbols are not supported in decorators but '${t.name}' was referenced`;break;case Gf:return"Function expressions are not supported in decorators"}return e}(e.message,e.context)}${e.symbol?` in '${e.symbol.name}'`:""}`,r=e.position,s=e.next?Yf(e.next,t):t?{message:t}:void 0;return{message:n,position:r,next:s?[s]:void 0}}function Qf(e,t){if(Uf(e)){const n=e.position;return Mf(Yf({message:`Error during template compile of '${t.name}'`,position:n,next:{message:e.message,next:e.chain,context:e.context,symbol:e.symbol}},e.advise||function(e,t){switch(e){case Vf:if(t&&t.className)return`Consider exporting '${t.className}'`;break;case Wf:return"Consider simplifying to avoid destructuring";case qf:if(t&&t.name)return`Consider exporting '${t.name}'`;break;case Gf:return"Consider changing the function expression into an exported function"}}(e.message,e.context)))}return e}class Jf{constructor(e,t){this.host=e,this.staticSymbolCache=t,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}isLibraryFile(e){return!this.host.isSourceFile(Qh(e))}toSummaryFileName(e,t){return this.host.toSummaryFileName(e,t)}fromSummaryFileName(e,t){return this.host.fromSummaryFileName(e,t)}resolveSummary(e){const t=e.members.length?this.staticSymbolCache.get(e.filePath,e.name):e;let n=this.summaryCache.get(t);return n||(this._loadSummaryFile(e.filePath),n=this.summaryCache.get(e)),t===e&&n||null}getSymbolsOf(e){return this._loadSummaryFile(e)?Array.from(this.summaryCache.keys()).filter(t=>t.filePath===e):null}getImportAs(e){return e.assertNoMembers(),this.importAs.get(e)}getKnownModuleName(e){return this.knownFileNameToModuleNames.get(e)||null}addSummary(e){this.summaryCache.set(e.symbol,e)}_loadSummaryFile(e){let t=this.loadedFilePaths.get(e);if(null!=t)return t;let n=null;if(this.isLibraryFile(e)){const t=td(e);try{n=this.host.loadSummary(t)}catch(r){throw r}}if(t=null!=n,this.loadedFilePaths.set(e,t),n){const{moduleName:t,summaries:r,importAs:s}=function(e,t,n,r){return new ff(e,t).deserialize(n,r)}(this.staticSymbolCache,this,e,n);r.forEach(e=>this.summaryCache.set(e.symbol,e)),t&&this.knownFileNameToModuleNames.set(e,t),s.forEach(e=>{this.importAs.set(e.symbol,e.importAs)})}return t}}function em(e){return{resolve:(t,n)=>{const r=e.resourceNameToFileName(n,t);if(!r)throw Zt(`Couldn't resolve resource ${n} from ${t}`);return r}}}function tm(e,t,n){let r=t.translations||"";const s=em(e),i=new Tn,o=new Jf(e,i),a=new cf(e,i,o),c=new jf(o,a,[],[],n);let l;l=t.enableIvy?new gc:new $h(new gc,r,t.i18nFormat,t.missingTranslation,console);const u=new Jp({defaultEncapsulation:A.Emulated,useJit:!1,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces,strictInjectionParameters:t.strictInjectionParameters}),p=new th({get:t=>e.loadResource(t)},s,l,u),h=new ru(new Vl),d=new mu,f=new _l(u,c,h,d,l,console,[]),m=new hd(u,l,new Td(c),new sh(c),new Nd(c),o,d,p,console,i,c,n),v=new jd(c),g=new kd(t,c);return{compiler:new vf(u,t,e,c,m,f,new Ra(s),v,g,new Cd(c),new qh(c,!!t.enableIvy),new Md,o,a),reflector:c}}class nm{}class rm{constructor(){this._summaries=new Map}isLibraryFile(){return!1}toSummaryFileName(e){return e}fromSummaryFileName(e){return e}resolveSummary(e){return this._summaries.get(e)||null}getSymbolsOf(){return[]}getImportAs(e){return e}getKnownModuleName(e){return null}addSummary(e){this._summaries.set(e.symbol,e)}}function sm(e,t,n,r,s){const i=r.createChildWihtLocalVars();for(let a=0;a<e.length;a++)i.vars.set(e[a],t[a]);const o=s.visitAllStatements(n,i);return o?o.value:null}class im{constructor(e,t,n,r){this.parent=e,this.instance=t,this.className=n,this.vars=r,this.exports=[]}createChildWihtLocalVars(){return new im(this,this.instance,this.className,new Map)}}class om{constructor(e){this.value=e}}class am{constructor(e){this.reflector=e}debugAst(e){return Id(e)}visitDeclareVarStmt(e,t){const n=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,n),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitWriteVarExpr(e,t){const n=e.value.visitExpression(this,t);let r=t;for(;null!=r;){if(r.vars.has(e.name))return r.vars.set(e.name,n),n;r=r.parent}throw new Error("Not declared variable "+e.name)}visitWrappedNodeExpr(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")}visitTypeofExpr(e,t){throw new Error("Cannot interpret a TypeofExpr")}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case de.Super:return Object.getPrototypeOf(t.instance);case de.This:return t.instance;case de.CatchError:n=lm;break;case de.CatchStack:n=um;break;default:throw new Error("Unknown builtin variable "+e.builtin)}let r=t;for(;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)}visitWriteKeyExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.index.visitExpression(this,t),s=e.value.visitExpression(this,t);return n[r]=s,s}visitWritePropExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.value.visitExpression(this,t);return n[e.name]=r,r}visitInvokeMethodExpr(e,t){const n=e.receiver.visitExpression(this,t),r=this.visitAllExpressions(e.args,t);let s;if(null!=e.builtin)switch(e.builtin){case fe.ConcatArray:s=n.concat(...r);break;case fe.SubscribeObservable:s=n.subscribe({next:r[0]});break;case fe.Bind:s=n.bind(...r);break;default:throw new Error("Unknown builtin method "+e.builtin)}else s=n[e.name].apply(n,r);return s}visitInvokeFunctionExpr(e,t){const n=this.visitAllExpressions(e.args,t),r=e.fn;if(r instanceof ye&&r.builtin===de.Super)return t.instance.constructor.prototype.constructor.apply(t.instance,n),null;return e.fn.visitExpression(this,t).apply(null,n)}visitReturnStmt(e,t){return new om(e.value.visitExpression(this,t))}visitDeclareClassStmt(e,t){const n=function(e,t,n){const r={};e.getters.forEach(s=>{r[s.name]={configurable:!1,get:function(){const r=new im(t,this,e.name,t.vars);return sm([],[],s.body,r,n)}}}),e.methods.forEach((function(s){const i=s.params.map(e=>e.name);r[s.name]={writable:!1,configurable:!1,value:function(...r){const o=new im(t,this,e.name,t.vars);return sm(i,r,s.body,o,n)}}}));const s=e.constructorMethod.params.map(e=>e.name),i=function(...r){const i=new im(t,this,e.name,t.vars);e.fields.forEach(e=>{this[e.name]=void 0}),sm(s,r,e.constructorMethod.body,i,n)},o=e.parent?e.parent.visitExpression(n,t):Object;return i.prototype=Object.create(o.prototype,r),i}(e,t,this);return t.vars.set(e.name,n),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t)}visitIfStmt(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null}visitTryCatchStmt(e,t){try{return this.visitAllStatements(e.bodyStmts,t)}catch(n){const r=t.createChildWihtLocalVars();return r.vars.set(lm,n),r.vars.set(um,n.stack),this.visitAllStatements(e.catchStmts,r)}}visitThrowStmt(e,t){throw e.error.visitExpression(this,t)}visitInstantiateExpr(e,t){const n=this.visitAllExpressions(e.args,t);return new(e.classExpr.visitExpression(this,t))(...n)}visitLiteralExpr(e,t){return e.value}visitLocalizedString(e,t){return null}visitExternalExpr(e,t){return this.reflector.resolveExternalReference(e.value)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null}visitNotExpr(e,t){return!e.condition.visitExpression(this,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t)}visitFunctionExpr(e,t){return cm(e.params.map(e=>e.name),e.statements,t,this)}visitDeclareFunctionStmt(e,t){const n=e.params.map(e=>e.name);return t.vars.set(e.name,cm(n,e.statements,t,this)),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitUnaryOperatorExpr(e,t){const n=()=>e.expr.visitExpression(this,t);switch(e.operator){case pe.Plus:return+n();case pe.Minus:return-n();default:throw new Error("Unknown operator "+e.operator)}}visitBinaryOperatorExpr(e,t){const n=()=>e.lhs.visitExpression(this,t),r=()=>e.rhs.visitExpression(this,t);switch(e.operator){case he.Equals:return n()==r();case he.Identical:return n()===r();case he.NotEquals:return n()!=r();case he.NotIdentical:return n()!==r();case he.And:return n()&&r();case he.Or:return n()||r();case he.Plus:return n()+r();case he.Minus:return n()-r();case he.Divide:return n()/r();case he.Multiply:return n()*r();case he.Modulo:return n()%r();case he.Lower:return n()<r();case he.LowerEquals:return n()<=r();case he.Bigger:return n()>r();case he.BiggerEquals:return n()>=r();default:throw new Error("Unknown operator "+e.operator)}}visitReadPropExpr(e,t){let n;return n=e.receiver.visitExpression(this,t)[e.name],n}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t)[e.index.visitExpression(this,t)]}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t)}visitLiteralMapExpr(e,t){const n={};return e.entries.forEach(e=>n[e.key]=e.value.visitExpression(this,t)),n}visitCommaExpr(e,t){const n=this.visitAllExpressions(e.parts,t);return n[n.length-1]}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitAllStatements(e,t){for(let n=0;n<e.length;n++){const r=e[n].visitStatement(this,t);if(r instanceof om)return r}return null}}function cm(e,t,n,r){return(...s)=>sm(e,s,t,n,r)}const lm="error",um="stack";class pm{constructor(e,t,n,r,s,i,o,a,c,l,u){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=s,this._summaryResolver=i,this._reflector=o,this._jitEvaluator=a,this._compilerConfig=c,this._console=l,this.getExtraNgModuleProviders=u,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}compileModuleSync(e){return zt(this._compileModuleAndComponents(e,!0))}compileModuleAsync(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))}compileModuleAndAllComponentsSync(e){return zt(this._compileModuleAndAllComponents(e,!0))}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))}getComponentFactory(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory}loadAotSummaries(e){this.clearCache(),this._addAotSummaries(e)}_addAotSummaries(e){if(this._addedAotSummaries.has(e))return;this._addedAotSummaries.add(e);const t=e();for(let n=0;n<t.length;n++){const e=t[n];if("function"==typeof e)this._addAotSummaries(e);else{const t=e;this._summaryResolver.addSummary({symbol:t.type.reference,metadata:null,type:t})}}}hasAotSummary(e){return!!this._summaryResolver.resolveSummary(e)}_filterJitIdentifiers(e){return e.map(e=>e.reference).filter(e=>!this.hasAotSummary(e))}_compileModuleAndComponents(e,t){return qt(this._loadModules(e,t),()=>(this._compileComponents(e,null),this._compileModule(e)))}_compileModuleAndAllComponents(e,t){return qt(this._loadModules(e,t),()=>{const t=[];return this._compileComponents(e,t),{ngModuleFactory:this._compileModule(e),componentFactories:t}})}_loadModules(e,t){const n=[],r=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(r.transitiveModule.modules).forEach(e=>{const r=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(r.declaredDirectives).forEach(e=>{const s=this._metadataResolver.loadDirectiveMetadata(r.type.reference,e,t);s&&n.push(s)}),this._filterJitIdentifiers(r.declaredPipes).forEach(e=>this._metadataResolver.getOrLoadPipeMetadata(e))}),Gt(n)}_compileModule(e){let t=this._compiledNgModuleCache.get(e);if(!t){const n=this._metadataResolver.getNgModuleMetadata(e),r=this.getExtraNgModuleProviders(n.type.reference),s=fm(),i=this._ngModuleCompiler.compile(s,n,r);t=this._interpretOrJit(Qn(n),s.statements)[i.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,t)}return t}_compileComponents(e,t){const n=this._metadataResolver.getNgModuleMetadata(e),r=new Map,s=new Set,i=this._filterJitIdentifiers(n.transitiveModule.modules);i.forEach(e=>{const n=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(n.declaredDirectives).forEach(e=>{r.set(e,n);const i=this._metadataResolver.getDirectiveMetadata(e);if(i.isComponent&&(s.add(this._createCompiledTemplate(i,n)),t)){const e=this._createCompiledHostTemplate(i.type.reference,n);s.add(e),t.push(i.componentFactory)}})}),i.forEach(e=>{const t=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(t.declaredDirectives).forEach(e=>{const t=this._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach(e=>{const t=r.get(e.componentType);s.add(this._createCompiledHostTemplate(e.componentType,t))})}),t.entryComponents.forEach(e=>{if(!this.hasAotSummary(e.componentType)){const t=r.get(e.componentType);s.add(this._createCompiledHostTemplate(e.componentType,t))}})}),s.forEach(e=>this._compileTemplate(e))}clearCacheFor(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e);this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)}clearCache(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()}_createCompiledHostTemplate(e,t){if(!t)throw new Error(`Component ${rn(e)} is not part of any NgModule or the module has not been imported into your module.`);let n=this._compiledHostTemplateCache.get(e);if(!n){const r=this._metadataResolver.getDirectiveMetadata(e);dm(r);const s=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new hm(!0,r.type,s,t,[r.type]),this._compiledHostTemplateCache.set(e,n)}return n}_createCompiledTemplate(e,t){let n=this._compiledTemplateCache.get(e.type.reference);return n||(dm(e),n=new hm(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,n)),n}_compileTemplate(e){if(e.isCompiled)return;const t=e.compMeta,n=new Map,r=fm(),s=this._styleCompiler.compileComponent(r,t);t.template.externalStylesheets.forEach(e=>{const r=this._styleCompiler.compileStyles(fm(),t,e);n.set(e.moduleUrl,r)}),this._resolveStylesCompileResult(s,n);e.ngModule.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));const{template:i,pipes:o}=this._parseTemplate(t,e.ngModule,e.directives),a=this._viewCompiler.compileComponent(r,t,i,Tt(s.stylesVar),o),c=this._interpretOrJit(Jn(e.ngModule.type,e.compMeta),r.statements),l=c[a.viewClassVar],u=c[a.rendererTypeVar];e.compiled(l,u)}_parseTemplate(e,t,n){const r=e.template.preserveWhitespaces,s=n.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)),i=t.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));return this._templateParser.parse(e,e.template.htmlAst,s,i,t.schemas,Xn(t.type,e,e.template),r)}_resolveStylesCompileResult(e,t){e.dependencies.forEach((e,n)=>{const r=t.get(e.moduleUrl),s=this._resolveAndEvalStylesCompileResult(r,t);e.setValue(s)})}_resolveAndEvalStylesCompileResult(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(Yn(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]}_interpretOrJit(e,t){return this._compilerConfig.useJit?this._jitEvaluator.evaluateStatements(e,t,this._reflector,this._compilerConfig.jitDevMode):function(e,t){const n=new im(null,null,null,new Map);new am(t).visitAllStatements(e,n);const r={};return n.exports.forEach(e=>{r[e]=n.vars.get(e)}),r}(t,this._reflector)}}class hm{constructor(e,t,n,r,s){this.isHost=e,this.compType=t,this.compMeta=n,this.ngModule=r,this.directives=s,this._viewClass=null,this.isCompiled=!1}compiled(e,t){this._viewClass=e,this.compMeta.componentViewType.setDelegate(e);for(let n in t)this.compMeta.rendererType[n]=t[n];this.isCompiled=!0}}function dm(e){if(!e.isComponent)throw new Error(`Could not compile '${Nn(e.type)}' because it is not a component.`)}function fm(){return{statements:[],genFilePath:"",importExpr:e=>It({name:Nn(e),moduleName:null,runtime:e}),constantPool:new vn}}class mm{}function vm(){return new ym}function gm(){return new ym(".")}const ym=class{constructor(e=null){this._packagePrefix=e}resolve(e,t){let n=t;null!=e&&e.length>0&&(n=function(e,t){const n=_m(encodeURI(t)),r=_m(e);if(null!=n[xm.Scheme])return bm(n);n[xm.Scheme]=r[xm.Scheme];for(let o=xm.Scheme;o<=xm.Port;o++)null==n[o]&&(n[o]=r[o]);if("/"==n[xm.Path][0])return bm(n);let s=r[xm.Path];null==s&&(s="/");const i=s.lastIndexOf("/");return s=s.substring(0,i+1)+n[xm.Path],n[xm.Path]=s,bm(n)}(e,n));const r=_m(n);let s=this._packagePrefix;if(null!=s&&null!=r&&"package"==r[xm.Scheme]){let e=r[xm.Path];return s=s.replace(/\/+$/,""),e=e.replace(/^\/+/,""),`${s}/${e}`}return n}};function Em(e){const t=_m(e);return t&&t[xm.Scheme]||""}const Sm=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");var xm;function _m(e){return e.match(Sm)}function bm(e){let t=e[xm.Path];return t=null==t?"":function(e){if("/"==e)return"/";const t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),s=[];let i=0;for(let o=0;o<r.length;o++){const e=r[o];switch(e){case"":case".":break;case"..":s.length>0?s.pop():i++;break;default:s.push(e)}}if(""==t){for(;i-- >0;)s.unshift("..");0===s.length&&s.push(".")}return t+s.join("/")+n}(t),e[xm.Path]=t,function(e,t,n,r,s,i,o){const a=[];return null!=e&&a.push(e+":"),null!=n&&(a.push("//"),null!=t&&a.push(t+"@"),a.push(n),null!=r&&a.push(":"+r)),null!=s&&a.push(s),null!=i&&a.push("?"+i),null!=o&&a.push("#"+o),a.join("")}(e[xm.Scheme],e[xm.UserInfo],e[xm.Domain],e[xm.Port],t,e[xm.QueryData],e[xm.Fragment])}!function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(xm||(xm={}));class wm{constructor(e,t,n,r){this.host=e,this.staticSymbolResolver=t,this.messageBundle=n,this.metadataResolver=r}extract(e){const{files:t,ngModules:n}=xf(e,this.host,this.staticSymbolResolver,this.metadataResolver);return Promise.all(n.map(e=>this.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1))).then(()=>{const e=[];if(t.forEach(t=>{const n=[];t.directives.forEach(e=>{const t=this.metadataResolver.getDirectiveMetadata(e);t&&t.isComponent&&n.push(t)}),n.forEach(t=>{const n=t.template.template,r=t.template.templateUrl,s=Mi.fromArray(t.template.interpolation);e.push(...this.messageBundle.updateFromTemplate(n,r,s))})}),e.length)throw new Error(e.map(e=>e.toString()).join("\n"));return this.messageBundle})}static create(e,t){const n=new gc,r=em(e),s=new Tn,i=new Jf(e,s),o=new cf(e,s,i),a=new jf(i,o),c=new Jp({defaultEncapsulation:A.Emulated,useJit:!1}),l=new th({get:t=>e.loadResource(t)},r,n,c),u=new mu,p=new hd(c,n,new Td(a),new sh(a),new Nd(a),i,u,l,console,s,a),h=new Qd(n,[],{},t);return{extractor:new wm(e,o,h,p),staticReflector:a}}}class Cm{constructor(e){this.directiveMatcher=e}bind(e){if(!e.template)throw new Error("Binding without a template not yet supported");const t=Tm.apply(e.template),{directives:n,bindings:r,references:s}=Im.apply(e.template,this.directiveMatcher),{expressions:i,symbols:o,nestingLevel:a,usedPipes:c}=Mm.apply(e.template,t);return new Am(e,n,r,s,i,o,a,c)}}class Tm{constructor(e){this.parentScope=e,this.namedEntities=new Map,this.childScopes=new Map}static apply(e){const t=new Tm;return t.ingest(e),t}ingest(e){e instanceof jr?(e.variables.forEach(e=>this.visitVariable(e)),e.children.forEach(e=>e.visit(this))):e.forEach(e=>e.visit(this))}visitElement(e){e.references.forEach(e=>this.visitReference(e)),e.children.forEach(e=>e.visit(this))}visitTemplate(e){e.references.forEach(e=>this.visitReference(e));const t=new Tm(this);t.ingest(e),this.childScopes.set(e,t)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitContent(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):void 0!==this.parentScope?this.parentScope.lookup(e):null}getChildScope(e){const t=this.childScopes.get(e);if(void 0===t)throw new Error(`Assertion error: child scope for ${e} not found`);return t}}class Im{constructor(e,t,n,r){this.matcher=e,this.directives=t,this.bindings=n,this.references=r}static apply(e,t){const n=new Map,r=new Map,s=new Map;return new Im(t,n,r,s).ingest(e),{directives:n,bindings:r,references:s}}ingest(e){e.forEach(e=>e.visit(this))}visitElement(e){this.visitElementOrTemplate(e.name,e)}visitTemplate(e){this.visitElementOrTemplate("ng-template",e)}visitElementOrTemplate(e,t){const n=ip(e,di(t)),r=[];this.matcher.match(n,(e,t)=>r.push(t)),r.length>0&&this.directives.set(t,r),t.references.forEach(e=>{let n=null;if(""===e.value.trim())n=r.find(e=>e.isComponent)||null;else if(n=r.find(t=>null!==t.exportAs&&t.exportAs.some(t=>t===e.value))||null,null===n)return;null!==n?this.references.set(e,{directive:n,node:t}):this.references.set(e,t)});const s=(e,n)=>{const s=r.find(t=>t[n].hasBindingPropertyName(e.name)),i=void 0!==s?s:t;this.bindings.set(e,i)};t.inputs.forEach(e=>s(e,"inputs")),t.attributes.forEach(e=>s(e,"inputs")),t instanceof jr&&t.templateAttrs.forEach(e=>s(e,"inputs")),t.outputs.forEach(e=>s(e,"outputs")),t.children.forEach(e=>e.visit(this))}visitContent(e){}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}}class Mm extends No{constructor(e,t,n,r,s,i,o){super(),this.bindings=e,this.symbols=t,this.usedPipes=n,this.nestingLevel=r,this.scope=s,this.template=i,this.level=o,this.pipesUsed=[],this.visitNode=e=>e.visit(this)}visit(e,t){e instanceof to?e.visit(this,t):e.visit(this)}static apply(e,t){const n=new Map,r=new Map,s=new Map,i=new Set;return new Mm(n,r,i,s,t,e instanceof jr?e:null,0).ingest(e),{expressions:n,symbols:r,nestingLevel:s,usedPipes:i}}ingest(e){e instanceof jr?(e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level)):e.forEach(this.visitNode)}visitElement(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.children.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode);const t=this.scope.getChildScope(e);new Mm(this.bindings,this.symbols,this.usedPipes,this.nestingLevel,t,e,this.level+1).ingest(e)}visitVariable(e){null!==this.template&&this.symbols.set(e,this.template)}visitReference(e){null!==this.template&&this.symbols.set(e,this.template)}visitText(e){}visitContent(e){}visitTextAttribute(e){}visitIcu(e){Object.keys(e.vars).forEach(t=>e.vars[t].visit(this)),Object.keys(e.placeholders).forEach(t=>e.placeholders[t].visit(this))}visitBoundAttribute(e){e.value.visit(this)}visitBoundEvent(e){e.handler.visit(this)}visitBoundText(e){e.value.visit(this)}visitPipe(e,t){return this.usedPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(t,e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(t,e,e.name),super.visitSafePropertyRead(e,t)}visitPropertyWrite(e,t){return this.maybeMap(t,e,e.name),super.visitPropertyWrite(e,t)}visitMethodCall(e,t){return this.maybeMap(t,e,e.name),super.visitMethodCall(e,t)}visitSafeMethodCall(e,t){return this.maybeMap(t,e,e.name),super.visitSafeMethodCall(e,t)}maybeMap(e,t,n){if(!(t.receiver instanceof io))return;let r=this.scope.lookup(n);null!==r&&this.bindings.set(t,r)}}class Am{constructor(e,t,n,r,s,i,o,a){this.target=e,this.directives=t,this.bindings=n,this.references=r,this.exprTargets=s,this.symbols=i,this.nestingLevel=o,this.usedPipes=a}getDirectivesOfNode(e){return this.directives.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getTemplateOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){const e=new Set;return this.directives.forEach(t=>t.forEach(t=>e.add(t))),Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}}Yp(un)}).call(this,n("aWmh"))},"25bX":function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return s(e),!i||i(e)}})},"27RR":function(e,t,n){var r=n("I+eb"),s=n("g6v/"),i=n("Vu81"),o=n("/GqU"),a=n("Bs8V"),c=n("hBjN");r({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),s=a.f,l=i(r),u={},p=0;l.length>p;)void 0!==(n=s(r,t=l[p++]))&&c(u,t,n);return u}})},"2A+d":function(e,t,n){var r=n("I+eb"),s=n("/GqU"),i=n("UMSQ");r({target:"String",stat:!0},{raw:function(e){for(var t=s(e.raw),n=i(t.length),r=arguments.length,o=[],a=0;n>a;)o.push(String(t[a++])),a<r&&o.push(String(arguments[a]));return o.join("")}})},"2B1R":function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").map,i=n("Hd5f"),o=n("rkAj"),a=i("map"),c=o("map");r({target:"Array",proto:!0,forced:!a||!c},{map:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},"2GZm":function(e,t,n){var r=n("5P7u");n("zowp"),n("yHeL"),n("pFTG"),e.exports=r},"2MGJ":function(e,t,n){var r=n("ocAm"),s=n("aJMj"),i=n("OG5q"),o=n("Fqhe"),a=n("6urC"),c=n("XH/I"),l=c.get,u=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,a){var c=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||s(n,"name",t),u(n).source=p.join("string"==typeof t?t:"")),e!==r?(c?!h&&e[t]&&(l=!0):delete e[t],l?e[t]=n:s(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a(this)}))},"2RDa":function(e,t,n){var r,s=n("F26l"),i=n("5y2d"),o=n("aAjO"),a=n("yQMY"),c=n("149L"),l=n("qx7X"),u=n("/AsP"),p=u("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"</"+"script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(s){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=o.length;n--;)delete f.prototype[o[n]];return f()};a[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=s(e),n=new h,h.prototype=null,n[p]=e):n=f(),void 0===t?n:i(n,t)}},"2oRo":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("aWmh"))},"2tOg":function(e,t,n){"use strict";var r=n("g6v/"),s=n("RNIs"),i=n("ewvW"),o=n("UMSQ"),a=n("m/L8").f;r&&!("lastItem"in[])&&(a(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=i(this),t=o(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),n=o(t.length);return t[0==n?0:n-1]=e}}),s("lastItem"))},3:function(e,t,n){n("hN/g"),e.exports=n("LEsg")},"33Wh":function(e,t,n){var r=n("yoRg"),s=n("eDl+");e.exports=Object.keys||function(e){return r(e,s)}},"3I1R":function(e,t,n){n("dG/n")("hasInstance")},"3KgV":function(e,t,n){var r=n("I+eb"),s=n("uy83"),i=n("0Dky"),o=n("hh1v"),a=n("8YOa").onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!s},{freeze:function(e){return c&&o(e)?c(a(e)):e}})},"3bBZ":function(e,t,n){var r=n("2oRo"),s=n("/byt"),i=n("4mDm"),o=n("kRJp"),a=n("tiKp"),c=a("iterator"),l=a("toStringTag"),u=i.values;for(var p in s){var h=r[p],d=h&&h.prototype;if(d){if(d[c]!==u)try{o(d,c,u)}catch(m){d[c]=u}if(d[l]||o(d,l,p),s[p])for(var f in i)if(d[f]!==i[f])try{o(d,f,i[f])}catch(m){d[f]=i[f]}}}},"3uUd":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("A2ZE"),l=n("SEBh"),u=n("WGBp"),p=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{filter:function(e){var t=o(this),n=u(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),s=new(l(t,i("Set"))),h=a(s.add);return p(n,(function(e){r(e,e,t)&&h.call(s,e)}),void 0,!1,!0),s}})},"49+q":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("fXLg");r({target:"Set",proto:!0,real:!0,forced:s},{addAll:function(){return i.apply(this,arguments)}})},"4Brf":function(e,t,n){"use strict";var r=n("I+eb"),s=n("g6v/"),i=n("2oRo"),o=n("UTVS"),a=n("hh1v"),c=n("m/L8").f,l=n("6JNq"),u=i.Symbol;if(s&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var p={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(p[t]=!0),t};l(h,u);var d=h.prototype=u.prototype;d.constructor=h;var f=d.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,t=f.call(e);if(o(p,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},"4Lgl":function(e,t,n){var r=n("tgv2");e.exports=r},"4PyY":function(e,t,n){var r={};r[n("m41k")("toStringTag")]="z",e.exports="[object z]"===String(r)},"4WOD":function(e,t,n){var r=n("UTVS"),s=n("ewvW"),i=n("93I0"),o=n("4Xet"),a=i("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=s(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},"4XaG":function(e,t,n){n("dG/n")("observable")},"4Xet":function(e,t,n){var r=n("0Dky");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"4h0Y":function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("hh1v"),o=Object.isFrozen;r({target:"Object",stat:!0,forced:s((function(){o(1)}))},{isFrozen:function(e){return!i(e)||!!o&&o(e)}})},"4l63":function(e,t,n){var r=n("I+eb"),s=n("wg0c");r({global:!0,forced:parseInt!=s},{parseInt:s})},"4mDm":function(e,t,n){"use strict";var r=n("/GqU"),s=n("RNIs"),i=n("P4y1"),o=n("afO8"),a=n("fdAy"),c="Array Iterator",l=o.set,u=o.getterFor(c);e.exports=a(Array,"Array",(function(e,t){l(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,s("keys"),s("values"),s("entries")},"4oU/":function(e,t,n){var r=n("2oRo").isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},"4syw":function(e,t,n){var r=n("busE");e.exports=function(e,t,n){for(var s in t)r(e,s,t[s],n);return e}},5921:function(e,t,n){n("I+eb")({target:"Map",stat:!0},{of:n("P940")})},"5D5o":function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("hh1v"),o=Object.isSealed;r({target:"Object",stat:!0,forced:s((function(){o(1)}))},{isSealed:function(e){return!i(e)||!!o&&o(e)}})},"5DmW":function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("/GqU"),o=n("Bs8V").f,a=n("g6v/"),c=s((function(){o(1)}));r({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},"5JV0":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("WGBp"),a=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{join:function(e){var t=i(this),n=o(t),r=void 0===e?",":String(e),s=[];return a(n,s.push,s,!1,!0),s.join(r)}})},"5MmU":function(e,t,n){var r=n("m41k"),s=n("pz+c"),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},"5P7u":function(e,t,n){n("pNMO"),n("zKZe"),n("uL8W"),n("eoL8"),n("HRxU"),n("T63A"),n("3KgV"),n("wfmh"),n("5DmW"),n("27RR"),n("cDke"),n("NBAS"),n("Kxld"),n("yQYn"),n("4h0Y"),n("5D5o"),n("tkto"),n("zuhW"),n("r5Og"),n("ExoC"),n("B6y2"),n("07d7"),n("Eqjn"),n("5xtp"),n("v5b1"),n("W/eh"),n("I9xj"),n("DEfu");var r=n("Qo9l");e.exports=r.Object},"5Q4k":function(e,t,n){var r=n("l0aJ");n("g+bu"),n("2tOg"),n("iIM6"),e.exports=r},"5Tg+":function(e,t,n){var r=n("tiKp");t.f=r},"5VXN":function(e,t,n){"use strict";n("I+eb")({target:"WeakMap",proto:!0,real:!0,forced:n("xDBR")},{upsert:n("6eAB")})},"5Yz+":function(e,t,n){"use strict";var r=n("/GqU"),s=n("ppGB"),i=n("UMSQ"),o=n("pkCn"),a=n("rkAj"),c=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,p=o("lastIndexOf"),h=a("indexOf",{ACCESSORS:!0,1:0}),d=u||!p||!h;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),o=n-1;for(arguments.length>1&&(o=c(o,s(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},"5r1n":function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.get,a=s.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]);return o(e,i(t),n)}})},"5uH8":function(e,t,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"5xtp":function(e,t,n){"use strict";var r=n("I+eb"),s=n("g6v/"),i=n("6x0u"),o=n("ewvW"),a=n("HAuM"),c=n("m/L8");s&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(o(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},"5y2d":function(e,t,n){var r=n("T69T"),s=n("/Ybd"),i=n("F26l"),o=n("ZRqE");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=o(t),a=r.length,c=0;a>c;)s.f(e,n=r[c++],t[n]);return e}},"61XD":function(e,t,n){var r=n("Rqr0");e.exports=r},"67WC":function(e,t,n){"use strict";var r,s=n("qYE9"),i=n("g6v/"),o=n("2oRo"),a=n("hh1v"),c=n("UTVS"),l=n("9d/t"),u=n("kRJp"),p=n("busE"),h=n("m/L8").f,d=n("4WOD"),f=n("0rvr"),m=n("tiKp"),v=n("kOOl"),g=o.Int8Array,y=g&&g.prototype,E=o.Uint8ClampedArray,S=E&&E.prototype,x=g&&d(g),_=y&&d(y),b=Object.prototype,w=b.isPrototypeOf,C=m("toStringTag"),T=v("TYPED_ARRAY_TAG"),I=s&&!!f&&"Opera"!==l(o.opera),M=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N=function(e){return a(e)&&c(A,l(e))};for(r in A)o[r]||(I=!1);if((!I||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},I))for(r in A)o[r]&&f(o[r],x);if((!I||!_||_===b)&&(_=x.prototype,I))for(r in A)o[r]&&f(o[r].prototype,_);if(I&&d(S)!==_&&f(S,_),i&&!c(_,C))for(r in M=!0,h(_,C,{get:function(){return a(this)?this[T]:void 0}}),A)o[r]&&u(o[r],T,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_TAG:M&&T,aTypedArray:function(e){if(N(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f){if(w.call(x,e))return e}else for(var t in A)if(c(A,r)){var n=o[t];if(n&&(e===n||w.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in A){var s=o[r];s&&c(s.prototype,e)&&delete s.prototype[e]}_[e]&&!n||p(_,e,n?t:I&&y[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,s;if(i){if(f){if(n)for(r in A)(s=o[r])&&c(s,e)&&delete s[e];if(x[e]&&!n)return;try{return p(x,e,n?t:I&&g[e]||t)}catch(a){}}for(r in A)!(s=o[r])||s[e]&&!n||p(s,e,t)}},isView:function(e){var t=l(e);return"DataView"===t||c(A,t)},isTypedArray:N,TypedArray:x,TypedArrayPrototype:_}},"6JNq":function(e,t,n){var r=n("UTVS"),s=n("Vu81"),i=n("Bs8V"),o=n("m/L8");e.exports=function(e,t){for(var n=s(t),a=o.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||a(e,u,c(t,u))}}},"6LWA":function(e,t,n){var r=n("xrYK");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"6R/c":function(e,t,n){"use strict";var r=n("67WC"),s=n("TWQb").indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},"6V7H":function(e,t,n){n("dG/n")("patternMatch")},"6VoE":function(e,t,n){var r=n("tiKp"),s=n("P4y1"),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},"6XUM":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"6eAB":function(e,t,n){"use strict";var r=n("glrk");e.exports=function(e,t){var n,s=r(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof i)throw TypeError("At least one callback required");return s.has(e)?(n=s.get(e),"function"==typeof t&&(n=t(n),s.set(e,n))):"function"==typeof i&&(n=i(),s.set(e,n)),n}},"6hpn":function(e,t,n){n("Uydy"),n("eajv"),n("n/mU"),n("PqOI"),n("QNnp"),n("/5zm"),n("CsgD"),n("9mRW"),n("QFcT"),n("vAFs"),n("a5NK"),n("yiG3"),n("kNcU"),n("KvGi"),n("AmFO"),n("eJiR"),n("I9xj"),n("tl/u");var r=n("Qo9l");e.exports=r.Math},"6urC":function(e,t,n){var r=n("KBkW"),s=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return s.call(e)}),e.exports=r.inspectSource},"6x0u":function(e,t,n){"use strict";var r=n("xDBR"),s=n("2oRo"),i=n("0Dky");e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete s[e]}))},"7+kd":function(e,t,n){n("dG/n")("isConcatSpreadable")},"7+zs":function(e,t,n){var r=n("kRJp"),s=n("UesL"),i=n("tiKp")("toPrimitive"),o=Date.prototype;i in o||r(o,i,s)},"7/lX":function(e,t,n){var r=n("F26l"),s=n("JI1L");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),s(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"702D":function(e,t,n){n("I+eb")({target:"WeakMap",stat:!0},{from:n("qY7S")})},"76gj":function(e,t,n){var r=n("Ew/G"),s=n("KkqW"),i=n("busr"),o=n("F26l");e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},"7JcK":function(e,t,n){"use strict";var r=n("67WC"),s=n("iqeF"),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),s)},"7Oj1":function(e,t,n){var r=n("vDBE"),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},"7gGY":function(e,t,n){var r=n("T69T"),s=n("gn9T"),i=n("uSMZ"),o=n("EMtK"),a=n("LdO1"),c=n("OG5q"),l=n("XdSI"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return i(!s.f.call(e,t),e[t])}},"7kIp":function(e,t,n){n("07d7"),n("H+LF"),n("3bBZ");var r=n("Qo9l");e.exports=r.WeakSet},"7sbD":function(e,t,n){n("qePV"),n("NbN+"),n("8AyJ"),n("i6QF"),n("kSko"),n("WDsR"),n("r/Vq"),n("5uH8"),n("w1rZ"),n("JevA"),n("toAj"),n("VC3L");var r=n("Qo9l");e.exports=r.Number},"7ueG":function(e,t,n){"use strict";var r=n("I+eb"),s=n("WKiH").start,i=n("yNLB")("trimStart"),o=i?function(){return s(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},"86Ul":function(e,t,n){var r=n("mCUB");n("fN96"),n("UzNg"),n("DhMN"),n("rZ3M"),e.exports=r},"8AyJ":function(e,t,n){n("I+eb")({target:"Number",stat:!0},{isFinite:n("4oU/")})},"8STE":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("Cg3G");r({target:"WeakSet",proto:!0,real:!0,forced:s},{deleteAll:function(){return i.apply(this,arguments)}})},"8YOa":function(e,t,n){var r=n("0BK2"),s=n("hh1v"),i=n("UTVS"),o=n("m/L8").f,a=n("kOOl"),c=n("uy83"),l=a("meta"),u=0,p=Object.isExtensible||function(){return!0},h=function(e){o(e,l,{value:{objectID:"O"+ ++u,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,l)){if(!p(e))return"F";if(!t)return"E";h(e)}return e[l].objectID},getWeakData:function(e,t){if(!i(e,l)){if(!p(e))return!0;if(!t)return!1;h(e)}return e[l].weakData},onFreeze:function(e){return c&&d.REQUIRED&&p(e)&&!i(e,l)&&h(e),e}};r[l]=!0},"8aNu":function(e,t,n){var r=n("2MGJ");e.exports=function(e,t,n){for(var s in t)r(e,s,t[s],n);return e}},"8r4s":function(e,t,n){n("I+eb")({target:"Set",stat:!0},{of:n("P940")})},"90hW":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"93I0":function(e,t,n){var r=n("VpIT"),s=n("kOOl"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},"94Xl":function(e,t,n){n("JiZb")("Array")},"9D6x":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM");r({target:"Map",proto:!0,real:!0,forced:s},{update:function(e,t){var n=i(this),r=arguments.length;o(t);var s=n.has(e);if(!s&&r<3)throw TypeError("Updating absent value");var a=s?n.get(e):o(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(a,e,n)),n}})},"9LPj":function(e,t,n){"use strict";var r=n("I+eb"),s=n("0Dky"),i=n("ewvW"),o=n("wE6v");r({target:"Date",proto:!0,forced:s((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},"9N29":function(e,t,n){"use strict";var r=n("I+eb"),s=n("1Y/n").right,i=n("pkCn"),o=n("rkAj"),a=i("reduceRight"),c=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!a||!c},{reduceRight:function(e){return s(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9bJ7":function(e,t,n){"use strict";var r=n("I+eb"),s=n("ZUd8").codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return s(this,e)}})},"9d/t":function(e,t,n){var r=n("AO7/"),s=n("xrYK"),i=n("tiKp")("toStringTag"),o="Arguments"==s(function(){return arguments}());e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:o?s(t):"Object"==(r=s(t))&&"function"==typeof t.callee?"Arguments":r}},"9jlR":function(e,t,n){n("IL/d"),n("7JcK"),n("moxL"),n("qXVe"),n("c162"),n("waxf"),n("0TkE"),n("Onu3"),n("1dYe"),n("gvgV"),n("6R/c"),n("X5Zq"),n("MoCz"),n("P8wP"),n("ypFw"),n("JaFt"),n("zSZm"),n("PF2M"),n("KVSy"),n("ZJ55"),n("IZzc"),n("Fwt+"),n("s5qe"),n("cvf0"),n("YL0P"),n("07d7")},"9mRW":function(e,t,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(e,t,n){var r=n("I+eb"),s=n("I8vh"),i=String.fromCharCode,o=String.fromCodePoint;r({target:"String",stat:!0,forced:!!o&&1!=o.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],s(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},A2ZE:function(e,t,n){var r=n("HAuM");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,s){return e.call(t,n,r,s)}}return function(){return e.apply(t,arguments)}}},ALS0:function(e,t,n){"use strict";n("rB9j");var r,s,i=n("I+eb"),o=n("hh1v"),a=(r=!1,(s=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===s.test("abc")&&r),c=/./.test;i({target:"RegExp",proto:!0,forced:!a},{test:function(e){if("function"!=typeof this.exec)return c.call(this,e);var t=this.exec(e);if(null!==t&&!o(t))throw new Error("RegExp exec method returned something other than an Object or null");return!!t}})},"AO7/":function(e,t,n){var r={};r[n("tiKp")("toStringTag")]="z",e.exports="[object z]"===String(r)},AVoK:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("Cg3G");r({target:"Set",proto:!0,real:!0,forced:s},{deleteAll:function(){return i.apply(this,arguments)}})},"AX+I":function(e,t,n){var r=n("CQOm");e.exports=r},AmFO:function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("jrUv"),o=Math.abs,a=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:s((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return o(e=+e)<1?(i(e)-i(-e))/2:(a(e-1)-a(-e-1))*(c/2)}})},AwgR:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.has,a=s.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]);return o(e,i(t),n)}})},B4ea:function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.toKey,a=s.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){a(e,t,i(n),o(r))}}})},B6y2:function(e,t,n){var r=n("I+eb"),s=n("b1O7").values;r({target:"Object",stat:!0},{values:function(e){return s(e)}})},BGb9:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("SEBh"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{union:function(e){var t=o(this),n=new(c(t,i("Set")))(t);return l(e,a(n.add),n),n}})},BIHw:function(e,t,n){"use strict";var r=n("I+eb"),s=n("or9q"),i=n("ewvW"),o=n("UMSQ"),a=n("ppGB"),c=n("ZfDv");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=o(t.length),r=c(t,0);return r.length=s(r,t,t,n,0,void 0===e?1:a(e)),r}})},BNMt:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("blink")},{blink:function(){return s(this,"blink","","")}})},BTho:function(e,t,n){"use strict";var r=n("HAuM"),s=n("hh1v"),i=[].slice,o={},a=function(e,t,n){if(!(t in o)){for(var r=[],s=0;s<t;s++)r[s]="a["+s+"]";o[t]=Function("C,a","return new C("+r.join(",")+")")}return o[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),o=function(){var r=n.concat(i.call(arguments));return this instanceof o?a(t,r.length,r):t.apply(e,r)};return s(t.prototype)&&(o.prototype=t.prototype),o}},"BX/b":function(e,t,n){var r=n("/GqU"),s=n("JBy8").f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return s(e)}catch(t){return o.slice()}}(e):s(r(e))}},"Bb/w":function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=n("wIVT"),a=s.has,c=s.get,l=s.toKey,u=function(e,t,n){if(a(e,t,n))return c(e,t,n);var r=o(t);return null!==r?u(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return u(e,i(t),n)}})},Bs8V:function(e,t,n){var r=n("g6v/"),s=n("0eef"),i=n("XGwC"),o=n("/GqU"),a=n("wE6v"),c=n("UTVS"),l=n("DPsx"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return i(!s.f.call(e,t),e[t])}},C1JJ:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM"),a=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{isDisjointFrom:function(e){var t=i(this),n=o(t.has);return!a(e,(function(e){if(!0===n.call(t,e))return a.stop()})).stopped}})},CQOm:function(e,t,n){n("4l63");var r=n("Qo9l");e.exports=r.parseInt},CUyW:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("A2ZE"),l=n("SEBh"),u=n("Sssf"),p=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{mapValues:function(e){var t=o(this),n=u(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),s=new(l(t,i("Map"))),h=a(s.set);return p(n,(function(e,n){h.call(s,e,r(n,e,t))}),void 0,!0,!0),s}})},Cg3G:function(e,t,n){"use strict";var r=n("glrk"),s=n("HAuM");e.exports=function(){for(var e,t=r(this),n=s(t.delete),i=!0,o=0,a=arguments.length;o<a;o++)e=n.call(t,arguments[o]),i=i&&e;return!!i}},Co1j:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM"),a=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{isSupersetOf:function(e){var t=i(this),n=o(t.has);return!a(e,(function(e){if(!1===n.call(t,e))return a.stop()})).stopped}})},Cp41:function(e,t,n){var r=n("H0pb");n("p/S5"),n("apDx"),n("4XaG"),n("6V7H"),n("gAm/"),e.exports=r},CsgD:function(e,t,n){var r=n("I+eb"),s=n("jrUv");r({target:"Math",stat:!0,forced:s!=Math.expm1},{expm1:s})},CyXQ:function(e,t,n){var r=n("ppGB"),s=n("UMSQ");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=s(t);if(t!==n)throw RangeError("Wrong length or index");return n}},DAme:function(e,t,n){"use strict";var r=n("8aNu"),s=n("M7Xk").getWeakData,i=n("F26l"),o=n("6XUM"),a=n("SM6+"),c=n("Rn6E"),l=n("kk6e"),u=n("OG5q"),p=n("XH/I"),h=p.set,d=p.getterFor,f=l.find,m=l.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var p=e((function(e,r){a(e,p,t),h(e,{type:t,id:v++,frozen:void 0}),null!=r&&c(r,e[l],e,n)})),f=d(t),m=function(e,t,n){var r=f(e),o=s(i(t),!0);return!0===o?g(r).set(t,n):o[r.id]=n,e};return r(p.prototype,{delete:function(e){var t=f(this);if(!o(e))return!1;var n=s(e);return!0===n?g(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!o(e))return!1;var n=s(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),r(p.prototype,n?{get:function(e){var t=f(this);if(o(e)){var n=s(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),p}}},DEfu:function(e,t,n){var r=n("2oRo");n("1E5z")(r.JSON,"JSON",!0)},DMt2:function(e,t,n){var r=n("UMSQ"),s=n("EUja"),i=n("HYAF"),o=Math.ceil,a=function(e){return function(t,n,a){var c,l,u=String(i(t)),p=u.length,h=void 0===a?" ":String(a),d=r(n);return d<=p||""==h?u:(c=d-p,(l=s.call(h,o(c/h.length))).length>c&&(l=l.slice(0,c)),e?u+l:l+u)}};e.exports={start:a(!1),end:a(!0)}},DPsx:function(e,t,n){var r=n("g6v/"),s=n("0Dky"),i=n("zBJ4");e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(e,t,n){var r=n("busE"),s=Date.prototype,i="Invalid Date",o="toString",a=s.toString,c=s.getTime;new Date(NaN)+""!=i&&r(s,o,(function(){var e=c.call(this);return e==e?a.call(this):i}))},DhMN:function(e,t,n){n("ofBz")},E5NM:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("big")},{big:function(){return s(this,"big","","")}})},E7aN:function(e,t,n){var r=n("ocAm");e.exports=r},E9XD:function(e,t,n){"use strict";var r=n("I+eb"),s=n("1Y/n").left,i=n("pkCn"),o=n("rkAj"),a=i("reduce"),c=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!a||!c},{reduce:function(e){return s(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},EIBq:function(e,t,n){var r=n("m41k")("iterator"),s=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){s=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!s)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(a){}return n}},EMtK:function(e,t,n){var r=n("tUdv"),s=n("hmpk");e.exports=function(e){return r(s(e))}},ENF9:function(e,t,n){"use strict";var r,s=n("2oRo"),i=n("4syw"),o=n("8YOa"),a=n("bWFh"),c=n("rKzb"),l=n("hh1v"),u=n("afO8").enforce,p=n("f5p1"),h=!s.ActiveXObject&&"ActiveXObject"in s,d=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=a("WeakMap",f,c);if(p&&h){r=c.getConstructor(f,"WeakMap",!0),o.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,E=v.get,S=v.set;i(v,{delete:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)?E.call(this,e):t.frozen.get(e)}return E.call(this,e)},set:function(e,t){if(l(e)&&!d(e)){var n=u(this);n.frozen||(n.frozen=new r),y.call(this,e)?S.call(this,e,t):n.frozen.set(e,t)}else S.call(this,e,t);return this}})}},EUja:function(e,t,n){"use strict";var r=n("ppGB"),s=n("HYAF");e.exports="".repeat||function(e){var t=String(s(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},EmVM:function(e,t,n){var r=n("rWPW");n("702D"),n("TJ79"),n("cfiF"),n("5VXN"),e.exports=r},EnZy:function(e,t,n){"use strict";var r=n("14Sl"),s=n("ROdP"),i=n("glrk"),o=n("HYAF"),a=n("SEBh"),c=n("iqWW"),l=n("UMSQ"),u=n("FMNM"),p=n("kmMV"),h=n("0Dky"),d=[].push,f=Math.min,m=4294967295,v=!h((function(){return!RegExp(m,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(o(this)),i=void 0===n?m:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!s(e))return t.call(r,e,i);for(var a,c,l,u=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,v=new RegExp(e.source,h+"g");(a=p.call(v,r))&&!((c=v.lastIndex)>f&&(u.push(r.slice(f,a.index)),a.length>1&&a.index<r.length&&d.apply(u,a.slice(1)),l=a[0].length,f=c,u.length>=i));)v.lastIndex===a.index&&v.lastIndex++;return f===r.length?!l&&v.test("")||u.push(""):u.push(r.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var s=o(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,s,n):r.call(String(s),t,n)},function(e,s){var o=n(r,e,this,s,r!==t);if(o.done)return o.value;var p=i(e),h=String(this),d=a(p,RegExp),g=p.unicode,y=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(v?"y":"g"),E=new d(v?p:"^(?:"+p.source+")",y),S=void 0===s?m:s>>>0;if(0===S)return[];if(0===h.length)return null===u(E,h)?[h]:[];for(var x=0,_=0,b=[];_<h.length;){E.lastIndex=v?_:0;var w,C=u(E,v?h:h.slice(_));if(null===C||(w=f(l(E.lastIndex+(v?0:_)),h.length))===x)_=c(h,_,g);else{if(b.push(h.slice(x,_)),b.length===S)return b;for(var T=1;T<=C.length-1;T++)if(b.push(C[T]),b.length===S)return b;_=x=w}}return b.push(h.slice(x)),b}]}),!v)},Ep9I:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},Eqjn:function(e,t,n){"use strict";var r=n("I+eb"),s=n("g6v/"),i=n("6x0u"),o=n("ewvW"),a=n("HAuM"),c=n("m/L8");s&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(o(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},"Ew/G":function(e,t,n){var r=n("E7aN"),s=n("ocAm"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},ExoC:function(e,t,n){n("I+eb")({target:"Object",stat:!0},{setPrototypeOf:n("0rvr")})},"F/TS":function(e,t,n){var r=n("mN5b"),s=n("pz+c"),i=n("m41k")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||s[r(e)]}},F26l:function(e,t,n){var r=n("6XUM");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},F8JR:function(e,t,n){"use strict";var r=n("tycR").forEach,s=n("pkCn"),i=n("rkAj"),o=s("forEach"),a=i("forEach");e.exports=o&&a?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},FDzp:function(e,t,n){n("dOgj")("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},FF6l:function(e,t,n){"use strict";var r=n("ewvW"),s=n("I8vh"),i=n("UMSQ"),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),c=s(e,a),l=s(t,a),u=arguments.length>2?arguments[2]:void 0,p=o((void 0===u?a:s(u,a))-l,a-c),h=1;for(l<c&&c<l+p&&(h=-1,l+=p-1,c+=p-1);p-- >0;)l in n?n[c]=n[l]:delete n[c],c+=h,l+=h;return n}},FMNM:function(e,t,n){var r=n("xrYK"),s=n("kmMV");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return s.call(e,t)}},Fqhe:function(e,t,n){var r=n("ocAm"),s=n("aJMj");e.exports=function(e,t){try{s(r,e,t)}catch(n){r[e]=t}return t}},"Fwt+":function(e,t,n){"use strict";var r=n("67WC"),s=n("UMSQ"),i=n("I8vh"),o=n("SEBh"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=a(this),r=n.length,c=i(e,r);return new(o(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,s((void 0===t?r:i(t,r))-c))}))},"G+Rx":function(e,t,n){var r=n("0GbY");e.exports=r("document","documentElement")},"G/JM":function(e,t,n){n("I+eb")({target:"Reflect",stat:!0},{ownKeys:n("Vu81")})},G1Vw:function(e,t,n){"use strict";var r,s,i,o=n("wIVT"),a=n("aJMj"),c=n("OG5q"),l=n("m41k"),u=n("g9hI"),p=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(s=o(o(i)))!==Object.prototype&&(r=s):h=!0),null==r&&(r={}),u||c(r,p)||a(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},GC2F:function(e,t,n){var r=n("+M1K");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},GKVU:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("anchor")},{anchor:function(e){return s(this,"a","name",e)}})},GRPF:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fontsize")},{fontsize:function(e){return s(this,"font","size",e)}})},GXvd:function(e,t,n){n("dG/n")("species")},GarU:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"H+LF":function(e,t,n){"use strict";n("bWFh")("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n("rKzb"))},H0pb:function(e,t,n){n("ma9I"),n("07d7"),n("pNMO"),n("tjZM"),n("4Brf"),n("3I1R"),n("7+kd"),n("0oug"),n("KhsS"),n("jt2F"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("gbiT"),n("I9xj"),n("DEfu");var r=n("Qo9l");e.exports=r.Symbol},HAuM:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},HH4o:function(e,t,n){var r=n("tiKp")("iterator"),s=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){s=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!s)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(a){}return n}},HRxU:function(e,t,n){var r=n("I+eb"),s=n("g6v/");r({target:"Object",stat:!0,forced:!s,sham:!s},{defineProperties:n("N+g0")})},HYAF:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},Hd5f:function(e,t,n){var r=n("0Dky"),s=n("tiKp"),i=n("LQDL"),o=s("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},HiXI:function(e,t,n){"use strict";var r=n("I+eb"),s=n("WKiH").end,i=n("yNLB")("trimEnd"),o=i?function(){return s(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},HsHA:function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},"I+eb":function(e,t,n){var r=n("2oRo"),s=n("Bs8V").f,i=n("kRJp"),o=n("busE"),a=n("zk60"),c=n("6JNq"),l=n("lMq5");e.exports=function(e,t){var n,u,p,h,d,f=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[f]||a(f,{}):(r[f]||{}).prototype)for(u in t){if(h=t[u],p=e.noTargetGet?(d=s(n,u))&&d.value:n[u],!l(m?u:f+(v?".":"#")+u,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),o(n,u,h,e)}}},I1Gw:function(e,t,n){n("dG/n")("split")},I8vh:function(e,t,n){var r=n("ppGB"),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},I9xj:function(e,t,n){n("1E5z")(Math,"Math",!0)},"IL/d":function(e,t,n){"use strict";var r=n("iqeF");(0,n("67WC").exportTypedArrayStaticMethod)("from",n("oHi+"),r)},IZzc:function(e,t,n){"use strict";var r=n("67WC"),s=r.aTypedArray,i=r.exportTypedArrayMethod,o=[].sort;i("sort",(function(e){return o.call(s(this),e)}))},Icrz:function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.keys,a=s.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:a(arguments[1]);return o(i(e),t)}})},ImZN:function(e,t,n){var r=n("glrk"),s=n("6VoE"),i=n("UMSQ"),o=n("A2ZE"),a=n("NaFW"),c=n("m92n"),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,p){var h,d,f,m,v,g,y,E=o(t,n,u?2:1);if(p)h=e;else{if("function"!=typeof(d=a(e)))throw TypeError("Target is not iterable");if(s(d)){for(f=0,m=i(e.length);m>f;f++)if((v=u?E(r(y=e[f])[0],y[1]):E(e[f]))&&v instanceof l)return v;return new l(!1)}h=d.call(e)}for(g=h.next;!(y=g.call(h)).done;)if("object"==typeof(v=c(h,E,y.value,u))&&v&&v instanceof l)return v;return new l(!1)}).stop=function(e){return new l(!0,e)}},IxXR:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("strike")},{strike:function(){return s(this,"strike","","")}})},J30X:function(e,t,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(e,t,n){var r=n("yoRg"),s=n("eDl+").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},JHhb:function(e,t,n){"use strict";var r=n("Ew/G"),s=n("/Ybd"),i=n("m41k"),o=n("T69T"),a=i("species");e.exports=function(e){var t=r(e),n=s.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},JI1L:function(e,t,n){var r=n("6XUM");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},JTJg:function(e,t,n){"use strict";var r=n("I+eb"),s=n("WjRb"),i=n("HYAF");r({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(e){return!!~String(i(this)).indexOf(s(e),arguments.length>1?arguments[1]:void 0)}})},JaFt:function(e,t,n){"use strict";var r=n("67WC"),s=n("1Y/n").right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return s(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},JafA:function(e,t,n){var r=n("6XUM"),s=n("erNl"),i=n("m41k")("species");e.exports=function(e,t){var n;return s(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!s(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},JevA:function(e,t,n){var r=n("I+eb"),s=n("wg0c");r({target:"Number",stat:!0,forced:Number.parseInt!=s},{parseInt:s})},JfAA:function(e,t,n){"use strict";var r=n("busE"),s=n("glrk"),i=n("0Dky"),o=n("rW0t"),a="toString",c=RegExp.prototype,l=c.toString,u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=l.name!=a;(u||p)&&r(RegExp.prototype,a,(function(){var e=s(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?o.call(e):n)}),{unsafe:!0})},JiZb:function(e,t,n){"use strict";var r=n("0GbY"),s=n("m/L8"),i=n("tiKp"),o=n("g6v/"),a=i("species");e.exports=function(e){var t=r(e),n=s.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},Junv:function(e,t,n){"use strict";var r=n("I+eb"),s=n("6LWA"),i=[].reverse,o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return s(this)&&(this.length=this.length),i.call(this)}})},JwUS:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM"),a=n("WGBp"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{reduce:function(e){var t=i(this),n=a(t),r=arguments.length<2,s=r?void 0:arguments[1];if(o(e),c(n,(function(n){r?(r=!1,s=n):s=e(s,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return s}})},K6ZX:function(e,t,n){var r=n("6XUM"),s=n("7/lX");e.exports=function(e,t,n){var i,o;return s&&"function"==typeof(i=t.constructor)&&i!==n&&r(o=i.prototype)&&o!==n.prototype&&s(e,o),e}},KBkW:function(e,t,n){var r=n("ocAm"),s=n("Fqhe"),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},KVSy:function(e,t,n){"use strict";var r=n("67WC"),s=n("SEBh"),i=n("0Dky"),o=r.aTypedArray,a=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice;c("slice",(function(e,t){for(var n=l.call(o(this),e,t),r=s(this,this.constructor),i=0,c=n.length,u=new(a(r))(c);c>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},KYLi:function(e,t,n){var r=n("wA6s"),s=n("ViWx"),i=n("yprU"),o=n("F26l"),a=n("wIVT"),c=n("Rn6E"),l=i.keys,u=i.toKey,p=function(e,t){var n=l(e,t),r=a(e);if(null===r)return n;var i,o,u=p(r,t);return u.length?n.length?(i=new s(n.concat(u)),c(i,(o=[]).push,o),o):u:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return p(o(e),t)}})},KhsS:function(e,t,n){n("dG/n")("match")},KkqW:function(e,t,n){var r=n("vVmn"),s=n("aAjO").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},KrxN:function(e,t,n){var r=n("I+eb"),s=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*s}})},Kv9l:function(e,t,n){n("TWNs"),n("JfAA"),n("rB9j"),n("U3f4"),n("LD7m"),n("ALS0"),n("Rm1S"),n("UxlC"),n("hByQ"),n("EnZy")},KvGi:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(e,t,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LD7m:function(e,t,n){var r=n("g6v/"),s=n("n3/R").UNSUPPORTED_Y,i=n("m/L8").f,o=n("afO8").get,a=RegExp.prototype;r&&s&&i(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==a){if(this instanceof RegExp)return!!o(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},LEsg:function(e,t,n){"use strict";n.r(t);n("nN1m")},LKBx:function(e,t,n){"use strict";var r,s=n("I+eb"),i=n("Bs8V").f,o=n("UMSQ"),a=n("WjRb"),c=n("HYAF"),l=n("qxPZ"),u=n("xDBR"),p="".startsWith,h=Math.min,d=l("startsWith");s({target:"String",proto:!0,forced:!!(u||d||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!d},{startsWith:function(e){var t=String(c(this));a(e);var n=o(h(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},LQDL:function(e,t,n){var r,s,i=n("2oRo"),o=n("NC/Y"),a=i.process,c=a&&a.versions,l=c&&c.v8;l?s=(r=l.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=r[1]),e.exports=s&&+s},LdO1:function(e,t,n){var r=n("6XUM");e.exports=function(e,t){if(!r(e))return e;var n,s;if(t&&"function"==typeof(n=e.toString)&&!r(s=n.call(e)))return s;if("function"==typeof(n=e.valueOf)&&!r(s=n.call(e)))return s;if(!t&&"function"==typeof(n=e.toString)&&!r(s=n.call(e)))return s;throw TypeError("Can't convert object to primitive value")}},M7Xk:function(e,t,n){var r=n("yQMY"),s=n("6XUM"),i=n("OG5q"),o=n("/Ybd").f,a=n("SDMg"),c=n("cZY6"),l=a("meta"),u=0,p=Object.isExtensible||function(){return!0},h=function(e){o(e,l,{value:{objectID:"O"+ ++u,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,l)){if(!p(e))return"F";if(!t)return"E";h(e)}return e[l].objectID},getWeakData:function(e,t){if(!i(e,l)){if(!p(e))return!0;if(!t)return!1;h(e)}return e[l].weakData},onFreeze:function(e){return c&&d.REQUIRED&&p(e)&&!i(e,l)&&h(e),e}};r[l]=!0},MkZA:function(e,t,n){var r=n("rG8t"),s=/#|\.prototype\./,i=function(e,t){var n=a[o(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},o=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},MoCz:function(e,t,n){"use strict";var r=n("67WC"),s=n("5Yz+"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return s.apply(i(this),arguments)}))},"N+g0":function(e,t,n){var r=n("g6v/"),s=n("m/L8"),i=n("glrk"),o=n("33Wh");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=o(t),a=r.length,c=0;a>c;)s.f(e,n=r[c++],t[n]);return e}},NBAS:function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("ewvW"),o=n("4WOD"),a=n("4Xet");r({target:"Object",stat:!0,forced:s((function(){o(1)})),sham:!a},{getPrototypeOf:function(e){return o(i(e))}})},"NC/Y":function(e,t,n){var r=n("0GbY");e.exports=r("navigator","userAgent")||""},NIlc:function(e,t,n){var r=n("OG5q"),s=n("76gj"),i=n("7gGY"),o=n("/Ybd");e.exports=function(e,t){for(var n=s(t),a=o.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||a(e,u,c(t,u))}}},NR1a:function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.toKey,a=s.getMap,c=s.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var s=c.get(t);return s.delete(n),!!s.size||c.delete(t)}})},NV22:function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=n("4oU/"),o=n("ntOU"),a=n("afO8"),c="Seeded Random",l="Seeded Random Generator",u=a.set,p=a.getterFor(l),h=o((function(e){u(this,{type:l,seed:e%2147483647})}),c,(function(){var e=p(this);return{value:(1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,done:!1}}));r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=s(e).seed;if(!i(t))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new h(t)}})},NaFW:function(e,t,n){var r=n("9d/t"),s=n("P4y1"),i=n("tiKp")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||s[r(e)]}},"NbN+":function(e,t,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},Neub:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},NqR8:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{isubh:function(e,t,n,r){var s=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~s&i|~(s^i)&s-i>>>0)>>>31)|0}})},O741:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},OG5q:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},OM9Z:function(e,t,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},OXtp:function(e,t,n){var r=n("EMtK"),s=n("xpLY"),i=n("7Oj1"),o=function(e){return function(t,n,o){var a,c=r(t),l=s(c.length),u=i(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},Onu3:function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},P4y1:function(e,t){e.exports={}},P8wP:function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").map,i=n("SEBh"),o=r.aTypedArray,a=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return s(o(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(i(e,e.constructor)))(t)}))}))},P940:function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},PF2M:function(e,t,n){"use strict";var r=n("67WC"),s=n("UMSQ"),i=n("GC2F"),o=n("ewvW"),a=n("0Dky"),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){c(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=o(e),a=s(r.length),l=0;if(a+t>n)throw RangeError("Wrong length");for(;l<a;)this[t+l]=r[l++]}),a((function(){new Int8Array(1).set({})})))},PKPk:function(e,t,n){"use strict";var r=n("ZUd8").charAt,s=n("afO8"),i=n("fdAy"),o="String Iterator",a=s.set,c=s.getterFor(o);i(String,"String",(function(e){a(this,{type:o,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,s=t.index;return s>=n.length?{value:void 0,done:!0}:(e=r(n,s),t.index+=e.length,{value:e,done:!1})}))},PqOI:function(e,t,n){var r=n("I+eb"),s=n("90hW"),i=Math.abs,o=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return s(e=+e)*o(i(e),1/3)}})},PzqY:function(e,t,n){var r=n("I+eb"),s=n("g6v/"),i=n("glrk"),o=n("wE6v"),a=n("m/L8");r({target:"Reflect",stat:!0,forced:n("0Dky")((function(){Reflect.defineProperty(a.f({},1,{value:1}),1,{value:2})})),sham:!s},{defineProperty:function(e,t,n){i(e);var r=o(t,!0);i(n);try{return a.f(e,r,n),!0}catch(s){return!1}}})},Q7Pz:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("Sssf"),a=n("i4U9"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{includes:function(e){return c(o(i(this)),(function(t,n){if(a(n,e))return c.stop()}),void 0,!0,!0).stopped}})},QFcT:function(e,t,n){var r=n("I+eb"),s=Math.hypot,i=Math.abs,o=Math.sqrt;r({target:"Math",stat:!0,forced:!!s&&s(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,s=0,a=0,c=arguments.length,l=0;a<c;)l<(n=i(arguments[a++]))?(s=s*(r=l/n)*r+1,l=n):s+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*o(s)}})},QGkA:function(e,t,n){n("RNIs")("flat")},QIpd:function(e,t,n){var r=n("xrYK");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},QNnp:function(e,t,n){var r=n("I+eb"),s=Math.floor,i=Math.log,o=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-s(i(e+.5)*o):32}})},QWBl:function(e,t,n){"use strict";var r=n("I+eb"),s=n("F8JR");r({target:"Array",proto:!0,forced:[].forEach!=s},{forEach:s})},Qo9l:function(e,t,n){var r=n("2oRo");e.exports=r},"R3/m":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("Sssf"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{every:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return!c(n,(function(e,n){if(!r(n,e,t))return c.stop()}),void 0,!0,!0).stopped}})},R7xg:function(e,t,n){var r=n("mjWP");n("1kQv"),n("8r4s"),n("49+q"),n("AVoK"),n("dNT4"),n("hcok"),n("3uUd"),n("tijO"),n("ZY7T"),n("C1JJ"),n("lmH4"),n("Co1j"),n("5JV0"),n("ctDJ"),n("JwUS"),n("qaHo"),n("Si40"),n("BGb9"),e.exports=r},RK3t:function(e,t,n){var r=n("0Dky"),s=n("xrYK"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?i.call(e,""):Object(e)}:Object},RNIs:function(e,t,n){var r=n("tiKp"),s=n("fHMY"),i=n("m/L8"),o=r("unscopables"),a=Array.prototype;null==a[o]&&i.f(a,o,{configurable:!0,value:s(null)}),e.exports=function(e){a[o][e]=!0}},ROdP:function(e,t,n){var r=n("hh1v"),s=n("xrYK"),i=n("tiKp")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==s(e))}},Rfxz:function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").some,i=n("pkCn"),o=n("rkAj"),a=i("some"),c=o("some");r({target:"Array",proto:!0,forced:!a||!c},{some:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},Rm1S:function(e,t,n){"use strict";var r=n("14Sl"),s=n("glrk"),i=n("UMSQ"),o=n("HYAF"),a=n("iqWW"),c=n("FMNM");r("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=s(e),l=String(this);if(!o.global)return c(o,l);var u=o.unicode;o.lastIndex=0;for(var p,h=[],d=0;null!==(p=c(o,l));){var f=String(p[0]);h[d]=f,""===f&&(o.lastIndex=a(l,i(o.lastIndex),u)),d++}return 0===d?null:h}]}))},Rn6E:function(e,t,n){var r=n("F26l"),s=n("5MmU"),i=n("xpLY"),o=n("tcQx"),a=n("F/TS"),c=n("ipMl"),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,p){var h,d,f,m,v,g,y,E=o(t,n,u?2:1);if(p)h=e;else{if("function"!=typeof(d=a(e)))throw TypeError("Target is not iterable");if(s(d)){for(f=0,m=i(e.length);m>f;f++)if((v=u?E(r(y=e[f])[0],y[1]):E(e[f]))&&v instanceof l)return v;return new l(!1)}h=d.call(e)}for(g=h.next;!(y=g.call(h)).done;)if("object"==typeof(v=c(h,E,y.value,u))&&v&&v instanceof l)return v;return new l(!1)}).stop=function(e){return new l(!0,e)}},Rqr0:function(e,t,n){n("/Yfv"),n("XMab"),n("ilnZ"),n("iwkZ"),n("hMMk"),n("FDzp"),n("+ywr"),n("z8NH"),n("SpvK"),n("9jlR"),e.exports=n("2oRo")},SDMg:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},SEBh:function(e,t,n){var r=n("glrk"),s=n("HAuM"),i=n("tiKp")("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[i])?t:s(n)}},SL6q:function(e,t,n){var r=n("I+eb"),s=n("voyM"),i=n("vo4V");r({target:"Math",stat:!0},{fscale:function(e,t,n,r,o){return i(s(e,t,n,r,o))}})},"SM6+":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},STAE:function(e,t,n){var r=n("0Dky");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(e,t,n){"use strict";var r=n("I+eb"),s=n("WKiH").trim;r({target:"String",proto:!0,forced:n("yNLB")("trim")},{trim:function(){return s(this)}})},Si40:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("SEBh"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{symmetricDifference:function(e){var t=o(this),n=new(c(t,i("Set")))(t),r=a(n.delete),s=a(n.add);return l(e,(function(e){r.call(n,e)||s.call(n,e)})),n}})},SkA5:function(e,t,n){n("pv2x"),n("SuFq"),n("PzqY"),n("rBZX"),n("XUE8"),n("nkod"),n("f3jH"),n("x2An"),n("25bX"),n("G/JM"),n("1t3B"),n("ftMj"),n("i5pp");var r=n("Qo9l");e.exports=r.Reflect},SpvK:function(e,t,n){n("dOgj")("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},Sssf:function(e,t,n){var r=n("xDBR"),s=n("mh/w");e.exports=r?s:function(e){return Map.prototype.entries.call(e)}},SuFq:function(e,t,n){var r=n("I+eb"),s=n("0GbY"),i=n("HAuM"),o=n("glrk"),a=n("hh1v"),c=n("fHMY"),l=n("BTho"),u=n("0Dky"),p=s("Reflect","construct"),h=u((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!u((function(){p((function(){}))})),f=h||d;r({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!h)return p(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var s=n.prototype,u=c(a(s)?s:Object.prototype),f=Function.apply.call(e,u,t);return a(f)?f:u}})},"T+gH":function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.has,a=s.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]);return o(e,i(t),n)}})},T63A:function(e,t,n){var r=n("I+eb"),s=n("b1O7").entries;r({target:"Object",stat:!0},{entries:function(e){return s(e)}})},T69T:function(e,t,n){var r=n("rG8t");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},TFPT:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sub")},{sub:function(){return s(this,"sub","","")}})},TJ79:function(e,t,n){n("I+eb")({target:"WeakMap",stat:!0},{of:n("P940")})},TWNs:function(e,t,n){var r=n("g6v/"),s=n("2oRo"),i=n("lMq5"),o=n("cVYH"),a=n("m/L8").f,c=n("JBy8").f,l=n("ROdP"),u=n("rW0t"),p=n("n3/R"),h=n("busE"),d=n("0Dky"),f=n("afO8").set,m=n("JiZb"),v=n("tiKp")("match"),g=s.RegExp,y=g.prototype,E=/a/g,S=/a/g,x=new g(E)!==E,_=p.UNSUPPORTED_Y;if(r&&i("RegExp",!x||_||d((function(){return S[v]=!1,g(E)!=E||g(S)==S||"/a/i"!=g(E,"i")})))){for(var b=function(e,t){var n,r=this instanceof b,s=l(e),i=void 0===t;if(!r&&s&&e.constructor===b&&i)return e;x?s&&!i&&(e=e.source):e instanceof b&&(i&&(t=u.call(e)),e=e.source),_&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=o(x?new g(e,t):g(e,t),r?this:y,b);return _&&n&&f(a,{sticky:n}),a},w=function(e){e in b||a(b,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},C=c(g),T=0;C.length>T;)w(C[T++]);y.constructor=b,b.prototype=y,h(s,"RegExp",b)}m("RegExp")},TWQb:function(e,t,n){var r=n("/GqU"),s=n("UMSQ"),i=n("I8vh"),o=function(e){return function(t,n,o){var a,c=r(t),l=s(c.length),u=i(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},TZCg:function(e,t,n){"use strict";var r=n("I+eb"),s=n("DMt2").start;r({target:"String",proto:!0,forced:n("mgyK")},{padStart:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},TeQF:function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").filter,i=n("Hd5f"),o=n("rkAj"),a=i("filter"),c=o("filter");r({target:"Array",proto:!0,forced:!a||!c},{filter:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(e,t,n){"use strict";var r=n("A2ZE"),s=n("ewvW"),i=n("m92n"),o=n("6VoE"),a=n("UMSQ"),c=n("hBjN"),l=n("NaFW");e.exports=function(e){var t,n,u,p,h,d,f=s(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,E=l(f),S=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==E||m==Array&&o(E))for(n=new m(t=a(f.length));t>S;S++)d=y?g(f[S],S):f[S],c(n,S,d);else for(h=(p=E.call(f)).next,n=new m;!(u=h.call(p)).done;S++)d=y?i(p,g,[u.value,S],!0):u.value,c(n,S,d);return n.length=S,n}},Thag:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("Sssf"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{some:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop()}),void 0,!0,!0).stopped}})},ToJy:function(e,t,n){"use strict";var r=n("I+eb"),s=n("HAuM"),i=n("ewvW"),o=n("0Dky"),a=n("pkCn"),c=[],l=c.sort,u=o((function(){c.sort(void 0)})),p=o((function(){c.sort(null)})),h=a("sort");r({target:"Array",proto:!0,forced:u||!p||!h},{sort:function(e){return void 0===e?l.call(i(this)):l.call(i(this),s(e))}})},Tskq:function(e,t,n){"use strict";var r=n("bWFh"),s=n("ZWaQ");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),s)},"U+kB":function(e,t,n){var r=n("rG8t");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},U3f4:function(e,t,n){var r=n("g6v/"),s=n("m/L8"),i=n("rW0t"),o=n("n3/R").UNSUPPORTED_Y;r&&("g"!=/./g.flags||o)&&s.f(RegExp.prototype,"flags",{configurable:!0,get:i})},UMSQ:function(e,t,n){var r=n("ppGB"),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},UTVS:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},UbkO:function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.get,a=s.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]);return o(e,i(t),n)}})},UesL:function(e,t,n){"use strict";var r=n("glrk"),s=n("wE6v");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return s(r(this),"number"!==e)}},UxlC:function(e,t,n){"use strict";var r=n("14Sl"),s=n("glrk"),i=n("ewvW"),o=n("UMSQ"),a=n("ppGB"),c=n("HYAF"),l=n("iqWW"),u=n("FMNM"),p=Math.max,h=Math.min,d=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,y=v?"$":"$0";return[function(n,r){var s=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,s,r):t.call(String(s),n,r)},function(e,r){if(!v&&g||"string"==typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var c=s(e),d=String(this),f="function"==typeof r;f||(r=String(r));var m=c.global;if(m){var S=c.unicode;c.lastIndex=0}for(var x=[];;){var _=u(c,d);if(null===_)break;if(x.push(_),!m)break;""===String(_[0])&&(c.lastIndex=l(d,o(c.lastIndex),S))}for(var b,w="",C=0,T=0;T<x.length;T++){_=x[T];for(var I=String(_[0]),M=p(h(a(_.index),d.length),0),A=[],N=1;N<_.length;N++)A.push(void 0===(b=_[N])?b:String(b));var k=_.groups;if(f){var P=[I].concat(A,M,d);void 0!==k&&P.push(k);var O=String(r.apply(void 0,P))}else O=E(I,d,M,A,k,r);M>=C&&(w+=d.slice(C,M)+O,C=M+I.length)}return w+d.slice(C)}];function E(e,n,r,s,o,a){var c=r+e.length,l=s.length,u=m;return void 0!==o&&(o=i(o),u=f),t.call(a,u,(function(t,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":a=o[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>l){var p=d(u/10);return 0===p?t:p<=l?void 0===s[p-1]?i.charAt(1):s[p-1]+i.charAt(1):t}a=s[u-1]}return void 0===a?"":a}))}}))},Uydy:function(e,t,n){var r=n("I+eb"),s=n("HsHA"),i=Math.acosh,o=Math.log,a=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+c:s(e-1+a(e-1)*a(e+1))}})},UzNg:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ntOU"),i=n("HYAF"),o=n("afO8"),a=n("ZUd8"),c=a.codeAt,l=a.charAt,u="String Iterator",p=o.set,h=o.getterFor(u),d=s((function(e){p(this,{type:u,string:e,index:0})}),"String",(function(){var e,t=h(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=l(n,r),t.index+=e.length,{value:{codePoint:c(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new d(String(i(this)))}})},VC3L:function(e,t,n){"use strict";var r=n("I+eb"),s=n("0Dky"),i=n("QIpd"),o=1..toPrecision;r({target:"Number",proto:!0,forced:s((function(){return"1"!==o.call(1,void 0)}))||!s((function(){o.call({})}))},{toPrecision:function(e){return void 0===e?o.call(i(this)):o.call(i(this),e)}})},VCQ8:function(e,t,n){var r=n("hmpk");e.exports=function(e){return Object(r(e))}},VOz1:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM"),a=n("Sssf"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{reduce:function(e){var t=i(this),n=a(t),r=arguments.length<2,s=r?void 0:arguments[1];if(o(e),c(n,(function(n,i){r?(r=!1,s=i):s=e(s,i,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return s}})},ViWx:function(e,t,n){"use strict";var r=n("wdMf"),s=n("nIH4");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),s)},Vnov:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("Sssf"),a=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{keyOf:function(e){return a(o(i(this)),(function(t,n){if(n===e)return a.stop(t)}),void 0,!0,!0).result}})},VpIT:function(e,t,n){var r=n("xDBR"),s=n("xs3f");(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(e,t,n){var r=n("0GbY"),s=n("JBy8"),i=n("dBg+"),o=n("glrk");e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},"W/eh":function(e,t,n){"use strict";var r=n("I+eb"),s=n("g6v/"),i=n("6x0u"),o=n("ewvW"),a=n("wE6v"),c=n("4WOD"),l=n("Bs8V").f;s&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=o(this),r=a(e,!0);do{if(t=l(n,r))return t.set}while(n=c(n))}})},WDsR:function(e,t,n){var r=n("I+eb"),s=n("Xol8"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return s(e)&&i(e)<=9007199254740991}})},WGBp:function(e,t,n){var r=n("xDBR"),s=n("mh/w");e.exports=r?s:function(e){return Set.prototype.values.call(e)}},WJkJ:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(e,t,n){var r=n("HYAF"),s="["+n("WJkJ")+"]",i=RegExp("^"+s+s+"*"),o=RegExp(s+s+"*$"),a=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(o,"")),n}};e.exports={start:a(1),end:a(2),trim:a(3)}},WPzJ:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{scale:n("voyM")})},WijE:function(e,t,n){"use strict";var r=n("wA6s"),s=n("ZJLg"),i=n("wIVT"),o=n("7/lX"),a=n("shqn"),c=n("aJMj"),l=n("2MGJ"),u=n("m41k"),p=n("g9hI"),h=n("pz+c"),d=n("G1Vw"),f=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=u("iterator"),g="keys",y="values",E="entries",S=function(){return this};e.exports=function(e,t,n,u,d,x,_){s(n,t,u);var b,w,C,T=function(e){if(e===d&&k)return k;if(!m&&e in A)return A[e];switch(e){case g:case y:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",M=!1,A=e.prototype,N=A[v]||A["@@iterator"]||d&&A[d],k=!m&&N||T(d),P="Array"==t&&A.entries||N;if(P&&(b=i(P.call(new e)),f!==Object.prototype&&b.next&&(p||i(b)===f||(o?o(b,f):"function"!=typeof b[v]&&c(b,v,S)),a(b,I,!0,!0),p&&(h[I]=S))),d==y&&N&&N.name!==y&&(M=!0,k=function(){return N.call(this)}),p&&!_||A[v]===k||c(A,v,k),h[t]=k,d)if(w={values:T(y),keys:x?k:T(g),entries:T(E)},_)for(C in w)(m||M||!(C in A))&&l(A,C,w[C]);else r({target:t,proto:!0,forced:m||M},w);return w}},WjRb:function(e,t,n){var r=n("ROdP");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},X5Zq:function(e,t,n){"use strict";var r=n("67WC"),s=r.aTypedArray,i=r.exportTypedArrayMethod,o=[].join;i("join",(function(e){return o.apply(s(this),arguments)}))},XGwC:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"XH/I":function(e,t,n){var r,s,i,o=n("yaK9"),a=n("ocAm"),c=n("6XUM"),l=n("aJMj"),u=n("OG5q"),p=n("/AsP"),h=n("yQMY"),d=a.WeakMap;if(o){var f=new d,m=f.get,v=f.has,g=f.set;r=function(e,t){return g.call(f,e,t),t},s=function(e){return m.call(f,e)||{}},i=function(e){return v.call(f,e)}}else{var y=p("state");h[y]=!0,r=function(e,t){return l(e,y,t),t},s=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},XMab:function(e,t,n){n("dOgj")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},XSBQ:function(e,t,n){var r=n("Kv9l");e.exports=r},XUE8:function(e,t,n){var r=n("I+eb"),s=n("hh1v"),i=n("glrk"),o=n("UTVS"),a=n("Bs8V"),c=n("4WOD");r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=a.f(t,n))?o(r,"value")?r.value:void 0===r.get?void 0:r.get.call(u):s(l=c(t))?e(l,n,u):void 0}})},XbcX:function(e,t,n){"use strict";var r=n("I+eb"),s=n("or9q"),i=n("ewvW"),o=n("UMSQ"),a=n("HAuM"),c=n("ZfDv");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=o(n.length);return a(e),(t=c(n,0)).length=s(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},XdSI:function(e,t,n){var r=n("T69T"),s=n("rG8t"),i=n("qx7X");e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},Xe3L:function(e,t,n){"use strict";var r=n("I+eb"),s=n("0Dky"),i=n("hBjN");r({target:"Array",stat:!0,forced:s((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},Xol8:function(e,t,n){var r=n("hh1v"),s=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&s(e)===e}},Xv9K:function(e,t,n){n("Tskq"),n("07d7"),n("PKPk"),n("3bBZ");var r=n("Qo9l");e.exports=r.Map},Y4C7:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.toKey,a=s.getMap,c=s.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var s=c.get(t);return s.delete(n),!!s.size||c.delete(t)}})},YGK4:function(e,t,n){"use strict";var r=n("bWFh"),s=n("ZWaQ");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),s)},YL0P:function(e,t,n){"use strict";var r=n("2oRo"),s=n("67WC"),i=n("4mDm"),o=n("tiKp")("iterator"),a=r.Uint8Array,c=i.values,l=i.keys,u=i.entries,p=s.aTypedArray,h=s.exportTypedArrayMethod,d=a&&a.prototype[o],f=!!d&&("values"==d.name||null==d.name),m=function(){return c.call(p(this))};h("entries",(function(){return u.call(p(this))})),h("keys",(function(){return l.call(p(this))})),h("values",m,!f),h(o,m,!f)},YNrV:function(e,t,n){"use strict";var r=n("g6v/"),s=n("0Dky"),i=n("33Wh"),o=n("dBg+"),a=n("0eef"),c=n("ewvW"),l=n("RK3t"),u=Object.assign,p=Object.defineProperty;e.exports=!u||s((function(){if(r&&1!==u({b:1},u(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),s="abcdefghijklmnopqrst";return e[n]=7,s.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||i(u({},t)).join("")!=s}))?function(e,t){for(var n=c(e),s=arguments.length,u=1,p=o.f,h=a.f;s>u;)for(var d,f=l(arguments[u++]),m=p?i(f).concat(p(f)):i(f),v=m.length,g=0;v>g;)d=m[g++],r&&!h.call(f,d)||(n[d]=f[d]);return n}:u},YRDK:function(e,t,n){var r=n("6hpn");n("cOPa"),n("vdRX"),n("KrxN"),n("SL6q"),n("w7s6"),n("uWhJ"),n("WPzJ"),n("NV22"),n("ny8l"),n("lehK"),n("NqR8"),n("eO0o"),n("a5/B"),e.exports=r},Yhre:function(e,t,n){"use strict";var r=n("2oRo"),s=n("g6v/"),i=n("qYE9"),o=n("kRJp"),a=n("4syw"),c=n("0Dky"),l=n("GarU"),u=n("ppGB"),p=n("UMSQ"),h=n("CyXQ"),d=n("d6cI"),f=n("4WOD"),m=n("0rvr"),v=n("JBy8").f,g=n("m/L8").f,y=n("gdVl"),E=n("1E5z"),S=n("afO8"),x=S.get,_=S.set,b="ArrayBuffer",w="DataView",C="Wrong index",T=r.ArrayBuffer,I=T,M=r.DataView,A=M&&M.prototype,N=Object.prototype,k=r.RangeError,P=d.pack,O=d.unpack,R=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},j=function(e){return P(e,23,4)},B=function(e){return P(e,52,8)},U=function(e,t){g(e.prototype,t,{get:function(){return x(this)[t]}})},V=function(e,t,n,r){var s=h(n),i=x(e);if(s+t>i.byteLength)throw k(C);var o=x(i.buffer).bytes,a=s+i.byteOffset,c=o.slice(a,a+t);return r?c:c.reverse()},$=function(e,t,n,r,s,i){var o=h(n),a=x(e);if(o+t>a.byteLength)throw k(C);for(var c=x(a.buffer).bytes,l=o+a.byteOffset,u=r(+s),p=0;p<t;p++)c[l+p]=u[i?p:t-p-1]};if(i){if(!c((function(){T(1)}))||!c((function(){new T(-1)}))||c((function(){return new T,new T(1.5),new T(NaN),T.name!=b}))){for(var W,H=(I=function(e){return l(this,I),new T(h(e))}).prototype=T.prototype,z=v(T),q=0;z.length>q;)(W=z[q++])in I||o(I,W,T[W]);H.constructor=I}m&&f(A)!==N&&m(A,N);var G=new M(new I(2)),K=A.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||a(A,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else I=function(e){l(this,I,b);var t=h(e);_(this,{bytes:y.call(new Array(t),0),byteLength:t}),s||(this.byteLength=t)},M=function(e,t,n){l(this,M,w),l(e,I,w);var r=x(e).byteLength,i=u(t);if(i<0||i>r)throw k("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw k("Wrong length");_(this,{buffer:e,byteLength:n,byteOffset:i}),s||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},s&&(U(I,"byteLength"),U(M,"buffer"),U(M,"byteLength"),U(M,"byteOffset")),a(M.prototype,{getInt8:function(e){return V(this,1,e)[0]<<24>>24},getUint8:function(e){return V(this,1,e)[0]},getInt16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){$(this,1,e,R,t)},setUint8:function(e,t){$(this,1,e,R,t)},setInt16:function(e,t){$(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){$(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){$(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){$(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){$(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){$(this,8,e,B,t,arguments.length>2?arguments[2]:void 0)}});E(I,b),E(M,w),e.exports={ArrayBuffer:I,DataView:M}},Z4nd:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("fXLg");r({target:"WeakSet",proto:!0,real:!0,forced:s},{addAll:function(){return i.apply(this,arguments)}})},ZJ55:function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},ZJLg:function(e,t,n){"use strict";var r=n("G1Vw").IteratorPrototype,s=n("2RDa"),i=n("uSMZ"),o=n("shqn"),a=n("pz+c"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=s(r,{next:i(1,n)}),o(e,l,!1,!0),a[l]=c,e}},ZOXb:function(e,t,n){"use strict";var r=n("0Dky"),s=n("DMt2").start,i=Math.abs,o=Date.prototype,a=o.getTime,c=o.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+s(i(t),r?6:4,0)+"-"+s(e.getUTCMonth()+1,2,0)+"-"+s(e.getUTCDate(),2,0)+"T"+s(e.getUTCHours(),2,0)+":"+s(e.getUTCMinutes(),2,0)+":"+s(e.getUTCSeconds(),2,0)+"."+s(n,3,0)+"Z"}:c},ZRqE:function(e,t,n){var r=n("vVmn"),s=n("aAjO");e.exports=Object.keys||function(e){return r(e,s)}},ZUd8:function(e,t,n){var r=n("ppGB"),s=n("HYAF"),i=function(e){return function(t,n){var i,o,a=String(s(t)),c=r(n),l=a.length;return c<0||c>=l?e?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===l||(o=a.charCodeAt(c+1))<56320||o>57343?e?a.charAt(c):i:e?a.slice(c,c+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},ZWaQ:function(e,t,n){"use strict";var r=n("m/L8").f,s=n("fHMY"),i=n("4syw"),o=n("A2ZE"),a=n("GarU"),c=n("ImZN"),l=n("fdAy"),u=n("JiZb"),p=n("g6v/"),h=n("8YOa").fastKey,d=n("afO8"),f=d.set,m=d.getterFor;e.exports={getConstructor:function(e,t,n,l){var u=e((function(e,r){a(e,u,t),f(e,{type:t,index:s(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&c(r,e[l],e,n)})),d=m(t),v=function(e,t,n){var r,s,i=d(e),o=g(e,t);return o?o.value=n:(i.last=o={index:s=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=o),r&&(r.next=o),p?i.size++:e.size++,"F"!==s&&(i.index[s]=o)),e},g=function(e,t){var n,r=d(e),s=h(t);if("F"!==s)return r.index[s];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=d(t),r=g(t,e);if(r){var s=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=s),s&&(s.previous=i),n.first==r&&(n.first=s),n.last==r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=d(this),r=o(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),p&&r(u.prototype,"size",{get:function(){return d(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",s=m(t),i=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:s(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},ZY7T:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("SEBh"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{intersection:function(e){var t=o(this),n=new(c(t,i("Set"))),r=a(t.has),s=a(n.add);return l(e,(function(e){r.call(t,e)&&s.call(n,e)})),n}})},ZfDv:function(e,t,n){var r=n("hh1v"),s=n("6LWA"),i=n("tiKp")("species");e.exports=function(e,t){var n;return s(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!s(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},Zk8X:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sup")},{sup:function(){return s(this,"sup","","")}})},ZsH6:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=n("4WOD"),a=s.has,c=s.get,l=s.toKey,u=function(e,t,n){if(a(e,t,n))return c(e,t,n);var r=o(t);return null!==r?u(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return u(e,i(t),n)}})},"a5/B":function(e,t,n){n("I+eb")({target:"Math",stat:!0},{umulh:function(e,t){var n=65535,r=+e,s=+t,i=r&n,o=s&n,a=r>>>16,c=s>>>16,l=(a*o>>>0)+(i*o>>>16);return a*c+(l>>>16)+((i*c>>>0)+(l&n)>>>16)}})},a57n:function(e,t,n){n("dG/n")("search")},a5NK:function(e,t,n){var r=n("I+eb"),s=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return s(e)*i}})},aAjO:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},aJMj:function(e,t,n){var r=n("T69T"),s=n("/Ybd"),i=n("uSMZ");e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},aWmh:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n},afO8:function(e,t,n){var r,s,i,o=n("f5p1"),a=n("2oRo"),c=n("hh1v"),l=n("kRJp"),u=n("UTVS"),p=n("93I0"),h=n("0BK2"),d=a.WeakMap;if(o){var f=new d,m=f.get,v=f.has,g=f.set;r=function(e,t){return g.call(f,e,t),t},s=function(e){return m.call(f,e)||{}},i=function(e){return v.call(f,e)}}else{var y=p("state");h[y]=!0,r=function(e,t){return l(e,y,t),t},s=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},apDx:function(e,t,n){n("dG/n")("dispose")},b1O7:function(e,t,n){var r=n("g6v/"),s=n("33Wh"),i=n("/GqU"),o=n("0eef").f,a=function(e){return function(t){for(var n,a=i(t),c=s(a),l=c.length,u=0,p=[];l>u;)n=c[u++],r&&!o.call(a,n)||p.push(e?[n,a[n]]:a[n]);return p}};e.exports={entries:a(!0),values:a(!1)}},bWFh:function(e,t,n){"use strict";var r=n("I+eb"),s=n("2oRo"),i=n("lMq5"),o=n("busE"),a=n("8YOa"),c=n("ImZN"),l=n("GarU"),u=n("hh1v"),p=n("0Dky"),h=n("HH4o"),d=n("1E5z"),f=n("cVYH");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=s[e],E=y&&y.prototype,S=y,x={},_=function(e){var t=E[e];o(E,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(v||E.forEach&&!p((function(){(new y).entries().next()})))))S=n.getConstructor(t,e,m,g),a.REQUIRED=!0;else if(i(e,!0)){var b=new S,w=b[g](v?{}:-0,1)!=b,C=p((function(){b.has(1)})),T=h((function(e){new y(e)})),I=!v&&p((function(){for(var e=new y,t=5;t--;)e[g](t,t);return!e.has(-0)}));T||((S=t((function(t,n){l(t,S,e);var r=f(new y,t,S);return null!=n&&c(n,r[g],r,m),r}))).prototype=E,E.constructor=S),(C||I)&&(_("delete"),_("has"),m&&_("get")),(I||w)&&_(g),v&&E.clear&&delete E.clear}return x[e]=S,r({global:!0,forced:S!=y},x),d(S,e),v||n.setStrong(S,e,m),S}},bdeN:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=n("4WOD"),a=s.has,c=s.toKey,l=function(e,t,n){if(a(e,t,n))return!0;var r=o(t);return null!==r&&l(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return l(e,i(t),n)}})},brp2:function(e,t,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(e,t,n){var r=n("2oRo"),s=n("kRJp"),i=n("UTVS"),o=n("zk60"),a=n("iSVu"),c=n("afO8"),l=c.get,u=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,a){var c=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||s(n,"name",t),u(n).source=p.join("string"==typeof t?t:"")),e!==r?(c?!h&&e[t]&&(l=!0):delete e[t],l?e[t]=n:s(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a(this)}))},busr:function(e,t){t.f=Object.getOwnPropertySymbols},c162:function(e,t,n){"use strict";var r=n("67WC"),s=n("gdVl"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return s.apply(i(this),arguments)}))},c9m3:function(e,t,n){n("RNIs")("flatMap")},cDke:function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("BX/b").f;r({target:"Object",stat:!0,forced:s((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},cGxN:function(e,t,n){n("wLYn"),n("sMBO"),n("tW5y");var r=n("Qo9l");e.exports=r.Function},cNHa:function(e,t,n){var r=n("ftKg");e.exports=r},cOPa:function(e,t,n){var r=n("I+eb"),s=Math.min,i=Math.max;r({target:"Math",stat:!0},{clamp:function(e,t,n){return s(n,i(t,e))}})},cVYH:function(e,t,n){var r=n("hh1v"),s=n("0rvr");e.exports=function(e,t,n){var i,o;return s&&"function"==typeof(i=t.constructor)&&i!==n&&r(o=i.prototype)&&o!==n.prototype&&s(e,o),e}},cZY6:function(e,t,n){var r=n("rG8t");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},cfiF:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("Cg3G");r({target:"WeakMap",proto:!0,real:!0,forced:s},{deleteAll:function(){return i.apply(this,arguments)}})},ctDJ:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("A2ZE"),l=n("SEBh"),u=n("WGBp"),p=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{map:function(e){var t=o(this),n=u(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),s=new(l(t,i("Set"))),h=a(s.add);return p(n,(function(e){h.call(s,r(e,e,t))}),void 0,!1,!0),s}})},cvf0:function(e,t,n){"use strict";var r=n("67WC").exportTypedArrayMethod,s=n("0Dky"),i=n("2oRo").Uint8Array,o=i&&i.prototype||{},a=[].toString,c=[].join;s((function(){a.call({})}))&&(a=function(){return c.call(this)});var l=o.toString!=a;r("toString",a,l)},cwa4:function(e,t,n){var r=n("rG8t");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},d6cI:function(e,t){var n=1/0,r=Math.abs,s=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,t,c){var l,u,p,h=new Array(c),d=8*c-t-1,f=(1<<d)-1,m=f>>1,v=23===t?s(2,-24)-s(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=r(e))!=e||e===n?(u=e!=e?1:0,l=f):(l=i(o(e)/a),e*(p=s(2,-l))<1&&(l--,p*=2),(e+=l+m>=1?v/p:v*s(2,1-m))*p>=2&&(l++,p/=2),l+m>=f?(u=0,l=f):l+m>=1?(u=(e*p-1)*s(2,t),l+=m):(u=e*s(2,m-1)*s(2,t),l=0));t>=8;h[y++]=255&u,u/=256,t-=8);for(l=l<<t|u,d+=t;d>0;h[y++]=255&l,l/=256,d-=8);return h[--y]|=128*g,h},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,a=(1<<o)-1,c=a>>1,l=o-7,u=i-1,p=e[u--],h=127&p;for(p>>=7;l>0;h=256*h+e[u],u--,l-=8);for(r=h&(1<<-l)-1,h>>=-l,l+=t;l>0;r=256*r+e[u],u--,l-=8);if(0===h)h=1-c;else{if(h===a)return r?NaN:p?-1/0:n;r+=s(2,t),h-=c}return(p?-1:1)*r*s(2,h-t)}}},"dBg+":function(e,t){t.f=Object.getOwnPropertySymbols},"dG/n":function(e,t,n){var r=n("Qo9l"),s=n("UTVS"),i=n("5Tg+"),o=n("m/L8").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},dNT4:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("WGBp"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{every:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return!c(n,(function(e){if(!r(e,e,t))return c.stop()}),void 0,!1,!0).stopped}})},dOgj:function(e,t,n){"use strict";var r=n("I+eb"),s=n("2oRo"),i=n("g6v/"),o=n("iqeF"),a=n("67WC"),c=n("Yhre"),l=n("GarU"),u=n("XGwC"),p=n("kRJp"),h=n("UMSQ"),d=n("CyXQ"),f=n("GC2F"),m=n("wE6v"),v=n("UTVS"),g=n("9d/t"),y=n("hh1v"),E=n("fHMY"),S=n("0rvr"),x=n("JBy8").f,_=n("oHi+"),b=n("tycR").forEach,w=n("JiZb"),C=n("m/L8"),T=n("Bs8V"),I=n("afO8"),M=n("cVYH"),A=I.get,N=I.set,k=C.f,P=T.f,O=Math.round,R=s.RangeError,D=c.ArrayBuffer,F=c.DataView,L=a.NATIVE_ARRAY_BUFFER_VIEWS,j=a.TYPED_ARRAY_TAG,B=a.TypedArray,U=a.TypedArrayPrototype,V=a.aTypedArrayConstructor,$=a.isTypedArray,W="BYTES_PER_ELEMENT",H="Wrong length",z=function(e,t){for(var n=0,r=t.length,s=new(V(e))(r);r>n;)s[n]=t[n++];return s},q=function(e,t){k(e,t,{get:function(){return A(this)[t]}})},G=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},K=function(e,t){return $(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Z=function(e,t){return K(e,t=m(t,!0))?u(2,e[t]):P(e,t)},X=function(e,t,n){return!(K(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?k(e,t,n):(e[t]=n.value,e)};i?(L||(T.f=Z,C.f=X,q(U,"buffer"),q(U,"byteOffset"),q(U,"byteLength"),q(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Z,defineProperty:X}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,a=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,m=s[a],v=m,g=v&&v.prototype,C={},T=function(e,t){k(e,t,{get:function(){return function(e,t){var n=A(e);return n.view[c](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var s=A(e);n&&(r=(r=O(r))<0?0:r>255?255:255&r),s.view[u](t*i+s.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};L?o&&(v=t((function(e,t,n,r){return l(e,v,a),M(y(t)?G(t)?void 0!==r?new m(t,f(n,i),r):void 0!==n?new m(t,f(n,i)):new m(t):$(t)?z(v,t):_.call(v,t):new m(d(t)),e,v)})),S&&S(v,B),b(x(m),(function(e){e in v||p(v,e,m[e])})),v.prototype=g):(v=t((function(e,t,n,r){l(e,v,a);var s,o,c,u=0,p=0;if(y(t)){if(!G(t))return $(t)?z(v,t):_.call(v,t);s=t,p=f(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw R(H);if((o=m-p)<0)throw R(H)}else if((o=h(r)*i)+p>m)throw R(H);c=o/i}else c=d(t),s=new D(o=c*i);for(N(e,{buffer:s,byteOffset:p,byteLength:o,length:c,view:new F(s)});u<c;)T(e,u++)})),S&&S(v,B),g=v.prototype=E(U)),g.constructor!==v&&p(g,"constructor",v),j&&p(g,j,a),C[a]=v,r({global:!0,forced:v!=m,sham:!L},C),W in v||p(v,W,i),W in g||p(g,W,i),w(a)}):e.exports=function(){}},"eDl+":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eDxR:function(e,t,n){var r=n("Tskq"),s=n("ENF9"),i=n("VpIT")("metadata"),o=i.store||(i.store=new s),a=function(e,t,n){var s=o.get(e);if(!s){if(!n)return;o.set(e,s=new r)}var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}return i};e.exports={store:o,getMap:a,has:function(e,t,n){var r=a(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=a(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){a(n,r,!0).set(e,t)},keys:function(e,t){var n=a(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},eJiR:function(e,t,n){var r=n("I+eb"),s=n("jrUv"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=s(e=+e),n=s(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},eO0o:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{imulh:function(e,t){var n=65535,r=+e,s=+t,i=r&n,o=s&n,a=r>>16,c=s>>16,l=(a*o>>>0)+(i*o>>>16);return a*c+(l>>16)+((i*c>>>0)+(l&n)>>16)}})},eajv:function(e,t,n){var r=n("I+eb"),s=Math.asinh,i=Math.log,o=Math.sqrt;r({target:"Math",stat:!0,forced:!(s&&1/s(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+o(t*t+1)):t}})},eoL8:function(e,t,n){var r=n("I+eb"),s=n("g6v/");r({target:"Object",stat:!0,forced:!s,sham:!s},{defineProperty:n("m/L8").f})},erNl:function(e,t,n){var r=n("ezU2");e.exports=Array.isArray||function(e){return"Array"==r(e)}},ewvW:function(e,t,n){var r=n("HYAF");e.exports=function(e){return Object(r(e))}},ezU2:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},f3jH:function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=n("4WOD");r({target:"Reflect",stat:!0,sham:!n("4Xet")},{getPrototypeOf:function(e){return i(s(e))}})},f5p1:function(e,t,n){var r=n("2oRo"),s=n("iSVu"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(s(i))},fHMY:function(e,t,n){var r,s=n("glrk"),i=n("N+g0"),o=n("eDl+"),a=n("0BK2"),c=n("G+Rx"),l=n("zBJ4"),u=n("93I0"),p=u("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"</"+"script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(s){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=o.length;n--;)delete f.prototype[o[n]];return f()};a[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=s(e),n=new h,h.prototype=null,n[p]=e):n=f(),void 0===t?n:i(n,t)}},fN96:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ZUd8").charAt;r({target:"String",proto:!0},{at:function(e){return s(this,e)}})},fXLg:function(e,t,n){"use strict";var r=n("glrk"),s=n("HAuM");e.exports=function(){for(var e=r(this),t=s(e.add),n=0,i=arguments.length;n<i;n++)t.call(e,arguments[n]);return e}},fbCW:function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").find,i=n("RNIs"),o=n("rkAj"),a="find",c=!0,l=o(a);a in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!l},{find:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},fdAy:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ntOU"),i=n("4WOD"),o=n("0rvr"),a=n("1E5z"),c=n("kRJp"),l=n("busE"),u=n("tiKp"),p=n("xDBR"),h=n("P4y1"),d=n("rpNk"),f=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=u("iterator"),g="keys",y="values",E="entries",S=function(){return this};e.exports=function(e,t,n,u,d,x,_){s(n,t,u);var b,w,C,T=function(e){if(e===d&&k)return k;if(!m&&e in A)return A[e];switch(e){case g:case y:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",M=!1,A=e.prototype,N=A[v]||A["@@iterator"]||d&&A[d],k=!m&&N||T(d),P="Array"==t&&A.entries||N;if(P&&(b=i(P.call(new e)),f!==Object.prototype&&b.next&&(p||i(b)===f||(o?o(b,f):"function"!=typeof b[v]&&c(b,v,S)),a(b,I,!0,!0),p&&(h[I]=S))),d==y&&N&&N.name!==y&&(M=!0,k=function(){return N.call(this)}),p&&!_||A[v]===k||c(A,v,k),h[t]=k,d)if(w={values:T(y),keys:x?k:T(g),entries:T(E)},_)for(C in w)(m||M||!(C in A))&&l(A,C,w[C]);else r({target:t,proto:!0,forced:m||M},w);return w}},fhKU:function(e,t,n){var r=n("2oRo"),s=n("WKiH").trim,i=n("WJkJ"),o=r.parseFloat,a=1/o(i+"-0")!=-1/0;e.exports=a?function(e){var t=s(String(e)),n=o(t);return 0===n&&"-"==t.charAt(0)?-0:n}:o},ftKg:function(e,t,n){n("brp2"),n("9LPj"),n("rMz7"),n("DQNa"),n("7+zs");var r=n("Qo9l");e.exports=r.Date},ftMj:function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=n("hh1v"),o=n("UTVS"),a=n("0Dky"),c=n("m/L8"),l=n("Bs8V"),u=n("4WOD"),p=n("XGwC");r({target:"Reflect",stat:!0,forced:a((function(){var e=c.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function e(t,n,r){var a,h,d=arguments.length<4?t:arguments[3],f=l.f(s(t),n);if(!f){if(i(h=u(t)))return e(h,n,r,d);f=p(0)}if(o(f,"value")){if(!1===f.writable||!i(d))return!1;if(a=l.f(d,n)){if(a.get||a.set||!1===a.writable)return!1;a.value=r,c.f(d,n,a)}else c.f(d,n,p(0,r));return!0}return void 0!==f.set&&(f.set.call(d,r),!0)}})},"g+bu":function(e,t,n){var r=n("I+eb"),s=n("6LWA"),i=Object.isFrozen,o=function(e,t){if(!i||!s(e)||!i(e))return!1;for(var n,r=0,o=e.length;r<o;)if(!("string"==typeof(n=e[r++])||t&&void 0===n))return!1;return 0!==o};r({target:"Array",stat:!0},{isTemplateObject:function(e){if(!o(e,!0))return!1;var t=e.raw;return!(t.length!==e.length||!o(t,!1))}})},"g6v/":function(e,t,n){var r=n("0Dky");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},g7ye:function(e,t,n){var r=n("wA6s"),s=n("yprU"),i=n("F26l"),o=s.toKey,a=s.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:o(arguments[3]);a(e,t,i(n),r)}})},g9hI:function(e,t){e.exports=!1},"gAm/":function(e,t,n){n("dG/n")("replaceAll")},gOCb:function(e,t,n){n("dG/n")("replace")},gXIK:function(e,t,n){n("dG/n")("toPrimitive")},gbiT:function(e,t,n){n("dG/n")("unscopables")},gdVl:function(e,t,n){"use strict";var r=n("ewvW"),s=n("I8vh"),i=n("UMSQ");e.exports=function(e){for(var t=r(this),n=i(t.length),o=arguments.length,a=s(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=void 0===c?n:s(c,n);l>a;)t[a++]=e;return t}},glrk:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},gn9T:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!r.call({1:2},1);t.f=i?function(e){var t=s(this,e);return!!t&&t.enumerable}:r},gvgV:function(e,t,n){"use strict";var r=n("67WC"),s=n("TWQb").includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},hBjN:function(e,t,n){"use strict";var r=n("wE6v"),s=n("m/L8"),i=n("XGwC");e.exports=function(e,t,n){var o=r(t);o in e?s.f(e,o,i(0,n)):e[o]=n}},hByQ:function(e,t,n){"use strict";var r=n("14Sl"),s=n("glrk"),i=n("HYAF"),o=n("Ep9I"),a=n("FMNM");r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=s(e),c=String(this),l=i.lastIndex;o(l,0)||(i.lastIndex=0);var u=a(i,c);return o(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},hDyC:function(e,t,n){"use strict";var r=n("I+eb"),s=n("DMt2").end;r({target:"String",proto:!0,forced:n("mgyK")},{padEnd:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},hMMk:function(e,t,n){n("dOgj")("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"hN/g":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("Cp41"),n("2GZm"),n("vlXf"),n("AX+I"),n("4Lgl"),n("ivno"),n("YRDK"),n("86Ul"),n("cNHa"),n("5Q4k"),n("XSBQ"),n("l6Ro"),n("R7xg"),n("EmVM"),n("qtlZ"),n("61XD"),n("vpAl"),n("pDpN"),n("1uSB"),n("uAzH")},hXpO:function(e,t,n){var r=n("HYAF"),s=/"/g;e.exports=function(e,t,n,i){var o=String(r(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(i).replace(s,""")+'"'),a+">"+o+"</"+t+">"}},hcok:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("SEBh"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{difference:function(e){var t=o(this),n=new(c(t,i("Set")))(t),r=a(n.delete);return l(e,(function(e){r.call(n,e)})),n}})},hdsk:function(e,t,n){"use strict";var r,s=n("ocAm"),i=n("8aNu"),o=n("M7Xk"),a=n("wdMf"),c=n("DAme"),l=n("6XUM"),u=n("XH/I").enforce,p=n("yaK9"),h=!s.ActiveXObject&&"ActiveXObject"in s,d=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=a("WeakMap",f,c);if(p&&h){r=c.getConstructor(f,"WeakMap",!0),o.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,E=v.get,S=v.set;i(v,{delete:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)?E.call(this,e):t.frozen.get(e)}return E.call(this,e)},set:function(e,t){if(l(e)&&!d(e)){var n=u(this);n.frozen||(n.frozen=new r),y.call(this,e)?S.call(this,e,t):n.frozen.set(e,t)}else S.call(this,e,t);return this}})}},hh1v:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},hmpk:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},i4U9:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},i5pp:function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=n("O741"),o=n("0rvr");o&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){s(e),i(t);try{return o(e,t),!0}catch(n){return!1}}})},i6QF:function(e,t,n){n("I+eb")({target:"Number",stat:!0},{isInteger:n("Xol8")})},i85Z:function(e,t,n){var r=n("U+kB");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},iIM6:function(e,t,n){"use strict";var r=n("g6v/"),s=n("RNIs"),i=n("ewvW"),o=n("UMSQ"),a=n("m/L8").f;r&&!("lastIndex"in[])&&(a(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(this),t=o(e.length);return 0==t?0:t-1}}),s("lastIndex"))},iSVu:function(e,t,n){var r=n("xs3f"),s=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return s.call(e)}),e.exports=r.inspectSource},ihrJ:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ImZN"),i=n("HAuM");r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;i(t);var r=i(n.has),o=i(n.get),a=i(n.set);return s(e,(function(e){var s=t(e);r.call(n,s)?o.call(n,s).push(e):a.call(n,s,[e])})),n}})},ilnZ:function(e,t,n){n("dOgj")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},inlA:function(e,t,n){"use strict";var r,s=n("I+eb"),i=n("Bs8V").f,o=n("UMSQ"),a=n("WjRb"),c=n("HYAF"),l=n("qxPZ"),u=n("xDBR"),p="".endsWith,h=Math.min,d=l("endsWith");s({target:"String",proto:!0,forced:!!(u||d||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!d},{endsWith:function(e){var t=String(c(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:h(o(n),r),i=String(e);return p?p.call(t,i,s):t.slice(s-i.length,s)===i}})},ipMl:function(e,t,n){var r=n("F26l");e.exports=function(e,t,n,s){try{return s?t(r(n)[0],n[1]):t(n)}catch(o){var i=e.return;throw void 0!==i&&r(i.call(e)),o}}},iqWW:function(e,t,n){"use strict";var r=n("ZUd8").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},iqeF:function(e,t,n){var r=n("2oRo"),s=n("0Dky"),i=n("HH4o"),o=n("67WC").NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,c=r.Int8Array;e.exports=!o||!s((function(){c(1)}))||!s((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||s((function(){return 1!==new c(new a(2),1,void 0).length}))},ivno:function(e,t,n){var r=n("7sbD");e.exports=r,n("vzwy")},iwkZ:function(e,t,n){n("dOgj")("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},jrUv:function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},jt2F:function(e,t,n){n("dG/n")("matchAll")},kNcU:function(e,t,n){var r=n("I+eb"),s=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return s(e)/i}})},kOOl:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},kRJp:function(e,t,n){var r=n("g6v/"),s=n("m/L8"),i=n("XGwC");e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},kSko:function(e,t,n){n("I+eb")({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},kk6e:function(e,t,n){var r=n("tcQx"),s=n("tUdv"),i=n("VCQ8"),o=n("xpLY"),a=n("JafA"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,p=6==e,h=5==e||p;return function(d,f,m,v){for(var g,y,E=i(d),S=s(E),x=r(f,m,3),_=o(S.length),b=0,w=v||a,C=t?w(d,_):n?w(d,0):void 0;_>b;b++)if((h||b in S)&&(y=x(g=S[b],b,E),e))if(t)C[b]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return b;case 2:c.call(C,g)}else if(u)return!1;return p?-1:l||u?u:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},kmMV:function(e,t,n){"use strict";var r,s,i=n("rW0t"),o=n("n3/R"),a=RegExp.prototype.exec,c=String.prototype.replace,l=a,u=(r=/a/,s=/b*/g,a.call(r,"a"),a.call(s,"a"),0!==r.lastIndex||0!==s.lastIndex),p=o.UNSUPPORTED_Y||o.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(u||h||p)&&(l=function(e){var t,n,r,s,o=this,l=p&&o.sticky,d=i.call(o),f=o.source,m=0,v=e;return l&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(f="(?: "+f+")",v=" "+v,m++),n=new RegExp("^(?:"+f+")",d)),h&&(n=new RegExp("^"+f+"$(?!\\s)",d)),u&&(t=o.lastIndex),r=a.call(l?n:o,v),l?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:u&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),h&&r&&r.length>1&&c.call(r[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r}),e.exports=l},"l/vG":function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("A2ZE"),l=n("SEBh"),u=n("Sssf"),p=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{filter:function(e){var t=o(this),n=u(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),s=new(l(t,i("Map"))),h=a(s.set);return p(n,(function(e,n){r(n,e,t)&&h.call(s,e,n)}),void 0,!0,!0),s}})},l0aJ:function(e,t,n){n("PKPk"),n("pjDv"),n("J30X"),n("Xe3L"),n("ma9I"),n("qHT+"),n("piMb"),n("yyme"),n("TeQF"),n("fbCW"),n("x0AG"),n("BIHw"),n("XbcX"),n("QWBl"),n("yq1k"),n("yXV3"),n("4mDm"),n("oVuX"),n("uqXc"),n("2B1R"),n("E9XD"),n("9N29"),n("Junv"),n("+2oP"),n("Rfxz"),n("ToJy"),n("94Xl"),n("pDQq"),n("QGkA"),n("c9m3");var r=n("Qo9l");e.exports=r.Array},l2dK:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fontcolor")},{fontcolor:function(e){return s(this,"font","color",e)}})},l6Ro:function(e,t,n){var r=n("Xv9K");n("zu+z"),n("5921"),n("wgYD"),n("R3/m"),n("l/vG"),n("0q/z"),n("n5pg"),n("ihrJ"),n("Q7Pz"),n("unQa"),n("Vnov"),n("nIe3"),n("CUyW"),n("qc1c"),n("VOz1"),n("Thag"),n("9D6x"),n("uIHF"),n("tCPV"),e.exports=r},lEou:function(e,t,n){n("dG/n")("toStringTag")},lMq5:function(e,t,n){var r=n("0Dky"),s=/#|\.prototype\./,i=function(e,t){var n=a[o(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},o=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},lehK:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var s=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((s&i|(s|i)&~(s+i>>>0))>>>31)|0}})},lmH4:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("mh/w"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{isSubsetOf:function(e){var t=c(this),n=o(e),r=n.has;return"function"!=typeof r&&(n=new(i("Set"))(e),r=a(n.has)),!l(t,(function(e){if(!1===r.call(n,e))return l.stop()}),void 0,!1,!0).stopped}})},"m/L8":function(e,t,n){var r=n("g6v/"),s=n("DPsx"),i=n("glrk"),o=n("wE6v"),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(i(e),t=o(t,!0),i(n),s)try{return a(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},m41k:function(e,t,n){var r=n("ocAm"),s=n("yIiL"),i=n("OG5q"),o=n("SDMg"),a=n("U+kB"),c=n("i85Z"),l=s("wks"),u=r.Symbol,p=c?u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(a&&i(u,e)?l[e]=u[e]:l[e]=p("Symbol."+e)),l[e]}},m92n:function(e,t,n){var r=n("glrk");e.exports=function(e,t,n,s){try{return s?t(r(n)[0],n[1]):t(n)}catch(o){var i=e.return;throw void 0!==i&&r(i.call(e)),o}}},mCUB:function(e,t,n){n("rB9j"),n("9tb/"),n("2A+d"),n("9bJ7"),n("inlA"),n("JTJg"),n("Rm1S"),n("ofBz"),n("hDyC"),n("TZCg"),n("OM9Z"),n("UxlC"),n("hByQ"),n("EnZy"),n("LKBx"),n("SYor"),n("7ueG"),n("HiXI"),n("PKPk"),n("GKVU"),n("E5NM"),n("BNMt"),n("zHFu"),n("x83w"),n("l2dK"),n("GRPF"),n("xdBZ"),n("mRH6"),n("yWo2"),n("IxXR"),n("TFPT"),n("Zk8X");var r=n("Qo9l");e.exports=r.String},mN5b:function(e,t,n){var r=n("4PyY"),s=n("ezU2"),i=n("m41k")("toStringTag"),o="Arguments"==s(function(){return arguments}());e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:o?s(t):"Object"==(r=s(t))&&"function"==typeof t.callee?"Arguments":r}},mRH6:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("link")},{link:function(e){return s(this,"a","href",e)}})},ma9I:function(e,t,n){"use strict";var r=n("I+eb"),s=n("0Dky"),i=n("6LWA"),o=n("hh1v"),a=n("ewvW"),c=n("UMSQ"),l=n("hBjN"),u=n("ZfDv"),p=n("Hd5f"),h=n("tiKp"),d=n("LQDL"),f=h("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=d>=51||!s((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),y=p("concat"),E=function(e){if(!o(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!g||!y},{concat:function(e){var t,n,r,s,i,o=a(this),p=u(o,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],E(i)){if(h+(s=c(i.length))>m)throw TypeError(v);for(n=0;n<s;n++,h++)n in i&&l(p,h,i[n])}else{if(h>=m)throw TypeError(v);l(p,h++,i)}return p.length=h,p}})},mgyK:function(e,t,n){var r=n("NC/Y");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},"mh/w":function(e,t,n){var r=n("glrk"),s=n("NaFW");e.exports=function(e){var t=s(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},mjWP:function(e,t,n){n("YGK4"),n("07d7"),n("PKPk"),n("3bBZ");var r=n("Qo9l");e.exports=r.Set},moxL:function(e,t,n){"use strict";var r=n("67WC"),s=n("FF6l"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return s.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"n/mU":function(e,t,n){var r=n("I+eb"),s=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(s&&1/s(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},"n3/R":function(e,t,n){"use strict";var r=n("0Dky");function s(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=s("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=s("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},n5pg:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("Sssf"),c=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{findKey:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop(e)}),void 0,!0,!0).result}})},nIH4:function(e,t,n){"use strict";var r=n("/Ybd").f,s=n("2RDa"),i=n("8aNu"),o=n("tcQx"),a=n("SM6+"),c=n("Rn6E"),l=n("WijE"),u=n("JHhb"),p=n("T69T"),h=n("M7Xk").fastKey,d=n("XH/I"),f=d.set,m=d.getterFor;e.exports={getConstructor:function(e,t,n,l){var u=e((function(e,r){a(e,u,t),f(e,{type:t,index:s(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&c(r,e[l],e,n)})),d=m(t),v=function(e,t,n){var r,s,i=d(e),o=g(e,t);return o?o.value=n:(i.last=o={index:s=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=o),r&&(r.next=o),p?i.size++:e.size++,"F"!==s&&(i.index[s]=o)),e},g=function(e,t){var n,r=d(e),s=h(t);if("F"!==s)return r.index[s];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=d(t),r=g(t,e);if(r){var s=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=s),s&&(s.previous=i),n.first==r&&(n.first=s),n.last==r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=d(this),r=o(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),p&&r(u.prototype,"size",{get:function(){return d(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",s=m(t),i=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:s(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},nIe3:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("0GbY"),o=n("glrk"),a=n("HAuM"),c=n("A2ZE"),l=n("SEBh"),u=n("Sssf"),p=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{mapKeys:function(e){var t=o(this),n=u(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),s=new(l(t,i("Map"))),h=a(s.set);return p(n,(function(e,n){h.call(s,r(n,e,t),n)}),void 0,!0,!0),s}})},nN1m:function(e,t,n){n("g7ye"),n("NR1a"),n("Bb/w"),n("KYLi"),n("UbkO"),n("Icrz"),n("/sWL"),n("T+gH"),n("B4ea")},nkod:function(e,t,n){var r=n("I+eb"),s=n("g6v/"),i=n("glrk"),o=n("Bs8V");r({target:"Reflect",stat:!0,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o.f(i(e),t)}})},ntOU:function(e,t,n){"use strict";var r=n("rpNk").IteratorPrototype,s=n("fHMY"),i=n("XGwC"),o=n("1E5z"),a=n("P4y1"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=s(r,{next:i(1,n)}),o(e,l,!1,!0),a[l]=c,e}},ny8l:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},"oHi+":function(e,t,n){var r=n("ewvW"),s=n("UMSQ"),i=n("NaFW"),o=n("6VoE"),a=n("A2ZE"),c=n("67WC").aTypedArrayConstructor;e.exports=function(e){var t,n,l,u,p,h,d=r(e),f=arguments.length,m=f>1?arguments[1]:void 0,v=void 0!==m,g=i(d);if(null!=g&&!o(g))for(h=(p=g.call(d)).next,d=[];!(u=h.call(p)).done;)d.push(u.value);for(v&&f>2&&(m=a(m,arguments[2],2)),n=s(d.length),l=new(c(this))(n),t=0;n>t;t++)l[t]=v?m(d[t],t):d[t];return l}},oVuX:function(e,t,n){"use strict";var r=n("I+eb"),s=n("RK3t"),i=n("/GqU"),o=n("pkCn"),a=[].join,c=s!=Object,l=o("join",",");r({target:"Array",proto:!0,forced:c||!l},{join:function(e){return a.call(i(this),void 0===e?",":e)}})},ocAm:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("aWmh"))},ofBz:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ntOU"),i=n("HYAF"),o=n("UMSQ"),a=n("HAuM"),c=n("glrk"),l=n("xrYK"),u=n("ROdP"),p=n("rW0t"),h=n("kRJp"),d=n("0Dky"),f=n("tiKp"),m=n("SEBh"),v=n("iqWW"),g=n("afO8"),y=n("xDBR"),E=f("matchAll"),S="RegExp String",x="RegExp String Iterator",_=g.set,b=g.getterFor(x),w=RegExp.prototype,C=w.exec,T="".matchAll,I=!!T&&!d((function(){"a".matchAll(/./)})),M=s((function(e,t,n,r){_(this,{type:x,regexp:e,string:t,global:n,unicode:r,done:!1})}),S,(function(){var e=b(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return C.call(e,t)}(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=v(n,o(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),A=function(e){var t,n,r,s,i,a,l=c(this),u=String(e);return t=m(l,RegExp),void 0===(n=l.flags)&&l instanceof RegExp&&!("flags"in w)&&(n=p.call(l)),r=void 0===n?"":String(n),s=new t(t===RegExp?l.source:l,r),i=!!~r.indexOf("g"),a=!!~r.indexOf("u"),s.lastIndex=o(l.lastIndex),new M(s,u,i,a)};r({target:"String",proto:!0,forced:I},{matchAll:function(e){var t,n,r,s=i(this);if(null!=e){if(u(e)&&!~String(i("flags"in w?e.flags:p.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(I)return T.apply(s,arguments);if(void 0===(n=e[E])&&y&&"RegExp"==l(e)&&(n=A),null!=n)return a(n).call(e,s)}else if(I)return T.apply(s,arguments);return t=String(s),r=new RegExp(e,"g"),y?A.call(r,t):r[E](t)}}),y||E in w||h(w,E,A)},or9q:function(e,t,n){"use strict";var r=n("6LWA"),s=n("UMSQ"),i=n("A2ZE"),o=function(e,t,n,a,c,l,u,p){for(var h,d=c,f=0,m=!!u&&i(u,p,3);f<a;){if(f in n){if(h=m?m(n[f],f,t):n[f],l>0&&r(h))d=o(e,t,h,s(h.length),d,l-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=h}d++}f++}return d};e.exports=o},"p/S5":function(e,t,n){n("dG/n")("asyncDispose")},pDQq:function(e,t,n){"use strict";var r=n("I+eb"),s=n("I8vh"),i=n("ppGB"),o=n("UMSQ"),a=n("ewvW"),c=n("ZfDv"),l=n("hBjN"),u=n("Hd5f"),p=n("rkAj"),h=u("splice"),d=p("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,m=Math.min,v=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!h||!d},{splice:function(e,t){var n,r,u,p,h,d,y=a(this),E=o(y.length),S=s(e,E),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=E-S):(n=x-2,r=m(f(i(t),0),E-S)),E+n-r>v)throw TypeError(g);for(u=c(y,r),p=0;p<r;p++)(h=S+p)in y&&l(u,p,y[h]);if(u.length=r,n<r){for(p=S;p<E-r;p++)d=p+n,(h=p+r)in y?y[d]=y[h]:delete y[d];for(p=E;p>E-r+n;p--)delete y[p-1]}else if(n>r)for(p=E-r;p>S;p--)d=p+n-1,(h=p+r-1)in y?y[d]=y[h]:delete y[d];for(p=0;p<n;p++)y[p+S]=arguments[p+2];return y.length=E-r+n,u}})},pDpN:function(e,t,n){(function(r){var s,i;void 0===(i="function"==typeof(s=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const s=e.__Zone_symbol_prefix||"__zone_symbol__";function i(e){return s+e}const o=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==A.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 e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return k.zone}static get currentTask(){return P}static __load_patch(t,s){if(A.hasOwnProperty(t)){if(o)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const i="Zone:"+t;n(i),A[t]=s(e,a,N),r(i,i)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{k=k.parent}}runGuarded(e,t=null,n,r){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{k=k.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||E).name+"; Execution: "+this.name+")");if(e.state===S&&(e.type===M||e.type===I))return;const r=e.state!=b;r&&e._transitionTo(b,_),e.runCount++;const s=P;P=e,k={parent:k,zone:this};try{e.type==I&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==S&&e.state!==C&&(e.type==M||e.data&&e.data.isPeriodic?r&&e._transitionTo(_,b):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(S,b,S))),k=k.parent,P=s}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(x,S);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(C,x,S),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==x&&e._transitionTo(_,x),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new u(T,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,s){return this.scheduleTask(new u(I,e,t,n,r,s))}scheduleEventTask(e,t,n,r,s){return this.scheduleTask(new u(M,e,t,n,r,s))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||E).name+"; Execution: "+this.name+")");e._transitionTo(w,_,b);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(C,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(S,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}a.__symbol__=i;const c={name:"",onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,s,i)=>e.invokeTask(n,r,s,i),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask,s=t&&t._hasTaskZS;(r||s)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,s):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],s=n[e]=r+t;if(s<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==s){const t={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this.zone,t)}}}class u{constructor(t,n,r,s,i,o){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=s,this.scheduleFn=i,this.cancelFn=o,!r)throw new Error("callback is not defined");this.callback=r;const a=this;t===M&&s&&s.useG?this.invoke=u.invokeTask:this.invoke=function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),O++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==O&&y(),O--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(S,x)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==S&&(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=i("setTimeout"),h=i("Promise"),d=i("then");let f,m=[],v=!1;function g(t){if(0===O&&0===m.length)if(f||e[h]&&(f=e[h].resolve(0)),f){let e=f[d];e||(e=f.then),e.call(f,y)}else e[p](y,0);t&&m.push(t)}function y(){if(!v){for(v=!0;m.length;){const t=m;m=[];for(let n=0;n<t.length;n++){const r=t[n];try{r.zone.runTask(r,null,null)}catch(e){N.onUnhandledError(e)}}}N.microtaskDrainDone(),v=!1}}const E={name:"NO ZONE"},S="notScheduled",x="scheduling",_="scheduled",b="running",w="canceling",C="unknown",T="microTask",I="macroTask",M="eventTask",A={},N={symbol:i,currentZoneFrame:()=>k,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:g,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(f=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let k={parent:null,zone:new a(null,null)},P=null,O=0;function R(){}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||r),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,s=Object.defineProperty;function i(e){if(e&&e.toString===Object.prototype.toString){const t=e.constructor&&e.constructor.name;return(t||"")+": "+JSON.stringify(e)}return e?e.toString():Object.prototype.toString.call(e)}const o=n.symbol,a=[],c=!0===e[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=o("Promise"),u=o("then"),p="__creationTrace__";n.onUnhandledError=e=>{n.showUncaughtError()&&e&&e.rejection},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){d(e)}}};const h=o("unhandledPromiseRejectionHandler");function d(e){n.onUnhandledError(e);try{const n=t[h];"function"==typeof n&&n.call(this,e)}catch(r){}}function f(e){return e&&e.then}function m(e){return e}function v(e){return L.reject(e)}const g=o("state"),y=o("value"),E=o("finally"),S=o("parentPromiseValue"),x=o("parentPromiseState"),_="Promise.then",b=null,w=!0,C=!1,T=0;function I(e,t){return n=>{try{k(e,t,n)}catch(r){k(e,!1,r)}}}const M=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},A="Promise resolved with itself",N=o("currentTaskTrace");function k(e,r,o){const l=M();if(e===o)throw new TypeError(A);if(e[g]===b){let h=null;try{"object"!=typeof o&&"function"!=typeof o||(h=o&&o.then)}catch(u){return l(()=>{k(e,!1,u)})(),e}if(r!==C&&o instanceof L&&o.hasOwnProperty(g)&&o.hasOwnProperty(y)&&o[g]!==b)O(o),k(e,o[g],o[y]);else if(r!==C&&"function"==typeof h)try{h.call(o,l(I(e,r)),l(I(e,!1)))}catch(u){l(()=>{k(e,!1,u)})()}else{e[g]=r;const l=e[y];if(e[y]=o,e[E]===E&&r===w&&(e[g]=e[x],e[y]=e[S]),r===C&&o instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[p];e&&s(o,N,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)R(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&r==C){e[g]=T;let r=o;if(!c)try{throw new Error("Uncaught (in promise): "+i(o)+(o&&o.stack?"\n"+o.stack:""))}catch(u){r=u}r.rejection=o,r.promise=e,r.zone=t.current,r.task=t.currentTask,a.push(r),n.scheduleMicroTask()}}}return e}const P=o("rejectionHandledHandler");function O(e){if(e[g]===T){try{const n=t[P];n&&"function"==typeof n&&n.call(this,{rejection:e[y],promise:e})}catch(n){}e[g]=C;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function R(e,t,n,r,s){O(e);const i=e[g],o=i?"function"==typeof r?r:m:"function"==typeof s?s:v;t.scheduleMicroTask(_,()=>{try{const r=e[y],s=!!n&&E===n[E];s&&(n[S]=r,n[x]=i);const a=t.run(o,void 0,s&&o!==v&&o!==m?[]:[r]);k(n,!0,a)}catch(r){k(n,!1,r)}},n)}const D="function ZoneAwarePromise() { [native code] }",F=function(){};class L{static toString(){return D}static resolve(e){return k(new this(null),w,e)}static reject(e){return k(new this(null),C,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function s(e){t(e)}function i(e){n(e)}for(let o of e)f(o)||(o=this.resolve(o)),o.then(s,i);return r}static all(e){return L.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof L?this:L).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,s=new this((e,t)=>{n=e,r=t}),i=2,o=0;const a=[];for(let l of e){f(l)||(l=this.resolve(l));const e=o;try{l.then(r=>{a[e]=t?t.thenCallback(r):r,i--,0===i&&n(a)},s=>{t?(a[e]=t.errorCallback(s),i--,0===i&&n(a)):r(s)})}catch(c){r(c)}i++,o++}return i-=2,0===i&&n(a),s}constructor(e){const t=this;if(!(t instanceof L))throw new Error("Must be an instanceof Promise.");t[g]=b,t[y]=[];try{e&&e(I(t,w),I(t,C))}catch(n){k(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return L}then(e,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||L);const s=new r(F),i=t.current;return this[g]==b?this[y].push(i,s,e,n):R(this,i,s,e,n),s}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=L);const r=new n(F);r[E]=E;const s=t.current;return this[g]==b?this[y].push(s,r,e,e):R(this,s,r,e,e),r}}L.resolve=L.resolve,L.reject=L.reject,L.race=L.race,L.all=L.all;const j=e[l]=e.Promise,B=t.__symbol__("ZoneAwarePromise");let U=r(e,"Promise");U&&!U.configurable||(U&&delete U.writable,U&&delete U.value,U||(U={configurable:!0,enumerable:!0}),U.get=function(){return e[B]?e[B]:e[l]},U.set=function(t){t===L?e[B]=t:(e[l]=t,t.prototype[u]||$(t),n.setNativePromise(t))},s(e,"Promise",U)),e.Promise=L;const V=o("thenPatched");function $(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const s=t.then;t[u]=s,e.prototype.then=function(e,t){return new L((e,t)=>{s.call(this,e,t)}).then(e,t)},e[V]=!0}function W(e){return function(){let t=e.apply(this,arguments);if(t instanceof L)return t;let n=t.constructor;return n[V]||$(n),t}}if(n.patchThen=$,j){$(j);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=W(t))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,L});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,s=Object.create,i=Array.prototype.slice,o="addEventListener",a="removeEventListener",c=Zone.__symbol__(o),l=Zone.__symbol__(a),u="true",p="false",h=Zone.__symbol__("");function d(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,r,s){return Zone.current.scheduleMacroTask(e,t,n,r,s)}const m=Zone.__symbol__,v="undefined"!=typeof window,g=v?window:void 0,y=v&&g||"object"==typeof self&&self||r,E="removeAttribute",S=[null];function x(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=d(e[n],t+"_"+n));return e}function _(t,n){const r=t.constructor.name;for(let s=0;s<n.length;s++){const i=n[s],o=t[i];if(o){if(!b(e(t,i)))continue;t[i]=(e=>{const t=function(){return e.apply(this,x(arguments,r+"."+i))};return j(t,e),t})(o)}}}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,C=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),T=!C&&!w&&!(!v||!g.HTMLElement),I=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!w&&!(!v||!g.HTMLElement),M={},A=function(e){if(!(e=e||y.event))return;let t=M[e.type];t||(t=M[e.type]=m("ON_PROPERTY"+e.type));const n=this||e.target||y,r=n[t];let s;if(T&&n===g&&"error"===e.type){const t=e;s=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===s&&e.preventDefault()}else s=r&&r.apply(this,arguments),null==s||s||e.preventDefault();return s};function N(n,r,s){let i=e(n,r);if(!i&&s&&e(s,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const o=m("on"+r+"patched");if(n.hasOwnProperty(o)&&n[o])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=r.substr(2);let u=M[l];u||(u=M[l]=m("ON_PROPERTY"+l)),i.set=function(e){let t=this;t||n!==y||(t=y),t&&(t[u]&&t.removeEventListener(l,A),c&&c.apply(t,S),"function"==typeof e?(t[u]=e,t.addEventListener(l,A,!1)):t[u]=null)},i.get=function(){let e=this;if(e||n!==y||(e=y),!e)return null;const t=e[u];if(t)return t;if(a){let t=a&&a.call(this);if(t)return i.set.call(this,t),"function"==typeof e[E]&&e.removeAttribute(r),t}return null},t(n,r,i),n[o]=!0}function k(e,t,n){if(t)for(let r=0;r<t.length;r++)N(e,"on"+t[r],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let r=0;r<t.length;r++)N(e,t[r],n)}}const P=m("originalInstance");function O(e){const n=y[e];if(!n)return;y[m(e)]=n,y[e]=function(){const t=x(arguments,e);switch(t.length){case 0:this[P]=new n;break;case 1:this[P]=new n(t[0]);break;case 2:this[P]=new n(t[0],t[1]);break;case 3:this[P]=new n(t[0],t[1],t[2]);break;case 4:this[P]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},j(y[e],n);const r=new n((function(){}));let s;for(s in r)"XMLHttpRequest"===e&&"responseBlob"===s||function(n){"function"==typeof r[n]?y[e].prototype[n]=function(){return this[P][n].apply(this[P],arguments)}:t(y[e].prototype,n,{set:function(t){"function"==typeof t?(this[P][n]=d(t,e+"."+n),j(this[P][n],t)):this[P][n]=t},get:function(){return this[P][n]}})}(s);for(s in n)"prototype"!==s&&n.hasOwnProperty(s)&&(y[e][s]=n[s])}function R(e,t){"function"==typeof Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){(!r||r.writable&&"function"==typeof r.set)&&(e[n]=t)},enumerable:!r||r.enumerable,configurable:!r||r.configurable})})}let D=!1;function F(t,r,s){let i=t;for(;i&&!i.hasOwnProperty(r);)i=n(i);!i&&t[r]&&(i=t);const o=m(r);let a=null;if(i&&!(a=i[o])&&(a=i[o]=i[r],b(i&&e(i,r)))){const e=s(a,o,r);i[r]=function(){return e(this,arguments)},j(i[r],a),D&&R(a,i[r])}return a}function L(e,t,n){let r=null;function s(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=F(e,t,e=>function(t,r){const i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?f(i.name,r[i.cbIdx],i,s):e.apply(t,r)})}function j(e,t){e[m("OriginalDelegate")]=t}let B=!1,U=!1;function V(){try{const e=g.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function $(){if(B)return U;B=!0;try{const e=g.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(U=!0)}catch(e){}return U}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=m("OriginalDelegate"),r=m("Promise"),s=m("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[s];if(n)return t.call(n)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;const o=Object.prototype.toString,a="[object Promise]";Object.prototype.toString=function(){return this instanceof Promise?a:o.call(this)}});let W=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){W=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(we){W=!1}const H={useG:!0},z={},q={},G=new RegExp("^"+h+"(\\w+)(true|false)$"),K=m("propagationStopped");function Z(e,t){const n=(t?t(e):e)+p,r=(t?t(e):e)+u,s=h+n,i=h+r;z[e]={},z[e][p]=s,z[e][u]=i}function X(e,t,r){const s=r&&r.add||o,i=r&&r.rm||a,c=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",d=m(s),f="."+s+":",v="prependListener",g="."+v+":",y=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const s=e.options;if(s&&"object"==typeof s&&s.once){const r=e.originalDelegate?e.originalDelegate:e.callback;t[i].call(t,n.type,r,s)}},E=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[z[t.type][p]];if(r)if(1===r.length)y(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[K]);r++)y(e[r],n,t)}},S=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[z[t.type][u]];if(r)if(1===r.length)y(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[K]);r++)y(e[r],n,t)}};function x(t,r){if(!t)return!1;let o=!0;r&&void 0!==r.useG&&(o=r.useG);const a=r&&r.vh;let y=!0;r&&void 0!==r.chkDup&&(y=r.chkDup);let x=!1;r&&void 0!==r.rt&&(x=r.rt);let _=t;for(;_&&!_.hasOwnProperty(s);)_=n(_);if(!_&&t[s]&&(_=t),!_)return!1;if(_[d])return!1;const b=r&&r.eventNameToString,w={},T=_[d]=_[s],I=_[m(i)]=_[i],M=_[m(c)]=_[c],A=_[m(l)]=_[l];let N;function k(e,t){return!W&&"object"==typeof e&&e?!!e.capture:W&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}r&&r.prepend&&(N=_[m(r.prepend)]=_[r.prepend]);const P=function(e){return N.call(w.target,w.eventName,e.invoke,w.options)},O=o?function(e){if(!w.isExisting)return T.call(w.target,w.eventName,w.capture?S:E,w.options)}:function(e){return T.call(w.target,w.eventName,e.invoke,w.options)},R=o?function(e){if(!e.isRemoved){const t=z[e.eventName];let n;t&&(n=t[e.capture?u:p]);const r=n&&e.target[n];if(r)for(let s=0;s<r.length;s++)if(r[s]===e){r.splice(s,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return I.call(e.target,e.eventName,e.capture?S:E,e.options)}:function(e){return I.call(e.target,e.eventName,e.invoke,e.options)},D=function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},F=r&&r.diff?r.diff:D,L=Zone[m("BLACK_LISTED_EVENTS")],B=e[m("PASSIVE_EVENTS")],U=function(t,n,s,i,c=!1,l=!1){return function(){const h=this||e;let d=arguments[0];r&&r.transferEventName&&(d=r.transferEventName(d));let f=arguments[1];if(!f)return t.apply(this,arguments);if(C&&"uncaughtException"===d)return t.apply(this,arguments);let m=!1;if("function"!=typeof f){if(!f.handleEvent)return t.apply(this,arguments);m=!0}if(a&&!a(t,f,h,arguments))return;const v=W&&!!B&&-1!==B.indexOf(d),g=k(arguments[2],v);if(L)for(let e=0;e<L.length;e++)if(d===L[e])return v?t.call(h,d,f,g):t.apply(this,arguments);const E=!!g&&("boolean"==typeof g||g.capture),S=!(!g||"object"!=typeof g)&&g.once,x=Zone.current;let _=z[d];_||(Z(d,b),_=z[d]);const T=_[E?u:p];let I,M=h[T],A=!1;if(M){if(A=!0,y)for(let e=0;e<M.length;e++)if(F(M[e],f))return}else M=h[T]=[];const N=h.constructor.name,P=q[N];P&&(I=P[d]),I||(I=N+n+(b?b(d):d)),w.options=g,S&&(w.options.once=!1),w.target=h,w.capture=E,w.eventName=d,w.isExisting=A;const O=o?H:void 0;O&&(O.taskData=w);const R=x.scheduleEventTask(I,f,O,s,i);return w.target=null,O&&(O.taskData=null),S&&(g.once=!0),(W||"boolean"!=typeof R.options)&&(R.options=g),R.target=h,R.capture=E,R.eventName=d,m&&(R.originalDelegate=f),l?M.unshift(R):M.push(R),c?h:void 0}};return _[s]=U(T,f,O,R,x),N&&(_[v]=U(N,g,P,R,x,!0)),_[i]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const s=arguments[2],i=!!s&&("boolean"==typeof s||s.capture),o=arguments[1];if(!o)return I.apply(this,arguments);if(a&&!a(I,o,t,arguments))return;const c=z[n];let l;c&&(l=c[i?u:p]);const d=l&&t[l];if(d)for(let e=0;e<d.length;e++){const r=d[e];if(F(r,o))return d.splice(e,1),r.isRemoved=!0,0===d.length&&(r.allRemoved=!0,t[l]=null,"string"==typeof n)&&(t[h+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),x?t:void 0}return I.apply(this,arguments)},_[c]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const s=[],i=Y(t,b?b(n):n);for(let e=0;e<i.length;e++){const t=i[e];let n=t.originalDelegate?t.originalDelegate:t.callback;s.push(n)}return s},_[l]=function(){const t=this||e;let n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));const e=z[n];if(e){const r=e[p],s=e[u],o=t[r],a=t[s];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const r=e[t];let s=r.originalDelegate?r.originalDelegate:r.callback;this[i].call(this,n,s,r.options)}}if(a){const e=a.slice();for(let t=0;t<e.length;t++){const r=e[t];let s=r.originalDelegate?r.originalDelegate:r.callback;this[i].call(this,n,s,r.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t],r=G.exec(n);let s=r&&r[1];s&&"removeListener"!==s&&this[l].call(this,s)}this[l].call(this,"removeListener")}if(x)return this},j(_[s],T),j(_[i],I),A&&j(_[l],A),M&&j(_[c],M),!0}let _=[];for(let n=0;n<t.length;n++)_[n]=x(t[n],r);return _}function Y(e,t){if(!t){const n=[];for(let r in e){const s=G.exec(r);let i=s&&s[1];if(i&&(!t||i===t)){const t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=z[t];n||(Z(t),n=z[t]);const r=e[n[p]],s=e[n[u]];return r?s?r.concat(s):r.slice():s?s.slice():[]}function Q(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[K]=!0,e&&e.apply(t,n)})}function J(e,t,n,r,s){const i=Zone.__symbol__(r);if(t[i])return;const o=t[i]=t[r];t[r]=function(i,a,c){return a&&a.prototype&&s.forEach((function(t){const s=`${n}.${r}::`+t,i=a.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,s),e._redefineProperty(a.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))})),o.call(t,i,a,c)},e.attachOriginToPatched(t[r],o)}const ee=["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],te=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ne=["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],re=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],se=["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"],ie=["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],oe=["autocomplete","autocompleteerror"],ae=["toggle"],ce=["load"],le=["blur","error","focus","load","resize","scroll","messageerror"],ue=["bounce","finish","start"],pe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],he=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],de=["close","error","open","message"],fe=["error","message"],me=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(ie,oe,ae,ee,te,ne,se);function ve(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const s=r[0].ignoreProperties;return t.filter(e=>-1===s.indexOf(e))}function ge(e,t,n,r){e&&k(e,ve(e,t,n),r)}function ye(e,t){if(C&&!I)return;if(Zone[e.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,s=t.__Zone_ignore_on_properties;if(T){const e=window,t=V?[{target:e,ignoreProperties:["error"]}]:[];ge(e,me.concat(["messageerror"]),s?s.concat(t):s,n(e)),ge(Document.prototype,me,s),void 0!==e.SVGElement&&ge(e.SVGElement.prototype,me,s),ge(Element.prototype,me,s),ge(HTMLElement.prototype,me,s),ge(HTMLMediaElement.prototype,re,s),ge(HTMLFrameSetElement.prototype,te.concat(le),s),ge(HTMLBodyElement.prototype,te.concat(le),s),ge(HTMLFrameElement.prototype,ce,s),ge(HTMLIFrameElement.prototype,ce,s);const r=e.HTMLMarqueeElement;r&&ge(r.prototype,ue,s);const i=e.Worker;i&&ge(i.prototype,fe,s)}const i=t.XMLHttpRequest;i&&ge(i.prototype,pe,s);const o=t.XMLHttpRequestEventTarget;o&&ge(o&&o.prototype,pe,s),"undefined"!=typeof IDBIndex&&(ge(IDBIndex.prototype,he,s),ge(IDBRequest.prototype,he,s),ge(IDBOpenDBRequest.prototype,he,s),ge(IDBDatabase.prototype,he,s),ge(IDBTransaction.prototype,he,s),ge(IDBCursor.prototype,he,s)),r&&ge(WebSocket.prototype,de,s)}Zone.__load_patch("util",(n,r,c)=>{c.patchOnProperties=k,c.patchMethod=F,c.bindArguments=x,c.patchMacroTask=L;const l=r.__symbol__("BLACK_LISTED_EVENTS"),f=r.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[l]=n[f]),n[l]&&(r[l]=r[f]=n[l]),c.patchEventPrototype=Q,c.patchEventTarget=X,c.isIEOrEdge=$,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=s,c.ArraySlice=i,c.patchClass=O,c.wrapWithCurrentZone=d,c.filterProperties=ve,c.attachOriginToPatched=j,c._redefineProperty=Object.defineProperty,c.patchCallbacks=J,c.getGlobalObjects=()=>({globalSources:q,zoneSymbolEventNames:z,eventNames:me,isBrowser:T,isMix:I,isNode:C,TRUE_STR:u,FALSE_STR:p,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:a})});const Ee=m("zoneTask");function Se(e,t,n,r){let s=null,i=null;n+=r;const o={};function a(t){const n=t.data;function r(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete o[n.handleId]:n.handleId&&(n.handleId[Ee]=null))}}return n.args[0]=r,n.handleId=s.apply(e,n.args),t}function c(e){return i(e.data.handleId)}s=F(e,t+=r,n=>function(s,i){if("function"==typeof i[0]){const e={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},n=f(t,i[0],e,a,c);if(!n)return n;const s=n.data.handleId;return"number"==typeof s?o[s]=n:s&&(s[Ee]=n),s&&s.ref&&s.unref&&"function"==typeof s.ref&&"function"==typeof s.unref&&(n.ref=s.ref.bind(s),n.unref=s.unref.bind(s)),"number"==typeof s||s?s:n}return n.apply(e,i)}),i=F(e,n,t=>function(n,r){const s=r[0];let i;"number"==typeof s?i=o[s]:(i=s&&s[Ee],i||(i=s)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof s?delete o[s]:s&&(s[Ee]=null),i.zone.cancelTask(i)):t.apply(e,r)})}function xe(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();if(!n&&!r||!e.customElements||!("customElements"in e))return;const s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];t.patchCallbacks(t,e.customElements,"customElements","define",s)}function _e(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:s,FALSE_STR:i,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=o+(e+i),a=o+(e+s);r[e]={},r[e][i]=t,r[e][s]=a}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}function be(e,t){t.patchEventPrototype(e,t)}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",n="clear";Se(e,t,n,"Timeout"),Se(e,t,n,"Interval"),Se(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Se(e,"request","cancel","AnimationFrame"),Se(e,"mozRequest","mozCancel","AnimationFrame"),Se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++){const s=n[r];F(e,s,(n,r,s)=>function(r,i){return t.current.run(n,e,i,s)})}}),Zone.__load_patch("EventTarget",(e,t,n)=>{be(e,n),_e(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),O("MutationObserver"),O("WebKitMutationObserver"),O("IntersectionObserver"),O("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ye(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{xe(e,n)}),Zone.__load_patch("XHR",(e,t)=>{u(e);const n=m("xhrTask"),r=m("xhrSync"),s=m("xhrListener"),i=m("xhrScheduled"),o=m("xhrURL"),a=m("xhrErrorBeforeScheduled");function u(e){const u=e.XMLHttpRequest;if(!u)return;const p=u.prototype;function h(e){return e[n]}let d=p[c],v=p[l];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[c],v=e[l]}}const g="readystatechange",y="scheduled";function E(e){const r=e.data,o=r.target;o[i]=!1,o[a]=!1;const u=o[s];d||(d=o[c],v=o[l]),u&&v.call(o,g,u);const p=o[s]=()=>{if(o.readyState===o.DONE)if(!r.aborted&&o[i]&&e.state===y){const n=o[t.__symbol__("loadfalse")];if(n&&n.length>0){const s=e.invoke;e.invoke=function(){const n=o[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);r.aborted||e.state!==y||s.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==o[i]||(o[a]=!0)};return d.call(o,g,p),o[n]||(o[n]=e),T.apply(o,r.args),o[i]=!0,e}function S(){}function x(e){const t=e.data;return t.aborted=!0,I.apply(t.target,t.args)}const _=F(p,"open",()=>function(e,t){return e[r]=0==t[2],e[o]=t[1],_.apply(e,t)}),b="XMLHttpRequest.send",w=m("fetchTaskAborting"),C=m("fetchTaskScheduling"),T=F(p,"send",()=>function(e,n){if(!0===t.current[C])return T.apply(e,n);if(e[r])return T.apply(e,n);{const t={target:e,url:e[o],isPeriodic:!1,args:n,aborted:!1},r=f(b,S,t,E,x);e&&!0===e[a]&&!t.aborted&&r.state===y&&r.invoke()}}),I=F(p,"abort",()=>function(e,n){const r=h(e);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[w])return I.apply(e,n)})}}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&_(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){Y(e,t).forEach(r=>{const s=e.PromiseRejectionEvent;if(s){const e=new s(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[m("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[m("rejectionHandledHandler")]=n("rejectionhandled"))})})?s.call(t,n,t,e):s)||(e.exports=i)}).call(this,n("aWmh"))},pFTG:function(e,t,n){"use strict";var r=n("I+eb"),s=n("yIXz");r({target:"Object",stat:!0},{iterateValues:function(e){return new s(e,"values")}})},pNMO:function(e,t,n){"use strict";var r=n("I+eb"),s=n("2oRo"),i=n("0GbY"),o=n("xDBR"),a=n("g6v/"),c=n("STAE"),l=n("/b8u"),u=n("0Dky"),p=n("UTVS"),h=n("6LWA"),d=n("hh1v"),f=n("glrk"),m=n("ewvW"),v=n("/GqU"),g=n("wE6v"),y=n("XGwC"),E=n("fHMY"),S=n("33Wh"),x=n("JBy8"),_=n("BX/b"),b=n("dBg+"),w=n("Bs8V"),C=n("m/L8"),T=n("0eef"),I=n("kRJp"),M=n("busE"),A=n("VpIT"),N=n("93I0"),k=n("0BK2"),P=n("kOOl"),O=n("tiKp"),R=n("5Tg+"),D=n("dG/n"),F=n("1E5z"),L=n("afO8"),j=n("tycR").forEach,B=N("hidden"),U="Symbol",V=O("toPrimitive"),$=L.set,W=L.getterFor(U),H=Object.prototype,z=s.Symbol,q=i("JSON","stringify"),G=w.f,K=C.f,Z=_.f,X=T.f,Y=A("symbols"),Q=A("op-symbols"),J=A("string-to-symbol-registry"),ee=A("symbol-to-string-registry"),te=A("wks"),ne=s.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,se=a&&u((function(){return 7!=E(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,ie=function(e,t){var n=Y[e]=E(z.prototype);return $(n,{type:U,tag:e,description:t}),a||(n.description=t),n},oe=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof z},ae=function(e,t,n){e===H&&ae(Q,t,n),f(e);var r=g(t,!0);return f(n),p(Y,r)?(n.enumerable?(p(e,B)&&e[B][r]&&(e[B][r]=!1),n=E(n,{enumerable:y(0,!1)})):(p(e,B)||K(e,B,y(1,{})),e[B][r]=!0),se(e,r,n)):K(e,r,n)},ce=function(e,t){f(e);var n=v(t),r=S(n).concat(he(n));return j(r,(function(t){a&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===H&&p(Y,t)&&!p(Q,t))&&(!(n||!p(this,t)||!p(Y,t)||p(this,B)&&this[B][t])||n)},ue=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!p(Y,r)||p(Q,r)){var s=G(n,r);return!s||!p(Y,r)||p(n,B)&&n[B][r]||(s.enumerable=!0),s}},pe=function(e){var t=Z(v(e)),n=[];return j(t,(function(e){p(Y,e)||p(k,e)||n.push(e)})),n},he=function(e){var t=e===H,n=Z(t?Q:v(e)),r=[];return j(n,(function(e){!p(Y,e)||t&&!p(H,e)||r.push(Y[e])})),r};(c||(M((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=P(e),n=function(e){this===H&&n.call(Q,e),p(this,B)&&p(this[B],t)&&(this[B][t]=!1),se(this,t,y(1,e))};return a&&re&&se(H,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return W(this).tag})),M(z,"withoutSetter",(function(e){return ie(P(e),e)})),T.f=le,C.f=ae,w.f=ue,x.f=_.f=pe,b.f=he,R.f=function(e){return ie(O(e),e)},a&&(K(z.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),o||M(H,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),j(S(te),(function(e){D(e)})),r({target:U,stat:!0,forced:!c},{for:function(e){var t=String(e);if(p(J,t))return J[t];var n=z(t);return J[t]=n,ee[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(p(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!a},{create:function(e,t){return void 0===t?E(e):ce(E(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u((function(){b.f(1)}))},{getOwnPropertySymbols:function(e){return b.f(m(e))}}),q)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=z();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,n){for(var r,s=[e],i=1;arguments.length>i;)s.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!oe(e))return h(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),s[1]=t,q.apply(null,s)}});z.prototype[V]||I(z.prototype,V,z.prototype.valueOf),F(z,U),k[B]=!0},piMb:function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").every,i=n("pkCn"),o=n("rkAj"),a=i("every"),c=o("every");r({target:"Array",proto:!0,forced:!a||!c},{every:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},pjDv:function(e,t,n){var r=n("I+eb"),s=n("TfTi");r({target:"Array",stat:!0,forced:!n("HH4o")((function(e){Array.from(e)}))},{from:s})},pkCn:function(e,t,n){"use strict";var r=n("0Dky");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},ppGB:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},pv2x:function(e,t,n){var r=n("I+eb"),s=n("0GbY"),i=n("HAuM"),o=n("glrk"),a=n("0Dky"),c=s("Reflect","apply"),l=Function.apply;r({target:"Reflect",stat:!0,forced:!a((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),o(n),c?c(e,t,n):l.call(e,t,n)}})},"pz+c":function(e,t){e.exports={}},"qHT+":function(e,t,n){var r=n("I+eb"),s=n("FF6l"),i=n("RNIs");r({target:"Array",proto:!0},{copyWithin:s}),i("copyWithin")},qXVe:function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return s(i(this),e,arguments.length>1?arguments[1]:void 0)}))},qY7S:function(e,t,n){"use strict";var r=n("HAuM"),s=n("A2ZE"),i=n("ImZN");e.exports=function(e){var t,n,o,a,c=arguments.length,l=c>1?arguments[1]:void 0;return r(this),(t=void 0!==l)&&r(l),null==e?new this:(n=[],t?(o=0,a=s(l,c>2?arguments[2]:void 0,2),i(e,(function(e){n.push(a(e,o++))}))):i(e,n.push,n),new this(n))}},qYE9:function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},qaHo:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("WGBp"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{some:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e){if(r(e,e,t))return c.stop()}),void 0,!1,!0).stopped}})},qc1c:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("HAuM"),a=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:s},{merge:function(e){for(var t=i(this),n=o(t.set),r=0;r<arguments.length;)a(arguments[r++],n,t,!0);return t}})},qePV:function(e,t,n){"use strict";var r=n("g6v/"),s=n("2oRo"),i=n("lMq5"),o=n("busE"),a=n("UTVS"),c=n("xrYK"),l=n("cVYH"),u=n("wE6v"),p=n("0Dky"),h=n("fHMY"),d=n("JBy8").f,f=n("Bs8V").f,m=n("m/L8").f,v=n("WKiH").trim,g="Number",y=s.Number,E=y.prototype,S=c(h(E))==g,x=function(e){var t,n,r,s,i,o,a,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=v(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,s=49;break;case 79:case 111:r=8,s=55;break;default:return+l}for(o=(i=l.slice(2)).length,a=0;a<o;a++)if((c=i.charCodeAt(a))<48||c>s)return NaN;return parseInt(i,r)}return+l};if(i(g,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var _,b=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof b&&(S?p((function(){E.valueOf.call(n)})):c(n)!=g)?l(new y(x(t)),n,b):x(t)},w=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;w.length>C;C++)a(y,_=w[C])&&!a(b,_)&&m(b,_,f(y,_));b.prototype=E,E.constructor=b,o(s,g,b)}},qgGA:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.toKey,a=s.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){a(e,t,i(n),o(r))}}})},qtlZ:function(e,t,n){var r=n("7kIp");n("Z4nd"),n("8STE"),n("spTT"),n("rb3L"),e.exports=r},qx7X:function(e,t,n){var r=n("ocAm"),s=n("6XUM"),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},qxPZ:function(e,t,n){var r=n("tiKp")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(s){}}return!1}},"r/Vq":function(e,t,n){n("I+eb")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},r5Og:function(e,t,n){var r=n("I+eb"),s=n("hh1v"),i=n("8YOa").onFreeze,o=n("uy83"),a=n("0Dky"),c=Object.seal;r({target:"Object",stat:!0,forced:a((function(){c(1)})),sham:!o},{seal:function(e){return c&&s(e)?c(i(e)):e}})},rB9j:function(e,t,n){"use strict";var r=n("I+eb"),s=n("kmMV");r({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},rBZX:function(e,t,n){var r=n("I+eb"),s=n("glrk"),i=n("Bs8V").f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(s(e),t);return!(n&&!n.configurable)&&delete e[t]}})},rG8t:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},rKzb:function(e,t,n){"use strict";var r=n("4syw"),s=n("8YOa").getWeakData,i=n("glrk"),o=n("hh1v"),a=n("GarU"),c=n("ImZN"),l=n("tycR"),u=n("UTVS"),p=n("afO8"),h=p.set,d=p.getterFor,f=l.find,m=l.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var p=e((function(e,r){a(e,p,t),h(e,{type:t,id:v++,frozen:void 0}),null!=r&&c(r,e[l],e,n)})),f=d(t),m=function(e,t,n){var r=f(e),o=s(i(t),!0);return!0===o?g(r).set(t,n):o[r.id]=n,e};return r(p.prototype,{delete:function(e){var t=f(this);if(!o(e))return!1;var n=s(e);return!0===n?g(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!o(e))return!1;var n=s(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),r(p.prototype,n?{get:function(e){var t=f(this);if(o(e)){var n=s(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),p}}},rMz7:function(e,t,n){var r=n("I+eb"),s=n("ZOXb");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==s},{toISOString:s})},rNhl:function(e,t,n){var r=n("I+eb"),s=n("fhKU");r({global:!0,forced:parseFloat!=s},{parseFloat:s})},rW0t:function(e,t,n){"use strict";var r=n("glrk");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},rWPW:function(e,t,n){n("07d7"),n("ENF9"),n("3bBZ");var r=n("Qo9l");e.exports=r.WeakMap},rZ3M:function(e,t,n){"use strict";var r=n("I+eb"),s=n("HYAF"),i=n("ROdP"),o=n("rW0t"),a=n("tiKp"),c=n("xDBR"),l=a("replace"),u=RegExp.prototype;r({target:"String",proto:!0},{replaceAll:function e(t,n){var r,a,p,h,d,f,m,v,g=s(this);if(null!=t){if((r=i(t))&&!~String(s("flags"in u?t.flags:o.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(a=t[l]))return a.call(t,g,n);if(c&&r)return String(g).replace(t,n)}if(p=String(g),""===(h=String(t)))return e.call(p,/(?:)/g,n);if(d=p.split(h),"function"!=typeof n)return d.join(String(n));for(m=(f=d[0]).length,v=1;v<d.length;v++)f+=String(n(h,m,p)),m+=h.length+d[v].length,f+=d[v];return f}})},rb3L:function(e,t,n){n("I+eb")({target:"WeakSet",stat:!0},{of:n("P940")})},rkAj:function(e,t,n){var r=n("g6v/"),s=n("0Dky"),i=n("UTVS"),o=Object.defineProperty,a={},c=function(e){throw e};e.exports=function(e,t){if(i(a,e))return a[e];t||(t={});var n=[][e],l=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:c,p=i(t,1)?t[1]:void 0;return a[e]=!!n&&!s((function(){if(l&&!r)return!0;var e={length:-1};l?o(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,u,p)}))}},rpNk:function(e,t,n){"use strict";var r,s,i,o=n("4WOD"),a=n("kRJp"),c=n("UTVS"),l=n("tiKp"),u=n("xDBR"),p=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(s=o(o(i)))!==Object.prototype&&(r=s):h=!0),null==r&&(r={}),u||c(r,p)||a(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},rwPt:function(e,t,n){var r=n("0Dky");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},s5qe:function(e,t,n){"use strict";var r=n("2oRo"),s=n("67WC"),i=n("0Dky"),o=r.Int8Array,a=s.aTypedArray,c=s.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,p=!!o&&i((function(){l.call(new o(1))}));c("toLocaleString",(function(){return l.apply(p?u.call(a(this)):a(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!i((function(){o.prototype.toLocaleString.call([1,2])})))},sEFX:function(e,t,n){"use strict";var r=n("AO7/"),s=n("9d/t");e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},sMBO:function(e,t,n){var r=n("g6v/"),s=n("m/L8").f,i=Function.prototype,o=i.toString,a=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&s(i,c,{configurable:!0,get:function(){try{return o.call(this).match(a)[1]}catch(e){return""}}})},sQ9d:function(e,t,n){var r=n("I+eb"),s=n("eDxR"),i=n("glrk"),o=s.keys,a=s.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:a(arguments[1]);return o(i(e),t)}})},shqn:function(e,t,n){var r=n("/Ybd").f,s=n("OG5q"),i=n("m41k")("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},spTT:function(e,t,n){n("I+eb")({target:"WeakSet",stat:!0},{from:n("qY7S")})},tCPV:function(e,t,n){"use strict";n("I+eb")({target:"Map",proto:!0,real:!0,forced:n("xDBR")},{updateOrInsert:n("6eAB")})},tUdv:function(e,t,n){var r=n("rG8t"),s=n("ezU2"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?i.call(e,""):Object(e)}:Object},tW5y:function(e,t,n){"use strict";var r=n("hh1v"),s=n("m/L8"),i=n("4WOD"),o=n("tiKp")("hasInstance"),a=Function.prototype;o in a||s.f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},tcQx:function(e,t,n){var r=n("Neub");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,s){return e.call(t,n,r,s)}}return function(){return e.apply(t,arguments)}}},tgv2:function(e,t,n){n("rNhl");var r=n("Qo9l");e.exports=r.parseFloat},tiKp:function(e,t,n){var r=n("2oRo"),s=n("VpIT"),i=n("UTVS"),o=n("kOOl"),a=n("STAE"),c=n("/b8u"),l=s("wks"),u=r.Symbol,p=c?u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(a&&i(u,e)?l[e]=u[e]:l[e]=p("Symbol."+e)),l[e]}},tijO:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("glrk"),o=n("A2ZE"),a=n("WGBp"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:s},{find:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e){if(r(e,e,t))return c.stop(e)}),void 0,!1,!0).result}})},tjZM:function(e,t,n){n("dG/n")("asyncIterator")},tkto:function(e,t,n){var r=n("I+eb"),s=n("ewvW"),i=n("33Wh");r({target:"Object",stat:!0,forced:n("0Dky")((function(){i(1)}))},{keys:function(e){return i(s(e))}})},"tl/u":function(e,t,n){var r=n("I+eb"),s=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:s)(e)}})},toAj:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ppGB"),i=n("QIpd"),o=n("EUja"),a=n("0Dky"),c=1..toFixed,l=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){c.call({})}))},{toFixed:function(e){var t,n,r,a,c=i(this),p=s(e),h=[0,0,0,0,0,0],d="",f="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*h[n],h[n]=r%1e7,r=l(r/1e7)},v=function(e){for(var t=6,n=0;--t>=0;)n+=h[t],h[t]=l(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==h[e]){var n=String(h[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*u(2,69,1))-69)<0?c*u(2,-t,1):c/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=p;r>=7;)m(1e7,0),r-=7;for(m(u(10,r,1),0),r=t-1;r>=23;)v(1<<23),r-=23;v(1<<r),m(1,1),v(2),f=g()}else m(0,n),m(1<<-t,0),f=g()+o.call("0",p);return f=p>0?d+((a=f.length)<=p?"0."+o.call("0",p-a)+f:f.slice(0,a-p)+"."+f.slice(a-p)):d+f}})},tycR:function(e,t,n){var r=n("A2ZE"),s=n("RK3t"),i=n("ewvW"),o=n("UMSQ"),a=n("ZfDv"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,p=6==e,h=5==e||p;return function(d,f,m,v){for(var g,y,E=i(d),S=s(E),x=r(f,m,3),_=o(S.length),b=0,w=v||a,C=t?w(d,_):n?w(d,0):void 0;_>b;b++)if((h||b in S)&&(y=x(g=S[b],b,E),e))if(t)C[b]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return b;case 2:c.call(C,g)}else if(u)return!1;return p?-1:l||u?u:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},uAzH:function(e,t,n){(function(e){function t(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}function n(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function i(e,t){return function(n,r){t(n,r,e)}}function o(e,t,n,r){return new(n||(n=Promise))((function(s,i){function o(e){try{c(r.next(e))}catch(t){i(t)}}function a(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){e.done?s(e.value):new n((function(t){t(e.value)})).then(o,a)}c((r=r.apply(e,t)).next())}))}var a;(a="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:void 0!==e?e:Function("return this;")()).__assign=a&&a.__assign||Object.assign||t,a.__extends=a&&a.__extends||n,a.__decorate=a&&a.__decorate||r,a.__metadata=a&&a.__metadata||s,a.__param=a&&a.__param||i,a.__awaiter=a&&a.__awaiter||o}).call(this,n("aWmh"))},uIHF:function(e,t,n){"use strict";n("I+eb")({target:"Map",proto:!0,real:!0,forced:n("xDBR")},{upsert:n("6eAB")})},uL8W:function(e,t,n){n("I+eb")({target:"Object",stat:!0,sham:!n("g6v/")},{create:n("fHMY")})},uSMZ:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},uWhJ:function(e,t,n){var r=n("I+eb"),s=Math.PI/180;r({target:"Math",stat:!0},{radians:function(e){return e*s}})},unQa:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ImZN"),i=n("HAuM");r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;i(t);var r=i(n.set);return s(e,(function(e){r.call(n,t(e),e)})),n}})},uqXc:function(e,t,n){var r=n("I+eb"),s=n("5Yz+");r({target:"Array",proto:!0,forced:s!==[].lastIndexOf},{lastIndexOf:s})},uy83:function(e,t,n){var r=n("0Dky");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},v5b1:function(e,t,n){"use strict";var r=n("I+eb"),s=n("g6v/"),i=n("6x0u"),o=n("ewvW"),a=n("wE6v"),c=n("4WOD"),l=n("Bs8V").f;s&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=o(this),r=a(e,!0);do{if(t=l(n,r))return t.get}while(n=c(n))}})},vAFs:function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=Math.imul;r({target:"Math",stat:!0,forced:s((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=65535,r=+e,s=+t,i=n&r,o=n&s;return 0|i*o+((n&r>>>16)*o+i*(n&s>>>16)<<16>>>0)}})},vDBE:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},vRoz:function(e,t,n){"use strict";var r=n("wdMf"),s=n("nIH4");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),s)},vVmn:function(e,t,n){var r=n("OG5q"),s=n("EMtK"),i=n("OXtp").indexOf,o=n("yQMY");e.exports=function(e,t){var n,a=s(e),c=0,l=[];for(n in a)!r(o,n)&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~i(l,n)||l.push(n));return l}},vZi8:function(e,t,n){var r=n("I+eb"),s=n("YGK4"),i=n("eDxR"),o=n("glrk"),a=n("4WOD"),c=n("ImZN"),l=i.keys,u=i.toKey,p=function(e,t){var n=l(e,t),r=a(e);if(null===r)return n;var i,o,u=p(r,t);return u.length?n.length?(i=new s(n.concat(u)),c(i,(o=[]).push,o),o):u:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return p(o(e),t)}})},vdRX:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},vlXf:function(e,t,n){var r=n("cGxN");e.exports=r},vo4V:function(e,t,n){var r=n("90hW"),s=Math.abs,i=Math.pow,o=i(2,-52),a=i(2,-23),c=i(2,127)*(2-a),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=s(e),u=r(e);return i<l?u*(i/l/a+1/o-1/o)*l*a:(n=(t=(1+a/o)*i)-(t-i))>c||n!=n?u*(1/0):u*n}},voyM:function(e,t){e.exports=Math.scale||function(e,t,n,r,s){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||s!=s?NaN:e===1/0||e===-1/0?e:(e-t)*(s-r)/(n-t)+r}},vpAl:function(e,t,n){var r=n("SkA5");n("++zV"),n("Y4C7"),n("ZsH6"),n("vZi8"),n("5r1n"),n("sQ9d"),n("bdeN"),n("AwgR"),n("qgGA"),e.exports=r},vzwy:function(e,t,n){"use strict";var r=n("I+eb"),s=n("ppGB"),i=n("wg0c"),o="Invalid number representation",a=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,c=1;if("string"!=typeof e)throw TypeError(o);if(!e.length)throw SyntaxError(o);if("-"==e.charAt(0)&&(c=-1,!(e=e.slice(1)).length))throw SyntaxError(o);if((n=void 0===t?10:s(t))<2||n>36)throw RangeError("Invalid radix");if(!a.test(e)||(r=i(e,n)).toString(n)!==e)throw SyntaxError(o);return c*r}})},w1rZ:function(e,t,n){var r=n("I+eb"),s=n("fhKU");r({target:"Number",stat:!0,forced:Number.parseFloat!=s},{parseFloat:s})},w7s6:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},wA6s:function(e,t,n){var r=n("ocAm"),s=n("7gGY").f,i=n("aJMj"),o=n("2MGJ"),a=n("Fqhe"),c=n("NIlc"),l=n("MkZA");e.exports=function(e,t){var n,u,p,h,d,f=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[f]||a(f,{}):(r[f]||{}).prototype)for(u in t){if(h=t[u],p=e.noTargetGet?(d=s(n,u))&&d.value:n[u],!l(m?u:f+(v?".":"#")+u,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),o(n,u,h,e)}}},wE6v:function(e,t,n){var r=n("hh1v");e.exports=function(e,t){if(!r(e))return e;var n,s;if(t&&"function"==typeof(n=e.toString)&&!r(s=n.call(e)))return s;if("function"==typeof(n=e.valueOf)&&!r(s=n.call(e)))return s;if(!t&&"function"==typeof(n=e.toString)&&!r(s=n.call(e)))return s;throw TypeError("Can't convert object to primitive value")}},wIVT:function(e,t,n){var r=n("OG5q"),s=n("VCQ8"),i=n("/AsP"),o=n("cwa4"),a=i("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=s(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},wLYn:function(e,t,n){n("I+eb")({target:"Function",proto:!0},{bind:n("BTho")})},waxf:function(e,t,n){"use strict";var r=n("67WC"),s=n("tycR").filter,i=n("SEBh"),o=r.aTypedArray,a=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=s(o(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=t.length,l=new(a(n))(c);c>r;)l[r]=t[r++];return l}))},wdMf:function(e,t,n){"use strict";var r=n("wA6s"),s=n("ocAm"),i=n("MkZA"),o=n("2MGJ"),a=n("M7Xk"),c=n("Rn6E"),l=n("SM6+"),u=n("6XUM"),p=n("rG8t"),h=n("EIBq"),d=n("shqn"),f=n("K6ZX");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=s[e],E=y&&y.prototype,S=y,x={},_=function(e){var t=E[e];o(E,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(v||E.forEach&&!p((function(){(new y).entries().next()})))))S=n.getConstructor(t,e,m,g),a.REQUIRED=!0;else if(i(e,!0)){var b=new S,w=b[g](v?{}:-0,1)!=b,C=p((function(){b.has(1)})),T=h((function(e){new y(e)})),I=!v&&p((function(){for(var e=new y,t=5;t--;)e[g](t,t);return!e.has(-0)}));T||((S=t((function(t,n){l(t,S,e);var r=f(new y,t,S);return null!=n&&c(n,r[g],r,m),r}))).prototype=E,E.constructor=S),(C||I)&&(_("delete"),_("has"),m&&_("get")),(I||w)&&_(g),v&&E.clear&&delete E.clear}return x[e]=S,r({global:!0,forced:S!=y},x),d(S,e),v||n.setStrong(S,e,m),S}},wfmh:function(e,t,n){var r=n("I+eb"),s=n("ImZN"),i=n("hBjN");r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return s(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},wg0c:function(e,t,n){var r=n("2oRo"),s=n("WKiH").trim,i=n("WJkJ"),o=r.parseInt,a=/^[+-]?0[Xx]/,c=8!==o(i+"08")||22!==o(i+"0x16");e.exports=c?function(e,t){var n=s(String(e));return o(n,t>>>0||(a.test(n)?16:10))}:o},wgYD:function(e,t,n){"use strict";var r=n("I+eb"),s=n("xDBR"),i=n("Cg3G");r({target:"Map",proto:!0,real:!0,forced:s},{deleteAll:function(){return i.apply(this,arguments)}})},x0AG:function(e,t,n){"use strict";var r=n("I+eb"),s=n("tycR").findIndex,i=n("RNIs"),o=n("rkAj"),a="findIndex",c=!0,l=o(a);a in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!l},{findIndex:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},x2An:function(e,t,n){n("I+eb")({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},x83w:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fixed")},{fixed:function(){return s(this,"tt","","")}})},xDBR:function(e,t){e.exports=!1},xdBZ:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("italics")},{italics:function(){return s(this,"i","","")}})},xpLY:function(e,t,n){var r=n("vDBE"),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},xrYK:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},xs3f:function(e,t,n){var r=n("2oRo"),s=n("zk60"),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},yHeL:function(e,t,n){"use strict";var r=n("I+eb"),s=n("yIXz");r({target:"Object",stat:!0},{iterateKeys:function(e){return new s(e,"keys")}})},yIXz:function(e,t,n){"use strict";var r=n("afO8"),s=n("ntOU"),i=n("UTVS"),o=n("33Wh"),a=n("ewvW"),c="Object Iterator",l=r.set,u=r.getterFor(c);e.exports=s((function(e,t){var n=a(e);l(this,{type:c,mode:t,object:n,keys:o(n),index:0})}),"Object",(function(){for(var e=u(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,{value:void 0,done:!0};var n=t[e.index++],r=e.object;if(i(r,n)){switch(e.mode){case"keys":return{value:n,done:!1};case"values":return{value:r[n],done:!1}}return{value:[n,r[n]],done:!1}}}}))},yIiL:function(e,t,n){var r=n("g9hI"),s=n("KBkW");(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},yNLB:function(e,t,n){var r=n("0Dky"),s=n("WJkJ");e.exports=function(e){return r((function(){return!!s[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||s[e].name!==e}))}},yQMY:function(e,t){e.exports={}},yQYn:function(e,t,n){var r=n("I+eb"),s=n("0Dky"),i=n("hh1v"),o=Object.isExtensible;r({target:"Object",stat:!0,forced:s((function(){o(1)}))},{isExtensible:function(e){return!!i(e)&&(!o||o(e))}})},yWo2:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("small")},{small:function(){return s(this,"small","","")}})},yXV3:function(e,t,n){"use strict";var r=n("I+eb"),s=n("TWQb").indexOf,i=n("pkCn"),o=n("rkAj"),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,l=i("indexOf"),u=o("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(e){return c?a.apply(this,arguments)||0:s(this,e,arguments.length>1?arguments[1]:void 0)}})},yaK9:function(e,t,n){var r=n("ocAm"),s=n("6urC"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(s(i))},yiG3:function(e,t,n){n("I+eb")({target:"Math",stat:!0},{log1p:n("HsHA")})},yoRg:function(e,t,n){var r=n("UTVS"),s=n("/GqU"),i=n("TWQb").indexOf,o=n("0BK2");e.exports=function(e,t){var n,a=s(e),c=0,l=[];for(n in a)!r(o,n)&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~i(l,n)||l.push(n));return l}},ypFw:function(e,t,n){"use strict";var r=n("67WC"),s=n("1Y/n").left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return s(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},yprU:function(e,t,n){var r=n("vRoz"),s=n("hdsk"),i=n("yIiL")("metadata"),o=i.store||(i.store=new s),a=function(e,t,n){var s=o.get(e);if(!s){if(!n)return;o.set(e,s=new r)}var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}return i};e.exports={store:o,getMap:a,has:function(e,t,n){var r=a(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=a(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){a(n,r,!0).set(e,t)},keys:function(e,t){var n=a(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},yq1k:function(e,t,n){"use strict";var r=n("I+eb"),s=n("TWQb").includes,i=n("RNIs");r({target:"Array",proto:!0,forced:!n("rkAj")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},yyme:function(e,t,n){var r=n("I+eb"),s=n("gdVl"),i=n("RNIs");r({target:"Array",proto:!0},{fill:s}),i("fill")},z8NH:function(e,t,n){n("dOgj")("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},zBJ4:function(e,t,n){var r=n("2oRo"),s=n("hh1v"),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},zHFu:function(e,t,n){"use strict";var r=n("I+eb"),s=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("bold")},{bold:function(){return s(this,"b","","")}})},zKZe:function(e,t,n){var r=n("I+eb"),s=n("YNrV");r({target:"Object",stat:!0,forced:Object.assign!==s},{assign:s})},zSZm:function(e,t,n){"use strict";var r=n("67WC"),s=r.aTypedArray,i=r.exportTypedArrayMethod,o=Math.floor;i("reverse",(function(){for(var e,t=this,n=s(t).length,r=o(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},zk60:function(e,t,n){var r=n("2oRo"),s=n("kRJp");e.exports=function(e,t){try{s(r,e,t)}catch(n){r[e]=t}return t}},zowp:function(e,t,n){"use strict";var r=n("I+eb"),s=n("yIXz");r({target:"Object",stat:!0},{iterateEntries:function(e){return new s(e,"entries")}})},"zu+z":function(e,t,n){n("I+eb")({target:"Map",stat:!0},{from:n("qY7S")})},zuhW:function(e,t,n){var r=n("I+eb"),s=n("hh1v"),i=n("8YOa").onFreeze,o=n("uy83"),a=n("0Dky"),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:a((function(){c(1)})),sham:!o},{preventExtensions:function(e){return c&&s(e)?c(i(e)):e}})}});
Save