MCPcopy Index your code
hub / github.com/google/adk-python / constructor

Method constructor

src/google/adk/cli/browser/main-3CUQG2IN.js:6–6  ·  view source on GitHub ↗
(A,t)

Source from the content-addressed store, hash-verified

4`:o=0,t++;break;default:throw new Error("whitespace characters not allowed in JSON")}n++}break;default:a=void 0}var g="",C={},d=0,B=0,u=0,E=A&&A.es6&&typeof Map=="function";return f(i,0,""),{json:g,pointers:C};function f(M,x,F){switch(S(F,"value"),typeof M){case"number":case"bigint":case"boolean":m(""+M);break;case"string":m(u6(M));break;case"object":M===null?m("null"):typeof M.toJSON=="function"?m(u6(M.toJSON())):Array.isArray(M)?z():E?M.constructor.BYTES_PER_ELEMENT?z():M instanceof Map?X():M instanceof Set?X(!0):j():j()}S(F,"valueEnd");function z(){if(M.length){m("[");for(var eA=x+1,Z=0;Z<M.length;Z++){Z&&m(","),v(eA);var CA=Q6(M[Z])?M[Z]:null,wA=F+"/"+Z;f(CA,eA,wA)}v(x),m("]")}else m("[]")}function j(){var eA=Object.keys(M);if(eA.length){m("{");for(var Z=x+1,CA=0;CA<eA.length;CA++){var wA=eA[CA],BA=M[wA];if(Q6(BA)){CA&&m(",");var QA=F+"/"+cM(wA);v(Z),S(QA,"key"),m(u6(wA)),S(QA,"keyEnd"),m(":"),a&&m(" "),f(BA,Z,QA)}}v(x),m("}")}else m("{}")}function X(eA){if(M.size){m("{");for(var Z=x+1,CA=!0,wA=M.entries(),BA=wA.next();!BA.done;){var QA=BA.value,RA=QA[0],dA=eA?!0:QA[1];if(Q6(dA)){CA||m(","),CA=!1;var IA=F+"/"+cM(RA);v(Z),S(IA,"key"),m(u6(RA)),S(IA,"keyEnd"),m(":"),a&&m(" "),f(dA,Z,IA)}BA=wA.next()}v(x),m("}")}else m("{}")}}function m(M){B+=M.length,u+=M.length,g+=M}function v(M){if(a){for(g+=`
5`+k(M,a),d++,B=0;M--;)t?(d+=t,B=o):B+=o,u+=n;u+=1}}function S(M,x){C[M]=C[M]||{},C[M][x]={line:d,column:B,pos:u}}function k(M,x){return Array(M+1).join(x)}};var SlA=["number","bigint","boolean","string","object"];function Q6(i){return SlA.indexOf(typeof i)>=0}var klA=/"|\\/g,_lA=/[\b]/g,xlA=/\f/g,RlA=/\n/g,NlA=/\r/g,FlA=/\t/g;function u6(i){return i=i.replace(klA,"\\$&").replace(xlA,"\\f").replace(_lA,"\\b").replace(RlA,"\\n").replace(NlA,"\\r").replace(FlA,"\\t"),'"'+i+'"'}var LlA=/~/g,GlA=/\//g;function cM(i){return i.replace(LlA,"~0").replace(GlA,"~1")}});var BJ=jp((fAe,IJ)=>{"use strict";var dJ=function(i,e){var A,t,n=1,o=0,a=0,r=String.alphabet;function s(l,g,C){if(C){for(A=g;C=s(l,A),C<76&&C>65;)++A;return+l.slice(g-1,A)}return C=r&&r.indexOf(l.charAt(g)),C>-1?C+76:(C=l.charCodeAt(g)||0,C<45||C>127?C:C<46?65:C<48?C-1:C<58?C+18:C<65?C-11:C<91?C+11:C<97?C-37:C<123?C+5:C-63)}if((i+="")!=(e+="")){for(;n;)if(t=s(i,o++),n=s(e,a++),t<76&&n<76&&t>66&&n>66&&(t=s(i,o,o),n=s(e,a,o=A),a=A),t!=n)return t<n?-1:1}return 0};try{IJ.exports=dJ}catch(i){String.naturalCompare=dJ}});var EJ=jp(v6=>{"use strict";(function(i){"use strict";function e(V){return V!==null?Object.prototype.toString.call(V)==="[object Array]":!1}function A(V){return V!==null?Object.prototype.toString.call(V)==="[object Object]":!1}function t(V,$){if(V===$)return!0;var iA=Object.prototype.toString.call(V);if(iA!==Object.prototype.toString.call($))return!1;if(e(V)===!0){if(V.length!==$.length)return!1;for(var oA=0;oA<V.length;oA++)if(t(V[oA],$[oA])===!1)return!1;return!0}if(A(V)===!0){var UA={};for(var he in V)if(hasOwnProperty.call(V,he)){if(t(V[he],$[he])===!1)return!1;UA[he]=!0}for(var me in $)if(hasOwnProperty.call($,me)&&UA[me]!==!0)return!1;return!0}return!1}function n(V){if(V===""||V===!1||V===null)return!0;if(e(V)&&V.length===0)return!0;if(A(V)){for(var $ in V)if(V.hasOwnProperty($))return!1;return!0}else return!1}function o(V){for(var $=Object.keys(V),iA=[],oA=0;oA<$.length;oA++)iA.push(V[$[oA]]);return iA}function a(V,$){var iA={};for(var oA in V)iA[oA]=V[oA];for(var UA in $)iA[UA]=$[UA];return iA}var r;typeof String.prototype.trimLeft=="function"?r=function(V){return V.trimLeft()}:r=function(V){return V.match(/^\s*(.*)/)[1]};var s=0,l=1,g=2,C=3,d=4,B=5,u=6,E=7,f=8,m=9,v={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array<number>",9:"Array<string>"},S="EOF",k="UnquotedIdentifier",M="QuotedIdentifier",x="Rbracket",F="Rparen",z="Comma",j="Colon",X="Rbrace",eA="Number",Z="Current",CA="Expref",wA="Pipe",BA="Or",QA="And",RA="EQ",dA="GT",IA="LT",xA="GTE",qA="LTE",ue="NE",HA="Flatten",bA="Star",PA="Filter",it="Dot",Xe="Not",YA="Lbrace",hA="Lbracket",Ae="Lparen",pA="Literal",te={".":it,"*":bA,",":z,":":j,"{":YA,"}":X,"]":x,"(":Ae,")":F,"@":Z},NA={"<":!0,">":!0,"=":!0,"!":!0},Ge={" ":!0," ":!0,"\n":!0};function JA(V){return V>="a"&&V<="z"||V>="A"&&V<="Z"||V==="_"}function yA(V){return V>="0"&&V<="9"||V==="-"}function Pt(V){return V>="a"&&V<="z"||V>="A"&&V<="Z"||V>="0"&&V<="9"||V==="_"}function Dt(){}Dt.prototype={tokenize:function(V){var $=[];this._current=0;for(var iA,oA,UA;this._current<V.length;)if(JA(V[this._current]))iA=this._current,oA=this._consumeUnquotedIdentifier(V),$.push({type:k,value:oA,start:iA});else if(te[V[this._current]]!==void 0)$.push({type:te[V[this._current]],value:V[this._current],start:this._current}),this._current++;else if(yA(V[this._current]))UA=this._consumeNumber(V),$.push(UA);else if(V[this._current]==="[")UA=this._consumeLBracket(V),$.push(UA);else if(V[this._current]==='"')iA=this._current,oA=this._consumeQuotedIdentifier(V),$.push({type:M,value:oA,start:iA});else if(V[this._current]==="'")iA=this._current,oA=this._consumeRawStringLiteral(V),$.push({type:pA,value:oA,start:iA});else if(V[this._current]==="`"){iA=this._current;var he=this._consumeLiteral(V);$.push({type:pA,value:he,start:iA})}else if(NA[V[this._current]]!==void 0)$.push(this._consumeOperator(V));else if(Ge[V[this._current]]!==void 0)this._current++;else if(V[this._current]==="&")iA=this._current,this._current++,V[this._current]==="&"?(this._current++,$.push({type:QA,value:"&&",start:iA})):$.push({type:CA,value:"&",start:iA});else if(V[this._current]==="|")iA=this._current,this._current++,V[this._current]==="|"?(this._current++,$.push({type:BA,value:"||",start:iA})):$.push({type:wA,value:"|",start:iA});else{var me=new Error("Unknown character:"+V[this._current]);throw me.name="LexerError",me}return $},_consumeUnquotedIdentifier:function(V){var $=this._current;for(this._current++;this._current<V.length&&Pt(V[this._current]);)this._current++;return V.slice($,this._current)},_consumeQuotedIdentifier:function(V){var $=this._current;this._current++;for(var iA=V.length;V[this._current]!=='"'&&this._current<iA;){var oA=this._current;V[oA]==="\\"&&(V[oA+1]==="\\"||V[oA+1]==='"')?oA+=2:oA++,this._current=oA}return this._current++,JSON.parse(V.slice($,this._current))},_consumeRawStringLiteral:function(V){var $=this._current;this._current++;for(var iA=V.length;V[this._current]!=="'"&&this._current<iA;){var oA=this._current;V[oA]==="\\"&&(V[oA+1]==="\\"||V[oA+1]==="'")?oA+=2:oA++,this._current=oA}this._current++;var UA=V.slice($+1,this._current-1);return UA.replace("\\'","'")},_consumeNumber:function(V){var $=this._current;this._current++;for(var iA=V.length;yA(V[this._current])&&this._current<iA;)this._current++;var oA=parseInt(V.slice($,this._current));return{type:eA,value:oA,start:$}},_consumeLBracket:function(V){var $=this._current;return this._current++,V[this._current]==="?"?(this._current++,{type:PA,value:"[?",start:$}):V[this._current]==="]"?(this._current++,{type:HA,value:"[]",start:$}):{type:hA,value:"[",start:$}},_consumeOperator:function(V){var $=this._current,iA=V[$];if(this._current++,iA==="!")return V[this._current]==="="?(this._current++,{type:ue,value:"!=",start:$}):{type:Xe,value:"!",start:$};if(iA==="<")return V[this._current]==="="?(this._current++,{type:qA,value:"<=",start:$}):{type:IA,value:"<",start:$};if(iA===">")return V[this._current]==="="?(this._current++,{type:xA,value:">=",start:$}):{type:dA,value:">",start:$};if(iA==="="&&V[this._current]==="=")return this._current++,{type:RA,value:"==",start:$}},_consumeLiteral:function(V){this._current++;for(var $=this._current,iA=V.length,oA;V[this._current]!=="`"&&this._current<iA;){var UA=this._current;V[UA]==="\\"&&(V[UA+1]==="\\"||V[UA+1]==="`")?UA+=2:UA++,this._current=UA}var he=r(V.slice($,this._current));return he=he.replace("\\`","`"),this._looksLikeJSON(he)?oA=JSON.parse(he):oA=JSON.parse('"'+he+'"'),this._current++,oA},_looksLikeJSON:function(V){var $='[{"',iA=["true","false","null"],oA="-0123456789";if(V==="")return!1;if($.indexOf(V[0])>=0)return!0;if(iA.indexOf(V)>=0)return!0;if(oA.indexOf(V[0])>=0)try{return JSON.parse(V),!0}catch(UA){return!1}else return!1}};var fe={};fe[S]=0,fe[k]=0,fe[M]=0,fe[x]=0,fe[F]=0,fe[z]=0,fe[X]=0,fe[eA]=0,fe[Z]=0,fe[CA]=0,fe[wA]=1,fe[BA]=2,fe[QA]=3,fe[RA]=5,fe[dA]=5,fe[IA]=5,fe[xA]=5,fe[qA]=5,fe[ue]=5,fe[HA]=9,fe[bA]=20,fe[PA]=21,fe[it]=40,fe[Xe]=45,fe[YA]=50,fe[hA]=55,fe[Ae]=60;function Zt(){}Zt.prototype={parse:function(V){this._loadTokens(V),this.index=0;var $=this.expression(0);if(this._lookahead(0)!==S){var iA=this._lookaheadToken(0),oA=new Error("Unexpected token type: "+iA.type+", value: "+iA.value);throw oA.name="ParserError",oA}return $},_loadTokens:function(V){var $=new Dt,iA=$.tokenize(V);iA.push({type:S,value:"",start:V.length}),this.tokens=iA},expression:function(V){var $=this._lookaheadToken(0);this._advance();for(var iA=this.nud($),oA=this._lookahead(0);V<fe[oA];)this._advance(),iA=this.led(oA,iA),oA=this._lookahead(0);return iA},_lookahead:function(V){return this.tokens[this.index+V].type},_lookaheadToken:function(V){return this.tokens[this.index+V]},_advance:function(){this.index++},nud:function(V){var $,iA,oA;switch(V.type){case pA:return{type:"Literal",value:V.value};case k:return{type:"Field",name:V.value};case M:var UA={type:"Field",name:V.value};if(this._lookahead(0)===Ae)throw new Error("Quoted identifier not allowed for function names.");return UA;case Xe:return iA=this.expression(fe.Not),{type:"NotExpression",children:[iA]};case bA:return $={type:"Identity"},iA=null,this._lookahead(0)===x?iA={type:"Identity"}:iA=this._parseProjectionRHS(fe.Star),{type:"ValueProjection",children:[$,iA]};case PA:return this.led(V.type,{type:"Identity"});case YA:return this._parseMultiselectHash();case HA:return $={type:HA,children:[{type:"Identity"}]},iA=this._parseProjectionRHS(fe.Flatten),{type:"Projection",children:[$,iA]};case hA:return this._lookahead(0)===eA||this._lookahead(0)===j?(iA=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},iA)):this._lookahead(0)===bA&&this._lookahead(1)===x?(this._advance(),this._advance(),iA=this._parseProjectionRHS(fe.Star),{type:"Projection",children:[{type:"Identity"},iA]}):this._parseMultiselectList();case Z:return{type:Z};case CA:return oA=this.expression(fe.Expref),{type:"ExpressionReference",children:[oA]};case Ae:for(var he=[];this._lookahead(0)!==F;)this._lookahead(0)===Z?(oA={type:Z},this._advance()):oA=this.expression(0),he.push(oA);return this._match(F),he[0];default:this._errorToken(V)}},led:function(V,$){var iA;switch(V){case it:var oA=fe.Dot;return this._lookahead(0)!==bA?(iA=this._parseDotRHS(oA),{type:"Subexpression",children:[$,iA]}):(this._advance(),iA=this._parseProjectionRHS(oA),{type:"ValueProjection",children:[$,iA]});case wA:return iA=this.expression(fe.Pipe),{type:wA,children:[$,iA]};case BA:return iA=this.expression(fe.Or),{type:"OrExpression",children:[$,iA]};case QA:return iA=this.expression(fe.And),{type:"AndExpression",children:[$,iA]};case Ae:for(var UA=$.name,he=[],me,GA;this._lookahead(0)!==F;)this._lookahead(0)===Z?(me={type:Z},this._advance()):me=this.expression(0),this._lookahead(0)===z&&this._match(z),he.push(me);return this._match(F),GA={type:"Function",name:UA,children:he},GA;case PA:var OA=this.expression(0);return this._match(x),this._lookahead(0)===HA?iA={type:"Identity"}:iA=this._parseProjectionRHS(fe.Filter),{type:"FilterProjection",children:[$,iA,OA]};case HA:var wt={type:HA,children:[$]},rt=this._parseProjectionRHS(fe.Flatten);return{type:"Projection",children:[wt,rt]};case RA:case ue:case dA:case xA:case IA:case qA:return this._parseComparator($,V);case hA:var je=this._lookaheadToken(0);return je.type===eA||je.type===j?(iA=this._parseIndexExpression(),this._projectIfSlice($,iA)):(this._match(bA),this._match(x),iA=this._parseProjectionRHS(fe.Star),{type:"Projection",children:[$,iA]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(V){if(this._lookahead(0)===V)this._advance();else{var $=this._lookaheadToken(0),iA=new Error("Expected "+V+", got: "+$.type);throw iA.name="ParserError",iA}},_errorToken:function(V){var $=new Error("Invalid token ("+V.type+'): "'+V.value+'"');throw $.name="ParserError",$},_parseIndexExpression:function(){if(this._lookahead(0)===j||this._lookahead(1)===j)return this._parseSliceExpression();var V={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match(x),V},_projectIfSlice:function(V,$){var iA={type:"IndexExpression",children:[V,$]};return $.type==="Slice"?{type:"Projection",children:[iA,this._parseProjectionRHS(fe.Star)]}:iA},_parseSliceExpression:function(){for(var V=[null,null,null],$=0,iA=this._lookahead(0);iA!==x&&$<3;){if(iA===j)$++,this._advance();else if(iA===eA)V[$]=this._lookaheadToken(0).value,this._advance();else{var oA=this._lookahead(0),UA=new Error("Syntax error, unexpected token: "+oA.value+"("+oA.type+")");throw UA.name="Parsererror",UA}iA=this._lookahead(0)}return this._match(x),{type:"Slice",children:V}},_parseComparator:function(V,$){var iA=this.expression(fe[$]);return{type:"Comparator",name:$,children:[V,iA]}},_parseDotRHS:function(V){var $=this._lookahead(0),iA=[k,M,bA];if(iA.indexOf($)>=0)return this.expression(V);if($===hA)return this._match(hA),this._parseMultiselectList();if($===YA)return this._match(YA),this._parseMultiselectHash()},_parseProjectionRHS:function(V){var $;if(fe[this._lookahead(0)]<10)$={type:"Identity"};else if(this._lookahead(0)===hA)$=this.expression(V);else if(this._lookahead(0)===PA)$=this.expression(V);else if(this._lookahead(0)===it)this._match(it),$=this._parseDotRHS(V);else{var iA=this._lookaheadToken(0),oA=new Error("Sytanx error, unexpected token: "+iA.value+"("+iA.type+")");throw oA.name="ParserError",oA}return $},_parseMultiselectList:function(){for(var V=[];this._lookahead(0)!==x;){var $=this.expression(0);if(V.push($),this._lookahead(0)===z&&(this._match(z),this._lookahead(0)===x))throw new Error("Unexpected token Rbracket")}return this._match(x),{type:"MultiSelectList",children:V}},_parseMultiselectHash:function(){for(var V=[],$=[k,M],iA,oA,UA,he;;){if(iA=this._lookaheadToken(0),$.indexOf(iA.type)<0)throw new Error("Expecting an identifier token, got: "+iA.type);if(oA=iA.value,this._advance(),this._match(j),UA=this.expression(0),he={type:"KeyValuePair",name:oA,value:UA},V.push(he),this._lookahead(0)===z)this._match(z);else if(this._lookahead(0)===X){this._match(X);break}}return{type:"MultiSelectHash",children:V}}};function Pe(V){this.runtime=V}Pe.prototype={search:function(V,$){return this.visit(V,$)},visit:function(V,$){var iA,oA,UA,he,me,GA,OA,wt,rt,je;switch(V.type){case"Field":return $!==null&&A($)?(GA=$[V.name],GA===void 0?null:GA):null;case"Subexpression":for(UA=this.visit(V.children[0],$),je=1;je<V.children.length;je++)if(UA=this.visit(V.children[1],UA),UA===null)return null;return UA;case"IndexExpression":return OA=this.visit(V.children[0],$),wt=this.visit(V.children[1],OA),wt;case"Index":if(!e($))return null;var ze=V.value;return ze<0&&(ze=$.length+ze),UA=$[ze],UA===void 0&&(UA=null),UA;case"Slice":if(!e($))return null;var pi=V.children.slice(0),mn=this.computeSliceParams($.length,pi),Sn=mn[0],He=mn[1],En=mn[2];if(UA=[],En>0)for(je=Sn;je<He;je+=En)UA.push($[je]);else for(je=Sn;je>He;je+=En)UA.push($[je]);return UA;case"Projection":var Gi=this.visit(V.children[0],$);if(!e(Gi))return null;for(rt=[],je=0;je<Gi.length;je++)oA=this.visit(V.children[1],Gi[je]),oA!==null&&rt.push(oA);return rt;case"ValueProjection":if(Gi=this.visit(V.children[0],$),!A(Gi))return null;rt=[];var Pi=o(Gi);for(je=0;je<Pi.length;je++)oA=this.visit(V.children[1],Pi[je]),oA!==null&&rt.push(oA);return rt;case"FilterProjection":if(Gi=this.visit(V.children[0],$),!e(Gi))return null;var gn=[],Rt=[];for(je=0;je<Gi.length;je++)iA=this.visit(V.children[2],Gi[je]),n(iA)||gn.push(Gi[je]);for(var Qn=0;Qn<gn.length;Qn++)oA=this.visit(V.children[1],gn[Qn]),oA!==null&&Rt.push(oA);return Rt;case"Comparator":switch(he=this.visit(V.children[0],$),me=this.visit(V.children[1],$),V.name){case RA:UA=t(he,me);break;case ue:UA=!t(he,me);break;case dA:UA=he>me;break;case xA:UA=he>=me;break;case IA:UA=he<me;break;case qA:UA=he<=me;break;default:throw new Error("Unknown comparator: "+V.name)}return UA;case HA:var jt=this.visit(V.children[0],$);if(!e(jt))return null;var J=[];for(je=0;je<jt.length;je++)oA=jt[je],e(oA)?J.push.apply(J,oA):J.push(oA);return J;case"Identity":return $;case"MultiSelectList":if($===null)return null;for(rt=[],je=0;je<V.children.length;je++)rt.push(this.visit(V.children[je],$));return rt;case"MultiSelectHash":if($===null)return null;rt={};var ut;for(je=0;je<V.children.length;je++)ut=V.children[je],rt[ut.name]=this.visit(ut.value,$);return rt;case"OrExpression":return iA=this.visit(V.children[0],$),n(iA)&&(iA=this.visit(V.children[1],$)),iA;case"AndExpression":return he=this.visit(V.children[0],$),n(he)===!0?he:this.visit(V.children[1],$);case"NotExpression":return he=this.visit(V.children[0],$),n(he);case"Literal":return V.value;case wA:return OA=this.visit(V.children[0],$),this.visit(V.children[1],OA);case Z:return $;case"Function":var bi=[];for(je=0;je<V.children.length;je++)bi.push(this.visit(V.children[je],$));return this.runtime.callFunction(V.name,bi);case"ExpressionReference":var kn=V.children[0];return kn.jmespathType=CA,kn;default:throw new Error("Unknown node type: "+V.type)}},computeSliceParams:function(V,$){var iA=$[0],oA=$[1],UA=$[2],he=[null,null,null];if(UA===null)UA=1;else if(UA===0){var me=new Error("Invalid slice, step cannot be 0");throw me.name="RuntimeError",me}var GA=UA<0;return iA===null?iA=GA?V-1:0:iA=this.capSliceRange(V,iA,UA),oA===null?oA=GA?-1:V:oA=this.capSliceRange(V,oA,UA),he[0]=iA,he[1]=oA,he[2]=UA,he},capSliceRange:function(V,$,iA){return $<0?($+=V,$<0&&($=iA<0?-1:0)):$>=V&&($=iA<0?V-1:V),$}};function qe(V){this._interpreter=V,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[s]}]},avg:{_func:this._functionAvg,_signature:[{types:[f]}]},ceil:{_func:this._functionCeil,_signature:[{types:[s]}]},contains:{_func:this._functionContains,_signature:[{types:[g,C]},{types:[l]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[g]},{types:[g]}]},floor:{_func:this._functionFloor,_signature:[{types:[s]}]},length:{_func:this._functionLength,_signature:[{types:[g,C,d]}]},map:{_func:this._functionMap,_signature:[{types:[u]},{types:[C]}]},max:{_func:this._functionMax,_signature:[{types:[f,m]}]},merge:{_func:this._functionMerge,_signature:[{types:[d],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[C]},{types:[u]}]},sum:{_func:this._functionSum,_signature:[{types:[f]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[g]},{types:[g]}]},min:{_func:this._functionMin,_signature:[{types:[f,m]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[C]},{types:[u]}]},type:{_func:this._functionType,_signature:[{types:[l]}]},keys:{_func:this._functionKeys,_signature:[{types:[d]}]},values:{_func:this._functionValues,_signature:[{types:[d]}]},sort:{_func:this._functionSort,_signature:[{types:[m,f]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[C]},{types:[u]}]},join:{_func:this._functionJoin,_signature:[{types:[g]},{types:[m]}]},reverse:{_func:this._functionReverse,_signature:[{types:[g,C]}]},to_array:{_func:this._functionToArray,_signature:[{types:[l]}]},to_string:{_func:this._functionToString,_signature:[{types:[l]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[l]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[l],variadic:!0}]}}}qe.prototype={callFunction:function(V,$){var iA=this.functionTable[V];if(iA===void 0)throw new Error("Unknown function: "+V+"()");return this._validateArgs(V,$,iA._signature),iA._func.call(this,$)},_validateArgs:function(V,$,iA){var oA;if(iA[iA.length-1].variadic){if($.length<iA.length)throw oA=iA.length===1?" argument":" arguments",new Error("ArgumentError: "+V+"() takes at least"+iA.length+oA+" but received "+$.length)}else if($.length!==iA.length)throw oA=iA.length===1?" argument":" arguments",new Error("ArgumentError: "+V+"() takes "+iA.length+oA+" but received "+$.length);for(var UA,he,me,GA=0;GA<iA.length;GA++){me=!1,UA=iA[GA].types,he=this._getTypeName($[GA]);for(var OA=0;OA<UA.length;OA++)if(this._typeMatches(he,UA[OA],$[GA])){me=!0;break}if(!me){var wt=UA.map(function(rt){return v[rt]}).join(",");throw new Error("TypeError: "+V+"() expected argument "+(GA+1)+" to be type "+wt+" but received type "+v[he]+" instead.")}}},_typeMatches:function(V,$,iA){if($===l)return!0;if($===m||$===f||$===C){if($===C)return V===C;if(V===C){var oA;$===f?oA=s:$===m&&(oA=g);for(var UA=0;UA<iA.length;UA++)if(!this._typeMatches(this._getTypeName(iA[UA]),oA,iA[UA]))return!1;return!0}}else return V===$},_getTypeName:function(V){switch(Object.prototype.toString.call(V)){case"[object String]":return g;case"[object Number]":return s;case"[object Array]":return C;case"[object Boolean]":return B;case"[object Null]":return E;case"[object Object]":return V.jmespathType===CA?u:d}},_functionStartsWith:function(V){return V[0].lastIndexOf(V[1])===0},_functionEndsWith:function(V){var $=V[0],iA=V[1];return $.indexOf(iA,$.length-iA.length)!==-1},_functionReverse:function(V){var $=this._getTypeName(V[0]);if($===g){for(var iA=V[0],oA="",UA=iA.length-1;UA>=0;UA--)oA+=iA[UA];return oA}else{var he=V[0].slice(0);return he.reverse(),he}},_functionAbs:function(V){return Math.abs(V[0])},_functionCeil:function(V){return Math.ceil(V[0])},_functionAvg:function(V){for(var $=0,iA=V[0],oA=0;oA<iA.length;oA++)$+=iA[oA];return $/iA.length},_functionContains:function(V){return V[0].indexOf(V[1])>=0},_functionFloor:function(V){return Math.floor(V[0])},_functionLength:function(V){return A(V[0])?Object.keys(V[0]).length:V[0].length},_functionMap:function(V){for(var $=[],iA=this._interpreter,oA=V[0],UA=V[1],he=0;he<UA.length;he++)$.push(iA.visit(oA,UA[he]));return $},_functionMerge:function(V){for(var $={},iA=0;iA<V.length;iA++){var oA=V[iA];for(var UA in oA)$[UA]=oA[UA]}return $},_functionMax:function(V){if(V[0].length>0){var $=this._getTypeName(V[0][0]);if($===s)return Math.max.apply(Math,V[0]);for(var iA=V[0],oA=iA[0],UA=1;UA<iA.length;UA++)oA.localeCompare(iA[UA])<0&&(oA=iA[UA]);return oA}else return null},_functionMin:function(V){if(V[0].length>0){var $=this._getTypeName(V[0][0]);if($===s)return Math.min.apply(Math,V[0]);for(var iA=V[0],oA=iA[0],UA=1;UA<iA.length;UA++)iA[UA].localeCompare(oA)<0&&(oA=iA[UA]);return oA}else return null},_functionSum:function(V){for(var $=0,iA=V[0],oA=0;oA<iA.length;oA++)$+=iA[oA];return $},_functionType:function(V){switch(this._getTypeName(V[0])){case s:return"number";case g:return"string";case C:return"array";case d:return"object";case B:return"boolean";case u:return"expref";case E:return"null"}},_functionKeys:function(V){return Object.keys(V[0])},_functionValues:function(V){for(var $=V[0],iA=Object.keys($),oA=[],UA=0;UA<iA.length;UA++)oA.push($[iA[UA]]);return oA},_functionJoin:function(V){var $=V[0],iA=V[1];return iA.join($)},_functionToArray:function(V){return this._getTypeName(V[0])===C?V[0]:[V[0]]},_functionToString:function(V){return this._getTypeName(V[0])===g?V[0]:JSON.stringify(V[0])},_functionToNumber:function(V){var $=this._getTypeName(V[0]),iA;return $===s?V[0]:$===g&&(iA=+V[0],!isNaN(iA))?iA:null},_functionNotNull:function(V){for(var $=0;$<V.length;$++)if(this._getTypeName(V[$])!==E)return V[$];return null},_functionSort:function(V){var $=V[0].slice(0);return $.sort(),$},_functionSortBy:function(V){var $=V[0].slice(0);if($.length===0)return $;var iA=this._interpreter,oA=V[1],UA=this._getTypeName(iA.visit(oA,$[0]));if([s,g].indexOf(UA)<0)throw new Error("TypeError");for(var he=this,me=[],GA=0;GA<$.length;GA++)me.push([GA,$[GA]]);me.sort(function(wt,rt){var je=iA.visit(oA,wt[1]),ze=iA.visit(oA,rt[1]);if(he._getTypeName(je)!==UA)throw new Error("TypeError: expected "+UA+", received "+he._getTypeName(je));if(he._getTypeName(ze)!==UA)throw new Error("TypeError: expected "+UA+", received "+he._getTypeName(ze));return je>ze?1:je<ze?-1:wt[0]-rt[0]});for(var OA=0;OA<me.length;OA++)$[OA]=me[OA][1];return $},_functionMaxBy:function(V){for(var $=V[1],iA=V[0],oA=this.createKeyFunction($,[s,g]),UA=-1/0,he,me,GA=0;GA<iA.length;GA++)me=oA(iA[GA]),me>UA&&(UA=me,he=iA[GA]);return he},_functionMinBy:function(V){for(var $=V[1],iA=V[0],oA=this.createKeyFunction($,[s,g]),UA=1/0,he,me,GA=0;GA<iA.length;GA++)me=oA(iA[GA]),me<UA&&(UA=me,he=iA[GA]);return he},createKeyFunction:function(V,$){var iA=this,oA=this._interpreter,UA=function(he){var me=oA.visit(V,he);if($.indexOf(iA._getTypeName(me))<0){var GA="TypeError: expected one of "+$+", received "+iA._getTypeName(me);throw new Error(GA)}return me};return UA}};function vt(V){var $=new Zt,iA=$.parse(V);return iA}function Ke(V){var $=new Dt;return $.tokenize(V)}function Ii(V,$){var iA=new Zt,oA=new qe,UA=new Pe(oA);oA._interpreter=UA;var he=iA.parse($);return UA.search(he,V)}i.tokenize=Ke,i.compile=vt,i.search=Ii,i.strictDeepEqual=t})(typeof v6>"u"?v6.jmespath={}:v6)});var YX=jp((gre,$5)=>{"use strict";var d8A=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};var Gt=(function(i){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,A=0,t={},n={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function E(f){return f instanceof o?new o(f.type,E(f.content),f.alias):Array.isArray(f)?f.map(E):f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(E){return Object.prototype.toString.call(E).slice(8,-1)},objId:function(E){return E.__id||Object.defineProperty(E,"__id",{value:++A}),E.__id},clone:function E(f,m){m=m||{};var v,S;switch(n.util.type(f)){case"Object":if(S=n.util.objId(f),m[S])return m[S];v={},m[S]=v;for(var k in f)f.hasOwnProperty(k)&&(v[k]=E(f[k],m));return v;case"Array":return S=n.util.objId(f),m[S]?m[S]:(v=[],m[S]=v,f.forEach(function(M,x){v[x]=E(M,m)}),v);default:return f}},getLanguage:function(E){for(;E;){var f=e.exec(E.className);if(f)return f[1].toLowerCase();E=E.parentElement}return"none"},setLanguage:function(E,f){E.className=E.className.replace(RegExp(e,"gi"),""),E.classList.add("language-"+f)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(v){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(v.stack)||[])[1];if(E){var f=document.getElementsByTagName("script");for(var m in f)if(f[m].src==E)return f[m]}return null}},isActive:function(E,f,m){for(var v="no-"+f;E;){var S=E.classList;if(S.contains(f))return!0;if(S.contains(v))return!1;E=E.parentElement}return!!m}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(E,f){var m=n.util.clone(n.languages[E]);for(var v in f)m[v]=f[v];return m},insertBefore:function(E,f,m,v){v=v||n.languages;var S=v[E],k={};for(var M in S)if(S.hasOwnProperty(M)){if(M==f)for(var x in m)m.hasOwnProperty(x)&&(k[x]=m[x]);m.hasOwnProperty(M)||(k[M]=S[M])}var F=v[E];return v[E]=k,n.languages.DFS(n.languages,function(z,j){j===F&&z!=E&&(this[z]=k)}),k},DFS:function E(f,m,v,S){S=S||{};var k=n.util.objId;for(var M in f)if(f.hasOwnProperty(M)){m.call(f,M,f[M],v||M);var x=f[M],F=n.util.type(x);F==="Object"&&!S[k(x)]?(S[k(x)]=!0,E(x,m,null,S)):F==="Array"&&!S[k(x)]&&(S[k(x)]=!0,E(x,m,M,S))}}},plugins:{},highlightAll:function(E,f){n.highlightAllUnder(document,E,f)},highlightAllUnder:function(E,f,m){var v={callback:m,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",v),v.elements=Array.prototype.slice.apply(v.container.querySelectorAll(v.selector)),n.hooks.run("before-all-elements-highlight",v);for(var S=0,k;k=v.elements[S++];)n.highlightElement(k,f===!0,v.callback)},highlightElement:function(E,f,m){var v=n.util.getLanguage(E),S=n.languages[v];n.util.setLanguage(E,v);var k=E.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(k,v);var M=E.textContent,x={element:E,language:v,grammar:S,code:M};function F(j){x.highlightedCode=j,n.hooks.run("before-insert",x),x.element.innerHTML=x.highlightedCode,n.hooks.run("after-highlight",x),n.hooks.run("complete",x),m&&m.call(x.element)}if(n.hooks.run("before-sanity-check",x),k=x.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!x.code){n.hooks.run("complete",x),m&&m.call(x.element);return}if(n.hooks.run("before-highlight",x),!x.grammar){F(n.util.encode(x.code));return}if(f&&i.Worker){var z=new Worker(n.filename);z.onmessage=function(j){F(j.data)},z.postMessage(JSON.stringify({language:x.language,code:x.code,immediateClose:!0}))}else F(n.highlight(x.code,x.grammar,x.language))},highlight:function(E,f,m){var v={code:E,grammar:f,language:m};if(n.hooks.run("before-tokenize",v),!v.grammar)throw new Error('The language "'+v.language+'" has no grammar.');return v.tokens=n.tokenize(v.code,v.grammar),n.hooks.run("after-tokenize",v),o.stringify(n.util.encode(v.tokens),v.language)},tokenize:function(E,f){var m=f.rest;if(m){for(var v in m)f[v]=m[v];delete f.rest}var S=new s;return l(S,S.head,E),r(E,S,f,S.head,0),C(S)},hooks:{all:{},add:function(E,f){var m=n.hooks.all;m[E]=m[E]||[],m[E].push(f)},run:function(E,f){var m=n.hooks.all[E];if(!(!m||!m.length))for(var v=0,S;S=m[v++];)S(f)}},Token:o};i.Prism=n;function o(E,f,m,v){this.type=E,this.content=f,this.alias=m,this.length=(v||"").length|0}o.stringify=function E(f,m){if(typeof f=="string")return f;if(Array.isArray(f)){var v="";return f.forEach(function(F){v+=E(F,m)}),v}var S={type:f.type,content:E(f.content,m),tag:"span",classes:["token",f.type],attributes:{},language:m},k=f.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(S.classes,k):S.classes.push(k)),n.hooks.run("wrap",S);var M="";for(var x in S.attributes)M+=" "+x+'="'+(S.attributes[x]||"").replace(/"/g,"&quot;")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+M+">"+S.content+"</"+S.tag+">"};function a(E,f,m,v){E.lastIndex=f;var S=E.exec(m);if(S&&v&&S[1]){var k=S[1].length;S.index+=k,S[0]=S[0].slice(k)}return S}function r(E,f,m,v,S,k){for(var M in m)if(!(!m.hasOwnProperty(M)||!m[M])){var x=m[M];x=Array.isArray(x)?x:[x];for(var F=0;F<x.length;++F){if(k&&k.cause==M+","+F)return;var z=x[F],j=z.inside,X=!!z.lookbehind,eA=!!z.greedy,Z=z.alias;if(eA&&!z.pattern.global){var CA=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,CA+"g")}for(var wA=z.pattern||z,BA=v.next,QA=S;BA!==f.tail&&!(k&&QA>=k.reach);QA+=BA.value.length,BA=BA.next){var RA=BA.value;if(f.length>E.length)return;if(!(RA instanceof o)){var dA=1,IA;if(eA){if(IA=a(wA,QA,E,X),!IA||IA.index>=E.length)break;var HA=IA.index,xA=IA.index+IA[0].length,qA=QA;for(qA+=BA.value.length;HA>=qA;)BA=BA.next,qA+=BA.value.length;if(qA-=BA.value.length,QA=qA,BA.value instanceof o)continue;for(var ue=BA;ue!==f.tail&&(qA<xA||typeof ue.value=="string");ue=ue.next)dA++,qA+=ue.value.length;dA--,RA=E.slice(QA,qA),IA.index-=QA}else if(IA=a(wA,0,RA,X),!IA)continue;var HA=IA.index,bA=IA[0],PA=RA.slice(0,HA),it=RA.slice(HA+bA.length),Xe=QA+RA.length;k&&Xe>k.reach&&(k.reach=Xe);var YA=BA.prev;PA&&(YA=l(f,YA,PA),QA+=PA.length),g(f,YA,dA);var hA=new o(M,j?n.tokenize(bA,j):bA,Z,bA);if(BA=l(f,YA,hA),it&&l(f,BA,it),dA>1){var Ae={cause:M+","+F,reach:Xe};r(E,f,m,BA.prev,QA,Ae),k&&Ae.reach>k.reach&&(k.reach=Ae.reach)}}}}}}function s(){var E={value:null,prev:null,next:null},f={value:null,prev:E,next:null};E.next=f,this.head=E,this.tail=f,this.length=0}function l(E,f,m){var v=f.next,S={value:m,prev:f,next:v};return f.next=S,v.prev=S,E.length++,S}function g(E,f,m){for(var v=f.next,S=0;S<m&&v!==E.tail;S++)v=v.next;f.next=v,v.prev=f,E.length-=S}function C(E){for(var f=[],m=E.head.next;m!==E.tail;)f.push(m.value),m=m.next;return f}if(!i.document)return i.addEventListener&&(n.disableWorkerMessageHandler||i.addEventListener("message",function(E){var f=JSON.parse(E.data),m=f.language,v=f.code,S=f.immediateClose;i.postMessage(n.highlight(v,n.languages[m],m)),S&&i.close()},!1)),n;var d=n.util.currentScript();d&&(n.filename=d.src,d.hasAttribute("data-manual")&&(n.manual=!0));function B(){n.manual||n.highlightAll()}if(!n.manual){var u=document.readyState;u==="loading"||u==="interactive"&&d&&d.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return n})(d8A);typeof $5<"u"&&$5.exports&&($5.exports=Gt);typeof global<"u"&&(global.Prism=Gt);Gt.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Gt.languages.markup.tag.inside["attr-value"].inside.entity=Gt.languages.markup.entity;Gt.languages.markup.doctype.inside["internal-subset"].inside=Gt.languages.markup;Gt.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&amp;/,"&"))});Object.defineProperty(Gt.languages.markup.tag,"addInlined",{value:function(e,A){var t={};t["language-"+A]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Gt.languages[A]},t.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:t}};n["language-"+A]={pattern:/[\s\S]+/,inside:Gt.languages[A]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Gt.languages.insertBefore("markup","cdata",o)}});Object.defineProperty(Gt.languages.markup.tag,"addAttribute",{value:function(i,e){Gt.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Gt.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Gt.languages.html=Gt.languages.markup;Gt.languages.mathml=Gt.languages.markup;Gt.languages.svg=Gt.languages.markup;Gt.languages.xml=Gt.languages.extend("markup",{});Gt.languages.ssml=Gt.languages.xml;Gt.languages.atom=Gt.languages.xml;Gt.languages.rss=Gt.languages.xml;(function(i){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var A=i.languages.markup;A&&(A.tag.addInlined("style","css"),A.tag.addAttribute("style","css"))})(Gt);Gt.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Gt.languages.javascript=Gt.languages.extend("clike",{"class-name":[Gt.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Gt.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Gt.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Gt.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Gt.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Gt.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Gt.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Gt.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Gt.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Gt.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Gt.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Gt.languages.markup&&(Gt.languages.markup.tag.addInlined("script","javascript"),Gt.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Gt.languages.js=Gt.languages.javascript;(function(){if(typeof Gt>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading\u2026",e=function(d,B){return"\u2716 Error "+d+" while fetching file: "+B},A="\u2716 Error: File does not exist or is empty",t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",o="loading",a="loaded",r="failed",s="pre[data-src]:not(["+n+'="'+a+'"]):not(['+n+'="'+o+'"])';function l(d,B,u){var E=new XMLHttpRequest;E.open("GET",d,!0),E.onreadystatechange=function(){E.readyState==4&&(E.status<400&&E.responseText?B(E.responseText):E.status>=400?u(e(E.status,E.statusText)):u(A))},E.send(null)}function g(d){var B=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(d||"");if(B){var u=Number(B[1]),E=B[2],f=B[3];return E?f?[u,Number(f)]:[u,void 0]:[u,u]}}Gt.hooks.add("before-highlightall",function(d){d.selector+=", "+s}),Gt.hooks.add("before-sanity-check",function(d){var B=d.element;if(B.matches(s)){d.code="",B.setAttribute(n,o);var u=B.appendChild(document.createElement("CODE"));u.textContent=i;var E=B.getAttribute("data-src"),f=d.language;if(f==="none"){var m=(/\.(\w+)$/.exec(E)||[,"none"])[1];f=t[m]||m}Gt.util.setLanguage(u,f),Gt.util.setLanguage(B,f);var v=Gt.plugins.autoloader;v&&v.loadLanguages(f),l(E,function(S){B.setAttribute(n,a);var k=g(B.getAttribute("data-range"));if(k){var M=S.split(/\r\n?|\n/g),x=k[0],F=k[1]==null?M.length:k[1];x<0&&(x+=M.length),x=Math.max(0,Math.min(x-1,M.length)),F<0&&(F+=M.length),F=Math.max(0,Math.min(F,M.length)),S=M.slice(x,F).join(`
6`),B.hasAttribute("data-start")||B.setAttribute("data-start",String(x+1))}u.textContent=S,Gt.highlightElement(u)},function(S){B.setAttribute(n,r),u.textContent=S})}}),Gt.plugins.fileHighlight={highlight:function(B){for(var u=(B||document).querySelectorAll(s),E=0,f;f=u[E++];)Gt.highlightElement(f)}};var C=!1;Gt.fileHighlight=function(){C||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),C=!0),Gt.plugins.fileHighlight.highlight.apply(this,arguments)}})()});var OF=(()=>{class i{_renderer;_elementRef;onChange=A=>{};onTouched=()=>{};constructor(A,t){this._renderer=A,this._elementRef=t}setProperty(A,t){this._renderer.setProperty(this._elementRef.nativeElement,A,t)}registerOnTouched(A){this.onTouched=A}registerOnChange(A){this.onChange=A}setDisabledState(A){this.setProperty("disabled",A)}static \u0275fac=function(t){return new(t||i)(st(on),st(ce))};static \u0275dir=VA({type:i})}return i})(),Av=(()=>{class i extends OF{static \u0275fac=(()=>{let A;return function(n){return(A||(A=Li(i)))(n||i)}})();static \u0275dir=VA({type:i,features:[bt]})}return i})(),cs=new MA(""),CAA={provide:cs,useExisting:Va(()=>ev),multi:!0},ev=(()=>{class i extends Av{writeValue(A){this.setProperty("checked",A)}static \u0275fac=(()=>{let A;return function(n){return(A||(A=Li(i)))(n||i)}})();static \u0275dir=VA({type:i,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,n){t&1&&U("change",function(a){return n.onChange(a.target.checked)})("blur",function(){return n.onTouched()})},standalone:!1,features:[pt([CAA]),bt]})}return i})(),dAA={provide:cs,useExisting:Va(()=>Gn),multi:!0};function IAA(){let i=TD()?TD().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var BAA=new MA(""),Gn=(()=>{class i extends OF{_compositionMode;_composing=!1;constructor(A,t,n){super(A,t),this._compositionMode=n,this._compositionMode==null&&(this._compositionMode=!IAA())}writeValue(A){let t=A??"";this.setProperty("value",t)}_handleInput(A){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(A)}_compositionStart(){this._composing=!0}_compositionEnd(A){this._composing=!1,this._compositionMode&&this.onChange(A)}static \u0275fac=function(t){return new(t||i)(st(on),st(ce),st(BAA,8))};static \u0275dir=VA({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,n){t&1&&U("input",function(a){return n._handleInput(a.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(a){return n._compositionEnd(a.target.value)})},standalone:!1,features:[pt([dAA]),bt]})}return i})();function tv(i){return i==null||iv(i)===0}function iv(i){return i==null?null:Array.isArray(i)||typeof i=="string"?i.length:i instanceof Set?i.size:null}var Oc=new MA(""),lQ=new MA(""),hAA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,js=class{static min(e){return JF(e)}static max(e){return EAA(e)}static required(e){return QAA(e)}static requiredTrue(e){return uAA(e)}static email(e){return pAA(e)}static minLength(e){return fAA(e)}static maxLength(e){return mAA(e)}static pattern(e){return wAA(e)}static nullValidator(e){return u3()}static compose(e){return VF(e)}static composeAsync(e){return qF(e)}};function JF(i){return e=>{if(e.value==null||i==null)return null;let A=parseFloat(e.value);return!isNaN(A)&&A<i?{min:{min:i,actual:e.value}}:null}}function EAA(i){return e=>{if(e.value==null||i==null)return null;let A=parseFloat(e.value);return!isNaN(A)&&A>i?{max:{max:i,actual:e.value}}:null}}function QAA(i){return tv(i.value)?{required:!0}:null}function uAA(i){return i.value===!0?null:{required:!0}}function pAA(i){return tv(i.value)||hAA.test(i.value)?null:{email:!0}}function fAA(i){return e=>{let A=e.value?.length??iv(e.value);return A===null||A===0?null:A<i?{minlength:{requiredLength:i,actualLength:A}}:null}}function mAA(i){return e=>{let A=e.value?.length??iv(e.value);return A!==null&&A>i?{maxlength:{requiredLength:i,actualLength:A}}:null}}function wAA(i){if(!i)return u3;let e,A;return typeof i=="string"?(A="",i.charAt(0)!=="^"&&(A+="^"),A+=i,i.charAt(i.length-1)!=="$"&&(A+="$"),e=new RegExp(A)):(A=i.toString(),e=i),t=>{if(tv(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:A,actualValue:n}}}}function u3(i){return null}function YF(i){return i!=null}function HF(i){return l3(i)?Yr(i):i}function zF(i){let e={};return i.forEach(A=>{e=A!=null?P(P({},e),A):e}),Object.keys(e).length===0?null:e}function PF(i,e){return e.map(A=>A(i))}function yAA(i){return!i.validate}function jF(i){return i.map(e=>yAA(e)?e:A=>e.validate(A))}function VF(i){if(!i)return null;let e=i.filter(YF);return e.length==0?null:function(A){return zF(PF(A,e))}}function nv(i){return i!=null?VF(jF(i)):null}function qF(i){if(!i)return null;let e=i.filter(YF);return e.length==0?null:function(A){let t=PF(A,e).map(HF);return JC(t).pipe(Se(zF))}}function ov(i){return i!=null?qF(jF(i)):null}function NF(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function WF(i){return i._rawValidators}function ZF(i){return i._rawAsyncValidators}function ZD(i){return i?Array.isArray(i)?i:[i]:[]}function p3(i,e){return Array.isArray(i)?i.includes(e):i===e}function FF(i,e){let A=ZD(e);return ZD(i).forEach(n=>{p3(A,n)||A.push(n)}),A}function LF(i,e){return ZD(e).filter(A=>!p3(i,A))}var f3=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=nv(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ov(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control?.reset(e)}hasError(e,A){return this.control?this.control.hasError(e,A):!1}getError(e,A){return this.control?this.control.getError(e,A):null}},T0=class extends f3{name;get formDirective(){return null}get path(){return null}},Vs=class extends f3{_parent=null;name=null;valueAccessor=null},m3=class{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var Kn=(()=>{class i extends m3{constructor(A){super(A)}static \u0275fac=function(t){return new(t||i)(st(Vs,2))};static \u0275dir=VA({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){t&2&&_A("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},standalone:!1,features:[bt]})}return i})(),XF=(()=>{class i extends m3{constructor(A){super(A)}static \u0275fac=function(t){return new(t||i)(st(T0,10))};static \u0275dir=VA({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){t&2&&_A("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},standalone:!1,features:[bt]})}return i})();var tQ="VALID",Q3="INVALID",kI="PENDING",iQ="DISABLED",VC=class{},w3=class extends VC{value;source;constructor(e,A){super(),this.value=e,this.source=A}},oQ=class extends VC{pristine;source;constructor(e,A){super(),this.pristine=e,this.source=A}},aQ=class extends VC{touched;source;constructor(e,A){super(),this.touched=e,this.source=A}},_I=class extends VC{status;source;constructor(e,A){super(),this.status=e,this.source=A}},y3=class extends VC{source;constructor(e){super(),this.source=e}},rQ=class extends VC{source;constructor(e){super(),this.source=e}};function av(i){return(M3(i)?i.validators:i)||null}function DAA(i){return Array.isArray(i)?nv(i):i||null}function rv(i,e){return(M3(e)?e.asyncValidators:i)||null}function vAA(i){return Array.isArray(i)?ov(i):i||null}function M3(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function $F(i,e,A){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Nt(1e3,"");if(!t[A])throw new Nt(1001,"")}function AL(i,e,A){i._forEachChild((t,n)=>{if(A[n]===void 0)throw new Nt(1002,"")})}var xI=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,A){this._assignValidators(e),this._assignAsyncValidators(A)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return wa(this.statusReactive)}set status(e){wa(()=>this.statusReactive.set(e))}_status=ye(()=>this.statusReactive());statusReactive=mA(void 0);get valid(){return this.status===tQ}get invalid(){return this.status===Q3}get pending(){return this.status==kI}get disabled(){return this.status===iQ}get enabled(){return this.status!==iQ}errors;get pristine(){return wa(this.pristineReactive)}set pristine(e){wa(()=>this.pristineReactive.set(e))}_pristine=ye(()=>this.pristineReactive());pristineReactive=mA(!0);get dirty(){return!this.pristine}get touched(){return wa(this.touchedReactive)}set touched(e){wa(()=>this.touchedReactive.set(e))}_touched=ye(()=>this.touchedReactive());touchedReactive=mA(!1);get untouched(){return!this.touched}_events=new ne;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(FF(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(FF(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(LF(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(LF(e,this._rawAsyncValidators))}hasValidator(e){return p3(this._rawValidators,e)}hasAsyncValidator(e){return p3(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let A=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;e.onlySelf||this._parent?.markAsTouched($A(P({},e),{sourceControl:t})),A&&e.emitEvent!==!1&&this._events.next(new aQ(!0,t))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(A=>A.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(A=>A.markAllAsTouched(e))}markAsUntouched(e={}){let A=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),e.onlySelf||this._parent?._updateTouched(e,t),A&&e.emitEvent!==!1&&this._events.next(new aQ(!1,t))}markAsDirty(e={}){let A=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;e.onlySelf||this._parent?.markAsDirty($A(P({},e),{sourceControl:t})),A&&e.emitEvent!==!1&&this._events.next(new oQ(!1,t))}markAsPristine(e={}){let A=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),e.onlySelf||this._parent?._updatePristine(e,t),A&&e.emitEvent!==!1&&this._events.next(new oQ(!0,t))}markAsPending(e={}){this.status=kI;let A=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new _I(this.status,A)),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.markAsPending($A(P({},e),{sourceControl:A}))}disable(e={}){let A=this._parentMarkedDirty(e.onlySelf);this.status=iQ,this.errors=null,this._forEachChild(n=>{n.disable($A(P({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new w3(this.value,t)),this._events.next(new _I(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors($A(P({},e),{skipPristineCheck:A}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let A=this._parentMarkedDirty(e.onlySelf);this.status=tQ,this._forEachChild(t=>{t.enable($A(P({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors($A(P({},e),{skipPristineCheck:A}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,A){e.onlySelf||(this._parent?.updateValueAndValidity(e),e.skipPristineCheck||this._parent?._updatePristine({},A),this._parent?._updateTouched({},A))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tQ||this.status===kI)&&this._runAsyncValidator(t,e.emitEvent)}let A=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new w3(this.value,A)),this._events.next(new _I(this.status,A)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.updateValueAndValidity($A(P({},e),{sourceControl:A}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(A=>A._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?iQ:tQ}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,A){if(this.asyncValidator){this.status=kI,this._hasOwnPendingAsyncValidator={emitEvent:A!==!1,shouldHaveEmitted:e!==!1};let t=HF(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:A,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,A={}){this.errors=e,this._updateControlsErrors(A.emitEvent!==!1,this,A.shouldHaveEmitted)}get(e){let A=e;return A==null||(Array.isArray(A)||(A=A.split(".")),A.length===0)?null:A.reduce((t,n)=>t&&t._find(n),this)}getError(e,A){let t=A?this.get(A):this;return t?.errors?t.errors[e]:null}hasError(e,A){return!!this.getError(e,A)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,A,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new _I(this.status,A)),this._parent&&this._parent._updateControlsErrors(e,A,t)}_initObservables(){this.valueChanges=new FA,this.statusChanges=new FA}_calculateStatus(){return this._allControlsDisabled()?iQ:this.errors?Q3:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kI)?kI:this._anyControlsHaveStatus(Q3)?Q3:tQ}_anyControlsHaveStatus(e){return this._anyControls(A=>A.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,A){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,e.onlySelf||this._parent?._updatePristine(e,A),n&&this._events.next(new oQ(this.pristine,A))}_updateTouched(e={},A){this.touched=this._anyControlsTouched(),this._events.next(new aQ(this.touched,A)),e.onlySelf||this._parent?._updateTouched(e,A)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){M3(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=DAA(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=vAA(this._rawAsyncValidators)}},RI=class extends xI{constructor(e,A,t){super(av(A),rv(t,A)),this.controls=e,this._initObservables(),this._setUpdateStrategy(A),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,A){return this.controls[e]?this.controls[e]:(this.controls[e]=A,A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange),A)}addControl(e,A,t={}){this.registerControl(e,A),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,A={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:A.emitEvent}),this._onCollectionChange()}setControl(e,A,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],A&&this.registerControl(e,A),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,A={}){AL(this,!0,e),Object.keys(e).forEach(t=>{$F(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:A.emitEvent})}),this.updateValueAndValidity(A)}patchValue(e,A={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:A.emitEvent})}),this.updateValueAndValidity(A))}reset(e={},A={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,$A(P({},A),{onlySelf:!0}))}),this._updatePristine(A,this),this._updateTouched(A,this),this.updateValueAndValidity(A),A?.emitEvent!==!1&&this._events.next(new rQ(this))}getRawValue(){return this._reduceChildren({},(e,A,t)=>(e[t]=A.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(A,t)=>t._syncPendingControls()?!0:A);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(A=>{let t=this.controls[A];t&&e(t,A)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[A,t]of Object.entries(this.controls))if(this.contains(A)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(A,t,n)=>((t.enabled||this.disabled)&&(A[n]=t.value),A))}_reduceChildren(e,A){let t=e;return this._forEachChild((n,o)=>{t=A(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var XD=class extends RI{};var NI=new MA("",{factory:()=>S3}),S3="always";function eL(i,e){return[...e.path,i]}function sQ(i,e,A=S3){sv(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||A==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),MAA(i,e),kAA(i,e),SAA(i,e),bAA(i,e)}function D3(i,e,A=!0){let t=()=>{};e?.valueAccessor?.registerOnChange(t),e?.valueAccessor?.registerOnTouched(t),b3(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function v3(i,e){i.forEach(A=>{A.registerOnValidatorChange&&A.registerOnValidatorChange(e)})}function bAA(i,e){if(e.valueAccessor.setDisabledState){let A=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(A),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(A)})}}function sv(i,e){let A=WF(i);e.validator!==null?i.setValidators(NF(A,e.validator)):typeof A=="function"&&i.setValidators([A]);let t=ZF(i);e.asyncValidator!==null?i.setAsyncValidators(NF(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();v3(e._rawValidators,n),v3(e._rawAsyncValidators,n)}function b3(i,e){let A=!1;if(i!==null){if(e.validator!==null){let n=WF(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==e.validator);o.length!==n.length&&(A=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=ZF(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==e.asyncValidator);o.length!==n.length&&(A=!0,i.setAsyncValidators(o))}}}let t=()=>{};return v3(e._rawValidators,t),v3(e._rawAsyncValidators,t),A}function MAA(i,e){e.valueAccessor.registerOnChange(A=>{i._pendingValue=A,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&tL(i,e)})}function SAA(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&tL(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function tL(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function kAA(i,e){let A=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(A),e._registerOnDestroy(()=>{i._unregisterOnChange(A)})}function iL(i,e){i==null,sv(i,e)}function _AA(i,e){return b3(i,e)}function lv(i,e){if(!i.hasOwnProperty("model"))return!1;let A=i.model;return A.isFirstChange()?!0:!Object.is(e,A.currentValue)}function xAA(i){return Object.getPrototypeOf(i.constructor)===Av}function nL(i,e){i._syncPendingControls(),e.forEach(A=>{let t=A.control;t.updateOn==="submit"&&t._pendingChange&&(A.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function gv(i,e){if(!e)return null;Array.isArray(e);let A,t,n;return e.forEach(o=>{o.constructor===Gn?A=o:xAA(o)?t=o:n=o}),n||t||A||null}function RAA(i,e){let A=i.indexOf(e);A>-1&&i.splice(A,1)}var NAA={provide:T0,useExisting:Va(()=>FI)},nQ=Promise.resolve(),FI=(()=>{class i extends T0{callSetDisabledState;get submitted(){return wa(this.submittedReactive)}_submitted=ye(()=>this.submittedReactive());submittedReactive=mA(!1);_directives=new Set;form;ngSubmit=new FA;options;constructor(A,t,n){super(),this.callSetDisabledState=n,this.form=new RI({},nv(A),ov(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(A){nQ.then(()=>{let t=this._findContainer(A.path);A.control=t.registerControl(A.name,A.control),sQ(A.control,A,this.callSetDisabledState),A.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(A)})}getControl(A){return this.form.get(A.path)}removeControl(A){nQ.then(()=>{this._findContainer(A.path)?.removeControl(A.name),this._directives.delete(A)})}addFormGroup(A){nQ.then(()=>{let t=this._findContainer(A.path),n=new RI({});iL(n,A),t.registerControl(A.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(A){nQ.then(()=>{this._findContainer(A.path)?.removeControl?.(A.name)})}getFormGroup(A){return this.form.get(A.path)}updateModel(A,t){nQ.then(()=>{this.form.get(A.path).setValue(t)})}setValue(A){this.control.setValue(A)}onSubmit(A){return this.submittedReactive.set(!0),nL(this.form,this._directives),this.ngSubmit.emit(A),this.form._events.next(new y3(this.control)),A?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(A=void 0){this.form.reset(A),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(A){return A.pop(),A.length?this.form.get(A):this.form}static \u0275fac=function(t){return new(t||i)(st(Oc,10),st(lQ,10),st(NI,8))};static \u0275dir=VA({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){t&1&&U("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[pt([NAA]),bt]})}return i})();function GF(i,e){let A=i.indexOf(e);A>-1&&i.splice(A,1)}function KF(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Ps=class extends xI{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,A,t){super(av(A),rv(t,A)),this._applyFormState(e),this._setUpdateStrategy(A),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),M3(A)&&(A.nonNullable||A.initialValueIsDefault)&&(KF(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,A={}){this.value=this._pendingValue=e,this._onChange.length&&A.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,A.emitViewToModelChange!==!1)),this.updateValueAndValidity(A)}patchValue(e,A={}){this.setValue(e,A)}reset(e=this.defaultValue,A={}){this._applyFormState(e),this.markAsPristine(A),this.markAsUntouched(A),this.setValue(this.value,A),A.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,A?.emitEvent!==!1&&this._events.next(new rQ(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){GF(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){GF(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){KF(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var FAA=i=>i instanceof Ps;var LAA={provide:Vs,useExisting:Va(()=>Ho)},UF=Promise.resolve(),Ho=(()=>{class i extends Vs{_changeDetectorRef;callSetDisabledState;control=new Ps;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new FA;constructor(A,t,n,o,a,r){super(),this._changeDetectorRef=a,this.callSetDisabledState=r,this._parent=A,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=gv(this,o)}ngOnChanges(A){if(this._checkForErrors(),!this._registered||"name"in A){if(this._registered&&(this._checkName(),this.formDirective)){let t=A.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in A&&this._updateDisabled(A),lv(A,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){sQ(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(A){UF.then(()=>{this.control.setValue(A,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(A){let t=A.isDisabled.currentValue,n=t!==0&&Qe(t);UF.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(A){return this._parent?eL(A,this._parent):[A]}static \u0275fac=function(t){return new(t||i)(st(T0,9),st(Oc,10),st(lQ,10),st(cs,10),st(Mt,8),st(NI,8))};static \u0275dir=VA({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[pt([LAA]),bt,ii]})}return i})();var oL=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return i})(),GAA={provide:cs,useExisting:Va(()=>gQ),multi:!0},gQ=(()=>{class i extends Av{writeValue(A){let t=A??"";this.setProperty("value",t)}registerOnChange(A){this.onChange=t=>{A(t==""?null:parseFloat(t))}}static \u0275fac=(()=>{let A;return function(n){return(A||(A=Li(i)))(n||i)}})();static \u0275dir=VA({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,n){t&1&&U("input",function(a){return n.onChange(a.target.value)})("blur",function(){return n.onTouched()})},standalone:!1,features:[pt([GAA]),bt]})}return i})();var $D=class extends xI{constructor(e,A,t){super(av(A),rv(t,A)),this.controls=e,this._initObservables(),this._setUpdateStrategy(A),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,A={}){Array.isArray(e)?e.forEach(t=>{this.controls.push(t),this._registerControl(t)}):(this.controls.push(e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:A.emitEvent}),this._onCollectionChange()}insert(e,A,t={}){this.controls.splice(e,0,A),this._registerControl(A),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,A={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:A.emitEvent})}setControl(e,A,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),A&&(this.controls.splice(n,0,A),this._registerControl(A)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,A={}){AL(this,!1,e),e.forEach((t,n)=>{$F(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:A.emitEvent})}),this.updateValueAndValidity(A)}patchValue(e,A={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:A.emitEvent})}),this.updateValueAndValidity(A))}reset(e=[],A={}){this._forEachChild((t,n)=>{t.reset(e[n],$A(P({},A),{onlySelf:!0}))}),this._updatePristine(A,this),this._updateTouched(A,this),this.updateValueAndValidity(A),A?.emitEvent!==!1&&this._events.next(new rQ(this))}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(A=>A._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((A,t)=>t._syncPendingControls()?!0:A,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((A,t)=>{e(A,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(A=>A.enabled&&e(A))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};var KAA=(()=>{class i extends T0{callSetDisabledState;get submitted(){return wa(this._submittedReactive)}set submitted(A){this._submittedReactive.set(A)}_submitted=ye(()=>this._submittedReactive());_submittedReactive=mA(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(A,t,n){super(),this.callSetDisabledState=n,this._setValidators(A),this._setAsyncValidators(t)}ngOnChanges(A){this.onChanges(A)}ngOnDestroy(){this.onDestroy()}onChanges(A){this._checkFormPresent(),A.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(b3(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(A){let t=this.form.get(A.path);return sQ(t,A,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(A),t}getControl(A){return this.form.get(A.path)}removeControl(A){D3(A.control||null,A,!1),RAA(this.directives,A)}addFormGroup(A){this._setUpFormContainer(A)}removeFormGroup(A){this._cleanUpFormContainer(A)}getFormGroup(A){return this.form.get(A.path)}getFormArray(A){return this.form.get(A.path)}addFormArray(A){this._setUpFormContainer(A)}removeFormArray(A){this._cleanUpFormContainer(A)}updateModel(A,t){this.form.get(A.path).setValue(t)}onReset(){this.resetForm()}resetForm(A=void 0,t={}){this.form.reset(A,t),this._submittedReactive.set(!1)}onSubmit(A){return this.submitted=!0,nL(this.form,this.directives),this.ngSubmit.emit(A),this.form._events.next(new y3(this.control)),A?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(A=>{let t=A.control,n=this.form.get(A.path);t!==n&&(D3(t||null,A),FAA(n)&&(sQ(n,A,this.callSetDisabledState),A.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(A){let t=this.form.get(A.path);iL(t,A),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(A){let t=this.form?.get(A.path);t&&_AA(t,A)&&t.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){sv(this.form,this),this._oldForm&&b3(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(t){return new(t||i)(st(Oc,10),st(lQ,10),st(NI,8))};static \u0275dir=VA({type:i,features:[bt,ii]})}return i})();var cv=new MA(""),UAA={provide:Vs,useExisting:Va(()=>x1)},x1=(()=>{class i extends Vs{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(A){}model;update=new FA;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(A,t,n,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(A),this._setAsyncValidators(t),this.valueAccessor=gv(this,n)}ngOnChanges(A){if(this._isControlChanged(A)){let t=A.form.previousValue;t&&D3(t,this,!1),sQ(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lv(A,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&D3(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}_isControlChanged(A){return A.hasOwnProperty("form")}static \u0275fac=function(t){return new(t||i)(st(Oc,10),st(lQ,10),st(cs,10),st(cv,8),st(NI,8))};static \u0275dir=VA({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[pt([UAA]),bt,ii]})}return i})();var TAA={provide:Vs,useExisting:Va(()=>Cv)},Cv=(()=>{class i extends Vs{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(A){}model;update=new FA;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(A,t,n,o,a){super(),this._ngModelWarningConfig=a,this._parent=A,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=gv(this,o)}ngOnChanges(A){this._added||this._setUpControl(),lv(A,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}get path(){return eL(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(t){return new(t||i)(st(T0,13),st(Oc,10),st(lQ,10),st(cs,10),st(cv,8))};static \u0275dir=VA({type:i,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[pt([TAA]),bt,ii]})}return i})();var OAA={provide:T0,useExisting:Va(()=>qC)},qC=(()=>{class i extends KAA{form=null;ngSubmit=new FA;get control(){return this.form}static \u0275fac=(()=>{let A;return function(n){return(A||(A=Li(i)))(n||i)}})();static \u0275dir=VA({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,n){t&1&&U("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[pt([OAA]),bt]})}return i})();function JAA(i){return typeof i=="number"?i:parseFloat(i)}var YAA=(()=>{class i{_validator=u3;_onChange;_enabled;ngOnChanges(A){if(this.inputName in A){let t=this.normalizeInput(A[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):u3,this._onChange?.()}}validate(A){return this._validator(A)}registerOnValidatorChange(A){this._onChange=A}enabled(A){return A!=null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,features:[ii]})}return i})();var HAA={provide:Oc,useExisting:Va(()=>dv),multi:!0},dv=(()=>{class i extends YAA{min;inputName="min";normalizeInput=A=>JAA(A);createValidator=A=>JF(A);static \u0275fac=(()=>{let A;return function(n){return(A||(A=Li(i)))(n||i)}})();static \u0275dir=VA({type:i,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,n){t&2&&ie("min",n._enabled?n.min:null)},inputs:{min:"min"},standalone:!1,features:[pt([HAA]),bt]})}return i})();var aL=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({})}return i})();function TF(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var rL=(()=>{class i{useNonNullable=!1;get nonNullable(){let A=new i;return A.useNonNullable=!0,A}group(A,t=null){let n=this._reduceControls(A),o={};return TF(t)?o=t:t!==null&&(o.validators=t.validator,o.asyncValidators=t.asyncValidator),new RI(n,o)}record(A,t=null){let n=this._reduceControls(A);return new XD(n,t)}control(A,t,n){let o={};return this.useNonNullable?(TF(t)?o=t:(o.validators=t,o.asyncValidators=n),new Ps(A,$A(P({},o),{nonNullable:!0}))):new Ps(A,t,n)}array(A,t,n){let o=A.map(a=>this._createControl(a));return new $D(o,t,n)}_reduceControls(A){let t={};return Object.keys(A).forEach(n=>{t[n]=this._createControl(A[n])}),t}_createControl(A){if(A instanceof Ps)return A;if(A instanceof xI)return A;if(Array.isArray(A)){let t=A[0],n=A.length>1?A[1]:null,o=A.length>2?A[2]:null;return this.control(t,n,o)}else return this.control(A)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var fn=(()=>{class i{static withConfig(A){return{ngModule:i,providers:[{provide:NI,useValue:A.callSetDisabledState??S3}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[aL]})}return i})(),WC=(()=>{class i{static withConfig(A){return{ngModule:i,providers:[{provide:cv,useValue:A.warnOnNgModelWithFormControl??"always"},{provide:NI,useValue:A.callSetDisabledState??S3}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[aL]})}return i})();function R1(i){return i.buttons===0||i.detail===0}function N1(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Iv;function sL(){if(Iv==null){let i=typeof document<"u"?document.head:null;Iv=!!(i&&(i.createShadowRoot||i.attachShadow))}return Iv}function Bv(i){if(sL()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function cQ(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function Pr(i){return i.composedPath?i.composedPath()[0]:i.target}var hv;try{hv=typeof Intl<"u"&&Intl.v8BreakIterator}catch(i){hv=!1}var Qi=(()=>{class i{_platformId=w(i3);isBrowser=this._platformId?U0(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||hv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var CQ;function lL(){if(CQ==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>CQ=!0}))}finally{CQ=CQ||!1}return CQ}function LI(i){return lL()?i:!!i.capture}function qs(i,e=0){return k3(i)?Number(i):arguments.length===2?e:0}function k3(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function ks(i){return i instanceof ce?i.nativeElement:i}var gL=new MA("cdk-input-modality-detector-options"),cL={ignoreKeys:[18,17,224,91,16]},CL=650,Ev={passive:!0,capture:!0},dL=(()=>{class i{_platform=w(Qi);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new gi(null);_options;_lastTouchMs=0;_onKeydown=A=>{this._options?.ignoreKeys?.some(t=>t===A.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pr(A))};_onMousedown=A=>{Date.now()-this._lastTouchMs<CL||(this._modality.next(R1(A)?"keyboard":"mouse"),this._mostRecentTarget=Pr(A))};_onTouchstart=A=>{if(N1(A)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pr(A)};constructor(){let A=w(We),t=w(ci),n=w(gL,{optional:!0});if(this._options=P(P({},cL),n),this.modalityDetected=this._modality.pipe(Dl(1)),this.modalityChanged=this.modalityDetected.pipe(xg()),this._platform.isBrowser){let o=w(zr).createRenderer(null,null);this._listenerCleanups=A.runOutsideAngular(()=>[o.listen(t,"keydown",this._onKeydown,Ev),o.listen(t,"mousedown",this._onMousedown,Ev),o.listen(t,"touchstart",this._onTouchstart,Ev)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(A=>A())}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),dQ=(function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i})(dQ||{}),IL=new MA("cdk-focus-monitor-default-options"),_3=LI({passive:!0,capture:!0}),rr=(()=>{class i{_ngZone=w(We);_platform=w(Qi);_inputModalityDetector=w(dL);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=w(ci);_stopInputModalityDetector=new ne;constructor(){let A=w(IL,{optional:!0});this._detectionMode=A?.detectionMode||dQ.IMMEDIATE}_rootNodeFocusAndBlurListener=A=>{let t=Pr(A);for(let n=t;n;n=n.parentElement)A.type==="focus"?this._onFocus(A,n):this._onBlur(A,n)};monitor(A,t=!1){let n=ks(A);if(!this._platform.isBrowser||n.nodeType!==1)return oe();let o=Bv(n)||this._document,a=this._elementInfo.get(n);if(a)return t&&(a.checkChildren=!0),a.subject;let r={checkChildren:t,subject:new ne,rootNode:o};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(A){let t=ks(A),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(A,t,n){let o=ks(A),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([r,s])=>this._originChanged(r,t,s)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(n))}ngOnDestroy(){this._elementInfo.forEach((A,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(A){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(A)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:A&&this._isLastInteractionFromInputLabel(A)?"mouse":"program"}_shouldBeAttributedToTouch(A){return this._detectionMode===dQ.EVENTUAL||!!A?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(A,t){A.classList.toggle("cdk-focused",!!t),A.classList.toggle("cdk-touch-focused",t==="touch"),A.classList.toggle("cdk-keyboard-focused",t==="keyboard"),A.classList.toggle("cdk-mouse-focused",t==="mouse"),A.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(A,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=A,this._originFromTouchInteraction=A==="touch"&&t,this._detectionMode===dQ.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?CL:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(A,t){let n=this._elementInfo.get(t),o=Pr(A);!n||!n.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),n)}_onBlur(A,t){let n=this._elementInfo.get(t);!n||n.checkChildren&&A.relatedTarget instanceof Node&&t.contains(A.relatedTarget)||(this._setClasses(t),this._emitOrigin(n,null))}_emitOrigin(A,t){A.subject.observers.length&&this._ngZone.run(()=>A.subject.next(t))}_registerGlobalListeners(A){if(!this._platform.isBrowser)return;let t=A.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,_3),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,_3)}),this._rootNodeFocusListenerCount.set(t,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(yt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(A){let t=A.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_3),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_3),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(A,t,n){this._setClasses(A,t),this._emitOrigin(n,t),this._lastFocusOrigin=t}_getClosestElementsInfo(A){let t=[];return this._elementInfo.forEach((n,o)=>{(o===A||n.checkChildren&&o.contains(A))&&t.push([o,n])}),t}_isLastInteractionFromInputLabel(A){let{_mostRecentTarget:t,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!t||t===A||A.nodeName!=="INPUT"&&A.nodeName!=="TEXTAREA"||A.disabled)return!1;let o=A.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(t))return!0}return!1}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Qv=(()=>{class i{_elementRef=w(ce);_focusMonitor=w(rr);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new FA;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let A=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(A,A.nodeType===1&&A.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var x3=new WeakMap,Eo=(()=>{class i{_appRef;_injector=w(St);_environmentInjector=w(Hr);load(A){let t=this._appRef=this._appRef||this._injector.get(F0),n=x3.get(t);n||(n={loaders:new Set,refs:[]},x3.set(t,n),t.onDestroy(()=>{x3.get(t)?.refs.forEach(o=>o.destroy()),x3.delete(t)})),n.loaders.has(A)||(n.loaders.add(A),n.refs.push(C3(A,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ZC=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,n){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
7`],encapsulation:2,changeDetection:0})}return i})(),R3;function zAA(){if(R3===void 0&&(R3=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(R3=i.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return R3}function F1(i){return zAA()?.createHTML(i)||i}function BL(i,e,A){let t=A.sanitize(Ng.HTML,e);i.innerHTML=F1(t||"")}function GI(i){return Array.isArray(i)?i:[i]}var hL=new Set,L1,KI=(()=>{class i{_platform=w(Qi);_nonce=w(DN,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):jAA}matchMedia(A){return(this._platform.WEBKIT||this._platform.BLINK)&&PAA(A,this._nonce),this._matchMedia(A)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function PAA(i,e){if(!hL.has(i))try{L1||(L1=document.createElement("style"),e&&L1.setAttribute("nonce",e),L1.setAttribute("type","text/css"),document.head.appendChild(L1)),L1.sheet&&(L1.sheet.insertRule(`@media ${i} {body{ }}`,0),hL.add(i))}catch(A){console.error(A)}}function jAA(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var IQ=(()=>{class i{_mediaMatcher=w(KI);_zone=w(We);_queries=new Map;_destroySubject=new ne;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(A){return EL(GI(A)).some(n=>this._registerQuery(n).mql.matches)}observe(A){let n=EL(GI(A)).map(a=>this._registerQuery(a).observable),o=Dr(n);return o=Xp(o.pipe(Ro(1)),o.pipe(Dl(1),Os(0))),o.pipe(Se(a=>{let r={matches:!1,breakpoints:{}};return a.forEach(({matches:s,query:l})=>{r.matches=r.matches||s,r.breakpoints[l]=s}),r}))}_registerQuery(A){if(this._queries.has(A))return this._queries.get(A);let t=this._mediaMatcher.matchMedia(A),o={observable:new Fi(a=>{let r=s=>this._zone.run(()=>a.next(s));return t.addListener(r),()=>{t.removeListener(r)}}).pipe(Yn(t),Se(({matches:a})=>({query:A,matches:a})),yt(this._destroySubject)),mql:t};return this._queries.set(A,o),o}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function EL(i){return i.map(e=>e.split(",")).reduce((e,A)=>e.concat(A)).map(e=>e.trim())}function VAA(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let e=0;e<i.addedNodes.length;e++)if(!(i.addedNodes[e]instanceof Comment))return!1;for(let e=0;e<i.removedNodes.length;e++)if(!(i.removedNodes[e]instanceof Comment))return!1;return!0}return!1}var QL=(()=>{class i{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),uL=(()=>{class i{_mutationObserverFactory=w(QL);_observedElements=new Map;_ngZone=w(We);constructor(){}ngOnDestroy(){this._observedElements.forEach((A,t)=>this._cleanupObserver(t))}observe(A){let t=ks(A);return new Fi(n=>{let a=this._observeElement(t).pipe(Se(r=>r.filter(s=>!VAA(s))),Bt(r=>!!r.length)).subscribe(r=>{this._ngZone.run(()=>{n.next(r)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(A){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(A))this._observedElements.get(A).count++;else{let t=new ne,n=this._mutationObserverFactory.create(o=>t.next(o));n&&n.observe(A,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(A,{observer:n,stream:t,count:1})}return this._observedElements.get(A).stream})}_unobserveElement(A){this._observedElements.has(A)&&(this._observedElements.get(A).count--,this._observedElements.get(A).count||this._cleanupObserver(A))}_cleanupObserver(A){if(this._observedElements.has(A)){let{observer:t,stream:n}=this._observedElements.get(A);t&&t.disconnect(),n.complete(),this._observedElements.delete(A)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),pL=(()=>{class i{_contentObserver=w(uL);_elementRef=w(ce);event=new FA;get disabled(){return this._disabled}set disabled(A){this._disabled=A,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(A){this._debounce=qs(A),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let A=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?A.pipe(Os(this.debounce)):A).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Qe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return i})(),N3=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({providers:[QL]})}return i})();var UI=(()=>{class i{_platform=w(Qi);constructor(){}isDisabled(A){return A.hasAttribute("disabled")}isVisible(A){return WAA(A)&&getComputedStyle(A).visibility==="visible"}isTabbable(A){if(!this._platform.isBrowser)return!1;let t=qAA(neA(A));if(t&&(fL(t)===-1||!this.isVisible(t)))return!1;let n=A.nodeName.toLowerCase(),o=fL(A);return A.hasAttribute("contenteditable")?o!==-1:n==="iframe"||n==="object"||this._platform.WEBKIT&&this._platform.IOS&&!teA(A)?!1:n==="audio"?A.hasAttribute("controls")?o!==-1:!1:n==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||A.hasAttribute("controls"):A.tabIndex>=0}isFocusable(A,t){return ieA(A)&&!this.isDisabled(A)&&(t?.ignoreVisibility||this.isVisible(A))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function qAA(i){try{return i.frameElement}catch(e){return null}}function WAA(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function ZAA(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function XAA(i){return AeA(i)&&i.type=="hidden"}function $AA(i){return eeA(i)&&i.hasAttribute("href")}function AeA(i){return i.nodeName.toLowerCase()=="input"}function eeA(i){return i.nodeName.toLowerCase()=="a"}function yL(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function fL(i){if(!yL(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function teA(i){let e=i.nodeName.toLowerCase(),A=e==="input"&&i.type;return A==="text"||A==="password"||e==="select"||e==="textarea"}function ieA(i){return XAA(i)?!1:ZAA(i)||$AA(i)||i.hasAttribute("contenteditable")||yL(i)}function neA(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var F3=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_enabled=!0;constructor(e,A,t,n,o=!1,a){this._element=e,this._checker=A,this._ngZone=t,this._document=n,this._injector=a,o||this.attachAnchors()}destroy(){let e=this._startAnchor,A=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),A&&(A.removeEventListener("focus",this.endAnchorListener),A.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(A=>{this._executeOnStable(()=>A(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(A=>{this._executeOnStable(()=>A(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(A=>{this._executeOnStable(()=>A(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let A=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?A.length?A[0]:this._getFirstTabbableElement(this._element):A.length?A[A.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let A=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(A){if(!this._checker.isFocusable(A)){let t=this._getFirstTabbableElement(A);return t?.focus(e),!!t}return A.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let A=this._getRegionBoundary("start");return A&&A.focus(e),!!A}focusLastTabbableElement(e){let A=this._getRegionBoundary("end");return A&&A.focus(e),!!A}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let A=e.children;for(let t=0;t<A.length;t++){let n=A[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(A[t]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let A=e.children;for(let t=A.length-1;t>=0;t--){let n=A[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(A[t]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,A){e?A.setAttribute("tabindex","0"):A.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?ao(e,{injector:this._injector}):setTimeout(e)}},BQ=(()=>{class i{_checker=w(UI);_ngZone=w(We);_document=w(ci);_injector=w(St);constructor(){w(Eo).load(ZC)}create(A,t=!1){return new F3(A,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var DL=new MA("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),vL=new MA("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),oeA=0,hQ=(()=>{class i{_ngZone=w(We);_defaultOptions=w(vL,{optional:!0});_liveElement;_document=w(ci);_sanitizer=w(jC);_previousTimeout;_currentPromise;_currentResolve;constructor(){let A=w(DL,{optional:!0});this._liveElement=A||this._createLiveElement()}announce(A,...t){let n=this._defaultOptions,o,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[o,a]=t,this.clear(),clearTimeout(this._previousTimeout),o||(o=n&&n.politeness?n.politeness:"polite"),a==null&&n&&(a=n.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(r=>this._currentResolve=r)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!A||typeof A=="string"?this._liveElement.textContent=A:BL(this._liveElement,A,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let A="cdk-live-announcer-element",t=this._document.getElementsByClassName(A),n=this._document.createElement("div");for(let o=0;o<t.length;o++)t[o].remove();return n.classList.add(A),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),n.id=`cdk-live-announcer-${oeA++}`,this._document.body.appendChild(n),n}_exposeAnnouncerToModals(A){let t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<t.length;n++){let o=t[n],a=o.getAttribute("aria-owns");a?a.indexOf(A)===-1&&o.setAttribute("aria-owns",a+" "+A):o.setAttribute("aria-owns",A)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var XC=(function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i})(XC||{}),mL="cdk-high-contrast-black-on-white",wL="cdk-high-contrast-white-on-black",uv="cdk-high-contrast-active",bL=(()=>{class i{_platform=w(Qi);_hasCheckedHighContrastMode=!1;_document=w(ci);_breakpointSubscription;constructor(){this._breakpointSubscription=w(IQ).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return XC.NONE;let A=this._document.createElement("div");A.style.backgroundColor="rgb(1,2,3)",A.style.position="absolute",this._document.body.appendChild(A);let t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(A):null,o=(n&&n.backgroundColor||"").replace(/ /g,"");switch(A.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return XC.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return XC.BLACK_ON_WHITE}return XC.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let A=this._document.body.classList;A.remove(uv,mL,wL),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===XC.BLACK_ON_WHITE?A.add(uv,mL):t===XC.WHITE_ON_BLACK&&A.add(uv,wL)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),EQ=(()=>{class i{constructor(){w(bL)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[N3]})}return i})();var pv={},Dn=class i{_appId=w(t3);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(e,A=!1){return this._appId!=="ng"&&(e+=this._appId),pv.hasOwnProperty(e)||(pv[e]=0),`${e}${A?i._infix+"-":""}${pv[e]++}`}static \u0275fac=function(A){return new(A||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})};var aeA=200,L3=class{_letterKeyStream=new ne;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new ne;selectedItem=this._selectedItem;constructor(e,A){let t=typeof A?.debounceInterval=="number"?A.debounceInterval:aeA;A?.skipPredicate&&(this._skipPredicateFn=A.skipPredicate),this.setItems(e),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let A=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(A>=65&&A<=90||A>=48&&A<=57)&&this._letterKeyStream.next(String.fromCharCode(A))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(mi(A=>this._pressedLetters.push(A)),Os(e),Bt(()=>this._pressedLetters.length>0),Se(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(A=>{for(let t=1;t<this._items.length+1;t++){let n=(this._selectedItemIndex+t)%this._items.length,o=this._items[n];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(A)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Sa(i,...e){return e.length?e.some(A=>i[A]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var TI=class{_items;_activeItemIndex=mA(-1);_activeItem=mA(null);_wrap=!1;_typeaheadSubscription=Oo.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=e=>e.disabled;constructor(e,A){this._items=e,e instanceof Rg?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):M1(e)&&(this._effectRef=Fn(()=>this._itemsChanged(e()),{injector:A}))}tabOut=new ne;change=new ne;skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let A=this._getItemsArray();return this._typeahead=new L3(A,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,A=10){return this._pageUpAndDown={enabled:e,delta:A},this}setActiveItem(e){let A=this._activeItem();this.updateActiveItem(e),this._activeItem()!==A&&this.change.next(this._activeItemIndex())}onKeydown(e){let A=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(A){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(n||Sa(e,"shiftKey"))&&this._typeahead?.handleKey(e);return}this._typeahead?.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let A=this._getItemsArray(),t=typeof e=="number"?e:A.indexOf(e),n=A[t];this._activeItem.set(n??null),this._activeItemIndex.set(t),this._typeahead?.setCurrentSelectedItemIndex(t)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let A=this._getItemsArray();for(let t=1;t<=A.length;t++){let n=(this._activeItemIndex()+e*t+A.length)%A.length,o=A[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex()+e,e)}_setActiveItemByIndex(e,A){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=A,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return M1(this._items)?this._items():this._items instanceof Rg?this._items.toArray():this._items}_itemsChanged(e){this._typeahead?.setItems(e);let A=this._activeItem();if(A){let t=e.indexOf(A);t>-1&&t!==this._activeItemIndex()&&(this._activeItemIndex.set(t),this._typeahead?.setCurrentSelectedItemIndex(t))}}};var QQ=class extends TI{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};var O0=class extends TI{_origin="program";setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var kL=" ";function wv(i,e,A){let t=K3(i,e);A=A.trim(),!t.some(n=>n.trim()===A)&&(t.push(A),i.setAttribute(e,t.join(kL)))}function U3(i,e,A){let t=K3(i,e);A=A.trim();let n=t.filter(o=>o!==A);n.length?i.setAttribute(e,n.join(kL)):i.removeAttribute(e)}function K3(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var _L="cdk-describedby-message",G3="cdk-describedby-host",mv=0,xL=(()=>{class i{_platform=w(Qi);_document=w(ci);_messageRegistry=new Map;_messagesContainer=null;_id=`${mv++}`;constructor(){w(Eo).load(ZC),this._id=w(t3)+"-"+mv++}describe(A,t,n){if(!this._canBeDescribed(A,t))return;let o=fv(t,n);typeof t!="string"?(SL(t,this._id),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,n),this._isElementDescribedByMessage(A,o)||this._addMessageReference(A,o)}removeDescription(A,t,n){if(!t||!this._isElementNode(A))return;let o=fv(t,n);if(this._isElementDescribedByMessage(A,o)&&this._removeMessageReference(A,o),typeof t=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let A=this._document.querySelectorAll(`[${G3}="${this._id}"]`);for(let t=0;t<A.length;t++)this._removeCdkDescribedByReferenceIds(A[t]),A[t].removeAttribute(G3);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(A,t){let n=this._document.createElement("div");SL(n,this._id),n.textContent=A,t&&n.setAttribute("role",t),this._createMessagesContainer(),this._messagesContainer.appendChild(n),this._messageRegistry.set(fv(A,t),{messageElement:n,referenceCount:0})}_deleteMessageElement(A){this._messageRegistry.get(A)?.messageElement?.remove(),this._messageRegistry.delete(A)}_createMessagesContainer(){if(this._messagesContainer)return;let A="cdk-describedby-message-container",t=this._document.querySelectorAll(`.${A}[platform="server"]`);for(let o=0;o<t.length;o++)t[o].remove();let n=this._document.createElement("div");n.style.visibility="hidden",n.classList.add(A),n.classList.add("cdk-visually-hidden"),this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._messagesContainer=n}_removeCdkDescribedByReferenceIds(A){let t=K3(A,"aria-describedby").filter(n=>n.indexOf(_L)!=0);A.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(A,t){let n=this._messageRegistry.get(t);wv(A,"aria-describedby",n.messageElement.id),A.setAttribute(G3,this._id),n.referenceCount++}_removeMessageReference(A,t){let n=this._messageRegistry.get(t);n.referenceCount--,U3(A,"aria-describedby",n.messageElement.id),A.removeAttribute(G3)}_isElementDescribedByMessage(A,t){let n=K3(A,"aria-describedby"),o=this._messageRegistry.get(t),a=o&&o.messageElement.id;return!!a&&n.indexOf(a)!=-1}_canBeDescribed(A,t){if(!this._isElementNode(A))return!1;if(t&&typeof t=="object")return!0;let n=t==null?"":`${t}`.trim(),o=A.getAttribute("aria-label");return n?!o||o.trim()!==n:!1}_isElementNode(A){return A.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function fv(i,e){return typeof i=="string"?`${e||""}/${i}`:i}function SL(i,e){i.id||(i.id=`${_L}-${e}-${mv++}`)}var Lg=(function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i})(Lg||{}),T3,O1;function O3(){if(O1==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return O1=!1,O1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)O1=!0;else{let i=Element.prototype.scrollTo;i?O1=!/\{\s*\[native code\]\s*\}/.test(i.toString()):O1=!1}}return O1}function OI(){if(typeof document!="object"||!document)return Lg.NORMAL;if(T3==null){let i=document.createElement("div"),e=i.style;i.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let A=document.createElement("div"),t=A.style;t.width="2px",t.height="1px",i.appendChild(A),document.body.appendChild(i),T3=Lg.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,T3=i.scrollLeft===0?Lg.NEGATED:Lg.INVERTED),i.remove()}return T3}function yv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var JI,RL=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Dv(){if(JI)return JI;if(typeof document!="object"||!document)return JI=new Set(RL),JI;let i=document.createElement("input");return JI=new Set(RL.filter(e=>(i.setAttribute("type",e),i.type===e))),JI}var NL={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var seA=new MA("MATERIAL_ANIMATIONS"),FL=null;function uQ(){return w(seA,{optional:!0})?.animationsDisabled||w(b1,{optional:!0})==="NoopAnimations"?"di-disabled":(FL??=w(KI).matchMedia("(prefers-reduced-motion)").matches,FL?"reduced-motion":"enabled")}function In(){return uQ()!=="enabled"}function Wa(i){return i==null?"":typeof i=="string"?i:`${i}px`}function kr(i){return i!=null&&`${i}`!="false"}var _s=(function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i})(_s||{}),vv=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=_s.HIDDEN;constructor(e,A,t,n=!1){this._renderer=e,this.element=A,this.config=t,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},LL=LI({passive:!0,capture:!0}),bv=class{_events=new Map;addHandler(e,A,t,n){let o=this._events.get(A);if(o){let a=o.get(t);a?a.add(n):o.set(t,new Set([n]))}else this._events.set(A,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,LL)})}removeHandler(e,A,t){let n=this._events.get(e);if(!n)return;let o=n.get(A);o&&(o.delete(t),o.size===0&&n.delete(A),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,LL)))}_delegateEventHandler=e=>{let A=Pr(e);A&&this._events.get(e.type)?.forEach((t,n)=>{(n===A||n.contains(A))&&t.forEach(o=>o.handleEvent(e))})}},pQ={enterDuration:225,exitDuration:150},leA=800,GL=LI({passive:!0,capture:!0}),KL=["mousedown","touchstart"],UL=["mouseup","mouseleave","touchend","touchcancel"],geA=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,n){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
8`],encapsulation:2,changeDetection:0})}return i})(),fQ=class i{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new bv;constructor(e,A,t,n,o){this._target=e,this._ngZone=A,this._platform=n,n.isBrowser&&(this._containerElement=ks(t)),o&&o.get(Eo).load(geA)}fadeInRipple(e,A,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=P(P({},pQ),t.animation);t.centered&&(e=n.left+n.width/2,A=n.top+n.height/2);let a=t.radius||ceA(e,A,n),r=e-n.left,s=A-n.top,l=o.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=`${r-a}px`,g.style.top=`${s-a}px`,g.style.height=`${a*2}px`,g.style.width=`${a*2}px`,t.color!=null&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(g);let C=window.getComputedStyle(g),d=C.transitionProperty,B=C.transitionDuration,u=d==="none"||B==="0s"||B==="0s, 0s"||n.width===0&&n.height===0,E=new vv(this,g,t,u);g.style.transform="scale3d(1, 1, 1)",E.state=_s.FADING_IN,t.persistent||(this._mostRecentTransientRipple=E);let f=null;return!u&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let m=()=>{f&&(f.fallbackTimer=null),clearTimeout(S),this._finishRippleTransition(E)},v=()=>this._destroyRipple(E),S=setTimeout(v,l+100);g.addEventListener("transitionend",m),g.addEventListener("transitioncancel",v),f={onTransitionEnd:m,onTransitionCancel:v,fallbackTimer:S}}),this._activeRipples.set(E,f),(u||!l)&&this._finishRippleTransition(E),E}fadeOutRipple(e){if(e.state===_s.FADING_OUT||e.state===_s.HIDDEN)return;let A=e.element,t=P(P({},pQ),e.config.animation);A.style.transitionDuration=`${t.exitDuration}ms`,A.style.opacity="0",e.state=_s.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let A=ks(e);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,KL.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,A,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{UL.forEach(A=>{this._triggerElement.addEventListener(A,this,GL)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===_s.FADING_IN?this._startFadeOutTransition(e):e.state===_s.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let A=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=_s.VISIBLE,!t&&(!A||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let A=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=_s.HIDDEN,A!==null&&(e.element.removeEventListener("transitionend",A.onTransitionEnd),e.element.removeEventListener("transitioncancel",A.onTransitionCancel),A.fallbackTimer!==null&&clearTimeout(A.fallbackTimer)),e.element.remove()}_onMousedown(e){let A=R1(e),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+leA;!this._target.rippleDisabled&&!A&&!t&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!N1(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let A=e.changedTouches;if(A)for(let t=0;t<A.length;t++)this.fadeInRipple(A[t].clientX,A[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let A=e.state===_s.VISIBLE||e.config.terminateOnPointerUp&&e.state===_s.FADING_IN;!e.config.persistent&&A&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(KL.forEach(A=>i._eventManager.removeHandler(A,e,this)),this._pointerUpEventsRegistered&&(UL.forEach(A=>e.removeEventListener(A,this,GL)),this._pointerUpEventsRegistered=!1))}};function ceA(i,e,A){let t=Math.max(Math.abs(i-A.left),Math.abs(i-A.right)),n=Math.max(Math.abs(e-A.top),Math.abs(e-A.bottom));return Math.sqrt(t*t+n*n)}var $C=new MA("mat-ripple-global-options"),Cs=(()=>{class i{_elementRef=w(ce);_animationsDisabled=In();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let A=w(We),t=w(Qi),n=w($C,{optional:!0}),o=w(St);this._globalOptions=n||{},this._rippleRenderer=new fQ(this,A,this._elementRef,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:P(P(P({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(A,t=0,n){return typeof A=="number"?this._rippleRenderer.fadeInRipple(A,t,P(P({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,P(P({},this.rippleConfig),A))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,n){t&2&&_A("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();var CeA={capture:!0},deA=["focus","mousedown","mouseenter","touchstart"],Mv="mat-ripple-loader-uninitialized",Sv="mat-ripple-loader-class-name",TL="mat-ripple-loader-centered",J3="mat-ripple-loader-disabled",Y3=(()=>{class i{_document=w(ci);_animationsDisabled=In();_globalRippleOptions=w($C,{optional:!0});_platform=w(Qi);_ngZone=w(We);_injector=w(St);_eventCleanups;_hosts=new Map;constructor(){let A=w(zr).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>deA.map(t=>A.listen(this._document,t,this._onInteraction,CeA)))}ngOnDestroy(){let A=this._hosts.keys();for(let t of A)this.destroyRipple(t);this._eventCleanups.forEach(t=>t())}configureRipple(A,t){A.setAttribute(Mv,this._globalRippleOptions?.namespace??""),(t.className||!A.hasAttribute(Sv))&&A.setAttribute(Sv,t.className||""),t.centered&&A.setAttribute(TL,""),t.disabled&&A.setAttribute(J3,"")}setDisabled(A,t){let n=this._hosts.get(A);n?(n.target.rippleDisabled=t,!t&&!n.hasSetUpEvents&&(n.hasSetUpEvents=!0,n.renderer.setupTriggerEvents(A))):t?A.setAttribute(J3,""):A.removeAttribute(J3)}_onInteraction=A=>{let t=Pr(A);if(t instanceof HTMLElement){let n=t.closest(`[${Mv}="${this._globalRippleOptions?.namespace??""}"]`);n&&this._createRipple(n)}};_createRipple(A){if(!this._document||this._hosts.has(A))return;A.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",A.getAttribute(Sv)),A.append(t);let n=this._globalRippleOptions,o=this._animationsDisabled?0:n?.animation?.enterDuration??pQ.enterDuration,a=this._animationsDisabled?0:n?.animation?.exitDuration??pQ.exitDuration,r={rippleDisabled:this._animationsDisabled||n?.disabled||A.hasAttribute(J3),rippleConfig:{centered:A.hasAttribute(TL),terminateOnPointerUp:n?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},s=new fQ(r,this._ngZone,t,this._platform,this._injector),l=!r.rippleDisabled;l&&s.setupTriggerEvents(A),this._hosts.set(A,{target:r,renderer:s,hasSetUpEvents:l}),A.removeAttribute(Mv)}destroyRipple(A){let t=this._hosts.get(A);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(A))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Qr=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,n){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus-visible::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
9`],encapsulation:2,changeDetection:0})}return i})();var IeA=["mat-icon-button",""],BeA=["*"],heA=new MA("MAT_BUTTON_CONFIG");function OL(i){return i==null?void 0:yn(i)}var kv=(()=>{class i{_elementRef=w(ce);_ngZone=w(We);_animationsDisabled=In();_config=w(heA,{optional:!0});_focusMonitor=w(rr);_cleanupClick;_renderer=w(on);_rippleLoader=w(Y3);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(A){this._disableRipple=A,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(A){this._disabled=A,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(A){this.tabIndex=A}constructor(){w(Eo).load(Qr);let A=this._elementRef.nativeElement;this._isAnchor=A.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(A,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(A="program",t){A?this._focusMonitor.focusVia(this._elementRef.nativeElement,A,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",A=>{this.disabled&&(A.preventDefault(),A.stopImmediatePropagation())}))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(t,n){t&2&&(ie("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled())("tabindex",n._getTabIndex()),Ao(n.color?"mat-"+n.color:""),_A("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("mat-unthemed",!n.color)("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Qe],disabled:[2,"disabled","disabled",Qe],ariaDisabled:[2,"aria-disabled","ariaDisabled",Qe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Qe],tabIndex:[2,"tabIndex","tabIndex",OL],_tabindex:[2,"tabindex","_tabindex",OL]}})}return i})(),yi=(()=>{class i extends kv{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[bt],attrs:IeA,ngContentSelectors:BeA,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,n){t&1&&(Ot(),$n(0,"span",0),Ze(1),$n(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}

Callers

nothing calls this directly

Calls 15

_createLiveElementMethod · 0.95
setAppearanceMethod · 0.95
_loadKeyframeMethod · 0.95
resetConfigMethod · 0.95
changeMethod · 0.95
_assignConfigMethod · 0.95
_takeFocusMethod · 0.95
_isFocusWithinDrawerMethod · 0.95
_restoreFocusMethod · 0.95

Tested by

no test coverage detected