!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):((e="undefined"!=typeofglobalThis?globalThis:e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.html=t())}(this,(function(){"use strict";vare="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functiont(e,t,n){returne(n={path:t,exports:{},require:function(e,t){returnfunction(){thrownewError("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}varn=t((function(e,t){functionn(e){returnt.$0<=e&&e<=t.$9}
Object.defineProperty(t,"__esModule",{value:!0});classn{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)thrownewError("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}t.StaticSymbol=n;t.StaticSymbolCache=class{constructor(){this.cache=newMap}get(e,t,r){consts=(r=r||[]).length?".".concat(r.join(".")):"",i='"'.concat(e,'".').concat(t).concat(s);leto=this.cache.get(i);returno||(o=newn(e,t,r),this.cache.set(i,o)),o}}})),s=t((function(t,n){
Object.defineProperty(n,"__esModule",{value:!0});constr=/-+([a-z0-9])/g;functions(e,t,n){constr=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}functioni(e,t,n){returnArray.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===u?t.visitStringMap(e,n):null==e||"string"==typeofe||"number"==typeofe||"boolean"==typeofe?t.visitPrimitive(e,n):t.visitOther(e,n);varr}n.dashCaseToCamelCase=function(e){returne.replace(r,((...e)=>e[1].toUpperCase()))},n.splitAtColon=function(e,t){returns(e,":",t)},n.splitAtPeriod=function(e,t){returns(e,".",t)},n.visitValue=i,n.isDefined=function(e){returnnull!=e},n.noUndefined=function(e){returnvoid0===e?null:e};n.ValueTransformer=class{visitArray(e,t){returne.map((e=>i(e,this,t)))}visitStringMap(e,t){constn={};returnObject.keys(e).forEach((r=>{n[r]=i(e[r],this,t)})),n}visitPrimitive(e,t){returne}visitOther(e,t){returne}},n.SyncAsync={assertSync:e=>{if(c(e))thrownewError("Illegal state: value cannot be a promise");returne},then:(e,t)=>c(e)?e.then(t):t(e),all:e=>e.some(c)?Promise.all(e):e},n.error=function(e){thrownewError("Internal Error: ".concat(e))},n.syntaxError=function(e,t){constn=Error(e);returnn[o]=!0,t&&(n[a]=t),n};consto="ngSyntaxError",a="ngParseErrors";n.isSyntaxError=function(e){returne[o]},n.getParseErrors=function(e){returne[a]||[]},n.escapeRegExp=function(e){returne.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};constu=Object.getPrototypeOf({});functionc(e){return!!e&&"function"==typeofe.then}n.utf8Encode=function(e){lett="";for(letn=0;n<e.length;n++){letr=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){constt=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))}returnt},n.stringify=functione(t){if("string"==typeoft)returnt;if(tinstanceofArray)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";constn=t.toString();if(null==n)return""+n;constr=n.indexOf("\n");return-1===r?n:n.substring(0,r)},n.resolveForwardRef=function(e){return"function"==typeofe&&e.hasOwnProperty("__forward_ref__")?e():e},n.isPromise=c;n.Version=class{constructor(e){this.full=e;constt=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};constl="undefined"!=typeofwindow&&window,p="undefined"!=typeofself&&"undefined"!=typeofWorkerGlobalScope&&selfinstanceofWorkerGlobalScope&&self,D=void0!==e&&e||l||p;n.global=D})),i=t((function(e,t){
Object.defineProperty(t,"__esModule",{value:!0});constn=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;functioni(e){returne.replace(/\W/g,"_")}t.sanitizeIdentifier=i;leto=0;functiona(e){if(!e||!e.reference)returnnull;constt=e.reference;if(tinstanceofr.StaticSymbol)returnt.name;if(t.__anonymousType)returnt.__anonymousType;letn=s.stringify(t);returnn.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=i(n),n}varu;t.identifierName=a,t.identifierModuleUrl=function(e){constt=e.reference;returntinstanceofr.StaticSymbol?t.filePath:"./".concat(s.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(a({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(a({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(a({reference:e}))},t.componentFactoryName=function(e){return"".concat(a({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){returnnull!=e.value?i(e.value):a(e.identifier)},t.tokenReference=function(e){returnnull!=e.identifier?e.identifier.reference:e.value};t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=l(t),this.styleUrls=l(n)}};t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:s,styleUrls:i,externalStylesheets:o,animations:a,ngContentSelectors:u,interpolation:c,isInline:D,preserveWhitespaces:h}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=l(s),this.styleUrls=l(i),this.externalStylesheets=l(o),this.animations=a?p(a):[],this.ngContentSelectors=u||[],c&&2!=c.length)thrownewError("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=D,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};classc{staticcreate({isHost:e,type:t,isComponent:r,selector:i,exportAs:o,changeDetection:a,inputs:u,outputs:l,host:p,providers:D,viewProviders:h,queries:d,guards:f,viewQueries:m,entryComponents:g,template:E,componentViewType:C,rendererType:T,componentFactory:y}){constS={},_={},b={};null!=p&&Object.keys(p).forEach((e=>{constt=p[e],r=e.match(n);null===r?b[e]=t:null!=r[1]?_[r[1]]=t:null!=r[2]&&(S[r[2]]=t)}));constF={};null!=u&&u.forEach((e=>{constt=s.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));constA={};returnnull!=l&&l.forEach((e=>{constt=s.splitAtColon(e,[e,e]);A[t[0]]=t[1]})),newc({isHost:e,type:t,isComponent:!!r,selector:i,exportAs:o,changeDetection:a,inputs:F,outputs:A,hostListeners:S,hostProperties:_,hostAttributes:b,providers:D,viewProviders:h,queries:d,guards:f,viewQueries:m,entryComponents:g,template:E,componentViewType:C,rendererType:T,componentFactory:y})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:s,changeDetection:i,inputs:o,outputs:a,hostListeners:u,hostProperties:c,hostAttributes:p,providers:D,viewProviders:h,queries:d,guards:f,viewQueries:m,entryComponents:g,template:E,componentViewType:C,rendererType:T,componentFactory:y}){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=u,this.hostProperties=c,this.hostAttributes=p,this.providers=l(D),this.viewProviders=l(h),this.queries=l(d),this.guards=f,this.viewQueries=l(m),this.entryComponents=l(g),this.template=E,this.componentViewType=C,this.rendererType=T,this.componentFactory=y}toSummary(){return{summaryKind:u.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.viewQueri
Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayOfStrings=function(e,t){if(null!=t){if(!Array.isArray(t))thrownewError("Expected '".concat(e,"' to be an array of strings."));for(letn=0;n<t.length;n+=1)if("string"!=typeoft[n])thrownewError("Expected '".concat(e,"' to be an array of strings."))}};constn=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];t.assertInterpolationSymbols=function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))thrownewError("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){conste=t[0],r=t[1];n.forEach((t=>{if(t.test(e)||t.test(r))thrownewError("['".concat(e,"', '").concat(r,"'] contains unusable interpolation symbol."))}))}}})),Sn=t((function(e,t){
Object.defineProperty(t,"__esModule",{value:!0});constr=n;vars;!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_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(s=t.TokenType||(t.TokenType={}));classi{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}}t.Token=i;classaextendso.ParseError{constructor(e,t,n){super(n,e),this.tokenType=t}}t.TokenError=a;classu{constructor(e,t){this.tokens=e,this.errors=t}}t.TokenizeResult=u,t.tokenize=function(e,t,n,r={}){returnnewh(newo.ParseSourceFile(e,t),n,r).tokenize()};constc=/\r\n?/g;functionl(e){constt=e===r.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}functionp(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}classD{constructor(e){this.error=e}}classh{constructor(e,t,n){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Sn.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;constr=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?newT(e,r):newC(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){returne.replace(c,"\n")}tokenize(){for(;this._cursor.peek()!==r.$EOF;){conste=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);elseif(this._attemptCharCode(r.$SLASH))this._consumeTagClose(e);else{constt=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}elsethis._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}returnthis._beginToken(s.EOF),this._endToken([]),newu(function(e){constt=[];letn=void0;for(letr=0;r<e.length;r++){consti=e[r];n&&n.type==s.TEXT&&i.type==s.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}returnt}(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())returnthis._consumeExpansionFormStart(),!0;if(((e=this._cursor.peek())===r.$EQ||r.isAsciiLetter(e)||r.isDigit(e))&&this._isInExpansionForm())returnthis._consumeExpansionCaseStart(),!0;vare;if(this._cursor.peek()===r.$RBRACE){if(this._isInExpansionCase())returnthis._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())returnthis._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t=this._cursor.clone()){if(null===this._currentTokenStart)thrownewa("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)thrownewa("Programmingerror-attemptedtoendatokenwhichhasno