403Webshell
Server IP : 18.193.92.211  /  Your IP : 216.73.216.128
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux ip-10-0-0-90 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/t357.darmas.de/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/t357.darmas.de/public_html/main-BWFKN34Y.js
import{a as z,b as Ue,c as o4,d as Hu,e as s4,f as c4,g as S1}from"./chunk-TSRGIXR5.js";var kp=s4((Lp,xc)=>{(function(t,n){typeof Lp=="object"&&typeof xc<"u"?xc.exports=n():typeof define=="function"&&define.amd?define(n):t.moment=n()})(Lp,function(){"use strict";var t;function n(){return t.apply(null,arguments)}function e(c){t=c}function i(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function r(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function a(c,d){return Object.prototype.hasOwnProperty.call(c,d)}function o(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var d;for(d in c)if(a(c,d))return!1;return!0}function s(c){return c===void 0}function l(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function u(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function h(c,d){var f=[],p,y=c.length;for(p=0;p<y;++p)f.push(d(c[p],p));return f}function g(c,d){for(var f in d)a(d,f)&&(c[f]=d[f]);return a(d,"toString")&&(c.toString=d.toString),a(d,"valueOf")&&(c.valueOf=d.valueOf),c}function C(c,d,f,p){return yv(c,d,f,p,!0).utc()}function M(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function x(c){return c._pf==null&&(c._pf=M()),c._pf}var k;Array.prototype.some?k=Array.prototype.some:k=function(c){var d=Object(this),f=d.length>>>0,p;for(p=0;p<f;p++)if(p in d&&c.call(this,d[p],p,d))return!0;return!1};function I(c){var d=null,f=!1,p=c._d&&!isNaN(c._d.getTime());if(p&&(d=x(c),f=k.call(d.parsedDateParts,function(y){return y!=null}),p=d.overflow<0&&!d.empty&&!d.invalidEra&&!d.invalidMonth&&!d.invalidWeekday&&!d.weekdayMismatch&&!d.nullInput&&!d.invalidFormat&&!d.userInvalidated&&(!d.meridiem||d.meridiem&&f),c._strict&&(p=p&&d.charsLeftOver===0&&d.unusedTokens.length===0&&d.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=p;else return p;return c._isValid}function T(c){var d=C(NaN);return c!=null?g(x(d),c):x(d).userInvalidated=!0,d}var ce=n.momentProperties=[],ye=!1;function Se(c,d){var f,p,y,S=ce.length;if(s(d._isAMomentObject)||(c._isAMomentObject=d._isAMomentObject),s(d._i)||(c._i=d._i),s(d._f)||(c._f=d._f),s(d._l)||(c._l=d._l),s(d._strict)||(c._strict=d._strict),s(d._tzm)||(c._tzm=d._tzm),s(d._isUTC)||(c._isUTC=d._isUTC),s(d._offset)||(c._offset=d._offset),s(d._pf)||(c._pf=x(d)),s(d._locale)||(c._locale=d._locale),S>0)for(f=0;f<S;f++)p=ce[f],y=d[p],s(y)||(c[p]=y);return c}function rt(c){Se(this,c),this._d=new Date(c._d!=null?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ye===!1&&(ye=!0,n.updateOffset(this),ye=!1)}function et(c){return c instanceof rt||c!=null&&c._isAMomentObject!=null}function mt(c){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function Ne(c,d){var f=!0;return g(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,c),f){var p=[],y,S,O,Me=arguments.length;for(S=0;S<Me;S++){if(y="",typeof arguments[S]=="object"){y+=`
[`+S+"] ";for(O in arguments[0])a(arguments[0],O)&&(y+=O+": "+arguments[0][O]+", ");y=y.slice(0,-2)}else y=arguments[S];p.push(y)}mt(c+`
Arguments: `+Array.prototype.slice.call(p).join("")+`
`+new Error().stack),f=!1}return d.apply(this,arguments)},d)}var Ze={};function ti(c,d){n.deprecationHandler!=null&&n.deprecationHandler(c,d),Ze[c]||(mt(d),Ze[c]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function Ht(c){return typeof Function<"u"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]"}function Le(c){var d,f;for(f in c)a(c,f)&&(d=c[f],Ht(d)?this[f]=d:this["_"+f]=d);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function he(c,d){var f=g({},c),p;for(p in d)a(d,p)&&(r(c[p])&&r(d[p])?(f[p]={},g(f[p],c[p]),g(f[p],d[p])):d[p]!=null?f[p]=d[p]:delete f[p]);for(p in c)a(c,p)&&!a(d,p)&&r(c[p])&&(f[p]=g({},f[p]));return f}function ue(c){c!=null&&this.set(c)}var Ee;Object.keys?Ee=Object.keys:Ee=function(c){var d,f=[];for(d in c)a(c,d)&&f.push(d);return f};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Z(c,d,f){var p=this._calendar[c]||this._calendar.sameElse;return Ht(p)?p.call(d,f):p}function q(c,d,f){var p=""+Math.abs(c),y=d-p.length,S=c>=0;return(S?f?"+":"":"-")+Math.pow(10,Math.max(0,y)).toString().substr(1)+p}var be=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,We=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,gt={},ft={};function pe(c,d,f,p){var y=p;typeof p=="string"&&(y=function(){return this[p]()}),c&&(ft[c]=y),d&&(ft[d[0]]=function(){return q(y.apply(this,arguments),d[1],d[2])}),f&&(ft[f]=function(){return this.localeData().ordinal(y.apply(this,arguments),c)})}function St(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function wn(c){var d=c.match(be),f,p;for(f=0,p=d.length;f<p;f++)ft[d[f]]?d[f]=ft[d[f]]:d[f]=St(d[f]);return function(y){var S="",O;for(O=0;O<p;O++)S+=Ht(d[O])?d[O].call(y,c):d[O];return S}}function Dn(c,d){return c.isValid()?(d=Ot(d,c.localeData()),gt[d]=gt[d]||wn(d),gt[d](c)):c.localeData().invalidDate()}function Ot(c,d){var f=5;function p(y){return d.longDateFormat(y)||y}for(We.lastIndex=0;f>=0&&We.test(c);)c=c.replace(We,p),We.lastIndex=0,f-=1;return c}var $t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Yt(c){var d=this._longDateFormat[c],f=this._longDateFormat[c.toUpperCase()];return d||!f?d:(this._longDateFormat[c]=f.match(be).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[c])}var Xi="Invalid date";function Sn(){return this._invalidDate}var B2="%d",H2=/\d{1,2}/;function qc(c){return this._ordinal.replace("%d",c)}var Kc={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Zc(c,d,f,p){var y=this._relativeTime[f];return Ht(y)?y(c,d,f,p):y.replace(/%d/i,c)}function Qc(c,d){var f=this._relativeTime[c>0?"future":"past"];return Ht(f)?f(d):f.replace(/%s/i,d)}var _u={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Qn(c){return typeof c=="string"?_u[c]||_u[c.toLowerCase()]:void 0}function vu(c){var d={},f,p;for(p in c)a(c,p)&&(f=Qn(p),f&&(d[f]=c[p]));return d}var oA={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function sA(c){var d=[],f;for(f in c)a(c,f)&&d.push({unit:f,priority:oA[f]});return d.sort(function(p,y){return p.priority-y.priority}),d}var ev=/\d/,Nn=/\d\d/,tv=/\d{3}/,bu=/\d{4}/,j0=/[+-]?\d{6}/,ii=/\d\d?/,iv=/\d\d\d\d?/,nv=/\d\d\d\d\d\d?/,U0=/\d{1,3}/,yu=/\d{1,4}/,G0=/[+-]?\d{1,6}/,j2=/\d+/,W0=/[+-]?\d+/,cA=/Z|[+-]\d\d:?\d\d/gi,$0=/Z|[+-]\d\d(?::?\d\d)?/gi,lA=/[+-]?\d+(\.\d{1,3})?/,Xc=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,U2=/^[1-9]\d?/,Cu=/^([1-9]\d|\d)/,Y0;Y0={};function De(c,d,f){Y0[c]=Ht(d)?d:function(p,y){return p&&f?f:d}}function dA(c,d){return a(Y0,c)?Y0[c](d._strict,d._locale):new RegExp(uA(c))}function uA(c){return xr(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(d,f,p,y,S){return f||p||y||S}))}function xr(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xn(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function Ct(c){var d=+c,f=0;return d!==0&&isFinite(d)&&(f=Xn(d)),f}var Mu={};function jt(c,d){var f,p=d,y;for(typeof c=="string"&&(c=[c]),l(d)&&(p=function(S,O){O[d]=Ct(S)}),y=c.length,f=0;f<y;f++)Mu[c[f]]=p}function Jc(c,d){jt(c,function(f,p,y,S){y._w=y._w||{},d(f,y._w,y,S)})}function mA(c,d,f){d!=null&&a(Mu,c)&&Mu[c](d,f._a,f,c)}function q0(c){return c%4===0&&c%100!==0||c%400===0}var Ji=0,wr=1,Y1=2,Ai=3,w1=4,Dr=5,Co=6,fA=7,hA=8;pe("Y",0,0,function(){var c=this.year();return c<=9999?q(c,4):"+"+c}),pe(0,["YY",2],0,function(){return this.year()%100}),pe(0,["YYYY",4],0,"year"),pe(0,["YYYYY",5],0,"year"),pe(0,["YYYYYY",6,!0],0,"year"),De("Y",W0),De("YY",ii,Nn),De("YYYY",yu,bu),De("YYYYY",G0,j0),De("YYYYYY",G0,j0),jt(["YYYYY","YYYYYY"],Ji),jt("YYYY",function(c,d){d[Ji]=c.length===2?n.parseTwoDigitYear(c):Ct(c)}),jt("YY",function(c,d){d[Ji]=n.parseTwoDigitYear(c)}),jt("Y",function(c,d){d[Ji]=parseInt(c,10)});function el(c){return q0(c)?366:365}n.parseTwoDigitYear=function(c){return Ct(c)+(Ct(c)>68?1900:2e3)};var rv=G2("FullYear",!0);function pA(){return q0(this.year())}function G2(c,d){return function(f){return f!=null?(av(this,c,f),n.updateOffset(this,d),this):tl(this,c)}}function tl(c,d){if(!c.isValid())return NaN;var f=c._d,p=c._isUTC;switch(d){case"Milliseconds":return p?f.getUTCMilliseconds():f.getMilliseconds();case"Seconds":return p?f.getUTCSeconds():f.getSeconds();case"Minutes":return p?f.getUTCMinutes():f.getMinutes();case"Hours":return p?f.getUTCHours():f.getHours();case"Date":return p?f.getUTCDate():f.getDate();case"Day":return p?f.getUTCDay():f.getDay();case"Month":return p?f.getUTCMonth():f.getMonth();case"FullYear":return p?f.getUTCFullYear():f.getFullYear();default:return NaN}}function av(c,d,f){var p,y,S,O,Me;if(!(!c.isValid()||isNaN(f))){switch(p=c._d,y=c._isUTC,d){case"Milliseconds":return void(y?p.setUTCMilliseconds(f):p.setMilliseconds(f));case"Seconds":return void(y?p.setUTCSeconds(f):p.setSeconds(f));case"Minutes":return void(y?p.setUTCMinutes(f):p.setMinutes(f));case"Hours":return void(y?p.setUTCHours(f):p.setHours(f));case"Date":return void(y?p.setUTCDate(f):p.setDate(f));case"FullYear":break;default:return}S=f,O=c.month(),Me=c.date(),Me=Me===29&&O===1&&!q0(S)?28:Me,y?p.setUTCFullYear(S,O,Me):p.setFullYear(S,O,Me)}}function gA(c){return c=Qn(c),Ht(this[c])?this[c]():this}function _A(c,d){if(typeof c=="object"){c=vu(c);var f=sA(c),p,y=f.length;for(p=0;p<y;p++)this[f[p].unit](c[f[p].unit])}else if(c=Qn(c),Ht(this[c]))return this[c](d);return this}function vA(c,d){return(c%d+d)%d}var bi;Array.prototype.indexOf?bi=Array.prototype.indexOf:bi=function(c){var d;for(d=0;d<this.length;++d)if(this[d]===c)return d;return-1};function xu(c,d){if(isNaN(c)||isNaN(d))return NaN;var f=vA(d,12);return c+=(d-f)/12,f===1?q0(c)?29:28:31-f%7%2}pe("M",["MM",2],"Mo",function(){return this.month()+1}),pe("MMM",0,0,function(c){return this.localeData().monthsShort(this,c)}),pe("MMMM",0,0,function(c){return this.localeData().months(this,c)}),De("M",ii,U2),De("MM",ii,Nn),De("MMM",function(c,d){return d.monthsShortRegex(c)}),De("MMMM",function(c,d){return d.monthsRegex(c)}),jt(["M","MM"],function(c,d){d[wr]=Ct(c)-1}),jt(["MMM","MMMM"],function(c,d,f,p){var y=f._locale.monthsParse(c,p,f._strict);y!=null?d[wr]=y:x(f).invalidMonth=c});var bA="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ov="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),sv=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,yA=Xc,CA=Xc;function MA(c,d){return c?i(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||sv).test(d)?"format":"standalone"][c.month()]:i(this._months)?this._months:this._months.standalone}function xA(c,d){return c?i(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[sv.test(d)?"format":"standalone"][c.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function wA(c,d,f){var p,y,S,O=c.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],p=0;p<12;++p)S=C([2e3,p]),this._shortMonthsParse[p]=this.monthsShort(S,"").toLocaleLowerCase(),this._longMonthsParse[p]=this.months(S,"").toLocaleLowerCase();return f?d==="MMM"?(y=bi.call(this._shortMonthsParse,O),y!==-1?y:null):(y=bi.call(this._longMonthsParse,O),y!==-1?y:null):d==="MMM"?(y=bi.call(this._shortMonthsParse,O),y!==-1?y:(y=bi.call(this._longMonthsParse,O),y!==-1?y:null)):(y=bi.call(this._longMonthsParse,O),y!==-1?y:(y=bi.call(this._shortMonthsParse,O),y!==-1?y:null))}function DA(c,d,f){var p,y,S;if(this._monthsParseExact)return wA.call(this,c,d,f);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),p=0;p<12;p++){if(y=C([2e3,p]),f&&!this._longMonthsParse[p]&&(this._longMonthsParse[p]=new RegExp("^"+this.months(y,"").replace(".","")+"$","i"),this._shortMonthsParse[p]=new RegExp("^"+this.monthsShort(y,"").replace(".","")+"$","i")),!f&&!this._monthsParse[p]&&(S="^"+this.months(y,"")+"|^"+this.monthsShort(y,""),this._monthsParse[p]=new RegExp(S.replace(".",""),"i")),f&&d==="MMMM"&&this._longMonthsParse[p].test(c))return p;if(f&&d==="MMM"&&this._shortMonthsParse[p].test(c))return p;if(!f&&this._monthsParse[p].test(c))return p}}function cv(c,d){if(!c.isValid())return c;if(typeof d=="string"){if(/^\d+$/.test(d))d=Ct(d);else if(d=c.localeData().monthsParse(d),!l(d))return c}var f=d,p=c.date();return p=p<29?p:Math.min(p,xu(c.year(),f)),c._isUTC?c._d.setUTCMonth(f,p):c._d.setMonth(f,p),c}function lv(c){return c!=null?(cv(this,c),n.updateOffset(this,!0),this):tl(this,"Month")}function SA(){return xu(this.year(),this.month())}function EA(c){return this._monthsParseExact?(a(this,"_monthsRegex")||dv.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=yA),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)}function LA(c){return this._monthsParseExact?(a(this,"_monthsRegex")||dv.call(this),c?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=CA),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)}function dv(){function c(tt,wt){return wt.length-tt.length}var d=[],f=[],p=[],y,S,O,Me;for(y=0;y<12;y++)S=C([2e3,y]),O=xr(this.monthsShort(S,"")),Me=xr(this.months(S,"")),d.push(O),f.push(Me),p.push(Me),p.push(O);d.sort(c),f.sort(c),p.sort(c),this._monthsRegex=new RegExp("^("+p.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function kA(c,d,f,p,y,S,O){var Me;return c<100&&c>=0?(Me=new Date(c+400,d,f,p,y,S,O),isFinite(Me.getFullYear())&&Me.setFullYear(c)):Me=new Date(c,d,f,p,y,S,O),Me}function il(c){var d,f;return c<100&&c>=0?(f=Array.prototype.slice.call(arguments),f[0]=c+400,d=new Date(Date.UTC.apply(null,f)),isFinite(d.getUTCFullYear())&&d.setUTCFullYear(c)):d=new Date(Date.UTC.apply(null,arguments)),d}function K0(c,d,f){var p=7+d-f,y=(7+il(c,0,p).getUTCDay()-d)%7;return-y+p-1}function uv(c,d,f,p,y){var S=(7+f-p)%7,O=K0(c,p,y),Me=1+7*(d-1)+S+O,tt,wt;return Me<=0?(tt=c-1,wt=el(tt)+Me):Me>el(c)?(tt=c+1,wt=Me-el(c)):(tt=c,wt=Me),{year:tt,dayOfYear:wt}}function nl(c,d,f){var p=K0(c.year(),d,f),y=Math.floor((c.dayOfYear()-p-1)/7)+1,S,O;return y<1?(O=c.year()-1,S=y+Sr(O,d,f)):y>Sr(c.year(),d,f)?(S=y-Sr(c.year(),d,f),O=c.year()+1):(O=c.year(),S=y),{week:S,year:O}}function Sr(c,d,f){var p=K0(c,d,f),y=K0(c+1,d,f);return(el(c)-p+y)/7}pe("w",["ww",2],"wo","week"),pe("W",["WW",2],"Wo","isoWeek"),De("w",ii,U2),De("ww",ii,Nn),De("W",ii,U2),De("WW",ii,Nn),Jc(["w","ww","W","WW"],function(c,d,f,p){d[p.substr(0,1)]=Ct(c)});function IA(c){return nl(c,this._week.dow,this._week.doy).week}var TA={dow:0,doy:6};function AA(){return this._week.dow}function zA(){return this._week.doy}function RA(c){var d=this.localeData().week(this);return c==null?d:this.add((c-d)*7,"d")}function NA(c){var d=nl(this,1,4).week;return c==null?d:this.add((c-d)*7,"d")}pe("d",0,"do","day"),pe("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),pe("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),pe("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),pe("e",0,0,"weekday"),pe("E",0,0,"isoWeekday"),De("d",ii),De("e",ii),De("E",ii),De("dd",function(c,d){return d.weekdaysMinRegex(c)}),De("ddd",function(c,d){return d.weekdaysShortRegex(c)}),De("dddd",function(c,d){return d.weekdaysRegex(c)}),Jc(["dd","ddd","dddd"],function(c,d,f,p){var y=f._locale.weekdaysParse(c,p,f._strict);y!=null?d.d=y:x(f).invalidWeekday=c}),Jc(["d","e","E"],function(c,d,f,p){d[p]=Ct(c)});function OA(c,d){return typeof c!="string"?c:isNaN(c)?(c=d.weekdaysParse(c),typeof c=="number"?c:null):parseInt(c,10)}function PA(c,d){return typeof c=="string"?d.weekdaysParse(c)%7||7:isNaN(c)?null:c}function wu(c,d){return c.slice(d,7).concat(c.slice(0,d))}var FA="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mv="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),VA="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),BA=Xc,HA=Xc,jA=Xc;function UA(c,d){var f=i(this._weekdays)?this._weekdays:this._weekdays[c&&c!==!0&&this._weekdays.isFormat.test(d)?"format":"standalone"];return c===!0?wu(f,this._week.dow):c?f[c.day()]:f}function GA(c){return c===!0?wu(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort}function WA(c){return c===!0?wu(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin}function $A(c,d,f){var p,y,S,O=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],p=0;p<7;++p)S=C([2e3,1]).day(p),this._minWeekdaysParse[p]=this.weekdaysMin(S,"").toLocaleLowerCase(),this._shortWeekdaysParse[p]=this.weekdaysShort(S,"").toLocaleLowerCase(),this._weekdaysParse[p]=this.weekdays(S,"").toLocaleLowerCase();return f?d==="dddd"?(y=bi.call(this._weekdaysParse,O),y!==-1?y:null):d==="ddd"?(y=bi.call(this._shortWeekdaysParse,O),y!==-1?y:null):(y=bi.call(this._minWeekdaysParse,O),y!==-1?y:null):d==="dddd"?(y=bi.call(this._weekdaysParse,O),y!==-1||(y=bi.call(this._shortWeekdaysParse,O),y!==-1)?y:(y=bi.call(this._minWeekdaysParse,O),y!==-1?y:null)):d==="ddd"?(y=bi.call(this._shortWeekdaysParse,O),y!==-1||(y=bi.call(this._weekdaysParse,O),y!==-1)?y:(y=bi.call(this._minWeekdaysParse,O),y!==-1?y:null)):(y=bi.call(this._minWeekdaysParse,O),y!==-1||(y=bi.call(this._weekdaysParse,O),y!==-1)?y:(y=bi.call(this._shortWeekdaysParse,O),y!==-1?y:null))}function YA(c,d,f){var p,y,S;if(this._weekdaysParseExact)return $A.call(this,c,d,f);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),p=0;p<7;p++){if(y=C([2e3,1]).day(p),f&&!this._fullWeekdaysParse[p]&&(this._fullWeekdaysParse[p]=new RegExp("^"+this.weekdays(y,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[p]=new RegExp("^"+this.weekdaysShort(y,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[p]=new RegExp("^"+this.weekdaysMin(y,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[p]||(S="^"+this.weekdays(y,"")+"|^"+this.weekdaysShort(y,"")+"|^"+this.weekdaysMin(y,""),this._weekdaysParse[p]=new RegExp(S.replace(".",""),"i")),f&&d==="dddd"&&this._fullWeekdaysParse[p].test(c))return p;if(f&&d==="ddd"&&this._shortWeekdaysParse[p].test(c))return p;if(f&&d==="dd"&&this._minWeekdaysParse[p].test(c))return p;if(!f&&this._weekdaysParse[p].test(c))return p}}function qA(c){if(!this.isValid())return c!=null?this:NaN;var d=tl(this,"Day");return c!=null?(c=OA(c,this.localeData()),this.add(c-d,"d")):d}function KA(c){if(!this.isValid())return c!=null?this:NaN;var d=(this.day()+7-this.localeData()._week.dow)%7;return c==null?d:this.add(c-d,"d")}function ZA(c){if(!this.isValid())return c!=null?this:NaN;if(c!=null){var d=PA(c,this.localeData());return this.day(this.day()%7?d:d-7)}else return this.day()||7}function QA(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Du.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=BA),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)}function XA(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Du.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=HA),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function JA(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Du.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jA),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Du(){function c(mn,Tr){return Tr.length-mn.length}var d=[],f=[],p=[],y=[],S,O,Me,tt,wt;for(S=0;S<7;S++)O=C([2e3,1]).day(S),Me=xr(this.weekdaysMin(O,"")),tt=xr(this.weekdaysShort(O,"")),wt=xr(this.weekdays(O,"")),d.push(Me),f.push(tt),p.push(wt),y.push(Me),y.push(tt),y.push(wt);d.sort(c),f.sort(c),p.sort(c),y.sort(c),this._weekdaysRegex=new RegExp("^("+y.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+f.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+d.join("|")+")","i")}function Su(){return this.hours()%12||12}function ez(){return this.hours()||24}pe("H",["HH",2],0,"hour"),pe("h",["hh",2],0,Su),pe("k",["kk",2],0,ez),pe("hmm",0,0,function(){return""+Su.apply(this)+q(this.minutes(),2)}),pe("hmmss",0,0,function(){return""+Su.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),pe("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),pe("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)});function fv(c,d){pe(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),d)})}fv("a",!0),fv("A",!1);function hv(c,d){return d._meridiemParse}De("a",hv),De("A",hv),De("H",ii,Cu),De("h",ii,U2),De("k",ii,U2),De("HH",ii,Nn),De("hh",ii,Nn),De("kk",ii,Nn),De("hmm",iv),De("hmmss",nv),De("Hmm",iv),De("Hmmss",nv),jt(["H","HH"],Ai),jt(["k","kk"],function(c,d,f){var p=Ct(c);d[Ai]=p===24?0:p}),jt(["a","A"],function(c,d,f){f._isPm=f._locale.isPM(c),f._meridiem=c}),jt(["h","hh"],function(c,d,f){d[Ai]=Ct(c),x(f).bigHour=!0}),jt("hmm",function(c,d,f){var p=c.length-2;d[Ai]=Ct(c.substr(0,p)),d[w1]=Ct(c.substr(p)),x(f).bigHour=!0}),jt("hmmss",function(c,d,f){var p=c.length-4,y=c.length-2;d[Ai]=Ct(c.substr(0,p)),d[w1]=Ct(c.substr(p,2)),d[Dr]=Ct(c.substr(y)),x(f).bigHour=!0}),jt("Hmm",function(c,d,f){var p=c.length-2;d[Ai]=Ct(c.substr(0,p)),d[w1]=Ct(c.substr(p))}),jt("Hmmss",function(c,d,f){var p=c.length-4,y=c.length-2;d[Ai]=Ct(c.substr(0,p)),d[w1]=Ct(c.substr(p,2)),d[Dr]=Ct(c.substr(y))});function tz(c){return(c+"").toLowerCase().charAt(0)==="p"}var iz=/[ap]\.?m?\.?/i,nz=G2("Hours",!0);function rz(c,d,f){return c>11?f?"pm":"PM":f?"am":"AM"}var pv={calendar:R,longDateFormat:$t,invalidDate:Xi,ordinal:B2,dayOfMonthOrdinalParse:H2,relativeTime:Kc,months:bA,monthsShort:ov,week:TA,weekdays:FA,weekdaysMin:VA,weekdaysShort:mv,meridiemParse:iz},li={},rl={},al;function az(c,d){var f,p=Math.min(c.length,d.length);for(f=0;f<p;f+=1)if(c[f]!==d[f])return f;return p}function gv(c){return c&&c.toLowerCase().replace("_","-")}function oz(c){for(var d=0,f,p,y,S;d<c.length;){for(S=gv(c[d]).split("-"),f=S.length,p=gv(c[d+1]),p=p?p.split("-"):null;f>0;){if(y=Z0(S.slice(0,f).join("-")),y)return y;if(p&&p.length>=f&&az(S,p)>=f-1)break;f--}d++}return al}function sz(c){return!!(c&&c.match("^[^/\\\\]*$"))}function Z0(c){var d=null,f;if(li[c]===void 0&&typeof xc<"u"&&xc&&xc.exports&&sz(c))try{d=al._abbr,f=o4,f("./locale/"+c),va(d)}catch{li[c]=null}return li[c]}function va(c,d){var f;return c&&(s(d)?f=Er(c):f=Eu(c,d),f?al=f:typeof console<"u"&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),al._abbr}function Eu(c,d){if(d!==null){var f,p=pv;if(d.abbr=c,li[c]!=null)ti("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),p=li[c]._config;else if(d.parentLocale!=null)if(li[d.parentLocale]!=null)p=li[d.parentLocale]._config;else if(f=Z0(d.parentLocale),f!=null)p=f._config;else return rl[d.parentLocale]||(rl[d.parentLocale]=[]),rl[d.parentLocale].push({name:c,config:d}),null;return li[c]=new ue(he(p,d)),rl[c]&&rl[c].forEach(function(y){Eu(y.name,y.config)}),va(c),li[c]}else return delete li[c],null}function cz(c,d){if(d!=null){var f,p,y=pv;li[c]!=null&&li[c].parentLocale!=null?li[c].set(he(li[c]._config,d)):(p=Z0(c),p!=null&&(y=p._config),d=he(y,d),p==null&&(d.abbr=c),f=new ue(d),f.parentLocale=li[c],li[c]=f),va(c)}else li[c]!=null&&(li[c].parentLocale!=null?(li[c]=li[c].parentLocale,c===va()&&va(c)):li[c]!=null&&delete li[c]);return li[c]}function Er(c){var d;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return al;if(!i(c)){if(d=Z0(c),d)return d;c=[c]}return oz(c)}function lz(){return Ee(li)}function Lu(c){var d,f=c._a;return f&&x(c).overflow===-2&&(d=f[wr]<0||f[wr]>11?wr:f[Y1]<1||f[Y1]>xu(f[Ji],f[wr])?Y1:f[Ai]<0||f[Ai]>24||f[Ai]===24&&(f[w1]!==0||f[Dr]!==0||f[Co]!==0)?Ai:f[w1]<0||f[w1]>59?w1:f[Dr]<0||f[Dr]>59?Dr:f[Co]<0||f[Co]>999?Co:-1,x(c)._overflowDayOfYear&&(d<Ji||d>Y1)&&(d=Y1),x(c)._overflowWeeks&&d===-1&&(d=fA),x(c)._overflowWeekday&&d===-1&&(d=hA),x(c).overflow=d),c}var dz=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,uz=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mz=/Z|[+-]\d\d(?::?\d\d)?/,Q0=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ku=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fz=/^\/?Date\((-?\d+)/i,hz=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,pz={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _v(c){var d,f,p=c._i,y=dz.exec(p)||uz.exec(p),S,O,Me,tt,wt=Q0.length,mn=ku.length;if(y){for(x(c).iso=!0,d=0,f=wt;d<f;d++)if(Q0[d][1].exec(y[1])){O=Q0[d][0],S=Q0[d][2]!==!1;break}if(O==null){c._isValid=!1;return}if(y[3]){for(d=0,f=mn;d<f;d++)if(ku[d][1].exec(y[3])){Me=(y[2]||" ")+ku[d][0];break}if(Me==null){c._isValid=!1;return}}if(!S&&Me!=null){c._isValid=!1;return}if(y[4])if(mz.exec(y[4]))tt="Z";else{c._isValid=!1;return}c._f=O+(Me||"")+(tt||""),Tu(c)}else c._isValid=!1}function gz(c,d,f,p,y,S){var O=[_z(c),ov.indexOf(d),parseInt(f,10),parseInt(p,10),parseInt(y,10)];return S&&O.push(parseInt(S,10)),O}function _z(c){var d=parseInt(c,10);return d<=49?2e3+d:d<=999?1900+d:d}function vz(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function bz(c,d,f){if(c){var p=mv.indexOf(c),y=new Date(d[0],d[1],d[2]).getDay();if(p!==y)return x(f).weekdayMismatch=!0,f._isValid=!1,!1}return!0}function yz(c,d,f){if(c)return pz[c];if(d)return 0;var p=parseInt(f,10),y=p%100,S=(p-y)/100;return S*60+y}function vv(c){var d=hz.exec(vz(c._i)),f;if(d){if(f=gz(d[4],d[3],d[2],d[5],d[6],d[7]),!bz(d[1],f,c))return;c._a=f,c._tzm=yz(d[8],d[9],d[10]),c._d=il.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),x(c).rfc2822=!0}else c._isValid=!1}function Cz(c){var d=fz.exec(c._i);if(d!==null){c._d=new Date(+d[1]);return}if(_v(c),c._isValid===!1)delete c._isValid;else return;if(vv(c),c._isValid===!1)delete c._isValid;else return;c._strict?c._isValid=!1:n.createFromInputFallback(c)}n.createFromInputFallback=Ne("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(c){c._d=new Date(c._i+(c._useUTC?" UTC":""))});function W2(c,d,f){return c??d??f}function Mz(c){var d=new Date(n.now());return c._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()]}function Iu(c){var d,f,p=[],y,S,O;if(!c._d){for(y=Mz(c),c._w&&c._a[Y1]==null&&c._a[wr]==null&&xz(c),c._dayOfYear!=null&&(O=W2(c._a[Ji],y[Ji]),(c._dayOfYear>el(O)||c._dayOfYear===0)&&(x(c)._overflowDayOfYear=!0),f=il(O,0,c._dayOfYear),c._a[wr]=f.getUTCMonth(),c._a[Y1]=f.getUTCDate()),d=0;d<3&&c._a[d]==null;++d)c._a[d]=p[d]=y[d];for(;d<7;d++)c._a[d]=p[d]=c._a[d]==null?d===2?1:0:c._a[d];c._a[Ai]===24&&c._a[w1]===0&&c._a[Dr]===0&&c._a[Co]===0&&(c._nextDay=!0,c._a[Ai]=0),c._d=(c._useUTC?il:kA).apply(null,p),S=c._useUTC?c._d.getUTCDay():c._d.getDay(),c._tzm!=null&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[Ai]=24),c._w&&typeof c._w.d<"u"&&c._w.d!==S&&(x(c).weekdayMismatch=!0)}}function xz(c){var d,f,p,y,S,O,Me,tt,wt;d=c._w,d.GG!=null||d.W!=null||d.E!=null?(S=1,O=4,f=W2(d.GG,c._a[Ji],nl(ni(),1,4).year),p=W2(d.W,1),y=W2(d.E,1),(y<1||y>7)&&(tt=!0)):(S=c._locale._week.dow,O=c._locale._week.doy,wt=nl(ni(),S,O),f=W2(d.gg,c._a[Ji],wt.year),p=W2(d.w,wt.week),d.d!=null?(y=d.d,(y<0||y>6)&&(tt=!0)):d.e!=null?(y=d.e+S,(d.e<0||d.e>6)&&(tt=!0)):y=S),p<1||p>Sr(f,S,O)?x(c)._overflowWeeks=!0:tt!=null?x(c)._overflowWeekday=!0:(Me=uv(f,p,y,S,O),c._a[Ji]=Me.year,c._dayOfYear=Me.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function Tu(c){if(c._f===n.ISO_8601){_v(c);return}if(c._f===n.RFC_2822){vv(c);return}c._a=[],x(c).empty=!0;var d=""+c._i,f,p,y,S,O,Me=d.length,tt=0,wt,mn;for(y=Ot(c._f,c._locale).match(be)||[],mn=y.length,f=0;f<mn;f++)S=y[f],p=(d.match(dA(S,c))||[])[0],p&&(O=d.substr(0,d.indexOf(p)),O.length>0&&x(c).unusedInput.push(O),d=d.slice(d.indexOf(p)+p.length),tt+=p.length),ft[S]?(p?x(c).empty=!1:x(c).unusedTokens.push(S),mA(S,p,c)):c._strict&&!p&&x(c).unusedTokens.push(S);x(c).charsLeftOver=Me-tt,d.length>0&&x(c).unusedInput.push(d),c._a[Ai]<=12&&x(c).bigHour===!0&&c._a[Ai]>0&&(x(c).bigHour=void 0),x(c).parsedDateParts=c._a.slice(0),x(c).meridiem=c._meridiem,c._a[Ai]=wz(c._locale,c._a[Ai],c._meridiem),wt=x(c).era,wt!==null&&(c._a[Ji]=c._locale.erasConvertYear(wt,c._a[Ji])),Iu(c),Lu(c)}function wz(c,d,f){var p;return f==null?d:c.meridiemHour!=null?c.meridiemHour(d,f):(c.isPM!=null&&(p=c.isPM(f),p&&d<12&&(d+=12),!p&&d===12&&(d=0)),d)}function Dz(c){var d,f,p,y,S,O,Me=!1,tt=c._f.length;if(tt===0){x(c).invalidFormat=!0,c._d=new Date(NaN);return}for(y=0;y<tt;y++)S=0,O=!1,d=Se({},c),c._useUTC!=null&&(d._useUTC=c._useUTC),d._f=c._f[y],Tu(d),I(d)&&(O=!0),S+=x(d).charsLeftOver,S+=x(d).unusedTokens.length*10,x(d).score=S,Me?S<p&&(p=S,f=d):(p==null||S<p||O)&&(p=S,f=d,O&&(Me=!0));g(c,f||d)}function Sz(c){if(!c._d){var d=vu(c._i),f=d.day===void 0?d.date:d.day;c._a=h([d.year,d.month,f,d.hour,d.minute,d.second,d.millisecond],function(p){return p&&parseInt(p,10)}),Iu(c)}}function Ez(c){var d=new rt(Lu(bv(c)));return d._nextDay&&(d.add(1,"d"),d._nextDay=void 0),d}function bv(c){var d=c._i,f=c._f;return c._locale=c._locale||Er(c._l),d===null||f===void 0&&d===""?T({nullInput:!0}):(typeof d=="string"&&(c._i=d=c._locale.preparse(d)),et(d)?new rt(Lu(d)):(u(d)?c._d=d:i(f)?Dz(c):f?Tu(c):Lz(c),I(c)||(c._d=null),c))}function Lz(c){var d=c._i;s(d)?c._d=new Date(n.now()):u(d)?c._d=new Date(d.valueOf()):typeof d=="string"?Cz(c):i(d)?(c._a=h(d.slice(0),function(f){return parseInt(f,10)}),Iu(c)):r(d)?Sz(c):l(d)?c._d=new Date(d):n.createFromInputFallback(c)}function yv(c,d,f,p,y){var S={};return(d===!0||d===!1)&&(p=d,d=void 0),(f===!0||f===!1)&&(p=f,f=void 0),(r(c)&&o(c)||i(c)&&c.length===0)&&(c=void 0),S._isAMomentObject=!0,S._useUTC=S._isUTC=y,S._l=f,S._i=c,S._f=d,S._strict=p,Ez(S)}function ni(c,d,f,p){return yv(c,d,f,p,!1)}var kz=Ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=ni.apply(null,arguments);return this.isValid()&&c.isValid()?c<this?this:c:T()}),Iz=Ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=ni.apply(null,arguments);return this.isValid()&&c.isValid()?c>this?this:c:T()});function Cv(c,d){var f,p;if(d.length===1&&i(d[0])&&(d=d[0]),!d.length)return ni();for(f=d[0],p=1;p<d.length;++p)(!d[p].isValid()||d[p][c](f))&&(f=d[p]);return f}function Tz(){var c=[].slice.call(arguments,0);return Cv("isBefore",c)}function Az(){var c=[].slice.call(arguments,0);return Cv("isAfter",c)}var zz=function(){return Date.now?Date.now():+new Date},ol=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rz(c){var d,f=!1,p,y=ol.length;for(d in c)if(a(c,d)&&!(bi.call(ol,d)!==-1&&(c[d]==null||!isNaN(c[d]))))return!1;for(p=0;p<y;++p)if(c[ol[p]]){if(f)return!1;parseFloat(c[ol[p]])!==Ct(c[ol[p]])&&(f=!0)}return!0}function Nz(){return this._isValid}function Oz(){return D1(NaN)}function X0(c){var d=vu(c),f=d.year||0,p=d.quarter||0,y=d.month||0,S=d.week||d.isoWeek||0,O=d.day||0,Me=d.hour||0,tt=d.minute||0,wt=d.second||0,mn=d.millisecond||0;this._isValid=Rz(d),this._milliseconds=+mn+wt*1e3+tt*6e4+Me*1e3*60*60,this._days=+O+S*7,this._months=+y+p*3+f*12,this._data={},this._locale=Er(),this._bubble()}function J0(c){return c instanceof X0}function Au(c){return c<0?Math.round(-1*c)*-1:Math.round(c)}function Pz(c,d,f){var p=Math.min(c.length,d.length),y=Math.abs(c.length-d.length),S=0,O;for(O=0;O<p;O++)(f&&c[O]!==d[O]||!f&&Ct(c[O])!==Ct(d[O]))&&S++;return S+y}function Mv(c,d){pe(c,0,0,function(){var f=this.utcOffset(),p="+";return f<0&&(f=-f,p="-"),p+q(~~(f/60),2)+d+q(~~f%60,2)})}Mv("Z",":"),Mv("ZZ",""),De("Z",$0),De("ZZ",$0),jt(["Z","ZZ"],function(c,d,f){f._useUTC=!0,f._tzm=zu($0,c)});var Fz=/([\+\-]|\d\d)/gi;function zu(c,d){var f=(d||"").match(c),p,y,S;return f===null?null:(p=f[f.length-1]||[],y=(p+"").match(Fz)||["-",0,0],S=+(y[1]*60)+Ct(y[2]),S===0?0:y[0]==="+"?S:-S)}function Ru(c,d){var f,p;return d._isUTC?(f=d.clone(),p=(et(c)||u(c)?c.valueOf():ni(c).valueOf())-f.valueOf(),f._d.setTime(f._d.valueOf()+p),n.updateOffset(f,!1),f):ni(c).local()}function Nu(c){return-Math.round(c._d.getTimezoneOffset())}n.updateOffset=function(){};function Vz(c,d,f){var p=this._offset||0,y;if(!this.isValid())return c!=null?this:NaN;if(c!=null){if(typeof c=="string"){if(c=zu($0,c),c===null)return this}else Math.abs(c)<16&&!f&&(c=c*60);return!this._isUTC&&d&&(y=Nu(this)),this._offset=c,this._isUTC=!0,y!=null&&this.add(y,"m"),p!==c&&(!d||this._changeInProgress?Sv(this,D1(c-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:Nu(this)}function Bz(c,d){return c!=null?(typeof c!="string"&&(c=-c),this.utcOffset(c,d),this):-this.utcOffset()}function Hz(c){return this.utcOffset(0,c)}function jz(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(Nu(this),"m")),this}function Uz(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var c=zu(cA,this._i);c!=null?this.utcOffset(c):this.utcOffset(0,!0)}return this}function Gz(c){return this.isValid()?(c=c?ni(c).utcOffset():0,(this.utcOffset()-c)%60===0):!1}function Wz(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $z(){if(!s(this._isDSTShifted))return this._isDSTShifted;var c={},d;return Se(c,this),c=bv(c),c._a?(d=c._isUTC?C(c._a):ni(c._a),this._isDSTShifted=this.isValid()&&Pz(c._a,d.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yz(){return this.isValid()?!this._isUTC:!1}function qz(){return this.isValid()?this._isUTC:!1}function xv(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Kz=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zz=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function D1(c,d){var f=c,p=null,y,S,O;return J0(c)?f={ms:c._milliseconds,d:c._days,M:c._months}:l(c)||!isNaN(+c)?(f={},d?f[d]=+c:f.milliseconds=+c):(p=Kz.exec(c))?(y=p[1]==="-"?-1:1,f={y:0,d:Ct(p[Y1])*y,h:Ct(p[Ai])*y,m:Ct(p[w1])*y,s:Ct(p[Dr])*y,ms:Ct(Au(p[Co]*1e3))*y}):(p=Zz.exec(c))?(y=p[1]==="-"?-1:1,f={y:Mo(p[2],y),M:Mo(p[3],y),w:Mo(p[4],y),d:Mo(p[5],y),h:Mo(p[6],y),m:Mo(p[7],y),s:Mo(p[8],y)}):f==null?f={}:typeof f=="object"&&("from"in f||"to"in f)&&(O=Qz(ni(f.from),ni(f.to)),f={},f.ms=O.milliseconds,f.M=O.months),S=new X0(f),J0(c)&&a(c,"_locale")&&(S._locale=c._locale),J0(c)&&a(c,"_isValid")&&(S._isValid=c._isValid),S}D1.fn=X0.prototype,D1.invalid=Oz;function Mo(c,d){var f=c&&parseFloat(c.replace(",","."));return(isNaN(f)?0:f)*d}function wv(c,d){var f={};return f.months=d.month()-c.month()+(d.year()-c.year())*12,c.clone().add(f.months,"M").isAfter(d)&&--f.months,f.milliseconds=+d-+c.clone().add(f.months,"M"),f}function Qz(c,d){var f;return c.isValid()&&d.isValid()?(d=Ru(d,c),c.isBefore(d)?f=wv(c,d):(f=wv(d,c),f.milliseconds=-f.milliseconds,f.months=-f.months),f):{milliseconds:0,months:0}}function Dv(c,d){return function(f,p){var y,S;return p!==null&&!isNaN(+p)&&(ti(d,"moment()."+d+"(period, number) is deprecated. Please use moment()."+d+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),S=f,f=p,p=S),y=D1(f,p),Sv(this,y,c),this}}function Sv(c,d,f,p){var y=d._milliseconds,S=Au(d._days),O=Au(d._months);c.isValid()&&(p=p??!0,O&&cv(c,tl(c,"Month")+O*f),S&&av(c,"Date",tl(c,"Date")+S*f),y&&c._d.setTime(c._d.valueOf()+y*f),p&&n.updateOffset(c,S||O))}var Xz=Dv(1,"add"),Jz=Dv(-1,"subtract");function Ev(c){return typeof c=="string"||c instanceof String}function eR(c){return et(c)||u(c)||Ev(c)||l(c)||iR(c)||tR(c)||c===null||c===void 0}function tR(c){var d=r(c)&&!o(c),f=!1,p=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],y,S,O=p.length;for(y=0;y<O;y+=1)S=p[y],f=f||a(c,S);return d&&f}function iR(c){var d=i(c),f=!1;return d&&(f=c.filter(function(p){return!l(p)&&Ev(c)}).length===0),d&&f}function nR(c){var d=r(c)&&!o(c),f=!1,p=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],y,S;for(y=0;y<p.length;y+=1)S=p[y],f=f||a(c,S);return d&&f}function rR(c,d){var f=c.diff(d,"days",!0);return f<-6?"sameElse":f<-1?"lastWeek":f<0?"lastDay":f<1?"sameDay":f<2?"nextDay":f<7?"nextWeek":"sameElse"}function aR(c,d){arguments.length===1&&(arguments[0]?eR(arguments[0])?(c=arguments[0],d=void 0):nR(arguments[0])&&(d=arguments[0],c=void 0):(c=void 0,d=void 0));var f=c||ni(),p=Ru(f,this).startOf("day"),y=n.calendarFormat(this,p)||"sameElse",S=d&&(Ht(d[y])?d[y].call(this,f):d[y]);return this.format(S||this.localeData().calendar(y,this,ni(f)))}function oR(){return new rt(this)}function sR(c,d){var f=et(c)?c:ni(c);return this.isValid()&&f.isValid()?(d=Qn(d)||"millisecond",d==="millisecond"?this.valueOf()>f.valueOf():f.valueOf()<this.clone().startOf(d).valueOf()):!1}function cR(c,d){var f=et(c)?c:ni(c);return this.isValid()&&f.isValid()?(d=Qn(d)||"millisecond",d==="millisecond"?this.valueOf()<f.valueOf():this.clone().endOf(d).valueOf()<f.valueOf()):!1}function lR(c,d,f,p){var y=et(c)?c:ni(c),S=et(d)?d:ni(d);return this.isValid()&&y.isValid()&&S.isValid()?(p=p||"()",(p[0]==="("?this.isAfter(y,f):!this.isBefore(y,f))&&(p[1]===")"?this.isBefore(S,f):!this.isAfter(S,f))):!1}function dR(c,d){var f=et(c)?c:ni(c),p;return this.isValid()&&f.isValid()?(d=Qn(d)||"millisecond",d==="millisecond"?this.valueOf()===f.valueOf():(p=f.valueOf(),this.clone().startOf(d).valueOf()<=p&&p<=this.clone().endOf(d).valueOf())):!1}function uR(c,d){return this.isSame(c,d)||this.isAfter(c,d)}function mR(c,d){return this.isSame(c,d)||this.isBefore(c,d)}function fR(c,d,f){var p,y,S;if(!this.isValid())return NaN;if(p=Ru(c,this),!p.isValid())return NaN;switch(y=(p.utcOffset()-this.utcOffset())*6e4,d=Qn(d),d){case"year":S=e4(this,p)/12;break;case"month":S=e4(this,p);break;case"quarter":S=e4(this,p)/3;break;case"second":S=(this-p)/1e3;break;case"minute":S=(this-p)/6e4;break;case"hour":S=(this-p)/36e5;break;case"day":S=(this-p-y)/864e5;break;case"week":S=(this-p-y)/6048e5;break;default:S=this-p}return f?S:Xn(S)}function e4(c,d){if(c.date()<d.date())return-e4(d,c);var f=(d.year()-c.year())*12+(d.month()-c.month()),p=c.clone().add(f,"months"),y,S;return d-p<0?(y=c.clone().add(f-1,"months"),S=(d-p)/(p-y)):(y=c.clone().add(f+1,"months"),S=(d-p)/(y-p)),-(f+S)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function hR(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pR(c){if(!this.isValid())return null;var d=c!==!0,f=d?this.clone().utc():this;return f.year()<0||f.year()>9999?Dn(f,d?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ht(Date.prototype.toISOString)?d?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Dn(f,"Z")):Dn(f,d?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gR(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var c="moment",d="",f,p,y,S;return this.isLocal()||(c=this.utcOffset()===0?"moment.utc":"moment.parseZone",d="Z"),f="["+c+'("]',p=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",y="-MM-DD[T]HH:mm:ss.SSS",S=d+'[")]',this.format(f+p+y+S)}function _R(c){c||(c=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var d=Dn(this,c);return this.localeData().postformat(d)}function vR(c,d){return this.isValid()&&(et(c)&&c.isValid()||ni(c).isValid())?D1({to:this,from:c}).locale(this.locale()).humanize(!d):this.localeData().invalidDate()}function bR(c){return this.from(ni(),c)}function yR(c,d){return this.isValid()&&(et(c)&&c.isValid()||ni(c).isValid())?D1({from:this,to:c}).locale(this.locale()).humanize(!d):this.localeData().invalidDate()}function CR(c){return this.to(ni(),c)}function Lv(c){var d;return c===void 0?this._locale._abbr:(d=Er(c),d!=null&&(this._locale=d),this)}var kv=Ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(c){return c===void 0?this.localeData():this.locale(c)});function Iv(){return this._locale}var t4=1e3,$2=60*t4,i4=60*$2,Tv=(365*400+97)*24*i4;function Y2(c,d){return(c%d+d)%d}function Av(c,d,f){return c<100&&c>=0?new Date(c+400,d,f)-Tv:new Date(c,d,f).valueOf()}function zv(c,d,f){return c<100&&c>=0?Date.UTC(c+400,d,f)-Tv:Date.UTC(c,d,f)}function MR(c){var d,f;if(c=Qn(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(f=this._isUTC?zv:Av,c){case"year":d=f(this.year(),0,1);break;case"quarter":d=f(this.year(),this.month()-this.month()%3,1);break;case"month":d=f(this.year(),this.month(),1);break;case"week":d=f(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":d=f(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":d=f(this.year(),this.month(),this.date());break;case"hour":d=this._d.valueOf(),d-=Y2(d+(this._isUTC?0:this.utcOffset()*$2),i4);break;case"minute":d=this._d.valueOf(),d-=Y2(d,$2);break;case"second":d=this._d.valueOf(),d-=Y2(d,t4);break}return this._d.setTime(d),n.updateOffset(this,!0),this}function xR(c){var d,f;if(c=Qn(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(f=this._isUTC?zv:Av,c){case"year":d=f(this.year()+1,0,1)-1;break;case"quarter":d=f(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":d=f(this.year(),this.month()+1,1)-1;break;case"week":d=f(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":d=f(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":d=f(this.year(),this.month(),this.date()+1)-1;break;case"hour":d=this._d.valueOf(),d+=i4-Y2(d+(this._isUTC?0:this.utcOffset()*$2),i4)-1;break;case"minute":d=this._d.valueOf(),d+=$2-Y2(d,$2)-1;break;case"second":d=this._d.valueOf(),d+=t4-Y2(d,t4)-1;break}return this._d.setTime(d),n.updateOffset(this,!0),this}function wR(){return this._d.valueOf()-(this._offset||0)*6e4}function DR(){return Math.floor(this.valueOf()/1e3)}function SR(){return new Date(this.valueOf())}function ER(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]}function LR(){var c=this;return{years:c.year(),months:c.month(),date:c.date(),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}}function kR(){return this.isValid()?this.toISOString():null}function IR(){return I(this)}function TR(){return g({},x(this))}function AR(){return x(this).overflow}function zR(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}pe("N",0,0,"eraAbbr"),pe("NN",0,0,"eraAbbr"),pe("NNN",0,0,"eraAbbr"),pe("NNNN",0,0,"eraName"),pe("NNNNN",0,0,"eraNarrow"),pe("y",["y",1],"yo","eraYear"),pe("y",["yy",2],0,"eraYear"),pe("y",["yyy",3],0,"eraYear"),pe("y",["yyyy",4],0,"eraYear"),De("N",Ou),De("NN",Ou),De("NNN",Ou),De("NNNN",GR),De("NNNNN",WR),jt(["N","NN","NNN","NNNN","NNNNN"],function(c,d,f,p){var y=f._locale.erasParse(c,p,f._strict);y?x(f).era=y:x(f).invalidEra=c}),De("y",j2),De("yy",j2),De("yyy",j2),De("yyyy",j2),De("yo",$R),jt(["y","yy","yyy","yyyy"],Ji),jt(["yo"],function(c,d,f,p){var y;f._locale._eraYearOrdinalRegex&&(y=c.match(f._locale._eraYearOrdinalRegex)),f._locale.eraYearOrdinalParse?d[Ji]=f._locale.eraYearOrdinalParse(c,y):d[Ji]=parseInt(c,10)});function RR(c,d){var f,p,y,S=this._eras||Er("en")._eras;for(f=0,p=S.length;f<p;++f){switch(typeof S[f].since){case"string":y=n(S[f].since).startOf("day"),S[f].since=y.valueOf();break}switch(typeof S[f].until){case"undefined":S[f].until=1/0;break;case"string":y=n(S[f].until).startOf("day").valueOf(),S[f].until=y.valueOf();break}}return S}function NR(c,d,f){var p,y,S=this.eras(),O,Me,tt;for(c=c.toUpperCase(),p=0,y=S.length;p<y;++p)if(O=S[p].name.toUpperCase(),Me=S[p].abbr.toUpperCase(),tt=S[p].narrow.toUpperCase(),f)switch(d){case"N":case"NN":case"NNN":if(Me===c)return S[p];break;case"NNNN":if(O===c)return S[p];break;case"NNNNN":if(tt===c)return S[p];break}else if([O,Me,tt].indexOf(c)>=0)return S[p]}function OR(c,d){var f=c.since<=c.until?1:-1;return d===void 0?n(c.since).year():n(c.since).year()+(d-c.offset)*f}function PR(){var c,d,f,p=this.localeData().eras();for(c=0,d=p.length;c<d;++c)if(f=this.clone().startOf("day").valueOf(),p[c].since<=f&&f<=p[c].until||p[c].until<=f&&f<=p[c].since)return p[c].name;return""}function FR(){var c,d,f,p=this.localeData().eras();for(c=0,d=p.length;c<d;++c)if(f=this.clone().startOf("day").valueOf(),p[c].since<=f&&f<=p[c].until||p[c].until<=f&&f<=p[c].since)return p[c].narrow;return""}function VR(){var c,d,f,p=this.localeData().eras();for(c=0,d=p.length;c<d;++c)if(f=this.clone().startOf("day").valueOf(),p[c].since<=f&&f<=p[c].until||p[c].until<=f&&f<=p[c].since)return p[c].abbr;return""}function BR(){var c,d,f,p,y=this.localeData().eras();for(c=0,d=y.length;c<d;++c)if(f=y[c].since<=y[c].until?1:-1,p=this.clone().startOf("day").valueOf(),y[c].since<=p&&p<=y[c].until||y[c].until<=p&&p<=y[c].since)return(this.year()-n(y[c].since).year())*f+y[c].offset;return this.year()}function HR(c){return a(this,"_erasNameRegex")||Pu.call(this),c?this._erasNameRegex:this._erasRegex}function jR(c){return a(this,"_erasAbbrRegex")||Pu.call(this),c?this._erasAbbrRegex:this._erasRegex}function UR(c){return a(this,"_erasNarrowRegex")||Pu.call(this),c?this._erasNarrowRegex:this._erasRegex}function Ou(c,d){return d.erasAbbrRegex(c)}function GR(c,d){return d.erasNameRegex(c)}function WR(c,d){return d.erasNarrowRegex(c)}function $R(c,d){return d._eraYearOrdinalRegex||j2}function Pu(){var c=[],d=[],f=[],p=[],y,S,O,Me,tt,wt=this.eras();for(y=0,S=wt.length;y<S;++y)O=xr(wt[y].name),Me=xr(wt[y].abbr),tt=xr(wt[y].narrow),d.push(O),c.push(Me),f.push(tt),p.push(O),p.push(Me),p.push(tt);this._erasRegex=new RegExp("^("+p.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+d.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+f.join("|")+")","i")}pe(0,["gg",2],0,function(){return this.weekYear()%100}),pe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function n4(c,d){pe(0,[c,c.length],0,d)}n4("gggg","weekYear"),n4("ggggg","weekYear"),n4("GGGG","isoWeekYear"),n4("GGGGG","isoWeekYear"),De("G",W0),De("g",W0),De("GG",ii,Nn),De("gg",ii,Nn),De("GGGG",yu,bu),De("gggg",yu,bu),De("GGGGG",G0,j0),De("ggggg",G0,j0),Jc(["gggg","ggggg","GGGG","GGGGG"],function(c,d,f,p){d[p.substr(0,2)]=Ct(c)}),Jc(["gg","GG"],function(c,d,f,p){d[p]=n.parseTwoDigitYear(c)});function YR(c){return Rv.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qR(c){return Rv.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)}function KR(){return Sr(this.year(),1,4)}function ZR(){return Sr(this.isoWeekYear(),1,4)}function QR(){var c=this.localeData()._week;return Sr(this.year(),c.dow,c.doy)}function XR(){var c=this.localeData()._week;return Sr(this.weekYear(),c.dow,c.doy)}function Rv(c,d,f,p,y){var S;return c==null?nl(this,p,y).year:(S=Sr(c,p,y),d>S&&(d=S),JR.call(this,c,d,f,p,y))}function JR(c,d,f,p,y){var S=uv(c,d,f,p,y),O=il(S.year,0,S.dayOfYear);return this.year(O.getUTCFullYear()),this.month(O.getUTCMonth()),this.date(O.getUTCDate()),this}pe("Q",0,"Qo","quarter"),De("Q",ev),jt("Q",function(c,d){d[wr]=(Ct(c)-1)*3});function eN(c){return c==null?Math.ceil((this.month()+1)/3):this.month((c-1)*3+this.month()%3)}pe("D",["DD",2],"Do","date"),De("D",ii,U2),De("DD",ii,Nn),De("Do",function(c,d){return c?d._dayOfMonthOrdinalParse||d._ordinalParse:d._dayOfMonthOrdinalParseLenient}),jt(["D","DD"],Y1),jt("Do",function(c,d){d[Y1]=Ct(c.match(ii)[0])});var Nv=G2("Date",!0);pe("DDD",["DDDD",3],"DDDo","dayOfYear"),De("DDD",U0),De("DDDD",tv),jt(["DDD","DDDD"],function(c,d,f){f._dayOfYear=Ct(c)});function tN(c){var d=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return c==null?d:this.add(c-d,"d")}pe("m",["mm",2],0,"minute"),De("m",ii,Cu),De("mm",ii,Nn),jt(["m","mm"],w1);var iN=G2("Minutes",!1);pe("s",["ss",2],0,"second"),De("s",ii,Cu),De("ss",ii,Nn),jt(["s","ss"],Dr);var nN=G2("Seconds",!1);pe("S",0,0,function(){return~~(this.millisecond()/100)}),pe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),pe(0,["SSS",3],0,"millisecond"),pe(0,["SSSS",4],0,function(){return this.millisecond()*10}),pe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),pe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),pe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),pe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),pe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),De("S",U0,ev),De("SS",U0,Nn),De("SSS",U0,tv);var ba,Ov;for(ba="SSSS";ba.length<=9;ba+="S")De(ba,j2);function rN(c,d){d[Co]=Ct(("0."+c)*1e3)}for(ba="S";ba.length<=9;ba+="S")jt(ba,rN);Ov=G2("Milliseconds",!1),pe("z",0,0,"zoneAbbr"),pe("zz",0,0,"zoneName");function aN(){return this._isUTC?"UTC":""}function oN(){return this._isUTC?"Coordinated Universal Time":""}var le=rt.prototype;le.add=Xz,le.calendar=aR,le.clone=oR,le.diff=fR,le.endOf=xR,le.format=_R,le.from=vR,le.fromNow=bR,le.to=yR,le.toNow=CR,le.get=gA,le.invalidAt=AR,le.isAfter=sR,le.isBefore=cR,le.isBetween=lR,le.isSame=dR,le.isSameOrAfter=uR,le.isSameOrBefore=mR,le.isValid=IR,le.lang=kv,le.locale=Lv,le.localeData=Iv,le.max=Iz,le.min=kz,le.parsingFlags=TR,le.set=_A,le.startOf=MR,le.subtract=Jz,le.toArray=ER,le.toObject=LR,le.toDate=SR,le.toISOString=pR,le.inspect=gR,typeof Symbol<"u"&&Symbol.for!=null&&(le[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),le.toJSON=kR,le.toString=hR,le.unix=DR,le.valueOf=wR,le.creationData=zR,le.eraName=PR,le.eraNarrow=FR,le.eraAbbr=VR,le.eraYear=BR,le.year=rv,le.isLeapYear=pA,le.weekYear=YR,le.isoWeekYear=qR,le.quarter=le.quarters=eN,le.month=lv,le.daysInMonth=SA,le.week=le.weeks=RA,le.isoWeek=le.isoWeeks=NA,le.weeksInYear=QR,le.weeksInWeekYear=XR,le.isoWeeksInYear=KR,le.isoWeeksInISOWeekYear=ZR,le.date=Nv,le.day=le.days=qA,le.weekday=KA,le.isoWeekday=ZA,le.dayOfYear=tN,le.hour=le.hours=nz,le.minute=le.minutes=iN,le.second=le.seconds=nN,le.millisecond=le.milliseconds=Ov,le.utcOffset=Vz,le.utc=Hz,le.local=jz,le.parseZone=Uz,le.hasAlignedHourOffset=Gz,le.isDST=Wz,le.isLocal=Yz,le.isUtcOffset=qz,le.isUtc=xv,le.isUTC=xv,le.zoneAbbr=aN,le.zoneName=oN,le.dates=Ne("dates accessor is deprecated. Use date instead.",Nv),le.months=Ne("months accessor is deprecated. Use month instead",lv),le.years=Ne("years accessor is deprecated. Use year instead",rv),le.zone=Ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Bz),le.isDSTShifted=Ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$z);function sN(c){return ni(c*1e3)}function cN(){return ni.apply(null,arguments).parseZone()}function Pv(c){return c}var It=ue.prototype;It.calendar=Z,It.longDateFormat=Yt,It.invalidDate=Sn,It.ordinal=qc,It.preparse=Pv,It.postformat=Pv,It.relativeTime=Zc,It.pastFuture=Qc,It.set=Le,It.eras=RR,It.erasParse=NR,It.erasConvertYear=OR,It.erasAbbrRegex=jR,It.erasNameRegex=HR,It.erasNarrowRegex=UR,It.months=MA,It.monthsShort=xA,It.monthsParse=DA,It.monthsRegex=LA,It.monthsShortRegex=EA,It.week=IA,It.firstDayOfYear=zA,It.firstDayOfWeek=AA,It.weekdays=UA,It.weekdaysMin=WA,It.weekdaysShort=GA,It.weekdaysParse=YA,It.weekdaysRegex=QA,It.weekdaysShortRegex=XA,It.weekdaysMinRegex=JA,It.isPM=tz,It.meridiem=rz;function r4(c,d,f,p){var y=Er(),S=C().set(p,d);return y[f](S,c)}function Fv(c,d,f){if(l(c)&&(d=c,c=void 0),c=c||"",d!=null)return r4(c,d,f,"month");var p,y=[];for(p=0;p<12;p++)y[p]=r4(c,p,f,"month");return y}function Fu(c,d,f,p){typeof c=="boolean"?(l(d)&&(f=d,d=void 0),d=d||""):(d=c,f=d,c=!1,l(d)&&(f=d,d=void 0),d=d||"");var y=Er(),S=c?y._week.dow:0,O,Me=[];if(f!=null)return r4(d,(f+S)%7,p,"day");for(O=0;O<7;O++)Me[O]=r4(d,(O+S)%7,p,"day");return Me}function lN(c,d){return Fv(c,d,"months")}function dN(c,d){return Fv(c,d,"monthsShort")}function uN(c,d,f){return Fu(c,d,f,"weekdays")}function mN(c,d,f){return Fu(c,d,f,"weekdaysShort")}function fN(c,d,f){return Fu(c,d,f,"weekdaysMin")}va("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(c){var d=c%10,f=Ct(c%100/10)===1?"th":d===1?"st":d===2?"nd":d===3?"rd":"th";return c+f}}),n.lang=Ne("moment.lang is deprecated. Use moment.locale instead.",va),n.langData=Ne("moment.langData is deprecated. Use moment.localeData instead.",Er);var Lr=Math.abs;function hN(){var c=this._data;return this._milliseconds=Lr(this._milliseconds),this._days=Lr(this._days),this._months=Lr(this._months),c.milliseconds=Lr(c.milliseconds),c.seconds=Lr(c.seconds),c.minutes=Lr(c.minutes),c.hours=Lr(c.hours),c.months=Lr(c.months),c.years=Lr(c.years),this}function Vv(c,d,f,p){var y=D1(d,f);return c._milliseconds+=p*y._milliseconds,c._days+=p*y._days,c._months+=p*y._months,c._bubble()}function pN(c,d){return Vv(this,c,d,1)}function gN(c,d){return Vv(this,c,d,-1)}function Bv(c){return c<0?Math.floor(c):Math.ceil(c)}function _N(){var c=this._milliseconds,d=this._days,f=this._months,p=this._data,y,S,O,Me,tt;return c>=0&&d>=0&&f>=0||c<=0&&d<=0&&f<=0||(c+=Bv(Vu(f)+d)*864e5,d=0,f=0),p.milliseconds=c%1e3,y=Xn(c/1e3),p.seconds=y%60,S=Xn(y/60),p.minutes=S%60,O=Xn(S/60),p.hours=O%24,d+=Xn(O/24),tt=Xn(Hv(d)),f+=tt,d-=Bv(Vu(tt)),Me=Xn(f/12),f%=12,p.days=d,p.months=f,p.years=Me,this}function Hv(c){return c*4800/146097}function Vu(c){return c*146097/4800}function vN(c){if(!this.isValid())return NaN;var d,f,p=this._milliseconds;if(c=Qn(c),c==="month"||c==="quarter"||c==="year")switch(d=this._days+p/864e5,f=this._months+Hv(d),c){case"month":return f;case"quarter":return f/3;case"year":return f/12}else switch(d=this._days+Math.round(Vu(this._months)),c){case"week":return d/7+p/6048e5;case"day":return d+p/864e5;case"hour":return d*24+p/36e5;case"minute":return d*1440+p/6e4;case"second":return d*86400+p/1e3;case"millisecond":return Math.floor(d*864e5)+p;default:throw new Error("Unknown unit "+c)}}function kr(c){return function(){return this.as(c)}}var jv=kr("ms"),bN=kr("s"),yN=kr("m"),CN=kr("h"),MN=kr("d"),xN=kr("w"),wN=kr("M"),DN=kr("Q"),SN=kr("y"),EN=jv;function LN(){return D1(this)}function kN(c){return c=Qn(c),this.isValid()?this[c+"s"]():NaN}function xo(c){return function(){return this.isValid()?this._data[c]:NaN}}var IN=xo("milliseconds"),TN=xo("seconds"),AN=xo("minutes"),zN=xo("hours"),RN=xo("days"),NN=xo("months"),ON=xo("years");function PN(){return Xn(this.days()/7)}var Ir=Math.round,q2={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function FN(c,d,f,p,y){return y.relativeTime(d||1,!!f,c,p)}function VN(c,d,f,p){var y=D1(c).abs(),S=Ir(y.as("s")),O=Ir(y.as("m")),Me=Ir(y.as("h")),tt=Ir(y.as("d")),wt=Ir(y.as("M")),mn=Ir(y.as("w")),Tr=Ir(y.as("y")),ya=S<=f.ss&&["s",S]||S<f.s&&["ss",S]||O<=1&&["m"]||O<f.m&&["mm",O]||Me<=1&&["h"]||Me<f.h&&["hh",Me]||tt<=1&&["d"]||tt<f.d&&["dd",tt];return f.w!=null&&(ya=ya||mn<=1&&["w"]||mn<f.w&&["ww",mn]),ya=ya||wt<=1&&["M"]||wt<f.M&&["MM",wt]||Tr<=1&&["y"]||["yy",Tr],ya[2]=d,ya[3]=+c>0,ya[4]=p,FN.apply(null,ya)}function BN(c){return c===void 0?Ir:typeof c=="function"?(Ir=c,!0):!1}function HN(c,d){return q2[c]===void 0?!1:d===void 0?q2[c]:(q2[c]=d,c==="s"&&(q2.ss=d-1),!0)}function jN(c,d){if(!this.isValid())return this.localeData().invalidDate();var f=!1,p=q2,y,S;return typeof c=="object"&&(d=c,c=!1),typeof c=="boolean"&&(f=c),typeof d=="object"&&(p=Object.assign({},q2,d),d.s!=null&&d.ss==null&&(p.ss=d.s-1)),y=this.localeData(),S=VN(this,!f,p,y),f&&(S=y.pastFuture(+this,S)),y.postformat(S)}var Bu=Math.abs;function K2(c){return(c>0)-(c<0)||+c}function a4(){if(!this.isValid())return this.localeData().invalidDate();var c=Bu(this._milliseconds)/1e3,d=Bu(this._days),f=Bu(this._months),p,y,S,O,Me=this.asSeconds(),tt,wt,mn,Tr;return Me?(p=Xn(c/60),y=Xn(p/60),c%=60,p%=60,S=Xn(f/12),f%=12,O=c?c.toFixed(3).replace(/\.?0+$/,""):"",tt=Me<0?"-":"",wt=K2(this._months)!==K2(Me)?"-":"",mn=K2(this._days)!==K2(Me)?"-":"",Tr=K2(this._milliseconds)!==K2(Me)?"-":"",tt+"P"+(S?wt+S+"Y":"")+(f?wt+f+"M":"")+(d?mn+d+"D":"")+(y||p||c?"T":"")+(y?Tr+y+"H":"")+(p?Tr+p+"M":"")+(c?Tr+O+"S":"")):"P0D"}var Et=X0.prototype;Et.isValid=Nz,Et.abs=hN,Et.add=pN,Et.subtract=gN,Et.as=vN,Et.asMilliseconds=jv,Et.asSeconds=bN,Et.asMinutes=yN,Et.asHours=CN,Et.asDays=MN,Et.asWeeks=xN,Et.asMonths=wN,Et.asQuarters=DN,Et.asYears=SN,Et.valueOf=EN,Et._bubble=_N,Et.clone=LN,Et.get=kN,Et.milliseconds=IN,Et.seconds=TN,Et.minutes=AN,Et.hours=zN,Et.days=RN,Et.weeks=PN,Et.months=NN,Et.years=ON,Et.humanize=jN,Et.toISOString=a4,Et.toString=a4,Et.toJSON=a4,Et.locale=Lv,Et.localeData=Iv,Et.toIsoString=Ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",a4),Et.lang=kv,pe("X",0,0,"unix"),pe("x",0,0,"valueOf"),De("x",W0),De("X",lA),jt("X",function(c,d,f){f._d=new Date(parseFloat(c)*1e3)}),jt("x",function(c,d,f){f._d=new Date(Ct(c))});return n.version="2.30.1",e(ni),n.fn=le,n.min=Tz,n.max=Az,n.now=zz,n.utc=C,n.unix=sN,n.months=lN,n.isDate=u,n.locale=va,n.invalid=T,n.duration=D1,n.isMoment=et,n.weekdays=uN,n.parseZone=cN,n.localeData=Er,n.isDuration=J0,n.monthsShort=dN,n.weekdaysMin=fN,n.defineLocale=Eu,n.updateLocale=cz,n.locales=lz,n.weekdaysShort=mN,n.normalizeUnits=Qn,n.relativeTimeRounding=BN,n.relativeTimeThreshold=HN,n.calendarFormat=rR,n.prototype=le,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var bE=s4((Ip,vE)=>{(function(t,n){typeof Ip=="object"&&typeof vE<"u"&&typeof o4=="function"?n(kp()):typeof define=="function"&&define.amd?define(["../moment"],n):n(t.moment)})(Ip,function(t){"use strict";function n(i,r,a,o){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[i+" Tage",i+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[i+" Monate",i+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[i+" Jahre",i+" Jahren"]};return r?s[a][0]:s[a][1]}var e=t.defineLocale("de",{months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,w:n,ww:"%d Wochen",M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})});var II=s4((b_,y_)=>{(function(t,n){typeof b_=="object"&&typeof y_<"u"?y_.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=n()})(b_,function(){"use strict";var t=1e3,n=6e4,e=36e5,i="millisecond",r="second",a="minute",o="hour",s="day",l="week",u="month",h="quarter",g="year",C="date",M="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,I={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Le){var he=["th","st","nd","rd"],ue=Le%100;return"["+Le+(he[(ue-20)%10]||he[ue]||he[0])+"]"}},T=function(Le,he,ue){var Ee=String(Le);return!Ee||Ee.length>=he?Le:""+Array(he+1-Ee.length).join(ue)+Le},ce={s:T,z:function(Le){var he=-Le.utcOffset(),ue=Math.abs(he),Ee=Math.floor(ue/60),R=ue%60;return(he<=0?"+":"-")+T(Ee,2,"0")+":"+T(R,2,"0")},m:function Le(he,ue){if(he.date()<ue.date())return-Le(ue,he);var Ee=12*(ue.year()-he.year())+(ue.month()-he.month()),R=he.clone().add(Ee,u),Z=ue-R<0,q=he.clone().add(Ee+(Z?-1:1),u);return+(-(Ee+(ue-R)/(Z?R-q:q-R))||0)},a:function(Le){return Le<0?Math.ceil(Le)||0:Math.floor(Le)},p:function(Le){return{M:u,y:g,w:l,d:s,D:C,h:o,m:a,s:r,ms:i,Q:h}[Le]||String(Le||"").toLowerCase().replace(/s$/,"")},u:function(Le){return Le===void 0}},ye="en",Se={};Se[ye]=I;var rt="$isDayjsObject",et=function(Le){return Le instanceof ti||!(!Le||!Le[rt])},mt=function Le(he,ue,Ee){var R;if(!he)return ye;if(typeof he=="string"){var Z=he.toLowerCase();Se[Z]&&(R=Z),ue&&(Se[Z]=ue,R=Z);var q=he.split("-");if(!R&&q.length>1)return Le(q[0])}else{var be=he.name;Se[be]=he,R=be}return!Ee&&R&&(ye=R),R||!Ee&&ye},Ne=function(Le,he){if(et(Le))return Le.clone();var ue=typeof he=="object"?he:{};return ue.date=Le,ue.args=arguments,new ti(ue)},Ze=ce;Ze.l=mt,Ze.i=et,Ze.w=function(Le,he){return Ne(Le,{locale:he.$L,utc:he.$u,x:he.$x,$offset:he.$offset})};var ti=(function(){function Le(ue){this.$L=mt(ue.locale,null,!0),this.parse(ue),this.$x=this.$x||ue.x||{},this[rt]=!0}var he=Le.prototype;return he.parse=function(ue){this.$d=(function(Ee){var R=Ee.date,Z=Ee.utc;if(R===null)return new Date(NaN);if(Ze.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var q=R.match(x);if(q){var be=q[2]-1||0,We=(q[7]||"0").substring(0,3);return Z?new Date(Date.UTC(q[1],be,q[3]||1,q[4]||0,q[5]||0,q[6]||0,We)):new Date(q[1],be,q[3]||1,q[4]||0,q[5]||0,q[6]||0,We)}}return new Date(R)})(ue),this.init()},he.init=function(){var ue=this.$d;this.$y=ue.getFullYear(),this.$M=ue.getMonth(),this.$D=ue.getDate(),this.$W=ue.getDay(),this.$H=ue.getHours(),this.$m=ue.getMinutes(),this.$s=ue.getSeconds(),this.$ms=ue.getMilliseconds()},he.$utils=function(){return Ze},he.isValid=function(){return this.$d.toString()!==M},he.isSame=function(ue,Ee){var R=Ne(ue);return this.startOf(Ee)<=R&&R<=this.endOf(Ee)},he.isAfter=function(ue,Ee){return Ne(ue)<this.startOf(Ee)},he.isBefore=function(ue,Ee){return this.endOf(Ee)<Ne(ue)},he.$g=function(ue,Ee,R){return Ze.u(ue)?this[Ee]:this.set(R,ue)},he.unix=function(){return Math.floor(this.valueOf()/1e3)},he.valueOf=function(){return this.$d.getTime()},he.startOf=function(ue,Ee){var R=this,Z=!!Ze.u(Ee)||Ee,q=Ze.p(ue),be=function(Ot,$t){var Yt=Ze.w(R.$u?Date.UTC(R.$y,$t,Ot):new Date(R.$y,$t,Ot),R);return Z?Yt:Yt.endOf(s)},We=function(Ot,$t){return Ze.w(R.toDate()[Ot].apply(R.toDate("s"),(Z?[0,0,0,0]:[23,59,59,999]).slice($t)),R)},gt=this.$W,ft=this.$M,pe=this.$D,St="set"+(this.$u?"UTC":"");switch(q){case g:return Z?be(1,0):be(31,11);case u:return Z?be(1,ft):be(0,ft+1);case l:var wn=this.$locale().weekStart||0,Dn=(gt<wn?gt+7:gt)-wn;return be(Z?pe-Dn:pe+(6-Dn),ft);case s:case C:return We(St+"Hours",0);case o:return We(St+"Minutes",1);case a:return We(St+"Seconds",2);case r:return We(St+"Milliseconds",3);default:return this.clone()}},he.endOf=function(ue){return this.startOf(ue,!1)},he.$set=function(ue,Ee){var R,Z=Ze.p(ue),q="set"+(this.$u?"UTC":""),be=(R={},R[s]=q+"Date",R[C]=q+"Date",R[u]=q+"Month",R[g]=q+"FullYear",R[o]=q+"Hours",R[a]=q+"Minutes",R[r]=q+"Seconds",R[i]=q+"Milliseconds",R)[Z],We=Z===s?this.$D+(Ee-this.$W):Ee;if(Z===u||Z===g){var gt=this.clone().set(C,1);gt.$d[be](We),gt.init(),this.$d=gt.set(C,Math.min(this.$D,gt.daysInMonth())).$d}else be&&this.$d[be](We);return this.init(),this},he.set=function(ue,Ee){return this.clone().$set(ue,Ee)},he.get=function(ue){return this[Ze.p(ue)]()},he.add=function(ue,Ee){var R,Z=this;ue=Number(ue);var q=Ze.p(Ee),be=function(ft){var pe=Ne(Z);return Ze.w(pe.date(pe.date()+Math.round(ft*ue)),Z)};if(q===u)return this.set(u,this.$M+ue);if(q===g)return this.set(g,this.$y+ue);if(q===s)return be(1);if(q===l)return be(7);var We=(R={},R[a]=n,R[o]=e,R[r]=t,R)[q]||1,gt=this.$d.getTime()+ue*We;return Ze.w(gt,this)},he.subtract=function(ue,Ee){return this.add(-1*ue,Ee)},he.format=function(ue){var Ee=this,R=this.$locale();if(!this.isValid())return R.invalidDate||M;var Z=ue||"YYYY-MM-DDTHH:mm:ssZ",q=Ze.z(this),be=this.$H,We=this.$m,gt=this.$M,ft=R.weekdays,pe=R.months,St=R.meridiem,wn=function($t,Yt,Xi,Sn){return $t&&($t[Yt]||$t(Ee,Z))||Xi[Yt].slice(0,Sn)},Dn=function($t){return Ze.s(be%12||12,$t,"0")},Ot=St||function($t,Yt,Xi){var Sn=$t<12?"AM":"PM";return Xi?Sn.toLowerCase():Sn};return Z.replace(k,function($t,Yt){return Yt||(function(Xi){switch(Xi){case"YY":return String(Ee.$y).slice(-2);case"YYYY":return Ze.s(Ee.$y,4,"0");case"M":return gt+1;case"MM":return Ze.s(gt+1,2,"0");case"MMM":return wn(R.monthsShort,gt,pe,3);case"MMMM":return wn(pe,gt);case"D":return Ee.$D;case"DD":return Ze.s(Ee.$D,2,"0");case"d":return String(Ee.$W);case"dd":return wn(R.weekdaysMin,Ee.$W,ft,2);case"ddd":return wn(R.weekdaysShort,Ee.$W,ft,3);case"dddd":return ft[Ee.$W];case"H":return String(be);case"HH":return Ze.s(be,2,"0");case"h":return Dn(1);case"hh":return Dn(2);case"a":return Ot(be,We,!0);case"A":return Ot(be,We,!1);case"m":return String(We);case"mm":return Ze.s(We,2,"0");case"s":return String(Ee.$s);case"ss":return Ze.s(Ee.$s,2,"0");case"SSS":return Ze.s(Ee.$ms,3,"0");case"Z":return q}return null})($t)||q.replace(":","")})},he.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},he.diff=function(ue,Ee,R){var Z,q=this,be=Ze.p(Ee),We=Ne(ue),gt=(We.utcOffset()-this.utcOffset())*n,ft=this-We,pe=function(){return Ze.m(q,We)};switch(be){case g:Z=pe()/12;break;case u:Z=pe();break;case h:Z=pe()/3;break;case l:Z=(ft-gt)/6048e5;break;case s:Z=(ft-gt)/864e5;break;case o:Z=ft/e;break;case a:Z=ft/n;break;case r:Z=ft/t;break;default:Z=ft}return R?Z:Ze.a(Z)},he.daysInMonth=function(){return this.endOf(u).$D},he.$locale=function(){return Se[this.$L]},he.locale=function(ue,Ee){if(!ue)return this.$L;var R=this.clone(),Z=mt(ue,Ee,!0);return Z&&(R.$L=Z),R},he.clone=function(){return Ze.w(this.$d,this)},he.toDate=function(){return new Date(this.valueOf())},he.toJSON=function(){return this.isValid()?this.toISOString():null},he.toISOString=function(){return this.$d.toISOString()},he.toString=function(){return this.$d.toUTCString()},Le})(),Ht=ti.prototype;return Ne.prototype=Ht,[["$ms",i],["$s",r],["$m",a],["$H",o],["$W",s],["$M",u],["$y",g],["$D",C]].forEach(function(Le){Ht[Le[1]]=function(he){return this.$g(he,Le[0],Le[1])}}),Ne.extend=function(Le,he){return Le.$i||(Le(he,ti,Ne),Le.$i=!0),Ne},Ne.locale=mt,Ne.isDayjs=et,Ne.unix=function(Le){return Ne(1e3*Le)},Ne.en=Se[ye],Ne.Ls=Se,Ne.p={},Ne})});var TI=s4((C_,M_)=>{(function(t,n){typeof C_=="object"&&typeof M_<"u"?M_.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=n()})(C_,function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,e=/\d/,i=/\d\d/,r=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(x){return(x=+x)+(x>68?1900:2e3)},l=function(x){return function(k){this[x]=+k}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=(function(k){if(!k||k==="Z")return 0;var I=k.match(/([+-]|\d\d)/g),T=60*I[1]+(+I[2]||0);return T===0?0:I[0]==="+"?-T:T})(x)}],h=function(x){var k=o[x];return k&&(k.indexOf?k:k.s.concat(k.f))},g=function(x,k){var I,T=o.meridiem;if(T){for(var ce=1;ce<=24;ce+=1)if(x.indexOf(T(ce,0,k))>-1){I=ce>12;break}}else I=x===(k?"pm":"PM");return I},C={A:[a,function(x){this.afternoon=g(x,!1)}],a:[a,function(x){this.afternoon=g(x,!0)}],Q:[e,function(x){this.month=3*(x-1)+1}],S:[e,function(x){this.milliseconds=100*+x}],SS:[i,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[r,l("seconds")],ss:[r,l("seconds")],m:[r,l("minutes")],mm:[r,l("minutes")],H:[r,l("hours")],h:[r,l("hours")],HH:[r,l("hours")],hh:[r,l("hours")],D:[r,l("day")],DD:[i,l("day")],Do:[a,function(x){var k=o.ordinal,I=x.match(/\d+/);if(this.day=I[0],k)for(var T=1;T<=31;T+=1)k(T).replace(/\[|\]/g,"")===x&&(this.day=T)}],w:[r,l("week")],ww:[i,l("week")],M:[r,l("month")],MM:[i,l("month")],MMM:[a,function(x){var k=h("months"),I=(h("monthsShort")||k.map(function(T){return T.slice(0,3)})).indexOf(x)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[a,function(x){var k=h("months").indexOf(x)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,l("year")],YY:[i,function(x){this.year=s(x)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};function M(x){var k,I;k=x,I=o&&o.formats;for(var T=(x=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Ne,Ze,ti){var Ht=ti&&ti.toUpperCase();return Ze||I[ti]||t[ti]||I[Ht].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Le,he,ue){return he||ue.slice(1)})})).match(n),ce=T.length,ye=0;ye<ce;ye+=1){var Se=T[ye],rt=C[Se],et=rt&&rt[0],mt=rt&&rt[1];T[ye]=mt?{regex:et,parser:mt}:Se.replace(/^\[|\]$/g,"")}return function(Ne){for(var Ze={},ti=0,Ht=0;ti<ce;ti+=1){var Le=T[ti];if(typeof Le=="string")Ht+=Le.length;else{var he=Le.regex,ue=Le.parser,Ee=Ne.slice(Ht),R=he.exec(Ee)[0];ue.call(Ze,R),Ne=Ne.replace(R,"")}}return(function(Z){var q=Z.afternoon;if(q!==void 0){var be=Z.hours;q?be<12&&(Z.hours+=12):be===12&&(Z.hours=0),delete Z.afternoon}})(Ze),Ze}}return function(x,k,I){I.p.customParseFormat=!0,x&&x.parseTwoDigitYear&&(s=x.parseTwoDigitYear);var T=k.prototype,ce=T.parse;T.parse=function(ye){var Se=ye.date,rt=ye.utc,et=ye.args;this.$u=rt;var mt=et[1];if(typeof mt=="string"){var Ne=et[2]===!0,Ze=et[3]===!0,ti=Ne||Ze,Ht=et[2];Ze&&(Ht=et[2]),o=this.$locale(),!Ne&&Ht&&(o=I.Ls[Ht]),this.$d=(function(Ee,R,Z,q){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*Ee);var be=M(R)(Ee),We=be.year,gt=be.month,ft=be.day,pe=be.hours,St=be.minutes,wn=be.seconds,Dn=be.milliseconds,Ot=be.zone,$t=be.week,Yt=new Date,Xi=ft||(We||gt?1:Yt.getDate()),Sn=We||Yt.getFullYear(),B2=0;We&&!gt||(B2=gt>0?gt-1:Yt.getMonth());var H2,qc=pe||0,Kc=St||0,Zc=wn||0,Qc=Dn||0;return Ot?new Date(Date.UTC(Sn,B2,Xi,qc,Kc,Zc,Qc+60*Ot.offset*1e3)):Z?new Date(Date.UTC(Sn,B2,Xi,qc,Kc,Zc,Qc)):(H2=new Date(Sn,B2,Xi,qc,Kc,Zc,Qc),$t&&(H2=q(H2).week($t).toDate()),H2)}catch{return new Date("")}})(Se,mt,rt,I),this.init(),Ht&&Ht!==!0&&(this.$L=this.locale(Ht).$L),ti&&Se!=this.format(mt)&&(this.$d=new Date("")),o={}}else if(mt instanceof Array)for(var Le=mt.length,he=1;he<=Le;he+=1){et[1]=mt[he-1];var ue=I.apply(this,et);if(ue.isValid()){this.$d=ue.$d,this.$L=ue.$L,this.init();break}he===Le&&(this.$d=new Date(""))}else ce.call(this,ye)}}})});var ju;function l4(){return ju}function q1(t){let n=ju;return ju=t,n}var Uv=Symbol("NotFound");function Z2(t){return t===Uv||t?.name==="\u0275NotFound"}var en=null,d4=!1,Uu=1,UN=null,Di=Symbol("SIGNAL");function $e(t){let n=en;return en=t,n}function h4(){return en}var wo={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ca(t){if(d4)throw new Error("");if(en===null)return;en.consumerOnSignalRead(t);let n=en.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=en.recomputing;if(i&&(e=n!==void 0?n.nextProducer:en.producers,e!==void 0&&e.producer===t)){en.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===en&&(!i||WN(r,en)))return;let a=Q2(en),o={producer:t,consumer:en,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};en.producersTail=o,n!==void 0?n.nextProducer=o:en.producers=o,a&&Yv(t,o)}function Gv(){Uu++}function p4(t){if(!(Q2(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Uu)){if(!t.producerMustRecompute(t)&&!So(t)){f4(t);return}t.producerRecomputeValue(t),f4(t)}}function Gu(t){if(t.consumers===void 0)return;let n=d4;d4=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||GN(i)}}finally{d4=n}}function Wu(){return en?.consumerAllowSignalWrites!==!1}function GN(t){t.dirty=!0,Gu(t),t.consumerMarkedDirty?.(t)}function f4(t){t.dirty=!1,t.lastCleanEpoch=Uu}function Ma(t){return t&&Wv(t),$e(t)}function Wv(t){t.producersTail=void 0,t.recomputing=!0}function Do(t,n){$e(n),t&&$v(t)}function $v(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Q2(t))do e=$u(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function So(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(p4(e),i!==e.version))return!0}return!1}function xa(t){if(Q2(t)){let n=t.producers;for(;n!==void 0;)n=$u(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Yv(t,n){let e=t.consumersTail,i=Q2(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)Yv(r.producer,r)}function $u(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!Q2(n)){let a=n.producers;for(;a!==void 0;)a=$u(a)}return e}function Q2(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function g4(t){UN?.(t)}function WN(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function _4(t,n){return Object.is(t,n)}function cl(t,n){let e=Object.create($N);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(p4(e),Ca(e),e.value===sl)throw e.error;return e.value};return i[Di]=e,g4(e),i}var u4=Symbol("UNSET"),m4=Symbol("COMPUTING"),sl=Symbol("ERRORED"),$N=Ue(z({},wo),{value:u4,dirty:!0,error:null,equal:_4,kind:"computed",producerMustRecompute(t){return t.value===u4||t.value===m4},producerRecomputeValue(t){if(t.value===m4)throw new Error("");let n=t.value;t.value=m4;let e=Ma(t),i,r=!1;try{i=t.computation(),$e(null),r=n!==u4&&n!==sl&&i!==sl&&t.equal(n,i)}catch(a){i=sl,t.error=a}finally{Do(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function YN(){throw new Error}var qv=YN;function Kv(t){qv(t)}function Yu(t){qv=t}var qN=null;function qu(t,n){let e=Object.create(ll);e.value=t,n!==void 0&&(e.equal=n);let i=()=>Zv(e);return i[Di]=e,g4(e),[i,o=>Eo(e,o),o=>Ku(e,o)]}function Zv(t){return Ca(t),t.value}function Eo(t,n){Wu()||Kv(t),t.equal(t.value,n)||(t.value=n,KN(t))}function Ku(t,n){Wu()||Kv(t),Eo(t,n(t.value))}var ll=Ue(z({},wo),{equal:_4,value:void 0,kind:"signal"});function KN(t){t.version++,Gv(),Gu(t),qN?.(t)}function ot(t){return typeof t=="function"}function X2(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var v4=X2(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
  `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Lo(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Oe=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let a of e)a.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(ot(i))try{i()}catch(a){n=a instanceof v4?a.errors:[a]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let a of r)try{Qv(a)}catch(o){n=n??[],o instanceof v4?n=[...n,...o.errors]:n.push(o)}}if(n)throw new v4(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Qv(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Lo(e,n)}remove(n){let{_finalizers:e}=this;e&&Lo(e,n),n instanceof t&&n._removeParent(this)}};Oe.EMPTY=(()=>{let t=new Oe;return t.closed=!0,t})();var Zu=Oe.EMPTY;function b4(t){return t instanceof Oe||t&&"closed"in t&&ot(t.remove)&&ot(t.add)&&ot(t.unsubscribe)}function Qv(t){ot(t)?t():t.unsubscribe()}var E1={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var J2={setTimeout(t,n,...e){let{delegate:i}=J2;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=J2;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function y4(t){J2.setTimeout(()=>{let{onUnhandledError:n}=E1;if(n)n(t);else throw t})}function dl(){}var Xv=Qu("C",void 0,void 0);function Jv(t){return Qu("E",void 0,t)}function eb(t){return Qu("N",t,void 0)}function Qu(t,n,e){return{kind:t,value:n,error:e}}var ko=null;function es(t){if(E1.useDeprecatedSynchronousErrorHandling){let n=!ko;if(n&&(ko={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ko;if(ko=null,e)throw i}}else t()}function tb(t){E1.useDeprecatedSynchronousErrorHandling&&ko&&(ko.errorThrown=!0,ko.error=t)}var Io=class extends Oe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,b4(n)&&n.add(this)):this.destination=XN}static create(n,e,i){return new Ar(n,e,i)}next(n){this.isStopped?Ju(eb(n),this):this._next(n)}error(n){this.isStopped?Ju(Jv(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ju(Xv,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ZN=Function.prototype.bind;function Xu(t,n){return ZN.call(t,n)}var e7=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){C4(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){C4(i)}else C4(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){C4(e)}}},Ar=class extends Io{constructor(n,e,i){super();let r;if(ot(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let a;this&&E1.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Xu(n.next,a),error:n.error&&Xu(n.error,a),complete:n.complete&&Xu(n.complete,a)}):r=n}this.destination=new e7(r)}};function C4(t){E1.useDeprecatedSynchronousErrorHandling?tb(t):y4(t)}function QN(t){throw t}function Ju(t,n){let{onStoppedNotification:e}=E1;e&&J2.setTimeout(()=>e(t,n))}var XN={closed:!0,next:dl,error:QN,complete:dl};var ts=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fn(t){return t}function t7(...t){return i7(t)}function i7(t){return t.length===0?fn:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var He=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let a=eO(e)?e:new Ar(e,i,r);return es(()=>{let{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=ib(i),new i((r,a)=>{let o=new Ar({next:s=>{try{e(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ts](){return this}pipe(...e){return i7(e)(this)}toPromise(e){return e=ib(e),new e((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return t.create=n=>new t(n),t})();function ib(t){var n;return(n=t??E1.Promise)!==null&&n!==void 0?n:Promise}function JN(t){return t&&ot(t.next)&&ot(t.error)&&ot(t.complete)}function eO(t){return t&&t instanceof Io||JN(t)&&b4(t)}function n7(t){return ot(t?.lift)}function it(t){return n=>{if(n7(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Je(t,n,e,i,r){return new r7(t,n,e,i,r)}var r7=class extends Io{constructor(n,e,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function is(){return it((t,n)=>{let e=null;t._refCount++;let i=Je(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,a=e;e=null,r&&(!a||r===a)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var wa=class extends He{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,n7(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Oe;let e=this.getSubject();n.add(this.source.subscribe(Je(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Oe.EMPTY)}return n}refCount(){return is()(this)}};var ns={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=ns;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(a=>{e=void 0,t(a)});return new Oe(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=ns;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=ns;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var nb=X2(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=(()=>{class t extends He{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new M4(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new nb}next(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:a}=this;return i||r?Zu:(this.currentObservers=null,a.push(e),new Oe(()=>{this.currentObservers=null,Lo(a,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:a}=this;i?e.error(r):a&&e.complete()}asObservable(){let e=new He;return e.source=this,e}}return t.create=(n,e)=>new M4(n,e),t})(),M4=class extends N{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Zu}};var Mt=class extends N{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var ul={now(){return(ul.delegate||Date).now()},delegate:void 0};var zr=class extends N{constructor(n=1/0,e=1/0,i=ul){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:a,_windowTime:o}=this;e||(i.push(n),!r&&i.push(a.now()+o)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,a=r.slice();for(let o=0;o<a.length&&!n.closed;o+=i?1:2)n.next(a[o]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,a=(r?1:2)*n;if(n<1/0&&a<i.length&&i.splice(0,i.length-a),!r){let o=e.now(),s=0;for(let l=1;l<i.length&&i[l]<=o;l+=2)s=l;s&&i.splice(0,s+1)}}};var x4=class extends Oe{constructor(n,e){super()}schedule(n,e=0){return this}};var ml={setInterval(t,n,...e){let{delegate:i}=ml;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=ml;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var rs=class extends x4{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,a=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(a,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(a,this.id,e),this}requestAsyncId(n,e,i=0){return ml.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&ml.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(a){i=!0,r=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Lo(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var as=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};as.now=ul.now;var os=class extends as{constructor(n,e=as.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var To=new os(rs),rb=To;var w4=class extends rs{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=ns.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:a}=n;e!=null&&e===n._scheduled&&((r=a[a.length-1])===null||r===void 0?void 0:r.id)!==e&&(ns.cancelAnimationFrame(e),n._scheduled=void 0)}};var D4=class extends os{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var S4=new D4(w4);var Si=new He(t=>t.complete());function E4(t){return t&&ot(t.schedule)}function a7(t){return t[t.length-1]}function L4(t){return ot(a7(t))?t.pop():void 0}function K1(t){return E4(a7(t))?t.pop():void 0}function ab(t,n){return typeof a7(t)=="number"?t.pop():n}function sb(t,n,e,i){function r(a){return a instanceof e?a:new e(function(o){o(a)})}return new(e||(e=Promise))(function(a,o){function s(h){try{u(i.next(h))}catch(g){o(g)}}function l(h){try{u(i.throw(h))}catch(g){o(g)}}function u(h){h.done?a(h.value):r(h.value).then(s,l)}u((i=i.apply(t,n||[])).next())})}function ob(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ao(t){return this instanceof Ao?(this.v=t,this):new Ao(t)}function cb(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,a=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),r[Symbol.asyncIterator]=function(){return this},r;function o(M){return function(x){return Promise.resolve(x).then(M,g)}}function s(M,x){i[M]&&(r[M]=function(k){return new Promise(function(I,T){a.push([M,k,I,T])>1||l(M,k)})},x&&(r[M]=x(r[M])))}function l(M,x){try{u(i[M](x))}catch(k){C(a[0][3],k)}}function u(M){M.value instanceof Ao?Promise.resolve(M.value.v).then(h,g):C(a[0][2],M)}function h(M){l("next",M)}function g(M){l("throw",M)}function C(M,x){M(x),a.shift(),a.length&&l(a[0][0],a[0][1])}}function lb(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof ob=="function"?ob(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(a){e[a]=t[a]&&function(o){return new Promise(function(s,l){o=t[a](o),r(s,l,o.done,o.value)})}}function r(a,o,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},o)}}var k4=t=>t&&typeof t.length=="number"&&typeof t!="function";function I4(t){return ot(t?.then)}function T4(t){return ot(t[ts])}function A4(t){return Symbol.asyncIterator&&ot(t?.[Symbol.asyncIterator])}function z4(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function tO(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var R4=tO();function N4(t){return ot(t?.[R4])}function O4(t){return cb(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Ao(e.read());if(r)return yield Ao(void 0);yield yield Ao(i)}}finally{e.releaseLock()}})}function P4(t){return ot(t?.getReader)}function qt(t){if(t instanceof He)return t;if(t!=null){if(T4(t))return iO(t);if(k4(t))return nO(t);if(I4(t))return rO(t);if(A4(t))return db(t);if(N4(t))return aO(t);if(P4(t))return oO(t)}throw z4(t)}function iO(t){return new He(n=>{let e=t[ts]();if(ot(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nO(t){return new He(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function rO(t){return new He(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,y4)})}function aO(t){return new He(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function db(t){return new He(n=>{sO(t,n).catch(e=>n.error(e))})}function oO(t){return db(O4(t))}function sO(t,n){var e,i,r,a;return sb(this,void 0,void 0,function*(){try{for(e=lb(t);i=yield e.next(),!i.done;){let o=i.value;if(n.next(o),n.closed)return}}catch(o){r={error:o}}finally{try{i&&!i.done&&(a=e.return)&&(yield a.call(e))}finally{if(r)throw r.error}}n.complete()})}function En(t,n,e,i=0,r=!1){let a=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(a),!r)return a}function F4(t,n=0){return it((e,i)=>{e.subscribe(Je(i,r=>En(i,t,()=>i.next(r),n),()=>En(i,t,()=>i.complete(),n),r=>En(i,t,()=>i.error(r),n)))})}function V4(t,n=0){return it((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function ub(t,n){return qt(t).pipe(V4(n),F4(n))}function mb(t,n){return qt(t).pipe(V4(n),F4(n))}function fb(t,n){return new He(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function hb(t,n){return new He(e=>{let i;return En(e,n,()=>{i=t[R4](),En(e,n,()=>{let r,a;try{({value:r,done:a}=i.next())}catch(o){e.error(o);return}a?e.complete():e.next(r)},0,!0)}),()=>ot(i?.return)&&i.return()})}function B4(t,n){if(!t)throw new Error("Iterable cannot be null");return new He(e=>{En(e,n,()=>{let i=t[Symbol.asyncIterator]();En(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function pb(t,n){return B4(O4(t),n)}function gb(t,n){if(t!=null){if(T4(t))return ub(t,n);if(k4(t))return fb(t,n);if(I4(t))return mb(t,n);if(A4(t))return B4(t,n);if(N4(t))return hb(t,n);if(P4(t))return pb(t,n)}throw z4(t)}function Kt(t,n){return n?gb(t,n):qt(t)}function ge(...t){let n=K1(t);return Kt(t,n)}function Da(t,n){let e=ot(t)?t:()=>t,i=r=>r.error(e());return new He(n?r=>n.schedule(i,0,r):i)}function ss(t){return!!t&&(t instanceof He||ot(t.lift)&&ot(t.subscribe))}var Rr=X2(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _b(t){return t instanceof Date&&!isNaN(t)}function Ce(t,n){return it((e,i)=>{let r=0;e.subscribe(Je(i,a=>{i.next(t.call(n,a,r++))}))})}var{isArray:cO}=Array;function lO(t,n){return cO(n)?t(...n):t(n)}function H4(t){return Ce(n=>lO(t,n))}var{isArray:dO}=Array,{getPrototypeOf:uO,prototype:mO,keys:fO}=Object;function j4(t){if(t.length===1){let n=t[0];if(dO(n))return{args:n,keys:null};if(hO(n)){let e=fO(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function hO(t){return t&&typeof t=="object"&&uO(t)===mO}function U4(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Jn(...t){let n=K1(t),e=L4(t),{args:i,keys:r}=j4(t);if(i.length===0)return Kt([],n);let a=new He(pO(i,n,r?o=>U4(r,o):fn));return e?a.pipe(H4(e)):a}function pO(t,n,e=fn){return i=>{vb(n,()=>{let{length:r}=t,a=new Array(r),o=r,s=r;for(let l=0;l<r;l++)vb(n,()=>{let u=Kt(t[l],n),h=!1;u.subscribe(Je(i,g=>{a[l]=g,h||(h=!0,s--),s||i.next(e(a.slice()))},()=>{--o||i.complete()}))},i)},i)}}function vb(t,n,e){t?En(e,t,n):n()}function bb(t,n,e,i,r,a,o,s){let l=[],u=0,h=0,g=!1,C=()=>{g&&!l.length&&!u&&n.complete()},M=k=>u<i?x(k):l.push(k),x=k=>{a&&n.next(k),u++;let I=!1;qt(e(k,h++)).subscribe(Je(n,T=>{r?.(T),a?M(T):n.next(T)},()=>{I=!0},void 0,()=>{if(I)try{for(u--;l.length&&u<i;){let T=l.shift();o?En(n,o,()=>x(T)):x(T)}C()}catch(T){n.error(T)}}))};return t.subscribe(Je(n,M,()=>{g=!0,C()})),()=>{s?.()}}function yi(t,n,e=1/0){return ot(n)?yi((i,r)=>Ce((a,o)=>n(i,a,r,o))(qt(t(i,r))),e):(typeof n=="number"&&(e=n),it((i,r)=>bb(i,r,t,e)))}function Sa(t=1/0){return yi(fn,t)}function yb(){return Sa(1)}function Ea(...t){return yb()(Kt(t,K1(t)))}function L1(t){return new He(n=>{qt(t()).subscribe(n)})}function fl(...t){let n=L4(t),{args:e,keys:i}=j4(t),r=new He(a=>{let{length:o}=e;if(!o){a.complete();return}let s=new Array(o),l=o,u=o;for(let h=0;h<o;h++){let g=!1;qt(e[h]).subscribe(Je(a,C=>{g||(g=!0,u--),s[h]=C},()=>l--,void 0,()=>{(!l||!g)&&(u||a.next(i?U4(i,s):s),a.complete())}))}});return n?r.pipe(H4(n)):r}function zo(t=0,n,e=rb){let i=-1;return n!=null&&(E4(n)?e=n:i=n),new He(r=>{let a=_b(t)?+t-e.now():t;a<0&&(a=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=i?this.schedule(void 0,i):r.complete())},a)})}function o7(t=0,n=To){return t<0&&(t=0),zo(t,t,n)}function Zt(...t){let n=K1(t),e=ab(t,1/0),i=t;return i.length?i.length===1?qt(i[0]):Sa(e)(Kt(i,n)):Si}function lt(t,n){return it((e,i)=>{let r=0;e.subscribe(Je(i,a=>t.call(n,a,r++)&&i.next(a)))})}function Cb(t){return it((n,e)=>{let i=!1,r=null,a=null,o=!1,s=()=>{if(a?.unsubscribe(),a=null,i){i=!1;let u=r;r=null,e.next(u)}o&&e.complete()},l=()=>{a=null,o&&e.complete()};n.subscribe(Je(e,u=>{i=!0,r=u,a||qt(t(u)).subscribe(a=Je(e,s,l))},()=>{o=!0,(!i||!a||a.closed)&&e.complete()}))})}function G4(t,n=To){return Cb(()=>zo(t,n))}function k1(t){return it((n,e)=>{let i=null,r=!1,a;i=n.subscribe(Je(e,void 0,void 0,o=>{a=qt(t(o,k1(t)(n))),i?(i.unsubscribe(),i=null,a.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,a.subscribe(e))})}function Mb(t,n,e,i,r){return(a,o)=>{let s=e,l=n,u=0;a.subscribe(Je(o,h=>{let g=u++;l=s?t(l,h,g):(s=!0,h),i&&o.next(l)},r&&(()=>{s&&o.next(l),o.complete()})))}}function Z1(t,n){return ot(n)?yi(t,n,1):yi(t,1)}function Nr(t,n=To){return it((e,i)=>{let r=null,a=null,o=null,s=()=>{if(r){r.unsubscribe(),r=null;let u=a;a=null,i.next(u)}};function l(){let u=o+t,h=n.now();if(h<u){r=this.schedule(void 0,u-h),i.add(r);return}s()}e.subscribe(Je(i,u=>{a=u,o=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{a=r=null}))})}function La(t){return it((n,e)=>{let i=!1;n.subscribe(Je(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function _t(t){return t<=0?()=>Si:it((n,e)=>{let i=0;n.subscribe(Je(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function W4(t,n=fn){return t=t??gO,it((e,i)=>{let r,a=!0;e.subscribe(Je(i,o=>{let s=n(o);(a||!t(r,s))&&(a=!1,r=s,i.next(o))}))})}function gO(t,n){return t===n}function $4(t=_O){return it((n,e)=>{let i=!1;n.subscribe(Je(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function _O(){return new Rr}function Or(t){return it((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Pr(t,n){let e=arguments.length>=2;return i=>i.pipe(t?lt((r,a)=>t(r,a,i)):fn,_t(1),e?La(n):$4(()=>new Rr))}function cs(t){return t<=0?()=>Si:it((n,e)=>{let i=[];n.subscribe(Je(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function s7(t,n){let e=arguments.length>=2;return i=>i.pipe(t?lt((r,a)=>t(r,a,i)):fn,cs(1),e?La(n):$4(()=>new Rr))}function Y4(){return it((t,n)=>{let e,i=!1;t.subscribe(Je(n,r=>{let a=e;e=r,i&&n.next([a,r]),i=!0}))})}function c7(t,n){return it(Mb(t,n,arguments.length>=2,!0))}function hl(t={}){let{connector:n=()=>new N,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return a=>{let o,s,l,u=0,h=!1,g=!1,C=()=>{s?.unsubscribe(),s=void 0},M=()=>{C(),o=l=void 0,h=g=!1},x=()=>{let k=o;M(),k?.unsubscribe()};return it((k,I)=>{u++,!g&&!h&&C();let T=l=l??n();I.add(()=>{u--,u===0&&!g&&!h&&(s=l7(x,r))}),T.subscribe(I),!o&&u>0&&(o=new Ar({next:ce=>T.next(ce),error:ce=>{g=!0,C(),s=l7(M,e,ce),T.error(ce)},complete:()=>{h=!0,C(),s=l7(M,i),T.complete()}}),qt(k).subscribe(o))})(a)}}function l7(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Ar({next:()=>{i.unsubscribe(),t()}});return qt(n(...e)).subscribe(i)}function q4(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,hl({connector:()=>new zr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Ro(t){return lt((n,e)=>t<=e)}function Ft(...t){let n=K1(t);return it((e,i)=>{(n?Ea(t,e,n):Ea(t,e)).subscribe(i)})}function Qt(t,n){return it((e,i)=>{let r=null,a=0,o=!1,s=()=>o&&!r&&i.complete();e.subscribe(Je(i,l=>{r?.unsubscribe();let u=0,h=a++;qt(t(l,h)).subscribe(r=Je(i,g=>i.next(n?n(l,g,h,u++):g),()=>{r=null,s()}))},()=>{o=!0,s()}))})}function je(t){return it((n,e)=>{qt(t).subscribe(Je(e,()=>e.complete(),dl)),!e.closed&&n.subscribe(e)})}function d7(t,n=!1){return it((e,i)=>{let r=0;e.subscribe(Je(i,a=>{let o=t(a,r++);(o||n)&&i.next(a),!o&&i.complete()}))})}function ri(t,n,e){let i=ot(t)||n||e?{next:t,error:n,complete:e}:t;return i?it((r,a)=>{var o;(o=i.subscribe)===null||o===void 0||o.call(i);let s=!0;r.subscribe(Je(a,l=>{var u;(u=i.next)===null||u===void 0||u.call(i,l),a.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),a.complete()},l=>{var u;s=!1,(u=i.error)===null||u===void 0||u.call(i,l),a.error(l)},()=>{var l,u;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(u=i.finalize)===null||u===void 0||u.call(i)}))}):fn}function xb(t){let n=$e(null);try{return t()}finally{$e(n)}}var wb=Ue(z({},wo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Db(t){if(t.dirty=!1,t.version>0&&!So(t))return;t.version++;let n=Ma(t);try{t.cleanup(),t.fn()}finally{Do(t,n)}}var X4="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{code;constructor(n,e){super(t1(n,e)),this.code=n}};function vO(t){return`NG0${Math.abs(t)}`}function t1(t,n){return`${vO(t)}${n?": "+n:""}`}var Ri=globalThis;function Pt(t){for(let n in t)if(t[n]===Pt)return n;throw Error("")}function Lb(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Vr(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Vr).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
`);return i>=0?e.slice(0,i):e}function J4(t,n){return t?n?`${t} ${n}`:t:n||""}var bO=Pt({__forward_ref__:Pt});function Gt(t){return t.__forward_ref__=Gt,t.toString=function(){return Vr(this())},t}function Yi(t){return M7(t)?t():t}function M7(t){return typeof t=="function"&&t.hasOwnProperty(bO)&&t.__forward_ref__===Gt}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function H(t){return{providers:t.providers||[],imports:t.imports||[]}}function bl(t){return yO(t,e6)}function x7(t){return bl(t)!==null}function yO(t,n){return t.hasOwnProperty(n)&&t[n]||null}function CO(t){let n=t?.[e6]??null;return n||null}function m7(t){return t&&t.hasOwnProperty(Z4)?t[Z4]:null}var e6=Pt({\u0275prov:Pt}),Z4=Pt({\u0275inj:Pt}),L=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=A({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function w7(t){return t&&!!t.\u0275providers}var D7=Pt({\u0275cmp:Pt}),S7=Pt({\u0275dir:Pt}),E7=Pt({\u0275pipe:Pt}),L7=Pt({\u0275mod:Pt}),gl=Pt({\u0275fac:Pt}),Vo=Pt({__NG_ELEMENT_ID__:Pt}),Sb=Pt({__NG_ENV_ID__:Pt});function Ta(t){return typeof t=="string"?t:t==null?"":String(t)}function kb(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ta(t)}var Ib=Pt({ngErrorCode:Pt}),MO=Pt({ngErrorMessage:Pt}),xO=Pt({ngTokenPath:Pt});function k7(t,n){return Tb("",-200,n)}function t6(t,n){throw new G(-201,!1)}function Tb(t,n,e){let i=new G(n,t);return i[Ib]=n,i[MO]=t,e&&(i[xO]=e),i}function wO(t){return t[Ib]}var f7;function Ab(){return f7}function hn(t){let n=f7;return f7=t,n}function I7(t,n,e){let i=bl(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;t6(t,"Injector")}var DO={},No=DO,h7="__NG_DI_FLAG__",p7=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Oo(e)||0;try{return this.injector.get(n,i&8?null:No,i)}catch(r){if(Z2(r))return r;throw r}}};function SO(t,n=0){let e=l4();if(e===void 0)throw new G(-203,!1);if(e===null)return I7(t,void 0,n);{let i=EO(n),r=e.retrieve(t,i);if(Z2(r)){if(i.optional)return null;throw r}return r}}function me(t,n=0){return(Ab()||SO)(Yi(t),n)}function m(t,n){return me(t,Oo(n))}function Oo(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function EO(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function g7(t){let n=[];for(let e=0;e<t.length;e++){let i=Yi(t[e]);if(Array.isArray(i)){if(i.length===0)throw new G(900,!1);let r,a=0;for(let o=0;o<i.length;o++){let s=i[o],l=LO(s);typeof l=="number"?l===-1?r=s.token:a|=l:r=s}n.push(me(r,a))}else n.push(me(i))}return n}function T7(t,n){return t[h7]=n,t.prototype[h7]=n,t}function LO(t){return t[h7]}function ka(t,n){let e=t.hasOwnProperty(gl);return e?t[gl]:null}function zb(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],a=n[i];if(e&&(r=e(r),a=e(a)),a!==r)return!1}return!0}function Rb(t){return t.flat(Number.POSITIVE_INFINITY)}function i6(t,n){t.forEach(e=>Array.isArray(e)?i6(e,n):n(e))}function A7(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function yl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Nb(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function Ob(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let a=r-2;t[r]=t[a],r--}t[n]=e,t[n+1]=i}}function n6(t,n,e){let i=ds(t,n);return i>=0?t[i|1]=e:(i=~i,Ob(t,i,n,e)),i}function r6(t,n){let e=ds(t,n);if(e>=0)return t[e|1]}function ds(t,n){return kO(t,n,1)}function kO(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let a=i+(r-i>>1),o=t[a<<e];if(n===o)return a<<e;o>n?r=a:i=a+1}return~(r<<e)}var Aa={},tn=[],Br=new L(""),z7=new L("",-1),R7=new L(""),_l=class{get(n,e=No){if(e===No){let r=Tb("",-201);throw r.name="\u0275NotFound",r}return e}};function N7(t){return t[L7]||null}function Q1(t){return t[D7]||null}function O7(t){return t[S7]||null}function Pb(t){return t[E7]||null}function Hr(t){return{\u0275providers:t}}function a6(...t){return{\u0275providers:P7(!0,t),\u0275fromNgModule:!0}}function P7(t,...n){let e=[],i=new Set,r,a=o=>{e.push(o)};return i6(n,o=>{let s=o;Q4(s,a,[],i)&&(r||=[],r.push(s))}),r!==void 0&&Fb(r,a),e}function Fb(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];F7(r,a=>{n(a,i)})}}function Q4(t,n,e,i){if(t=Yi(t),!t)return!1;let r=null,a=m7(t),o=!a&&Q1(t);if(!a&&!o){let l=t.ngModule;if(a=m7(l),a)r=l;else return!1}else{if(o&&!o.standalone)return!1;r=t}let s=i.has(r);if(o){if(s)return!1;if(i.add(r),o.dependencies){let l=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of l)Q4(u,n,e,i)}}else if(a){if(a.imports!=null&&!s){i.add(r);let u;try{i6(a.imports,h=>{Q4(h,n,e,i)&&(u||=[],u.push(h))})}finally{}u!==void 0&&Fb(u,n)}if(!s){let u=ka(r)||(()=>new r);n({provide:r,useFactory:u,deps:tn},r),n({provide:R7,useValue:r,multi:!0},r),n({provide:Br,useValue:()=>me(r),multi:!0},r)}let l=a.providers;if(l!=null&&!s){let u=t;F7(l,h=>{n(h,u)})}}else return!1;return r!==t&&t.providers!==void 0}function F7(t,n){for(let e of t)w7(e)&&(e=e.\u0275providers),Array.isArray(e)?F7(e,n):n(e)}var IO=Pt({provide:String,useValue:Pt});function Vb(t){return t!==null&&typeof t=="object"&&IO in t}function TO(t){return!!(t&&t.useExisting)}function AO(t){return!!(t&&t.useFactory)}function Po(t){return typeof t=="function"}function Bb(t){return!!t.useClass}var Cl=new L(""),K4={},Eb={},u7;function us(){return u7===void 0&&(u7=new _l),u7}var Ut=class{},Fo=class extends Ut{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,v7(n,o=>this.processProvider(o)),this.records.set(z7,ls(void 0,this)),r.has("environment")&&this.records.set(Ut,ls(void 0,this));let a=this.records.get(Cl);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(R7,tn,{self:!0}))}retrieve(n,e){let i=Oo(e)||0;try{return this.get(n,No,i)}catch(r){if(Z2(r))return r;throw r}}destroy(){pl(this),this._destroyed=!0;let n=$e(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$e(n)}}onDestroy(n){return pl(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){pl(this);let e=q1(this),i=hn(void 0),r;try{return n()}finally{q1(e),hn(i)}}get(n,e=No,i){if(pl(this),n.hasOwnProperty(Sb))return n[Sb](this);let r=Oo(i),a,o=q1(this),s=hn(void 0);try{if(!(r&4)){let u=this.records.get(n);if(u===void 0){let h=PO(n)&&bl(n);h&&this.injectableDefInScope(h)?u=ls(_7(n),K4):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,r)}let l=r&2?us():this.parent;return e=r&8&&e===No?null:e,l.get(n,e)}catch(l){let u=wO(l);throw u===-200||u===-201?new G(u,null):l}finally{hn(s),q1(o)}}resolveInjectorInitializers(){let n=$e(null),e=q1(this),i=hn(void 0),r;try{let a=this.get(Br,tn,{self:!0});for(let o of a)o()}finally{q1(e),hn(i),$e(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Vr(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Yi(n);let e=Po(n)?n:Yi(n&&n.provide),i=RO(n);if(!Po(n)&&n.multi===!0){let r=this.records.get(e);r||(r=ls(void 0,K4,!0),r.factory=()=>g7(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=$e(null);try{if(e.value===Eb)throw k7(Vr(n));return e.value===K4&&(e.value=Eb,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&OO(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{$e(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Yi(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function _7(t){let n=bl(t),e=n!==null?n.factory:ka(t);if(e!==null)return e;if(t instanceof L)throw new G(204,!1);if(t instanceof Function)return zO(t);throw new G(204,!1)}function zO(t){if(t.length>0)throw new G(204,!1);let e=CO(t);return e!==null?()=>e.factory(t):()=>new t}function RO(t){if(Vb(t))return ls(void 0,t.useValue);{let n=V7(t);return ls(n,K4)}}function V7(t,n,e){let i;if(Po(t)){let r=Yi(t);return ka(r)||_7(r)}else if(Vb(t))i=()=>Yi(t.useValue);else if(AO(t))i=()=>t.useFactory(...g7(t.deps||[]));else if(TO(t))i=(r,a)=>me(Yi(t.useExisting),a!==void 0&&a&8?8:void 0);else{let r=Yi(t&&(t.useClass||t.provide));if(NO(t))i=()=>new r(...g7(t.deps));else return ka(r)||_7(r)}return i}function pl(t){if(t.destroyed)throw new G(205,!1)}function ls(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function NO(t){return!!t.deps}function OO(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function PO(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function v7(t,n){for(let e of t)Array.isArray(e)?v7(e,n):e&&w7(e)?v7(e.\u0275providers,n):n(e)}function ji(t,n){let e;t instanceof Fo?(pl(t),e=t):e=new p7(t);let i,r=q1(e),a=hn(void 0);try{return n()}finally{q1(r),hn(a)}}function B7(){return Ab()!==void 0||l4()!=null}var I1=0,Fe=1,Qe=2,zi=3,i1=4,pn=5,Bo=6,ms=7,Ci=8,jr=9,X1=10,Wt=11,fs=12,H7=13,Ho=14,gn=15,za=16,jo=17,J1=18,Ml=19,j7=20,Fr=21,o6=22,Ur=23,On=24,Uo=25,Go=26,ai=27,Hb=1,U7=6,Ra=7,xl=8,Wo=9,fi=10;function er(t){return Array.isArray(t)&&typeof t[Hb]=="object"}function T1(t){return Array.isArray(t)&&t[Hb]===!0}function G7(t){return(t.flags&4)!==0}function Gr(t){return t.componentOffset>-1}function hs(t){return(t.flags&1)===1}function tr(t){return!!t.template}function ps(t){return(t[Qe]&512)!==0}function $o(t){return(t[Qe]&256)===256}var W7="svg",jb="math";function n1(t){for(;Array.isArray(t);)t=t[I1];return t}function $7(t,n){return n1(n[t])}function r1(t,n){return n1(n[t.index])}function wl(t,n){return t.data[n]}function s6(t,n){return t[n]}function Y7(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function a1(t,n){let e=n[t];return er(e)?e:e[I1]}function Ub(t){return(t[Qe]&4)===4}function c6(t){return(t[Qe]&128)===128}function Gb(t){return T1(t[zi])}function Pn(t,n){return n==null?null:t[n]}function q7(t){t[jo]=0}function K7(t){t[Qe]&1024||(t[Qe]|=1024,c6(t)&&Na(t))}function Wb(t,n){for(;t>0;)n=n[Ho],t--;return n}function Dl(t){return!!(t[Qe]&9216||t[On]?.dirty)}function l6(t){t[X1].changeDetectionScheduler?.notify(8),t[Qe]&64&&(t[Qe]|=1024),Dl(t)&&Na(t)}function Na(t){t[X1].changeDetectionScheduler?.notify(0);let n=Ia(t);for(;n!==null&&!(n[Qe]&8192||(n[Qe]|=8192,!c6(n)));)n=Ia(n)}function Z7(t,n){if($o(t))throw new G(911,!1);t[Fr]===null&&(t[Fr]=[]),t[Fr].push(n)}function $b(t,n){if(t[Fr]===null)return;let e=t[Fr].indexOf(n);e!==-1&&t[Fr].splice(e,1)}function Ia(t){let n=t[zi];return T1(n)?n[zi]:n}function Q7(t){return t[ms]??=[]}function X7(t){return t.cleanup??=[]}function Yb(t,n,e,i){let r=Q7(n);r.push(e),t.firstCreatePass&&X7(t).push(i,r.length-1)}var st={lFrame:ay(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var b7=!1;function qb(){return st.lFrame.elementDepthCount}function Kb(){st.lFrame.elementDepthCount++}function J7(){st.lFrame.elementDepthCount--}function d6(){return st.bindingsEnabled}function em(){return st.skipHydrationRootTNode!==null}function tm(t){return st.skipHydrationRootTNode===t}function im(){st.skipHydrationRootTNode=null}function Ve(){return st.lFrame.lView}function Xt(){return st.lFrame.tView}function Q(t){return st.lFrame.contextLView=t,t[Ci]}function X(t){return st.lFrame.contextLView=null,t}function Ni(){let t=nm();for(;t!==null&&t.type===64;)t=t.parent;return t}function nm(){return st.lFrame.currentTNode}function Zb(){let t=st.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function gs(t,n){let e=st.lFrame;e.currentTNode=t,e.isParent=n}function rm(){return st.lFrame.isParent}function am(){st.lFrame.isParent=!1}function Qb(){return st.lFrame.contextLView}function om(){return b7}function _s(t){let n=b7;return b7=t,n}function Sl(){let t=st.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Xb(){return st.lFrame.bindingIndex}function Jb(t){return st.lFrame.bindingIndex=t}function Wr(){return st.lFrame.bindingIndex++}function u6(t){let n=st.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function ey(){return st.lFrame.inI18n}function ty(t,n){let e=st.lFrame;e.bindingIndex=e.bindingRootIndex=t,m6(n)}function iy(){return st.lFrame.currentDirectiveIndex}function m6(t){st.lFrame.currentDirectiveIndex=t}function ny(t){let n=st.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function f6(){return st.lFrame.currentQueryIndex}function El(t){st.lFrame.currentQueryIndex=t}function FO(t){let n=t[Fe];return n.type===2?n.declTNode:n.type===1?t[pn]:null}function sm(t,n,e){if(e&4){let r=n,a=t;for(;r=r.parent,r===null&&!(e&1);)if(r=FO(a),r===null||(a=a[Ho],r.type&10))break;if(r===null)return!1;n=r,t=a}let i=st.lFrame=ry();return i.currentTNode=n,i.lView=t,!0}function h6(t){let n=ry(),e=t[Fe];st.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function ry(){let t=st.lFrame,n=t===null?null:t.child;return n===null?ay(t):n}function ay(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function oy(){let t=st.lFrame;return st.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cm=oy;function p6(){let t=oy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function sy(t){return(st.lFrame.contextLView=Wb(t,st.lFrame.contextLView))[Ci]}function ir(){return st.lFrame.selectedIndex}function Oa(t){st.lFrame.selectedIndex=t}function vs(){let t=st.lFrame;return wl(t.tView,t.selectedIndex)}function Jt(){st.lFrame.currentNamespace=W7}function o1(){VO()}function VO(){st.lFrame.currentNamespace=null}function cy(){return st.lFrame.currentNamespace}var ly=!0;function g6(){return ly}function Ll(t){ly=t}function y7(t,n=null,e=null,i){let r=lm(t,n,e,i);return r.resolveInjectorInitializers(),r}function lm(t,n=null,e=null,i,r=new Set){let a=[e||tn,a6(t)];return i=i||(typeof t=="object"?void 0:Vr(t)),new Fo(a,n||us(),i||null,r)}var ve=class t{static THROW_IF_NOT_FOUND=No;static NULL=new _l;static create(n,e){if(Array.isArray(n))return y7({name:""},e,n,"");{let i=n.name??"";return y7({name:i},n.parent,n.providers,i)}}static \u0275prov=A({token:t,providedIn:"any",factory:()=>me(z7)});static __NG_ELEMENT_ID__=-1},_e=new L(""),nn=(()=>{class t{static __NG_ELEMENT_ID__=BO;static __NG_ENV_ID__=e=>e}return t})(),vl=class extends nn{_lView;constructor(n){super(),this._lView=n}get destroyed(){return $o(this._lView)}onDestroy(n){let e=this._lView;return Z7(e,n),()=>$b(e,n)}};function BO(){return new vl(Ve())}var Hi=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ln=new L("",{providedIn:"root",factory:()=>{let t=m(Ut),n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(Hi),n.handleError(e))}}}),dy={provide:Br,useValue:()=>void m(Hi),multi:!0};function nr(t){return typeof t=="function"&&t[Di]!==void 0}function Te(t,n){let[e,i,r]=qu(t,n?.equal),a=e,o=a[Di];return a.set=i,a.update=r,a.asReadonly=_6.bind(a),a}function _6(){let t=this[Di];if(t.readonlyFn===void 0){let n=()=>this();n[Di]=t,t.readonlyFn=n}return t.readonlyFn}function dm(t){return nr(t)&&typeof t.set=="function"}var Yo=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=HO}return t})();function HO(){return new Yo(Ve(),Ni())}var e1=class{},bs=new L("",{providedIn:"root",factory:()=>!1});var um=new L(""),mm=new L(""),rr=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Mt(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new He(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})(),kl=(()=>{class t{internalPendingTasks=m(rr);scheduler=m(e1);errorHandler=m(Ln);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})();function qo(...t){}var Il=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>new C7})}return t})(),C7=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}};function Es(t){return{toString:t}.toString()}var v6="__parameters__";function YO(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function Wy(t,n,e){return Es(()=>{let i=YO(n);function r(...a){if(this instanceof r)return i.apply(this,a),this;let o=new r(...a);return s.annotation=o,s;function s(l,u,h){let g=l.hasOwnProperty(v6)?l[v6]:Object.defineProperty(l,v6,{value:[]})[v6];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(o),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Va=T7(Wy("Optional"),8);var Ls=T7(Wy("SkipSelf"),4);function qO(t){return typeof t=="function"}var L6=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function $y(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var nt=(()=>{let t=()=>Yy;return t.ngInherit=!0,t})();function Yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=ZO),KO}function KO(){let t=Ky(this),n=t?.current;if(n){let e=t.previous;if(e===Aa)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function ZO(t,n,e,i,r){let a=this.declaredInputs[i],o=Ky(t)||QO(t,{previous:Aa,current:null}),s=o.current||(o.current={}),l=o.previous,u=l[a];s[a]=new L6(u&&u.currentValue,e,l===Aa),$y(t,n,r,e)}var qy="__ngSimpleChanges__";function Ky(t){return t[qy]||null}function QO(t,n){return t[qy]=n}var uy=[];var Vt=function(t,n=null,e){for(let i=0;i<uy.length;i++){let r=uy[i];r(t,n,e)}};function XO(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){let o=Yy(n);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}function Zy(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let a=t.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:h}=a;o&&(t.contentHooks??=[]).push(-e,o),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),u&&((t.viewHooks??=[]).push(e,u),(t.viewCheckHooks??=[]).push(e,u)),h!=null&&(t.destroyHooks??=[]).push(e,h)}}function w6(t,n,e){Qy(t,n,3,e)}function D6(t,n,e,i){(t[Qe]&3)===e&&Qy(t,n,e,i)}function fm(t,n){let e=t[Qe];(e&3)===n&&(e&=16383,e+=1,t[Qe]=e)}function Qy(t,n,e,i){let r=i!==void 0?t[jo]&65535:0,a=i??-1,o=n.length-1,s=0;for(let l=r;l<o;l++)if(typeof n[l+1]=="number"){if(s=n[l],i!=null&&s>=i)break}else n[l]<0&&(t[jo]+=65536),(s<a||a==-1)&&(JO(t,e,n,l),t[jo]=(t[jo]&4294901760)+l+2),l++}function my(t,n){Vt(4,t,n);let e=$e(null);try{n.call(t)}finally{$e(e),Vt(5,t,n)}}function JO(t,n,e,i){let r=e[i]<0,a=e[i+1],o=r?-e[i]:e[i],s=t[o];r?t[Qe]>>14<t[jo]>>16&&(t[Qe]&3)===n&&(t[Qe]+=16384,my(s,a)):my(s,a)}var Cs=-1,Zo=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function eP(t){return(t.flags&8)!==0}function tP(t){return(t.flags&16)!==0}function iP(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let a=e[i++],o=e[i++],s=e[i++];t.setAttribute(n,o,s,a)}else{let a=r,o=e[++i];nP(a)?t.setProperty(n,a,o):t.setAttribute(n,a,o),i++}}return i}function Xy(t){return t===3||t===4||t===6}function nP(t){return t.charCodeAt(0)===64}function Ms(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?fy(t,e,r,null,n[++i]):fy(t,e,r,null,null))}}return t}function fy(t,n,e,i,r){let a=0,o=t.length;if(n===-1)o=-1;else for(;a<t.length;){let s=t[a++];if(typeof s=="number"){if(s===n){o=-1;break}else if(s>n){o=a-1;break}}}for(;a<t.length;){let s=t[a];if(typeof s=="number")break;if(s===e){r!==null&&(t[a+1]=r);return}a++,r!==null&&a++}o!==-1&&(t.splice(o,0,n),a=o+1),t.splice(a++,0,e),r!==null&&t.splice(a++,0,r)}function Jy(t){return t!==Cs}function k6(t){return t&32767}function rP(t){return t>>16}function I6(t,n){let e=rP(t),i=n;for(;e>0;)i=i[Ho],e--;return i}var Dm=!0;function T6(t){let n=Dm;return Dm=t,n}var aP=256,eC=aP-1,tC=5,oP=0,ar={};function sP(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Vo)&&(i=e[Vo]),i==null&&(i=e[Vo]=oP++);let r=i&eC,a=1<<r;n.data[t+(r>>tC)]|=a}function A6(t,n){let e=iC(t,n);if(e!==-1)return e;let i=n[Fe];i.firstCreatePass&&(t.injectorIndex=n.length,hm(i.data,t),hm(n,null),hm(i.blueprint,null));let r=df(t,n),a=t.injectorIndex;if(Jy(r)){let o=k6(r),s=I6(r,n),l=s[Fe].data;for(let u=0;u<8;u++)n[a+u]=s[o+u]|l[o+u]}return n[a+8]=r,a}function hm(t,n){t.push(0,0,0,0,0,0,0,0,n)}function iC(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function df(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=sC(r),i===null)return Cs;if(e++,r=r[Ho],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Cs}function Sm(t,n,e){sP(t,n,e)}function cP(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let a=e[r];if(Xy(a))break;if(a===0)r=r+2;else if(typeof a=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(a===n)return e[r+1];r=r+2}}}return null}function nC(t,n,e){if(e&8||t!==void 0)return t;t6(n,"NodeInjector")}function rC(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[jr],a=hn(void 0);try{return r?r.get(n,i,e&8):I7(n,i,e&8)}finally{hn(a)}}return nC(i,n,e)}function aC(t,n,e,i=0,r){if(t!==null){if(n[Qe]&2048&&!(i&2)){let o=mP(t,n,e,i,ar);if(o!==ar)return o}let a=oC(t,n,e,i,ar);if(a!==ar)return a}return rC(n,e,i,r)}function oC(t,n,e,i,r){let a=dP(e);if(typeof a=="function"){if(!sm(n,t,i))return i&1?nC(r,e,i):rC(n,e,i,r);try{let o;if(o=a(i),o==null&&!(i&8))t6(e);else return o}finally{cm()}}else if(typeof a=="number"){let o=null,s=iC(t,n),l=Cs,u=i&1?n[gn][pn]:null;for((s===-1||i&4)&&(l=s===-1?df(t,n):n[s+8],l===Cs||!py(i,!1)?s=-1:(o=n[Fe],s=k6(l),n=I6(l,n)));s!==-1;){let h=n[Fe];if(hy(a,s,h.data)){let g=lP(s,n,e,o,i,u);if(g!==ar)return g}l=n[s+8],l!==Cs&&py(i,n[Fe].data[s+8]===u)&&hy(a,s,n)?(o=h,s=k6(l),n=I6(l,n)):s=-1}}return r}function lP(t,n,e,i,r,a){let o=n[Fe],s=o.data[t+8],l=i==null?Gr(s)&&Dm:i!=o&&(s.type&3)!==0,u=r&1&&a===s,h=S6(s,o,e,l,u);return h!==null?zl(n,o,h,s,r):ar}function S6(t,n,e,i,r){let a=t.providerIndexes,o=n.data,s=a&1048575,l=t.directiveStart,u=t.directiveEnd,h=a>>20,g=i?s:s+h,C=r?s+h:u;for(let M=g;M<C;M++){let x=o[M];if(M<l&&e===x||M>=l&&x.type===e)return M}if(r){let M=o[l];if(M&&tr(M)&&M.type===e)return l}return null}function zl(t,n,e,i,r){let a=t[e],o=n.data;if(a instanceof Zo){let s=a;if(s.resolving){let M=kb(o[e]);throw k7(M)}let l=T6(s.canSeeViewProviders);s.resolving=!0;let u=o[e].type||o[e],h,g=s.injectImpl?hn(s.injectImpl):null,C=sm(t,i,0);try{a=t[e]=s.factory(void 0,r,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&XO(e,o[e],n)}finally{g!==null&&hn(g),T6(l),s.resolving=!1,cm()}}return a}function dP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Vo)?t[Vo]:void 0;return typeof n=="number"?n>=0?n&eC:uP:n}function hy(t,n,e){let i=1<<t;return!!(e[n+(t>>tC)]&i)}function py(t,n){return!(t&2)&&!(t&1&&n)}var Ko=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return aC(this._tNode,this._lView,n,Oo(i),e)}};function uP(){return new Ko(Ni(),Ve())}function Bt(t){return Es(()=>{let n=t.prototype.constructor,e=n[gl]||Em(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let a=r[gl]||Em(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Em(t){return M7(t)?()=>{let n=Em(Yi(t));return n&&n()}:ka(t)}function mP(t,n,e,i,r){let a=t,o=n;for(;a!==null&&o!==null&&o[Qe]&2048&&!ps(o);){let s=oC(a,o,e,i|2,ar);if(s!==ar)return s;let l=a.parent;if(!l){let u=o[j7];if(u){let h=u.get(e,ar,i);if(h!==ar)return h}l=sC(o),o=o[Ho]}a=l}return r}function sC(t){let n=t[Fe],e=n.type;return e===2?n.declTNode:e===1?t[pn]:null}function Y6(t){return cP(Ni(),t)}function fP(){return ks(Ni(),Ve())}function ks(t,n){return new Y(r1(t,n))}var Y=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=fP}return t})();function cC(t){return t instanceof Y?t.nativeElement:t}function hP(){return this._results[Symbol.iterator]()}var s1=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new N}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=Rb(n);(this._changesDetected=!zb(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hP};function lC(t){return(t.flags&128)===128}var uf=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(uf||{}),dC=new Map,pP=0;function gP(){return pP++}function _P(t){dC.set(t[Ml],t)}function Lm(t){dC.delete(t[Ml])}var gy="__ngContext__";function xs(t,n){er(n)?(t[gy]=n[Ml],_P(n)):t[gy]=n}function uC(t){return fC(t[fs])}function mC(t){return fC(t[i1])}function fC(t){for(;t!==null&&!T1(t);)t=t[i1];return t}var km;function mf(t){km=t}function ff(){if(km!==void 0)return km;if(typeof document<"u")return document;throw new G(210,!1)}var Ba=new L("",{providedIn:"root",factory:()=>vP}),vP="ng",q6=new L(""),Jo=new L("",{providedIn:"platform",factory:()=>"unknown"});var Ha=new L(""),Is=new L("",{providedIn:"root",factory:()=>ff().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var bP="h",yP="b";var hC="r";var pC="di";var gC=!1,_C=new L("",{providedIn:"root",factory:()=>gC});var K6=new L("");var CP=(t,n,e,i)=>{};function MP(t,n,e,i){CP(t,n,e,i)}function Z6(t){return(t.flags&32)===32}var xP=()=>null;function vC(t,n,e=!1){return xP(t,n,e)}function bC(t,n){let e=t.contentQueries;if(e!==null){let i=$e(null);try{for(let r=0;r<e.length;r+=2){let a=e[r],o=e[r+1];if(o!==-1){let s=t.data[o];El(a),s.contentQueries(2,n[o],o)}}}finally{$e(i)}}}function Im(t,n,e){El(0);let i=$e(null);try{n(t,e)}finally{$e(i)}}function hf(t,n,e){if(G7(n)){let i=$e(null);try{let r=n.directiveStart,a=n.directiveEnd;for(let o=r;o<a;o++){let s=t.data[o];if(s.contentQueries){let l=e[o];s.contentQueries(1,l,o)}}}finally{$e(i)}}}var $r=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})($r||{});var b6;function wP(){if(b6===void 0&&(b6=null,Ri.trustedTypes))try{b6=Ri.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return b6}function Q6(t){return wP()?.createHTML(t)||t}var y6;function DP(){if(y6===void 0&&(y6=null,Ri.trustedTypes))try{y6=Ri.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return y6}function _y(t){return DP()?.createHTML(t)||t}var Yr=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${X4})`}},Tm=class extends Yr{getTypeName(){return"HTML"}},Am=class extends Yr{getTypeName(){return"Style"}},zm=class extends Yr{getTypeName(){return"Script"}},Rm=class extends Yr{getTypeName(){return"URL"}},Nm=class extends Yr{getTypeName(){return"ResourceURL"}};function c1(t){return t instanceof Yr?t.changingThisBreaksApplicationSecurity:t}function qr(t,n){let e=yC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${X4})`)}return e===n}function yC(t){return t instanceof Yr&&t.getTypeName()||null}function pf(t){return new Tm(t)}function gf(t){return new Am(t)}function _f(t){return new zm(t)}function vf(t){return new Rm(t)}function bf(t){return new Nm(t)}function SP(t){let n=new Pm(t);return EP()?new Om(n):n}var Om=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Q6(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Pm=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Q6(n),e}};function EP(){try{return!!new window.DOMParser().parseFromString(Q6(""),"text/html")}catch{return!1}}var LP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vl(t){return t=String(t),t.match(LP)?t:"unsafe:"+t}function Kr(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Bl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var CC=Kr("area,br,col,hr,img,wbr"),MC=Kr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xC=Kr("rp,rt"),kP=Bl(xC,MC),IP=Bl(MC,Kr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),TP=Bl(xC,Kr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vy=Bl(CC,IP,TP,kP),wC=Kr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),AP=Kr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),zP=Kr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),RP=Bl(wC,AP,zP),NP=Kr("script,style,template"),Fm=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=FP(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=PP(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=by(n).toLowerCase();if(!vy.hasOwnProperty(e))return this.sanitizedSomething=!0,!NP.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let a=i.item(r),o=a.name,s=o.toLowerCase();if(!RP.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;wC[s]&&(l=Vl(l)),this.buf.push(" ",o,'="',yy(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=by(n).toLowerCase();vy.hasOwnProperty(e)&&!CC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(yy(n))}};function OP(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function PP(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw DC(n);return n}function FP(t){let n=t.firstChild;if(n&&OP(t,n))throw DC(n);return n}function by(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function DC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var VP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BP=/([^\#-~ |!])/g;function yy(t){return t.replace(/&/g,"&amp;").replace(VP,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(BP,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var C6;function X6(t,n){let e=null;try{C6=C6||SP(t);let i=n?String(n):"";e=C6.getInertBodyElement(i);let r=5,a=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=e.innerHTML,e=C6.getInertBodyElement(i)}while(i!==a);let s=new Fm().sanitizeChildren(Cy(e)||e);return Q6(s)}finally{if(e){let i=Cy(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Cy(t){return"content"in t&&HP(t)?t.content:null}function HP(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var jP=/^>|^->|<!--|-->|--!>|<!-$/g,UP=/(<|>)/g,GP="\u200B$1\u200B";function WP(t){return t.replace(jP,n=>n.replace(UP,GP))}function $P(t,n){return t.createText(n)}function YP(t,n,e){t.setValue(n,e)}function qP(t,n){return t.createComment(WP(n))}function SC(t,n,e){return t.createElement(n,e)}function z6(t,n,e,i,r){t.insertBefore(n,e,i,r)}function EC(t,n,e){t.appendChild(n,e)}function My(t,n,e,i,r){i!==null?z6(t,n,e,i,r):EC(t,n,e)}function LC(t,n,e,i){t.removeChild(null,n,e,i)}function KP(t,n,e){t.setAttribute(n,"style",e)}function ZP(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function kC(t,n,e){let{mergedAttrs:i,classes:r,styles:a}=e;i!==null&&iP(t,n,i),r!==null&&ZP(t,n,r),a!==null&&KP(t,n,a)}var qi=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(qi||{});function Hl(t){let n=IC();return n?_y(n.sanitize(qi.HTML,t)||""):qr(t,"HTML")?_y(c1(t)):X6(ff(),Ta(t))}function e2(t){let n=IC();return n?n.sanitize(qi.URL,t)||"":qr(t,"URL")?c1(t):Vl(Ta(t))}function IC(){let t=Ve();return t&&t[X1].sanitizer}function yf(t){return t.ownerDocument.defaultView}function TC(t){return t instanceof Function?t():t}function QP(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let a=n.length;if(r+a===i||t.charCodeAt(r+a)<=32)return r}e=r+1}}var AC="ng-template";function XP(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&QP(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Cf(t))return!1;if(r=n.indexOf(1,r),r>-1){let a;for(;++r<n.length&&typeof(a=n[r])=="string";)if(a.toLowerCase()===e)return!0}return!1}function Cf(t){return t.type===4&&t.value!==AC}function JP(t,n,e){let i=t.type===4&&!e?AC:t.value;return n===i}function eF(t,n,e){let i=4,r=t.attrs,a=r!==null?nF(r):0,o=!1;for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number"){if(!o&&!A1(i)&&!A1(l))return!1;if(o&&A1(l))continue;o=!1,i=l|i&1;continue}if(!o)if(i&4){if(i=2|i&1,l!==""&&!JP(t,l,e)||l===""&&n.length===1){if(A1(i))return!1;o=!0}}else if(i&8){if(r===null||!XP(t,r,l,e)){if(A1(i))return!1;o=!0}}else{let u=n[++s],h=tF(l,r,Cf(t),e);if(h===-1){if(A1(i))return!1;o=!0;continue}if(u!==""){let g;if(h>a?g="":g=r[h+1].toLowerCase(),i&2&&u!==g){if(A1(i))return!1;o=!0}}}}return A1(i)||o}function A1(t){return(t&1)===0}function tF(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let a=!1;for(;r<n.length;){let o=n[r];if(o===t)return r;if(o===3||o===6)a=!0;else if(o===1||o===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=a?1:2}return-1}else return rF(n,t)}function zC(t,n,e=!1){for(let i=0;i<n.length;i++)if(eF(t,n[i],e))return!0;return!1}function iF(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function nF(t){for(let n=0;n<t.length;n++){let e=t[n];if(Xy(e))return n}return t.length}function rF(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function aF(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function xy(t,n){return t?":not("+n.trim()+")":n}function oF(t){let n=t[0],e=1,i=2,r="",a=!1;for(;e<t.length;){let o=t[e];if(typeof o=="string")if(i&2){let s=t[++e];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else i&8?r+="."+o:i&4&&(r+=" "+o);else r!==""&&!A1(o)&&(n+=xy(a,r),r=""),i=o,a=a||!A1(i);e++}return r!==""&&(n+=xy(a,r)),n}function sF(t){return t.map(oF).join(",")}function cF(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let a=t[i];if(typeof a=="string")r===2?a!==""&&n.push(a,t[++i]):r===8&&e.push(a);else{if(!A1(r))break;r=a}i++}return e.length&&n.push(1,...e),n}var _n={};function Mf(t,n,e,i,r,a,o,s,l,u,h){let g=ai+i,C=g+r,M=lF(g,C),x=typeof u=="function"?u():u;return M[Fe]={type:t,blueprint:M,template:e,queries:null,viewQuery:s,declTNode:n,data:M.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:C,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof a=="function"?a():a,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:l,consts:x,incompleteFirstPass:!1,ssrId:h}}function lF(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:_n);return e}function dF(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Mf(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function xf(t,n,e,i,r,a,o,s,l,u,h){let g=n.blueprint.slice();return g[I1]=r,g[Qe]=i|4|128|8|64|1024,(u!==null||t&&t[Qe]&2048)&&(g[Qe]|=2048),q7(g),g[zi]=g[Ho]=t,g[Ci]=e,g[X1]=o||t&&t[X1],g[Wt]=s||t&&t[Wt],g[jr]=l||t&&t[jr]||null,g[pn]=a,g[Ml]=gP(),g[Bo]=h,g[j7]=u,g[gn]=n.type==2?t[gn]:g,g}function uF(t,n,e){let i=r1(n,t),r=dF(e),a=t[X1].rendererFactory,o=wf(t,xf(t,r,null,RC(e),i,n,null,a.createRenderer(i,e),null,null,null));return t[n.index]=o}function RC(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function NC(t,n,e,i){if(e===0)return-1;let r=n.length;for(let a=0;a<e;a++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function wf(t,n){return t[fs]?t[H7][i1]=n:t[fs]=n,t[H7]=n,n}function v(t=1){OC(Xt(),Ve(),ir()+t,!1)}function OC(t,n,e,i){if(!i)if((n[Qe]&3)===3){let a=t.preOrderCheckHooks;a!==null&&w6(n,a,e)}else{let a=t.preOrderHooks;a!==null&&D6(n,a,0,e)}Oa(e)}var J6=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(J6||{});function Vm(t,n,e,i){let r=$e(null);try{let[a,o,s]=t.inputs[e],l=null;(o&J6.SignalBased)!==0&&(l=n[a][Di]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,a):$y(n,l,a,i)}finally{$e(r)}}var or=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(or||{}),mF;function Df(t,n){return mF(t,n)}var Qo=new Set,ed=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(ed||{}),ja=new L(""),wy=new Set;function l1(t){wy.has(t)||(wy.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var PC=!1,Bm=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,B7()&&(this.destroyRef=m(nn,{optional:!0})??void 0,this.pendingTasks=m(rr,{optional:!0})??void 0)}emit(n){let e=$e(null);try{super.next(n)}finally{$e(e)}}subscribe(n,e,i){let r=n,a=e||(()=>null),o=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),a=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:a,complete:o});return n instanceof Oe&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},$=Bm;function FC(t){let n,e;function i(){t=qo;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Dy(t){return queueMicrotask(()=>t()),()=>{t=qo}}var Sf="isAngularZone",R6=Sf+"_ID",fF=0,te=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=PC}=n;if(typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,gF(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Sf)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new G(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,n,hF,qo,qo);try{return a.runTask(o,e,i)}finally{a.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},hF={};function Ef(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function pF(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){FC(()=>{t.callbackScheduled=!1,Hm(t),t.isCheckStableRunning=!0,Ef(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Hm(t)}function gF(t){let n=()=>{pF(t)},e=fF++;t._inner=t._inner.fork({name:"angular",properties:{[Sf]:!0,[R6]:e,[R6+e]:!0},onInvokeTask:(i,r,a,o,s,l)=>{if(_F(l))return i.invokeTask(a,o,s,l);try{return Sy(t),i.invokeTask(a,o,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Ey(t)}},onInvoke:(i,r,a,o,s,l,u)=>{try{return Sy(t),i.invoke(a,o,s,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!vF(l)&&n(),Ey(t)}},onHasTask:(i,r,a,o)=>{i.hasTask(a,o),r===a&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Hm(t),Ef(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,a,o)=>(i.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Hm(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ey(t){t._nesting--,Ef(t)}var N6=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function _F(t){return VC(t,"__ignore_ng_zone__")}function vF(t){return VC(t,"__scheduler_tick__")}function VC(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var td=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})(),Lf=[0,1,2,3],kf=(()=>{class t{ngZone=m(te);scheduler=m(e1);errorHandler=m(Hi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(ja,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Vt(16),this.executing=!0;for(let i of Lf)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let a=r.hooks[i];return a(r.pipelinedValue)},r.snapshot))}catch(a){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Vt(17)}register(e){let{view:i}=e;i!==void 0?((i[Uo]??=[]).push(e),Na(i),i[Qe]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(ed.AFTER_NEXT_RENDER,e):e()}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})(),Rl=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,a,o=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Uo];n&&(this.view[Uo]=n.filter(e=>e!==this))}};function Dt(t,n){let e=n?.injector??m(ve);return l1("NgAfterNextRender"),yF(t,e,n,!0)}function bF(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function yF(t,n,e,i){let r=n.get(td);r.impl??=n.get(kf);let a=n.get(ja,null,{optional:!0}),o=e?.manualCleanup!==!0?n.get(nn):null,s=n.get(Yo,null,{optional:!0}),l=new Rl(r.impl,bF(t),s?.view,i,o,a?.snapshot(null));return r.impl.register(l),l}var BC=new L("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function HC(t,n,e){let i=t.get(BC);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function CF(t,n){let e=t.get(BC);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function MF(t,n){for(let[e,i]of n)HC(t,i.animateFns)}function Ly(t,n,e,i){let r=t?.[Go]?.enter;n!==null&&r&&r.has(e.index)&&MF(i,r)}function ys(t,n,e,i,r,a,o,s){if(r!=null){let l,u=!1;T1(r)?l=r:er(r)&&(u=!0,r=r[I1]);let h=n1(r);t===0&&i!==null?(Ly(s,i,a,e),o==null?EC(n,i,h):z6(n,i,h,o||null,!0)):t===1&&i!==null?(Ly(s,i,a,e),z6(n,i,h,o||null,!0)):t===2?ky(s,a,e,g=>{LC(n,h,u,g)}):t===3&&ky(s,a,e,()=>{n.destroyNode(h)}),l!=null&&zF(n,t,e,l,a,i,o)}}function xF(t,n){jC(t,n),n[I1]=null,n[pn]=null}function wF(t,n,e,i,r,a){i[I1]=r,i[pn]=n,nd(t,i,e,1,r,a)}function jC(t,n){n[X1].changeDetectionScheduler?.notify(9),nd(t,n,n[Wt],2,null,null)}function DF(t){let n=t[fs];if(!n)return pm(t[Fe],t);for(;n;){let e=null;if(er(n))e=n[fs];else{let i=n[fi];i&&(e=i)}if(!e){for(;n&&!n[i1]&&n!==t;)er(n)&&pm(n[Fe],n),n=n[zi];n===null&&(n=t),er(n)&&pm(n[Fe],n),e=n&&n[i1]}n=e}}function If(t,n){let e=t[Wo],i=e.indexOf(n);e.splice(i,1)}function id(t,n){if($o(n))return;let e=n[Wt];e.destroyNode&&nd(t,n,e,3,null,null),DF(n)}function pm(t,n){if($o(n))return;let e=$e(null);try{n[Qe]&=-129,n[Qe]|=256,n[On]&&xa(n[On]),LF(t,n),EF(t,n),n[Fe].type===1&&n[Wt].destroy();let i=n[za];if(i!==null&&T1(n[zi])){i!==n[zi]&&If(i,n);let r=n[J1];r!==null&&r.detachView(t)}Lm(n)}finally{$e(e)}}function ky(t,n,e,i){let r=t?.[Go];if(r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&Qo.add(t),HC(e,()=>{if(r.leave&&r.leave.has(n.index)){let o=r.leave.get(n.index),s=[];if(o){for(let l=0;l<o.animateFns.length;l++){let u=o.animateFns[l],{promise:h}=u();s.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),SF(t,i)}else t&&Qo.delete(t),i(!1)},r)}function SF(t,n){let e=t[Go]?.running;if(e){e.then(()=>{t[Go].running=void 0,Qo.delete(t),n(!0)});return}n(!1)}function EF(t,n){let e=t.cleanup,i=n[ms];if(e!==null)for(let o=0;o<e.length-1;o+=2)if(typeof e[o]=="string"){let s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[e[o+1]];e[o].call(s)}i!==null&&(n[ms]=null);let r=n[Fr];if(r!==null){n[Fr]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}let a=n[Ur];if(a!==null){n[Ur]=null;for(let o of a)o.destroy()}}function LF(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Zo)){let a=e[i+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){let s=r[a[o]],l=a[o+1];Vt(4,s,l);try{l.call(s)}finally{Vt(5,s,l)}}else{Vt(4,r,a);try{a.call(r)}finally{Vt(5,r,a)}}}}}function UC(t,n,e){return kF(t,n.parent,e)}function kF(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[I1];if(Gr(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===$r.None||r===$r.Emulated)return null}return r1(i,e)}function GC(t,n,e){return TF(t,n,e)}function IF(t,n,e){return t.type&40?r1(t,e):null}var TF=IF,Iy;function Tf(t,n,e,i){let r=UC(t,i,n),a=n[Wt],o=i.parent||n[pn],s=GC(o,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)My(a,r,e[l],s,!1);else My(a,r,e,s,!1);Iy!==void 0&&Iy(a,i,n,e,r)}function Tl(t,n){if(n!==null){let e=n.type;if(e&3)return r1(n,t);if(e&4)return jm(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Tl(t,i);{let r=t[n.index];return T1(r)?jm(-1,r):n1(r)}}else{if(e&128)return Tl(t,n.next);if(e&32)return Df(n,t)()||n1(t[n.index]);{let i=WC(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Ia(t[gn]);return Tl(r,i)}else return Tl(t,n.next)}}}return null}function WC(t,n){if(n!==null){let i=t[gn][pn],r=n.projection;return i.projection[r]}return null}function jm(t,n){let e=fi+t+1;if(e<n.length){let i=n[e],r=i[Fe].firstChild;if(r!==null)return Tl(i,r)}return n[Ra]}function Af(t,n,e,i,r,a,o){for(;e!=null;){let s=i[jr];if(e.type===128){e=e.next;continue}let l=i[e.index],u=e.type;if(o&&n===0&&(l&&xs(n1(l),i),e.flags|=2),!Z6(e))if(u&8)Af(t,n,e.child,i,r,a,!1),ys(n,t,s,r,l,e,a,i);else if(u&32){let h=Df(e,i),g;for(;g=h();)ys(n,t,s,r,g,e,a,i);ys(n,t,s,r,l,e,a,i)}else u&16?$C(t,n,i,e,r,a):ys(n,t,s,r,l,e,a,i);e=o?e.projectionNext:e.next}}function nd(t,n,e,i,r,a){Af(e,i,t.firstChild,n,r,a,!1)}function AF(t,n,e){let i=n[Wt],r=UC(t,e,n),a=e.parent||n[pn],o=GC(a,e,n);$C(i,0,n,e,r,o)}function $C(t,n,e,i,r,a){let o=e[gn],l=o[pn].projection[i.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let h=l[u];ys(n,t,e[jr],r,h,i,a,e)}else{let u=l,h=o[zi];lC(i)&&(u.flags|=128),Af(t,n,u,h,r,a,!0)}}function zF(t,n,e,i,r,a,o){let s=i[Ra],l=n1(i);s!==l&&ys(n,t,e,a,s,r,o);for(let u=fi;u<i.length;u++){let h=i[u];nd(h[Fe],h,t,n,a,s)}}function RF(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let a=i.indexOf("-")===-1?void 0:or.DashCase;r==null?t.removeStyle(e,i,a):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),a|=or.Important),t.setStyle(e,i,r,a))}}function YC(t,n,e,i,r){let a=ir(),o=i&2;try{Oa(-1),o&&n.length>ai&&OC(t,n,ai,!1),Vt(o?2:0,r,e),e(i,r)}finally{Oa(a),Vt(o?3:1,r,e)}}function rd(t,n,e){VF(t,n,e),(e.flags&64)===64&&BF(t,n,e)}function jl(t,n,e=r1){let i=n.localNames;if(i!==null){let r=n.index+1;for(let a=0;a<i.length;a+=2){let o=i[a+1],s=o===-1?e(n,t):t[o];t[r++]=s}}}function NF(t,n,e,i){let a=i.get(_C,gC)||e===$r.ShadowDom,o=t.selectRootElement(n,a);return OF(o),o}function OF(t){PF(t)}var PF=()=>null;function FF(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function qC(t,n,e,i,r,a){let o=n[Fe];if(ad(t,o,n,e,i)){Gr(t)&&ZC(n,t.index);return}t.type&3&&(e=FF(e)),KC(t,n,e,i,r,a)}function KC(t,n,e,i,r,a){if(t.type&3){let o=r1(t,n);i=a!=null?a(i,t.value||"",e):i,r.setProperty(o,e,i)}else t.type&12}function ZC(t,n){let e=a1(n,t);e[Qe]&16||(e[Qe]|=64)}function VF(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Gr(e)&&uF(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||A6(e,n);let a=e.initialInputs;for(let o=i;o<r;o++){let s=t.data[o],l=zl(n,t,o,e);if(xs(l,n),a!==null&&UF(n,o-i,l,s,e,a),tr(s)){let u=a1(e.index,n);u[Ci]=zl(n,t,o,e)}}}function BF(t,n,e){let i=e.directiveStart,r=e.directiveEnd,a=e.index,o=iy();try{Oa(a);for(let s=i;s<r;s++){let l=t.data[s],u=n[s];m6(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&HF(l,u)}}finally{Oa(-1),m6(o)}}function HF(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function zf(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let a=e[r];zC(n,a.selectors,!1)&&(i??=[],tr(a)?i.unshift(a):i.push(a))}return i}function jF(t,n,e,i,r,a){let o=r1(t,n);QC(n[Wt],o,a,t.value,e,i,r)}function QC(t,n,e,i,r,a,o){if(a==null)t.removeAttribute(n,r,e);else{let s=o==null?Ta(a):o(a,i||"",r);t.setAttribute(n,r,s,e)}}function UF(t,n,e,i,r,a){let o=a[n];if(o!==null)for(let s=0;s<o.length;s+=2){let l=o[s],u=o[s+1];Vm(i,e,l,u)}}function Rf(t,n,e,i,r){let a=ai+e,o=n[Fe],s=r(o,n,t,i,e);n[a]=s,gs(t,!0);let l=t.type===2;return l?(kC(n[Wt],s,t),(qb()===0||hs(t))&&xs(s,n),Kb()):xs(s,n),g6()&&(!l||!Z6(t))&&Tf(o,n,s,t),t}function Nf(t){let n=t;return rm()?am():(n=n.parent,gs(n,!1)),n}function GF(t,n){let e=t[jr];if(!e)return;let i;try{i=e.get(Ln,null)}catch{i=null}i?.(n)}function ad(t,n,e,i,r){let a=t.inputs?.[i],o=t.hostDirectiveInputs?.[i],s=!1;if(o)for(let l=0;l<o.length;l+=2){let u=o[l],h=o[l+1],g=n.data[u];Vm(g,e[u],h,r),s=!0}if(a)for(let l of a){let u=e[l],h=n.data[l];Vm(h,u,i,r),s=!0}return s}function WF(t,n){let e=a1(n,t),i=e[Fe];$F(i,e);let r=e[I1];r!==null&&e[Bo]===null&&(e[Bo]=vC(r,e[jr])),Vt(18),Of(i,e,e[Ci]),Vt(19,e[Ci])}function $F(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Of(t,n,e){h6(n);try{let i=t.viewQuery;i!==null&&Im(1,i,e);let r=t.template;r!==null&&YC(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[J1]?.finishViewCreation(t),t.staticContentQueries&&bC(t,n),t.staticViewQueries&&Im(2,t.viewQuery,e);let a=t.components;a!==null&&YF(n,a)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Qe]&=-5,p6()}}function YF(t,n){for(let e=0;e<n.length;e++)WF(t,n[e])}function Ul(t,n,e,i){let r=$e(null);try{let a=n.tView,s=t[Qe]&4096?4096:16,l=xf(t,a,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),u=t[n.index];l[za]=u;let h=t[J1];return h!==null&&(l[J1]=h.createEmbeddedView(a)),Of(a,l,e),l}finally{$e(r)}}function ws(t,n){return!n||n.firstChild===null||lC(t)}function Nl(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let a=n[e.index];a!==null&&i.push(n1(a)),T1(a)&&XC(a,i);let o=e.type;if(o&8)Nl(t,n,e.child,i);else if(o&32){let s=Df(e,n),l;for(;l=s();)i.push(l)}else if(o&16){let s=WC(n,e);if(Array.isArray(s))i.push(...s);else{let l=Ia(n[gn]);Nl(l[Fe],l,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function XC(t,n){for(let e=fi;e<t.length;e++){let i=t[e],r=i[Fe].firstChild;r!==null&&Nl(i[Fe],i,r,n)}t[Ra]!==t[I1]&&n.push(t[Ra])}function JC(t){if(t[Uo]!==null){for(let n of t[Uo])n.impl.addSequence(n);t[Uo].length=0}}var eM=[];function qF(t){return t[On]??KF(t)}function KF(t){let n=eM.pop()??Object.create(QF);return n.lView=t,n}function ZF(t){t.lView[On]!==t&&(t.lView=null,eM.push(t))}var QF=Ue(z({},wo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Na(t.lView)},consumerOnSignalRead(){this.lView[On]=this}});function XF(t){let n=t[On]??Object.create(JF);return n.lView=t,n}var JF=Ue(z({},wo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Ia(t.lView);for(;n&&!tM(n[Fe]);)n=Ia(n);n&&K7(n)},consumerOnSignalRead(){this.lView[On]=this}});function tM(t){return t.type!==2}function iM(t){if(t[Ur]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Ur])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Qe]&8192)}}var eV=100;function nM(t,n=0){let i=t[X1].rendererFactory,r=!1;r||i.begin?.();try{tV(t,n)}finally{r||i.end?.()}}function tV(t,n){let e=om();try{_s(!0),Um(t,n);let i=0;for(;Dl(t);){if(i===eV)throw new G(103,!1);i++,Um(t,1)}}finally{_s(e)}}function iV(t,n,e,i){if($o(n))return;let r=n[Qe],a=!1,o=!1;h6(n);let s=!0,l=null,u=null;a||(tM(t)?(u=qF(n),l=Ma(u)):h4()===null?(s=!1,u=XF(n),l=Ma(u)):n[On]&&(xa(n[On]),n[On]=null));try{q7(n),Jb(t.bindingStartIndex),e!==null&&YC(t,n,e,2,i);let h=(r&3)===3;if(!a)if(h){let M=t.preOrderCheckHooks;M!==null&&w6(n,M,null)}else{let M=t.preOrderHooks;M!==null&&D6(n,M,0,null),fm(n,0)}if(o||nV(n),iM(n),rM(n,0),t.contentQueries!==null&&bC(t,n),!a)if(h){let M=t.contentCheckHooks;M!==null&&w6(n,M)}else{let M=t.contentHooks;M!==null&&D6(n,M,1),fm(n,1)}aV(t,n);let g=t.components;g!==null&&oM(n,g,0);let C=t.viewQuery;if(C!==null&&Im(2,C,i),!a)if(h){let M=t.viewCheckHooks;M!==null&&w6(n,M)}else{let M=t.viewHooks;M!==null&&D6(n,M,2),fm(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[o6]){for(let M of n[o6])M();n[o6]=null}a||(JC(n),n[Qe]&=-73)}catch(h){throw a||Na(n),h}finally{u!==null&&(Do(u,l),s&&ZF(u)),p6()}}function rM(t,n){for(let e=uC(t);e!==null;e=mC(e))for(let i=fi;i<e.length;i++){let r=e[i];aM(r,n)}}function nV(t){for(let n=uC(t);n!==null;n=mC(n)){if(!(n[Qe]&2))continue;let e=n[Wo];for(let i=0;i<e.length;i++){let r=e[i];K7(r)}}}function rV(t,n,e){Vt(18);let i=a1(n,t);aM(i,e),Vt(19,i[Ci])}function aM(t,n){c6(t)&&Um(t,n)}function Um(t,n){let i=t[Fe],r=t[Qe],a=t[On],o=!!(n===0&&r&16);if(o||=!!(r&64&&n===0),o||=!!(r&1024),o||=!!(a?.dirty&&So(a)),o||=!1,a&&(a.dirty=!1),t[Qe]&=-9217,o)iV(i,t,i.template,t[Ci]);else if(r&8192){let s=$e(null);try{iM(t),rM(t,1);let l=i.components;l!==null&&oM(t,l,1),JC(t)}finally{$e(s)}}}function oM(t,n,e){for(let i=0;i<n.length;i++)rV(t,n[i],e)}function aV(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Oa(~r);else{let a=r,o=e[++i],s=e[++i];ty(o,a);let l=n[a];Vt(24,l),s(2,l),Vt(25,l)}}}finally{Oa(-1)}}function Pf(t,n){let e=om()?64:1088;for(t[X1].changeDetectionScheduler?.notify(n);t;){t[Qe]|=e;let i=Ia(t);if(ps(t)&&!i)return t;t=i}return null}function sM(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function cM(t,n){let e=fi+n;if(e<t.length)return t[e]}function Gl(t,n,e,i=!0){let r=n[Fe];if(oV(r,n,t,e),i){let o=jm(e,t),s=n[Wt],l=s.parentNode(t[Ra]);l!==null&&wF(r,t[pn],s,n,l,o)}let a=n[Bo];a!==null&&a.firstChild!==null&&(a.firstChild=null)}function lM(t,n){let e=Ol(t,n);return e!==void 0&&id(e[Fe],e),e}function Ol(t,n){if(t.length<=fi)return;let e=fi+n,i=t[e];if(i){let r=i[za];r!==null&&r!==t&&If(r,i),n>0&&(t[e-1][i1]=i[i1]);let a=yl(t,fi+n);xF(i[Fe],i);let o=a[J1];o!==null&&o.detachView(a[Fe]),i[zi]=null,i[i1]=null,i[Qe]&=-129}return i}function oV(t,n,e,i){let r=fi+i,a=e.length;i>0&&(e[r-1][i1]=n),i<a-fi?(n[i1]=e[r],A7(e,fi+i,n)):(e.push(n),n[i1]=null),n[zi]=e;let o=n[za];o!==null&&e!==o&&dM(o,n);let s=n[J1];s!==null&&s.insertView(t),l6(n),n[Qe]|=128}function dM(t,n){let e=t[Wo],i=n[zi];if(er(i))t[Qe]|=2;else{let r=i[zi][gn];n[gn]!==r&&(t[Qe]|=2)}e===null?t[Wo]=[n]:e.push(n)}var Pa=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[Fe];return Nl(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[Ci]}set context(n){this._lView[Ci]=n}get destroyed(){return $o(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[zi];if(T1(n)){let e=n[xl],i=e?e.indexOf(this):-1;i>-1&&(Ol(n,i),yl(e,i))}this._attachedToViewContainer=!1}id(this._lView[Fe],this._lView)}onDestroy(n){Z7(this._lView,n)}markForCheck(){Pf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Qe]&=-129}reattach(){l6(this._lView),this._lView[Qe]|=128}detectChanges(){this._lView[Qe]|=1024,nM(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ps(this._lView),e=this._lView[za];e!==null&&!n&&If(e,this._lView),jC(this._lView[Fe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=n;let e=ps(this._lView),i=this._lView[za];i!==null&&!e&&dM(i,this._lView),l6(this._lView)}};var Lt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=sV;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let a=Ul(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Pa(a)}}return t})();function sV(){return od(Ni(),Ve())}function od(t,n){return t.type&4?new Lt(n,t,ks(t,n)):null}function Ts(t,n,e,i,r){let a=t.data[n];if(a===null)a=cV(t,n,e,i,r),ey()&&(a.flags|=32);else if(a.type&64){a.type=e,a.value=i,a.attrs=r;let o=Zb();a.injectorIndex=o===null?-1:o.injectorIndex}return gs(a,!0),a}function cV(t,n,e,i,r){let a=nm(),o=rm(),s=o?a:a&&a.parent,l=t.data[n]=dV(t,s,e,n,i,r);return lV(t,l,a,o),l}function lV(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function dV(t,n,e,i,r,a){let o=n?n.injectorIndex:-1,s=0;return em()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Hwe=new RegExp(`^(\\d+)*(${yP}|${bP})*(.*)`);function uV(t){let n=t[U7]??[],i=t[zi][Wt],r=[];for(let a of n)a.data[pC]!==void 0?r.push(a):mV(a,i);t[U7]=r}function mV(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[hC];for(;e<r;){let a=i.nextSibling;LC(n,i,!1),i=a,e++}}}var fV=()=>null,hV=()=>null;function O6(t,n){return fV(t,n)}function uM(t,n,e){return hV(t,n,e)}var mM=class{},sd=class{},Gm=class{resolveComponentFactory(n){throw new G(917,!1)}},Wl=class{static NULL=new Gm},oi=class{},ht=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>pV()}return t})();function pV(){let t=Ve(),n=Ni(),e=a1(n.index,t);return(er(e)?e:t)[Wt]}var fM=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>null})}return t})();var E6={},Wm=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,E6,i);return r!==E6||e===E6?r:this.parentInjector.get(n,e,i)}};function P6(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,a=0;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];if(typeof s=="number")a=s;else if(a==1)r=J4(r,s);else if(a==2){let l=s,u=n[++o];i=J4(i,l+": "+u+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function ne(t,n=0){let e=Ve();if(e===null)return me(t,n);let i=Ni();return aC(i,e,Yi(t),n)}function As(){let t="invalid";throw new Error(t)}function hM(t,n,e,i,r){let a=i===null?null:{"":-1},o=r(t,e);if(o!==null){let s=o,l=null,u=null;for(let h of o)if(h.resolveHostDirectives!==null){[s,l,u]=h.resolveHostDirectives(o);break}vV(t,n,e,s,a,l,u)}a!==null&&i!==null&&gV(e,i,a)}function gV(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let a=e[n[r+1]];if(a==null)throw new G(-301,!1);i.push(n[r],a)}}function _V(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function vV(t,n,e,i,r,a,o){let s=i.length,l=!1;for(let C=0;C<s;C++){let M=i[C];!l&&tr(M)&&(l=!0,_V(t,e,C)),Sm(A6(e,n),t,M.type)}wV(e,t.data.length,s);for(let C=0;C<s;C++){let M=i[C];M.providersResolver&&M.providersResolver(M)}let u=!1,h=!1,g=NC(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let C=0;C<s;C++){let M=i[C];if(e.mergedAttrs=Ms(e.mergedAttrs,M.hostAttrs),yV(t,e,n,g,M),xV(g,M,r),o!==null&&o.has(M)){let[k,I]=o.get(M);e.directiveToIndex.set(M.type,[g,k+e.directiveStart,I+e.directiveStart])}else(a===null||!a.has(M))&&e.directiveToIndex.set(M.type,g);M.contentQueries!==null&&(e.flags|=4),(M.hostBindings!==null||M.hostAttrs!==null||M.hostVars!==0)&&(e.flags|=64);let x=M.type.prototype;!u&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),u=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),h=!0),g++}bV(t,e,a)}function bV(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))Ty(0,n,r,i),Ty(1,n,r,i),zy(n,i,!1);else{let a=e.get(r);Ay(0,n,a,i),Ay(1,n,a,i),zy(n,i,!0)}}}function Ty(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let a in r)if(r.hasOwnProperty(a)){let o;t===0?o=n.inputs??={}:o=n.outputs??={},o[a]??=[],o[a].push(i),pM(n,a)}}function Ay(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let a in r)if(r.hasOwnProperty(a)){let o=r[a],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[o]??=[],s[o].push(i,a),pM(n,o)}}function pM(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function zy(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:a}=t;if(i===null||!e&&r===null||e&&a===null||Cf(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let o=null,s=0;for(;s<i.length;){let l=i[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let u=r[l];for(let h of u)if(h===n){o??=[],o.push(l,i[s+1]);break}}else if(e&&a.hasOwnProperty(l)){let u=a[l];for(let h=0;h<u.length;h+=2)if(u[h]===n){o??=[],o.push(u[h+1],i[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(o)}function yV(t,n,e,i,r){t.data[i]=r;let a=r.factory||(r.factory=ka(r.type,!0)),o=new Zo(a,tr(r),ne,null);t.blueprint[i]=o,e[i]=o,CV(t,n,i,NC(t,e,r.hostVars,_n),r)}function CV(t,n,e,i,r){let a=r.hostBindings;if(a){let o=t.hostBindingOpCodes;o===null&&(o=t.hostBindingOpCodes=[]);let s=~n.index;MV(o)!=s&&o.push(s),o.push(e,i,a)}}function MV(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function xV(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;tr(n)&&(e[""]=t)}}function wV(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Ff(t,n,e,i,r,a,o,s){let l=n[Fe],u=l.consts,h=Pn(u,o),g=Ts(l,t,e,i,h);return a&&hM(l,n,g,Pn(u,s),r),g.mergedAttrs=Ms(g.mergedAttrs,g.attrs),g.attrs!==null&&P6(g,g.attrs,!1),g.mergedAttrs!==null&&P6(g,g.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,g),g}function Vf(t,n){Zy(t,n),G7(n)&&t.queries.elementEnd(n)}function DV(t,n,e,i,r,a){let o=n.consts,s=Pn(o,r),l=Ts(n,t,e,i,s);if(l.mergedAttrs=Ms(l.mergedAttrs,l.attrs),a!=null){let u=Pn(o,a);l.localNames=[];for(let h=0;h<u.length;h+=2)l.localNames.push(u[h],-1)}return l.attrs!==null&&P6(l,l.attrs,!1),l.mergedAttrs!==null&&P6(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function Bf(t){return cd(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function gM(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function cd(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ld(t,n,e){return t[n]=e}function SV(t,n){return t[n]}function kn(t,n,e){if(e===_n)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function _M(t,n,e,i){let r=kn(t,n,e);return kn(t,n+1,i)||r}function gm(t,n,e){return function i(r){let a=Gr(t)?a1(t.index,n):n;Pf(a,5);let o=n[Ci],s=Ry(n,o,e,r),l=i.__ngNextListenerFn__;for(;l;)s=Ry(n,o,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function Ry(t,n,e,i){let r=$e(null);try{return Vt(6,n,e),e(i)!==!1}catch(a){return GF(t,a),!1}finally{Vt(7,n,e),$e(r)}}function EV(t,n,e,i,r,a,o,s){let l=hs(t),u=!1,h=null;if(!i&&l&&(h=kV(n,e,a,t.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=o,h.__ngLastListenerFn__=o,u=!0}else{let g=r1(t,e),C=i?i(g):g;MP(e,C,a,s);let M=r.listen(C,a,s);if(!LV(a)){let x=i?k=>i(n1(k[t.index])):t.index;vM(x,n,e,a,s,M,!1)}}return u}function LV(t){return t.startsWith("animation")||t.startsWith("transition")}function kV(t,n,e,i){let r=t.cleanup;if(r!=null)for(let a=0;a<r.length-1;a+=2){let o=r[a];if(o===e&&r[a+1]===i){let s=n[ms],l=r[a+2];return s&&s.length>l?s[l]:null}typeof o=="string"&&(a+=2)}return null}function vM(t,n,e,i,r,a,o){let s=n.firstCreatePass?X7(n):null,l=Q7(e),u=l.length;l.push(r,a),s&&s.push(i,t,u,(u+1)*(o?-1:1))}function Ny(t,n,e,i,r,a){let o=n[e],s=n[Fe],u=s.data[e].outputs[i],g=o[u].subscribe(a);vM(t.index,s,n,r,a,g,!0)}var $m=Symbol("BINDING");var F6=class extends Wl{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Q1(n);return new Fa(e,this.ngModule)}};function IV(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],a={propName:e,templateName:n,isSignal:(i&J6.SignalBased)!==0};return r&&(a.transform=r),a})}function TV(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function AV(t,n,e){let i=n instanceof Ut?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Wm(e,i):e}function zV(t){let n=t.get(oi,null);if(n===null)throw new G(407,!1);let e=t.get(fM,null),i=t.get(e1,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function RV(t,n){let e=bM(t);return SC(n,e,e==="svg"?W7:e==="math"?jb:null)}function bM(t){return(t.selectors[0][0]||"div").toLowerCase()}var Fa=class extends sd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=IV(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=TV(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=sF(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,a,o){Vt(22);let s=$e(null);try{let l=this.componentDef,u=NV(i,l,o,a),h=AV(l,r||this.ngModule,n),g=zV(h),C=g.rendererFactory.createRenderer(null,l),M=i?NF(C,i,l.encapsulation,h):RV(l,C),x=o?.some(Oy)||a?.some(T=>typeof T!="function"&&T.bindings.some(Oy)),k=xf(null,u,null,512|RC(l),null,null,g,C,h,null,vC(M,h,!0));k[ai]=M,h6(k);let I=null;try{let T=Ff(ai,k,2,"#host",()=>u.directiveRegistry,!0,0);kC(C,M,T),xs(M,k),rd(u,k,T),hf(u,T,k),Vf(u,T),e!==void 0&&PV(T,this.ngContentSelectors,e),I=a1(T.index,k),k[Ci]=I[Ci],Of(u,k,null)}catch(T){throw I!==null&&Lm(I),Lm(k),T}finally{Vt(23),p6()}return new V6(this.componentType,k,!!x)}finally{$e(s)}}};function NV(t,n,e,i){let r=t?["ng-version","20.3.15"]:cF(n.selectors[0]),a=null,o=null,s=0;if(e)for(let h of e)s+=h[$m].requiredVars,h.create&&(h.targetIdx=0,(a??=[]).push(h)),h.update&&(h.targetIdx=0,(o??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let C of g.bindings){s+=C[$m].requiredVars;let M=h+1;C.create&&(C.targetIdx=M,(a??=[]).push(C)),C.update&&(C.targetIdx=M,(o??=[]).push(C))}}let l=[n];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,C=O7(g);l.push(C)}return Mf(0,null,OV(a,o),1,s,l,null,null,null,[r],null)}function OV(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function Oy(t){let n=t[$m].kind;return n==="input"||n==="twoWay"}var V6=class extends mM{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=wl(e[Fe],ai),this.location=ks(this._tNode,e),this.instance=a1(this._tNode.index,e)[Ci],this.hostView=this.changeDetectorRef=new Pa(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,a=ad(i,r[Fe],r,n,e);this.previousInputValues.set(n,e);let o=a1(i.index,r);Pf(o,1)}get injector(){return new Ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function PV(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let a=e[r];i.push(a!=null&&a.length?Array.from(a):null)}}var Tt=(()=>{class t{static __NG_ELEMENT_ID__=FV}return t})();function FV(){let t=Ni();return CM(t,Ve())}var VV=Tt,yM=class extends VV{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return ks(this._hostTNode,this._hostLView)}get injector(){return new Ko(this._hostTNode,this._hostLView)}get parentInjector(){let n=df(this._hostTNode,this._hostLView);if(Jy(n)){let e=I6(n,this._hostLView),i=k6(n),r=e[Fe].data[i+8];return new Ko(r,e)}else return new Ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Py(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(n,e,i){let r,a;typeof i=="number"?r=i:i!=null&&(r=i.index,a=i.injector);let o=O6(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},a,o);return this.insertImpl(s,r,ws(this._hostTNode,o)),s}createComponent(n,e,i,r,a,o,s){let l=n&&!qO(n),u;if(l)u=e;else{let I=e||{};u=I.index,i=I.injector,r=I.projectableNodes,a=I.environmentInjector||I.ngModuleRef,o=I.directives,s=I.bindings}let h=l?n:new Fa(Q1(n)),g=i||this.parentInjector;if(!a&&h.ngModule==null){let T=(l?g:this.parentInjector).get(Ut,null);T&&(a=T)}let C=Q1(h.componentType??{}),M=O6(this._lContainer,C?.id??null),x=M?.firstChild??null,k=h.create(g,r,x,a,o,s);return this.insertImpl(k.hostView,u,ws(this._hostTNode,M)),k}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(Gb(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[zi],u=new yM(l,l[pn],l[zi]);u.detach(u.indexOf(n))}}let a=this._adjustIndex(e),o=this._lContainer;return Gl(o,r,a,i),n.attachToViewContainerRef(),A7(_m(o),a,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Py(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Ol(this._lContainer,e);i&&(yl(_m(this._lContainer),e),id(i[Fe],i))}detach(n){let e=this._adjustIndex(n,-1),i=Ol(this._lContainer,e);return i&&yl(_m(this._lContainer),e)!=null?new Pa(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Py(t){return t[xl]}function _m(t){return t[xl]||(t[xl]=[])}function CM(t,n){let e,i=n[t.index];return T1(i)?e=i:(e=sM(i,n,null,t),n[t.index]=e,wf(n,e)),HV(e,n,t,i),new yM(e,t,n)}function BV(t,n){let e=t[Wt],i=e.createComment(""),r=r1(n,t),a=e.parentNode(r);return z6(e,a,i,e.nextSibling(r),!1),i}var HV=GV,jV=()=>!1;function UV(t,n,e){return jV(t,n,e)}function GV(t,n,e,i){if(t[Ra])return;let r;e.type&8?r=n1(i):r=BV(n,e),t[Ra]=r}var Ym=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},qm=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let a=0;a<i;a++){let o=e.getByIndex(a),s=this.queries[o.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)jf(n,e).matches!==null&&this.queries[e].setDirty()}},B6=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=KV(n):this.predicate=n}},Km=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,a=this.getByIndex(i).embeddedTView(n,r);a&&(a.indexInDeclarationView=i,e!==null?e.push(a):e=[a])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Zm=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let a=i[r];this.matchTNodeWithReadOption(n,e,WV(e,a)),this.matchTNodeWithReadOption(n,e,S6(e,n,a,!1,!1))}else i===Lt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,S6(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===Y||r===Tt||r===Lt&&e.type&4)this.addMatch(e.index,-2);else{let a=S6(e,n,r,!1,!1);a!==null&&this.addMatch(e.index,a)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function WV(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function $V(t,n){return t.type&11?ks(t,n):t.type&4?od(t,n):null}function YV(t,n,e,i){return e===-1?$V(n,t):e===-2?qV(t,n,i):zl(t,t[Fe],e,n)}function qV(t,n,e){if(e===Y)return ks(n,t);if(e===Lt)return od(n,t);if(e===Tt)return CM(n,t)}function MM(t,n,e,i){let r=n[J1].queries[i];if(r.matches===null){let a=t.data,o=e.matches,s=[];for(let l=0;o!==null&&l<o.length;l+=2){let u=o[l];if(u<0)s.push(null);else{let h=a[u];s.push(YV(n,h,o[l+1],e.metadata.read))}}r.matches=s}return r.matches}function Qm(t,n,e,i){let r=t.queries.getByIndex(e),a=r.matches;if(a!==null){let o=MM(t,n,r,e);for(let s=0;s<a.length;s+=2){let l=a[s];if(l>0)i.push(o[s/2]);else{let u=a[s+1],h=n[-l];for(let g=fi;g<h.length;g++){let C=h[g];C[za]===C[zi]&&Qm(C[Fe],C,u,i)}if(h[Wo]!==null){let g=h[Wo];for(let C=0;C<g.length;C++){let M=g[C];Qm(M[Fe],M,u,i)}}}}}return i}function Hf(t,n){return t[J1].queries[n].queryList}function xM(t,n,e){let i=new s1((e&4)===4);return Yb(t,n,i,i.destroy),(n[J1]??=new qm).queries.push(new Ym(i))-1}function wM(t,n,e){let i=Xt();return i.firstCreatePass&&(SM(i,new B6(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),xM(i,Ve(),n)}function DM(t,n,e,i){let r=Xt();if(r.firstCreatePass){let a=Ni();SM(r,new B6(n,e,i),a.index),ZV(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return xM(r,Ve(),e)}function KV(t){return t.split(",").map(n=>n.trim())}function SM(t,n,e){t.queries===null&&(t.queries=new Km),t.queries.track(new Zm(n,e))}function ZV(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function jf(t,n){return t.queries.getByIndex(n)}function EM(t,n){let e=t[Fe],i=jf(e,n);return i.crossesNgTemplate?Qm(e,t,n,[]):MM(e,t,i,n)}function LM(t,n,e){let i,r=cl(()=>{i._dirtyCounter();let a=QV(i,t);if(n&&a===void 0)throw new G(-951,!1);return a});return i=r[Di],i._dirtyCounter=Te(0),i._flatValue=void 0,r}function Uf(t){return LM(!0,!1,t)}function Gf(t){return LM(!0,!0,t)}function kM(t,n){let e=t[Di];e._lView=Ve(),e._queryIndex=n,e._queryList=Hf(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function QV(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Qe]&4)return n?void 0:tn;let r=Hf(e,i),a=EM(e,i);return r.reset(a,cC),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var sr=class{},dd=class{};var H6=class extends sr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new F6(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let a=N7(n);this._bootstrapComponents=TC(a.bootstrap),this._r3Injector=lm(n,e,[{provide:sr,useValue:this},{provide:Wl,useValue:this.componentFactoryResolver},...i],Vr(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},j6=class extends dd{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new H6(this.moduleType,n,[])}};var Pl=class extends sr{injector;componentFactoryResolver=new F6(this);instance=null;constructor(n){super();let e=new Fo([...n.providers,{provide:sr,useValue:this},{provide:Wl,useValue:this.componentFactoryResolver}],n.parent||us(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function zs(t,n,e=null){return new Pl({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var XV=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=P7(!1,e.type),r=i.length>0?zs([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(me(Ut))})}return t})();function j(t){return Es(()=>{let n=IM(t),e=Ue(z({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===uf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(XV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||$r.Emulated,styles:t.styles||tn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&l1("NgStandalone"),TM(e);let i=t.dependencies;return e.directiveDefs=Fy(i,JV),e.pipeDefs=Fy(i,Pb),e.id=iB(e),e})}function JV(t){return Q1(t)||O7(t)}function U(t){return Es(()=>({type:t.type,bootstrap:t.bootstrap||tn,declarations:t.declarations||tn,imports:t.imports||tn,exports:t.exports||tn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function eB(t,n){if(t==null)return Aa;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],a,o,s,l;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a,l=r[3]||null):(a=r,o=r,s=J6.None,l=null),e[a]=[i,s,l],n[a]=o}return e}function tB(t){if(t==null)return Aa;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function W(t){return Es(()=>{let n=IM(t);return TM(n),n})}function Ua(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function IM(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Aa,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||tn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:eB(t.inputs,n),outputs:tB(t.outputs),debugInfo:null}}function TM(t){t.features?.forEach(n=>n(t))}function Fy(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let a=n(r);a!==null&&i.push(a)}return i}:null}function iB(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let a of i.join("|"))n=Math.imul(31,n)+a.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function nB(t){return Object.getPrototypeOf(t.prototype).constructor}function Be(t){let n=nB(t.type),e=!0,i=[t];for(;n;){let r;if(tr(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new G(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let o=t;o.inputs=vm(t.inputs),o.declaredInputs=vm(t.declaredInputs),o.outputs=vm(t.outputs);let s=r.hostBindings;s&&cB(t,s);let l=r.viewQuery,u=r.contentQueries;if(l&&oB(t,l),u&&sB(t,u),rB(t,r),Lb(t.outputs,r.outputs),tr(r)&&r.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let o=0;o<a.length;o++){let s=a[o];s&&s.ngInherit&&s(t),s===Be&&(e=!1)}}n=Object.getPrototypeOf(n)}aB(i)}function rB(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function aB(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ms(r.hostAttrs,e=Ms(e,r.hostAttrs))}}function vm(t){return t===Aa?{}:t===tn?[]:t}function oB(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function sB(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,a)=>{n(i,r,a),e(i,r,a)}:t.contentQueries=n}function cB(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function AM(t,n,e,i,r,a,o,s){if(e.firstCreatePass){t.mergedAttrs=Ms(t.mergedAttrs,t.attrs);let h=t.tView=Mf(2,t,r,a,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),h.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),gs(t,!1);let l=dB(e,n,t,i);g6()&&Tf(e,n,l,t),xs(l,n);let u=sM(l,n,l,t);n[i+ai]=u,wf(n,u),UV(u,t,n)}function lB(t,n,e,i,r,a,o,s,l,u,h){let g=e+ai,C;return n.firstCreatePass?(C=Ts(n,g,4,o||null,s||null),d6()&&hM(n,t,C,Pn(n.consts,u),zf),Zy(n,C)):C=n.data[g],AM(C,t,n,e,i,r,a,l),hs(C)&&rd(n,t,C),u!=null&&jl(t,C,h),C}function Ds(t,n,e,i,r,a,o,s,l,u,h){let g=e+ai,C;if(n.firstCreatePass){if(C=Ts(n,g,4,o||null,s||null),u!=null){let M=Pn(n.consts,u);C.localNames=[];for(let x=0;x<M.length;x+=2)C.localNames.push(M[x],-1)}}else C=n.data[g];return AM(C,t,n,e,i,r,a,l),u!=null&&jl(t,C,h),C}function K(t,n,e,i,r,a,o,s){let l=Ve(),u=Xt(),h=Pn(u.consts,a);return lB(l,u,t,n,e,i,r,h,void 0,o,s),K}function t2(t,n,e,i,r,a,o,s){let l=Ve(),u=Xt(),h=Pn(u.consts,a);return Ds(l,u,t,n,e,i,r,h,void 0,o,s),t2}var dB=uB;function uB(t,n,e,i){return Ll(!0),n[Wt].createComment("")}var ud=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var md=new L(""),Rs=new L(""),$l=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,i,r){this._ngZone=e,this.registry=i,B7()&&(this._destroyRef=m(nn,{optional:!0})??void 0),Wf||(zM(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e()},i)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(me(te),me(Yl),me(Rs))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Yl=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Wf?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function zM(t){Wf=t}var Wf;function Zr(t){return!!t&&typeof t.then=="function"}function fd(t){return!!t&&typeof t.subscribe=="function"}var $f=new L("");function hd(t){return Hr([{provide:$f,multi:!0,useValue:t}])}var Yf=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=m($f,{optional:!0})??[];injector=m(ve);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let a=ji(this.injector,r);if(Zr(a))e.push(a);else if(fd(a)){let o=new Promise((s,l)=>{a.subscribe({complete:s,error:l})});e.push(o)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ql=new L("");function RM(){Yu(()=>{let t="";throw new G(600,t)})}function NM(t){return t.isBoundToModule}var mB=10;var rn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Ln);afterRenderManager=m(td);zonelessEnabled=m(bs);rootEffectScheduler=m(Il);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new N;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(rr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ce(e=>!e))}constructor(){m(ja,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=m(Ut);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=ve.NULL){return this._injector.get(te).run(()=>{Vt(10);let o=e instanceof sd;if(!this._injector.get(Yf).done){let x="";throw new G(405,x)}let l;o?l=e:l=this._injector.get(Wl).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let u=NM(l)?void 0:this._injector.get(sr),h=i||l.selector,g=l.create(r,[],h,u),C=g.location.nativeElement,M=g.injector.get(md,null);return M?.registerApplication(C),g.onDestroy(()=>{this.detachView(g.hostView),Al(this.components,g),M?.unregisterApplication(C)}),this._loadComponent(g),Vt(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Vt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ed.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new G(101,!1);let e=$e(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,$e(e),this.afterTick.next(),Vt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<mB;)Vt(14),this.synchronizeOnce(),Vt(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!Dl(r))continue;let a=i&&!this.zonelessEnabled?0:1;nM(r,a),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Dl(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Al(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(ql,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Al(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new G(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Al(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Ns(t,n){let e=Ve(),i=Wr();if(kn(e,i,n)){let r=Xt(),a=vs();if(ad(a,r,e,t,n))Gr(a)&&ZC(e,a.index);else{let s=r1(a,e);QC(e[Wt],s,null,a.value,t,n,null)}}return Ns}function J(t,n,e,i){let r=Ve(),a=Wr();if(kn(r,a,n)){let o=Xt(),s=vs();jF(s,r,t,n,e,i)}return J}var qwe=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xm=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),a=this.detach(r);if(r-i>1){let o=this.detach(i);this.attach(i,a),this.attach(r,o)}else this.attach(i,a)}move(n,e){this.attach(e,this.detach(n))}};function bm(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function fB(t,n,e){let i,r,a=0,o=t.length-1,s=void 0;if(Array.isArray(n)){let l=n.length-1;for(;a<=o&&a<=l;){let u=t.at(a),h=n[a],g=bm(a,u,a,h,e);if(g!==0){g<0&&t.updateValue(a,h),a++;continue}let C=t.at(o),M=n[l],x=bm(o,C,l,M,e);if(x!==0){x<0&&t.updateValue(o,M),o--,l--;continue}let k=e(a,u),I=e(o,C),T=e(a,h);if(Object.is(T,I)){let ce=e(l,M);Object.is(ce,k)?(t.swap(a,o),t.updateValue(o,M),l--,o--):t.move(o,a),t.updateValue(a,h),a++;continue}if(i??=new U6,r??=By(t,a,o,e),Jm(t,i,a,T))t.updateValue(a,h),a++,o++;else if(r.has(T))i.set(k,t.detach(a)),o--;else{let ce=t.create(a,n[a]);t.attach(a,ce),a++,o++}}for(;a<=l;)Vy(t,i,e,a,n[a]),a++}else if(n!=null){let l=n[Symbol.iterator](),u=l.next();for(;!u.done&&a<=o;){let h=t.at(a),g=u.value,C=bm(a,h,a,g,e);if(C!==0)C<0&&t.updateValue(a,g),a++,u=l.next();else{i??=new U6,r??=By(t,a,o,e);let M=e(a,g);if(Jm(t,i,a,M))t.updateValue(a,g),a++,o++,u=l.next();else if(!r.has(M))t.attach(a,t.create(a,g)),a++,o++,u=l.next();else{let x=e(a,h);i.set(x,t.detach(a)),o--}}}for(;!u.done;)Vy(t,i,e,t.length,u.value),u=l.next()}for(;a<=o;)t.destroy(t.detach(o--));i?.forEach(l=>{t.destroy(l)})}function Jm(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Vy(t,n,e,i,r){if(Jm(t,n,i,e(i,r)))t.updateValue(i,r);else{let a=t.create(i,r);t.attach(i,a)}}function By(t,n,e,i){let r=new Set;for(let a=n;a<=e;a++)r.add(i(a,t.at(a)));return r}var U6=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function xe(t,n,e,i,r,a,o,s){l1("NgControlFlow");let l=Ve(),u=Xt(),h=Pn(u.consts,a);return Ds(l,u,t,n,e,i,r,h,256,o,s),qf}function qf(t,n,e,i,r,a,o,s){l1("NgControlFlow");let l=Ve(),u=Xt(),h=Pn(u.consts,a);return Ds(l,u,t,n,e,i,r,h,512,o,s),qf}function we(t,n){l1("NgControlFlow");let e=Ve(),i=Wr(),r=e[i]!==_n?e[i]:-1,a=r!==-1?G6(e,ai+r):void 0,o=0;if(kn(e,i,t)){let s=$e(null);try{if(a!==void 0&&lM(a,o),t!==-1){let l=ai+t,u=G6(e,l),h=rf(e[Fe],l),g=uM(u,h,e),C=Ul(e,h,n,{dehydratedView:g});Gl(u,C,o,ws(h,g))}}finally{$e(s)}}else if(a!==void 0){let s=cM(a,o);s!==void 0&&(s[Ci]=n)}}var ef=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-fi}};function Kl(t){return t}function R1(t,n){return n}var tf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Oi(t,n,e,i,r,a,o,s,l,u,h,g,C){l1("NgControlFlow");let M=Ve(),x=Xt(),k=l!==void 0,I=Ve(),T=s?o.bind(I[gn][Ci]):o,ce=new tf(k,T);I[ai+t]=ce,Ds(M,x,t+1,n,e,i,r,Pn(x.consts,a),256),k&&Ds(M,x,t+2,l,u,h,g,Pn(x.consts,C),512)}var nf=class extends Xm{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-fi}at(n){return this.getLView(n)[Ci].$implicit}attach(n,e){let i=e[Bo];this.needsIndexUpdate||=n!==this.length,Gl(this.lContainer,e,n,ws(this.templateTNode,i)),hB(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,pB(this.lContainer,n),gB(this.lContainer,n)}create(n,e){let i=O6(this.lContainer,this.templateTNode.tView.ssrId),r=Ul(this.hostLView,this.templateTNode,new ef(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){id(n[Fe],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Ci].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Ci].$index=n}getLView(n){return _B(this.lContainer,n)}};function Pi(t){let n=$e(null),e=ir();try{let i=Ve(),r=i[Fe],a=i[e],o=e+1,s=G6(i,o);if(a.liveCollection===void 0){let u=rf(r,o);a.liveCollection=new nf(s,i,u)}else a.liveCollection.reset();let l=a.liveCollection;if(fB(l,t,a.trackByFn),l.updateIndexes(),a.hasEmptyBlock){let u=Wr(),h=l.length===0;if(kn(i,u,h)){let g=e+2,C=G6(i,g);if(h){let M=rf(r,g),x=uM(C,M,i),k=Ul(i,M,void 0,{dehydratedView:x});Gl(C,k,0,ws(M,x))}else r.firstUpdatePass&&uV(C),lM(C,0)}}}finally{$e(n)}}function G6(t,n){return t[n]}function hB(t,n){if(t.length<=fi)return;let e=fi+n,i=t[e],r=i?i[Go]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let a=i[jr];CF(a,r),Qo.delete(i),r.detachedLeaveAnimationFns=void 0}}function pB(t,n){if(t.length<=fi)return;let e=fi+n,i=t[e],r=i?i[Go]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function gB(t,n){return Ol(t,n)}function _B(t,n){return cM(t,n)}function rf(t,n){return wl(t,n)}function w(t,n,e){let i=Ve(),r=Wr();if(kn(i,r,n)){let a=Xt(),o=vs();qC(o,i,t,n,i[Wt],e)}return w}function af(t,n,e,i,r){ad(n,t,e,r?"class":"style",i)}function _(t,n,e,i){let r=Ve(),a=r[Fe],o=t+ai,s=a.firstCreatePass?Ff(o,r,2,n,zf,d6(),e,i):a.data[o];if(Rf(s,r,t,n,OM),hs(s)){let l=r[Fe];rd(l,r,s),hf(l,s,r)}return i!=null&&jl(r,s),_}function b(){let t=Xt(),n=Ni(),e=Nf(n);return t.firstCreatePass&&Vf(t,e),tm(e)&&im(),J7(),e.classesWithoutHost!=null&&eP(e)&&af(t,e,Ve(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&tP(e)&&af(t,e,Ve(),e.stylesWithoutHost,!1),b}function ie(t,n,e,i){return _(t,n,e,i),b(),ie}function hi(t,n,e,i){let r=Ve(),a=r[Fe],o=t+ai,s=a.firstCreatePass?DV(o,a,2,n,e,i):a.data[o];return Rf(s,r,t,n,OM),i!=null&&jl(r,s),hi}function pi(){let t=Ni(),n=Nf(t);return tm(n)&&im(),J7(),pi}function In(t,n,e,i){return hi(t,n,e,i),pi(),In}var OM=(t,n,e,i,r)=>(Ll(!0),SC(n[Wt],i,cy()));function zt(t,n,e){let i=Ve(),r=i[Fe],a=t+ai,o=r.firstCreatePass?Ff(a,i,8,"ng-container",zf,d6(),n,e):r.data[a];if(Rf(o,i,t,"ng-container",vB),hs(o)){let s=i[Fe];rd(s,i,o),hf(s,o,i)}return e!=null&&jl(i,o),zt}function Rt(){let t=Xt(),n=Ni(),e=Nf(n);return t.firstCreatePass&&Vf(t,e),Rt}function Ui(t,n,e){return zt(t,n,e),Rt(),Ui}var vB=(t,n,e,i,r)=>(Ll(!0),qP(n[Wt],""));function ke(){return Ve()}function si(t,n,e){let i=Ve(),r=Wr();if(kn(i,r,n)){let a=Xt(),o=vs();KC(o,i,t,n,i[Wt],e)}return si}var M6=void 0;function bB(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var yB=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],M6,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],M6,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",M6,"{1} 'at' {0}",M6],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",bB],ym={};function Zl(t){let n=CB(t),e=Hy(n);if(e)return e;let i=n.split("-")[0];if(e=Hy(i),e)return e;if(i==="en")return yB;throw new G(701,!1)}function Hy(t){return t in ym||(ym[t]=Ri.ng&&Ri.ng.common&&Ri.ng.common.locales&&Ri.ng.common.locales[t]),ym[t]}var Ga=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(Ga||{});function CB(t){return t.toLowerCase().replace(/_/g,"-")}var Ql="en-US",MB="USD";var xB=Ql;function PM(t){typeof t=="string"&&(xB=t.toLowerCase().replace(/_/g,"-"))}function P(t,n,e){let i=Ve(),r=Xt(),a=Ni();return FM(r,i,i[Wt],a,t,n,e),P}function FM(t,n,e,i,r,a,o){let s=!0,l=null;if((i.type&3||o)&&(l??=gm(i,n,a),EV(i,t,n,o,e,r,a,l)&&(s=!1)),s){let u=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let C=h[g],M=h[g+1];l??=gm(i,n,a),Ny(i,n,C,M,r,l)}if(u&&u.length)for(let g of u)l??=gm(i,n,a),Ny(i,n,g,r,r,l)}}function E(t=1){return sy(t)}function wB(t,n){let e=null,i=iF(t);for(let r=0;r<n.length;r++){let a=n[r];if(a==="*"){e=r;continue}if(i===null?zC(t,a,!0):aF(i,a))return r}return e}function Ae(t){let n=Ve()[gn][pn];if(!n.projection){let e=t?t.length:1,i=n.projection=Nb(e,null),r=i.slice(),a=n.child;for(;a!==null;){if(a.type!==128){let o=t?wB(a,t):0;o!==null&&(r[o]?r[o].projectionNext=a:i[o]=a,r[o]=a)}a=a.next}}}function fe(t,n=0,e,i,r,a){let o=Ve(),s=Xt(),l=i?t+1:null;l!==null&&Ds(o,s,l,i,r,a,null,e);let u=Ts(s,ai+t,16,null,e||null);u.projection===null&&(u.projection=n),am();let g=!o[Bo]||em();o[gn][pn].projection[u.projection]===null&&l!==null?DB(o,s,l):g&&!Z6(u)&&AF(s,o,u)}function DB(t,n,e){let i=ai+e,r=n.data[i],a=t[i],o=O6(a,r.tView.ssrId),s=Ul(t,r,void 0,{dehydratedView:o});Gl(a,s,0,ws(r,o))}function Pe(t,n,e,i){DM(t,n,e,i)}function de(t,n,e){wM(t,n,e)}function F(t){let n=Ve(),e=Xt(),i=f6();El(i+1);let r=jf(e,i);if(t.dirty&&Ub(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let a=EM(n,i);t.reset(a,cC),t.notifyOnChanges()}return!0}return!1}function V(){return Hf(Ve(),f6())}function Kf(t,n,e,i,r){kM(n,DM(t,e,i,r))}function Os(t,n,e,i){kM(t,wM(n,e,i))}function pd(t=1){El(f6()+t)}function kt(t){let n=Qb();return s6(n,ai+t)}function x6(t,n){return t<<17|n<<2}function Xo(t){return t>>17&32767}function SB(t){return(t&2)==2}function EB(t,n){return t&131071|n<<17}function of(t){return t|2}function Ss(t){return(t&131068)>>2}function Cm(t,n){return t&-131069|n<<2}function LB(t){return(t&1)===1}function sf(t){return t|1}function kB(t,n,e,i,r,a){let o=a?n.classBindings:n.styleBindings,s=Xo(o),l=Ss(o);t[i]=e;let u=!1,h;if(Array.isArray(e)){let g=e;h=g[1],(h===null||ds(g,h)>0)&&(u=!0)}else h=e;if(r)if(l!==0){let C=Xo(t[s+1]);t[i+1]=x6(C,s),C!==0&&(t[C+1]=Cm(t[C+1],i)),t[s+1]=EB(t[s+1],i)}else t[i+1]=x6(s,0),s!==0&&(t[s+1]=Cm(t[s+1],i)),s=i;else t[i+1]=x6(l,0),s===0?s=i:t[l+1]=Cm(t[l+1],i),l=i;u&&(t[i+1]=of(t[i+1])),jy(t,h,i,!0),jy(t,h,i,!1),IB(n,h,t,i,a),o=x6(s,l),a?n.classBindings=o:n.styleBindings=o}function IB(t,n,e,i,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof n=="string"&&ds(a,n)>=0&&(e[i+1]=sf(e[i+1]))}function jy(t,n,e,i){let r=t[e+1],a=n===null,o=i?Xo(r):Ss(r),s=!1;for(;o!==0&&(s===!1||a);){let l=t[o],u=t[o+1];TB(l,n)&&(s=!0,t[o+1]=i?sf(u):of(u)),o=i?Xo(u):Ss(u)}s&&(t[e+1]=i?of(r):sf(r))}function TB(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ds(t,n)>=0:!1}var z1={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function AB(t){return t.substring(z1.key,z1.keyEnd)}function zB(t){return RB(t),VM(t,BM(t,0,z1.textEnd))}function VM(t,n){let e=z1.textEnd;return e===n?-1:(n=z1.keyEnd=NB(t,z1.key=n,e),BM(t,n,e))}function RB(t){z1.key=0,z1.keyEnd=0,z1.value=0,z1.valueEnd=0,z1.textEnd=t.length}function BM(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function NB(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function gi(t,n,e){return HM(t,n,e,!1),gi}function ee(t,n){return HM(t,n,null,!0),ee}function yt(t){PB(UB,OB,t,!0)}function OB(t,n){for(let e=zB(n);e>=0;e=VM(n,e))n6(t,AB(n),!0)}function HM(t,n,e,i){let r=Ve(),a=Xt(),o=u6(2);if(a.firstUpdatePass&&UM(a,t,o,i),n!==_n&&kn(r,o,n)){let s=a.data[ir()];GM(a,s,r,r[Wt],t,r[o+1]=WB(n,e),i,o)}}function PB(t,n,e,i){let r=Xt(),a=u6(2);r.firstUpdatePass&&UM(r,null,a,i);let o=Ve();if(e!==_n&&kn(o,a,e)){let s=r.data[ir()];if(WM(s,i)&&!jM(r,a)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=J4(l,e||"")),af(r,s,o,e,i)}else GB(r,s,o,o[Wt],o[a+1],o[a+1]=jB(t,n,e),i,a)}}function jM(t,n){return n>=t.expandoStartIndex}function UM(t,n,e,i){let r=t.data;if(r[e+1]===null){let a=r[ir()],o=jM(t,e);WM(a,i)&&n===null&&!o&&(n=!1),n=FB(r,a,n,i),kB(r,a,n,e,o,i)}}function FB(t,n,e,i){let r=ny(t),a=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=Mm(null,t,n,e,i),e=Fl(e,n.attrs,i),a=null);else{let o=n.directiveStylingLast;if(o===-1||t[o]!==r)if(e=Mm(r,t,n,e,i),a===null){let l=VB(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Mm(null,t,n,l[1],i),l=Fl(l,n.attrs,i),BB(t,n,i,l))}else a=HB(t,n,i)}return a!==void 0&&(i?n.residualClasses=a:n.residualStyles=a),e}function VB(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ss(i)!==0)return t[Xo(i)]}function BB(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Xo(r)]=i}function HB(t,n,e){let i,r=n.directiveEnd;for(let a=1+n.directiveStylingLast;a<r;a++){let o=t[a].hostAttrs;i=Fl(i,o,e)}return Fl(i,n.attrs,e)}function Mm(t,n,e,i,r){let a=null,o=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<o&&(a=n[s],i=Fl(i,a.hostAttrs,r),a!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function Fl(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let a=0;a<n.length;a++){let o=n[a];typeof o=="number"?r=o:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),n6(t,o,e?!0:n[++a]))}return t===void 0?null:t}function jB(t,n,e){if(e==null||e==="")return tn;let i=[],r=c1(e);if(Array.isArray(r))for(let a=0;a<r.length;a++)t(i,r[a],!0);else if(typeof r=="object")for(let a in r)r.hasOwnProperty(a)&&t(i,a,r[a]);else typeof r=="string"&&n(i,r);return i}function UB(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&n6(t,i,e)}function GB(t,n,e,i,r,a,o,s){r===_n&&(r=tn);let l=0,u=0,h=0<r.length?r[0]:null,g=0<a.length?a[0]:null;for(;h!==null||g!==null;){let C=l<r.length?r[l+1]:void 0,M=u<a.length?a[u+1]:void 0,x=null,k;h===g?(l+=2,u+=2,C!==M&&(x=g,k=M)):g===null||h!==null&&h<g?(l+=2,x=h):(u+=2,x=g,k=M),x!==null&&GM(t,n,e,i,x,k,o,s),h=l<r.length?r[l]:null,g=u<a.length?a[u]:null}}function GM(t,n,e,i,r,a,o,s){if(!(n.type&3))return;let l=t.data,u=l[s+1],h=LB(u)?Uy(l,n,e,r,Ss(u),o):void 0;if(!W6(h)){W6(a)||SB(u)&&(a=Uy(l,null,e,r,s,o));let g=$7(ir(),e);RF(i,o,g,r,a)}}function Uy(t,n,e,i,r,a){let o=n===null,s;for(;r>0;){let l=t[r],u=Array.isArray(l),h=u?l[1]:l,g=h===null,C=e[r+1];C===_n&&(C=g?tn:void 0);let M=g?r6(C,i):h===i?C:void 0;if(u&&!W6(M)&&(M=r6(l,i)),W6(M)&&(s=M,o))return s;let x=t[r+1];r=o?Xo(x):Ss(x)}if(n!==null){let l=a?n.residualClasses:n.residualStyles;l!=null&&(s=r6(l,i))}return s}function W6(t){return t!==void 0}function WB(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Vr(c1(t)))),t}function WM(t,n){return(t.flags&(n?8:16))!==0}function D(t,n=""){let e=Ve(),i=Xt(),r=t+ai,a=i.firstCreatePass?Ts(i,r,1,n,null):i.data[r],o=$B(i,e,a,n,t);e[r]=o,g6()&&Tf(i,e,o,a),gs(a,!1)}var $B=(t,n,e,i,r)=>(Ll(!0),$P(n[Wt],i));function $M(t,n,e,i=""){return kn(t,Wr(),e)?n+Ta(e)+i:_n}function YB(t,n,e,i,r,a=""){let o=Xb(),s=_M(t,o,e,r);return u6(2),s?n+Ta(e)+i+Ta(r)+a:_n}function xt(t){return oe("",t),xt}function oe(t,n,e){let i=Ve(),r=$M(i,t,n,e);return r!==_n&&YM(i,ir(),r),oe}function i2(t,n,e,i,r){let a=Ve(),o=YB(a,t,n,e,i,r);return o!==_n&&YM(a,ir(),o),i2}function YM(t,n,e){let i=$7(n,t);YP(t[Wt],i,e)}function Fn(t,n,e){dm(n)&&(n=n());let i=Ve(),r=Wr();if(kn(i,r,n)){let a=Xt(),o=vs();qC(o,i,t,n,i[Wt],e)}return Fn}function d1(t,n){let e=dm(t);return e&&t.set(n),e}function Vn(t,n){let e=Ve(),i=Xt(),r=Ni();return FM(i,e,e[Wt],r,t,n),Vn}function Ps(t,n,e=""){return $M(Ve(),t,n,e)}function qB(t,n,e){let i=Xt();if(i.firstCreatePass){let r=tr(t);cf(e,i.data,i.blueprint,r,!0),cf(n,i.data,i.blueprint,r,!1)}}function cf(t,n,e,i,r){if(t=Yi(t),Array.isArray(t))for(let a=0;a<t.length;a++)cf(t[a],n,e,i,r);else{let a=Xt(),o=Ve(),s=Ni(),l=Po(t)?t:Yi(t.provide),u=V7(t),h=s.providerIndexes&1048575,g=s.directiveStart,C=s.providerIndexes>>20;if(Po(t)||!t.multi){let M=new Zo(u,r,ne,null),x=wm(l,n,r?h:h+C,g);x===-1?(Sm(A6(s,o),a,l),xm(a,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(M),o.push(M)):(e[x]=M,o[x]=M)}else{let M=wm(l,n,h+C,g),x=wm(l,n,h,h+C),k=M>=0&&e[M],I=x>=0&&e[x];if(r&&!I||!r&&!k){Sm(A6(s,o),a,l);let T=QB(r?ZB:KB,e.length,r,i,u,t);!r&&I&&(e[x].providerFactory=T),xm(a,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(T),o.push(T)}else{let T=qM(e[r?x:M],u,!r&&i);xm(a,t,M>-1?M:x,T)}!r&&i&&I&&e[x].componentProviders++}}}function xm(t,n,e,i){let r=Po(n),a=Bb(n);if(r||a){let l=(a?Yi(n.useClass):n).prototype.ngOnDestroy;if(l){let u=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let h=u.indexOf(e);h===-1?u.push(e,[i,l]):u[h+1].push(i,l)}else u.push(e,l)}}}function qM(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function wm(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function KB(t,n,e,i,r){return lf(this.multi,[])}function ZB(t,n,e,i,r){let a=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=zl(i,i[Fe],this.providerFactory.index,r);o=l.slice(0,s),lf(a,o);for(let u=s;u<l.length;u++)o.push(l[u])}else o=[],lf(a,o);return o}function lf(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function QB(t,n,e,i,r,a){let o=new Zo(t,e,ne,null);return o.multi=[],o.index=n,o.componentProviders=0,qM(o,r,i&&!e),o}function Ie(t,n=[]){return e=>{e.providersResolver=(i,r)=>qB(i,r?r(t):t,n)}}function Zf(t,n,e){let i=Sl()+t,r=Ve();return r[i]===_n?ld(r,i,e?n.call(e):n()):SV(r,i)}function Qf(t,n,e,i){return eH(Ve(),Sl(),t,n,e,i)}function Xf(t,n){let e=t[n];return e===_n?void 0:e}function XB(t,n,e,i,r,a){let o=n+e;return kn(t,o,r)?ld(t,o+1,a?i.call(a,r):i(r)):Xf(t,o+1)}function JB(t,n,e,i,r,a,o){let s=n+e;return _M(t,s,r,a)?ld(t,s+2,o?i.call(o,r,a):i(r,a)):Xf(t,s+2)}function eH(t,n,e,i,r,a){let o=n+e,s=!1;for(let l=0;l<r.length;l++)kn(t,o++,r[l])&&(s=!0);return s?ld(t,o,i.apply(a,r)):Xf(t,o)}function Ye(t,n){let e=Xt(),i,r=t+ai;e.firstCreatePass?(i=tH(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let a=i.factory||(i.factory=ka(i.type,!0)),o,s=hn(ne);try{let l=T6(!1),u=a();return T6(l),Y7(e,Ve(),r,u),u}finally{hn(s)}}function tH(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function ct(t,n,e){let i=t+ai,r=Ve(),a=s6(r,i);return KM(r,i)?XB(r,Sl(),n,a.transform,e,a):a.transform(e)}function N1(t,n,e,i){let r=t+ai,a=Ve(),o=s6(a,r);return KM(a,r)?JB(a,Sl(),n,o.transform,e,i,o):o.transform(e,i)}function KM(t,n){return t[Fe].data[n].pure}function vn(t,n){return od(t,n)}var $6=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Jf=(()=>{class t{compileModuleSync(e){return new j6(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=N7(e),a=TC(r.declarations).reduce((o,s)=>{let l=Q1(s);return l&&o.push(new Fa(l)),o},[]);return new $6(i,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iH=(()=>{class t{zone=m(te);changeDetectionScheduler=m(e1);applicationRef=m(rn);applicationErrorHandler=m(Ln);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZM=new L("",{factory:()=>!1});function eh({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new te(Ue(z({},ih()),{scheduleInRootZone:e})),[{provide:te,useFactory:t},{provide:Br,multi:!0,useFactory:()=>{let i=m(iH,{optional:!0});return()=>i.initialize()}},{provide:Br,multi:!0,useFactory:()=>{let i=m(nH);return()=>{i.initialize()}}},n===!0?{provide:um,useValue:!0}:[],{provide:mm,useValue:e??PC},{provide:Ln,useFactory:()=>{let i=m(te),r=m(Ut),a;return o=>{i.runOutsideAngular(()=>{r.destroyed&&!a?setTimeout(()=>{throw o}):(a??=r.get(Hi),a.handleError(o))})}}}]}function th(t){let n=t?.ignoreChangesOutsideZone,e=t?.scheduleInRootZone,i=eh({ngZoneFactory:()=>{let r=ih(t);return r.scheduleInRootZone=e,r.shouldCoalesceEventChangeDetection&&l1("NgZone_CoalesceEvent"),new te(r)},ignoreChangesOutsideZone:n,scheduleInRootZone:e});return Hr([{provide:ZM,useValue:!0},{provide:bs,useValue:!1},i])}function ih(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var nH=(()=>{class t{subscription=new Oe;initialized=!1;zone=m(te);pendingTasks=m(rr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var QM=(()=>{class t{applicationErrorHandler=m(Ln);appRef=m(rn);taskService=m(rr);ngZone=m(te);zonelessEnabled=m(bs);tracing=m(ja,{optional:!0});disableScheduling=m(um,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Oe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(R6):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(mm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof N6||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?Dy:FC;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(R6+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dy(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rH(){return typeof $localize<"u"&&$localize.locale||Ql}var Wa=new L("",{providedIn:"root",factory:()=>m(Wa,{optional:!0,skipSelf:!0})||rH()}),nh=new L("",{providedIn:"root",factory:()=>MB});var Xl=class{destroyed=!1;listeners=null;errorHandler=m(Hi,{optional:!0});destroyRef=m(nn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new G(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(t1(953,!1));return}if(this.listeners===null)return;let e=$e(null);try{for(let i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{$e(e)}}};function di(t){return xb(t)}function ui(t,n){return cl(t,n?.equal)}var rh=class{[Di];constructor(n){this[Di]=n}destroy(){this[Di].destroy()}};function O1(t,n){let e=n?.injector??m(ve),i=n?.manualCleanup!==!0?e.get(nn):null,r,a=e.get(Yo,null,{optional:!0}),o=e.get(e1);return a!==null?(r=sH(a.view,o,t),i instanceof vl&&i._lView===a.view&&(i=null)):r=cH(t,e.get(Il),o),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new rh(r)}var XM=Ue(z({},wb),{cleanupFns:void 0,zone:null,onDestroyFn:qo,run(){let t=_s(!1);try{Db(this)}finally{_s(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=$e(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],$e(t)}}}),aH=Ue(z({},XM),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){xa(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),oH=Ue(z({},XM),{consumerMarkedDirty(){this.view[Qe]|=8192,Na(this.view),this.notifier.notify(13)},destroy(){xa(this),this.onDestroyFn(),this.cleanup(),this.view[Ur]?.delete(this)}});function sH(t,n,e){let i=Object.create(oH);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=JM(i,e),t[Ur]??=new Set,t[Ur].add(i),i.consumerMarkedDirty(i),i}function cH(t,n,e){let i=Object.create(aH);return i.fn=JM(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function JM(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var vd=Symbol("InputSignalNode#UNSET"),lx=Ue(z({},ll),{transformFn:void 0,applyValueToInputSignal(t,n){Eo(t,n)}});function dx(t,n){let e=Object.create(lx);e.value=t,e.transformFn=n?.transform;function i(){if(Ca(e),e.value===vd){let r=null;throw new G(-950,r)}return e.value}return i[Di]=e,i}var Ei=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Y6(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},gh=new L("");gh.__NG_ELEMENT_ID__=t=>{let n=Ni();if(n===null)throw new G(204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new G(204,!1)};function n2(t){return new Xl}function ex(t,n){return dx(t,n)}function MH(t){return dx(vd,t)}var ut=(ex.required=MH,ex);function tx(t,n){return Uf(n)}function xH(t,n){return Gf(n)}var e3=(tx.required=xH,tx);function ix(t,n){return Uf(n)}function wH(t,n){return Gf(n)}var ux=(ix.required=wH,ix);function mx(t,n){let e=Object.create(lx),i=new Xl;e.value=t;function r(){return Ca(e),nx(e.value),e.value}return r[Di]=e,r.asReadonly=_6.bind(r),r.set=a=>{e.equal(e.value,a)||(Eo(e,a),i.emit(a))},r.update=a=>{nx(e.value),r.set(a(e.value))},r.subscribe=i.subscribe.bind(i),r.destroyRef=i.destroyRef,r}function nx(t){if(t===vd)throw new G(952,!1)}function rx(t,n){return mx(t,n)}function DH(t){return mx(vd,t)}var fx=(rx.required=DH,rx);var oh=new L(""),SH=new L("");function Jl(t){return!t.moduleRef}function EH(t){let n=Jl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(te);return e.run(()=>{Jl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Ln),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Jl(t)){let a=()=>n.destroy(),o=t.platformInjector.get(oh);o.add(a),n.onDestroy(()=>{r.unsubscribe(),o.delete(a)})}else{let a=()=>t.moduleRef.destroy(),o=t.platformInjector.get(oh);o.add(a),t.moduleRef.onDestroy(()=>{Al(t.allPlatformModules,t.moduleRef),r.unsubscribe(),o.delete(a)})}return kH(i,e,()=>{let a=n.get(rr),o=a.add(),s=n.get(Yf);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Wa,Ql);if(PM(l||Ql),!n.get(SH,!0))return Jl(t)?n.get(rn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Jl(t)){let h=n.get(rn);return t.rootComponent!==void 0&&h.bootstrap(t.rootComponent),h}else return LH?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>void a.remove(o))})})}var LH;function kH(t,n,e){try{let i=e();return Zr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var gd=null;function IH(t=[],n){return ve.create({name:n,providers:[{provide:Cl,useValue:"platform"},{provide:oh,useValue:new Set([()=>gd=null])},...t]})}function TH(t=[]){if(gd)return gd;let n=IH(t);return gd=n,RM(),AH(n),n}function AH(t){let n=t.get(q6,null);ji(t,()=>{n?.forEach(e=>e())})}var ze=(()=>{class t{static __NG_ELEMENT_ID__=zH}return t})();function zH(t){return RH(Ni(),Ve(),(t&16)===16)}function RH(t,n,e){if(Gr(t)&&!e){let i=a1(t.index,n);return new Pa(i,i)}else if(t.type&175){let i=n[gn];return new Pa(i,n)}return null}var sh=class{constructor(){}supports(n){return Bf(n)}create(n){return new ch(n)}},NH=(t,n)=>n,ch=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||NH}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,a=null;for(;e||i;){let o=!i||e&&e.currentIndex<ax(i,r,a)?e:i,s=ax(o,r,a),l=o.currentIndex;if(o===i)r--,i=i._nextRemoved;else if(e=e._next,o.previousIndex==null)r++;else{a||(a=[]);let u=s-r,h=l-r;if(u!=h){for(let C=0;C<u;C++){let M=C<a.length?a[C]:a[C]=0,x=M+C;h<=x&&x<u&&(a[C]=M+1)}let g=o.previousIndex;a[g]=h-u}}s!==l&&n(o,s,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Bf(n))throw new G(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,a,o;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)a=n[s],o=this._trackByFn(s,a),e===null||!Object.is(e.trackById,o)?(e=this._mismatch(e,a,o,s),i=!0):(i&&(e=this._verifyReinsertion(e,a,o,s)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next}else r=0,gM(n,s=>{o=this._trackByFn(r,s),e===null||!Object.is(e.trackById,o)?(e=this._mismatch(e,s,o,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,o,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let a;return n===null?a=this._itTail:(a=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,a,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,a,r)):n=this._addAfter(new lh(e,i),a,r)),n}_verifyReinsertion(n,e,i,r){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return a!==null?n=this._reinsertAfter(a,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,a=n._nextRemoved;return r===null?this._removalsHead=a:r._nextRemoved=a,a===null?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new _d),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new _d),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},lh=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},dh=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},_d=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new dh,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ax(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}var uh=class{constructor(){}supports(n){return n instanceof Map||cd(n)}create(){return new mh}},mh=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||cd(n)))throw new G(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let a=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,e);let a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}let i=new fh(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},fh=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function ox(){return new cr([new sh])}var cr=(()=>{class t{factories;static \u0275prov=A({token:t,providedIn:"root",factory:ox});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=m(t,{optional:!0,skipSelf:!0});return t.create(e,i||ox())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new G(901,!1)}}return t})();function sx(){return new _h([new uh])}var _h=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:sx});factories;constructor(e){this.factories=e}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=m(t,{optional:!0,skipSelf:!0});return t.create(e,i||sx())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new G(901,!1)}}return t})();var hx=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(me(rn))};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();function px(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;Vt(8);try{let a=r?.injector??TH(i),o=[eh({}),{provide:e1,useExisting:QM},dy,...e||[]],s=new Pl({providers:o,parent:a,debugName:"",runEnvironmentInitializers:!1});return EH({r3Injector:s.injector,platformInjector:a,rootComponent:n})}catch(a){return Promise.reject(a)}finally{Vt(9)}}function B(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function dt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var ah=Symbol("NOT_SET"),gx=new Set,OH=Ue(z({},ll),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ah,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ah&&!So(this))return this.signal;try{for(let r of this.cleanup??gx)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Ma(this),i;try{i=this.userFn.apply(null,n)}finally{Do(this,e)}return(this.value===ah||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),hh=class extends Rl{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(n,e,i,r,a,o=null){super(n,[void 0,void 0,void 0,void 0],i,!1,a.get(nn),o),this.scheduler=r;for(let s of Lf){let l=e[s];if(l===void 0)continue;let u=Object.create(OH);u.sequence=this,u.phase=s,u.userFn=l,u.dirty=!0,u.signal=()=>(Ca(u),u.value),u.signal[Di]=u,u.registerCleanupFn=h=>(u.cleanup??=new Set).add(h),this.nodes[s]=u,this.hooks[s]=h=>u.phaseFn(h)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??gx)e()}finally{xa(n)}}};function _x(t,n){let e=n?.injector??m(ve),i=e.get(e1),r=e.get(td),a=e.get(ja,null,{optional:!0});r.impl??=e.get(kf);let o=t;typeof o=="function"&&(o={mixedReadWrite:t});let s=e.get(Yo,null,{optional:!0}),l=new hh(r.impl,[o.earlyRead,o.write,o.mixedReadWrite,o.read],s?.view,i,e,a?.snapshot(null));return r.impl.register(l),l}function bd(t,n){let e=Q1(t),i=n.elementInjector||us();return new Fa(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function vx(t){let n=Q1(t);if(!n)return null;let e=new Fa(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Cx=null;function Tn(){return Cx}function vh(t){Cx??=t}var t3=class{},i3=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(Mx),providedIn:"platform"})}return t})(),bh=new L(""),Mx=(()=>{class t extends i3{_location;_history;_doc=m(_e);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Tn().getBaseHref(this._doc)}onPopState(e){let i=Tn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Tn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function yd(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function bx(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function P1(t){return t&&t[0]!=="?"?`?${t}`:t}var Qr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(Md),providedIn:"root"})}return t})(),Cd=new L(""),Md=(()=>{class t extends Qr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??m(_e).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return yd(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+P1(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+P1(a));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+P1(a));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(me(i3),me(Cd,8))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),u1=(()=>{class t{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=VH(bx(yx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+P1(i))}normalize(e){return t.stripTrailingSlash(FH(this._basePath,yx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P1(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P1(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=P1;static joinWithSlash=yd;static stripTrailingSlash=bx;static \u0275fac=function(i){return new(i||t)(me(Qr))};static \u0275prov=A({token:t,factory:()=>PH(),providedIn:"root"})}return t})();function PH(){return new u1(me(Qr))}function FH(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function yx(t){return t.replace(/\/index.html$/,"")}function VH(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Dh=(()=>{class t extends Qr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=yd(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+P1(a))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+P1(a))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(me(i3),me(Cd,8))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),kx={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Sd=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(Sd||{});var Bn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function r2(t,n){let e=Zl(t),i=e[Ga.NumberSymbols][n];if(typeof i>"u"){if(n===Bn.CurrencyDecimal)return e[Ga.NumberSymbols][Bn.Decimal];if(n===Bn.CurrencyGroup)return e[Ga.NumberSymbols][Bn.Group]}return i}function Sh(t,n){return Zl(t)[Ga.NumberFormats][n]}function BH(t){return Zl(t)[Ga.Currencies]}function Ix(t,n,e="en"){let i=BH(e)[t]||kx[t]||[],r=i[1];return n==="narrow"&&typeof r=="string"?r:i[0]||t}var HH=2;function Tx(t){let n,e=kx[t];return e&&(n=e[2]),typeof n=="number"?n:HH}var jH=/^(\d+)?\.((\d+)(-(\d+))?)?$/,xx=22,xd=".",n3="0",UH=";",GH=",",yh="#",wx="\xA4";function Ax(t,n,e,i,r,a,o=!1){let s="",l=!1;if(!isFinite(t))s=r2(e,Bn.Infinity);else{let u=$H(t);o&&(u=WH(u));let h=n.minInt,g=n.minFrac,C=n.maxFrac;if(a){let ce=a.match(jH);if(ce===null)throw new G(2306,!1);let ye=ce[1],Se=ce[3],rt=ce[5];ye!=null&&(h=Ch(ye)),Se!=null&&(g=Ch(Se)),rt!=null?C=Ch(rt):Se!=null&&g>C&&(C=g)}YH(u,g,C);let M=u.digits,x=u.integerLen,k=u.exponent,I=[];for(l=M.every(ce=>!ce);x<h;x++)M.unshift(0);for(;x<0;x++)M.unshift(0);x>0?I=M.splice(x,M.length):(I=M,M=[0]);let T=[];for(M.length>=n.lgSize&&T.unshift(M.splice(-n.lgSize,M.length).join(""));M.length>n.gSize;)T.unshift(M.splice(-n.gSize,M.length).join(""));M.length&&T.unshift(M.join("")),s=T.join(r2(e,i)),I.length&&(s+=r2(e,r)+I.join("")),k&&(s+=r2(e,Bn.Exponential)+"+"+k)}return t<0&&!l?s=n.negPre+s+n.negSuf:s=n.posPre+s+n.posSuf,s}function zx(t,n,e,i,r){let a=Sh(n,Sd.Currency),o=Nx(a,r2(n,Bn.MinusSign));return o.minFrac=Tx(i),o.maxFrac=o.minFrac,Ax(t,o,n,Bn.CurrencyGroup,Bn.CurrencyDecimal,r).replace(wx,e).replace(wx,"").trim()}function Rx(t,n,e){let i=Sh(n,Sd.Decimal),r=Nx(i,r2(n,Bn.MinusSign));return Ax(t,r,n,Bn.Group,Bn.Decimal,e)}function Nx(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(UH),r=i[0],a=i[1],o=r.indexOf(xd)!==-1?r.split(xd):[r.substring(0,r.lastIndexOf(n3)+1),r.substring(r.lastIndexOf(n3)+1)],s=o[0],l=o[1]||"";e.posPre=s.substring(0,s.indexOf(yh));for(let h=0;h<l.length;h++){let g=l.charAt(h);g===n3?e.minFrac=e.maxFrac=h+1:g===yh?e.maxFrac=h+1:e.posSuf+=g}let u=s.split(GH);if(e.gSize=u[1]?u[1].length:0,e.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,a){let h=r.length-e.posPre.length-e.posSuf.length,g=a.indexOf(yh);e.negPre=a.substring(0,g).replace(/'/g,""),e.negSuf=a.slice(g+h).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function WH(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function $H(t){let n=Math.abs(t)+"",e=0,i,r,a,o,s;for((r=n.indexOf(xd))>-1&&(n=n.replace(xd,"")),(a=n.search(/e/i))>0?(r<0&&(r=a),r+=+n.slice(a+1),n=n.substring(0,a)):r<0&&(r=n.length),a=0;n.charAt(a)===n3;a++);if(a===(s=n.length))i=[0],r=1;else{for(s--;n.charAt(s)===n3;)s--;for(r-=a,i=[],o=0;a<=s;a++,o++)i[o]=Number(n.charAt(a))}return r>xx&&(i=i.splice(0,xx-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}function YH(t,n,e){if(n>e)throw new G(2307,!1);let i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(n,r),e),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let g=o;g<i.length;g++)i[g]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(let g=1;g<o;g++)i[g]=0}if(s>=5)if(o-1<0){for(let g=0;g>o;g--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r<Math.max(0,a);r++)i.push(0);let l=a!==0,u=n+t.integerLen,h=i.reduceRight(function(g,C,M,x){return C=C+g,x[M]=C<10?C:C-10,l&&(x[M]===0&&M>=u?x.pop():l=!1),C>=10?1:0},0);h&&(i.unshift(h),t.integerLen++)}function Ch(t){let n=parseInt(t);if(isNaN(n))throw new G(2305,!1);return n}var Mh=/\s+/,Dx=[],lr=(()=>{class t{_ngEl;_renderer;initialClasses=Dx;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Mh):Dx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Mh):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Mh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(ne(Y),ne(ht))};static \u0275dir=W({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var wd=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Xr=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,a,o)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new wd(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)i.remove(a===null?void 0:a);else if(a!==null){let s=i.get(a);i.move(s,o),Sx(s,r)}});for(let r=0,a=i.length;r<a;r++){let s=i.get(r).context;s.index=r,s.count=a,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);Sx(a,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(ne(Tt),ne(Lt),ne(cr))};static \u0275dir=W({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Sx(t,n){t.context.$implicit=n.item}var an=(()=>{class t{_viewContainer;_context=new Dd;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ex(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ex(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(ne(Tt),ne(Lt))};static \u0275dir=W({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Dd=class{$implicit=null;ngIf=null};function Ex(t,n){if(t&&!t.createEmbeddedView)throw new G(2020,!1)}var r3=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(ne(Tt))};static \u0275dir=W({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nt]})}return t})();function Eh(t,n){return new G(2100,!1)}var xh=class{createSubscription(n,e,i){return di(()=>n.subscribe({next:e,error:i}))}dispose(n){di(()=>n.unsubscribe())}},wh=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},qH=new wh,KH=new xh,a2=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=m(Ln);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i))}_selectStrategy(e){if(Zr(e))return qH;if(fd(e))return KH;throw Eh(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||t)(ne(ze,16))};static \u0275pipe=Ua({name:"async",type:t,pure:!1})}return t})();function ZH(t,n){return{key:t,value:n}}var Lh=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Lx;transform(e,i=Lx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(ZH(o.key,o.currentValue))})),(r||a)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||t)(ne(_h,16))};static \u0275pipe=Ua({name:"keyvalue",type:t,pure:!1})}return t})();function Lx(t,n){let e=t.key,i=n.key;if(e===i)return 0;if(e==null)return 1;if(i==null)return-1;if(typeof e=="string"&&typeof i=="string")return e<i?-1:1;if(typeof e=="number"&&typeof i=="number")return e-i;if(typeof e=="boolean"&&typeof i=="boolean")return e<i?-1:1;let r=String(e),a=String(i);return r==a?0:r<a?-1:1}var a3=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,i,r){if(!Ox(e))return null;r||=this._locale;try{let a=Px(e);return Rx(a,r,i)}catch(a){throw Eh(t,a.message)}}static \u0275fac=function(i){return new(i||t)(ne(Wa,16))};static \u0275pipe=Ua({name:"number",type:t,pure:!0})}return t})();var o3=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,i="USD"){this._locale=e,this._defaultCurrencyCode=i}transform(e,i=this._defaultCurrencyCode,r="symbol",a,o){if(!Ox(e))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=i||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=Ix(s,r==="symbol"?"wide":"narrow",o):s=r);try{let l=Px(e);return zx(l,o,s,i,a)}catch(l){throw Eh(t,l.message)}}static \u0275fac=function(i){return new(i||t)(ne(Wa,16),ne(nh,16))};static \u0275pipe=Ua({name:"currency",type:t,pure:!0})}return t})();function Ox(t){return!(t==null||t===""||t!==t)}function Px(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new G(2309,!1);return t}var Li=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();function s3(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,a]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(a)}return null}var o2=class{};var Ih="browser";function Fx(t){return t===Ih}var Vx=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>new kh(m(_e),window)})}return t})(),kh=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Ue(z({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let i=XH(this.document,n);i&&(this.scrollToElement(i,e),i.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(t1(2400,!1))}}scrollToElement(n,e){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,a=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(Ue(z({},e),{left:r-o[0],top:a-o[1]}))}};function XH(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let a=r.shadowRoot;if(a){let o=a.getElementById(n)||a.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}var c3=class{_doc;constructor(n){this._doc=n}manager},Ed=(()=>{class t extends c3{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,a){return e.addEventListener(i,r,a),()=>this.removeEventListener(e,i,r,a)}removeEventListener(e,i,r,a){return e.removeEventListener(i,r,a)}static \u0275fac=function(i){return new(i||t)(me(_e))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),kd=new L(""),Nh=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(o=>{o.manager=this});let r=e.filter(o=>!(o instanceof Ed));this._plugins=r.slice().reverse();let a=e.find(o=>o instanceof Ed);a&&this._plugins.push(a)}addEventListener(e,i,r,a){return this._findPluginFor(i).addEventListener(e,i,r,a)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new G(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(me(kd),me(te))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Th="ng-app-id";function Bx(t){for(let n of t)n.remove()}function Hx(t,n){let e=n.createElement("style");return e.textContent=t,e}function JH(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Th}="${n}"],link[${Th}="${n}"]`);if(r)for(let a of r)a.removeAttribute(Th),a instanceof HTMLLinkElement?i.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]})}function zh(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Oh=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,a={}){this.doc=e,this.appId=i,this.nonce=r,JH(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,Hx);i?.forEach(r=>this.addUsage(r,this.external,zh))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let a=i.get(e);a?a.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(Bx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Bx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,Hx(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,zh(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(me(_e),me(Ba),me(Is,8),me(Jo))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Ah={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ph=/%COMP%/g;var Ux="%COMP%",ej=`_nghost-${Ux}`,tj=`_ngcontent-${Ux}`,ij=!0,nj=new L("",{providedIn:"root",factory:()=>ij});function rj(t){return tj.replace(Ph,t)}function aj(t){return ej.replace(Ph,t)}function Gx(t,n){return n.map(e=>e.replace(Ph,t))}var u3=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,a,o,s,l=null,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.ngZone=s,this.nonce=l,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new l3(e,o,s,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Ld?r.applyToHost(e):r instanceof d3&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,a=r.get(i.id);if(!a){let o=this.doc,s=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,C=this.tracingService;switch(i.encapsulation){case $r.Emulated:a=new Ld(l,u,i,this.appId,h,o,s,g,C);break;case $r.ShadowDom:return new Rh(l,u,e,i,o,s,this.nonce,g,C);default:a=new d3(l,u,i,h,o,s,g,C);break}r.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(me(Nh),me(Oh),me(Ba),me(nj),me(_e),me(te),me(Is),me(ja,8))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),l3=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,a){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=a}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Ah[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(jx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(jx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new G(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let a=Ah[r];a?n.setAttributeNS(a,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Ah[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(or.DashCase|or.Important)?n.style.setProperty(e,i,r&or.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&or.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Tn().getGlobalEventTarget(this.doc,n),!n))throw new G(5102,!1);let a=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(n,e,a)),this.eventManager.addEventListener(n,e,a,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function jx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Rh=class extends l3{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,a,o,s,l,u){super(n,a,o,l,u),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=Gx(r.id,h);for(let C of h){let M=document.createElement("style");s&&M.setAttribute("nonce",s),M.textContent=C,this.shadowRoot.appendChild(M)}let g=r.getExternalStyles?.();if(g)for(let C of g){let M=zh(C,a);s&&M.setAttribute("nonce",s),this.shadowRoot.appendChild(M)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},d3=class extends l3{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,a,o,s,l,u){super(n,a,o,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=u?Gx(u,h):h,this.styleUrls=i.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Qo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ld=class extends d3{contentAttr;hostAttr;constructor(n,e,i,r,a,o,s,l,u){let h=r+"-"+i.id;super(n,e,i,a,o,s,l,u,h),this.contentAttr=rj(h),this.hostAttr=aj(h)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var Id=class t extends t3{supportsDOMEvents=!0;static makeCurrent(){vh(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=oj();return e==null?null:sj(e)}resetBaseElement(){m3=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return s3(document.cookie,n)}},m3=null;function oj(){return m3=m3||document.head.querySelector("base"),m3?m3.getAttribute("href"):null}function sj(t){return new URL(t,document.baseURI).pathname}var Td=class{addToWindow(n){Ri.getAngularTestability=(i,r=!0)=>{let a=n.findTestabilityInTree(i,r);if(a==null)throw new G(5103,!1);return a},Ri.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ri.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=Ri.getAllAngularTestabilities(),a=r.length,o=function(){a--,a==0&&i()};r.forEach(s=>{s.whenStable(o)})};Ri.frameworkStabilizers||(Ri.frameworkStabilizers=[]),Ri.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?Tn().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},cj=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Wx=["alt","control","meta","shift"],lj={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},$x=(()=>{class t extends c3{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,a){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Tn().onAndCancel(e,o.domEventName,s,a))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let a=t._normalizeKey(i.pop()),o="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),o="code."),Wx.forEach(u=>{let h=i.indexOf(u);h>-1&&(i.splice(h,1),o+=u+".")}),o+=a,i.length!=0||a.length===0)return null;let l={};return l.domEventName=r,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let r=lj[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Wx.forEach(o=>{if(o!==r){let s=dj[o];s(e)&&(a+=o+".")}}),a+=r,a===i)}static eventCallback(e,i,r){return a=>{t.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(me(_e))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function Fh(t,n,e){let i=z({rootComponent:t,platformRef:e?.platformRef},uj(n));return px(i)}function uj(t){return{appProviders:[...Yx,...t?.providers??[]],platformProviders:pj}}function mj(){Id.makeCurrent()}function fj(){return new Hi}function hj(){return mf(document),document}var pj=[{provide:Jo,useValue:Ih},{provide:q6,useValue:mj,multi:!0},{provide:_e,useFactory:hj}];var gj=[{provide:Rs,useClass:Td},{provide:md,useClass:$l,deps:[te,Yl,Rs]},{provide:$l,useClass:$l,deps:[te,Yl,Rs]}],Yx=[{provide:Cl,useValue:"root"},{provide:Hi,useFactory:fj},{provide:kd,useClass:Ed,multi:!0,deps:[_e]},{provide:kd,useClass:$x,multi:!0,deps:[_e]},u3,Oh,Nh,{provide:oi,useExisting:u3},{provide:o2,useClass:cj},[]],Vh=(()=>{class t{constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[...Yx,...gj],imports:[Li,hx]})}return t})();var Bs=class{},f3=class{},$a=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),a=e.slice(i+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let a=n.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var zd=class{encodeKey(n){return qx(n)}encodeValue(n){return qx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function _j(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,a)),n.decodeValue(r.slice(a+1))],l=e.get(o)||[];l.push(s),e.set(o,l)}),e}var vj=/%(\d[a-f0-9])/gi,bj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qx(t){return encodeURIComponent(t).replace(vj,(n,e)=>bj[e]??n)}function Ad(t){return`${t}`}var m1=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new zd,n.fromString){if(n.fromObject)throw new G(2805,!1);this.map=_j(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Ad):[Ad(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(a=>{e.push({param:i,value:a,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ad(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Ad(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Rd=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function yj(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Kx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Zx(t){return typeof Blob<"u"&&t instanceof Blob}function Qx(t){return typeof FormData<"u"&&t instanceof FormData}function Cj(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Xx="Content-Type",Jx="Accept",ew="X-Request-URL",tw="text/plain",iw="application/json",Mj=`${iw}, ${tw}, */*`,Fs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let a;if(yj(this.method)||r?(this.body=i!==void 0?i:null,a=r):a=i,a){if(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,this.keepalive=!!a.keepalive,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),a.priority&&(this.priority=a.priority),a.cache&&(this.cache=a.cache),a.credentials&&(this.credentials=a.credentials),typeof a.timeout=="number"){if(a.timeout<1||!Number.isInteger(a.timeout))throw new G(2822,"");this.timeout=a.timeout}a.mode&&(this.mode=a.mode),a.redirect&&(this.redirect=a.redirect),a.integrity&&(this.integrity=a.integrity),a.referrer&&(this.referrer=a.referrer),this.transferCache=a.transferCache}if(this.headers??=new $a,this.context??=new Rd,!this.params)this.params=new m1,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+l+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Kx(this.body)||Zx(this.body)||Qx(this.body)||Cj(this.body)?this.body:this.body instanceof m1?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Qx(this.body)?null:Zx(this.body)?this.body.type||null:Kx(this.body)?null:typeof this.body=="string"?tw:this.body instanceof m1?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?iw:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,a=n.keepalive??this.keepalive,o=n.priority||this.priority,s=n.cache||this.cache,l=n.mode||this.mode,u=n.redirect||this.redirect,h=n.credentials||this.credentials,g=n.referrer||this.referrer,C=n.integrity||this.integrity,M=n.transferCache??this.transferCache,x=n.timeout??this.timeout,k=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,T=n.reportProgress??this.reportProgress,ce=n.headers||this.headers,ye=n.params||this.params,Se=n.context??this.context;return n.setHeaders!==void 0&&(ce=Object.keys(n.setHeaders).reduce((rt,et)=>rt.set(et,n.setHeaders[et]),ce)),n.setParams&&(ye=Object.keys(n.setParams).reduce((rt,et)=>rt.set(et,n.setParams[et]),ye)),new t(e,i,k,{params:ye,headers:ce,context:Se,reportProgress:T,responseType:r,withCredentials:I,transferCache:M,keepalive:a,cache:s,priority:o,timeout:x,mode:l,redirect:u,credentials:h,referrer:g,integrity:C})}},c2=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(c2||{}),Hs=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new $a,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},Nd=class t extends Hs{constructor(n={}){super(n)}type=c2.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},h3=class t extends Hs{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=c2.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},Vs=class extends Hs{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},xj=200,wj=204;function Bh(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var F1=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let a;if(e instanceof Fs)a=e;else{let l;r.headers instanceof $a?l=r.headers:l=new $a(r.headers);let u;r.params&&(r.params instanceof m1?u=r.params:u=new m1({fromObject:r.params})),a=new Fs(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let o=ge(a).pipe(Z1(l=>this.handler.handle(l)));if(e instanceof Fs||r.observe==="events")return o;let s=o.pipe(lt(l=>l instanceof h3));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(Ce(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new G(2806,!1);return l.body}));case"blob":return s.pipe(Ce(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new G(2807,!1);return l.body}));case"text":return s.pipe(Ce(l=>{if(l.body!==null&&typeof l.body!="string")throw new G(2808,!1);return l.body}));case"json":default:return s.pipe(Ce(l=>l.body))}case"response":return s;default:throw new G(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new m1().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Bh(r,i))}post(e,i,r={}){return this.request("POST",e,Bh(r,i))}put(e,i,r={}){return this.request("PUT",e,Bh(r,i))}static \u0275fac=function(i){return new(i||t)(me(Bs))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();var Dj=new L("");function Sj(t,n){return n(t)}function Ej(t,n,e){return(i,r)=>ji(e,()=>n(i,a=>t(a,r)))}var nw=new L(""),rw=new L(""),aw=new L("",{providedIn:"root",factory:()=>!0});var Od=(()=>{class t extends Bs{backend;injector;chain=null;pendingTasks=m(kl);contributeToStability=m(aw);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(nw),...this.injector.get(rw,[])]));this.chain=i.reduceRight((r,a)=>Ej(r,a,this.injector),Sj)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Or(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(me(f3),me(Ut))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();var Lj=/^\)\]\}',?\n/,kj=RegExp(`^${ew}:`,"m");function Ij(t){return"responseURL"in t&&t.responseURL?t.responseURL:kj.test(t.getAllResponseHeaders())?t.getResponseHeader(ew):null}var Hh=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new G(-2800,!1);let i=this.xhrFactory;return ge(null).pipe(Qt(()=>new He(a=>{let o=i.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((I,T)=>o.setRequestHeader(I,T.join(","))),e.headers.has(Jx)||o.setRequestHeader(Jx,Mj),!e.headers.has(Xx)){let I=e.detectContentTypeHeader();I!==null&&o.setRequestHeader(Xx,I)}if(e.timeout&&(o.timeout=e.timeout),e.responseType){let I=e.responseType.toLowerCase();o.responseType=I!=="json"?I:"text"}let s=e.serializeBody(),l=null,u=()=>{if(l!==null)return l;let I=o.statusText||"OK",T=new $a(o.getAllResponseHeaders()),ce=Ij(o)||e.url;return l=new Nd({headers:T,status:o.status,statusText:I,url:ce}),l},h=()=>{let{headers:I,status:T,statusText:ce,url:ye}=u(),Se=null;T!==wj&&(Se=typeof o.response>"u"?o.responseText:o.response),T===0&&(T=Se?xj:0);let rt=T>=200&&T<300;if(e.responseType==="json"&&typeof Se=="string"){let et=Se;Se=Se.replace(Lj,"");try{Se=Se!==""?JSON.parse(Se):null}catch(mt){Se=et,rt&&(rt=!1,Se={error:mt,text:Se})}}rt?(a.next(new h3({body:Se,headers:I,status:T,statusText:ce,url:ye||void 0})),a.complete()):a.error(new Vs({error:Se,headers:I,status:T,statusText:ce,url:ye||void 0}))},g=I=>{let{url:T}=u(),ce=new Vs({error:I,status:o.status||0,statusText:o.statusText||"Unknown Error",url:T||void 0});a.error(ce)},C=g;e.timeout&&(C=I=>{let{url:T}=u(),ce=new Vs({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:T||void 0});a.error(ce)});let M=!1,x=I=>{M||(a.next(u()),M=!0);let T={type:c2.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(T.total=I.total),e.responseType==="text"&&o.responseText&&(T.partialText=o.responseText),a.next(T)},k=I=>{let T={type:c2.UploadProgress,loaded:I.loaded};I.lengthComputable&&(T.total=I.total),a.next(T)};return o.addEventListener("load",h),o.addEventListener("error",g),o.addEventListener("timeout",C),o.addEventListener("abort",g),e.reportProgress&&(o.addEventListener("progress",x),s!==null&&o.upload&&o.upload.addEventListener("progress",k)),o.send(s),a.next({type:c2.Sent}),()=>{o.removeEventListener("error",g),o.removeEventListener("abort",g),o.removeEventListener("load",h),o.removeEventListener("timeout",C),e.reportProgress&&(o.removeEventListener("progress",x),s!==null&&o.upload&&o.upload.removeEventListener("progress",k)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(i){return new(i||t)(me(o2))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),ow=new L(""),Tj="XSRF-TOKEN",Aj=new L("",{providedIn:"root",factory:()=>Tj}),zj="X-XSRF-TOKEN",Rj=new L("",{providedIn:"root",factory:()=>zj}),p3=class{},Nj=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=s3(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(me(_e),me(Aj))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Oj=/^(?:https?:)?\/\//i;function Pj(t,n){if(!m(ow)||t.method==="GET"||t.method==="HEAD"||Oj.test(t.url))return n(t);let e=m(p3).getToken(),i=m(Rj);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function jh(...t){let n=[F1,Hh,Od,{provide:Bs,useExisting:Od},{provide:f3,useFactory:()=>m(Dj,{optional:!0})??m(Hh)},{provide:nw,useValue:Pj,multi:!0},{provide:ow,useValue:!0},{provide:p3,useClass:Nj}];for(let e of t)n.push(...e.\u0275providers);return Hr(n)}var sw=(()=>{class t{_doc;_dom;constructor(e){this._doc=e,this._dom=Tn()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((r,a)=>(a&&r.push(this._getOrCreateElement(a,i)),r),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);let r=this.getTag(i);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){let o=this._parseSelector(e),s=this.getTags(o).filter(l=>this._containsAttributes(e,l))[0];if(s!==void 0)return s}let r=this._dom.createElement("meta");return this._setMetaElementAttributes(e,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(r=>i.setAttribute(this._getMetaKeyMap(r),e[r])),i}_parseSelector(e){let i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(r=>i.getAttribute(this._getMetaKeyMap(r))===e[r])}_getMetaKeyMap(e){return Fj[e]||e}static \u0275fac=function(i){return new(i||t)(me(_e))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fj={httpEquiv:"http-equiv"},cw=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(me(_e))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var g3=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=me(Vj),r},providedIn:"root"})}return t})(),Vj=(()=>{class t extends g3{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case qi.NONE:return i;case qi.HTML:return qr(i,"HTML")?c1(i):X6(this._doc,String(i)).toString();case qi.STYLE:return qr(i,"Style")?c1(i):i;case qi.SCRIPT:if(qr(i,"Script"))return c1(i);throw new G(5200,!1);case qi.URL:return qr(i,"URL")?c1(i):Vl(String(i));case qi.RESOURCE_URL:if(qr(i,"ResourceURL"))return c1(i);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(e){return pf(e)}bypassSecurityTrustStyle(e){return gf(e)}bypassSecurityTrustScript(e){return _f(e)}bypassSecurityTrustUrl(e){return vf(e)}bypassSecurityTrustResourceUrl(e){return bf(e)}static \u0275fac=function(i){return new(i||t)(me(_e))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var at="primary",k3=Symbol("RouteTitle"),Kh=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function u2(t){return new Kh(t)}function gw(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let a=0;a<i.length;a++){let o=i[a],s=t[a];if(o[0]===":")r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function Bj(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!dr(t[e],n[e]))return!1;return!0}function dr(t,n){let e=t?Zh(t):void 0,i=n?Zh(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let a=0;a<e.length;a++)if(r=e[a],!_w(t[r],n[r]))return!1;return!0}function Zh(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function _w(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,a)=>i[a]===r)}else return t===n}function vw(t){return t.length>0?t[t.length-1]:null}function Jr(t){return ss(t)?t:Zr(t)?Kt(Promise.resolve(t)):ge(t)}var Hj={exact:yw,subset:Cw},bw={exact:jj,subset:Uj,ignored:()=>!0};function lw(t,n,e){return Hj[e.paths](t.root,n.root,e.matrixParams)&&bw[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function jj(t,n){return dr(t,n)}function yw(t,n,e){if(!l2(t.segments,n.segments)||!Vd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!yw(t.children[i],n.children[i],e))return!1;return!0}function Uj(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>_w(t[e],n[e]))}function Cw(t,n,e){return Mw(t,n,n.segments,e)}function Mw(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!l2(r,e)||n.hasChildren()||!Vd(r,e,i))}else if(t.segments.length===e.length){if(!l2(t.segments,e)||!Vd(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!Cw(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!l2(t.segments,r)||!Vd(t.segments,r,i)||!t.children[at]?!1:Mw(t.children[at],n,a,i)}}function Vd(t,n,e){return n.every((i,r)=>bw[e](t[r].parameters,i.parameters))}var mr=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Nt([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=u2(this.queryParams),this._queryParamMap}toString(){return $j.serialize(this)}},Nt=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bd(this)}},Ya=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=u2(this.parameters),this._parameterMap}toString(){return ww(this)}};function Gj(t,n){return l2(t,n)&&t.every((e,i)=>dr(e.parameters,n[i].parameters))}function l2(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function Wj(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===at&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==at&&(e=e.concat(n(r,i)))}),e}var m2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>new qa,providedIn:"root"})}return t})(),qa=class{parse(n){let e=new Xh(n);return new mr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${_3(n.root,!0)}`,i=Kj(n.queryParams),r=typeof n.fragment=="string"?`#${Yj(n.fragment)}`:"";return`${e}${i}${r}`}},$j=new qa;function Bd(t){return t.segments.map(n=>ww(n)).join("/")}function _3(t,n){if(!t.hasChildren())return Bd(t);if(n){let e=t.children[at]?_3(t.children[at],!1):"",i=[];return Object.entries(t.children).forEach(([r,a])=>{r!==at&&i.push(`${r}:${_3(a,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=Wj(t,(i,r)=>r===at?[_3(t.children[at],!1)]:[`${r}:${_3(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[at]!=null?`${Bd(t)}/${e[0]}`:`${Bd(t)}/(${e.join("//")})`}}function xw(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pd(t){return xw(t).replace(/%3B/gi,";")}function Yj(t){return encodeURI(t)}function Qh(t){return xw(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hd(t){return decodeURIComponent(t)}function dw(t){return Hd(t.replace(/\+/g,"%20"))}function ww(t){return`${Qh(t.path)}${qj(t.parameters)}`}function qj(t){return Object.entries(t).map(([n,e])=>`;${Qh(n)}=${Qh(e)}`).join("")}function Kj(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Pd(e)}=${Pd(r)}`).join("&"):`${Pd(e)}=${Pd(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Zj=/^[^\/()?;#]+/;function Wh(t){let n=t.match(Zj);return n?n[0]:""}var Qj=/^[^\/()?;=#]+/;function Xj(t){let n=t.match(Qj);return n?n[0]:""}var Jj=/^[^=?&#]+/;function eU(t){let n=t.match(Jj);return n?n[0]:""}var tU=/^[^&#]+/;function iU(t){let n=t.match(tU);return n?n[0]:""}var Xh=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Nt([],{}):new Nt([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[at]=new Nt(n,e)),i}parseSegment(){let n=Wh(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new G(4009,!1);return this.capture(n),new Ya(Hd(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=Xj(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Wh(this.remaining);r&&(i=r,this.capture(i))}n[Hd(e)]=Hd(i)}parseQueryParam(n){let e=eU(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=iU(this.remaining);o&&(i=o,this.capture(i))}let r=dw(e),a=dw(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(a)}else n[r]=a}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Wh(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new G(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=at);let o=this.parseChildren();e[a??at]=Object.keys(o).length===1&&o[at]?o[at]:new Nt([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new G(4011,!1)}};function Dw(t){return t.segments.length>0?new Nt([],{[at]:t}):t}function Sw(t){let n={};for(let[i,r]of Object.entries(t.children)){let a=Sw(r);if(i===at&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[i]=a)}let e=new Nt(t.segments,n);return nU(e)}function nU(t){if(t.numberOfChildren===1&&t.children[at]){let n=t.children[at];return new Nt(t.segments.concat(n.segments),n.children)}return t}function Ys(t){return t instanceof mr}function Ew(t,n,e=null,i=null){let r=Lw(t);return kw(r,n,e,i)}function Lw(t){let n;function e(a){let o={};for(let l of a.children){let u=e(l);o[l.outlet]=u}let s=new Nt(a.url,o);return a===t&&(n=s),s}let i=e(t.root),r=Dw(i);return n??r}function kw(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return $h(r,r,r,e,i);let a=rU(n);if(a.toRoot())return $h(r,r,new Nt([],{}),e,i);let o=aU(a,r,t),s=o.processChildren?b3(o.segmentGroup,o.index,a.commands):Tw(o.segmentGroup,o.index,a.commands);return $h(r,o.segmentGroup,s,e,i)}function jd(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function C3(t){return typeof t=="object"&&t!=null&&t.outlets}function $h(t,n,e,i,r){let a={};i&&Object.entries(i).forEach(([l,u])=>{a[l]=Array.isArray(u)?u.map(h=>`${h}`):`${u}`});let o;t===n?o=e:o=Iw(t,n,e);let s=Dw(Sw(o));return new mr(s,a,r)}function Iw(t,n,e){let i={};return Object.entries(t.children).forEach(([r,a])=>{a===n?i[r]=e:i[r]=Iw(a,n,e)}),new Nt(t.segments,i)}var Ud=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&jd(i[0]))throw new G(4003,!1);let r=i.find(C3);if(r&&r!==vw(i))throw new G(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function rU(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ud(!0,0,t);let n=0,e=!1,i=t.reduce((r,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([l,u])=>{s[l]=typeof u=="string"?u.split("/"):u}),[...r,{outlets:s}]}if(a.segmentPath)return[...r,a.segmentPath]}return typeof a!="string"?[...r,a]:o===0?(a.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,a]},[]);return new Ud(e,n,i)}var Gs=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function aU(t,n,e){if(t.isAbsolute)return new Gs(n,!0,0);if(!e)return new Gs(n,!1,NaN);if(e.parent===null)return new Gs(e,!0,0);let i=jd(t.commands[0])?0:1,r=e.segments.length-1+i;return oU(e,r,t.numberOfDoubleDots)}function oU(t,n,e){let i=t,r=n,a=e;for(;a>r;){if(a-=r,i=i.parent,!i)throw new G(4005,!1);r=i.segments.length}return new Gs(i,!1,r-a)}function sU(t){return C3(t[0])?t[0].outlets:{[at]:t}}function Tw(t,n,e){if(t??=new Nt([],{}),t.segments.length===0&&t.hasChildren())return b3(t,n,e);let i=cU(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let a=new Nt(t.segments.slice(0,i.pathIndex),{});return a.children[at]=new Nt(t.segments.slice(i.pathIndex),t.children),b3(a,0,r)}else return i.match&&r.length===0?new Nt(t.segments,{}):i.match&&!t.hasChildren()?Jh(t,n,e):i.match?b3(t,0,r):Jh(t,n,e)}function b3(t,n,e){if(e.length===0)return new Nt(t.segments,{});{let i=sU(e),r={};if(Object.keys(i).some(a=>a!==at)&&t.children[at]&&t.numberOfChildren===1&&t.children[at].segments.length===0){let a=b3(t.children[at],n,e);return new Nt(t.segments,a.children)}return Object.entries(i).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[a]=Tw(t.children[a],n,o))}),Object.entries(t.children).forEach(([a,o])=>{i[a]===void 0&&(r[a]=o)}),new Nt(t.segments,r)}}function cU(t,n,e){let i=0,r=n,a={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return a;let o=t.segments[r],s=e[i];if(C3(s))break;let l=`${s}`,u=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!mw(l,u,o))return a;i+=2}else{if(!mw(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Jh(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let a=e[r];if(C3(a)){let l=lU(a.outlets);return new Nt(i,l)}if(r===0&&jd(e[0])){let l=t.segments[n];i.push(new Ya(l.path,uw(e[0]))),r++;continue}let o=C3(a)?a.outlets[at]:`${a}`,s=r<e.length-1?e[r+1]:null;o&&s&&jd(s)?(i.push(new Ya(o,uw(s))),r+=2):(i.push(new Ya(o,{})),r++)}return new Nt(i,{})}function lU(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Jh(new Nt([],{}),0,i))}),n}function uw(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function mw(t,n,e){return t==e.path&&dr(n,e.parameters)}var Ws="imperative",Fi=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(Fi||{}),jn=class{id;url;constructor(n,e){this.id=n,this.url=e}},Ka=class extends jn{type=Fi.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},B1=class extends jn{urlAfterRedirects;type=Fi.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},bn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(bn||{}),qs=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(qs||{}),ur=class extends jn{reason;code;type=Fi.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},fr=class extends jn{reason;code;type=Fi.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Ks=class extends jn{error;target;type=Fi.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},M3=class extends jn{urlAfterRedirects;state;type=Fi.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gd=class extends jn{urlAfterRedirects;state;type=Fi.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wd=class extends jn{urlAfterRedirects;state;shouldActivate;type=Fi.GuardsCheckEnd;constructor(n,e,i,r,a){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},$d=class extends jn{urlAfterRedirects;state;type=Fi.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yd=class extends jn{urlAfterRedirects;state;type=Fi.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qd=class{route;type=Fi.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Kd=class{route;type=Fi.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Zd=class{snapshot;type=Fi.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qd=class{snapshot;type=Fi.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xd=class{snapshot;type=Fi.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jd=class{snapshot;type=Fi.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zs=class{routerEvent;position;anchor;type=Fi.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},x3=class{},Qs=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function dU(t){return!(t instanceof x3)&&!(t instanceof Qs)}function uU(t,n){return t.providers&&!t._injector&&(t._injector=zs(t.providers,n,`Route: ${t.path}`)),t._injector??n}function V1(t){return t.outlet||at}function mU(t,n){let e=t.filter(i=>V1(i)===n);return e.push(...t.filter(i=>V1(i)!==n)),e}function ec(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var e8=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ec(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ea(this.rootInjector)}},ea=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new e8(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(me(Ut))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),t8=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=e9(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=e9(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=t9(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return t9(n,this._root).map(e=>e.value)}};function e9(t,n){if(t===n.value)return n;for(let e of n.children){let i=e9(t,e);if(i)return i}return null}function t9(t,n){if(t===n.value)return[n];for(let e of n.children){let i=t9(t,e);if(i.length)return i.unshift(n),i}return[]}var Hn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Us(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var w3=class extends t8{snapshot;constructor(n,e){super(n),this.snapshot=e,l9(this,n)}toString(){return this.snapshot.toString()}};function Aw(t){let n=fU(t),e=new Mt([new Ya("",{})]),i=new Mt({}),r=new Mt({}),a=new Mt({}),o=new Mt(""),s=new Un(e,i,a,o,r,at,t,n.root);return s.snapshot=n.root,new w3(new Hn(s,[]),n)}function fU(t){let n={},e={},i={},a=new d2([],n,i,"",e,at,t,null,{});return new D3("",new Hn(a,[]))}var Un=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,a,o,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Ce(u=>u[k3]))??ge(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Ce(n=>u2(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ce(n=>u2(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function i8(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:z(z({},n.params),t.params),data:z(z({},n.data),t.data),resolve:z(z(z(z({},t.data),n.data),r?.data),t._resolvedData)}:i={params:z({},t.params),data:z({},t.data),resolve:z(z({},t.data),t._resolvedData??{})},r&&Rw(r)&&(i.resolve[k3]=r.title),i}var d2=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[k3]}constructor(n,e,i,r,a,o,s,l,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=u2(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=u2(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},D3=class extends t8{url;constructor(n,e){super(e),this.url=n,l9(this,e)}toString(){return zw(this._root)}};function l9(t,n){n.value._routerState=t,n.children.forEach(e=>l9(t,e))}function zw(t){let n=t.children.length>0?` { ${t.children.map(zw).join(", ")} } `:"";return`${t.value}${n}`}function Yh(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,dr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),dr(n.params,e.params)||t.paramsSubject.next(e.params),Bj(n.url,e.url)||t.urlSubject.next(e.url),dr(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function i9(t,n){let e=dr(t.params,n.params)&&Gj(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||i9(t.parent,n.parent))}function Rw(t){return typeof t.title=="string"||t.title===null}var Nw=new L(""),I3=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=at;activateEvents=new $;deactivateEvents=new $;attachEvents=new $;detachEvents=new $;routerOutletData=ut();parentContexts=m(ea);location=m(Tt);changeDetector=m(ze);inputBinder=m(T3,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new G(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new G(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new G(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new G(4013,!1);this._activatedRoute=e;let r=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new n9(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[nt]})}return t})(),n9=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Un?this.route:n===ea?this.childContexts:n===Nw?this.outletData:this.parent.get(n,e)}},T3=new L(""),d9=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Jn([i.queryParams,i.params,i.data]).pipe(Qt(([a,o,s],l)=>(s=z(z(z({},a),o),s),l===0?ge(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let o=vx(i.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),u9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&ie(0,"router-outlet")},dependencies:[I3],encapsulation:2})}return t})();function m9(t){let n=t.children&&t.children.map(m9),e=n?Ue(z({},t),{children:n}):z({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==at&&(e.component=u9),e}function hU(t,n,e){let i=S3(t,n._root,e?e._root:void 0);return new w3(i,n)}function S3(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=pU(t,n,e);return new Hn(i,r)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>S3(t,s)),o}}let i=gU(n.value),r=n.children.map(a=>S3(t,a));return new Hn(i,r)}}function pU(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return S3(t,i,r);return S3(t,i)})}function gU(t){return new Un(new Mt(t.url),new Mt(t.params),new Mt(t.queryParams),new Mt(t.fragment),new Mt(t.data),t.outlet,t.component,t)}var Xs=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Ow="ngNavigationCancelingError";function n8(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Ys(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=Pw(!1,bn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function Pw(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Ow]=!0,e.cancellationCode=n,e}function _U(t){return Fw(t)&&Ys(t.url)}function Fw(t){return!!t&&t[Ow]}var vU=(t,n,e,i)=>Ce(r=>(new r9(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),r9=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,a){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=a}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Yh(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=Us(e);n.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,r[o],i),delete r[o]}),Object.values(r).forEach(a=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r===a)if(r.component){let o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else a&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=Us(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){let o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=Us(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=Us(e);n.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],i),this.forwardEvent(new Jd(a.value.snapshot))}),n.children.length&&this.forwardEvent(new Qd(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(Yh(r),r===a)if(r.component){let o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Yh(s.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,i)}},r8=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},$s=class{component;route;constructor(n,e){this.component=n,this.route=e}};function bU(t,n,e){let i=t._root,r=n?n._root:null;return v3(i,r,e,[i.value])}function yU(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function tc(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!x7(t)?t:n.get(t):i}function v3(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=Us(n);return t.children.forEach(o=>{CU(o,a[o.value.outlet],e,i.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>y3(s,e.getContext(o),r)),r}function CU(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let l=MU(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new r8(i)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?v3(t,n,s?s.children:null,i,r):v3(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new $s(s.outlet.component,o))}else o&&y3(n,s,r),r.canActivateChecks.push(new r8(i)),a.component?v3(t,null,s?s.children:null,i,r):v3(t,null,e,i,r);return r}function MU(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!l2(t.url,n.url);case"pathParamsOrQueryParamsChange":return!l2(t.url,n.url)||!dr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!i9(t,n)||!dr(t.queryParams,n.queryParams);case"paramsChange":default:return!i9(t,n)}}function y3(t,n,e){let i=Us(t),r=t.value;Object.entries(i).forEach(([a,o])=>{r.component?n?y3(o,n.children.getContext(a),e):y3(o,null,e):y3(o,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new $s(n.outlet.component,r)):e.canDeactivateChecks.push(new $s(null,r)):e.canDeactivateChecks.push(new $s(null,r))}function A3(t){return typeof t=="function"}function xU(t){return typeof t=="boolean"}function wU(t){return t&&A3(t.canLoad)}function DU(t){return t&&A3(t.canActivate)}function SU(t){return t&&A3(t.canActivateChild)}function EU(t){return t&&A3(t.canDeactivate)}function LU(t){return t&&A3(t.canMatch)}function Vw(t){return t instanceof Rr||t?.name==="EmptyError"}var Fd=Symbol("INITIAL_VALUE");function Js(){return Qt(t=>Jn(t.map(n=>n.pipe(_t(1),Ft(Fd)))).pipe(Ce(n=>{for(let e of n)if(e!==!0){if(e===Fd)return Fd;if(e===!1||kU(e))return e}return!0}),lt(n=>n!==Fd),_t(1)))}function kU(t){return Ys(t)||t instanceof Xs}function IU(t,n){return yi(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return o.length===0&&a.length===0?ge(Ue(z({},e),{guardsResult:!0})):TU(o,i,r,t).pipe(yi(s=>s&&xU(s)?AU(i,a,t,n):ge(s)),Ce(s=>Ue(z({},e),{guardsResult:s})))})}function TU(t,n,e,i){return Kt(t).pipe(yi(r=>PU(r.component,r.route,e,n,i)),Pr(r=>r!==!0,!0))}function AU(t,n,e,i){return Kt(n).pipe(Z1(r=>Ea(RU(r.route.parent,i),zU(r.route,i),OU(t,r.path,e),NU(t,r.route,e))),Pr(r=>r!==!0,!0))}function zU(t,n){return t!==null&&n&&n(new Xd(t)),ge(!0)}function RU(t,n){return t!==null&&n&&n(new Zd(t)),ge(!0)}function NU(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return ge(!0);let r=i.map(a=>L1(()=>{let o=ec(n)??e,s=tc(a,o),l=DU(s)?s.canActivate(n,t):ji(o,()=>s(n,t));return Jr(l).pipe(Pr())}));return ge(r).pipe(Js())}function OU(t,n,e){let i=n[n.length-1],a=n.slice(0,n.length-1).reverse().map(o=>yU(o)).filter(o=>o!==null).map(o=>L1(()=>{let s=o.guards.map(l=>{let u=ec(o.node)??e,h=tc(l,u),g=SU(h)?h.canActivateChild(i,t):ji(u,()=>h(i,t));return Jr(g).pipe(Pr())});return ge(s).pipe(Js())}));return ge(a).pipe(Js())}function PU(t,n,e,i,r){let a=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!a||a.length===0)return ge(!0);let o=a.map(s=>{let l=ec(n)??r,u=tc(s,l),h=EU(u)?u.canDeactivate(t,n,e,i):ji(l,()=>u(t,n,e,i));return Jr(h).pipe(Pr())});return ge(o).pipe(Js())}function FU(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return ge(!0);let a=r.map(o=>{let s=tc(o,t),l=wU(s)?s.canLoad(n,e):ji(t,()=>s(n,e));return Jr(l)});return ge(a).pipe(Js(),Bw(i))}function Bw(t){return t7(ri(n=>{if(typeof n!="boolean")throw n8(t,n)}),Ce(n=>n===!0))}function VU(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return ge(!0);let a=r.map(o=>{let s=tc(o,t),l=LU(s)?s.canMatch(n,e):ji(t,()=>s(n,e));return Jr(l)});return ge(a).pipe(Js(),Bw(i))}var E3=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},L3=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function js(t){return Da(new E3(t))}function BU(t){return Da(new G(4e3,!1))}function HU(t){return Da(Pw(!1,bn.GuardRejected))}var a9=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return ge(i);if(r.numberOfChildren>1||!r.children[at])return BU(`${n.redirectTo}`);r=r.children[at]}}applyRedirectCommands(n,e,i,r,a){return jU(e,r,a).pipe(Ce(o=>{if(o instanceof mr)throw new L3(o);let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),n,i);if(o[0]==="/")throw new L3(s);return s}))}applyRedirectCreateUrlTree(n,e,i,r){let a=this.createSegmentGroup(n,e.root,i,r);return new mr(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);i[r]=e[s]}else i[r]=a}),i}createSegmentGroup(n,e,i,r){let a=this.createSegments(n,e.segments,i,r),o={};return Object.entries(e.children).forEach(([s,l])=>{o[s]=this.createSegmentGroup(n,l,i,r)}),new Nt(a,o)}createSegments(n,e,i,r){return e.map(a=>a.path[0]===":"?this.findPosParam(n,a,r):this.findOrReturn(a,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new G(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function jU(t,n,e){if(typeof t=="string")return ge(t);let i=t,{queryParams:r,fragment:a,routeConfig:o,url:s,outlet:l,params:u,data:h,title:g}=n;return Jr(ji(e,()=>i({params:u,data:h,queryParams:r,fragment:a,routeConfig:o,url:s,outlet:l,title:g})))}var o9={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function UU(t,n,e,i,r){let a=Hw(t,n,e);return a.matched?(i=uU(n,i),VU(i,n,e,r).pipe(Ce(o=>o===!0?a:z({},o9)))):ge(a)}function Hw(t,n,e){if(n.path==="**")return GU(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?z({},o9):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||gw)(e,t,n);if(!r)return z({},o9);let a={};Object.entries(r.posParams??{}).forEach(([s,l])=>{a[s]=l.path});let o=r.consumed.length>0?z(z({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function GU(t){return{matched:!0,parameters:t.length>0?vw(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function fw(t,n,e,i){return e.length>0&&YU(t,e,i)?{segmentGroup:new Nt(n,$U(i,new Nt(e,t.children))),slicedSegments:[]}:e.length===0&&qU(t,e,i)?{segmentGroup:new Nt(t.segments,WU(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Nt(t.segments,t.children),slicedSegments:e}}function WU(t,n,e,i){let r={};for(let a of e)if(o8(t,n,a)&&!i[V1(a)]){let o=new Nt([],{});r[V1(a)]=o}return z(z({},i),r)}function $U(t,n){let e={};e[at]=n;for(let i of t)if(i.path===""&&V1(i)!==at){let r=new Nt([],{});e[V1(i)]=r}return e}function YU(t,n,e){return e.some(i=>o8(t,n,i)&&V1(i)!==at)}function qU(t,n,e){return e.some(i=>o8(t,n,i))}function o8(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function KU(t,n,e){return n.length===0&&!t.children[e]}var s9=class{};function ZU(t,n,e,i,r,a,o="emptyOnly"){return new c9(t,n,e,i,r,o,a).recognize()}var QU=31,c9=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,a,o,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new a9(this.urlSerializer,this.urlTree)}noMatchError(n){return new G(4002,`'${n.segmentGroup}'`)}recognize(){let n=fw(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Ce(({children:e,rootSnapshot:i})=>{let r=new Hn(i,e),a=new D3("",r),o=Ew(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}}))}match(n){let e=new d2([],Object.freeze({}),Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),at,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,at,e).pipe(Ce(i=>({children:i,rootSnapshot:e})),k1(i=>{if(i instanceof L3)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof E3?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,a){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,a):this.processSegment(n,e,i,i.segments,r,!0,a).pipe(Ce(o=>o instanceof Hn?[o]:[]))}processChildren(n,e,i,r){let a=[];for(let o of Object.keys(i.children))o==="primary"?a.unshift(o):a.push(o);return Kt(a).pipe(Z1(o=>{let s=i.children[o],l=mU(e,o);return this.processSegmentGroup(n,l,s,o,r)}),c7((o,s)=>(o.push(...s),o)),La(null),s7(),yi(o=>{if(o===null)return js(i);let s=jw(o);return XU(s),ge(s)}))}processSegment(n,e,i,r,a,o,s){return Kt(e).pipe(Z1(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,a,o,s).pipe(k1(u=>{if(u instanceof E3)return ge(null);throw u}))),Pr(l=>!!l),k1(l=>{if(Vw(l))return KU(i,r,a)?ge(new s9):js(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,a,o,s,l){return V1(i)!==o&&(o===at||!o8(r,a,i))?js(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,a,o,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,a,o,l):js(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,a,o,s){let{matched:l,parameters:u,consumedSegments:h,positionalParamSegments:g,remainingSegments:C}=Hw(e,r,a);if(!l)return js(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>QU&&(this.allowRedirects=!1));let M=new d2(a,u,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,hw(r),V1(r),r.component??r._loadedComponent??null,r,pw(r)),x=i8(M,s,this.paramsInheritanceStrategy);return M.params=Object.freeze(x.params),M.data=Object.freeze(x.data),this.applyRedirects.applyRedirectCommands(h,r.redirectTo,g,M,n).pipe(Qt(I=>this.applyRedirects.lineralizeSegments(r,I)),yi(I=>this.processSegment(n,i,e,I.concat(C),o,!1,s)))}matchSegmentAgainstRoute(n,e,i,r,a,o){let s=UU(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(Qt(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(Qt(({routes:u})=>{let h=i._loadedInjector??n,{parameters:g,consumedSegments:C,remainingSegments:M}=l,x=new d2(C,g,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,hw(i),V1(i),i.component??i._loadedComponent??null,i,pw(i)),k=i8(x,o,this.paramsInheritanceStrategy);x.params=Object.freeze(k.params),x.data=Object.freeze(k.data);let{segmentGroup:I,slicedSegments:T}=fw(e,C,M,u);if(T.length===0&&I.hasChildren())return this.processChildren(h,u,I,x).pipe(Ce(ye=>new Hn(x,ye)));if(u.length===0&&T.length===0)return ge(new Hn(x,[]));let ce=V1(i)===a;return this.processSegment(h,u,I,T,ce?at:a,!0,x).pipe(Ce(ye=>new Hn(x,ye instanceof Hn?[ye]:[])))}))):js(e)))}getChildConfig(n,e,i){return e.children?ge({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?ge({routes:e._loadedRoutes,injector:e._loadedInjector}):FU(n,e,i,this.urlSerializer).pipe(yi(r=>r?this.configLoader.loadChildren(n,e).pipe(ri(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):HU(e))):ge({routes:[],injector:n})}};function XU(t){t.sort((n,e)=>n.value.outlet===at?-1:e.value.outlet===at?1:n.value.outlet.localeCompare(e.value.outlet))}function JU(t){let n=t.value.routeConfig;return n&&n.path===""}function jw(t){let n=[],e=new Set;for(let i of t){if(!JU(i)){n.push(i);continue}let r=n.find(a=>i.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=jw(i.children);n.push(new Hn(i.value,r))}return n.filter(i=>!e.has(i))}function hw(t){return t.data||{}}function pw(t){return t.resolve||{}}function eG(t,n,e,i,r,a){return yi(o=>ZU(t,n,e,i,o.extractedUrl,r,a).pipe(Ce(({state:s,tree:l})=>Ue(z({},o),{targetSnapshot:s,urlAfterRedirects:l}))))}function tG(t,n){return yi(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ge(e);let a=new Set(r.map(l=>l.route)),o=new Set;for(let l of a)if(!o.has(l))for(let u of Uw(l))o.add(u);let s=0;return Kt(o).pipe(Z1(l=>a.has(l)?iG(l,i,t,n):(l.data=i8(l,l.parent,t).resolve,ge(void 0))),ri(()=>s++),cs(1),yi(l=>s===o.size?ge(e):Si))})}function Uw(t){let n=t.children.map(e=>Uw(e)).flat();return[t,...n]}function iG(t,n,e,i){let r=t.routeConfig,a=t._resolve;return r?.title!==void 0&&!Rw(r)&&(a[k3]=r.title),L1(()=>(t.data=i8(t,t.parent,e).resolve,nG(a,t,n,i).pipe(Ce(o=>(t._resolvedData=o,t.data=z(z({},t.data),o),null)))))}function nG(t,n,e,i){let r=Zh(t);if(r.length===0)return ge({});let a={};return Kt(r).pipe(yi(o=>rG(t[o],n,e,i).pipe(Pr(),ri(s=>{if(s instanceof Xs)throw n8(new qa,s);a[o]=s}))),cs(1),Ce(()=>a),k1(o=>Vw(o)?Si:Da(o)))}function rG(t,n,e,i){let r=ec(n)??i,a=tc(t,r),o=a.resolve?a.resolve(n,e):ji(r,()=>a(n,e));return Jr(o)}function qh(t){return Qt(n=>{let e=t(n);return e?Kt(e).pipe(Ce(()=>n)):ge(n)})}var f9=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(a=>a.outlet===at);return i}getResolvedTitleForRoute(e){return e.data[k3]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(Gw),providedIn:"root"})}return t})(),Gw=(()=>{class t extends f9{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(me(cw))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Za=new L("",{providedIn:"root",factory:()=>({})}),f2=new L(""),s8=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(Jf);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return ge(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=Jr(ji(e,()=>i.loadComponent())).pipe(Ce($w),Qt(Yw),ri(o=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=o}),Or(()=>{this.componentLoaders.delete(i)})),a=new wa(r,()=>new N).pipe(is());return this.componentLoaders.set(i,a),a}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ge({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Ww(i,this.compiler,e,this.onLoadEndListener).pipe(Or(()=>{this.childrenLoaders.delete(i)})),o=new wa(a,()=>new N).pipe(is());return this.childrenLoaders.set(i,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ww(t,n,e,i){return Jr(ji(e,()=>t.loadChildren())).pipe(Ce($w),Qt(Yw),yi(r=>r instanceof dd||Array.isArray(r)?ge(r):Kt(n.compileModuleAsync(r))),Ce(r=>{i&&i(t);let a,o,s=!1;return Array.isArray(r)?(o=r,s=!0):(a=r.create(e).injector,o=a.get(f2,[],{optional:!0,self:!0}).flat()),{routes:o.map(m9),injector:a}}))}function aG(t){return t&&typeof t=="object"&&"default"in t}function $w(t){return aG(t)?t.default:t}function Yw(t){return ge(t)}var c8=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(oG),providedIn:"root"})}return t})(),oG=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),h9=new L(""),p9=new L("");function qw(t,n,e){let i=t.get(p9),r=t.get(_e);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(u=>setTimeout(u));let a,o=new Promise(u=>{a=u}),s=r.startViewTransition(()=>(a(),sG(t)));s.ready.catch(u=>{});let{onViewTransitionCreated:l}=i;return l&&ji(t,()=>l({transition:s,from:n,to:e})),o}function sG(t){return new Promise(n=>{Dt({read:()=>setTimeout(n)},{injector:t})})}var g9=new L(""),l8=(()=>{class t{currentNavigation=Te(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new N;transitionAbortWithErrorSubject=new N;configLoader=m(s8);environmentInjector=m(Ut);destroyRef=m(nn);urlSerializer=m(m2);rootContexts=m(ea);location=m(u1);inputBindingEnabled=m(T3,{optional:!0})!==null;titleStrategy=m(f9);options=m(Za,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(c8);createViewTransition=m(h9,{optional:!0});navigationErrorHandler=m(g9,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ge(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new qd(r)),i=r=>this.events.next(new Kd(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;di(()=>{this.transitions?.next(Ue(z({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))})}setupNavigations(e){return this.transitions=new Mt(null),this.transitions.pipe(lt(i=>i!==null),Qt(i=>{let r=!1;return ge(i).pipe(Qt(a=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),Si;this.currentTransition=i,this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Ue(z({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>a.abortController.abort()});let o=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),s=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!o&&s!=="reload")return this.events.next(new fr(a.id,this.urlSerializer.serialize(a.rawUrl),"",qs.IgnoredSameUrlNavigation)),a.resolve(!1),Si;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ge(a).pipe(Qt(l=>(this.events.next(new Ka(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Si:Promise.resolve(l))),eG(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ri(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=l.urlAfterRedirects,h));let u=new M3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}));if(o&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:l,extractedUrl:u,source:h,restoredState:g,extras:C}=a,M=new Ka(l,this.urlSerializer.serialize(u),h,g);this.events.next(M);let x=Aw(this.rootComponentType).snapshot;return this.currentTransition=i=Ue(z({},a),{targetSnapshot:x,urlAfterRedirects:u,extras:Ue(z({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(k=>(k.finalUrl=u,k)),ge(i)}else return this.events.next(new fr(a.id,this.urlSerializer.serialize(a.extractedUrl),"",qs.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Si}),ri(a=>{let o=new Gd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(o)}),Ce(a=>(this.currentTransition=i=Ue(z({},a),{guards:bU(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),IU(this.environmentInjector,a=>this.events.next(a)),ri(a=>{if(i.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw n8(this.urlSerializer,a.guardsResult);let o=new Wd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(o)}),lt(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",bn.GuardRejected),!1)),qh(a=>{if(a.guards.canActivateChecks.length!==0)return ge(a).pipe(ri(o=>{let s=new $d(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),Qt(o=>{let s=!1;return ge(o).pipe(tG(this.paramsInheritanceStrategy,this.environmentInjector),ri({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(o,"",bn.NoDataFromResolver)}}))}),ri(o=>{let s=new Yd(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}))}),qh(a=>{let o=s=>{let l=[];if(s.routeConfig?.loadComponent){let u=ec(s)??this.environmentInjector;l.push(this.configLoader.loadComponent(u,s.routeConfig).pipe(ri(h=>{s.component=h}),Ce(()=>{})))}for(let u of s.children)l.push(...o(u));return l};return Jn(o(a.targetSnapshot.root)).pipe(La(null),_t(1))}),qh(()=>this.afterPreactivation()),Qt(()=>{let{currentSnapshot:a,targetSnapshot:o}=i,s=this.createViewTransition?.(this.environmentInjector,a.root,o.root);return s?Kt(s).pipe(Ce(()=>i)):ge(i)}),Ce(a=>{let o=hU(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=i=Ue(z({},a),{targetRouterState:o}),this.currentNavigation.update(s=>(s.targetRouterState=o,s)),i}),ri(()=>{this.events.next(new x3)}),vU(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),_t(1),je(new He(a=>{let o=i.abortController.signal,s=()=>a.next();return o.addEventListener("abort",s),()=>o.removeEventListener("abort",s)}).pipe(lt(()=>!r&&!i.targetRouterState),ri(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",bn.Aborted)}))),ri({next:a=>{r=!0,this.lastSuccessfulNavigation=di(this.currentNavigation),this.events.next(new B1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{r=!0}}),je(this.transitionAbortWithErrorSubject.pipe(ri(a=>{throw a}))),Or(()=>{r||this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),k1(a=>{if(this.destroyed)return i.resolve(!1),Si;if(r=!0,Fw(a))this.events.next(new ur(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode)),_U(a)?this.events.next(new Qs(a.url,a.navigationBehaviorOptions)):i.resolve(!1);else{let o=new Ks(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);try{let s=ji(this.environmentInjector,()=>this.navigationErrorHandler?.(o));if(s instanceof Xs){let{message:l,cancellationCode:u}=n8(this.urlSerializer,s);this.events.next(new ur(i.id,this.urlSerializer.serialize(i.extractedUrl),l,u)),this.events.next(new Qs(s.redirectTo,s.navigationBehaviorOptions))}else throw this.events.next(o),a}catch(s){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(s)}}return Si}))}))}cancelNavigationTransition(e,i,r){let a=new ur(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=di(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cG(t){return t!==Ws}var d8=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(lG),providedIn:"root"})}return t})(),a8=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},lG=(()=>{class t extends a8{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kw=(()=>{class t{urlSerializer=m(m2);options=m(Za,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(u1);urlHandlingStrategy=m(c8);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new mr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let a=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,o=r??a;return o instanceof mr?this.urlSerializer.serialize(o):o}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=Aw(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>m(dG),providedIn:"root"})}return t})(),dG=(()=>{class t extends Kw{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Ka?this.updateStateMemento():e instanceof fr?this.commitTransition(i):e instanceof M3?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof x3?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof ur&&e.code!==bn.SupersededByNewNavigation&&e.code!==bn.Redirect?this.restoreHistory(i):e instanceof Ks?this.restoreHistory(i,!0):e instanceof B1&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:a,state:o}=i;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,l=z(z({},o),this.generateNgRouterState(r,s));this.location.replaceState(e,"",l)}else{let s=z(z({},o),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,a=this.currentPageId-r;a!==0?this.location.historyGo(a):this.getCurrentUrlTree()===e.finalUrl&&a===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function u8(t,n){t.events.pipe(lt(e=>e instanceof B1||e instanceof ur||e instanceof Ks||e instanceof fr),Ce(e=>e instanceof B1||e instanceof fr?0:(e instanceof ur?e.code===bn.Redirect||e.code===bn.SupersededByNewNavigation:!1)?2:1),lt(e=>e!==2),_t(1)).subscribe(()=>{n()})}var uG={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mG={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Gn=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(ud);stateManager=m(Kw);options=m(Za,{optional:!0})||{};pendingTasks=m(rr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m(l8);urlSerializer=m(m2);location=m(u1);urlHandlingStrategy=m(c8);injector=m(Ut);_events=new N;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(d8);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(f2,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(T3,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Oe;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,a=di(this.navigationTransitions.currentNavigation);if(r!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof ur&&i.code!==bn.Redirect&&i.code!==bn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof B1)this.navigated=!0;else if(i instanceof Qs){let o=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=z({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||cG(r.source)},o);this.scheduleNavigation(s,Ws,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}dU(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ws,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){let l=z({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,o,a).catch(l=>{this.disposed||this.injector.get(Ln)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return di(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(m9),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:o,h=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":h=z(z({},this.currentUrlTree.queryParams),a);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=a||null}h!==null&&(h=this.removeEmptyProps(h));let g;try{let C=r?r.snapshot:this.routerState.snapshot.root;g=Lw(C)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),g=this.currentUrlTree.root}return kw(g,e,h,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Ys(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Ws,null,i)}navigate(e,i={skipLocationChange:!1}){return fG(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(t1(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=z({},uG):i===!1?r=z({},mG):r=i,Ys(e))return lw(this.currentUrlTree,e,r);let a=this.parseUrl(e);return lw(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,a])=>(a!=null&&(i[r]=a),i),{})}scheduleNavigation(e,i,r,a,o){if(this.disposed)return Promise.resolve(!1);let s,l,u;o?(s=o.resolve,l=o.reject,u=o.promise):u=new Promise((g,C)=>{s=g,l=C});let h=this.pendingTasks.add();return u8(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(g=>Promise.reject(g))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fG(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new G(4008,!1)}var z3=class{};var Zw=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,a){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(lt(e=>e instanceof B1),Z1(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let a of i){a.providers&&!a._injector&&(a._injector=zs(a.providers,e,`Route: ${a.path}`));let o=a._injector??e,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&r.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&r.push(this.processRoutes(s,a.children??a._loadedRoutes))}return Kt(r).pipe(Sa())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=ge(null);let a=r.pipe(yi(o=>o===null?ge(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(i.loadComponent&&!i._loadedComponent){let o=this.loader.loadComponent(e,i);return Kt([a,o]).pipe(Sa())}else return a})}static \u0275fac=function(i){return new(i||t)(me(Gn),me(Ut),me(z3),me(s8))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qw=new L(""),hG=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ws;restoredId=0;store={};constructor(e,i,r,a,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=a,this.options=o,o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ka?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof B1?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof fr&&e.code===qs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Zs))return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>S1(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new Zs(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){As()};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function v9(t,...n){return Hr([{provide:f2,multi:!0,useValue:t},[],{provide:Un,useFactory:Xw,deps:[Gn]},{provide:ql,multi:!0,useFactory:Jw},n.map(e=>e.\u0275providers)])}function Xw(t){return t.routerState.root}function ic(t,n){return{\u0275kind:t,\u0275providers:n}}function Jw(){let t=m(ve);return n=>{let e=t.get(rn);if(n!==e.components[0])return;let i=t.get(Gn),r=t.get(eD);t.get(b9)===1&&i.initialNavigation(),t.get(nD,null,{optional:!0})?.setUpPreloading(),t.get(Qw,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var eD=new L("",{factory:()=>new N}),b9=new L("",{providedIn:"root",factory:()=>1});function tD(){let t=[{provide:K6,useValue:!0},{provide:b9,useValue:0},hd(()=>{let n=m(ve);return n.get(bh,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Gn),a=n.get(eD);u8(r,()=>{i(!0)}),n.get(l8).afterPreactivation=()=>(i(!0),a.closed?ge(void 0):a),r.initialNavigation()}))})];return ic(2,t)}function iD(){let t=[hd(()=>{m(Gn).setUpLocationChangeListener()}),{provide:b9,useValue:2}];return ic(3,t)}var nD=new L("");function rD(t){return ic(0,[{provide:nD,useExisting:Zw},{provide:z3,useExisting:t}])}function y9(t){return ic(5,[{provide:Za,useValue:t}])}function aD(){return ic(8,[d9,{provide:T3,useExisting:d9}])}function oD(t){l1("NgRouterViewTransitions");let n=[{provide:h9,useValue:qw},{provide:p9,useValue:z({skipNextTransition:!!t?.skipInitialTransition},t)}];return ic(9,n)}var sD=[u1,{provide:m2,useClass:qa},Gn,ea,{provide:Un,useFactory:Xw,deps:[Gn]},s8,[]],R3=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[sD,[],{provide:f2,multi:!0,useValue:e},[],i?.errorHandler?{provide:g9,useValue:i.errorHandler}:[],{provide:Za,useValue:i||{}},i?.useHash?gG():_G(),pG(),i?.preloadingStrategy?rD(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?vG(i):[],i?.bindToComponentInputs?aD().\u0275providers:[],i?.enableViewTransitions?oD().\u0275providers:[],bG()]}}static forChild(e){return{ngModule:t,providers:[{provide:f2,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();function pG(){return{provide:Qw,useFactory:()=>{let t=m(Vx),n=m(te),e=m(Za),i=m(l8),r=m(m2);return e.scrollOffset&&t.setOffset(e.scrollOffset),new hG(r,i,t,n,e)}}}function gG(){return{provide:Qr,useClass:Dh}}function _G(){return{provide:Qr,useClass:Md}}function vG(t){return[t.initialNavigation==="disabled"?iD().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tD().\u0275providers:[]]}var _9=new L("");function bG(){return[{provide:_9,useFactory:Jw},{provide:ql,multi:!0,useExisting:_9}]}var pD=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(ne(ht),ne(Y))};static \u0275dir=W({type:t})}return t})(),gD=(()=>{class t extends pD{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275dir=W({type:t,features:[Be]})}return t})(),Gi=new L("");var CG={provide:Gi,useExisting:Gt(()=>B3),multi:!0};function MG(){let t=Tn()?Tn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var xG=new L(""),B3=(()=>{class t extends pD{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!MG())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(ne(ht),ne(Y),ne(xG,8))};static \u0275dir=W({type:t,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(i,r){i&1&&P("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[Ie([CG]),Be]})}return t})();function x9(t){return t==null||w9(t)===0}function w9(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ia=new L(""),x8=new L(""),wG=/^(?=.{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])?)*$/,Qa=class{static min(n){return DG(n)}static max(n){return SG(n)}static required(n){return EG(n)}static requiredTrue(n){return LG(n)}static email(n){return kG(n)}static minLength(n){return IG(n)}static maxLength(n){return TG(n)}static pattern(n){return AG(n)}static nullValidator(n){return _D()}static compose(n){return xD(n)}static composeAsync(n){return wD(n)}};function DG(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function SG(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function EG(t){return x9(t.value)?{required:!0}:null}function LG(t){return t.value===!0?null:{required:!0}}function kG(t){return x9(t.value)||wG.test(t.value)?null:{email:!0}}function IG(t){return n=>{let e=n.value?.length??w9(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function TG(t){return n=>{let e=n.value?.length??w9(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function AG(t){if(!t)return _D;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(x9(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function _D(t){return null}function vD(t){return t!=null}function bD(t){return Zr(t)?Kt(t):t}function yD(t){let n={};return t.forEach(e=>{n=e!=null?z(z({},n),e):n}),Object.keys(n).length===0?null:n}function CD(t,n){return n.map(e=>e(t))}function zG(t){return!t.validate}function MD(t){return t.map(n=>zG(n)?n:e=>n.validate(e))}function xD(t){if(!t)return null;let n=t.filter(vD);return n.length==0?null:function(e){return yD(CD(e,n))}}function D9(t){return t!=null?xD(MD(t)):null}function wD(t){if(!t)return null;let n=t.filter(vD);return n.length==0?null:function(e){let i=CD(e,n).map(bD);return fl(i).pipe(Ce(yD))}}function S9(t){return t!=null?wD(MD(t)):null}function cD(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function DD(t){return t._rawValidators}function SD(t){return t._rawAsyncValidators}function M9(t){return t?Array.isArray(t)?t:[t]:[]}function f8(t,n){return Array.isArray(t)?t.includes(n):t===n}function lD(t,n){let e=M9(n);return M9(t).forEach(r=>{f8(e,r)||e.push(r)}),e}function dD(t,n){return M9(n).filter(e=>!f8(t,e))}var h8=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(n){this._rawValidators=n||[],this._composedValidatorFn=D9(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=S9(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},ta=class extends h8{name;get formDirective(){return null}get path(){return null}},f1=class extends h8{_parent=null;name=null;valueAccessor=null},p8=class{_cd;constructor(n){this._cd=n}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}},RG={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},hRe=Ue(z({},RG),{"[class.ng-submitted]":"isSubmitted"}),ac=(()=>{class t extends p8{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(ne(f1,2))};static \u0275dir=W({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ee("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Be]})}return t})(),w8=(()=>{class t extends p8{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(ne(ta,10))};static \u0275dir=W({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ee("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Be]})}return t})();var N3="VALID",m8="INVALID",nc="PENDING",O3="DISABLED",Xa=class{},g8=class extends Xa{value;source;constructor(n,e){super(),this.value=n,this.source=e}},F3=class extends Xa{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},V3=class extends Xa{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},rc=class extends Xa{status;source;constructor(n,e){super(),this.status=n,this.source=e}},_8=class extends Xa{source;constructor(n){super(),this.source=n}},v8=class extends Xa{source;constructor(n){super(),this.source=n}};function ED(t){return(D8(t)?t.validators:t)||null}function NG(t){return Array.isArray(t)?D9(t):t||null}function LD(t,n){return(D8(n)?n.asyncValidators:t)||null}function OG(t){return Array.isArray(t)?S9(t):t||null}function D8(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function PG(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new G(1e3,"");if(!i[e])throw new G(1001,"")}function FG(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new G(1002,"")})}var b8=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return di(this.statusReactive)}set status(n){di(()=>this.statusReactive.set(n))}_status=ui(()=>this.statusReactive());statusReactive=Te(void 0);get valid(){return this.status===N3}get invalid(){return this.status===m8}get pending(){return this.status==nc}get disabled(){return this.status===O3}get enabled(){return this.status!==O3}errors;get pristine(){return di(this.pristineReactive)}set pristine(n){di(()=>this.pristineReactive.set(n))}_pristine=ui(()=>this.pristineReactive());pristineReactive=Te(!0);get dirty(){return!this.pristine}get touched(){return di(this.touchedReactive)}set touched(n){di(()=>this.touchedReactive.set(n))}_touched=ui(()=>this.touchedReactive());touchedReactive=Te(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(lD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(lD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(dD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(dD(n,this._rawAsyncValidators))}hasValidator(n){return f8(this._rawValidators,n)}hasAsyncValidator(n){return f8(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Ue(z({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new V3(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new V3(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Ue(z({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new F3(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new F3(!0,i))}markAsPending(n={}){this.status=nc;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new rc(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Ue(z({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=O3,this.errors=null,this._forEachChild(r=>{r.disable(Ue(z({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new g8(this.value,i)),this._events.next(new rc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ue(z({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=N3,this._forEachChild(i=>{i.enable(Ue(z({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Ue(z({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===N3||this.status===nc)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new g8(this.value,e)),this._events.next(new rc(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Ue(z({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?O3:N3}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=nc,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=bD(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new rc(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?O3:this.errors?m8:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(nc)?nc:this._anyControlsHaveStatus(m8)?m8:N3}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new F3(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new V3(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){D8(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=NG(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=OG(this._rawAsyncValidators)}},Ja=class extends b8{constructor(n,e,i){super(ED(e),LD(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){FG(this,!0,n),Object.keys(n).forEach(i=>{PG(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new v8(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,a)=>{i=e(i,r,a)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var E9=Ja;var H3=new L("",{providedIn:"root",factory:()=>S8}),S8="always";function kD(t,n){return[...n.path,t]}function y8(t,n,e=S8){L9(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),BG(t,n),jG(t,n),HG(t,n),VG(t,n)}function uD(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),M8(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function C8(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function VG(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function L9(t,n){let e=DD(t);n.validator!==null?t.setValidators(cD(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=SD(t);n.asyncValidator!==null?t.setAsyncValidators(cD(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();C8(n._rawValidators,r),C8(n._rawAsyncValidators,r)}function M8(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=DD(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(n.asyncValidator!==null){let r=SD(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let i=()=>{};return C8(n._rawValidators,i),C8(n._rawAsyncValidators,i),e}function BG(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ID(t,n)})}function HG(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ID(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function ID(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function jG(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function TD(t,n){t==null,L9(t,n)}function UG(t,n){return M8(t,n)}function AD(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function GG(t){return Object.getPrototypeOf(t.constructor)===gD}function zD(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function RD(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(a=>{a.constructor===B3?e=a:GG(a)?i=a:r=a}),r||i||e||null}function WG(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var $G={provide:ta,useExisting:Gt(()=>oc)},P3=Promise.resolve(),oc=(()=>{class t extends ta{callSetDisabledState;get submitted(){return di(this.submittedReactive)}_submitted=ui(()=>this.submittedReactive());submittedReactive=Te(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Ja({},D9(e),S9(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){P3.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),y8(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){P3.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){P3.then(()=>{let i=this._findContainer(e.path),r=new Ja({});TD(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){P3.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){P3.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),zD(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new _8(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(ne(ia,10),ne(x8,10),ne(H3,8))};static \u0275dir=W({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&P("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ie([$G]),Be]})}return t})();function mD(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function fD(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var h1=class extends b8{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(ED(e),LD(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),D8(e)&&(e.nonNullable||e.initialValueIsDefault)&&(fD(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new v8(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(this._onDisabledChange,n)}_forEachChild(n){}_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(n){fD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},E8=h1,YG=t=>t instanceof h1;var qG={provide:f1,useExisting:Gt(()=>k9)},hD=Promise.resolve(),k9=(()=>{class t extends f1{_changeDetectorRef;callSetDisabledState;control=new h1;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(e,i,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=RD(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),AD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_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(){y8(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(e){hD.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&B(i);hD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?kD(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(ne(ta,9),ne(ia,10),ne(x8,10),ne(Gi,10),ne(ze,8),ne(H3,8))};static \u0275dir=W({type:t,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:[Ie([qG]),Be,nt]})}return t})();var KG={provide:Gi,useExisting:Gt(()=>I9),multi:!0},I9=(()=>{class t extends gD{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&P("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Ie([KG]),Be]})}return t})();var ND=new L("");var ZG={provide:ta,useExisting:Gt(()=>hr)},hr=(()=>{class t extends ta{callSetDisabledState;get submitted(){return di(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=ui(()=>this._submittedReactive());_submittedReactive=Te(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new $;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(M8(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return y8(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){uD(e.control||null,e,!1),WG(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),zD(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new _8(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(uD(i||null,e),YG(r)&&(y8(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);TD(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&UG(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){L9(this.form,this),this._oldForm&&M8(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(ne(ia,10),ne(x8,10),ne(H3,8))};static \u0275dir=W({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&P("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ie([ZG]),Be,nt]})}return t})();var QG={provide:f1,useExisting:Gt(()=>j3)},j3=(()=>{class t extends f1{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=RD(this,a)}ngOnChanges(e){this._added||this._setUpControl(),AD(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return kD(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(i){return new(i||t)(ne(ta,13),ne(ia,10),ne(x8,10),ne(Gi,10),ne(ND,8))};static \u0275dir=W({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Ie([QG]),Be,nt]})}return t})();var OD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var T9=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:H3,useValue:e.callSetDisabledState??S8}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[OD]})}return t})(),U3=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ND,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:H3,useValue:e.callSetDisabledState??S8}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[OD]})}return t})();var Xe=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(Xe||{}),p1="*";function on(t,n){return{type:Xe.Trigger,name:t,definitions:n,options:{}}}function ei(t,n=null){return{type:Xe.Animate,styles:n,timings:t}}function sc(t,n=null){return{type:Xe.Group,steps:t,options:n}}function G3(t,n=null){return{type:Xe.Sequence,steps:t,options:n}}function qe(t){return{type:Xe.Style,styles:t,offset:null}}function gr(t,n,e){return{type:Xe.State,name:t,styles:n,options:e}}function Mi(t,n,e=null){return{type:Xe.Transition,expr:t,animation:n,options:e}}function eo(t=null){return{type:Xe.AnimateChild,options:t}}function _i(t,n,e=null){return{type:Xe.Query,selector:t,animation:n,options:e}}function L8(t,n){return{type:Xe.Stagger,timings:t,animation:n}}var pr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},h2=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==a&&this._onFinish()}),o.onDestroy(()=>{++i==a&&this._onDestroy()}),o.onStart(()=>{++r==a&&this._onStart()})}),this.totalTime=this.players.reduce((o,s)=>Math.max(o,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},cc="!";function p2(t){return t.buttons===0||t.detail===0}function g2(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var z9;function PD(){if(z9==null){let t=typeof document<"u"?document.head:null;z9=!!(t&&(t.createShadowRoot||t.attachShadow))}return z9}function _2(t){if(PD()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function na(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function ki(t){return t.composedPath?t.composedPath()[0]:t.target}var R9;try{R9=typeof Intl<"u"&&Intl.v8BreakIterator}catch{R9=!1}var Ge=(()=>{class t{_platformId=m(Jo);isBrowser=this._platformId?Fx(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||R9)&&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(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var W3;function FD(){if(W3==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>W3=!0}))}finally{W3=W3||!1}return W3}function to(t){return FD()?t:!!t.capture}function sn(t,n=0){return k8(t)?Number(t):arguments.length===2?n:0}function k8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function mi(t){return t instanceof Y?t.nativeElement:t}var VD=new L("cdk-input-modality-detector-options"),BD={ignoreKeys:[18,17,224,91,16]},HD=650,N9={passive:!0,capture:!0},jD=(()=>{class t{_platform=m(Ge);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Mt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ki(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<HD||(this._modality.next(p2(e)?"keyboard":"mouse"),this._mostRecentTarget=ki(e))};_onTouchstart=e=>{if(g2(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ki(e)};constructor(){let e=m(te),i=m(_e),r=m(VD,{optional:!0});if(this._options=z(z({},BD),r),this.modalityDetected=this._modality.pipe(Ro(1)),this.modalityChanged=this.modalityDetected.pipe(W4()),this._platform.isBrowser){let a=m(oi).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[a.listen(i,"keydown",this._onKeydown,N9),a.listen(i,"mousedown",this._onMousedown,N9),a.listen(i,"touchstart",this._onTouchstart,N9)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$3=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})($3||{}),UD=new L("cdk-focus-monitor-default-options"),I8=to({passive:!0,capture:!0}),Ki=(()=>{class t{_ngZone=m(te);_platform=m(Ge);_inputModalityDetector=m(jD);_origin=null;_lastFocusOrigin;_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=m(_e);_stopInputModalityDetector=new N;constructor(){let e=m(UD,{optional:!0});this._detectionMode=e?.detectionMode||$3.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=ki(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=mi(e);if(!this._platform.isBrowser||r.nodeType!==1)return ge();let a=_2(r)||this._document,o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;let s={checkChildren:i,subject:new N,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=mi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let a=mi(e),o=this._document.activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===$3.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===$3.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?HD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),a=ki(e);!r||!r.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,I8),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,I8)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(je(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,I8),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,I8),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&i.push([a,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o<a.length;o++)if(a[o].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y3=(()=>{class t{_elementRef=m(Y);_focusMonitor=m(Ki);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var T8=new WeakMap,vt=(()=>{class t{_appRef;_injector=m(ve);_environmentInjector=m(Ut);load(e){let i=this._appRef=this._appRef||this._injector.get(rn),r=T8.get(i);r||(r={loaders:new Set,refs:[]},T8.set(i,r),i.onDestroy(()=>{T8.get(i)?.refs.forEach(a=>a.destroy()),T8.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(bd(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var g1=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},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}
`],encapsulation:2,changeDetection:0})}return t})();function lc(t){return Array.isArray(t)?t:[t]}var GD=new Set,v2,A8=(()=>{class t{_platform=m(Ge);_nonce=m(Is,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):JG}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&XG(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function XG(t,n){if(!GD.has(t))try{v2||(v2=document.createElement("style"),n&&v2.setAttribute("nonce",n),v2.setAttribute("type","text/css"),document.head.appendChild(v2)),v2.sheet&&(v2.sheet.insertRule(`@media ${t} {body{ }}`,0),GD.add(t))}catch(e){console.error(e)}}function JG(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var ra=(()=>{class t{_mediaMatcher=m(A8);_zone=m(te);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return WD(lc(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=WD(lc(e)).map(o=>this._registerQuery(o).observable),a=Jn(r);return a=Ea(a.pipe(_t(1)),a.pipe(Ro(1),Nr(0))),a.pipe(Ce(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:u})=>{s.matches=s.matches||l,s.breakpoints[u]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new He(o=>{let s=l=>this._zone.run(()=>o.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Ft(i),Ce(({matches:o})=>({query:e,matches:o})),je(this._destroySubject)),mql:i};return this._queries.set(e,a),a}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function WD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function eW(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var $D=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),YD=(()=>{class t{_mutationObserverFactory=m($D);_observedElements=new Map;_ngZone=m(te);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=mi(e);return new He(r=>{let o=this._observeElement(i).pipe(Ce(s=>s.filter(l=>!eW(l))),lt(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new N,r=this._mutationObserverFactory.create(a=>i.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O9=(()=>{class t{_contentObserver=m(YD);_elementRef=m(Y);event=new $;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=sn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Nr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",B],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),dc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[$D]})}return t})();var z8=(()=>{class t{_platform=m(Ge);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return iW(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=tW(dW(e));if(i&&(qD(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),a=qD(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!cW(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return lW(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tW(t){try{return t.frameElement}catch{return null}}function iW(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function nW(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function rW(t){return oW(t)&&t.type=="hidden"}function aW(t){return sW(t)&&t.hasAttribute("href")}function oW(t){return t.nodeName.toLowerCase()=="input"}function sW(t){return t.nodeName.toLowerCase()=="a"}function QD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function qD(t){if(!QD(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function cW(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function lW(t){return rW(t)?!1:nW(t)||aW(t)||t.hasAttribute("contenteditable")||QD(t)}function dW(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var F9=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,a=!1,o){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=o,a||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Dt(n,{injector:this._injector}):setTimeout(n)}},R8=(()=>{class t{_checker=m(z8);_ngZone=m(te);_document=m(_e);_injector=m(ve);constructor(){m(vt).load(g1)}create(e,i=!1){return new F9(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),V9=(()=>{class t{_elementRef=m(Y);_focusTrapFactory=m(R8);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){m(Ge).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=na(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",B],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",B]},exportAs:["cdkTrapFocus"],features:[nt]})}return t})(),XD=new L("liveAnnouncerElement",{providedIn:"root",factory:JD});function JD(){return null}var eS=new L("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),uW=0,q3=(()=>{class t{_ngZone=m(te);_defaultOptions=m(eS,{optional:!0});_liveElement;_document=m(_e);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=m(XD,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,a,o;return i.length===1&&typeof i[0]=="number"?o=i[0]:[a,o]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),o==null&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),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 e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a<i.length;a++)i[a].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${uW++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let a=i[r],o=a.getAttribute("aria-owns");o?o.indexOf(e)===-1&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var io=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(io||{}),KD="cdk-high-contrast-black-on-white",ZD="cdk-high-contrast-white-on-black",P9="cdk-high-contrast-active",N8=(()=>{class t{_platform=m(Ge);_hasCheckedHighContrastMode;_document=m(_e);_breakpointSubscription;constructor(){this._breakpointSubscription=m(ra).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return io.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return io.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return io.BLACK_ON_WHITE}return io.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(P9,KD,ZD),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===io.BLACK_ON_WHITE?e.add(P9,KD):i===io.WHITE_ON_BLACK&&e.add(P9,ZD)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aa=(()=>{class t{constructor(){m(N8)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[dc]})}return t})();var B9={},bt=(()=>{class t{_appId=m(Ba);getId(e){return this._appId!=="ng"&&(e+=this._appId),B9.hasOwnProperty(e)||(B9[e]=0),`${e}${B9[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var mW=200,O8=class{_letterKeyStream=new N;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new N;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:mW;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ri(e=>this._pressedLetters.push(e)),Nr(n),lt(()=>this._pressedLetters.length>0),Ce(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,a=this._items[r];if(!this._skipPredicateFn?.(a)&&a.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(a);break}}this._pressedLetters=[]})}};function vi(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var uc=class{_items;_activeItemIndex=Te(-1);_activeItem=Te(null);_wrap=!1;_typeaheadSubscription=Oe.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof s1?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):nr(n)&&(this._effectRef=O1(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new N;change=new N;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new O8(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!n[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex()+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a<o?a:o-1,-1);break}else return;default:(r||vi(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.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(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+n*i+e.length)%e.length,a=e[r];if(!this._skipPredicateFn(a)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return nr(this._items)?this._items():this._items instanceof s1?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var K3=class extends uc{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var b2=class extends uc{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var nS=" ";function U9(t,n,e){let i=j8(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(nS)))}function U8(t,n,e){let i=j8(t,n);e=e.trim();let r=i.filter(a=>a!==e);r.length?t.setAttribute(n,r.join(nS)):t.removeAttribute(n)}function j8(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var rS="cdk-describedby-message",H8="cdk-describedby-host",j9=0,G9=(()=>{class t{_platform=m(Ge);_document=m(_e);_messageRegistry=new Map;_messagesContainer=null;_id=`${j9++}`;constructor(){m(vt).load(g1),this._id=m(Ba)+"-"+j9++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let a=H9(i,r);typeof i!="string"?(iS(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let a=H9(i,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${H8}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(H8);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");iS(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(H9(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let a=0;a<i.length;a++)i[a].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=j8(e,"aria-describedby").filter(r=>r.indexOf(rS)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);U9(e,"aria-describedby",r.messageElement.id),e.setAttribute(H8,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,U8(e,"aria-describedby",r.messageElement.id),e.removeAttribute(H8)}_isElementDescribedByMessage(e,i){let r=j8(e,"aria-describedby"),a=this._messageRegistry.get(i),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function H9(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function iS(t,n){t.id||(t.id=`${rS}-${n}-${j9++}`)}var hW=new L("cdk-dir-doc",{providedIn:"root",factory:pW});function pW(){return m(_e)}var gW=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function aS(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?gW.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var At=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Te("ltr");change=new $;constructor(){let e=m(hW,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(aS(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ao=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var W9=class{_box;_destroyed=new N;_resizeSubject=new N;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new He(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(lt(e=>e.some(i=>i.target===n)),q4({bufferSize:1,refCount:!0}),je(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},G8=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=m(te);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new W9(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var H1=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(H1||{}),W8,y2;function $8(){if(y2==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return y2=!1,y2;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)y2=!0;else{let t=Element.prototype.scrollTo;t?y2=!/\{\s*\[native code\]\s*\}/.test(t.toString()):y2=!1}}return y2}function mc(){if(typeof document!="object"||!document)return H1.NORMAL;if(W8==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),W8=H1.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,W8=t.scrollLeft===0?H1.NEGATED:H1.INVERTED),t.remove()}return W8}function $9(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var fc,oS=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Y9(){if(fc)return fc;if(typeof document!="object"||!document)return fc=new Set(oS),fc;let t=document.createElement("input");return fc=new Set(oS.filter(n=>(t.setAttribute("type",n),t.type===n))),fc}var Z3=class{};function Q3(t){return t&&typeof t.connect=="function"&&!(t instanceof wa)}var oo=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(oo||{}),hc=new L("_ViewRepeater");var _W=20,_r=(()=>{class t{_ngZone=m(te);_platform=m(Ge);_renderer=m(oi).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new N;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=_W){return this._platform.isBrowser?new He(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(G4(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ge()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(lt(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_scrollableContainsElement(e,i){let r=mi(i),a=e.getElementRef().nativeElement;do if(r==a)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y8=(()=>{class t{elementRef=m(Y);scrollDispatcher=m(_r);ngZone=m(te);dir=m(At,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new N;_renderer=m(ht);_cleanupScroll;_elementScrolled=new N;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&mc()!=H1.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),mc()==H1.INVERTED?e.left=e.right:mc()==H1.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;$8()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let o=this.dir&&this.dir.value=="rtl";return e=="start"?e=o?r:i:e=="end"&&(e=o?i:r),o&&mc()==H1.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&mc()==H1.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),vW=20,Zi=(()=>{class t{_platform=m(Ge);_listeners;_viewportSize;_change=new N;_document=m(_e);constructor(){let e=m(te),i=m(oi).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=a=>this._change.next(a);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect(),o=-a.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,s=-a.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:o,left:s}}change(e=vW){return e>0?this._change.pipe(G4(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})(),X3=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ao,Wi,ao,Wi]})}return t})();var q9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})(),q8={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 bW=new L("MATERIAL_ANIMATIONS");var sS=null;function K9(){return m(bW,{optional:!0})?.animationsDisabled||m(Ha,{optional:!0})==="NoopAnimations"?"di-disabled":(sS??=m(A8).matchMedia("(prefers-reduced-motion)").matches,sS?"reduced-motion":"enabled")}function pt(){return K9()!=="enabled"}var J3=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Wn=class extends J3{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},cn=class extends J3{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Z9=class extends J3{element;constructor(n){super(),this.element=n instanceof Y?n.nativeElement:n}},so=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Wn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof cn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Z9)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},K8=class extends so{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(sr,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||ve.NULL,a=r.get(Ut,i.injector);e=bd(n.component,{elementInjector:r,environmentInjector:a,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},cS=(()=>{class t extends cn{constructor(){let e=m(Lt),i=m(Tt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Be]})}return t})();var yn=(()=>{class t extends so{_moduleRef=m(sr,{optional:!0});_document=m(_e);_viewContainerRef=m(Tt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new $;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Be]})}return t})();var $n=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var xi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},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::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
`],encapsulation:2,changeDetection:0})}return t})();function wi(t){return t==null?"":typeof t=="string"?t:`${t}px`}function ca(t){return t!=null&&`${t}`!="false"}var Cn=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(Cn||{}),Q9=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Cn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},lS=to({passive:!0,capture:!0}),X9=class{_events=new Map;addHandler(n,e,i,r){let a=this._events.get(e);if(a){let o=a.get(i);o?o.add(r):a.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,lS)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let a=r.get(e);a&&(a.delete(i),a.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,lS)))}_delegateEventHandler=n=>{let e=ki(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(a=>a.handleEvent(n))})}},e0={enterDuration:225,exitDuration:150},yW=800,dS=to({passive:!0,capture:!0}),uS=["mousedown","touchstart"],mS=["mouseup","mouseleave","touchend","touchcancel"],CW=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},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}
`],encapsulation:2,changeDetection:0})}return t})(),t0=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new X9;constructor(n,e,i,r,a){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=mi(i)),a&&a.get(vt).load(CW)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=z(z({},e0),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let o=i.radius||MW(n,e,r),s=n-r.left,l=e-r.top,u=a.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=`${s-o}px`,h.style.top=`${l-o}px`,h.style.height=`${o*2}px`,h.style.width=`${o*2}px`,i.color!=null&&(h.style.backgroundColor=i.color),h.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(h);let g=window.getComputedStyle(h),C=g.transitionProperty,M=g.transitionDuration,x=C==="none"||M==="0s"||M==="0s, 0s"||r.width===0&&r.height===0,k=new Q9(this,h,i,x);h.style.transform="scale3d(1, 1, 1)",k.state=Cn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=k);let I=null;return!x&&(u||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{I&&(I.fallbackTimer=null),clearTimeout(ye),this._finishRippleTransition(k)},ce=()=>this._destroyRipple(k),ye=setTimeout(ce,u+100);h.addEventListener("transitionend",T),h.addEventListener("transitioncancel",ce),I={onTransitionEnd:T,onTransitionCancel:ce,fallbackTimer:ye}}),this._activeRipples.set(k,I),(x||!u)&&this._finishRippleTransition(k),k}fadeOutRipple(n){if(n.state===Cn.FADING_OUT||n.state===Cn.HIDDEN)return;let e=n.element,i=z(z({},e0),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Cn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=mi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,uS.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{mS.forEach(e=>{this._triggerElement.addEventListener(e,this,dS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Cn.FADING_IN?this._startFadeOutTransition(n):n.state===Cn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Cn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Cn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=p2(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+yW;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!g2(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Cn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Cn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(uS.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(mS.forEach(e=>n.removeEventListener(e,this,dS)),this._pointerUpEventsRegistered=!1))}};function MW(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var co=new L("mat-ripple-global-options"),ln=(()=>{class t{_elementRef=m(Y);_animationsDisabled=pt();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=m(te),i=m(Ge),r=m(co,{optional:!0}),a=m(ve);this._globalOptions=r||{},this._rippleRenderer=new t0(this,e,this._elementRef,i,a)}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:z(z(z({},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(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,z(z({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,z(z({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mat-ripple-unbounded",r.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 t})();var ae=(()=>{class t{constructor(){m(N8)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ao,ao]})}return t})();var np=["*"];function xW(t,n){t&1&&fe(0)}var wW=["tabListContainer"],DW=["tabList"],SW=["tabListInner"],EW=["nextPaginator"],LW=["previousPaginator"],kW=["content"];function IW(t,n){}var TW=["tabBodyWrapper"],AW=["tabHeader"];function zW(t,n){}function RW(t,n){if(t&1&&K(0,zW,0,0,"ng-template",12),t&2){let e=E().$implicit;w("cdkPortalOutlet",e.templateLabel)}}function NW(t,n){if(t&1&&D(0),t&2){let e=E().$implicit;xt(e.textLabel)}}function OW(t,n){if(t&1){let e=ke();_(0,"div",7,2),P("click",function(){let r=Q(e),a=r.$implicit,o=r.$index,s=E(),l=kt(1);return X(s._handleClick(a,l,o))})("cdkFocusChange",function(r){let a=Q(e).$index,o=E();return X(o._tabFocusChanged(r,a))}),ie(2,"span",8)(3,"div",9),_(4,"span",10)(5,"span",11),xe(6,RW,1,1,null,12)(7,NW,1,1),b()()()}if(t&2){let e=n.$implicit,i=n.$index,r=kt(1),a=E();yt(e.labelClass),ee("mdc-tab--active",a.selectedIndex===i),w("id",a._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),J("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),v(3),w("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),v(3),we(e.templateLabel?6:7)}}function PW(t,n){t&1&&fe(0)}function FW(t,n){if(t&1){let e=ke();_(0,"mat-tab-body",13),P("_onCentered",function(){Q(e);let r=E();return X(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){Q(e);let a=E();return X(a._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){Q(e);let a=E();return X(a._bodyCentered(r))}),b()}if(t&2){let e=n.$implicit,i=n.$index,r=E();yt(e.bodyClass),w("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),J("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var VW=new L("MatTabContent"),BW=(()=>{class t{template=m(Lt);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matTabContent",""]],features:[Ie([{provide:VW,useExisting:t}])]})}return t})(),HW=new L("MatTabLabel"),gS=new L("MAT_TAB"),jW=(()=>{class t extends cS{_closestTab=m(gS,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ie([{provide:HW,useExisting:t}]),Be]})}return t})(),_S=new L("MAT_TAB_GROUP"),C2=(()=>{class t{_viewContainerRef=m(Tt);_closestTabGroup=m(_S,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new N;position=null;origin=null;isActive=!1;constructor(){m(vt).load(xi)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new cn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,jW,5),Pe(a,BW,7,Lt)),i&2){let o;F(o=V())&&(r.templateLabel=o.first),F(o=V())&&(r._explicitContent=o.first)}},viewQuery:function(i,r){if(i&1&&de(Lt,7),i&2){let a;F(a=V())&&(r._implicitContent=a.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&J("id",null)},inputs:{disabled:[2,"disabled","disabled",B],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Ie([{provide:gS,useExisting:t}]),nt],ngContentSelectors:np,decls:1,vars:0,template:function(i,r){i&1&&(Ae(),t2(0,xW,1,0,"ng-template"))},encapsulation:2})}return t})(),J9="mdc-tab-indicator--active",fS="mdc-tab-indicator--no-transition",ep=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},UW=(()=>{class t{_elementRef=m(Y);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(J9);return}let r=i.getBoundingClientRect(),a=e.width/r.width,o=e.left-r.left;i.classList.add(fS),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(fS),i.classList.add(J9),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(J9)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B]}})}return t})();var vS=(()=>{class t extends UW{elementRef=m(Y);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(J("aria-disabled",!!r.disabled),ee("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",B]},features:[Be]})}return t})(),hS={passive:!0},GW=650,WW=100,$W=(()=>{class t{_elementRef=m(Y);_changeDetectorRef=m(ze);_viewportRuler=m(Zi);_dir=m(At,{optional:!0});_ngZone=m(te);_platform=m(Ge);_sharedResizeObserver=m(G8);_injector=m(ve);_renderer=m(ht);_animationsDisabled=pt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new N;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new N;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new $;indexFocused=new $;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),hS),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),hS))}ngAfterContentInit(){let e=this._dir?this._dir.change:ge("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Nr(32),je(this._destroyed)),r=this._viewportRuler.change(150).pipe(je(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new b2(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Dt(a,{injector:this._injector}),Zt(e,r,i,this._items.changes,this._itemsResized()).pipe(je(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!="function"?Si:this._items.changes.pipe(Ft(this._items),Qt(e=>new He(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(a=>i.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),Ro(1),lt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!vi(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=a,l=s+o):(l=this._tabListInner.nativeElement.offsetWidth-a,s=l-o);let u=this.scrollDistance,h=this.scrollDistance+r;s<u?this.scrollDistance-=u-s:l>h&&(this.scrollDistance+=Math.min(l-h,s-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),zo(GW,WW).pipe(je(Zt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(a===0||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",B],selectedIndex:[2,"selectedIndex","selectedIndex",dt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),YW=(()=>{class t extends $W{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new ep(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275cmp=j({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,vS,4),i&2){let o;F(o=V())&&(r._items=o)}},viewQuery:function(i,r){if(i&1&&(de(wW,7),de(DW,7),de(SW,7),de(EW,5),de(LW,5)),i&2){let a;F(a=V())&&(r._tabListContainer=a.first),F(a=V())&&(r._tabList=a.first),F(a=V())&&(r._tabListInner=a.first),F(a=V())&&(r._nextPaginator=a.first),F(a=V())&&(r._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&ee("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",B]},features:[Be],ngContentSelectors:np,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"div",5,0),P("click",function(){return Q(a),X(r._handlePaginatorClick("before"))})("mousedown",function(s){return Q(a),X(r._handlePaginatorPress("before",s))})("touchend",function(){return Q(a),X(r._stopInterval())}),ie(2,"div",6),b(),_(3,"div",7,1),P("keydown",function(s){return Q(a),X(r._handleKeydown(s))}),_(5,"div",8,2),P("cdkObserveContent",function(){return Q(a),X(r._onContentChanges())}),_(7,"div",9,3),fe(9),b()()(),_(10,"div",10,4),P("mousedown",function(s){return Q(a),X(r._handlePaginatorPress("after",s))})("click",function(){return Q(a),X(r._handlePaginatorClick("after"))})("touchend",function(){return Q(a),X(r._stopInterval())}),ie(12,"div",6),b()}i&2&&(ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),w("matRippleDisabled",r._disableScrollBefore||r.disableRipple),v(3),ee("_mat-animation-noopable",r._animationsDisabled),v(2),J("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),v(5),ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),w("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[ln,O9],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}
`],encapsulation:2})}return t})(),qW=new L("MAT_TABS_CONFIG"),pS=(()=>{class t extends yn{_host=m(tp);_ngZone=m(te);_centeringSub=Oe.EMPTY;_leavingSub=Oe.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ft(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matTabBodyHost",""]],features:[Be]})}return t})(),tp=(()=>{class t{_elementRef=m(Y);_dir=m(At,{optional:!0});_ngZone=m(te);_injector=m(ve);_renderer=m(ht);_diAnimationsDisabled=pt();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=Oe.EMPTY;_position;_previousPosition;_onCentering=new $;_beforeCentering=new $;_afterLeavingCenter=new $;_onCentered=new $(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=m(ze);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Dt(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,i=r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",i),this._renderer.listen(e,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Dt(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&(de(pS,5),de(kW,5)),i&2){let a;F(a=V())&&(r._portalHost=a.first),F(a=V())&&(r._contentElement=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&J("inert",r._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){i&1&&(_(0,"div",1,0),K(2,IW,0,0,"ng-template",2),b()),i&2&&ee("mat-tab-body-content-left",r._position==="left")("mat-tab-body-content-right",r._position==="right")("mat-tab-body-content-can-animate",r._position==="center"||r._previousPosition==="center")},dependencies:[pS,Y8],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}
`],encapsulation:2})}return t})(),lo=(()=>{class t{_elementRef=m(Y);_changeDetectorRef=m(ze);_ngZone=m(te);_tabsSubscription=Oe.EMPTY;_tabLabelSubscription=Oe.EMPTY;_tabBodySubscription=Oe.EMPTY;_diAnimationsDisabled=pt();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new s1;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new $;focusChange=new $;animationDone=new $;selectedTabChange=new $(!0);_groupId;_isServer=!m(Ge).isBrowser;constructor(){let e=m(qW,{optional:!0});this._groupId=m(bt).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let a=0;a<i.length;a++)if(i[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,r=i[a];break}!r&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ft(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new ip;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Zt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,C2,5),i&2){let o;F(o=V())&&(r._allTabs=o)}},viewQuery:function(i,r){if(i&1&&(de(TW,5),de(AW,5),de(tp,5)),i&2){let a;F(a=V())&&(r._tabBodyWrapper=a.first),F(a=V())&&(r._tabHeader=a.first),F(a=V())&&(r._tabBodies=a)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(J("mat-align-tabs",r.alignTabs),yt("mat-"+(r.color||"primary")),gi("--mat-tab-animation-duration",r.animationDuration),ee("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",B],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",B],selectedIndex:[2,"selectedIndex","selectedIndex",dt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",dt],disablePagination:[2,"disablePagination","disablePagination",B],disableRipple:[2,"disableRipple","disableRipple",B],preserveContent:[2,"preserveContent","preserveContent",B],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Ie([{provide:_S,useExisting:t}])],ngContentSelectors:np,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"mat-tab-header",3,0),P("indexFocused",function(s){return Q(a),X(r._focusChanged(s))})("selectFocusedIndex",function(s){return Q(a),X(r.selectedIndex=s)}),Oi(2,OW,8,17,"div",4,R1),b(),xe(4,PW,1,0),_(5,"div",5,1),Oi(7,FW,1,10,"mat-tab-body",6,R1),b()}i&2&&(w("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),Ns("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),v(2),Pi(r._tabs),v(2),we(r._isServer?4:-1),v(),ee("_mat-animation-noopable",r._animationsDisabled()),v(2),Pi(r._tabs))},dependencies:[YW,vS,Y3,ln,yn,tp],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}
`],encapsulation:2})}return t})(),ip=class{index;tab};var M2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();var Z8;function KW(){if(Z8===void 0&&(Z8=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Z8=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Z8}function i0(t){return KW()?.createHTML(t)||t}function bS(t){return Error(`Unable to find icon with the name "${t}"`)}function ZW(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function yS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function CS(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var la=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},xS=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,a){return this._addSvgIconConfig(e,i,new la(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,a){let o=this._sanitizer.sanitize(qi.HTML,r);if(!o)throw CS(r);let s=i0(o);return this._addSvgIconConfig(e,i,new la("",s,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new la(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let a=this._sanitizer.sanitize(qi.HTML,i);if(!a)throw CS(i);let o=i0(a);return this._addSvgIconSetConfig(e,new la("",o,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(qi.RESOURCE_URL,e);if(!i)throw yS(e);let r=this._cachedIconsByUrl.get(i);return r?ge(Q8(r)):this._loadSvgIconFromConfig(new la(e,null)).pipe(ri(a=>this._cachedIconsByUrl.set(i,a)),Ce(a=>Q8(a)))}getNamedSvgIcon(e,i=""){let r=MS(i,e),a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);let o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):Da(bS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ge(Q8(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ce(i=>Q8(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return ge(r);let a=i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(k1(s=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(qi.RESOURCE_URL,o.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(u)),ge(null)})));return fl(a).pipe(Ce(()=>{let o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw bS(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let a=i[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(a),s=this._extractSvgIconFromSet(o,e,a.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ri(i=>e.svgText=i),Ce(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ge(null):this._fetchIcon(e).pipe(ri(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let o=a.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,r);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),r);let s=this._svgElementFromString(i0("<svg></svg>"));return s.appendChild(o),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(i0("<svg></svg>")),r=e.attributes;for(let a=0;a<r.length;a++){let{name:o,value:s}=r[a];o!=="id"&&i.setAttribute(o,s)}for(let a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[a].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,a=r?.withCredentials??!1;if(!this._httpClient)throw ZW();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let o=this._sanitizer.sanitize(qi.RESOURCE_URL,i);if(!o)throw yS(i);let s=this._inProgressUrlFetches.get(o);if(s)return s;let l=this._httpClient.get(o,{responseType:"text",withCredentials:a}).pipe(Ce(u=>i0(u)),Or(()=>this._inProgressUrlFetches.delete(o)),hl());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(MS(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let a=this._resolvers[r](i,e);if(a)return QW(a)?new la(a.url,null,a.options):new la(a,null)}}static \u0275fac=function(i){return new(i||t)(me(F1,8),me(g3),me(_e,8),me(Hi))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Q8(t){return t.cloneNode(!0)}function MS(t,n){return t+":"+n}function QW(t){return!!(t.url&&t.options)}var XW=["*"],JW=new L("MAT_ICON_DEFAULT_OPTIONS"),e$=new L("mat-icon-location",{providedIn:"root",factory:t$});function t$(){let t=m(_e),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var wS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],i$=wS.map(t=>`[${t}]`).join(", "),n$=/^url\(['"]?#(.*?)['"]?\)$/,j1=(()=>{class t{_elementRef=m(Y);_iconRegistry=m(xS);_location=m(e$);_errorHandler=m(Hi);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Oe.EMPTY;constructor(){let e=m(new Ei("aria-hidden"),{optional:!0}),i=m(JW,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(i$),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<i.length;a++)wS.forEach(o=>{let s=i[a],l=s.getAttribute(o),u=l?l.match(n$):null;if(u){let h=r.get(s);h||(h=[],r.set(s,h)),h.push({name:o,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(_t(1)).subscribe(a=>this._setSvgElement(a),a=>{let o=`Error retrieving icon ${i}:${r}! ${a.message}`;this._errorHandler.handleError(new Error(o))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(J("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),yt(r.color?"mat-"+r.color:""),ee("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",B],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:XW,decls:1,vars:0,template:function(i,r){i&1&&(Ae(),fe(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
`],encapsulation:2,changeDetection:0})}return t})(),An=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();var r$=["notch"],a$=["matFormFieldNotchedOutline",""],o$=["*"],DS=["iconPrefixContainer"],SS=["textPrefixContainer"],ES=["iconSuffixContainer"],LS=["textSuffixContainer"],s$=["textField"],c$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],l$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function d$(t,n){t&1&&ie(0,"span",21)}function u$(t,n){if(t&1&&(_(0,"label",20),fe(1,1),xe(2,d$,1,0,"span",21),b()),t&2){let e=E(2);w("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),J("for",e._control.disableAutomaticLabeling?null:e._control.id),v(2),we(!e.hideRequiredMarker&&e._control.required?2:-1)}}function m$(t,n){if(t&1&&xe(0,u$,3,5,"label",20),t&2){let e=E();we(e._hasFloatingLabel()?0:-1)}}function f$(t,n){t&1&&ie(0,"div",7)}function h$(t,n){}function p$(t,n){if(t&1&&K(0,h$,0,0,"ng-template",13),t&2){E(2);let e=kt(1);w("ngTemplateOutlet",e)}}function g$(t,n){if(t&1&&(_(0,"div",9),xe(1,p$,1,1,null,13),b()),t&2){let e=E();w("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),v(),we(e._forceDisplayInfixLabel()?-1:1)}}function _$(t,n){t&1&&(_(0,"div",10,2),fe(2,2),b())}function v$(t,n){t&1&&(_(0,"div",11,3),fe(2,3),b())}function b$(t,n){}function y$(t,n){if(t&1&&K(0,b$,0,0,"ng-template",13),t&2){E();let e=kt(1);w("ngTemplateOutlet",e)}}function C$(t,n){t&1&&(_(0,"div",14,4),fe(2,4),b())}function M$(t,n){t&1&&(_(0,"div",15,5),fe(2,5),b())}function x$(t,n){t&1&&ie(0,"div",16)}function w$(t,n){t&1&&(_(0,"div",18),fe(1,6),b())}function D$(t,n){if(t&1&&(_(0,"mat-hint",22),D(1),b()),t&2){let e=E(2);w("id",e._hintLabelId),v(),xt(e.hintLabel)}}function S$(t,n){if(t&1&&(_(0,"div",19),xe(1,D$,2,2,"mat-hint",22),fe(2,7),ie(3,"div",23),fe(4,8),b()),t&2){let e=E();v(),we(e.hintLabel?1:-1)}}var da=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-label"]]})}return t})(),NS=new L("MatError");var ap=(()=>{class t{align="start";id=m(bt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(si("id",r.id),J("align",null),ee("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),OS=new L("MatPrefix");var PS=new L("MatSuffix");var FS=new L("FloatingLabelParent"),kS=(()=>{class t{_elementRef=m(Y);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=m(G8);_ngZone=m(te);_parent=m(FS);_resizeSubscription=new Oe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return E$(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function E$(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var IS="mdc-line-ripple--active",X8="mdc-line-ripple--deactivating",TS=(()=>{class t{_elementRef=m(Y);_cleanupTransitionEnd;constructor(){let e=m(te),i=m(ht);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(X8),e.add(IS)}deactivate(){this._elementRef.nativeElement.classList.add(X8)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(X8);e.propertyName==="opacity"&&r&&i.remove(IS,X8)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),AS=(()=>{class t{_elementRef=m(Y);_ngZone=m(te);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&de(r$,5),i&2){let a;F(a=V())&&(r._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:a$,ngContentSelectors:o$,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Ae(),In(0,"div",1),hi(1,"div",2,0),fe(3),pi(),In(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),pc=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t})}return t})();var gc=new L("MatFormField"),VS=new L("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zS="fill",L$="auto",RS="fixed",k$="translateY(-50%)",U1=(()=>{class t{_elementRef=m(Y);_changeDetectorRef=m(ze);_platform=m(Ge);_idGenerator=m(bt);_ngZone=m(te);_defaults=m(VS,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=e3("iconPrefixContainer");_textPrefixContainerSignal=e3("textPrefixContainer");_iconSuffixContainerSignal=e3("iconSuffixContainer");_textSuffixContainerSignal=e3("textSuffixContainer");_prefixSuffixContainers=ui(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ux(da);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ca(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||L$}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||zS;this._appearanceSignal.set(i)}_appearanceSignal=Te(zS);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||RS}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||RS}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new N;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=pt();constructor(){let e=this._defaults,i=m(At);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),O1(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=ui(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Ft([void 0,void 0]),Ce(()=>[i.errorState,i.userAriaDescribedBy]),Y4(),lt(([[a,o],[s,l]])=>a!==s||o!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(je(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Zt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){_x({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=ui(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let a=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;a?e.push(a.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(a=>a.id));let i=this._control.describedByIds,r;if(i){let a=this._describedByIds||e;r=e.concat(i.filter(o=>o&&!a.includes(o)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,o=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,u=a?.getBoundingClientRect().width??0,h=this._currentDirection==="rtl"?"-1":"1",g=`${o+s}px`,M=`calc(${h} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,x=`var(--mat-mdc-form-field-label-transform, ${k$} translateX(${M}))`,k=o+s+l+u;return[x,k]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,a){if(i&1&&(Kf(a,r._labelChild,da,5),Pe(a,pc,5),Pe(a,OS,5),Pe(a,PS,5),Pe(a,NS,5),Pe(a,ap,5)),i&2){pd();let o;F(o=V())&&(r._formFieldControl=o.first),F(o=V())&&(r._prefixChildren=o),F(o=V())&&(r._suffixChildren=o),F(o=V())&&(r._errorChildren=o),F(o=V())&&(r._hintChildren=o)}},viewQuery:function(i,r){if(i&1&&(Os(r._iconPrefixContainerSignal,DS,5),Os(r._textPrefixContainerSignal,SS,5),Os(r._iconSuffixContainerSignal,ES,5),Os(r._textSuffixContainerSignal,LS,5),de(s$,5),de(DS,5),de(SS,5),de(ES,5),de(LS,5),de(kS,5),de(AS,5),de(TS,5)),i&2){pd(4);let a;F(a=V())&&(r._textField=a.first),F(a=V())&&(r._iconPrefixContainer=a.first),F(a=V())&&(r._textPrefixContainer=a.first),F(a=V())&&(r._iconSuffixContainer=a.first),F(a=V())&&(r._textSuffixContainer=a.first),F(a=V())&&(r._floatingLabel=a.first),F(a=V())&&(r._notchedOutline=a.first),F(a=V())&&(r._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&ee("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ie([{provide:gc,useExisting:t},{provide:FS,useExisting:t}])],ngContentSelectors:l$,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let a=ke();Ae(c$),K(0,m$,1,1,"ng-template",null,0,vn),_(2,"div",6,1),P("click",function(s){return Q(a),X(r._control.onContainerClick(s))}),xe(4,f$,1,0,"div",7),_(5,"div",8),xe(6,g$,2,2,"div",9),xe(7,_$,3,0,"div",10),xe(8,v$,3,0,"div",11),_(9,"div",12),xe(10,y$,1,1,null,13),fe(11),b(),xe(12,C$,3,0,"div",14),xe(13,M$,3,0,"div",15),b(),xe(14,x$,1,0,"div",16),b(),_(15,"div",17),xe(16,w$,2,0,"div",18)(17,S$,5,1,"div",19),b()}if(i&2){let a;v(2),ee("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),v(2),we(!r._hasOutline()&&!r._control.disabled?4:-1),v(2),we(r._hasOutline()?6:-1),v(),we(r._hasIconPrefix?7:-1),v(),we(r._hasTextPrefix?8:-1),v(2),we(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),v(2),we(r._hasTextSuffix?12:-1),v(),we(r._hasIconSuffix?13:-1),v(),we(r._hasOutline()?-1:14),v(),ee("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let o=r._getSubscriptMessageType();v(),we((a=o)==="error"?16:a==="hint"?17:-1)}},dependencies:[kS,AS,r3,TS,ap],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
`],encapsulation:2,changeDetection:0})}return t})();var Yn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,dc,U1,ae]})}return t})();var J8=(()=>{class t{_animationsDisabled=pt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ee("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
`],encapsulation:2,changeDetection:0})}return t})();var A$=["text"],z$=[[["mat-icon"]],"*"],R$=["mat-icon","*"];function N$(t,n){if(t&1&&ie(0,"mat-pseudo-checkbox",1),t&2){let e=E();w("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function O$(t,n){if(t&1&&ie(0,"mat-pseudo-checkbox",3),t&2){let e=E();w("disabled",e.disabled)}}function P$(t,n){if(t&1&&(_(0,"span",4),D(1),b()),t&2){let e=E();v(),oe("(",e.group.label,")")}}var t5=new L("MAT_OPTION_PARENT_COMPONENT"),i5=new L("MatOptgroup");var e5=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},_1=(()=>{class t{_element=m(Y);_changeDetectorRef=m(ze);_parent=m(t5,{optional:!0});group=m(i5,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=m(bt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Te(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new $;_text;_stateChanges=new N;constructor(){let e=m(vt);e.load(xi),e.load(g1),this._signalDisableRipple=!!this._parent&&nr(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!vi(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new e5(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&de(A$,7),i&2){let a;F(a=V())&&(r._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&P("click",function(){return r._selectViaInteraction()})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(si("id",r.id),J("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ee("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",B]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:R$,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Ae(z$),xe(0,N$,1,2,"mat-pseudo-checkbox",1),fe(1),_(2,"span",2,0),fe(4,1),b(),xe(5,O$,1,1,"mat-pseudo-checkbox",3),xe(6,P$,2,1,"span",4),ie(7,"div",5)),i&2&&(we(r.multiple?0:-1),v(5),we(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),v(),we(r.group&&r.group._inert?6:-1),v(),w("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[J8,ln],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})();function sp(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),a=0;for(let o=0;o<t+1;o++)i[o].group&&i[o].group===r[a]&&a++;return a}return 0}function cp(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var BS=$8();function w2(t){return new n5(t.get(Zi),t.get(_e))}var n5=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=wi(-this._previousScrollPosition.left),n.style.top=wi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,a=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),BS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),BS&&(i.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function YS(t,n){return new r5(t.get(_r),t.get(te),t.get(Zi),n)}var r5=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(lt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var r0=class{enable(){}disable(){}attach(){}};function lp(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,a=t.right<e.left,o=t.left>e.right;return i||r||a||o})}function HS(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,a=t.left<e.left,o=t.right>e.right;return i||r||a||o})}function Bi(t,n){return new a5(t.get(_r),t.get(Zi),t.get(te),n)}var a5=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();lp(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},qS=(()=>{class t{_injector=m(ve);constructor(){}noop=()=>new r0;close=e=>YS(this._injector,e);block=()=>w2(this._injector);reposition=e=>Bi(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),v1=class{positionStrategy;scrollStrategy=new r0;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var o5=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var KS=(()=>{class t{_attachedOverlays=[];_document=m(_e);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZS=(()=>{class t extends KS{_ngZone=m(te);_renderer=m(oi).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QS=(()=>{class t extends KS{_platform=m(Ge);_ngZone=m(te);_renderer=m(oi).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},a=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"pointerdown",this._pointerDownListener,r),a.listen(i,"click",this._clickListener,r),a.listen(i,"auxclick",this._clickListener,r),a.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ki(e)};_clickListener=e=>{let i=ki(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let a=this._attachedOverlays.slice();for(let o=a.length-1;o>-1;o--){let s=a[o];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(jS(s.overlayElement,i)||jS(s.overlayElement,r))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var XS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
`],encapsulation:2,changeDetection:0})}return t})(),c5=(()=>{class t{_platform=m(Ge);_containerElement;_document=m(_e);_styleLoader=m(vt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||$9()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<r.length;a++)r[a].remove()}let i=this._document.createElement("div");i.classList.add(e),$9()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(XS)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dp=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},_c=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new N;_attachments=new N;_detachments=new N;_positionStrategy;_scrollStrategy;_locationChanges=Oe.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new N;_outsidePointerEvents=new N;_afterNextRenderRef;constructor(n,e,i,r,a,o,s,l,u,h=!1,g,C){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=h,this._injector=g,this._renderer=C,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Dt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=z(z({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Ue(z({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=wi(this._config.width),n.height=wi(this._config.height),n.minWidth=wi(this._config.minWidth),n.minHeight=wi(this._config.minHeight),n.maxWidth=wi(this._config.maxWidth),n.maxHeight=wi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new dp(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=lc(e||[]).filter(a=>!!a);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Dt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},US="cdk-overlay-connected-position-bounding-box",F$=/([A-Za-z%]+)$/;function uo(t,n){return new a0(n,t.get(Zi),t.get(_e),t.get(Ge),t.get(c5))}var a0=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new N;_resizeSubscription=Oe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,a){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=a,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(US),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,a=[],o;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),u=this._getOverlayPoint(l,e,s),h=this._getOverlayFit(u,e,i,s);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(h,u,i)){a.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!o||o.overlayFit.visibleArea<h.visibleArea)&&(o={overlayFit:h,overlayPoint:u,originPoint:l,position:s,overlayRect:e})}if(a.length){let s=null,l=-1;for(let u of a){let h=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);h>l&&(l=h,s=u)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&x2(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(US),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let o=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?o:s}e.left<0&&(r-=e.left);let a;return i.originY=="center"?a=n.top+n.height/2:a=i.originY=="top"?n.top:n.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let a;return i.overlayY=="center"?a=-e.height/2:a=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+a}}_getOverlayFit(n,e,i,r){let a=WS(e),{x:o,y:s}=n,l=this._getOffset(r,"x"),u=this._getOffset(r,"y");l&&(o+=l),u&&(s+=u);let h=0-o,g=o+a.width-i.width,C=0-s,M=s+a.height-i.height,x=this._subtractOverflows(a.width,h,g),k=this._subtractOverflows(a.height,C,M),I=x*k;return{visibleArea:I,isCompletelyWithinViewport:a.width*a.height===I,fitsInViewportVertically:k===a.height,fitsInViewportHorizontally:x==a.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,a=i.right-e.x,o=GS(this._overlayRef.getConfig().minHeight),s=GS(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||o!=null&&o<=r,u=n.fitsInViewportHorizontally||s!=null&&s<=a;return l&&u}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=WS(e),a=this._viewportRect,o=Math.max(n.x+r.width-a.width,0),s=Math.max(n.y+r.height-a.height,0),l=Math.max(a.top-i.top-n.y,0),u=Math.max(a.left-i.left-n.x,0),h=0,g=0;return r.width<=a.width?h=u||-o:h=n.x<this._viewportMargin?a.left-i.left-n.x:0,r.height<=a.height?g=l||-s:g=n.y<this._viewportMargin?a.top-i.top-n.y:0,this._previousPushAmount={x:h,y:g},{x:n.x+h,y:n.y+g}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!V$(this._lastScrollVisibility,i)){let r=new o5(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),a,o,s;if(e.overlayY==="top")o=n.y,a=i.height-o+this._viewportMargin;else if(e.overlayY==="bottom")s=i.height-n.y+this._viewportMargin*2,a=i.height-s+this._viewportMargin;else{let M=Math.min(i.bottom-n.y+i.top,n.y),x=this._lastBoundingBoxSize.height;a=M*2,o=n.y-M,a>x&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.y-x/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,u=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,h,g,C;if(u)C=i.width-n.x+this._viewportMargin*2,h=n.x-this._viewportMargin;else if(l)g=n.x,h=i.right-n.x;else{let M=Math.min(i.right-n.x+i.left,n.x),x=this._lastBoundingBoxSize.width;h=M*2,g=n.x-M,h>x&&!this._isInitialRender&&!this._growAfterOpen&&(g=n.x-x/2)}return{top:o,left:g,bottom:s,right:C,width:h,height:a}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=wi(i.height),r.top=wi(i.top),r.bottom=wi(i.bottom),r.width=wi(i.width),r.left=wi(i.left),r.right=wi(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(r.maxHeight=wi(a)),o&&(r.maxWidth=wi(o))}this._lastBoundingBoxSize=i,x2(this._boundingBox.style,r)}_resetBoundingBoxStyles(){x2(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){x2(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){let h=this._viewportRuler.getViewportScrollPosition();x2(i,this._getExactOverlayY(e,n,h)),x2(i,this._getExactOverlayX(e,n,h))}else i.position="static";let s="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),u&&(s+=`translateY(${u}px)`),i.transform=s.trim(),o.maxHeight&&(r?i.maxHeight=wi(o.maxHeight):a&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=wi(o.maxWidth):a&&(i.maxWidth="")),x2(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),n.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;r.bottom=`${o-(a.y+this._overlayRect.height)}px`}else r.top=wi(a.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let o;if(this._isRtl()?o=n.overlayX==="end"?"left":"right":o=n.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(a.x+this._overlayRect.width)}px`}else r.left=wi(a.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HS(n,i),isOriginOutsideView:lp(n,i),isOverlayClipped:HS(e,i),isOverlayOutsideView:lp(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&lc(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof Y)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};function x2(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function GS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(F$);return!e||e==="px"?parseFloat(n):null}return t||null}function WS(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function V$(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var $S="cdk-global-overlay-wrapper";function ma(t){return new s5}var s5=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add($S),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!o||o==="100%"||o==="100vw"),u=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),h=this._xPosition,g=this._xOffset,C=this._overlayRef.getConfig().direction==="rtl",M="",x="",k="";l?k="flex-start":h==="center"?(k="center",C?x=g:M=g):C?h==="left"||h==="end"?(k="flex-end",M=g):(h==="right"||h==="start")&&(k="flex-start",x=g):h==="left"||h==="start"?(k="flex-start",M=g):(h==="right"||h==="end")&&(k="flex-end",x=g),n.position=this._cssPosition,n.marginLeft=l?"0":M,n.marginTop=u?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":x,e.justifyContent=k,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove($S),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},l5=(()=>{class t{_injector=m(ve);constructor(){}global(){return ma()}flexibleConnectedTo(e){return uo(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function b1(t,n){t.get(vt).load(XS);let e=t.get(c5),i=t.get(_e),r=t.get(bt),a=t.get(rn),o=t.get(At),s=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),e.getContainerElement().appendChild(s);let u=new K8(l,a,t),h=new v1(n),g=t.get(ht,null,{optional:!0})||t.get(oi).createRenderer(null,null);return h.direction=h.direction||o.value,new _c(u,s,l,h,t.get(te),t.get(ZS),i,t.get(u1),t.get(QS),n?.disableAnimations??t.get(Ha,null,{optional:!0})==="NoopAnimations",t.get(Ut),g)}var d5=(()=>{class t{scrollStrategies=m(qS);_positionBuilder=m(l5);_injector=m(ve);constructor(){}create(e){return b1(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),B$=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],JS=new L("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t)}}),vc=(()=>{class t{elementRef=m(Y);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),u5=(()=>{class t{_dir=m(At,{optional:!0});_injector=m(ve);_overlayRef;_templatePortal;_backdropSubscription=Oe.EMPTY;_attachSubscription=Oe.EMPTY;_detachSubscription=Oe.EMPTY;_positionSubscription=Oe.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m(JS);_disposeOnNavigation=!1;_ngZone=m(te);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let e=m(Lt),i=m(Tt);this._templatePortal=new cn(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=B$);let e=this._overlayRef=b1(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!vi(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),a=ki(i);(!r||r!==a&&!r.contains(a))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new v1({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=uo(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof vc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof vc?this.origin.elementRef.nativeElement:this.origin instanceof Y?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(d7(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",B],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",B],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",B],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",B],push:[2,"cdkConnectedOverlayPush","push",B],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",B]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]})}return t})();function H$(t){let n=m(ve);return()=>Bi(n)}var j$={provide:JS,useFactory:H$},Ii=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[d5,j$],imports:[ao,$n,X3,X3]})}return t})();var Ti=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();var m5=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae]})}return t})();var bc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[Ti,ae,m5,_1]})}return t})();var G$=new L("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t)}});function W$(t){let n=m(ve);return()=>Bi(n)}var $$={provide:G$,deps:[],useFactory:W$};var up=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[$$],imports:[Ii,bc,ae,Wi,bc,ae]})}return t})();var q$=["mat-internal-form-field",""],K$=["*"],yc=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:q$,ngContentSelectors:K$,decls:1,vars:0,template:function(i,r){i&1&&(Ae(),fe(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
`],encapsulation:2,changeDetection:0})}return t})();var Z$=["input"],Q$=["label"],X$=["*"],J$=new L("mat-checkbox-default-options",{providedIn:"root",factory:tE});function tE(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var dn=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(dn||{}),mp=class{source;checked},eE=tE(),fp=(()=>{class t{_elementRef=m(Y);_changeDetectorRef=m(ze);_ngZone=m(te);_animationsDisabled=pt();_options=m(J$,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new mp;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new $;indeterminateChange=new $;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=dn.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(vt).load(xi);let e=m(new Ei("tabindex"),{optional:!0});this._options=this._options||eE,this.color=this._options.color||eE.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=m(bt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(dn.Indeterminate):this._transitionCheckState(this.checked?dn.Checked:dn.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Te(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?dn.Checked:dn.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case dn.Init:if(i===dn.Checked)return this._animationClasses.uncheckedToChecked;if(i==dn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case dn.Unchecked:return i===dn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case dn.Checked:return i===dn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case dn.Indeterminate:return i===dn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(de(Z$,5),de(Q$,5)),i&2){let a;F(a=V())&&(r._inputElement=a.first),F(a=V())&&(r._labelElement=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(si("id",r.id),J("tabindex",null)("aria-label",null)("aria-labelledby",null),yt(r.color?"mat-"+r.color:"mat-accent"),ee("_mat-animation-noopable",r._animationsDisabled)("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",B],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",B],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:dt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],checked:[2,"checked","checked",B],disabled:[2,"disabled","disabled",B],indeterminate:[2,"indeterminate","indeterminate",B]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ie([{provide:Gi,useExisting:Gt(()=>t),multi:!0},{provide:ia,useExisting:t,multi:!0}]),nt],ngContentSelectors:X$,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"div",3),P("click",function(s){return Q(a),X(r._preventBubblingFromLabel(s))}),_(1,"div",4,0)(3,"div",5),P("click",function(){return Q(a),X(r._onTouchTargetClick())}),b(),_(4,"input",6,1),P("blur",function(){return Q(a),X(r._onBlur())})("click",function(){return Q(a),X(r._onInputClick())})("change",function(s){return Q(a),X(r._onInteractionEvent(s))}),b(),ie(6,"div",7),_(7,"div",8),Jt(),_(8,"svg",9),ie(9,"path",10),b(),o1(),ie(10,"div",11),b(),ie(11,"div",12),b(),_(12,"label",13,2),fe(14),b()()}if(i&2){let a=kt(2);w("labelPosition",r.labelPosition),v(4),ee("mdc-checkbox--selected",r.checked),w("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),J("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),v(7),w("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),v(),w("for",r.inputId)}},dependencies:[ln,yc],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})(),hp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[fp,ae,ae]})}return t})();var pp=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var D2=class{applyChanges(n,e,i,r,a){n.forEachOperation((o,s,l)=>{let u,h;if(o.previousIndex==null){let g=i(o,s,l);u=e.createEmbeddedView(g.templateRef,g.context,g.index),h=oo.INSERTED}else l==null?(e.remove(s),h=oo.REMOVED):(u=e.get(s),e.move(u,l),h=oo.MOVED);a&&a({context:u?.context,operation:h,record:o})})}detach(){}};var S2=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new N;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(a=>this._getConcreteValue(a)));n.forEach(a=>this._markSelected(a)),e.filter(a=>!i.has(this._getConcreteValue(a,i))).forEach(a=>this._unmarkSelected(a));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var Cc=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Mc=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,a){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=a}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,a=i?.isErrorState(r,e)??!1;a!==n&&(this.errorState=a,this._stateChanges.next())}};var tY=["trigger"],iY=["panel"],nY=[[["mat-select-trigger"]],"*"],rY=["mat-select-trigger","*"];function aY(t,n){if(t&1&&(_(0,"span",4),D(1),b()),t&2){let e=E();v(),xt(e.placeholder)}}function oY(t,n){t&1&&fe(0)}function sY(t,n){if(t&1&&(_(0,"span",11),D(1),b()),t&2){let e=E(2);v(),xt(e.triggerValue)}}function cY(t,n){if(t&1&&(_(0,"span",5),xe(1,oY,1,0)(2,sY,2,1,"span",11),b()),t&2){let e=E();v(),we(e.customTrigger?1:2)}}function lY(t,n){if(t&1){let e=ke();_(0,"div",12,1),P("keydown",function(r){Q(e);let a=E();return X(a._handleKeydown(r))}),fe(2,1),b()}if(t&2){let e=E();yt(Ps("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),ee("mat-select-panel-animations-enabled",!e._animationsDisabled),w("ngClass",e.panelClass),J("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var gp=new L("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t)}});function nE(t){let n=m(ve);return()=>Bi(n)}var rE=new L("MAT_SELECT_CONFIG"),aE={provide:gp,deps:[],useFactory:nE},oE=new L("MatSelectTrigger"),f5=class{source;value;constructor(n,e){this.source=n,this.value=e}},E2=(()=>{class t{_viewportRuler=m(Zi);_changeDetectorRef=m(ze);_elementRef=m(Y);_dir=m(At,{optional:!0});_idGenerator=m(bt);_renderer=m(ht);_parentFormField=m(gc,{optional:!0});ngControl=m(f1,{self:!0,optional:!0});_liveAnnouncer=m(q3);_defaultOptions=m(rE,{optional:!0});_animationsDisabled=pt();_initialized=new N;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,a=sp(e,this.options,this.optionGroups),o=i._getHostElement();e===0&&a===1?r.scrollTop=0:r.scrollTop=cp(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new f5(this,e)}_scrollStrategyFactory=m(gp);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new N;_errorStateTracker;stateChanges=new N;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Te(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Qa.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=L1(()=>{let e=this.options;return e?e.changes.pipe(Ft(e),Qt(()=>Zt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Qt(()=>this.optionSelectionChanges))});openedChange=new $;_openedStream=this.openedChange.pipe(lt(e=>e),Ce(()=>{}));_closedStream=this.openedChange.pipe(lt(e=>!e),Ce(()=>{}));selectionChange=new $;valueChange=new $;constructor(){let e=m(Cc),i=m(oc,{optional:!0}),r=m(hr,{optional:!0}),a=m(new Ei("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Mc(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id}ngOnInit(){this._selectionModel=new S2(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(je(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(je(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ft(null),je(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(_t(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&U8(this._trackedModal,"aria-owns",i),U9(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;U8(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",a=>{a.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,a=i===13||i===32,o=this._keyManager;if(!o.isTyping()&&a&&!vi(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;o.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,a=r===40||r===38,o=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!o&&(r===13||r===32)&&i.activeItem&&!vi(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!o&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!vi(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof vc?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new K3(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Zt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(je(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Zt(...this.options.map(i=>i._stateChanges)).pipe(je(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,oE,5),Pe(a,_1,5),Pe(a,i5,5)),i&2){let o;F(o=V())&&(r.customTrigger=o.first),F(o=V())&&(r.options=o),F(o=V())&&(r.optionGroups=o)}},viewQuery:function(i,r){if(i&1&&(de(tY,5),de(iY,5),de(u5,5)),i&2){let a;F(a=V())&&(r.trigger=a.first),F(a=V())&&(r.panel=a.first),F(a=V())&&(r._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,r){i&1&&P("keydown",function(o){return r._handleKeydown(o)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(J("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ee("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",B],disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:dt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B],placeholder:"placeholder",required:[2,"required","required",B],multiple:[2,"multiple","multiple",B],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",B],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",dt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",B]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ie([{provide:pc,useExisting:t},{provide:t5,useExisting:t}]),nt],ngContentSelectors:rY,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let a=ke();Ae(nY),_(0,"div",2,0),P("click",function(){return Q(a),X(r.open())}),_(3,"div",3),xe(4,aY,2,1,"span",4)(5,cY,3,1,"span",5),b(),_(6,"div",6)(7,"div",7),Jt(),_(8,"svg",8),ie(9,"path",9),b()()()(),K(10,lY,3,10,"ng-template",10),P("detach",function(){return Q(a),X(r.close())})("backdropClick",function(){return Q(a),X(r.close())})("overlayKeydown",function(s){return Q(a),X(r._handleOverlayKeydown(s))})}if(i&2){let a=kt(1);v(3),J("id",r._valueId),v(),we(r.empty?4:5),v(6),w("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||a)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[vc,u5,lr],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
`],encapsulation:2,changeDetection:0})}return t})();var vr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[aE],imports:[Ii,bc,ae,Wi,Yn,bc,ae]})}return t})();var dY={capture:!0},uY=["focus","mousedown","mouseenter","touchstart"],_p="mat-ripple-loader-uninitialized",vp="mat-ripple-loader-class-name",cE="mat-ripple-loader-centered",h5="mat-ripple-loader-disabled",p5=(()=>{class t{_document=m(_e);_animationsDisabled=pt();_globalRippleOptions=m(co,{optional:!0});_platform=m(Ge);_ngZone=m(te);_injector=m(ve);_eventCleanups;_hosts=new Map;constructor(){let e=m(oi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>uY.map(i=>e.listen(this._document,i,this._onInteraction,dY)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(_p,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(vp))&&e.setAttribute(vp,i.className||""),i.centered&&e.setAttribute(cE,""),i.disabled&&e.setAttribute(h5,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(h5,""):e.removeAttribute(h5)}_onInteraction=e=>{let i=ki(e);if(i instanceof HTMLElement){let r=i.closest(`[${_p}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(vp)),e.append(i);let r=this._globalRippleOptions,a=this._animationsDisabled?0:r?.animation?.enterDuration??e0.enterDuration,o=this._animationsDisabled?0:r?.animation?.exitDuration??e0.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(h5),rippleConfig:{centered:e.hasAttribute(cE),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:o}}},l=new t0(s,this._ngZone,i,this._platform,this._injector),u=!s.rippleDisabled;u&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:u}),e.removeAttribute(_p)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var mE=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],fE=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function fY(t,n){t&1&&(_(0,"span",3),fe(1,1),b())}function hY(t,n){t&1&&(_(0,"span",6),fe(1,2),b())}function pY(t,n){t&1&&(_(0,"span",3),fe(1,1),_(2,"span",7),Jt(),_(3,"svg",8),ie(4,"path",9),b()()())}function gY(t,n){t&1&&(_(0,"span",6),fe(1,2),b())}var _Y=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}
`;var hE=["*"],vY=`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}
`,Cp=new L("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),lE=new L("MatChipAvatar"),dE=new L("MatChipTrailingIcon"),uE=new L("MatChipEdit"),bp=new L("MatChipRemove"),Mp=new L("MatChip"),g5=(()=>{class t{_elementRef=m(Y);_parentChip=m(Mp);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){m(vt).load(xi),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(i,r){i&1&&P("click",function(o){return r._handleClick(o)})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(J("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),ee("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--secondary",!r._isPrimary)("mdc-evolution-chip__action--trailing",!r._isPrimary&&!r._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:dt(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return t})();var pE=(()=>{class t extends g5{_isPrimary=!1;_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(i,r){i&2&&J("aria-hidden",null)},features:[Ie([{provide:bp,useExisting:t}]),Be]})}return t})(),o0=(()=>{class t{_changeDetectorRef=m(ze);_elementRef=m(Y);_tagName=m(gh);_ngZone=m(te);_focusMonitor=m(Ki);_globalRippleOptions=m(co,{optional:!0});_document=m(_e);_onFocus=new N;_onBlur=new N;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=pt();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=m(bt).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new $;destroyed=new $;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=m(p5);_injector=m(ve);constructor(){let e=m(vt);e.load(xi),e.load(g1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Zt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{let r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(e=>e.isInteractive)}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=e!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,lE,5),Pe(a,uE,5),Pe(a,dE,5),Pe(a,bp,5),Pe(a,lE,5),Pe(a,dE,5),Pe(a,uE,5),Pe(a,bp,5)),i&2){let o;F(o=V())&&(r.leadingIcon=o.first),F(o=V())&&(r.editIcon=o.first),F(o=V())&&(r.trailingIcon=o.first),F(o=V())&&(r.removeIcon=o.first),F(o=V())&&(r._allLeadingIcons=o),F(o=V())&&(r._allTrailingIcons=o),F(o=V())&&(r._allEditIcons=o),F(o=V())&&(r._allRemoveIcons=o)}},viewQuery:function(i,r){if(i&1&&de(g5,5),i&2){let a;F(a=V())&&(r.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,r){i&1&&P("keydown",function(o){return r._handleKeydown(o)}),i&2&&(si("id",r.id),J("role",r.role)("aria-label",r.ariaLabel),yt("mat-"+(r.color||"primary")),ee("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",B],highlighted:[2,"highlighted","highlighted",B],disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ie([{provide:Mp,useExisting:t}])],ngContentSelectors:fE,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){i&1&&(Ae(mE),ie(0,"span",0),_(1,"span",1)(2,"span",2),xe(3,fY,2,0,"span",3),_(4,"span",4),fe(5),ie(6,"span",5),b()()(),xe(7,hY,2,0,"span",6)),i&2&&(v(2),w("isInteractive",!1),v(),we(r.leadingIcon?3:-1),v(4),we(r._hasTrailingIcon()?7:-1))},dependencies:[g5],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}
`],encapsulation:2,changeDetection:0})}return t})();var xp=(()=>{class t extends o0{_defaultOptions=m(Cp,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new $;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,i,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275cmp=j({type:t,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,r){i&2&&(si("id",r.id),J("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),ee("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--filter",!r._isBasicChip)("mdc-evolution-chip--selectable",!r._isBasicChip)("mat-mdc-chip-selected",r.selected)("mat-mdc-chip-multiple",r._chipListMultiple)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-with-avatar",r.leadingIcon)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--selected",r.selected)("mdc-evolution-chip--selecting",!r._animationsDisabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-primary-graphic",r._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",B],selected:[2,"selected","selected",B]},outputs:{selectionChange:"selectionChange"},features:[Ie([{provide:o0,useExisting:t},{provide:Mp,useExisting:t}]),Be],ngContentSelectors:fE,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(i,r){i&1&&(Ae(mE),ie(0,"span",0),_(1,"span",1)(2,"button",2),xe(3,pY,5,0,"span",3),_(4,"span",4),fe(5),ie(6,"span",5),b()()(),xe(7,gY,2,0,"span",6)),i&2&&(v(2),w("_allowFocusWhenDisabled",!0),J("aria-description",r.ariaDescription)("aria-label",r.ariaLabel)("aria-selected",r.ariaSelected),v(),we(r._hasLeadingGraphic()?3:-1),v(4),we(r._hasTrailingIcon()?7:-1))},dependencies:[g5],styles:[_Y],encapsulation:2,changeDetection:0})}return t})();var wp=(()=>{class t{_elementRef=m(Y);_changeDetectorRef=m(ze);_dir=m(At,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new N;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new s1;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){let e=this._elementRef.nativeElement.tabIndex;e!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Ft(null),Qt(()=>Zt(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Ft(this._chips)).subscribe(e=>{let i=[];e.forEach(r=>r._getActions().forEach(a=>i.push(a))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new b2(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(je(this._destroyed)).subscribe(({chip:e})=>{let i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(je(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ft(null),je(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(je(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip),a=e.chip._hasFocus(),o=e.chip._hadFocusOnRemove&&this._keyManager.activeItem&&e.chip._getActions().includes(this._keyManager.activeItem),s=a||o;this._isValidIndex(r)&&s&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,o0,5),i&2){let o;F(o=V())&&(r._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){i&1&&P("keydown",function(o){return r._handleKeydown(o)}),i&2&&J("role",r.role)},inputs:{disabled:[2,"disabled","disabled",B],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:dt(e)]},ngContentSelectors:hE,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){i&1&&(Ae(),hi(0,"div",0),fe(1),pi())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}
`],encapsulation:2,changeDetection:0})}return t})(),yp=class{source;value;constructor(n,e){this.source=n,this.value=e}},bY={provide:Gi,useExisting:Gt(()=>Dp),multi:!0},Dp=(()=>{class t extends wp{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=m(Cp,{optional:!0});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}_multiple=!1;get selected(){let e=this._chips.toArray().filter(i=>i.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}_selectable=!0;compareWith=(e,i)=>e===i;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,!1),this._value=e}_value;change=new $;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Ft(null),je(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe(je(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(je(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(i=>{i!==e.source&&i._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){e!=null?this.value=e:this.value=void 0}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,i=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,i)):this._selectValue(e,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(i=>i.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new yp(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(i=>{i!==e&&i.deselect()})}_selectValue(e,i){let r=this._chips.find(a=>a.value!=null&&this.compareWith(a.value,e));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275cmp=j({type:t,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,xp,5),i&2){let o;F(o=V())&&(r._chips=o)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(i,r){i&1&&P("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(o){return r._keydown(o)}),i&2&&(si("tabIndex",r.disabled||r.empty?-1:r.tabIndex),J("role",r.role)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-multiselectable",r.multiple)("aria-orientation",r.ariaOrientation),ee("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[2,"multiple","multiple",B],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",B],compareWith:"compareWith",required:[2,"required","required",B],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B],value:"value"},outputs:{change:"change"},features:[Ie([bY]),Be],ngContentSelectors:hE,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){i&1&&(Ae(),hi(0,"div",0),fe(1),pi())},styles:[vY],encapsulation:2,changeDetection:0})}return t})();var s0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[Cc,{provide:Cp,useValue:{separatorKeyCodes:[13]}}],imports:[ae,Ti,ae]})}return t})();var yY=["input"],CY=["formField"],MY=["*"],_5=class{source;value;constructor(n,e){this.source=n,this.value=e}},xY={provide:Gi,useExisting:Gt(()=>Sp),multi:!0},_E=new L("MatRadioGroup"),wY=new L("mat-radio-default-options",{providedIn:"root",factory:DY});function DY(){return{color:"accent",disabledInteractive:!1}}var Sp=(()=>{class t{_changeDetector=m(ze);_value=null;_name=m(bt).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new $;_radios;color;get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition=e==="before"?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=e,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new _5(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-radio-group"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,v5,5),i&2){let o;F(o=V())&&(r._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",B],required:[2,"required","required",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[Ie([xY,{provide:_E,useExisting:t}])]})}return t})(),v5=(()=>{class t{_elementRef=m(Y);_changeDetector=m(ze);_focusMonitor=m(Ki);_radioDispatcher=m(pp);_defaultOptions=m(wY,{optional:!0});_ngZone=m(te);_renderer=m(ht);_uniqueId=m(bt).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}_labelPosition;get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(e){this._setDisabled(e)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){e!==this._required&&this._changeDetector.markForCheck(),this._required=e}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(e){this._color=e}_color;get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new $;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=pt();_injector=m(ve);constructor(){m(vt).load(xi);let e=m(_E,{optional:!0}),i=m(new Ei("tabindex"),{optional:!0});this.radioGroup=e,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,i&&(this.tabIndex=dt(i,0))}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new _5(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_onInputClick=e=>{this.disabled&&this.disabledInteractive&&e.preventDefault()};_updateTabIndex(){let e=this.radioGroup,i;if(!e||!e.selected||this.disabled?i=this.tabIndex:i=e.selected===this?this.tabIndex:-1,i!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i,Dt(()=>{queueMicrotask(()=>{e&&e.selected&&e.selected!==this&&document.activeElement===r&&(e.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-radio-button"]],viewQuery:function(i,r){if(i&1&&(de(yY,5),de(CY,7,Y)),i&2){let a;F(a=V())&&(r._inputElement=a.first),F(a=V())&&(r._rippleTrigger=a.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(i,r){i&1&&P("focus",function(){return r._inputElement.nativeElement.focus()}),i&2&&(J("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ee("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:dt(e)],checked:[2,"checked","checked",B],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",B],required:[2,"required","required",B],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:MY,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"div",2,0)(2,"div",3)(3,"div",4),P("click",function(s){return Q(a),X(r._onTouchTargetClick(s))}),b(),_(4,"input",5,1),P("change",function(s){return Q(a),X(r._onInputInteraction(s))}),b(),_(6,"div",6),ie(7,"div",7)(8,"div",8),b(),_(9,"div",9),ie(10,"div",10),b()(),_(11,"label",11),fe(12),b()()}i&2&&(w("labelPosition",r.labelPosition),v(2),ee("mdc-radio--disabled",r.disabled),v(2),w("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),J("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),v(5),w("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),v(2),w("for",r.inputId))},dependencies:[ln,yc],styles:[`.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}
`],encapsulation:2,changeDetection:0})}return t})(),Ep=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Ti,v5,ae]})}return t})();var Lg=c4(kp(),1),SZe=c4(bE(),1);var EY=["*",[["mat-toolbar-row"]]],LY=["*","mat-toolbar-row"],kY=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),yE=(()=>{class t{_elementRef=m(Y);_platform=m(Ge);_document=m(_e);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,kY,5),i&2){let o;F(o=V())&&(r._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(yt(r.color?"mat-"+r.color:""),ee("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:LY,decls:2,vars:0,template:function(i,r){i&1&&(Ae(EY),fe(0),fe(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
`],encapsulation:2,changeDetection:0})}return t})();var c0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();var Tp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Wi,Wi,ae]})}return t})();var TY=new L("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t)}});function AY(t){let n=m(ve);return()=>Bi(n)}var zY={provide:TY,deps:[],useFactory:AY};var Ap=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[zY],imports:[Ti,ae,Ii,Wi,ae]})}return t})(),CE={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},hUe=CE.fadeInItems,pUe=CE.transformMenu;var l0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();var zp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[dc,ae,Ti,m5,l0]})}return t})();var RY=["mat-icon-button",""],NY=["*"],OY=new L("MAT_BUTTON_CONFIG");function ME(t){return t==null?void 0:dt(t)}var Rp=(()=>{class t{_elementRef=m(Y);_ngZone=m(te);_animationsDisabled=pt();_config=m(OY,{optional:!0});_focusMonitor=m(Ki);_cleanupClick;_renderer=m(ht);_rippleLoader=m(p5);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){m(vt).load(xi);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{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(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_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",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(J("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),yt(r.color?"mat-"+r.color:""),ee("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B],ariaDisabled:[2,"aria-disabled","ariaDisabled",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],tabIndex:[2,"tabIndex","tabIndex",ME],_tabindex:[2,"tabindex","_tabindex",ME]}})}return t})(),y1=(()=>{class t extends Rp{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,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:[Be],attrs:RY,ngContentSelectors:NY,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(i,r){i&1&&(Ae(),In(0,"span",0),fe(1),In(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>.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}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})();var PY=["matButton",""],FY=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],VY=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var xE=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),L2=(()=>{class t extends Rp{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=BY(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?xE.get(this._appearance):null,a=xE.get(e);r&&i.remove(...r),i.add(...a),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Be],attrs:PY,ngContentSelectors:VY,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ae(FY),In(0,"span",0),fe(1),hi(2,"span",1),fe(3,1),pi(),fe(4,2),In(5,"span",2)(6,"span",3)),i&2&&ee("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-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-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})();function BY(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var $i=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Ti,ae]})}return t})();var HY=["button"],jY=["*"];function UY(t,n){if(t&1&&(_(0,"div",2),ie(1,"mat-pseudo-checkbox",6),b()),t&2){let e=E();v(),w("disabled",e.disabled)}}var wE=new L("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:GY});function GY(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var DE=new L("MatButtonToggleGroup"),WY={provide:Gi,useExisting:Gt(()=>d0),multi:!0},y5=class{source;value;constructor(n,e){this.source=n,this.value=e}},d0=(()=>{class t{_changeDetector=m(ze);_dir=m(At,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}_name=m(bt).getId("mat-button-toggle-group-");vertical;get value(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}valueChange=new $;get selected(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}change=new $;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(e){this._hideMultipleSelectionIndicator=e,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){let e=m(wE,{optional:!0});this.appearance=e&&e.appearance?e.appearance:"standard",this.hideSingleSelectionIndicator=e?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=e?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new S2(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked)),this.multiple||this._initializeTabIndex()}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_keydown(e){if(this.multiple||this.disabled||vi(e))return;let r=e.target.id,a=this._buttonToggles.toArray().findIndex(s=>s.buttonId===r),o=null;switch(e.keyCode){case 32:case 13:o=this._buttonToggles.get(a)||null;break;case 38:o=this._getNextButton(a,-1);break;case 37:o=this._getNextButton(a,this.dir==="ltr"?-1:1);break;case 40:o=this._getNextButton(a,1);break;case 39:o=this._getNextButton(a,this.dir==="ltr"?1:-1);break;default:return}o&&(e.preventDefault(),o._onButtonClick(),o.focus())}_emitChangeEvent(e){let i=new y5(e,this.value);this._rawValue=i.value,this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>e.value!=null&&i===e.value):e.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(e=>{e.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let e=0;e<this._buttonToggles.length;e++){let i=this._buttonToggles.get(e);if(!i.disabled){i.tabIndex=0;break}}}_getNextButton(e,i){let r=this._buttonToggles;for(let a=1;a<=r.length;a++){let o=(e+i*a+r.length)%r.length,s=r.get(o);if(s&&!s.disabled)return s}return null}_setSelectionByValue(e){if(this._rawValue=e,!this._buttonToggles)return;let i=this._buttonToggles.toArray();if(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(r=>this._selectValue(r,i))):(this._clearSelection(),this._selectValue(e,i)),!this.multiple&&i.every(r=>r.tabIndex===-1)){for(let r of i)if(!r.disabled){r.tabIndex=0;break}}}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>{e.checked=!1,this.multiple||(e.tabIndex=-1)})}_selectValue(e,i){for(let r of i)if(r.value===e){r.checked=!0,this._selectionModel.select(r),this.multiple||(r.tabIndex=0);break}}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,wc,5),i&2){let o;F(o=V())&&(r._buttonToggles=o)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(i,r){i&1&&P("keydown",function(o){return r._keydown(o)}),i&2&&(J("role",r.multiple?"group":"radiogroup")("aria-disabled",r.disabled),ee("mat-button-toggle-vertical",r.vertical)("mat-button-toggle-group-appearance-standard",r.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",B],value:"value",multiple:[2,"multiple","multiple",B],disabled:[2,"disabled","disabled",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",B]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Ie([WY,{provide:DE,useExisting:t}])]})}return t})(),wc=(()=>{class t{_changeDetectorRef=m(ze);_elementRef=m(Y);_focusMonitor=m(Ki);_idGenerator=m(bt);_animationDisabled=pt();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(e){this._tabIndex.set(e)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new $;constructor(){m(vt).load(xi);let e=m(DE,{optional:!0}),i=m(new Ei("tabindex"),{optional:!0})||"",r=m(wE,{optional:!0});this._tabIndex=Te(parseInt(i)||0),this.buttonToggleGroup=e,this.appearance=r&&r.appearance?r.appearance:"standard",this.disabledInteractive=r?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let i=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);i&&(i.tabIndex=-1),this.tabIndex=0}this.change.emit(new y5(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(i,r){if(i&1&&de(HY,5),i&2){let a;F(a=V())&&(r._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(i,r){i&1&&P("focus",function(){return r.focus()}),i&2&&(J("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),ee("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",B],appearance:"appearance",checked:[2,"checked","checked",B],disabled:[2,"disabled","disabled",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:jY,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"button",1,0),P("click",function(){return Q(a),X(r._onButtonClick())}),xe(2,UY,2,1,"div",2),_(3,"span",3),fe(4),b()(),ie(5,"span",4)(6,"span",5)}if(i&2){let a=kt(1);w("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),J("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),v(2),we(r.buttonToggleGroup&&(!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator||r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),v(4),w("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[ln,J8],styles:[`.mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}
`],encapsulation:2,changeDetection:0})}return t})(),k2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Ti,wc,ae]})}return t})();var $Y=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
`],encapsulation:2,changeDetection:0})}return t})(),YY={passive:!0},EE=(()=>{class t{_platform=m(Ge);_ngZone=m(te);_renderer=m(oi).createRenderer(null,null);_styleLoader=m(vt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Si;this._styleLoader.load($Y);let i=mi(e),r=this._monitoredElements.get(i);if(r)return r.subject;let a=new N,o="cdk-text-field-autofilled",s=u=>{u.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(o)?(i.classList.add(o),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,YY)));return this._monitoredElements.set(i,{subject:a,unlisten:l}),a}stopMonitoring(e){let i=mi(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var LE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var kE=new L("MAT_INPUT_VALUE_ACCESSOR");var qY=["button","checkbox","file","hidden","image","radio","range","reset","submit"],KY=new L("MAT_INPUT_CONFIG"),IE=(()=>{class t{_elementRef=m(Y);_platform=m(Ge);ngControl=m(f1,{optional:!0,self:!0});_autofillMonitor=m(EE);_ngZone=m(te);_formField=m(gc,{optional:!0});_renderer=m(ht);_uid=m(bt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=m(KY,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new N;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=ca(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Qa.required)??!1}set required(e){this._required=ca(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Y9().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ca(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Y9().has(e));constructor(){let e=m(oc,{optional:!0}),i=m(hr,{optional:!0}),r=m(Cc),a=m(kE,{optional:!0,self:!0}),o=this._elementRef.nativeElement,s=o.nodeName.toLowerCase();a?nr(a.value)?this._signalBasedValueAccessor=a:this._inputValueAccessor=a:this._inputValueAccessor=o,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(o,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Mc(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=o.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&O1(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){qY.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&P("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(si("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),J("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ee("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},exportAs:["matInput"],features:[Ie([{provide:pc,useExisting:t}]),nt]})}return t})(),I2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Yn,Yn,LE,ae]})}return t})();var QY=["*"];var XY=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],JY=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
      [mat-card-title], [mat-card-subtitle],
      [matCardTitle], [matCardSubtitle]`,"*"],eq=new L("MAT_CARD_CONFIG"),TE=(()=>{class t{appearance;constructor(){let e=m(eq,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(i,r){i&2&&ee("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:QY,decls:1,vars:0,template:function(i,r){i&1&&(Ae(),fe(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
`],encapsulation:2,changeDetection:0})}return t})(),AE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var zE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),RE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})();var NE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:JY,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Ae(XY),fe(0),hi(1,"div",0),fe(2,1),pi(),fe(3,2))},encapsulation:2,changeDetection:0})}return t})();var OE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return t})();var u0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();function iq(t,n){}var mo=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Op=(()=>{class t extends so{_elementRef=m(Y);_focusTrapFactory=m(R8);_config;_interactivityChecker=m(z8);_ngZone=m(te);_focusMonitor=m(Ki);_renderer=m(ht);_changeDetectorRef=m(ze);_injector=m(ve);_platform=m(Ge);_document=m(_e);_portalOutlet;_focusTrapped=new N;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=m(mo,{optional:!0})||new mo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{a(),o(),e.removeAttribute("tabindex")},a=this._renderer.listen(e,"blur",r),o=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Dt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=na(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=na();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=na()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&de(yn,7),i&2){let a;F(a=V())&&(r._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&J("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Be],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&K(0,iq,0,0,"ng-template",0)},dependencies:[yn],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
`],encapsulation:2})}return t})(),m0=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new N;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!vi(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},nq=new L("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>w2(t)}}),rq=new L("DialogData"),aq=new L("DefaultDialogConfig");function oq(t){let n=Te(t),e=new $;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var Pp=(()=>{class t{_injector=m(ve);_defaultOptions=m(aq,{optional:!0});_parentDialog=m(t,{optional:!0,skipSelf:!0});_overlayContainer=m(c5);_idGenerator=m(bt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new N;_afterOpenedAtThisLevel=new N;_ariaHiddenElements=new Map;_scrollStrategy=m(nq);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=L1(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new mo;i=z(z({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),o=b1(this._injector,a),s=new m0(o,i),l=this._attachContainer(o,s,i);if(s.containerInstance=l,!this.openDialogs.length){let u=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(_t(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(u)}):this._hideNonDialogContentFromAssistiveTechnology(u)}return this._attachDialogContent(e,s,l,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Np(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Np(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Np(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new v1({positionStrategy:e.positionStrategy||ma().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let a=r.injector||r.viewContainerRef?.injector,o=[{provide:mo,useValue:r},{provide:m0,useValue:i},{provide:_c,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,o.push(...r.container.providers(r))):s=Op;let l=new Wn(s,r.viewContainerRef,ve.create({parent:a||this._injector,providers:o}));return e.attach(l).instance}_attachDialogContent(e,i,r,a){if(e instanceof Lt){let o=this._createInjector(a,i,r,void 0),s={$implicit:a.data,dialogRef:i};a.templateContext&&(s=z(z({},s),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),r.attachTemplatePortal(new cn(e,null,s,o))}else{let o=this._createInjector(a,i,r,this._injector),s=r.attachComponentPortal(new Wn(e,a.viewContainerRef,o));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,a){let o=e.injector||e.viewContainerRef?.injector,s=[{provide:rq,useValue:e.data},{provide:m0,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!o||!o.get(At,null,{optional:!0}))&&s.push({provide:At,useValue:oq(e.direction)}),ve.create({parent:o||a,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let a=i[r];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Np(t,n){let e=t.length;for(;e--;)n(t[e])}var PE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[Pp],imports:[Ii,$n,aa,$n]})}return t})();function sq(t,n){}var h0=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Fp="mdc-dialog--open",FE="mdc-dialog--opening",VE="mdc-dialog--closing",cq=150,lq=75,jE=(()=>{class t extends Op{_animationStateChanged=new $;_animationsEnabled=!pt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?HE(this._config.enterAnimationDuration)??cq:0;_exitAnimationDuration=this._animationsEnabled?HE(this._config.exitAnimationDuration)??lq:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(BE,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(FE,Fp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fp),this._animationsEnabled?(this._hostElement.style.setProperty(BE,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(VE)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(FE,VE)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275cmp=j({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(si("id",r._config.id),J("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ee("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Be],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(_(0,"div",0)(1,"div",1),K(2,sq,0,0,"ng-template",2),b()())},dependencies:[yn],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
`],encapsulation:2})}return t})(),BE="--mat-dialog-transition-duration";function HE(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?sn(t.substring(0,t.length-2)):t.endsWith("s")?sn(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var f0=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(f0||{}),fo=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new N;_beforeClosed=new N;_result;_closeFallbackTimeout;_state=f0.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(lt(r=>r.state==="opened"),_t(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(lt(r=>r.state==="closed"),_t(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Zt(this.backdropClick(),this.keydownEvents().pipe(lt(r=>r.keyCode===27&&!this.disableClose&&!vi(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),UE(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(lt(i=>i.state==="closing"),_t(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=f0.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=f0.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function UE(t,n,e){return t._closeInteractionType=n,t.close(e)}var Dc=new L("MatMdcDialogData"),GE=new L("mat-mdc-dialog-default-options"),WE=new L("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>w2(t)}}),br=(()=>{class t{_defaultOptions=m(GE,{optional:!0});_scrollStrategy=m(WE);_parentDialog=m(t,{optional:!0,skipSelf:!0});_idGenerator=m(bt);_injector=m(ve);_dialog=m(Pp);_animationsDisabled=pt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new N;_afterOpenedAtThisLevel=new N;dialogConfigClass=h0;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=L1(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0)));constructor(){this._dialogRefConstructor=fo,this._dialogContainerType=jE,this._dialogDataToken=Dc}open(e,i){let r;i=z(z({},this._defaultOptions||new h0),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,Ue(z({},i),{positionStrategy:ma(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:mo,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(o,s,l)=>(r=new this._dialogRefConstructor(o,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=a.componentRef,r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[br],imports:[PE,Ii,$n,ae,ae]})}return t})();var Vp=new L("MAT_DATE_LOCALE",{providedIn:"root",factory:dq});function dq(){return m(Wa)}var Ec="Method not implemented",qn=class{locale;_localeChanges=new N;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(Ec)}getHours(n){throw new Error(Ec)}getMinutes(n){throw new Error(Ec)}getSeconds(n){throw new Error(Ec)}parseTime(n,e){throw new Error(Ec)}addSeconds(n,e){throw new Error(Ec)}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return n==null||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}compareTime(n,e){return this.getHours(n)-this.getHours(e)||this.getMinutes(n)-this.getMinutes(e)||this.getSeconds(n)-this.getSeconds(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareDate(n,e):i==r}return n==e}sameTime(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareTime(n,e):i==r}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}},T2=new L("mat-date-formats");var Bp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,ae]})}return t})();function Up(t){let n=t.cloneNode(!0),e=n.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r<e.length;r++)e[r].removeAttribute("id");return i==="canvas"?qE(t,n):(i==="input"||i==="select"||i==="textarea")&&YE(t,n),$E("canvas",t,n,qE),$E("input, textarea, select",t,n,YE),n}function $E(t,n,e,i){let r=n.querySelectorAll(t);if(r.length){let a=e.querySelectorAll(t);for(let o=0;o<r.length;o++)i(r[o],a[o])}}var uq=0;function YE(t,n){n.type!=="file"&&(n.value=t.value),n.type==="radio"&&n.name&&(n.name=`mat-clone-${n.name}-${uq++}`)}function qE(t,n){let e=n.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch{}}function Kp(t){let n=t.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function Gp(t,n,e){let{top:i,bottom:r,left:a,right:o}=t;return e>=i&&e<=r&&n>=a&&n<=o}function mq(t,n){let e=n.left<t.left,i=n.left+n.width>t.right,r=n.top<t.top,a=n.top+n.height>t.bottom;return e||i||r||a}function _0(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function KE(t,n,e,i){let{top:r,right:a,bottom:o,left:s,width:l,height:u}=t,h=l*n,g=u*n;return i>r-g&&i<o+g&&e>s-h&&e<a+h}var M5=class{_document;positions=new Map;constructor(n){this._document=n}clear(){this.positions.clear()}cache(n){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),n.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:Kp(e)})})}handleScroll(n){let e=ki(n),i=this.positions.get(e);if(!i)return null;let r=i.scrollPosition,a,o;if(e===this._document){let u=this.getViewportScrollPosition();a=u.top,o=u.left}else a=e.scrollTop,o=e.scrollLeft;let s=r.top-a,l=r.left-o;return this.positions.forEach((u,h)=>{u.clientRect&&e!==h&&e.contains(h)&&_0(u.clientRect,s,l)}),r.top=a,r.left=o,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function oL(t,n){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===n.ELEMENT_NODE)return e[0];let i=n.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function Zp(t,n,e){for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];r?t.setProperty(i,r,e?.has(i)?"important":""):t.removeProperty(i)}return t}function Lc(t,n){let e=n?"":"none";Zp(t.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function ZE(t,n,e){Zp(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function x5(t,n){return n&&n!="none"?t+" "+n:t}function QE(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=v0(n.left,n.top)}function v0(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function XE(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function fq(t){let n=getComputedStyle(t),e=Hp(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),a=Hp(n,"transition-duration"),o=Hp(n,"transition-delay");return XE(a[r])+XE(o[r])}function Hp(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var hq=new Set(["position"]),Wp=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(n,e,i,r,a,o,s,l,u,h){this._document=n,this._rootElement=e,this._direction=i,this._initialDomRect=r,this._previewTemplate=a,this._previewClass=o,this._pickupPositionOnPage=s,this._initialTransform=l,this._zIndex=u,this._renderer=h}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),JE(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return fq(this._preview)}addEventListener(n,e){return this._renderer.listen(this._preview,n,e)}_createPreview(){let n=this._previewTemplate,e=this._previewClass,i=n?n.template:null,r;if(i&&n){let a=n.matchSize?this._initialDomRect:null,o=n.viewContainer.createEmbeddedView(i,n.context);o.detectChanges(),r=oL(o,this._document),this._previewEmbeddedView=o,n.matchSize?QE(r,a):r.style.transform=v0(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=Up(this._rootElement),QE(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return Zp(r.style,{"pointer-events":"none",margin:JE(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},hq),Lc(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>r.classList.add(a)):r.classList.add(e)),r}};function JE(t){return"showPopover"in t}var pq={passive:!0},eL={passive:!1},gq={passive:!1,capture:!0},_q=800,tL="cdk-drag-placeholder",iL=new Set(["position"]),$p=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Te(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new N;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=Oe.EMPTY;_pointerUpSubscription=Oe.EMPTY;_scrollSubscription=Oe.EMPTY;_resizeSubscription=Oe.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(e=>Lc(e,n)))}_disabled=!1;beforeStarted=new N;started=new N;released=new N;ended=new N;entered=new N;exited=new N;dropped=new N;moved=this._moveEvents;data;constrainPosition;constructor(n,e,i,r,a,o,s){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=a,this._dragDropRegistry=o,this._renderer=s,this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new M5(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>mi(i)),this._handles.forEach(i=>Lc(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){let e=mi(n);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,eL),i.listen(e,"touchstart",this._pointerDown,pq),i.listen(e,"dragstart",this._nativeDragStart,eL)]),this._initialTransform=void 0,this._rootElement=e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?mi(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&mq(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let n=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),i=0,r=0;e.left<n.left?i=n.left-e.left:e.right>n.right&&(i=n.right-e.right),e.top<n.top?r=n.top-e.top:e.bottom>n.bottom&&(r=n.bottom-e.bottom);let a=this._activeTransform.x,o=this._activeTransform.y,s=a+i,l=o+r;this._rootElement.style.transform=v0(s,l),this._activeTransform={x:s,y:l},this._passiveTransform={x:s,y:l}}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),Lc(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),Lc(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){let n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){let n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=n=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)};_pointerMove=n=>{let e=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging()){let r=Math.abs(e.x-this._pickupPositionOnPage.x),a=Math.abs(e.y-this._pickupPositionOnPage.y);if(r+a>=this._config.dragStartThreshold){let s=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),l=this._dropContainer;if(!s){this._endDragSequence(n);return}(!l||!l.isDragging()&&!l.isReceiving())&&(n.cancelable&&n.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(n)))}return}n.cancelable&&n.preventDefault();let i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{let r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,a=this._activeTransform;a.x=i.x-r.x+this._passiveTransform.x,a.y=i.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(a.x,a.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:n,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=n=>{this._endDragSequence(n)};_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){p0(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",vq,gq)}),i){let r=this._rootElement,a=r.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._marker=this._marker||this._document.createComment("");a.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new Wp(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(a,e)),ZE(r,!1,iL),this._document.body.appendChild(a.replaceChild(o,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),r=p0(e),a=!r&&e.button!==0,o=this._rootElement,s=ki(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+_q>Date.now(),u=r?g2(e):p2(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||a||l||u)return;if(this._handles.length){let C=o.style;this._rootElementTapHighlight=C.webkitTapHighlightColor||"",C.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(C=>this._updateOnScroll(C)),this._boundaryElement&&(this._boundaryRect=Kp(this._boundaryElement));let h=this._previewTemplate;this._pickupPositionInElement=h&&h.template&&!h.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){ZE(this._rootElement,!0,iL),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),a=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:a,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:a,dropPoint:r,event:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,a,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:i,y:r}){let a=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{let o=this._dropContainer.getItemIndex(this),s=this._dropContainer.getItemAtIndex(o+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(a,this._dropContainer,s),this._dropContainer=a,this._dropContainer.enter(this,n,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let r=s=>{(!s||this._preview&&ki(s)===this._preview.element&&s.propertyName==="transform")&&(o(),i(),clearTimeout(a))},a=setTimeout(r,e*1.5),o=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let n=this._placeholderTemplate,e=n?n.template:null,i;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),i=oL(this._placeholderRef,this._document)):i=Up(this._rootElement),i.style.pointerEvents="none",i.classList.add(tL),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,a=r?r.getBoundingClientRect():n,o=p0(i)?i.targetTouches[0]:i,s=this._getViewportScrollPosition(),l=o.pageX-a.left-s.left,u=o.pageY-a.top-s.top;return{x:a.left-n.left+l,y:a.top-n.top+u}}_getPointerPositionOnPage(n){let e=this._getViewportScrollPosition(),i=p0(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-e.left,a=i.pageY-e.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=a,s.matrixTransform(o.inverse())}}return{x:r,y:a}}_getConstrainedPointerPosition(n){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:a,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:u}=this._getPreviewRect(),h=s.top+o,g=s.bottom-(u-o),C=s.left+a,M=s.right-(l-a);i=nL(i,C,M),r=nL(r,h,g)}return{x:i,y:r}}_updatePointerDirectionDelta(n){let{x:e,y:i}=n,r=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-a.x),s=Math.abs(i-a.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>a.x?1:-1,a.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=i>a.y?1:-1,a.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,Lc(this._rootElement,n))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(n=>n()),this._rootElementCleanups=void 0}_applyRootElementTransform(n,e){let i=1/this.scale,r=v0(n*i,e*i),a=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=a.transform&&a.transform!="none"?a.transform:""),a.transform=x5(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=v0(n,e);this._preview.setTransform(x5(r,i))}_getDragDistance(n){let e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(n===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||i.width===0&&i.height===0)return;let a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(n+=a),o>0&&(n-=o)):n=0,r.height>i.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){let e=this.dragStartDelay;return typeof e=="number"?e:p0(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=ki(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&_0(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=_2(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){let i=this._previewContainer||"global";if(i==="parent")return n;if(i==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return mi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=n=>{if(this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()};_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}_conditionallyInsertAnchor(n,e,i){if(n===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let r=this._anchor??=Up(this._placeholder);r.classList.remove(tL),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):mi(e.element).appendChild(r)}}};function nL(t,n,e){return Math.max(n,Math.min(e,t))}function p0(t){return t.type[0]==="t"}function vq(t){t.preventDefault()}function sL(t,n,e){let i=rL(n,t.length-1),r=rL(e,t.length-1);if(i===r)return;let a=t[i],o=r<i?-1:1;for(let s=i;s!==r;s+=o)t[s]=t[s+o];t[r]=a}function rL(t,n){return Math.max(0,Math.min(n,t))}var w5=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(n){this._dragDropRegistry=n}_previousSwap={drag:null,delta:0,overlaps:!1};start(n){this.withItems(n)}sort(n,e,i,r){let a=this._itemPositions,o=this._getItemIndexFromPointerPosition(n,e,i,r);if(o===-1&&a.length>0)return null;let s=this.orientation==="horizontal",l=a.findIndex(I=>I.drag===n),u=a[o],h=a[l].clientRect,g=u.clientRect,C=l>o?1:-1,M=this._getItemOffsetPx(h,g,C),x=this._getSiblingOffsetPx(l,a,C),k=a.slice();return sL(a,l,o),a.forEach((I,T)=>{if(k[T]===I)return;let ce=I.drag===n,ye=ce?M:x,Se=ce?n.getPlaceholderElement():I.drag.getRootElement();I.offset+=ye;let rt=Math.round(I.offset*(1/I.drag.scale));s?(Se.style.transform=x5(`translate3d(${rt}px, 0, 0)`,I.initialTransform),_0(I.clientRect,0,ye)):(Se.style.transform=x5(`translate3d(0, ${rt}px, 0)`,I.initialTransform),_0(I.clientRect,ye,0))}),this._previousSwap.overlaps=Gp(g,e,i),this._previousSwap.drag=u.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:l,currentIndex:o}}enter(n,e,i,r){let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r,o=this._activeDraggables,s=o.indexOf(n),l=n.getPlaceholderElement(),u=o[a];if(u===n&&(u=o[a+1]),!u&&(a==null||a===-1||a<o.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(u=o[0]),s>-1&&o.splice(s,1),u&&!this._dragDropRegistry.isDragging(u)){let h=u.getRootElement();h.parentElement.insertBefore(l,h),o.splice(a,0,n)}else this._element.appendChild(l),o.push(n);l.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables?.forEach(n=>{let e=n.getRootElement();if(e){let i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return this._getVisualItemPositions().findIndex(e=>e.drag===n)}getItemAtIndex(n){return this._getVisualItemPositions()[n]?.drag||null}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:i})=>{_0(i,n,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(n){this._element=n}_cacheItemPositions(){let n=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:Kp(i)}}).sort((e,i)=>n?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=r?e.left-n.left:e.top-n.top;return i===-1&&(a+=r?e.width-n.width:e.height-n.height),a}_getSiblingOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=e[n].clientRect,o=e[n+i*-1],s=a[r?"width":"height"]*i;if(o){let l=r?"left":"top",u=r?"right":"bottom";i===-1?s-=o.clientRect[l]-a[u]:s+=a[l]-o.clientRect[u]}return s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,r=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return r?n>=o.right:e>=o.bottom}else{let o=i[0].clientRect;return r?n<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(n,e,i,r){let a=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===n)return!1;if(r){let u=a?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&u===this._previousSwap.delta)return!1}return a?e>=Math.floor(l.left)&&e<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return o===-1||!this._sortPredicate(o,n)?-1:o}},Yp=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(n,e){this._document=n,this._dragDropRegistry=e}start(n){let e=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<e.length;i++){let r=e[i];this._relatedNodes.push([r,r.nextSibling])}this.withItems(n)}sort(n,e,i,r){let a=this._getItemIndexFromPointerPosition(n,e,i),o=this._previousSwap;if(a===-1||this._activeItems[a]===n)return null;let s=this._activeItems[a];if(o.drag===s&&o.overlaps&&o.deltaX===r.x&&o.deltaY===r.y)return null;let l=this.getItemIndex(n),u=n.getPlaceholderElement(),h=s.getRootElement();a>l?h.after(u):h.before(u),sL(this._activeItems,l,a);let g=this._getRootNode().elementFromPoint(e,i);return o.deltaX=r.x,o.deltaY=r.y,o.drag=s,o.overlaps=h===g||h.contains(g),{previousIndex:l,currentIndex:a}}enter(n,e,i,r){let a=this._activeItems.indexOf(n);a>-1&&this._activeItems.splice(a,1);let o=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r;o===-1&&(o=this._getClosestItemIndexToPointer(n,e,i));let s=this._activeItems[o];s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(o,0,n),s.getRootElement().before(n.getPlaceholderElement())):(this._activeItems.push(n),this._element.appendChild(n.getPlaceholderElement()))}withItems(n){this._activeItems=n.slice()}withSortPredicate(n){this._sortPredicate=n}reset(){let n=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[r,a]=this._relatedNodes[i];r.parentNode===n&&r.nextSibling!==a&&(a===null?n.appendChild(r):a.parentNode===n&&n.insertBefore(r,a))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(n){return this._activeItems.indexOf(n)}getItemAtIndex(n){return this._activeItems[n]||null}updateOnScroll(){this._activeItems.forEach(n=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(n){n!==this._element&&(this._element=n,this._rootNode=void 0)}_getItemIndexFromPointerPosition(n,e,i){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),a=r?this._activeItems.findIndex(o=>{let s=o.getRootElement();return r===s||s.contains(r)}):-1;return a===-1||!this._sortPredicate(a,n)?-1:a}_getRootNode(){return this._rootNode||(this._rootNode=_2(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(n,e,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,a=-1;for(let o=0;o<this._activeItems.length;o++){let s=this._activeItems[o];if(s!==n){let{x:l,y:u}=s.getRootElement().getBoundingClientRect(),h=Math.hypot(e-l,i-u);h<r&&(r=h,a=o)}}return a}},aL=.05,cL=.05,C1=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(C1||{}),Mn=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(Mn||{}),qp=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new N;entered=new N;exited=new N;dropped=new N;sorted=new N;receivingStarted=new N;receivingStopped=new N;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=Oe.EMPTY;_verticalScrollDirection=C1.NONE;_horizontalScrollDirection=Mn.NONE;_scrollNode;_stopScrollTimers=new N;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(n,e,i,r,a){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=a;let o=this.element=mi(n);this._document=i,this.withOrientation("vertical").withElementContainer(o),e.registerDropContainer(this),this._parentPositions=new M5(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,i,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,i,r,a,o,s,l={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:a,distance:o,dropPoint:s,event:l})}withItems(n){let e=this._draggables;return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>n.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._direction=n,this._sortStrategy instanceof w5&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new Yp(this._document,this._dragDropRegistry);else{let e=new w5(this._dragDropRegistry);e.direction=this._direction,e.orientation=n,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(n){let e=this._container;return this._scrollableElements=n.indexOf(e)===-1?[e,...n]:n.slice(),this}withElementContainer(n){if(n===this._container)return this;let e=mi(this.element),i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(n);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(n),this._cachedShadowRoot=null,this._scrollableElements.unshift(n),this._container=n,this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}getItemAtIndex(n){return this._isDragging?this._sortStrategy.getItemAtIndex(n):this._draggables[n]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,i,r){if(this.sortingDisabled||!this._domRect||!KE(this._domRect,aL,e,i))return;let a=this._sortStrategy.sort(n,e,i,r);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let i,r=C1.NONE,a=Mn.NONE;if(this._parentPositions.positions.forEach((o,s)=>{s===this._document||!o.clientRect||i||KE(o.clientRect,aL,n,e)&&([r,a]=bq(s,o.clientRect,this._direction,n,e),(r||a)&&(i=s))}),!r&&!a){let{width:o,height:s}=this._viewportRuler.getViewportSize(),l={width:o,height:s,top:0,right:o,bottom:s,left:0};r=lL(l,e),a=dL(l,n),i=window}i&&(r!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=i,(r||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let n=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let n=this._container.style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),o7(0,S4).pipe(je(this._stopScrollTimers)).subscribe(()=>{let n=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===C1.UP?n.scrollBy(0,-e):this._verticalScrollDirection===C1.DOWN&&n.scrollBy(0,e),this._horizontalScrollDirection===Mn.LEFT?n.scrollBy(-e,0):this._horizontalScrollDirection===Mn.RIGHT&&n.scrollBy(e,0)})};_isOverContainer(n,e){return this._domRect!=null&&Gp(this._domRect,n,e)}_getSiblingContainerFromPosition(n,e,i){return this._siblings.find(r=>r._canReceive(n,e,i))}_canReceive(n,e,i){if(!this._domRect||!Gp(this._domRect,e,i)||!this.enterPredicate(n,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,i);return r?r===this._container||this._container.contains(r):!1}_startReceiving(n,e){let i=this._activeSiblings;!i.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let n=_2(this._container);this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}};function lL(t,n){let{top:e,bottom:i,height:r}=t,a=r*cL;return n>=e-a&&n<=e+a?C1.UP:n>=i-a&&n<=i+a?C1.DOWN:C1.NONE}function dL(t,n){let{left:e,right:i,width:r}=t,a=r*cL;return n>=e-a&&n<=e+a?Mn.LEFT:n>=i-a&&n<=i+a?Mn.RIGHT:Mn.NONE}function bq(t,n,e,i,r){let a=lL(n,r),o=dL(n,i),s=C1.NONE,l=Mn.NONE;if(a){let u=t.scrollTop;a===C1.UP?u>0&&(s=C1.UP):t.scrollHeight-u>t.clientHeight&&(s=C1.DOWN)}if(o){let u=t.scrollLeft;e==="rtl"?o===Mn.RIGHT?u<0&&(l=Mn.RIGHT):t.scrollWidth+u>t.clientWidth&&(l=Mn.LEFT):o===Mn.LEFT?u>0&&(l=Mn.LEFT):t.scrollWidth-u>t.clientWidth&&(l=Mn.RIGHT)}return[s,l]}var g0={capture:!0},jp={passive:!1,capture:!0},yq=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,r){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
`],encapsulation:2,changeDetection:0})}return t})(),Cq=(()=>{class t{_ngZone=m(te);_document=m(_e);_styleLoader=m(vt);_renderer=m(oi).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new N;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Te([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new N;pointerUp=new N;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,jp)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(yq),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=i.type.startsWith("touch"),a=s=>this.pointerUp.next(s),o=[["scroll",s=>this._scroll.next(s),g0],["selectstart",this._preventDefaultWhileDragging,jp]];r?o.push(["touchend",a,g0],["touchcancel",a,g0]):o.push(["mouseup",a,g0]),r||o.push(["mousemove",s=>this.pointerMove.next(s),jp]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=o.map(([s,l,u])=>this._renderer.listen(this._document,s,l,u))})}}stopDragging(e){this._activeDragInstances.update(i=>{let r=i.indexOf(e);return r>-1?(i.splice(r,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this._scroll];return e&&e!==this._document&&i.push(new He(r=>this._ngZone.runOutsideAngular(()=>{let a=this._renderer.listen(e,"scroll",o=>{this._activeDragInstances().length&&r.next(o)},g0);return()=>{a()}}))),Zt(...i)}registerDirectiveNode(e,i){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,i)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mq={dragStartThreshold:5,pointerDirectionChangeThreshold:5},xq=(()=>{class t{_document=m(_e);_ngZone=m(te);_viewportRuler=m(Zi);_dragDropRegistry=m(Cq);_renderer=m(oi).createRenderer(null,null);constructor(){}createDrag(e,i=Mq){return new $p(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(e){return new qp(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[xq],imports:[Wi]})}return t})();var wq=[[["caption"]],[["colgroup"],["col"]],"*"],Dq=["caption","colgroup, col","*"];function Sq(t,n){t&1&&fe(0,2)}function Eq(t,n){t&1&&(_(0,"thead",0),Ui(1,1),b(),_(2,"tbody",0),Ui(3,2)(4,3),b(),_(5,"tfoot",0),Ui(6,4),b())}function Lq(t,n){t&1&&Ui(0,1)(1,2)(2,3)(3,4)}var G1=new L("CDK_TABLE");var fL=(()=>{class t{template=m(Lt);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),hL=(()=>{class t{template=m(Lt);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),pL=(()=>{class t{template=m(Lt);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),gL=(()=>{class t{_table=m(G1,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,fL,5),Pe(a,hL,5),Pe(a,pL,5)),i&2){let o;F(o=V())&&(r.cell=o.first),F(o=V())&&(r.headerCell=o.first),F(o=V())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",B],stickyEnd:[2,"stickyEnd","stickyEnd",B]},features:[Ie([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})();var eg=(()=>{class t{template=m(Lt);_differs=m(cr);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof tg?e.headerCell.template:this instanceof ig?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,features:[nt]})}return t})(),tg=(()=>{class t extends eg{_table=m(G1,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Lt),m(cr))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",B]},features:[Be,nt]})}return t})(),ig=(()=>{class t extends eg{_table=m(G1,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Lt),m(cr))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",B]},features:[Be,nt]})}return t})(),_L=(()=>{class t extends eg{_table=m(G1,{optional:!0});when;constructor(){super(m(Lt),m(cr))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Be]})}return t})(),Xp=(()=>{class t{_viewContainer=m(Tt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})();var vL=(()=>{class t{templateRef=m(Lt);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),uL=["top","bottom","left","right"],Jp=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i=!0,r=!0,a,o,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=i,this._needsPositionStickyOnElement=r,this.direction=a,this._positionListener=o,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));Dt({write:()=>{for(let r of i)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(n,e,i,r=!0,a=!0){if(!n.length||!this._isBrowser||!(e.some(I=>I)||i.some(I=>I))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let o=n[0],s=o.children.length,l=this.direction==="rtl",u=l?"right":"left",h=l?"left":"right",g=e.lastIndexOf(!0),C=i.indexOf(!0),M,x,k;a&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),Dt({earlyRead:()=>{M=this._getCellWidths(o,r),x=this._getStickyStartColumnPositions(M,e),k=this._getStickyEndColumnPositions(M,i)},write:()=>{for(let I of n)for(let T=0;T<s;T++){let ce=I.children[T];e[T]&&this._addStickyStyle(ce,u,x[T],T===g),i[T]&&this._addStickyStyle(ce,h,k[T],T===C)}this._positionListener&&M.some(I=>!!I)&&(this._positionListener.stickyColumnsUpdated({sizes:g===-1?[]:M.slice(0,g+1).map((I,T)=>e[T]?I:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:C===-1?[]:M.slice(C).map((I,T)=>i[T+C]?I:null).reverse()}))}},{injector:this._tableInjector})}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,a=i==="bottom"?e.slice().reverse():e,o=[],s=[],l=[];Dt({earlyRead:()=>{for(let u=0,h=0;u<r.length;u++){if(!a[u])continue;o[u]=h;let g=r[u];l[u]=this._isNativeHtmlTable?Array.from(g.children):[g];let C=this._retrieveElementSize(g).height;h+=C,s[u]=C}},write:()=>{let u=a.lastIndexOf(!0);for(let h=0;h<r.length;h++){if(!a[h])continue;let g=o[h],C=h===u;for(let M of l[h])this._addStickyStyle(M,i,g,C)}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:o,elements:l}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:o,elements:l})}},{injector:this._tableInjector})}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&Dt({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);uL.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of uL)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let a=0;a<r.length;a++){let o=r[a];i.push(this._retrieveElementSize(o).width)}return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let a=0;a<n.length;a++)e[a]&&(i[a]=r,r+=n[a]);return i}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let a=n.length;a>0;a--)e[a]&&(i[a]=r,r+=n[a]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&kq(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function kq(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var S5=new L("CDK_SPL");var ng=(()=>{class t{viewContainer=m(Tt);elementRef=m(Y);constructor(){let e=m(G1);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","rowOutlet",""]]})}return t})(),rg=(()=>{class t{viewContainer=m(Tt);elementRef=m(Y);constructor(){let e=m(G1);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),ag=(()=>{class t{viewContainer=m(Tt);elementRef=m(Y);constructor(){let e=m(G1);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),og=(()=>{class t{viewContainer=m(Tt);elementRef=m(Y);constructor(){let e=m(G1);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),sg=(()=>{class t{_differs=m(cr);_changeDetectorRef=m(ze);_elementRef=m(Y);_dir=m(At,{optional:!0});_platform=m(Ge);_viewRepeater=m(hc);_viewportRuler=m(Zi);_stickyPositioningListener=m(S5,{optional:!0,skipSelf:!0});_document=m(_e);_data;_onDestroy=new N;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new $;viewChange=new Mt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=m(ve);constructor(){m(new Ei("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(je(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Q3(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,a,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{r.operation===oo.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);a.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=mL(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=mL(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,o)=>{this._addStickyColumnStyles([a],this._headerRowDefs[o])}),this._rowDefs.forEach(a=>{let o=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===a&&o.push(i[s]);this._addStickyColumnStyles(o,a)}),r.forEach((a,o)=>{this._addStickyColumnStyles([a],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return e;for(let r=0;r<this._data.length;r++){let a=this._data[r],o=this._getRenderRowsForData(a,r,i.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let s=0;s<o.length;s++){let l=o[s],u=this._cachedRenderRowsMap.get(l.data);u.has(l.rowDef)?u.get(l.rowDef).push(l):u.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(o=>{let s=r&&r.has(o)?r.get(o):[];if(s.length){let l=s.shift();return l.dataIndex=i,l}else return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),D5(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=D5(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=D5(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=D5(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(o,s)=>{let l=!!s.getColumnsDiff();return o||l},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||r||a}_switchDataSource(e){this._data=[],Q3(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Q3(this.dataSource)?e=this.dataSource.connect(this):ss(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ge(this.dataSource)),this._renderChangeSubscription=e.pipe(je(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),a=r.map(s=>s.sticky),o=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let a=e.viewContainer.get(r);i.push(a.rootNodes[0])}return i}_getRowDefs(e,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(a=>!a.when||a.when(i,e));else{let a=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;a&&r.push(a)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,a={$implicit:e.data};return{templateRef:r.template,context:a,index:i}}_renderRow(e,i,r,a={}){let o=e.viewContainer.createEmbeddedView(i.template,a,r);return this._renderCellTemplateForItem(i,a),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Xp.mostRecentCellOutlet&&Xp.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let o=e.get(i).context;o.count=r,o.first=i===0,o.last=i===r-1,o.even=i%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[i].dataIndex,o.renderIndex=i):o.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new Jp(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:ge()).pipe(je(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let a=r.createEmbeddedView(e.templateRef),o=a.rootNodes[0];if(a.rootNodes.length===1&&o?.nodeType===this._document.ELEMENT_NODE){o.setAttribute("role","row"),o.classList.add(...e._contentClassNames);let s=o.querySelectorAll(e._cellSelector);for(let l=0;l<s.length;l++)s[l].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,vL,5),Pe(a,gL,5),Pe(a,_L,5),Pe(a,tg,5),Pe(a,ig,5)),i&2){let o;F(o=V())&&(r._noDataRow=o.first),F(o=V())&&(r._contentColumnDefs=o),F(o=V())&&(r._contentRowDefs=o),F(o=V())&&(r._contentHeaderRowDefs=o),F(o=V())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&ee("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",B],fixedLayout:[2,"fixedLayout","fixedLayout",B]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ie([{provide:G1,useExisting:t},{provide:hc,useClass:D2},{provide:S5,useValue:null}])],ngContentSelectors:Dq,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Ae(wq),fe(0),fe(1,1),xe(2,Sq,1,0),xe(3,Eq,7,0)(4,Lq,4,0)),i&2&&(v(2),we(r._isServer?2:-1),v(),we(r._isNativeHtmlTable?3:4))},dependencies:[rg,ng,og,ag],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
`],encapsulation:2})}return t})();function D5(t,n){return t.concat(Array.from(n))}function mL(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var bL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[X3]})}return t})();var Iq=[[["caption"]],[["colgroup"],["col"]],"*"],Tq=["caption","colgroup, col","*"];function Aq(t,n){t&1&&fe(0,2)}function zq(t,n){t&1&&(_(0,"thead",0),Ui(1,1),b(),_(2,"tbody",2),Ui(3,3)(4,4),b(),_(5,"tfoot",0),Ui(6,5),b())}function Rq(t,n){t&1&&Ui(0,1)(1,3)(2,4)(3,5)}var yL=(()=>{class t extends sg{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Bt(t)))(r||t)}})();static \u0275cmp=j({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[Ie([{provide:sg,useExisting:t},{provide:G1,useExisting:t},{provide:hc,useClass:D2},{provide:S5,useValue:null}]),Be],ngContentSelectors:Tq,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Ae(Iq),fe(0),fe(1,1),xe(2,Aq,1,0),xe(3,zq,7,0)(4,Rq,4,0)),i&2&&(v(2),we(r._isServer?2:-1),v(),we(r._isNativeHtmlTable?3:4))},dependencies:[rg,ng,og,ag],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
`],encapsulation:2})}return t})();var b0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,bL,ae]})}return t})(),Nq=9007199254740991,E5=class extends Z3{_data;_renderData=new Mt([]);_filter=new Mt("");_internalPageChanges=new N;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(n,e)=>{let i=n[e];if(k8(i)){let r=Number(i);return r<Nq?r:i}return i};sortData=(n,e)=>{let i=e.active,r=e.direction;return!i||r==""?n:n.sort((a,o)=>{let s=this.sortingDataAccessor(a,i),l=this.sortingDataAccessor(o,i),u=typeof s,h=typeof l;u!==h&&(u==="number"&&(s+=""),h==="number"&&(l+=""));let g=0;return s!=null&&l!=null?s>l?g=1:s<l&&(g=-1):s!=null?g=1:l!=null&&(g=-1),g*(r=="asc"?1:-1)})};filterPredicate=(n,e)=>{let i=e.trim().toLowerCase();return Object.values(n).some(r=>`${r}`.toLowerCase().includes(i))};constructor(n=[]){super(),this._data=new Mt(n),this._updateChangeSubscription()}_updateChangeSubscription(){let n=this._sort?Zt(this._sort.sortChange,this._sort.initialized):ge(null),e=this._paginator?Zt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ge(null),i=this._data,r=Jn([i,this._filter]).pipe(Ce(([s])=>this._filterData(s))),a=Jn([r,n]).pipe(Ce(([s])=>this._orderData(s))),o=Jn([a,e]).pipe(Ce(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=o.subscribe(s=>this._renderData.next(s))}_filterData(n){return this.filteredData=this.filter==null||this.filter===""?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;let e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){let i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Oq=["tooltip"],xL=20;var wL=new L("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t,{scrollThrottle:xL})}});function Pq(t){let n=m(ve);return()=>Bi(n,{scrollThrottle:xL})}var DL={provide:wL,deps:[],useFactory:Pq};function Fq(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Vq=new L("mat-tooltip-default-options",{providedIn:"root",factory:Fq});var CL="tooltip-panel",ML=to({passive:!0}),Bq=8,Hq=8,jq=24,Uq=200,L5=(()=>{class t{_elementRef=m(Y);_ngZone=m(te);_platform=m(Ge);_ariaDescriber=m(G9);_focusMonitor=m(Ki);_dir=m(At);_injector=m(ve);_viewContainerRef=m(Tt);_animationsDisabled=pt();_defaultOptions=m(Vq,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Gq;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ca(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ca(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=sn(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=sn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new N;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Bq}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(je(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,ML)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Wn(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(je(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof Y)return this._overlayRef;this._detach()}let i=this._injector.get(_r).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${CL}`,a=uo(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return a.positionChanges.pipe(je(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=b1(this._injector,{direction:this._dir,positionStrategy:a,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(wL)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(je(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(je(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(je(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!vi(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(je(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(z(z({},r.main),a.main)),this._addOffset(z(z({},r.fallback),a.fallback))])}_addOffset(e){let i=Hq,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Dt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:a}=e,o;if(i==="center"?this._dir&&this._dir.value==="rtl"?o=r==="end"?"left":"right":o=r==="start"?"left":"right":o=i==="bottom"&&a==="top"?"above":"below",o!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${CL}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,ML)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(_e).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Dt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ee("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),Gq=(()=>{class t{_changeDetectorRef=m(ze);_elementRef=m(Y);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=pt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new N;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>jq&&e.width>=Uq}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:r),i.classList.add(e?r:a),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let o=getComputedStyle(i);(o.getPropertyValue("animation-duration")==="0s"||o.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&de(Oq,7),i&2){let a;F(a=V())&&(r._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&P("mouseleave",function(o){return r._handleMouseLeave(o)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let a=ke();_(0,"div",1,0),P("animationend",function(s){return Q(a),X(r._handleAnimationEnd(s))}),_(2,"div",2),D(3),b()()}i&2&&(ee("mdc-tooltip--multiline",r._isMultiline),w("ngClass",r.tooltipClass),v(3),xt(r.message))},dependencies:[lr],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
`],encapsulation:2,changeDetection:0})}return t})();var kc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[DL],imports:[aa,Ii,ae,ae,Wi]})}return t})();var Wq=["switch"],$q=["*"];function Yq(t,n){t&1&&(_(0,"span",11),Jt(),_(1,"svg",13),ie(2,"path",14),b(),_(3,"svg",15),ie(4,"path",16),b()())}var qq=new L("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),k5=class{source;checked;constructor(n,e){this.source=n,this.checked=e}},Kq=(()=>{class t{_elementRef=m(Y);_focusMonitor=m(Ki);_changeDetectorRef=m(ze);defaults=m(qq);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new k5(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=pt();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new $;toggleChange=new $;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){m(vt).load(xi);let e=m(new Ei("tabindex"),{optional:!0}),i=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this.id=this._uniqueId=m(bt).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new k5(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&de(Wq,5),i&2){let a;F(a=V())&&(r._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&(si("id",r.id),J("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),yt(r.color?"mat-"+r.color:""),ee("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",B],color:"color",disabled:[2,"disabled","disabled",B],disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:dt(e)],checked:[2,"checked","checked",B],hideIcon:[2,"hideIcon","hideIcon",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Ie([{provide:Gi,useExisting:Gt(()=>t),multi:!0},{provide:ia,useExisting:t,multi:!0}]),nt],ngContentSelectors:$q,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(i&1){let a=ke();Ae(),_(0,"div",1)(1,"button",2,0),P("click",function(){return Q(a),X(r._handleClick())}),ie(3,"div",3)(4,"span",4),_(5,"span",5)(6,"span",6)(7,"span",7),ie(8,"span",8),b(),_(9,"span",9),ie(10,"span",10),b(),xe(11,Yq,5,0,"span",11),b()()(),_(12,"label",12),P("click",function(s){return Q(a),X(s.stopPropagation())}),fe(13),b()()}if(i&2){let a=kt(2);w("labelPosition",r.labelPosition),v(),ee("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),w("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),J("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),v(9),w("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),v(),we(r.hideIcon?-1:11),v(),w("for",r.buttonId),J("id",r._labelId)}},dependencies:[ln,yc],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}
`],encapsulation:2,changeDetection:0})}return t})(),cg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[Kq,ae,ae]})}return t})();var Zq=["knob"],Qq=["valueIndicatorContainer"];function Xq(t,n){if(t&1&&(_(0,"div",2,1)(2,"div",5)(3,"span",6),D(4),b()()()),t&2){let e=E();v(4),xt(e.valueIndicatorText)}}var Jq=["trackActive"],eK=["*"];function tK(t,n){if(t&1&&ie(0,"div"),t&2){let e=n.$implicit,i=n.$index,r=E(3);yt(e===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),gi("transform",r._calcTickMarkTransform(i))}}function iK(t,n){if(t&1&&Oi(0,tK,1,4,"div",8,Kl),t&2){let e=E(2);Pi(e._tickMarks)}}function nK(t,n){if(t&1&&(_(0,"div",6,1),xe(2,iK,2,0),b()),t&2){let e=E();v(2),we(e._cachedWidth?2:-1)}}function rK(t,n){if(t&1&&ie(0,"mat-slider-visual-thumb",7),t&2){let e=E();w("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}var Ke=(function(t){return t[t.START=1]="START",t[t.END=2]="END",t})(Ke||{}),Ic=(function(t){return t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE",t})(Ic||{}),lg=new L("_MatSlider"),SL=new L("_MatSliderThumb"),EL=new L("_MatSliderRangeThumb"),LL=new L("_MatSliderVisualThumb");var aK=(()=>{class t{_cdr=m(ze);_ngZone=m(te);_slider=m(lg);_renderer=m(ht);_listenerCleanups;discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=m(Y).nativeElement;_platform=m(Ge);constructor(){}ngAfterViewInit(){let e=this._slider._getInput(this.thumbPosition);e&&(this._ripple.radius=24,this._sliderInput=e,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(()=>{let i=this._sliderInputEl,r=this._renderer;this._listenerCleanups=[r.listen(i,"pointermove",this._onPointerMove),r.listen(i,"pointerdown",this._onDragStart),r.listen(i,"pointerup",this._onDragEnd),r.listen(i,"pointerleave",this._onMouseLeave),r.listen(i,"focus",this._onFocus),r.listen(i,"blur",this._onBlur)]}))}ngOnDestroy(){this._listenerCleanups?.forEach(e=>e())}_onPointerMove=e=>{if(this._sliderInput._isFocused)return;let i=this._hostElement.getBoundingClientRect(),r=this._slider._isCursorOnSliderThumb(e,i);this._isHovered=r,r?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)};_onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)};_onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")};_onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")};_onDragStart=e=>{e.button===0&&(this._isActive=!0,this._showActiveRipple())};_onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()};_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return e?.state===Cn.FADING_IN||e?.state===Cn.VISIBLE}_showRipple(e,i){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===Ke.START?Ke.END:Ke.START)._showValueIndicator(),!(this._slider._globalRippleOptions?.disabled&&!i)))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();let i=this._getSibling();i._isShowingAnyRipple()||(this._hideValueIndicator(),i._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===Ke.START?Ke.END:Ke.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(i,r){if(i&1&&(de(ln,5),de(Zq,5),de(Qq,5)),i&2){let a;F(a=V())&&(r._ripple=a.first),F(a=V())&&(r._knob=a.first),F(a=V())&&(r._valueIndicatorContainer=a.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[Ie([{provide:LL,useExisting:t}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(i,r){i&1&&(xe(0,Xq,5,1,"div",2),ie(1,"div",3,0)(3,"div",4)),i&2&&(we(r.discrete?0:-1),v(3),w("matRippleDisabled",!0))},dependencies:[ln],styles:[`.mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}
`],encapsulation:2,changeDetection:0})}return t})(),kL=(()=>{class t{_ngZone=m(te);_cdr=m(ze);_elementRef=m(Y);_dir=m(At,{optional:!0});_globalRippleOptions=m(co,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(e){this._disabled=e;let i=this._getInput(Ke.END),r=this._getInput(Ke.START);i&&(i.disabled=this._disabled),r&&(r.disabled=this._disabled)}_disabled=!1;get discrete(){return this._discrete}set discrete(e){this._discrete=e,this._updateValueIndicatorUIs()}_discrete=!1;get showTickMarks(){return this._showTickMarks}set showTickMarks(e){this._showTickMarks=e,this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI())}_showTickMarks=!1;get min(){return this._min}set min(e){let i=e==null||isNaN(e)?this._min:e;this._min!==i&&this._updateMin(i)}_min=0;color;disableRipple=!1;_updateMin(e){let i=this._min;this._min=e,this._isRange?this._updateMinRange({old:i,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){let i=this._getInput(Ke.END),r=this._getInput(Ke.START),a=i.value,o=r.value;r.min=e.new,i.min=Math.max(e.new,r.value),r.max=Math.min(i.max,i.value),r._updateWidthInactive(),i._updateWidthInactive(),e.new<e.old?this._onTranslateXChangeBySideEffect(i,r):this._onTranslateXChangeBySideEffect(r,i),a!==i.value&&this._onValueChange(i),o!==r.value&&this._onValueChange(r)}_updateMinNonRange(e){let i=this._getInput(Ke.END);if(i){let r=i.value;i.min=e,i._updateThumbUIByValue(),this._updateTrackUI(i),r!==i.value&&this._onValueChange(i)}}get max(){return this._max}set max(e){let i=e==null||isNaN(e)?this._max:e;this._max!==i&&this._updateMax(i)}_max=100;_updateMax(e){let i=this._max;this._max=e,this._isRange?this._updateMaxRange({old:i,new:e}):this._updateMaxNonRange(e),this._onMinMaxOrStepChange()}_updateMaxRange(e){let i=this._getInput(Ke.END),r=this._getInput(Ke.START),a=i.value,o=r.value;i.max=e.new,r.max=Math.min(e.new,i.value),i.min=r.value,i._updateWidthInactive(),r._updateWidthInactive(),e.new>e.old?this._onTranslateXChangeBySideEffect(r,i):this._onTranslateXChangeBySideEffect(i,r),a!==i.value&&this._onValueChange(i),o!==r.value&&this._onValueChange(r)}_updateMaxNonRange(e){let i=this._getInput(Ke.END);if(i){let r=i.value;i.max=e,i._updateThumbUIByValue(),this._updateTrackUI(i),r!==i.value&&this._onValueChange(i)}}get step(){return this._step}set step(e){let i=isNaN(e)?this._step:e;this._step!==i&&this._updateStep(i)}_step=1;_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){let e=this._getInput(Ke.END),i=this._getInput(Ke.START),r=e.value,a=i.value,o=i.value;e.min=this._min,i.max=this._max,e.step=this._step,i.step=this._step,this._platform.SAFARI&&(e.value=e.value,i.value=i.value),e.min=Math.max(this._min,i.value),i.max=Math.min(this._max,e.value),i._updateWidthInactive(),e._updateWidthInactive(),e.value<o?this._onTranslateXChangeBySideEffect(i,e):this._onTranslateXChangeBySideEffect(e,i),r!==e.value&&this._onValueChange(e),a!==i.value&&this._onValueChange(i)}_updateStepNonRange(){let e=this._getInput(Ke.END);if(e){let i=e.value;e.step=this._step,this._platform.SAFARI&&(e.value=e.value),e._updateThumbUIByValue(),i!==e.value&&this._onValueChange(e)}}displayWith=e=>`${e}`;_tickMarks;_noopAnimations=pt();_dirChangeSubscription;_resizeObserver;_cachedWidth;_cachedLeft;_rippleRadius=24;startValueIndicatorText="";endValueIndicatorText="";_endThumbTransform;_startThumbTransform;_isRange=!1;_isRtl=!1;_hasViewInitialized=!1;_tickMarkTrackWidth=0;_hasAnimation=!1;_resizeTimer=null;_platform=m(Ge);constructor(){m(vt).load(xi),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl=this._dir.value==="rtl")}_knobRadius=8;_inputPadding;ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();let e=this._getInput(Ke.END),i=this._getInput(Ke.START);this._isRange=!!e&&!!i,this._cdr.detectChanges();let r=this._getThumb(Ke.END);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(e,i):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,i){e.initProps(),e.initUI(),i.initProps(),i.initUI(),e._updateMinMax(),i._updateMinMax(),e._updateStaticStyles(),i._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),i._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl=this._dir?.value==="rtl",this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){let e=this._getInput(Ke.END),i=this._getInput(Ke.START);e._setIsLeftThumb(),i._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),i.translateX=i._calcTranslateXByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateWidthInactive(),i._updateWidthInactive(),e._updateThumbUIByValue(),i._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(Ke.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(Ke.START)._isActive||this._getThumb(Ke.END)._isActive}_getValue(e=Ke.END){let i=this._getInput(e);return i?i.value:this.min}_skipUpdate(){return!!(this._getInput(Ke.START)?._skipUIUpdate||this._getInput(Ke.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){let i=this._trackActive.nativeElement.style;i.left=e.left,i.right=e.right,i.transformOrigin=e.transformOrigin,i.transform=e.transform}_calcTickMarkTransform(e){let i=e*(this._tickMarkTrackWidth/(this._tickMarks.length-1));return`translateX(${this._isRtl?this._cachedWidth-6-i:i}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,i){this._hasViewInitialized&&(e._updateThumbUIByValue(),i._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){let e=this._getInput(Ke.END),i=this._getInput(Ke.START);e._updateThumbUIByValue(),i._updateThumbUIByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateMinMax(),i._updateMinMax(),e._updateWidthInactive(),i._updateWidthInactive()}else{let e=this._getInput(Ke.END);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let e=this._getInput(Ke.START),i=this._getInput(Ke.END);return!e||!i?!1:i.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){let i=e.getSibling(),r=this._getThumb(e.thumbPosition);this._getThumb(i.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){if(this._skipUpdate())return;let i=this._getThumb(e.thumbPosition===Ke.END?Ke.END:Ke.START);i._hostElement.style.transform=`translateX(${e.translateX}px)`}_updateValueIndicatorUI(e){if(this._skipUpdate())return;let i=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext.set(i):e._hostElement.setAttribute("aria-valuetext",i),this.discrete){e.thumbPosition===Ke.START?this.startValueIndicatorText=i:this.endValueIndicatorText=i;let r=this._getThumb(e.thumbPosition);i.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){let e=this._getInput(Ke.END),i=this._getInput(Ke.START);e&&this._updateValueIndicatorUI(e),i&&this._updateValueIndicatorUI(i)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;let e=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=(this._cachedWidth-6)*r}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){let i=e.getSibling();if(!i||!this._cachedWidth)return;let r=Math.abs(i.translateX-e.translateX)/this._cachedWidth;e._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:`${this._cachedWidth-i.translateX}px`,transformOrigin:"right",transform:`scaleX(${r})`}):this._setTrackActiveStyles({left:`${i.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(e){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||this.step===void 0||this.min===void 0||this.max===void 0)return;let e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e)}_updateTickMarkUINonRange(e){let i=this._getValue(),r=Math.max(Math.round((i-this.min)/e),0)+1,a=Math.max(Math.round((this.max-i)/e),0)-1;this._isRtl?r++:a++,this._tickMarks=Array(r).fill(Ic.ACTIVE).concat(Array(a).fill(Ic.INACTIVE))}_updateTickMarkUIRange(e){let i=this._getValue(),r=this._getValue(Ke.START),a=Math.max(Math.round((r-this.min)/e),0),o=Math.max(Math.round((i-r)/e)+1,0),s=Math.max(Math.round((this.max-i)/e),0);this._tickMarks=Array(a).fill(Ic.INACTIVE).concat(Array(o).fill(Ic.ACTIVE),Array(s).fill(Ic.INACTIVE))}_getInput(e){if(e===Ke.END&&this._input)return this._input;if(this._inputs?.length)return e===Ke.START?this._inputs.first:this._inputs.last}_getThumb(e){return e===Ke.END?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=!this._platform.IOS&&e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(e,i){let r=i.width/2,a=i.x+r,o=i.y+r,s=e.clientX-a,l=e.clientY-o;return Math.pow(s,2)+Math.pow(l,2)<Math.pow(r,2)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-slider"]],contentQueries:function(i,r,a){if(i&1&&(Pe(a,SL,5),Pe(a,EL,4)),i&2){let o;F(o=V())&&(r._input=o.first),F(o=V())&&(r._inputs=o)}},viewQuery:function(i,r){if(i&1&&(de(Jq,5),de(LL,5)),i&2){let a;F(a=V())&&(r._trackActive=a.first),F(a=V())&&(r._thumbs=a)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(i,r){i&2&&(yt("mat-"+(r.color||"primary")),ee("mdc-slider--range",r._isRange)("mdc-slider--disabled",r.disabled)("mdc-slider--discrete",r.discrete)("mdc-slider--tick-marks",r.showTickMarks)("_mat-animation-noopable",r._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",B],discrete:[2,"discrete","discrete",B],showTickMarks:[2,"showTickMarks","showTickMarks",B],min:[2,"min","min",dt],color:"color",disableRipple:[2,"disableRipple","disableRipple",B],max:[2,"max","max",dt],step:[2,"step","step",dt],displayWith:"displayWith"},exportAs:["matSlider"],features:[Ie([{provide:lg,useExisting:t}])],ngContentSelectors:eK,decls:9,vars:5,consts:[["trackActive",""],["tickMarkContainer",""],[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],[1,"mdc-slider__tick-marks"],[3,"discrete","thumbPosition","valueIndicatorText"],[3,"class","transform"]],template:function(i,r){i&1&&(Ae(),fe(0),_(1,"div",2),ie(2,"div",3),_(3,"div",4),ie(4,"div",5,0),b(),xe(6,nK,3,1,"div",6),b(),xe(7,rK,1,3,"mat-slider-visual-thumb",7),ie(8,"mat-slider-visual-thumb",7)),i&2&&(v(6),we(r.showTickMarks?6:-1),v(),we(r._isRange?7:-1),v(),w("discrete",r.discrete)("thumbPosition",2)("valueIndicatorText",r.endValueIndicatorText))},dependencies:[aK],styles:[`.mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%;pointer-events:none;height:var(--mat-slider-inactive-track-height, 4px)}.mdc-slider__track--active,.mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider__track--active{overflow:hidden;border-radius:var(--mat-slider-active-track-shape, var(--mat-sys-corner-full));height:var(--mat-slider-active-track-height, 4px);top:calc((var(--mat-slider-inactive-track-height, 4px) - var(--mat-slider-active-track-height, 4px))/2)}.mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;transform-origin:left;transition:transform 80ms ease;border-color:var(--mat-slider-active-track-color, var(--mat-sys-primary));border-top-width:var(--mat-slider-active-track-height, 4px)}.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mat-slider-disabled-active-track-color, var(--mat-sys-on-surface))}[dir=rtl] .mdc-slider__track--active_fill{-webkit-transform-origin:right;transform-origin:right}.mdc-slider__track--inactive{left:0;top:0;opacity:.24;background-color:var(--mat-slider-inactive-track-color, var(--mat-sys-surface-variant));height:var(--mat-slider-inactive-track-height, 4px);border-radius:var(--mat-slider-inactive-track-shape, var(--mat-sys-corner-full))}.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mat-slider-disabled-inactive-track-color, var(--mat-sys-on-surface));opacity:.24}.mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media(forced-colors: active){.mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider__value-indicator-container{bottom:44px;left:50%;pointer-events:none;position:absolute;transform:var(--mat-slider-value-indicator-container-transform, translateX(-50%) rotate(-45deg))}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider__value-indicator{display:flex;align-items:center;transform:scale(0);transform-origin:var(--mat-slider-value-indicator-transform-origin, 0 28px);transition:transform 100ms cubic-bezier(0.4, 0, 1, 1);word-break:normal;background-color:var(--mat-slider-label-container-color, var(--mat-sys-primary));color:var(--mat-slider-label-label-text-color, var(--mat-sys-on-primary));width:var(--mat-slider-value-indicator-width, 28px);height:var(--mat-slider-value-indicator-height, 28px);padding:var(--mat-slider-value-indicator-padding, 0);opacity:var(--mat-slider-value-indicator-opacity, 1);border-radius:var(--mat-slider-value-indicator-border-radius, 50% 50% 50% 0)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}.mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;display:var(--mat-slider-value-indicator-caret-display, none);border-top-color:var(--mat-slider-label-container-color, var(--mat-sys-primary))}.mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media(forced-colors: active){.mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider__value-indicator-text{text-align:center;width:var(--mat-slider-value-indicator-width, 28px);transform:var(--mat-slider-value-indicator-text-transform, rotate(45deg));font-family:var(--mat-slider-label-label-text-font, var(--mat-sys-label-medium-font));font-size:var(--mat-slider-label-label-text-size, var(--mat-sys-label-medium-size));font-weight:var(--mat-slider-label-label-text-weight, var(--mat-sys-label-medium-weight));line-height:var(--mat-slider-label-label-text-line-height, var(--mat-sys-label-medium-line-height));letter-spacing:var(--mat-slider-label-label-text-tracking, var(--mat-sys-label-medium-tracking))}.mdc-slider__thumb{-webkit-user-select:none;user-select:none;display:flex;left:-24px;outline:none;position:absolute;height:48px;width:48px;pointer-events:none}.mdc-slider--discrete .mdc-slider__thumb{transition:transform 80ms ease}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__thumb--top{z-index:1}.mdc-slider__thumb-knob{position:absolute;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%, -50%);border-style:solid;width:var(--mat-slider-handle-width, 20px);height:var(--mat-slider-handle-height, 20px);border-width:calc(var(--mat-slider-handle-height, 20px)/2) calc(var(--mat-slider-handle-width, 20px)/2);box-shadow:var(--mat-slider-handle-elevation, var(--mat-sys-level1));background-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-radius:var(--mat-slider-handle-shape, var(--mat-sys-corner-full))}.mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary))}.mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary))}.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface));border-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface))}.mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border:solid 1px #fff;box-sizing:content-box;border-color:var(--mat-slider-with-overlap-handle-outline-color, var(--mat-sys-on-primary));border-width:var(--mat-slider-with-overlap-handle-outline-width, 1px)}.mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider__tick-mark--active,.mdc-slider__tick-mark--inactive{width:var(--mat-slider-with-tick-marks-container-size, 2px);height:var(--mat-slider-with-tick-marks-container-size, 2px);border-radius:var(--mat-slider-with-tick-marks-container-shape, var(--mat-sys-corner-full))}.mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-inactive-container-color, var(--mat-sys-on-surface-variant))}.mdc-slider--disabled .mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-disabled-container-color, var(--mat-sys-on-surface))}.mdc-slider__tick-mark--active{opacity:var(--mat-slider-with-tick-marks-active-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-active-container-color, var(--mat-sys-on-primary))}.mdc-slider__input{cursor:pointer;left:2px;margin:0;height:44px;opacity:0;position:absolute;top:2px;width:44px;box-sizing:content-box}.mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;cursor:pointer;height:48px;margin:0 8px;position:relative;touch-action:pan-y;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider.mdc-slider--disabled{cursor:auto;opacity:.38}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__input{cursor:auto}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-slider-ripple-color, var(--mat-sys-primary))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-slider-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 5%, transparent))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-slider-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 20%, transparent))}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})();var oK={provide:Gi,useExisting:Gt(()=>IL),multi:!0},sK={provide:Gi,useExisting:Gt(()=>dg),multi:!0},IL=(()=>{class t{_ngZone=m(te);_elementRef=m(Y);_cdr=m(ze);_slider=m(lg);_platform=m(Ge);_listenerCleanups;get value(){return dt(this._hostElement.value,0)}set value(e){e===null&&(e=this._getDefaultValue()),e=isNaN(e)?0:e;let i=e+"";if(!this._hasSetInitialValue){this._initialValue=i;return}this._isActive||this._setValue(i)}_setValue(e){this._hostElement.value=e,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}valueChange=new $;dragStart=new $;dragEnd=new $;get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}_translateX;thumbPosition=Ke.END;get min(){return dt(this._hostElement.min,0)}set min(e){this._hostElement.min=e+"",this._cdr.detectChanges()}get max(){return dt(this._hostElement.max,0)}set max(e){this._hostElement.max=e+"",this._cdr.detectChanges()}get step(){return dt(this._hostElement.step,0)}set step(e){this._hostElement.step=e+"",this._cdr.detectChanges()}get disabled(){return B(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=e,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_hostElement=this._elementRef.nativeElement;_valuetext=Te("");_knobRadius=8;_tickMarkOffset=3;_isActive=!1;_isFocused=!1;_setIsFocused(e){this._isFocused=e}_hasSetInitialValue=!1;_initialValue;_formControl;_destroyed=new N;_skipUIUpdate=!1;_onChangeFn;_onTouchedFn=()=>{};_isControlInitialized=!1;constructor(){let e=m(ht);this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[e.listen(this._hostElement,"pointerdown",this._onPointerDown.bind(this)),e.listen(this._hostElement,"pointermove",this._onPointerMove.bind(this)),e.listen(this._hostElement,"pointerup",this._onPointerUp.bind(this))]})}ngOnDestroy(){this._listenerCleanups.forEach(e=>e()),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,this._initialValue===void 0?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){if(!(this.disabled||e.button!==0)){if(this._platform.IOS){let i=this._slider._isCursorOnSliderThumb(e,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());this._isActive=i,this._updateWidthActive(),this._slider._updateDimensions();return}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){let i=e.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=this._slider.step===0?1:this._slider.step,o=Math.floor((this._slider.max-this._slider.min)/a),s=this._slider._isRtl?1-i/r:i/r,u=Math.round(s*o)/o*(this._slider.max-this._slider.min)+this._slider.min,h=Math.round(u/a)*a,g=this.value;if(h===g){this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation});return}this.value=h,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(e){let i=this._tickMarkOffset,r=this._slider._cachedWidth-this._tickMarkOffset;return Math.max(Math.min(e,r),i)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-this._tickMarkOffset*2}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,i){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(i)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){(this._isControlInitialized||e!==null)&&(this.value=e)}registerOnChange(e){this._onChangeFn=e,this._isControlInitialized=!0}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(i,r){i&1&&P("change",function(){return r._onChange()})("input",function(){return r._onInput()})("blur",function(){return r._onBlur()})("focus",function(){return r._onFocus()}),i&2&&J("aria-valuetext",r._valuetext())},inputs:{value:[2,"value","value",dt]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[Ie([oK,{provide:SL,useExisting:t}])]})}return t})(),dg=(()=>{class t extends IL{_cdr=m(ze);getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?Ke.START:Ke.END)),this._sibling}_sibling;getMinPos(){let e=this.getSibling();return!this._isLeftThumb&&e?e.translateX:this._tickMarkOffset}getMaxPos(){let e=this.getSibling();return this._isLeftThumb&&e?e.translateX:this._slider._cachedWidth-this._tickMarkOffset}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}_isLeftThumb;_isEndThumb;constructor(){super(),this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?Ke.END:Ke.START}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(e){this.disabled||e.button!==0||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(e))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(e){super._onPointerMove(e),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(e){super._fixValue(e),this._sibling?._updateMinMax()}_clamp(e){return Math.max(Math.min(e,this.getMaxPos()),this.getMinPos())}_updateMinMax(){let e=this.getSibling();e&&(this._isEndThumb?(this.min=Math.max(this._slider.min,e.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,e.value)))}_updateWidthActive(){let e=this._slider._rippleRadius*2-this._slider._inputPadding*2,i=this._slider._cachedWidth+this._slider._inputPadding-e-this._tickMarkOffset*2,r=this._slider.min<this._slider.max?(this.max-this.min)/(this._slider.max-this._slider.min):1,a=i*r+e;this._hostElement.style.width=`${a}px`,this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`}_updateWidthInactive(){let e=this.getSibling();if(!e)return;let i=this._slider._cachedWidth-this._tickMarkOffset*2,r=this._isEndThumb?this.value-(this.value-e.value)/2:this.value+(e.value-this.value)/2,a=this._isEndThumb?(this.max-r)/(this._slider.max-this._slider.min):(r-this.min)/(this._slider.max-this._slider.min),o=this._slider.min<this._slider.max?a:1,s=this._slider._rippleRadius;o===1?s=48:o===0&&(s=0);let l=i*o+s;this._hostElement.style.width=`${l}px`,this._hostElement.style.padding="0px",this._isLeftThumb?(this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`,this._hostElement.style.right="auto"):(this._hostElement.style.left="auto",this._hostElement.style.right=`-${this._slider._rippleRadius-this._tickMarkOffset}px`)}_updateStaticStyles(){this._hostElement.classList.toggle("mat-slider__right-input",!this._isLeftThumb)}_updateSibling(){let e=this.getSibling();e&&(e._updateMinMax(),this._isActive?e._updateWidthActive():e._updateWidthInactive())}writeValue(e){(this._isControlInitialized||e!==null)&&(this.value=e,this._updateWidthInactive(),this._updateSibling())}_setValue(e){super._setValue(e),this._updateWidthInactive(),this._updateSibling()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["input","matSliderStartThumb",""],["input","matSliderEndThumb",""]],exportAs:["matSliderRangeThumb"],features:[Ie([sK,{provide:EL,useExisting:t}]),Be]})}return t})(),y0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,Ti]})}return t})();var lK=["determinateSpinner"];function dK(t,n){if(t&1&&(Jt(),_(0,"svg",11),ie(1,"circle",12),b()),t&2){let e=E();J("viewBox",e._viewBox()),v(),gi("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),J("r",e._circleRadius())}}var uK=new L("mat-progress-spinner-default-options",{providedIn:"root",factory:mK});function mK(){return{diameter:TL}}var TL=100,fK=10,ho=(()=>{class t{_elementRef=m(Y);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=m(uK),i=K9(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=TL;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-fK)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&de(lK,5),i&2){let a;F(a=V())&&(r._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(J("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),yt("mat-"+r.color),gi("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ee("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",dt],diameter:[2,"diameter","diameter",dt],strokeWidth:[2,"strokeWidth","strokeWidth",dt]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(K(0,dK,2,8,"ng-template",null,0,vn),_(2,"div",2,1),Jt(),_(4,"svg",3),ie(5,"circle",4),b()(),o1(),_(6,"div",5)(7,"div",6)(8,"div",7),Ui(9,8),b(),_(10,"div",9),Ui(11,8),b(),_(12,"div",10),Ui(13,8),b()()()),i&2){let a=kt(1);v(4),J("viewBox",r._viewBox()),v(),gi("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),J("r",r._circleRadius()),v(4),w("ngTemplateOutlet",a),v(2),w("ngTemplateOutlet",a),v(2),w("ngTemplateOutlet",a)}},dependencies:[r3],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
`],encapsulation:2,changeDetection:0})}return t})();var fa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae]})}return t})();var AL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var ug=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[AL,ae,ae]})}return t})();function hK(t,n){if(t&1){let e=ke();_(0,"div",1)(1,"button",2),P("click",function(){Q(e);let r=E();return X(r.action())}),D(2),b()()}if(t&2){let e=E();v(2),oe(" ",e.data.action," ")}}var pK=["label"];function gK(t,n){}var _K=Math.pow(2,31)-1,C0=class{_overlayRef;instance;containerInstance;_afterDismissed=new N;_afterOpened=new N;_onAction=new N;_durationTimeoutId;_dismissedByAction=!1;constructor(n,e){this._overlayRef=e,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,_K))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},zL=new L("MatSnackBarData"),Tc=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},vK=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),bK=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),yK=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),RL=(()=>{class t{snackBarRef=m(C0);data=m(zL);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(_(0,"div",0),D(1),b(),xe(2,hK,3,1,"div",1)),i&2&&(v(),oe(" ",r.data.message,`
`),v(),we(r.hasAction?2:-1))},dependencies:[L2,vK,bK,yK],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}
`],encapsulation:2,changeDetection:0})}return t})(),mg="_mat-snack-bar-enter",fg="_mat-snack-bar-exit",CK=(()=>{class t extends so{_ngZone=m(te);_elementRef=m(Y);_changeDetectorRef=m(ze);_platform=m(Ge);_animationsDisabled=pt();snackBarConfig=m(Tc);_document=m(_e);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=m(ve);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new N;_onExit=new N;_onEnter=new N;_animationState="void";_live;_label;_role;_liveElementId=m(bt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}attachDomPortal=e=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),i};onAnimationEnd(e){e===fg?this._completeExit():e===mg&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(mg)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(mg)},200)))}exit(){return this._destroyed?ge(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(fg)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(fg),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,a="mdc-snackbar__label";r.classList.toggle(a,!r.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let a=i[r],o=a.getAttribute("aria-owns");this._trackedModals.add(a),o?o.indexOf(e)===-1&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,i=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(i&&r){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(a=document.activeElement),i.removeAttribute("aria-hidden"),r.appendChild(i),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(de(yn,7),de(pK,7)),i&2){let a;F(a=V())&&(r._portalOutlet=a.first),F(a=V())&&(r._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&P("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),i&2&&ee("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Be],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(_(0,"div",1)(1,"div",2,0)(3,"div",3),K(4,gK,0,0,"ng-template",4),b(),ie(5,"div"),b()()),i&2&&(v(5),J("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[yn],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
`],encapsulation:2})}return t})();function MK(){return new Tc}var xK=new L("mat-snack-bar-default-options",{providedIn:"root",factory:MK}),wK=(()=>{class t{_live=m(q3);_injector=m(ve);_breakpointObserver=m(ra);_parentSnackBar=m(t,{optional:!0,skipSelf:!0});_defaultConfig=m(xK);_animationsDisabled=pt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=RL;snackBarContainerComponent=CK;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let a=z(z({},this._defaultConfig),r);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=ve.create({parent:r||this._injector,providers:[{provide:Tc,useValue:i}]}),o=new Wn(this.snackBarContainerComponent,i.viewContainerRef,a),s=e.attach(o);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=z(z(z({},new Tc),this._defaultConfig),i),a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),s=new C0(o,a);if(e instanceof Lt){let l=new cn(e,null,{$implicit:r.data,snackBarRef:s});s.instance=o.attachTemplatePortal(l)}else{let l=this._createInjector(r,s),u=new Wn(e,void 0,l),h=o.attachComponentPortal(u);s.instance=h.instance}return this._breakpointObserver.observe(q8.HandsetPortrait).pipe(je(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let i=new v1;i.direction=e.direction;let r=ma(this._injector),a=e.direction==="rtl",o=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,s=!o&&e.horizontalPosition!=="center";return o?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,i.disableAnimations=this._animationsDisabled,b1(this._injector,i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return ve.create({parent:r||this._injector,providers:[{provide:C0,useValue:i},{provide:zL,useValue:e.data}]})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[wK],imports:[Ii,$n,$i,ae,RL,ae]})}return t})();var DK=["mat-calendar-body",""];function SK(t,n){return this._trackRow(n)}var BL=(t,n)=>n.id;function EK(t,n){if(t&1&&(_(0,"tr",0)(1,"td",3),D(2),b()()),t&2){let e=E();v(),gi("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),J("colspan",e.numCols),v(),oe(" ",e.label," ")}}function LK(t,n){if(t&1&&(_(0,"td",3),D(1),b()),t&2){let e=E(2);gi("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),J("colspan",e._firstRowOffset),v(),oe(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function kK(t,n){if(t&1){let e=ke();_(0,"td",6)(1,"button",7),P("click",function(r){let a=Q(e).$implicit,o=E(2);return X(o._cellClicked(a,r))})("focus",function(r){let a=Q(e).$implicit,o=E(2);return X(o._emitActiveDateChange(a,r))}),_(2,"span",8),D(3),b(),ie(4,"span",9),b()()}if(t&2){let e=n.$implicit,i=n.$index,r=E().$index,a=E();gi("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),J("data-mat-row",r)("data-mat-col",i),v(),ee("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(r,i))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),w("ngClass",e.cssClasses)("tabindex",a._isActiveCell(r,i)?0:-1),J("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null)("aria-describedby",a._getDescribedby(e.compareValue)),v(),ee("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),v(),oe(" ",e.displayValue," ")}}function IK(t,n){if(t&1&&(_(0,"tr",1),xe(1,LK,2,6,"td",4),Oi(2,kK,5,48,"td",5,BL),b()),t&2){let e=n.$implicit,i=n.$index,r=E();v(),we(i===0&&r._firstRowOffset?1:-1),v(),Pi(e)}}function TK(t,n){if(t&1&&(_(0,"th",2)(1,"span",6),D(2),b(),_(3,"span",3),D(4),b()()),t&2){let e=n.$implicit;v(2),xt(e.long),v(2),xt(e.narrow)}}var AK=["*"];function zK(t,n){}function RK(t,n){if(t&1){let e=ke();_(0,"mat-month-view",4),Vn("activeDateChange",function(r){Q(e);let a=E();return d1(a.activeDate,r)||(a.activeDate=r),X(r)}),P("_userSelection",function(r){Q(e);let a=E();return X(a._dateSelected(r))})("dragStarted",function(r){Q(e);let a=E();return X(a._dragStarted(r))})("dragEnded",function(r){Q(e);let a=E();return X(a._dragEnded(r))}),b()}if(t&2){let e=E();Fn("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function NK(t,n){if(t&1){let e=ke();_(0,"mat-year-view",5),Vn("activeDateChange",function(r){Q(e);let a=E();return d1(a.activeDate,r)||(a.activeDate=r),X(r)}),P("monthSelected",function(r){Q(e);let a=E();return X(a._monthSelectedInYearView(r))})("selectedChange",function(r){Q(e);let a=E();return X(a._goToDateInView(r,"month"))}),b()}if(t&2){let e=E();Fn("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function OK(t,n){if(t&1){let e=ke();_(0,"mat-multi-year-view",6),Vn("activeDateChange",function(r){Q(e);let a=E();return d1(a.activeDate,r)||(a.activeDate=r),X(r)}),P("yearSelected",function(r){Q(e);let a=E();return X(a._yearSelectedInMultiYearView(r))})("selectedChange",function(r){Q(e);let a=E();return X(a._goToDateInView(r,"year"))}),b()}if(t&2){let e=E();Fn("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function PK(t,n){}var FK=["button"],VK=[[["","matDatepickerToggleIcon",""]]],BK=["[matDatepickerToggleIcon]"];function HK(t,n){t&1&&(Jt(),_(0,"svg",2),ie(1,"path",3),b())}var zc=(()=>{class t{changes=new N;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jK=0,x0=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=jK++;constructor(n,e,i,r,a={},o=n,s){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=a,this.compareValue=o,this.rawValue=s}},UK={passive:!1,capture:!0},T5={passive:!0,capture:!0},NL={passive:!0},Ac=(()=>{class t{_elementRef=m(Y);_ngZone=m(te);_platform=m(Ge);_intl=m(zc);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new $;previewChange=new $;activeDateChange=new $;dragStarted=new $;dragEnded=new $;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=m(ve);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=m(ht),i=m(bt);this._startDateLabelId=i.getId("mat-calendar-body-start-"),this._endDateLabelId=i.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=i.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=i.getId("mat-calendar-body-comparison-end-"),m(vt).load(xi),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,a=[e.listen(r,"touchmove",this._touchmoveHandler,UK),e.listen(r,"mouseenter",this._enterHandler,T5),e.listen(r,"focus",this._enterHandler,T5),e.listen(r,"mouseleave",this._leaveHandler,T5),e.listen(r,"blur",this._leaveHandler,T5),e.listen(r,"mousedown",this._mousedownHandler,NL),e.listen(r,"touchstart",this._mousedownHandler,NL)];this._platform.isBrowser&&a.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=a})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let i=e.numCols,{rows:r,numCols:a}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?a-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/a}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/a}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){Dt(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return _g(e,this.startValue,this.endValue)}_isRangeEnd(e){return vg(e,this.startValue,this.endValue)}_isInRange(e){return bg(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return _g(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[i][r-1];if(!a){let o=this.rows[i-1];a=o&&o[o.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[i][r+1];if(!a){let o=this.rows[i+1];a=o&&o[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return vg(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return bg(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return _g(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return vg(e,this.previewStart,this.previewEnd)}_isInPreview(e){return bg(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let i=this._getCellFromElement(e.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let i=OL(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),gg(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let i=e.target&&this._getCellFromElement(e.target);!i||!this._isInRange(i.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:i.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let i=gg(e.target);if(!i){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}i.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(i);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let i=OL(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=gg(e);if(i){let r=i.getAttribute("data-mat-row"),a=i.getAttribute("data-mat-col");if(r&&a)return this.rows[parseInt(r)]?.[parseInt(a)]||null}return null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[nt],attrs:DK,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,r){i&1&&(xe(0,EK,3,6,"tr",0),Oi(1,IK,4,1,"tr",1,SK,!0),_(3,"span",2),D(4),b(),_(5,"span",2),D(6),b(),_(7,"span",2),D(8),b(),_(9,"span",2),D(10),b()),i&2&&(we(r._firstRowOffset<r.labelMinRequiredCells?0:-1),v(),Pi(r.rows),v(2),w("id",r._startDateLabelId),v(),oe(" ",r.startDateAccessibleName,`
`),v(),w("id",r._endDateLabelId),v(),oe(" ",r.endDateAccessibleName,`
`),v(),w("id",r._comparisonStartDateLabelId),v(),i2(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
`),v(),w("id",r._comparisonEndDateLabelId),v(),i2(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
`))},dependencies:[lr],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}
`],encapsulation:2,changeDetection:0})}return t})();function pg(t){return t?.nodeName==="TD"}function gg(t){let n;return pg(t)?n=t:pg(t.parentNode)?n=t.parentNode:pg(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function _g(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function vg(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function bg(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function OL(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var M1=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},A5=(()=>{class t{selection;_adapter;_selectionChanged=new N;selectionChanged=this._selectionChanged;constructor(e,i){this.selection=e,this._adapter=i,this.selection=e}updateSelection(e,i){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(i){As()};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),GK=(()=>{class t extends A5{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(i){return new(i||t)(me(qn))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function WK(t,n){return t||new GK(n)}var $K={provide:A5,deps:[[new Va,new Ls,A5],qn],useFactory:WK};var HL=new L("MAT_DATE_RANGE_SELECTION_STRATEGY");var yg=7,YK=0,PL=(()=>{class t{_changeDetectorRef=m(ze);_dateFormats=m(T2,{optional:!0});_dateAdapter=m(qn,{optional:!0});_dir=m(At,{optional:!0});_rangeStrategy=m(HL,{optional:!0});_rerenderSubscription=Oe.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof M1?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new $;_userSelection=new $;dragStarted=new $;dragEnded=new $;activeDateChange=new $;_matCalendarBody;_monthLabel=Te("");_weeks=Te([]);_firstWeekOffset=Te(0);_rangeStart=Te(null);_rangeEnd=Te(null);_comparisonRangeStart=Te(null);_comparisonRangeEnd=Te(null);_previewStart=Te(null);_previewEnd=Te(null);_isRange=Te(!1);_todayDate=Te(null);_weekdays=Te([]);constructor(){m(vt).load(g1),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ft(null)).subscribe(()=>this._init())}ngOnChanges(e){let i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let i=e.value,r=this._getDateFromDayOfMonth(i),a,o;this._selected instanceof M1?(a=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):a=o=this._getDateInCurrentMonth(this._selected),(a!==i||o!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!vi(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((yg+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%yg),this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){let r=i?i.rawValue:null,a=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)),this.activeDrag&&r){let o=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);o&&(this._previewStart.set(this._getCellCompareValue(o.start)),this._previewEnd.set(this._getCellCompareValue(o.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),a=this._dateAdapter.getDayOfWeekNames("long").map((o,s)=>({long:o,narrow:i[s],id:YK++}));this._weekdays.set(a.slice(e).concat(a.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames(),r=[[]];for(let a=0,o=this._firstWeekOffset();a<e;a++,o++){o==yg&&(r.push([]),o=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a+1),l=this._shouldEnableDate(s),u=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),h=this.dateClass?this.dateClass(s,"month"):void 0;r[r.length-1].push(new x0(a+1,i[a],u,l,h,this._getCellCompareValue(s),s))}this._weeks.set(r)}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!!(e&&i&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){let i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(i,r,a).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof M1?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&de(Ac,5),i&2){let a;F(a=V())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[nt],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,r){i&1&&(_(0,"table",0)(1,"thead",1)(2,"tr"),Oi(3,TK,5,2,"th",2,BL),b(),_(5,"tr",3),ie(6,"th",4),b()(),_(7,"tbody",5),P("selectedValueChange",function(o){return r._dateSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("previewChange",function(o){return r._previewChanged(o)})("dragStarted",function(o){return r.dragStarted.emit(o)})("dragEnded",function(o){return r._dragEnded(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),b()()),i&2&&(v(3),Pi(r._weekdays()),v(4),w("label",r._monthLabel())("rows",r._weeks())("todayValue",r._todayDate())("startValue",r._rangeStart())("endValue",r._rangeEnd())("comparisonStart",r._comparisonRangeStart())("comparisonEnd",r._comparisonRangeEnd())("previewStart",r._previewStart())("previewEnd",r._previewEnd())("isRange",r._isRange())("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[Ac],encapsulation:2,changeDetection:0})}return t})(),Kn=24,Cg=4,FL=(()=>{class t{_changeDetectorRef=m(ze);_dateAdapter=m(qn,{optional:!0});_dir=m(At,{optional:!0});_rerenderSubscription=Oe.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),jL(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof M1?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new $;yearSelected=new $;activeDateChange=new $;_matCalendarBody;_years=Te([]);_todayYear=Te(0);_selectedYear=Te(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ft(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let i=this._dateAdapter.getYear(this._activeDate)-M0(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let a=0,o=[];a<Kn;a++)o.push(i+a),o.length==Cg&&(r.push(o.map(s=>this._createCellForYear(s))),o=[]);this._years.set(r),this._changeDetectorRef.markForCheck()}_yearSelected(e){let i=e.value,r=this._dateAdapter.createDate(i,0,1),a=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Cg);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Cg);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-M0(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Kn-M0(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Kn*10:-Kn);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Kn*10:Kn);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return M0(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(e){let i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),a=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new x0(e,r,r,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let i=this._dateAdapter.createDate(e,0,1);for(let r=i;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear.set(null),e instanceof M1){let i=e.start||e.end;i&&this._selectedYear.set(this._dateAdapter.getYear(i))}else e&&this._selectedYear.set(this._dateAdapter.getYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,r){if(i&1&&de(Ac,5),i&2){let a;F(a=V())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(_(0,"table",0)(1,"thead",1)(2,"tr"),ie(3,"th",2),b()(),_(4,"tbody",3),P("selectedValueChange",function(o){return r._yearSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),b()()),i&2&&(v(4),w("rows",r._years())("todayValue",r._todayYear())("startValue",r._selectedYear())("endValue",r._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[Ac],encapsulation:2,changeDetection:0})}return t})();function jL(t,n,e,i,r){let a=t.getYear(n),o=t.getYear(e),s=UL(t,i,r);return Math.floor((a-s)/Kn)===Math.floor((o-s)/Kn)}function M0(t,n,e,i){let r=t.getYear(n);return qK(r-UL(t,e,i),Kn)}function UL(t,n,e){let i=0;return e?i=t.getYear(e)-Kn+1:n&&(i=t.getYear(n)),i}function qK(t,n){return(t%n+n)%n}var VL=(()=>{class t{_changeDetectorRef=m(ze);_dateFormats=m(T2,{optional:!0});_dateAdapter=m(qn,{optional:!0});_dir=m(At,{optional:!0});_rerenderSubscription=Oe.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof M1?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new $;monthSelected=new $;activeDateChange=new $;_matCalendarBody;_months=Te([]);_yearLabel=Te("");_todayMonth=Te(null);_selectedMonth=Te(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ft(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let a=this._getDateFromMonth(i);this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),o=this.dateClass?this.dateClass(r,"year"):void 0;return new x0(e,i.toLocaleUpperCase(),a,this._shouldEnableMonth(e),o)}_shouldEnableMonth(e){let i=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,e,1);for(let a=r;this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>a}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&i<a}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof M1?this._selectedMonth.set(this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end)):this._selectedMonth.set(this._getMonthInCurrentYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,r){if(i&1&&de(Ac,5),i&2){let a;F(a=V())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(_(0,"table",0)(1,"thead",1)(2,"tr"),ie(3,"th",2),b()(),_(4,"tbody",3),P("selectedValueChange",function(o){return r._monthSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),b()()),i&2&&(v(4),w("label",r._yearLabel())("rows",r._months())("todayValue",r._todayMonth())("startValue",r._selectedMonth())("endValue",r._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[Ac],encapsulation:2,changeDetection:0})}return t})(),GL=(()=>{class t{_intl=m(zc);calendar=m(Mg);_dateAdapter=m(qn,{optional:!0});_dateFormats=m(T2,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){m(vt).load(g1);let e=m(ze);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Kn))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Kn))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,i=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=i.switchToMultiYearViewLabel,this._prevButtonLabel=i.prevMonthLabel,this._nextButtonLabel=i.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevYearLabel,this._nextButtonLabel=i.nextYearLabel):(this._periodButtonText=i.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=i.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevMultiYearLabel,this._nextButtonLabel=i.nextMultiYearLabel)}_isSameView(e,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):jL(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-M0(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Kn-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[a,o]}_periodButtonLabelId=m(bt).getId("mat-calendar-period-label-");static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:AK,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,r){i&1&&(Ae(),_(0,"div",0)(1,"div",1)(2,"span",2),D(3),b(),_(4,"button",3),P("click",function(){return r.currentPeriodClicked()}),_(5,"span",4),D(6),b(),Jt(),_(7,"svg",5),ie(8,"polygon",6),b()(),o1(),ie(9,"div",7),fe(10),_(11,"button",8),P("click",function(){return r.previousClicked()}),Jt(),_(12,"svg",9),ie(13,"path",10),b()(),o1(),_(14,"button",11),P("click",function(){return r.nextClicked()}),Jt(),_(15,"svg",9),ie(16,"path",12),b()()()()),i&2&&(v(2),w("id",r._periodButtonLabelId),v(),xt(r.periodButtonDescription),v(),J("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),v(2),xt(r.periodButtonText),v(),ee("mat-calendar-invert",r.calendar.currentView!=="month"),v(4),w("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),J("aria-label",r.prevButtonLabel),v(3),w("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),J("aria-label",r.nextButtonLabel))},dependencies:[L2,y1,L5],encapsulation:2,changeDetection:0})}return t})(),Mg=(()=>{class t{_dateAdapter=m(qn,{optional:!0});_dateFormats=m(T2,{optional:!0});_changeDetectorRef=m(ze);_elementRef=m(Y);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof M1?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new $;yearSelected=new $;monthSelected=new $;viewChanged=new $(!0);_userSelection=new $;_userDragDrop=new $;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&(this.stateChanges.next(),this.viewChanged.emit(i))}_currentView;_activeDrag=null;stateChanges=new N;constructor(){this._intlChanges=m(zc).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Wn(this.headerComponent||GL),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,a=i||r||e.dateFilter;if(a&&!a.firstChange){let o=this._getCurrentViewComponent();o&&(this._elementRef.nativeElement.contains(na())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),o._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let i=e.value;(this.selected instanceof M1||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&(de(PL,5),de(VL,5),de(FL,5)),i&2){let a;F(a=V())&&(r.monthView=a.first),F(a=V())&&(r.yearView=a.first),F(a=V())&&(r.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Ie([$K]),nt],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,r){if(i&1&&(K(0,zK,0,0,"ng-template",0),_(1,"div",1),xe(2,RK,1,11,"mat-month-view",2)(3,NK,1,6,"mat-year-view",3)(4,OK,1,6,"mat-multi-year-view",3),b()),i&2){let a;w("cdkPortalOutlet",r._calendarHeaderPortal),v(2),we((a=r.currentView)==="month"?2:a==="year"?3:a==="multi-year"?4:-1)}},dependencies:[yn,Y3,PL,VL,FL],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})(),KK=new L("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ve);return()=>Bi(t)}});function ZK(t){let n=m(ve);return()=>Bi(n)}var QK={provide:KK,deps:[],useFactory:ZK},XK=(()=>{class t{_elementRef=m(Y);_animationsDisabled=pt();_changeDetectorRef=m(ze);_globalModel=m(A5);_dateAdapter=m(qn);_ngZone=m(te);_rangeSelectionStrategy=m(HL,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new N;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(m(vt).load(g1),this._closeButtonText=m(zc).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,i=m(ht);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"animationstart",this._handleAnimationEvent),i.listen(e,"animationend",this._handleAnimationEvent),i.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let i=this._model.selection,r=e.value,a=i instanceof M1;if(a&&this._rangeSelectionStrategy){let o=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(o,this)}else r&&(a||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let i=this._elementRef.nativeElement;e.target!==i||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",i.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&de(Mg,5),i&2){let a;F(a=V())&&(r._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,r){i&2&&(yt(r.color?"mat-"+r.color:""),ee("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,r){i&1&&(_(0,"div",0)(1,"mat-calendar",1),P("yearSelected",function(o){return r.datepicker._selectYear(o)})("monthSelected",function(o){return r.datepicker._selectMonth(o)})("viewChanged",function(o){return r.datepicker._viewChanged(o)})("_userSelection",function(o){return r._handleUserSelection(o)})("_userDragDrop",function(o){return r._handleUserDragDrop(o)}),b(),K(2,PK,0,0,"ng-template",2),_(3,"button",3),P("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),D(4),b()()),i&2&&(ee("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),J("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),v(),yt(r.datepicker.panelClass),w("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),v(),w("cdkPortalOutlet",r._actionsPortal),v(),ee("cdk-visually-hidden",!r._closeButtonFocused),w("color",r.color||"primary"),v(),xt(r._closeButtonText))},dependencies:[V9,Mg,yn,L2],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
`],encapsulation:2,changeDetection:0})}return t})();var JK=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=W({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),eZ=(()=>{class t{_intl=m(zc);_changeDetectorRef=m(ze);_stateChanges=Oe.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=m(new Ei("tabindex"),{optional:!0}),i=Number(e);this.tabIndex=i||i===0?i:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ge(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ge(),r=this.datepicker?Zt(this.datepicker.openedStream,this.datepicker.closedStream):ge();this._stateChanges.unsubscribe(),this._stateChanges=Zt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,JK,5),i&2){let o;F(o=V())&&(r._customIcon=o.first)}},viewQuery:function(i,r){if(i&1&&de(FK,5),i&2){let a;F(a=V())&&(r._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&P("click",function(o){return r._open(o)}),i&2&&(J("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ee("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",B],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[nt],ngContentSelectors:BK,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,r){i&1&&(Ae(VK),_(0,"button",1,0),xe(2,HK,2,0,":svg:svg",2),fe(3),b()),i&2&&(w("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),J("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),v(2),we(r._customIcon?-1:2))},dependencies:[y1],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
`],encapsulation:2,changeDetection:0})}return t})();var xg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[zc,QK],imports:[$i,Ii,aa,$n,ae,XK,eZ,GL,Wi]})}return t})();function tZ(t,n){if(t&1&&(_(0,"mat-option",17),D(1),b()),t&2){let e=n.$implicit;w("value",e),v(),oe(" ",e," ")}}function iZ(t,n){if(t&1){let e=ke();_(0,"mat-form-field",14)(1,"mat-select",16,0),P("selectionChange",function(r){Q(e);let a=E(2);return X(a._changePageSize(r.value))}),Oi(3,tZ,2,2,"mat-option",17,R1),b(),_(5,"div",18),P("click",function(){Q(e);let r=kt(2);return X(r.open())}),b()()}if(t&2){let e=E(2);w("appearance",e._formFieldAppearance)("color",e.color),v(),w("value",e.pageSize)("disabled",e.disabled),Ns("aria-labelledby",e._pageSizeLabelId),w("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),v(2),Pi(e._displayedPageSizeOptions)}}function nZ(t,n){if(t&1&&(_(0,"div",15),D(1),b()),t&2){let e=E(2);v(),xt(e.pageSize)}}function rZ(t,n){if(t&1&&(_(0,"div",3)(1,"div",13),D(2),b(),xe(3,iZ,6,7,"mat-form-field",14),xe(4,nZ,2,1,"div",15),b()),t&2){let e=E();v(),J("id",e._pageSizeLabelId),v(),oe(" ",e._intl.itemsPerPageLabel," "),v(),we(e._displayedPageSizeOptions.length>1?3:-1),v(),we(e._displayedPageSizeOptions.length<=1?4:-1)}}function aZ(t,n){if(t&1){let e=ke();_(0,"button",19),P("click",function(){Q(e);let r=E();return X(r._buttonClicked(0,r._previousButtonsDisabled()))}),Jt(),_(1,"svg",8),ie(2,"path",20),b()()}if(t&2){let e=E();w("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),J("aria-label",e._intl.firstPageLabel)}}function oZ(t,n){if(t&1){let e=ke();_(0,"button",21),P("click",function(){Q(e);let r=E();return X(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),Jt(),_(1,"svg",8),ie(2,"path",22),b()()}if(t&2){let e=E();w("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),J("aria-label",e._intl.lastPageLabel)}}var z5=(()=>{class t{changes=new N;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let a=e*i,o=a<r?Math.min(a+i,r):a+i;return`${a+1} \u2013 ${o} of ${r}`};static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sZ(t){return t||new z5}var cZ={provide:z5,deps:[[new Va,new Ls,z5]],useFactory:sZ},lZ=50;var dZ=new L("MAT_PAGINATOR_DEFAULT_OPTIONS"),wg=(()=>{class t{_intl=m(z5);_changeDetectorRef=m(ze);_formFieldAppearance;_pageSizeLabelId=m(bt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new zr(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>dt(i,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new $;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,i=m(dZ,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:r,pageSizeOptions:a,hidePageSize:o,showFirstLastButtons:s}=i;r!=null&&(this._pageSize=r),a!=null&&(this._pageSizeOptions=a),o!=null&&(this.hidePageSize=o),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let i=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(i/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:lZ),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let i=this.pageIndex;e!==i&&(this.pageIndex=e,this._emitPageEvent(i))}_buttonClicked(e,i){i||this._navigate(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",dt],length:[2,"length","length",dt],pageSize:[2,"pageSize","pageSize",dt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",B],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",B],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",B]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(_(0,"div",1)(1,"div",2),xe(2,rZ,5,4,"div",3),_(3,"div",4)(4,"div",5),D(5),b(),xe(6,aZ,3,5,"button",6),_(7,"button",7),P("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),Jt(),_(8,"svg",8),ie(9,"path",9),b()(),o1(),_(10,"button",10),P("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),Jt(),_(11,"svg",8),ie(12,"path",11),b()(),xe(13,oZ,3,5,"button",12),b()()()),i&2&&(v(2),we(r.hidePageSize?-1:2),v(3),oe(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),v(),we(r.showFirstLastButtons?6:-1),v(),w("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),J("aria-label",r._intl.previousPageLabel),v(3),w("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),J("aria-label",r._intl.nextPageLabel),v(3),we(r.showFirstLastButtons?13:-1))},dependencies:[U1,E2,_1,y1,L5],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
`],encapsulation:2,changeDetection:0})}return t})(),w0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[cZ],imports:[$i,vr,kc,wg]})}return t})();var Dg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae]})}return t})();var WL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({})}return t})();var Sg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[ae,WL,$n]})}return t})();var Eg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[aa,ae,ae]})}return t})();var Rc=new L("MOBILE_DE_LIB_CONFIG"),Nc=(()=>{class t{httpClient;mobileDeLibConfig;constructor(e,i){this.httpClient=e,this.mobileDeLibConfig=i}getDarmasAdNonAuth(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}mobile-de/get/darmas/ad/${e}`)}getAllDarmasAdsNonAuth(){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}mobile-de/get/darmas/ads`)}sendContactEmailToStore(e,i){return this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+"email/send/to/store/"+e.store._id,{data:i,darmasAd:e})}getFeaturesRefDataForVehicleClassCar(){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"refdata/Car/features")}getSiteIndependentRefdata(e,i=null){return i?ge({getRequest:this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"refdata/siteindependent/"+e),featureCatObject:i}):this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"refdata/siteindependent/"+e)}createPdf(e){return this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+"mobile-de/create/darmasad/pdf/",e)}transformKeyToCamelCase(e){let i=e.split("_"),r=0,a="";if(e==="NONSMOKER_VEHICLE")a="nonSmokerVehicle";else for(let o of i){let s=o.toLowerCase();r>0&&(s=this.capitalizeFirstLetter(s)),a=a+s,r++}return a}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}getStores(){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"auth/stores/").pipe(Ce(e=>e))}getStore(e){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"auth/store/"+e).pipe(Ce(i=>i))}parseAdDescriptionCreoleSyntaxToHtml(e){let i=e.replace(uZ,(r,a)=>"<b>"+a+"</b>");return i=i.replace(fZ,"<br>"),i=i.replace(mZ,'<div class="hm_divider"></div>'),console.log("out:",i),i=i.replace(hZ,"<br>"),i}static \u0275fac=function(i){return new(i||t)(me(F1),me(Rc))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uZ=/\*\*([a-z A-Z0-9\-&ß\u00C0-\u017F\+"()%!?_]+)\*\*/g,mZ=/[-]{4}/g,fZ=/\\\\/g,hZ=/(?:\r\n|\r|\n)/g;var $L=(function(t){return t.BLACK="black",t.GREY="grey",t.BEIGE="#ddd",t.BROWN="brown",t.RED="red",t.GREEN="green",t.BLUE="blue",t.PURPLE="purple",t.GOLD="gold",t.WHITE="white",t.ORANGE="orange",t.SILVER="#ccc",t.YELLOW="yellow",t.PINK="pink",t.BRONZE="#cd7f32",t.CHAMPAGNE="#f7e7ce",t.VIOLET="#ee82ee",t})($L||{}),xn=class{static generateAutoScout24Slug(n,e,i="german"){return i==="german"?"https://www.autoscout24.de/angebote/"+n:"https://www.autoscout24.com/offers/"+n}static getHrefForDarmasAdVehicleMarket(n){return window.location.host.includes("localhost")?`http://localhost:8080/details/${n}`:`https://www.darmas.de/fahrzeugmarkt/details/${n}`}static calculateYearMonthString(n){let e=n.getMonth()+1,i=n.getFullYear();return(e<10?"0"+e:""+e)+String(i)}static getDaytime(){let n="";var e=new Date,i=e.getHours();return i<12&&i>=6?(console.log("Good morning!"),n="morning"):i>=12&&i<18?(console.log("Good afternoon!"),n="afternoon"):(console.log("Good evening!"),n="evening"),n}static getColorCode(n){return $L[n]}static getFontColor(n){let e;return n==="WHITE"||n==="GREY"||n==="SILVER"?e="#000":e="#fff",e}static dataURIToBlob(n){let e=n.split(","),i=e[0].indexOf("base64")>=0?atob(e[1]):decodeURI(e[1]),r=e[0].split(":")[1].split(";")[0],a=new Uint8Array(i.length);for(let o=0;o<i.length;o++)a[o]=i.charCodeAt(o);return new Blob([a],{type:r})}static prepareSave(n){let e=new FormData;return n&&Object.keys(n).forEach(i=>{let r=n[i];e.append("files[]",r)}),e}static b64toBlob(n,e="application/zip",i=512){let r=atob(n),a=[];for(let s=0;s<r.length;s+=i){let l=r.slice(s,s+i),u=new Array(l.length);for(let g=0;g<l.length;g++)u[g]=l.charCodeAt(g);let h=new Uint8Array(u);a.push(h)}return new Blob(a,{type:e})}static roundTo2Digits(n){var e=Number((Math.abs(n)*100).toPrecision(15));return Math.round(e)/100*Math.sign(n)}static getCurrentQuarter(){let n,e=new Date().getMonth()+1;return e<4?n=1:e<7?n=2:e<10?n=3:n=4,n}static dataURItoBlob(n){let e=window.atob(n),i=new ArrayBuffer(e.length),r=new Uint8Array(i);for(let o=0;o<e.length;o++)r[o]=e.charCodeAt(o);return new Blob([r],{type:"application/pdf"})}static genRandomString(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}static genRandomName32(){return Array(32).fill(null).map(()=>Math.round(Math.random()*16).toString(16)).join("")}static formatBytes(n,e=2){if(n===0)return"0 Bytes";let i=1024,r=e<=0?0:e,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(n)/Math.log(i));return parseFloat((n/Math.pow(i,o)).toFixed(r))+" "+a[o]}static getAWSS3UrlForDarmasImage(n,e="S3Ref"){return"https://"+n.S3Bucket+".s3."+n.S3Region+".amazonaws.com/"+n[e]}static arrayDifference(n,e){let i=[],r=[];for(let a of n)i[n.name]=!0;for(let a of e)i[a.name]?delete i[a.name]:i[a.name]=!0;for(let a of i)r.push(a);return r}static arrayEquals(n,e){if(Array.isArray(n)&&Array.isArray(e)){let i=[...n],r=[...e];return i.sort(),r.sort(),Array.isArray(i)&&Array.isArray(r)&&i.length===r.length&&i.every((a,o)=>a===r[o])}else return!1}static transformCurrencyToCalculatable(n,e="de-DE"){return n=String(n),n&&(n.includes("\u20AC")||n.includes(","))&&(n=n.replace("\u20AC",""),n=n.replace(".",""),n=n.replace(",",".")),Number(n)}static calculateNet(n,e){return(n/(100+e)*100).toFixed(2)}static getDateFormatForISOString(n){let e=new Date(n);return e.getDate()+"."+e.getMonth()+"."+e.getFullYear()}static compareValues(n,e="asc"){return function(r,a){if(!r.hasOwnProperty(n)||!a.hasOwnProperty(n))return 0;let o=typeof r[n]=="string"?r[n].toUpperCase():r[n],s=typeof a[n]=="string"?a[n].toUpperCase():a[n],l=0;return o>s?l=1:o<s&&(l=-1),e==="desc"?l*-1:l}}static calculatePsFromKwh(n){return(n*1.35962).toFixed(2)}},pZ="Mobile.de Inserats Id",gZ="Mobile.de Verk\xE4ufer Id",_Z="Erstellungsdatum",vZ="\xC4nderungsdatum",bZ="Fahrzeugart",yZ="Fahrzeugtyp",CZ="Hersteller",MZ="Modell",xZ="Modell",wZ="Preis",DZ="Verkaufspreis brutto",SZ="Verkaufspreis netto",EZ="H\xE4ndlerpreis brutto",LZ="H\xE4ndlerpreis netto",kZ="Modell Beschreibung",IZ="Zustand",TZ="Benutzungen",AZ="Erste Anmeldung",zZ="Kilometerstand",RZ="Fahrgestellsnummer",NZ="Interne Nummer/dp24",OZ="Fassungsverm\xF6gen m\xB3",PZ="Leistung KW",FZ="Schaltgetriebe",VZ="Treibstoff",BZ="Anzahl Achsen",HZ="Vierradantrieb",jZ="Anzahl R\xE4der",UZ="Hybrid-Plugin",GZ="e10 geeignet",WZ="Katalysator",$Z="Diesel-Partikelfilter",YZ="Biodiesel Conversion",qZ="Biodiesel geeignet",KZ="Pflanzen\xF6l Conversion",ZZ="Pflanzen\xF6l Treibstoff",QZ="Sportfahrwerk",XZ="Start/Stopp-System",JZ="envkv passend",eQ="Energie Effizienz Klasse",tQ="CO2 Aussto\xDF",iQ="Innerst\xE4dt. Verbrauch",nQ="Au\xDFerst\xE4dt. Verbrauch",rQ="Kombinierter Verbrauch",aQ="Verbrauchs Einheit",oQ="Kraftstoff Typ",sQ="Verbrauch Power Kombiniert",cQ="Umwelt-Plakette",lQ="Schadstoffklasse",dQ="Au\xDFenfarbe",uQ="Hersteller Farbbezeichnung",mQ="Metallic",fQ="Anzahl T\xFCren",hQ="Anzahl Sitze",pQ="Farbe der Innenausstattung",gQ="Innenausstattung",_Q="Hauptuntersuchung",vQ="Abgasuntersuchung",bQ="Neue Hu/Au",yQ="Baujahr",CQ="Produktionsdatum",MQ="Anzahl Vorbesitzer",xQ="Scheckheft gepflegt",wQ="Nichtraucher Auto",DQ="Landesversion",SQ="Unreparierter Schaden",EQ="Unfallschaden",LQ="Fahrbereit",kQ="Taxi",IQ="ABS",TQ="Airbag",AQ="Luftfederung",zQ="Leichtmetallr\xE4der",RQ="Regensensor",NQ="Standheizung",OQ="Awning",PQ="Betten",FQ="Bluetooth",VQ="Box",BQ="BSS",HQ="Etagenbett",jQ="Kabine",UQ="Multi CD-Wechsler",GQ="CD Spieler",WQ="Zentral Verriegelung",$Q="Central Lubricant Application",YQ="Kreisf\xF6rmige Sitzanordnung",qQ="Klimatisierung",KQ="K\xFChlschrank",ZQ="Kompressor",QQ="Kran",XQ="Hagelschaden",JQ="\xC4u\xDFere Gr\xF6\xDFe",eX="Behindertengerecht",tX="Disabled Conversion",iX="Scheibenbremse",nX="Trennwand",rX="Schlafabteil",aX="Fahrerkabine",oX="Antriebsart",sX="Elektronisches Bremssystem",cX="Elektr. einstellbare Sitze",lX="Elektr. Au\xDFenspiegel",dX="Beheizte Sitze",uX="Elektr. Starter",mX="Elektr. Fensterheber",fX="Elektr. Stabilit\xE4ts Kontrolle",hX="Lagerpl\xE4tze Europaletten",pX="Front-Nebel-Scheinwerfer",gX="Hydraulik vorne",_X="Front Jack",vX="Volle Verkleidung",bX="Freisprecheinrichtung",yX="Head-Up-Display",CX="Hydraulic Installation",MX="Wegfahrsperre",xX="Installations H\xF6he",wX="ISOFIX Kindersitze",DX="Kickstarter",SX="K\xFCche",EX="Liz. Gewicht kg",LX="Hebe Gewicht kg",kX="Hebe H\xF6he mm",IX="Licht Sensor",TX="Lade Kapazit\xE4t kg",AX="Laderaum",zX="Mittlere Sitzanordnung ",RX="Multifunktionslenkrad",NX="Stadt-Fahrzeug",OX="Navigationssystem",PX="Anzahl Schlafkojen",FX="Boardcomputer",VX="Betriebsstunden",BX="Panorama-Glasdach",HX="Einpark-Assistenten",jX="Geschwindigkeitskontrolle",UX="Radio",GX="Tageslicht-Lampen",WX="Schiebet\xFCren",$X="Innenraumbeleuchtung",YX="Kurvenlicht Typ",qX="Unfall Service",KX="Batterie",ZX="Anh\xE4ngerkupplung",QX="Ausstattungslinie",XX="Baureihe",JX="Produktionsdatum erstes Modell",eJ="Batterie Kapazit\xE4t kWh",tJ="Servolenkung",iJ="Sicherheitsdach",nJ="Schnellwechselaufsatz",rJ="Rear Garage",aJ="Retarder Bremse",oJ="Stra\xDFenlizenz",sJ="Roll-Over-Bar",cJ="Dachgep\xE4cktr\xE4ger",lJ="Zweite Klimaanlage",dJ="Separate Dusche",uJ="Laderaum m\xB3",mJ="Seiten-Sitzm\xF6glichkeit",fJ="Ski-Aufbewahrung",hJ="Schlafsitze",pJ="Solarernergie-System",gJ="Sport Packet",_J="Sportsitze",vJ="Schiebedach",bJ="Super Single Reifen",yJ="Ladebordwand",CJ="Antriebsschlupfregelung",MJ="Fernseher",xJ="Urin Tank AdBlue",wJ="WC",DJ="Windschutzscheibe",SJ="Alarmanlage",EJ="Armlehne vorne",LJ="Beheizbare Windschutzscheibe",kJ="Beheiztes Lenkrad",IJ="Berganfahr Assistent",TJ="Elektrische Heckklappe",AJ="Leder Lenkrad",zJ="Lordosenst\xFCtze",RJ="Massage Sitze",NJ="Erm\xFCdungswarnsystem",OJ="Nachtsicht-Asistent",PJ="Notruf-System",FJ="Reifendruck Monitor",VJ="Gangschaltung Lenkrad",BJ="Elektr. beheizte R\xFCcksitze",HJ="Sound System",jJ="Sprachsteuerung",UJ="Touchscreen",GJ="USB Anschluss",WJ="Strassenschild Erkennung",$J="Verkehrsassistent",YJ="Sommerreifen",qJ="Winterreifen",KJ="Allwetterreifen",ZJ="Stahlfelgen",QJ="Blendfreies Fernlicht",XJ="Scheinwerfer-Reinigungssystem vorne",JJ="Winter-Packet",eee="Raucher-Packet",tee="Entfernungs-Warn-System",iee="Elektr. einstellbar R\xFCcksitze",nee="Ambiente Beleuchtung",ree="WLAN Hotspot",aee="Apple Carplay",oee="Android Auto",see="Digitales Cockpit",cee="Passagiersitze ISOFIX",lee="Kabelloses Laden",dee="Integriertes Musik-Streaming",uee="Dimmbarer Innenspiegel",mee="Einklappbare Passagiersitze",fee="Gep\xE4ckbarriere",hee="Geschwindigkeitsbegrenzer",pee="Reichweitenverst\xE4rker",gee="Kollisionsvermeidung",_ee="Elektr. T\xFCr\xF6ffner",vee="Beheizte Sitze",bee="Spurhalte-Assistent",yee="Toter Winkel Assistent",Cee="Beschreibung",Mee="Fahrzeugbilder",xee="Video URL",wee="Highlights",Dee="todo Classification of makes/models",See="Schwacke Code",Eee="Auslieferungs Datum",Lee="Lieferzeitraum",kee="Gebrauchtwagen-Siegel",Iee="H\xE4ndler Webseite",Tee="Geschlossener Bereich",Aee="Garantie",zee="Mieten m\xF6glich",Ree="Finanzierung",Nee="Inserat Erneuerungs Datum",Oee="Inserats Qualit\xE4t",Pee="Reserviert",Fee="Upload Sticky",Vee="Bookable Features",Bee="Erstellt am",Hee="Ge\xE4ndert am",jee="Agrarfahrzeug",Uee="Bus",Gee="Pkw",Wee="Baumaschine",$ee="Stapler",Yee="Motorrad",qee="Wohnmobil oder -wagen",Kee="Auflieger",Zee="Sattelzugmaschine (SZM)",Qee="Anh\xE4nger",Xee="Lkw \xFCber 7,5 t",Jee="Transporter oder Lkw bis 7,5 t",ete="Andorra",tte="Vereinigte Arabische Emirate",ite="Afghanistan",nte="Antigua und Barbuda",rte="Anguilla",ate="Albanien",ote="Armenien",ste="Niederl\xE4ndische Antillen",cte="Angola",lte="Asia-Pacific",dte="Argentinien",ute="Samoainseln",mte="\xD6sterreich",fte="Australien",hte="Aserbaidschan",pte="Bosnien und Herzegowina",gte="Barbados",_te="Bangladesch",vte="Belgien",bte="Burkina Faso",yte="Bulgarien",Cte="Bahrain",Mte="Burundi",xte="Benin",wte="Bermuda",Dte="Brunei Darussalam",Ste="Bolivien",Ete="Brasilien",Lte="Bahamas",kte="Bhutan",Ite="Botswana",Tte="Wei\xDFrussland",Ate="Belize",zte="Kanada",Rte="Cocos (Keeling) Islands",Nte="Kongo, Demokratische Republik",Ote="Zentralafrikanische Republik",Pte="Kongo",Fte="Schweiz",Vte="Elfenbeink\xFCste",Bte="Cookinseln",Hte="Chile",jte="Kamerun",Ute="China",Gte="Kolumbien",Wte="Costa Rica",$te="Serbien und Montenegro",Yte="Kuba",qte="Kap Verde",Kte="Weihnachtsinsel",Zte="Zypern",Qte="Tschechische Republik",Xte="Deutschland",Jte="Djibouti",eie="D\xE4nemark",tie="Dominica",iie="Dominikanische Republik",nie="Algerien",rie="Ecuador",aie="Estland",oie="\xC4gypten",sie="Western Sahara",cie="Eritrea",lie="Spanien",die="\xC4thiopien",uie="Finnland",mie="Fiji",fie="Falklandinseln",hie="F\xF6derierte Staaten von Mikronesien",pie="Far\xF6er",gie="Frankreich",_ie="Gabun",vie="Gro\xDFbritannien",bie="Grenada",yie="Georgien",Cie="Guinea",Mie="Ghana",xie="Gibraltar",wie="Gr\xF6nland",Die="Gambia",Sie="Guinea",Eie="Guadeloupe",Lie="Equatorial Guinea",kie="Griechenland",Iie="Guatemala",Tie="Guam",Aie="Guinea-Bissau",zie="Guyana",Rie="Hongkong",Nie="Honduras",Oie="Kroatien",Pie="Haiti",Fie="Ungarn",Vie="Indonesien",Bie="Irland",Hie="Israel",jie="Indien",Uie="Irak",Gie="Iran",Wie="Island",$ie="Italien",Yie="Jamaika",qie="Jordanien",Kie="Japan",Zie="Kenia",Qie="Kirgisistan",Xie="Kambodia",Jie="Kiribati",ene="Komoren",tne="Saint Kitts and Nevis",ine="Korea, Demokratische Volksrepublik",nne="S\xFCdkorea",rne="Kuwait",ane="Cayman Islands",one="Kasachstan",sne="Laos",cne="Libanon",lne="St. Lucia",dne="Liechtenstein",une="Sri Lanka",mne="Liberia",fne="Lesotho",hne="Litauen",pne="Luxemburg",gne="Lettland",_ne="Libysch-Arabische Dschamahirija",vne="Marokko",bne="Monaco",yne="Moldawien",Cne="Montenegro",Mne="Madagaskar",xne="Marshallinseln",wne="Mazedonien",Dne="Mali",Sne="Birma",Ene="Mongolei",Lne="Macao",kne="Martinique",Ine="Mauretanien",Tne="Montserrat",Ane="Malta",zne="Mauritius",Rne="Malediven",Nne="Malawi",One="Mexiko",Pne="Malaysia",Fne="Mosambik",Vne="Namibia",Bne="Neukaledonien",Hne="Niger",jne="Norfolkinsel",Une="Nigeria",Gne="Nicaragua",Wne="Niederlande",$ne="Norwegen",Yne="Nepal",qne="Nauru",Kne="Niue",Zne="Neuseeland",Qne="Oman",Xne="Panama",Jne="Peru",e1e="Franz\xF6sisch-Polynesien",t1e="Papua-Neuguinea",i1e="Philippinen",n1e="Pakistan",r1e="Polen",a1e="Saint-Pierre und Miquelon",o1e="Puerto Rico",s1e="Pal\xE4stinensischen Autonomiegebiete",c1e="Portugal",l1e="Palau",d1e="Paraguay",u1e="Qatar",m1e="R\xE9union",f1e="Rum\xE4nien",h1e="Serbien",p1e="Russland",g1e="Ruanda",_1e="Saudi-Arabien",v1e="Salomoninseln",b1e="Seychellen",y1e="Sudan",C1e="Schweden",M1e="Singapur",x1e="Saint Helena",w1e="Slowenien",D1e="Slowakische Republik",S1e="Sierra Leone",E1e="San Marino",L1e="Senegal",k1e="Somalia",I1e="Surinam",T1e="Sao Tome and Principe",A1e="El Salvador",z1e="Syrien",R1e="Swasiland",N1e="Turks- und Caicosinseln",O1e="Tschad",P1e="Togo",F1e="Thailand",V1e="Tajikistan",B1e="Tokelau",H1e="Turkmenistan",j1e="Tunesien",U1e="Tonga",G1e="T\xFCrkei",W1e="Trinidad und Tobago",$1e="Tuvalu",Y1e="Taiwan",q1e="Tansania",K1e="Ukraine",Z1e="Uganda",Q1e="USA",X1e="Uruguay",J1e="Usbekistan",ere="Vatikanstadt",tre="Saint Vincent und Grenadinen",ire="Venezuela",nre="Vietnam",rre="Vanuatu",are="Wallis und Futuna",ore="Samoa",sre="Jemen",cre="Mayotte",lre="S\xFCdafrika",dre="Sambia",ure="Simbabwe",mre="Andere",fre="Schaltgetriebe",hre="Halbautomatik",pre="Automatik",gre="enthalten/Miete",_re="inklusive",vre="Ohne Batterie",bre="Tageszulassung",yre="Oldtimer",Cre="Vorf\xFChrfahrzeug",Mre="Jahreswagen",xre="Neufahrzeug",wre="Gebrauchtfahrzeug",Dre="2/3",Sre="4/5",Ere="6/7",Lre="Benzin",kre="Diesel",Ire="Autogas (LPG)",Tre="Erdgas (CNG)",Are="Elektro",zre="Hybrid (Benzin/Elektro)",Rre="Wasserstoff",Nre="Ethanol (FFV, E85 etc.)",Ore="Hybrid (Diesel / Elektro)",Pre="Andere",Fre="Schwarz",Vre="Grau",Bre="Braun",Hre="Rot",jre="Gr\xFCn",Ure="Blau",Gre="Beige",Wre="Violett",$re="Gold",Yre="Wei\xDF",qre="Orange",Kre="Silber",Zre="Gelb",Qre="Cabrio/Roadster",Xre="Kombi",Jre="SUV/Gel\xE4ndewagen/Pickup",eae="Kleinwagen",tae="Sportwagen/Coup\xE9",iae="Limousine",nae="Andere",rae="4x2",aae="4x4",oae="Van/Kleinbus",sae="6x2",cae="6x4",lae="6x6",dae="8x4",uae="8x6",mae="8x8",fae="Abarth",hae="Aixam",pae="ALPINA",gae="Acura",_ae="Audi",vae="Austin",bae="Artega",yae="BAIC",Cae="Bentley",Mae="BMW",xae="Borgward",wae="Brilliance",Dae="Bugatti",Sae="Buick",Eae="Cadillac",Lae="Casalini",kae="Caterham",Iae="Chatenet",Tae="Chevrolet",Aae="Chrysler",zae="Citro\xEBn",Rae="Cobra",Nae="Corvette",Oae="Cupra",Pae="Dacia",Fae="Daewoo",Vae="Daihatsu",Bae="DeTomaso",Hae="DFSK",jae="Dodge",Uae="Donkervoort",Gae="DS Automobiles",Wae="Ferrari",$ae="Fiat",Yae="Fisker",qae="Ford",Kae="Gemballa",Zae="GMC",Qae="Grecav",Xae="Hamann",Jae="Holden",eoe="Honda",toe="Hummer",ioe="Hyundai",noe="Infiniti",roe="Isuzu",aoe="Iveco",ooe="Jaguar",soe="Jeep",coe="Kia",loe="Koenigsegg",doe="KTM",uoe="Lada",moe="Lamborghini",foe="Lancia",hoe="Landwind",poe="Lexus",goe="Ligier",_oe="Lincoln",voe="Lotus",boe="Mahindra",yoe="Maserati",Coe="Maybach",Moe="Mazda",xoe="McLaren",woe="Microcar",Doe="MINI",Soe="Mitsubishi",Eoe="Morgan",Loe="Nissan",koe="NSU",Ioe="Oldsmobile",Toe="Opel",Aoe="Pagani",zoe="Peugeot",Roe="Piaggio",Noe="Plymouth",Ooe="Polestar",Poe="Pontiac",Foe="Porsche",Voe="Proton",Boe="Renault",Hoe="Rover",joe="Ruf",Uoe="Saab",Goe="Santana",Woe="Seat",$oe="Skoda",Yoe="Smart",qoe="speedART",Koe="Spyker",Zoe="Ssangyong",Qoe="Subaru",Xoe="Suzuki",Joe="Talbot",e2e="Tata",t2e="TECHART",i2e="Tesla",n2e="Toyota",r2e="Trabant",a2e="Triumph",o2e="TVR",s2e="Volvo",c2e="Volkswagen",l2e="Wartburg",d2e="Westfield",u2e="Wiesmann",m2e="Andere",f2e="ABS",h2e="Luftfederung",p2e="Alarmanlage",g2e="Leichtmetallfelgen",_2e="Allwetterreifen",v2e="Ambiente-Beleuchtung",b2e="Android Auto",y2e="Armlehne",C2e="Regensensor",M2e="Standheizung",x2e="Biodiesel geeignet",w2e="Totwinkel-Assistent",D2e="Bluetooth",S2e="Gep\xE4ckraumabtrennung",E2e="Apple CarPlay",L2e="Multi-CD-Wechsler",k2e="CD-Spieler",I2e="Zentralverriegelung",T2e="Notbremsassistent",A2e="Volldigitales Kombiinstrument",z2e="Innenspiegel autom. abblendend",R2e="Behindertengerecht",N2e="Abstandswarner",O2e="E10-geeignet",P2e="Elektr. Sitzeinstellung",F2e="Elektr. Sitzeinstellung, hinten",V2e="Elektr. Seitenspiegel",B2e="Sitzheizung hinten",H2e="Sitzheizung",j2e="Elektr. Heckklappe",U2e="Elektr. Fensterheber",G2e="Notrufsystem",W2e="ESP",$2e="F\xFCr Gewerbe, Ex-/Import",Y2e="M\xFCdigkeitswarner",q2e="Umklappbarer Beifahrersitz",K2e="Allradantrieb",Z2e="Nebelscheinwerfer",Q2e="Scheckheftgepflegt",X2e="Blendfreies Fernlicht",J2e="Freisprecheinrichtung",ese="Scheinwerferreinigung",tse="Head-Up Display",ise="Beheizbares Lenkrad",nse="Beheizbare Frontscheibe",rse="Fernlichtassistent",ase="Berganfahrassistent",ose="HU neu",sse="Plug-in-Hybrid",cse="Elektr. Wegfahrsperre",lse="Musikstreaming integriert",dse="Isofix",use="Schl\xFCssellose Zentralverriegelung",mse="Spurhalteassistent",fse="Lederlenkrad",hse="Lichtsensor",pse="Lordosenst\xFCtze",gse="Massagesitze",_se="Metallic",vse="Multifunktionslenkrad",bse="Navigationssystem",yse="Nachtsicht-Assistent",Cse="Nichtraucher-Fahrzeug",Mse="Bordcomputer",xse="Schaltwippen",wse="Panorama-Dach",Dse="Partikelfilter",Sse="Isofix Beifahrersitz",Ese="Sportfahrwerk",Lse="Servolenkung",kse="Range Extender",Ise="Dachreling",Tse="Skisack",Ase="Raucherpaket",zse="Soundsystem",Rse="Geschwindigkeitsbegrenzer",Nse="Sportpaket",Ose="Sportsitze",Pse="Start/Stopp-Automatik",Fse="Stahlfelgen",Vse="Sommerreifen",Bse="Schiebedach",Hse="Taxi",jse="Reifendruckkontrolle",Use="Touchscreen",Gse="Traktionskontrolle",Wse="Verkehrszeichenerkennung",$se="USB",Yse="Pflanzen\xF6l geeignet",qse="Sitzbel\xFCftung",Kse="Sprachsteuerung",Zse="Garantie",Qse="WLAN / Wifi Hotspot",Xse="Winterpaket",Jse="Winterreifen",ece="Induktionsladen f\xFCr Smartphones",tce="Andere",ice="Schiebet\xFCr rechts",nce="Schiebet\xFCr links",rce="Schiebet\xFCr beidseitig",ace="Vollleder",oce="Teilleder",sce="Stoff",cce="Velours",lce="Alcantara",dce="Andere",uce="Keine Klimaanlage oder -automatik",mce="Klimaanlage",fce="Klimaautomatik",hce="2-Zonen-Klimaautomatik",pce="3-Zonen-Klimaautomatik",gce="4-Zonen-Klimaautomatik",_ce="Reserverad",vce="Notrad",bce="Pannenkit",yce="Anh\xE4ngerkupplung schwenkbar",Cce="Anh\xE4ngerkupplung abnehmbar",Mce="Anh\xE4ngerkupplung fest",xce="Vorne",wce="Hinten",Dce="Kamera",Sce="Selbstlenkende Systeme",Ece="360\xB0-Kamera",Lce="Euro1",kce="Euro2",Ice="Euro3",Tce="Euro4",Ace="Euro5",zce="Euro6",Rce="Euro6c",Nce="Euro6d-TEMP",Oce="Euro6d",Pce="Tuner/Radio",Fce="Radio DAB",Vce="4 (Gr\xFCn)",Bce="3 (Gelb)",Hce="1 (Keine)",jce="Tempomat",Uce="Abstandstempomat",Gce="2 (Rot)",Wce="Aston Martin Timeless",$ce="BMW Premium Selection",Yce="BMW Motorrad Premium Selection",qce="DS Certified",Kce="DS Zertifizierte Gebrauchtwagen",Zce="Alfa Romeo & Jeep SELECTED4U",Qce="Harley-Davidson Originals",Xce="Hyundai Promise",Jce="Land Rover APPROVED",ele="Mercedes-Benz Junge Sterne",tle="Mercedes-Benz Mill\xE9toile",ile="Mercedes-Benz Junge Sterne Transporter",nle="MINI NEXT",rle="Volkswagen TradePort",ale="Xenonscheinwerfer",ole="Bi-Xenon Scheinwerfer",sle="LED-Scheinwerfer",cle="Laserlicht",lle="Fahrer-Airbag",dle="Front-Airbags",ule="Front- und Seiten-Airbags",mle="Front-, Seiten- und weitere Airbags",fle="Kurvenlicht",hle="Adaptives Kurvenlicht",ple="MDX",gle="NSX",_le="RL",vle="RSX",ble="TL",yle="TSX",Cle="Accent",Mle="Atos",xle="Azera",wle="Coupe",Dle="Elantra",Sle="Excel",Ele="Galloper",Lle="Genesis",kle="Getz",Ile="Grandeur",Tle="H350",Ale="IONIQ",zle="Kona",Rle="Lantra",Nle="Matrix",Ole="Nexo",Ple="Pony",Fle="Santamo",Vle="Sonata",Ble="Terracan",Hle="Trajet",jle="Tucson",Ule="Veloster",Gle="Veracruz",Wle="i10",$le="i20",Yle="i30",qle="i40",Kle="i50",Zle="ix20",Qle="ix35",Xle="ix55",Jle="BX",e3e="Berlingo",t3e="C1",i3e="C2",n3e="C3",r3e="C4",a3e="C5",o3e="C6",s3e="C8",c3e="DS3",l3e="DS4",d3e="DS5",u3e="Evasion",m3e="GSA",f3e="Jumper",h3e="Jumpy",p3e="Nemo",g3e="SAXO",_3e="SpaceTourer",v3e="Visa",b3e="XM",y3e="Xantia",C3e="Xsara",M3e="ZX",x3e="Almera",w3e="Altima",D3e="Bluebird",S3e="Cabstar",E3e="Armada",L3e="Cherry",k3e="Cargo",I3e="Cube",T3e="Frontier",A3e="Evalia",z3e="Interstar",R3e="Juke",N3e="Kubistar",O3e="Laurel",P3e="Micra",F3e="Maxima",V3e="Murano",B3e="Leaf",H3e="NV250",j3e="NV300",U3e="NV400",G3e="NV200",W3e="Note",$3e="Pathfinder",Y3e="Patrol",q3e="Navara",K3e="Pixo",Z3e="PickUp",Q3e="Prairie",X3e="Primastar",J3e="Primera",e0e="Pulsar",t0e="Quest",i0e="Qashqai",n0e="Sentra",r0e="Serena",a0e="Silvia",o0e="Skyline",s0e="Tiida",c0e="Terrano",l0e="Titan",d0e="Trade",u0e="Urvan",m0e="Sunny",f0e="Vanette",h0e="Dokker",p0e="Logan",g0e="Duster",_0e="Lodgy",v0e="Sandero",b0e="M-Modelle",y0e="X-Reihe",C0e="Z-Reihe",M0e="M135",x0e="M140i",w0e="M2",D0e="M240i",S0e="M3",E0e="M235",L0e="M4",k0e="M550",I0e="M340i",T0e="M5",A0e="M6",z0e="M760",R0e="M8",N0e="M850",O0e="X1",P0e="X2",F0e="X3",V0e="X4",B0e="X5",H0e="X6",j0e="X7",U0e="Z3",G0e="Z1",W0e="Z4",$0e="i3",Y0e="Z8",q0e="i8",K0e="H2",Z0e="H1",Q0e="H3",X0e="Autostar",J0e="ABI",e4e="Avento",t4e="Airstream",i4e="Adria",n4e="Ahorn",r4e="Arca",a4e="Alpha",o4e="Beyerland",s4e="Bravia",c4e="Bela",l4e="Bimobil",d4e="Bawemo",u4e="Carado",m4e="B\xFCrstner",f4e="Burow",h4e="Benimar",p4e="Caravelair",g4e="Carthago",_4e="Chateau",v4e="Caro",b4e="Challenger",y4e="Chausson",C4e="Dehler",M4e="Cristall",x4e="Crosscamp",w4e="Concorde",D4e="Clever",S4e="Coachmen",E4e="Delta",L4e="Dethleffs",k4e="DOMO",I4e="Dopfer",T4e="Eura Mobil",A4e="Etrusco",z4e="Esterel",R4e="Eifelland",N4e="Elnagh",O4e="EVM",P4e="Extreme",F4e="Fendt",V4e="Fischer",B4e="Fleetwood",H4e="GiottiLine",j4e="Forster",U4e="Frankia",G4e="Ford / Reimo",W4e="Four-Wheel Camper",$4e="Globecar",Y4e="Gl\xFCcksmobil",q4e="Hobby",K4e="Granduca",Z4e="Heku",Q4e="HRZ",X4e="Hehn",J4e="Home-Car",e6e="Ilusion",t6e="Kabe",i6e="Itineo",n6e="Knaus",r6e="Kip",a6e="Karmann",o6e="Laika",s6e="Joint",c6e="LMC",l6e="McLouis",d6e="Moncayo",u6e="Monaco",m6e="Malibu",f6e="Mirage",h6e="MAN",p6e="Miller",g6e="Mooveo",_6e="Mobilvetta",v6e="Morelo",b6e="Niewiad\xF3w",y6e="NobelART",C6e="Nordstar",M6e="Orangecamp",x6e="Ormocar",w6e="Pilote",D6e="Phoenix",S6e="Raclet",E6e="Rapido",L6e="P\xF6ssl",k6e="Reimo",I6e="Riva",T6e="Rimor",A6e="Riviera",z6e="RMB",R6e="Roadcar",N6e="Roadtrek",O6e="TSL Landsberg/ Rockwood",P6e="SEA",F6e="Selbstbau",V6e="Seitz",B6e="Sterckeman",H6e="Sloop",j6e="Sprite",U6e="Tabbert",G6e="Six-Pac",W6e="TEC",$6e="Sunlight",Y6e="T@b",q6e="Sun Living",K6e="Tischer",Z6e="Tourne",Q6e="Trigano",X6e="VANTourer",J6e="Vario",ede="XGO",tde="Winnebago",ide="Weippert",nde="Westfalia",rde="Weinsberg",ade="Wingamm",ode="Wilk",sde="Woelcke",cde="Festbett",lde="Biodieselumr\xFCstung",dde="Rundsitzgruppe",ude="Markise",mde="Etagenbett",fde="Heckgarage",hde="Mittelsitzgruppe",pde="Hagelschaden",gde="Vermietung m\xF6glich",_de="Standklimaanlage",vde="Solaranlage",bde="Seitensitzgruppe",yde="WC",Cde="Separate Dusche",Mde="Wohnkabine",xde="Wohnwagen",wde="Alkoven",Dde="Teilintegrierter",Sde="Integrierter",Ede="Kastenwagen",Lde="Mobilheim",kde="Wohnmobil andere",Ide="Wohnmobil Pickup",Tde="Andere",Ade="EBS",zde="Scheibenbremse",Rde="Annaburger",Nde="Ackermann",Ode="Brenderup",Pde="Benalu",Fde="Blomenr\xF6hr",Vde="ATM",Bde="Berger",Hde="Auw\xE4rter",jde="BNG",Ude="B\xF6ckmann",Gde="Bunge",Wde="Broshuis",$de="Carnehl",Yde="Chereau",qde="Dinkel",Kde="Doll",Zde="Feber",Qde="Feldbinder",Xde="Fliegl",Jde="Faymonville",e8e="Floor",t8e="Fr\xFChauf",i8e="Hendricks",n8e="Groenewegen",r8e="Goldhofer",a8e="Hoffmann",o8e="Heinemann",s8e="Humbaur",c8e="H\xFCffermann",l8e="Huttner",d8e="K\xE4ssbohrer",u8e="HRD",m8e="Kempf",f8e="Kaiser",h8e="K\xF6gel",p8e="Knapen",g8e="Kramer",_8e="Krone",v8e="Kotschenreuther",b8e="Krukenmeier",y8e="Kraker",C8e="Kroeger",M8e="Lag",x8e="Langendorf",w8e="Lamberet",D8e="Lecinena",S8e="LeciTrailer",E8e="Legras",L8e="Magyar",k8e="MEGA",I8e="L\xFCck",T8e="Menci",A8e="Merker",z8e="LinTrailers",R8e="Meusburger",N8e="Meiller",O8e="Meierling",P8e="Merceron",F8e="Montenegro",V8e="M\xF6slein",B8e="Nooteboom",H8e="PAVIC",j8e="Pacton",U8e="Orten",G8e="Pezzaioli",W8e="Panav",$8e="Orthaus",Y8e="Reisch",q8e="Renders",K8e="ROHR",Z8e="Schwarzm\xFCller",Q8e="Schmidt",X8e="SEKA",J8e="Schrader",e5e="Scheuerle",t5e="Schmitz Cargobull",i5e="Samro",n5e="Sommer",r5e="Spier",a5e="Stas",o5e="Spitzer",s5e="Talson",c5e="ZAS\u0141AW",l5e="Van Eck",d5e="Wackenhut",u5e="Vanhool",m5e="Wagner",f5e="Trailor",h5e="Wielton",p5e="Wecon",g5e="Langmaterialtransporter",_5e="Getr\xE4nke",v5e="Tiefk\xFChl",b5e="Tieflader",y5e="Viehtransporter",C5e="Autotransporter",M5e="Koffer",x5e="Lebensmitteltank",w5e="Fahrgestell",D5e="Plattform",S5e="K\xFChlkoffer",E5e="Pritsche",L5e="Wechselfahrgestell",k5e="Pritsche + Plane",I5e="Silo",T5e="Tankaufbau",A5e="Holztransporter",z5e="Kipper",R5e="Verkaufsaufbau",N5e="Autokran",O5e="Walkingfloor",P5e="Andere Auflieger",F5e="Arteon",V5e="Amarok",B5e="Beetle",H5e="Bora",j5e="Buggy",U5e="Caddy",G5e="Corrado",W5e="Crafter",$5e="Fox",Y5e="Eos",q5e="Golf",K5e="Iltis",Z5e="Jetta",Q5e="Lupo",X5e="Passat",J5e="Polo",eue="Santana",tue="Routan",iue="Sharan",nue="Scirocco",rue="Phaeton",aue="T2",oue="T1",sue="T3 Kombi",cue="T4 Kombi",lue="T5 Kombi",due="Tiguan",uue="Taro",mue="Touareg",fue="Vento",hue="XL1",pue="T3 andere",gue="Touran",_ue="T4 andere",vue="T6 andere",bue="T5 andere",yue="up!",Cue="T5",Mue="Passat",xue="T4",wue="T3",Due="T6",Sue="Ateca",Eue="Arona",Lue="Ibiza",kue="Formentor",Iue={114:"114",116:"116",118:"118",120:"120",123:"123",125:"125",130:"130",135:"135",181:"181",216:"216",218:"218",220:"220",225:"225",228:"228",230:"230",315:"315",316:"316",318:"318",320:"320",323:"323",324:"324",325:"325",328:"328",330:"330",335:"335",340:"340",418:"418",420:"420",425:"425",428:"428",430:"430",435:"435",440:"440",518:"518",520:"520",523:"523",524:"524",525:"525",528:"528",530:"530",535:"535",540:"540",545:"545",550:"550",628:"628",630:"630",633:"633",635:"635",640:"640",645:"645",650:"650",725:"725",728:"728",730:"730",732:"732",735:"735",740:"740",745:"745",750:"750",760:"760",840:"840",850:"850",2002:"2002","range-from-price-consumerPriceGross":"Preis ab","range-till-price-consumerPriceGross":"Preis bis","range-from-mileage":"Km ab","range-till-mileage":"Km bis",mobileAdId:pZ,mobileSellerId:gZ,creationDate:_Z,modificationDate:vZ,vehicleClass:bZ,category:yZ,make:CZ,model:MZ,vehicleModel:xZ,price:wZ,consumerPriceGross:DZ,consumerPriceNet:SZ,dealerPriceGross:EZ,dealerPriceNet:LZ,modelDescription:kZ,condition:IZ,usageType:TZ,firstRegistration:AZ,mileage:zZ,vin:RZ,internalNumber:NZ,cubicCapacity:OZ,power:PZ,gearbox:FZ,fuel:VZ,axles:BZ,fourWheelDrive:HZ,wheelFormula:jZ,hybridPlugin:UZ,e10Enabled:GZ,catalyticConverter:WZ,particulateFilterDiesel:$Z,biodieselConversion:YZ,biodieselSuitable:qZ,vegetableoilfuelConversion:KZ,vegetableoilfuelSuitable:ZZ,performanceHandlingSystem:QZ,startStopSystem:XZ,envkvCompliant:JZ,energyEffiencyClass:eQ,co2:tQ,consumptionInner:iQ,consumptionOuter:nQ,consumptionCombined:rQ,consumptionUnit:aQ,envkvPetrolType:oQ,consumptionPowerCombined:sQ,emissionSticker:cQ,emissionClass:lQ,exteriorColor:dQ,manufacturerColorName:uQ,metallic:mQ,doors:fQ,seats:hQ,interiorColor:pQ,interiorType:gQ,generalInspection:_Q,exhaustInspection:vQ,newHuAu:bQ,constructionYear:yQ,constructionDate:CQ,numberOfPreviousOwners:MQ,fullServiceHistory:xQ,nonSmokerVehicle:wQ,countryVersion:DQ,damageUnrepaired:SQ,accidentDamage:EQ,roadworthy:LQ,taxi:kQ,abs:IQ,airbag:TQ,airSuspension:AQ,alloyWheels:zQ,automaticRainSensor:RQ,auxiliaryHeating:NQ,awning:OQ,bed:PQ,bluetooth:FQ,box:VQ,bss:BQ,bunkBed:HQ,cabin:jQ,cdMultichanger:UQ,cdPlayer:GQ,centralLocking:WQ,centralLubricantApplication:$Q,circularSeatingArrangement:YQ,climatisation:qQ,coldstore:KQ,compressor:ZQ,crane:QQ,damageByHail:XQ,dimension:JQ,disabledAccessible:eX,disabledConversion:tX,discBrake:iX,divider:nX,driversSleepingCompartment:rX,drivingCab:aX,drivingMode:oX,ebs:sX,electricAdjustableSeats:cX,electricExteriorMirrors:lX,electricHeatedSeats:dX,electricStarter:uX,electricWindows:mX,esp:fX,europalletStorageSpaces:hX,frontFogLights:pX,frontHydraulics:gX,frontJack:_X,fullFairing:vX,handsFreePhoneSystem:bX,headUpDisplay:yX,hydraulicInstallation:CX,immobilizer:MX,installationHeight:xX,isofix:wX,kickstarter:DX,kitchen:SX,licensedWeight:EX,liftingCapacity:LX,liftingHeight:kX,lightSensor:IX,loadCapacity:TX,loadingSpace:AX,middleSeatingArrangement:zX,multifunctionalWheel:RX,municipal:NX,navigationSystem:OX,numberOfBunks:PX,onBoardComputer:FX,operatingHours:VX,panoramicGlassRoof:BX,parkingAssistants:HX,speedControl:jX,radio:UX,daytimeRunningLamps:GX,slidingDoorType:WX,headlightType:$X,bendingLightsType:YX,breakdownService:qX,battery:KX,trailerCouplingType:ZX,trimLine:QX,modelRange:XX,firstModelsProductionDate:JX,batteryCapacity:eJ,powerAssistedSteering:tJ,protectionRoof:iJ,quickChangeAttachment:nJ,rearGarage:rJ,retarder:aJ,roadLicence:oJ,rollOverBar:sJ,roofRails:cJ,secodaryAirConditioning:lJ,sepShower:dJ,shippingVolume:uJ,sideSeatingArrangement:mJ,skiBag:fJ,sleepSeats:hJ,solarEnergySystem:pJ,sportPackage:gJ,sportSeats:_J,sunroof:vJ,superSingleWheels:bJ,tailLift:yJ,tractionControlSystem:CJ,tv:MJ,ureaTankAdBlue:xJ,wc:wJ,windshield:DJ,alarmSystem:SJ,armRest:EJ,heatedWindshield:LJ,heatedSteeringWheel:kJ,hillStartAssist:IJ,electricTailgate:TJ,leatherSteeringWheel:AJ,lumbarSupport:zJ,massageSeats:RJ,fatigueWarningSystem:NJ,nightVisionAssist:OJ,emergencyCallSystem:PJ,tirePressureMonitoring:FJ,paddleShifters:VJ,electricHeatedRearSeats:BJ,soundSystem:HJ,voiceControl:jJ,touchscreen:UJ,usb:GJ,trafficSignRecognition:WJ,highBeamAssist:$J,summerTires:YJ,winterTires:qJ,allSeasonTires:KJ,steelWheels:ZJ,glareFreeHighBeam:QJ,headlightWasherSystem:XJ,winterPackage:JJ,smokersPackage:eee,distanceWarningSystem:tee,electricBackseatAdjustment:iee,ambientLightning:nee,wifiHotspot:ree,carplay:aee,androidAuto:oee,digitalCockpit:see,passengerSeatIsofixPoint:cee,wirelessCharging:lee,integratedMusicStreaming:dee,dimmingInteriorMirror:uee,foldFlatPassengerSeat:mee,cargoBarrier:fee,speedLimiter:hee,rangeExtender:pee,collisionAvoidance:gee,keylessEntry:_ee,ventilatedSeats:vee,laneDepartureWarning:bee,blindSpotMonitor:yee,description:Cee,images:Mee,videoUrl:xee,highlights:wee,kba:Dee,schwackeCode:See,deliveryDate:Eee,deliveryPeriod:Lee,usedCarSeal:kee,dealerHomepage:Iee,closedDomain:Tee,export:"Export",warranty:Aee,rentingPossible:zee,financing:Ree,renewalDate:Nee,adQuality:Oee,reserved:Pee,uploadSticky:Fee,bookableFeatures:Vee,createdAt:Bee,updatedAt:Hee,AgriculturalVehicle:jee,Bus:Uee,Car:Gee,ConstructionMachine:Wee,ForkliftTruck:$ee,Motorbike:Yee,Motorhome:qee,SemiTrailer:Kee,SemiTrailerTruck:Zee,Trailer:Qee,TruckOver7500:Xee,VanUpTo7500:Jee,AD:ete,AE:tte,AF:ite,AG:nte,AI:rte,AL:ate,AM:ote,AN:ste,AO:cte,AP:lte,AR:dte,AS:ute,AT:mte,AU:fte,AZ:hte,BA:pte,BB:gte,BD:_te,BE:vte,BF:bte,BG:yte,BH:Cte,BI:Mte,BJ:xte,BM:wte,BN:Dte,BO:Ste,BR:Ete,BS:Lte,BT:kte,BW:Ite,BY:Tte,BZ:Ate,CA:zte,CC:Rte,CD:Nte,CF:Ote,CG:Pte,CH:Fte,CI:Vte,CK:Bte,CL:Hte,CM:jte,CN:Ute,CO:Gte,CR:Wte,CS:$te,CU:Yte,CV:qte,CX:Kte,CY:Zte,CZ:Qte,DE:Xte,DJ:Jte,DK:eie,DM:tie,DO:iie,DZ:nie,EC:rie,EE:aie,EG:oie,EH:sie,ER:cie,ES:lie,ET:die,FI:uie,FJ:mie,FK:fie,FM:hie,FO:pie,FR:gie,GA:_ie,GB:vie,GD:bie,GE:yie,GF:Cie,GH:Mie,GI:xie,GL:wie,GM:Die,GN:Sie,GP:Eie,GQ:Lie,GR:kie,GT:Iie,GU:Tie,GW:Aie,GY:zie,HK:Rie,HN:Nie,HR:Oie,HT:Pie,HU:Fie,ID:Vie,IE:Bie,IL:Hie,IN:jie,IQ:Uie,IR:Gie,IS:Wie,IT:$ie,JM:Yie,JO:qie,JP:Kie,KE:Zie,KG:Qie,KH:Xie,KI:Jie,KM:ene,KN:tne,KP:ine,KR:nne,KW:rne,KY:ane,KZ:one,LA:sne,LB:cne,LC:lne,LI:dne,LK:une,LR:mne,LS:fne,LT:hne,LU:pne,LV:gne,LY:_ne,MA:vne,MC:bne,MD:yne,ME:Cne,MG:Mne,MH:xne,MK:wne,ML:Dne,MM:Sne,MN:Ene,MO:Lne,MQ:kne,MR:Ine,MS:Tne,MT:Ane,MU:zne,MV:Rne,MW:Nne,MX:One,MY:Pne,MZ:Fne,NA:Vne,NC:Bne,NE:Hne,NF:jne,NG:Une,NI:Gne,NL:Wne,NO:$ne,NP:Yne,NR:qne,NU:Kne,NZ:Zne,OM:Qne,PA:Xne,PE:Jne,PF:e1e,PG:t1e,PH:i1e,PK:n1e,PL:r1e,PM:a1e,PR:o1e,PS:s1e,PT:c1e,PW:l1e,PY:d1e,QA:u1e,RE:m1e,RO:f1e,RS:h1e,RU:p1e,RW:g1e,SA:_1e,SB:v1e,SC:b1e,SD:y1e,SE:C1e,SG:M1e,SH:x1e,SI:w1e,SK:D1e,SL:S1e,SM:E1e,SN:L1e,SO:k1e,SR:I1e,ST:T1e,SV:A1e,SY:z1e,SZ:R1e,TC:N1e,TD:O1e,TG:P1e,TH:F1e,TJ:V1e,TK:B1e,TM:H1e,TN:j1e,TO:U1e,TR:G1e,TT:W1e,TV:$1e,TW:Y1e,TZ:q1e,UA:K1e,UG:Z1e,US:Q1e,UY:X1e,UZ:J1e,VA:ere,VC:tre,VE:ire,VN:nre,VU:rre,WF:are,WS:ore,YE:sre,YT:cre,ZA:lre,ZM:dre,ZW:ure,ZZ:mre,MANUAL_GEAR:fre,SEMIAUTOMATIC_GEAR:hre,AUTOMATIC_GEAR:pre,BATTERY_RENTED:gre,BATTERY_PURCHASED:_re,BATTERY_MISSING:vre,PRE_REGISTRATION:bre,CLASSIC:yre,DEMONSTRATION:Cre,EMPLOYEES_CAR:Mre,NEW:xre,USED:wre,TWO_OR_THREE:Dre,FOUR_OR_FIVE:Sre,SIX_OR_SEVEN:Ere,PETROL:Lre,DIESEL:kre,LPG:Ire,CNG:Tre,ELECTRICITY:Are,HYBRID:zre,HYDROGENIUM:Rre,ETHANOL:Nre,HYBRID_DIESEL:Ore,OTHER:Pre,BLACK:Fre,GREY:Vre,BROWN:Bre,RED:Hre,GREEN:jre,BLUE:Ure,BEIGE:Gre,PURPLE:Wre,GOLD:$re,WHITE:Yre,ORANGE:qre,SILVER:Kre,YELLOW:Zre,Cabrio:Qre,EstateCar:Xre,OffRoad:Jre,SmallCar:eae,SportsCar:tae,Limousine:iae,OtherCar:nae,WHEEL_DRIVE_4x2:rae,WHEEL_DRIVE_4x4:aae,Van:oae,WHEEL_DRIVE_6x2:sae,WHEEL_DRIVE_6x4:cae,WHEEL_DRIVE_6x6:lae,WHEEL_DRIVE_8x4:dae,WHEEL_DRIVE_8x6:uae,WHEEL_DRIVE_8x8:mae,ABARTH:fae,AIXAM:hae,"ALFA ROMEO":"Alfa Romeo",ALPINA:pae,ACURA:gae,"ASIA MOTORS":"Asia Motors","ASTON MARTIN":"Aston Martin",AUDI:_ae,AUSTIN:vae,ARTEGA:bae,"AUSTIN HEALEY":"Austin Healey",BAIC:yae,BENTLEY:Cae,BMW:Mae,BORGWARD:xae,BRILLIANCE:wae,BUGATTI:Dae,BUICK:Sae,CADILLAC:Eae,CASALINI:Lae,CATERHAM:kae,CHATENET:Iae,CHEVROLET:Tae,CHRYSLER:Aae,CITROEN:zae,COBRA:Rae,CORVETTE:Nae,CUPRA:Oae,DACIA:Pae,DAEWOO:Fae,DAIHATSU:Vae,DETOMASO:Bae,DFSK:Hae,DODGE:jae,DONKERVOORT:Uae,DS:Gae,FERRARI:Wae,FIAT:$ae,FISKER:Yae,FORD:qae,"GAC GONOW":"GAC Gonow",GEMBALLA:Kae,GMC:Zae,GRECAV:Qae,HAMANN:Xae,HOLDEN:Jae,HONDA:eoe,HUMMER:toe,HYUNDAI:ioe,INFINITI:noe,ISUZU:roe,IVECO:aoe,JAGUAR:ooe,JEEP:soe,KIA:coe,KOENIGSEGG:loe,KTM:doe,LADA:uoe,LAMBORGHINI:moe,LANCIA:foe,"LAND ROVER":"Land Rover",LANDWIND:hoe,LEXUS:poe,LIGIER:goe,LINCOLN:_oe,LOTUS:voe,MAHINDRA:boe,MASERATI:yoe,MAYBACH:Coe,MAZDA:Moe,MCLAREN:xoe,"MERCEDES-BENZ":"Mercedes-Benz",MICROCAR:woe,MINI:Doe,MITSUBISHI:Soe,MORGAN:Eoe,NISSAN:Loe,NSU:koe,OLDSMOBILE:Ioe,OPEL:Toe,PAGANI:Aoe,PEUGEOT:zoe,PIAGGIO:Roe,PLYMOUTH:Noe,POLESTAR:Ooe,PONTIAC:Poe,PORSCHE:Foe,PROTON:Voe,RENAULT:Boe,"ROLLS ROYCE":"Rolls-Royce",ROVER:Hoe,RUF:joe,SAAB:Uoe,SANTANA:Goe,SEAT:Woe,SKODA:$oe,SMART:Yoe,SPEEDART:qoe,SPYKER:Koe,SSANGYONG:Zoe,SUBARU:Qoe,SUZUKI:Xoe,TALBOT:Joe,TATA:e2e,TECHART:t2e,TESLA:i2e,TOYOTA:n2e,TRABANT:r2e,TRIUMPH:a2e,TVR:o2e,VOLVO:s2e,VW:c2e,WARTBURG:l2e,WESTFIELD:d2e,WIESMANN:u2e,ANDERE:m2e,ABS:f2e,AIR_SUSPENSION:h2e,ALARM_SYSTEM:p2e,ALLOY_WHEELS:g2e,ALL_SEASON_TIRES:_2e,AMBIENT_LIGHTING:v2e,ANDROID_AUTO:b2e,ARM_REST:y2e,AUTOMATIC_RAIN_SENSOR:C2e,AUXILIARY_HEATING:M2e,BIODIESEL_SUITABLE:x2e,BLIND_SPOT_MONITOR:w2e,BLUETOOTH:D2e,CARGO_BARRIER:S2e,CARPLAY:E2e,CD_MULTICHANGER:L2e,CD_PLAYER:k2e,CENTRAL_LOCKING:I2e,COLLISION_AVOIDANCE:T2e,DIGITAL_COCKPIT:A2e,DIMMING_INTERIOR_MIRROR:z2e,DISABLED_ACCESSIBLE:R2e,DISTANCE_WARNING_SYSTEM:N2e,E10_ENABLED:O2e,ELECTRIC_ADJUSTABLE_SEATS:P2e,ELECTRIC_BACKSEAT_ADJUSTMENT:F2e,ELECTRIC_EXTERIOR_MIRRORS:V2e,ELECTRIC_HEATED_REAR_SEATS:B2e,ELECTRIC_HEATED_SEATS:H2e,ELECTRIC_TAILGATE:j2e,ELECTRIC_WINDOWS:U2e,EMERGENCY_CALL_SYSTEM:G2e,ESP:W2e,EXPORT:$2e,FATIGUE_WARNING_SYSTEM:Y2e,FOLD_FLAT_PASSENGER_SEAT:q2e,FOUR_WHEEL_DRIVE:K2e,FRONT_FOG_LIGHTS:Z2e,FULL_SERVICE_HISTORY:Q2e,GLARE_FREE_HIGH_BEAM:X2e,HANDS_FREE_PHONE_SYSTEM:J2e,HEADLIGHT_WASHER_SYSTEM:ese,HEAD_UP_DISPLAY:tse,HEATED_STEERING_WHEEL:ise,HEATED_WINDSHIELD:nse,HIGH_BEAM_ASSIST:rse,HILL_START_ASSIST:ase,HU_AU_NEU:ose,HYBRID_PLUGIN:sse,IMMOBILIZER:cse,INTEGRATED_MUSIC_STREAMING:lse,ISOFIX:dse,KEYLESS_ENTRY:use,LANE_DEPARTURE_WARNING:mse,LEATHER_STEERING_WHEEL:fse,LIGHT_SENSOR:hse,LUMBAR_SUPPORT:pse,MASSAGE_SEATS:gse,METALLIC:_se,MULTIFUNCTIONAL_WHEEL:vse,NAVIGATION_SYSTEM:bse,NIGHT_VISION_ASSIST:yse,NONSMOKER_VEHICLE:Cse,ON_BOARD_COMPUTER:Mse,PADDLE_SHIFTERS:xse,PANORAMIC_GLASS_ROOF:wse,PARTICULATE_FILTER_DIESEL:Dse,PASSENGER_SEAT_ISOFIX_POINT:Sse,PERFORMANCE_HANDLING_SYSTEM:Ese,POWER_ASSISTED_STEERING:Lse,RANGE_EXTENDER:kse,ROOF_RAILS:Ise,SKI_BAG:Tse,SMOKERS_PACKAGE:Ase,SOUND_SYSTEM:zse,SPEED_LIMITER:Rse,SPORT_PACKAGE:Nse,SPORT_SEATS:Ose,START_STOP_SYSTEM:Pse,STEEL_WHEELS:Fse,SUMMER_TIRES:Vse,SUNROOF:Bse,TAXI:Hse,TIRE_PRESSURE_MONITORING:jse,TOUCHSCREEN:Use,TRACTION_CONTROL_SYSTEM:Gse,TRAFFIC_SIGN_RECOGNITION:Wse,USB:$se,VEGETABLEOILFUEL_SUITABLE:Yse,VENTILATED_SEATS:qse,VOICE_CONTROL:Kse,WARRANTY:Zse,WIFI_HOTSPOT:Qse,WINTER_PACKAGE:Xse,WINTER_TIRES:Jse,WIRELESS_CHARGING:ece,OTHER_INTERIOR_COLOR:tce,SLIDING_DOOR_RIGHT:ice,SLIDING_DOOR_LEFT:nce,SLIDING_DOOR_BOTH_SIDED:rce,LEATHER:ace,PARTIAL_LEATHER:oce,FABRIC:sce,VELOUR:cce,ALCANTARA:lce,OTHER_INTERIOR_TYPE:dce,NO_CLIMATISATION:uce,MANUAL_CLIMATISATION:mce,AUTOMATIC_CLIMATISATION:fce,AUTOMATIC_CLIMATISATION_2_ZONES:hce,AUTOMATIC_CLIMATISATION_3_ZONES:pce,AUTOMATIC_CLIMATISATION_4_ZONES:gce,SPARE_WHEEL:_ce,EMERGENCY_WHEEL:vce,REPAIR_KIT:bce,TRAILER_COUPLING_SWIVELING:yce,TRAILER_COUPLING_DETACHABLE:Cce,TRAILER_COUPLING_FIX:Mce,FRONT_SENSORS:xce,REAR_SENSORS:wce,REAR_VIEW_CAM:Dce,AUTOMATIC_PARKING:Sce,CAM_360_DEGREES:Ece,EURO1:Lce,EURO2:kce,EURO3:Ice,EURO4:Tce,EURO5:Ace,EURO6:zce,EURO6C:Rce,EURO6D_TEMP:Nce,EURO6D:Oce,TUNER:Pce,DAB_RADIO:Fce,EMISSIONSSTICKER_GREEN:Vce,EMISSIONSSTICKER_YELLOW:Bce,EMISSIONSSTICKER_NONE:Hce,CRUISE_CONTROL:jce,ADAPTIVE_CRUISE_CONTROL:Uce,EMISSIONSSTICKER_RED:Gce,ASTON_MARTIN:Wce,BMW_FRANCE:$ce,BMW_MOTO:Yce,DS_CERTIFIED:qce,DS_ZERTIFIZIERTE_GEBRAUCHTWAGEN:Kce,FCA:Zce,HARLEY_DAVIDSON:Qce,HYUNDAI_PROMISE:Xce,LANDROVER:Jce,MERCEDES:ele,MERCEDES_FRANCE:tle,MERCEDES_TRANSPORTER:ile,MINI_FRANCE:nle,VW_TRADEPORT:rle,XENON_HEADLIGHTS:ale,BI_XENON_HEADLIGHTS:ole,LED_HEADLIGHTS:sle,LASER_HEADLIGHTS:cle,DRIVER_AIRBAG:lle,FRONT_AIRBAGS:dle,FRONT_AND_SIDE_AIRBAGS:ule,FRONT_AND_SIDE_AND_MORE_AIRBAGS:mle,BENDING_LIGHTS:fle,ADAPTIVE_BENDING_LIGHTS:hle,MDX:ple,NSX:gle,RL:_le,RSX:vle,TL:ble,TSX:yle,Accent:Cle,Atos:Mle,Azera:xle,Coupe:wle,Elantra:Dle,Excel:Sle,Galloper:Ele,Genesis:Lle,Getz:kle,"Grand Santa Fe":"Grand Santa Fe",Grandeur:Ile,"H 100":"H 100","H 200":"H 200","H-1":"H-1","H-1 Starex":"H-1 Starex",H350:Tle,IONIQ:Ale,Kona:zle,Lantra:Rle,Matrix:Nle,Nexo:Ole,Pony:Ple,"S-Coupe":"S-Coupe","Santa Fe":"Santa Fe",Santamo:Fle,Sonata:Vle,Terracan:Ble,Trajet:Hle,Tucson:jle,Veloster:Ule,Veracruz:Gle,"XG 30":"XG 30","XG 350":"XG 350",i10:Wle,i20:$le,i30:Yle,i40:qle,i50:Kle,ix20:Zle,ix35:Qle,ix55:Xle,"2 CV":"2 CV",BX:Jle,Berlingo:e3e,"C-Crosser":"C-Crosser","C-Elysee":"C-Elys\xE9e","C-Zero":"C-Zero",C1:t3e,C2:i3e,C3:n3e,"C3 Aircross":"C3 Aircross","C3 Picasso":"C3 Picasso",C4:r3e,"C4 Aircross":"C4 Aircross","C4 Cactus":"C4 Cactus","C4 Picasso":"C4 Picasso","C4 SpaceTourer":"C4 SpaceTourer",C5:a3e,"C5 Aircross":"C5 Aircross",C6:o3e,C8:s3e,DS3:c3e,DS4:l3e,"DS4 Crossback":"DS4 Crossback",DS5:d3e,"E-MEHARI":"E-MEHARI",Evasion:u3e,GSA:m3e,"Grand C4 Picasso":"Grand C4 Picasso / SpaceTourer",Jumper:f3e,Jumpy:h3e,Nemo:p3e,SAXO:g3e,SpaceTourer:_3e,Visa:v3e,XM:b3e,Xantia:y3e,Xsara:C3e,"Xsara Picasso":"Xsara Picasso",ZX:M3e,"100 NX":"100 NX","240 SX":"240 SX","300 ZX":"300 ZX","200 SX":"200 SX","280 ZX":"280 ZX",Almera:x3e,Altima:w3e,"350Z":"350Z","370Z":"370Z","Almera Tino":"Almera Tino",Bluebird:D3e,Cabstar:S3e,Armada:E3e,Cherry:L3e,Cargo:k3e,Cube:I3e,Frontier:T3e,"GT-R":"GT-R",Evalia:A3e,Interstar:z3e,Juke:R3e,"King Cab":"King Cab",Kubistar:N3e,Laurel:O3e,Micra:P3e,Maxima:F3e,Murano:V3e,Leaf:B3e,NV250:H3e,"NP 300":"NP 300",NV300:j3e,NV400:U3e,NV200:G3e,Note:W3e,Pathfinder:$3e,Patrol:Y3e,Navara:q3e,Pixo:K3e,PickUp:Z3e,Prairie:Q3e,Primastar:X3e,Primera:J3e,"Qashqai+2":"Qashqai+2",Pulsar:e0e,Quest:t0e,Qashqai:i0e,Sentra:n0e,Serena:r0e,Silvia:a0e,Skyline:o0e,Tiida:s0e,Terrano:c0e,Titan:l0e,Trade:d0e,Urvan:u0e,Sunny:m0e,"X-Trail":"X-Trail",Vanette:f0e,"e-NV200":"e-NV200",Dokker:h0e,Logan:p0e,Duster:g0e,"Logan Pick-Up":"Logan Pick-Up",Lodgy:_0e,"Pick Up":"Pick Up",Sandero:v0e,"1__BMW_ER_SERIES":"1er Reihe","2__BMW_ER_SERIES":"2er Reihe","4__BMW_ER_SERIES":"4er Reihe","3__BMW_ER_SERIES":"3er Reihe","6__BMW_ER_SERIES":"6er Reihe","7__BMW_ER_SERIES":"7er Reihe","5__BMW_ER_SERIES":"5er Reihe",M__BMW_MODELS:b0e,X__BMW_SERIES:y0e,Z__BMW_SERIES:C0e,"2 Series Gran Coupe":"2er Gran Coup\xE9","1er_M_Coupe":"1er M Coup\xE9","214 Gran Tourer":"214 Gran Tourer","214 Active Tourer":"214 Active Tourer","216 Gran Tourer":"216 Gran Tourer","218 Active Tourer":"218 Active Tourer","216 Active Tourer":"216 Active Tourer","218 Gran Tourer":"218 Gran Tourer","220 Active Tourer":"220 Active Tourer","220 Gran Tourer":"220 Gran Tourer","225 Active Tourer":"225 Active Tourer","318 Gran Turismo":"318 Gran Turismo","320 Gran Turismo":"320 Gran Turismo","325 Gran Turismo":"325 Gran Turismo","330 Gran Turismo":"330 Gran Turismo","328 Gran Turismo":"328 Gran Turismo","335 Gran Turismo":"335 Gran Turismo","340 Gran Turismo":"340 Gran Turismo","418 Gran Coupe":"418 Gran Coup\xE9","420 Gran Coupe":"420 Gran Coup\xE9","428 Gran Coupe":"428 Gran Coup\xE9","425 Gran Coupe":"425 Gran Coup\xE9","430 Gran Coupe":"430 Gran Coup\xE9","440 Gran Coupe":"440 Gran Coup\xE9","435 Gran Coupe":"435 Gran Coup\xE9","520 Gran Turismo":"520 Gran Turismo","530 Gran Turismo":"530 Gran Turismo","535 Gran Turismo":"535 Gran Turismo","550 Gran Turismo":"550 Gran Turismo","620 Gran Turismo":"620 Gran Turismo","630 Gran Turismo":"630 Gran Turismo","640 Gran Turismo":"640 Gran Turismo","640 Gran Coupe":"640 Gran Coup\xE9","650 Gran Coupe":"650 Gran Coup\xE9","ActiveHybrid 3":"ActiveHybrid 3","ActiveHybrid 7":"ActiveHybrid 7","ActiveHybrid 5":"ActiveHybrid 5",M135:M0e,"ActiveHybrid X6":"ActiveHybrid X6",M140i:x0e,M2:w0e,M240i:D0e,M3:S0e,M235i:E0e,M4:L0e,M550:k0e,M340i:I0e,M5:T0e,M6:A0e,M760:z0e,M8:R0e,M850:N0e,X1:O0e,X2:P0e,"X3 M":"X3 M",X3:F0e,X4:V0e,"X3 M40":"X3 M40","X4 M40":"X4 M40","X4 M":"X4 M",X5:B0e,"X5 M50":"X5 M50","X5 M":"X5 M","X6 M50":"X6 M50",X6:H0e,X7:j0e,"X6 M":"X6 M",Z3:U0e,Z1:G0e,"Z3 M":"Z3 M",Z4:W0e,"Z4 M":"Z4 M",i3:$0e,Z8:Y0e,i8:q0e,H2:K0e,H1:Z0e,H3:Q0e,AUTOSTAR:X0e,ABI:J0e,AVENTO:e4e,"BAVARIA-CAMP":"Bavaria-Camp",AIRSTREAM:t4e,ADRIA:i4e,AHORN:n4e,ARCA:r4e,ALPHA:a4e,BEYERLAND:o4e,BRAVIA:s4e,BELA:c4e,BIMOBIL:l4e,BAWEMO:d4e,CARADO:u4e,BUERSTNER:m4e,BUROW:f4e,BENIMAR:h4e,CARAVELAIR:p4e,CARTHAGO:g4e,CHATEAU:_4e,CARO:v4e,CHALLENGER:b4e,CHAUSSON:y4e,"CI INTERNATIONAL":"CI International",DEHLER:C4e,CRISTALL:M4e,Crosscamp:x4e,CONCORDE:w4e,CLEVER:D4e,COACHMEN:S4e,DELTA:E4e,"CS REISEMOBILE":"CS Reisemobile",DETHLEFFS:L4e,DOMO:k4e,DOPFER:I4e,"DUE ERRE":"Due Erre",EURAMOBIL:T4e,ETRUSCO:A4e,ESTEREL:z4e,EIFELLAND:R4e,ELNAGH:N4e,"EURO LINER":"Euro Liner",EVM:O4e,EXTREME:P4e,"FFB - TABBERT":"FFB - Tabbert",FENDT:F4e,FISCHER:V4e,FLEETWOOD:B4e,GIOTTILINE:H4e,FORSTER:j4e,FRANKIA:U4e,"GENERAL MOTORS":"General Motors",FORD_REIMO:G4e,FOURWHEELCAMPER:W4e,"FR-MOBIL":"FR-Mobil","GLOBE-TRAVELLER":"Globe-Traveller",GLOBECAR:$4e,GLUECKSMOBIL:Y4e,HOBBY:q4e,GRANDUCA:K4e,"HOLIDAY RAMBLER":"Holiday Rambler",HEKU:Z4e,HRZ:Q4e,HEHN:X4e,HOMECAR:J4e,"HYMER-ERIBA":"HYMER / ERIBA / HYMERCAR",ILUSION:e6e,KABE:t6e,ITINEO:i6e,"LA STRADA":"La Strada",KNAUS:n6e,KIP:r6e,KARMANN:a6e,LAIKA:o6e,JOINT:s6e,"M+M MOBILE":"M+M Mobile",LMC:c6e,MCLOUIS:l6e,MONCAYO:d6e,MONACO:u6e,MALIBU:m6e,MIRAGE:f6e,MAN:h6e,MILLER:p6e,MOOVEO:g6e,MOBILVETTA:_6e,MORELO:v6e,"NIESMANN + BISCHOFF":"Niesmann + Bischoff",NIEWIADOW:b6e,NOBELART:y6e,NORDSTAR:C6e,"P.L.A.":"P.L.A.",ORANGECAMP:M6e,ORMOCAR:x6e,PILOTE:w6e,PHOENIX:D6e,"PAUL&PAULA":"Paul & Paula",RACLET:S6e,RAPIDO:E6e,POESSL:L6e,REIMO:k6e,"REISEMOBILE BEIER":"Reisemobile Beier",RIVA:I6e,RIMOR:T6e,RIVIERA:A6e,RMB:z6e,ROADCAR:R6e,ROADTREK:N6e,ROCKWOOD:O6e,"ROBEL-MOBIL":"Robel-Mobil",SEA:P6e,"ROLLER TEAM":"Roller Team",SELBSTBAU:F6e,SEITZ:V6e,STERCKEMAN:B6e,SLOOP:H6e,SPRITE:j6e,TABBERT:U6e,SIXPAC:G6e,TEC:W6e,SUNLIGHT:$6e,TAB:Y6e,SUNLIVING:q6e,TISCHER:K6e,TOURNE:Z6e,TRIGANO:Q6e,"TRIPLE E":"Triple E",VANTOURER:X6e,VARIO:J6e,XGO:ede,WINNEBAGO:tde,WEIPPERT:ide,WESTFALIA:nde,WEINSBERG:rde,WINGAMM:ade,WILK:ode,WOELCKE:sde,BED:cde,BIODIESEL_CONVERSION:lde,CIRCULAR_SEATING_ARRANGEMENT:dde,AWNING:ude,BUNK_BED:mde,REAR_GARAGE:fde,MIDDLE_SEATING_ARRANGEMENT:hde,DAMAGE_BY_HAIL:pde,RENTING_POSSIBLE:gde,SECONDARY_AIR_CONDITIONING:_de,SOLAR_ENERGY_SYSTEM:vde,SIDE_SEATING_ARRANGEMENT:bde,WC:yde,SEP_SHOWER:Cde,CabinMotorhome:Mde,Caravan:xde,Alcoves:wde,PartlyIntegrated:Dde,Integrated:Sde,VanMotorhome:Ede,MobileHome:Lde,MotorHomesAndOther:kde,MotorHomesAndPickup:Ide,OtherMotorhome:Tde,EBS:Ade,DISC_BRAKE:zde,ANNABURGER:Rde,ACKERMANN:Nde,BRENDERUP:Ode,BENALU:Pde,BLOMENROEHR:Fde,ATM:Vde,BERGER:Bde,AUWAERTER:Hde,BNG:jde,BOECKMANN:Ude,BUNGE:Gde,BROSHUIS:Wde,"BUECKER TRAILER":"B\xFCcker Trailer",CARNEHL:$de,CHEREAU:Yde,DINKEL:qde,"ES-GE":"ES-GE","D-TEC":"D-TEC",DOLL:Kde,FEBER:Zde,FELDBINDER:Qde,FLIEGL:Xde,FAYMONVILLE:Jde,FLOOR:e8e,FRUEHAUF:t8e,"GENERAL TRAILER":"General Trailer",HENDRICKS:i8e,GROENEWEGEN:n8e,GOLDHOFER:r8e,HOFFMANN:a8e,HEINEMANN:o8e,HUMBAUR:s8e,HUEFFERMANN:c8e,HUTTNER:l8e,KAESSBOHRER:d8e,"KEL-BERG":"Kel-Berg",HRD:u8e,KEMPF:m8e,KAISER:f8e,KOEGEL:h8e,KNAPEN:p8e,KRAMER:g8e,KRONE:_8e,KOTSCHENREUTHER:v8e,KRUKENMEIER:b8e,KRAKER:y8e,KROEGER:C8e,LAG:M8e,LANGENDORF:x8e,LAMBERET:w8e,LECINENA:D8e,LECITRAILER:S8e,LEGRAS:E8e,MAGYAR:L8e,MEGA:k8e,LUECK:I8e,MENCI:T8e,MERKER:A8e,LINTRAILERS:z8e,MEUSBURGER:R8e,MEILLER:N8e,MEIERLING:O8e,MERCERON:P8e,MONTENEGRO:F8e,MOESLEIN:V8e,NOOTEBOOM:B8e,"NFP-EUROTRAILER":"NFP-Eurotrailer",PAVIC:H8e,PACTON:j8e,ORTEN:U8e,"MUELLER-MITTELTAL":"M\xFCller-Mitteltal",PEZZAIOLI:G8e,PANAV:W8e,ORTHAUS:$8e,REISCH:Y8e,RENDERS:q8e,ROHR:K8e,SCHWARZMUELLER:Z8e,SCHMIDT:Q8e,SEKA:X8e,SCHRADER:J8e,SCHEUERLE:e5e,SCHMITZ:t5e,SAMRO:i5e,SOMMER:n5e,SPIER:r5e,STAS:a5e,SPITZER:o5e,TALSON:s5e,"WEB-TRAILER":"Web-Trailer",TRAILIS:c5e,VAN_ECK:l5e,WACKENHUT:d5e,VANHOOL:u5e,WAGNER:m5e,TRAILOR:f5e,WIELTON:h5e,WECON:p5e,LongMaterialTransporterSemiTrailer:g5e,BeveragesSemiTrailer:_5e,BoxAndIsolatedSemiTrailer:v5e,LowLoaderSemiTrailer:b5e,CattleTruckSemiTrailer:y5e,CarCarrierSemiTrailer:C5e,BoxSemiTrailer:M5e,MilkTankSemiTrailer:x5e,ChassisSemiTrailer:w5e,PlatformSemiTrailer:D5e,RefrigeratorBodySemiTrailer:S5e,StakeBodySemiTrailer:E5e,SwapChassisSemiTrailer:L5e,StakeBodyAndTarpaulinSemiTrailer:k5e,SiloSemiTrailer:I5e,TankBodiesSemiTrailer:T5e,TimberCarrierSemiTrailer:A5e,TipperSemiTrailer:z5e,TrafficConstructionSemiTrailer:R5e,TruckMountedCraneSemiTrailer:N5e,WalkingFloorSemiTrailer:O5e,OtherSemiTrailer:P5e,Arteon:F5e,Amarok:V5e,Beetle:B5e,Bora:H5e,Buggy:j5e,Caddy:U5e,Corrado:G5e,Crafter:W5e,Fox:$5e,Eos:Y5e,Golf:q5e,"Golf Plus":"Golf Plus","ID.4":"ID.4","ID.3":"ID.3",Iltis:K5e,Jetta:Z5e,"Karmann Ghia":"Karmann Ghia","New Beetle":"New Beetle","Golf Sportsvan":"Golf Sportsvan",K\u00E4fer:"K\xE4fer",Lupo:Q5e,Passat:X5e,"Passat CC":"Passat CC","Passat Variant":"Passat Variant",Polo:J5e,"Passat Alltrack":"Passat Alltrack",Santana:eue,Routan:tue,Sharan:iue,Scirocco:nue,Phaeton:rue,"T-Cross":"T-Cross","T-Roc":"T-Roc",T2__MODEL_ALL:aue,T1__MODEL_ALL:oue,"T3 Caravelle":"T3 Caravelle","T3 Multivan":"T3 Multivan","T4 California":"T4 California",T3_Kombi:sue,"T4 Caravelle":"T4 Caravelle","T4 Multivan":"T4 Multivan",T4_Kombi:cue,"T5 Caravelle":"T5 Caravelle","T5 California":"T5 California","T5 Shuttle":"T5 Shuttle","T5 Multivan":"T5 Multivan","T5 Transporter":"T5 Transporter","T6 Caravelle":"T6 Caravelle",T5_Kombi:lue,"T6 California":"T6 California","T6 Multivan":"T6 Multivan","T6 Kombi":"T6 Kombi","T6 Transporter":"T6 Transporter",Tiguan:due,"Tiguan Allspace":"Tiguan Allspace",Taro:uue,Touareg:mue,Vento:fue,XL1:hue,T3__MODEL_OTHER:pue,Touran:gue,T4__MODEL_OTHER:_ue,T6__MODEL_OTHER:vue,T5__MODEL_OTHER:bue,up:yue,T5:Cue,Passat__MODEL_ALL:Mue,T4:xue,T3:wue,T6:Due,Ateca:Sue,Arona:Eue,Ibiza:Lue,Formentor:kue},kg=(function(t){return t[t.SuperAdmin=10]="SuperAdmin",t[t.OrganizationAdmin=7]="OrganizationAdmin",t[t.OrganizationSeller=5]="OrganizationSeller",t[t.Manager=3]="Manager",t[t.Seller=1]="Seller",t[t.ConditionerAdmin=-8]="ConditionerAdmin",t[t.Conditioner=-9]="Conditioner",t[t.IntranetUser=-99]="IntranetUser",t})(kg||{}),Tue=["Offen","Vorlauf","Spedition","Angeliefert","Abrufbereit","Ausgeliefert","Unbekannt"],Aue={baseData:{title:"Basisdaten",checkboxes:["reserved"],selects:["model","make","category","seats","usageType","condition","fuel","firstRegistration"],staticSelects:[{title:"Km (ab)",adPropertyKey:"range-from-mileage",adPropertyType:"number",optionItems:[1e3,2e3,1e4,2e4,5e4,1e5,2e5,3e5,4e5,5e5]},{title:"Km (bis)",adPropertyKey:"range-till-mileage",adPropertyType:"number",optionItems:[1e3,2e3,1e4,2e4,5e4,1e5,2e5,3e5,4e5,5e5]},{title:"Preis (ab)",adPropertyKey:"range-from-price-consumerPriceGross",adPropertyType:"string",adPropertyDisplayUnit:"\u20AC",optionItems:[500,750,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,1e4,11e3,12e3,13e3,14e3,15e3,17500,2e4,22500,25e3,27500,3e4,35e3,4e4,45e3,5e4,55e3,6e4,7e4,8e4,9e4]},{title:"Preis (bis)",adPropertyKey:"range-till-price-consumerPriceGross",adPropertyType:"string",adPropertyDisplayUnit:"\u20AC",optionItems:[500,750,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,1e4,11e3,12e3,13e3,14e3,15e3,17500,2e4,22500,25e3,27500,3e4,35e3,4e4,45e3,5e4,55e3,6e4,7e4,8e4,9e4]},{title:"Benutzer",adPropertyKey:"userId",adPropertyType:"string"},{title:"Lieferstatus",adPropertyKey:"deliveryState",adPropertyType:"string",optionItems:Tue},{title:"Bilder",adPropertyKey:"images",adPropertyType:"array",optionItems:["Ohne Bilder","Mit Bildern"]}]},komfort:{title:"Komfort",checkboxes:["keylessEntry","powerAssistedSteering","auxiliaryHeating","centralLocking","electricWindows","electricExteriorMirrors","electricTailgate","armRest","ambientLighting","dimmingInteriorMirror","cargoBarrier","multifunctionalWheel","leatherSteeringWheel","heatedSteeringWheel"]},seatsAndPads:{title:"Sitze & Polsterung",selects:["interiorType","interiorColor"],checkboxes:["electricHeatedSeats","electricHeatedRearSeats","electricAdjustableSeats","electricBackseatAdjustment","sportSeats","massageSeats","ventilatedSeats","lumbarSupport","foldFlatPassengerSeat"]},exterior:[{title:"Au\xDFenausstattung",selects:["trailerCouplingType","slidingDoorType","exteriorColor"],checkboxes:["panoramicGlassRoof","sunroof","roofrails","heatedWindshield","skiBag","metallic"],customControls:[{title:"Aussenfarbe",adPropertyKey:"exteriorColor",adPropertyType:"string",optionItems:[]}]},{title:"R\xE4der & Fahrwerk",checkboxes:["alloyWheels","performanceHandlingSystem","tirePressureMonitoring","airSuspension","steelWheels","summerTires","winterTires","allSeasonTires"]}],multimedia:{title:"Multimedia",selects:["radio"],checkboxes:["tv","soundSystem","cdPlayer","cdMultichanger","bluetooth","usb","touchscreen","wifiHotspot","carPlay","androidAuto","wirelessCharging","integratedMusicStreaming"]},assistantSystems:{title:"Assistenzsysteme",checkboxes:["navigationSystem","voiceControl","laneDepartureWarning","blindSpotMonitor","hillStartAssist","headUpDisplay","handsFreePhoneSystem","onBoardComputer","nightVisionAssist","fatigueWarningSystem","trafficSignRecognition","distanceWarningSystem","speedLimiter","highBeamAssist","digitalCockpit"],selects:["speedControl","parkingAssistants"]},security:{title:"Sicherheit",selects:["airbag","headlightType","breakdownService","bendingLightsType"],checkboxes:["tractionControlSystem","fourWheelDrive","automaticRainSensor","immobilizer","startStopSystem","alarmSystem","newHuAu","emergencyCallSystem","isofix","passengerSeatIsofixPoint","frontFogLights","LED Tagfahrlicht","Tagfahrlicht","lightSensor","glareFreeHighBeam","headlightWasherSystem"]}},po=(()=>{class t{httpClient;mobileDeLibConfig;staticPropertiesToFilterList=new Array;filterItems=[];sortItems=[];constructor(e,i){this.httpClient=e,this.mobileDeLibConfig=i}getModelsForMake(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/Car/
			${e}/models`)}getAllUsers(){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}auth/get/users`)}geti18nJSON(){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"data-filter/generate/i18n")}getValueCountForProperty(e,i,r=null){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"data-filter/count/"+e)}getValueCountForAllProperties(e=null,i=!1,r=!1){let a="data-filter/count/";return this.mobileDeLibConfig.nonAuthForVehicleMarket&&(a+="non-auth/"),i?a=a+"seller":e&&(a=a+"store/"+e),r&&(a+="type/cached"),this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+a)}getValueCountForFilteredDocuments(e=null,i=!1,r=!1){let a=this.filterItems.concat(this.staticPropertiesToFilterList),o=!0;this.staticPropertiesToFilterList.forEach(u=>{u.propertyKey==="online.status"&&(o=u.propertyValue)});let s={filterItems:a,statusOnline:o,sortItems:this.sortItems},l="data-filter/count/with/filter/";return this.mobileDeLibConfig.nonAuthForVehicleMarket&&(l+="non-auth/"),r?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+l+"seller",s):e&&!i?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+l+"store/"+e+"/type/normal",s):i?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+l+"type/cached",s):this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+l+"type/normal",s)}getFilteredDocs(e,i,r=null,a=null,o=!1,s=!1){let u={filterItems:this.filterItems.concat(this.staticPropertiesToFilterList),sortItems:this.sortItems,pageNum:e,limit:i},h="data-filter/docs/with/filter/";return a&&a.role===kg.Manager&&(r=a.storeId),this.mobileDeLibConfig.nonAuthForVehicleMarket&&(h+="non-auth/"),o?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+h+"seller",u):r&&!s?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+h+"store/"+r+"/type/normal",u):s?this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+h+"type/cached",u):this.httpClient.post(this.mobileDeLibConfig.apiServerBackend+h+"type/normal",u)}orderFilterCountResults(e){let i=Aue,r={};return e.forEach(a=>{Object.keys(i).forEach(o=>{let s=i[o];Array.isArray(s)?s.forEach((l,u)=>{this.doOrdering(r,l,a,s[u])}):this.doOrdering(r,s,a)})}),Object.keys(r).length>0&&(r.Basisdaten.staticSelects=[],r.Au\u00DFenausstattung.customControls=[],i.baseData.staticSelects.forEach(a=>{r.Basisdaten.staticSelects.push(a)}),i.exterior[0].customControls.forEach(a=>{r.Au\u00DFenausstattung.customControls.push(a)})),r.Basisdaten.selects.sort((a,o)=>a._id<o._id?-1:a._id>o._id?1:0),r.Assistenzsysteme.checkboxes.sort((a,o)=>a._id<o._id?-1:a._id>o._id?1:0),r}doOrdering(e,i,r,a=null){e[i.title]||(e[i.title]={},e[i.title].title=i.title,e[i.title].checkboxes=[],e[i.title].selects=[]),r.hits[0].adPropertyType==="bool"?i.checkboxes&&i.checkboxes.indexOf(r.adPropertyKey)>-1&&e[i.title].checkboxes.push(r):i.selects&&i.selects.indexOf(r.adPropertyKey)>-1&&(r.hits.sort((s,l)=>{let u=s.adPropertyValue,h=l.adPropertyValue;return typeof u=="string"&&typeof h=="string"&&(u=u.toLowerCase(),h=h.toLowerCase()),u>h?1:-1}),e[i.title].selects.push(r))}createFilterItem(e,i){let r=i.description[0].value;return(!r||r==="")&&(r=zue[i.adPropertyKey]),{adPropertyKey:i.adPropertyKey,adPropertyType:i.hits[0].adPropertyType,adPropertyValue:e,description:r}}createRangeFilterItem(e,i){return{adPropertyKey:i.adPropertyKey,adPropertyType:i.adPropertyType,adPropertyValue:e,description:i.title}}addFilterItem(e){let i=!0,r=0,a=-1;this.filterItems.forEach(o=>{o.adPropertyKey===e.adPropertyKey&&(i=!1,e.adPropertyValue===""||e.adPropertyValue===!1?a=r:o.adPropertyValue=e.adPropertyValue),r++}),i&&this.filterItems.push(e),a>-1&&this.filterItems.splice(a,1)}addStaticFilterItem(e,i,r="bool"){let a={propertyKey:e,propertyValue:i,propertyType:r},o=!1,s=-1;for(let l=this.staticPropertiesToFilterList.length-1;l>=0;l--){let u=this.staticPropertiesToFilterList[l];u.propertyKey===a.propertyKey&&(o=!0,s=l,u.propertyValue=a.propertyValue)}o||this.staticPropertiesToFilterList.push(a)}getStaticFilterItems(){return this.staticPropertiesToFilterList}clearStaticFilterItems(e=null){if(e){let i=!1,r=-1;for(let a=this.staticPropertiesToFilterList.length-1;a>=0;a--)r=-1,this.staticPropertiesToFilterList[a].propertyKey===e&&(i=!0,r=a);i&&this.staticPropertiesToFilterList.splice(r,1)}else this.staticPropertiesToFilterList=new Array,this.addStaticFilterItem("status.online",!0)}addSortItem(e){this.sortItems=[],this.sortItems.push(e)}static \u0275fac=function(i){return new(i||t)(me(F1),me(Rc))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zue={energyEfficiencyClass:"Energie Effizienz Klasse"},Rue=(()=>{class t{transform(e,...i){let r;return i[0]&&i[0]==="iso"?r=(0,Lg.default)(e,"YYYY-MM-DD").locale("en").format("DD-MM-YYYY"):r=(0,Lg.default)(e,"YYYYMM").format("DD-MM-YYYY"),r}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Ua({name:"YYYYmmDatePipe",type:t,pure:!0,standalone:!1})}return t})(),Nue=["wrapper"];function Oue(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E(2).$implicit,i=E(4);v(),xt(i.filteredPropValCount[e.adPropertyKey].hits[0]==null?null:i.filteredPropValCount[e.adPropertyKey].hits[0].count)}}function Pue(t,n){t&1&&(_(0,"span",21),D(1,"0"),b())}function Fue(t,n){if(t&1&&(zt(0),K(1,Oue,2,1,"span",20)(2,Pue,2,0,"ng-template",null,1,vn),D(4,"/"),Rt()),t&2){let e=kt(3),i=E().$implicit,r=E(4);v(),w("ngIf",r.filteredPropValCount[i.adPropertyKey].adPropertyValuesCount>0)("ngIfElse",e)}}function Vue(t,n){if(t&1){let e=ke();_(0,"div",18)(1,"mat-checkbox",19),P("change",function(r){let a=Q(e).$implicit,o=E(4);return X(o.onCheckboxChange(r,a))}),D(2),K(3,Fue,5,2,"ng-container",14),D(4),b()()}if(t&2){let e=n.$implicit,i=E(4);v(),w("formControlName",e.adPropertyKey)("name",e.adPropertyKey),v(),oe(" ",i.i18n[e.adPropertyKey]," ["),v(),w("ngIf",i.filteredPropValCount&&i.filteredPropValCount[e.adPropertyKey]),v(),oe("",e.hits[0]==null?null:e.hits[0].count,"] ")}}function Bue(t,n){if(t&1&&(_(0,"div",16),K(1,Vue,5,5,"div",17),b()),t&2){let e=E().$implicit;v(),w("ngForOf",e.value.checkboxes)}}function Hue(t,n){if(t&1&&(_(0,"span",30),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count," ")}}function jue(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count)}}function Uue(t,n){if(t&1&&(zt(0),K(1,Hue,2,1,"span",29)(2,jue,2,1,"span",14),D(3,"/ "),Rt()),t&2){let e=E().$implicit;v(),w("ngIf",e.count===0),v(),w("ngIf",e.count>0)}}function Gue(t,n){if(t&1&&(zt(0),K(1,Uue,4,2,"ng-container",14),Rt()),t&2){let e=n.$implicit,i=E(2).$implicit;v(),w("ngIf",i.adPropertyValue===e.adPropertyValue)}}function Wue(t,n){if(t&1&&(zt(0),K(1,Gue,2,1,"ng-container",23),Rt()),t&2){let e=E(3).$implicit,i=E(4);v(),w("ngForOf",i.filteredPropValCount[e.adPropertyKey]==null?null:i.filteredPropValCount[e.adPropertyKey].hits)}}function $ue(t,n){if(t&1&&(_(0,"mat-radio-button",27)(1,"div",28),D(2," [ "),K(3,Wue,2,1,"ng-container",14),_(4,"span"),D(5),b()()()),t&2){let e=n.$implicit,i=E(6);w("value",e.adPropertyValue),v(),yt("color-field "+e.adPropertyValue),v(2),w("ngIf",i.filteredPropValCount),v(2),oe("",e.count,"]")}}function Yue(t,n){if(t&1){let e=ke();zt(0),_(1,"div",24)(2,"mat-radio-group",25),P("change",function(r){Q(e);let a=E().$implicit,o=E(4);return X(o.onSelectionChange(r,a))}),K(3,$ue,6,5,"mat-radio-button",26),b()(),Rt()}if(t&2){let e=E().$implicit;v(2),w("formControlName",e.adPropertyKey),v(),w("ngForOf",e.hits)}}function que(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E(3).$implicit,i=E(4);v(),xt(i.filteredPropValCount[e.adPropertyKey].adPropertyValuesCount)}}function Kue(t,n){if(t&1&&(_(0,"span",30),D(1),b()),t&2){let e=E(3).$implicit,i=E(4);v(),xt(i.filteredPropValCount[e.adPropertyKey].adPropertyValuesCount)}}function Zue(t,n){if(t&1&&(zt(0),K(1,que,2,1,"span",14)(2,Kue,2,1,"span",29),D(3,"/ "),Rt()),t&2){let e=E(2).$implicit,i=E(4);v(),w("ngIf",(i.filteredPropValCount[e.adPropertyKey]==null?null:i.filteredPropValCount[e.adPropertyKey].adPropertyValuesCount)>0),v(),w("ngIf",(i.filteredPropValCount[e.adPropertyKey]==null?null:i.filteredPropValCount[e.adPropertyKey].adPropertyValuesCount)===0)}}function Que(t,n){if(t&1&&(zt(0),D(1),Rt()),t&2){let e=E(3).$implicit;v(),oe(" ",e.adPropertyValue," ")}}function Xue(t,n){if(t&1&&(D(0),Ye(1,"YYYYmmDatePipe")),t&2){let e=E(3).$implicit;oe(" ",ct(1,1,e.adPropertyValue)," ")}}function Jue(t,n){if(t&1&&(zt(0),K(1,Que,2,1,"ng-container",20)(2,Xue,2,3,"ng-template",null,4,vn),Rt()),t&2){let e=kt(3),i=E(4).$implicit;v(),w("ngIf",i.adPropertyKey!=="firstRegistration")("ngIfElse",e)}}function e7e(t,n){if(t&1&&(zt(0),D(1),Rt()),t&2){let e=E(3).$implicit,i=E(6);v(),oe(" ",i.i18n[e.adPropertyValue]," ")}}function t7e(t,n){if(t&1&&K(0,e7e,2,1,"ng-container",20),t&2){E();let e=kt(5),i=E().$implicit;w("ngIf",i.adPropertyType!=="array")("ngIfElse",e)}}function i7e(t,n){t&1&&(_(0,"span"),D(1," & "),b())}function n7e(t,n){if(t&1&&(zt(0),D(1),K(2,i7e,2,0,"span",14),Rt()),t&2){let e=n.$implicit,i=n.index,r=E(3).$implicit,a=E(6);v(),oe(" ",a.i18n[e]," "),v(),w("ngIf",r.adPropertyValue.length>i+1)}}function r7e(t,n){if(t&1&&K(0,n7e,3,2,"ng-container",23),t&2){let e=E(2).$implicit;w("ngForOf",e.adPropertyValue)}}function a7e(t,n){if(t&1&&(_(0,"span",30),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count," ")}}function o7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count," ")}}function s7e(t,n){if(t&1&&(_(0,"span"),K(1,a7e,2,1,"span",29)(2,o7e,2,1,"span",14),D(3,"/ "),b()),t&2){let e=E().$implicit;v(),w("ngIf",e.count===0),v(),w("ngIf",e.count>0)}}function c7e(t,n){if(t&1&&(zt(0),K(1,s7e,4,2,"span",14),Rt()),t&2){let e=n.$implicit,i=E(3).$implicit;v(),w("ngIf",i.adPropertyValue===e.adPropertyValue)}}function l7e(t,n){if(t&1&&(zt(0),K(1,c7e,2,1,"ng-container",23),Rt()),t&2){let e=E(4).$implicit,i=E(4);v(),w("ngForOf",i.filteredPropValCount[e.adPropertyKey]==null?null:i.filteredPropValCount[e.adPropertyKey].hits)}}function d7e(t,n){if(t&1&&(_(0,"span",30),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count," ")}}function u7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E(2).$implicit;v(),oe(" ",e.count," ")}}function m7e(t,n){if(t&1&&(_(0,"span"),K(1,d7e,2,1,"span",29)(2,u7e,2,1,"span",14),D(3,"/ "),b()),t&2){let e=E().$implicit;v(),w("ngIf",e.count===0),v(),w("ngIf",e.count>0)}}function f7e(t,n){if(t&1&&(zt(0),K(1,m7e,4,2,"span",14),Rt()),t&2){let e=n.$implicit,i=E(3).$implicit,r=E(6);v(),w("ngIf",r.setsAreEqual(i.adPropertyValue,e.adPropertyValue))}}function h7e(t,n){if(t&1&&(zt(0),K(1,f7e,2,1,"ng-container",23),Rt()),t&2){let e=E(4).$implicit,i=E(4);v(),w("ngForOf",i.filteredPropValCount[e.adPropertyKey]==null?null:i.filteredPropValCount[e.adPropertyKey].hits)}}function p7e(t,n){if(t&1&&(_(0,"mat-option",33),K(1,Jue,4,2,"ng-container",20)(2,t7e,1,2,"ng-template",null,2,vn)(4,r7e,1,1,"ng-template",null,3,vn),D(6," ["),K(7,l7e,2,1,"ng-container",14)(8,h7e,2,1,"ng-container",14),zt(9),D(10),Rt(),D(11,"] "),b()),t&2){let e=kt(3),i=E().$implicit,r=E(2).$implicit,a=E(4);w("value",i.adPropertyValue),v(),w("ngIf",r.adPropertyKey==="model"||r.hits[0].adPropertyType==="int"||r.adPropertyKey==="internalNumber"||r.adPropertyKey==="firstRegistration")("ngIfElse",e),v(6),w("ngIf",a.filteredPropValCount&&i.adPropertyType!=="array"),v(),w("ngIf",a.filteredPropValCount&&i.adPropertyType==="array"),v(2),xt(i.count)}}function g7e(t,n){if(t&1&&(zt(0),K(1,p7e,12,6,"mat-option",32),Rt()),t&2){let e=n.$implicit;v(),w("ngIf",e.count!=0)}}function _7e(t,n){if(t&1){let e=ke();zt(0),_(1,"div",18)(2,"mat-form-field")(3,"mat-label"),D(4),K(5,Zue,4,2,"ng-container",14),D(6),b(),_(7,"mat-select",31),P("selectionChange",function(r){Q(e);let a=E().$implicit,o=E(4);return X(o.onSelectionChange(r,a))}),K(8,g7e,2,1,"ng-container",23),b()()(),Rt()}if(t&2){let e=E().$implicit,i=E(4);v(4),oe(" ",i.i18n[e.adPropertyKey]," ["),v(),w("ngIf",i.filteredPropValCount),v(),oe(" ",e.adPropertyValuesCount,"] "),v(),w("formControlName",e.adPropertyKey),v(),w("ngForOf",e.hits)}}function v7e(t,n){if(t&1&&(zt(0),K(1,Yue,4,2,"ng-container",14)(2,_7e,9,5,"ng-container",14),Rt()),t&2){let e=n.$implicit;v(),w("ngIf",e.adPropertyKey==="exteriorColor"),v(),w("ngIf",e.adPropertyKey!=="exteriorColor"&&e.adPropertyType!=="object")}}function b7e(t,n){if(t&1&&(zt(0),_(1,"div",22),K(2,v7e,3,2,"ng-container",23),b(),Rt()),t&2){let e=E().$implicit;v(2),w("ngForOf",e.value.selects)}}function y7e(t,n){if(t&1&&(_(0,"mat-option",33),D(1),b()),t&2){let e=n.$implicit;w("value",e._id),v(),oe(" ",e.email," ")}}function C7e(t,n){if(t&1&&(zt(0),K(1,y7e,2,2,"mat-option",34),Rt()),t&2){let e=E().$implicit;v(),w("ngForOf",e.optionItems)}}function M7e(t,n){if(t&1&&(zt(0),D(1),Rt()),t&2){let e=E(3).$implicit;v(),oe(" ",e.adPropertyDisplayUnit," ")}}function x7e(t,n){if(t&1&&(_(0,"mat-option",33),D(1),K(2,M7e,2,1,"ng-container",14),b()),t&2){let e=n.$implicit,i=E(2).$implicit;w("value",e),v(),oe(" ",e," "),v(),w("ngIf",i.adPropertyDisplayUnit)}}function w7e(t,n){if(t&1&&K(0,x7e,3,3,"mat-option",34),t&2){let e=E().$implicit;w("ngForOf",e.optionItems)}}function D7e(t,n){if(t&1){let e=ke();_(0,"div",18)(1,"mat-form-field")(2,"mat-label"),D(3),b(),_(4,"mat-select",31),P("selectionChange",function(r){let a=Q(e).$implicit,o=E(4);return X(o.onStaticControlSelectionChange(r,a))}),K(5,C7e,2,1,"ng-container",20)(6,w7e,1,1,"ng-template",null,5,vn),b()()()}if(t&2){let e=n.$implicit,i=kt(7);v(3),oe(" ",e.title," "),v(),w("formControlName",e.adPropertyKey),v(),w("ngIf",e.title==="Benutzer")("ngIfElse",i)}}function S7e(t,n){if(t&1&&(_(0,"div",22),K(1,D7e,8,4,"div",17),b()),t&2){let e=E().$implicit;v(),w("ngForOf",e.value.staticSelects)}}function E7e(t,n){if(t&1&&(_(0,"mat-tab",12),K(1,Bue,2,1,"div",13)(2,b7e,3,1,"ng-container",14)(3,S7e,2,1,"div",15),b()),t&2){let e=n.$implicit;w("label",e.value.title),v(),w("ngIf",e.value.checkboxes.length>0),v(),w("ngIf",e.value.selects.length>0),v(),w("ngIf",(e.value.staticSelects==null?null:e.value.staticSelects.length)>0)}}function L7e(t,n){if(t&1&&(_(0,"mat-tab-group",10),K(1,E7e,4,4,"mat-tab",11),Ye(2,"keyvalue"),b()),t&2){let e=E();w("animationDuration",e.tabAnimationDuration),v(),w("ngForOf",ct(2,2,e.orderedCountResults))}}function k7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E().$implicit,i=E(2);v(),oe(":\xA0 ",i.i18n[e.adPropertyValue]," ")}}function I7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E().$implicit;v(),oe(":\xA0 ",e.adPropertyValue," ")}}function T7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E().$implicit,i=E(2);v(),oe(":\xA0 ",i.userIdToEmailMappings[e.adPropertyValue]," ")}}function A7e(t,n){if(t&1&&(_(0,"span"),D(1),Ye(2,"YYYYmmDatePipe"),b()),t&2){let e=E().$implicit;v(),oe(":\xA0 ",ct(2,1,e.adPropertyValue)," ")}}function z7e(t,n){if(t&1&&(_(0,"span"),D(1),b()),t&2){let e=E().$implicit;v(),oe(":\xA0 ",e.adPropertyValue," ")}}function R7e(t,n){t&1&&(_(0,"span"),D(1," &\xA0 "),b())}function N7e(t,n){if(t&1&&(_(0,"span"),D(1),K(2,R7e,2,0,"span",14),b()),t&2){let e=n.$implicit,i=n.index,r=E(2).$implicit,a=E(2);v(),oe(" ",a.i18n[e]," "),v(),w("ngIf",r.adPropertyValue.length>i+1)}}function O7e(t,n){if(t&1&&(zt(0),D(1,":\xA0 "),K(2,N7e,3,2,"span",23),Rt()),t&2){let e=E().$implicit;v(2),w("ngForOf",e.adPropertyValue)}}function P7e(t,n){if(t&1){let e=ke();_(0,"mat-chip-option",40),P("removed",function(){let r=Q(e).$implicit,a=E(2);return X(a.removeFilterItem(r))})("selectionChange",function(r){let a=Q(e).$implicit,o=E(2);return X(o.onChipSelectionChange(r,a))}),D(1),K(2,k7e,2,1,"span",14)(3,I7e,2,1,"span",14)(4,T7e,2,1,"span",14)(5,A7e,3,3,"span",14)(6,z7e,2,1,"span",14)(7,O7e,3,1,"ng-container",14),_(8,"mat-icon",39),D(9,"cancel"),b()()}if(t&2){let e=n.$implicit,i=E(2);w("removable",!0)("selected",!0),v(),oe(" ",i.i18n[e.adPropertyKey]," "),v(),w("ngIf",e.adPropertyType==="string"&&e.adPropertyKey!=="range-from-price-consumerPriceGross"&&e.adPropertyKey!=="range-till-price-consumerPriceGross"&&e.adPropertyKey!=="firstRegistration"&&e.adPropertyKey!=="userId"&&e.adPropertyKey!=="deliveryState"),v(),w("ngIf",e.adPropertyKey==="deliveryState"),v(),w("ngIf",e.adPropertyKey==="userId"),v(),w("ngIf",e.adPropertyKey==="firstRegistration"),v(),w("ngIf",e.adPropertyType==="int"||e.adPropertyType==="number"||e.adPropertyKey==="range-from-price-consumerPriceGross"||e.adPropertyKey==="range-till-price-consumerPriceGross"),v(),w("ngIf",i.Array.isArray(e.adPropertyType))}}function F7e(t,n){if(t&1){let e=ke();_(0,"div",35)(1,"mat-chip-listbox",36,6),K(3,P7e,10,9,"mat-chip-option",37),_(4,"mat-chip-option",38),P("removed",function(){Q(e);let r=E();return X(r.removeAllFilterItems())}),D(5," Filter zur\xFCcksetzen "),_(6,"mat-icon",39),D(7,"cancel"),b()()()()}if(t&2){let e=E();v(),w("selectable",!0)("multiple",!0),v(2),w("ngForOf",e.dataFilterService.filterItems),v(),w("removable",!0)("selectable",!1)}}var YL=(()=>{class t{dataFilterService;mobileDeLibConfig;orderedCountResults={};filteredPropValCount=null;dataForm;filteredDocsArrived=new $;startLoading=new $;tabGroup;wrapper;storeId;pageLimit=20;tabAnimationDuration="500ms";filterInitiallyHidden=!1;userIdToEmailMappings;showCachedData=!1;colorRadiogroupIsSelected=!1;showDataFilter;i18n;Array=Array;isSeller=!1;getFilteredValueCountSubs;getFilteredDocsSubs;constructor(e,i){this.dataFilterService=e,this.mobileDeLibConfig=i}ngOnInit(){this.i18n=Iue,this.showDataFilter="out",this.dataForm=new E9({}),this.startLoading.emit(!0),this.setSelectedStoreId(),this.dataFilterService.geti18nJSON().pipe(_t(1)).subscribe(e=>{this.i18n=e})}ngAfterViewInit(){this.filterInitiallyHidden?this.wrapper.nativeElement.style.height="0px":this.showDataFilter="in"}adPropertyKeysInitialized=new Set;onChipSelectionChange(e,i){this.adPropertyKeysInitialized.has(i.adPropertyKey)?(i.adPropertyType==="bool"?i.adPropertyValue=e.selected:i.exclude=!e.selected,this.sendFilterDataToServer(null,null,!0,this.storeId)):this.adPropertyKeysInitialized.add(i.adPropertyKey)}clear(){this.dataForm=new E9({}),this.orderedCountResults=null,this.filteredPropValCount=null,this.initControlWithData([])}setSelectedStoreId(){let e=JSON.parse(localStorage.getItem("selectedStore"));this.storeId=null,e&&e._id!=="SHOW_DATA_OF_ALL_STORES"&&(this.storeId=e._id)}init(e=null,i=!1,r=!1){this.isSeller=i,this.showCachedData=r,this.dataFilterService.getValueCountForAllProperties(e,i,r).pipe(_t(1)).subscribe(a=>{this.initControlWithData(a)})}initControlWithData(e,i=null){if(this.orderedCountResults=this.dataFilterService.orderFilterCountResults(e[0].initialPropValCount),this.mobileDeLibConfig.nonAuthForVehicleMarket&&delete this.orderedCountResults.Basisdaten,this.setupFormgroup(e[0].initialPropValCount,this.orderedCountResults),e[0].filteredPropValCount&&i){let{searchTerm:r,filterItemsBoolean:a,filterItemsSelect:o,sortItem:s}=i;this.filteredPropValCount=e[0].filteredPropValCount;let l={};a.forEach(u=>{l[u.adPropertyKey]=!0}),o.forEach(u=>{l[u.adPropertyKey]=u.adPropertyValue}),this.dataForm.patchValue(l)}this.startLoading.emit(!1)}showFilter(){if(this.wrapper)return this.showDataFilter=this.showDataFilter==="out"?"in":"out",this.showDataFilter}onSelectionChange(e,i){let r=e.value;this.sendFilterDataToServer(r,i,!1,this.storeId)}onStaticControlSelectionChange(e,i){let r=e.value;this.sendFilterDataToServer(r,i,!1,this.storeId)}onCheckboxChange(e,i){let r=e.checked;this.sendFilterDataToServer(r,i,!1,this.storeId)}removeFilterItem(e){let i=this.dataFilterService.filterItems.indexOf(e);this.dataFilterService.filterItems.splice(i,1),this.dataForm.get(e.adPropertyKey).reset(),this.sendFilterDataToServer(null,null,!0,this.storeId)}removeAllFilterItems(e=!0){this.setSelectedStoreId(),this.dataFilterService.filterItems=[],e&&(this.storeId?this.sendFilterDataToServer(null,null,!0,this.storeId):this.sendFilterDataToServer(null,null,!0)),this.dataForm.reset()}setupFormgroup(e,i){return S1(this,null,function*(){e.forEach(r=>{this.dataForm.addControl(r.adPropertyKey,new E8(r.adPropertyKey==="exteriorColor"?"noColorSelected":""))}),i.Basisdaten&&i.Basisdaten.staticSelects.forEach(r=>S1(this,null,function*(){this.dataForm.addControl(r.adPropertyKey,new E8("")),r.optionItems||(yield this.setAsyncStaticSelectOptions(r,e))})),i.Au\u00DFenausstattung&&i.Au\u00DFenausstattung.customControls.forEach(r=>{this.dataForm.addControl(r.adPropertyKey,new E8("noColorSelected"))})})}setAsyncStaticSelectOptions(e,i){return S1(this,null,function*(){switch(e.adPropertyKey){case"model":let a=i.find(o=>o.adPropertyKey==="make").hits.filter(o=>o.count>0)[0].adPropertyValue;this.dataFilterService.getModelsForMake(a).pipe(_t(1)).subscribe(o=>(e.optionItems=o.map(s=>s),Promise.resolve(!0)));break;case"userId":this.dataFilterService.getAllUsers().pipe(_t(1)).subscribe(o=>(e.optionItems=o.filter(s=>s.role>kg.Conditioner).map(s=>{let l=s.email,u=l.indexOf("@"),h=l.substring(0,u);return s.email=h,s}),Promise.resolve(!0)));break}})}sendFilterDataToServer(e,i,r=!1,a=null){if((this.getFilteredValueCountSubs||this.getFilteredDocsSubs)&&(this.getFilteredValueCountSubs.unsubscribe(),this.getFilteredDocsSubs.unsubscribe()),!r)if(this.isFilterCountResult(i)){let o=this.dataFilterService.createFilterItem(e,i);this.dataFilterService.addFilterItem(o)}else{let o=this.dataFilterService.createRangeFilterItem(e,i);this.dataFilterService.addFilterItem(o)}this.startLoading.emit(!0),this.getFilteredDocsSubs=this.dataFilterService.getFilteredDocs(1,this.pageLimit,a,null,this.isSeller,this.showCachedData).pipe(_t(1)).subscribe(o=>{this.filteredDocsArrived.emit(o)}),this.getFilteredValueCountSubs=this.dataFilterService.getValueCountForFilteredDocuments(a,this.showCachedData,this.isSeller).pipe(_t(1)).subscribe(o=>{this.startLoading.emit(!1),this.dataFilterService.filterItems.length>0?this.filteredPropValCount=o[0].filteredPropValCount:this.filteredPropValCount=o[0].filteredPropValCount})}setsAreEqual(e,i){return xn.arrayEquals(e,i)}isFilterCountResult(e){return e&&e._id&&e.adPropertyKey&&e.description&&e.adPropertyValuesCount&&e.hits}static \u0275fac=function(i){return new(i||t)(ne(po),ne(Rc))};static \u0275cmp=j({type:t,selectors:[["lib-data-filter"]],viewQuery:function(i,r){if(i&1&&(de(lo,5),de(Nue,5)),i&2){let a;F(a=V())&&(r.tabGroup=a.first),F(a=V())&&(r.wrapper=a.first)}},inputs:{pageLimit:"pageLimit",tabAnimationDuration:"tabAnimationDuration",filterInitiallyHidden:"filterInitiallyHidden",userIdToEmailMappings:"userIdToEmailMappings"},outputs:{filteredDocsArrived:"filteredDocsArrived",startLoading:"startLoading"},standalone:!1,decls:4,vars:4,consts:[["wrapper",""],["adPropertyValuesCount0Template",""],["refdataTemplate",""],["refdataArrayTemplate",""],["firstReg",""],["literalType",""],["chipList",""],[1,"filter-wrapper",2,"overflow","hidden",3,"formGroup"],[3,"animationDuration",4,"ngIf"],["style","margin-top: 10px",4,"ngIf"],[3,"animationDuration"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["class","tabWrapper","style","display: flex; flex-flow: row wrap",4,"ngIf"],[4,"ngIf"],["style","display: flex; flex-flow: row wrap",4,"ngIf"],[1,"tabWrapper",2,"display","flex","flex-flow","row wrap"],["class","filter-form-item",4,"ngFor","ngForOf"],[1,"filter-form-item"],[3,"change","formControlName","name"],[4,"ngIf","ngIfElse"],[2,"color","red !important"],[2,"display","flex","flex-flow","row wrap"],[4,"ngFor","ngForOf"],[1,"color-form-field"],["aria-label","Farbe w\xE4hlen",3,"change","formControlName"],["class","color-radio",3,"value",4,"ngFor","ngForOf"],[1,"color-radio",3,"value"],[2,"text-align","center"],["style","color: red",4,"ngIf"],[2,"color","red"],[3,"selectionChange","formControlName"],[3,"value",4,"ngIf"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[2,"margin-top","10px"],["aria-label","Gesetzte Filter","fyLaxout","row wrap","color","accent",3,"selectable","multiple"],[3,"removable","selected","removed","selectionChange",4,"ngFor","ngForOf"],[3,"removed","removable","selectable"],["matChipRemove",""],[3,"removed","selectionChange","removable","selected"]],template:function(i,r){i&1&&(_(0,"div",7,0),K(2,L7e,3,4,"mat-tab-group",8)(3,F7e,8,5,"div",9),b()),i&2&&(w("@slideInOut",r.showDataFilter)("formGroup",r.dataForm),v(2),w("ngIf",r.orderedCountResults),v(),w("ngIf",r.dataFilterService.filterItems.length>0))},dependencies:[Xr,an,j1,U1,da,C2,lo,_1,fp,E2,Dp,xp,pE,Sp,v5,ac,w8,hr,j3,Lh,Rue],styles:[".filter-wrapper[_ngcontent-%COMP%]{overflow:hidden}.tabWrapper[_ngcontent-%COMP%]{margin-top:10px}.filter-form-item[_ngcontent-%COMP%], .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;width:250px}.color-form-field[_ngcontent-%COMP%]{min-width:100%;margin-top:10px;margin-bottom:10px}.color-field[_ngcontent-%COMP%]{width:60px;height:40px;border:1px solid #aaa;border-radius:3px}[_nghost-%COMP%]     .mat-radio-container{position:absolute!important;margin-left:29px!important;margin-top:20px}[_nghost-%COMP%]     .mat-radio-outer-circle{border:none!important}.WHITE[_ngcontent-%COMP%]{background:repeating-linear-gradient(45deg,#fff,#fff 10px,#efefef 10px 20px);color:#000}.PURPLE[_ngcontent-%COMP%]{background:purple}.SILVER[_ngcontent-%COMP%]{background:silver;color:#000}.BEIGE[_ngcontent-%COMP%]{background:beige;color:#000}.BLACK[_ngcontent-%COMP%]{background:#000;color:#fff}.GREEN[_ngcontent-%COMP%]{background:green}.RED[_ngcontent-%COMP%]{background:red}.BLUE[_ngcontent-%COMP%]{background:#00f}.GREY[_ngcontent-%COMP%]{background:gray}.NO_COLOR_SELECTED[_ngcontent-%COMP%]{background:repeating-linear-gradient(45deg,#fff,#fff 10px,tomato 10px,red 20px)}.mat-mdc-standard-chip[_ngcontent-%COMP%]{min-height:22px;font-size:11px}"],data:{animation:[on("slideInOut",[gr("in",qe({overflow:"hidden",height:"*"})),gr("out",qe({opacity:"0",overflow:"hidden",height:"0px"})),Mi("in => out",ei("400ms ease-in-out")),Mi("out => in",ei("400ms ease-in-out"))])]}})}return t})(),qL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[{provide:Vp,useValue:"de-DE"}],imports:[l0,Eg,ug,Ii,c0,Tp,An,Ap,zp,$i,Yn,I2,u0,Sc,k2,Ti,M2,Qp,b0,up,kc,cg,y0,hp,fa,vr,xg,s0,w0,q9,Dg,hg,Sg,Ep,l0,Eg,ug,Ii,c0,Tp,An,Ap,zp,$i,Yn,I2,u0,Sc,k2,Ti,M2,Qp,b0,up,kc,cg,y0,hp,fa,vr,xg,s0,w0,q9,Dg,hg,Sg,Ep]})}return t})(),Ig=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[po],imports:[Li,qL,U3]})}return t})(),V7e=(()=>{class t{httpClient;mobileDeLibConfig;constructor(e,i){this.httpClient=e,this.mobileDeLibConfig=i}getAllStores(){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}auth/stores/backend`)}updateStore(e){return this.httpClient.put(`${this.mobileDeLibConfig.apiServerBackend}auth/store/${e._id}`,e)}createStore(e){return this.httpClient.post(`${this.mobileDeLibConfig.apiServerBackend}auth/store`,e)}updateTemplateTexteAndAllAds(e,i){return this.httpClient.post(`${this.mobileDeLibConfig.apiServerBackend}mobile-de/template-texte/store-type/${i}`,{descriptionTextEnd:e})}getPlaceboImagesFtpNodesForMake(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}mobile-de/placebo-images/ftp/nodes/make/${e}`)}importPlaceboImagesDataForMake(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}mobile-de/placebo-images/import/make/${e}`)}getAllUsers(){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}auth/get/users`)}getUsersForStore(e){return this.httpClient.get(this.mobileDeLibConfig.apiServerBackend+"auth/users/store/"+e)}getUsersByRole(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}auth/users/role/${e}`)}changeUserStore(e,i){return this.httpClient.put(`${this.mobileDeLibConfig.apiServerBackend}auth/user/${e._id}`,{alias:i})}createUserWithStoreAlias(e){return this.httpClient.post(`${this.mobileDeLibConfig.apiServerBackend}auth/user`,e)}deleteUser(e){return this.httpClient.delete(`${this.mobileDeLibConfig.apiServerBackend}auth/user/${e._id}`)}updateUserEmail(e){return this.httpClient.put(`${this.mobileDeLibConfig.apiServerBackend}auth/user/email`,{email:e})}updateUserPassword(e){return this.httpClient.put(`${this.mobileDeLibConfig.apiServerBackend}auth/user/password`,{password:e})}updateUser(e){return this.httpClient.put(`${this.mobileDeLibConfig.apiServerBackend}auth/user`,e)}static \u0275fac=function(i){return new(i||t)(me(F1),me(Rc))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var KL=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:Rc,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:[V7e],imports:[Ig]})}return t})();var ZL=(()=>{class t{httpClient;mobileDeLibConfig;constructor(e,i){this.httpClient=e,this.mobileDeLibConfig=i}getManufacturerColorNamesForMake(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/manufacturer-color-names/make/${e}`)}getRefdata(e){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/${e}`)}getSiteIndependentRefdata(e,i=null){return i?ge({getRequest:this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/
					siteindependent/${e}`),featureCatObject:i}):this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/
				siteindependent/${e}`)}getRefDataForVehicleClass(e,i){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/
			${e}/${i}`)}getRefDataForVehicleClassAndMaker(e,i,r){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/
			${e}/${i}/${r}`)}getRefdataModels4Modelgroup(e,i,r){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}refdata/models/
			modelgroup/${e}/${i}/${r}`)}getRefdata4Model(e,i,r,a){return this.httpClient.get(`${this.mobileDeLibConfig.apiServerBackend}
			refdata/${e}/${i}/${r}/${a}`)}static \u0275fac=function(i){return new(i||t)(me(F1),me(Rc))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),D0=(function(t){return t[t.DESCENDING=-1]="DESCENDING",t[t.ASCENDING=1]="ASCENDING",t})(D0||{});var QL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[Li,qL,U3]})}return t})();var JZe=on("rowsAnimation",[Mi("void => *",[qe({height:"*",transform:"translateX(-550px)","box-shadow":"none"}),G3([ei(".85s ease",qe({height:"*",transform:"translateX(0)","box-shadow":"none"})),ei(".85s ease",qe({height:"*",opacity:1,transform:"translateX(0)"}))])])]),eQe=on("detailExpandAnimation",[gr("collapsed",qe({height:"0px",minHeight:"0",opacity:"0"})),gr("expanded",qe({height:"*",opacity:"1"})),Mi("expanded <=> collapsed",ei("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))]),tQe=on("showErrorAnimation",[gr("collapsed",qe({height:"0px",minHeight:"0",border:0})),gr("expanded",qe({height:"*",border:"1px red solid"})),Mi("expanded <=> collapsed",ei("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))]),iQe=on("listAnimation",[Mi("* => *",[_i(":leave",[L8(100,[ei("0.5s",qe({opacity:0}))])],{optional:!0}),_i(":enter",[qe({opacity:0}),L8(100,[ei("0.5s",qe({opacity:1}))])],{optional:!0})])]),nQe=on("enterAnimation",[Mi(":enter",[qe({}),ei("500ms",qe({}))]),Mi(":leave",[qe({transform:"translateX(0)",opacity:1}),ei("500ms",qe({transform:"translateX(100%)",opacity:0}))])]),XL=on("routeAnimations",[Mi("MasterPage <=> DetailPage",[qe({transform:"translateX(-100%)"}),ei("500ms ease-out",qe({transform:"translateX(0)"}))])]),rQe=on("routeAnimations",[Mi("MasterPage <=> DetailPage",[qe({position:"relative"}),_i(":enter, :leave",[qe({position:"absolute",top:0,left:0,width:"100%"})]),_i(":enter",[qe({left:"-100%"})]),_i(":leave",eo()),sc([_i(":leave",[ei("300ms ease-out",qe({left:"100%",opacity:0}))]),_i(":enter",[ei("300ms ease-out",qe({left:"0%"}))])]),_i(":enter",eo())])]),JL=on("fadeAnimation",[gr("in",qe({opacity:1})),Mi(":enter",[qe({opacity:0}),ei(300)])]),aQe=on("fadeHeightAnimation",[gr("in",qe({opacity:1,height:"100%"})),Mi(":enter",[qe({opacity:0,height:0}),ei(800)]),Mi(":leave",ei(800,qe({opacity:0,height:0})))]);function B7e(t,n){t&1&&(_(0,"div",7),ie(1,"mat-spinner"),b())}function H7e(t,n){if(t&1){let e=ke();_(0,"button",8),P("click",function(){Q(e);let r=E();return X(r.prevImage())}),_(1,"mat-icon"),D(2,"arrow_back"),b()()}}function j7e(t,n){if(t&1){let e=ke();_(0,"button",9),P("click",function(){Q(e);let r=E();return X(r.nextImage())}),_(1,"mat-icon"),D(2,"arrow_forward"),b()()}}var ek=(()=>{class t{dialogRef;data;dialog;theimages;theuri;selectedIndex;allImageUris;loading=!1;constructor(e,i,r){this.dialogRef=e,this.data=i,this.dialog=r,this.allImageUris=i.uris,this.selectedIndex=i.selectedIndex}ngOnInit(){}ngAfterViewInit(){this.theuri=this.allImageUris[this.selectedIndex],setTimeout(()=>{this.loading=!1},300)}prevImage(){this.setIndex("prev"),this.theuri=this.allImageUris[this.selectedIndex]}nextImage(){this.setIndex("next"),this.theuri=this.allImageUris[this.selectedIndex]}setIndex(e){e==="prev"&&this.selectedIndex--,e==="next"&&this.selectedIndex++,this.selectedIndex<0?this.selectedIndex=this.allImageUris.length-1:this.selectedIndex>this.allImageUris.length-1&&(this.selectedIndex=0)}static \u0275fac=function(i){return new(i||t)(ne(fo),ne(Dc),ne(br))};static \u0275cmp=j({type:t,selectors:[["lib-image-viewer-overlay"]],inputs:{theimages:"theimages"},standalone:!1,decls:8,vars:4,consts:[[1,"imageViewer",2,"position","relative"],["id","closeBtn",3,"click"],[2,"font-size","12px"],["class","haba-loading-shade",4,"ngIf"],["mat-icon-button","","id","prevImgBtn",3,"click",4,"ngIf"],[2,"object-fit","contain","max-width","700px",3,"src"],["mat-icon-button","","id","nextImgBtn",3,"click",4,"ngIf"],[1,"haba-loading-shade"],["mat-icon-button","","id","prevImgBtn",3,"click"],["mat-icon-button","","id","nextImgBtn",3,"click"]],template:function(i,r){i&1&&(_(0,"div",0)(1,"div",1),P("click",function(){return r.dialogRef.close()}),_(2,"mat-icon",2),D(3,"close"),b()(),K(4,B7e,2,0,"div",3)(5,H7e,3,0,"button",4),ie(6,"img",5),K(7,j7e,3,0,"button",6),b()),i&2&&(v(4),w("ngIf",r.loading),v(),w("ngIf",!r.loading&&r.allImageUris.length>1),v(),w("src",r.theuri,e2),v(),w("ngIf",!r.loading&&r.allImageUris.length>1))},dependencies:[an,j1,y1,ho],styles:["#prevImgBtn[_ngcontent-%COMP%]{position:absolute;left:5px;top:calc(50% - 20px);color:orange;z-index:100}#nextImgBtn[_ngcontent-%COMP%]{position:absolute;right:5px;top:calc(50% - 20px);color:orange;z-index:100}#closeBtn[_ngcontent-%COMP%]{position:absolute;top:-20px;right:-30px;z-index:100;color:orange;font-size:12px;cursor:pointer}.mat-button-wrapper[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{font-size:12px!important}"]})}return t})();var R5=class{tracker;columnIndex=0;rowIndex=0;get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}positions;update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(i=>this._trackTile(i))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Tg(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,i=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e);continue}i=this._findGapEndIndex(e),this.columnIndex=e+1}while(i-e<n||i==0);return Math.max(e,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let n=0;n<this.tracker.length;n++)this.tracker[n]=Math.max(0,this.tracker[n]-1)}_findGapEndIndex(n){for(let e=n+1;e<this.tracker.length;e++)if(this.tracker[e]!=0)return e;return this.tracker.length}_markTilePosition(n,e){for(let i=0;i<e.colspan;i++)this.tracker[n+i]=e.rowspan}},Tg=class{row;col;constructor(n,e){this.row=n,this.col=e}};var tk=["*"];var U7e=`.mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}
`,ik=new L("MAT_GRID_LIST"),Ng=(()=>{class t{_element=m(Y);_gridList=m(ik,{optional:!0});_rowspan=1;_colspan=1;constructor(){}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(sn(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(sn(e))}_setStyle(e,i){this._element.nativeElement.style[e]=i}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(i,r){i&2&&J("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:tk,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(i,r){i&1&&(Ae(),hi(0,"div",0),fe(1),pi())},styles:[`.mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}
`],encapsulation:2,changeDetection:0})}return t})();var G7e=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,E0=class{_gutterSize;_rows=0;_rowspan=0;_cols;_direction;init(n,e,i,r){this._gutterSize=nk(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":A2(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,i){let r=100/this._cols,a=(this._cols-1)/this._cols;this.setColStyles(n,i,r,a),this.setRowStyles(n,e,r,a)}setColStyles(n,e,i,r){let a=this.getBaseTileSize(i,r),o=this._direction==="rtl"?"right":"left";n._setStyle(o,this.getTilePosition(a,e)),n._setStyle("width",A2(this.getTileSize(a,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},Ag=class extends E0{fixedRowHeight;constructor(n){super(),this.fixedRowHeight=n}init(n,e,i,r){super.init(n,e,i,r),this.fixedRowHeight=nk(this.fixedRowHeight),G7e.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",A2(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",A2(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},zg=class extends E0{rowHeightRatio;baseTileHeight;constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,i,r){let a=i/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(a,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",A2(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",A2(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Rg=class extends E0{setRowStyles(n,e){let i=100/this._rowspan,r=(this._rows-1)/this._rows,a=this.getBaseTileSize(i,r);n._setStyle("top",this.getTilePosition(a,e)),n._setStyle("height",A2(this.getTileSize(a,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function A2(t){return`calc(${t})`}function nk(t){return t.match(/([A-Za-z%]+)$/)?t:`${t}px`}var W7e="fit",rk=(()=>{class t{_element=m(Y);_dir=m(At,{optional:!0});_cols;_tileCoordinator;_rowHeight;_gutter="1px";_tileStyler;_tiles;constructor(){}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(sn(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let i=`${e??""}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===W7e?this._tileStyler=new Rg:e&&e.indexOf(":")>-1?this._tileStyler=new zg(e):this._tileStyler=new Ag(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new R5);let e=this._tileCoordinator,i=this._tiles.filter(a=>!a._gridList||a._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,e,this.cols,r),i.forEach((a,o)=>{let s=e.positions[o];this._tileStyler.setStyle(a,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["mat-grid-list"]],contentQueries:function(i,r,a){if(i&1&&Pe(a,Ng,5),i&2){let o;F(o=V())&&(r._tiles=o)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(i,r){i&2&&J("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[Ie([{provide:ik,useExisting:t}])],ngContentSelectors:tk,decls:2,vars:0,template:function(i,r){i&1&&(Ae(),hi(0,"div"),fe(1),pi())},styles:[U7e],encapsulation:2,changeDetection:0})}return t})(),N5=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({imports:[Bp,ae,Bp,ae]})}return t})();var ak=(()=>{class t{element;host;constructor(e,i){this.element=e,this.host=i}elementVisible=new $;isTargetElement;inputTextFilter;intersectionOptions={root:null,rootMargin:"0px",threshold:[0,.5,1]};ngAfterViewInit(){let e=new IntersectionObserver(this.intersectionCallback.bind(this),this.intersectionOptions);this.isTargetElement&&e.observe(this.element.nativeElement)}intersectionCallback(e,i){e.forEach(r=>{console.log("entry:: ",r),r.intersectionRatio===1&&this.host.scrollingDown?this.elementVisible.emit(!0):this.elementVisible.emit(!1)})}static \u0275fac=function(i){return new(i||t)(ne(Y),ne(O5))};static \u0275dir=W({type:t,selectors:[["","appAmIVisible",""]],inputs:{isTargetElement:"isTargetElement",inputTextFilter:"inputTextFilter"},outputs:{elementVisible:"elementVisible"}})}return t})();var q7e=["scrollableContent"];function K7e(t,n){t&1&&(_(0,"div",9),ie(1,"mat-spinner"),b())}function Z7e(t,n){if(t&1){let e=ke();_(0,"button",10),P("click",function(){Q(e);let r=E();return X(r.prevImage())}),_(1,"mat-icon"),D(2,"arrow_back"),b()()}}function Q7e(t,n){if(t&1){let e=ke();_(0,"button",11),P("click",function(){Q(e);let r=E();return X(r.nextImage())}),_(1,"mat-icon"),D(2,"arrow_forward"),b()()}}function X7e(t,n){if(t&1){let e=ke();_(0,"div",12)(1,"div",13),P("click",function(){let r=Q(e).index,a=E();return X(a.showImage(r))}),b()()}}function J7e(t,n){if(t&1&&(_(0,"mat-option",31),D(1),b()),t&2){let e=n.$implicit;w("value",e),v(),oe(" ",e.description," ")}}function eme(t,n){if(t&1&&(_(0,"mat-option",31),D(1),b()),t&2){let e=n.$implicit;w("value",e),v(),oe(" ",e.description," ")}}function tme(t,n){if(t&1&&(_(0,"mat-option",31),D(1),b()),t&2){let e=n.$implicit;w("value",e),v(),oe(" ",e.description," ")}}function ime(t,n){if(t&1&&(_(0,"mat-option",31),D(1),b()),t&2){let e=n.$implicit;w("value",e),v(),oe(" ",e.description," ")}}var nme=["*"];var sk=(()=>{class t{theImages;theThumbImages;theuri;selectedIndex;allImageUris;loading=!1;scrollableContent;constructor(){console.log("ImageViewerComponent constructor")}ngOnInit(){this.allImageUris=this.theImages.map(e=>e.ref),this.selectedIndex=0}ngAfterViewInit(){this.theuri=this.allImageUris[this.selectedIndex],setTimeout(()=>{this.loading=!1},100),this.outlineForImageAtIndex(this.selectedIndex)}prevImage(){this.outlineForImageAtIndex(this.selectedIndex,!1),this.setIndex("prev"),this.theuri=this.allImageUris[this.selectedIndex],this.outlineForImageAtIndex(this.selectedIndex),this.scrollLeft()}nextImage(){this.outlineForImageAtIndex(this.selectedIndex,!1),this.setIndex("next"),this.theuri=this.allImageUris[this.selectedIndex],this.outlineForImageAtIndex(this.selectedIndex),this.scrollRight()}showImage(e){this.theuri=this.allImageUris[e],this.selectedIndex=e,this.selectedIndex<e?this.scrollRight():this.selectedIndex>e&&this.scrollLeft(),console.log("this.selectedIndex < index:",this.selectedIndex<e),this.outlineForImageAtIndex(this.selectedIndex,!1),this.outlineForImageAtIndex(e)}scrollRight(){this.scrollableContent.nativeElement.scrollTo({left:this.scrollableContent.nativeElement.scrollLeft+110,behavior:"smooth"})}scrollLeft(){this.scrollableContent.nativeElement.scrollTo({left:this.scrollableContent.nativeElement.scrollLeft-110,behavior:"smooth"})}scrollToEnd(){this.scrollableContent.nativeElement.scrollTo({left:this.scrollableContent.nativeElement.scrollWidth,behavior:"smooth"})}scrollToStart(){this.scrollableContent.nativeElement.scrollTo({left:0,behavior:"smooth"})}setIndex(e){e==="prev"&&this.selectedIndex>0&&this.selectedIndex--,e==="next"&&this.selectedIndex<this.allImageUris.length-1&&this.selectedIndex++}outlineForImageAtIndex(e,i=!0){let r=document.getElementById("img-"+e);r!==null&&(i?(r.style.outlineStyle="solid",r.style.outlineWidth="5px",r.style.outlineColor="#ad1624"):r.style.outlineWidth="0px")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["lib-image-viewer"]],viewQuery:function(i,r){if(i&1&&de(q7e,5,Y),i&2){let a;F(a=V())&&(r.scrollableContent=a.first)}},inputs:{theImages:"theImages",theThumbImages:"theThumbImages"},decls:9,vars:5,consts:[["scrollableContent",""],[1,"imageViewer",2,"position","relative"],["class","haba-loading-shade",4,"ngIf"],[1,"main-image-wrapper"],["mat-icon-button","","class","prevImgBtn",3,"click",4,"ngIf"],[2,"object-fit","contain","max-width","100%","min-width","100%",3,"src"],["mat-icon-button","","class","nextImgBtn",3,"click",4,"ngIf"],[1,"image-preview",2,"overflow","scroll","max-height","100px","display","flex","flex-direction","row"],["class","image-list-item",4,"ngFor","ngForOf"],[1,"haba-loading-shade"],["mat-icon-button","",1,"prevImgBtn",3,"click"],["mat-icon-button","",1,"nextImgBtn",3,"click"],[1,"image-list-item"],[3,"click"]],template:function(i,r){i&1&&(_(0,"div",1),K(1,K7e,2,0,"div",2),_(2,"div",3),K(3,Z7e,3,0,"button",4),ie(4,"img",5),K(5,Q7e,3,0,"button",6),b(),_(6,"div",7,0),K(8,X7e,2,0,"div",8),b()()),i&2&&(v(),w("ngIf",r.loading),v(2),w("ngIf",!r.loading&&r.allImageUris.length>1),v(),w("src",r.theuri,e2),v(),w("ngIf",!r.loading&&r.allImageUris.length>1),v(3),w("ngForOf",r.theThumbImages))},dependencies:[An,j1,fa,ho,Li,Xr,an,$i,y1],styles:[".prevImgBtn[_ngcontent-%COMP%]{position:absolute;left:10px;top:calc(50% - 80px);color:#fff;z-index:10;background:#0000001a;border:0}.nextImgBtn[_ngcontent-%COMP%]{position:absolute;right:10px;top:calc(50% - 80px);color:#fff;z-index:10;background:#0000001a;border:0}.closeBtn[_ngcontent-%COMP%]{position:absolute;top:5px;right:5px}.image-preview[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100px;margin:5px}.image-preview[_ngcontent-%COMP%]{overflow:scroll;max-height:100px;display:flex;flex-direction:row}"]})}return t})(),ck=(()=>{class t{refdataService;dataFilterService;dataForm=new Ja({make:new h1(""),model:new h1(""),fuel:new h1(""),gearbox:new h1(""),vehicleType:new h1(""),condition:new h1(""),offerType:new h1("")});fuels;makes;models;categories;priceMax=15e4;count=0;constructor(e,i){this.refdataService=e,this.dataFilterService=i}ngOnInit(){this.fuels=this.refdataService.getSiteIndependentRefdata("fuels"),this.makes=this.refdataService.getRefDataForVehicleClass("Car","makes"),this.categories=this.refdataService.getRefDataForVehicleClass("Car","categories")}changeView(e){console.log(e)}makeChanged(e){console.log(e),this.models=this.refdataService.getRefDataForVehicleClassAndMaker("Car",e.value.name,"models"),this.dataFilterService.addFilterItem({name:"make",value:e.value.name}),this.dataFilterService.getFilteredDocs(1,10).subscribe({next:i=>{console.log(i)}})}filterChanged(e){console.log(e)}toggleChange(e){let i=e.source;i&&e.value.some(r=>r==i.value)&&(i.buttonToggleGroup.value=[i.value])}static \u0275fac=function(i){return new(i||t)(ne(ZL),ne(po))};static \u0275cmp=j({type:t,selectors:[["lib-data-filter-express"]],inputs:{count:"count"},decls:72,vars:16,consts:[[1,"wrapper",2,"display","flex","flex-direction","row","flex-wrap","wrap","align-items","center","justify-content","left","gap","10px","position","relative",3,"formGroup"],[1,"counter-options"],[1,"view-type-controls"],[3,"click"],[1,"disabled",3,"click"],[1,"control-wrapper"],["multiple","","formControlName","condition",3,"change"],["value","NEW"],["value","USED"],["value","DEMONSTRATION"],["value","PRE_REGISTRATION"],["subscriptSizing","dynamic"],["formControlName","make",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["formControlName","model",3,"selectionChange"],["formControlName","fuel",3,"selectionChange"],["formControlName","category",3,"selectionChange"],[1,"control-wrapper",2,"display","flex","flex-direction","column"],["min","0","step","10","showTickMarks","","discrete","",3,"max"],["matSliderStartThumb","","value","0"],["matSliderEndThumb","",3,"value"],["min","0","max","400000","step","1000","showTickMarks","","discrete",""],["matSliderEndThumb","","value","1000000"],["multiple","","formControlName","gearbox",3,"change"],["value","MANUAL"],["value","SEMI_AUTOMATIC"],["value","AUTOMATIC"],["multiple","","formControlName","offerType",3,"change"],["value","cash"],["value","leasing"],["value","financing"],[3,"value"]],template:function(i,r){i&1&&(_(0,"div",0)(1,"div",1)(2,"span",2)(3,"a",3),P("click",function(){return r.changeView("normal")}),D(4,"Standart"),b(),D(5,"\xA0\xA0"),_(6,"a",4),P("click",function(){return r.changeView("trading-cards")}),D(7,"Trading Card"),b(),D(8," \xA0\xA0 "),b(),D(9),b(),_(10,"div",5)(11,"mat-button-toggle-group",6),P("change",function(o){return r.filterChanged(o),r.toggleChange(o)}),_(12,"mat-button-toggle",7),D(13,"Neuwagen"),b(),_(14,"mat-button-toggle",8),D(15,"Gebrauchtwagen"),b(),_(16,"mat-button-toggle",9),D(17,"Vorf\xFChrwagen"),b(),_(18,"mat-button-toggle",10),D(19,"Tagezulassung"),b()()(),_(20,"mat-form-field",11)(21,"mat-label"),D(22,"Marke"),b(),_(23,"mat-select",12),P("selectionChange",function(o){return r.makeChanged(o)}),K(24,J7e,2,2,"mat-option",13),Ye(25,"async"),b()(),_(26,"mat-form-field",11)(27,"mat-label"),D(28,"Modell"),b(),_(29,"mat-select",14),P("selectionChange",function(o){return r.filterChanged(o)}),K(30,eme,2,2,"mat-option",13),Ye(31,"async"),b()(),_(32,"mat-form-field",11)(33,"mat-label"),D(34,"Kraftstoff"),b(),_(35,"mat-select",15),P("selectionChange",function(o){return r.filterChanged(o)}),K(36,tme,2,2,"mat-option",13),Ye(37,"async"),b()(),_(38,"mat-form-field",11)(39,"mat-label"),D(40,"Fahrzeug Kategorie"),b(),_(41,"mat-select",16),P("selectionChange",function(o){return r.filterChanged(o)}),K(42,ime,2,2,"mat-option",13),Ye(43,"async"),b()(),_(44,"div",17)(45,"mat-label"),D(46,"Preis von/bis"),b(),_(47,"mat-slider",18),ie(48,"input",19)(49,"input",20),b()(),_(50,"div",17)(51,"mat-label"),D(52,"Km von/bis"),b(),_(53,"mat-slider",21),ie(54,"input",19)(55,"input",22),b()(),_(56,"div",5)(57,"mat-button-toggle-group",23),P("change",function(o){return r.filterChanged(o),r.toggleChange(o)}),_(58,"mat-button-toggle",24),D(59,"Manuell"),b(),_(60,"mat-button-toggle",25),D(61,"Halbautomatik"),b(),_(62,"mat-button-toggle",26),D(63,"Automatik"),b()()(),_(64,"div",5)(65,"mat-button-toggle-group",27),P("change",function(o){return r.filterChanged(o),r.toggleChange(o)}),_(66,"mat-button-toggle",28),D(67,"Barkauf"),b(),_(68,"mat-button-toggle",29),D(69,"Leasing"),b(),_(70,"mat-button-toggle",30),D(71,"Finanzierung"),b()()()()),i&2&&(w("formGroup",r.dataForm),v(9),oe("",r.count," Fahrzeuge gefunden "),v(15),w("ngForOf",ct(25,8,r.makes)),v(6),w("ngForOf",ct(31,10,r.models)),v(6),w("ngForOf",ct(37,12,r.fuels)),v(6),w("ngForOf",ct(43,14,r.categories)),v(5),w("max",r.priceMax),v(2),w("value",r.priceMax))},dependencies:[$i,An,U3,ac,w8,hr,j3,Yn,U1,da,I2,vr,E2,_1,k2,d0,wc,Li,Xr,y0,kL,dg,a2],styles:[".control-wrapper.slider[_ngcontent-%COMP%]{background:#0000001a;padding:10px 10px 0;border-bottom:1px solid black}.control-wrapper[_ngcontent-%COMP%]   mat-label[_ngcontent-%COMP%]{color:#bbb}mat-slider[_ngcontent-%COMP%]{width:180px}.counter-options[_ngcontent-%COMP%]{font-size:.8em;color:#666;padding:5px;position:absolute;bottom:0;right:0}.counter-options[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5943ed;cursor:pointer;text-decoration:underline}.counter-options[_ngcontent-%COMP%]   a.disabled[_ngcontent-%COMP%]{text-decoration:none}.view-type-controls[_ngcontent-%COMP%]{display:none}@media screen and (min-width: 910px){.view-type-controls[_ngcontent-%COMP%]{display:inline}}"]})}return t})(),lk=(()=>{class t{constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=j({type:t,selectors:[["popover-container"]],ngContentSelectors:nme,decls:2,vars:0,consts:[[1,"popover-container"]],template:function(i,r){i&1&&(Ae(),_(0,"div",0),fe(1),b())},dependencies:[Li],styles:[".popover-container[_ngcontent-%COMP%]{padding:20px;border-radius:0;box-shadow:0 2px 8px #0000004d;z-index:1000;background-color:#fff}"]})}return t})(),ok=(()=>{class t{state=new Mt(!1);constructor(){}getState(){return this.state.asObservable()}setState(e){return this.state.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),dk=(()=>{class t{elementRef;overlay;vcr;popoverService;overlayPositionBuilder;popoverTrigger;closeOnClickOutside=!0;originY="top";originX="start";overlayY="bottom";overlayX="start";unsubscribe=new N;overlayRef;constructor(e,i,r,a,o){this.elementRef=e,this.overlay=i,this.vcr=r,this.popoverService=a,this.overlayPositionBuilder=o}ngOnInit(){this.createOverlay(),this.popoverService.getState().subscribe(e=>{e&&this.detachOverlay()})}ngOnDestroy(){this.detachOverlay(),this.unsubscribe.next(void 0),this.unsubscribe.complete()}clickou(){this.attachOverlay()}createOverlay(){let e=this.overlay.scrollStrategies.block(),i=this.overlayPositionBuilder.flexibleConnectedTo(this.elementRef).withPositions([{originX:this.originX,overlayX:this.overlayX,originY:this.originY,overlayY:this.overlayY}]).withViewportMargin(0),r=this.overlay.create({positionStrategy:i});this.overlayRef=this.overlay.create({positionStrategy:i,scrollStrategy:e,hasBackdrop:!0,backdropClass:"haba-popover-backdrop"}),this.overlayRef.backdropClick().pipe(je(this.unsubscribe)).subscribe(()=>{this.closeOnClickOutside&&this.detachOverlay()})}attachOverlay(){if(!this.overlayRef.hasAttached()){let e=new cn(this.popoverTrigger,this.vcr);this.overlayRef.attach(e)}}detachOverlay(){this.overlayRef.hasAttached()&&this.overlayRef.detach()}static \u0275fac=function(i){return new(i||t)(ne(Y),ne(d5),ne(Tt),ne(ok),ne(l5))};static \u0275dir=W({type:t,selectors:[["","popoverTrigger",""]],hostBindings:function(i,r){i&1&&P("click",function(){return r.clickou()})},inputs:{popoverTrigger:"popoverTrigger",closeOnClickOutside:"closeOnClickOutside",originY:"originY",originX:"originX",overlayY:"overlayY",overlayX:"overlayX"},features:[Ie([ok])]})}return t})(),KQe=on("slideInOut",[Mi("MasterPage => DetailPage",[qe({position:"relative"}),_i(":enter, :leave",[qe({position:"absolute",top:0,left:0,width:"100%"})]),_i(":enter",[qe({left:"-100%"})],{optional:!0}),_i(":leave",eo(),{optional:!0}),sc([_i(":leave",[ei("900ms ease-out",qe({left:"100%"}))],{optional:!0}),_i(":enter",[ei("900ms ease-out",qe({left:"0%"}))],{optional:!0})])]),Mi("* <=> *",[qe({position:"relative"}),_i(":enter, :leave",[qe({position:"absolute",top:0,left:0,width:"100%"})],{optional:!0}),_i(":enter",[qe({left:"-100%"})],{optional:!0}),_i(":leave",eo(),{optional:!0}),sc([_i(":leave",[ei("900ms ease-out",qe({left:"100%",opacity:0}))],{optional:!0}),_i(":enter",[ei("900ms ease-out",qe({left:"0%"}))],{optional:!0}),_i("@*",eo(),{optional:!0})])])]);var Og=class{_document;_textarea;constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},uk=(()=>{class t{_document=m(_e);constructor(){}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new Og(e,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rme(t){return/^(http|https):\/\//.test(t)?t:(console.warn(`[ShareButtons]: Sharing link '${t}' is invalid!`),null)}function ame(){return document.defaultView.print()}function ome({params:t,data:n,clipboard:e,uiState:i}){e.copy(t.url),i.set({icon:n.successIcon,text:n.successText,disabled:!0}),setTimeout(()=>{i.set({icon:n.icon,text:n.text,disabled:!1})},n.delay)}var Fc=new L("SHARE_BUTTONS_CONFIG",{providedIn:"root",factory:()=>hk}),Pg=new L("SHARE_ICONS");function mk(...t){return t}function fk(t){return{provide:Fc,useValue:z(z({},hk),t)}}var Oc=(function(t){return t.Anchor="anchor",t.Window="window",t})(Oc||{}),hk={sharerMethod:Oc.Anchor,theme:"default",windowWidth:800,windowHeight:500,moreButtonIcon:["fas","ellipsis-h"],lessButtonIcon:["fas","minus"],moreButtonAriaLabel:"Show more share buttons",lessButtonAriaLabel:"Show less share buttons"},P5={description:t=>t.description?`${t.description}\r
${t.url}`:t.url},sme={type:"facebook",text:"Facebook",ariaLabel:"Share on Facebook",icon:["fab","facebook-f"],color:"#4267B2",share:{desktop:"https://facebook.com/sharer/sharer.php"},params:{url:"u"}},cme={type:"x",text:"X",ariaLabel:"Post on X",icon:["fab","x-twitter"],color:"#000",share:{desktop:"https://x.com/intent/post"},params:{url:"url",description:"text",tags:"hashtags",via:"via"}},lme={type:"linkedin",text:"LinkedIn",ariaLabel:"Share on LinkedIn",icon:["fab","linkedin-in"],color:"#0a66c2",share:{desktop:"https://www.linkedin.com/sharing/share-offsite"},params:{url:"url"}},dme={type:"pinterest",text:"Pinterest",ariaLabel:"Share on Pinterest",icon:["fab","pinterest-p"],color:"#e60023",share:{desktop:"https://pinterest.com/pin/create/button/"},params:{url:"url",description:"description",image:"media"}},ume={type:"reddit",text:"Reddit",ariaLabel:"Share on Reddit",icon:["fab","reddit-alien"],color:"#FF4006",share:{desktop:"https://www.reddit.com/submit"},params:{url:"url",title:"title"}},mme={type:"tumblr",text:"Tumblr",ariaLabel:"Share on Tumblr",icon:["fab","tumblr"],color:"#36465D",share:{desktop:"https://tumblr.com/widgets/share/tool"},params:{url:"canonicalUrl",description:"caption",tags:"tags"}},fme={type:"mix",text:"Mix",ariaLabel:"Share on Mix",icon:["fab","mix"],color:"#eb4924",share:{desktop:"https://mix.com/add"},params:{url:"url"}},hme={type:"viber",text:"Viber",ariaLabel:"Share on Viber",icon:["fab","viber"],color:"#665ca7",share:{android:"viber://forward",ios:"viber://forward"},params:{description:"text"},paramsFunc:P5,requiredParams:{description:!0}},pme={type:"vk",text:"VKontakte",ariaLabel:"Share on VKontakte",icon:["fab","vk"],color:"#4C75A3",share:{desktop:"https://vk.com/share.php"},params:{url:"url"}},gme={type:"telegram",text:"Telegram",ariaLabel:"Share on Telegram",icon:["fab","telegram-plane"],color:"#0088cc",share:{desktop:"https://t.me/share/url"},params:{url:"url",description:"text"}},_me={type:"messenger",text:"Messenger",ariaLabel:"Share on Messenger",icon:["fab","facebook-messenger"],color:"#168AFF",share:{desktop:"https://www.facebook.com/dialog/send",android:"fb-messenger://share/",ios:"fb-messenger://share/"},params:{url:"link",appId:"app_id",redirectUrl:"redirect_uri"}},vme={type:"whatsapp",text:"WhatsApp",ariaLabel:"Share on WhatsApp",icon:["fab","whatsapp"],color:"#25D366",share:{desktop:"https://api.whatsapp.com/send",android:"whatsapp://send",ios:"https://api.whatsapp.com/send"},params:{url:"link",description:"text"},requiredParams:{description:!0},paramsFunc:P5},bme={type:"xing",text:"Xing",ariaLabel:"Share on Xing",icon:["fab","xing"],color:"#006567",share:{desktop:"https://www.xing.com/spi/shares/new"},params:{url:"url"}},yme={type:"line",text:"Line",ariaLabel:"Share on Line",icon:["fab","line"],color:"#00b900",share:{desktop:"https://social-plugins.line.me/lineit/share"},params:{url:"url"}},Cme={type:"sms",text:"SMS",ariaLabel:"Share link via SMS",icon:["fas","sms"],color:"#20c16c",share:{desktop:"sms:",ios:"sms:&"},params:{description:"body"},paramsFunc:P5,requiredParams:{description:!0}},Mme={type:"email",text:"Email",ariaLabel:"Share link via email",icon:["fas","envelope"],color:"#FF961C",share:{desktop:"mailto:"},params:{title:"subject",description:"body"},paramsFunc:P5,requiredParams:{description:!0}},xme={type:"print",text:"Print",ariaLabel:"Print page",icon:["fas","print"],color:"#765AA2",func:ame},wme={type:"copy",text:"Copy link",ariaLabel:"Copy link",icon:["fas","link"],color:"#607D8B",data:{text:"Copy link",icon:["fas","link"],successText:"Copied",successIcon:["fas","check"],delay:2e3},func:ome},Pc={facebook:sme,x:cme,linkedin:lme,pinterest:dme,reddit:ume,tumblr:mme,mix:fme,viber:hme,vk:pme,telegram:gme,messenger:_me,whatsapp:vme,xing:bme,line:yme,sms:Cme,email:Mme,print:xme,copy:wme},Dme=(()=>{let n=class n{constructor(){this.document=m(_e),this.icons=m(Pg,{optional:!0}),this.meta=m(sw),this.platform=m(Ge),this.clipboard=m(uk)}getMetaTagContent(i){let r=this.meta.getTag(`property="${i}"`),a=this.meta.getTag(`name="${i}"`);return(r||a)?.getAttribute("content")??null}getComputedUrl(i){return rme(i||this.getMetaTagContent("og:url")||this.document.location.href)}getComputedParams(i){return i.url?{title:i.title,description:i.description,image:i.image,tags:i.tags,via:i.via,url:this.getComputedUrl(i.url),appId:i.appId||this.getMetaTagContent("fb:app_id"),redirectUrl:i.redirectUrl||this.document.location.href}:{title:i.title||this.getMetaTagContent("og:title"),description:i.description||this.getMetaTagContent("og:description"),image:i.image||this.getMetaTagContent("og:image"),tags:i.tags,via:i.via,url:this.getComputedUrl(i.url),appId:i.appId||this.getMetaTagContent("fb:app_id"),redirectUrl:i.redirectUrl||this.document.location.href}}getComputedUrlParams(i,r){let a=this.getComputedParams(r);return Object.entries(i.params).reduce((o,[s,l])=>{if(i.requiredParams&&i.requiredParams[s]||a[s]){let u=i.paramsFunc?.[s];o[l]=u?u(a):a[s]}return o},{})}getShareButtonInstance(i,r){let a=r?z(z({},Pc[i]),r):Pc[i];if(a)return a;throw new Error(`[ShareButtons]: The share button '${a}' does not exist!`)}share(i,r){let a;this.platform.IOS&&i.share.ios?a=i.share.ios:this.platform.ANDROID&&i.share.android?a=i.share.android:a=i.share.desktop;let o=this.getComputedUrlParams(i,r.params);if(a)switch(r.method){case Oc.Anchor:this.openViaAnchor({params:o,url:a,target:r.target},r.debug);break;case Oc.Window:this.openViaWindow({params:o,url:a,target:r.target},r.windowOptions,r.debug);break}}open(i){let r=this.getShareButtonInstance(i.name,i.props);this.openInstance(i,r)}openInstance(i,r){r.share?this.share(r,i):r.func({params:this.getComputedParams(i.params),data:r.data,clipboard:this.clipboard,uiState:i.uiState})}openViaWindow(i,r,a){let o=`${i.url}?${new m1({fromObject:i.params}).toString()}`;a&&console.log("[SHARE BUTTONS]: open link via window",o);let s=r?.windowObj||this.document.defaultView;(s?.[r?.openFunc]||this.document.defaultView.open)(o,i.target??"_blank",`width=${r?.width||800}, height=${r?.height||500}`),s.opener??=null}openViaAnchor(i,r){let a=`${i.url}?${new m1({fromObject:i.params}).toString()}`;r&&console.log("[SHARE BUTTONS]: open link via anchor",a);let o=this.document.createElement("a");o.setAttribute("target",i.target??"_blank"),o.setAttribute("rel","noopener noreferrer"),o.href=a,o.click(),o.remove()}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=A({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})(),Sme=new L("SHARE_BUTTONS_PROP",{providedIn:"root",factory:()=>Pc});var pk=(()=>{let n=class n{constructor(){this.shareButtonsProps=m(Sme),this.options=m(Fc),this.shareService=m(Dme),this.nativeElement=m(Y).nativeElement,this.uiState=Te({}),this.color=ui(()=>this.shareButtonInstance().color),this.text=ui(()=>this.uiState().text),this.icon=ui(()=>this.uiState().icon),this.disabled=ui(()=>this.uiState().disabled),this.shareButton=ut.required(),this.shareButtonInstance=ui(()=>{let i=this.shareButton(),r=this.shareButtonsProps[i];if(r)return r;throw new Error(`[ShareButtons]: The share button '${r}' does not exist!`)}),this.title=ut(),this.description=ut(),this.image=ut(),this.tags=ut(),this.redirectUrl=ut(),this.url=ut(),this.opened=n2(),O1(()=>{let i=this.shareButtonInstance();di(()=>{this.uiState.set({icon:i.icon,text:i.text,disabled:!1})})}),O1(()=>{this.nativeElement.toggleAttribute("disabled",this.uiState().disabled)})}share(){this.shareService.openInstance({params:{url:this.url(),title:this.title(),description:this.description(),image:this.image(),tags:this.tags(),redirectUrl:this.redirectUrl()},target:this.options.sharerTarget,debug:this.options.debug,method:this.options.sharerMethod,uiState:this.uiState},this.shareButtonInstance()),this.opened.emit(this.shareButton())}};n.\u0275fac=function(r){return new(r||n)},n.\u0275dir=W({type:n,selectors:[["","shareButton",""]],hostVars:3,hostBindings:function(r,a){r&1&&P("click",function(){return a.share()}),r&2&&(J("aria-label",a.shareButtonInstance().ariaLabel),gi("--button-color",a.color()))},inputs:{shareButton:[1,"shareButton"],title:[1,"title"],description:[1,"description"],image:[1,"image"],tags:[1,"tags"],redirectUrl:[1,"redirectUrl"],url:[1,"url"]},outputs:{opened:"opened"},exportAs:["shareButton"]});let t=n;return t})();function Eme(t,n,e){return(n=kme(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function gk(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,i)}return e}function se(t){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?gk(Object(e),!0).forEach(function(i){Eme(t,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):gk(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))})}return t}function Lme(t,n){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,n||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function kme(t){var n=Lme(t,"string");return typeof n=="symbol"?n:n+""}var _k=()=>{},o_={},Uk={},Gk=null,Wk={mark:_k,measure:_k};try{typeof window<"u"&&(o_=window),typeof document<"u"&&(Uk=document),typeof MutationObserver<"u"&&(Gk=MutationObserver),typeof performance<"u"&&(Wk=performance)}catch{}var{userAgent:vk=""}=o_.navigator||{},_o=o_,ci=Uk,bk=Gk,F5=Wk,pXe=!!_o.document,ga=!!ci.documentElement&&!!ci.head&&typeof ci.addEventListener=="function"&&typeof ci.createElement=="function",$k=~vk.indexOf("MSIE")||~vk.indexOf("Trident/"),Ime=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Tme=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Yk={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Ame={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},qk=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],un="classic",G5="duotone",zme="sharp",Rme="sharp-duotone",Kk=[un,G5,zme,Rme],Nme={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Ome={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Pme=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Fme={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},Vme=["fak","fa-kit","fakd","fa-kit-duotone"],yk={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Bme=["kit"],Hme={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},jme=["fak","fakd"],Ume={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Ck={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},V5={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Gme=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Wme=["fak","fa-kit","fakd","fa-kit-duotone"],$me={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Yme={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},qme={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Ug={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Kme=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Gg=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Gme,...Kme],Zme=["solid","regular","light","thin","duotone","brands"],Zk=[1,2,3,4,5,6,7,8,9,10],Qme=Zk.concat([11,12,13,14,15,16,17,18,19,20]),Xme=[...Object.keys(qme),...Zme,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",V5.GROUP,V5.SWAP_OPACITY,V5.PRIMARY,V5.SECONDARY].concat(Zk.map(t=>"".concat(t,"x"))).concat(Qme.map(t=>"w-".concat(t))),Jme={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},ha="___FONT_AWESOME___",Wg=16,Qk="fa",Xk="svg-inline--fa",R2="data-fa-i2svg",$g="data-fa-pseudo-element",efe="data-fa-pseudo-element-pending",s_="data-prefix",c_="data-icon",Mk="fontawesome-i2svg",tfe="async",ife=["HTML","HEAD","STYLE","SCRIPT"],Jk=(()=>{try{return!0}catch{return!1}})();function z0(t){return new Proxy(t,{get(n,e){return e in n?n[e]:n[un]}})}var eI=se({},Yk);eI[un]=se(se(se(se({},{"fa-duotone":"duotone"}),Yk[un]),yk.kit),yk["kit-duotone"]);var nfe=z0(eI),Yg=se({},Fme);Yg[un]=se(se(se(se({},{duotone:"fad"}),Yg[un]),Ck.kit),Ck["kit-duotone"]);var xk=z0(Yg),qg=se({},Ug);qg[un]=se(se({},qg[un]),Ume.kit);var l_=z0(qg),Kg=se({},Yme);Kg[un]=se(se({},Kg[un]),Hme.kit);var gXe=z0(Kg),rfe=Ime,tI="fa-layers-text",afe=Tme,ofe=se({},Nme),_Xe=z0(ofe),sfe=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Fg=Ame,cfe=[...Bme,...Xme],k0=_o.FontAwesomeConfig||{};function lfe(t){var n=ci.querySelector("script["+t+"]");if(n)return n.getAttribute(t)}function dfe(t){return t===""?!0:t==="false"?!1:t==="true"?!0:t}ci&&typeof ci.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(n=>{let[e,i]=n,r=dfe(lfe(e));r!=null&&(k0[i]=r)});var iI={styleDefault:"solid",familyDefault:un,cssPrefix:Qk,replacementClass:Xk,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};k0.familyPrefix&&(k0.cssPrefix=k0.familyPrefix);var Hc=se(se({},iI),k0);Hc.autoReplaceSvg||(Hc.observeMutations=!1);var Re={};Object.keys(iI).forEach(t=>{Object.defineProperty(Re,t,{enumerable:!0,set:function(n){Hc[t]=n,I0.forEach(e=>e(Re))},get:function(){return Hc[t]}})});Object.defineProperty(Re,"familyPrefix",{enumerable:!0,set:function(t){Hc.cssPrefix=t,I0.forEach(n=>n(Re))},get:function(){return Hc.cssPrefix}});_o.FontAwesomeConfig=Re;var I0=[];function ufe(t){return I0.push(t),()=>{I0.splice(I0.indexOf(t),1)}}var go=Wg,yr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function mfe(t){if(!t||!ga)return;let n=ci.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=t;let e=ci.head.childNodes,i=null;for(let r=e.length-1;r>-1;r--){let a=e[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=a)}return ci.head.insertBefore(n,i),t}var ffe="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function T0(){let t=12,n="";for(;t-- >0;)n+=ffe[Math.random()*62|0];return n}function jc(t){let n=[];for(let e=(t||[]).length>>>0;e--;)n[e]=t[e];return n}function d_(t){return t.classList?jc(t.classList):(t.getAttribute("class")||"").split(" ").filter(n=>n)}function nI(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function hfe(t){return Object.keys(t||{}).reduce((n,e)=>n+"".concat(e,'="').concat(nI(t[e]),'" '),"").trim()}function W5(t){return Object.keys(t||{}).reduce((n,e)=>n+"".concat(e,": ").concat(t[e].trim(),";"),"")}function u_(t){return t.size!==yr.size||t.x!==yr.x||t.y!==yr.y||t.rotate!==yr.rotate||t.flipX||t.flipY}function pfe(t){let{transform:n,containerWidth:e,iconWidth:i}=t,r={transform:"translate(".concat(e/2," 256)")},a="translate(".concat(n.x*32,", ").concat(n.y*32,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(s)},u={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:l,path:u}}function gfe(t){let{transform:n,width:e=Wg,height:i=Wg,startCentered:r=!1}=t,a="";return r&&$k?a+="translate(".concat(n.x/go-e/2,"em, ").concat(n.y/go-i/2,"em) "):r?a+="translate(calc(-50% + ".concat(n.x/go,"em), calc(-50% + ").concat(n.y/go,"em)) "):a+="translate(".concat(n.x/go,"em, ").concat(n.y/go,"em) "),a+="scale(".concat(n.size/go*(n.flipX?-1:1),", ").concat(n.size/go*(n.flipY?-1:1),") "),a+="rotate(".concat(n.rotate,"deg) "),a}var _fe=`:root, :host {
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
}

svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
  overflow: visible;
  box-sizing: content-box;
}

.svg-inline--fa {
  display: var(--fa-display, inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.svg-inline--fa.fa-2xs {
  vertical-align: 0.1em;
}
.svg-inline--fa.fa-xs {
  vertical-align: 0em;
}
.svg-inline--fa.fa-sm {
  vertical-align: -0.0714285705em;
}
.svg-inline--fa.fa-lg {
  vertical-align: -0.2em;
}
.svg-inline--fa.fa-xl {
  vertical-align: -0.25em;
}
.svg-inline--fa.fa-2xl {
  vertical-align: -0.3125em;
}
.svg-inline--fa.fa-pull-left {
  margin-right: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-pull-right {
  margin-left: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-li {
  width: var(--fa-li-width, 2em);
  top: 0.25em;
}
.svg-inline--fa.fa-fw {
  width: var(--fa-fw-width, 1.25em);
}

.fa-layers svg.svg-inline--fa {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.fa-layers-counter, .fa-layers-text {
  display: inline-block;
  position: absolute;
  text-align: center;
}

.fa-layers {
  display: inline-block;
  height: 1em;
  position: relative;
  text-align: center;
  vertical-align: -0.125em;
  width: 1em;
}
.fa-layers svg.svg-inline--fa {
  transform-origin: center center;
}

.fa-layers-text {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.fa-layers-counter {
  background-color: var(--fa-counter-background-color, #ff253a);
  border-radius: var(--fa-counter-border-radius, 1em);
  box-sizing: border-box;
  color: var(--fa-inverse, #fff);
  line-height: var(--fa-counter-line-height, 1);
  max-width: var(--fa-counter-max-width, 5em);
  min-width: var(--fa-counter-min-width, 1.5em);
  overflow: hidden;
  padding: var(--fa-counter-padding, 0.25em 0.5em);
  right: var(--fa-right, 0);
  text-overflow: ellipsis;
  top: var(--fa-top, 0);
  transform: scale(var(--fa-counter-scale, 0.25));
  transform-origin: top right;
}

.fa-layers-bottom-right {
  bottom: var(--fa-bottom, 0);
  right: var(--fa-right, 0);
  top: auto;
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: bottom right;
}

.fa-layers-bottom-left {
  bottom: var(--fa-bottom, 0);
  left: var(--fa-left, 0);
  right: auto;
  top: auto;
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: bottom left;
}

.fa-layers-top-right {
  top: var(--fa-top, 0);
  right: var(--fa-right, 0);
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: top right;
}

.fa-layers-top-left {
  left: var(--fa-left, 0);
  right: auto;
  top: var(--fa-top, 0);
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: top left;
}

.fa-1x {
  font-size: 1em;
}

.fa-2x {
  font-size: 2em;
}

.fa-3x {
  font-size: 3em;
}

.fa-4x {
  font-size: 4em;
}

.fa-5x {
  font-size: 5em;
}

.fa-6x {
  font-size: 6em;
}

.fa-7x {
  font-size: 7em;
}

.fa-8x {
  font-size: 8em;
}

.fa-9x {
  font-size: 9em;
}

.fa-10x {
  font-size: 10em;
}

.fa-2xs {
  font-size: 0.625em;
  line-height: 0.1em;
  vertical-align: 0.225em;
}

.fa-xs {
  font-size: 0.75em;
  line-height: 0.0833333337em;
  vertical-align: 0.125em;
}

.fa-sm {
  font-size: 0.875em;
  line-height: 0.0714285718em;
  vertical-align: 0.0535714295em;
}

.fa-lg {
  font-size: 1.25em;
  line-height: 0.05em;
  vertical-align: -0.075em;
}

.fa-xl {
  font-size: 1.5em;
  line-height: 0.0416666682em;
  vertical-align: -0.125em;
}

.fa-2xl {
  font-size: 2em;
  line-height: 0.03125em;
  vertical-align: -0.1875em;
}

.fa-fw {
  text-align: center;
  width: 1.25em;
}

.fa-ul {
  list-style-type: none;
  margin-left: var(--fa-li-margin, 2.5em);
  padding-left: 0;
}
.fa-ul > li {
  position: relative;
}

.fa-li {
  left: calc(-1 * var(--fa-li-width, 2em));
  position: absolute;
  text-align: center;
  width: var(--fa-li-width, 2em);
  line-height: inherit;
}

.fa-border {
  border-color: var(--fa-border-color, #eee);
  border-radius: var(--fa-border-radius, 0.1em);
  border-style: var(--fa-border-style, solid);
  border-width: var(--fa-border-width, 0.08em);
  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
}

.fa-pull-left {
  float: left;
  margin-right: var(--fa-pull-margin, 0.3em);
}

.fa-pull-right {
  float: right;
  margin-left: var(--fa-pull-margin, 0.3em);
}

.fa-beat {
  animation-name: fa-beat;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-bounce {
  animation-name: fa-bounce;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
}

.fa-fade {
  animation-name: fa-fade;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-beat-fade {
  animation-name: fa-beat-fade;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-flip {
  animation-name: fa-flip;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-shake {
  animation-name: fa-shake;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin {
  animation-name: fa-spin;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 2s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin-reverse {
  --fa-animation-direction: reverse;
}

.fa-pulse,
.fa-spin-pulse {
  animation-name: fa-spin;
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, steps(8));
}

@media (prefers-reduced-motion: reduce) {
  .fa-beat,
.fa-bounce,
.fa-fade,
.fa-beat-fade,
.fa-flip,
.fa-pulse,
.fa-shake,
.fa-spin,
.fa-spin-pulse {
    animation-delay: -1ms;
    animation-duration: 1ms;
    animation-iteration-count: 1;
    transition-delay: 0s;
    transition-duration: 0s;
  }
}
@keyframes fa-beat {
  0%, 90% {
    transform: scale(1);
  }
  45% {
    transform: scale(var(--fa-beat-scale, 1.25));
  }
}
@keyframes fa-bounce {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
  }
  30% {
    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
  }
  50% {
    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
  }
  64% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}
@keyframes fa-fade {
  50% {
    opacity: var(--fa-fade-opacity, 0.4);
  }
}
@keyframes fa-beat-fade {
  0%, 100% {
    opacity: var(--fa-beat-fade-opacity, 0.4);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(var(--fa-beat-fade-scale, 1.125));
  }
}
@keyframes fa-flip {
  50% {
    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
  }
}
@keyframes fa-shake {
  0% {
    transform: rotate(-15deg);
  }
  4% {
    transform: rotate(15deg);
  }
  8%, 24% {
    transform: rotate(-18deg);
  }
  12%, 28% {
    transform: rotate(18deg);
  }
  16% {
    transform: rotate(-22deg);
  }
  20% {
    transform: rotate(22deg);
  }
  32% {
    transform: rotate(-12deg);
  }
  36% {
    transform: rotate(12deg);
  }
  40%, 100% {
    transform: rotate(0deg);
  }
}
@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.fa-rotate-90 {
  transform: rotate(90deg);
}

.fa-rotate-180 {
  transform: rotate(180deg);
}

.fa-rotate-270 {
  transform: rotate(270deg);
}

.fa-flip-horizontal {
  transform: scale(-1, 1);
}

.fa-flip-vertical {
  transform: scale(1, -1);
}

.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
  transform: scale(-1, -1);
}

.fa-rotate-by {
  transform: rotate(var(--fa-rotate-angle, 0));
}

.fa-stack {
  display: inline-block;
  vertical-align: middle;
  height: 2em;
  position: relative;
  width: 2.5em;
}

.fa-stack-1x,
.fa-stack-2x {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: var(--fa-stack-z-index, auto);
}

.svg-inline--fa.fa-stack-1x {
  height: 1em;
  width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
  height: 2em;
  width: 2.5em;
}

.fa-inverse {
  color: var(--fa-inverse, #fff);
}

.sr-only,
.fa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:not(:focus),
.fa-sr-only-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.svg-inline--fa .fa-primary {
  fill: var(--fa-primary-color, currentColor);
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa .fa-secondary {
  fill: var(--fa-secondary-color, currentColor);
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-primary {
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-secondary {
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
  fill: black;
}`;function rI(){let t=Qk,n=Xk,e=Re.cssPrefix,i=Re.replacementClass,r=_fe;if(e!==t||i!==n){let a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");r=r.replace(a,".".concat(e,"-")).replace(o,"--".concat(e,"-")).replace(s,".".concat(i))}return r}var wk=!1;function Vg(){Re.autoAddCss&&!wk&&(mfe(rI()),wk=!0)}var vfe={mixout(){return{dom:{css:rI,insertCss:Vg}}},hooks(){return{beforeDOMElementCreation(){Vg()},beforeI2svg(){Vg()}}}},pa=_o||{};pa[ha]||(pa[ha]={});pa[ha].styles||(pa[ha].styles={});pa[ha].hooks||(pa[ha].hooks={});pa[ha].shims||(pa[ha].shims=[]);var Cr=pa[ha],aI=[],oI=function(){ci.removeEventListener("DOMContentLoaded",oI),j5=1,aI.map(t=>t())},j5=!1;ga&&(j5=(ci.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ci.readyState),j5||ci.addEventListener("DOMContentLoaded",oI));function bfe(t){ga&&(j5?setTimeout(t,0):aI.push(t))}function R0(t){let{tag:n,attributes:e={},children:i=[]}=t;return typeof t=="string"?nI(t):"<".concat(n," ").concat(hfe(e),">").concat(i.map(R0).join(""),"</").concat(n,">")}function Dk(t,n,e){if(t&&t[n]&&t[n][e])return{prefix:n,iconName:e,icon:t[n][e]}}var yfe=function(n,e){return function(i,r,a,o){return n.call(e,i,r,a,o)}},Bg=function(n,e,i,r){var a=Object.keys(n),o=a.length,s=r!==void 0?yfe(e,r):e,l,u,h;for(i===void 0?(l=1,h=n[a[0]]):(l=0,h=i);l<o;l++)u=a[l],h=s(h,n[u],u,n);return h};function Cfe(t){let n=[],e=0,i=t.length;for(;e<i;){let r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<i){let a=t.charCodeAt(e++);(a&64512)==56320?n.push(((r&1023)<<10)+(a&1023)+65536):(n.push(r),e--)}else n.push(r)}return n}function Zg(t){let n=Cfe(t);return n.length===1?n[0].toString(16):null}function Mfe(t,n){let e=t.length,i=t.charCodeAt(n),r;return i>=55296&&i<=56319&&e>n+1&&(r=t.charCodeAt(n+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function Sk(t){return Object.keys(t).reduce((n,e)=>{let i=t[e];return!!i.icon?n[i.iconName]=i.icon:n[e]=i,n},{})}function Qg(t,n){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:i=!1}=e,r=Sk(n);typeof Cr.hooks.addPack=="function"&&!i?Cr.hooks.addPack(t,Sk(n)):Cr.styles[t]=se(se({},Cr.styles[t]||{}),r),t==="fas"&&Qg("fa",n)}var{styles:A0,shims:xfe}=Cr,sI=Object.keys(l_),wfe=sI.reduce((t,n)=>(t[n]=Object.keys(l_[n]),t),{}),m_=null,cI={},lI={},dI={},uI={},mI={};function Dfe(t){return~cfe.indexOf(t)}function Sfe(t,n){let e=n.split("-"),i=e[0],r=e.slice(1).join("-");return i===t&&r!==""&&!Dfe(r)?r:null}var fI=()=>{let t=i=>Bg(A0,(r,a,o)=>(r[o]=Bg(a,i,{}),r),{});cI=t((i,r,a)=>(r[3]&&(i[r[3]]=a),r[2]&&r[2].filter(s=>typeof s=="number").forEach(s=>{i[s.toString(16)]=a}),i)),lI=t((i,r,a)=>(i[a]=a,r[2]&&r[2].filter(s=>typeof s=="string").forEach(s=>{i[s]=a}),i)),mI=t((i,r,a)=>{let o=r[2];return i[a]=a,o.forEach(s=>{i[s]=a}),i});let n="far"in A0||Re.autoFetchSvg,e=Bg(xfe,(i,r)=>{let a=r[0],o=r[1],s=r[2];return o==="far"&&!n&&(o="fas"),typeof a=="string"&&(i.names[a]={prefix:o,iconName:s}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:o,iconName:s}),i},{names:{},unicodes:{}});dI=e.names,uI=e.unicodes,m_=$5(Re.styleDefault,{family:Re.familyDefault})};ufe(t=>{m_=$5(t.styleDefault,{family:Re.familyDefault})});fI();function f_(t,n){return(cI[t]||{})[n]}function Efe(t,n){return(lI[t]||{})[n]}function z2(t,n){return(mI[t]||{})[n]}function hI(t){return dI[t]||{prefix:null,iconName:null}}function Lfe(t){let n=uI[t],e=f_("fas",t);return n||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}function vo(){return m_}var pI=()=>({prefix:null,iconName:null,rest:[]});function kfe(t){let n=un,e=sI.reduce((i,r)=>(i[r]="".concat(Re.cssPrefix,"-").concat(r),i),{});return Kk.forEach(i=>{(t.includes(e[i])||t.some(r=>wfe[i].includes(r)))&&(n=i)}),n}function $5(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:e=un}=n,i=nfe[e][t];if(e===G5&&!t)return"fad";let r=xk[e][t]||xk[e][i],a=t in Cr.styles?t:null;return r||a||null}function Ife(t){let n=[],e=null;return t.forEach(i=>{let r=Sfe(Re.cssPrefix,i);r?e=r:i&&n.push(i)}),{iconName:e,rest:n}}function Ek(t){return t.sort().filter((n,e,i)=>i.indexOf(n)===e)}function Y5(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:e=!1}=n,i=null,r=Gg.concat(Wme),a=Ek(t.filter(g=>r.includes(g))),o=Ek(t.filter(g=>!Gg.includes(g))),s=a.filter(g=>(i=g,!qk.includes(g))),[l=null]=s,u=kfe(a),h=se(se({},Ife(o)),{},{prefix:$5(l,{family:u})});return se(se(se({},h),Rfe({values:t,family:u,styles:A0,config:Re,canonical:h,givenPrefix:i})),Tfe(e,i,h))}function Tfe(t,n,e){let{prefix:i,iconName:r}=e;if(t||!i||!r)return{prefix:i,iconName:r};let a=n==="fa"?hI(r):{},o=z2(i,r);return r=a.iconName||o||r,i=a.prefix||i,i==="far"&&!A0.far&&A0.fas&&!Re.autoFetchSvg&&(i="fas"),{prefix:i,iconName:r}}var Afe=Kk.filter(t=>t!==un||t!==G5),zfe=Object.keys(Ug).filter(t=>t!==un).map(t=>Object.keys(Ug[t])).flat();function Rfe(t){let{values:n,family:e,canonical:i,givenPrefix:r="",styles:a={},config:o={}}=t,s=e===G5,l=n.includes("fa-duotone")||n.includes("fad"),u=o.familyDefault==="duotone",h=i.prefix==="fad"||i.prefix==="fa-duotone";if(!s&&(l||u||h)&&(i.prefix="fad"),(n.includes("fa-brands")||n.includes("fab"))&&(i.prefix="fab"),!i.prefix&&Afe.includes(e)&&(Object.keys(a).find(C=>zfe.includes(C))||o.autoFetchSvg)){let C=Pme.get(e).defaultShortPrefixId;i.prefix=C,i.iconName=z2(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||r==="fa")&&(i.prefix=vo()||"fas"),i}var Xg=class{constructor(){this.definitions={}}add(){for(var n=arguments.length,e=new Array(n),i=0;i<n;i++)e[i]=arguments[i];let r=e.reduce(this._pullDefinitions,{});Object.keys(r).forEach(a=>{this.definitions[a]=se(se({},this.definitions[a]||{}),r[a]),Qg(a,r[a]);let o=l_[un][a];o&&Qg(o,r[a]),fI()})}reset(){this.definitions={}}_pullDefinitions(n,e){let i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map(r=>{let{prefix:a,iconName:o,icon:s}=i[r],l=s[2];n[a]||(n[a]={}),l.length>0&&l.forEach(u=>{typeof u=="string"&&(n[a][u]=s)}),n[a][o]=s}),n}},Lk=[],Vc={},Bc={},Nfe=Object.keys(Bc);function Ofe(t,n){let{mixoutsTo:e}=n;return Lk=t,Vc={},Object.keys(Bc).forEach(i=>{Nfe.indexOf(i)===-1&&delete Bc[i]}),Lk.forEach(i=>{let r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(a=>{typeof r[a]=="function"&&(e[a]=r[a]),typeof r[a]=="object"&&Object.keys(r[a]).forEach(o=>{e[a]||(e[a]={}),e[a][o]=r[a][o]})}),i.hooks){let a=i.hooks();Object.keys(a).forEach(o=>{Vc[o]||(Vc[o]=[]),Vc[o].push(a[o])})}i.provides&&i.provides(Bc)}),e}function Jg(t,n){for(var e=arguments.length,i=new Array(e>2?e-2:0),r=2;r<e;r++)i[r-2]=arguments[r];return(Vc[t]||[]).forEach(o=>{n=o.apply(null,[n,...i])}),n}function N2(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i<n;i++)e[i-1]=arguments[i];(Vc[t]||[]).forEach(a=>{a.apply(null,e)})}function bo(){let t=arguments[0],n=Array.prototype.slice.call(arguments,1);return Bc[t]?Bc[t].apply(null,n):void 0}function e_(t){t.prefix==="fa"&&(t.prefix="fas");let{iconName:n}=t,e=t.prefix||vo();if(n)return n=z2(e,n)||n,Dk(gI.definitions,e,n)||Dk(Cr.styles,e,n)}var gI=new Xg,Pfe=()=>{Re.autoReplaceSvg=!1,Re.observeMutations=!1,N2("noAuto")},Ffe={i2svg:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ga?(N2("beforeI2svg",t),bo("pseudoElements2svg",t),bo("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:n}=t;Re.autoReplaceSvg===!1&&(Re.autoReplaceSvg=!0),Re.observeMutations=!0,bfe(()=>{Bfe({autoReplaceSvgRoot:n}),N2("watch",t)})}},Vfe={icon:t=>{if(t===null)return null;if(typeof t=="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:z2(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){let n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],e=$5(t[0]);return{prefix:e,iconName:z2(e,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Re.cssPrefix,"-"))>-1||t.match(rfe))){let n=Y5(t.split(" "),{skipLookups:!0});return{prefix:n.prefix||vo(),iconName:z2(n.prefix,n.iconName)||n.iconName}}if(typeof t=="string"){let n=vo();return{prefix:n,iconName:z2(n,t)||t}}}},Zn={noAuto:Pfe,config:Re,dom:Ffe,parse:Vfe,library:gI,findIconDefinition:e_,toHtml:R0},Bfe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:n=ci}=t;(Object.keys(Cr.styles).length>0||Re.autoFetchSvg)&&ga&&Re.autoReplaceSvg&&Zn.dom.i2svg({node:n})};function q5(t,n){return Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(e=>R0(e))}}),Object.defineProperty(t,"node",{get:function(){if(!ga)return;let e=ci.createElement("div");return e.innerHTML=t.html,e.children}}),t}function Hfe(t){let{children:n,main:e,mask:i,attributes:r,styles:a,transform:o}=t;if(u_(o)&&e.found&&!i.found){let{width:s,height:l}=e,u={x:s/l/2,y:.5};r.style=W5(se(se({},a),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:n}]}function jfe(t){let{prefix:n,iconName:e,children:i,attributes:r,symbol:a}=t,o=a===!0?"".concat(n,"-").concat(Re.cssPrefix,"-").concat(e):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:se(se({},r),{},{id:o}),children:i}]}]}function h_(t){let{icons:{main:n,mask:e},prefix:i,iconName:r,transform:a,symbol:o,title:s,maskId:l,titleId:u,extra:h,watchable:g=!1}=t,{width:C,height:M}=e.found?e:n,x=jme.includes(i),k=[Re.replacementClass,r?"".concat(Re.cssPrefix,"-").concat(r):""].filter(rt=>h.classes.indexOf(rt)===-1).filter(rt=>rt!==""||!!rt).concat(h.classes).join(" "),I={children:[],attributes:se(se({},h.attributes),{},{"data-prefix":i,"data-icon":r,class:k,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(C," ").concat(M)})},T=x&&!~h.classes.indexOf("fa-fw")?{width:"".concat(C/M*16*.0625,"em")}:{};g&&(I.attributes[R2]=""),s&&(I.children.push({tag:"title",attributes:{id:I.attributes["aria-labelledby"]||"title-".concat(u||T0())},children:[s]}),delete I.attributes.title);let ce=se(se({},I),{},{prefix:i,iconName:r,main:n,mask:e,maskId:l,transform:a,symbol:o,styles:se(se({},T),h.styles)}),{children:ye,attributes:Se}=e.found&&n.found?bo("generateAbstractMask",ce)||{children:[],attributes:{}}:bo("generateAbstractIcon",ce)||{children:[],attributes:{}};return ce.children=ye,ce.attributes=Se,o?jfe(ce):Hfe(ce)}function kk(t){let{content:n,width:e,height:i,transform:r,title:a,extra:o,watchable:s=!1}=t,l=se(se(se({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(l[R2]="");let u=se({},o.styles);u_(r)&&(u.transform=gfe({transform:r,startCentered:!0,width:e,height:i}),u["-webkit-transform"]=u.transform);let h=W5(u);h.length>0&&(l.style=h);let g=[];return g.push({tag:"span",attributes:l,children:[n]}),a&&g.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),g}function Ufe(t){let{content:n,title:e,extra:i}=t,r=se(se(se({},i.attributes),e?{title:e}:{}),{},{class:i.classes.join(" ")}),a=W5(i.styles);a.length>0&&(r.style=a);let o=[];return o.push({tag:"span",attributes:r,children:[n]}),e&&o.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),o}var{styles:Hg}=Cr;function t_(t){let n=t[0],e=t[1],[i]=t.slice(4),r=null;return Array.isArray(i)?r={tag:"g",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Fg.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Fg.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Fg.PRIMARY),fill:"currentColor",d:i[1]}}]}:r={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:n,height:e,icon:r}}var Gfe={found:!1,width:512,height:512};function Wfe(t,n){!Jk&&!Re.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(n,'" is missing.'))}function i_(t,n){let e=n;return n==="fa"&&Re.styleDefault!==null&&(n=vo()),new Promise((i,r)=>{if(e==="fa"){let a=hI(t)||{};t=a.iconName||t,n=a.prefix||n}if(t&&n&&Hg[n]&&Hg[n][t]){let a=Hg[n][t];return i(t_(a))}Wfe(t,n),i(se(se({},Gfe),{},{icon:Re.showMissingIcons&&t?bo("missingIconAbstract")||{}:{}}))})}var Ik=()=>{},n_=Re.measurePerformance&&F5&&F5.mark&&F5.measure?F5:{mark:Ik,measure:Ik},L0='FA "6.7.2"',$fe=t=>(n_.mark("".concat(L0," ").concat(t," begins")),()=>_I(t)),_I=t=>{n_.mark("".concat(L0," ").concat(t," ends")),n_.measure("".concat(L0," ").concat(t),"".concat(L0," ").concat(t," begins"),"".concat(L0," ").concat(t," ends"))},p_={begin:$fe,end:_I},B5=()=>{};function Tk(t){return typeof(t.getAttribute?t.getAttribute(R2):null)=="string"}function Yfe(t){let n=t.getAttribute?t.getAttribute(s_):null,e=t.getAttribute?t.getAttribute(c_):null;return n&&e}function qfe(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Re.replacementClass)}function Kfe(){return Re.autoReplaceSvg===!0?H5.replace:H5[Re.autoReplaceSvg]||H5.replace}function Zfe(t){return ci.createElementNS("http://www.w3.org/2000/svg",t)}function Qfe(t){return ci.createElement(t)}function vI(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:e=t.tag==="svg"?Zfe:Qfe}=n;if(typeof t=="string")return ci.createTextNode(t);let i=e(t.tag);return Object.keys(t.attributes||[]).forEach(function(a){i.setAttribute(a,t.attributes[a])}),(t.children||[]).forEach(function(a){i.appendChild(vI(a,{ceFn:e}))}),i}function Xfe(t){let n=" ".concat(t.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var H5={replace:function(t){let n=t[0];if(n.parentNode)if(t[1].forEach(e=>{n.parentNode.insertBefore(vI(e),n)}),n.getAttribute(R2)===null&&Re.keepOriginalSource){let e=ci.createComment(Xfe(n));n.parentNode.replaceChild(e,n)}else n.remove()},nest:function(t){let n=t[0],e=t[1];if(~d_(n).indexOf(Re.replacementClass))return H5.replace(t);let i=new RegExp("".concat(Re.cssPrefix,"-.*"));if(delete e[0].attributes.id,e[0].attributes.class){let a=e[0].attributes.class.split(" ").reduce((o,s)=>(s===Re.replacementClass||s.match(i)?o.toSvg.push(s):o.toNode.push(s),o),{toNode:[],toSvg:[]});e[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}let r=e.map(a=>R0(a)).join(`
`);n.setAttribute(R2,""),n.innerHTML=r}};function Ak(t){t()}function bI(t,n){let e=typeof n=="function"?n:B5;if(t.length===0)e();else{let i=Ak;Re.mutateApproach===tfe&&(i=_o.requestAnimationFrame||Ak),i(()=>{let r=Kfe(),a=p_.begin("mutate");t.map(r),a(),e()})}}var g_=!1;function yI(){g_=!0}function r_(){g_=!1}var U5=null;function zk(t){if(!bk||!Re.observeMutations)return;let{treeCallback:n=B5,nodeCallback:e=B5,pseudoElementsCallback:i=B5,observeMutationsRoot:r=ci}=t;U5=new bk(a=>{if(g_)return;let o=vo();jc(a).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!Tk(s.addedNodes[0])&&(Re.searchPseudoElements&&i(s.target),n(s.target)),s.type==="attributes"&&s.target.parentNode&&Re.searchPseudoElements&&i(s.target.parentNode),s.type==="attributes"&&Tk(s.target)&&~sfe.indexOf(s.attributeName))if(s.attributeName==="class"&&Yfe(s.target)){let{prefix:l,iconName:u}=Y5(d_(s.target));s.target.setAttribute(s_,l||o),u&&s.target.setAttribute(c_,u)}else qfe(s.target)&&e(s.target)})}),ga&&U5.observe(r,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Jfe(){U5&&U5.disconnect()}function ehe(t){let n=t.getAttribute("style"),e=[];return n&&(e=n.split(";").reduce((i,r)=>{let a=r.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(i[o]=s.join(":").trim()),i},{})),e}function the(t){let n=t.getAttribute("data-prefix"),e=t.getAttribute("data-icon"),i=t.innerText!==void 0?t.innerText.trim():"",r=Y5(d_(t));return r.prefix||(r.prefix=vo()),n&&e&&(r.prefix=n,r.iconName=e),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=Efe(r.prefix,t.innerText)||f_(r.prefix,Zg(t.innerText))),!r.iconName&&Re.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=t.firstChild.data)),r}function ihe(t){let n=jc(t.attributes).reduce((r,a)=>(r.name!=="class"&&r.name!=="style"&&(r[a.name]=a.value),r),{}),e=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return Re.autoA11y&&(e?n["aria-labelledby"]="".concat(Re.replacementClass,"-title-").concat(i||T0()):(n["aria-hidden"]="true",n.focusable="false")),n}function nhe(){return{iconName:null,title:null,titleId:null,prefix:null,transform:yr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Rk(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:e,prefix:i,rest:r}=the(t),a=ihe(t),o=Jg("parseNodeAttributes",{},t),s=n.styleParser?ehe(t):[];return se({iconName:e,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:yr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:s,attributes:a}},o)}var{styles:rhe}=Cr;function CI(t){let n=Re.autoReplaceSvg==="nest"?Rk(t,{styleParser:!1}):Rk(t);return~n.extra.classes.indexOf(tI)?bo("generateLayersText",t,n):bo("generateSvgReplacementMutation",t,n)}function ahe(){return[...Vme,...Gg]}function Nk(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ga)return Promise.resolve();let e=ci.documentElement.classList,i=h=>e.add("".concat(Mk,"-").concat(h)),r=h=>e.remove("".concat(Mk,"-").concat(h)),a=Re.autoFetchSvg?ahe():qk.concat(Object.keys(rhe));a.includes("fa")||a.push("fa");let o=[".".concat(tI,":not([").concat(R2,"])")].concat(a.map(h=>".".concat(h,":not([").concat(R2,"])"))).join(", ");if(o.length===0)return Promise.resolve();let s=[];try{s=jc(t.querySelectorAll(o))}catch{}if(s.length>0)i("pending"),r("complete");else return Promise.resolve();let l=p_.begin("onTree"),u=s.reduce((h,g)=>{try{let C=CI(g);C&&h.push(C)}catch(C){Jk||C.name==="MissingIcon"&&console.error(C)}return h},[]);return new Promise((h,g)=>{Promise.all(u).then(C=>{bI(C,()=>{i("active"),i("complete"),r("pending"),typeof n=="function"&&n(),l(),h()})}).catch(C=>{l(),g(C)})})}function ohe(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;CI(t).then(e=>{e&&bI([e],n)})}function she(t){return function(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(n||{}).icon?n:e_(n||{}),{mask:r}=e;return r&&(r=(r||{}).icon?r:e_(r||{})),t(i,se(se({},e),{},{mask:r}))}}var che=function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:e=yr,symbol:i=!1,mask:r=null,maskId:a=null,title:o=null,titleId:s=null,classes:l=[],attributes:u={},styles:h={}}=n;if(!t)return;let{prefix:g,iconName:C,icon:M}=t;return q5(se({type:"icon"},t),()=>(N2("beforeDOMElementCreation",{iconDefinition:t,params:n}),Re.autoA11y&&(o?u["aria-labelledby"]="".concat(Re.replacementClass,"-title-").concat(s||T0()):(u["aria-hidden"]="true",u.focusable="false")),h_({icons:{main:t_(M),mask:r?t_(r.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:C,transform:se(se({},yr),e),symbol:i,title:o,maskId:a,titleId:s,extra:{attributes:u,styles:h,classes:l}})))},lhe={mixout(){return{icon:she(che)}},hooks(){return{mutationObserverCallbacks(t){return t.treeCallback=Nk,t.nodeCallback=ohe,t}}},provides(t){t.i2svg=function(n){let{node:e=ci,callback:i=()=>{}}=n;return Nk(e,i)},t.generateSvgReplacementMutation=function(n,e){let{iconName:i,title:r,titleId:a,prefix:o,transform:s,symbol:l,mask:u,maskId:h,extra:g}=e;return new Promise((C,M)=>{Promise.all([i_(i,o),u.iconName?i_(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(x=>{let[k,I]=x;C([n,h_({icons:{main:k,mask:I},prefix:o,iconName:i,transform:s,symbol:l,maskId:h,title:r,titleId:a,extra:g,watchable:!0})])}).catch(M)})},t.generateAbstractIcon=function(n){let{children:e,attributes:i,main:r,transform:a,styles:o}=n,s=W5(o);s.length>0&&(i.style=s);let l;return u_(a)&&(l=bo("generateAbstractTransformGrouping",{main:r,transform:a,containerWidth:r.width,iconWidth:r.width})),e.push(l||r.icon),{children:e,attributes:i}}}},dhe={mixout(){return{layer(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:e=[]}=n;return q5({type:"layer"},()=>{N2("beforeDOMElementCreation",{assembler:t,params:n});let i=[];return t(r=>{Array.isArray(r)?r.map(a=>{i=i.concat(a.abstract)}):i=i.concat(r.abstract)}),[{tag:"span",attributes:{class:["".concat(Re.cssPrefix,"-layers"),...e].join(" ")},children:i}]})}}}},uhe={mixout(){return{counter(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:e=null,classes:i=[],attributes:r={},styles:a={}}=n;return q5({type:"counter",content:t},()=>(N2("beforeDOMElementCreation",{content:t,params:n}),Ufe({content:t.toString(),title:e,extra:{attributes:r,styles:a,classes:["".concat(Re.cssPrefix,"-layers-counter"),...i]}})))}}}},mhe={mixout(){return{text(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:e=yr,title:i=null,classes:r=[],attributes:a={},styles:o={}}=n;return q5({type:"text",content:t},()=>(N2("beforeDOMElementCreation",{content:t,params:n}),kk({content:t,transform:se(se({},yr),e),title:i,extra:{attributes:a,styles:o,classes:["".concat(Re.cssPrefix,"-layers-text"),...r]}})))}}},provides(t){t.generateLayersText=function(n,e){let{title:i,transform:r,extra:a}=e,o=null,s=null;if($k){let l=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();o=u.width/l,s=u.height/l}return Re.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,kk({content:n.innerHTML,width:o,height:s,transform:r,title:i,extra:a,watchable:!0})])}}},fhe=new RegExp('"',"ug"),Ok=[1105920,1112319],Pk=se(se(se(se({},{FontAwesome:{normal:"fas",400:"fas"}}),Ome),Jme),$me),a_=Object.keys(Pk).reduce((t,n)=>(t[n.toLowerCase()]=Pk[n],t),{}),hhe=Object.keys(a_).reduce((t,n)=>{let e=a_[n];return t[n]=e[900]||[...Object.entries(e)][0][1],t},{});function phe(t){let n=t.replace(fhe,""),e=Mfe(n,0),i=e>=Ok[0]&&e<=Ok[1],r=n.length===2?n[0]===n[1]:!1;return{value:Zg(r?n[0]:n),isSecondary:i||r}}function ghe(t,n){let e=t.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(n),r=isNaN(i)?"normal":i;return(a_[e]||{})[r]||hhe[e]}function Fk(t,n){let e="".concat(efe).concat(n.replace(":","-"));return new Promise((i,r)=>{if(t.getAttribute(e)!==null)return i();let o=jc(t.children).filter(C=>C.getAttribute($g)===n)[0],s=_o.getComputedStyle(t,n),l=s.getPropertyValue("font-family"),u=l.match(afe),h=s.getPropertyValue("font-weight"),g=s.getPropertyValue("content");if(o&&!u)return t.removeChild(o),i();if(u&&g!=="none"&&g!==""){let C=s.getPropertyValue("content"),M=ghe(l,h),{value:x,isSecondary:k}=phe(C),I=u[0].startsWith("FontAwesome"),T=f_(M,x),ce=T;if(I){let ye=Lfe(x);ye.iconName&&ye.prefix&&(T=ye.iconName,M=ye.prefix)}if(T&&!k&&(!o||o.getAttribute(s_)!==M||o.getAttribute(c_)!==ce)){t.setAttribute(e,ce),o&&t.removeChild(o);let ye=nhe(),{extra:Se}=ye;Se.attributes[$g]=n,i_(T,M).then(rt=>{let et=h_(se(se({},ye),{},{icons:{main:rt,mask:pI()},prefix:M,iconName:ce,extra:Se,watchable:!0})),mt=ci.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?t.insertBefore(mt,t.firstChild):t.appendChild(mt),mt.outerHTML=et.map(Ne=>R0(Ne)).join(`
`),t.removeAttribute(e),i()}).catch(r)}else i()}else i()})}function _he(t){return Promise.all([Fk(t,"::before"),Fk(t,"::after")])}function vhe(t){return t.parentNode!==document.head&&!~ife.indexOf(t.tagName.toUpperCase())&&!t.getAttribute($g)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function Vk(t){if(ga)return new Promise((n,e)=>{let i=jc(t.querySelectorAll("*")).filter(vhe).map(_he),r=p_.begin("searchPseudoElements");yI(),Promise.all(i).then(()=>{r(),r_(),n()}).catch(()=>{r(),r_(),e()})})}var bhe={hooks(){return{mutationObserverCallbacks(t){return t.pseudoElementsCallback=Vk,t}}},provides(t){t.pseudoElements2svg=function(n){let{node:e=ci}=n;Re.searchPseudoElements&&Vk(e)}}},Bk=!1,yhe={mixout(){return{dom:{unwatch(){yI(),Bk=!0}}}},hooks(){return{bootstrap(){zk(Jg("mutationObserverCallbacks",{}))},noAuto(){Jfe()},watch(t){let{observeMutationsRoot:n}=t;Bk?r_():zk(Jg("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Hk=t=>{let n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((e,i)=>{let r=i.toLowerCase().split("-"),a=r[0],o=r.slice(1).join("-");if(a&&o==="h")return e.flipX=!0,e;if(a&&o==="v")return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(a){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o;break}return e},n)},Che={mixout(){return{parse:{transform:t=>Hk(t)}}},hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-transform");return e&&(t.transform=Hk(e)),t}}},provides(t){t.generateAbstractTransformGrouping=function(n){let{main:e,transform:i,containerWidth:r,iconWidth:a}=n,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),l="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),u="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(s," ").concat(l," ").concat(u)},g={transform:"translate(".concat(a/2*-1," -256)")},C={outer:o,inner:h,path:g};return{tag:"g",attributes:se({},C.outer),children:[{tag:"g",attributes:se({},C.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:se(se({},e.icon.attributes),C.path)}]}]}}}},jg={x:0,y:0,width:"100%",height:"100%"};function jk(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||n)&&(t.attributes.fill="black"),t}function Mhe(t){return t.tag==="g"?t.children:[t]}var xhe={hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-mask"),i=e?Y5(e.split(" ").map(r=>r.trim())):pI();return i.prefix||(i.prefix=vo()),t.mask=i,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides(t){t.generateAbstractMask=function(n){let{children:e,attributes:i,main:r,mask:a,maskId:o,transform:s}=n,{width:l,icon:u}=r,{width:h,icon:g}=a,C=pfe({transform:s,containerWidth:h,iconWidth:l}),M={tag:"rect",attributes:se(se({},jg),{},{fill:"white"})},x=u.children?{children:u.children.map(jk)}:{},k={tag:"g",attributes:se({},C.inner),children:[jk(se({tag:u.tag,attributes:se(se({},u.attributes),C.path)},x))]},I={tag:"g",attributes:se({},C.outer),children:[k]},T="mask-".concat(o||T0()),ce="clip-".concat(o||T0()),ye={tag:"mask",attributes:se(se({},jg),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[M,I]},Se={tag:"defs",children:[{tag:"clipPath",attributes:{id:ce},children:Mhe(g)},ye]};return e.push(Se,{tag:"rect",attributes:se({fill:"currentColor","clip-path":"url(#".concat(ce,")"),mask:"url(#".concat(T,")")},jg)}),{children:e,attributes:i}}}},whe={provides(t){let n=!1;_o.matchMedia&&(n=_o.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){let e=[],i={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:se(se({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let a=se(se({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:se(se({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:se(se({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:se(se({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:se(se({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:se(se({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||e.push({tag:"path",attributes:se(se({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:se(se({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Dhe={hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-symbol"),i=e===null?!1:e===""?!0:e;return t.symbol=i,t}}}},She=[vfe,lhe,dhe,uhe,mhe,bhe,yhe,Che,xhe,whe,Dhe];Ofe(She,{mixoutsTo:Zn});var vXe=Zn.noAuto,MI=Zn.config,bXe=Zn.library,xI=Zn.dom,wI=Zn.parse,yXe=Zn.findIconDefinition,CXe=Zn.toHtml,DI=Zn.icon,MXe=Zn.layer,Ehe=Zn.text,Lhe=Zn.counter;var khe=["*"],Ihe=t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)},The=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},Ahe=t=>{let n={[`fa-${t.animation}`]:t.animation!=null&&!t.animation.startsWith("spin"),"fa-spin":t.animation==="spin"||t.animation==="spin-reverse","fa-spin-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-spin-reverse":t.animation==="spin-reverse"||t.animation==="spin-pulse-reverse","fa-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":t.flip==="horizontal"||t.flip==="both","fa-flip-vertical":t.flip==="vertical"||t.flip==="both",[`fa-${t.size}`]:t.size!==null,[`fa-rotate-${t.rotate}`]:t.rotate!==null,[`fa-pull-${t.pull}`]:t.pull!==null,[`fa-stack-${t.stackItemSize}`]:t.stackItemSize!=null};return Object.keys(n).map(e=>n[e]?e:null).filter(e=>e)},__=new WeakSet,SI="fa-auto-css";function zhe(t,n){if(!n.autoAddCss||__.has(t))return;if(t.getElementById(SI)!=null){n.autoAddCss=!1,__.add(t);return}let e=t.createElement("style");e.setAttribute("type","text/css"),e.setAttribute("id",SI),e.innerHTML=xI.css();let i=t.head.childNodes,r=null;for(let a=i.length-1;a>-1;a--){let o=i[a],s=o.nodeName.toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}t.head.insertBefore(e,r),n.autoAddCss=!1,__.add(t)}var Rhe=t=>t.prefix!==void 0&&t.iconName!==void 0,Nhe=(t,n)=>Rhe(t)?t:Array.isArray(t)&&t.length===2?{prefix:t[0],iconName:t[1]}:{prefix:n,iconName:t},Ohe=(()=>{let n=class n{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(i){MI.autoAddCss=i,this._autoAddCss=i}get autoAddCss(){return this._autoAddCss}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=A({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})(),v_=(()=>{let n=class n{constructor(){this.definitions={}}addIcons(...i){for(let r of i){r.prefix in this.definitions||(this.definitions[r.prefix]={}),this.definitions[r.prefix][r.iconName]=r;for(let a of r.icon[2])typeof a=="string"&&(this.definitions[r.prefix][a]=r)}}addIconPacks(...i){for(let r of i){let a=Object.keys(r).map(o=>r[o]);this.addIcons(...a)}}getIconDefinition(i,r){return i in this.definitions&&r in this.definitions[i]?this.definitions[i][r]:null}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=A({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})(),Phe=(()=>{let n=class n{constructor(){this.stackItemSize="1x"}ngOnChanges(i){if("size"in i)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}};n.\u0275fac=function(r){return new(r||n)},n.\u0275dir=W({type:n,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[nt]});let t=n;return t})(),Fhe=(()=>{let n=class n{constructor(i,r){this.renderer=i,this.elementRef=r}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(i){"size"in i&&(i.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${i.size.currentValue}`),i.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${i.size.previousValue}`))}};n.\u0275fac=function(r){return new(r||n)(ne(ht),ne(Y))},n.\u0275cmp=j({type:n,selectors:[["fa-stack"]],inputs:{size:"size"},features:[nt],ngContentSelectors:khe,decls:1,vars:0,template:function(r,a){r&1&&(Ae(),fe(0))},encapsulation:2});let t=n;return t})(),K5=(()=>{let n=class n{constructor(i,r,a,o,s){this.sanitizer=i,this.config=r,this.iconLibrary=a,this.stackItem=o,this.document=m(_e),s!=null&&o==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(i){if(this.icon==null&&this.config.fallbackIcon==null){The();return}if(i){let r=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(r!=null){let a=this.buildParams();zhe(this.document,this.config);let o=DI(r,a);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(o.html.join(`
`))}}}render(){this.ngOnChanges({})}findIconDefinition(i){let r=Nhe(i,this.config.defaultPrefix);if("icon"in r)return r;let a=this.iconLibrary.getIconDefinition(r.prefix,r.iconName);return a??(Ihe(r),null)}buildParams(){let i={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},r=typeof this.transform=="string"?wI.transform(this.transform):this.transform;return{title:this.title,transform:r,classes:Ahe(i),mask:this.mask!=null?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}};n.\u0275fac=function(r){return new(r||n)(ne(g3),ne(Ohe),ne(v_),ne(Phe,8),ne(Fhe,8))},n.\u0275cmp=j({type:n,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(r,a){r&2&&(si("innerHTML",a.renderedIconHTML,Hl),J("title",a.title))},inputs:{icon:"icon",title:"title",animation:"animation",mask:"mask",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[nt],decls:0,vars:0,template:function(r,a){},encapsulation:2});let t=n;return t})();function Vhe(t,n){if(t&1&&(_(0,"div",3),ie(1,"fa-icon",5),b()),t&2){let e=E(),i=kt(1);v(),w("icon",e.icon()||i.icon())("fixedWidth",!0)}}function Bhe(t,n){if(t&1&&(_(0,"div",4),D(1),b()),t&2){let e=E(),i=kt(1);v(),oe(" ",e.text()||i.text()," ")}}var EI=(()=>{let n=class n{constructor(){this.options=m(Fc),this.button=ut(),this.url=ut(),this.title=ut(),this.description=ut(),this.image=ut(),this.tags=ut(),this.redirectUrl=ut(),this.showIcon=ut(!0,{transform:B}),this.showText=ut(!1,{transform:B}),this.text=ut(),this.icon=ut(),this.theme=ut(this.options.theme),this.disabled=ut(!1,{transform:B}),this.classes=ui(()=>`sb-button sb-${this.theme()}`),this.opened=n2()}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=j({type:n,selectors:[["share-button"]],hostVars:2,hostBindings:function(r,a){r&2&&yt(a.classes())},inputs:{button:[1,"button"],url:[1,"url"],title:[1,"title"],description:[1,"description"],image:[1,"image"],tags:[1,"tags"],redirectUrl:[1,"redirectUrl"],showIcon:[1,"showIcon"],showText:[1,"showText"],text:[1,"text"],icon:[1,"icon"],theme:[1,"theme"],disabled:[1,"disabled"]},outputs:{opened:"opened"},decls:5,vars:14,consts:[["btn","shareButton"],["type","button",1,"sb-wrapper",3,"opened","shareButton","url","image","title","description","tags","redirectUrl","disabled"],[1,"sb-content"],[1,"sb-icon"],[1,"sb-text"],[3,"icon","fixedWidth"]],template:function(r,a){if(r&1){let o=ke();_(0,"button",1,0),P("opened",function(l){return Q(o),X(a.opened.emit(l))}),_(2,"div",2),xe(3,Vhe,2,2,"div",3),xe(4,Bhe,2,1,"div",4),b()()}if(r&2){let o=kt(1);ee("sb-show-icon",a.showIcon())("sb-show-text",a.showText()),w("shareButton",a.button())("url",a.url())("image",a.image())("title",a.title())("description",a.description())("tags",a.tags())("redirectUrl",a.redirectUrl())("disabled",a.disabled()),v(3),we(a.showIcon()&&o.icon()?3:-1),v(),we(a.showText()?4:-1)}},dependencies:[pk,K5],styles:["[button=facebook][_nghost-%COMP%], [button=facebook]   [_nghost-%COMP%]{--button-color: #4267B2}[button=x][_nghost-%COMP%], [button=x]   [_nghost-%COMP%]{--button-color: #00acee}[button=mix][_nghost-%COMP%], [button=mix]   [_nghost-%COMP%]{--button-color: #ff8226}[button=line][_nghost-%COMP%], [button=line]   [_nghost-%COMP%]{--button-color: #00b900}[button=linkedin][_nghost-%COMP%], [button=linkedin]   [_nghost-%COMP%]{--button-color: #0a66c2}[button=pinterest][_nghost-%COMP%], [button=pinterest]   [_nghost-%COMP%]{--button-color: #bd081c}[button=reddit][_nghost-%COMP%], [button=reddit]   [_nghost-%COMP%]{--button-color: #ff4006}[button=tumblr][_nghost-%COMP%], [button=tumblr]   [_nghost-%COMP%]{--button-color: #36465d}[button=whatsapp][_nghost-%COMP%], [button=whatsapp]   [_nghost-%COMP%]{--button-color: #25d366}[button=messenger][_nghost-%COMP%], [button=messenger]   [_nghost-%COMP%]{--button-color: #0080FF}[button=telegram][_nghost-%COMP%], [button=telegram]   [_nghost-%COMP%]{--button-color: #0088cc}[button=xing][_nghost-%COMP%], [button=xing]   [_nghost-%COMP%]{--button-color: #006567}[button=sms][_nghost-%COMP%], [button=sms]   [_nghost-%COMP%]{--button-color: #20c16c}[button=email][_nghost-%COMP%], [button=email]   [_nghost-%COMP%]{--button-color: #FF961C}[button=viber][_nghost-%COMP%], [button=viber]   [_nghost-%COMP%]{--button-color: #665ca7}[button=vk][_nghost-%COMP%], [button=vk]   [_nghost-%COMP%]{--button-color: #4C75A3}[button=copy][_nghost-%COMP%], [button=copy]   [_nghost-%COMP%]{--button-color: #607D8B}[button=print][_nghost-%COMP%], [button=print]   [_nghost-%COMP%]{--button-color: #765AA2}[button=expand][_nghost-%COMP%], [button=expand]   [_nghost-%COMP%]{--button-color: #FF6651}button[_ngcontent-%COMP%]{cursor:pointer;position:relative;outline:0;-webkit-print-color-adjust:exact;margin:var(--sb-margin, .3125em);padding:var(--sb-padding, 0);min-width:var(--sb-min-width, 4.125em);height:var(--sb-height, 2.5em);color:var(--sb-color, #fff);background:var(--sb-background);font-size:var(--sb-font-size, 13px);line-height:var(--sb-line-height, 2.571em);border:var(--sb-border);border-radius:var(--sb-border-radius);transition:var(--sb-transition);box-shadow:var(--sb-box-shadow);text-shadow:var(--sb-text-shadow);overflow:var(--sb-overflow)}.sb-icon[_ngcontent-%COMP%], .sb-text[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.sb-content[_ngcontent-%COMP%]{flex:1;display:flex;height:100%;width:100%;position:relative}.sb-text[_ngcontent-%COMP%]{flex:1;height:100%;white-space:nowrap;padding:var(--sb-text-padding, 0 .7em);font-weight:var(--sb-font-weight, bold)}.sb-icon[_ngcontent-%COMP%]{text-align:center;width:100%;height:100%;min-width:2em;font-size:var(--sb-icon-size, 1.2em)}"],changeDetection:0});let t=n;return t})();function Hhe(t,n){if(t&1){let e=ke();_(0,"share-button",2),P("opened",function(r){Q(e);let a=E();return X(a.opened.emit(r))}),b()}if(t&2){let e=n.$implicit,i=E();w("button",e)("theme",i.theme())("url",i.url())("title",i.title())("description",i.description())("image",i.image())("tags",i.tags())("redirectUrl",i.redirectUrl())("showIcon",i.showIcon())("showText",i.showText())("disabled",i.disabled())}}function jhe(t,n){if(t&1){let e=ke();_(0,"expand-button",3),Vn("expandChange",function(r){Q(e);let a=E();return d1(a.expanded,r)||(a.expanded=r),X(r)}),b()}if(t&2){let e=E();yt(Ps("sb-button sb-",e.theme())),w("options",e.options),Fn("expand",e.expanded)}}var Uhe=(()=>{let n=class n{constructor(i){this.options=ut(),this.expand=ut(),this.expandChange=n2(),i.nativeElement.style.setProperty("--button-color","#FF6651")}};n.\u0275fac=function(r){return new(r||n)(ne(Y))},n.\u0275cmp=j({type:n,selectors:[["expand-button"]],inputs:{options:[1,"options"],expand:[1,"expand"]},outputs:{expandChange:"expandChange"},decls:4,vars:2,consts:[[1,"sb-wrapper","sb-expand","sb-show-icon",3,"click"],[1,"sb-content"],[1,"sb-icon"],[3,"icon"]],template:function(r,a){r&1&&(_(0,"button",0),P("click",function(){return a.expandChange.emit(!a.expand())}),_(1,"div",1)(2,"div",2),ie(3,"fa-icon",3),b()()()),r&2&&(J("aria-label",a.expand()?a.options().lessButtonAriaLabel:a.options().moreButtonAriaLabel),v(3),w("icon",a.expand()?a.options().lessButtonIcon:a.options().moreButtonIcon))},dependencies:[K5],styles:["[button=facebook][_nghost-%COMP%], [button=facebook]   [_nghost-%COMP%]{--button-color: #4267B2}[button=x][_nghost-%COMP%], [button=x]   [_nghost-%COMP%]{--button-color: #00acee}[button=mix][_nghost-%COMP%], [button=mix]   [_nghost-%COMP%]{--button-color: #ff8226}[button=line][_nghost-%COMP%], [button=line]   [_nghost-%COMP%]{--button-color: #00b900}[button=linkedin][_nghost-%COMP%], [button=linkedin]   [_nghost-%COMP%]{--button-color: #0a66c2}[button=pinterest][_nghost-%COMP%], [button=pinterest]   [_nghost-%COMP%]{--button-color: #bd081c}[button=reddit][_nghost-%COMP%], [button=reddit]   [_nghost-%COMP%]{--button-color: #ff4006}[button=tumblr][_nghost-%COMP%], [button=tumblr]   [_nghost-%COMP%]{--button-color: #36465d}[button=whatsapp][_nghost-%COMP%], [button=whatsapp]   [_nghost-%COMP%]{--button-color: #25d366}[button=messenger][_nghost-%COMP%], [button=messenger]   [_nghost-%COMP%]{--button-color: #0080FF}[button=telegram][_nghost-%COMP%], [button=telegram]   [_nghost-%COMP%]{--button-color: #0088cc}[button=xing][_nghost-%COMP%], [button=xing]   [_nghost-%COMP%]{--button-color: #006567}[button=sms][_nghost-%COMP%], [button=sms]   [_nghost-%COMP%]{--button-color: #20c16c}[button=email][_nghost-%COMP%], [button=email]   [_nghost-%COMP%]{--button-color: #FF961C}[button=viber][_nghost-%COMP%], [button=viber]   [_nghost-%COMP%]{--button-color: #665ca7}[button=vk][_nghost-%COMP%], [button=vk]   [_nghost-%COMP%]{--button-color: #4C75A3}[button=copy][_nghost-%COMP%], [button=copy]   [_nghost-%COMP%]{--button-color: #607D8B}[button=print][_nghost-%COMP%], [button=print]   [_nghost-%COMP%]{--button-color: #765AA2}[button=expand][_nghost-%COMP%], [button=expand]   [_nghost-%COMP%]{--button-color: #FF6651}button[_ngcontent-%COMP%]{cursor:pointer;position:relative;outline:0;-webkit-print-color-adjust:exact;margin:var(--sb-margin, .3125em);padding:var(--sb-padding, 0);min-width:var(--sb-min-width, 4.125em);height:var(--sb-height, 2.5em);color:var(--sb-color, #fff);background:var(--sb-background);font-size:var(--sb-font-size, 13px);line-height:var(--sb-line-height, 2.571em);border:var(--sb-border);border-radius:var(--sb-border-radius);transition:var(--sb-transition);box-shadow:var(--sb-box-shadow);text-shadow:var(--sb-text-shadow);overflow:var(--sb-overflow)}.sb-icon[_ngcontent-%COMP%], .sb-text[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.sb-content[_ngcontent-%COMP%]{flex:1;display:flex;height:100%;width:100%;position:relative}.sb-text[_ngcontent-%COMP%]{flex:1;height:100%;white-space:nowrap;padding:var(--sb-text-padding, 0 .7em);font-weight:var(--sb-font-weight, bold)}.sb-icon[_ngcontent-%COMP%]{text-align:center;width:100%;height:100%;min-width:2em;font-size:var(--sb-icon-size, 1.2em)}"],changeDetection:0});let t=n;return t})(),LI=(()=>{let n=class n{constructor(){this.options=m(Fc),this.show=ut(Object.values(Pc).length,{transform:dt}),this.include=ut(this.options.include||[]),this.exclude=ut(this.options.exclude||[]),this.expanded=fx(!1),this.selectedButtons=ui(()=>(this.include().length?this.include():Object.keys(Pc)).filter(r=>this.exclude().indexOf(r)<0)),this.displayButtons=ui(()=>{let i=this.selectedButtons();return i.slice(0,this.expanded()?i.length:this.show())}),this.theme=ut(this.options.theme),this.url=ut(),this.title=ut(),this.description=ut(),this.image=ut(),this.tags=ut(),this.redirectUrl=ut(),this.showIcon=ut(!0,{transform:B}),this.showText=ut(!1,{transform:B}),this.disabled=ut(!1,{transform:B}),this.opened=n2()}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=j({type:n,selectors:[["share-buttons"]],inputs:{show:[1,"show"],include:[1,"include"],exclude:[1,"exclude"],expanded:[1,"expanded"],theme:[1,"theme"],url:[1,"url"],title:[1,"title"],description:[1,"description"],image:[1,"image"],tags:[1,"tags"],redirectUrl:[1,"redirectUrl"],showIcon:[1,"showIcon"],showText:[1,"showText"],disabled:[1,"disabled"]},outputs:{expanded:"expandedChange",opened:"opened"},decls:4,vars:4,consts:[[3,"button","theme","url","title","description","image","tags","redirectUrl","showIcon","showText","disabled"],[3,"class","options","expand"],[3,"opened","button","theme","url","title","description","image","tags","redirectUrl","showIcon","showText","disabled"],[3,"expandChange","options","expand"]],template:function(r,a){r&1&&(_(0,"div"),Oi(1,Hhe,1,11,"share-button",0,R1),xe(3,jhe,1,5,"expand-button",1),b()),r&2&&(yt(Ps("sb-group sb-",a.theme())),v(),Pi(a.displayButtons()),v(2),we(a.show()<a.selectedButtons().length?3:-1))},dependencies:[EI,Uhe],styles:["[_nghost-%COMP%]{display:inherit}.sb-group[_ngcontent-%COMP%], .sb-button[_ngcontent-%COMP%]{display:inline-flex;align-items:flex-start}.sb-group[_ngcontent-%COMP%]{flex-wrap:wrap}"],changeDetection:0});let t=n;return t})();function Ghe(t,n){t&1&&(_(0,"carcutter-web-player",3,0)(2,"div",4),D(3," No compositon.json file found / Webplayer does not work as expected! "),b()())}var kI=(()=>{class t{dialogRef;dialog;data;darmasAd;show360=!0;constructor(e,i,r){this.dialogRef=e,this.dialog=i,this.data=r,this.darmasAd=r.darmasAd}static \u0275fac=function(i){return new(i||t)(ne(fo),ne(br),ne(Dc))};static \u0275cmp=j({type:t,selectors:[["app-viewer-360-overlay"]],decls:2,vars:1,consts:[["carcutterWebPlayer",""],[1,"image-viewer-wrapper"],["src","https://cdn.car-cutter.com/gallery/b512b528123f72eaa5c567ac5f1f3e82a3d32d133b48cb3c610481edef90428d/TMAJCCCCCCC123123/composition.json","aspect","4:3",4,"ngIf"],["src","https://cdn.car-cutter.com/gallery/b512b528123f72eaa5c567ac5f1f3e82a3d32d133b48cb3c610481edef90428d/TMAJCCCCCCC123123/composition.json","aspect","4:3"],[1,"fallback-content-or-error-message"]],template:function(i,r){i&1&&(_(0,"div",1),K(1,Ghe,4,0,"carcutter-web-player",2),b()),i&2&&(v(),w("ngIf",r.show360))},dependencies:[Li,an],encapsulation:2})}return t})();var x_=c4(II()),AI=c4(TI());x_.default.extend(AI.default);var Whe="YYYYMM",Uc=(()=>{class t{dataFilterService;httpClient;currentDarmasAdSubject=new Mt(null);currentDarmasAd$=this.currentDarmasAdSubject.asObservable();showFilterSubject=new Mt(!1);showFilter$=this.showFilterSubject.asObservable();currentPageSubject=new Mt("master");currentPage$=this.currentPageSubject.asObservable();hideNavSubject=new Mt(!1);hideNav$=this.hideNavSubject.asObservable();currentScrollPositionSubject=new Mt(0);currentScrollPosition$=this.currentScrollPositionSubject.asObservable();constructor(e,i){this.dataFilterService=e,this.httpClient=i}getFormattedFirstRegistration(e){return(0,x_.default)(e,Whe).format("MM-YYYY")}set currentDarmasAd(e){this.currentDarmasAdSubject.next(e)}set currentScrollPosition(e){this.currentScrollPositionSubject.next(e)}set hideNav(e){this.hideNavSubject.next(e)}get hideNav(){return this.hideNavSubject.getValue()}isAvailable(e){let i=e.ad,r=!1;if(!i.deliveryPeriod&&!i.deliveryDate)r=!0;else if(!i.deliveryPeriod&&i.deliveryDate){let a=new Date(i.deliveryDate),o=new Date;a.setHours(0),a.setMinutes(0),r=a<=o}return r}set currentPage(e){this.currentPageSubject.next(e)}get currentPage(){return this.currentPageSubject.getValue()}toggleShowFilter(){this.scrollToTop(),this.showFilterSubject.next(!this.showFilterSubject.getValue())}scrollToTop(){window.scrollTo(0,0)}getDarmasAd(e){return this.httpClient.get(`http://localhost:8031/
				mobile-de/seller-api/sellers/get/darmas/ad/
				${e}`)}calculatePs(e){return xn.calculatePsFromKwh(e)}calculatePriceGross(e,i){let r=i.ad.price.vatRate?Number(i.ad.price.vatRate):19,a=xn.transformCurrencyToCalculatable(e);return(Number(a)/100*r+a).toFixed(2)}formatCurrency(e){return e}calculatePriceAdvantage(e){let r=xn.transformCurrencyToCalculatable(e.dealerPriceNet),a=Number(this.calculatePriceGross(r,e)),s=xn.transformCurrencyToCalculatable(e.ad.price.consumerPriceGross)-a;return this.formatCurrency(s.toFixed(2))}createSelectFilterItemFromQueryTerm(e){let[i,r,...a]=e.split(","),o={adPropertyKey:i,hits:[{adPropertyType:a&&a.length>0?"array":"string"}],description:[{value:i}]},s=a&&a.length>0?r.concat(a):r;return this.dataFilterService.createFilterItem(s,o)}createSortItem(e,i){let r={title:this.getSortItemTitle(e,i),adProperty:e,sortOrder:Number(i)};return console.log("sort item:: ",r),r}getSortItemTitle(e,i){console.log("order: ",i);let r=$he[e]+", ",a=i==D0.DESCENDING?"absteigend":"aufsteigend";return console.log("order string:: ",a),r}static \u0275fac=function(i){return new(i||t)(me(po),me(F1))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$he={"price.consumerPriceGross":"Preis",mileage:"Kilometerstand",firstRegistration:"Erstzulassung",creationDate:"Erstellt",modificationDate:"Update",images:"Standart"};var Yhe=["dataFilter"],qhe=["dataSearchBar"],Khe=(t,n,e,i,r,a,o,s,l,u,h,g,C,M,x,k,I,T,ce,ye)=>({hyundai:t,jeep:n,audi:e,volkswagen:i,bmw:r,ford:a,fiat:o,opel:s,peugeot:l,porsche:u,citroen:h,kia:g,volvo:C,jaguar:M,landrover:x,lexus:k,"mercedes-benz":I,renault:T,rover:ce,seat:ye});function Zhe(t,n){t&1&&(_(0,"div",8),ie(1,"mat-spinner"),b())}function Qhe(t,n){t&1&&(_(0,"div",28),D(1," Sofort verf\xFCgbar "),b())}function Xhe(t,n){if(t&1&&(_(0,"mat-chip"),D(1),b()),t&2){let e=E().$implicit;v(),xt(e)}}function Jhe(t,n){if(t&1&&K(0,Xhe,2,1,"mat-chip",21),t&2){let e=n.$implicit;w("ngIf",e!=="")}}function e9e(t,n){if(t&1&&(_(0,"div",20)(1,"mat-icon"),D(2,"directions_car"),b(),_(3,"div",22),D(4),Ye(5,"number"),b()()),t&2){let e=E().$implicit;v(4),oe(" ",ct(5,1,e.ad.mileage)," km ")}}function t9e(t,n){if(t&1&&(_(0,"div",20)(1,"mat-icon"),D(2,"calendar_today"),b(),_(3,"div",22),D(4),b()()),t&2){let e=E().$implicit,i=E();v(4),oe(" ",i.appService.getFormattedFirstRegistration(e.ad.firstRegistration)," ")}}function i9e(t,n){t&1&&(_(0,"mat-icon"),D(1,"local_gas_station"),b())}function n9e(t,n){t&1&&(_(0,"mat-icon"),D(1,"ev_station"),b())}function r9e(t,n){if(t&1&&(_(0,"div",20)(1,"mat-icon"),D(2,"power"),b(),_(3,"div",22),D(4),b()()),t&2){let e=E().$implicit;v(4),oe("",e.ad.power," kWh")}}function a9e(t,n){if(t&1&&(_(0,"div",29),D(1),Ye(2,"currency"),b()),t&2){let e=E().$implicit;w("ngClass",e.darmasDeLeasing?"with-leasing":"without-leasing"),v(),oe(" ",N1(2,2,e.darmasDeLeasing==null||e.darmasDeLeasing.rates[0]==null?null:e.darmasDeLeasing.rates[0].grossRate,"EUR"),"\xA0 ")}}function o9e(t,n){if(t&1){let e=ke();_(0,"mat-grid-tile")(1,"mat-card",9),P("elementVisible",function(r){Q(e);let a=E();return X(a.getFurtherVehiclesData(r))}),_(2,"mat-card-header"),ie(3,"div",10),_(4,"mat-card-title"),D(5),b(),_(6,"mat-card-subtitle"),D(7),b(),K(8,Qhe,2,0,"div",11),_(9,"div",12),D(10),b()(),_(11,"div",13)(12,"img",14),P("click",function(){let r=Q(e).$implicit,a=E();return X(a.showDetail(r))}),b(),_(13,"div",15),P("click",function(){let r=Q(e).$implicit,a=E();return X(a.show360Overlay(r))}),_(14,"mat-icon"),D(15,"360"),b()()(),_(16,"mat-card-content",16)(17,"mat-chip-set",17),Oi(18,Jhe,1,1,"mat-chip",null,Kl),b(),_(20,"div",18),K(21,e9e,6,3,"div",19)(22,t9e,5,1,"div",19),_(23,"div",20),K(24,i9e,2,0,"mat-icon",21)(25,n9e,2,0,"mat-icon",21),_(26,"div",22),D(27),b()(),_(28,"div",20)(29,"mat-icon"),D(30,"settings"),b(),_(31,"div",22),D(32),b()(),K(33,r9e,5,1,"div",19),b(),_(34,"div",23)(35,"div",24),D(36),Ye(37,"currency"),b(),_(38,"div",25),D(39),Ye(40,"currency"),b(),K(41,a9e,3,5,"div",26),b(),_(42,"div",27),D(43," Kraftstoffverbr.1 (komb.): 13,6 l / 100 km CO\u2082-Emissionen1: 308,0 g / km (komb. ) CO\u2082-Klasse1: G "),b()()()()}if(t&2){let e=n.$implicit,i=n.index,r=E();v(),w("isTargetElement",i%8===0)("@fadeAnimation","in"),v(2),w("ngClass",Qf(26,Khe,[e.displayAd.make.toLowerCase()==="hyundai",e.displayAd.make.toLowerCase()==="jeep",e.displayAd.make.toLowerCase()==="audi",e.displayAd.make.toLowerCase()==="volkswagen",e.displayAd.make.toLowerCase()==="bmw",e.displayAd.make.toLowerCase()==="ford",e.displayAd.make.toLowerCase()==="fiat",e.displayAd.make.toLowerCase()==="opel",e.displayAd.make.toLowerCase()==="peugeot",e.displayAd.make.toLowerCase()==="porsche",e.displayAd.make.toLowerCase()==="citroen",e.displayAd.make.toLowerCase()==="kia",e.displayAd.make.toLowerCase()==="volvo",e.displayAd.make.toLowerCase()==="jaguar",e.displayAd.make.toLowerCase()==="landrover",e.displayAd.make.toLowerCase()==="lexus",e.displayAd.make.toLowerCase()==="mercedes-benz",e.displayAd.make.toLowerCase()==="renault",e.displayAd.make.toLowerCase()==="rover",e.displayAd.make.toLowerCase()==="seat"])),v(2),xt(e.displayAd.make),v(2),xt(e.displayAd.model),v(),w("ngIf",r.appService.isAvailable(e)),v(2),oe(" ",r.getShortenedStoreName(e.store.title)," "),v(2),w("src",r.getMasterImageUri(e),e2),v(6),Pi(e.ad.highlights),v(3),w("ngIf",e.displayAd.mileage),v(),w("ngIf",e.displayAd.firstRegistration),v(2),w("ngIf",e.ad.fuel!=="ELECTRICITY"),v(),w("ngIf",e.ad.fuel==="ELECTRICITY"),v(2),oe(" ",e.displayAd.fuel," "),v(5),oe(" ",e.displayAd.gearbox," "),v(),w("ngIf",e.ad.condition==="NEW"),v(2),w("ngClass",e.darmasDeLeasing?"with-leasing":"without-leasing"),v(),oe(" ",N1(37,20,e.ad.price.consumerPriceGross,"EUR")," "),v(2),w("ngClass",e.darmasDeLeasing?"with-leasing":"without-leasing"),v(),oe(" ",N1(40,23,e.ad.financing.monthlyInstallment,"EUR")," "),v(2),w("ngIf",e.darmasDeLeasing)}}function s9e(t,n){t&1&&(_(0,"div",30)(1,"p"),D(2,"Es wurden keine Fahrzeuge zu Ihren Suchkriterien gefunden."),b()())}var O5=(()=>{class t{dataFilterService;mobileDeLibService;dialog;appService;route;router;_document;dataSource;loading=!0;darmasAds=[];darmasAdsLength;paginator;table;dataFilter;dataSearchBar;filterIsLoadingSubject=new zr;filterIsLoading$=this.filterIsLoadingSubject.asObservable();dataFilterInOrOut="out";searchTerm;filterItemsSelectQS;filterItemsBooleanQS;sortItemQS;filterItemsSelect=[];filterItemsBoolean=[];sortItem;hasQueryParameter=!1;displayNoDocsFoundMessageSubject=new N;displayNoDocsFoundMessage$=this.displayNoDocsFoundMessageSubject.asObservable();breakpointObserver=m(ra);cards=this.breakpointObserver.observe(q8.Handset).pipe(Ce(({matches:e})=>e?[{id:"images",title:"",cols:1,rows:1},{title:"prices",cols:1,rows:1},{title:"baseData",cols:1,rows:1},{title:"consumptions",cols:1,rows:1}]:[{id:"Applikationen",title:"",cols:1,rows:2},{title:"Status",cols:1,rows:1},{title:"Darmas Chat",cols:1,rows:2},{title:"Anleitungen und Doks",cols:1,rows:1}]));constructor(e,i,r,a,o,s,l){this.dataFilterService=e,this.mobileDeLibService=i,this.dialog=r,this.appService=a,this.route=o,this.router=s,this._document=l,console.log("MasterComponent constructor"),this._document.addEventListener("scroll",this.onContentScrolled),this.route.queryParams.subscribe(u=>{console.log("params::",u),u&&Object.keys(u).length===0&&u.constructor===Object||(this.hasQueryParameter=!0,this.searchTerm=u.search,this.filterItemsSelectQS=u["q[]"],this.filterItemsBooleanQS=u.qb,this.sortItemQS=u.sort,console.log("query string:: ",this.searchTerm,this.filterItemsSelectQS,this.filterItemsBooleanQS))})}ngOnInit(){if(window.scroll(0,0),this.breakpoint=this.getBreakpoint(window.innerWidth),this.filterIsLoadingSubject.next(!0),this.dataFilterService.addStaticFilterItem("status.online",!0),this.searchTerm&&this.searchTerm!==""&&(console.log("searchTerm: ",this.searchTerm),this.dataFilterService.addStaticFilterItem("static.search",this.searchTerm,"string")),this.filterItemsBooleanQS&&this.filterItemsBooleanQS.length>0&&this.filterItemsBooleanQS.split(",").forEach(i=>{let r={adPropertyKey:i,hits:[{adPropertyType:"bool"}],description:[{value:i}]},a=this.dataFilterService.createFilterItem(!0,r);this.filterItemsBoolean.push(a),this.dataFilterService.addFilterItem(a)}),this.filterItemsSelectQS&&this.filterItemsSelectQS.length>0){console.log("filterItemsQS:: ",this.filterItemsSelectQS);let e;typeof this.filterItemsSelectQS=="string"?(e=this.appService.createSelectFilterItemFromQueryTerm(this.filterItemsSelectQS),this.filterItemsSelect.push(e),this.dataFilterService.addFilterItem(e)):this.filterItemsSelectQS.forEach(i=>{e=this.appService.createSelectFilterItemFromQueryTerm(i),this.filterItemsSelect.push(e),this.dataFilterService.addFilterItem(e)})}if(this.sortItemQS&&this.sortItemQS.length>0){console.log("sortItem:: ",this.sortItemQS);let[e,i]=this.sortItemQS.split(",");this.sortItem=this.appService.createSortItem(e,i),this.dataFilterService.addSortItem(this.sortItem)}else this.sortItem=this.appService.createSortItem("images",D0.DESCENDING),this.dataFilterService.addSortItem(this.sortItem)}firstInit=!0;ngAfterViewInit(){this.appService.showFilter$.subscribe(i=>{this.firstInit||(this.dataFilterInOrOut=this.dataFilter.showFilter()),this.firstInit=!1}),this.getFurtherVehiclesData(!0,!0)}getShortenedStoreName(e){if(e.length>15){if(e.includes("Hyundai"))return e.replace("Hyundai Center","HC");if(e.includes("Drive"))return e.replace("Darmas Drive","DD")}return e}show360Overlay(e){this.dialog.open(kI,{width:"1000px",data:{darmasAd:e}}).beforeClosed().subscribe(r=>{})}pageIndex=0;getFurtherVehiclesData(e,i=!1){if(console.log("getFurtherVehiclesData:: ",e),e){this.pageIndex++,console.log("pageIndex:: ",this.pageIndex);let r=null;i?r=Zt(this.dataFilterService.getValueCountForAllProperties(),this.dataFilterService.getFilteredDocs(this.pageIndex,10)).pipe(_t(2),Ce(a=>(this.loading=!1,a))):r=this.dataFilterService.getFilteredDocs(this.pageIndex,10).pipe(_t(1),Ce(a=>(this.loading=!1,a))),r.subscribe({next:a=>{console.log("DATA:: ",a),a[0].metadata?a[0].data.length>0&&(this.darmasAds?this.darmasAds=this.darmasAds.concat(a[0].data):this.darmasAds=a[0].data,this.darmasAdsLength=a[0].metadata[0].total,this.displayNoDocsFoundMessageSubject.next(!1)):this.dataFilter.initControlWithData(a,{searchTerm:this.searchTerm,filterItemsSelect:this.filterItemsSelect,filterItemsBoolean:this.filterItemsBoolean,sortItem:this.sortItem})},error:a=>{console.log(a)}})}}breakpoint;rowHeightRatio="1:1.45";onResize(e){this.breakpoint=this.getBreakpoint(e.target.innerWidth),this.rowHeightRatio=this.getRowHeightRatio(e.target.innerWidth)}currentPosition=0;scrollingDown=!0;hideNav=!1;onContentScrolled=e=>{let i=window.pageYOffset;i===0?(console.log("scroll is 0"),this.appService.hideNav=!1):(i>this.currentPosition&&i>151?(this.scrollingDown=!0,this.hideNav=!0):(this.scrollingDown=!1,this.hideNav=!1),this.appService.hideNav=this.hideNav,this.currentPosition=i,this.appService.currentScrollPosition=i)};getRowHeightRatio(e){let i="1:1.5";return e<=730?i="1:1.3":e<=880?i="1:1.6":e<=1100?i="1:1.4":e<=1300&&(i="1:1.6"),i}getBreakpoint(e){let i=3;return e<=730?i=1:e<=1100&&(i=2),i}showDetail(e){this.appService.currentPage="detail",this.router.navigate(["/details",e._id])}onFilteredDocsArrived(e){this.pageIndex=0,e[0].data.length>0?(this.darmasAds=e[0].data,this.darmasAdsLength=e[0].metadata[0].total):(this.darmasAds=[],this.darmasAdsLength=0),this.loading=!1}dataFilterLoading(e){this.filterIsLoadingSubject.next(e)}showFilter(e){this.dataFilterInOrOut=e.showFilter()}getDocsForSpecifiedStore(e){this.mobileDeLibService.getAllDarmasAdsNonAuth().pipe(_t(1)).subscribe(i=>{this.darmasAds=i,this.dataSource=new E5(this.darmasAds),this.darmasAdsLength=this.darmasAds.length,this.dataSource.paginator=this.paginator,this.loading=!1},i=>{this.loading=!1})}getMasterImageUri(e){return e.images&&e.images.length>0?xn.getAWSS3UrlForDarmasImage(e.images[0],"S3Ref"):e.ad.images[0].ref}openImageViewerDialog(e){this.dialog.open(ek,{height:"auto",data:{uri:e.ad.images[0].ref,selectedIndex:0,uris:e.ad.images.map(r=>r.ref)}}).beforeClosed().subscribe(r=>{})}ngOnDestroy(){this._document.removeEventListener("scroll",this.onContentScrolled)}static \u0275fac=function(i){return new(i||t)(ne(po),ne(Nc),ne(br),ne(Uc),ne(Un),ne(Gn),ne(_e))};static \u0275cmp=j({type:t,selectors:[["app-master"]],viewQuery:function(i,r){if(i&1&&(de(wg,7),de(yL,5),de(Yhe,5),de(qhe,5)),i&2){let a;F(a=V())&&(r.paginator=a.first),F(a=V())&&(r.table=a.first),F(a=V())&&(r.dataFilter=a.first),F(a=V())&&(r.dataSearchBar=a.first)}},decls:9,vars:9,consts:[["dataFilter",""],[1,"view-wrapper"],["class","haba-loading-shade",4,"ngIf"],["tabAnimationDuration","500ms",3,"filteredDocsArrived","startLoading","filterInitiallyHidden"],[2,"margin-bottom","20px",3,"count"],["gutterSize","20px",1,"master-grid",3,"resize","cols","rowHeight"],[4,"ngFor","ngForOf"],["class","no-docs-found",4,"ngIf"],[1,"haba-loading-shade"],["appAmIVisible","",2,"height","100%","border-radius","0","box-shadow","rgba(149, 157, 165, 0.2) 0px 8px 24px",3,"elementVisible","isTargetElement"],["mat-card-avatar","",1,"darmas",3,"ngClass"],["class","patch",4,"ngIf"],[1,"store-badge"],[1,"parent",2,"position","relative"],["title","First vehicle image",1,"master-image",3,"click","src"],[1,"viewer-360-available",3,"click"],[2,"min-height","125px"],["aria-label","Highlights",1,"highlights",2,"margin-top","10px","align-items","center"],[1,"base-info",2,"display","flex","flex-direction","row","flex-wrap","wrap","gap","20px","margin-top","10px","font-size","0.8em"],["class","info",4,"ngIf"],[1,"info"],[4,"ngIf"],[1,"base-info-text"],[1,"price",2,"display","flex","flex-direction","row","margin-top","10px"],[1,"bar",3,"ngClass"],[1,"financing",3,"ngClass"],["class","leasing",3,"ngClass",4,"ngIf"],[1,"consumptions-disclaimer"],[1,"patch"],[1,"leasing",3,"ngClass"],[1,"no-docs-found"]],template:function(i,r){if(i&1){let a=ke();_(0,"div",1),K(1,Zhe,2,0,"div",2),_(2,"lib-data-filter",3,0),P("filteredDocsArrived",function(s){return Q(a),X(r.onFilteredDocsArrived(s))})("startLoading",function(s){return Q(a),X(r.dataFilterLoading(s))}),b(),ie(4,"lib-data-filter-express",4),_(5,"mat-grid-list",5),P("resize",function(s){return Q(a),X(r.onResize(s))},yf),K(6,o9e,44,47,"mat-grid-tile",6),b(),K(7,s9e,3,0,"div",7),Ye(8,"async"),b()}i&2&&(v(),w("ngIf",r.loading),v(),w("filterInitiallyHidden",!0),v(2),w("count",r.darmasAdsLength),v(),w("cols",r.breakpoint)("rowHeight",r.rowHeightRatio),v(),w("ngForOf",r.darmasAds),v(),w("ngIf",ct(8,7,r.displayNoDocsFoundMessage$)))},dependencies:[fa,ho,Ig,YL,QL,An,j1,b0,w0,R3,Li,lr,Xr,an,N5,rk,Ng,u0,TE,OE,zE,NE,RE,AE,s0,o0,wp,ak,ck,$i,o3,a2,a3],styles:[".master-grid[_ngcontent-%COMP%]{z-index:9;margin:5px}.mat-grid-tile[_ngcontent-%COMP%]{box-shadow:#0e3f7e0a 0 0 0 1px,#2a33450a 0 1px 1px -.5px,#2a33460a 0 3px 3px -1.5px,#2a33460a 0 6px 6px -3px,#0e3f7e0a 0 12px 12px -6px,#0e3f7e0a 0 24px 24px -12px}.gradient[_ngcontent-%COMP%]{--size: 750px;--speed: 50s;--easing: cubic-bezier(.8, .2, .2, .8);width:var(--size);height:100vh;filter:blur(calc(var(--size) / 5));background-image:linear-gradient(#4377ef,#7befd0);animation:_ngcontent-%COMP%_rotate var(--speed) var(--easing) alternate infinite;border-radius:30% 70% 70% 30%/30% 30% 70% 70%}@media (min-width: 720px){.gradient[_ngcontent-%COMP%]{--size: 500px}}*[_ngcontent-%COMP%]{transition:all .5s ease-out}.price[_ngcontent-%COMP%]{width:100%}.price[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:15px;text-align:center}.price[_ngcontent-%COMP%]   .without-leasing[_ngcontent-%COMP%]{width:50%;font-size:1.7em}.price[_ngcontent-%COMP%]   .with-leasing[_ngcontent-%COMP%]{width:33.3%;font-size:1.3em}.price[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]{color:#333}.price[_ngcontent-%COMP%]   .financing[_ngcontent-%COMP%]{color:#004156}.price[_ngcontent-%COMP%]   .leasing[_ngcontent-%COMP%]{color:#9d0000}.consumptions-disclaimer[_ngcontent-%COMP%]{font-size:.7em;color:#999;position:absolute;bottom:15px}.viewer-360-available[_ngcontent-%COMP%]{position:absolute;z-index:1001;background:#0003;right:10px;top:10px}.viewer-360-available[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{font-size:2.5em;color:#fff;width:41px;height:38px}.patch[_ngcontent-%COMP%], .store-badge[_ngcontent-%COMP%]{background:linear-gradient(179deg,#00870099,#005a00b3);border:darkgreen;display:flex;align-items:center;justify-content:center;min-width:124px;min-height:29px;position:absolute;right:10px;top:10px;color:#fff;font-size:.7em;font-weight:100;text-transform:uppercase}.store-badge[_ngcontent-%COMP%]{right:10px;top:40px;background:none;color:#333;font-size:.8em;text-transform:none;justify-content:right}.darmas[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/hyundai-logo.jpg);background-size:cover;border-radius:.1px;width:77px}.hyundai[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/hyundai-logo.jpg);background-size:cover;width:77px}.alfa-romeo[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/alfa-romeo-logo.jpg);background-size:cover}.audi[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/audi-logo.png);background-size:cover;width:70px}.fiat[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/fiat-logo.jpg);background-size:cover;width:43px}.ford[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/ford-logo.png);background-size:cover}.kia[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/kia-logo.jpg);background-size:cover;width:80px}.mazda[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/mazda-logo.png);background-size:cover}.mercedes-benz[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/mercedes-benz-logo.jpg);background-size:cover}.seat[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/seat-logo.jpg);background-size:cover;width:50px}.opel[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/opel-logo.jpg);background-size:cover;width:52px}.volkswagen[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/volkswagen-logo.jpg);background-size:cover;width:46px}.mini[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/mini-logo.jpg);background-size:cover}.bmw[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/bmw-logo.png);background-size:cover;width:65px}.citroen[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/citroen-logo.jpg);background-size:cover}.jeep[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/jeep-logo.png);background-size:cover}.renault[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos//renault-logo.jpg);background-size:cover}.rover[_ngcontent-%COMP%]{background-image:url(https://carmarket-images.s3.eu-central-1.amazonaws.com/makes-logos/rover-logo.jpg);background-size:cover}mat-card-avatar[_ngcontent-%COMP%]{border-radius:.1px}tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#ddd}.table-row[_ngcontent-%COMP%]{padding:10px}.master-image[_ngcontent-%COMP%]{max-width:100%}@media only screen and (max-width: 768px){.headline[_ngcontent-%COMP%]{margin-top:15px}}.highlights[_ngcontent-%COMP%]{min-height:68px}@media screen and (max-width: 730px){.highlights[_ngcontent-%COMP%]{min-height:unset}}.iconList[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:0;padding-left:0}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.gradient[_ngcontent-%COMP%]{--size: 750px;--speed: 50s;--easing: cubic-bezier(.8, .2, .2, .8);width:var(--size);height:var(--size);filter:blur(calc(var(--size) / 5));background-image:linear-gradient(#4377ef,#7befd0);animation:_ngcontent-%COMP%_rotate var(--speed) var(--easing) alternate infinite;border-radius:30% 70% 70% 30%/30% 30% 70% 70%}"],data:{animation:[JL]}})}return t})();function c9e(t,n){if(t&1&&(_(0,"li",5),D(1),b()),t&2){let e=n.$implicit;v(),oe(" ",e.description," ")}}function l9e(t,n){if(t&1&&(_(0,"li",8),D(1),b()),t&2){let e=E().$implicit;v(),oe(" ",e," ")}}function d9e(t,n){if(t&1&&K(0,l9e,2,1,"li",9),t&2){let e=n.$implicit;w("ngIf",e!=="")}}var zI=(()=>{class t{mobileDeLibService;darmasAd;store;features;featuresInAd=new Array;parsedDescription;constructor(e){this.mobileDeLibService=e}ngOnInit(){this.store=this.darmasAd.store,this.mobileDeLibService.getFeaturesRefDataForVehicleClassCar().pipe(_t(1)).subscribe(e=>{this.features=e,this.features.sort(xn.compareValues("description")),this.features.forEach(i=>{let r=this.mobileDeLibService.transformKeyToCamelCase(i.name);typeof this.darmasAd.ad[r]=="boolean"?this.darmasAd.ad[r]&&this.featuresInAd.push(i):typeof this.darmasAd.ad[r]=="object"?(console.log("OBJECT:: "),console.log(this.darmasAd.ad[r])):typeof this.darmasAd.ad[r]=="string"&&(console.log("STRING::"),console.log(this.darmasAd.ad[r]),this.featuresInAd.push(i))})}),this.parsedDescription=this.mobileDeLibService.parseAdDescriptionCreoleSyntaxToHtml(this.darmasAd.ad.description)}static \u0275fac=function(i){return new(i||t)(ne(Nc))};static \u0275cmp=j({type:t,selectors:[["app-features"]],inputs:{darmasAd:"darmasAd"},decls:13,vars:1,consts:[["label","Beschreibung"],[2,"margin-top","20px","padding-left","50px","padding-right","50px"],[1,"nunito-100",3,"innerHTML"],["label","Ausstattung"],[1,"features-ul","nunito-100",2,"margin-top","20px"],[1,"feature-item"],["label","Highlights"],[1,"nunito-100",2,"margin-top","20px","min-width","100%"],[1,"highlight-item"],["class","highlight-item",4,"ngIf"]],template:function(i,r){i&1&&(_(0,"div")(1,"mat-tab-group")(2,"mat-tab",0)(3,"div",1),ie(4,"p",2),b()(),_(5,"mat-tab",3)(6,"ul",4),Oi(7,c9e,2,1,"li",5,R1),b()(),_(9,"mat-tab",6)(10,"ul",7),Oi(11,d9e,1,1,"li",8,R1),b()()()()),i&2&&(v(4),w("innerHTML",r.parsedDescription,Hl),v(3),Pi(r.featuresInAd),v(4),Pi(r.darmasAd.ad.highlights))},dependencies:[An,Li,an,M2,C2,lo],styles:['@charset "UTF-8";.feature-item[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{font-size:12px}ul[_ngcontent-%COMP%]{list-style-type:none}ul.features-ul[_ngcontent-%COMP%]{-moz-column-count:3;-moz-column-gap:20px;-webkit-column-count:3;-webkit-column-gap:20px;column-count:3;column-gap:20px}ul.features-ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"\\2713"}.highlight-item[_ngcontent-%COMP%]{background:#00800034;padding:15px;border-bottom:1px solid rgb(0,156,0);margin:5px}.highlight-item[_ngcontent-%COMP%]:nth-child(2){background:#00800040}.highlight-item[_ngcontent-%COMP%]:nth-child(3){background:#0080004d}.highlight-item[_ngcontent-%COMP%]:nth-child(4){background:#0080005a}@media screen and (max-width: 768px){ul.features-ul[_ngcontent-%COMP%]{-moz-column-count:2;-webkit-column-count:2;column-count:2}}.gradient[_ngcontent-%COMP%]{background-image:linear-gradient(#fff,#000);background-size:cover;background-position:center;background-attachment:fixed;width:100%;height:50px}']})}return t})();var u9e=["habaImageViewer"],m9e=["carcutterWebPlayer"];function f9e(t,n){t&1&&(_(0,"div",38),ie(1,"mat-spinner"),b())}function h9e(t,n){if(t&1){let e=ke();_(0,"mat-tab",39)(1,"div",19)(2,"div",20),D(3),Ye(4,"currency"),b(),_(5,"div",40)(6,"mat-form-field",22)(7,"mat-label"),D(8,"Anzahlung"),b(),_(9,"input",23),Vn("ngModelChange",function(r){Q(e);let a=E();return d1(a.leasingUpfrontPayment,r)||(a.leasingUpfrontPayment=r),X(r)}),b()(),_(10,"mat-button-toggle-group",24),Vn("ngModelChange",function(r){Q(e);let a=E();return d1(a.leasingRuntime,r)||(a.leasingRuntime=r),X(r)}),_(11,"mat-button-toggle",41),D(12,"24 M."),b(),_(13,"mat-button-toggle",42),D(14,"36 M."),b(),_(15,"mat-button-toggle",43),D(16,"48 M."),b()()()()()}if(t&2){let e=E();v(3),oe(" ",N1(4,3,e.darmasAd.darmasDeLeasing.rates[1].grossRate,"EUR")," "),v(6),Fn("ngModel",e.leasingUpfrontPayment),v(),Fn("ngModel",e.leasingRuntime)}}function p9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Erstzulassung"),b(),_(3,"div"),D(4),b()()),t&2){let e=E();v(4),oe(" ",e.appService.getFormattedFirstRegistration(e.darmasAd.ad.firstRegistration)," ")}}function g9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. City"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"kWh/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.power.city),"\xA0")}}function _9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Vorstadt"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"kWh/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.power.suburban),"\xA0")}}function v9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Landstra\xDFe"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"kWh/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.power.rural),"\xA0")}}function b9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Autobahn"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"kWh/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.power.highway),"\xA0")}}function y9e(t,n){if(t&1&&(zt(0),_(1,"div",30)(2,"div",31),D(3,"Verbr. kombiniert"),b(),_(4,"div"),D(5),Ye(6,"number"),_(7,"span"),D(8,"kWh/100km"),b()()(),K(9,g9e,8,3,"div",32)(10,_9e,8,3,"div",32)(11,v9e,8,3,"div",32)(12,b9e,8,3,"div",32),Rt()),t&2){let e=E(2);v(5),oe(" ",ct(6,5,e.darmasAd.ad.consumptions.power.combined),"\xA0"),v(4),w("ngIf",e.darmasAd.ad.consumptions.power.city),v(),w("ngIf",e.darmasAd.ad.consumptions.power.suburban),v(),w("ngIf",e.darmasAd.ad.consumptions.power.rural),v(),w("ngIf",e.darmasAd.ad.consumptions.power.highway)}}function C9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. kombiniert"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"l/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.fuel.combined),"\xA0")}}function M9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. City"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"l/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.fuel.city),"\xA0")}}function x9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Vorstadt"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"l/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.fuel.suburban),"\xA0")}}function w9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Landstra\xDFe"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"l/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.fuel.rural),"\xA0")}}function D9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"Verbr. Autobahn"),b(),_(3,"div"),D(4),Ye(5,"number"),_(6,"span"),D(7,"l/100km"),b()()()),t&2){let e=E(3);v(4),oe(" ",ct(5,1,e.darmasAd.ad.consumptions.fuel.highway),"\xA0")}}function S9e(t,n){if(t&1&&(zt(0),K(1,C9e,8,3,"div",32)(2,M9e,8,3,"div",32)(3,x9e,8,3,"div",32)(4,w9e,8,3,"div",32)(5,D9e,8,3,"div",32),Rt()),t&2){let e=E(2);v(),w("ngIf",e.darmasAd.ad.consumptions==null||e.darmasAd.ad.consumptions.fuel==null?null:e.darmasAd.ad.consumptions.fuel.combined),v(),w("ngIf",e.darmasAd.ad.consumptions==null||e.darmasAd.ad.consumptions.fuel==null?null:e.darmasAd.ad.consumptions.fuel.city),v(),w("ngIf",e.darmasAd.ad.consumptions==null||e.darmasAd.ad.consumptions.fuel==null?null:e.darmasAd.ad.consumptions.fuel.suburban),v(),w("ngIf",e.darmasAd.ad.consumptions==null||e.darmasAd.ad.consumptions.fuel==null?null:e.darmasAd.ad.consumptions.fuel.rural),v(),w("ngIf",e.darmasAd.ad.consumptions==null||e.darmasAd.ad.consumptions.fuel==null?null:e.darmasAd.ad.consumptions.fuel.highway)}}function E9e(t,n){t&1&&(_(0,"div",30)(1,"div",31),D(2,"CO2-Emission"),b(),_(3,"div"),D(4,"0\xA0g/km"),b()())}function L9e(t,n){t&1&&(_(0,"div",30)(1,"div",31),D(2,"CO2-Klasse"),b(),_(3,"div"),D(4,"A"),b()())}function k9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"CO2-Emission"),b(),_(3,"div"),D(4),Ye(5,"number"),b()()),t&2){let e=E(2);v(4),oe(" ",ct(5,1,e.darmasAd.ad.emissions.combined.co2),"\xA0g/km ")}}function I9e(t,n){if(t&1&&(_(0,"div",30)(1,"div",31),D(2,"CO2-Klasse"),b(),_(3,"div"),D(4),b()()),t&2){let e=E(2);v(4),xt(e.darmasAd.displayAd.emissionClass)}}function T9e(t,n){if(t&1&&(_(0,"div",29)(1,"div",44)(2,"h2"),D(3,"Verbrauch & Umwelt"),b()(),K(4,y9e,13,7,"ng-container",45)(5,S9e,6,5,"ng-container",45)(6,E9e,5,0,"div",32)(7,L9e,5,0,"div",32)(8,k9e,6,3,"div",32)(9,I9e,5,1,"div",32),b()),t&2){let e=E();v(4),w("ngIf",e.darmasAd.displayAd.fuel==="Elektro"),v(),w("ngIf",e.darmasAd.displayAd.fuel!=="Elektro"),v(),w("ngIf",e.darmasAd.displayAd.fuel==="Elektro"),v(),w("ngIf",e.darmasAd.displayAd.fuel==="Elektro"),v(),w("ngIf",e.darmasAd.displayAd.fuel!=="Elektro"&&(e.darmasAd.ad.emissions==null||e.darmasAd.ad.emissions.combined==null?null:e.darmasAd.ad.emissions.combined.co2)),v(),w("ngIf",e.darmasAd.displayAd.fuel!=="Elektro")}}function A9e(t,n){if(t&1&&(_(0,"div",29)(1,"div",44)(2,"h2"),D(3,"Kosten Modell"),b()(),_(4,"div",30)(5,"div",31),D(6,"KFZ Steuer"),b(),_(7,"div"),D(8),Ye(9,"number"),b()(),_(10,"div",30)(11,"div",31),D(12,"Niedrig"),b(),_(13,"div"),D(14),Ye(15,"number"),b(),D(16," \xA0\u2192\xA0 "),_(17,"div"),D(18),Ye(19,"number"),b()(),_(20,"div",30)(21,"div",31),D(22,"Mittel"),b(),_(23,"div"),D(24),Ye(25,"number"),b(),D(26," \xA0\u2192\xA0 "),_(27,"div"),D(28),Ye(29,"number"),b()(),_(30,"div",30)(31,"div",31),D(32,"Hoch"),b(),_(33,"div"),D(34),Ye(35,"number"),b(),D(36," \xA0\u2192\xA0 "),_(37,"div"),D(38),Ye(39,"number"),b()()()),t&2){let e=E();v(8),oe(" ",ct(9,7,e.darmasAd.ad.costModel.tax||0),"\xA0\u20AC/Jahr "),v(6),oe(" ",ct(15,9,e.darmasAd.ad.costModel.co2Costs.low.basePrice),"\xA0\u20AC/t "),v(4),oe(" ",ct(19,11,e.darmasAd.ad.costModel.co2Costs.low.accumulated),"\xA0\u20AC "),v(6),oe(" ",ct(25,13,e.darmasAd.ad.costModel.co2Costs.middle.basePrice),"\xA0\u20AC/t "),v(4),oe(" ",ct(29,15,e.darmasAd.ad.costModel.co2Costs.middle.accumulated),"\xA0\u20AC "),v(6),oe(" ",ct(35,17,e.darmasAd.ad.costModel.co2Costs.high.basePrice),"\xA0\u20AC/t "),v(4),oe(" ",ct(39,19,e.darmasAd.ad.costModel.co2Costs.high.accumulated),"\xA0\u20AC ")}}var RI=(()=>{class t{mobileDeService;activatedRoute;dialog;location;appService;breakpointObserver=m(ra);darmasAd;darmasAdId;loading=!0;imageViewer;webPlayer;tiles=[{text:"One",cols:4,rows:3,color:"lightblue"},{text:"Two",cols:1,rows:2,color:"lightgreen"},{text:"Three",cols:1,rows:1,color:"lightpink"},{text:"Four",cols:2,rows:1,color:"#DDBDF1"}];financingUpfrontPayment;financingRuntime;leasingUpfrontPayment=1e3;leasingRuntime="24";show360=!1;constructor(e,i,r,a,o){this.mobileDeService=e,this.activatedRoute=i,this.dialog=r,this.location=a,this.appService=o,this.activatedRoute.params.subscribe(s=>{this.darmasAdId=s.darmasAdId})}ngOnInit(){console.log("DarmasAdId: ",this.darmasAdId),this.breakpoint=this.getBreakpoint(window.innerWidth),this.mobileDeService.getDarmasAdNonAuth(this.darmasAdId).pipe(_t(1)).subscribe(e=>{console.log(e),this.darmasAd=e,this.financingUpfrontPayment=e.ad.financing?.firstInstallment,this.financingRuntime=String(e.ad.financing?.paybackPeriod),this.leasingUpfrontPayment=e.darmasDeLeasing?.rates[1].downPayment,this.leasingRuntime=String(e.darmasDeLeasing?.rates[1].termOfContract),this.appService.currentDarmasAd=e,window.scrollTo(0,0),setTimeout(()=>{this.loading=!1},300)})}ngAfterViewInit(){console.log("ngAfterViewInit:: ",this.imageViewer,this.webPlayer)}get360ViewerSrc(e){let i=e.ad.vin;i="TMAJCCCCCCC123123";let r="https://cdn.car-cutter.com/gallery/b512b528123f72eaa5c567ac5f1f3e82a3d32d133b48cb3c610481edef90428d/"+i+"/composition.json";return console.log(r),r}createPdfExpose(e){console.log("createPdfExpose:: ")}addToCart(){console.log("Artikel wurde zum Warenkorb hinzugef\xFCgt")}calculateFinancingPrice(){console.log("calculateFinancingPrice:: ",this.financingUpfrontPayment,this.financingRuntime)}calculateLeasingPrice(){console.log("calculateLeasingPrice:: ",this.leasingUpfrontPayment,this.leasingRuntime)}breakpoint;rowHeightRatio="1:1.45";onResize(e){this.breakpoint=this.getBreakpoint(e.target.innerWidth),this.rowHeightRatio=this.getRowHeightRatio(e.target.innerWidth)}imageViewerTypeChanged(e){console.log("imageViewerTypeChanged",e),this.show360=e.value==="360"}getImageUrls(e){if(e.images&&e.images.length>0){let i=new Array;return e.images.forEach(r=>{i.push({ref:xn.getAWSS3UrlForDarmasImage(r,"S3Ref")})}),i}else return e.ad.images}getThumbImageUrls(e){if(e.images&&e.images.length>0){let i=new Array;return e.images.forEach(r=>{i.push(xn.getAWSS3UrlForDarmasImage(r,"S3RefOriginalThumb"))}),i}else return e.ad.images.map(i=>i.ref.split("$_")[0]+"$_18.JPG")}navigateBack(){this.location.back()}getRowHeightRatio(e){let i="1:2";return(e<=730||e<=880||e<=1100||e<=1300)&&(i="1:2"),i}getBreakpoint(e){let i=2;return(e<=730||e<=900)&&(i=1),i}static \u0275fac=function(i){return new(i||t)(ne(Nc),ne(Un),ne(br),ne(u1),ne(Uc))};static \u0275cmp=j({type:t,selectors:[["app-detail"]],viewQuery:function(i,r){if(i&1&&(de(u9e,5),de(m9e,5)),i&2){let a;F(a=V())&&(r.imageViewer=a.first),F(a=V())&&(r.webPlayer=a.first)}},decls:83,vars:31,consts:[["carcutterWebPlayer",""],["habaImageViewer",""],[1,"view-wrapper"],["class","haba-loading-shade",4,"ngIf"],[1,"detail-headline"],[1,"button-wrapper",2,"display","flex","flex-direction","row","gap","10px","flex-wrap","wrap"],["mat-raised-button","",2,"color","rgb(174, 0, 180)",3,"click"],["mat-raised-button","","color","accent",3,"click"],[1,"flex-wrapper",2,"display","flex","flex-direction","row","gap","20px","width","100%","justify-content","space-around"],[1,"images-area-wrapper"],[1,"image-viewer-wrapper"],["aspect","4:3",3,"src"],[1,"fallback-content-or-error-message"],[3,"theImages","theThumbImages"],[1,"prices-area-wrapper",2,"flex-grow","1","display","flex","flex-direction","column","gap","60px"],["label","Kaufen"],[1,"barprice-options",2,"display","flex","flex-direction","row","gap","20px","align-items","center","margin-top","10px","width","100%","justify-content","center"],[2,"font-size","3em","color","#555"],["label","Finanzieren"],[2,"display","flex","flex-direction","column","gap","20px"],[2,"font-size","3em","color","#555","display","flex","align-items","center","margin-top","10px","width","100%","justify-content","center"],[1,"financing-options",2,"display","flex","flex-direction","row","gap","20px","align-items","center","margin-top","10px","flex-wrap","wrap","justify-content","center"],["subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","MONTHS_24"],["value","MONTHS_36"],["value","MONTHS_48"],["label","Leasen",4,"ngIf"],[1,"haba-card","table"],[1,"table-row"],[1,"label"],["class","table-row",4,"ngIf"],[2,"display","flex","flex-direction","row","flex-wrap","wrap","gap","20px","margin-top","20px"],[1,"features-area-wrapper"],[3,"darmasAd"],[2,"flex-grow","1","display","flex","flex-direction","column","gap","10px"],["class","haba-card table",4,"ngIf"],[1,"haba-loading-shade"],["label","Leasen"],[1,"leasing-options",2,"display","flex","flex-direction","row","gap","20px","align-items","center","margin-top","10px","flex-wrap","wrap","justify-content","center"],["value","24"],["value","36"],["value","48"],[1,"table-headline"],[4,"ngIf"]],template:function(i,r){if(i&1){let a=ke();_(0,"div",2),K(1,f9e,2,0,"div",3),_(2,"div",4)(3,"h1"),D(4),b(),_(5,"div",5)(6,"button",6),P("click",function(){return Q(a),X(r.createPdfExpose(r.darmasAd))}),D(7," Expos\xE8\xA0"),_(8,"mat-icon"),D(9,"picture_as_pdf"),b()(),_(10,"button",7),P("click",function(){return Q(a),X(r.addToCart())}),D(11," In den Warenkorb\xA0"),_(12,"mat-icon"),D(13,"add_shopping_cart"),b()()()(),_(14,"div",8)(15,"div",9)(16,"div",10)(17,"carcutter-web-player",11,0)(19,"div",12),ie(20,"lib-image-viewer",13,1),D(22," JSON NOT EXISTENT! "),b()()()(),_(23,"div",14)(24,"mat-tab-group")(25,"mat-tab",15)(26,"div",16)(27,"div",17),D(28),Ye(29,"currency"),b()()(),_(30,"mat-tab",18)(31,"div",19)(32,"div",20),D(33),Ye(34,"currency"),b(),_(35,"div",21)(36,"mat-form-field",22)(37,"mat-label"),D(38,"Anzahlung \u20AC"),b(),_(39,"input",23),Vn("ngModelChange",function(s){return Q(a),d1(r.financingUpfrontPayment,s)||(r.financingUpfrontPayment=s),X(s)}),b()(),_(40,"mat-button-toggle-group",24),Vn("ngModelChange",function(s){return Q(a),d1(r.financingRuntime,s)||(r.financingRuntime=s),X(s)}),_(41,"mat-button-toggle",25),D(42,"24 M."),b(),_(43,"mat-button-toggle",26),D(44,"36 M."),b(),_(45,"mat-button-toggle",27),D(46,"48 M."),b()()()()(),K(47,h9e,17,6,"mat-tab",28),b(),_(48,"div",29)(49,"div",30)(50,"div",31),D(51,"Zustand"),b(),_(52,"div"),D(53),b()(),K(54,p9e,5,1,"div",32),_(55,"div",30)(56,"div",31),D(57,"Kilometerstand"),b(),_(58,"div"),D(59),Ye(60,"number"),b()(),_(61,"div",30)(62,"div",31),D(63,"Getriebe"),b(),_(64,"div"),D(65),b()(),_(66,"div",30)(67,"div",31),D(68,"Kraftstoff"),b(),_(69,"div"),D(70),b()(),_(71,"div",30)(72,"div",31),D(73,"Leistung"),b(),_(74,"div"),D(75),Ye(76,"number"),b()()()()(),_(77,"div",33)(78,"div",34),ie(79,"app-features",35),b(),_(80,"div",36),K(81,T9e,10,6,"div",37)(82,A9e,40,21,"div",37),b()()()}i&2&&(w("@fadeAnimation","in"),v(),w("ngIf",r.loading),v(3),xt(r.darmasAd.ad==null?null:r.darmasAd.ad.modelDescription),v(13),w("src",r.get360ViewerSrc(r.darmasAd)),v(3),w("theImages",r.getImageUrls(r.darmasAd))("theThumbImages",r.getThumbImageUrls(r.darmasAd)),v(8),oe(" ",N1(29,20,r.darmasAd.ad.price.consumerPriceGross,"EUR")," "),v(5),oe(" ",N1(34,23,r.darmasAd.ad.financing.monthlyInstallment,"EUR")," "),v(6),Fn("ngModel",r.financingUpfrontPayment),v(),Fn("ngModel",r.financingRuntime),v(7),w("ngIf",r.darmasAd.ad.condition==="NEW"&&r.darmasAd.darmasDeLeasing),v(6),xt(r.darmasAd.displayAd.condition),v(),w("ngIf",r.darmasAd.ad.firstRegistration&&r.darmasAd.displayAd.firstRegistration!==""),v(5),oe(" ",N1(60,26,r.darmasAd.displayAd.mileage,"1.0-0"),"\xA0km "),v(6),xt(r.darmasAd.displayAd.gearbox),v(5),xt(r.darmasAd.displayAd.fuel),v(5),oe("",ct(76,29,r.darmasAd.displayAd.power),"\xA0PS"),v(4),w("darmasAd",r.darmasAd),v(2),w("ngIf",r.darmasAd.ad.consumptions),v(),w("ngIf",r.darmasAd.ad.costModel))},dependencies:[Sc,fa,ho,An,j1,sk,zI,R3,Li,an,k2,d0,wc,$i,L2,M2,C2,lo,N5,T9,B3,I9,ac,k9,Yn,U1,da,I2,IE,vr,o3,a3],styles:["img[_ngcontent-%COMP%]{width:100%;height:auto}.head-area[_ngcontent-%COMP%]{background-color:#0006;padding:10px;color:#fff;position:relative;margin-bottom:10px}.head-area[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{color:#bbb;text-transform:uppercase}.image-list-item[_ngcontent-%COMP%]{margin:5px}.detail-headline[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:10px}.label[_ngcontent-%COMP%]{width:50%;color:#aaa}.label.colspan-2[_ngcontent-%COMP%]{width:100%}.table-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding:10px 20px}div.table[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-of-type(2n){background-color:#f2f2f2}div.table[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{border-bottom:1px solid #dddddd}h1[_ngcontent-%COMP%]{font-size:1.5rem;color:#2e2e2e}.price-upe[_ngcontent-%COMP%]   .stroke[_ngcontent-%COMP%]{position:absolute;width:100%;top:11px;border-top:3px solid #ad1624;transform:rotate(170deg);-webkit-transform:rotate(170deg);-moz-transform:rotate(170deg);-o-transform:rotate(170deg)}.images-area-wrapper[_ngcontent-%COMP%], .features-area-wrapper[_ngcontent-%COMP%]{width:60%}.base-data-area-wrapper[_ngcontent-%COMP%]{width:60%;background:linear-gradient(90deg,#fff 50%,#f2f2f2 50%)}@media only screen and (max-width: 910px){.images-area-wrapper[_ngcontent-%COMP%], .prices-area-wrapper[_ngcontent-%COMP%], .features-area-wrapper[_ngcontent-%COMP%]{width:100%}}"]})}return t})();var NI=[{path:"",pathMatch:"full",redirectTo:"master"},{path:"master",component:O5,data:{reuse:!0,name:"master",animation:"MasterPage"}},{path:"details/:darmasAdId",component:RI,data:{reuse:!1,name:"detail",animation:"DetailPage"}}];function OI(t){return new G(3e3,!1)}function z9e(){return new G(3100,!1)}function R9e(){return new G(3101,!1)}function N9e(t){return new G(3001,!1)}function O9e(t){return new G(3003,!1)}function P9e(t){return new G(3004,!1)}function FI(t,n){return new G(3005,!1)}function VI(){return new G(3006,!1)}function BI(){return new G(3007,!1)}function HI(t,n){return new G(3008,!1)}function jI(t){return new G(3002,!1)}function UI(t,n,e,i,r){return new G(3010,!1)}function GI(){return new G(3011,!1)}function WI(){return new G(3012,!1)}function $I(){return new G(3200,!1)}function YI(){return new G(3202,!1)}function qI(){return new G(3013,!1)}function KI(t){return new G(3014,!1)}function ZI(t){return new G(3015,!1)}function QI(t){return new G(3016,!1)}function XI(t,n){return new G(3404,!1)}function F9e(t){return new G(3502,!1)}function JI(t){return new G(3503,!1)}function eT(){return new G(3300,!1)}function tT(t){return new G(3504,!1)}function iT(t){return new G(3301,!1)}function nT(t,n){return new G(3302,!1)}function rT(t){return new G(3303,!1)}function aT(t,n){return new G(3400,!1)}function oT(t){return new G(3401,!1)}function sT(t){return new G(3402,!1)}function cT(t,n){return new G(3505,!1)}function _a(t){switch(t.length){case 0:return new pr;case 1:return t[0];default:return new h2(t)}}function L_(t,n,e=new Map,i=new Map){let r=[],a=[],o=-1,s=null;if(n.forEach(l=>{let u=l.get("offset"),h=u==o,g=h&&s||new Map;l.forEach((C,M)=>{let x=M,k=C;if(M!=="offset")switch(x=t.normalizePropertyName(x,r),k){case cc:k=e.get(M);break;case p1:k=i.get(M);break;default:k=t.normalizeStyleValue(M,x,k,r);break}g.set(x,k)}),h||a.push(g),s=g,o=u}),r.length)throw F9e(r);return a}function Z5(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&D_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&D_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&D_(e,"destroy",t)));break}}function D_(t,n,e){let i=e.totalTime,r=!!e.disabled,a=Q5(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),o=t._data;return o!=null&&(a._data=o),a}function Q5(t,n,e,i,r="",a=0,o){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function zn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function k_(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var V9e=typeof document>"u"?null:document.documentElement;function X5(t){let n=t.parentNode||t.host||null;return n===V9e?null:n}function B9e(t){return t.substring(1,6)=="ebkit"}var O2=null,PI=!1;function lT(t){O2||(O2=H9e()||{},PI=O2.style?"WebkitAppearance"in O2.style:!1);let n=!0;return O2.style&&!B9e(t)&&(n=t in O2.style,!n&&PI&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in O2.style)),n}function H9e(){return typeof document<"u"?document.body:null}function I_(t,n){for(;n;){if(n===t)return!0;n=X5(n)}return!1}function T_(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var j9e=1e3,A_="{{",U9e="}}",z_="ng-enter",J5="ng-leave",N0="ng-trigger",O0=".ng-trigger",R_="ng-animating",eu=".ng-animating";function Mr(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:S_(parseFloat(n[1]),n[2])}function S_(t,n){switch(n){case"s":return t*j9e;default:return t}}function P0(t,n,e){return t.hasOwnProperty("duration")?t:W9e(t,n,e)}var G9e=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function W9e(t,n,e){let i,r=0,a="";if(typeof t=="string"){let o=t.match(G9e);if(o===null)return n.push(OI(t)),{duration:0,delay:0,easing:""};i=S_(parseFloat(o[1]),o[2]);let s=o[3];s!=null&&(r=S_(parseFloat(s),o[4]));let l=o[5];l&&(a=l)}else i=t;if(!e){let o=!1,s=n.length;i<0&&(n.push(z9e()),o=!0),r<0&&(n.push(R9e()),o=!0),o&&n.splice(s,0,OI(t))}return{duration:i,delay:r,easing:a}}function dT(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function W1(t,n,e){n.forEach((i,r)=>{let a=tu(r);e&&!e.has(r)&&e.set(r,t.style[a]),t.style[a]=i})}function yo(t,n){n.forEach((e,i)=>{let r=tu(i);t.style[r]=""})}function Gc(t){return Array.isArray(t)?t.length==1?t[0]:G3(t):t}function uT(t,n,e){let i=n.params||{},r=N_(t);r.length&&r.forEach(a=>{i.hasOwnProperty(a)||e.push(N9e(a))})}var E_=new RegExp(`${A_}\\s*(.+?)\\s*${U9e}`,"g");function N_(t){let n=[];if(typeof t=="string"){let e;for(;e=E_.exec(t);)n.push(e[1]);E_.lastIndex=0}return n}function Wc(t,n,e){let i=`${t}`,r=i.replace(E_,(a,o)=>{let s=n[o];return s==null&&(e.push(O9e(o)),s=""),s.toString()});return r==i?t:r}var $9e=/-+([a-z0-9])/g;function tu(t){return t.replace($9e,(...n)=>n[1].toUpperCase())}function mT(t,n){return t===0||n===0}function fT(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((a,o)=>{i.has(o)||r.push(o),i.set(o,a)}),r.length)for(let a=1;a<n.length;a++){let o=n[a];r.forEach(s=>o.set(s,iu(t,s)))}}return n}function Rn(t,n,e){switch(n.type){case Xe.Trigger:return t.visitTrigger(n,e);case Xe.State:return t.visitState(n,e);case Xe.Transition:return t.visitTransition(n,e);case Xe.Sequence:return t.visitSequence(n,e);case Xe.Group:return t.visitGroup(n,e);case Xe.Animate:return t.visitAnimate(n,e);case Xe.Keyframes:return t.visitKeyframes(n,e);case Xe.Style:return t.visitStyle(n,e);case Xe.Reference:return t.visitReference(n,e);case Xe.AnimateChild:return t.visitAnimateChild(n,e);case Xe.AnimateRef:return t.visitAnimateRef(n,e);case Xe.Query:return t.visitQuery(n,e);case Xe.Stagger:return t.visitStagger(n,e);default:throw P9e(n.type)}}function iu(t,n){return window.getComputedStyle(t)[n]}var X_=(()=>{class t{validateStyleProperty(e){return lT(e)}containsElement(e,i){return I_(e,i)}getParentElement(e){return X5(e)}query(e,i,r){return T_(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,a,o,s=[],l){return new pr(r,a)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),F2=class{static NOOP=new X_},V2=class{};var Y9e=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),su=class extends V2{normalizePropertyName(n,e){return tu(n)}normalizeStyleValue(n,e,i,r){let a="",o=i.toString().trim();if(Y9e.has(e)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(FI(n,i))}return o+a}};var cu="*";function q9e(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>K9e(i,e,n)):e.push(t),e}function K9e(t,n,e){if(t[0]==":"){let l=Z9e(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(ZI(t)),n;let r=i[1],a=i[2],o=i[3];n.push(hT(r,o));let s=r==cu&&o==cu;a[0]=="<"&&!s&&n.push(hT(o,r))}function Z9e(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(QI(t)),"* => *"}}var nu=new Set(["true","1"]),ru=new Set(["false","0"]);function hT(t,n){let e=nu.has(t)||ru.has(t),i=nu.has(n)||ru.has(n);return(r,a)=>{let o=t==cu||t==r,s=n==cu||n==a;return!o&&e&&typeof r=="boolean"&&(o=r?nu.has(t):ru.has(t)),!s&&i&&typeof a=="boolean"&&(s=a?nu.has(n):ru.has(n)),o&&s}}var wT=":self",Q9e=new RegExp(`s*${wT}s*,?`,"g");function DT(t,n,e,i){return new H_(t).build(n,e,i)}var pT="",H_=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new j_(e);return this._resetContextStyleTimingState(r),Rn(this,Gc(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=pT,n.collectedStyles=new Map,n.collectedStyles.set(pT,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,a=[],o=[];return n.name.charAt(0)=="@"&&e.errors.push(VI()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==Xe.State){let l=s,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,a.push(this.visitState(l,e))}),l.name=u}else if(s.type==Xe.Transition){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,o.push(l)}else e.errors.push(BI())}),{type:Xe.Trigger,name:n.name,states:a,transitions:o,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let a=new Set,o=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{N_(l).forEach(u=>{o.hasOwnProperty(u)||a.add(u)})})}),a.size&&e.errors.push(HI(n.name,[...a.values()]))}return{type:Xe.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=Rn(this,Gc(n.animation),e),r=q9e(n.expr,e.errors);return{type:Xe.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:P2(n.options)}}visitSequence(n,e){return{type:Xe.Sequence,steps:n.steps.map(i=>Rn(this,i,e)),options:P2(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,a=n.steps.map(o=>{e.currentTime=i;let s=Rn(this,o,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:Xe.Group,steps:a,options:P2(n.options)}}visitAnimate(n,e){let i=tpe(n.timings,e.errors);e.currentAnimateTimings=i;let r,a=n.styles?n.styles:qe({});if(a.type==Xe.Keyframes)r=this.visitKeyframes(a,e);else{let o=n.styles,s=!1;if(!o){s=!0;let u={};i.easing&&(u.easing=i.easing),o=qe(u)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:Xe.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)typeof s=="string"?s===p1?i.push(s):e.errors.push(jI(s)):i.push(new Map(Object.entries(s)));let a=!1,o=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(o=s.get("easing"),s.delete("easing")),!a)){for(let l of s.values())if(l.toString().indexOf(A_)>=0){a=!0;break}}}),{type:Xe.Style,styles:i,easing:o,offset:n.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),n.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,l)=>{let u=e.collectedStyles.get(e.currentQuerySelector),h=u.get(l),g=!0;h&&(a!=r&&a>=h.startTime&&r<=h.endTime&&(e.errors.push(UI(l,h.startTime,h.endTime,a,r)),g=!1),a=h.startTime),g&&u.set(l,{startTime:a,endTime:r}),e.options&&uT(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:Xe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(GI()),i;let r=1,a=0,o=[],s=!1,l=!1,u=0,h=n.steps.map(T=>{let ce=this._makeStyleAst(T,e),ye=ce.offset!=null?ce.offset:epe(ce.styles),Se=0;return ye!=null&&(a++,Se=ce.offset=ye),l=l||Se<0||Se>1,s=s||Se<u,u=Se,o.push(Se),ce});l&&e.errors.push(WI()),s&&e.errors.push($I());let g=n.steps.length,C=0;a>0&&a<g?e.errors.push(YI()):a==0&&(C=r/(g-1));let M=g-1,x=e.currentTime,k=e.currentAnimateTimings,I=k.duration;return h.forEach((T,ce)=>{let ye=C>0?ce==M?1:C*ce:o[ce],Se=ye*I;e.currentTime=x+k.delay+Se,k.duration=Se,this._validateStyleAst(T,e),T.offset=ye,i.styles.push(T)}),i}visitReference(n,e){return{type:Xe.Reference,animation:Rn(this,Gc(n.animation),e),options:P2(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:Xe.AnimateChild,options:P2(n.options)}}visitAnimateRef(n,e){return{type:Xe.AnimateRef,animation:this.visitReference(n.animation,e),options:P2(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[a,o]=X9e(n.selector);e.currentQuerySelector=i.length?i+" "+a:a,zn(e.collectedStyles,e.currentQuerySelector,new Map);let s=Rn(this,Gc(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Xe.Query,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:n.selector,options:P2(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(qI());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:P0(n.timings,e.errors,!0);return{type:Xe.Stagger,animation:Rn(this,Gc(n.animation),e),timings:i,options:null}}};function X9e(t){let n=!!t.split(/\s*,\s*/).find(e=>e==wT);return n&&(t=t.replace(Q9e,"")),t=t.replace(/@\*/g,O0).replace(/@\w+/g,e=>O0+"-"+e.slice(1)).replace(/:animating/g,eu),[t,n]}function J9e(t){return t?z({},t):null}var j_=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function epe(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function tpe(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let a=P0(t,n).duration;return O_(a,0,"")}let e=t;if(e.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=O_(0,0,"");return a.dynamic=!0,a.strValue=e,a}let r=P0(e,n);return O_(r.duration,r.delay,r.easing)}function P2(t){return t?(t=z({},t),t.params&&(t.params=J9e(t.params))):t={},t}function O_(t,n,e){return{duration:t,delay:n,easing:e}}function J_(t,n,e,i,r,a,o=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var V0=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},ipe=1,npe=":enter",rpe=new RegExp(npe,"g"),ape=":leave",ope=new RegExp(ape,"g");function ST(t,n,e,i,r,a=new Map,o=new Map,s,l,u=[]){return new U_().buildKeyframes(t,n,e,i,r,a,o,s,l,u)}var U_=class{buildKeyframes(n,e,i,r,a,o,s,l,u,h=[]){u=u||new V0;let g=new G_(n,e,u,r,a,h,[]);g.options=l;let C=l.delay?Mr(l.delay):0;g.currentTimeline.delayNextStep(C),g.currentTimeline.setStyles([o],null,g.errors,l),Rn(this,i,g);let M=g.timelines.filter(x=>x.containsAnimation());if(M.length&&s.size){let x;for(let k=M.length-1;k>=0;k--){let I=M[k];if(I.element===e){x=I;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([s],null,g.errors,l)}return M.length?M.map(x=>x.buildKeyframes()):[J_(e,[],[],[],0,C,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),a=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);a!=o&&e.transformIntoNewTimeline(o)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let a=r?.delay;if(a){let o=typeof a=="number"?a:Mr(Wc(a,r?.params??{},e.errors));i.delayNextStep(o)}}}_visitSubInstructions(n,e,i){let a=e.currentTimeline.currentTime,o=i.duration!=null?Mr(i.duration):null,s=i.delay!=null?Mr(i.delay):null;return o!==0&&n.forEach(l=>{let u=e.appendInstructionToTimeline(l,o,s);a=Math.max(a,u.duration+u.delay)}),a}visitReference(n,e){e.updateOptions(n.options,!0),Rn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,a=n.options;if(a&&(a.params||a.delay)&&(r=e.createSubContext(a),r.transformIntoNewTimeline(),a.delay!=null)){r.previousNode.type==Xe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=lu);let o=Mr(a.delay);r.delayNextStep(o)}n.steps.length&&(n.steps.forEach(o=>Rn(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,a=n.options&&n.options.delay?Mr(n.options.delay):0;n.steps.forEach(o=>{let s=e.createSubContext(n.options);a&&s.delayNextStep(a),Rn(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Wc(i,e.params,e.errors):i;return P0(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let a=n.style;a.type==Xe.Keyframes?this.visitKeyframes(a,e):(e.incrementTime(i.duration),this.visitStyle(a,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(a):i.setStyles(n.styles,a,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,a=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{let u=l.offset||0;s.forwardTime(u*a),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+a),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},a=r.delay?Mr(r.delay):0;a&&(e.previousNode.type===Xe.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=lu);let o=i,s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((u,h)=>{e.currentQueryIndex=h;let g=e.createSubContext(n.options,u);a&&g.delayNextStep(a),u===e.element&&(l=g.currentTimeline),Rn(this,n.animation,g),g.currentTimeline.applyStylesToKeyframe();let C=g.currentTimeline.currentTime;o=Math.max(o,C)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,a=n.timings,o=Math.abs(a.duration),s=o*(e.currentQueryTotal-1),l=o*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime;break}let h=e.currentTimeline;l&&h.delayNextStep(l);let g=h.currentTime;Rn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-g+(r.startTime-i.currentTimeline.startTime)}},lu={},G_=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=lu;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,a,o,s,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.currentTimeline=l||new du(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Mr(i.duration)),i.delay!=null&&(r.delay=Mr(i.delay));let a=i.params;if(a){let o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(s=>{(!e||!o.hasOwnProperty(s))&&(o[s]=Wc(a[s],o,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(n),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(n){return this.previousNode=lu,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},a=new W_(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(a),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,a,o){let s=[];if(r&&s.push(this.element),n.length>0){n=n.replace(rpe,"."+this._enterClassName),n=n.replace(ope,"."+this._leaveClassName);let l=i!=1,u=this._driver.query(this.element,n,l);i!==0&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),s.push(...u)}return!a&&s.length==0&&o.push(KI(e)),s}},du=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=ipe,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||p1),this._currentKeyframe.set(e,p1);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let a=r&&r.params||{},o=spe(n,this._globalTimelineStyles);for(let[s,l]of o){let u=Wc(l,a,i);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??p1),this._updateStyle(s,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let u=new Map([...this._backFill,...s]);u.forEach((h,g)=>{h===cc?n.add(g):h===p1&&e.add(g)}),i||u.set("offset",l/this.duration),r.push(u)});let a=[...n.values()],o=[...e.values()];if(i){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return J_(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}},W_=class extends du{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,a,o,s=!1){super(n,e,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=a,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let a=[],o=i+e,s=e/o,l=new Map(n[0]);l.set("offset",0),a.push(l);let u=new Map(n[0]);u.set("offset",gT(s)),a.push(u);let h=n.length-1;for(let g=1;g<=h;g++){let C=new Map(n[g]),M=C.get("offset"),x=e+M*i;C.set("offset",gT(x/o)),a.push(C)}i=o,e=0,r="",n=a}return J_(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function gT(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function spe(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let a of i)e.set(a,p1)}else for(let[a,o]of r)e.set(a,o)}),e}function _T(t,n,e,i,r,a,o,s,l,u,h,g,C){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:g,errors:C}}var P_={},uu=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return cpe(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,a,o,s,l,u,h){let g=[],C=this.ast.options&&this.ast.options.params||P_,M=s&&s.params||P_,x=this.buildStyles(i,M,g),k=l&&l.params||P_,I=this.buildStyles(r,k,g),T=new Set,ce=new Map,ye=new Map,Se=r==="void",rt={params:ET(k,C),delay:this.ast.options?.delay},et=h?[]:ST(n,e,this.ast.animation,a,o,x,I,rt,u,g),mt=0;return et.forEach(Ne=>{mt=Math.max(Ne.duration+Ne.delay,mt)}),g.length?_T(e,this._triggerName,i,r,Se,x,I,[],[],ce,ye,mt,g):(et.forEach(Ne=>{let Ze=Ne.element,ti=zn(ce,Ze,new Set);Ne.preStyleProps.forEach(Le=>ti.add(Le));let Ht=zn(ye,Ze,new Set);Ne.postStyleProps.forEach(Le=>Ht.add(Le)),Ze!==e&&T.add(Ze)}),_T(e,this._triggerName,i,r,Se,x,I,et,[...T.values()],ce,ye,mt))}};function cpe(t,n,e,i,r){return t.some(a=>a(n,e,i,r))}function ET(t,n){let e=z({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var $_=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=ET(n,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,s)=>{o&&(o=Wc(o,r,e));let l=this.normalizer.normalizePropertyName(s,e);o=this.normalizer.normalizeStyleValue(s,l,o,e),i.set(s,o)})}),i}};function lpe(t,n,e){return new Y_(t,n,e)}var Y_=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let a=r.options&&r.options.params||{};this.states.set(r.name,new $_(r.style,a,i))}),vT(this.states,"true","1"),vT(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new uu(n,r,this.states))}),this.fallbackTransition=dpe(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(o=>o.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function dpe(t,n,e){let i=[(o,s)=>!0],r={type:Xe.Sequence,steps:[],options:null},a={type:Xe.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new uu(t,a,n)}function vT(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var upe=new V0,q_=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],a=DT(this._driver,e,i,r);if(i.length)throw JI(i);this._animations.set(n,a)}_buildPlayer(n,e,i){let r=n.element,a=L_(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,a,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],a=this._animations.get(n),o,s=new Map;if(a?(o=ST(this._driver,e,a,z_,J5,new Map,new Map,i,upe,r),o.forEach(h=>{let g=zn(s,h.element,new Map);h.postStyleProps.forEach(C=>g.set(C,null))})):(r.push(eT()),o=[]),r.length)throw tT(r);s.forEach((h,g)=>{h.forEach((C,M)=>{h.set(M,this._driver.computeStyle(g,M,p1))})});let l=o.map(h=>{let g=s.get(h.element);return this._buildPlayer(h,new Map,g)}),u=_a(l);return this._playersById.set(n,u),u.onDestroy(()=>this.destroy(n)),this.players.push(u),u}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw iT(n);return e}listen(n,e,i,r){let a=Q5(e,"","","");return Z5(this._getPlayer(n),i,a,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(n,e,o);return}let a=this._getPlayer(n);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},bT="ng-animate-queued",mpe=".ng-animate-queued",F_="ng-animate-disabled",fpe=".ng-animate-disabled",hpe="ng-star-inserted",ppe=".ng-star-inserted",gpe=[],LT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_pe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$1="__ng_removed",B0=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=bpe(r),i){let a=n,{value:o}=a,s=Hu(a,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},F0="void",V_=new B0(F0),K_=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,x1(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw nT(i,e);if(i==null||i.length==0)throw rT(e);if(!ype(i))throw aT(i,e);let a=zn(this._elementListeners,n,[]),o={name:e,phase:i,callback:r};a.push(o);let s=zn(this._engine.statesByElement,n,new Map);return s.has(e)||(x1(n,N0),x1(n,N0+"-"+e),s.set(e,V_)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(o);l>=0&&a.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw oT(n);return e}trigger(n,e,i,r=!0){let a=this._getTrigger(e),o=new H0(this.id,e,n),s=this._engine.statesByElement.get(n);s||(x1(n,N0),x1(n,N0+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),u=new B0(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s.set(e,u),l||(l=V_),!(u.value===F0)&&l.value===u.value){if(!xpe(l.params,u.params)){let k=[],I=a.matchStyles(l.value,l.params,k),T=a.matchStyles(u.value,u.params,k);k.length?this._engine.reportError(k):this._engine.afterFlush(()=>{yo(n,I),W1(n,T)})}return}let C=zn(this._engine.playersByElement,n,[]);C.forEach(k=>{k.namespaceId==this.id&&k.triggerName==e&&k.queued&&k.destroy()});let M=a.matchTransition(l.value,u.value,n,u.params),x=!1;if(!M){if(!r)return;M=a.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:M,fromState:l,toState:u,player:o,isFallbackTransition:x}),x||(x1(n,bT),o.onStart(()=>{$c(n,bT)})),o.onDone(()=>{let k=this.players.indexOf(o);k>=0&&this.players.splice(k,1);let I=this._engine.playersByElement.get(n);if(I){let T=I.indexOf(o);T>=0&&I.splice(T,1)}}),this.players.push(o),C.push(o),o}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,O0,!0);i.forEach(r=>{if(r[$1])return;let a=this._engine.fetchNamespacesByElement(r);a.size?a.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let a=this._engine.statesByElement.get(n),o=new Map;if(a){let s=[];if(a.forEach((l,u)=>{if(o.set(u,l.value),this._triggers.has(u)){let h=this.trigger(n,u,F0,r);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,o),i&&_a(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(a=>{let o=a.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,u=i.get(o)||V_,h=new B0(F0),g=new H0(this.id,o,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:o,transition:l,fromState:u,toState:h,player:g,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(n):[];if(a&&a.length)r=!0;else{let o=n;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let a=n[$1];(!a||a===LT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){x1(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let a=i.element,o=this._elementListeners.get(a);o&&o.forEach(s=>{if(s.name==i.triggerName){let l=Q5(a,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Z5(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let a=i.transition.ast.depCount,o=r.transition.ast.depCount;return a==0||o==0?a-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},Z_=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new K_(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let u=i.indexOf(l);i.splice(u+1,0,n),o=!0;break}s=this.driver.getParentElement(s)}o||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let a=this._fetchNamespace(r.namespaceId);a&&e.add(a)}}return e}trigger(n,e,i,r){if(au(e)){let a=this._fetchNamespace(n);if(a)return a.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!au(e))return;let a=e[$1];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(n){let o=this._fetchNamespace(n);o&&o.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),x1(n,F_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),$c(n,F_))}removeNode(n,e,i){if(au(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,a){this.collectedLeaveElements.push(e),e[$1]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(n,e,i,r,a){return au(e)?this._fetchNamespace(n).listen(e,i,r,a):()=>{}}_buildInstruction(n,e,i,r,a){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,a)}destroyInnerAnimations(n){let e=this.driver.query(n,O0,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,eu,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return _a(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[$1];if(e&&e.setForRemoval){if(n[$1]=LT,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(F_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,fpe,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];x1(r,hpe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?_a(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw sT(n)}_flushAnimations(n,e){let i=new V0,r=[],a=new Map,o=[],s=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(R=>{h.add(R);let Z=this.driver.query(R,mpe,!0);for(let q=0;q<Z.length;q++)h.add(Z[q])});let g=this.bodyNode,C=Array.from(this.statesByElement.keys()),M=MT(C,this.collectedEnterElements),x=new Map,k=0;M.forEach((R,Z)=>{let q=z_+k++;x.set(Z,q),R.forEach(be=>x1(be,q))});let I=[],T=new Set,ce=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){let Z=this.collectedLeaveElements[R],q=Z[$1];q&&q.setForRemoval&&(I.push(Z),T.add(Z),q.hasAnimation?this.driver.query(Z,ppe,!0).forEach(be=>T.add(be)):ce.add(Z))}let ye=new Map,Se=MT(C,Array.from(T));Se.forEach((R,Z)=>{let q=J5+k++;ye.set(Z,q),R.forEach(be=>x1(be,q))}),n.push(()=>{M.forEach((R,Z)=>{let q=x.get(Z);R.forEach(be=>$c(be,q))}),Se.forEach((R,Z)=>{let q=ye.get(Z);R.forEach(be=>$c(be,q))}),I.forEach(R=>{this.processLeaveNode(R)})});let rt=[],et=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(q=>{let be=q.player,We=q.element;if(rt.push(be),this.collectedEnterElements.length){let Ot=We[$1];if(Ot&&Ot.setForMove){if(Ot.previousTriggersValues&&Ot.previousTriggersValues.has(q.triggerName)){let $t=Ot.previousTriggersValues.get(q.triggerName),Yt=this.statesByElement.get(q.element);if(Yt&&Yt.has(q.triggerName)){let Xi=Yt.get(q.triggerName);Xi.value=$t,Yt.set(q.triggerName,Xi)}}be.destroy();return}}let gt=!g||!this.driver.containsElement(g,We),ft=ye.get(We),pe=x.get(We),St=this._buildInstruction(q,i,pe,ft,gt);if(St.errors&&St.errors.length){et.push(St);return}if(gt){be.onStart(()=>yo(We,St.fromStyles)),be.onDestroy(()=>W1(We,St.toStyles)),r.push(be);return}if(q.isFallbackTransition){be.onStart(()=>yo(We,St.fromStyles)),be.onDestroy(()=>W1(We,St.toStyles)),r.push(be);return}let wn=[];St.timelines.forEach(Ot=>{Ot.stretchStartingKeyframe=!0,this.disabledNodes.has(Ot.element)||wn.push(Ot)}),St.timelines=wn,i.append(We,St.timelines);let Dn={instruction:St,player:be,element:We};o.push(Dn),St.queriedElements.forEach(Ot=>zn(s,Ot,[]).push(be)),St.preStyleProps.forEach((Ot,$t)=>{if(Ot.size){let Yt=l.get($t);Yt||l.set($t,Yt=new Set),Ot.forEach((Xi,Sn)=>Yt.add(Sn))}}),St.postStyleProps.forEach((Ot,$t)=>{let Yt=u.get($t);Yt||u.set($t,Yt=new Set),Ot.forEach((Xi,Sn)=>Yt.add(Sn))})});if(et.length){let R=[];et.forEach(Z=>{R.push(cT(Z.triggerName,Z.errors))}),rt.forEach(Z=>Z.destroy()),this.reportError(R)}let mt=new Map,Ne=new Map;o.forEach(R=>{let Z=R.element;i.has(Z)&&(Ne.set(Z,Z),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,mt))}),r.forEach(R=>{let Z=R.element;this._getPreviousPlayers(Z,!1,R.namespaceId,R.triggerName,null).forEach(be=>{zn(mt,Z,[]).push(be),be.destroy()})});let Ze=I.filter(R=>xT(R,l,u)),ti=new Map;CT(ti,this.driver,ce,u,p1).forEach(R=>{xT(R,l,u)&&Ze.push(R)});let Le=new Map;M.forEach((R,Z)=>{CT(Le,this.driver,new Set(R),l,cc)}),Ze.forEach(R=>{let Z=ti.get(R),q=Le.get(R);ti.set(R,new Map([...Z?.entries()??[],...q?.entries()??[]]))});let he=[],ue=[],Ee={};o.forEach(R=>{let{element:Z,player:q,instruction:be}=R;if(i.has(Z)){if(h.has(Z)){q.onDestroy(()=>W1(Z,be.toStyles)),q.disabled=!0,q.overrideTotalTime(be.totalTime),r.push(q);return}let We=Ee;if(Ne.size>1){let ft=Z,pe=[];for(;ft=ft.parentNode;){let St=Ne.get(ft);if(St){We=St;break}pe.push(ft)}pe.forEach(St=>Ne.set(St,We))}let gt=this._buildAnimation(q.namespaceId,be,mt,a,Le,ti);if(q.setRealPlayer(gt),We===Ee)he.push(q);else{let ft=this.playersByElement.get(We);ft&&ft.length&&(q.parentPlayer=_a(ft)),r.push(q)}}else yo(Z,be.fromStyles),q.onDestroy(()=>W1(Z,be.toStyles)),ue.push(q),h.has(Z)&&r.push(q)}),ue.forEach(R=>{let Z=a.get(R.element);if(Z&&Z.length){let q=_a(Z);R.setRealPlayer(q)}}),r.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<I.length;R++){let Z=I[R],q=Z[$1];if($c(Z,J5),q&&q.hasAnimation)continue;let be=[];if(s.size){let gt=s.get(Z);gt&&gt.length&&be.push(...gt);let ft=this.driver.query(Z,eu,!0);for(let pe=0;pe<ft.length;pe++){let St=s.get(ft[pe]);St&&St.length&&be.push(...St)}}let We=be.filter(gt=>!gt.destroyed);We.length?Cpe(this,Z,We):this.processLeaveNode(Z)}return I.length=0,he.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let Z=this.players.indexOf(R);this.players.splice(Z,1)}),R.play()}),he}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,a){let o=[];if(e){let s=this.playersByQueriedElement.get(n);s&&(o=s)}else{let s=this.playersByElement.get(n);if(s){let l=!a||a==F0;s.forEach(u=>{u.queued||!l&&u.triggerName!=r||o.push(u)})}}return(i||r)&&(o=o.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),o}_beforeAnimationBuild(n,e,i){let r=e.triggerName,a=e.element,o=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let u=l.element,h=u!==a,g=zn(i,u,[]);this._getPreviousPlayers(u,h,o,s,e.toState).forEach(M=>{let x=M.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),M.destroy(),g.push(M)})}yo(a,e.fromStyles)}_buildAnimation(n,e,i,r,a,o){let s=e.triggerName,l=e.element,u=[],h=new Set,g=new Set,C=e.timelines.map(x=>{let k=x.element;h.add(k);let I=k[$1];if(I&&I.removedBeforeQueried)return new pr(x.duration,x.delay);let T=k!==l,ce=Mpe((i.get(k)||gpe).map(mt=>mt.getRealPlayer())).filter(mt=>{let Ne=mt;return Ne.element?Ne.element===k:!1}),ye=a.get(k),Se=o.get(k),rt=L_(this._normalizer,x.keyframes,ye,Se),et=this._buildPlayer(x,rt,ce);if(x.subTimeline&&r&&g.add(k),T){let mt=new H0(n,s,k);mt.setRealPlayer(et),u.push(mt)}return et});u.forEach(x=>{zn(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>vpe(this.playersByQueriedElement,x.element,x))}),h.forEach(x=>x1(x,R_));let M=_a(C);return M.onDestroy(()=>{h.forEach(x=>$c(x,R_)),W1(l,e.toStyles)}),g.forEach(x=>{zn(r,x,[]).push(M)}),M}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new pr(n.duration,n.delay)}},H0=class{namespaceId;triggerName;element;_player=new pr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Z5(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){zn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function vpe(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function bpe(t){return t??null}function au(t){return t&&t.nodeType===1}function ype(t){return t=="start"||t=="done"}function yT(t,n){let e=t.style.display;return t.style.display=n??"none",e}function CT(t,n,e,i,r){let a=[];e.forEach(l=>a.push(yT(l)));let o=[];i.forEach((l,u)=>{let h=new Map;l.forEach(g=>{let C=n.computeStyle(u,g,r);h.set(g,C),(!C||C.length==0)&&(u[$1]=_pe,o.push(u))}),t.set(u,h)});let s=0;return e.forEach(l=>yT(l,a[s++])),o}function MT(t,n){let e=new Map;if(t.forEach(s=>e.set(s,[])),n.length==0)return e;let i=1,r=new Set(n),a=new Map;function o(s){if(!s)return i;let l=a.get(s);if(l)return l;let u=s.parentNode;return e.has(u)?l=u:r.has(u)?l=i:l=o(u),a.set(s,l),l}return n.forEach(s=>{let l=o(s);l!==i&&e.get(l).push(s)}),e}function x1(t,n){t.classList?.add(n)}function $c(t,n){t.classList?.remove(n)}function Cpe(t,n,e){_a(e).onDone(()=>t.processLeaveNode(n))}function Mpe(t){let n=[];return kT(t,n),n}function kT(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof h2?kT(i.players,n):n.push(i)}}function xpe(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let a=e[r];if(!n.hasOwnProperty(a)||t[a]!==n[a])return!1}return!0}function xT(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(a=>r.add(a)):n.set(t,i),e.delete(t),!0}var Yc=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Z_(n.body,e,i),this._timelineEngine=new q_(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(n,e,i,r,a){let o=n+"-"+r,s=this._triggerCache[o];if(!s){let l=[],u=[],h=DT(this._driver,a,l,u);if(l.length)throw XI(r,l);s=lpe(r,h,this._normalizer),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[a,o]=k_(i),s=r;this._timelineEngine.command(a,e,o,s)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,a){if(i.charAt(0)=="@"){let[o,s]=k_(i);return this._timelineEngine.listen(o,e,s,a)}return this._transitionEngine.listen(n,e,i,r,a)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function wpe(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=B_(n[0]),n.length>1&&(i=B_(n[n.length-1]))):n instanceof Map&&(e=B_(n)),e||i?new Dpe(t,e,i):null}var Dpe=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let a=t.initialStylesByElement.get(e);a||t.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&W1(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(W1(this._element,this._initialStyles),this._endStyles&&(W1(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(yo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yo(this._element,this._endStyles),this._endStyles=null),W1(this._element,this._initialStyles),this._state=3)}}return t})();function B_(t){let n=null;return t.forEach((e,i)=>{Spe(i)&&(n=n||new Map,n.set(i,e))}),n}function Spe(t){return t==="display"||t==="position"}var mu=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){let r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:iu(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},fu=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return I_(n,e)}getParentElement(n){return X5(n)}query(n,e,i){return T_(n,e,i)}computeStyle(n,e,i){return iu(n,e)}animate(n,e,i,r,a,o=[]){let s=r==0?"both":"forwards",l={duration:i,delay:r,fill:s};a&&(l.easing=a);let u=new Map,h=o.filter(M=>M instanceof mu);mT(i,r)&&h.forEach(M=>{M.currentSnapshot.forEach((x,k)=>u.set(k,x))});let g=dT(e).map(M=>new Map(M));g=fT(n,g,u);let C=wpe(n,g);return new mu(n,g,l,C)}};var ou="@",IT="@.disabled",hu=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){if(r){this.delegate.removeChild(n,e,i,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==ou&&e==IT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},Q_=class extends hu{factory;constructor(n,e,i,r,a){super(e,i,r,a),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==ou?e.charAt(1)=="."&&e==IT?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==ou){let a=Epe(n),o=e.slice(1),s="";return o.charAt(0)!=ou&&([o,s]=Lpe(o)),this.engine.listen(this.namespaceId,a,o,s,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,i,l)})}return this.delegate.listen(n,e,i,r)}};function Epe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Lpe(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var pu=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,a)=>{a?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let u=this._rendererCache,h=u.get(r);if(!h){let g=()=>u.delete(r);h=new hu("",r,this.engine,g),u.set(r,h)}return h}let a=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,n);let s=u=>{Array.isArray(u)?u.forEach(s):this.engine.registerTrigger(a,o,n,u.name,u)};return e.data.animation.forEach(s),new Q_(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(a=>{let[o,s]=a;o(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var Ipe=(()=>{class t extends Yc{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(me(_e),me(F2),me(V2))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function Tpe(){return new su}function Ape(t,n,e){return new pu(t,n,e)}var AT=[{provide:V2,useFactory:Tpe},{provide:Yc,useClass:Ipe},{provide:oi,useFactory:Ape,deps:[u3,Yc,te]}],zpe=[{provide:F2,useClass:X_},{provide:Ha,useValue:"NoopAnimations"},...AT],TT=[{provide:F2,useFactory:()=>new fu},{provide:Ha,useFactory:()=>"BrowserAnimations"},...AT],zT=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?zpe:TT}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=U({type:t});static \u0275inj=H({providers:TT,imports:[Vh]})}return t})();var gu=class{storedRouteHandles=new Map;allowRetriveCache={master:!0};constructor(){console.log("CustomReuseStrategy")}shouldReuseRoute(n,e){return console.log("should reuse route",n,e),this.getKey(n)==="master"?this.allowRetriveCache.master=!0:this.allowRetriveCache.master=!1,n.routeConfig===e.routeConfig}retrieve(n){return this.storedRouteHandles.get(this.getKey(n))}shouldAttach(n){let e=this.getKey(n);return this.allowRetriveCache[e]?this.storedRouteHandles.has(this.getKey(n)):!1}shouldDetach(n){let e=this.getKey(n);return!!this.allowRetriveCache.hasOwnProperty(e)}store(n,e){this.storedRouteHandles.set(this.getKey(n),e)}getKey(n){let e="";return n.data&&(e=n.data.name),e}cleanCache(){this.storedRouteHandles.clear()}};var RT={prefix:"fab",iconName:"vk",icon:[448,512,[],"f189","M31.4907 63.4907C0 94.9813 0 145.671 0 247.04V264.96C0 366.329 0 417.019 31.4907 448.509C62.9813 480 113.671 480 215.04 480H232.96C334.329 480 385.019 480 416.509 448.509C448 417.019 448 366.329 448 264.96V247.04C448 145.671 448 94.9813 416.509 63.4907C385.019 32 334.329 32 232.96 32H215.04C113.671 32 62.9813 32 31.4907 63.4907ZM75.6 168.267H126.747C128.427 253.76 166.133 289.973 196 297.44V168.267H244.16V242C273.653 238.827 304.64 205.227 315.093 168.267H363.253C359.313 187.435 351.46 205.583 340.186 221.579C328.913 237.574 314.461 251.071 297.733 261.227C316.41 270.499 332.907 283.63 346.132 299.751C359.357 315.873 369.01 334.618 374.453 354.747H321.44C316.555 337.262 306.614 321.61 292.865 309.754C279.117 297.899 262.173 290.368 244.16 288.107V354.747H238.373C136.267 354.747 78.0267 284.747 75.6 168.267Z"]};var NT={prefix:"fab",iconName:"linkedin-in",icon:[448,512,[],"f0e1","M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]};var OT={prefix:"fab",iconName:"mix",icon:[448,512,[],"f3cb","M0 64v348.9c0 56.2 88 58.1 88 0V174.3c7.9-52.9 88-50.4 88 6.5v175.3c0 57.9 96 58 96 0V240c5.3-54.7 88-52.5 88 4.3v23.8c0 59.9 88 56.6 88 0V64H0z"]};var PT={prefix:"fab",iconName:"xing",icon:[384,512,[],"f168","M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5H9.8c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3l-43.9-75.6c-4.3-7.8.3-14.1 8.5-14.1H100c7.3 0 13.3 4.1 18 12.2l44.7 77.5zM382.6 46.1l-144 253v.3L330.2 466c3.9 7.1.2 14.1-8.5 14.1h-65.2c-7.6 0-13.6-4-18-12.2l-92.4-168.5c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2h65.7c8 0 12.3 6.7 8.5 14.1z"]};var FT={prefix:"fab",iconName:"reddit-alien",icon:[512,512,[],"f281","M373 138.6c-25.2 0-46.3-17.5-51.9-41l0 0c-30.6 4.3-54.2 30.7-54.2 62.4l0 .2c47.4 1.8 90.6 15.1 124.9 36.3c12.6-9.7 28.4-15.5 45.5-15.5c41.3 0 74.7 33.4 74.7 74.7c0 29.8-17.4 55.5-42.7 67.5c-2.4 86.8-97 156.6-213.2 156.6S45.5 410.1 43 323.4C17.6 311.5 0 285.7 0 255.7c0-41.3 33.4-74.7 74.7-74.7c17.2 0 33 5.8 45.7 15.6c34-21.1 76.8-34.4 123.7-36.4l0-.3c0-44.3 33.7-80.9 76.8-85.5C325.8 50.2 347.2 32 373 32c29.4 0 53.3 23.9 53.3 53.3s-23.9 53.3-53.3 53.3zM157.5 255.3c-20.9 0-38.9 20.8-40.2 47.9s17.1 38.1 38 38.1s36.6-9.8 37.8-36.9s-14.7-49.1-35.7-49.1zM395 303.1c-1.2-27.1-19.2-47.9-40.2-47.9s-36.9 22-35.7 49.1c1.2 27.1 16.9 36.9 37.8 36.9s39.3-11 38-38.1zm-60.1 70.8c1.5-3.6-1-7.7-4.9-8.1c-23-2.3-47.9-3.6-73.8-3.6s-50.8 1.3-73.8 3.6c-3.9 .4-6.4 4.5-4.9 8.1c12.9 30.8 43.3 52.4 78.7 52.4s65.8-21.6 78.7-52.4z"]};var VT={prefix:"fab",iconName:"facebook-f",icon:[320,512,[],"f39e","M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]};var BT={prefix:"fab",iconName:"viber",icon:[512,512,[],"f409","M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-5.3 5.3-11.1 4.8-11-5.7 0-6.9.4-85.7.4-85.7-.1 0-.1 0 0 0-101.8-28.2-95.8-134.3-94.7-189.8 1.1-55.5 11.6-101 42.6-131.6 55.7-50.5 170.4-43 170.4-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 40.6 211.1zm-139-80.8c.4 8.6-12.5 9.2-12.9.6-1.1-22-11.4-32.7-32.6-33.9-8.6-.5-7.8-13.4.7-12.9 27.9 1.5 43.4 17.5 44.8 46.2zm20.3 11.3c1-42.4-25.5-75.6-75.8-79.3-8.5-.6-7.6-13.5.9-12.9 58 4.2 88.9 44.1 87.8 92.5-.1 8.6-13.1 8.2-12.9-.3zm47 13.4c.1 8.6-12.9 8.7-12.9.1-.6-81.5-54.9-125.9-120.8-126.4-8.5-.1-8.5-12.9 0-12.9 73.7.5 133 51.4 133.7 139.2zM374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5-16.2-12.8-31-27.9-42.4-42.4-10.3-12.9-20.7-28.2-30.8-46.6-21.3-38.5-26-55.7-26-55.7-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9 0 0 12.4 14.8 17.7 22.1 5 6.8 11.7 17.7 15.2 23.8 6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7 14.7 8.3 33.4 21.2 45.8 32.9 7 5.7 8.6 14.4 3.8 23.6z"]};var HT={prefix:"fab",iconName:"facebook-messenger",icon:[512,512,[],"f39f","M256.55 8C116.52 8 8 110.34 8 248.57c0 72.3 29.71 134.78 78.07 177.94 8.35 7.51 6.63 11.86 8.05 58.23A19.92 19.92 0 0 0 122 502.31c52.91-23.3 53.59-25.14 62.56-22.7C337.85 521.8 504 423.7 504 248.57 504 110.34 396.59 8 256.55 8zm149.24 185.13l-73 115.57a37.37 37.37 0 0 1-53.91 9.93l-58.08-43.47a15 15 0 0 0-18 0l-78.37 59.44c-10.46 7.93-24.16-4.6-17.11-15.67l73-115.57a37.36 37.36 0 0 1 53.91-9.93l58.06 43.46a15 15 0 0 0 18 0l78.41-59.38c10.44-7.98 24.14 4.54 17.09 15.62z"]};var jT={prefix:"fab",iconName:"x-twitter",icon:[512,512,[],"e61b","M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]};var UT={prefix:"fab",iconName:"whatsapp",icon:[448,512,[],"f232","M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"]};var GT={prefix:"fab",iconName:"line",icon:[512,512,[],"f3c0","M311 196.8v81.3c0 2.1-1.6 3.7-3.7 3.7h-13c-1.3 0-2.4-.7-3-1.5l-37.3-50.3v48.2c0 2.1-1.6 3.7-3.7 3.7h-13c-2.1 0-3.7-1.6-3.7-3.7V196.9c0-2.1 1.6-3.7 3.7-3.7h12.9c1.1 0 2.4 .6 3 1.6l37.3 50.3V196.9c0-2.1 1.6-3.7 3.7-3.7h13c2.1-.1 3.8 1.6 3.8 3.5zm-93.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 2.1 1.6 3.7 3.7 3.7h13c2.1 0 3.7-1.6 3.7-3.7V196.8c0-1.9-1.6-3.7-3.7-3.7zm-31.4 68.1H150.3V196.8c0-2.1-1.6-3.7-3.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 1 .3 1.8 1 2.5c.7 .6 1.5 1 2.5 1h52.2c2.1 0 3.7-1.6 3.7-3.7v-13c0-1.9-1.6-3.7-3.5-3.7zm193.7-68.1H327.3c-1.9 0-3.7 1.6-3.7 3.7v81.3c0 1.9 1.6 3.7 3.7 3.7h52.2c2.1 0 3.7-1.6 3.7-3.7V265c0-2.1-1.6-3.7-3.7-3.7H344V247.7h35.5c2.1 0 3.7-1.6 3.7-3.7V230.9c0-2.1-1.6-3.7-3.7-3.7H344V213.5h35.5c2.1 0 3.7-1.6 3.7-3.7v-13c-.1-1.9-1.7-3.7-3.7-3.7zM512 93.4V419.4c-.1 51.2-42.1 92.7-93.4 92.6H92.6C41.4 511.9-.1 469.8 0 418.6V92.6C.1 41.4 42.2-.1 93.4 0H419.4c51.2 .1 92.7 42.1 92.6 93.4zM441.6 233.5c0-83.4-83.7-151.3-186.4-151.3s-186.4 67.9-186.4 151.3c0 74.7 66.3 137.4 155.9 149.3c21.8 4.7 19.3 12.7 14.4 42.1c-.8 4.7-3.8 18.4 16.1 10.1s107.3-63.2 146.5-108.2c27-29.7 39.9-59.8 39.9-93.1z"]};var WT={prefix:"fab",iconName:"pinterest-p",icon:[384,512,[],"f231","M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"]};var Rpe={prefix:"fab",iconName:"telegram",icon:[496,512,[62462,"telegram-plane"],"f2c6","M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"]},$T=Rpe;var YT={prefix:"fab",iconName:"tumblr",icon:[320,512,[],"f173","M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"]};var qT={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]};var KT={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]};var Npe={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},ZT=Npe;var QT={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]};var Ope={prefix:"fas",iconName:"comment-sms",icon:[512,512,["sms"],"f7cd","M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3c0 0 0 0 0 0c0 0 0 0 0 0s0 0 0 0s0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zM96 212.8c0-20.3 16.5-36.8 36.8-36.8l19.2 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-19.2 0c-2.7 0-4.8 2.2-4.8 4.8c0 1.6 .8 3.1 2.2 4l29.4 19.6c10.3 6.8 16.4 18.3 16.4 30.7c0 20.3-16.5 36.8-36.8 36.8L112 304c-8.8 0-16-7.2-16-16s7.2-16 16-16l27.2 0c2.7 0 4.8-2.2 4.8-4.8c0-1.6-.8-3.1-2.2-4l-29.4-19.6C102.2 236.7 96 225.2 96 212.8zM372.8 176l19.2 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-19.2 0c-2.7 0-4.8 2.2-4.8 4.8c0 1.6 .8 3.1 2.2 4l29.4 19.6c10.2 6.8 16.4 18.3 16.4 30.7c0 20.3-16.5 36.8-36.8 36.8L352 304c-8.8 0-16-7.2-16-16s7.2-16 16-16l27.2 0c2.7 0 4.8-2.2 4.8-4.8c0-1.6-.8-3.1-2.2-4l-29.4-19.6c-10.2-6.8-16.4-18.3-16.4-30.7c0-20.3 16.5-36.8 36.8-36.8zm-152 6.4L256 229.3l35.2-46.9c4.1-5.5 11.3-7.8 17.9-5.6s10.9 8.3 10.9 15.2l0 96c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-19.2 25.6c-3 4-7.8 6.4-12.8 6.4s-9.8-2.4-12.8-6.4L224 240l0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-96c0-6.9 4.4-13 10.9-15.2s13.7 .1 17.9 5.6z"]},XT=Ope;var JT={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};var eA={prefix:"fas",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]};var tA={prefix:"fas",iconName:"print",icon:[512,512,[128424,128438,9113],"f02f","M128 0C92.7 0 64 28.7 64 64l0 96 64 0 0-96 226.7 0L384 93.3l0 66.7 64 0 0-66.7c0-17-6.7-33.3-18.7-45.3L400 18.7C388 6.7 371.7 0 354.7 0L128 0zM384 352l0 32 0 64-256 0 0-64 0-16 0-16 256 0zm64 32l32 0c17.7 0 32-14.3 32-32l0-96c0-35.3-28.7-64-64-64L64 192c-35.3 0-64 28.7-64 64l0 96c0 17.7 14.3 32 32 32l32 0 0 64c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-64zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]};var Ppe=[VT,jT,NT,WT,FT,YT,UT,BT,RT,HT,$T,OT,PT,XT,qT,JT,tA,eA,QT,ZT,KT,GT];function Fpe(t){return t.addIcons(...Ppe),null}function iA(){return{provide:Pg,useFactory:Fpe,deps:[v_]}}var nA={production:!0,name:"deploy",apiServer:{backend:"https://api.main.mobile.dispo24.de/v1/",socketServer:"https://api.main.mobile.dispo24.de/"},nlpApiServer:{backend:"http://api.nlp.mobile.dispo24.de/v1/"},staticFileServer:{backend:"https://api.main.mobile.dispo24.de/"},mobileDispo24:{clientUrl:"https://mobile.dispo24.de/"},dispo24:{clientUrl:"https://dispo24.de"}};var rA={providers:[th({eventCoalescing:!0}),v9(NI),...KL.forRoot({apiServerBackend:nA.apiServer.backend,nonAuthForVehicleMarket:!0}).providers,jh(),a6([zT]),{provide:d8,useClass:gu},mk(iA(),fk({debug:!0,sharerMethod:Oc.Anchor}))]};y9({paramsInheritanceStrategy:"always"});var Vpe=()=>["copy","facebook","email","messenger","telegram"];function Bpe(t,n){if(t&1){let e=ke();_(0,"button",11),P("click",function(){Q(e);let r=E();return X(r.showFilter())}),_(1,"mat-icon",12),D(2,"filter_alt"),b()()}}function Hpe(t,n){if(t&1){let e=ke();_(0,"button",13),P("click",function(){Q(e);let r=E();return X(r.showFilter())}),_(1,"mat-icon")(2,"span",14),D(3," arrow_back "),b()()()}}function jpe(t,n){t&1&&(_(0,"span"),D(1," Fahrzeugmarkt"),b())}function Upe(t,n){if(t&1&&(_(0,"span"),D(1),Ye(2,"async"),Ye(3,"async"),b()),t&2){let e,i=E();v(),i2(" ",(e=ct(2,2,i.appService.currentDarmasAd$))==null?null:e.displayAd.make,"\xA0",(e=ct(3,4,i.appService.currentDarmasAd$))==null?null:e.displayAd.model," ")}}function Gpe(t,n){if(t&1){let e=ke();_(0,"button",15),P("click",function(){Q(e);let r=E();return X(r.appService.scrollToTop())}),_(1,"mat-icon"),D(2,"vertical_align_top "),b()()}t&2&&w("@enterAnimation",void 0)}function Wpe(t,n){t&1&&(_(0,"popover-container",16)(1,"h3",17),D(2,"Mein Warenkorb"),b(),_(3,"p"),D(4,"Ihr Warenkorb ist leer."),b()())}function $pe(t,n){t&1&&(_(0,"popover-container",18)(1,"h3",17),D(2,"App teilen"),b(),ie(3,"share-buttons",19),b()),t&2&&(v(3),w("include",Zf(1,Vpe)))}var aA=(()=>{class t{appService;router;contexts;title="Fahrzeugmarkt";constructor(e,i,r){this.appService=e,this.router=i,this.contexts=r,i.events.subscribe(a=>{console.log("Router event:",a),a.type===0&&(console.log("Navigation started"),a.url.includes("details")?this.appService.currentPage="detail":(a.url==="/"||a.url==="/master")&&(this.appService.currentPage="master"))})}prepareRoute(e){return e&&e.activatedRouteData&&e.activatedRouteData.animation}getRouteAnimationData(){return this.contexts.getContext("primary")?.route?.snapshot?.data?.animation}shoppingCartBtnClick(){console.log("Shopping cart button clicked")}favoriteBtnClick(){console.log("Favorite button clicked")}showFilter(){console.log("Current page:",this.appService.currentPage),this.appService.currentPage==="master"?this.appService.toggleShowFilter():(this.router.navigate(["/"]),this.appService.currentPage="master")}static \u0275fac=function(i){return new(i||t)(ne(Uc),ne(Gn),ne(ea))};static \u0275cmp=j({type:t,selectors:[["app-root"]],decls:25,vars:22,consts:[["shoppingCartPopover",""],["shareAppPopover",""],[1,"top-toolbar"],["mat-icon-button","","class","example-icon","aria-label","Profi-Filter anzeigen",3,"click",4,"ngIf"],["mat-icon-button","","class","example-icon","aria-label","Zur\xFCck zur Liste",3,"click",4,"ngIf"],[4,"ngIf"],[1,"example-spacer"],["mat-icon-button","","aria-label","Nach oben scrollen",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Warenkorb Popover anzeigen","originX","start","originY","bottom","overlayX","end","overlayY","top",3,"popoverTrigger"],["mat-icon-button","","aria-label","Applikation teilen web/social media","originX","start","originY","bottom","overlayX","end","overlayY","top",3,"popoverTrigger"],[1,"content-container"],["mat-icon-button","","aria-label","Profi-Filter anzeigen",1,"example-icon",3,"click"],["iconPositionEnd",""],["mat-icon-button","","aria-label","Zur\xFCck zur Liste",1,"example-icon",3,"click"],[1,"material-symbols-outlined"],["mat-icon-button","","aria-label","Nach oben scrollen",3,"click"],[2,"width","250px"],[2,"margin-top","0","padding-top","0"],[2,"width","280px"],[3,"include"]],template:function(i,r){if(i&1&&(_(0,"mat-toolbar",2),Ye(1,"async"),K(2,Bpe,3,0,"button",3),Ye(3,"async"),K(4,Hpe,4,0,"button",4),Ye(5,"async"),K(6,jpe,2,0,"span",5),Ye(7,"async"),K(8,Upe,4,6,"span",5),Ye(9,"async"),ie(10,"span",6),K(11,Gpe,3,1,"button",7),Ye(12,"async"),_(13,"button",8)(14,"mat-icon"),D(15,"shopping_cart"),b()(),K(16,Wpe,5,0,"ng-template",null,0,vn),_(18,"button",9)(19,"mat-icon"),D(20,"share"),b()(),K(21,$pe,4,2,"ng-template",null,1,vn),b(),_(23,"div",10),ie(24,"router-outlet"),b()),i&2){let a=kt(17),o=kt(22);ee("hide-nav",ct(1,10,r.appService.hideNav$)),v(2),w("ngIf",ct(3,12,r.appService.currentPage$)=="master"),v(2),w("ngIf",ct(5,14,r.appService.currentPage$)=="detail"),v(2),w("ngIf",ct(7,16,r.appService.currentPage$)!="detail"),v(2),w("ngIf",ct(9,18,r.appService.currentPage$)=="detail"),v(3),w("ngIf",ct(12,20,r.appService.currentScrollPosition$)>1e3),v(2),w("popoverTrigger",a),v(5),w("popoverTrigger",o),v(5),w("@routeAnimations",!0)}},dependencies:[I3,c0,yE,An,j1,Li,an,$i,y1,dk,lk,LI,a2],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.darmas-logo-top[_ngcontent-%COMP%]{display:block}@media only screen and (max-width: 600px){.darmas-logo-top[_ngcontent-%COMP%]{display:none}}"],data:{animation:[XL,on("enterAnimation",[Mi(":enter",[qe({transform:"translateY(50%)",opacity:0}),ei("500ms",qe({transform:"translateY(0)",opacity:1}))]),Mi(":leave",[qe({transform:"translateY(0)",opacity:1}),ei("500ms",qe({transform:"translateY(50%)",opacity:0}))])])]}})}return t})();Fh(aA,rA).catch(t=>console.error(t));

Youez - 2016 - github.com/yon3zu
LinuXploit