Viewing File: /usr/local/cpanel/base/frontend/jupiter/socialbee/vendor-c0d76f48.js

(self.webpackChunksocialbee=self.webpackChunksocialbee||[]).push([[647],{2816:(Nn,mt,fe)=>{"use strict";function d(H,Ae){if(Ae.length<H)throw new TypeError(H+" argument"+(H>1?"s":"")+" required, but only "+Ae.length+" present")}fe.d(mt,{Z:()=>d})},6156:(Nn,mt,fe)=>{"use strict";function d(H){if(null===H||!0===H||!1===H)return NaN;var Ae=Number(H);return isNaN(Ae)?Ae:Ae<0?Math.ceil(Ae):Math.floor(Ae)}fe.d(mt,{Z:()=>d})},8584:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(6156),H=fe(581),Ae=fe(2816);function Se(ze,Qe){(0,Ae.Z)(2,arguments);var et=(0,H.Z)(ze),Nt=(0,d.Z)(Qe);return isNaN(Nt)?new Date(NaN):(Nt&&et.setDate(et.getDate()+Nt),et)}},1083:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(6156),H=fe(581),Ae=fe(2816);function Se(ze,Qe){(0,Ae.Z)(2,arguments);var et=(0,H.Z)(ze),Nt=(0,d.Z)(Qe);if(isNaN(Nt))return new Date(NaN);if(!Nt)return et;var Kn=et.getDate(),Xe=new Date(et.getTime());return Xe.setMonth(et.getMonth()+Nt+1,0),Kn>=Xe.getDate()?Xe:(et.setFullYear(Xe.getFullYear(),Xe.getMonth(),Kn),et)}},9602:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se,ze){var Qe;(0,H.Z)(1,arguments);var et=Se||{},Nt=(0,d.Z)(et.start),Xe=(0,d.Z)(et.end).getTime();if(!(Nt.getTime()<=Xe))throw new RangeError("Invalid interval");var Tt=[],rt=Nt;rt.setHours(0,0,0,0);var Qt=Number(null!==(Qe=ze?.step)&&void 0!==Qe?Qe:1);if(Qt<1||isNaN(Qt))throw new RangeError("`options.step` must be a number greater than 1");for(;rt.getTime()<=Xe;)Tt.push((0,d.Z)(rt)),rt.setDate(rt.getDate()+Qt),rt.setHours(0,0,0,0);return Tt}},5134:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se){(0,H.Z)(1,arguments);var ze=(0,d.Z)(Se);return ze.setHours(23,59,59,999),ze}},1613:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>xt});var d=fe(1002),H=fe(2816),Se=fe(581);var Qe=fe(6156);function Tt(re){(0,H.Z)(1,arguments);var N=(0,Se.Z)(re),R=N.getUTCDay(),L=(R<1?7:0)+R-1;return N.setUTCDate(N.getUTCDate()-L),N.setUTCHours(0,0,0,0),N}function rt(re){(0,H.Z)(1,arguments);var J=(0,Se.Z)(re),N=J.getUTCFullYear(),R=new Date(0);R.setUTCFullYear(N+1,0,4),R.setUTCHours(0,0,0,0);var L=Tt(R),Q=new Date(0);Q.setUTCFullYear(N,0,4),Q.setUTCHours(0,0,0,0);var ae=Tt(Q);return J.getTime()>=L.getTime()?N+1:J.getTime()>=ae.getTime()?N:N-1}var Ve={};function Ke(){return Ve}function Sn(re,J){var N,R,L,Q,ae,Ie,we,Ze;(0,H.Z)(1,arguments);var Oe=Ke(),vt=(0,Qe.Z)(null!==(N=null!==(R=null!==(L=null!==(Q=J?.weekStartsOn)&&void 0!==Q?Q:null==J||null===(ae=J.locale)||void 0===ae||null===(Ie=ae.options)||void 0===Ie?void 0:Ie.weekStartsOn)&&void 0!==L?L:Oe.weekStartsOn)&&void 0!==R?R:null===(we=Oe.locale)||void 0===we||null===(Ze=we.options)||void 0===Ze?void 0:Ze.weekStartsOn)&&void 0!==N?N:0);if(!(vt>=0&&vt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var an=(0,Se.Z)(re),Yt=an.getUTCDay(),En=(Yt<vt?7:0)+Yt-vt;return an.setUTCDate(an.getUTCDate()-En),an.setUTCHours(0,0,0,0),an}function Dt(re,J){var N,R,L,Q,ae,Ie,we,Ze;(0,H.Z)(1,arguments);var Oe=(0,Se.Z)(re),vt=Oe.getUTCFullYear(),an=Ke(),Yt=(0,Qe.Z)(null!==(N=null!==(R=null!==(L=null!==(Q=J?.firstWeekContainsDate)&&void 0!==Q?Q:null==J||null===(ae=J.locale)||void 0===ae||null===(Ie=ae.options)||void 0===Ie?void 0:Ie.firstWeekContainsDate)&&void 0!==L?L:an.firstWeekContainsDate)&&void 0!==R?R:null===(we=an.locale)||void 0===we||null===(Ze=we.options)||void 0===Ze?void 0:Ze.firstWeekContainsDate)&&void 0!==N?N:1);if(!(Yt>=1&&Yt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var En=new Date(0);En.setUTCFullYear(vt+1,0,Yt),En.setUTCHours(0,0,0,0);var An=Sn(En,J),rn=new Date(0);rn.setUTCFullYear(vt,0,Yt),rn.setUTCHours(0,0,0,0);var Vt=Sn(rn,J);return Oe.getTime()>=An.getTime()?vt+1:Oe.getTime()>=Vt.getTime()?vt:vt-1}function Fe(re,J){for(var N=re<0?"-":"",R=Math.abs(re).toString();R.length<J;)R="0"+R;return N+R}const it_y=function(J,N){var R=J.getUTCFullYear(),L=R>0?R:1-R;return Fe("yy"===N?L%100:L,N.length)},it_M=function(J,N){var R=J.getUTCMonth();return"M"===N?String(R+1):Fe(R+1,2)},it_d=function(J,N){return Fe(J.getUTCDate(),N.length)},it_h=function(J,N){return Fe(J.getUTCHours()%12||12,N.length)},it_H=function(J,N){return Fe(J.getUTCHours(),N.length)},it_m=function(J,N){return Fe(J.getUTCMinutes(),N.length)},it_s=function(J,N){return Fe(J.getUTCSeconds(),N.length)},it_S=function(J,N){var R=N.length,L=J.getUTCMilliseconds();return Fe(Math.floor(L*Math.pow(10,R-3)),N.length)};function Mn(re,J){var N=re>0?"-":"+",R=Math.abs(re),L=Math.floor(R/60),Q=R%60;if(0===Q)return N+String(L);var ae=J||"";return N+String(L)+ae+Fe(Q,2)}function Ar(re,J){return re%60==0?(re>0?"-":"+")+Fe(Math.abs(re)/60,2):Or(re,J)}function Or(re,J){var N=J||"",R=re>0?"-":"+",L=Math.abs(re);return R+Fe(Math.floor(L/60),2)+N+Fe(L%60,2)}const Xr={G:function(J,N,R){var L=J.getUTCFullYear()>0?1:0;switch(N){case"G":case"GG":case"GGG":return R.era(L,{width:"abbreviated"});case"GGGGG":return R.era(L,{width:"narrow"});default:return R.era(L,{width:"wide"})}},y:function(J,N,R){if("yo"===N){var L=J.getUTCFullYear();return R.ordinalNumber(L>0?L:1-L,{unit:"year"})}return it_y(J,N)},Y:function(J,N,R,L){var Q=Dt(J,L),ae=Q>0?Q:1-Q;return"YY"===N?Fe(ae%100,2):"Yo"===N?R.ordinalNumber(ae,{unit:"year"}):Fe(ae,N.length)},R:function(J,N){return Fe(rt(J),N.length)},u:function(J,N){return Fe(J.getUTCFullYear(),N.length)},Q:function(J,N,R){var L=Math.ceil((J.getUTCMonth()+1)/3);switch(N){case"Q":return String(L);case"QQ":return Fe(L,2);case"Qo":return R.ordinalNumber(L,{unit:"quarter"});case"QQQ":return R.quarter(L,{width:"abbreviated",context:"formatting"});case"QQQQQ":return R.quarter(L,{width:"narrow",context:"formatting"});default:return R.quarter(L,{width:"wide",context:"formatting"})}},q:function(J,N,R){var L=Math.ceil((J.getUTCMonth()+1)/3);switch(N){case"q":return String(L);case"qq":return Fe(L,2);case"qo":return R.ordinalNumber(L,{unit:"quarter"});case"qqq":return R.quarter(L,{width:"abbreviated",context:"standalone"});case"qqqqq":return R.quarter(L,{width:"narrow",context:"standalone"});default:return R.quarter(L,{width:"wide",context:"standalone"})}},M:function(J,N,R){var L=J.getUTCMonth();switch(N){case"M":case"MM":return it_M(J,N);case"Mo":return R.ordinalNumber(L+1,{unit:"month"});case"MMM":return R.month(L,{width:"abbreviated",context:"formatting"});case"MMMMM":return R.month(L,{width:"narrow",context:"formatting"});default:return R.month(L,{width:"wide",context:"formatting"})}},L:function(J,N,R){var L=J.getUTCMonth();switch(N){case"L":return String(L+1);case"LL":return Fe(L+1,2);case"Lo":return R.ordinalNumber(L+1,{unit:"month"});case"LLL":return R.month(L,{width:"abbreviated",context:"standalone"});case"LLLLL":return R.month(L,{width:"narrow",context:"standalone"});default:return R.month(L,{width:"wide",context:"standalone"})}},w:function(J,N,R,L){var Q=function Le(re,J){(0,H.Z)(1,arguments);var N=(0,Se.Z)(re),R=Sn(N,J).getTime()-function ie(re,J){var N,R,L,Q,ae,Ie,we,Ze;(0,H.Z)(1,arguments);var Oe=Ke(),vt=(0,Qe.Z)(null!==(N=null!==(R=null!==(L=null!==(Q=J?.firstWeekContainsDate)&&void 0!==Q?Q:null==J||null===(ae=J.locale)||void 0===ae||null===(Ie=ae.options)||void 0===Ie?void 0:Ie.firstWeekContainsDate)&&void 0!==L?L:Oe.firstWeekContainsDate)&&void 0!==R?R:null===(we=Oe.locale)||void 0===we||null===(Ze=we.options)||void 0===Ze?void 0:Ze.firstWeekContainsDate)&&void 0!==N?N:1),an=Dt(re,J),Yt=new Date(0);return Yt.setUTCFullYear(an,0,vt),Yt.setUTCHours(0,0,0,0),Sn(Yt,J)}(N,J).getTime();return Math.round(R/6048e5)+1}(J,L);return"wo"===N?R.ordinalNumber(Q,{unit:"week"}):Fe(Q,N.length)},I:function(J,N,R){var L=function Vn(re){(0,H.Z)(1,arguments);var J=(0,Se.Z)(re),N=Tt(J).getTime()-function Qt(re){(0,H.Z)(1,arguments);var J=rt(re),N=new Date(0);return N.setUTCFullYear(J,0,4),N.setUTCHours(0,0,0,0),Tt(N)}(J).getTime();return Math.round(N/6048e5)+1}(J);return"Io"===N?R.ordinalNumber(L,{unit:"week"}):Fe(L,N.length)},d:function(J,N,R){return"do"===N?R.ordinalNumber(J.getUTCDate(),{unit:"date"}):it_d(J,N)},D:function(J,N,R){var L=function Xe(re){(0,H.Z)(1,arguments);var J=(0,Se.Z)(re),N=J.getTime();J.setUTCMonth(0,1),J.setUTCHours(0,0,0,0);var R=J.getTime();return Math.floor((N-R)/864e5)+1}(J);return"Do"===N?R.ordinalNumber(L,{unit:"dayOfYear"}):Fe(L,N.length)},E:function(J,N,R){var L=J.getUTCDay();switch(N){case"E":case"EE":case"EEE":return R.day(L,{width:"abbreviated",context:"formatting"});case"EEEEE":return R.day(L,{width:"narrow",context:"formatting"});case"EEEEEE":return R.day(L,{width:"short",context:"formatting"});default:return R.day(L,{width:"wide",context:"formatting"})}},e:function(J,N,R,L){var Q=J.getUTCDay(),ae=(Q-L.weekStartsOn+8)%7||7;switch(N){case"e":return String(ae);case"ee":return Fe(ae,2);case"eo":return R.ordinalNumber(ae,{unit:"day"});case"eee":return R.day(Q,{width:"abbreviated",context:"formatting"});case"eeeee":return R.day(Q,{width:"narrow",context:"formatting"});case"eeeeee":return R.day(Q,{width:"short",context:"formatting"});default:return R.day(Q,{width:"wide",context:"formatting"})}},c:function(J,N,R,L){var Q=J.getUTCDay(),ae=(Q-L.weekStartsOn+8)%7||7;switch(N){case"c":return String(ae);case"cc":return Fe(ae,N.length);case"co":return R.ordinalNumber(ae,{unit:"day"});case"ccc":return R.day(Q,{width:"abbreviated",context:"standalone"});case"ccccc":return R.day(Q,{width:"narrow",context:"standalone"});case"cccccc":return R.day(Q,{width:"short",context:"standalone"});default:return R.day(Q,{width:"wide",context:"standalone"})}},i:function(J,N,R){var L=J.getUTCDay(),Q=0===L?7:L;switch(N){case"i":return String(Q);case"ii":return Fe(Q,N.length);case"io":return R.ordinalNumber(Q,{unit:"day"});case"iii":return R.day(L,{width:"abbreviated",context:"formatting"});case"iiiii":return R.day(L,{width:"narrow",context:"formatting"});case"iiiiii":return R.day(L,{width:"short",context:"formatting"});default:return R.day(L,{width:"wide",context:"formatting"})}},a:function(J,N,R){var Q=J.getUTCHours()/12>=1?"pm":"am";switch(N){case"a":case"aa":return R.dayPeriod(Q,{width:"abbreviated",context:"formatting"});case"aaa":return R.dayPeriod(Q,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return R.dayPeriod(Q,{width:"narrow",context:"formatting"});default:return R.dayPeriod(Q,{width:"wide",context:"formatting"})}},b:function(J,N,R){var Q,L=J.getUTCHours();switch(Q=12===L?"noon":0===L?"midnight":L/12>=1?"pm":"am",N){case"b":case"bb":return R.dayPeriod(Q,{width:"abbreviated",context:"formatting"});case"bbb":return R.dayPeriod(Q,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return R.dayPeriod(Q,{width:"narrow",context:"formatting"});default:return R.dayPeriod(Q,{width:"wide",context:"formatting"})}},B:function(J,N,R){var Q,L=J.getUTCHours();switch(Q=L>=17?"evening":L>=12?"afternoon":L>=4?"morning":"night",N){case"B":case"BB":case"BBB":return R.dayPeriod(Q,{width:"abbreviated",context:"formatting"});case"BBBBB":return R.dayPeriod(Q,{width:"narrow",context:"formatting"});default:return R.dayPeriod(Q,{width:"wide",context:"formatting"})}},h:function(J,N,R){if("ho"===N){var L=J.getUTCHours()%12;return 0===L&&(L=12),R.ordinalNumber(L,{unit:"hour"})}return it_h(J,N)},H:function(J,N,R){return"Ho"===N?R.ordinalNumber(J.getUTCHours(),{unit:"hour"}):it_H(J,N)},K:function(J,N,R){var L=J.getUTCHours()%12;return"Ko"===N?R.ordinalNumber(L,{unit:"hour"}):Fe(L,N.length)},k:function(J,N,R){var L=J.getUTCHours();return 0===L&&(L=24),"ko"===N?R.ordinalNumber(L,{unit:"hour"}):Fe(L,N.length)},m:function(J,N,R){return"mo"===N?R.ordinalNumber(J.getUTCMinutes(),{unit:"minute"}):it_m(J,N)},s:function(J,N,R){return"so"===N?R.ordinalNumber(J.getUTCSeconds(),{unit:"second"}):it_s(J,N)},S:function(J,N){return it_S(J,N)},X:function(J,N,R,L){var ae=(L._originalDate||J).getTimezoneOffset();if(0===ae)return"Z";switch(N){case"X":return Ar(ae);case"XXXX":case"XX":return Or(ae);default:return Or(ae,":")}},x:function(J,N,R,L){var ae=(L._originalDate||J).getTimezoneOffset();switch(N){case"x":return Ar(ae);case"xxxx":case"xx":return Or(ae);default:return Or(ae,":")}},O:function(J,N,R,L){var ae=(L._originalDate||J).getTimezoneOffset();switch(N){case"O":case"OO":case"OOO":return"GMT"+Mn(ae,":");default:return"GMT"+Or(ae,":")}},z:function(J,N,R,L){var ae=(L._originalDate||J).getTimezoneOffset();switch(N){case"z":case"zz":case"zzz":return"GMT"+Mn(ae,":");default:return"GMT"+Or(ae,":")}},t:function(J,N,R,L){return Fe(Math.floor((L._originalDate||J).getTime()/1e3),N.length)},T:function(J,N,R,L){return Fe((L._originalDate||J).getTime(),N.length)}};var vn=function(J,N){switch(J){case"P":return N.date({width:"short"});case"PP":return N.date({width:"medium"});case"PPP":return N.date({width:"long"});default:return N.date({width:"full"})}},Lr=function(J,N){switch(J){case"p":return N.time({width:"short"});case"pp":return N.time({width:"medium"});case"ppp":return N.time({width:"long"});default:return N.time({width:"full"})}};const Je={p:Lr,P:function(J,N){var ae,R=J.match(/(P+)(p+)?/)||[],L=R[1],Q=R[2];if(!Q)return vn(J,N);switch(L){case"P":ae=N.dateTime({width:"short"});break;case"PP":ae=N.dateTime({width:"medium"});break;case"PPP":ae=N.dateTime({width:"long"});break;default:ae=N.dateTime({width:"full"})}return ae.replace("{{date}}",vn(L,N)).replace("{{time}}",Lr(Q,N))}};var Gi=["D","DD"],Pn=["YY","YYYY"];function qe(re,J,N){if("YYYY"===re)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(J,"`) for formatting years to the input `").concat(N,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===re)throw new RangeError("Use `yy` instead of `YY` (in `".concat(J,"`) for formatting years to the input `").concat(N,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===re)throw new RangeError("Use `d` instead of `D` (in `".concat(J,"`) for formatting days of the month to the input `").concat(N,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===re)throw new RangeError("Use `dd` instead of `DD` (in `".concat(J,"`) for formatting days of the month to the input `").concat(N,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Nr={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function wt(re){return function(){var J=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},N=J.width?String(J.width):re.defaultWidth;return re.formats[N]||re.formats[re.defaultWidth]}}var Hn={date:wt({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:wt({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:wt({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Dr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function In(re){return function(J,N){var L;if("formatting"===(null!=N&&N.context?String(N.context):"standalone")&&re.formattingValues){var Q=re.defaultFormattingWidth||re.defaultWidth,ae=null!=N&&N.width?String(N.width):Q;L=re.formattingValues[ae]||re.formattingValues[Q]}else{var Ie=re.defaultWidth,we=null!=N&&N.width?String(N.width):re.defaultWidth;L=re.values[we]||re.values[Ie]}return L[re.argumentCallback?re.argumentCallback(J):J]}}function cn(re){return function(J){var N=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=N.width,Q=J.match(R&&re.matchPatterns[R]||re.matchPatterns[re.defaultMatchWidth]);if(!Q)return null;var Ze,ae=Q[0],Ie=R&&re.parsePatterns[R]||re.parsePatterns[re.defaultParseWidth],we=Array.isArray(Ie)?function Ue(re,J){for(var N=0;N<re.length;N++)if(J(re[N]))return N}(Ie,function(vt){return vt.test(ae)}):function di(re,J){for(var N in re)if(re.hasOwnProperty(N)&&J(re[N]))return N}(Ie,function(vt){return vt.test(ae)});return Ze=re.valueCallback?re.valueCallback(we):we,{value:Ze=N.valueCallback?N.valueCallback(Ze):Ze,rest:J.slice(ae.length)}}}const z={code:"en-US",formatDistance:function(J,N,R){var L,Q=Nr[J];return L="string"==typeof Q?Q:1===N?Q.one:Q.other.replace("{{count}}",N.toString()),null!=R&&R.addSuffix?R.comparison&&R.comparison>0?"in "+L:L+" ago":L},formatLong:Hn,formatRelative:function(J,N,R,L){return Dr[J]},localize:{ordinalNumber:function(J,N){var R=Number(J),L=R%100;if(L>20||L<10)switch(L%10){case 1:return R+"st";case 2:return R+"nd";case 3:return R+"rd"}return R+"th"},era:In({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:In({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(J){return J-1}}),month:In({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:In({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:In({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function Di(re){return function(J){var N=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=J.match(re.matchPattern);if(!R)return null;var L=R[0],Q=J.match(re.parsePattern);if(!Q)return null;var ae=re.valueCallback?re.valueCallback(Q[0]):Q[0];return{value:ae=N.valueCallback?N.valueCallback(ae):ae,rest:J.slice(L.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(J){return parseInt(J,10)}}),era:cn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:cn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(J){return J+1}}),month:cn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:cn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:cn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var X=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ye=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Re=/^'([^]*?)'?$/,tt=/''/g,pt=/[a-zA-Z]/;function xt(re,J,N){var R,L,Q,ae,Ie,we,Ze,Oe,vt,an,Yt,En,An,rn,Vt,Bt,tr,Hr;(0,H.Z)(2,arguments);var jn=String(J),$n=Ke(),qr=null!==(R=null!==(L=N?.locale)&&void 0!==L?L:$n.locale)&&void 0!==R?R:z,Mr=(0,Qe.Z)(null!==(Q=null!==(ae=null!==(Ie=null!==(we=N?.firstWeekContainsDate)&&void 0!==we?we:null==N||null===(Ze=N.locale)||void 0===Ze||null===(Oe=Ze.options)||void 0===Oe?void 0:Oe.firstWeekContainsDate)&&void 0!==Ie?Ie:$n.firstWeekContainsDate)&&void 0!==ae?ae:null===(vt=$n.locale)||void 0===vt||null===(an=vt.options)||void 0===an?void 0:an.firstWeekContainsDate)&&void 0!==Q?Q:1);if(!(Mr>=1&&Mr<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var hi=(0,Qe.Z)(null!==(Yt=null!==(En=null!==(An=null!==(rn=N?.weekStartsOn)&&void 0!==rn?rn:null==N||null===(Vt=N.locale)||void 0===Vt||null===(Bt=Vt.options)||void 0===Bt?void 0:Bt.weekStartsOn)&&void 0!==An?An:$n.weekStartsOn)&&void 0!==En?En:null===(tr=$n.locale)||void 0===tr||null===(Hr=tr.options)||void 0===Hr?void 0:Hr.weekStartsOn)&&void 0!==Yt?Yt:0);if(!(hi>=0&&hi<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!qr.localize)throw new RangeError("locale must contain localize property");if(!qr.formatLong)throw new RangeError("locale must contain formatLong property");var si=(0,Se.Z)(re);if(!function ze(re){if((0,H.Z)(1,arguments),!function Ae(re){return(0,H.Z)(1,arguments),re instanceof Date||"object"===(0,d.Z)(re)&&"[object Date]"===Object.prototype.toString.call(re)}(re)&&"number"!=typeof re)return!1;var J=(0,Se.Z)(re);return!isNaN(Number(J))}(si))throw new RangeError("Invalid time value");var Wi=function kr(re){var J=new Date(Date.UTC(re.getFullYear(),re.getMonth(),re.getDate(),re.getHours(),re.getMinutes(),re.getSeconds(),re.getMilliseconds()));return J.setUTCFullYear(re.getFullYear()),re.getTime()-J.getTime()}(si),Io=function Nt(re,J){return(0,H.Z)(2,arguments),function et(re,J){(0,H.Z)(2,arguments);var N=(0,Se.Z)(re).getTime(),R=(0,Qe.Z)(J);return new Date(N+R)}(re,-(0,Qe.Z)(J))}(si,Wi),gr={firstWeekContainsDate:Mr,weekStartsOn:hi,locale:qr,_originalDate:si},co=jn.match(ye).map(function(br){var zi=br[0];return"p"===zi||"P"===zi?(0,Je[zi])(br,qr.formatLong):br}).join("").match(X).map(function(br){if("''"===br)return"'";var zi=br[0];if("'"===zi)return function je(re){var J=re.match(Re);return J?J[1].replace(tt,"'"):re}(br);var Ci=Xr[zi];if(Ci)return!(null!=N&&N.useAdditionalWeekYearTokens)&&function yn(re){return-1!==Pn.indexOf(re)}(br)&&qe(br,J,String(re)),!(null!=N&&N.useAdditionalDayOfYearTokens)&&function Wr(re){return-1!==Gi.indexOf(re)}(br)&&qe(br,J,String(re)),Ci(Io,br,qr.localize,gr);if(zi.match(pt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+zi+"`");return br}).join("");return co}},2130:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se){return(0,H.Z)(1,arguments),(0,d.Z)(Se).getTime()<Date.now()}},5421:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(581),H=fe(2816);function Ae(ze){(0,H.Z)(1,arguments);var Qe=(0,d.Z)(ze);return Qe.setMinutes(0,0,0),Qe}function Se(ze,Qe){(0,H.Z)(2,arguments);var et=Ae(ze),Nt=Ae(Qe);return et.getTime()===Nt.getTime()}},8832:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se,ze){(0,H.Z)(2,arguments);var Qe=(0,d.Z)(Se),et=(0,d.Z)(ze);return Qe.getFullYear()===et.getFullYear()&&Qe.getMonth()===et.getMonth()}},7636:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se,ze){(0,H.Z)(2,arguments);var Qe=(0,d.Z)(Se),et=(0,d.Z)(ze);return Qe.getFullYear()===et.getFullYear()}},7712:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(9189),H=fe(2816);function Se(ze){return(0,H.Z)(1,arguments),function Ae(ze,Qe){(0,H.Z)(2,arguments);var et=(0,d.Z)(ze),Nt=(0,d.Z)(Qe);return et.getTime()===Nt.getTime()}(ze,Date.now())}},9189:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se){(0,H.Z)(1,arguments);var ze=(0,d.Z)(Se);return ze.setHours(0,0,0,0),ze}},7680:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(581),H=fe(2816);function Ae(Se){(0,H.Z)(1,arguments);var ze=(0,d.Z)(Se);return ze.setDate(1),ze.setHours(0,0,0,0),ze}},4307:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(8584),H=fe(2816),Ae=fe(6156);function Se(ze,Qe){(0,H.Z)(2,arguments);var et=(0,Ae.Z)(Qe);return(0,d.Z)(ze,-et)}},7278:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Se});var d=fe(6156),H=fe(1083),Ae=fe(2816);function Se(ze,Qe){(0,Ae.Z)(2,arguments);var et=(0,d.Z)(Qe);return(0,H.Z)(ze,-et)}},581:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Z:()=>Ae});var d=fe(1002),H=fe(2816);function Ae(Se){(0,H.Z)(1,arguments);var ze=Object.prototype.toString.call(Se);return Se instanceof Date||"object"===(0,d.Z)(Se)&&"[object Date]"===ze?new Date(Se.getTime()):"number"==typeof Se||"[object Number]"===ze?new Date(Se):(("string"==typeof Se||"[object String]"===ze)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},6990:function(Nn,mt,fe){var d;Nn=fe.nmd(Nn),function(){var H,Qe="Expected a function",Nt="__lodash_hash_undefined__",Xe="__lodash_placeholder__",vn=1/0,Lr=9007199254740991,Je=4294967295,Pn=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Wr="[object Arguments]",yn="[object Array]",Nr="[object Boolean]",zr="[object Date]",wt="[object Error]",hn="[object Function]",Zn="[object GeneratorFunction]",Bn="[object Map]",Hn="[object Number]",Dr="[object Object]",_i="[object Promise]",In="[object RegExp]",dt="[object Set]",Tn="[object String]",at="[object Symbol]",It="[object WeakMap]",Rr="[object ArrayBuffer]",Er="[object DataView]",Xt="[object Float32Array]",cn="[object Float64Array]",di="[object Int8Array]",Ue="[object Int16Array]",Di="[object Int32Array]",kt="[object Uint8Array]",Jn="[object Uint8ClampedArray]",er="[object Uint16Array]",Cr="[object Uint32Array]",Pr=/\b__p \+= '';/g,zn=/\b(__p \+=) '' \+/g,wr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ei=/&(?:amp|lt|gt|quot|#39);/g,fi=/[&<>"']/g,Vr=RegExp(Ei.source),qn=RegExp(fi.source),Br=/<%-([\s\S]+?)%>/g,ti=/<%([\s\S]+?)%>/g,lo=/<%=([\s\S]+?)%>/g,me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ue=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,ye=RegExp(X.source),Re=/^\s+/,tt=/\s/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xt=/\{\n\/\* \[wrapped with (.+)\] \*/,je=/,? & /,re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,J=/[()=,{}\[\]\/\s]/,N=/\\(\\)?/g,R=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,L=/\w*$/,Q=/^[-+]0x[0-9a-f]+$/i,ae=/^0b[01]+$/i,Ie=/^\[object .+?Constructor\]$/,we=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Oe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vt=/($^)/,an=/['\n\r\u2028\u2029\\]/g,Yt="\\ud800-\\udfff",Vt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Bt="\\u2700-\\u27bf",tr="a-z\\xdf-\\xf6\\xf8-\\xff",Mr="A-Z\\xc0-\\xd6\\xd8-\\xde",hi="\\ufe0e\\ufe0f",si="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Io="["+Yt+"]",gr="["+si+"]",co="["+Vt+"]",br="\\d+",zi="["+Bt+"]",Ci="["+tr+"]",Wo="[^"+Yt+si+br+Bt+tr+Mr+"]",wi="\\ud83c[\\udffb-\\udfff]",To="[^"+Yt+"]",ar="(?:\\ud83c[\\udde6-\\uddff]){2}",Ao="[\\ud800-\\udbff][\\udc00-\\udfff]",Ri="["+Mr+"]",ai="(?:"+Ci+"|"+Wo+")",Oo="(?:"+Ri+"|"+Wo+")",fo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",as="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",No="(?:"+co+"|"+wi+")?",pi="["+hi+"]?",ur=pi+No+"(?:\\u200d(?:"+[To,ar,Ao].join("|")+")"+pi+No+")*",qi="(?:"+[zi,ar,Ao].join("|")+")"+ur,xr="(?:"+[To+co+"?",co,ar,Ao,Io].join("|")+")",Yo=RegExp("['\u2019]","g"),ho=RegExp(co,"g"),Pi=RegExp(wi+"(?="+wi+")|"+xr+ur,"g"),us=RegExp([Ri+"?"+Ci+"+"+fo+"(?="+[gr,Ri,"$"].join("|")+")",Oo+"+"+as+"(?="+[gr,Ri+ai,"$"].join("|")+")",Ri+"?"+ai+"+"+fo,Ri+"+"+as,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",br,qi].join("|"),"g"),po=RegExp("[\\u200d"+Yt+Vt+hi+"]"),xn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],yt=-1,ft={};ft[Xt]=ft[cn]=ft[di]=ft[Ue]=ft[Di]=ft[kt]=ft[Jn]=ft[er]=ft[Cr]=!0,ft[Wr]=ft[yn]=ft[Rr]=ft[Nr]=ft[Er]=ft[zr]=ft[wt]=ft[hn]=ft[Bn]=ft[Hn]=ft[Dr]=ft[In]=ft[dt]=ft[Tn]=ft[It]=!1;var jt={};jt[Wr]=jt[yn]=jt[Rr]=jt[Er]=jt[Nr]=jt[zr]=jt[Xt]=jt[cn]=jt[di]=jt[Ue]=jt[Di]=jt[Bn]=jt[Hn]=jt[Dr]=jt[In]=jt[dt]=jt[Tn]=jt[at]=jt[kt]=jt[Jn]=jt[er]=jt[Cr]=!0,jt[wt]=jt[hn]=jt[It]=!1;var Gn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lr=parseFloat,Ki=parseInt,ut="object"==typeof global&&global&&global.Object===Object&&global,go="object"==typeof self&&self&&self.Object===Object&&self,mr=ut||go||Function("return this")(),mo=mt&&!mt.nodeType&&mt,un=mo&&Nn&&!Nn.nodeType&&Nn,Po=un&&un.exports===mo,Zi=Po&&ut.process,Fn=function(){try{return un&&un.require&&un.require("util").types||Zi&&Zi.binding&&Zi.binding("util")}catch{}}(),no=Fn&&Fn.isArrayBuffer,xo=Fn&&Fn.isDate,rr=Fn&&Fn.isMap,ui=Fn&&Fn.isRegExp,Ln=Fn&&Fn.isSet,xi=Fn&&Fn.isTypedArray;function gt(ne,ve,ge){switch(ge.length){case 0:return ne.call(ve);case 1:return ne.call(ve,ge[0]);case 2:return ne.call(ve,ge[0],ge[1]);case 3:return ne.call(ve,ge[0],ge[1],ge[2])}return ne.apply(ve,ge)}function Bs(ne,ve,ge,$e){for(var bt=-1,pn=null==ne?0:ne.length;++bt<pn;){var Ir=ne[bt];ve($e,Ir,ge(Ir),ne)}return $e}function Sr(ne,ve){for(var ge=-1,$e=null==ne?0:ne.length;++ge<$e&&!1!==ve(ne[ge],ge,ne););return ne}function Qi(ne,ve){for(var ge=null==ne?0:ne.length;ge--&&!1!==ve(ne[ge],ge,ne););return ne}function Yr(ne,ve){for(var ge=-1,$e=null==ne?0:ne.length;++ge<$e;)if(!ve(ne[ge],ge,ne))return!1;return!0}function ni(ne,ve){for(var ge=-1,$e=null==ne?0:ne.length,bt=0,pn=[];++ge<$e;){var Ir=ne[ge];ve(Ir,ge,ne)&&(pn[bt++]=Ir)}return pn}function Ur(ne,ve){return!(null==ne||!ne.length)&&Zo(ne,ve,0)>-1}function bi(ne,ve,ge){for(var $e=-1,bt=null==ne?0:ne.length;++$e<bt;)if(ge(ve,ne[$e]))return!0;return!1}function Ft(ne,ve){for(var ge=-1,$e=null==ne?0:ne.length,bt=Array($e);++ge<$e;)bt[ge]=ve(ne[ge],ge,ne);return bt}function Fo(ne,ve){for(var ge=-1,$e=ve.length,bt=ne.length;++ge<$e;)ne[bt+ge]=ve[ge];return ne}function Qn(ne,ve,ge,$e){var bt=-1,pn=null==ne?0:ne.length;for($e&&pn&&(ge=ne[++bt]);++bt<pn;)ge=ve(ge,ne[bt],bt,ne);return ge}function cr(ne,ve,ge,$e){var bt=null==ne?0:ne.length;for($e&&bt&&(ge=ne[--bt]);bt--;)ge=ve(ge,ne[bt],bt,ne);return ge}function Lo(ne,ve){for(var ge=-1,$e=null==ne?0:ne.length;++ge<$e;)if(ve(ne[ge],ge,ne))return!0;return!1}var ko=T("length");function Ko(ne,ve,ge){var $e;return ge(ne,function(bt,pn,Ir){if(ve(bt,pn,Ir))return $e=pn,!1}),$e}function vo(ne,ve,ge,$e){for(var bt=ne.length,pn=ge+($e?1:-1);$e?pn--:++pn<bt;)if(ve(ne[pn],pn,ne))return pn;return-1}function Zo(ne,ve,ge){return ve==ve?function lt(ne,ve,ge){for(var $e=ge-1,bt=ne.length;++$e<bt;)if(ne[$e]===ve)return $e;return-1}(ne,ve,ge):vo(ne,ls,ge)}function sa(ne,ve,ge,$e){for(var bt=ge-1,pn=ne.length;++bt<pn;)if($e(ne[bt],ve))return bt;return-1}function ls(ne){return ne!=ne}function S(ne,ve){var ge=null==ne?0:ne.length;return ge?ot(ne,ve)/ge:NaN}function T(ne){return function(ve){return null==ve?H:ve[ne]}}function E(ne){return function(ve){return null==ne?H:ne[ve]}}function V(ne,ve,ge,$e,bt){return bt(ne,function(pn,Ir,xe){ge=$e?($e=!1,pn):ve(ge,pn,Ir,xe)}),ge}function ot(ne,ve){for(var ge,$e=-1,bt=ne.length;++$e<bt;){var pn=ve(ne[$e]);pn!==H&&(ge=ge===H?pn:ge+pn)}return ge}function Ht(ne,ve){for(var ge=-1,$e=Array(ne);++ge<ne;)$e[ge]=ve(ge);return $e}function Qo(ne){return ne&&ne.slice(0,vr(ne)+1).replace(Re,"")}function ri(ne){return function(ve){return ne(ve)}}function Sa(ne,ve){return Ft(ve,function(ge){return ne[ge]})}function Ss(ne,ve){return ne.has(ve)}function Ia(ne,ve){for(var ge=-1,$e=ne.length;++ge<$e&&Zo(ve,ne[ge],0)>-1;);return ge}function F(ne,ve){for(var ge=ne.length;ge--&&Zo(ve,ne[ge],0)>-1;);return ge}var g=E({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),w=E({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function P(ne){return"\\"+Gn[ne]}function K(ne){return po.test(ne)}function pe(ne){var ve=-1,ge=Array(ne.size);return ne.forEach(function($e,bt){ge[++ve]=[bt,$e]}),ge}function ke(ne,ve){return function(ge){return ne(ve(ge))}}function Pe(ne,ve){for(var ge=-1,$e=ne.length,bt=0,pn=[];++ge<$e;){var Ir=ne[ge];(Ir===ve||Ir===Xe)&&(ne[ge]=Xe,pn[bt++]=ge)}return pn}function Gt(ne){var ve=-1,ge=Array(ne.size);return ne.forEach(function($e){ge[++ve]=$e}),ge}function _n(ne){return K(ne)?function jr(ne){for(var ve=Pi.lastIndex=0;Pi.test(ne);)++ve;return ve}(ne):ko(ne)}function Cn(ne){return K(ne)?function Xo(ne){return ne.match(Pi)||[]}(ne):function hs(ne){return ne.split("")}(ne)}function vr(ne){for(var ve=ne.length;ve--&&tt.test(ne.charAt(ve)););return ve}var Kr=E({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),$r=function ne(ve){var i,ge=(ve=null==ve?mr:$r.defaults(mr.Object(),ve,$r.pick(mr,Be))).Array,$e=ve.Date,bt=ve.Error,pn=ve.Function,Ir=ve.Math,xe=ve.Object,nt=ve.RegExp,st=ve.String,At=ve.TypeError,ir=ge.prototype,dr=xe.prototype,gi=ve["__core-js_shared__"],p=pn.prototype.toString,A=dr.hasOwnProperty,C=0,I=(i=/[^.]+$/.exec(gi&&gi.keys&&gi.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",G=dr.toString,le=p.call(xe),_e=mr._,Ye=nt("^"+p.call(A).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bn=Po?ve.Buffer:H,nn=ve.Symbol,dn=ve.Uint8Array,Wt=bn?bn.allocUnsafe:H,Xn=ke(xe.getPrototypeOf,xe),Wn=xe.create,Gr=dr.propertyIsEnumerable,or=ir.splice,ro=nn?nn.isConcatSpreadable:H,io=nn?nn.iterator:H,Tr=nn?nn.toStringTag:H,_o=function(){try{var i=$a(xe,"defineProperty");return i({},"",{}),i}catch{}}(),li=ve.clearTimeout!==mr.clearTimeout&&ve.clearTimeout,Jo=$e&&$e.now!==mr.Date.now&&$e.now,fc=ve.setTimeout!==mr.setTimeout&&ve.setTimeout,Yn=Ir.ceil,Hs=Ir.floor,ps=xe.getOwnPropertySymbols,ki=bn?bn.isBuffer:H,hc=ve.isFinite,uu=ir.join,Xi=ke(xe.keys,xe),On=Ir.max,Vi=Ir.min,nf=$e.now,rf=ve.parseInt,es=Ir.random,lu=ir.reverse,aa=$a(ve,"DataView"),Us=$a(ve,"Map"),Ta=$a(ve,"Promise"),js=$a(ve,"Set"),$s=$a(ve,"WeakMap"),St=$a(xe,"create"),Aa=$s&&new $s,Oa={},sf=va(aa),pc=va(Us),af=va(Ta),cu=va(js),Gs=va($s),Na=nn?nn.prototype:H,ua=Na?Na.valueOf:H,el=Na?Na.toString:H;function B(i){if(Qr(i)&&!zt(i)&&!(i instanceof on)){if(i instanceof Ut)return i;if(A.call(i,"__wrapped__"))return bl(i)}return new Ut(i)}var Ws=function(){function i(){}return function(s){if(!sr(s))return{};if(Wn)return Wn(s);i.prototype=s;var l=new i;return i.prototype=H,l}}();function Me(){}function Ut(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=H}function on(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Je,this.__views__=[]}function ts(i){var s=-1,l=null==i?0:i.length;for(this.clear();++s<l;){var D=i[s];this.set(D[0],D[1])}}function f(i){var s=-1,l=null==i?0:i.length;for(this.clear();++s<l;){var D=i[s];this.set(D[0],D[1])}}function ce(i){var s=-1,l=null==i?0:i.length;for(this.clear();++s<l;){var D=i[s];this.set(D[0],D[1])}}function Do(i){var s=-1,l=null==i?0:i.length;for(this.__data__=new ce;++s<l;)this.add(i[s])}function mi(i){var s=this.__data__=new f(i);this.size=s.size}function il(i,s){var l=zt(i),D=!l&&Ca(i),O=!l&&!D&&Cs(i),j=!l&&!D&&!O&&Ka(i),q=l||D||O||j,ee=q?Ht(i.length,st):[],oe=ee.length;for(var Ee in i)(s||A.call(i,Ee))&&(!q||!("length"==Ee||O&&("offset"==Ee||"parent"==Ee)||j&&("buffer"==Ee||"byteLength"==Ee||"byteOffset"==Ee)||Ns(Ee,oe)))&&ee.push(Ee);return ee}function ff(i){var s=i.length;return s?i[fl(0,s-1)]:H}function Wp(i,s){return Ml(Eo(i),ms(s,0,i.length))}function oo(i){return Ml(Eo(i))}function Ts(i,s,l){(l!==H&&!Mo(i[s],l)||l===H&&!(s in i))&&gs(i,s,l)}function fr(i,s,l){var D=i[s];(!A.call(i,s)||!Mo(D,l)||l===H&&!(s in i))&&gs(i,s,l)}function hu(i,s){for(var l=i.length;l--;)if(Mo(i[l][0],s))return l;return-1}function zp(i,s,l,D){return vs(i,function(O,j,q){s(D,O,l(O),q)}),D}function mc(i,s){return i&&_s(s,Ai(s),i)}function gs(i,s,l){"__proto__"==s&&_o?_o(i,s,{configurable:!0,enumerable:!0,value:l,writable:!0}):i[s]=l}function ol(i,s){for(var l=-1,D=s.length,O=ge(D),j=null==i;++l<D;)O[l]=j?H:Xa(i,s[l]);return O}function ms(i,s,l){return i==i&&(l!==H&&(i=i<=l?i:l),s!==H&&(i=i>=s?i:s)),i}function vi(i,s,l,D,O,j){var q,ee=1&s,oe=2&s,Ee=4&s;if(l&&(q=O?l(i,D,O,j):l(i)),q!==H)return q;if(!sr(i))return i;var be=zt(i);if(be){if(q=function Uf(i){var s=i.length,l=new i.constructor(s);return s&&"string"==typeof i[0]&&A.call(i,"index")&&(l.index=i.index,l.input=i.input),l}(i),!ee)return Eo(i,q)}else{var Ce=Ui(i),Ge=Ce==hn||Ce==Zn;if(Cs(i))return bf(i,ee);if(Ce==Dr||Ce==Wr||Ge&&!O){if(q=oe||Ge?{}:Hc(i),!ee)return oe?function Nc(i,s){return _s(i,Iu(i),s)}(i,function qp(i,s){return i&&_s(s,Oi(s),i)}(q,i)):function og(i,s){return _s(i,Ga(i),s)}(i,mc(q,i))}else{if(!jt[Ce])return O?i:{};q=function yl(i,s,l){var D=i.constructor;switch(s){case Rr:return Sf(i);case Nr:case zr:return new D(+i);case Er:return function Ho(i,s){var l=s?Sf(i.buffer):i.buffer;return new i.constructor(l,i.byteOffset,i.byteLength)}(i,l);case Xt:case cn:case di:case Ue:case Di:case kt:case Jn:case er:case Cr:return rg(i,l);case Bn:return new D;case Hn:case Tn:return new D(i);case In:return function Ac(i){var s=new i.constructor(i.source,L.exec(i));return s.lastIndex=i.lastIndex,s}(i);case dt:return new D;case at:return function Ha(i){return ua?xe(ua.call(i)):{}}(i)}}(i,Ce,ee)}}j||(j=new mi);var ct=j.get(i);if(ct)return ct;j.set(i,q),em(i)?i.forEach(function(Ot){q.add(vi(Ot,s,l,Ot,i,j))}):Nh(i)&&i.forEach(function(Ot,mn){q.set(mn,vi(Ot,s,l,mn,i,j))});var tn=be?H:(Ee?oe?Lf:bu:oe?Oi:Ai)(i);return Sr(tn||i,function(Ot,mn){tn&&(Ot=i[mn=Ot]),fr(q,mn,vi(Ot,s,l,mn,i,j))}),q}function pu(i,s,l){var D=l.length;if(null==i)return!D;for(i=xe(i);D--;){var O=l[D],q=i[O];if(q===H&&!(O in i)||!(0,s[O])(q))return!1}return!0}function gu(i,s,l){if("function"!=typeof i)throw new At(Qe);return Nu(function(){i.apply(H,l)},s)}function zs(i,s,l,D){var O=-1,j=Ur,q=!0,ee=i.length,oe=[],Ee=s.length;if(!ee)return oe;l&&(s=Ft(s,ri(l))),D?(j=bi,q=!1):s.length>=200&&(j=Ss,q=!1,s=new Do(s));e:for(;++O<ee;){var be=i[O],Ce=null==l?be:l(be);if(be=D||0!==be?be:0,q&&Ce==Ce){for(var Ge=Ee;Ge--;)if(s[Ge]===Ce)continue e;oe.push(be)}else j(s,Ce,D)||oe.push(be)}return oe}B.templateSettings={escape:Br,evaluate:ti,interpolate:lo,variable:"",imports:{_:B}},(B.prototype=Me.prototype).constructor=B,(Ut.prototype=Ws(Me.prototype)).constructor=Ut,(on.prototype=Ws(Me.prototype)).constructor=on,ts.prototype.clear=function cs(){this.__data__=St?St(null):{},this.size=0},ts.prototype.delete=function nl(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s},ts.prototype.get=function rl(i){var s=this.__data__;if(St){var l=s[i];return l===Nt?H:l}return A.call(s,i)?s[i]:H},ts.prototype.has=function m(i){var s=this.__data__;return St?s[i]!==H:A.call(s,i)},ts.prototype.set=function _(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=St&&s===H?Nt:s,this},f.prototype.clear=function y(){this.__data__=[],this.size=0},f.prototype.delete=function b(i){var s=this.__data__,l=hu(s,i);return!(l<0||(l==s.length-1?s.pop():or.call(s,l,1),--this.size,0))},f.prototype.get=function k(i){var s=this.__data__,l=hu(s,i);return l<0?H:s[l][1]},f.prototype.has=function W(i){return hu(this.__data__,i)>-1},f.prototype.set=function he(i,s){var l=this.__data__,D=hu(l,i);return D<0?(++this.size,l.push([i,s])):l[D][1]=s,this},ce.prototype.clear=function He(){this.size=0,this.__data__={hash:new ts,map:new(Us||f),string:new ts}},ce.prototype.delete=function en(i){var s=Bc(this,i).delete(i);return this.size-=s?1:0,s},ce.prototype.get=function yr(i){return Bc(this,i).get(i)},ce.prototype.has=function gn(i){return Bc(this,i).has(i)},ce.prototype.set=function Vo(i,s){var l=Bc(this,i),D=l.size;return l.set(i,s),this.size+=l.size==D?0:1,this},Do.prototype.add=Do.prototype.push=function Is(i){return this.__data__.set(i,Nt),this},Do.prototype.has=function du(i){return this.__data__.has(i)},mi.prototype.clear=function fu(){this.__data__=new f,this.size=0},mi.prototype.delete=function uf(i){var s=this.__data__,l=s.delete(i);return this.size=s.size,l},mi.prototype.get=function lf(i){return this.__data__.get(i)},mi.prototype.has=function cf(i){return this.__data__.has(i)},mi.prototype.set=function df(i,s){var l=this.__data__;if(l instanceof f){var D=l.__data__;if(!Us||D.length<199)return D.push([i,s]),this.size=++l.size,this;l=this.__data__=new ce(D)}return l.set(i,s),this.size=l.size,this};var vs=wu(As),vc=wu(yc,!0);function hf(i,s){var l=!0;return vs(i,function(D,O,j){return l=!!s(D,O,j)}),l}function sl(i,s,l){for(var D=-1,O=i.length;++D<O;){var j=i[D],q=s(j);if(null!=q&&(ee===H?q==q&&!Ji(q):l(q,ee)))var ee=q,oe=j}return oe}function Pa(i,s){var l=[];return vs(i,function(D,O,j){s(D,O,j)&&l.push(D)}),l}function Bi(i,s,l,D,O){var j=-1,q=i.length;for(l||(l=Dl),O||(O=[]);++j<q;){var ee=i[j];s>0&&l(ee)?s>1?Bi(ee,s-1,l,D,O):Fo(O,ee):D||(O[O.length]=ee)}return O}var pf=Af(),al=Af(!0);function As(i,s){return i&&pf(i,s,Ai)}function yc(i,s){return i&&al(i,s,Ai)}function ul(i,s){return ni(s,function(l){return xs(i[l])})}function xa(i,s){for(var l=0,D=(s=fs(s,i)).length;null!=i&&l<D;)i=i[Es(s[l++])];return l&&l==D?i:H}function Kp(i,s,l){var D=s(i);return zt(i)?D:Fo(D,l(i))}function Hi(i){return null==i?i===H?"[object Undefined]":"[object Null]":Tr&&Tr in xe(i)?function ug(i){var s=A.call(i,Tr),l=i[Tr];try{i[Tr]=H;var D=!0}catch{}var O=G.call(i);return D&&(s?i[Tr]=l:delete i[Tr]),O}(i):function Gf(i){return G.call(i)}(i)}function la(i,s){return i>s}function Zp(i,s){return null!=i&&A.call(i,s)}function mu(i,s){return null!=i&&s in xe(i)}function Fa(i,s,l){for(var D=l?bi:Ur,O=i[0].length,j=i.length,q=j,ee=ge(j),oe=1/0,Ee=[];q--;){var be=i[q];q&&s&&(be=Ft(be,ri(s))),oe=Vi(be.length,oe),ee[q]=!l&&(s||O>=120&&be.length>=120)?new Do(q&&be):H}be=i[0];var Ce=-1,Ge=ee[0];e:for(;++Ce<O&&Ee.length<oe;){var ct=be[Ce],Pt=s?s(ct):ct;if(ct=l||0!==ct?ct:0,!(Ge?Ss(Ge,Pt):D(Ee,Pt,l))){for(q=j;--q;){var tn=ee[q];if(!(tn?Ss(tn,Pt):D(i[q],Pt,l)))continue e}Ge&&Ge.push(Pt),Ee.push(ct)}}return Ee}function La(i,s,l){var D=null==(i=ji(i,s=fs(s,i)))?i:i[Es(wo(s))];return null==D?H:gt(D,i,l)}function Dc(i){return Qr(i)&&Hi(i)==Wr}function vu(i,s,l,D,O){return i===s||(null==i||null==s||!Qr(i)&&!Qr(s)?i!=i&&s!=s:function ll(i,s,l,D,O,j){var q=zt(i),ee=zt(s),oe=q?yn:Ui(i),Ee=ee?yn:Ui(s),be=(oe=oe==Wr?Dr:oe)==Dr,Ce=(Ee=Ee==Wr?Dr:Ee)==Dr,Ge=oe==Ee;if(Ge&&Cs(i)){if(!Cs(s))return!1;q=!0,be=!1}if(Ge&&!be)return j||(j=new mi),q||Ka(i)?Vc(i,s,l,D,O,j):function Yv(i,s,l,D,O,j,q){switch(l){case Er:if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case Rr:return!(i.byteLength!=s.byteLength||!j(new dn(i),new dn(s)));case Nr:case zr:case Hn:return Mo(+i,+s);case wt:return i.name==s.name&&i.message==s.message;case In:case Tn:return i==s+"";case Bn:var ee=pe;case dt:if(ee||(ee=Gt),i.size!=s.size&&!(1&D))return!1;var Ee=q.get(i);if(Ee)return Ee==s;D|=2,q.set(i,s);var be=Vc(ee(i),ee(s),D,O,j,q);return q.delete(i),be;case at:if(ua)return ua.call(i)==ua.call(s)}return!1}(i,s,oe,l,D,O,j);if(!(1&l)){var ct=be&&A.call(i,"__wrapped__"),Pt=Ce&&A.call(s,"__wrapped__");if(ct||Pt){var tn=ct?i.value():i,Ot=Pt?s.value():s;return j||(j=new mi),O(tn,Ot,l,D,j)}}return!!Ge&&(j||(j=new mi),function ag(i,s,l,D,O,j){var q=1&l,ee=bu(i),oe=ee.length;if(oe!=bu(s).length&&!q)return!1;for(var Ce=oe;Ce--;){var Ge=ee[Ce];if(!(q?Ge in s:A.call(s,Ge)))return!1}var ct=j.get(i),Pt=j.get(s);if(ct&&Pt)return ct==s&&Pt==i;var tn=!0;j.set(i,s),j.set(s,i);for(var Ot=q;++Ce<oe;){var mn=i[Ge=ee[Ce]],wn=s[Ge];if(D)var Uo=q?D(wn,mn,Ge,s,i,j):D(mn,wn,Ge,i,s,j);if(!(Uo===H?mn===wn||O(mn,wn,l,D,j):Uo)){tn=!1;break}Ot||(Ot="constructor"==Ge)}if(tn&&!Ot){var to=i.constructor,jo=s.constructor;to!=jo&&"constructor"in i&&"constructor"in s&&!("function"==typeof to&&to instanceof to&&"function"==typeof jo&&jo instanceof jo)&&(tn=!1)}return j.delete(i),j.delete(s),tn}(i,s,l,D,O,j))}(i,s,l,D,vu,O))}function cl(i,s,l,D){var O=l.length,j=O,q=!D;if(null==i)return!j;for(i=xe(i);O--;){var ee=l[O];if(q&&ee[2]?ee[1]!==i[ee[0]]:!(ee[0]in i))return!1}for(;++O<j;){var oe=(ee=l[O])[0],Ee=i[oe],be=ee[1];if(q&&ee[2]){if(Ee===H&&!(oe in i))return!1}else{var Ce=new mi;if(D)var Ge=D(Ee,be,oe,i,s,Ce);if(!(Ge===H?vu(be,Ee,3,D,Ce):Ge))return!1}}return!0}function yu(i){return!(!sr(i)||function lg(i){return!!I&&I in i}(i))&&(xs(i)?Ye:Ie).test(va(i))}function wc(i){return"function"==typeof i?i:null==i?eo:"object"==typeof i?zt(i)?vf(i[0],i[1]):qs(i):Om(i)}function dl(i){if(!Au(i))return Xi(i);var s=[];for(var l in xe(i))A.call(i,l)&&"constructor"!=l&&s.push(l);return s}function Mc(i,s){return i<s}function _u(i,s){var l=-1,D=uo(i)?ge(i.length):[];return vs(i,function(O,j,q){D[++l]=s(O,j,q)}),D}function qs(i){var s=Vf(i);return 1==s.length&&s[0][2]?$f(s[0][0],s[0][1]):function(l){return l===i||cl(l,i,s)}}function vf(i,s){return Uc(i)&&jc(s)?$f(Es(i),s):function(l){var D=Xa(l,i);return D===H&&D===s?$l(l,i):vu(s,D,3)}}function Du(i,s,l,D,O){i!==s&&pf(s,function(j,q){if(O||(O=new mi),sr(j))!function yf(i,s,l,D,O,j,q){var ee=Cl(i,l),oe=Cl(s,l),Ee=q.get(oe);if(Ee)Ts(i,l,Ee);else{var be=j?j(ee,oe,l+"",i,s,q):H,Ce=be===H;if(Ce){var Ge=zt(oe),ct=!Ge&&Cs(oe),Pt=!Ge&&!ct&&Ka(oe);be=oe,Ge||ct||Pt?zt(ee)?be=ee:hr(ee)?be=Eo(ee):ct?(Ce=!1,be=bf(oe,!0)):Pt?(Ce=!1,be=rg(oe,!0)):be=[]:$u(oe)||Ca(oe)?(be=ee,Ca(ee)?be=Gu(ee):(!sr(ee)||xs(ee))&&(be=Hc(oe))):Ce=!1}Ce&&(q.set(oe,be),O(be,oe,D,j,q),q.delete(oe)),Ts(i,l,be)}}(i,s,q,l,Du,D,O);else{var ee=D?D(Cl(i,q),j,q+"",i,s,O):H;ee===H&&(ee=j),Ts(i,q,ee)}},Oi)}function ka(i,s){var l=i.length;if(l)return Ns(s+=s<0?l:0,l)?i[s]:H}function _f(i,s,l){s=s.length?Ft(s,function(j){return zt(j)?function(q){return xa(q,1===j.length?j[0]:j)}:j}):[eo];var D=-1;return s=Ft(s,ri(Rt())),function Y(ne,ve){var ge=ne.length;for(ne.sort(ve);ge--;)ne[ge]=ne[ge].value;return ne}(_u(i,function(j,q,ee){return{criteria:Ft(s,function(Ee){return Ee(j)}),index:++D,value:j}}),function(j,q){return function ig(i,s,l){for(var D=-1,O=i.criteria,j=s.criteria,q=O.length,ee=l.length;++D<q;){var oe=Oc(O[D],j[D]);if(oe)return D>=ee?oe:oe*("desc"==l[D]?-1:1)}return i.index-s.index}(j,q,l)})}function Df(i,s,l){for(var D=-1,O=s.length,j={};++D<O;){var q=s[D],ee=xa(i,q);l(ee,q)&&ca(j,fs(q,i),ee)}return j}function Eu(i,s,l,D){var O=D?sa:Zo,j=-1,q=s.length,ee=i;for(i===s&&(s=Eo(s)),l&&(ee=Ft(i,ri(l)));++j<q;)for(var oe=0,Ee=s[j],be=l?l(Ee):Ee;(oe=O(ee,be,oe,D))>-1;)ee!==i&&or.call(ee,oe,1),or.call(i,oe,1);return i}function Cf(i,s){for(var l=i?s.length:0,D=l-1;l--;){var O=s[l];if(l==D||O!==j){var j=O;Ns(O)?or.call(i,O,1):Ic(i,O)}}return i}function fl(i,s){return i+Hs(es()*(s-i+1))}function Ys(i,s){var l="";if(!i||s<1||s>Lr)return l;do{s%2&&(l+=i),(s=Hs(s/2))&&(i+=i)}while(s);return l}function Kt(i,s){return wl(El(i,s,eo),i+"")}function Va(i){return ff(eu(i))}function wf(i,s){var l=eu(i);return Ml(l,ms(s,0,l.length))}function ca(i,s,l,D){if(!sr(i))return i;for(var O=-1,j=(s=fs(s,i)).length,q=j-1,ee=i;null!=ee&&++O<j;){var oe=Es(s[O]),Ee=l;if("__proto__"===oe||"constructor"===oe||"prototype"===oe)return i;if(O!=q){var be=ee[oe];(Ee=D?D(be,oe,ee):H)===H&&(Ee=sr(be)?be:Ns(s[O+1])?[]:{})}fr(ee,oe,Ee),ee=ee[oe]}return i}var da=Aa?function(i,s){return Aa.set(i,s),i}:eo,Wv=_o?function(i,s){return _o(i,"toString",{configurable:!0,enumerable:!1,value:Od(s),writable:!0})}:eo;function Jp(i){return Ml(eu(i))}function ds(i,s,l){var D=-1,O=i.length;s<0&&(s=-s>O?0:O+s),(l=l>O?O:l)<0&&(l+=O),O=s>l?0:l-s>>>0,s>>>=0;for(var j=ge(O);++D<O;)j[D]=i[D+s];return j}function zv(i,s){var l;return vs(i,function(D,O,j){return!(l=s(D,O,j))}),!!l}function Sc(i,s,l){var D=0,O=null==i?D:i.length;if("number"==typeof s&&s==s&&O<=2147483647){for(;D<O;){var j=D+O>>>1,q=i[j];null!==q&&!Ji(q)&&(l?q<=s:q<s)?D=j+1:O=j}return O}return Mf(i,s,eo,l)}function Mf(i,s,l,D){var O=0,j=null==i?0:i.length;if(0===j)return 0;for(var q=(s=l(s))!=s,ee=null===s,oe=Ji(s),Ee=s===H;O<j;){var be=Hs((O+j)/2),Ce=l(i[be]),Ge=Ce!==H,ct=null===Ce,Pt=Ce==Ce,tn=Ji(Ce);if(q)var Ot=D||Pt;else Ot=Ee?Pt&&(D||Ge):ee?Pt&&Ge&&(D||!ct):oe?Pt&&Ge&&!ct&&(D||!tn):!ct&&!tn&&(D?Ce<=s:Ce<s);Ot?O=be+1:j=be}return Vi(j,4294967294)}function eg(i,s){for(var l=-1,D=i.length,O=0,j=[];++l<D;){var q=i[l],ee=s?s(q):q;if(!l||!Mo(ee,oe)){var oe=ee;j[O++]=0===q?0:q}}return j}function tg(i){return"number"==typeof i?i:Ji(i)?NaN:+i}function Ti(i){if("string"==typeof i)return i;if(zt(i))return Ft(i,Ti)+"";if(Ji(i))return el?el.call(i):"";var s=i+"";return"0"==s&&1/i==-vn?"-0":s}function Ks(i,s,l){var D=-1,O=Ur,j=i.length,q=!0,ee=[],oe=ee;if(l)q=!1,O=bi;else if(j>=200){var Ee=s?null:sg(i);if(Ee)return Gt(Ee);q=!1,O=Ss,oe=new Do}else oe=s?[]:ee;e:for(;++D<j;){var be=i[D],Ce=s?s(be):be;if(be=l||0!==be?be:0,q&&Ce==Ce){for(var Ge=oe.length;Ge--;)if(oe[Ge]===Ce)continue e;s&&oe.push(Ce),ee.push(be)}else O(oe,Ce,l)||(oe!==ee&&oe.push(Ce),ee.push(be))}return ee}function Ic(i,s){return null==(i=ji(i,s=fs(s,i)))||delete i[Es(wo(s))]}function ci(i,s,l,D){return ca(i,s,l(xa(i,s)),D)}function hl(i,s,l,D){for(var O=i.length,j=D?O:-1;(D?j--:++j<O)&&s(i[j],j,i););return l?ds(i,D?0:j,D?j+1:O):ds(i,D?j+1:0,D?O:j)}function Ba(i,s){var l=i;return l instanceof on&&(l=l.value()),Qn(s,function(D,O){return O.func.apply(O.thisArg,Fo([D],O.args))},l)}function Tc(i,s,l){var D=i.length;if(D<2)return D?Ks(i[0]):[];for(var O=-1,j=ge(D);++O<D;)for(var q=i[O],ee=-1;++ee<D;)ee!=O&&(j[O]=zs(j[O]||q,i[ee],s,l));return Ks(Bi(j,1),s,l)}function Bo(i,s,l){for(var D=-1,O=i.length,j=s.length,q={};++D<O;)l(q,i[D],D<j?s[D]:H);return q}function Zs(i){return hr(i)?i:[]}function pl(i){return"function"==typeof i?i:eo}function fs(i,s){return zt(i)?i:Uc(i,s)?[i]:zc(kn(i))}var Cu=Kt;function Qs(i,s,l){var D=i.length;return l=l===H?D:l,!s&&l>=D?i:ds(i,s,l)}var ng=li||function(i){return mr.clearTimeout(i)};function bf(i,s){if(s)return i.slice();var l=i.length,D=Wt?Wt(l):new i.constructor(l);return i.copy(D),D}function Sf(i){var s=new i.constructor(i.byteLength);return new dn(s).set(new dn(i)),s}function rg(i,s){var l=s?Sf(i.buffer):i.buffer;return new i.constructor(l,i.byteOffset,i.length)}function Oc(i,s){if(i!==s){var l=i!==H,D=null===i,O=i==i,j=Ji(i),q=s!==H,ee=null===s,oe=s==s,Ee=Ji(s);if(!ee&&!Ee&&!j&&i>s||j&&q&&oe&&!ee&&!Ee||D&&q&&oe||!l&&oe||!O)return 1;if(!D&&!j&&!Ee&&i<s||Ee&&l&&O&&!D&&!j||ee&&l&&O||!q&&O||!oe)return-1}return 0}function If(i,s,l,D){for(var O=-1,j=i.length,q=l.length,ee=-1,oe=s.length,Ee=On(j-q,0),be=ge(oe+Ee),Ce=!D;++ee<oe;)be[ee]=s[ee];for(;++O<q;)(Ce||O<j)&&(be[l[O]]=i[O]);for(;Ee--;)be[ee++]=i[O++];return be}function Tf(i,s,l,D){for(var O=-1,j=i.length,q=-1,ee=l.length,oe=-1,Ee=s.length,be=On(j-ee,0),Ce=ge(be+Ee),Ge=!D;++O<be;)Ce[O]=i[O];for(var ct=O;++oe<Ee;)Ce[ct+oe]=s[oe];for(;++q<ee;)(Ge||O<j)&&(Ce[ct+l[q]]=i[O++]);return Ce}function Eo(i,s){var l=-1,D=i.length;for(s||(s=ge(D));++l<D;)s[l]=i[l];return s}function _s(i,s,l,D){var O=!l;l||(l={});for(var j=-1,q=s.length;++j<q;){var ee=s[j],oe=D?D(l[ee],i[ee],ee,l,i):H;oe===H&&(oe=i[ee]),O?gs(l,ee,oe):fr(l,ee,oe)}return l}function fa(i,s){return function(l,D){var O=zt(l)?Bs:zp,j=s?s():{};return O(l,i,Rt(D,2),j)}}function Ua(i){return Kt(function(s,l){var D=-1,O=l.length,j=O>1?l[O-1]:H,q=O>2?l[2]:H;for(j=i.length>3&&"function"==typeof j?(O--,j):H,q&&ao(l[0],l[1],q)&&(j=O<3?H:j,O=1),s=xe(s);++D<O;){var ee=l[D];ee&&i(s,ee,D,j)}return s})}function wu(i,s){return function(l,D){if(null==l)return l;if(!uo(l))return i(l,D);for(var O=l.length,j=s?O:-1,q=xe(l);(s?j--:++j<O)&&!1!==D(q[j],j,q););return l}}function Af(i){return function(s,l,D){for(var O=-1,j=xe(s),q=D(s),ee=q.length;ee--;){var oe=q[i?ee:++O];if(!1===l(j[oe],oe,j))break}return s}}function Of(i){return function(s){var l=K(s=kn(s))?Cn(s):H,D=l?l[0]:s.charAt(0),O=l?Qs(l,1).join(""):s.slice(1);return D[i]()+O}}function ha(i){return function(s){return Qn(Xh(rs(s).replace(Yo,"")),i,"")}}function pa(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var l=Ws(i.prototype),D=i.apply(l,s);return sr(D)?D:l}}function Rc(i){return function(s,l,D){var O=xe(s);if(!uo(s)){var j=Rt(l,3);s=Ai(s),l=function(ee){return j(O[ee],ee,O)}}var q=i(s,l,D);return q>-1?O[j?s[q]:q]:H}}function Nf(i){return Os(function(s){var l=s.length,D=l,O=Ut.prototype.thru;for(i&&s.reverse();D--;){var j=s[D];if("function"!=typeof j)throw new At(Qe);if(O&&!q&&"wrapper"==ja(j))var q=new Ut([],!0)}for(D=q?D:l;++D<l;){var ee=ja(j=s[D]),oe="wrapper"==ee?kf(j):H;q=oe&&Tu(oe[0])&&424==oe[1]&&!oe[4].length&&1==oe[9]?q[ja(oe[0])].apply(q,oe[3]):1==j.length&&Tu(j)?q[ee]():q.thru(j)}return function(){var Ee=arguments,be=Ee[0];if(q&&1==Ee.length&&zt(be))return q.plant(be).value();for(var Ce=0,Ge=l?s[Ce].apply(this,Ee):be;++Ce<l;)Ge=s[Ce].call(this,Ge);return Ge}})}function vl(i,s,l,D,O,j,q,ee,oe,Ee){var be=128&s,Ce=1&s,Ge=2&s,ct=24&s,Pt=512&s,tn=Ge?H:pa(i);return function Ot(){for(var mn=arguments.length,wn=ge(mn),Uo=mn;Uo--;)wn[Uo]=arguments[Uo];if(ct)var to=Su(Ot),jo=function c(ne,ve){for(var ge=ne.length,$e=0;ge--;)ne[ge]===ve&&++$e;return $e}(wn,to);if(D&&(wn=If(wn,D,O,ct)),j&&(wn=Tf(wn,j,q,ct)),mn-=jo,ct&&mn<Ee){var ii=Pe(wn,to);return xf(i,s,vl,Ot.placeholder,l,wn,ii,ee,oe,Ee-mn)}var $o=Ce?l:this,Ls=Ge?$o[i]:i;return mn=wn.length,ee?wn=function Ou(i,s){for(var l=i.length,D=Vi(s.length,l),O=Eo(i);D--;){var j=s[D];i[D]=Ns(j,l)?O[j]:H}return i}(wn,ee):Pt&&mn>1&&wn.reverse(),be&&oe<mn&&(wn.length=oe),this&&this!==mr&&this instanceof Ot&&(Ls=tn||pa(Ls)),Ls.apply($o,wn)}}function ga(i,s){return function(l,D){return function Gv(i,s,l,D){return As(i,function(O,j,q){s(D,l(O),j,q)}),D}(l,i,s(D),{})}}function Xs(i,s){return function(l,D){var O;if(l===H&&D===H)return s;if(l!==H&&(O=l),D!==H){if(O===H)return D;"string"==typeof l||"string"==typeof D?(l=Ti(l),D=Ti(D)):(l=tg(l),D=tg(D)),O=i(l,D)}return O}}function Pc(i){return Os(function(s){return s=Ft(s,ri(Rt())),Kt(function(l){var D=this;return i(s,function(O){return gt(O,D,l)})})})}function xc(i,s){var l=(s=s===H?" ":Ti(s)).length;if(l<2)return l?Ys(s,i):s;var D=Ys(s,Yn(i/_n(s)));return K(s)?Qs(Cn(D),0,i).join(""):D.slice(0,i)}function Pf(i){return function(s,l,D){return D&&"number"!=typeof D&&ao(s,l,D)&&(l=D=H),s=ns(s),l===H?(l=s,s=0):l=ns(l),function bc(i,s,l,D){for(var O=-1,j=On(Yn((s-i)/(l||1)),0),q=ge(j);j--;)q[D?j:++O]=i,i+=l;return q}(s,l,D=D===H?s<l?1:-1:ns(D),i)}}function Fc(i){return function(s,l){return"string"==typeof s&&"string"==typeof l||(s=bo(s),l=bo(l)),i(s,l)}}function xf(i,s,l,D,O,j,q,ee,oe,Ee){var be=8&s;s|=be?32:64,4&(s&=~(be?64:32))||(s&=-4);var tn=[i,s,O,be?j:H,be?q:H,be?H:j,be?H:q,ee,oe,Ee],Ot=l.apply(H,tn);return Tu(i)&&Gc(Ot,tn),Ot.placeholder=D,Wf(Ot,i,s)}function Lc(i){var s=Ir[i];return function(l,D){if(l=bo(l),(D=null==D?0:Vi($t(D),292))&&hc(l)){var O=(kn(l)+"e").split("e");return+((O=(kn(s(O[0]+"e"+(+O[1]+D)))+"e").split("e"))[0]+"e"+(+O[1]-D))}return s(l)}}var sg=js&&1/Gt(new js([,-0]))[1]==vn?function(i){return new js(i)}:Rd;function Mu(i){return function(s){var l=Ui(s);return l==Bn?pe(s):l==dt?function Lt(ne){var ve=-1,ge=Array(ne.size);return ne.forEach(function($e){ge[++ve]=[$e,$e]}),ge}(s):function Fi(ne,ve){return Ft(ve,function(ge){return[ge,ne[ge]]})}(s,i(s))}}function Ds(i,s,l,D,O,j,q,ee){var oe=2&s;if(!oe&&"function"!=typeof i)throw new At(Qe);var Ee=D?D.length:0;if(Ee||(s&=-97,D=O=H),q=q===H?q:On($t(q),0),ee=ee===H?ee:$t(ee),Ee-=O?O.length:0,64&s){var be=D,Ce=O;D=O=H}var Ge=oe?H:kf(i),ct=[i,s,l,D,O,be,Ce,j,q,ee];if(Ge&&function Co(i,s){var l=i[1],D=s[1],O=l|D;if(!(O<131)&&!(128==D&&8==l||128==D&&256==l&&i[7].length<=s[8]||384==D&&s[7].length<=s[8]&&8==l))return i;1&D&&(i[2]=s[2],O|=1&l?0:4);var ee=s[3];if(ee){var oe=i[3];i[3]=oe?If(oe,ee,s[4]):ee,i[4]=oe?Pe(i[3],Xe):s[4]}(ee=s[5])&&(i[5]=(oe=i[5])?Tf(oe,ee,s[6]):ee,i[6]=oe?Pe(i[5],Xe):s[6]),(ee=s[7])&&(i[7]=ee),128&D&&(i[8]=null==i[8]?s[8]:Vi(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=O}(ct,Ge),i=ct[0],s=ct[1],l=ct[2],D=ct[3],O=ct[4],!(ee=ct[9]=ct[9]===H?oe?0:i.length:On(ct[9]-Ee,0))&&24&s&&(s&=-25),s&&1!=s)Pt=8==s||16==s?function ml(i,s,l){var D=pa(i);return function O(){for(var j=arguments.length,q=ge(j),ee=j,oe=Su(O);ee--;)q[ee]=arguments[ee];var Ee=j<3&&q[0]!==oe&&q[j-1]!==oe?[]:Pe(q,oe);return(j-=Ee.length)<l?xf(i,s,vl,O.placeholder,H,q,Ee,H,H,l-j):gt(this&&this!==mr&&this instanceof O?D:i,this,q)}}(i,s,ee):32!=s&&33!=s||O.length?vl.apply(H,ct):function Rf(i,s,l,D){var O=1&s,j=pa(i);return function q(){for(var ee=-1,oe=arguments.length,Ee=-1,be=D.length,Ce=ge(be+oe),Ge=this&&this!==mr&&this instanceof q?j:i;++Ee<be;)Ce[Ee]=D[Ee];for(;oe--;)Ce[Ee++]=arguments[++ee];return gt(Ge,O?l:this,Ce)}}(i,s,l,D);else var Pt=function gl(i,s,l){var D=1&s,O=pa(i);return function j(){return(this&&this!==mr&&this instanceof j?O:i).apply(D?l:this,arguments)}}(i,s,l);return Wf((Ge?da:Gc)(Pt,ct),i,s)}function Ff(i,s,l,D){return i===H||Mo(i,dr[l])&&!A.call(D,l)?s:i}function kc(i,s,l,D,O,j){return sr(i)&&sr(s)&&(j.set(s,i),Du(i,s,H,kc,j),j.delete(s)),i}function qv(i){return $u(i)?H:i}function Vc(i,s,l,D,O,j){var q=1&l,ee=i.length,oe=s.length;if(ee!=oe&&!(q&&oe>ee))return!1;var Ee=j.get(i),be=j.get(s);if(Ee&&be)return Ee==s&&be==i;var Ce=-1,Ge=!0,ct=2&l?new Do:H;for(j.set(i,s),j.set(s,i);++Ce<ee;){var Pt=i[Ce],tn=s[Ce];if(D)var Ot=q?D(tn,Pt,Ce,s,i,j):D(Pt,tn,Ce,i,s,j);if(Ot!==H){if(Ot)continue;Ge=!1;break}if(ct){if(!Lo(s,function(mn,wn){if(!Ss(ct,wn)&&(Pt===mn||O(Pt,mn,l,D,j)))return ct.push(wn)})){Ge=!1;break}}else if(Pt!==tn&&!O(Pt,tn,l,D,j)){Ge=!1;break}}return j.delete(i),j.delete(s),Ge}function Os(i){return wl(El(i,H,Qf),i+"")}function bu(i){return Kp(i,Ai,Ga)}function Lf(i){return Kp(i,Oi,Iu)}var kf=Aa?function(i){return Aa.get(i)}:Rd;function ja(i){for(var s=i.name+"",l=Oa[s],D=A.call(Oa,s)?l.length:0;D--;){var O=l[D],j=O.func;if(null==j||j==i)return O.name}return s}function Su(i){return(A.call(B,"placeholder")?B:i).placeholder}function Rt(){var i=B.iteratee||wa;return i=i===wa?wc:i,arguments.length?i(arguments[0],arguments[1]):i}function Bc(i,s){var l=i.__data__;return function jf(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}(s)?l["string"==typeof s?"string":"hash"]:l.map}function Vf(i){for(var s=Ai(i),l=s.length;l--;){var D=s[l],O=i[D];s[l]=[D,O,jc(O)]}return s}function $a(i,s){var l=function U(ne,ve){return null==ne?H:ne[ve]}(i,s);return yu(l)?l:H}var Ga=ps?function(i){return null==i?[]:(i=xe(i),ni(ps(i),function(s){return Gr.call(i,s)}))}:ru,Iu=ps?function(i){for(var s=[];i;)Fo(s,Ga(i)),i=Xn(i);return s}:ru,Ui=Hi;function ma(i,s,l){for(var D=-1,O=(s=fs(s,i)).length,j=!1;++D<O;){var q=Es(s[D]);if(!(j=null!=i&&l(i,q)))break;i=i[q]}return j||++D!=O?j:!!(O=null==i?0:i.length)&&ju(O)&&Ns(q,O)&&(zt(i)||Ca(i))}function Hc(i){return"function"!=typeof i.constructor||Au(i)?{}:Ws(Xn(i))}function Dl(i){return zt(i)||Ca(i)||!!(ro&&i&&i[ro])}function Ns(i,s){var l=typeof i;return!!(s=s??Lr)&&("number"==l||"symbol"!=l&&Ze.test(i))&&i>-1&&i%1==0&&i<s}function ao(i,s,l){if(!sr(l))return!1;var D=typeof s;return!!("number"==D?uo(l)&&Ns(s,l.length):"string"==D&&s in l)&&Mo(l[s],i)}function Uc(i,s){if(zt(i))return!1;var l=typeof i;return!("number"!=l&&"symbol"!=l&&"boolean"!=l&&null!=i&&!Ji(i))||ue.test(i)||!me.test(i)||null!=s&&i in xe(s)}function Tu(i){var s=ja(i),l=B[s];if("function"!=typeof l||!(s in on.prototype))return!1;if(i===l)return!0;var D=kf(l);return!!D&&i===D[0]}(aa&&Ui(new aa(new ArrayBuffer(1)))!=Er||Us&&Ui(new Us)!=Bn||Ta&&Ui(Ta.resolve())!=_i||js&&Ui(new js)!=dt||$s&&Ui(new $s)!=It)&&(Ui=function(i){var s=Hi(i),l=s==Dr?i.constructor:H,D=l?va(l):"";if(D)switch(D){case sf:return Er;case pc:return Bn;case af:return _i;case cu:return dt;case Gs:return It}return s});var cg=gi?xs:ql;function Au(i){var s=i&&i.constructor;return i===("function"==typeof s&&s.prototype||dr)}function jc(i){return i==i&&!sr(i)}function $f(i,s){return function(l){return null!=l&&l[i]===s&&(s!==H||i in xe(l))}}function El(i,s,l){return s=On(s===H?i.length-1:s,0),function(){for(var D=arguments,O=-1,j=On(D.length-s,0),q=ge(j);++O<j;)q[O]=D[s+O];O=-1;for(var ee=ge(s+1);++O<s;)ee[O]=D[O];return ee[s]=l(q),gt(i,this,ee)}}function ji(i,s){return s.length<2?i:xa(i,ds(s,0,-1))}function Cl(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}var Gc=Wc(da),Nu=fc||function(i,s){return mr.setTimeout(i,s)},wl=Wc(Wv);function Wf(i,s,l){var D=s+"";return wl(i,function _l(i,s){var l=s.length;if(!l)return i;var D=l-1;return s[D]=(l>1?"& ":"")+s[D],s=s.join(l>2?", ":" "),i.replace(pt,"{\n/* [wrapped with "+s+"] */\n")}(D,function qc(i,s){return Sr(Pn,function(l){var D="_."+l[0];s&l[1]&&!Ur(i,D)&&i.push(D)}),i.sort()}(function Hf(i){var s=i.match(xt);return s?s[1].split(je):[]}(D),l)))}function Wc(i){var s=0,l=0;return function(){var D=nf(),O=16-(D-l);if(l=D,O>0){if(++s>=800)return arguments[0]}else s=0;return i.apply(H,arguments)}}function Ml(i,s){var l=-1,D=i.length,O=D-1;for(s=s===H?D:s;++l<s;){var j=fl(l,O),q=i[j];i[j]=i[l],i[l]=q}return i.length=s,i}var zc=function dg(i){var s=Ya(i,function(D){return 500===l.size&&l.clear(),D}),l=s.cache;return s}(function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(z,function(l,D,O,j){s.push(O?j.replace(N,"$1"):D||l)}),s});function Es(i){if("string"==typeof i||Ji(i))return i;var s=i+"";return"0"==s&&1/i==-vn?"-0":s}function va(i){if(null!=i){try{return p.call(i)}catch{}try{return i+""}catch{}}return""}function bl(i){if(i instanceof on)return i.clone();var s=new Ut(i.__wrapped__,i.__chain__);return s.__actions__=Eo(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}var pg=Kt(function(i,s){return hr(i)?zs(i,Bi(s,1,hr,!0)):[]}),zf=Kt(function(i,s){var l=wo(s);return hr(l)&&(l=H),hr(i)?zs(i,Bi(s,1,hr,!0),Rt(l,2)):[]}),qf=Kt(function(i,s){var l=wo(s);return hr(l)&&(l=H),hr(i)?zs(i,Bi(s,1,hr,!0),H,l):[]});function Pu(i,s,l){var D=null==i?0:i.length;if(!D)return-1;var O=null==l?0:$t(l);return O<0&&(O=On(D+O,0)),vo(i,Rt(s,3),O)}function Zf(i,s,l){var D=null==i?0:i.length;if(!D)return-1;var O=D-1;return l!==H&&(O=$t(l),O=l<0?On(D+O,0):Vi(O,D-1)),vo(i,Rt(s,3),O,!0)}function Qf(i){return null!=i&&i.length?Bi(i,1):[]}function Xf(i){return i&&i.length?i[0]:H}var Kc=Kt(function(i){var s=Ft(i,Zs);return s.length&&s[0]===i[0]?Fa(s):[]}),Zc=Kt(function(i){var s=wo(i),l=Ft(i,Zs);return s===wo(l)?s=H:l.pop(),l.length&&l[0]===i[0]?Fa(l,Rt(s,2)):[]}),yg=Kt(function(i){var s=wo(i),l=Ft(i,Zs);return(s="function"==typeof s?s:H)&&l.pop(),l.length&&l[0]===i[0]?Fa(l,H,s):[]});function wo(i){var s=null==i?0:i.length;return s?i[s-1]:H}var th=Kt(Qc);function Qc(i,s){return i&&i.length&&s&&s.length?Eu(i,s):i}var Tl=Os(function(i,s){var l=null==i?0:i.length,D=ol(i,s);return Cf(i,Ft(s,function(O){return Ns(O,l)?+O:O}).sort(Oc)),D});function Al(i){return null==i?i:lu.call(i)}var wg=Kt(function(i){return Ks(Bi(i,1,hr,!0))}),Mg=Kt(function(i){var s=wo(i);return hr(s)&&(s=H),Ks(Bi(i,1,hr,!0),Rt(s,2))}),bg=Kt(function(i){var s=wo(i);return s="function"==typeof s?s:H,Ks(Bi(i,1,hr,!0),H,s)});function Lu(i){if(!i||!i.length)return[];var s=0;return i=ni(i,function(l){if(hr(l))return s=On(l.length,s),!0}),Ht(s,function(l){return Ft(i,T(l))})}function _a(i,s){if(!i||!i.length)return[];var l=Lu(i);return null==s?l:Ft(l,function(D){return gt(s,H,D)})}var Sg=Kt(function(i,s){return hr(i)?zs(i,s):[]}),Ig=Kt(function(i){return Tc(ni(i,hr))}),Zv=Kt(function(i){var s=wo(i);return hr(s)&&(s=H),Tc(ni(i,hr),Rt(s,2))}),Tg=Kt(function(i){var s=wo(i);return s="function"==typeof s?s:H,Tc(ni(i,hr),H,s)}),td=Kt(Lu),Pl=Kt(function(i){var s=i.length,l=s>1?i[s-1]:H;return l="function"==typeof l?(i.pop(),l):H,_a(i,l)});function xl(i){var s=B(i);return s.__chain__=!0,s}function ku(i,s){return s(i)}var dh=Os(function(i){var s=i.length,l=s?i[0]:0,D=this.__wrapped__,O=function(j){return ol(j,i)};return!(s>1||this.__actions__.length)&&D instanceof on&&Ns(l)?((D=D.slice(l,+l+(s?1:0))).__actions__.push({func:ku,args:[O],thisArg:H}),new Ut(D,this.__chain__).thru(function(j){return s&&!j.length&&j.push(H),j})):this.thru(O)}),qa=fa(function(i,s,l){A.call(i,l)?++i[l]:gs(i,l,1)}),kg=Rc(Pu),Vg=Rc(Zf);function hh(i,s){return(zt(i)?Sr:vs)(i,Rt(s,3))}function ph(i,s){return(zt(i)?Qi:vc)(i,Rt(s,3))}var Ug=fa(function(i,s,l){A.call(i,l)?i[l].push(s):gs(i,l,[s])}),Fl=Kt(function(i,s,l){var D=-1,O="function"==typeof s,j=uo(i)?ge(i.length):[];return vs(i,function(q){j[++D]=O?gt(s,q,l):La(q,s,l)}),j}),Ps=fa(function(i,s,l){gs(i,l,s)});function Js(i,s){return(zt(i)?Ft:_u)(i,Rt(s,3))}var mh=fa(function(i,s,l){i[l?0:1].push(s)},function(){return[[],[]]}),yh=Kt(function(i,s){if(null==i)return[];var l=s.length;return l>1&&ao(i,s[0],s[1])?s=[]:l>2&&ao(s[0],s[1],s[2])&&(s=[s[0]]),_f(i,Bi(s,1),[])}),Ll=Jo||function(){return mr.Date.now()};function _h(i,s,l){return s=l?H:s,Ds(i,128,H,H,H,H,s=i&&null==s?i.length:s)}function Dh(i,s){var l;if("function"!=typeof s)throw new At(Qe);return i=$t(i),function(){return--i>0&&(l=s.apply(this,arguments)),i<=1&&(s=H),l}}var kl=Kt(function(i,s,l){var D=1;if(l.length){var O=Pe(l,Su(kl));D|=32}return Ds(i,D,s,l,O)}),Vu=Kt(function(i,s,l){var D=3;if(l.length){var O=Pe(l,Su(Vu));D|=32}return Ds(s,D,i,l,O)});function Eh(i,s,l){var D,O,j,q,ee,oe,Ee=0,be=!1,Ce=!1,Ge=!0;if("function"!=typeof i)throw new At(Qe);function ct(ii){var $o=D,Ls=O;return D=O=H,Ee=ii,q=i.apply(Ls,$o)}function Ot(ii){var $o=ii-oe;return oe===H||$o>=s||$o<0||Ce&&ii-Ee>=j}function mn(){var ii=Ll();if(Ot(ii))return wn(ii);ee=Nu(mn,function tn(ii){var pp=s-(ii-oe);return Ce?Vi(pp,j-(ii-Ee)):pp}(ii))}function wn(ii){return ee=H,Ge&&D?ct(ii):(D=O=H,q)}function jo(){var ii=Ll(),$o=Ot(ii);if(D=arguments,O=this,oe=ii,$o){if(ee===H)return function Pt(ii){return Ee=ii,ee=Nu(mn,s),be?ct(ii):q}(oe);if(Ce)return ng(ee),ee=Nu(mn,s),ct(oe)}return ee===H&&(ee=Nu(mn,s)),q}return s=bo(s)||0,sr(l)&&(be=!!l.leading,j=(Ce="maxWait"in l)?On(bo(l.maxWait)||0,s):j,Ge="trailing"in l?!!l.trailing:Ge),jo.cancel=function Uo(){ee!==H&&ng(ee),Ee=0,D=oe=O=ee=H},jo.flush=function to(){return ee===H?q:wn(Ll())},jo}var Ea=Kt(function(i,s){return gu(i,1,s)}),Ch=Kt(function(i,s,l){return gu(i,bo(s)||0,l)});function Ya(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new At(Qe);var l=function(){var D=arguments,O=s?s.apply(this,D):D[0],j=l.cache;if(j.has(O))return j.get(O);var q=i.apply(this,D);return l.cache=j.set(O,q)||j,q};return l.cache=new(Ya.Cache||ce),l}function Bu(i){if("function"!=typeof i)throw new At(Qe);return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}Ya.Cache=ce;var zg=Cu(function(i,s){var l=(s=1==s.length&&zt(s[0])?Ft(s[0],ri(Rt())):Ft(Bi(s,1),ri(Rt()))).length;return Kt(function(D){for(var O=-1,j=Vi(D.length,l);++O<j;)D[O]=s[O].call(this,D[O]);return gt(i,this,D)})}),od=Kt(function(i,s){var l=Pe(s,Su(od));return Ds(i,32,H,s,l)}),wh=Kt(function(i,s){var l=Pe(s,Su(wh));return Ds(i,64,H,s,l)}),Mh=Os(function(i,s){return Ds(i,256,H,H,H,s)});function Mo(i,s){return i===s||i!=i&&s!=s}var iy=Fc(la),ud=Fc(function(i,s){return i>=s}),Ca=Dc(function(){return arguments}())?Dc:function(i){return Qr(i)&&A.call(i,"callee")&&!Gr.call(i,"callee")},zt=ge.isArray,Ah=no?ri(no):function Qp(i){return Qr(i)&&Hi(i)==Rr};function uo(i){return null!=i&&ju(i.length)&&!xs(i)}function hr(i){return Qr(i)&&uo(i)}var Cs=ki||ql,Bl=xo?ri(xo):function ys(i){return Qr(i)&&Hi(i)==zr};function ea(i){if(!Qr(i))return!1;var s=Hi(i);return s==wt||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!$u(i)}function xs(i){if(!sr(i))return!1;var s=Hi(i);return s==hn||s==Zn||"[object AsyncFunction]"==s||"[object Proxy]"==s}function Oh(i){return"number"==typeof i&&i==$t(i)}function ju(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=Lr}function sr(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}function Qr(i){return null!=i&&"object"==typeof i}var Nh=rr?ri(rr):function Ec(i){return Qr(i)&&Ui(i)==Bn};function Xg(i){return"number"==typeof i||Qr(i)&&Hi(i)==Hn}function $u(i){if(!Qr(i)||Hi(i)!=Dr)return!1;var s=Xn(i);if(null===s)return!0;var l=A.call(s,"constructor")&&s.constructor;return"function"==typeof l&&l instanceof l&&p.call(l)==le}var hd=ui?ri(ui):function Cc(i){return Qr(i)&&Hi(i)==In},em=Ln?ri(Ln):function Xp(i){return Qr(i)&&Ui(i)==dt};function pd(i){return"string"==typeof i||!zt(i)&&Qr(i)&&Hi(i)==Tn}function Ji(i){return"symbol"==typeof i||Qr(i)&&Hi(i)==at}var Ka=xi?ri(xi):function gf(i){return Qr(i)&&ju(i.length)&&!!ft[Hi(i)]},vd=Fc(Mc),yd=Fc(function(i,s){return i<=s});function Qa(i){if(!i)return[];if(uo(i))return pd(i)?Cn(i):Eo(i);if(io&&i[io])return function de(ne){for(var ve,ge=[];!(ve=ne.next()).done;)ge.push(ve.value);return ge}(i[io]());var s=Ui(i);return(s==Bn?pe:s==dt?Gt:eu)(i)}function ns(i){return i?(i=bo(i))===vn||i===-vn?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}function $t(i){var s=ns(i),l=s%1;return s==s?l?s-l:s:0}function Ul(i){return i?ms($t(i),0,Je):0}function bo(i){if("number"==typeof i)return i;if(Ji(i))return NaN;if(sr(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=sr(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=Qo(i);var l=ae.test(i);return l||we.test(i)?Ki(i.slice(2),l?2:8):Q.test(i)?NaN:+i}function Gu(i){return _s(i,Oi(i))}function kn(i){return null==i?"":Ti(i)}var Wu=Ua(function(i,s){if(Au(s)||uo(s))_s(s,Ai(s),i);else for(var l in s)A.call(s,l)&&fr(i,l,s[l])}),xh=Ua(function(i,s){_s(s,Oi(s),i)}),zu=Ua(function(i,s,l,D){_s(s,Oi(s),i,D)}),tm=Ua(function(i,s,l,D){_s(s,Ai(s),i,D)}),nm=Os(ol),Fh=Kt(function(i,s){i=xe(i);var l=-1,D=s.length,O=D>2?s[2]:H;for(O&&ao(s[0],s[1],O)&&(D=1);++l<D;)for(var j=s[l],q=Oi(j),ee=-1,oe=q.length;++ee<oe;){var Ee=q[ee],be=i[Ee];(be===H||Mo(be,dr[Ee])&&!A.call(i,Ee))&&(i[Ee]=j[Ee])}return i}),rm=Kt(function(i){return i.push(H,kc),gt(Vh,H,i)});function Xa(i,s,l){var D=null==i?H:xa(i,s);return D===H?l:D}function $l(i,s){return null!=i&&ma(i,s,mu)}var um=ga(function(i,s,l){null!=s&&"function"!=typeof s.toString&&(s=G.call(s)),i[s]=l},Od(eo)),kh=ga(function(i,s,l){null!=s&&"function"!=typeof s.toString&&(s=G.call(s)),A.call(i,s)?i[s].push(l):i[s]=[l]},Rt),ay=Kt(La);function Ai(i){return uo(i)?il(i):dl(i)}function Oi(i){return uo(i)?il(i,!0):function mf(i){if(!sr(i))return function $c(i){var s=[];if(null!=i)for(var l in xe(i))s.push(l);return s}(i);var s=Au(i),l=[];for(var D in i)"constructor"==D&&(s||!A.call(i,D))||l.push(D);return l}(i)}var qu=Ua(function(i,s,l){Du(i,s,l)}),Vh=Ua(function(i,s,l,D){Du(i,s,l,D)}),Bh=Os(function(i,s){var l={};if(null==i)return l;var D=!1;s=Ft(s,function(j){return j=fs(j,i),D||(D=j.length>1),j}),_s(i,Lf(i),l),D&&(l=vi(l,7,qv));for(var O=s.length;O--;)Ic(l,s[O]);return l}),dm=Os(function(i,s){return null==i?{}:function so(i,s){return Df(i,s,function(l,D){return $l(i,D)})}(i,s)});function Hh(i,s){if(null==i)return{};var l=Ft(Lf(i),function(D){return[D]});return s=Rt(s),Df(i,l,function(D,O){return s(D,O[0])})}var hm=Mu(Ai),Gl=Mu(Oi);function eu(i){return null==i?[]:Sa(i,Ai(i))}var Wh=ha(function(i,s,l){return s=s.toLowerCase(),i+(l?wd(s):s)});function wd(i){return Wl(kn(i).toLowerCase())}function rs(i){return(i=kn(i))&&i.replace(Oe,g).replace(ho,"")}var ta=ha(function(i,s,l){return i+(l?"-":"")+s.toLowerCase()}),bd=ha(function(i,s,l){return i+(l?" ":"")+s.toLowerCase()}),ym=Of("toLowerCase"),dy=ha(function(i,s,l){return i+(l?"_":"")+s.toLowerCase()}),Em=ha(function(i,s,l){return i+(l?" ":"")+Wl(s)}),bm=ha(function(i,s,l){return i+(l?" ":"")+s.toUpperCase()}),Wl=Of("toUpperCase");function Xh(i,s,l){return i=kn(i),(s=l?H:s)===H?function Z(ne){return xn.test(ne)}(i)?function Li(ne){return ne.match(us)||[]}(i):function Si(ne){return ne.match(re)||[]}(i):i.match(s)||[]}var Ad=Kt(function(i,s){try{return gt(i,H,s)}catch(l){return ea(l)?l:new bt(l)}}),tu=Os(function(i,s){return Sr(s,function(l){l=Es(l),gs(i,l,kl(i[l],i))}),i});function Od(i){return function(){return i}}var Jh=Nf(),ep=Nf(!0);function eo(i){return i}function wa(i){return wc("function"==typeof i?i:vi(i,1))}var np=Kt(function(i,s){return function(l){return La(l,i,s)}}),Im=Kt(function(i,s){return function(l){return La(i,l,s)}});function Nd(i,s,l){var D=Ai(s),O=ul(s,D);null==l&&(!sr(s)||!O.length&&D.length)&&(l=s,s=i,i=this,O=ul(s,Ai(s)));var j=!(sr(l)&&"chain"in l&&!l.chain),q=xs(i);return Sr(O,function(ee){var oe=s[ee];i[ee]=oe,q&&(i.prototype[ee]=function(){var Ee=this.__chain__;if(j||Ee){var be=i(this.__wrapped__);return(be.__actions__=Eo(this.__actions__)).push({func:oe,args:arguments,thisArg:i}),be.__chain__=Ee,be}return oe.apply(i,Fo([this.value()],arguments))})}),i}function Rd(){}var fy=Pc(Ft),Am=Pc(Yr),hy=Pc(Lo);function Om(i){return Uc(i)?T(Es(i)):function Ef(i){return function(s){return xa(s,i)}}(i)}var op=Pf(),py=Pf(!0);function ru(){return[]}function ql(){return!1}var cp=Xs(function(i,s){return i+s},0),iu=Lc("ceil"),dp=Xs(function(i,s){return i/s},1),Rm=Lc("floor"),Fd=Xs(function(i,s){return i*s},1),Ld=Lc("round"),hp=Xs(function(i,s){return i-s},0);return B.after=function $g(i,s){if("function"!=typeof s)throw new At(Qe);return i=$t(i),function(){if(--i<1)return s.apply(this,arguments)}},B.ary=_h,B.assign=Wu,B.assignIn=xh,B.assignInWith=zu,B.assignWith=tm,B.at=nm,B.before=Dh,B.bind=kl,B.bindAll=tu,B.bindKey=Vu,B.castArray=function Sh(){if(!arguments.length)return[];var i=arguments[0];return zt(i)?i:[i]},B.chain=xl,B.chunk=function fg(i,s,l){s=(l?ao(i,s,l):s===H)?1:On($t(s),0);var D=null==i?0:i.length;if(!D||s<1)return[];for(var O=0,j=0,q=ge(Yn(D/s));O<D;)q[j++]=ds(i,O,O+=s);return q},B.compact=function Ru(i){for(var s=-1,l=null==i?0:i.length,D=0,O=[];++s<l;){var j=i[s];j&&(O[D++]=j)}return O},B.concat=function hg(){var i=arguments.length;if(!i)return[];for(var s=ge(i-1),l=arguments[0],D=i;D--;)s[D-1]=arguments[D];return Fo(zt(l)?Eo(l):[l],Bi(s,1))},B.cond=function Fs(i){var s=null==i?0:i.length,l=Rt();return i=s?Ft(i,function(D){if("function"!=typeof D[1])throw new At(Qe);return[l(D[0]),D[1]]}):[],Kt(function(D){for(var O=-1;++O<s;){var j=i[O];if(gt(j[0],this,D))return gt(j[1],this,D)}})},B.conforms=function nu(i){return function Yp(i){var s=Ai(i);return function(l){return pu(l,i,s)}}(vi(i,1))},B.constant=Od,B.countBy=qa,B.create=function _d(i,s){var l=Ws(i);return null==s?l:mc(l,s)},B.curry=function id(i,s,l){var D=Ds(i,8,H,H,H,H,H,s=l?H:s);return D.placeholder=id.placeholder,D},B.curryRight=function Vl(i,s,l){var D=Ds(i,16,H,H,H,H,H,s=l?H:s);return D.placeholder=Vl.placeholder,D},B.debounce=Eh,B.defaults=Fh,B.defaultsDeep=rm,B.defer=Ea,B.delay=Ch,B.difference=pg,B.differenceBy=zf,B.differenceWith=qf,B.drop=function Yf(i,s,l){var D=null==i?0:i.length;return D?ds(i,(s=l||s===H?1:$t(s))<0?0:s,D):[]},B.dropRight=function Wa(i,s,l){var D=null==i?0:i.length;return D?ds(i,0,(s=D-(s=l||s===H?1:$t(s)))<0?0:s):[]},B.dropRightWhile=function Sl(i,s){return i&&i.length?hl(i,Rt(s,3),!0,!0):[]},B.dropWhile=function Kf(i,s){return i&&i.length?hl(i,Rt(s,3),!0):[]},B.fill=function Yc(i,s,l,D){var O=null==i?0:i.length;return O?(l&&"number"!=typeof l&&ao(i,s,l)&&(l=0,D=O),function Ra(i,s,l,D){var O=i.length;for((l=$t(l))<0&&(l=-l>O?0:O+l),(D=D===H||D>O?O:$t(D))<0&&(D+=O),D=l>D?0:Ul(D);l<D;)i[l++]=s;return i}(i,s,l,D)):[]},B.filter=function Lg(i,s){return(zt(i)?ni:Pa)(i,Rt(s,3))},B.flatMap=function Bg(i,s){return Bi(Js(i,s),1)},B.flatMapDeep=function Hg(i,s){return Bi(Js(i,s),vn)},B.flatMapDepth=function fh(i,s,l){return l=l===H?1:$t(l),Bi(Js(i,s),l)},B.flatten=Qf,B.flattenDeep=function gg(i){return null!=i&&i.length?Bi(i,vn):[]},B.flattenDepth=function mg(i,s){return null!=i&&i.length?Bi(i,s=s===H?1:$t(s)):[]},B.flip=function Gg(i){return Ds(i,512)},B.flow=Jh,B.flowRight=ep,B.fromPairs=function vg(i){for(var s=-1,l=null==i?0:i.length,D={};++s<l;){var O=i[s];D[O[0]]=O[1]}return D},B.functions=function Lh(i){return null==i?[]:ul(i,Ai(i))},B.functionsIn=function Ed(i){return null==i?[]:ul(i,Oi(i))},B.groupBy=Ug,B.initial=function Il(i){return null!=i&&i.length?ds(i,0,-1):[]},B.intersection=Kc,B.intersectionBy=Zc,B.intersectionWith=yg,B.invert=um,B.invertBy=kh,B.invokeMap=Fl,B.iteratee=wa,B.keyBy=Ps,B.keys=Ai,B.keysIn=Oi,B.map=Js,B.mapKeys=function lm(i,s){var l={};return s=Rt(s,3),As(i,function(D,O,j){gs(l,s(D,O,j),D)}),l},B.mapValues=function Ja(i,s){var l={};return s=Rt(s,3),As(i,function(D,O,j){gs(l,O,s(D,O,j))}),l},B.matches=function zl(i){return qs(vi(i,1))},B.matchesProperty=function tp(i,s){return vf(i,vi(s,1))},B.memoize=Ya,B.merge=qu,B.mergeWith=Vh,B.method=np,B.methodOf=Im,B.mixin=Nd,B.negate=Bu,B.nthArg=function rp(i){return i=$t(i),Kt(function(s){return ka(s,i)})},B.omit=Bh,B.omitBy=function cm(i,s){return Hh(i,Bu(Rt(s)))},B.once=function Wg(i){return Dh(2,i)},B.orderBy=function gh(i,s,l,D){return null==i?[]:(zt(s)||(s=null==s?[]:[s]),zt(l=D?H:l)||(l=null==l?[]:[l]),_f(i,s,l))},B.over=fy,B.overArgs=zg,B.overEvery=Am,B.overSome=hy,B.partial=od,B.partialRight=wh,B.partition=mh,B.pick=dm,B.pickBy=Hh,B.property=Om,B.propertyOf=function ip(i){return function(s){return null==i?H:xa(i,s)}},B.pull=th,B.pullAll=Qc,B.pullAllBy=function Dg(i,s,l){return i&&i.length&&s&&s.length?Eu(i,s,Rt(l,2)):i},B.pullAllWith=function Kv(i,s,l){return i&&i.length&&s&&s.length?Eu(i,s,H,l):i},B.pullAt=Tl,B.range=op,B.rangeRight=py,B.rearg=Mh,B.reject=function Xv(i,s){return(zt(i)?ni:Pa)(i,Bu(Rt(s,3)))},B.remove=function Eg(i,s){var l=[];if(!i||!i.length)return l;var D=-1,O=[],j=i.length;for(s=Rt(s,3);++D<j;){var q=i[D];s(q,D,i)&&(l.push(q),O.push(D))}return Cf(i,O),l},B.rest=function ny(i,s){if("function"!=typeof i)throw new At(Qe);return Kt(i,s=s===H?s:$t(s))},B.reverse=Al,B.sampleSize=function nd(i,s,l){return s=(l?ao(i,s,l):s===H)?1:$t(s),(zt(i)?Wp:wf)(i,s)},B.set=function fm(i,s,l){return null==i?i:ca(i,s,l)},B.setWith=function Cd(i,s,l,D){return D="function"==typeof D?D:H,null==i?i:ca(i,s,l,D)},B.shuffle=function rd(i){return(zt(i)?oo:Jp)(i)},B.slice=function nh(i,s,l){var D=null==i?0:i.length;return D?(l&&"number"!=typeof l&&ao(i,s,l)?(s=0,l=D):(s=null==s?0:$t(s),l=l===H?D:$t(l)),ds(i,s,l)):[]},B.sortBy=yh,B.sortedUniq=function Jc(i){return i&&i.length?eg(i):[]},B.sortedUniqBy=function Nl(i,s){return i&&i.length?eg(i,Rt(s,2)):[]},B.split=function Ni(i,s,l){return l&&"number"!=typeof l&&ao(i,s,l)&&(s=l=H),(l=l===H?Je:l>>>0)?(i=kn(i))&&("string"==typeof s||null!=s&&!hd(s))&&!(s=Ti(s))&&K(i)?Qs(Cn(i),0,l):i.split(s,l):[]},B.spread=function ry(i,s){if("function"!=typeof i)throw new At(Qe);return s=null==s?0:On($t(s),0),Kt(function(l){var D=l[s],O=Qs(l,0,s);return D&&Fo(O,D),gt(i,this,O)})},B.tail=function sh(i){var s=null==i?0:i.length;return s?ds(i,1,s):[]},B.take=function ed(i,s,l){return i&&i.length?ds(i,0,(s=l||s===H?1:$t(s))<0?0:s):[]},B.takeRight=function Fu(i,s,l){var D=null==i?0:i.length;return D?ds(i,(s=D-(s=l||s===H?1:$t(s)))<0?0:s,D):[]},B.takeRightWhile=function Cg(i,s){return i&&i.length?hl(i,Rt(s,3),!1,!0):[]},B.takeWhile=function ah(i,s){return i&&i.length?hl(i,Rt(s,3)):[]},B.tap=function ch(i,s){return s(i),i},B.throttle=function Hu(i,s,l){var D=!0,O=!0;if("function"!=typeof i)throw new At(Qe);return sr(l)&&(D="leading"in l?!!l.leading:D,O="trailing"in l?!!l.trailing:O),Eh(i,s,{leading:D,maxWait:s,trailing:O})},B.thru=ku,B.toArray=Qa,B.toPairs=hm,B.toPairsIn=Gl,B.toPath=function Zt(i){return zt(i)?Ft(i,Es):Ji(i)?[i]:Eo(zc(kn(i)))},B.toPlainObject=Gu,B.transform=function jh(i,s,l){var D=zt(i),O=D||Cs(i)||Ka(i);if(s=Rt(s,4),null==l){var j=i&&i.constructor;l=O?D?new j:[]:sr(i)&&xs(j)?Ws(Xn(i)):{}}return(O?Sr:As)(i,function(q,ee,oe){return s(l,q,ee,oe)}),l},B.unary=function Uu(i){return _h(i,1)},B.union=wg,B.unionBy=Mg,B.unionWith=bg,B.uniq=function uh(i){return i&&i.length?Ks(i):[]},B.uniqBy=function lh(i,s){return i&&i.length?Ks(i,Rt(s,2)):[]},B.uniqWith=function Rl(i,s){return s="function"==typeof s?s:H,i&&i.length?Ks(i,H,s):[]},B.unset=function pm(i,s){return null==i||Ic(i,s)},B.unzip=Lu,B.unzipWith=_a,B.update=function gm(i,s,l){return null==i?i:ci(i,s,pl(l))},B.updateWith=function $h(i,s,l,D){return D="function"==typeof D?D:H,null==i?i:ci(i,s,pl(l),D)},B.values=eu,B.valuesIn=function Gh(i){return null==i?[]:Sa(i,Oi(i))},B.without=Sg,B.words=Xh,B.wrap=function bh(i,s){return od(pl(s),i)},B.xor=Ig,B.xorBy=Zv,B.xorWith=Tg,B.zip=td,B.zipObject=function Ag(i,s){return Bo(i||[],s||[],fr)},B.zipObjectDeep=function za(i,s){return Bo(i||[],s||[],ca)},B.zipWith=Pl,B.entries=hm,B.entriesIn=Gl,B.extend=xh,B.extendWith=zu,Nd(B,B),B.add=cp,B.attempt=Ad,B.camelCase=Wh,B.capitalize=wd,B.ceil=iu,B.clamp=function mm(i,s,l){return l===H&&(l=s,s=H),l!==H&&(l=(l=bo(l))==l?l:0),s!==H&&(s=(s=bo(s))==s?s:0),ms(bo(i),s,l)},B.clone=function sd(i){return vi(i,4)},B.cloneDeep=function qg(i){return vi(i,5)},B.cloneDeepWith=function Ih(i,s){return vi(i,5,s="function"==typeof s?s:H)},B.cloneWith=function ad(i,s){return vi(i,4,s="function"==typeof s?s:H)},B.conformsTo=function Th(i,s){return null==s||pu(i,s,Ai(s))},B.deburr=rs,B.defaultTo=function Sm(i,s){return null==i||i!=i?s:i},B.divide=dp,B.endsWith=function zh(i,s,l){i=kn(i),s=Ti(s);var D=i.length,O=l=l===H?D:ms($t(l),0,D);return(l-=s.length)>=0&&i.slice(l,O)==s},B.eq=Mo,B.escape=function ly(i){return(i=kn(i))&&qn.test(i)?i.replace(fi,w):i},B.escapeRegExp=function Md(i){return(i=kn(i))&&ye.test(i)?i.replace(X,"\\$&"):i},B.every=function Fg(i,s,l){var D=zt(i)?Yr:hf;return l&&ao(i,s,l)&&(s=H),D(i,Rt(s,3))},B.find=kg,B.findIndex=Pu,B.findKey=function im(i,s){return Ko(i,Rt(s,3),As)},B.findLast=Vg,B.findLastIndex=Zf,B.findLastKey=function sy(i,s){return Ko(i,Rt(s,3),yc)},B.floor=Rm,B.forEach=hh,B.forEachRight=ph,B.forIn=function om(i,s){return null==i?i:pf(i,Rt(s,3),Oi)},B.forInRight=function jl(i,s){return null==i?i:al(i,Rt(s,3),Oi)},B.forOwn=function Dd(i,s){return i&&As(i,Rt(s,3))},B.forOwnRight=function sm(i,s){return i&&yc(i,Rt(s,3))},B.get=Xa,B.gt=iy,B.gte=ud,B.has=function am(i,s){return null!=i&&ma(i,s,Zp)},B.hasIn=$l,B.head=Xf,B.identity=eo,B.includes=function jg(i,s,l,D){i=uo(i)?i:eu(i),l=l&&!D?$t(l):0;var O=i.length;return l<0&&(l=On(O+l,0)),pd(i)?l<=O&&i.indexOf(s,l)>-1:!!O&&Zo(i,s,l)>-1},B.indexOf=function Jf(i,s,l){var D=null==i?0:i.length;if(!D)return-1;var O=null==l?0:$t(l);return O<0&&(O=On(D+O,0)),Zo(i,s,O)},B.inRange=function vm(i,s,l){return s=ns(s),l===H?(l=s,s=0):l=ns(l),function _c(i,s,l){return i>=Vi(s,l)&&i<On(s,l)}(i=bo(i),s,l)},B.invoke=ay,B.isArguments=Ca,B.isArray=zt,B.isArrayBuffer=Ah,B.isArrayLike=uo,B.isArrayLikeObject=hr,B.isBoolean=function Yg(i){return!0===i||!1===i||Qr(i)&&Hi(i)==Nr},B.isBuffer=Cs,B.isDate=Bl,B.isElement=function Kg(i){return Qr(i)&&1===i.nodeType&&!$u(i)},B.isEmpty=function ld(i){if(null==i)return!0;if(uo(i)&&(zt(i)||"string"==typeof i||"function"==typeof i.splice||Cs(i)||Ka(i)||Ca(i)))return!i.length;var s=Ui(i);if(s==Bn||s==dt)return!i.size;if(Au(i))return!dl(i).length;for(var l in i)if(A.call(i,l))return!1;return!0},B.isEqual=function Hl(i,s){return vu(i,s)},B.isEqualWith=function ws(i,s,l){var D=(l="function"==typeof l?l:H)?l(i,s):H;return D===H?vu(i,s,H,l):!!D},B.isError=ea,B.isFinite=function cd(i){return"number"==typeof i&&hc(i)},B.isFunction=xs,B.isInteger=Oh,B.isLength=ju,B.isMap=Nh,B.isMatch=function Zg(i,s){return i===s||cl(i,s,Vf(s))},B.isMatchWith=function dd(i,s,l){return l="function"==typeof l?l:H,cl(i,s,Vf(s),l)},B.isNaN=function Rh(i){return Xg(i)&&i!=+i},B.isNative=function Qg(i){if(cg(i))throw new bt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return yu(i)},B.isNil=function fd(i){return null==i},B.isNull=function Ph(i){return null===i},B.isNumber=Xg,B.isObject=sr,B.isObjectLike=Qr,B.isPlainObject=$u,B.isRegExp=hd,B.isSafeInteger=function Jg(i){return Oh(i)&&i>=-Lr&&i<=Lr},B.isSet=em,B.isString=pd,B.isSymbol=Ji,B.isTypedArray=Ka,B.isUndefined=function gd(i){return i===H},B.isWeakMap=function md(i){return Qr(i)&&Ui(i)==It},B.isWeakSet=function Za(i){return Qr(i)&&"[object WeakSet]"==Hi(i)},B.join=function _g(i,s){return null==i?"":uu.call(i,s)},B.kebabCase=ta,B.last=wo,B.lastIndexOf=function eh(i,s,l){var D=null==i?0:i.length;if(!D)return-1;var O=D;return l!==H&&(O=(O=$t(l))<0?On(D+O,0):Vi(O,D-1)),s==s?function Et(ne,ve,ge){for(var $e=ge+1;$e--;)if(ne[$e]===ve)return $e;return $e}(i,s,O):vo(i,ls,O,!0)},B.lowerCase=bd,B.lowerFirst=ym,B.lt=vd,B.lte=yd,B.max=function Yl(i){return i&&i.length?sl(i,eo,la):H},B.maxBy=function ou(i,s){return i&&i.length?sl(i,Rt(s,2),la):H},B.mean=function Pd(i){return S(i,eo)},B.meanBy=function Yu(i,s){return S(i,Rt(s,2))},B.min=function fp(i){return i&&i.length?sl(i,eo,Mc):H},B.minBy=function xd(i,s){return i&&i.length?sl(i,Rt(s,2),Mc):H},B.stubArray=ru,B.stubFalse=ql,B.stubObject=function sp(){return{}},B.stubString=function Nm(){return""},B.stubTrue=function ap(){return!0},B.multiply=Fd,B.nth=function ya(i,s){return i&&i.length?ka(i,$t(s)):H},B.noConflict=function Tm(){return mr._===this&&(mr._=_e),this},B.noop=Rd,B.now=Ll,B.pad=function cy(i,s,l){i=kn(i);var D=(s=$t(s))?_n(i):0;if(!s||D>=s)return i;var O=(s-D)/2;return xc(Hs(O),l)+i+xc(Yn(O),l)},B.padEnd=function _m(i,s,l){i=kn(i);var D=(s=$t(s))?_n(i):0;return s&&D<s?i+xc(s-D,l):i},B.padStart=function Sd(i,s,l){i=kn(i);var D=(s=$t(s))?_n(i):0;return s&&D<s?xc(s-D,l)+i:i},B.parseInt=function Ms(i,s,l){return l||null==s?s=0:s&&(s=+s),rf(kn(i).replace(Re,""),s||0)},B.random=function uy(i,s,l){if(l&&"boolean"!=typeof l&&ao(i,s,l)&&(s=l=H),l===H&&("boolean"==typeof s?(l=s,s=H):"boolean"==typeof i&&(l=i,i=H)),i===H&&s===H?(i=0,s=1):(i=ns(i),s===H?(s=i,i=0):s=ns(s)),i>s){var D=i;i=s,s=D}if(l||i%1||s%1){var O=es();return Vi(i+O*(s-i+lr("1e-"+((O+"").length-1))),s)}return fl(i,s)},B.reduce=function vh(i,s,l){var D=zt(i)?Qn:V,O=arguments.length<3;return D(i,Rt(s,4),l,O,vs)},B.reduceRight=function Qv(i,s,l){var D=zt(i)?cr:V,O=arguments.length<3;return D(i,Rt(s,4),l,O,vc)},B.repeat=function qh(i,s,l){return s=(l?ao(i,s,l):s===H)?1:$t(s),Ys(kn(i),s)},B.replace=function Dm(){var i=arguments,s=kn(i[0]);return i.length<3?s:s.replace(i[1],i[2])},B.result=function Uh(i,s,l){var D=-1,O=(s=fs(s,i)).length;for(O||(O=1,i=H);++D<O;){var j=null==i?H:i[Es(s[D])];j===H&&(D=O,j=l),i=xs(j)?j.call(i):j}return i},B.round=Ld,B.runInContext=ne,B.sample=function Jv(i){return(zt(i)?ff:Va)(i)},B.size=function ey(i){if(null==i)return 0;if(uo(i))return pd(i)?_n(i):i.length;var s=Ui(i);return s==Bn||s==dt?i.size:dl(i).length},B.snakeCase=dy,B.some=function ty(i,s,l){var D=zt(i)?Lo:zv;return l&&ao(i,s,l)&&(s=H),D(i,Rt(s,3))},B.sortedIndex=function rh(i,s){return Sc(i,s)},B.sortedIndexBy=function Xc(i,s,l){return Mf(i,s,Rt(l,2))},B.sortedIndexOf=function ih(i,s){var l=null==i?0:i.length;if(l){var D=Sc(i,s);if(D<l&&Mo(i[D],s))return D}return-1},B.sortedLastIndex=function Ol(i,s){return Sc(i,s,!0)},B.sortedLastIndexBy=function xu(i,s,l){return Mf(i,s,Rt(l,2),!0)},B.sortedLastIndexOf=function oh(i,s){if(null!=i&&i.length){var D=Sc(i,s,!0)-1;if(Mo(i[D],s))return D}return-1},B.startCase=Em,B.startsWith=function Id(i,s,l){return i=kn(i),l=null==l?0:ms($t(l),0,i.length),s=Ti(s),i.slice(l,l+s.length)==s},B.subtract=hp,B.sum=function kd(i){return i&&i.length?ot(i,eo):0},B.sumBy=function Pm(i,s){return i&&i.length?ot(i,Rt(s,2)):0},B.template=function Cm(i,s,l){var D=B.templateSettings;l&&ao(i,s,l)&&(s=H),i=kn(i),s=zu({},s,D,Ff);var ee,oe,O=zu({},s.imports,D.imports,Ff),j=Ai(O),q=Sa(O,j),Ee=0,be=s.interpolate||vt,Ce="__p += '",Ge=nt((s.escape||vt).source+"|"+be.source+"|"+(be===lo?R:vt).source+"|"+(s.evaluate||vt).source+"|$","g"),ct="//# sourceURL="+(A.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++yt+"]")+"\n";i.replace(Ge,function(Ot,mn,wn,Uo,to,jo){return wn||(wn=Uo),Ce+=i.slice(Ee,jo).replace(an,P),mn&&(ee=!0,Ce+="' +\n__e("+mn+") +\n'"),to&&(oe=!0,Ce+="';\n"+to+";\n__p += '"),wn&&(Ce+="' +\n((__t = ("+wn+")) == null ? '' : __t) +\n'"),Ee=jo+Ot.length,Ot}),Ce+="';\n";var Pt=A.call(s,"variable")&&s.variable;if(Pt){if(J.test(Pt))throw new bt("Invalid `variable` option passed into `_.template`")}else Ce="with (obj) {\n"+Ce+"\n}\n";Ce=(oe?Ce.replace(Pr,""):Ce).replace(zn,"$1").replace(wr,"$1;"),Ce="function("+(Pt||"obj")+") {\n"+(Pt?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ee?", __e = _.escape":"")+(oe?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ce+"return __p\n}";var tn=Ad(function(){return pn(j,ct+"return "+Ce).apply(H,q)});if(tn.source=Ce,ea(tn))throw tn;return tn},B.times=function up(i,s){if((i=$t(i))<1||i>Lr)return[];var l=Je,D=Vi(i,Je);s=Rt(s),i-=Je;for(var O=Ht(D,s);++l<i;)s(l);return O},B.toFinite=ns,B.toInteger=$t,B.toLength=Ul,B.toLower=function wm(i){return kn(i).toLowerCase()},B.toNumber=bo,B.toSafeInteger=function oy(i){return i?ms($t(i),-Lr,Lr):0===i?i:0},B.toString=kn,B.toUpper=function Td(i){return kn(i).toUpperCase()},B.trim=function Yh(i,s,l){if((i=kn(i))&&(l||s===H))return Qo(i);if(!i||!(s=Ti(s)))return i;var D=Cn(i),O=Cn(s);return Qs(D,Ia(D,O),F(D,O)+1).join("")},B.trimEnd=function Kh(i,s,l){if((i=kn(i))&&(l||s===H))return i.slice(0,vr(i)+1);if(!i||!(s=Ti(s)))return i;var D=Cn(i);return Qs(D,0,F(D,Cn(s))+1).join("")},B.trimStart=function Mm(i,s,l){if((i=kn(i))&&(l||s===H))return i.replace(Re,"");if(!i||!(s=Ti(s)))return i;var D=Cn(i);return Qs(D,Ia(D,Cn(s))).join("")},B.truncate=function Zh(i,s){var l=30,D="...";if(sr(s)){var O="separator"in s?s.separator:O;l="length"in s?$t(s.length):l,D="omission"in s?Ti(s.omission):D}var j=(i=kn(i)).length;if(K(i)){var q=Cn(i);j=q.length}if(l>=j)return i;var ee=l-_n(D);if(ee<1)return D;var oe=q?Qs(q,0,ee).join(""):i.slice(0,ee);if(O===H)return oe+D;if(q&&(ee+=oe.length-ee),hd(O)){if(i.slice(ee).search(O)){var Ee,be=oe;for(O.global||(O=nt(O.source,kn(L.exec(O))+"g")),O.lastIndex=0;Ee=O.exec(be);)var Ce=Ee.index;oe=oe.slice(0,Ce===H?ee:Ce)}}else if(i.indexOf(Ti(O),ee)!=ee){var Ge=oe.lastIndexOf(O);Ge>-1&&(oe=oe.slice(0,Ge))}return oe+D},B.unescape=function Qh(i){return(i=kn(i))&&Vr.test(i)?i.replace(Ei,Kr):i},B.uniqueId=function lp(i){var s=++C;return kn(i)+s},B.upperCase=bm,B.upperFirst=Wl,B.each=hh,B.eachRight=ph,B.first=Xf,Nd(B,function(){var i={};return As(B,function(s,l){A.call(B.prototype,l)||(i[l]=s)}),i}(),{chain:!1}),B.VERSION="4.17.21",Sr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){B[i].placeholder=B}),Sr(["drop","take"],function(i,s){on.prototype[i]=function(l){l=l===H?1:On($t(l),0);var D=this.__filtered__&&!s?new on(this):this.clone();return D.__filtered__?D.__takeCount__=Vi(l,D.__takeCount__):D.__views__.push({size:Vi(l,Je),type:i+(D.__dir__<0?"Right":"")}),D},on.prototype[i+"Right"]=function(l){return this.reverse()[i](l).reverse()}}),Sr(["filter","map","takeWhile"],function(i,s){var l=s+1,D=1==l||3==l;on.prototype[i]=function(O){var j=this.clone();return j.__iteratees__.push({iteratee:Rt(O,3),type:l}),j.__filtered__=j.__filtered__||D,j}}),Sr(["head","last"],function(i,s){var l="take"+(s?"Right":"");on.prototype[i]=function(){return this[l](1).value()[0]}}),Sr(["initial","tail"],function(i,s){var l="drop"+(s?"":"Right");on.prototype[i]=function(){return this.__filtered__?new on(this):this[l](1)}}),on.prototype.compact=function(){return this.filter(eo)},on.prototype.find=function(i){return this.filter(i).head()},on.prototype.findLast=function(i){return this.reverse().find(i)},on.prototype.invokeMap=Kt(function(i,s){return"function"==typeof i?new on(this):this.map(function(l){return La(l,i,s)})}),on.prototype.reject=function(i){return this.filter(Bu(Rt(i)))},on.prototype.slice=function(i,s){i=$t(i);var l=this;return l.__filtered__&&(i>0||s<0)?new on(l):(i<0?l=l.takeRight(-i):i&&(l=l.drop(i)),s!==H&&(l=(s=$t(s))<0?l.dropRight(-s):l.take(s-i)),l)},on.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},on.prototype.toArray=function(){return this.take(Je)},As(on.prototype,function(i,s){var l=/^(?:filter|find|map|reject)|While$/.test(s),D=/^(?:head|last)$/.test(s),O=B[D?"take"+("last"==s?"Right":""):s],j=D||/^find/.test(s);O&&(B.prototype[s]=function(){var q=this.__wrapped__,ee=D?[1]:arguments,oe=q instanceof on,Ee=ee[0],be=oe||zt(q),Ce=function(mn){var wn=O.apply(B,Fo([mn],ee));return D&&Ge?wn[0]:wn};be&&l&&"function"==typeof Ee&&1!=Ee.length&&(oe=be=!1);var Ge=this.__chain__,Pt=j&&!Ge,tn=oe&&!this.__actions__.length;if(!j&&be){q=tn?q:new on(this);var Ot=i.apply(q,ee);return Ot.__actions__.push({func:ku,args:[Ce],thisArg:H}),new Ut(Ot,Ge)}return Pt&&tn?i.apply(this,ee):(Ot=this.thru(Ce),Pt?D?Ot.value()[0]:Ot.value():Ot)})}),Sr(["pop","push","shift","sort","splice","unshift"],function(i){var s=ir[i],l=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",D=/^(?:pop|shift)$/.test(i);B.prototype[i]=function(){var O=arguments;if(D&&!this.__chain__){var j=this.value();return s.apply(zt(j)?j:[],O)}return this[l](function(q){return s.apply(zt(q)?q:[],O)})}}),As(on.prototype,function(i,s){var l=B[s];if(l){var D=l.name+"";A.call(Oa,D)||(Oa[D]=[]),Oa[D].push({name:s,func:l})}}),Oa[vl(H,2).name]=[{name:"wrapper",func:H}],on.prototype.clone=function tl(){var i=new on(this.__wrapped__);return i.__actions__=Eo(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Eo(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Eo(this.__views__),i},on.prototype.reverse=function Ii(){if(this.__filtered__){var i=new on(this);i.__dir__=-1,i.__filtered__=!0}else(i=this.clone()).__dir__*=-1;return i},on.prototype.value=function gc(){var i=this.__wrapped__.value(),s=this.__dir__,l=zt(i),D=s<0,O=l?i.length:0,j=function Bf(i,s,l){for(var D=-1,O=l.length;++D<O;){var j=l[D],q=j.size;switch(j.type){case"drop":i+=q;break;case"dropRight":s-=q;break;case"take":s=Vi(s,i+q);break;case"takeRight":i=On(i,s-q)}}return{start:i,end:s}}(0,O,this.__views__),q=j.start,ee=j.end,oe=ee-q,Ee=D?ee:q-1,be=this.__iteratees__,Ce=be.length,Ge=0,ct=Vi(oe,this.__takeCount__);if(!l||!D&&O==oe&&ct==oe)return Ba(i,this.__actions__);var Pt=[];e:for(;oe--&&Ge<ct;){for(var tn=-1,Ot=i[Ee+=s];++tn<Ce;){var mn=be[tn],Uo=mn.type,to=(0,mn.iteratee)(Ot);if(2==Uo)Ot=to;else if(!to){if(1==Uo)continue e;break e}}Pt[Ge++]=Ot}return Pt},B.prototype.at=dh,B.prototype.chain=function Da(){return xl(this)},B.prototype.commit=function Og(){return new Ut(this.value(),this.__chain__)},B.prototype.next=function Ng(){this.__values__===H&&(this.__values__=Qa(this.value()));var i=this.__index__>=this.__values__.length;return{done:i,value:i?H:this.__values__[this.__index__++]}},B.prototype.plant=function Pg(i){for(var s,l=this;l instanceof Me;){var D=bl(l);D.__index__=0,D.__values__=H,s?O.__wrapped__=D:s=D;var O=D;l=l.__wrapped__}return O.__wrapped__=i,s},B.prototype.reverse=function xg(){var i=this.__wrapped__;if(i instanceof on){var s=i;return this.__actions__.length&&(s=new on(this)),(s=s.reverse()).__actions__.push({func:ku,args:[Al],thisArg:H}),new Ut(s,this.__chain__)}return this.thru(Al)},B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=function Rs(){return Ba(this.__wrapped__,this.__actions__)},B.prototype.first=B.prototype.head,io&&(B.prototype[io]=function Rg(){return this}),B}();mr._=$r,(d=function(){return $r}.call(mt,fe,mt,Nn))!==H&&(Nn.exports=d)}.call(this)},6825:(Nn,mt,fe)=>{"use strict";fe.d(mt,{LC:()=>H,SB:()=>Kn,X$:()=>Se,ZE:()=>Dn,ZN:()=>Ke,_j:()=>d,eR:()=>Tt,jt:()=>ze,k1:()=>Sn,l3:()=>Ae,oB:()=>Nt,vP:()=>et});class d{}class H{}const Ae="*";function Se(Dt,ie){return{type:7,name:Dt,definitions:ie,options:{}}}function ze(Dt,ie=null){return{type:4,styles:ie,timings:Dt}}function et(Dt,ie=null){return{type:2,steps:Dt,options:ie}}function Nt(Dt){return{type:6,styles:Dt,offset:null}}function Kn(Dt,ie,ht){return{type:0,name:Dt,styles:ie,options:ht}}function Tt(Dt,ie,ht=null){return{type:1,expr:Dt,animation:ie,options:ht}}class Ke{constructor(ie=0,ht=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ie+ht}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}onStart(ie){this._originalOnStartFns.push(ie),this._onStartFns.push(ie)}onDone(ie){this._originalOnDoneFns.push(ie),this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ie=>ie()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ie){this._position=this.totalTime?ie*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ie){const ht="start"==ie?this._onStartFns:this._onDoneFns;ht.forEach(Le=>Le()),ht.length=0}}class Dn{constructor(ie){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ie;let ht=0,Le=0,Fe=0;const Ct=this.players.length;0==Ct?queueMicrotask(()=>this._onFinish()):this.players.forEach(it=>{it.onDone(()=>{++ht==Ct&&this._onFinish()}),it.onDestroy(()=>{++Le==Ct&&this._onDestroy()}),it.onStart(()=>{++Fe==Ct&&this._onStart()})}),this.totalTime=this.players.reduce((it,ln)=>Math.max(it,ln.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}init(){this.players.forEach(ie=>ie.init())}onStart(ie){this._onStartFns.push(ie)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ie=>ie()),this._onStartFns=[])}onDone(ie){this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ie=>ie.play())}pause(){this.players.forEach(ie=>ie.pause())}restart(){this.players.forEach(ie=>ie.restart())}finish(){this._onFinish(),this.players.forEach(ie=>ie.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ie=>ie.destroy()),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this.players.forEach(ie=>ie.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ie){const ht=ie*this.totalTime;this.players.forEach(Le=>{const Fe=Le.totalTime?Math.min(1,ht/Le.totalTime):1;Le.setPosition(Fe)})}getPosition(){const ie=this.players.reduce((ht,Le)=>null===ht||Le.totalTime>ht.totalTime?Le:ht,null);return null!=ie?ie.getPosition():0}beforeDestroy(){this.players.forEach(ie=>{ie.beforeDestroy&&ie.beforeDestroy()})}triggerCallback(ie){const ht="start"==ie?this._onStartFns:this._onDoneFns;ht.forEach(Le=>Le()),ht.length=0}}const Sn="!"},6814:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Do:()=>Ve,ED:()=>br,EM:()=>Zi,HT:()=>Se,JF:()=>rr,K0:()=>Qe,Mx:()=>An,NF:()=>go,O5:()=>hi,OU:()=>Mi,Ov:()=>Oo,PC:()=>wi,PM:()=>mr,RF:()=>gr,S$:()=>Qt,V_:()=>Nt,Ye:()=>Ke,ax:()=>$n,b0:()=>Vn,bD:()=>Gn,ez:()=>Yi,gd:()=>pi,mk:()=>Bt,n9:()=>co,q:()=>Ae,sg:()=>$n,tP:()=>zo,uU:()=>ur,w_:()=>ze});var d=fe(5879);let H=null;function Ae(){return H}function Se(p){H||(H=p)}class ze{}const Qe=new d.OlP("DocumentToken");let et=(()=>{class p{historyGo(C){throw new Error("Not implemented")}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275prov=d.Yz7({token:p,factory:function(){return(0,d.f3M)(Kn)},providedIn:"platform"})}}return p})();const Nt=new d.OlP("Location Initialized");let Kn=(()=>{class p extends et{constructor(){super(),this._doc=(0,d.f3M)(Qe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ae().getBaseHref(this._doc)}onPopState(C){const I=Ae().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",C,!1),()=>I.removeEventListener("popstate",C)}onHashChange(C){const I=Ae().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",C,!1),()=>I.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,I,G){this._history.pushState(C,I,G)}replaceState(C,I,G){this._history.replaceState(C,I,G)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275prov=d.Yz7({token:p,factory:function(){return new p},providedIn:"platform"})}}return p})();function Xe(p,A){if(0==p.length)return A;if(0==A.length)return p;let C=0;return p.endsWith("/")&&C++,A.startsWith("/")&&C++,2==C?p+A.substring(1):1==C?p+A:p+"/"+A}function Tt(p){const A=p.match(/#|\?|$/),C=A&&A.index||p.length;return p.slice(0,C-("/"===p[C-1]?1:0))+p.slice(C)}function rt(p){return p&&"?"!==p[0]?"?"+p:p}let Qt=(()=>{class p{historyGo(C){throw new Error("Not implemented")}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275prov=d.Yz7({token:p,factory:function(){return(0,d.f3M)(Vn)},providedIn:"root"})}}return p})();const Rn=new d.OlP("appBaseHref");let Vn=(()=>{class p extends Qt{constructor(C,I){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,d.f3M)(Qe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return Xe(this._baseHref,C)}path(C=!1){const I=this._platformLocation.pathname+rt(this._platformLocation.search),G=this._platformLocation.hash;return G&&C?`${I}${G}`:I}pushState(C,I,G,le){const _e=this.prepareExternalUrl(G+rt(le));this._platformLocation.pushState(C,I,_e)}replaceState(C,I,G,le){const _e=this.prepareExternalUrl(G+rt(le));this._platformLocation.replaceState(C,I,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(I){return new(I||p)(d.LFG(et),d.LFG(Rn,8))}}static{this.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),Ve=(()=>{class p extends Qt{constructor(C,I){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(C){const I=Xe(this._baseHref,C);return I.length>0?"#"+I:I}pushState(C,I,G,le){let _e=this.prepareExternalUrl(G+rt(le));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(C,I,_e)}replaceState(C,I,G,le){let _e=this.prepareExternalUrl(G+rt(le));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(C,I,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(I){return new(I||p)(d.LFG(et),d.LFG(Rn,8))}}static{this.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac})}}return p})(),Ke=(()=>{class p{constructor(C){this._subject=new d.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const I=this._locationStrategy.getBaseHref();this._basePath=function ie(p){if(new RegExp("^(https?:)?//").test(p)){const[,C]=p.split(/\/\/[^\/]+/);return C}return p}(Tt(Dt(I))),this._locationStrategy.onPopState(G=>{this._subject.emit({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,I=""){return this.path()==this.normalize(C+rt(I))}normalize(C){return p.stripTrailingSlash(function Sn(p,A){if(!p||!A.startsWith(p))return A;const C=A.substring(p.length);return""===C||["/",";","?","#"].includes(C[0])?C:A}(this._basePath,Dt(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,I="",G=null){this._locationStrategy.pushState(G,"",C,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+rt(I)),G)}replaceState(C,I="",G=null){this._locationStrategy.replaceState(G,"",C,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+rt(I)),G)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)})),()=>{const I=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",I){this._urlChangeListeners.forEach(G=>G(C,I))}subscribe(C,I,G){return this._subject.subscribe({next:C,error:I,complete:G})}static{this.normalizeQueryParams=rt}static{this.joinWithSlash=Xe}static{this.stripTrailingSlash=Tt}static{this.\u0275fac=function(I){return new(I||p)(d.LFG(Qt))}}static{this.\u0275prov=d.Yz7({token:p,factory:function(){return function Dn(){return new Ke((0,d.LFG)(Qt))}()},providedIn:"root"})}}return p})();function Dt(p){return p.replace(/\/index.html$/,"")}var Ct=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(Ct||{}),it=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(it||{}),ln=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(ln||{}),sn=function(p){return p[p.Decimal=0]="Decimal",p[p.Group=1]="Group",p[p.List=2]="List",p[p.PercentSign=3]="PercentSign",p[p.PlusSign=4]="PlusSign",p[p.MinusSign=5]="MinusSign",p[p.Exponential=6]="Exponential",p[p.SuperscriptingExponent=7]="SuperscriptingExponent",p[p.PerMille=8]="PerMille",p[p.Infinity=9]="Infinity",p[p.NaN=10]="NaN",p[p.TimeSeparator=11]="TimeSeparator",p[p.CurrencyDecimal=12]="CurrencyDecimal",p[p.CurrencyGroup=13]="CurrencyGroup",p}(sn||{});function Je(p,A){return Hn((0,d.cg1)(p)[d.wAp.DateFormat],A)}function kr(p,A){return Hn((0,d.cg1)(p)[d.wAp.TimeFormat],A)}function Gi(p,A){return Hn((0,d.cg1)(p)[d.wAp.DateTimeFormat],A)}function Pn(p,A){const C=(0,d.cg1)(p),I=C[d.wAp.NumberSymbols][A];if(typeof I>"u"){if(A===sn.CurrencyDecimal)return C[d.wAp.NumberSymbols][sn.Decimal];if(A===sn.CurrencyGroup)return C[d.wAp.NumberSymbols][sn.Group]}return I}function wt(p){if(!p[d.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[d.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Hn(p,A){for(let C=A;C>-1;C--)if(typeof p[C]<"u")return p[C];throw new Error("Locale data API: locale data undefined")}function Jr(p){const[A,C]=p.split(":");return{hours:+A,minutes:+C}}const In=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dt={},Tn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(at||{}),Mt=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(Mt||{}),It=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(It||{});function Un(p,A,C,I){let G=function me(p){if(z(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[G,le=1,_e=1]=p.split("-").map(Ye=>+Ye);return Rr(G,le-1,_e)}const C=parseFloat(p);if(!isNaN(p-C))return new Date(C);let I;if(I=p.match(In))return function ue(p){const A=new Date(0);let C=0,I=0;const G=p[8]?A.setUTCFullYear:A.setFullYear,le=p[8]?A.setUTCHours:A.setHours;p[9]&&(C=Number(p[9]+p[10]),I=Number(p[9]+p[11])),G.call(A,Number(p[1]),Number(p[2])-1,Number(p[3]));const _e=Number(p[4]||0)-C,Ye=Number(p[5]||0)-I,bn=Number(p[6]||0),nn=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return le.call(A,_e,Ye,bn,nn),A}(I)}const A=new Date(p);if(!z(A))throw new Error(`Unable to convert "${p}" into a date`);return A}(p);A=Er(C,A)||A;let Ye,_e=[];for(;A;){if(Ye=Tn.exec(A),!Ye){_e.push(A);break}{_e=_e.concat(Ye.slice(1));const dn=_e.pop();if(!dn)break;A=dn}}let bn=G.getTimezoneOffset();I&&(bn=Br(I,bn),G=function lo(p,A,C){const I=C?-1:1,G=p.getTimezoneOffset();return function ti(p,A){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+A),p}(p,I*(Br(A,G)-G))}(G,I,!0));let nn="";return _e.forEach(dn=>{const Wt=function qn(p){if(Vr[p])return Vr[p];let A;switch(p){case"G":case"GG":case"GGG":A=kt(It.Eras,it.Abbreviated);break;case"GGGG":A=kt(It.Eras,it.Wide);break;case"GGGGG":A=kt(It.Eras,it.Narrow);break;case"y":A=Ue(Mt.FullYear,1,0,!1,!0);break;case"yy":A=Ue(Mt.FullYear,2,0,!0,!0);break;case"yyy":A=Ue(Mt.FullYear,3,0,!1,!0);break;case"yyyy":A=Ue(Mt.FullYear,4,0,!1,!0);break;case"Y":A=fi(1);break;case"YY":A=fi(2,!0);break;case"YYY":A=fi(3);break;case"YYYY":A=fi(4);break;case"M":case"L":A=Ue(Mt.Month,1,1);break;case"MM":case"LL":A=Ue(Mt.Month,2,1);break;case"MMM":A=kt(It.Months,it.Abbreviated);break;case"MMMM":A=kt(It.Months,it.Wide);break;case"MMMMM":A=kt(It.Months,it.Narrow);break;case"LLL":A=kt(It.Months,it.Abbreviated,Ct.Standalone);break;case"LLLL":A=kt(It.Months,it.Wide,Ct.Standalone);break;case"LLLLL":A=kt(It.Months,it.Narrow,Ct.Standalone);break;case"w":A=Ei(1);break;case"ww":A=Ei(2);break;case"W":A=Ei(1,!0);break;case"d":A=Ue(Mt.Date,1);break;case"dd":A=Ue(Mt.Date,2);break;case"c":case"cc":A=Ue(Mt.Day,1);break;case"ccc":A=kt(It.Days,it.Abbreviated,Ct.Standalone);break;case"cccc":A=kt(It.Days,it.Wide,Ct.Standalone);break;case"ccccc":A=kt(It.Days,it.Narrow,Ct.Standalone);break;case"cccccc":A=kt(It.Days,it.Short,Ct.Standalone);break;case"E":case"EE":case"EEE":A=kt(It.Days,it.Abbreviated);break;case"EEEE":A=kt(It.Days,it.Wide);break;case"EEEEE":A=kt(It.Days,it.Narrow);break;case"EEEEEE":A=kt(It.Days,it.Short);break;case"a":case"aa":case"aaa":A=kt(It.DayPeriods,it.Abbreviated);break;case"aaaa":A=kt(It.DayPeriods,it.Wide);break;case"aaaaa":A=kt(It.DayPeriods,it.Narrow);break;case"b":case"bb":case"bbb":A=kt(It.DayPeriods,it.Abbreviated,Ct.Standalone,!0);break;case"bbbb":A=kt(It.DayPeriods,it.Wide,Ct.Standalone,!0);break;case"bbbbb":A=kt(It.DayPeriods,it.Narrow,Ct.Standalone,!0);break;case"B":case"BB":case"BBB":A=kt(It.DayPeriods,it.Abbreviated,Ct.Format,!0);break;case"BBBB":A=kt(It.DayPeriods,it.Wide,Ct.Format,!0);break;case"BBBBB":A=kt(It.DayPeriods,it.Narrow,Ct.Format,!0);break;case"h":A=Ue(Mt.Hours,1,-12);break;case"hh":A=Ue(Mt.Hours,2,-12);break;case"H":A=Ue(Mt.Hours,1);break;case"HH":A=Ue(Mt.Hours,2);break;case"m":A=Ue(Mt.Minutes,1);break;case"mm":A=Ue(Mt.Minutes,2);break;case"s":A=Ue(Mt.Seconds,1);break;case"ss":A=Ue(Mt.Seconds,2);break;case"S":A=Ue(Mt.FractionalSeconds,1);break;case"SS":A=Ue(Mt.FractionalSeconds,2);break;case"SSS":A=Ue(Mt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":A=er(at.Short);break;case"ZZZZZ":A=er(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":A=er(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":A=er(at.Long);break;default:return null}return Vr[p]=A,A}(dn);nn+=Wt?Wt(G,C,bn):"''"===dn?"'":dn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),nn}function Rr(p,A,C){const I=new Date(0);return I.setFullYear(p,A,C),I.setHours(0,0,0),I}function Er(p,A){const C=function Ar(p){return(0,d.cg1)(p)[d.wAp.LocaleId]}(p);if(dt[C]=dt[C]||{},dt[C][A])return dt[C][A];let I="";switch(A){case"shortDate":I=Je(p,ln.Short);break;case"mediumDate":I=Je(p,ln.Medium);break;case"longDate":I=Je(p,ln.Long);break;case"fullDate":I=Je(p,ln.Full);break;case"shortTime":I=kr(p,ln.Short);break;case"mediumTime":I=kr(p,ln.Medium);break;case"longTime":I=kr(p,ln.Long);break;case"fullTime":I=kr(p,ln.Full);break;case"short":const G=Er(p,"shortTime"),le=Er(p,"shortDate");I=Xt(Gi(p,ln.Short),[G,le]);break;case"medium":const _e=Er(p,"mediumTime"),Ye=Er(p,"mediumDate");I=Xt(Gi(p,ln.Medium),[_e,Ye]);break;case"long":const bn=Er(p,"longTime"),nn=Er(p,"longDate");I=Xt(Gi(p,ln.Long),[bn,nn]);break;case"full":const dn=Er(p,"fullTime"),Wt=Er(p,"fullDate");I=Xt(Gi(p,ln.Full),[dn,Wt])}return I&&(dt[C][A]=I),I}function Xt(p,A){return A&&(p=p.replace(/\{([^}]+)}/g,function(C,I){return null!=A&&I in A?A[I]:C})),p}function cn(p,A,C="-",I,G){let le="";(p<0||G&&p<=0)&&(G?p=1-p:(p=-p,le=C));let _e=String(p);for(;_e.length<A;)_e="0"+_e;return I&&(_e=_e.slice(_e.length-A)),le+_e}function Ue(p,A,C=0,I=!1,G=!1){return function(le,_e){let Ye=function Di(p,A){switch(p){case Mt.FullYear:return A.getFullYear();case Mt.Month:return A.getMonth();case Mt.Date:return A.getDate();case Mt.Hours:return A.getHours();case Mt.Minutes:return A.getMinutes();case Mt.Seconds:return A.getSeconds();case Mt.FractionalSeconds:return A.getMilliseconds();case Mt.Day:return A.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}(p,le);if((C>0||Ye>-C)&&(Ye+=C),p===Mt.Hours)0===Ye&&-12===C&&(Ye=12);else if(p===Mt.FractionalSeconds)return function di(p,A){return cn(p,3).substring(0,A)}(Ye,A);const bn=Pn(_e,sn.MinusSign);return cn(Ye,A,bn,I,G)}}function kt(p,A,C=Ct.Format,I=!1){return function(G,le){return function Jn(p,A,C,I,G,le){switch(C){case It.Months:return function vn(p,A,C){const I=(0,d.cg1)(p),le=Hn([I[d.wAp.MonthsFormat],I[d.wAp.MonthsStandalone]],A);return Hn(le,C)}(A,G,I)[p.getMonth()];case It.Days:return function Xr(p,A,C){const I=(0,d.cg1)(p),le=Hn([I[d.wAp.DaysFormat],I[d.wAp.DaysStandalone]],A);return Hn(le,C)}(A,G,I)[p.getDay()];case It.DayPeriods:const _e=p.getHours(),Ye=p.getMinutes();if(le){const nn=function hn(p){const A=(0,d.cg1)(p);return wt(A),(A[d.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?Jr(I):[Jr(I[0]),Jr(I[1])])}(A),dn=function Zn(p,A,C){const I=(0,d.cg1)(p);wt(I);const le=Hn([I[d.wAp.ExtraData][0],I[d.wAp.ExtraData][1]],A)||[];return Hn(le,C)||[]}(A,G,I),Wt=nn.findIndex(Xn=>{if(Array.isArray(Xn)){const[Wn,Gr]=Xn,or=_e>=Wn.hours&&Ye>=Wn.minutes,ro=_e<Gr.hours||_e===Gr.hours&&Ye<Gr.minutes;if(Wn.hours<Gr.hours){if(or&&ro)return!0}else if(or||ro)return!0}else if(Xn.hours===_e&&Xn.minutes===Ye)return!0;return!1});if(-1!==Wt)return dn[Wt]}return function Or(p,A,C){const I=(0,d.cg1)(p),le=Hn([I[d.wAp.DayPeriodsFormat],I[d.wAp.DayPeriodsStandalone]],A);return Hn(le,C)}(A,G,I)[_e<12?0:1];case It.Eras:return function Lr(p,A){return Hn((0,d.cg1)(p)[d.wAp.Eras],A)}(A,I)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${C}`)}}(G,le,p,A,C,I)}}function er(p){return function(A,C,I){const G=-1*I,le=Pn(C,sn.MinusSign),_e=G>0?Math.floor(G/60):Math.ceil(G/60);switch(p){case at.Short:return(G>=0?"+":"")+cn(_e,2,le)+cn(Math.abs(G%60),2,le);case at.ShortGMT:return"GMT"+(G>=0?"+":"")+cn(_e,1,le);case at.Long:return"GMT"+(G>=0?"+":"")+cn(_e,2,le)+":"+cn(Math.abs(G%60),2,le);case at.Extended:return 0===I?"Z":(G>=0?"+":"")+cn(_e,2,le)+":"+cn(Math.abs(G%60),2,le);default:throw new Error(`Unknown zone width "${p}"`)}}}const Cr=0,Pr=4;function wr(p){return Rr(p.getFullYear(),p.getMonth(),p.getDate()+(Pr-p.getDay()))}function Ei(p,A=!1){return function(C,I){let G;if(A){const le=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,_e=C.getDate();G=1+Math.floor((_e+le)/7)}else{const le=wr(C),_e=function zn(p){const A=Rr(p,Cr,1).getDay();return Rr(p,0,1+(A<=Pr?Pr:Pr+7)-A)}(le.getFullYear()),Ye=le.getTime()-_e.getTime();G=1+Math.round(Ye/6048e5)}return cn(G,p,Pn(I,sn.MinusSign))}}function fi(p,A=!1){return function(C,I){return cn(wr(C).getFullYear(),p,Pn(I,sn.MinusSign),A)}}const Vr={};function Br(p,A){p=p.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(C)?A:C}function z(p){return p instanceof Date&&!isNaN(p.valueOf())}function An(p,A){A=encodeURIComponent(A);for(const C of p.split(";")){const I=C.indexOf("="),[G,le]=-1==I?[C,""]:[C.slice(0,I),C.slice(I+1)];if(G.trim()===A)return decodeURIComponent(le)}return null}const rn=/\s+/,Vt=[];let Bt=(()=>{class p{constructor(C,I,G,le){this._iterableDiffers=C,this._keyValueDiffers=I,this._ngEl=G,this._renderer=le,this.initialClasses=Vt,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(rn):Vt}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(rn):C}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const I of C)this._updateState(I,!0);else if(null!=C)for(const I of Object.keys(C))this._updateState(I,!!C[I]);this._applyStateDiff()}_updateState(C,I){const G=this.stateMap.get(C);void 0!==G?(G.enabled!==I&&(G.changed=!0,G.enabled=I),G.touched=!0):this.stateMap.set(C,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const I=C[0],G=C[1];G.changed?(this._toggleClass(I,G.enabled),G.changed=!1):G.touched||(G.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),G.touched=!1}}_toggleClass(C,I){(C=C.trim()).length>0&&C.split(rn).forEach(G=>{I?this._renderer.addClass(this._ngEl.nativeElement,G):this._renderer.removeClass(this._ngEl.nativeElement,G)})}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.ZZ4),d.Y36(d.aQg),d.Y36(d.SBq),d.Y36(d.Qsj))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return p})();class jn{constructor(A,C,I,G){this.$implicit=A,this.ngForOf=C,this.index=I,this.count=G}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let $n=(()=>{class p{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,I,G){this._viewContainer=C,this._template=I,this._differs=G,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const I=this._viewContainer;C.forEachOperation((G,le,_e)=>{if(null==G.previousIndex)I.createEmbeddedView(this._template,new jn(G.item,this._ngForOf,-1,-1),null===_e?void 0:_e);else if(null==_e)I.remove(null===le?void 0:le);else if(null!==le){const Ye=I.get(le);I.move(Ye,_e),qr(Ye,G)}});for(let G=0,le=I.length;G<le;G++){const Ye=I.get(G).context;Ye.index=G,Ye.count=le,Ye.ngForOf=this._ngForOf}C.forEachIdentityChange(G=>{qr(I.get(G.currentIndex),G)})}static ngTemplateContextGuard(C,I){return!0}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(d.ZZ4))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return p})();function qr(p,A){p.context.$implicit=A.item}let hi=(()=>{class p{constructor(C,I){this._viewContainer=C,this._context=new si,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){Wi("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){Wi("ngIfElse",C),this._elseTemplateRef=C,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 ngTemplateContextGuard(C,I){return!0}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.s_b),d.Y36(d.Rgc))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return p})();class si{constructor(){this.$implicit=null,this.ngIf=null}}function Wi(p,A){if(A&&!A.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,d.AaK)(A)}'.`)}class Io{constructor(A,C){this._viewContainerRef=A,this._templateRef=C,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let gr=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(C){this._ngSwitch=C,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(C){this._defaultViews.push(C)}_matchCase(C){const I=C==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(C){if(this._defaultViews.length>0&&C!==this._defaultUsed){this._defaultUsed=C;for(const I of this._defaultViews)I.enforceState(C)}}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return p})(),co=(()=>{class p{constructor(C,I,G){this.ngSwitch=G,G._addCase(),this._view=new Io(C,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(gr,9))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return p})(),br=(()=>{class p{constructor(C,I,G){G._addDefault(new Io(C,I))}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(gr,9))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return p})(),wi=(()=>{class p{constructor(C,I,G){this._ngEl=C,this._differs=I,this._renderer=G,this._ngStyle=null,this._differ=null}set ngStyle(C){this._ngStyle=C,!this._differ&&C&&(this._differ=this._differs.find(C).create())}ngDoCheck(){if(this._differ){const C=this._differ.diff(this._ngStyle);C&&this._applyChanges(C)}}_setStyle(C,I){const[G,le]=C.split("."),_e=-1===G.indexOf("-")?void 0:d.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,G,le?`${I}${le}`:I,_e):this._renderer.removeStyle(this._ngEl.nativeElement,G,_e)}_applyChanges(C){C.forEachRemovedItem(I=>this._setStyle(I.key,null)),C.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),C.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.SBq),d.Y36(d.aQg),d.Y36(d.Qsj))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return p})(),zo=(()=>{class p{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(C.ngTemplateOutlet||C.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:G,ngTemplateOutletContext:le,ngTemplateOutletInjector:_e}=this;this._viewRef=I.createEmbeddedView(G,le,_e?{injector:_e}:void 0)}else this._viewRef=null}else this._viewRef&&C.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.s_b))}}static{this.\u0275dir=d.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[d.TTD]})}}return p})();function ar(p,A){return new d.vHH(2100,!1)}class Ao{createSubscription(A,C){return(0,d.rg0)(()=>A.subscribe({next:C,error:I=>{throw I}}))}dispose(A){(0,d.rg0)(()=>A.unsubscribe())}}class Ri{createSubscription(A,C){return A.then(C,I=>{throw I})}dispose(A){}}const qo=new Ri,ai=new Ao;let Oo=(()=>{class p{constructor(C){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){return this._obj?C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue:(C&&this._subscribe(C),this._latestValue)}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,I=>this._updateLatestValue(C,I))}_selectStrategy(C){if((0,d.QGY)(C))return qo;if((0,d.F4k)(C))return ai;throw ar()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,I){C===this._obj&&(this._latestValue=I,this._ref.markForCheck())}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.sBO,16))}}static{this.\u0275pipe=d.Yjl({name:"async",type:p,pure:!1,standalone:!0})}}return p})(),pi=(()=>{class p{transform(C){if(null==C)return null;if("string"!=typeof C)throw ar();return C.toUpperCase()}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275pipe=d.Yjl({name:"uppercase",type:p,pure:!0,standalone:!0})}}return p})();const Jt=new d.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),nr=new d.OlP("DATE_PIPE_DEFAULT_OPTIONS");let ur=(()=>{class p{constructor(C,I,G){this.locale=C,this.defaultTimezone=I,this.defaultOptions=G}transform(C,I,G,le){if(null==C||""===C||C!=C)return null;try{return Un(C,I??this.defaultOptions?.dateFormat??"mediumDate",le||this.locale,G??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(_e){throw ar()}}static{this.\u0275fac=function(I){return new(I||p)(d.Y36(d.soG,16),d.Y36(Jt,24),d.Y36(nr,24))}}static{this.\u0275pipe=d.Yjl({name:"date",type:p,pure:!0,standalone:!0})}}return p})(),Mi=(()=>{class p{transform(C,I,G){if(null==C)return null;if(!this.supports(C))throw ar();return C.slice(I,G)}supports(C){return"string"==typeof C||Array.isArray(C)}static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275pipe=d.Yjl({name:"slice",type:p,pure:!1,standalone:!0})}}return p})(),Yi=(()=>{class p{static{this.\u0275fac=function(I){return new(I||p)}}static{this.\u0275mod=d.oAB({type:p})}static{this.\u0275inj=d.cJS({})}}return p})();const Gn="browser",lr="server";function go(p){return p===Gn}function mr(p){return p===lr}let Zi=(()=>{class p{static{this.\u0275prov=(0,d.Yz7)({token:p,providedIn:"root",factory:()=>new Fn((0,d.LFG)(Qe),window)})}}return p})();class Fn{constructor(A,C){this.document=A,this.window=C,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const C=function no(p,A){const C=p.getElementById(A)||p.getElementsByName(A)[0];if(C)return C;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let G=I.currentNode;for(;G;){const le=G.shadowRoot;if(le){const _e=le.getElementById(A)||le.querySelector(`[name="${A}"]`);if(_e)return _e}G=I.nextNode()}}return null}(this.document,A);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(A){this.supportsScrolling()&&(this.window.history.scrollRestoration=A)}scrollToElement(A){const C=A.getBoundingClientRect(),I=C.left+this.window.pageXOffset,G=C.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(I-le[0],G-le[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class rr{}},9862:(Nn,mt,fe)=>{"use strict";fe.d(mt,{JF:()=>X,LE:()=>ie,TP:()=>wt,WM:()=>Qt,eN:()=>yi});var d=fe(5879),H=fe(2096),Ae=fe(9666),Se=fe(5592),ze=fe(6328),Qe=fe(2181),et=fe(7398),Nt=fe(4716),Kn=fe(4664),Xe=fe(6814);class Tt{}class rt{}class Qt{constructor(R){this.normalizedNames=new Map,this.lazyUpdate=null,R?"string"==typeof R?this.lazyInit=()=>{this.headers=new Map,R.split("\n").forEach(L=>{const Q=L.indexOf(":");if(Q>0){const ae=L.slice(0,Q),Ie=ae.toLowerCase(),we=L.slice(Q+1).trim();this.maybeSetNormalizedName(ae,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(we):this.headers.set(Ie,[we])}})}:typeof Headers<"u"&&R instanceof Headers?(this.headers=new Map,R.forEach((L,Q)=>{this.setHeaderEntries(Q,L)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(R).forEach(([L,Q])=>{this.setHeaderEntries(L,Q)})}:this.headers=new Map}has(R){return this.init(),this.headers.has(R.toLowerCase())}get(R){this.init();const L=this.headers.get(R.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(R){return this.init(),this.headers.get(R.toLowerCase())||null}append(R,L){return this.clone({name:R,value:L,op:"a"})}set(R,L){return this.clone({name:R,value:L,op:"s"})}delete(R,L){return this.clone({name:R,value:L,op:"d"})}maybeSetNormalizedName(R,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,R)}init(){this.lazyInit&&(this.lazyInit instanceof Qt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(R=>this.applyUpdate(R)),this.lazyUpdate=null))}copyFrom(R){R.init(),Array.from(R.headers.keys()).forEach(L=>{this.headers.set(L,R.headers.get(L)),this.normalizedNames.set(L,R.normalizedNames.get(L))})}clone(R){const L=new Qt;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof Qt?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([R]),L}applyUpdate(R){const L=R.name.toLowerCase();switch(R.op){case"a":case"s":let Q=R.value;if("string"==typeof Q&&(Q=[Q]),0===Q.length)return;this.maybeSetNormalizedName(R.name,L);const ae=("a"===R.op?this.headers.get(L):void 0)||[];ae.push(...Q),this.headers.set(L,ae);break;case"d":const Ie=R.value;if(Ie){let we=this.headers.get(L);if(!we)return;we=we.filter(Ze=>-1===Ie.indexOf(Ze)),0===we.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,we)}else this.headers.delete(L),this.normalizedNames.delete(L)}}setHeaderEntries(R,L){const Q=(Array.isArray(L)?L:[L]).map(Ie=>Ie.toString()),ae=R.toLowerCase();this.headers.set(ae,Q),this.maybeSetNormalizedName(R,ae)}forEach(R){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>R(this.normalizedNames.get(L),this.headers.get(L)))}}class Vn{encodeKey(R){return Sn(R)}encodeValue(R){return Sn(R)}decodeKey(R){return decodeURIComponent(R)}decodeValue(R){return decodeURIComponent(R)}}const Ke=/%(\d[a-f0-9])/gi,Dn={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Sn(N){return encodeURIComponent(N).replace(Ke,(R,L)=>Dn[L]??R)}function Dt(N){return`${N}`}class ie{constructor(R={}){if(this.updates=null,this.cloneFrom=null,this.encoder=R.encoder||new Vn,R.fromString){if(R.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ve(N,R){const L=new Map;return N.length>0&&N.replace(/^\?/,"").split("&").forEach(ae=>{const Ie=ae.indexOf("="),[we,Ze]=-1==Ie?[R.decodeKey(ae),""]:[R.decodeKey(ae.slice(0,Ie)),R.decodeValue(ae.slice(Ie+1))],Oe=L.get(we)||[];Oe.push(Ze),L.set(we,Oe)}),L}(R.fromString,this.encoder)}else R.fromObject?(this.map=new Map,Object.keys(R.fromObject).forEach(L=>{const Q=R.fromObject[L],ae=Array.isArray(Q)?Q.map(Dt):[Dt(Q)];this.map.set(L,ae)})):this.map=null}has(R){return this.init(),this.map.has(R)}get(R){this.init();const L=this.map.get(R);return L?L[0]:null}getAll(R){return this.init(),this.map.get(R)||null}keys(){return this.init(),Array.from(this.map.keys())}append(R,L){return this.clone({param:R,value:L,op:"a"})}appendAll(R){const L=[];return Object.keys(R).forEach(Q=>{const ae=R[Q];Array.isArray(ae)?ae.forEach(Ie=>{L.push({param:Q,value:Ie,op:"a"})}):L.push({param:Q,value:ae,op:"a"})}),this.clone(L)}set(R,L){return this.clone({param:R,value:L,op:"s"})}delete(R,L){return this.clone({param:R,value:L,op:"d"})}toString(){return this.init(),this.keys().map(R=>{const L=this.encoder.encodeKey(R);return this.map.get(R).map(Q=>L+"="+this.encoder.encodeValue(Q)).join("&")}).filter(R=>""!==R).join("&")}clone(R){const L=new ie({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(R),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(R=>this.map.set(R,this.cloneFrom.map.get(R))),this.updates.forEach(R=>{switch(R.op){case"a":case"s":const L=("a"===R.op?this.map.get(R.param):void 0)||[];L.push(Dt(R.value)),this.map.set(R.param,L);break;case"d":if(void 0===R.value){this.map.delete(R.param);break}{let Q=this.map.get(R.param)||[];const ae=Q.indexOf(Dt(R.value));-1!==ae&&Q.splice(ae,1),Q.length>0?this.map.set(R.param,Q):this.map.delete(R.param)}}}),this.cloneFrom=this.updates=null)}}class Le{constructor(){this.map=new Map}set(R,L){return this.map.set(R,L),this}get(R){return this.map.has(R)||this.map.set(R,R.defaultValue()),this.map.get(R)}delete(R){return this.map.delete(R),this}has(R){return this.map.has(R)}keys(){return this.map.keys()}}function Ct(N){return typeof ArrayBuffer<"u"&&N instanceof ArrayBuffer}function it(N){return typeof Blob<"u"&&N instanceof Blob}function ln(N){return typeof FormData<"u"&&N instanceof FormData}class Mn{constructor(R,L,Q,ae){let Ie;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=R.toUpperCase(),function Fe(N){switch(N){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ae?(this.body=void 0!==Q?Q:null,Ie=ae):Ie=Q,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params)),this.headers||(this.headers=new Qt),this.context||(this.context=new Le),this.params){const we=this.params.toString();if(0===we.length)this.urlWithParams=L;else{const Ze=L.indexOf("?");this.urlWithParams=L+(-1===Ze?"?":Ze<L.length-1?"&":"")+we}}else this.params=new ie,this.urlWithParams=L}serializeBody(){return null===this.body?null:Ct(this.body)||it(this.body)||ln(this.body)||function sn(N){return typeof URLSearchParams<"u"&&N instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ln(this.body)?null:it(this.body)?this.body.type||null:Ct(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(R={}){const L=R.method||this.method,Q=R.url||this.url,ae=R.responseType||this.responseType,Ie=void 0!==R.body?R.body:this.body,we=void 0!==R.withCredentials?R.withCredentials:this.withCredentials,Ze=void 0!==R.reportProgress?R.reportProgress:this.reportProgress;let Oe=R.headers||this.headers,vt=R.params||this.params;const an=R.context??this.context;return void 0!==R.setHeaders&&(Oe=Object.keys(R.setHeaders).reduce((Yt,En)=>Yt.set(En,R.setHeaders[En]),Oe)),R.setParams&&(vt=Object.keys(R.setParams).reduce((Yt,En)=>Yt.set(En,R.setParams[En]),vt)),new Mn(L,Q,Ie,{params:vt,headers:Oe,context:an,reportProgress:Ze,responseType:ae,withCredentials:we})}}var Ar=function(N){return N[N.Sent=0]="Sent",N[N.UploadProgress=1]="UploadProgress",N[N.ResponseHeader=2]="ResponseHeader",N[N.DownloadProgress=3]="DownloadProgress",N[N.Response=4]="Response",N[N.User=5]="User",N}(Ar||{});class Or{constructor(R,L=200,Q="OK"){this.headers=R.headers||new Qt,this.status=void 0!==R.status?R.status:L,this.statusText=R.statusText||Q,this.url=R.url||null,this.ok=this.status>=200&&this.status<300}}class Xr extends Or{constructor(R={}){super(R),this.type=Ar.ResponseHeader}clone(R={}){return new Xr({headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class vn extends Or{constructor(R={}){super(R),this.type=Ar.Response,this.body=void 0!==R.body?R.body:null}clone(R={}){return new vn({body:void 0!==R.body?R.body:this.body,headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class Lr extends Or{constructor(R){super(R,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${R.url||"(unknown url)"}`:`Http failure response for ${R.url||"(unknown url)"}: ${R.status} ${R.statusText}`,this.error=R.error||null}}function oi(N,R){return{body:R,headers:N.headers,context:N.context,observe:N.observe,params:N.params,reportProgress:N.reportProgress,responseType:N.responseType,withCredentials:N.withCredentials}}let yi=(()=>{class N{constructor(L){this.handler=L}request(L,Q,ae={}){let Ie;if(L instanceof Mn)Ie=L;else{let Oe,vt;Oe=ae.headers instanceof Qt?ae.headers:new Qt(ae.headers),ae.params&&(vt=ae.params instanceof ie?ae.params:new ie({fromObject:ae.params})),Ie=new Mn(L,Q,void 0!==ae.body?ae.body:null,{headers:Oe,context:ae.context,params:vt,reportProgress:ae.reportProgress,responseType:ae.responseType||"json",withCredentials:ae.withCredentials})}const we=(0,H.of)(Ie).pipe((0,ze.b)(Oe=>this.handler.handle(Oe)));if(L instanceof Mn||"events"===ae.observe)return we;const Ze=we.pipe((0,Qe.h)(Oe=>Oe instanceof vn));switch(ae.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return Ze.pipe((0,et.U)(Oe=>{if(null!==Oe.body&&!(Oe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Oe.body}));case"blob":return Ze.pipe((0,et.U)(Oe=>{if(null!==Oe.body&&!(Oe.body instanceof Blob))throw new Error("Response is not a Blob.");return Oe.body}));case"text":return Ze.pipe((0,et.U)(Oe=>{if(null!==Oe.body&&"string"!=typeof Oe.body)throw new Error("Response is not a string.");return Oe.body}));default:return Ze.pipe((0,et.U)(Oe=>Oe.body))}case"response":return Ze;default:throw new Error(`Unreachable: unhandled observe type ${ae.observe}}`)}}delete(L,Q={}){return this.request("DELETE",L,Q)}get(L,Q={}){return this.request("GET",L,Q)}head(L,Q={}){return this.request("HEAD",L,Q)}jsonp(L,Q){return this.request("JSONP",L,{params:(new ie).append(Q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,Q={}){return this.request("OPTIONS",L,Q)}patch(L,Q,ae={}){return this.request("PATCH",L,oi(ae,Q))}post(L,Q,ae={}){return this.request("POST",L,oi(ae,Q))}put(L,Q,ae={}){return this.request("PUT",L,oi(ae,Q))}static{this.\u0275fac=function(Q){return new(Q||N)(d.LFG(Tt))}}static{this.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac})}}return N})();function Nr(N,R){return R(N)}function zr(N,R){return(L,Q)=>R.intercept(L,{handle:ae=>N(ae,Q)})}const wt=new d.OlP(""),hn=new d.OlP(""),Zn=new d.OlP("");function Bn(){let N=null;return(R,L)=>{null===N&&(N=((0,d.f3M)(wt,{optional:!0})??[]).reduceRight(zr,Nr));const Q=(0,d.f3M)(d.HDt),ae=Q.add();return N(R,L).pipe((0,Nt.x)(()=>Q.remove(ae)))}}let Hn=(()=>{class N extends Tt{constructor(L,Q){super(),this.backend=L,this.injector=Q,this.chain=null,this.pendingTasks=(0,d.f3M)(d.HDt)}handle(L){if(null===this.chain){const ae=Array.from(new Set([...this.injector.get(hn),...this.injector.get(Zn,[])]));this.chain=ae.reduceRight((Ie,we)=>function _r(N,R,L){return(Q,ae)=>L.runInContext(()=>R(Q,Ie=>N(Ie,ae)))}(Ie,we,this.injector),Nr)}const Q=this.pendingTasks.add();return this.chain(L,ae=>this.backend.handle(ae)).pipe((0,Nt.x)(()=>this.pendingTasks.remove(Q)))}static{this.\u0275fac=function(Q){return new(Q||N)(d.LFG(rt),d.LFG(d.lqb))}}static{this.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac})}}return N})();const Rr=/^\)\]\}',?\n/;let Xt=(()=>{class N{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new d.vHH(-2800,!1);const Q=this.xhrFactory;return(Q.\u0275loadImpl?(0,Ae.D)(Q.\u0275loadImpl()):(0,H.of)(null)).pipe((0,Kn.w)(()=>new Se.y(Ie=>{const we=Q.build();if(we.open(L.method,L.urlWithParams),L.withCredentials&&(we.withCredentials=!0),L.headers.forEach((Vt,Bt)=>we.setRequestHeader(Vt,Bt.join(","))),L.headers.has("Accept")||we.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Vt=L.detectContentTypeHeader();null!==Vt&&we.setRequestHeader("Content-Type",Vt)}if(L.responseType){const Vt=L.responseType.toLowerCase();we.responseType="json"!==Vt?Vt:"text"}const Ze=L.serializeBody();let Oe=null;const vt=()=>{if(null!==Oe)return Oe;const Vt=we.statusText||"OK",Bt=new Qt(we.getAllResponseHeaders()),tr=function Er(N){return"responseURL"in N&&N.responseURL?N.responseURL:/^X-Request-URL:/m.test(N.getAllResponseHeaders())?N.getResponseHeader("X-Request-URL"):null}(we)||L.url;return Oe=new Xr({headers:Bt,status:we.status,statusText:Vt,url:tr}),Oe},an=()=>{let{headers:Vt,status:Bt,statusText:tr,url:Hr}=vt(),jn=null;204!==Bt&&(jn=typeof we.response>"u"?we.responseText:we.response),0===Bt&&(Bt=jn?200:0);let $n=Bt>=200&&Bt<300;if("json"===L.responseType&&"string"==typeof jn){const qr=jn;jn=jn.replace(Rr,"");try{jn=""!==jn?JSON.parse(jn):null}catch(Mr){jn=qr,$n&&($n=!1,jn={error:Mr,text:jn})}}$n?(Ie.next(new vn({body:jn,headers:Vt,status:Bt,statusText:tr,url:Hr||void 0})),Ie.complete()):Ie.error(new Lr({error:jn,headers:Vt,status:Bt,statusText:tr,url:Hr||void 0}))},Yt=Vt=>{const{url:Bt}=vt(),tr=new Lr({error:Vt,status:we.status||0,statusText:we.statusText||"Unknown Error",url:Bt||void 0});Ie.error(tr)};let En=!1;const An=Vt=>{En||(Ie.next(vt()),En=!0);let Bt={type:Ar.DownloadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Bt.total=Vt.total),"text"===L.responseType&&we.responseText&&(Bt.partialText=we.responseText),Ie.next(Bt)},rn=Vt=>{let Bt={type:Ar.UploadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Bt.total=Vt.total),Ie.next(Bt)};return we.addEventListener("load",an),we.addEventListener("error",Yt),we.addEventListener("timeout",Yt),we.addEventListener("abort",Yt),L.reportProgress&&(we.addEventListener("progress",An),null!==Ze&&we.upload&&we.upload.addEventListener("progress",rn)),we.send(Ze),Ie.next({type:Ar.Sent}),()=>{we.removeEventListener("error",Yt),we.removeEventListener("abort",Yt),we.removeEventListener("load",an),we.removeEventListener("timeout",Yt),L.reportProgress&&(we.removeEventListener("progress",An),null!==Ze&&we.upload&&we.upload.removeEventListener("progress",rn)),we.readyState!==we.DONE&&we.abort()}})))}static{this.\u0275fac=function(Q){return new(Q||N)(d.LFG(Xe.JF))}}static{this.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac})}}return N})();const cn=new d.OlP("XSRF_ENABLED"),Ue=new d.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new d.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Jn{}let er=(()=>{class N{constructor(L,Q,ae){this.doc=L,this.platform=Q,this.cookieName=ae,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Xe.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}static{this.\u0275fac=function(Q){return new(Q||N)(d.LFG(Xe.K0),d.LFG(d.Lbi),d.LFG(Ue))}}static{this.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac})}}return N})();function Cr(N,R){const L=N.url.toLowerCase();if(!(0,d.f3M)(cn)||"GET"===N.method||"HEAD"===N.method||L.startsWith("http://")||L.startsWith("https://"))return R(N);const Q=(0,d.f3M)(Jn).getToken(),ae=(0,d.f3M)(kt);return null!=Q&&!N.headers.has(ae)&&(N=N.clone({headers:N.headers.set(ae,Q)})),R(N)}var zn=function(N){return N[N.Interceptors=0]="Interceptors",N[N.LegacyInterceptors=1]="LegacyInterceptors",N[N.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",N[N.NoXsrfProtection=3]="NoXsrfProtection",N[N.JsonpSupport=4]="JsonpSupport",N[N.RequestsMadeViaParent=5]="RequestsMadeViaParent",N[N.Fetch=6]="Fetch",N}(zn||{});function wr(N,R){return{\u0275kind:N,\u0275providers:R}}function Ei(...N){const R=[yi,Xt,Hn,{provide:Tt,useExisting:Hn},{provide:rt,useExisting:Xt},{provide:hn,useValue:Cr,multi:!0},{provide:cn,useValue:!0},{provide:Jn,useClass:er}];for(const L of N)R.push(...L.\u0275providers);return(0,d.MR2)(R)}const Vr=new d.OlP("LEGACY_INTERCEPTOR_FN");let X=(()=>{class N{static{this.\u0275fac=function(Q){return new(Q||N)}}static{this.\u0275mod=d.oAB({type:N})}static{this.\u0275inj=d.cJS({providers:[Ei(wr(zn.LegacyInterceptors,[{provide:Vr,useFactory:Bn},{provide:hn,useExisting:Vr,multi:!0}]))]})}}return N})()},5879:(Nn,mt,fe)=>{"use strict";fe.d(mt,{$8M:()=>bc,$WT:()=>qi,$Z:()=>dp,AFp:()=>Rh,ALo:()=>qD,AaK:()=>rt,BQk:()=>Ip,CHM:()=>on,CRH:()=>dE,DdM:()=>BD,Dn7:()=>ZD,EJc:()=>Eb,EiD:()=>id,EpF:()=>Jy,F$t:()=>s_,F4k:()=>e_,FYo:()=>Bh,FiY:()=>wu,G48:()=>oS,Gf:()=>lE,GfV:()=>Uh,GkF:()=>Km,Gpc:()=>Vn,Gre:()=>H_,HDt:()=>xE,Hsn:()=>a_,IyS:()=>j_,JOm:()=>Dl,JVY:()=>Lg,JZr:()=>Dt,Jf7:()=>Wl,KtG:()=>tl,L6k:()=>kg,LAX:()=>Bg,LFG:()=>pt,LSH:()=>Ya,Lbi:()=>fd,Lck:()=>dM,MAs:()=>Zy,MMx:()=>ND,MR2:()=>ad,MT6:()=>U_,NdJ:()=>Qm,O4$:()=>hu,Ojb:()=>hd,OlP:()=>Ue,Oqu:()=>sv,P3R:()=>Mh,PXZ:()=>Zb,Q6J:()=>zm,QGY:()=>Zm,QbO:()=>$u,Qsj:()=>cm,R0b:()=>Ni,RDi:()=>Ag,Rgc:()=>Jd,SBq:()=>qu,Sil:()=>Mb,Suo:()=>cE,TTD:()=>Wt,TgZ:()=>Mp,Tol:()=>w_,Udp:()=>rv,VKq:()=>HD,VuI:()=>PS,W1O:()=>gE,WLB:()=>UD,X6Q:()=>iS,XFs:()=>at,Xpm:()=>Ri,Xq5:()=>xy,Xts:()=>Uu,Y36:()=>iu,YKP:()=>AD,YNc:()=>qy,Yjl:()=>Ro,Yz7:()=>wt,Z0I:()=>Hn,ZZ4:()=>Hv,_Bn:()=>TD,_UZ:()=>Ym,_Vd:()=>Oi,_c5:()=>ES,_uU:()=>O_,aQg:()=>Uv,c2e:()=>PE,cJS:()=>Zn,cg1:()=>av,dDg:()=>zb,dqk:()=>Xt,eBb:()=>Vg,eFA:()=>GE,eJc:()=>Mv,ekj:()=>iv,eoX:()=>HE,f3M:()=>je,g9A:()=>Ph,h0i:()=>Xu,hGG:()=>CS,hij:()=>Op,iGM:()=>uE,ifc:()=>we,ip1:()=>RE,jDz:()=>RD,kL8:()=>eD,kcU:()=>mc,lG2:()=>pi,lcZ:()=>YD,lqb:()=>ws,lri:()=>VE,mCW:()=>Fl,n5z:()=>Ef,oAB:()=>fo,oJD:()=>Ch,oxw:()=>o_,pB0:()=>Hg,q3G:()=>Ea,qFp:()=>FS,qLn:()=>ta,qOj:()=>Vm,qZA:()=>bp,qzn:()=>qa,rWj:()=>BE,rg0:()=>le,s9C:()=>Xm,sBO:()=>sS,s_b:()=>kp,soG:()=>Bp,tb:()=>xv,tp0:()=>gl,uIk:()=>Hm,vHH:()=>ie,vpe:()=>Ms,wAp:()=>sc,xi3:()=>KD,xp6:()=>lp,ynx:()=>Sp,z2F:()=>cc,z3N:()=>Rs,zSh:()=>Cs,zs3:()=>rs});var d=fe(8645),H=fe(7394),Ae=fe(5592),Se=fe(3019),ze=fe(5619),Qe=fe(2096),et=fe(3020),Nt=fe(4664),Kn=fe(3997);function Xe(e){for(let t in e)if(e[t]===Xe)return t;throw Error("Could not find renamed property on target object.")}function Tt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Qt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Rn=Xe({__forward_ref__:Xe});function Vn(e){return e.__forward_ref__=Vn,e.toString=function(){return rt(this())},e}function Ve(e){return Ke(e)?e():e}function Ke(e){return"function"==typeof e&&e.hasOwnProperty(Rn)&&e.__forward_ref__===Vn}function Dn(e){return e&&!!e.\u0275providers}const Dt="https://g.co/ng/security#xss";class ie extends Error{constructor(t,n){super(function ht(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Le(e){return"string"==typeof e?e:null==e?"":String(e)}function sn(e,t){throw new ie(-201,!1)}function yn(e,t){null==e&&function qe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function wt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bn(e){return Jr(e,ei)||Jr(e,dt)}function Hn(e){return null!==Bn(e)}function Jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function _i(e){return e&&(e.hasOwnProperty(In)||e.hasOwnProperty(Tn))?e[In]:null}const ei=Xe({\u0275prov:Xe}),In=Xe({\u0275inj:Xe}),dt=Xe({ngInjectableDef:Xe}),Tn=Xe({ngInjectorDef:Xe});var at=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(at||{});let Mt;function Un(e){const t=Mt;return Mt=e,t}function Rr(e,t,n){const r=Bn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&at.Optional?null:void 0!==t?t:void sn(rt(e))}const Xt=globalThis;class Ue{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=wt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const qn={},Br="__NG_DI_FLAG__",ti="ngTempTokenPath",me=/\n/gm,z="__source";let X;function Re(e){const t=X;return X=e,t}function tt(e,t=at.Default){if(void 0===X)throw new ie(-203,!1);return null===X?Rr(e,void 0,t):X.get(e,t&at.Optional?null:void 0,t)}function pt(e,t=at.Default){return(function It(){return Mt}()||tt)(Ve(e),t)}function je(e,t=at.Default){return pt(e,re(t))}function re(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function J(e){const t=[];for(let n=0;n<e.length;n++){const r=Ve(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ie(900,!1);let o,a=at.Default;for(let u=0;u<r.length;u++){const h=r[u],v=R(h);"number"==typeof v?-1===v?o=h.token:a|=v:o=h}t.push(pt(o,a))}else t.push(pt(r))}return t}function N(e,t){return e[Br]=t,e.prototype[Br]=t,e}function R(e){return e[Br]}function ae(e){return{toString:e}.toString()}var Ie=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ie||{}),we=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(we||{});const Ze={},Oe=[],vt=Xe({\u0275cmp:Xe}),an=Xe({\u0275dir:Xe}),Yt=Xe({\u0275pipe:Xe}),En=Xe({\u0275mod:Xe}),An=Xe({\u0275fac:Xe}),rn=Xe({__NG_ELEMENT_ID__:Xe}),Vt=Xe({__NG_ENV_ID__:Xe});function Bt(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}function tr(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const a=n[r++],u=n[r++],h=n[r++];e.setAttribute(t,u,h,a)}else{const a=o,u=n[++r];jn(a)?e.setProperty(t,a,u):e.setAttribute(t,a,u),r++}}return r}function Hr(e){return 3===e||4===e||6===e}function jn(e){return 64===e.charCodeAt(0)}function $n(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||qr(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function qr(e,t,n,r,o){let a=0,u=e.length;if(-1===t)u=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){u=-1;break}if(h>t){u=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==u&&(e.splice(u,0,t),a=u+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}const Mr="ng-template";function hi(e,t,n){let r=0,o=!0;for(;r<e.length;){let a=e[r++];if("string"==typeof a&&o){const u=e[r++];if(n&&"class"===a&&-1!==Bt(u.toLowerCase(),t,0))return!0}else{if(1===a){for(;r<e.length&&"string"==typeof(a=e[r++]);)if(a.toLowerCase()===t)return!0;return!1}"number"==typeof a&&(o=!1)}}return!1}function si(e){return 4===e.type&&e.value!==Mr}function Wi(e,t,n){return t===(4!==e.type||n?e.value:Mr)}function Io(e,t,n){let r=4;const o=e.attrs||[],a=function Ci(e){for(let t=0;t<e.length;t++)if(Hr(e[t]))return t;return e.length}(o);let u=!1;for(let h=0;h<t.length;h++){const v=t[h];if("number"!=typeof v){if(!u)if(4&r){if(r=2|1&r,""!==v&&!Wi(e,v,n)||""===v&&1===t.length){if(gr(r))return!1;u=!0}}else{const M=8&r?v:t[++h];if(8&r&&null!==e.attrs){if(!hi(e.attrs,M,n)){if(gr(r))return!1;u=!0}continue}const $=co(8&r?"class":v,o,si(e),n);if(-1===$){if(gr(r))return!1;u=!0;continue}if(""!==M){let te;te=$>a?"":o[$+1].toLowerCase();const se=8&r?te:null;if(se&&-1!==Bt(se,M,0)||2&r&&M!==te){if(gr(r))return!1;u=!0}}}}else{if(!u&&!gr(r)&&!gr(v))return!1;if(u&&gr(v))continue;u=!1,r=v|1&r}}return gr(r)||u}function gr(e){return 0==(1&e)}function co(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const u=t[o];if(u===e)return o;if(3===u||6===u)a=!0;else{if(1===u||2===u){let h=t[++o];for(;"string"==typeof h;)h=t[++o];continue}if(4===u)break;if(0===u){o+=4;continue}}o+=a?1:2}return-1}return function Wo(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function br(e,t,n=!1){for(let r=0;r<t.length;r++)if(Io(e,t[r],n))return!0;return!1}function wi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function zo(e,t){return e?":not("+t.trim()+")":t}function To(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const h=e[++n];o+="["+u+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?o+="."+u:4&r&&(o+=" "+u);else""!==o&&!gr(u)&&(t+=zo(a,o),o=""),r=u,a=a||!gr(r);n++}return""!==o&&(t+=zo(a,o)),t}function Ri(e){return ae(()=>{const t=Yo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ie.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||we.Emulated,styles:e.styles||Oe,_:null,schemas:e.schemas||null,tView:null,id:""};ho(n);const r=e.dependencies;return n.directiveDefs=Pi(r,!1),n.pipeDefs=Pi(r,!0),n.id=function po(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ai(e){return Jt(e)||nr(e)}function Oo(e){return null!==e}function fo(e){return ae(()=>({type:e.type,bootstrap:e.bootstrap||Oe,declarations:e.declarations||Oe,imports:e.imports||Oe,exports:e.exports||Oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function No(e,t){if(null==e)return Ze;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}function pi(e){return ae(()=>{const t=Yo(e);return ho(t),t})}function Ro(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Jt(e){return e[vt]||null}function nr(e){return e[an]||null}function ur(e){return e[Yt]||null}function qi(e){const t=Jt(e)||nr(e)||ur(e);return null!==t&&t.standalone}function xr(e,t){const n=e[En]||null;if(!n&&!0===t)throw new Error(`Type ${rt(e)} does not have '\u0275mod' property.`);return n}function Yo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ze,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:No(e.inputs,t),outputs:No(e.outputs)}}function ho(e){e.features?.forEach(t=>t(e))}function Pi(e,t){if(!e)return null;const n=t?ur:ai;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Oo)}const xn=0,Be=1,yt=2,ft=3,jt=4,Mi=5,Fr=6,Yi=7,Gn=8,lr=9,Ki=10,ut=11,go=12,mr=13,mo=14,un=15,Po=16,Zi=17,Fn=18,no=19,xo=20,rr=21,ui=22,Ln=23,xi=24,gt=25,Sr=1,Qi=2,Yr=7,Ur=9,Ft=11;function Qn(e){return Array.isArray(e)&&"object"==typeof e[Sr]}function cr(e){return Array.isArray(e)&&!0===e[Sr]}function Lo(e){return 0!=(4&e.flags)}function ko(e){return e.componentOffset>-1}function hs(e){return 1==(1&e.flags)}function Si(e){return!!e.template}function Ko(e){return 0!=(512&e[yt])}function U(e,t){return e.hasOwnProperty(An)?e[An]:null}let pe=null,ke=!1;function Pe(e){const t=pe;return pe=e,t}const Gt={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function lt(e){if(!$r(e)||e.dirty){if(!e.producerMustRecompute(e)&&!jr(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Cn(e){e.dirty=!0,function Et(e){if(void 0===e.liveConsumerNode)return;const t=ke;ke=!0;try{for(const n of e.liveConsumerNode)n.dirty||Cn(n)}finally{ke=t}}(e),e.consumerMarkedDirty?.(e)}function vr(e){return e&&(e.nextProducerIndex=0),Pe(e)}function Kr(e,t){if(Pe(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if($r(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Zr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function jr(e){ne(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(lt(n),r!==n.version))return!0}return!1}function Xo(e){if(ne(e),$r(e))for(let t=0;t<e.producerNode.length;t++)Zr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Zr(e,t){if(function ve(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ne(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Zr(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];ne(o),o.producerIndexOfThis[r]=t}}function $r(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ne(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let nt=null;function le(e){const t=Pe(null);try{return e()}finally{Pe(t)}}const Ye=()=>{},bn=(()=>({...Gt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ye}))();class dn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Wt(){return Xn}function Xn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gr),Wn}function Wn(){const e=ro(this),t=e?.current;if(t){const n=e.previous;if(n===Ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gr(e,t,n,r){const o=this.declaredInputs[n],a=ro(e)||function io(e,t){return e[or]=t}(e,{previous:Ze,current:null}),u=a.current||(a.current={}),h=a.previous,v=h[o];u[o]=new dn(v&&v.currentValue,t,h===Ze),e[r]=t}Wt.ngInherit=!0;const or="__ngSimpleChanges__";function ro(e){return e[or]||null}const li=function(e,t,n){},Jo="svg";function Yn(e){for(;Array.isArray(e);)e=e[xn];return e}function ps(e,t){return Yn(t[e])}function ki(e,t){return Yn(t[e.index])}function uu(e,t){return e.data[t]}function Xi(e,t){return e[t]}function On(e,t){const n=t[e];return Qn(n)?n:n[xn]}function es(e,t){return null==t?null:e[t]}function lu(e){e[Zi]=0}function aa(e){1024&e[yt]||(e[yt]|=1024,Ta(e,1))}function Us(e){1024&e[yt]&&(e[yt]&=-1025,Ta(e,-1))}function Ta(e,t){let n=e[ft];if(null===n)return;n[Mi]+=t;let r=n;for(n=n[ft];null!==n&&(1===t&&1===r[Mi]||-1===t&&0===r[Mi]);)n[Mi]+=t,r=n,n=n[ft]}const St={lFrame:lf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cu(){return St.bindingsEnabled}function Gs(){return null!==St.skipHydrationRootTNode}function Me(){return St.lFrame.lView}function Ut(){return St.lFrame.tView}function on(e){return St.lFrame.contextLView=e,e[Gn]}function tl(e){return St.lFrame.contextLView=null,e}function Ii(){let e=gc();for(;null!==e&&64===e.type;)e=e.parent;return e}function gc(){return St.lFrame.currentTNode}function cs(e,t){const n=St.lFrame;n.currentTNode=e,n.isParent=t}function nl(){return St.lFrame.isParent}function rl(){St.lFrame.isParent=!1}function y(){const e=St.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function b(){return St.lFrame.bindingIndex}function W(){return St.lFrame.bindingIndex++}function he(e){const t=St.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function en(e,t){const n=St.lFrame;n.bindingIndex=n.bindingRootIndex=e,gn(t)}function gn(e){St.lFrame.currentDirectiveIndex=e}function Do(){return St.lFrame.currentQueryIndex}function Is(e){St.lFrame.currentQueryIndex=e}function du(e){const t=e[Be];return 2===t.type?t.declTNode:1===t.type?e[Fr]:null}function mi(e,t,n){if(n&at.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&at.Host||(o=du(a),null===o||(a=a[mo],10&o.type))););if(null===o)return!1;t=o,e=a}const r=St.lFrame=uf();return r.currentTNode=t,r.lView=e,!0}function fu(e){const t=uf(),n=e[Be];St.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function uf(){const e=St.lFrame,t=null===e?null:e.child;return null===t?lf(e):t}function lf(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cf(){const e=St.lFrame;return St.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const df=cf;function il(){const e=cf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function oo(){return St.lFrame.selectedIndex}function Ts(e){St.lFrame.selectedIndex=e}function fr(){const e=St.lFrame;return uu(e.tView,e.selectedIndex)}function hu(){St.lFrame.currentNamespace=Jo}function mc(){!function qp(){St.lFrame.currentNamespace=null}()}let ol=!0;function ms(){return ol}function vi(e){ol=e}function pu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:h,ngAfterViewInit:v,ngAfterViewChecked:M,ngOnDestroy:x}=a;u&&(e.contentHooks??=[]).push(-n,u),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),v&&(e.viewHooks??=[]).push(-n,v),M&&((e.viewHooks??=[]).push(n,M),(e.viewCheckHooks??=[]).push(n,M)),null!=x&&(e.destroyHooks??=[]).push(n,x)}}function gu(e,t,n){vc(e,t,3,n)}function zs(e,t,n,r){(3&e[yt])===n&&vc(e,t,n,r)}function vs(e,t){let n=e[yt];(3&n)===t&&(n&=8191,n+=1,e[yt]=n)}function vc(e,t,n,r){const a=r??-1,u=t.length-1;let h=0;for(let v=void 0!==r?65535&e[Zi]:0;v<u;v++)if("number"==typeof t[v+1]){if(h=t[v],null!=r&&h>=r)break}else t[v]<0&&(e[Zi]+=65536),(h<a||-1==a)&&(sl(e,n,t,v),e[Zi]=(4294901760&e[Zi])+v+2),v++}function hf(e,t){li(4,e,t);const n=Pe(null);try{t.call(e)}finally{Pe(n),li(5,e,t)}}function sl(e,t,n,r){const o=n[r]<0,a=n[r+1],h=e[o?-n[r]:n[r]];o?e[yt]>>13<e[Zi]>>16&&(3&e[yt])===t&&(e[yt]+=8192,hf(h,a)):hf(h,a)}const Ra=-1;class Pa{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Hi(e){return e!==Ra}function la(e){return 32767&e}function mu(e,t){let n=function Zp(e){return e>>16}(e),r=t;for(;n>0;)r=r[mo],n--;return r}let _c=!0;function Fa(e){const t=_c;return _c=e,t}const La=255,Dc=5;let Qp=0;const ys={};function ll(e,t){const n=cl(e,t);if(-1!==n)return n;const r=t[Be];r.firstCreatePass&&(e.injectorIndex=t.length,Ec(r.data,e),Ec(t,null),Ec(r.blueprint,null));const o=yu(e,t),a=e.injectorIndex;if(Hi(o)){const u=la(o),h=mu(o,t),v=h[Be].data;for(let M=0;M<8;M++)t[a+M]=h[u+M]|v[u+M]}return t[a+8]=o,a}function Ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function yu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=fl(o),null===r)return Ra;if(n++,o=o[mo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ra}function Cc(e,t,n){!function vu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(rn)&&(r=n[rn]),null==r&&(r=n[rn]=Qp++);const o=r&La;t.data[e+(o>>Dc)]|=1<<o}(e,t,n)}function gf(e,t,n){if(n&at.Optional||void 0!==e)return e;sn()}function wc(e,t,n,r){if(n&at.Optional&&void 0===r&&(r=null),!(n&(at.Self|at.Host))){const o=e[lr],a=Un(void 0);try{return o?o.get(t,r,n&at.Optional):Rr(t,r,n&at.Optional)}finally{Un(a)}}return gf(r,0,n)}function dl(e,t,n,r=at.Default,o){if(null!==e){if(2048&t[yt]&&!(r&at.Self)){const u=function Cf(e,t,n,r,o){let a=e,u=t;for(;null!==a&&null!==u&&2048&u[yt]&&!(512&u[yt]);){const h=mf(a,u,n,r|at.Self,ys);if(h!==ys)return h;let v=a.parent;if(!v){const M=u[xo];if(M){const x=M.get(n,ys,r);if(x!==ys)return x}v=fl(u),u=u[mo]}a=v}return o}(e,t,n,r,ys);if(u!==ys)return u}const a=mf(e,t,n,r,ys);if(a!==ys)return a}return wc(t,n,r,o)}function mf(e,t,n,r,o){const a=function vf(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rn)?e[rn]:void 0;return"number"==typeof t?t>=0?t&La:Df:t}(n);if("function"==typeof a){if(!mi(t,e,r))return r&at.Host?gf(o,0,r):wc(t,n,r,o);try{let u;if(u=a(r),null!=u||r&at.Optional)return u;sn()}finally{df()}}else if("number"==typeof a){let u=null,h=cl(e,t),v=Ra,M=r&at.Host?t[un][Fr]:null;for((-1===h||r&at.SkipSelf)&&(v=-1===h?yu(e,t):t[h+8],v!==Ra&&yf(r,!1)?(u=t[Be],h=la(v),t=mu(v,t)):h=-1);-1!==h;){const x=t[Be];if(Du(a,h,x.data)){const $=Mc(h,t,n,u,r,M);if($!==ys)return $}v=t[h+8],v!==Ra&&yf(r,t[Be].data[h+8]===M)&&Du(a,h,t)?(u=x,h=la(v),t=mu(v,t)):h=-1}}return o}function Mc(e,t,n,r,o,a){const u=t[Be],h=u.data[e+8],x=_u(h,u,n,null==r?ko(h)&&_c:r!=u&&0!=(3&h.type),o&at.Host&&a===h);return null!==x?qs(t,u,x,h):ys}function _u(e,t,n,r,o){const a=e.providerIndexes,u=t.data,h=1048575&a,v=e.directiveStart,x=a>>20,te=o?h+x:e.directiveEnd;for(let se=r?h:h+x;se<te;se++){const De=u[se];if(se<v&&n===De||se>=v&&De.type===n)return se}if(o){const se=u[v];if(se&&Si(se)&&se.type===n)return v}return null}function qs(e,t,n,r){let o=e[n];const a=t.data;if(function Bi(e){return e instanceof Pa}(o)){const u=o;u.resolving&&function Ct(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ie(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Le(e)}(a[n]));const h=Fa(u.canSeeViewProviders);u.resolving=!0;const M=u.injectImpl?Un(u.injectImpl):null;mi(e,r,at.Default);try{o=e[n]=u.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Yp(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const u=Xn(t);(n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u)}o&&(n.preOrderHooks??=[]).push(0-e,o),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==M&&Un(M),Fa(h),u.resolving=!1,df()}}return o}function Du(e,t,n){return!!(n[t+(e>>Dc)]&1<<e)}function yf(e,t){return!(e&at.Self||e&at.Host&&t)}class so{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dl(this._tNode,this._lView,t,re(r),n)}}function Df(){return new so(Ii(),Me())}function Ef(e){return ae(()=>{const t=e.prototype.constructor,n=t[An]||Eu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[An]||Eu(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function Eu(e){return Ke(e)?()=>{const t=Eu(Ve(e));return t&&t()}:U(e)}function fl(e){const t=e[Be],n=t.type;return 2===n?t.declTNode:1===n?e[Fr]:null}function bc(e){return function Xp(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(Hr(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(Ii(),e)}const Kt="__parameters__";function da(e,t,n){return ae(()=>{const r=function ca(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const u=new o(...a);return h.annotation=u,h;function h(v,M,x){const $=v.hasOwnProperty(Kt)?v[Kt]:Object.defineProperty(v,Kt,{value:[]})[Kt];for(;$.length<=x;)$.push(null);return($[x]=$[x]||[]).push(u),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Zs(e,t){e.forEach(n=>Array.isArray(n)?Zs(n,t):t(n))}function pl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cu(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ho(e,t,n){let r=Ha(e,t);return r>=0?e[1|r]=n:(r=~r,function bf(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ac(e,t){const n=Ha(e,t);if(n>=0)return e[1|n]}function Ha(e,t){return function Oc(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),u=e[a<<n];if(t===u)return a<<n;u>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const wu=N(da("Optional"),8),gl=N(da("SkipSelf"),4);function yl(e){return 128==(128&e.flags)}var Dl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Dl||{});const Ns=/^>|^->|<!--|-->|--!>|<!-$/g,ao=/(<|>)/g,Uc="\u200b$1\u200b";const Tu=new Map;let lg=0;const El="__ngContext__";function ji(e,t){Qn(t)?(e[El]=t[no],function Au(e){Tu.set(e[no],e)}(t)):e[El]=t}let qc;function bl(e,t){return qc(e,t)}function Ru(e){const t=e[ft];return cr(t)?t[ft]:t}function zf(e){return Yf(e[go])}function qf(e){return Yf(e[jt])}function Yf(e){for(;null!==e&&!cr(e);)e=e[jt];return e}function Wa(e,t,n,r,o){if(null!=r){let a,u=!1;cr(r)?a=r:Qn(r)&&(u=!0,r=r[xn]);const h=Yn(r);0===e&&null!==n?null==o?th(t,n,h):ya(t,n,h,o||null,!0):1===e&&null!==n?ya(t,n,h,o||null,!0):2===e?function Nl(e,t,n){const r=Tl(e,t);r&&function Dg(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,u):3===e&&t.destroyNode(h),null!=a&&function wg(e,t,n,r,o){const a=n[Yr];a!==Yn(n)&&Wa(t,e,r,a,o);for(let h=Ft;h<n.length;h++){const v=n[h];Fu(v[Be],v,e,t,r,a)}}(t,e,a,n,o)}}function Yc(e,t){return e.createComment(function jf(e){return e.replace(Ns,t=>t.replace(ao,Uc))}(t))}function Pu(e,t,n){return e.createElement(t,n)}function Jf(e,t){const n=e[Ur],r=n.indexOf(t);Us(t),n.splice(r,1)}function Il(e,t){if(e.length<=Ft)return;const n=Ft+t,r=e[n];if(r){const o=r[Po];null!==o&&o!==e&&Jf(o,r),t>0&&(e[n-1][jt]=r[jt]);const a=fs(e,Ft+t);!function Zf(e,t){Fu(e,t,t[ut],2,null,null),t[xn]=null,t[Fr]=null}(r[Be],r);const u=a[Fn];null!==u&&u.detachView(a[Be]),r[ft]=null,r[jt]=null,r[yt]&=-129}return r}function Kc(e,t){if(!(256&t[yt])){const n=t[ut];t[Ln]&&Xo(t[Ln]),t[xi]&&Xo(t[xi]),n.destroyNode&&Fu(e,t,n,3,null,null),function mg(e){let t=e[go];if(!t)return Zc(e[Be],e);for(;t;){let n=null;if(Qn(t))n=t[go];else{const r=t[Ft];r&&(n=r)}if(!n){for(;t&&!t[jt]&&t!==e;)Qn(t)&&Zc(t[Be],t),t=t[ft];null===t&&(t=e),Qn(t)&&Zc(t[Be],t),n=t&&t[jt]}t=n}}(t)}}function Zc(e,t){if(!(256&t[yt])){t[yt]&=-129,t[yt]|=256,function _g(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Pa)){const a=n[r+1];if(Array.isArray(a))for(let u=0;u<a.length;u+=2){const h=o[a[u]],v=a[u+1];li(4,h,v);try{v.call(h)}finally{li(5,h,v)}}else{li(4,o,a);try{a.call(o)}finally{li(5,o,a)}}}}}(e,t),function yg(e,t){const n=e.cleanup,r=t[Yi];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const u=n[a+3];u>=0?r[u]():r[-u].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Yi]=null);const o=t[rr];if(null!==o){t[rr]=null;for(let a=0;a<o.length;a++)(0,o[a])()}}(e,t),1===t[Be].type&&t[ut].destroy();const n=t[Po];if(null!==n&&cr(t[ft])){n!==t[ft]&&Jf(n,t);const r=t[Fn];null!==r&&r.detachView(e)}!function $f(e){Tu.delete(e[no])}(t)}}function wo(e,t,n){return function eh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[xn];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:a}=e.data[r.directiveStart+o];if(a===we.None||a===we.Emulated)return null}return ki(r,n)}}(e,t.parent,n)}function ya(e,t,n,r,o){e.insertBefore(t,n,r,o)}function th(e,t,n){e.appendChild(t,n)}function Qc(e,t,n,r,o){null!==r?ya(e,t,n,r,o):th(e,t,n)}function Tl(e,t){return e.parentNode(t)}function Al(e,t,n){return rh(e,t,n)}let Xc,Rl,td,Pl,rh=function nh(e,t,n){return 40&e.type?ki(e,n):null};function Ol(e,t,n,r){const o=wo(e,r,t),a=t[ut],h=Al(r.parent||t[Fr],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)Qc(a,o,n[v],h,!1);else Qc(a,o,n,h,!1);void 0!==Xc&&Xc(a,r,t,n,o)}function xu(e,t){if(null!==t){const n=t.type;if(3&n)return ki(t,e);if(4&n)return Jc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return xu(e,r);{const o=e[t.index];return cr(o)?Jc(-1,o):Yn(o)}}if(32&n)return bl(t,e)()||Yn(e[t.index]);{const r=oh(e,t);return null!==r?Array.isArray(r)?r[0]:xu(Ru(e[un]),r):xu(e,t.next)}}return null}function oh(e,t){return null!==t?e[un][Fr].projection[t.projection]:null}function Jc(e,t){const n=Ft+e+1;if(n<t.length){const r=t[n],o=r[Be].firstChild;if(null!==o)return xu(r,o)}return t[Yr]}function ed(e,t,n,r,o,a,u){for(;null!=n;){const h=r[n.index],v=n.type;if(u&&0===t&&(h&&ji(Yn(h),r),n.flags|=2),32!=(32&n.flags))if(8&v)ed(e,t,n.child,r,o,a,!1),Wa(t,e,o,h,a);else if(32&v){const M=bl(n,r);let x;for(;x=M();)Wa(t,e,o,x,a);Wa(t,e,o,h,a)}else 16&v?ah(e,t,r,n,o,a):Wa(t,e,o,h,a);n=u?n.projectionNext:n.next}}function Fu(e,t,n,r,o,a){ed(n,r,e.firstChild,t,o,a,!1)}function ah(e,t,n,r,o,a){const u=n[un],v=u[Fr].projection[r.projection];if(Array.isArray(v))for(let M=0;M<v.length;M++)Wa(t,e,o,v[M],a);else{let M=v;const x=u[ft];yl(r)&&(M.flags|=128),ed(e,t,M,x,o,a,!0)}}function uh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function lh(e,t,n){const{mergedAttrs:r,classes:o,styles:a}=n;null!==r&&tr(e,t,r),null!==o&&uh(e,t,o),null!==a&&function bg(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function _a(e){return function Lu(){if(void 0===Rl&&(Rl=null,Xt.trustedTypes))try{Rl=Xt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Rl}()?.createHTML(e)||e}function Ag(e){td=e}function za(){if(void 0!==td)return td;if(typeof document<"u")return document;throw new ie(210,!1)}function xl(){if(void 0===Pl&&(Pl=null,Xt.trustedTypes))try{Pl=Xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pl}function ch(e){return xl()?.createHTML(e)||e}function dh(e){return xl()?.createScriptURL(e)||e}class Da{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dt})`}}class Og extends Da{getTypeName(){return"HTML"}}class Ng extends Da{getTypeName(){return"Style"}}class Rg extends Da{getTypeName(){return"Script"}}class Pg extends Da{getTypeName(){return"URL"}}class xg extends Da{getTypeName(){return"ResourceURL"}}function Rs(e){return e instanceof Da?e.changingThisBreaksApplicationSecurity:e}function qa(e,t){const n=function Fg(e){return e instanceof Da&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Dt})`)}return n===t}function Lg(e){return new Og(e)}function kg(e){return new Ng(e)}function Vg(e){return new Rg(e)}function Bg(e){return new Pg(e)}function Hg(e){return new xg(e)}class hh{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(_a(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ph{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=_a(t),n}}const jg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fl(e){return(e=String(e)).match(jg)?e:"unsafe:"+e}function Ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Js(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const gh=Ps("area,br,col,hr,img,wbr"),mh=Ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vh=Ps("rp,rt"),nd=Js(gh,Js(mh,Ps("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")),Js(vh,Ps("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")),Js(vh,mh)),rd=Ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yh=Js(rd,Ps("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"),Ps("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")),Ll=Ps("script,style,template");class $g{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!nd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ll.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const a=r.item(o),u=a.name,h=u.toLowerCase();if(!yh.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let v=a.value;rd[h]&&(v=Fl(v)),this.buf.push(" ",u,'="',kl(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();nd.hasOwnProperty(n)&&!gh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kl(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const _h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Dh=/([^\#-~ |!])/g;function kl(e){return e.replace(/&/g,"&amp;").replace(_h,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Dh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Vu;function id(e,t){let n=null;try{Vu=Vu||function fh(e){const t=new ph(e);return function Ug(){try{return!!(new window.DOMParser).parseFromString(_a(""),"text/html")}catch{return!1}}()?new hh(t):t}(e);let r=t?String(t):"";n=Vu.getInertBodyElement(r);let o=5,a=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=a,a=n.innerHTML,n=Vu.getInertBodyElement(r)}while(r!==a);return _a((new $g).sanitizeChildren(Vl(n)||n))}finally{if(n){const r=Vl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Vl(e){return"content"in e&&function Eh(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ea=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ea||{});function Ch(e){const t=Hu();return t?ch(t.sanitize(Ea.HTML,e)||""):qa(e,"HTML")?ch(Rs(e)):id(za(),Le(e))}function Ya(e){const t=Hu();return t?t.sanitize(Ea.URL,e)||"":qa(e,"URL")?Rs(e):Fl(Le(e))}function Bu(e){const t=Hu();if(t)return dh(t.sanitize(Ea.RESOURCE_URL,e)||"");if(qa(e,"ResourceURL"))return dh(Rs(e));throw new ie(904,!1)}function Mh(e,t,n){return function wh(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bu:Ya}(t,n)(e)}function Hu(){const e=Me();return e&&e[Ki].sanitizer}const Uu=new Ue("ENVIRONMENT_INITIALIZER"),bh=new Ue("INJECTOR",-1),Sh=new Ue("INJECTOR_DEF_TYPES");class sd{get(t,n=qn){if(n===qn){const r=new Error(`NullInjectorError: No provider for ${rt(t)}!`);throw r.name="NullInjectorError",r}return n}}function ad(e){return{\u0275providers:e}}function qg(...e){return{\u0275providers:Ih(0,e),\u0275fromNgModule:!0}}function Ih(e,...t){const n=[],r=new Set;let o;const a=u=>{n.push(u)};return Zs(t,u=>{const h=u;Mo(h,a,[],r)&&(o||=[],o.push(h))}),void 0!==o&&Th(o,a),n}function Th(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];ud(o,a=>{t(a,r)})}}function Mo(e,t,n,r){if(!(e=Ve(e)))return!1;let o=null,a=_i(e);const u=!a&&Jt(e);if(a||u){if(u&&!u.standalone)return!1;o=e}else{const v=e.ngModule;if(a=_i(v),!a)return!1;o=v}const h=r.has(o);if(u){if(h)return!1;if(r.add(o),u.dependencies){const v="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const M of v)Mo(M,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let M;r.add(o);try{Zs(a.imports,x=>{Mo(x,t,n,r)&&(M||=[],M.push(x))})}finally{}void 0!==M&&Th(M,t)}if(!h){const M=U(o)||(()=>new o);t({provide:o,useFactory:M,deps:Oe},o),t({provide:Sh,useValue:o,multi:!0},o),t({provide:Uu,useValue:()=>pt(o),multi:!0},o)}const v=a.providers;if(null!=v&&!h){const M=e;ud(v,x=>{t(x,M)})}}}return o!==e&&void 0!==e.providers}function ud(e,t){for(let n of e)Dn(n)&&(n=n.\u0275providers),Array.isArray(n)?ud(n,t):t(n)}const Ca=Xe({provide:String,useValue:Xe});function zt(e){return null!==e&&"object"==typeof e&&Ca in e}function hr(e){return"function"==typeof e}const Cs=new Ue("Set Injector scope."),Bl={},Kg={};let ld;function Hl(){return void 0===ld&&(ld=new sd),ld}class ws{}class ea extends ws{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dd(t,u=>this.processProvider(u)),this.records.set(bh,sr(void 0,this)),o.has("environment")&&this.records.set(ws,sr(void 0,this));const a=this.records.get(Cs);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Sh.multi,Oe,at.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Re(this),r=Un(void 0);try{return t()}finally{Re(n),Un(r)}}get(t,n=qn,r=at.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vt))return t[Vt](this);r=re(r);const a=Re(this),u=Un(void 0);try{if(!(r&at.SkipSelf)){let v=this.records.get(t);if(void 0===v){const M=function Zg(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ue}(t)&&Bn(t);v=M&&this.injectableDefInScope(M)?sr(cd(t),Bl):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(r&at.Self?Hl():this.parent).get(t,n=r&at.Optional&&n===qn?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ti]=h[ti]||[]).unshift(rt(t)),a)throw h;return function L(e,t,n,r){const o=e[ti];throw t[z]&&o.unshift(t[z]),e.message=function Q(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=rt(t);if(Array.isArray(t))o=t.map(rt).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let h=t[u];a.push(u+":"+("string"==typeof h?JSON.stringify(h):rt(h)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(me,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ti]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{Un(u),Re(a)}}resolveInjectorInitializers(){const t=Re(this),n=Un(void 0);try{const o=this.get(Uu.multi,Oe,at.Self);for(const a of o)a()}finally{Re(t),Un(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(rt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ie(205,!1)}processProvider(t){let n=hr(t=Ve(t))?t:Ve(t&&t.provide);const r=function Oh(e){return zt(e)?sr(void 0,e.useValue):sr(ju(e),Bl)}(t);if(hr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=sr(void 0,Bl,!0),o.factory=()=>J(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Bl&&(n.value=Kg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Nh(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ve(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function cd(e){const t=Bn(e),n=null!==t?t.factory:U(e);if(null!==n)return n;if(e instanceof Ue)throw new ie(204,!1);if(e instanceof Function)return function xs(e){const t=e.length;if(t>0)throw Cu(t,"?"),new ie(204,!1);const n=function Dr(e){return e&&(e[ei]||e[dt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ie(204,!1)}function ju(e,t,n){let r;if(hr(e)){const o=Ve(e);return U(o)||cd(o)}if(zt(e))r=()=>Ve(e.useValue);else if(function uo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...J(e.deps||[]));else if(function Ah(e){return!(!e||!e.useExisting)}(e))r=()=>pt(Ve(e.useExisting));else{const o=Ve(e&&(e.useClass||e.provide));if(!function Qr(e){return!!e.deps}(e))return U(o)||cd(o);r=()=>new o(...J(e.deps))}return r}function sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dd(e,t){for(const n of e)Array.isArray(n)?dd(n,t):n&&Dn(n)?dd(n.\u0275providers,t):t(n)}const Rh=new Ue("AppId",{providedIn:"root",factory:()=>Qg}),Qg="ng",Ph=new Ue("Platform Initializer"),fd=new Ue("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$u=new Ue("AnimationModuleType"),hd=new Ue("CSP nonce",{providedIn:"root",factory:()=>za().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let zu=(e,t,n)=>null;function _d(e,t,n=!1){return zu(e,t,n)}class am{}class $l{}class Ai{resolveComponentFactory(t){throw function um(e){const t=Error(`No component factory found for ${rt(e)}.`);return t.ngComponent=e,t}(t)}}let Oi=(()=>{class e{static{this.NULL=new Ai}}return e})();function lm(){return Ja(Ii(),Me())}function Ja(e,t){return new qu(ki(e,t))}let qu=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=lm}}return e})();function Vh(e){return e instanceof qu?e.nativeElement:e}class Bh{}let cm=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function dm(){const e=Me(),n=On(Ii().index,e);return(Qn(n)?n:e)[ut]}()}}return e})(),Hh=(()=>{class e{static{this.\u0275prov=wt({token:e,providedIn:"root",factory:()=>null})}}return e})();class Uh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fm=new Uh("16.2.12"),Cd={};function Wh(e,t=null,n=null,r){const o=wd(e,t,n,r);return o.resolveInjectorInitializers(),o}function wd(e,t=null,n=null,r,o=new Set){const a=[n||Oe,qg(e)];return r=r||("object"==typeof e?void 0:rt(e)),new ea(a,t||Hl(),r||null,o)}let rs=(()=>{class e{static{this.THROW_IF_NOT_FOUND=qn}static{this.NULL=new sd}static create(n,r){if(Array.isArray(n))return Wh({name:""},r,n,"");{const o=n.name??"";return Wh({name:o},n.parent,n.providers,o)}}static{this.\u0275prov=wt({token:e,providedIn:"any",factory:()=>pt(bh)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Md(e){return e.ngOriginalError}class ta{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Md(t);for(;n&&Md(n);)n=Md(n);return n||null}}function Sd(e){return t=>{setTimeout(e,void 0,t)}}const Ms=class _m extends d.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,a=n||(()=>null),u=r;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),a=v.error?.bind(v),u=v.complete?.bind(v)}this.__isAsync&&(a=Sd(a),o&&(o=Sd(o)),u&&(u=Sd(u)));const h=super.subscribe({next:o,error:a,complete:u});return t instanceof H.w0&&t.add(h),h}};function qh(...e){}class Ni{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ms(!1),this.onMicrotaskEmpty=new Ms(!1),this.onStable=new Ms(!1),this.onError=new Ms(!1),typeof Zone>"u")throw new ie(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Dm(){const e="function"==typeof Xt.requestAnimationFrame;let t=Xt[e?"requestAnimationFrame":"setTimeout"],n=Xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function wm(e){const t=()=>{!function Cm(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Td(e),e.isCheckStableRunning=!0,Id(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Td(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,u,h)=>{if(function bm(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(h))return n.invokeTask(o,a,u,h);try{return Yh(e),n.invokeTask(o,a,u,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Kh(e)}},onInvoke:(n,r,o,a,u,h,v)=>{try{return Yh(e),n.invoke(o,a,u,h,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Kh(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Td(e),Id(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ni.isInAngularZone())throw new ie(909,!1)}static assertNotInAngularZone(){if(Ni.isInAngularZone())throw new ie(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+o,t,Em,qh,qh);try{return a.runTask(u,n,r)}finally{a.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Em={};function Id(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Td(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kh(e){e._nesting--,Id(e)}class Mm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ms,this.onMicrotaskEmpty=new Ms,this.onStable=new Ms,this.onError=new Ms}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Zh=new Ue("",{providedIn:"root",factory:Qh});function Qh(){const e=je(Ni);let t=!0;const n=new Ae.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new Ae.y(o=>{let a;e.runOutsideAngular(()=>{a=e.onStable.subscribe(()=>{Ni.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const u=e.onUnstable.subscribe(()=>{Ni.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{a.unsubscribe(),u.unsubscribe()}});return(0,Se.T)(n,r.pipe((0,et.B)()))}function Wl(e){return e.ownerDocument.defaultView}function Fs(e){return e instanceof Function?e():e}let eo=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=wt({token:e,providedIn:"root",factory:()=>new e})}}return e})();function wa(e){for(;e;){e[yt]|=64;const t=Ru(e);if(Ko(e)&&!t)return e;e=t}return null}const np=new Ue("",{providedIn:"root",factory:()=>!1});let ru=null;function ql(e,t){return e[t]??up()}function sp(e,t){const n=up();n.producerNode?.length&&(e[t]=ru,n.lView=e,ru=ap())}const Nm={...Gt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{wa(e.lView)},lView:null};function ap(){return Object.create(Nm)}function up(){return ru??=ap(),ru}const Zt={};function lp(e){cp(Ut(),Me(),oo()+e,!1)}function cp(e,t,n,r){if(!r)if(3==(3&t[yt])){const a=e.preOrderCheckHooks;null!==a&&gu(t,a,n)}else{const a=e.preOrderHooks;null!==a&&zs(t,a,0,n)}Ts(n)}function iu(e,t=at.Default){const n=Me();return null===n?pt(e,t):dl(Ii(),n,Ve(e),t)}function dp(){throw new Error("invalid")}function Yl(e,t,n,r,o,a,u,h,v,M,x){const $=t.blueprint.slice();return $[xn]=o,$[yt]=140|r,(null!==M||e&&2048&e[yt])&&($[yt]|=2048),lu($),$[ft]=$[mo]=e,$[Gn]=n,$[Ki]=u||e&&e[Ki],$[ut]=h||e&&e[ut],$[lr]=v||e&&e[lr]||null,$[Fr]=a,$[no]=function cg(){return lg++}(),$[ui]=x,$[xo]=M,$[un]=2==t.type?e[un]:$,$}function ou(e,t,n,r,o){let a=e.data[t];if(null===a)a=function Pd(e,t,n,r,o){const a=gc(),u=nl(),v=e.data[t]=function q(e,t,n,r,o,a){let u=t?t.injectorIndex:-1,h=0;return Gs()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=v),null!==a&&(u?null==a.child&&null!==v.parent&&(a.child=v):null===a.next&&(a.next=v,v.prev=a)),v}(e,t,n,r,o),function ce(){return St.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const u=function ts(){const e=St.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===u?-1:u.injectorIndex}return cs(a,!0),a}function Yu(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function fp(e,t,n,r,o){const a=ql(t,Ln),u=oo(),h=2&r;try{Ts(-1),h&&t.length>gt&&cp(e,t,gt,!1),li(h?2:0,o);const M=h?a:null,x=vr(M);try{null!==M&&(M.dirty=!1),n(r,o)}finally{Kr(M,x)}}finally{h&&null===t[Ln]&&sp(t,Ln),Ts(u),li(h?3:1,o)}}function xd(e,t,n){if(Lo(t)){const r=Pe(null);try{const a=t.directiveEnd;for(let u=t.directiveStart;u<a;u++){const h=e.data[u];h.contentQueries&&h.contentQueries(1,n[u],u)}}finally{Pe(r)}}}function Fd(e,t,n){cu()&&(function Uo(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;ko(n)&&function yC(e,t,n){const r=ki(t,e),o=hp(n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=gp(e,Yl(e,o,null,u,r,t,null,e[Ki].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ll(n,t),ji(r,t);const u=n.initialInputs;for(let h=o;h<a;h++){const v=e.data[h],M=qs(t,e,h,n);ji(M,t),null!==u&&_C(0,h-o,M,v,0,u),Si(v)&&(On(n.index,t)[Gn]=qs(t,e,h,n))}}(e,t,n,ki(n,t)),64==(64&n.flags)&&to(e,t,n))}function Ld(e,t,n=ki){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const u=r[a+1],h=-1===u?n(t,e):e[u];e[o++]=h}}}function hp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=kd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function kd(e,t,n,r,o,a,u,h,v,M,x){const $=gt+r,te=$+o,se=function Pm(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zt);return n}($,te),De="function"==typeof M?M():M;return se[Be]={type:e,blueprint:se,template:n,queries:null,viewQuery:h,declTNode:t,data:se.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:te,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:"function"==typeof a?a():a,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:v,consts:De,incompleteFirstPass:!1,ssrId:x}}let l=e=>null;function ee(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const a=e[o];null===r?oe(n,t,o,a):r.hasOwnProperty(o)&&oe(n,t,r[o],a)}return n}function oe(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ce(e,t,n,r,o,a,u,h){const v=ki(t,n);let x,M=t.inputs;!h&&null!=M&&(x=M[r])?(Lm(e,n,x,r,o),ko(t)&&function Ge(e,t){const n=On(t,e);16&n[yt]||(n[yt]|=64)}(n,t.index)):3&t.type&&(r=function be(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=u?u(o,t.value||"",r):o,a.setProperty(v,r,o))}function tn(e,t,n,r){if(cu()){const o=null===r?null:{"":-1},a=function ii(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let a=0;a<n.length;a++){const u=n[a];if(br(t,u.selectors,!1))if(r||(r=[]),Si(u))if(null!==u.findHostDirectiveDefs){const h=[];o=o||new Map,u.findHostDirectiveDefs(u,h,o),r.unshift(...h,u),$o(e,t,h.length)}else r.unshift(u),$o(e,t,0);else o=o||new Map,u.findHostDirectiveDefs?.(u,r,o),r.push(u)}return null===r?null:[r,o]}(e,n);let u,h;null===a?u=h=null:[u,h]=a,null!==u&&Ot(e,t,n,u,o,h),o&&function Ls(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new ie(-301,!1);r.push(t[o],a)}}}(n,r,o)}n.mergedAttrs=$n(n.mergedAttrs,n.attrs)}function Ot(e,t,n,r,o,a){for(let M=0;M<r.length;M++)Cc(ll(n,t),e,r[M].type);!function mC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let M=0;M<r.length;M++){const x=r[M];x.providersResolver&&x.providersResolver(x)}let u=!1,h=!1,v=Yu(e,t,r.length,null);for(let M=0;M<r.length;M++){const x=r[M];n.mergedAttrs=$n(n.mergedAttrs,x.hostAttrs),vC(e,n,t,v,x),pp(v,x,o),null!==x.contentQueries&&(n.flags|=4),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(n.flags|=64);const $=x.type.prototype;!u&&($.ngOnChanges||$.ngOnInit||$.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!h&&($.ngOnChanges||$.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),v++}!function Ee(e,t,n){const o=t.directiveEnd,a=e.data,u=t.attrs,h=[];let v=null,M=null;for(let x=t.directiveStart;x<o;x++){const $=a[x],te=n?n.get($):null,De=te?te.outputs:null;v=ee($.inputs,x,v,te?te.inputs:null),M=ee($.outputs,x,M,De);const Ne=null===v||null===u||si(t)?null:DC(v,x,u);h.push(Ne)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=v,t.outputs=M}(e,n,a)}function to(e,t,n){const r=n.directiveStart,o=n.directiveEnd,a=n.index,u=function yr(){return St.lFrame.currentDirectiveIndex}();try{Ts(a);for(let h=r;h<o;h++){const v=e.data[h],M=t[h];gn(h),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&jo(v,M)}}finally{Ts(-1),gn(u)}}function jo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $o(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function pp(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Si(t)&&(n[""]=e)}}function vC(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=U(o.type)),u=new Pa(a,Si(o),iu);e.blueprint[r]=u,n[r]=u,function mn(e,t,n,r,o){const a=o.hostBindings;if(a){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const h=~t.index;(function wn(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=h&&u.push(h),u.push(n,r,a)}}(e,t,r,Yu(e,n,o.hostVars,Zt),o)}function na(e,t,n,r,o,a){const u=ki(e,t);!function xm(e,t,n,r,o,a,u){if(null==a)e.removeAttribute(t,o,n);else{const h=null==u?Le(a):u(a,r||"",o);e.setAttribute(t,o,h,n)}}(t[ut],u,a,e.value,n,r,o)}function _C(e,t,n,r,o,a){const u=a[t];if(null!==u)for(let h=0;h<u.length;)gy(r,n,u[h++],u[h++],u[h++])}function gy(e,t,n,r,o){const a=Pe(null);try{const u=e.inputTransforms;null!==u&&u.hasOwnProperty(r)&&(o=u[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{Pe(a)}}function DC(e,t,n){let r=null,o=0;for(;o<n.length;){const a=n[o];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const u=e[a];for(let h=0;h<u.length;h+=2)if(u[h]===t){r.push(a,u[h+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function my(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function vy(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const a=n[r+1];if(-1!==a){const u=e.data[a];Is(n[r]),u.contentQueries(2,t[a],a)}}}function gp(e,t){return e[go]?e[mr][jt]=t:e[go]=t,e[mr]=t,t}function Fm(e,t,n){Is(0);const r=Pe(null);try{t(e,n)}finally{Pe(r)}}function yy(e){return e[Yi]||(e[Yi]=[])}function _y(e){return e.cleanup||(e.cleanup=[])}function Ey(e,t){const n=e[lr],r=n?n.get(ta,null):null;r&&r.handleError(t)}function Lm(e,t,n,r,o){for(let a=0;a<n.length;){const u=n[a++],h=n[a++];gy(e.data[u],t[u],r,h,o)}}function EC(e,t){const n=On(t,e),r=n[Be];!function CC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[xn];null!==o&&null===n[ui]&&(n[ui]=_d(o,n[lr])),km(r,n,n[Gn])}function km(e,t,n){fu(t);try{const r=e.viewQuery;null!==r&&Fm(1,r,n);const o=e.template;null!==o&&fp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&vy(e,t),e.staticViewQueries&&Fm(2,e.viewQuery,n);const a=e.components;null!==a&&function wC(e,t){for(let n=0;n<t.length;n++)EC(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[yt]&=-5,il()}}let Cy=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const a=typeof Zone>"u"?null:Zone.current,u=function _e(e,t,n){const r=Object.create(bn);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=u=>{r.cleanupFn=u};return r.ref={notify:()=>Cn(r),run:()=>{if(r.dirty=!1,r.hasRun&&!jr(r))return;r.hasRun=!0;const u=vr(r);try{r.cleanupFn(),r.cleanupFn=Ye,r.fn(o)}finally{Kr(r,u)}},cleanup:()=>r.cleanupFn()},r.ref}(n,M=>{this.all.has(M)&&this.queue.set(M,a)},o);let h;this.all.add(u),u.notify();const v=()=>{u.cleanup(),h?.(),this.all.delete(u),this.queue.delete(u)};return h=r?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=wt({token:e,providedIn:"root",factory:()=>new e})}}return e})();function mp(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let u=0;u<t.length;u++){const h=t[u];"number"==typeof h?a=h:1==a?o=Qt(o,h):2==a&&(r=Qt(r,h+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Vd(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];null!==a&&r.push(Yn(a)),cr(a)&&wy(a,r);const u=n.type;if(8&u)Vd(e,t,n.child,r);else if(32&u){const h=bl(n,t);let v;for(;v=h();)r.push(v)}else if(16&u){const h=oh(t,n);if(Array.isArray(h))r.push(...h);else{const v=Ru(t[un]);Vd(v[Be],v,h,r,!0)}}n=o?n.projectionNext:n.next}return r}function wy(e,t){for(let n=Ft;n<e.length;n++){const r=e[n],o=r[Be].firstChild;null!==o&&Vd(r[Be],r,o,t)}e[Yr]!==e[xn]&&t.push(e[Yr])}function vp(e,t,n,r=!0){const o=t[Ki],a=o.rendererFactory,u=o.afterRenderEventManager;a.begin?.(),u?.begin();try{My(e,t,e.template,n)}catch(v){throw r&&Ey(t,v),v}finally{a.end?.(),o.effectManager?.flush(),u?.end()}}function My(e,t,n,r){const o=t[yt];if(256!=(256&o)){t[Ki].effectManager?.flush(),fu(t);try{lu(t),function k(e){return St.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&fp(e,t,n,2,r);const u=3==(3&o);if(u){const M=e.preOrderCheckHooks;null!==M&&gu(t,M,null)}else{const M=e.preOrderHooks;null!==M&&zs(t,M,0,null),vs(t,0)}if(function SC(e){for(let t=zf(e);null!==t;t=qf(t)){if(!t[Qi])continue;const n=t[Ur];for(let r=0;r<n.length;r++){aa(n[r])}}}(t),by(t,2),null!==e.contentQueries&&vy(e,t),u){const M=e.contentCheckHooks;null!==M&&gu(t,M)}else{const M=e.contentHooks;null!==M&&zs(t,M,1),vs(t,1)}!function Rm(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=ql(t,xi);try{for(let o=0;o<n.length;o++){const a=n[o];if(a<0)Ts(~a);else{const u=a,h=n[++o],v=n[++o];en(h,u),r.dirty=!1;const M=vr(r);try{v(2,t[u])}finally{Kr(r,M)}}}}finally{null===t[xi]&&sp(t,xi),Ts(-1)}}(e,t);const h=e.components;null!==h&&Iy(t,h,0);const v=e.viewQuery;if(null!==v&&Fm(2,v,r),u){const M=e.viewCheckHooks;null!==M&&gu(t,M)}else{const M=e.viewHooks;null!==M&&zs(t,M,2),vs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[yt]&=-73,Us(t)}finally{il()}}}function by(e,t){for(let n=zf(e);null!==n;n=qf(n))for(let r=Ft;r<n.length;r++)Sy(n[r],t)}function IC(e,t,n){Sy(On(t,e),n)}function Sy(e,t){if(!function nf(e){return 128==(128&e[yt])}(e))return;const n=e[Be],r=e[yt];if(80&r&&0===t||1024&r||2===t)My(n,e,n.template,e[Gn]);else if(e[Mi]>0){by(e,1);const o=n.components;null!==o&&Iy(e,o,1)}}function Iy(e,t,n){for(let r=0;r<t.length;r++)IC(e,t[r],n)}class Bd{get rootNodes(){const t=this._lView,n=t[Be];return Vd(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Gn]}set context(t){this._lView[Gn]=t}get destroyed(){return 256==(256&this._lView[yt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ft];if(cr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Il(t,r),fs(n,r))}this._attachedToViewContainer=!1}Kc(this._lView[Be],this._lView)}onDestroy(t){!function js(e,t){if(256==(256&e[yt]))throw new ie(911,!1);null===e[rr]&&(e[rr]=[]),e[rr].push(t)}(this._lView,t)}markForCheck(){wa(this._cdRefInjectingView||this._lView)}detach(){this._lView[yt]&=-129}reattach(){this._lView[yt]|=128}detectChanges(){vp(this._lView[Be],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ie(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gg(e,t){Fu(e,t,t[ut],2,null,null)}(this._lView[Be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ie(902,!1);this._appRef=t}}class TC extends Bd{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;vp(t[Be],t,t[Gn],!1)}checkNoChanges(){}get context(){return null}}class Ty extends Oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Jt(t);return new Hd(n,this.ngModule)}}function Ay(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class OC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=re(r);const o=this.injector.get(t,Cd,r);return o!==Cd||n===Cd?o:this.parentInjector.get(t,n,r)}}class Hd extends $l{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ay(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ay(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ar(e){return e.map(To).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let a=(o=o||this.ngModule)instanceof ws?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new OC(t,a):t,h=u.get(Bh,null);if(null===h)throw new ie(407,!1);const $={rendererFactory:h,sanitizer:u.get(Hh,null),effectManager:u.get(Cy,null),afterRenderEventManager:u.get(eo,null)},te=h.createRenderer(null,this.componentDef),se=this.componentDef.selectors[0][0]||"div",De=r?function i(e,t,n,r){const a=r.get(np,!1)||n===we.ShadowDom,u=e.selectRootElement(t,a);return function s(e){l(e)}(u),u}(te,r,this.componentDef.encapsulation,u):Pu(te,se,function AC(e){const t=e.toLowerCase();return"svg"===t?Jo:"math"===t?"math":null}(se)),_t=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Te=null;null!==De&&(Te=_d(De,u,!0));const qt=kd(0,null,null,1,0,null,null,null,null,null,null),fn=Yl(null,qt,null,_t,null,null,$,te,u,null,Te);let pr,ss;fu(fn);try{const ba=this.componentDef;let dc,$v=null;ba.findHostDirectiveDefs?(dc=[],$v=new Map,ba.findHostDirectiveDefs(ba,dc,$v),dc.push(ba)):dc=[ba];const LS=function RC(e,t){const n=e[Be],r=gt;return e[r]=t,ou(n,r,2,"#host",null)}(fn,De),kS=function PC(e,t,n,r,o,a,u){const h=o[Be];!function xC(e,t,n,r){for(const o of e)t.mergedAttrs=$n(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(mp(t,t.mergedAttrs,!0),null!==n&&lh(r,n,t))}(r,e,t,u);let v=null;null!==t&&(v=_d(t,o[lr]));const M=a.rendererFactory.createRenderer(t,n);let x=16;n.signals?x=4096:n.onPush&&(x=64);const $=Yl(o,hp(n),null,x,o[e.index],e,a,M,null,null,v);return h.firstCreatePass&&$o(h,e,r.length-1),gp(o,$),o[e.index]=$}(LS,De,ba,dc,fn,$,te);ss=uu(qt,gt),De&&function LC(e,t,n,r){if(r)tr(e,n,["ng-version",fm.full]);else{const{attrs:o,classes:a}=function Ao(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!gr(o))break;o=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&tr(e,n,o),a&&a.length>0&&uh(e,n,a.join(" "))}}(te,ba,De,r),void 0!==n&&function kC(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const a=n[o];r.push(null!=a?Array.from(a):null)}}(ss,this.ngContentSelectors,n),pr=function FC(e,t,n,r,o,a){const u=Ii(),h=o[Be],v=ki(u,o);Ot(h,o,u,n,null,r);for(let x=0;x<n.length;x++)ji(qs(o,h,u.directiveStart+x,u),o);to(h,o,u),v&&ji(v,o);const M=qs(o,h,u.directiveStart+u.componentOffset,u);if(e[Gn]=o[Gn]=M,null!==a)for(const x of a)x(M,t);return xd(h,u,e),M}(kS,ba,dc,$v,fn,[VC]),km(qt,fn,null)}finally{il()}return new NC(this.componentType,pr,Ja(ss,fn),fn,ss)}}class NC extends am{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new TC(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;Lm(a[Be],a,o,t,n),this.previousInputValues.set(t,n),wa(On(this._tNode.index,a))}}get injector(){return new so(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function VC(){const e=Ii();pu(Me()[Be],e)}function Vm(e){let t=function Oy(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Si(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ie(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const u=e;u.inputs=yp(e.inputs),u.inputTransforms=yp(e.inputTransforms),u.declaredInputs=yp(e.declaredInputs),u.outputs=yp(e.outputs);const h=o.hostBindings;h&&jC(e,h);const v=o.viewQuery,M=o.contentQueries;if(v&&HC(e,v),M&&UC(e,M),Tt(e.inputs,o.inputs),Tt(e.declaredInputs,o.declaredInputs),Tt(e.outputs,o.outputs),null!==o.inputTransforms&&(null===u.inputTransforms&&(u.inputTransforms={}),Tt(u.inputTransforms,o.inputTransforms)),Si(o)&&o.data.animation){const x=e.data;x.animation=(x.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let u=0;u<a.length;u++){const h=a[u];h&&h.ngInherit&&h(e),h===Vm&&(n=!1)}}t=Object.getPrototypeOf(t)}!function BC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=$n(o.hostAttrs,n=$n(n,o.hostAttrs))}}(r)}function yp(e){return e===Ze?{}:e===Oe?[]:e}function HC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function UC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function jC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function xy(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function _p(e){return!!Bm(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Bm(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ra(e,t,n){return e[t]=n}function So(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ku(e,t,n,r){const o=So(e,t,n);return So(e,t+1,r)||o}function Dp(e,t,n,r,o){const a=Ku(e,t,n,r);return So(e,t+2,o)||a}function Hm(e,t,n,r){const o=Me();return So(o,W(),t)&&(Ut(),na(fr(),o,e,t,n,r)),Hm}function Zl(e,t,n,r){return So(e,W(),n)?t+Le(n)+r:Zt}function qy(e,t,n,r,o,a,u,h){const v=Me(),M=Ut(),x=e+gt,$=M.firstCreatePass?function hw(e,t,n,r,o,a,u,h,v){const M=t.consts,x=ou(t,e,4,u||null,es(M,h));tn(t,n,x,es(M,v)),pu(t,x);const $=x.tView=kd(2,x,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,M,null);return null!==t.queries&&(t.queries.template(t,x),$.queries=t.queries.embeddedTView(x)),x}(x,M,v,t,n,r,o,a,u):M.data[x];cs($,!1);const te=Yy(M,v,$,e);ms()&&Ol(M,v,te,$),ji(te,v),gp(v,v[x]=my(te,v,te,$)),hs($)&&Fd(M,v,$),null!=u&&Ld(v,$,h)}let Yy=function Ky(e,t,n,r){return vi(!0),t[ut].createComment("")};function Zy(e){return Xi(function m(){return St.lFrame.contextLView}(),gt+e)}function zm(e,t,n){const r=Me();return So(r,W(),t)&&Ce(Ut(),fr(),r,e,t,r[ut],n,!1),zm}function qm(e,t,n,r,o){const u=o?"class":"style";Lm(e,n,t.inputs[u],u,r)}function Mp(e,t,n,r){const o=Me(),a=Ut(),u=gt+e,h=o[ut],v=a.firstCreatePass?function vw(e,t,n,r,o,a){const u=t.consts,v=ou(t,e,2,r,es(u,o));return tn(t,n,v,es(u,a)),null!==v.attrs&&mp(v,v.attrs,!1),null!==v.mergedAttrs&&mp(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(u,a,o,t,n,r):a.data[u],M=Qy(a,o,v,h,t,e);o[u]=M;const x=hs(v);return cs(v,!0),lh(h,M,v),32!=(32&v.flags)&&ms()&&Ol(a,o,M,v),0===function sf(){return St.lFrame.elementDepthCount}()&&ji(M,o),function pc(){St.lFrame.elementDepthCount++}(),x&&(Fd(a,o,v),xd(a,v,o)),null!==r&&Ld(o,v),Mp}function bp(){let e=Ii();nl()?rl():(e=e.parent,cs(e,!1));const t=e;(function Na(e){return St.skipHydrationRootTNode===e})(t)&&function Ws(){St.skipHydrationRootTNode=null}(),function af(){St.lFrame.elementDepthCount--}();const n=Ut();return n.firstCreatePass&&(pu(n,e),Lo(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yc(e){return 0!=(8&e.flags)}(t)&&qm(n,t,Me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ul(e){return 0!=(16&e.flags)}(t)&&qm(n,t,Me(),t.stylesWithoutHost,!1),bp}function Ym(e,t,n,r){return Mp(e,t,n,r),bp(),Ym}let Qy=(e,t,n,r,o,a)=>(vi(!0),Pu(r,o,function gs(){return St.lFrame.currentNamespace}()));function Sp(e,t,n){const r=Me(),o=Ut(),a=e+gt,u=o.firstCreatePass?function Dw(e,t,n,r,o){const a=t.consts,u=es(a,r),h=ou(t,e,8,"ng-container",u);return null!==u&&mp(h,u,!0),tn(t,n,h,es(a,o)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,o,r,t,n):o.data[a];cs(u,!0);const h=Xy(o,r,u,e);return r[a]=h,ms()&&Ol(o,r,h,u),ji(h,r),hs(u)&&(Fd(o,r,u),xd(o,u,r)),null!=n&&Ld(r,u),Sp}function Ip(){let e=Ii();const t=Ut();return nl()?rl():(e=e.parent,cs(e,!1)),t.firstCreatePass&&(pu(t,e),Lo(e)&&t.queries.elementEnd(e)),Ip}function Km(e,t,n){return Sp(e,t,n),Ip(),Km}let Xy=(e,t,n,r)=>(vi(!0),Yc(t[ut],""));function Jy(){return Me()}function Zm(e){return!!e&&"function"==typeof e.then}function e_(e){return!!e&&"function"==typeof e.subscribe}function Qm(e,t,n,r){const o=Me(),a=Ut(),u=Ii();return function n_(e,t,n,r,o,a,u){const h=hs(r),M=e.firstCreatePass&&_y(e),x=t[Gn],$=yy(t);let te=!0;if(3&r.type||u){const Ne=ki(r,t),We=u?u(Ne):Ne,_t=$.length,Te=u?fn=>u(Yn(fn[r.index])):r.index;let qt=null;if(!u&&h&&(qt=function ww(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const u=o[a];if(u===n&&o[a+1]===r){const h=t[Yi],v=o[a+2];return h.length>v?h[v]:null}"string"==typeof u&&(a+=2)}return null}(e,t,o,r.index)),null!==qt)(qt.__ngLastListenerFn__||qt).__ngNextListenerFn__=a,qt.__ngLastListenerFn__=a,te=!1;else{a=i_(r,t,x,a,!1);const fn=n.listen(We,o,a);$.push(a,fn),M&&M.push(o,Te,_t,_t+1)}}else a=i_(r,t,x,a,!1);const se=r.outputs;let De;if(te&&null!==se&&(De=se[o])){const Ne=De.length;if(Ne)for(let We=0;We<Ne;We+=2){const pr=t[De[We]][De[We+1]].subscribe(a),ss=$.length;$.push(a,pr),M&&M.push(o,r.index,ss,-(ss+1))}}}(a,o,o[ut],u,e,t,r),Qm}function r_(e,t,n,r){try{return li(6,t,n),!1!==n(r)}catch(o){return Ey(e,o),!1}finally{li(7,t,n)}}function i_(e,t,n,r,o){return function a(u){if(u===Function)return r;wa(e.componentOffset>-1?On(e.index,t):t);let v=r_(t,n,r,u),M=a.__ngNextListenerFn__;for(;M;)v=r_(t,n,M,u)&&v,M=M.__ngNextListenerFn__;return o&&!1===v&&u.preventDefault(),v}}function o_(e=1){return function ff(e){return(St.lFrame.contextLView=function Wp(e,t){for(;e>0;)t=t[mo],e--;return t}(e,St.lFrame.contextLView))[Gn]}(e)}function Mw(e,t){let n=null;const r=function zi(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?br(e,a,!0):wi(r,a))return o}else n=o}return n}function s_(e){const t=Me()[un][Fr];if(!t.projection){const r=t.projection=Cu(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const u=e?Mw(a,e):0;null!==u&&(o[u]?o[u].projectionNext=a:r[u]=a,o[u]=a),a=a.next}}}function a_(e,t=0,n){const r=Me(),o=Ut(),a=ou(o,gt+e,16,null,n||null);null===a.projection&&(a.projection=t),rl(),(!r[ui]||Gs())&&32!=(32&a.flags)&&function Cg(e,t,n){ah(t[ut],0,t,n,wo(e,n,t),Al(n.parent||t[Fr],n,t))}(o,r,a)}function Xm(e,t,n){return Jm(e,"",t,"",n),Xm}function Jm(e,t,n,r,o){const a=Me(),u=Zl(a,t,n,r);return u!==Zt&&Ce(Ut(),fr(),a,e,u,a[ut],o,!1),Jm}function Tp(e,t){return e<<17|t<<2}function su(e){return e>>17&32767}function ev(e){return 2|e}function Zu(e){return(131068&e)>>2}function tv(e,t){return-131069&e|t<<2}function nv(e){return 1|e}function m_(e,t,n,r,o){const a=e[n+1],u=null===t;let h=r?su(a):Zu(a),v=!1;for(;0!==h&&(!1===v||u);){const x=e[h+1];Ow(e[h],t)&&(v=!0,e[h+1]=r?nv(x):ev(x)),h=r?su(x):Zu(x)}v&&(e[n+1]=r?ev(a):nv(a))}function Ow(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ha(e,t)>=0}const $i={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function v_(e){return e.substring($i.key,$i.keyEnd)}function y_(e,t){const n=$i.textEnd;return n===t?-1:(t=$i.keyEnd=function xw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,$i.key=t,n),ic(e,t,n))}function ic(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rv(e,t,n){return ks(e,t,n,!1),rv}function iv(e,t){return ks(e,t,null,!0),iv}function w_(e){Vs($w,oa,e,!0)}function oa(e,t){for(let n=function Rw(e){return function D_(e){$i.key=0,$i.keyEnd=0,$i.value=0,$i.valueEnd=0,$i.textEnd=e.length}(e),y_(e,ic(e,0,$i.textEnd))}(t);n>=0;n=y_(t,n))Ho(e,v_(t),!0)}function ks(e,t,n,r){const o=Me(),a=Ut(),u=he(2);a.firstUpdatePass&&b_(a,e,u,r),t!==Zt&&So(o,u,t)&&I_(a,a.data[oo()],o,o[ut],e,o[u+1]=function Ww(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=rt(Rs(e)))),e}(t,n),r,u)}function Vs(e,t,n,r){const o=Ut(),a=he(2);o.firstUpdatePass&&b_(o,null,a,r);const u=Me();if(n!==Zt&&So(u,a,n)){const h=o.data[oo()];if(A_(h,r)&&!M_(o,a)){let v=r?h.classesWithoutHost:h.stylesWithoutHost;null!==v&&(n=Qt(v,n||"")),qm(o,h,u,n,r)}else!function Gw(e,t,n,r,o,a,u,h){o===Zt&&(o=Oe);let v=0,M=0,x=0<o.length?o[0]:null,$=0<a.length?a[0]:null;for(;null!==x||null!==$;){const te=v<o.length?o[v+1]:void 0,se=M<a.length?a[M+1]:void 0;let Ne,De=null;x===$?(v+=2,M+=2,te!==se&&(De=$,Ne=se)):null===$||null!==x&&x<$?(v+=2,De=x):(M+=2,De=$,Ne=se),null!==De&&I_(e,t,n,r,De,Ne,u,h),x=v<o.length?o[v]:null,$=M<a.length?a[M]:null}}(o,h,u,u[ut],u[a+1],u[a+1]=function jw(e,t,n){if(null==n||""===n)return Oe;const r=[],o=Rs(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(r,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,a)}}function M_(e,t){return t>=e.expandoStartIndex}function b_(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[oo()],u=M_(e,n);A_(a,r)&&null===t&&!u&&(t=!1),t=function Vw(e,t,n,r){const o=function Vo(e){const t=St.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Wd(n=ov(null,e,t,n,r),t.attrs,r),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==o)if(n=ov(o,e,t,n,r),null===a){let v=function Bw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Zu(r))return e[su(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=ov(null,e,t,v[1],r),v=Wd(v,t.attrs,r),function Hw(e,t,n,r){e[su(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else a=function Uw(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=Wd(r,e[a].hostAttrs,n);return Wd(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function Tw(e,t,n,r,o,a){let u=a?t.classBindings:t.styleBindings,h=su(u),v=Zu(u);e[r]=n;let x,M=!1;if(Array.isArray(n)?(x=n[1],(null===x||Ha(n,x)>0)&&(M=!0)):x=n,o)if(0!==v){const te=su(e[h+1]);e[r+1]=Tp(te,h),0!==te&&(e[te+1]=tv(e[te+1],r)),e[h+1]=function Sw(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Tp(h,0),0!==h&&(e[h+1]=tv(e[h+1],r)),h=r;else e[r+1]=Tp(v,0),0===h?h=r:e[v+1]=tv(e[v+1],r),v=r;M&&(e[r+1]=ev(e[r+1])),m_(e,x,r,!0),m_(e,x,r,!1),function Aw(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Ha(a,t)>=0&&(n[r+1]=nv(n[r+1]))}(t,x,e,r,a),u=Tp(h,v),a?t.classBindings=u:t.styleBindings=u}(o,a,t,n,u,r)}}function ov(e,t,n,r,o){let a=null;const u=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<u&&(a=t[h],r=Wd(r,a.hostAttrs,o),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function Wd(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ho(e,u,!!n||t[++a]))}return void 0===e?null:e}function $w(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Ho(e,r,n)}function I_(e,t,n,r,o,a,u,h){if(!(3&t.type))return;const v=e.data,M=v[h+1],x=function Iw(e){return 1==(1&e)}(M)?T_(v,t,n,o,Zu(M),u):void 0;Ap(x)||(Ap(a)||function bw(e){return 2==(2&e)}(M)&&(a=T_(v,null,n,o,h,u)),function Mg(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:Dl.DashCase;null==o?e.removeStyle(n,r,a):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),a|=Dl.Important),e.setStyle(n,r,o,a))}}(r,u,ps(oo(),n),o,a))}function T_(e,t,n,r,o,a){const u=null===t;let h;for(;o>0;){const v=e[o],M=Array.isArray(v),x=M?v[1]:v,$=null===x;let te=n[o+1];te===Zt&&(te=$?Oe:void 0);let se=$?Ac(te,r):x===r?te:void 0;if(M&&!Ap(se)&&(se=Ac(v,r)),Ap(se)&&(h=se,u))return h;const De=e[o+1];o=u?su(De):Zu(De)}if(null!==t){let v=a?t.residualClasses:t.residualStyles;null!=v&&(h=Ac(v,r))}return h}function Ap(e){return void 0!==e}function A_(e,t){return 0!=(e.flags&(t?8:16))}function O_(e,t=""){const n=Me(),r=Ut(),o=e+gt,a=r.firstCreatePass?ou(r,o,1,t,null):r.data[o],u=N_(r,n,a,t,e);n[o]=u,ms()&&Ol(r,n,u,a),cs(a,!1)}let N_=(e,t,n,r,o)=>(vi(!0),function Sl(e,t){return e.createText(t)}(t[ut],r));function sv(e){return Op("",e,""),sv}function Op(e,t,n){const r=Me(),o=Zl(r,e,t,n);return o!==Zt&&function Ma(e,t,n){const r=ps(t,e);!function Kf(e,t,n){e.setValue(t,n)}(e[ut],r,n)}(r,oo(),o),Op}function H_(e,t,n){Vs(Ho,oa,Zl(Me(),e,t,n),!0)}function U_(e,t,n,r,o){Vs(Ho,oa,function Ql(e,t,n,r,o,a){const h=Ku(e,b(),n,o);return he(2),h?t+Le(n)+r+Le(o)+a:Zt}(Me(),e,t,n,r,o),!0)}function j_(e,t,n,r,o,a,u){Vs(Ho,oa,function Xl(e,t,n,r,o,a,u,h){const M=Dp(e,b(),n,o,u);return he(3),M?t+Le(n)+r+Le(o)+a+Le(u)+h:Zt}(Me(),e,t,n,r,o,a,u),!0)}const Qu=void 0;var d0=["en",[["a","p"],["AM","PM"],Qu],[["AM","PM"],Qu,Qu],[["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"]],Qu,[["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"]],Qu,[["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}",Qu,"{1} 'at' {0}",Qu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function c0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let oc={};function av(e){const t=function f0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=tD(t);if(n)return n;const r=t.split("-")[0];if(n=tD(r),n)return n;if("en"===r)return d0;throw new ie(701,!1)}function eD(e){return av(e)[sc.PluralCase]}function tD(e){return e in oc||(oc[e]=Xt.ng&&Xt.ng.common&&Xt.ng.common.locales&&Xt.ng.common.locales[e]),oc[e]}var sc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(sc||{});const ac="en-US";let nD=ac;function cv(e,t,n,r,o){if(e=Ve(e),Array.isArray(e))for(let a=0;a<e.length;a++)cv(e[a],t,n,r,o);else{const a=Ut(),u=Me(),h=Ii();let v=hr(e)?e:Ve(e.provide);const M=ju(e),x=1048575&h.providerIndexes,$=h.directiveStart,te=h.providerIndexes>>20;if(hr(e)||!e.multi){const se=new Pa(M,o,iu),De=fv(v,t,o?x:x+te,$);-1===De?(Cc(ll(h,u),a,v),dv(a,e,t.length),t.push(v),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(se),u.push(se)):(n[De]=se,u[De]=se)}else{const se=fv(v,t,x+te,$),De=fv(v,t,x,x+te),We=De>=0&&n[De];if(o&&!We||!o&&!(se>=0&&n[se])){Cc(ll(h,u),a,v);const _t=function cM(e,t,n,r,o){const a=new Pa(e,n,iu);return a.multi=[],a.index=t,a.componentProviders=0,ID(a,o,r&&!n),a}(o?lM:uM,n.length,o,r,M);!o&&We&&(n[De].providerFactory=_t),dv(a,e,t.length,0),t.push(v),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(_t),u.push(_t)}else dv(a,e,se>-1?se:De,ID(n[o?De:se],M,!o&&r));!o&&r&&We&&n[De].componentProviders++}}}function dv(e,t,n,r){const o=hr(t),a=function Yg(e){return!!e.useClass}(t);if(o||a){const v=(a?Ve(t.useClass):t).prototype.ngOnDestroy;if(v){const M=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const x=M.indexOf(n);-1===x?M.push(n,[r,v]):M[x+1].push(r,v)}else M.push(n,v)}}}function ID(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fv(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uM(e,t,n,r){return hv(this.multi,[])}function lM(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const u=this.providerFactory.componentProviders,h=qs(n,n[Be],this.providerFactory.index,r);a=h.slice(0,u),hv(o,a);for(let v=u;v<h.length;v++)a.push(h[v])}else a=[],hv(o,a);return a}function hv(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function TD(e,t=[]){return n=>{n.providersResolver=(r,o)=>function aM(e,t,n){const r=Ut();if(r.firstCreatePass){const o=Si(e);cv(n,r.data,r.blueprint,o,!0),cv(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Xu{}class AD{}function dM(e,t){return new pv(e,t??null,[])}class pv extends Xu{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ty(this);const o=xr(t);this._bootstrapComponents=Fs(o.bootstrap),this._r3Injector=wd(t,n,[{provide:Xu,useValue:this},{provide:Oi,useValue:this.componentFactoryResolver},...r],rt(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gv extends AD{constructor(t){super(),this.moduleType=t}create(t){return new pv(this.moduleType,t,[])}}class OD extends Xu{constructor(t){super(),this.componentFactoryResolver=new Ty(this),this.instance=null;const n=new ea([...t.providers,{provide:Xu,useValue:this},{provide:Oi,useValue:this.componentFactoryResolver}],t.parent||Hl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ND(e,t,n=null){return new OD({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let hM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ih(0,n.type),o=r.length>0?ND([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=wt({token:e,providedIn:"environment",factory:()=>new e(pt(ws))})}}return e})();function RD(e){e.getStandaloneInjector=t=>t.get(hM).getOrCreateStandaloneInjector(e)}function BD(e,t,n){const r=y()+e,o=Me();return o[r]===Zt?ra(o,r,n?t.call(n):t()):function Ud(e,t){return e[t]}(o,r)}function HD(e,t,n,r){return jD(Me(),y(),e,t,n,r)}function UD(e,t,n,r,o){return $D(Me(),y(),e,t,n,r,o)}function Qd(e,t){const n=e[t];return n===Zt?void 0:n}function jD(e,t,n,r,o,a){const u=t+n;return So(e,u,o)?ra(e,u+1,a?r.call(a,o):r(o)):Qd(e,u+1)}function $D(e,t,n,r,o,a,u){const h=t+n;return Ku(e,h,o,a)?ra(e,h+2,u?r.call(u,o,a):r(o,a)):Qd(e,h+2)}function qD(e,t){const n=Ut();let r;const o=e+gt;n.firstCreatePass?(r=function AM(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=U(r.type)),h=Un(iu);try{const v=Fa(!1),M=a();return Fa(v),function mw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Me(),o,M),M}finally{Un(h)}}function YD(e,t,n){const r=e+gt,o=Me(),a=Xi(o,r);return Xd(o,r)?jD(o,y(),t,a.transform,n,a):a.transform(n)}function KD(e,t,n,r){const o=e+gt,a=Me(),u=Xi(a,o);return Xd(a,o)?$D(a,y(),t,u.transform,n,r,u):u.transform(n,r)}function ZD(e,t,n,r,o){const a=e+gt,u=Me(),h=Xi(u,a);return Xd(u,a)?function GD(e,t,n,r,o,a,u,h){const v=t+n;return Dp(e,v,o,a,u)?ra(e,v+3,h?r.call(h,o,a,u):r(o,a,u)):Qd(e,v+3)}(u,y(),t,h.transform,n,r,o,h):h.transform(n,r,o)}function Xd(e,t){return e[Be].data[t].pure}function RM(){return this._results[Symbol.iterator]()}class vv{get changes(){return this._changes||(this._changes=new Ms)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=vv.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=RM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function Bo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Tc(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function xM(e,t,n,r=!0){const o=t[Be];if(function vg(e,t,n,r){const o=Ft+r,a=n.length;r>0&&(n[o-1][jt]=t),r<a-Ft?(t[jt]=n[o],pl(n,Ft+r,t)):(n.push(t),t[jt]=null),t[ft]=n;const u=t[Po];null!==u&&n!==u&&function Xf(e,t){const n=e[Ur];t[un]!==t[ft][ft][un]&&(e[Qi]=!0),null===n?e[Ur]=[t]:n.push(t)}(u,t);const h=t[Fn];null!==h&&h.insertView(e),t[yt]|=128}(o,t,e,n),r){const a=Jc(n,e),u=t[ut],h=Tl(u,e[Yr]);null!==h&&function Qf(e,t,n,r,o,a){r[xn]=o,r[Fr]=t,Fu(e,r,n,1,o,a)}(o,e[Fr],u,t,h,a)}}let Jd=(()=>{class e{static{this.__NG_ELEMENT_ID__=kM}}return e})();const FM=Jd,LM=class extends FM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function PM(e,t,n,r){const o=t.tView,h=Yl(e,o,n,4096&e[yt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);h[Po]=e[t.index];const M=e[Fn];return null!==M&&(h[Fn]=M.createEmbeddedView(o)),km(o,h,n),h}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Bd(o)}};function kM(){return Fp(Ii(),Me())}function Fp(e,t){return 4&e.type?new LM(t,e,Ja(e,t)):null}let kp=(()=>{class e{static{this.__NG_ELEMENT_ID__=$M}}return e})();function $M(){return rE(Ii(),Me())}const GM=kp,tE=class extends GM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ja(this._hostTNode,this._hostLView)}get injector(){return new so(this._hostTNode,this._hostLView)}get parentInjector(){const t=yu(this._hostTNode,this._hostLView);if(Hi(t)){const n=mu(t,this._hostLView),r=la(t);return new so(n[Be].data[r+8],n)}return new so(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=nE(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ft}createEmbeddedView(t,n,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const h=t.createEmbeddedViewImpl(n||{},a,null);return this.insertImpl(h,o,false),h}createComponent(t,n,r,o,a){const u=t&&!function Ba(e){return"function"==typeof e}(t);let h;if(u)h=n;else{const Ne=n||{};h=Ne.index,r=Ne.injector,o=Ne.projectableNodes,a=Ne.environmentInjector||Ne.ngModuleRef}const v=u?t:new Hd(Jt(t)),M=r||this.parentInjector;if(!a&&null==v.ngModule){const We=(u?M:this.parentInjector).get(ws,null);We&&(a=We)}Jt(v.componentType??{});const se=v.create(M,o,null,a);return this.insertImpl(se.hostView,h,false),se}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function rf(e){return cr(e[ft])}(o)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const M=o[ft],x=new tE(M,M[Fr],M[ft]);x.detach(x.indexOf(t))}}const u=this._adjustIndex(n),h=this._lContainer;return xM(h,o,u,!r),t.attachToViewContainerRef(),pl(yv(h),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=nE(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Il(this._lContainer,n);r&&(fs(yv(this._lContainer),n),Kc(r[Be],r))}detach(t){const n=this._adjustIndex(t,-1),r=Il(this._lContainer,n);return r&&null!=fs(yv(this._lContainer),n)?new Bd(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function nE(e){return e[8]}function yv(e){return e[8]||(e[8]=[])}function rE(e,t){let n;const r=t[e.index];return cr(r)?n=r:(n=my(r,t,null,e),t[e.index]=n,gp(t,n)),iE(n,t,e,r),new tE(n,e,t)}let iE=function oE(e,t,n,r){if(e[Yr])return;let o;o=8&n.type?Yn(r):function WM(e,t){const n=e[ut],r=n.createComment(""),o=ki(t,e);return ya(n,Tl(n,o),r,function Eg(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Yr]=o};class _v{constructor(t){this.queryList=t,this.matches=null}clone(){return new _v(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dv{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const u=n.getByIndex(a);o.push(this.queries[u.indexInDeclarationView].clone())}return new Dv(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==pE(t,n).matches&&this.queries[n].setDirty()}}class sE{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ev{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Ev(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Cv{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Cv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,YM(n,a)),this.matchTNodeWithReadOption(t,n,_u(n,t,a,!1,!1))}else r===Jd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_u(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===qu||o===kp||o===Jd&&4&n.type)this.addMatch(n.index,-2);else{const a=_u(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function YM(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ZM(e,t,n,r){return-1===n?function KM(e,t){return 11&e.type?Ja(e,t):4&e.type?Fp(e,t):null}(t,e):-2===n?function QM(e,t,n){return n===qu?Ja(t,e):n===Jd?Fp(t,e):n===kp?rE(t,e):void 0}(e,t,r):qs(e,e[Be],n,t)}function aE(e,t,n,r){const o=t[Fn].queries[r];if(null===o.matches){const a=e.data,u=n.matches,h=[];for(let v=0;v<u.length;v+=2){const M=u[v];h.push(M<0?null:ZM(t,a[M],u[v+1],n.metadata.read))}o.matches=h}return o.matches}function wv(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const u=aE(e,t,o,n);for(let h=0;h<a.length;h+=2){const v=a[h];if(v>0)r.push(u[h/2]);else{const M=a[h+1],x=t[-v];for(let $=Ft;$<x.length;$++){const te=x[$];te[Po]===te[ft]&&wv(te[Be],te,M,r)}if(null!==x[Ur]){const $=x[Ur];for(let te=0;te<$.length;te++){const se=$[te];wv(se[Be],se,M,r)}}}}}return r}function uE(e){const t=Me(),n=Ut(),r=Do();Is(r+1);const o=pE(n,r);if(e.dirty&&function Vi(e){return 4==(4&e[yt])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?wv(n,t,r,[]):aE(n,t,o,r);e.reset(a,Vh),e.notifyOnChanges()}return!0}return!1}function lE(e,t,n){const r=Ut();r.firstCreatePass&&(hE(r,new sE(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),fE(r,Me(),t)}function cE(e,t,n,r){const o=Ut();if(o.firstCreatePass){const a=Ii();hE(o,new sE(t,n,r),a.index),function JM(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}fE(o,Me(),n)}function dE(){return function XM(e,t){return e[Fn].queries[t].queryList}(Me(),Do())}function fE(e,t,n){const r=new vv(4==(4&n));(function j(e,t,n,r){const o=yy(t);o.push(n),e.firstCreatePass&&_y(e).push(r,o.length-1)})(e,t,r,r.destroy),null===t[Fn]&&(t[Fn]=new Dv),t[Fn].queries.push(new _v(r))}function hE(e,t,n){null===e.queries&&(e.queries=new Ev),e.queries.track(new Cv(t,n))}function pE(e,t){return e.queries.getByIndex(t)}function gE(e,t){return Fp(e,t)}function Mv(e){return!!xr(e)}const RE=new Ue("Application Initializer");let Av=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=je(RE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const a=o();if(Zm(a))n.push(a);else if(e_(a)){const u=new Promise((h,v)=>{a.subscribe({complete:h,error:v})});n.push(u)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),PE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Bp=new Ue("LocaleId",{providedIn:"root",factory:()=>je(Bp,at.Optional|at.SkipSelf)||function Db(){return typeof $localize<"u"&&$localize.locale||ac}()}),Eb=new Ue("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let xE=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class wb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Mb=(()=>{class e{compileModuleSync(n){return new gv(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=Fs(xr(n).declarations).reduce((u,h)=>{const v=Jt(h);return v&&u.push(new Hd(v)),u},[]);return new wb(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const VE=new Ue(""),BE=new Ue("");let Rv,zb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rv||(function qb(e){Rv=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ni.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,r,o){if(o&&!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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static{this.\u0275fac=function(r){return new(r||e)(pt(Ni),pt(HE),pt(BE))}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac})}}return e})(),HE=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Rv?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),au=null;const UE=new Ue("AllowMultipleToken"),Pv=new Ue("PlatformDestroyListeners"),xv=new Ue("appBootstrapListener");class Zb{constructor(t,n){this.name=t,this.token=n}}function GE(e,t,n=[]){const r=`Platform: ${t}`,o=new Ue(r);return(a=[])=>{let u=Fv();if(!u||u.injector.get(UE,!1)){const h=[...n,...a,{provide:o,useValue:!0}];e?e(h):function Qb(e){if(au&&!au.get(UE,!1))throw new ie(400,!1);(function jE(){!function At(e){nt=e}(()=>{throw new ie(600,!1)})})(),au=e;const t=e.get(zE);(function $E(e){e.get(Ph,null)?.forEach(n=>n())})(e)}(function WE(e=[],t){return rs.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Pv,useValue:new Set([()=>au=null])},...e]})}(h,r))}return function Jb(e){const t=Fv();if(!t)throw new ie(401,!1);return t}()}}function Fv(){return au?.get(zE)??null}let zE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function eS(e="zone.js",t){return"noop"===e?new Mm:"zone.js"===e?new Ni(t):e}(r?.ngZone,function qE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const a=function fM(e,t,n){return new pv(e,t,n)}(n.moduleType,this.injector,function XE(e){return[{provide:Ni,useFactory:e},{provide:Uu,multi:!0,useFactory:()=>{const t=je(nS,{optional:!0});return()=>t.initialize()}},{provide:QE,useFactory:tS},{provide:Zh,useFactory:Qh}]}(()=>o)),u=a.injector.get(ta,null);return o.runOutsideAngular(()=>{const h=o.onError.subscribe({next:v=>{u.handleError(v)}});a.onDestroy(()=>{Up(this._modules,a),h.unsubscribe()})}),function YE(e,t,n){try{const r=n();return Zm(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const h=a.injector.get(Av);return h.runInitializers(),h.donePromise.then(()=>(function rD(e){yn(e,"Expected localeId to be defined"),"string"==typeof e&&(nD=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Bp,ac)||ac),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=KE({},r);return function Yb(e,t,n){const r=new gv(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(cc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new ie(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ie(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Pv,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(pt(rs))}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function KE(e,t){return Array.isArray(t)?t.reduce(KE,e):{...e,...t}}let cc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=je(QE),this.zoneIsStable=je(Zh),this.componentTypes=[],this.components=[],this.isStable=je(xE).hasPendingTasks.pipe((0,Nt.w)(n=>n?(0,Qe.of)(!1):this.zoneIsStable),(0,Kn.x)(),(0,et.B)()),this._injector=je(ws)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof $l;if(!this._injector.get(Av).done)throw!o&&qi(n),new ie(405,!1);let u;u=o?n:this._injector.get(Oi).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const h=function Kb(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Xu),M=u.create(rs.NULL,[],r||u.selector,h),x=M.location.nativeElement,$=M.injector.get(VE,null);return $?.registerApplication(x),M.onDestroy(()=>{this.detachView(M.hostView),Up(this.components,M),$?.unregisterApplication(x)}),this._loadComponent(M),M}tick(){if(this._runningTick)throw new ie(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Up(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(xv,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Up(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ie(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Up(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const QE=new Ue("",{providedIn:"root",factory:()=>je(ta).handleError.bind(void 0)});function tS(){const e=je(Ni),t=je(ta);return n=>e.runOutsideAngular(()=>t.handleError(n))}let nS=(()=>{class e{constructor(){this.zone=je(Ni),this.applicationRef=je(cc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function iS(){return!1}function oS(){}let sS=(()=>{class e{static{this.__NG_ELEMENT_ID__=aS}}return e})();function aS(e){return function uS(e,t,n){if(ko(e)&&!n){const r=On(e.index,t);return new Bd(r,r)}return 47&e.type?new Bd(t[un],t):null}(Ii(),Me(),16==(16&e))}class nC{constructor(){}supports(t){return _p(t)}create(t){return new pS(t)}}const hS=(e,t)=>t;class pS{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||hS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,a=null;for(;n||r;){const u=!r||n&&n.currentIndex<iC(r,o,a)?n:r,h=iC(u,o,a),v=u.currentIndex;if(u===r)o--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)o++;else{a||(a=[]);const M=h-o,x=v-o;if(M!=x){for(let te=0;te<M;te++){const se=te<a.length?a[te]:a[te]=0,De=se+te;x<=De&&De<M&&(a[te]=se+1)}a[u.previousIndex]=x-M}}h!==v&&t(u,h,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!_p(t))throw new ie(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],u=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,a,u,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,u,h),r=!0),n=n._next}else o=0,function KC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{u=this._trackByFn(o,h),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,h,u,o)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,u,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new gS(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new rC),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rC),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gS{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mS{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class rC{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mS,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iC(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class oC{constructor(){}supports(t){return t instanceof Map||Bm(t)}create(){return new vS}}class vS{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Bm(t)))throw new ie(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,u=o._next;return a&&(a._next=u),u&&(u._prev=a),o._next=null,o._prev=null,o}const r=new yS(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class yS{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function sC(){return new Hv([new nC])}let Hv=(()=>{class e{static{this.\u0275prov=wt({token:e,providedIn:"root",factory:sC})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sC()),deps:[[e,new gl,new wu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new ie(901,!1)}}return e})();function aC(){return new Uv([new oC])}let Uv=(()=>{class e{static{this.\u0275prov=wt({token:e,providedIn:"root",factory:aC})}constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||aC()),deps:[[e,new gl,new wu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new ie(901,!1)}}return e})();const ES=GE(null,"core",[]);let CS=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(pt(cc))}}static{this.\u0275mod=fo({type:e})}static{this.\u0275inj=Zn({})}}return e})();function PS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function FS(e){const t=Jt(e);if(!t)return null;const n=new Hd(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6223:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Cf:()=>Ke,Fj:()=>Rn,JJ:()=>Dr,JU:()=>Nt,On:()=>ar,Wl:()=>Xe,nD:()=>Yr,u5:()=>sa});var d=fe(5879),H=fe(6814),Ae=fe(9666),Se=fe(9315),ze=fe(7398);let Qe=(()=>{class S{constructor(E,V){this._renderer=E,this._elementRef=V,this.onChange=Y=>{},this.onTouched=()=>{}}setProperty(E,V){this._renderer.setProperty(this._elementRef.nativeElement,E,V)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}static{this.\u0275fac=function(V){return new(V||S)(d.Y36(d.Qsj),d.Y36(d.SBq))}}static{this.\u0275dir=d.lG2({type:S})}}return S})(),et=(()=>{class S extends Qe{static{this.\u0275fac=function(){let E;return function(Y){return(E||(E=d.n5z(S)))(Y||S)}}()}static{this.\u0275dir=d.lG2({type:S,features:[d.qOj]})}}return S})();const Nt=new d.OlP("NgValueAccessor"),Kn={provide:Nt,useExisting:(0,d.Gpc)(()=>Xe),multi:!0};let Xe=(()=>{class S extends et{writeValue(E){this.setProperty("checked",E)}static{this.\u0275fac=function(){let E;return function(Y){return(E||(E=d.n5z(S)))(Y||S)}}()}static{this.\u0275dir=d.lG2({type:S,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(V,Y){1&V&&d.NdJ("change",function(Ht){return Y.onChange(Ht.target.checked)})("blur",function(){return Y.onTouched()})},features:[d._Bn([Kn]),d.qOj]})}}return S})();const Tt={provide:Nt,useExisting:(0,d.Gpc)(()=>Rn),multi:!0},Qt=new d.OlP("CompositionEventMode");let Rn=(()=>{class S extends Qe{constructor(E,V,Y){super(E,V),this._compositionMode=Y,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rt(){const S=(0,H.q)()?(0,H.q)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_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{this.\u0275fac=function(V){return new(V||S)(d.Y36(d.Qsj),d.Y36(d.SBq),d.Y36(Qt,8))}}static{this.\u0275dir=d.lG2({type:S,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(V,Y){1&V&&d.NdJ("input",function(Ht){return Y._handleInput(Ht.target.value)})("blur",function(){return Y.onTouched()})("compositionstart",function(){return Y._compositionStart()})("compositionend",function(Ht){return Y._compositionEnd(Ht.target.value)})},features:[d._Bn([Tt]),d.qOj]})}}return S})();const Ke=new d.OlP("NgValidators"),Dn=new d.OlP("NgAsyncValidators");function Mn(S){return null}function Ar(S){return null!=S}function Or(S){return(0,d.QGY)(S)?(0,Ae.D)(S):S}function Xr(S){let T={};return S.forEach(E=>{T=null!=E?{...T,...E}:T}),0===Object.keys(T).length?null:T}function vn(S,T){return T.map(E=>E(S))}function oi(S){return S.map(T=>function Lr(S){return!S.validate}(T)?T:E=>T.validate(E))}function Je(S){return null!=S?function yi(S){if(!S)return null;const T=S.filter(Ar);return 0==T.length?null:function(E){return Xr(vn(E,T))}}(oi(S)):null}function Gi(S){return null!=S?function kr(S){if(!S)return null;const T=S.filter(Ar);return 0==T.length?null:function(E){const V=vn(E,T).map(Or);return(0,Se.D)(V).pipe((0,ze.U)(Xr))}}(oi(S)):null}function Pn(S,T){return null===S?[T]:Array.isArray(S)?[...S,T]:[S,T]}function qe(S){return S?Array.isArray(S)?S:[S]:[]}function Nr(S,T){return Array.isArray(S)?S.includes(T):S===T}function zr(S,T){const E=qe(T);return qe(S).forEach(Y=>{Nr(E,Y)||E.push(Y)}),E}function _r(S,T){return qe(T).filter(E=>!Nr(S,E))}class wt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Je(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=Gi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,E){return!!this.control&&this.control.hasError(T,E)}getError(T,E){return this.control?this.control.getError(T,E):null}}class hn extends wt{get formDirective(){return null}get path(){return null}}class Zn extends wt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bn{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Dr=(()=>{class S extends Bn{constructor(E){super(E)}static{this.\u0275fac=function(V){return new(V||S)(d.Y36(Zn,2))}}static{this.\u0275dir=d.lG2({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,Y){2&V&&d.ekj("ng-untouched",Y.isUntouched)("ng-touched",Y.isTouched)("ng-pristine",Y.isPristine)("ng-dirty",Y.isDirty)("ng-valid",Y.isValid)("ng-invalid",Y.isInvalid)("ng-pending",Y.isPending)},features:[d.qOj]})}}return S})();const er="VALID",Cr="INVALID",Pr="PENDING",zn="DISABLED";function qn(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}class lo{constructor(T,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(E)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===er}get invalid(){return this.status===Cr}get pending(){return this.status==Pr}get disabled(){return this.status===zn}get enabled(){return this.status!==zn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(zr(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(zr(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(_r(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(_r(T,this._rawAsyncValidators))}hasValidator(T){return Nr(this._rawValidators,T)}hasAsyncValidator(T){return Nr(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Pr,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const E=this._parentMarkedDirty(T.onlySelf);this.status=zn,this.errors=null,this._forEachChild(V=>{V.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:E}),this._onDisabledChange.forEach(V=>V(!0))}enable(T={}){const E=this._parentMarkedDirty(T.onlySelf);this.status=er,this._forEachChild(V=>{V.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:E}),this._onDisabledChange.forEach(V=>V(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===er||this.status===Pr)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zn:er}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Pr,this._hasOwnPendingAsyncValidator=!0;const E=Or(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,E={}){this.errors=T,this._updateControlsErrors(!1!==E.emitEvent)}get(T){let E=T;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((V,Y)=>V&&V._find(Y),this)}getError(T,E){const V=E?this.get(E):this;return V&&V.errors?V.errors[T]:null}hasError(T,E){return!!this.getError(T,E)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new d.vpe,this.statusChanges=new d.vpe}_calculateStatus(){return this._allControlsDisabled()?zn:this.errors?Cr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pr)?Pr:this._anyControlsHaveStatus(Cr)?Cr:er}_anyControlsHaveStatus(T){return this._anyControls(E=>E.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){qn(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function Ei(S){return Array.isArray(S)?Je(S):S||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function Vr(S){return Array.isArray(S)?Gi(S):S||null}(this._rawAsyncValidators)}}const Re=new d.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>tt}),tt="always";function xt(S,T,E=tt){(function N(S,T){const E=function Wr(S){return S._rawValidators}(S);null!==T.validator?S.setValidators(Pn(E,T.validator)):"function"==typeof E&&S.setValidators([E]);const V=function yn(S){return S._rawAsyncValidators}(S);null!==T.asyncValidator?S.setAsyncValidators(Pn(V,T.asyncValidator)):"function"==typeof V&&S.setAsyncValidators([V]);const Y=()=>S.updateValueAndValidity();re(T._rawValidators,Y),re(T._rawAsyncValidators,Y)})(S,T),T.valueAccessor.writeValue(S.value),(S.disabled||"always"===E)&&T.valueAccessor.setDisabledState?.(S.disabled),function L(S,T){T.valueAccessor.registerOnChange(E=>{S._pendingValue=E,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&ae(S,T)})}(S,T),function Ie(S,T){const E=(V,Y)=>{T.valueAccessor.writeValue(V),Y&&T.viewToModelUpdate(V)};S.registerOnChange(E),T._registerOnDestroy(()=>{S._unregisterOnChange(E)})}(S,T),function Q(S,T){T.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&ae(S,T),"submit"!==S.updateOn&&S.markAsTouched()})}(S,T),function J(S,T){if(T.valueAccessor.setDisabledState){const E=V=>{T.valueAccessor.setDisabledState(V)};S.registerOnDisabledChange(E),T._registerOnDestroy(()=>{S._unregisterOnDisabledChange(E)})}}(S,T)}function re(S,T){S.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(T)})}function ae(S,T){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function Mr(S,T){const E=S.indexOf(T);E>-1&&S.splice(E,1)}function hi(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const si=class extends lo{constructor(T=null,E,V){super(function wr(S){return(qn(S)?S.validators:S)||null}(E),function fi(S,T){return(qn(T)?T.asyncValidators:S)||null}(V,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qn(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=hi(T)?T.value:T)}setValue(T,E={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(V=>V(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(T,E={}){this.setValue(T,E)}reset(T=this.defaultValue,E={}){this._applyFormState(T),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){Mr(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){Mr(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){hi(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},zo={provide:Zn,useExisting:(0,d.Gpc)(()=>ar)},To=(()=>Promise.resolve())();let ar=(()=>{class S extends Zn{constructor(E,V,Y,ot,Ht,Fi){super(),this._changeDetectorRef=Ht,this.callSetDisabledState=Fi,this.control=new si,this._registered=!1,this.name="",this.update=new d.vpe,this._parent=E,this._setValidators(V),this._setAsyncValidators(Y),this.valueAccessor=function Bt(S,T){if(!T)return null;let E,V,Y;return Array.isArray(T),T.forEach(ot=>{ot.constructor===Rn?E=ot:function rn(S){return Object.getPrototypeOf(S.constructor)===et}(ot)?V=ot:Y=ot}),Y||V||E||null}(0,ot)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const V=E.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),function An(S,T){if(!S.hasOwnProperty("model"))return!1;const E=S.model;return!!E.isFirstChange()||!Object.is(T,E.currentValue)}(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&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){xt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(E){To.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const V=E.isDisabled.currentValue,Y=0!==V&&(0,d.VuI)(V);To.then(()=>{Y&&!this.control.disabled?this.control.disable():!Y&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?function pt(S,T){return[...T.path,S]}(E,this._parent):[E]}static{this.\u0275fac=function(V){return new(V||S)(d.Y36(hn,9),d.Y36(Ke,10),d.Y36(Dn,10),d.Y36(Nt,10),d.Y36(d.sBO,8),d.Y36(Re,8))}}static{this.\u0275dir=d.lG2({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[d._Bn([zo]),d.qOj,d.TTD]})}}return S})(),fo=(()=>{class S{static{this.\u0275fac=function(V){return new(V||S)}}static{this.\u0275mod=d.oAB({type:S})}static{this.\u0275inj=d.cJS({})}}return S})();let un=(()=>{class S{constructor(){this._validator=Mn}ngOnChanges(E){if(this.inputName in E){const V=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(V),this._validator=this._enabled?this.createValidator(V):Mn,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}static{this.\u0275fac=function(V){return new(V||S)}}static{this.\u0275dir=d.lG2({type:S,features:[d.TTD]})}}return S})();const Qi={provide:Ke,useExisting:(0,d.Gpc)(()=>Yr),multi:!0};let Yr=(()=>{class S extends un{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=E=>function mr(S){return"number"==typeof S?S:parseInt(S,10)}(E),this.createValidator=E=>function ln(S){return T=>function Ve(S){return null!=S&&"number"==typeof S.length}(T.value)&&T.value.length>S?{maxlength:{requiredLength:S,actualLength:T.value.length}}:null}(E)}static{this.\u0275fac=function(){let E;return function(Y){return(E||(E=d.n5z(S)))(Y||S)}}()}static{this.\u0275dir=d.lG2({type:S,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(V,Y){2&V&&d.uIk("maxlength",Y._enabled?Y.maxlength:null)},inputs:{maxlength:"maxlength"},features:[d._Bn([Qi]),d.qOj]})}}return S})(),Qn=(()=>{class S{static{this.\u0275fac=function(V){return new(V||S)}}static{this.\u0275mod=d.oAB({type:S})}static{this.\u0275inj=d.cJS({imports:[fo]})}}return S})(),sa=(()=>{class S{static withConfig(E){return{ngModule:S,providers:[{provide:Re,useValue:E.callSetDisabledState??tt}]}}static{this.\u0275fac=function(V){return new(V||S)}}static{this.\u0275mod=d.oAB({type:S})}static{this.\u0275inj=d.cJS({imports:[Qn]})}}return S})()},349:(Nn,mt,fe)=>{"use strict";fe.d(mt,{PW:()=>ri});var d=fe(5879),H=fe(6593),Ae=fe(6825);function ze(F){return new d.vHH(3e3,!1)}function yn(F){switch(F.length){case 0:return new Ae.ZN;case 1:return F[0];default:return new Ae.ZE(F)}}function qe(F,c,g=new Map,w=new Map){const P=[],U=[];let K=-1,Z=null;if(c.forEach(de=>{const pe=de.get("offset"),ke=pe==K,Pe=ke&&Z||new Map;de.forEach((Gt,Lt)=>{let lt=Lt,Et=Gt;if("offset"!==Lt)switch(lt=F.normalizePropertyName(lt,P),Et){case Ae.k1:Et=g.get(Lt);break;case Ae.l3:Et=w.get(Lt);break;default:Et=F.normalizeStyleValue(Lt,lt,Et,P)}Pe.set(lt,Et)}),ke||U.push(Pe),Z=Pe,K=pe}),P.length)throw function Mn(F){return new d.vHH(3502,!1)}();return U}function Nr(F,c,g,w){switch(c){case"start":F.onStart(()=>w(g&&zr(g,"start",F)));break;case"done":F.onDone(()=>w(g&&zr(g,"done",F)));break;case"destroy":F.onDestroy(()=>w(g&&zr(g,"destroy",F)))}}function zr(F,c,g){const U=_r(F.element,F.triggerName,F.fromState,F.toState,c||F.phaseName,g.totalTime??F.totalTime,!!g.disabled),K=F._data;return null!=K&&(U._data=K),U}function _r(F,c,g,w,P="",U=0,K){return{element:F,triggerName:c,fromState:g,toState:w,phaseName:P,totalTime:U,disabled:!!K}}function wt(F,c,g){let w=F.get(c);return w||F.set(c,w=g),w}function hn(F){const c=F.indexOf(":");return[F.substring(1,c),F.slice(c+1)]}const Zn=(()=>typeof document>"u"?null:document.documentElement)();function Bn(F){const c=F.parentNode||F.host||null;return c===Zn?null:c}let Jr=null,Dr=!1;function dt(F,c){for(;c;){if(c===F)return!0;c=Bn(c)}return!1}function Tn(F,c,g){if(g)return Array.from(F.querySelectorAll(c));const w=F.querySelector(c);return w?[w]:[]}let Mt=(()=>{class F{validateStyleProperty(g){return function _i(F){Jr||(Jr=function In(){return typeof document<"u"?document.body:null}()||{},Dr=!!Jr.style&&"WebkitAppearance"in Jr.style);let c=!0;return Jr.style&&!function Hn(F){return"ebkit"==F.substring(1,6)}(F)&&(c=F in Jr.style,!c&&Dr&&(c="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in Jr.style)),c}(g)}matchesElement(g,w){return!1}containsElement(g,w){return dt(g,w)}getParentElement(g){return Bn(g)}query(g,w,P){return Tn(g,w,P)}computeStyle(g,w,P){return P||""}animate(g,w,P,U,K,Z=[],de){return new Ae.ZN(P,U)}static{this.\u0275fac=function(w){return new(w||F)}}static{this.\u0275prov=d.Yz7({token:F,factory:F.\u0275fac})}}return F})(),It=(()=>{class F{static{this.NOOP=new Mt}}return F})();const Un=1e3,Xt="ng-enter",cn="ng-leave",di="ng-trigger",Ue=".ng-trigger",Di="ng-animating",kt=".ng-animating";function Jn(F){if("number"==typeof F)return F;const c=F.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:er(parseFloat(c[1]),c[2])}function er(F,c){return"s"===c?F*Un:F}function Cr(F,c,g){return F.hasOwnProperty("duration")?F:function Pr(F,c,g){let P,U=0,K="";if("string"==typeof F){const Z=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Z)return c.push(ze()),{duration:0,delay:0,easing:""};P=er(parseFloat(Z[1]),Z[2]);const de=Z[3];null!=de&&(U=er(parseFloat(de),Z[4]));const pe=Z[5];pe&&(K=pe)}else P=F;if(!g){let Z=!1,de=c.length;P<0&&(c.push(function Qe(){return new d.vHH(3100,!1)}()),Z=!0),U<0&&(c.push(function et(){return new d.vHH(3101,!1)}()),Z=!0),Z&&c.splice(de,0,ze())}return{duration:P,delay:U,easing:K}}(F,c,g)}function zn(F,c={}){return Object.keys(F).forEach(g=>{c[g]=F[g]}),c}function wr(F){const c=new Map;return Object.keys(F).forEach(g=>{c.set(g,F[g])}),c}function Vr(F,c=new Map,g){if(g)for(let[w,P]of g)c.set(w,P);for(let[w,P]of F)c.set(w,P);return c}function qn(F,c,g){c.forEach((w,P)=>{const U=Re(P);g&&!g.has(P)&&g.set(P,F.style[U]),F.style[U]=w})}function Br(F,c){c.forEach((g,w)=>{const P=Re(w);F.style[P]=""})}function ti(F){return Array.isArray(F)?1==F.length?F[0]:(0,Ae.vP)(F):F}const me=new RegExp("{{\\s*(.+?)\\s*}}","g");function ue(F){let c=[];if("string"==typeof F){let g;for(;g=me.exec(F);)c.push(g[1]);me.lastIndex=0}return c}function z(F,c,g){const w=F.toString(),P=w.replace(me,(U,K)=>{let Z=c[K];return null==Z&&(g.push(function Kn(F){return new d.vHH(3003,!1)}()),Z=""),Z.toString()});return P==w?F:P}function X(F){const c=[];let g=F.next();for(;!g.done;)c.push(g.value),g=F.next();return c}const ye=/-+([a-z0-9])/g;function Re(F){return F.replace(ye,(...c)=>c[1].toUpperCase())}function je(F,c,g){switch(c.type){case 7:return F.visitTrigger(c,g);case 0:return F.visitState(c,g);case 1:return F.visitTransition(c,g);case 2:return F.visitSequence(c,g);case 3:return F.visitGroup(c,g);case 4:return F.visitAnimate(c,g);case 5:return F.visitKeyframes(c,g);case 6:return F.visitStyle(c,g);case 8:return F.visitReference(c,g);case 9:return F.visitAnimateChild(c,g);case 10:return F.visitAnimateRef(c,g);case 11:return F.visitQuery(c,g);case 12:return F.visitStagger(c,g);default:throw function Xe(F){return new d.vHH(3004,!1)}()}}function re(F,c){return window.getComputedStyle(F)[c]}const Ie="*";function we(F,c){const g=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(w=>function Ze(F,c,g){if(":"==F[0]){const de=function Oe(F,c){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,w)=>parseFloat(w)>parseFloat(g);case":decrement":return(g,w)=>parseFloat(w)<parseFloat(g);default:return c.push(function Ct(F){return new d.vHH(3016,!1)}()),"* => *"}}(F,g);if("function"==typeof de)return void c.push(de);F=de}const w=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==w||w.length<4)return g.push(function Fe(F){return new d.vHH(3015,!1)}()),c;const P=w[1],U=w[2],K=w[3];c.push(Yt(P,K));"<"==U[0]&&!(P==Ie&&K==Ie)&&c.push(Yt(K,P))}(w,g,c)):g.push(F),g}const vt=new Set(["true","1"]),an=new Set(["false","0"]);function Yt(F,c){const g=vt.has(F)||an.has(F),w=vt.has(c)||an.has(c);return(P,U)=>{let K=F==Ie||F==P,Z=c==Ie||c==U;return!K&&g&&"boolean"==typeof P&&(K=P?vt.has(F):an.has(F)),!Z&&w&&"boolean"==typeof U&&(Z=U?vt.has(c):an.has(c)),K&&Z}}const An=new RegExp("s*:selfs*,?","g");function rn(F,c,g,w){return new Bt(F).build(c,g,w)}class Bt{constructor(c){this._driver=c}build(c,g,w){const P=new jn(g);return this._resetContextStyleTimingState(P),je(this,ti(c),P)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,g){let w=g.queryCount=0,P=g.depCount=0;const U=[],K=[];return"@"==c.name.charAt(0)&&g.errors.push(function rt(){return new d.vHH(3006,!1)}()),c.definitions.forEach(Z=>{if(this._resetContextStyleTimingState(g),0==Z.type){const de=Z,pe=de.name;pe.toString().split(/\s*,\s*/).forEach(ke=>{de.name=ke,U.push(this.visitState(de,g))}),de.name=pe}else if(1==Z.type){const de=this.visitTransition(Z,g);w+=de.queryCount,P+=de.depCount,K.push(de)}else g.errors.push(function Qt(){return new d.vHH(3007,!1)}())}),{type:7,name:c.name,states:U,transitions:K,queryCount:w,depCount:P,options:null}}visitState(c,g){const w=this.visitStyle(c.styles,g),P=c.options&&c.options.params||null;if(w.containsDynamicStyles){const U=new Set,K=P||{};w.styles.forEach(Z=>{Z instanceof Map&&Z.forEach(de=>{ue(de).forEach(pe=>{K.hasOwnProperty(pe)||U.add(pe)})})}),U.size&&(X(U.values()),g.errors.push(function Rn(F,c){return new d.vHH(3008,!1)}()))}return{type:0,name:c.name,style:w,options:P?{params:P}:null}}visitTransition(c,g){g.queryCount=0,g.depCount=0;const w=je(this,ti(c.animation),g);return{type:1,matchers:we(c.expr,g.errors),animation:w,queryCount:g.queryCount,depCount:g.depCount,options:Mr(c.options)}}visitSequence(c,g){return{type:2,steps:c.steps.map(w=>je(this,w,g)),options:Mr(c.options)}}visitGroup(c,g){const w=g.currentTime;let P=0;const U=c.steps.map(K=>{g.currentTime=w;const Z=je(this,K,g);return P=Math.max(P,g.currentTime),Z});return g.currentTime=P,{type:3,steps:U,options:Mr(c.options)}}visitAnimate(c,g){const w=function qr(F,c){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return hi(Cr(F,c).duration,0,"");const g=F;if(g.split(/\s+/).some(U=>"{"==U.charAt(0)&&"{"==U.charAt(1))){const U=hi(0,0,"");return U.dynamic=!0,U.strValue=g,U}const P=Cr(g,c);return hi(P.duration,P.delay,P.easing)}(c.timings,g.errors);g.currentAnimateTimings=w;let P,U=c.styles?c.styles:(0,Ae.oB)({});if(5==U.type)P=this.visitKeyframes(U,g);else{let K=c.styles,Z=!1;if(!K){Z=!0;const pe={};w.easing&&(pe.easing=w.easing),K=(0,Ae.oB)(pe)}g.currentTime+=w.duration+w.delay;const de=this.visitStyle(K,g);de.isEmptyStep=Z,P=de}return g.currentAnimateTimings=null,{type:4,timings:w,style:P,options:null}}visitStyle(c,g){const w=this._makeStyleAst(c,g);return this._validateStyleAst(w,g),w}_makeStyleAst(c,g){const w=[],P=Array.isArray(c.styles)?c.styles:[c.styles];for(let Z of P)"string"==typeof Z?Z===Ae.l3?w.push(Z):g.errors.push(new d.vHH(3002,!1)):w.push(wr(Z));let U=!1,K=null;return w.forEach(Z=>{if(Z instanceof Map&&(Z.has("easing")&&(K=Z.get("easing"),Z.delete("easing")),!U))for(let de of Z.values())if(de.toString().indexOf("{{")>=0){U=!0;break}}),{type:6,styles:w,easing:K,offset:c.offset,containsDynamicStyles:U,options:null}}_validateStyleAst(c,g){const w=g.currentAnimateTimings;let P=g.currentTime,U=g.currentTime;w&&U>0&&(U-=w.duration+w.delay),c.styles.forEach(K=>{"string"!=typeof K&&K.forEach((Z,de)=>{const pe=g.collectedStyles.get(g.currentQuerySelector),ke=pe.get(de);let Pe=!0;ke&&(U!=P&&U>=ke.startTime&&P<=ke.endTime&&(g.errors.push(function Ke(F,c,g,w,P){return new d.vHH(3010,!1)}()),Pe=!1),U=ke.startTime),Pe&&pe.set(de,{startTime:U,endTime:P}),g.options&&function lo(F,c,g){const w=c.params||{},P=ue(F);P.length&&P.forEach(U=>{w.hasOwnProperty(U)||g.push(function Nt(F){return new d.vHH(3001,!1)}())})}(Z,g.options,g.errors)})})}visitKeyframes(c,g){const w={type:5,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function Dn(){return new d.vHH(3011,!1)}()),w;let U=0;const K=[];let Z=!1,de=!1,pe=0;const ke=c.steps.map(Cn=>{const vr=this._makeStyleAst(Cn,g);let Kr=null!=vr.offset?vr.offset:function $n(F){if("string"==typeof F)return null;let c=null;if(Array.isArray(F))F.forEach(g=>{if(g instanceof Map&&g.has("offset")){const w=g;c=parseFloat(w.get("offset")),w.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const g=F;c=parseFloat(g.get("offset")),g.delete("offset")}return c}(vr.styles),jr=0;return null!=Kr&&(U++,jr=vr.offset=Kr),de=de||jr<0||jr>1,Z=Z||jr<pe,pe=jr,K.push(jr),vr});de&&g.errors.push(function Sn(){return new d.vHH(3012,!1)}()),Z&&g.errors.push(function Dt(){return new d.vHH(3200,!1)}());const Pe=c.steps.length;let Gt=0;U>0&&U<Pe?g.errors.push(function ie(){return new d.vHH(3202,!1)}()):0==U&&(Gt=1/(Pe-1));const Lt=Pe-1,lt=g.currentTime,Et=g.currentAnimateTimings,_n=Et.duration;return ke.forEach((Cn,vr)=>{const Kr=Gt>0?vr==Lt?1:Gt*vr:K[vr],jr=Kr*_n;g.currentTime=lt+Et.delay+jr,Et.duration=jr,this._validateStyleAst(Cn,g),Cn.offset=Kr,w.styles.push(Cn)}),w}visitReference(c,g){return{type:8,animation:je(this,ti(c.animation),g),options:Mr(c.options)}}visitAnimateChild(c,g){return g.depCount++,{type:9,options:Mr(c.options)}}visitAnimateRef(c,g){return{type:10,animation:this.visitReference(c.animation,g),options:Mr(c.options)}}visitQuery(c,g){const w=g.currentQuerySelector,P=c.options||{};g.queryCount++,g.currentQuery=c;const[U,K]=function tr(F){const c=!!F.split(/\s*,\s*/).find(g=>":self"==g);return c&&(F=F.replace(An,"")),F=F.replace(/@\*/g,Ue).replace(/@\w+/g,g=>Ue+"-"+g.slice(1)).replace(/:animating/g,kt),[F,c]}(c.selector);g.currentQuerySelector=w.length?w+" "+U:U,wt(g.collectedStyles,g.currentQuerySelector,new Map);const Z=je(this,ti(c.animation),g);return g.currentQuery=null,g.currentQuerySelector=w,{type:11,selector:U,limit:P.limit||0,optional:!!P.optional,includeSelf:K,animation:Z,originalSelector:c.selector,options:Mr(c.options)}}visitStagger(c,g){g.currentQuery||g.errors.push(function ht(){return new d.vHH(3013,!1)}());const w="full"===c.timings?{duration:0,delay:0,easing:"full"}:Cr(c.timings,g.errors,!0);return{type:12,animation:je(this,ti(c.animation),g),timings:w,options:null}}}class jn{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Mr(F){return F?(F=zn(F)).params&&(F.params=function Hr(F){return F?zn(F):null}(F.params)):F={},F}function hi(F,c,g){return{duration:F,delay:c,easing:g}}function si(F,c,g,w,P,U,K=null,Z=!1){return{type:1,element:F,keyframes:c,preStyleProps:g,postStyleProps:w,duration:P,delay:U,totalTime:P+U,easing:K,subTimeline:Z}}class Wi{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,g){let w=this._map.get(c);w||this._map.set(c,w=[]),w.push(...g)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const co=new RegExp(":enter","g"),zi=new RegExp(":leave","g");function Ci(F,c,g,w,P,U=new Map,K=new Map,Z,de,pe=[]){return(new Wo).buildKeyframes(F,c,g,w,P,U,K,Z,de,pe)}class Wo{buildKeyframes(c,g,w,P,U,K,Z,de,pe,ke=[]){pe=pe||new Wi;const Pe=new zo(c,g,pe,P,U,ke,[]);Pe.options=de;const Gt=de.delay?Jn(de.delay):0;Pe.currentTimeline.delayNextStep(Gt),Pe.currentTimeline.setStyles([K],null,Pe.errors,de),je(this,w,Pe);const Lt=Pe.timelines.filter(lt=>lt.containsAnimation());if(Lt.length&&Z.size){let lt;for(let Et=Lt.length-1;Et>=0;Et--){const _n=Lt[Et];if(_n.element===g){lt=_n;break}}lt&&!lt.allowOnlyTimelineStyles()&&lt.setStyles([Z],null,Pe.errors,de)}return Lt.length?Lt.map(lt=>lt.buildKeyframes()):[si(g,[],[],[],0,Gt,"",!1)]}visitTrigger(c,g){}visitState(c,g){}visitTransition(c,g){}visitAnimateChild(c,g){const w=g.subInstructions.get(g.element);if(w){const P=g.createSubContext(c.options),U=g.currentTimeline.currentTime,K=this._visitSubInstructions(w,P,P.options);U!=K&&g.transformIntoNewTimeline(K)}g.previousNode=c}visitAnimateRef(c,g){const w=g.createSubContext(c.options);w.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],g,w),this.visitReference(c.animation,w),g.transformIntoNewTimeline(w.currentTimeline.currentTime),g.previousNode=c}_applyAnimationRefDelays(c,g,w){for(const P of c){const U=P?.delay;if(U){const K="number"==typeof U?U:Jn(z(U,P?.params??{},g.errors));w.delayNextStep(K)}}}_visitSubInstructions(c,g,w){let U=g.currentTimeline.currentTime;const K=null!=w.duration?Jn(w.duration):null,Z=null!=w.delay?Jn(w.delay):null;return 0!==K&&c.forEach(de=>{const pe=g.appendInstructionToTimeline(de,K,Z);U=Math.max(U,pe.duration+pe.delay)}),U}visitReference(c,g){g.updateOptions(c.options,!0),je(this,c.animation,g),g.previousNode=c}visitSequence(c,g){const w=g.subContextCount;let P=g;const U=c.options;if(U&&(U.params||U.delay)&&(P=g.createSubContext(U),P.transformIntoNewTimeline(),null!=U.delay)){6==P.previousNode.type&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=wi);const K=Jn(U.delay);P.delayNextStep(K)}c.steps.length&&(c.steps.forEach(K=>je(this,K,P)),P.currentTimeline.applyStylesToKeyframe(),P.subContextCount>w&&P.transformIntoNewTimeline()),g.previousNode=c}visitGroup(c,g){const w=[];let P=g.currentTimeline.currentTime;const U=c.options&&c.options.delay?Jn(c.options.delay):0;c.steps.forEach(K=>{const Z=g.createSubContext(c.options);U&&Z.delayNextStep(U),je(this,K,Z),P=Math.max(P,Z.currentTimeline.currentTime),w.push(Z.currentTimeline)}),w.forEach(K=>g.currentTimeline.mergeTimelineCollectedStyles(K)),g.transformIntoNewTimeline(P),g.previousNode=c}_visitTiming(c,g){if(c.dynamic){const w=c.strValue;return Cr(g.params?z(w,g.params,g.errors):w,g.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,g){const w=g.currentAnimateTimings=this._visitTiming(c.timings,g),P=g.currentTimeline;w.delay&&(g.incrementTime(w.delay),P.snapshotCurrentStyles());const U=c.style;5==U.type?this.visitKeyframes(U,g):(g.incrementTime(w.duration),this.visitStyle(U,g),P.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=c}visitStyle(c,g){const w=g.currentTimeline,P=g.currentAnimateTimings;!P&&w.hasCurrentStyleProperties()&&w.forwardFrame();const U=P&&P.easing||c.easing;c.isEmptyStep?w.applyEmptyStep(U):w.setStyles(c.styles,U,g.errors,g.options),g.previousNode=c}visitKeyframes(c,g){const w=g.currentAnimateTimings,P=g.currentTimeline.duration,U=w.duration,Z=g.createSubContext().currentTimeline;Z.easing=w.easing,c.styles.forEach(de=>{Z.forwardTime((de.offset||0)*U),Z.setStyles(de.styles,de.easing,g.errors,g.options),Z.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(Z),g.transformIntoNewTimeline(P+U),g.previousNode=c}visitQuery(c,g){const w=g.currentTimeline.currentTime,P=c.options||{},U=P.delay?Jn(P.delay):0;U&&(6===g.previousNode.type||0==w&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=wi);let K=w;const Z=g.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!P.optional,g.errors);g.currentQueryTotal=Z.length;let de=null;Z.forEach((pe,ke)=>{g.currentQueryIndex=ke;const Pe=g.createSubContext(c.options,pe);U&&Pe.delayNextStep(U),pe===g.element&&(de=Pe.currentTimeline),je(this,c.animation,Pe),Pe.currentTimeline.applyStylesToKeyframe(),K=Math.max(K,Pe.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(K),de&&(g.currentTimeline.mergeTimelineCollectedStyles(de),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=c}visitStagger(c,g){const w=g.parentContext,P=g.currentTimeline,U=c.timings,K=Math.abs(U.duration),Z=K*(g.currentQueryTotal-1);let de=K*g.currentQueryIndex;switch(U.duration<0?"reverse":U.easing){case"reverse":de=Z-de;break;case"full":de=w.currentStaggerTime}const ke=g.currentTimeline;de&&ke.delayNextStep(de);const Pe=ke.currentTime;je(this,c.animation,g),g.previousNode=c,w.currentStaggerTime=P.currentTime-Pe+(P.startTime-w.currentTimeline.startTime)}}const wi={};class zo{constructor(c,g,w,P,U,K,Z,de){this._driver=c,this.element=g,this.subInstructions=w,this._enterClassName=P,this._leaveClassName=U,this.errors=K,this.timelines=Z,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=de||new To(this._driver,g,0),Z.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,g){if(!c)return;const w=c;let P=this.options;null!=w.duration&&(P.duration=Jn(w.duration)),null!=w.delay&&(P.delay=Jn(w.delay));const U=w.params;if(U){let K=P.params;K||(K=this.options.params={}),Object.keys(U).forEach(Z=>{(!g||!K.hasOwnProperty(Z))&&(K[Z]=z(U[Z],K,this.errors))})}}_copyOptions(){const c={};if(this.options){const g=this.options.params;if(g){const w=c.params={};Object.keys(g).forEach(P=>{w[P]=g[P]})}}return c}createSubContext(c=null,g,w){const P=g||this.element,U=new zo(this._driver,P,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(P,w||0));return U.previousNode=this.previousNode,U.currentAnimateTimings=this.currentAnimateTimings,U.options=this._copyOptions(),U.updateOptions(c),U.currentQueryIndex=this.currentQueryIndex,U.currentQueryTotal=this.currentQueryTotal,U.parentContext=this,this.subContextCount++,U}transformIntoNewTimeline(c){return this.previousNode=wi,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,g,w){const P={duration:g??c.duration,delay:this.currentTimeline.currentTime+(w??0)+c.delay,easing:""},U=new ar(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,P,c.stretchStartingKeyframe);return this.timelines.push(U),P}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,g,w,P,U,K){let Z=[];if(P&&Z.push(this.element),c.length>0){c=(c=c.replace(co,"."+this._enterClassName)).replace(zi,"."+this._leaveClassName);let pe=this._driver.query(this.element,c,1!=w);0!==w&&(pe=w<0?pe.slice(pe.length+w,pe.length):pe.slice(0,w)),Z.push(...pe)}return!U&&0==Z.length&&K.push(function Le(F){return new d.vHH(3014,!1)}()),Z}}class To{constructor(c,g,w,P){this._driver=c,this.element=g,this.startTime=w,this._elementTimelineStylesLookup=P,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,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(c){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+c),g&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,g){return this.applyStylesToKeyframe(),new To(this._driver,c,g||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+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,g){this._localTimelineStyles.set(c,g),this._globalTimelineStyles.set(c,g),this._styleSummary.set(c,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[g,w]of this._globalTimelineStyles)this._backFill.set(g,w||Ae.l3),this._currentKeyframe.set(g,Ae.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,g,w,P){g&&this._previousKeyframe.set("easing",g);const U=P&&P.params||{},K=function Ri(F,c){const g=new Map;let w;return F.forEach(P=>{if("*"===P){w=w||c.keys();for(let U of w)g.set(U,Ae.l3)}else Vr(P,g)}),g}(c,this._globalTimelineStyles);for(let[Z,de]of K){const pe=z(de,U,w);this._pendingStyles.set(Z,pe),this._localTimelineStyles.has(Z)||this._backFill.set(Z,this._globalTimelineStyles.get(Z)??Ae.l3),this._updateStyle(Z,pe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,g)=>{this._currentKeyframe.set(g,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,c)}))}snapshotCurrentStyles(){for(let[c,g]of this._localTimelineStyles)this._pendingStyles.set(c,g),this._updateStyle(c,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let g in this._currentKeyframe)c.push(g);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((g,w)=>{const P=this._styleSummary.get(w);(!P||g.time>P.time)&&this._updateStyle(w,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,g=new Set,w=1===this._keyframes.size&&0===this.duration;let P=[];this._keyframes.forEach((Z,de)=>{const pe=Vr(Z,new Map,this._backFill);pe.forEach((ke,Pe)=>{ke===Ae.k1?c.add(Pe):ke===Ae.l3&&g.add(Pe)}),w||pe.set("offset",de/this.duration),P.push(pe)});const U=c.size?X(c.values()):[],K=g.size?X(g.values()):[];if(w){const Z=P[0],de=new Map(Z);Z.set("offset",0),de.set("offset",1),P=[Z,de]}return si(this.element,P,U,K,this.duration,this.startTime,this.easing,!1)}}class ar extends To{constructor(c,g,w,P,U,K,Z=!1){super(c,g,K.delay),this.keyframes=w,this.preStyleProps=P,this.postStyleProps=U,this._stretchStartingKeyframe=Z,this.timings={duration:K.duration,delay:K.delay,easing:K.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:g,duration:w,easing:P}=this.timings;if(this._stretchStartingKeyframe&&g){const U=[],K=w+g,Z=g/K,de=Vr(c[0]);de.set("offset",0),U.push(de);const pe=Vr(c[0]);pe.set("offset",Ao(Z)),U.push(pe);const ke=c.length-1;for(let Pe=1;Pe<=ke;Pe++){let Gt=Vr(c[Pe]);const Lt=Gt.get("offset");Gt.set("offset",Ao((g+Lt*w)/K)),U.push(Gt)}w=K,g=0,P="",c=U}return si(this.element,c,this.preStyleProps,this.postStyleProps,w,g,P,!0)}}function Ao(F,c=3){const g=Math.pow(10,c-1);return Math.round(F*g)/g}class ai{}const fo=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"]);class as extends ai{normalizePropertyName(c,g){return Re(c)}normalizeStyleValue(c,g,w,P){let U="";const K=w.toString().trim();if(fo.has(g)&&0!==w&&"0"!==w)if("number"==typeof w)U="px";else{const Z=w.match(/^[+-]?[\d\.]+([a-z]*)$/);Z&&0==Z[1].length&&P.push(function Tt(F,c){return new d.vHH(3005,!1)}())}return K+U}}function No(F,c,g,w,P,U,K,Z,de,pe,ke,Pe,Gt){return{type:0,element:F,triggerName:c,isRemovalTransition:P,fromState:g,fromStyles:U,toState:w,toStyles:K,timelines:Z,queriedElements:de,preStyleProps:pe,postStyleProps:ke,totalTime:Pe,errors:Gt}}const pi={};class Ro{constructor(c,g,w){this._triggerName=c,this.ast=g,this._stateStyles=w}match(c,g,w,P){return function nr(F,c,g,w,P){return F.some(U=>U(c,g,w,P))}(this.ast.matchers,c,g,w,P)}buildStyles(c,g,w){let P=this._stateStyles.get("*");return void 0!==c&&(P=this._stateStyles.get(c?.toString())||P),P?P.buildStyles(g,w):new Map}build(c,g,w,P,U,K,Z,de,pe,ke){const Pe=[],Gt=this.ast.options&&this.ast.options.params||pi,lt=this.buildStyles(w,Z&&Z.params||pi,Pe),Et=de&&de.params||pi,_n=this.buildStyles(P,Et,Pe),Cn=new Set,vr=new Map,Kr=new Map,jr="void"===P,Xo={params:ur(Et,Gt),delay:this.ast.options?.delay},Li=ke?[]:Ci(c,g,this.ast.animation,U,K,lt,_n,Xo,pe,Pe);let Zr=0;if(Li.forEach(ne=>{Zr=Math.max(ne.duration+ne.delay,Zr)}),Pe.length)return No(g,this._triggerName,w,P,jr,lt,_n,[],[],vr,Kr,Zr,Pe);Li.forEach(ne=>{const ve=ne.element,ge=wt(vr,ve,new Set);ne.preStyleProps.forEach(bt=>ge.add(bt));const $e=wt(Kr,ve,new Set);ne.postStyleProps.forEach(bt=>$e.add(bt)),ve!==g&&Cn.add(ve)});const $r=X(Cn.values());return No(g,this._triggerName,w,P,jr,lt,_n,Li,$r,vr,Kr,Zr)}}function ur(F,c){const g=zn(c);for(const w in F)F.hasOwnProperty(w)&&null!=F[w]&&(g[w]=F[w]);return g}class qi{constructor(c,g,w){this.styles=c,this.defaultParams=g,this.normalizer=w}buildStyles(c,g){const w=new Map,P=zn(this.defaultParams);return Object.keys(c).forEach(U=>{const K=c[U];null!==K&&(P[U]=K)}),this.styles.styles.forEach(U=>{"string"!=typeof U&&U.forEach((K,Z)=>{K&&(K=z(K,P,g));const de=this.normalizer.normalizePropertyName(Z,g);K=this.normalizer.normalizeStyleValue(Z,de,K,g),w.set(Z,K)})}),w}}class Yo{constructor(c,g,w){this.name=c,this.ast=g,this._normalizer=w,this.transitionFactories=[],this.states=new Map,g.states.forEach(P=>{this.states.set(P.name,new qi(P.style,P.options&&P.options.params||{},w))}),Pi(this.states,"true","1"),Pi(this.states,"false","0"),g.transitions.forEach(P=>{this.transitionFactories.push(new Ro(c,P,this.states))}),this.fallbackTransition=function ho(F,c,g){return new Ro(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(K,Z)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,g,w,P){return this.transitionFactories.find(K=>K.match(c,g,w,P))||null}matchStyles(c,g,w){return this.fallbackTransition.buildStyles(c,g,w)}}function Pi(F,c,g){F.has(c)?F.has(g)||F.set(g,F.get(c)):F.has(g)&&F.set(c,F.get(g))}const us=new Wi;class po{constructor(c,g,w){this.bodyNode=c,this._driver=g,this._normalizer=w,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,g){const w=[],U=rn(this._driver,g,w,[]);if(w.length)throw function Ar(F){return new d.vHH(3503,!1)}();this._animations.set(c,U)}_buildPlayer(c,g,w){const P=c.element,U=qe(this._normalizer,c.keyframes,g,w);return this._driver.animate(P,U,c.duration,c.delay,c.easing,[],!0)}create(c,g,w={}){const P=[],U=this._animations.get(c);let K;const Z=new Map;if(U?(K=Ci(this._driver,g,U,Xt,cn,new Map,new Map,w,us,P),K.forEach(ke=>{const Pe=wt(Z,ke.element,new Map);ke.postStyleProps.forEach(Gt=>Pe.set(Gt,null))})):(P.push(function Or(){return new d.vHH(3300,!1)}()),K=[]),P.length)throw function Xr(F){return new d.vHH(3504,!1)}();Z.forEach((ke,Pe)=>{ke.forEach((Gt,Lt)=>{ke.set(Lt,this._driver.computeStyle(Pe,Lt,Ae.l3))})});const pe=yn(K.map(ke=>{const Pe=Z.get(ke.element);return this._buildPlayer(ke,new Map,Pe)}));return this._playersById.set(c,pe),pe.onDestroy(()=>this.destroy(c)),this.players.push(pe),pe}destroy(c){const g=this._getPlayer(c);g.destroy(),this._playersById.delete(c);const w=this.players.indexOf(g);w>=0&&this.players.splice(w,1)}_getPlayer(c){const g=this._playersById.get(c);if(!g)throw function vn(F){return new d.vHH(3301,!1)}();return g}listen(c,g,w,P){const U=_r(g,"","","");return Nr(this._getPlayer(c),w,U,P),()=>{}}command(c,g,w,P){if("register"==w)return void this.register(c,P[0]);if("create"==w)return void this.create(c,g,P[0]||{});const U=this._getPlayer(c);switch(w){case"play":U.play();break;case"pause":U.pause();break;case"reset":U.reset();break;case"restart":U.restart();break;case"finish":U.finish();break;case"init":U.init();break;case"setPosition":U.setPosition(parseFloat(P[0]));break;case"destroy":this.destroy(c)}}}const xn="ng-animate-queued",yt="ng-animate-disabled",Fr=[],Yi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},lr="__ng_removed";class Ki{get params(){return this.options.params}constructor(c,g=""){this.namespaceId=g;const w=c&&c.hasOwnProperty("value");if(this.value=function Zi(F){return F??null}(w?c.value:c),w){const U=zn(c);delete U.value,this.options=U}else this.options={};this.options.params||(this.options.params={})}absorbOptions(c){const g=c.params;if(g){const w=this.options.params;Object.keys(g).forEach(P=>{null==w[P]&&(w[P]=g[P])})}}}const ut="void",go=new Ki(ut);class mr{constructor(c,g,w){this.id=c,this.hostElement=g,this._engine=w,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Ln(g,this._hostClassName)}listen(c,g,w,P){if(!this._triggers.has(g))throw function Lr(F,c){return new d.vHH(3302,!1)}();if(null==w||0==w.length)throw function oi(F){return new d.vHH(3303,!1)}();if(!function no(F){return"start"==F||"done"==F}(w))throw function yi(F,c){return new d.vHH(3400,!1)}();const U=wt(this._elementListeners,c,[]),K={name:g,phase:w,callback:P};U.push(K);const Z=wt(this._engine.statesByElement,c,new Map);return Z.has(g)||(Ln(c,di),Ln(c,di+"-"+g),Z.set(g,go)),()=>{this._engine.afterFlush(()=>{const de=U.indexOf(K);de>=0&&U.splice(de,1),this._triggers.has(g)||Z.delete(g)})}}register(c,g){return!this._triggers.has(c)&&(this._triggers.set(c,g),!0)}_getTrigger(c){const g=this._triggers.get(c);if(!g)throw function Je(F){return new d.vHH(3401,!1)}();return g}trigger(c,g,w,P=!0){const U=this._getTrigger(g),K=new un(this.id,g,c);let Z=this._engine.statesByElement.get(c);Z||(Ln(c,di),Ln(c,di+"-"+g),this._engine.statesByElement.set(c,Z=new Map));let de=Z.get(g);const pe=new Ki(w,this.id);if(!(w&&w.hasOwnProperty("value"))&&de&&pe.absorbOptions(de.options),Z.set(g,pe),de||(de=go),pe.value!==ut&&de.value===pe.value){if(!function Qi(F,c){const g=Object.keys(F),w=Object.keys(c);if(g.length!=w.length)return!1;for(let P=0;P<g.length;P++){const U=g[P];if(!c.hasOwnProperty(U)||F[U]!==c[U])return!1}return!0}(de.params,pe.params)){const Et=[],_n=U.matchStyles(de.value,de.params,Et),Cn=U.matchStyles(pe.value,pe.params,Et);Et.length?this._engine.reportError(Et):this._engine.afterFlush(()=>{Br(c,_n),qn(c,Cn)})}return}const Gt=wt(this._engine.playersByElement,c,[]);Gt.forEach(Et=>{Et.namespaceId==this.id&&Et.triggerName==g&&Et.queued&&Et.destroy()});let Lt=U.matchTransition(de.value,pe.value,c,pe.params),lt=!1;if(!Lt){if(!P)return;Lt=U.fallbackTransition,lt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:g,transition:Lt,fromState:de,toState:pe,player:K,isFallbackTransition:lt}),lt||(Ln(c,xn),K.onStart(()=>{xi(c,xn)})),K.onDone(()=>{let Et=this.players.indexOf(K);Et>=0&&this.players.splice(Et,1);const _n=this._engine.playersByElement.get(c);if(_n){let Cn=_n.indexOf(K);Cn>=0&&_n.splice(Cn,1)}}),this.players.push(K),Gt.push(K),K}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(g=>g.delete(c)),this._elementListeners.forEach((g,w)=>{this._elementListeners.set(w,g.filter(P=>P.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const g=this._engine.playersByElement.get(c);g&&(g.forEach(w=>w.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,g){const w=this._engine.driver.query(c,Ue,!0);w.forEach(P=>{if(P[lr])return;const U=this._engine.fetchNamespacesByElement(P);U.size?U.forEach(K=>K.triggerLeaveAnimation(P,g,!1,!0)):this.clearElementCache(P)}),this._engine.afterFlushAnimationsDone(()=>w.forEach(P=>this.clearElementCache(P)))}triggerLeaveAnimation(c,g,w,P){const U=this._engine.statesByElement.get(c),K=new Map;if(U){const Z=[];if(U.forEach((de,pe)=>{if(K.set(pe,de.value),this._triggers.has(pe)){const ke=this.trigger(c,pe,ut,P);ke&&Z.push(ke)}}),Z.length)return this._engine.markElementAsRemoved(this.id,c,!0,g,K),w&&yn(Z).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const g=this._elementListeners.get(c),w=this._engine.statesByElement.get(c);if(g&&w){const P=new Set;g.forEach(U=>{const K=U.name;if(P.has(K))return;P.add(K);const de=this._triggers.get(K).fallbackTransition,pe=w.get(K)||go,ke=new Ki(ut),Pe=new un(this.id,K,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:K,transition:de,fromState:pe,toState:ke,player:Pe,isFallbackTransition:!0})})}}removeNode(c,g){const w=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,g),this.triggerLeaveAnimation(c,g,!0))return;let P=!1;if(w.totalAnimations){const U=w.players.length?w.playersByQueriedElement.get(c):[];if(U&&U.length)P=!0;else{let K=c;for(;K=K.parentNode;)if(w.statesByElement.get(K)){P=!0;break}}}if(this.prepareLeaveAnimationListeners(c),P)w.markElementAsRemoved(this.id,c,!1,g);else{const U=c[lr];(!U||U===Yi)&&(w.afterFlush(()=>this.clearElementCache(c)),w.destroyInnerAnimations(c),w._onRemovalComplete(c,g))}}insertNode(c,g){Ln(c,this._hostClassName)}drainQueuedTransitions(c){const g=[];return this._queue.forEach(w=>{const P=w.player;if(P.destroyed)return;const U=w.element,K=this._elementListeners.get(U);K&&K.forEach(Z=>{if(Z.name==w.triggerName){const de=_r(U,w.triggerName,w.fromState.value,w.toState.value);de._data=c,Nr(w.player,Z.phase,de,Z.callback)}}),P.markedForDestroy?this._engine.afterFlush(()=>{P.destroy()}):g.push(w)}),this._queue=[],g.sort((w,P)=>{const U=w.transition.ast.depCount,K=P.transition.ast.depCount;return 0==U||0==K?U-K:this._engine.driver.containsElement(w.element,P.element)?1:-1})}destroy(c){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}}class mo{_onRemovalComplete(c,g){this.onRemovalComplete(c,g)}constructor(c,g,w){this.bodyNode=c,this.driver=g,this._normalizer=w,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(P,U)=>{}}get queuedPlayers(){const c=[];return this._namespaceList.forEach(g=>{g.players.forEach(w=>{w.queued&&c.push(w)})}),c}createNamespace(c,g){const w=new mr(c,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(w,g):(this.newHostElements.set(g,w),this.collectEnterElement(g)),this._namespaceLookup[c]=w}_balanceNamespaceList(c,g){const w=this._namespaceList,P=this.namespacesByHostElement;if(w.length-1>=0){let K=!1,Z=this.driver.getParentElement(g);for(;Z;){const de=P.get(Z);if(de){const pe=w.indexOf(de);w.splice(pe+1,0,c),K=!0;break}Z=this.driver.getParentElement(Z)}K||w.unshift(c)}else w.push(c);return P.set(g,c),c}register(c,g){let w=this._namespaceLookup[c];return w||(w=this.createNamespace(c,g)),w}registerTrigger(c,g,w){let P=this._namespaceLookup[c];P&&P.register(g,w)&&this.totalAnimations++}destroy(c,g){c&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const w=this._fetchNamespace(c);this.namespacesByHostElement.delete(w.hostElement);const P=this._namespaceList.indexOf(w);P>=0&&this._namespaceList.splice(P,1),w.destroy(g),delete this._namespaceLookup[c]}))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const g=new Set,w=this.statesByElement.get(c);if(w)for(let P of w.values())if(P.namespaceId){const U=this._fetchNamespace(P.namespaceId);U&&g.add(U)}return g}trigger(c,g,w,P){if(Fn(g)){const U=this._fetchNamespace(c);if(U)return U.trigger(g,w,P),!0}return!1}insertNode(c,g,w,P){if(!Fn(g))return;const U=g[lr];if(U&&U.setForRemoval){U.setForRemoval=!1,U.setForMove=!0;const K=this.collectedLeaveElements.indexOf(g);K>=0&&this.collectedLeaveElements.splice(K,1)}if(c){const K=this._fetchNamespace(c);K&&K.insertNode(g,w)}P&&this.collectEnterElement(g)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,g){g?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Ln(c,yt)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),xi(c,yt))}removeNode(c,g,w){if(Fn(g)){const P=c?this._fetchNamespace(c):null;P?P.removeNode(g,w):this.markElementAsRemoved(c,g,!1,w);const U=this.namespacesByHostElement.get(g);U&&U.id!==c&&U.removeNode(g,w)}else this._onRemovalComplete(g,w)}markElementAsRemoved(c,g,w,P,U){this.collectedLeaveElements.push(g),g[lr]={namespaceId:c,setForRemoval:P,hasAnimation:w,removedBeforeQueried:!1,previousTriggersValues:U}}listen(c,g,w,P,U){return Fn(g)?this._fetchNamespace(c).listen(g,w,P,U):()=>{}}_buildInstruction(c,g,w,P,U){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,w,P,c.fromState.options,c.toState.options,g,U)}destroyInnerAnimations(c){let g=this.driver.query(c,Ue,!0);g.forEach(w=>this.destroyActiveAnimationsForElement(w)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(c,kt,!0),g.forEach(w=>this.finishActiveQueriedAnimationOnElement(w)))}destroyActiveAnimationsForElement(c){const g=this.playersByElement.get(c);g&&g.forEach(w=>{w.queued?w.markedForDestroy=!0:w.destroy()})}finishActiveQueriedAnimationOnElement(c){const g=this.playersByQueriedElement.get(c);g&&g.forEach(w=>w.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return yn(this.players).onDone(()=>c());c()})}processLeaveNode(c){const g=c[lr];if(g&&g.setForRemoval){if(c[lr]=Yi,g.namespaceId){this.destroyInnerAnimations(c);const w=this._fetchNamespace(g.namespaceId);w&&w.clearElementCache(c)}this._onRemovalComplete(c,g.setForRemoval)}c.classList?.contains(yt)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(w=>{this.markElementAsDisabled(w,!1)})}flush(c=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((w,P)=>this._balanceNamespaceList(w,P)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let w=0;w<this.collectedEnterElements.length;w++)Ln(this.collectedEnterElements[w],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const w=[];try{g=this._flushAnimations(w,c)}finally{for(let P=0;P<w.length;P++)w[P]()}}else for(let w=0;w<this.collectedLeaveElements.length;w++)this.processLeaveNode(this.collectedLeaveElements[w]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(w=>w()),this._flushFns=[],this._whenQuietFns.length){const w=this._whenQuietFns;this._whenQuietFns=[],g.length?yn(g).onDone(()=>{w.forEach(P=>P())}):w.forEach(P=>P())}}reportError(c){throw function kr(F){return new d.vHH(3402,!1)}()}_flushAnimations(c,g){const w=new Wi,P=[],U=new Map,K=[],Z=new Map,de=new Map,pe=new Map,ke=new Set;this.disabledNodes.forEach(xe=>{ke.add(xe);const nt=this.driver.query(xe,".ng-animate-queued",!0);for(let st=0;st<nt.length;st++)ke.add(nt[st])});const Pe=this.bodyNode,Gt=Array.from(this.statesByElement.keys()),Lt=ui(Gt,this.collectedEnterElements),lt=new Map;let Et=0;Lt.forEach((xe,nt)=>{const st=Xt+Et++;lt.set(nt,st),xe.forEach(At=>Ln(At,st))});const _n=[],Cn=new Set,vr=new Set;for(let xe=0;xe<this.collectedLeaveElements.length;xe++){const nt=this.collectedLeaveElements[xe],st=nt[lr];st&&st.setForRemoval&&(_n.push(nt),Cn.add(nt),st.hasAnimation?this.driver.query(nt,".ng-star-inserted",!0).forEach(At=>Cn.add(At)):vr.add(nt))}const Kr=new Map,jr=ui(Gt,Array.from(Cn));jr.forEach((xe,nt)=>{const st=cn+Et++;Kr.set(nt,st),xe.forEach(At=>Ln(At,st))}),c.push(()=>{Lt.forEach((xe,nt)=>{const st=lt.get(nt);xe.forEach(At=>xi(At,st))}),jr.forEach((xe,nt)=>{const st=Kr.get(nt);xe.forEach(At=>xi(At,st))}),_n.forEach(xe=>{this.processLeaveNode(xe)})});const Xo=[],Li=[];for(let xe=this._namespaceList.length-1;xe>=0;xe--)this._namespaceList[xe].drainQueuedTransitions(g).forEach(st=>{const At=st.player,ir=st.element;if(Xo.push(At),this.collectedEnterElements.length){const I=ir[lr];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(st.triggerName)){const G=I.previousTriggersValues.get(st.triggerName),le=this.statesByElement.get(st.element);if(le&&le.has(st.triggerName)){const _e=le.get(st.triggerName);_e.value=G,le.set(st.triggerName,_e)}}return void At.destroy()}}const yo=!Pe||!this.driver.containsElement(Pe,ir),dr=Kr.get(ir),gi=lt.get(ir),p=this._buildInstruction(st,w,gi,dr,yo);if(p.errors&&p.errors.length)return void Li.push(p);if(yo)return At.onStart(()=>Br(ir,p.fromStyles)),At.onDestroy(()=>qn(ir,p.toStyles)),void P.push(At);if(st.isFallbackTransition)return At.onStart(()=>Br(ir,p.fromStyles)),At.onDestroy(()=>qn(ir,p.toStyles)),void P.push(At);const A=[];p.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||A.push(I)}),p.timelines=A,w.append(ir,p.timelines),K.push({instruction:p,player:At,element:ir}),p.queriedElements.forEach(I=>wt(Z,I,[]).push(At)),p.preStyleProps.forEach((I,G)=>{if(I.size){let le=de.get(G);le||de.set(G,le=new Set),I.forEach((_e,Ye)=>le.add(Ye))}}),p.postStyleProps.forEach((I,G)=>{let le=pe.get(G);le||pe.set(G,le=new Set),I.forEach((_e,Ye)=>le.add(Ye))})});if(Li.length){const xe=[];Li.forEach(nt=>{xe.push(function Pn(F,c){return new d.vHH(3505,!1)}())}),Xo.forEach(nt=>nt.destroy()),this.reportError(xe)}const Zr=new Map,$r=new Map;K.forEach(xe=>{const nt=xe.element;w.has(nt)&&($r.set(nt,nt),this._beforeAnimationBuild(xe.player.namespaceId,xe.instruction,Zr))}),P.forEach(xe=>{const nt=xe.element;this._getPreviousPlayers(nt,!1,xe.namespaceId,xe.triggerName,null).forEach(At=>{wt(Zr,nt,[]).push(At),At.destroy()})});const ne=_n.filter(xe=>Yr(xe,de,pe)),ve=new Map;rr(ve,this.driver,vr,pe,Ae.l3).forEach(xe=>{Yr(xe,de,pe)&&ne.push(xe)});const $e=new Map;Lt.forEach((xe,nt)=>{rr($e,this.driver,new Set(xe),de,Ae.k1)}),ne.forEach(xe=>{const nt=ve.get(xe),st=$e.get(xe);ve.set(xe,new Map([...nt?.entries()??[],...st?.entries()??[]]))});const bt=[],pn=[],Ir={};K.forEach(xe=>{const{element:nt,player:st,instruction:At}=xe;if(w.has(nt)){if(ke.has(nt))return st.onDestroy(()=>qn(nt,At.toStyles)),st.disabled=!0,st.overrideTotalTime(At.totalTime),void P.push(st);let ir=Ir;if($r.size>1){let dr=nt;const gi=[];for(;dr=dr.parentNode;){const p=$r.get(dr);if(p){ir=p;break}gi.push(dr)}gi.forEach(p=>$r.set(p,ir))}const yo=this._buildAnimation(st.namespaceId,At,Zr,U,$e,ve);if(st.setRealPlayer(yo),ir===Ir)bt.push(st);else{const dr=this.playersByElement.get(ir);dr&&dr.length&&(st.parentPlayer=yn(dr)),P.push(st)}}else Br(nt,At.fromStyles),st.onDestroy(()=>qn(nt,At.toStyles)),pn.push(st),ke.has(nt)&&P.push(st)}),pn.forEach(xe=>{const nt=U.get(xe.element);if(nt&&nt.length){const st=yn(nt);xe.setRealPlayer(st)}}),P.forEach(xe=>{xe.parentPlayer?xe.syncPlayerEvents(xe.parentPlayer):xe.destroy()});for(let xe=0;xe<_n.length;xe++){const nt=_n[xe],st=nt[lr];if(xi(nt,cn),st&&st.hasAnimation)continue;let At=[];if(Z.size){let yo=Z.get(nt);yo&&yo.length&&At.push(...yo);let dr=this.driver.query(nt,kt,!0);for(let gi=0;gi<dr.length;gi++){let p=Z.get(dr[gi]);p&&p.length&&At.push(...p)}}const ir=At.filter(yo=>!yo.destroyed);ir.length?gt(this,nt,ir):this.processLeaveNode(nt)}return _n.length=0,bt.forEach(xe=>{this.players.push(xe),xe.onDone(()=>{xe.destroy();const nt=this.players.indexOf(xe);this.players.splice(nt,1)}),xe.play()}),bt}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,g,w,P,U){let K=[];if(g){const Z=this.playersByQueriedElement.get(c);Z&&(K=Z)}else{const Z=this.playersByElement.get(c);if(Z){const de=!U||U==ut;Z.forEach(pe=>{pe.queued||!de&&pe.triggerName!=P||K.push(pe)})}}return(w||P)&&(K=K.filter(Z=>!(w&&w!=Z.namespaceId||P&&P!=Z.triggerName))),K}_beforeAnimationBuild(c,g,w){const U=g.element,K=g.isRemovalTransition?void 0:c,Z=g.isRemovalTransition?void 0:g.triggerName;for(const de of g.timelines){const pe=de.element,ke=pe!==U,Pe=wt(w,pe,[]);this._getPreviousPlayers(pe,ke,K,Z,g.toState).forEach(Lt=>{const lt=Lt.getRealPlayer();lt.beforeDestroy&&lt.beforeDestroy(),Lt.destroy(),Pe.push(Lt)})}Br(U,g.fromStyles)}_buildAnimation(c,g,w,P,U,K){const Z=g.triggerName,de=g.element,pe=[],ke=new Set,Pe=new Set,Gt=g.timelines.map(lt=>{const Et=lt.element;ke.add(Et);const _n=Et[lr];if(_n&&_n.removedBeforeQueried)return new Ae.ZN(lt.duration,lt.delay);const Cn=Et!==de,vr=function Bs(F){const c=[];return Sr(F,c),c}((w.get(Et)||Fr).map(Zr=>Zr.getRealPlayer())).filter(Zr=>!!Zr.element&&Zr.element===Et),Kr=U.get(Et),jr=K.get(Et),Xo=qe(this._normalizer,lt.keyframes,Kr,jr),Li=this._buildPlayer(lt,Xo,vr);if(lt.subTimeline&&P&&Pe.add(Et),Cn){const Zr=new un(c,Z,Et);Zr.setRealPlayer(Li),pe.push(Zr)}return Li});pe.forEach(lt=>{wt(this.playersByQueriedElement,lt.element,[]).push(lt),lt.onDone(()=>function Po(F,c,g){let w=F.get(c);if(w){if(w.length){const P=w.indexOf(g);w.splice(P,1)}0==w.length&&F.delete(c)}return w}(this.playersByQueriedElement,lt.element,lt))}),ke.forEach(lt=>Ln(lt,Di));const Lt=yn(Gt);return Lt.onDestroy(()=>{ke.forEach(lt=>xi(lt,Di)),qn(de,g.toStyles)}),Pe.forEach(lt=>{wt(P,lt,[]).push(Lt)}),Lt}_buildPlayer(c,g,w){return g.length>0?this.driver.animate(c.element,g,c.duration,c.delay,c.easing,w):new Ae.ZN(c.duration,c.delay)}}class un{constructor(c,g,w){this.namespaceId=c,this.triggerName=g,this.element=w,this._player=new Ae.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((g,w)=>{g.forEach(P=>Nr(c,w,void 0,P))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const g=this._player;g.triggerCallback&&c.onStart(()=>g.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,g){wt(this._queuedCallbacks,c,[]).push(g)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&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(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const g=this._player;g.triggerCallback&&g.triggerCallback(c)}}function Fn(F){return F&&1===F.nodeType}function xo(F,c){const g=F.style.display;return F.style.display=c??"none",g}function rr(F,c,g,w,P){const U=[];g.forEach(de=>U.push(xo(de)));const K=[];w.forEach((de,pe)=>{const ke=new Map;de.forEach(Pe=>{const Gt=c.computeStyle(pe,Pe,P);ke.set(Pe,Gt),(!Gt||0==Gt.length)&&(pe[lr]=Gn,K.push(pe))}),F.set(pe,ke)});let Z=0;return g.forEach(de=>xo(de,U[Z++])),K}function ui(F,c){const g=new Map;if(F.forEach(Z=>g.set(Z,[])),0==c.length)return g;const P=new Set(c),U=new Map;function K(Z){if(!Z)return 1;let de=U.get(Z);if(de)return de;const pe=Z.parentNode;return de=g.has(pe)?pe:P.has(pe)?1:K(pe),U.set(Z,de),de}return c.forEach(Z=>{const de=K(Z);1!==de&&g.get(de).push(Z)}),g}function Ln(F,c){F.classList?.add(c)}function xi(F,c){F.classList?.remove(c)}function gt(F,c,g){yn(g).onDone(()=>F.processLeaveNode(c))}function Sr(F,c){for(let g=0;g<F.length;g++){const w=F[g];w instanceof Ae.ZE?Sr(w.players,c):c.push(w)}}function Yr(F,c,g){const w=g.get(F);if(!w)return!1;let P=c.get(F);return P?w.forEach(U=>P.add(U)):c.set(F,w),g.delete(F),!0}class ni{constructor(c,g,w){this.bodyNode=c,this._driver=g,this._normalizer=w,this._triggerCache={},this.onRemovalComplete=(P,U)=>{},this._transitionEngine=new mo(c,g,w),this._timelineEngine=new po(c,g,w),this._transitionEngine.onRemovalComplete=(P,U)=>this.onRemovalComplete(P,U)}registerTrigger(c,g,w,P,U){const K=c+"-"+P;let Z=this._triggerCache[K];if(!Z){const de=[],ke=rn(this._driver,U,de,[]);if(de.length)throw function sn(F,c){return new d.vHH(3404,!1)}();Z=function xr(F,c,g){return new Yo(F,c,g)}(P,ke,this._normalizer),this._triggerCache[K]=Z}this._transitionEngine.registerTrigger(g,P,Z)}register(c,g){this._transitionEngine.register(c,g)}destroy(c,g){this._transitionEngine.destroy(c,g)}onInsert(c,g,w,P){this._transitionEngine.insertNode(c,g,w,P)}onRemove(c,g,w){this._transitionEngine.removeNode(c,g,w)}disableAnimations(c,g){this._transitionEngine.markElementAsDisabled(c,g)}process(c,g,w,P){if("@"==w.charAt(0)){const[U,K]=hn(w);this._timelineEngine.command(U,g,K,P)}else this._transitionEngine.trigger(c,g,w,P)}listen(c,g,w,P,U){if("@"==w.charAt(0)){const[K,Z]=hn(w);return this._timelineEngine.listen(K,g,Z,U)}return this._transitionEngine.listen(c,g,w,P,U)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(c){this._transitionEngine.afterFlushAnimationsDone(c)}}let bi=(()=>{class F{static{this.initialStylesByElement=new WeakMap}constructor(g,w,P){this._element=g,this._startStyles=w,this._endStyles=P,this._state=0;let U=F.initialStylesByElement.get(g);U||F.initialStylesByElement.set(g,U=new Map),this._initialStyles=U}start(){this._state<1&&(this._startStyles&&qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(qn(this._element,this._initialStyles),this._endStyles&&(qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(Br(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Br(this._element,this._endStyles),this._endStyles=null),qn(this._element,this._initialStyles),this._state=3)}}return F})();function Ft(F){let c=null;return F.forEach((g,w)=>{(function Fo(F){return"display"===F||"position"===F})(w)&&(c=c||new Map,c.set(w,g))}),c}class Qn{constructor(c,g,w,P){this.element=c,this.keyframes=g,this.options=w,this._specialStyles=P,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=w.duration,this._delay=w.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map;const g=()=>this._onFinish();this.domPlayer.addEventListener("finish",g),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",g)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const g=[];return c.forEach(w=>{g.push(Object.fromEntries(w))}),g}_triggerWebAnimation(c,g,w){return c.animate(this._convertKeyframesToObject(g),w)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((w,P)=>{"offset"!==P&&c.set(P,this._finished?w:re(this.element,P))}),this.currentSnapshot=c}triggerCallback(c){const g="start"===c?this._onStartFns:this._onDoneFns;g.forEach(w=>w()),g.length=0}}class cr{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,g){return!1}containsElement(c,g){return dt(c,g)}getParentElement(c){return Bn(c)}query(c,g,w){return Tn(c,g,w)}computeStyle(c,g,w){return window.getComputedStyle(c)[g]}animate(c,g,w,P,U,K=[]){const de={duration:w,delay:P,fill:0==P?"both":"forwards"};U&&(de.easing=U);const pe=new Map,ke=K.filter(Lt=>Lt instanceof Qn);(function pt(F,c){return 0===F||0===c})(w,P)&&ke.forEach(Lt=>{Lt.currentSnapshot.forEach((lt,Et)=>pe.set(Et,lt))});let Pe=function Ei(F){return F.length?F[0]instanceof Map?F:F.map(c=>wr(c)):[]}(g).map(Lt=>Vr(Lt));Pe=function xt(F,c,g){if(g.size&&c.length){let w=c[0],P=[];if(g.forEach((U,K)=>{w.has(K)||P.push(K),w.set(K,U)}),P.length)for(let U=1;U<c.length;U++){let K=c[U];P.forEach(Z=>K.set(Z,re(F,Z)))}}return c}(c,Pe,pe);const Gt=function Ur(F,c){let g=null,w=null;return Array.isArray(c)&&c.length?(g=Ft(c[0]),c.length>1&&(w=Ft(c[c.length-1]))):c instanceof Map&&(g=Ft(c)),g||w?new bi(F,g,w):null}(c,Pe);return new Qn(c,Pe,de,Gt)}}var Lo=fe(6814);let ko=(()=>{class F extends Ae._j{constructor(g,w){super(),this._nextAnimationId=0,this._renderer=g.createRenderer(w.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(g){const w=this._nextAnimationId.toString();this._nextAnimationId++;const P=Array.isArray(g)?(0,Ae.vP)(g):g;return Ko(this._renderer,null,w,"register",[P]),new hs(w,this._renderer)}static{this.\u0275fac=function(w){return new(w||F)(d.LFG(d.FYo),d.LFG(Lo.K0))}}static{this.\u0275prov=d.Yz7({token:F,factory:F.\u0275fac})}}return F})();class hs extends Ae.LC{constructor(c,g){super(),this._id=c,this._renderer=g}create(c,g){return new Si(this._id,c,g||{},this._renderer)}}class Si{constructor(c,g,w,P){this.id=c,this.element=g,this._renderer=P,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",w)}_listen(c,g){return this._renderer.listen(this.element,`@@${this.id}:${c}`,g)}_command(c,...g){return Ko(this._renderer,this.element,this.id,c,g)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ko(F,c,g,w,P){return F.setProperty(c,`@@${g}:${w}`,P)}const Zo="@.disabled";let sa=(()=>{class F{constructor(g,w,P){this.delegate=g,this.engine=w,this._zone=P,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,w.onRemovalComplete=(U,K)=>{const Z=K?.parentNode(U);Z&&K.removeChild(Z,U)}}createRenderer(g,w){const U=this.delegate.createRenderer(g,w);if(!(g&&w&&w.data&&w.data.animation)){let ke=this._rendererCache.get(U);return ke||(ke=new ls("",U,this.engine,()=>this._rendererCache.delete(U)),this._rendererCache.set(U,ke)),ke}const K=w.id,Z=w.id+"-"+this._currentId;this._currentId++,this.engine.register(Z,g);const de=ke=>{Array.isArray(ke)?ke.forEach(de):this.engine.registerTrigger(K,Z,g,ke.name,ke)};return w.data.animation.forEach(de),new S(this,Z,U,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,w,P){g>=0&&g<this._microtaskId?this._zone.run(()=>w(P)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(U=>{const[K,Z]=U;K(Z)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([w,P]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static{this.\u0275fac=function(w){return new(w||F)(d.LFG(d.FYo),d.LFG(ni),d.LFG(d.R0b))}}static{this.\u0275prov=d.Yz7({token:F,factory:F.\u0275fac})}}return F})();class ls{constructor(c,g,w,P){this.namespaceId=c,this.delegate=g,this.engine=w,this._onDestroy=P}get data(){return this.delegate.data}destroyNode(c){this.delegate.destroyNode?.(c)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(c,g){return this.delegate.createElement(c,g)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,g){this.delegate.appendChild(c,g),this.engine.onInsert(this.namespaceId,g,c,!1)}insertBefore(c,g,w,P=!0){this.delegate.insertBefore(c,g,w),this.engine.onInsert(this.namespaceId,g,c,P)}removeChild(c,g,w){this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(c,g){return this.delegate.selectRootElement(c,g)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,g,w,P){this.delegate.setAttribute(c,g,w,P)}removeAttribute(c,g,w){this.delegate.removeAttribute(c,g,w)}addClass(c,g){this.delegate.addClass(c,g)}removeClass(c,g){this.delegate.removeClass(c,g)}setStyle(c,g,w,P){this.delegate.setStyle(c,g,w,P)}removeStyle(c,g,w){this.delegate.removeStyle(c,g,w)}setProperty(c,g,w){"@"==g.charAt(0)&&g==Zo?this.disableAnimations(c,!!w):this.delegate.setProperty(c,g,w)}setValue(c,g){this.delegate.setValue(c,g)}listen(c,g,w){return this.delegate.listen(c,g,w)}disableAnimations(c,g){this.engine.disableAnimations(c,g)}}class S extends ls{constructor(c,g,w,P,U){super(g,w,P,U),this.factory=c,this.namespaceId=g}setProperty(c,g,w){"@"==g.charAt(0)?"."==g.charAt(1)&&g==Zo?this.disableAnimations(c,w=void 0===w||!!w):this.engine.process(this.namespaceId,c,g.slice(1),w):this.delegate.setProperty(c,g,w)}listen(c,g,w){if("@"==g.charAt(0)){const P=function T(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(c);let U=g.slice(1),K="";return"@"!=U.charAt(0)&&([U,K]=function E(F){const c=F.indexOf(".");return[F.substring(0,c),F.slice(c+1)]}(U)),this.engine.listen(this.namespaceId,P,U,K,Z=>{this.factory.scheduleListenerCallback(Z._data||-1,w,Z)})}return this.delegate.listen(c,g,w)}}const Ht=[{provide:Ae._j,useClass:ko},{provide:ai,useFactory:function Y(){return new as}},{provide:ni,useClass:(()=>{class F extends ni{constructor(g,w,P,U){super(g.body,w,P)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(w){return new(w||F)(d.LFG(Lo.K0),d.LFG(It),d.LFG(ai),d.LFG(d.z2F))}}static{this.\u0275prov=d.Yz7({token:F,factory:F.\u0275fac})}}return F})()},{provide:d.FYo,useFactory:function ot(F,c,g){return new sa(F,c,g)},deps:[H.se,ni,d.R0b]}],Fi=[{provide:It,useFactory:()=>new cr},{provide:d.QbO,useValue:"BrowserAnimations"},...Ht],Qo=[{provide:It,useClass:Mt},{provide:d.QbO,useValue:"NoopAnimations"},...Ht];let ri=(()=>{class F{static withConfig(g){return{ngModule:F,providers:g.disableAnimations?Qo:Fi}}static{this.\u0275fac=function(w){return new(w||F)}}static{this.\u0275mod=d.oAB({type:F})}static{this.\u0275inj=d.cJS({providers:Fi,imports:[H.b2]})}}return F})()},6593:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Dx:()=>In,H7:()=>Cr,b2:()=>Hn,q6:()=>wt,se:()=>it});var d=fe(5879),H=fe(6814);class Ae extends H.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Se extends Ae{static makeCurrent(){(0,H.HT)(new Se)}onAndCancel(ue,z,X){return ue.addEventListener(z,X),()=>{ue.removeEventListener(z,X)}}dispatchEvent(ue,z){ue.dispatchEvent(z)}remove(ue){ue.parentNode&&ue.parentNode.removeChild(ue)}createElement(ue,z){return(z=z||this.getDefaultDocument()).createElement(ue)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ue){return ue.nodeType===Node.ELEMENT_NODE}isShadowRoot(ue){return ue instanceof DocumentFragment}getGlobalEventTarget(ue,z){return"window"===z?window:"document"===z?ue:"body"===z?ue.body:null}getBaseHref(ue){const z=function Qe(){return ze=ze||document.querySelector("base"),ze?ze.getAttribute("href"):null}();return null==z?null:function Nt(me){et=et||document.createElement("a"),et.setAttribute("href",me);const ue=et.pathname;return"/"===ue.charAt(0)?ue:`/${ue}`}(z)}resetBaseElement(){ze=null}getUserAgent(){return window.navigator.userAgent}getCookie(ue){return(0,H.Mx)(document.cookie,ue)}}let et,ze=null,Xe=(()=>{class me{build(){return new XMLHttpRequest}static{this.\u0275fac=function(X){return new(X||me)}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();const Tt=new d.OlP("EventManagerPlugins");let rt=(()=>{class me{constructor(z,X){this._zone=X,this._eventNameToPlugin=new Map,z.forEach(ye=>{ye.manager=this}),this._plugins=z.slice().reverse()}addEventListener(z,X,ye){return this._findPluginFor(X).addEventListener(z,X,ye)}getZone(){return this._zone}_findPluginFor(z){let X=this._eventNameToPlugin.get(z);if(X)return X;if(X=this._plugins.find(Re=>Re.supports(z)),!X)throw new d.vHH(5101,!1);return this._eventNameToPlugin.set(z,X),X}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(Tt),d.LFG(d.R0b))}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();class Qt{constructor(ue){this._doc=ue}}const Rn="ng-app-id";let Vn=(()=>{class me{constructor(z,X,ye,Re={}){this.doc=z,this.appId=X,this.nonce=ye,this.platformId=Re,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,H.PM)(Re),this.resetHostNodes()}addStyles(z){for(const X of z)1===this.changeUsageCount(X,1)&&this.onStyleAdded(X)}removeStyles(z){for(const X of z)this.changeUsageCount(X,-1)<=0&&this.onStyleRemoved(X)}ngOnDestroy(){const z=this.styleNodesInDOM;z&&(z.forEach(X=>X.remove()),z.clear());for(const X of this.getAllStyles())this.onStyleRemoved(X);this.resetHostNodes()}addHost(z){this.hostNodes.add(z);for(const X of this.getAllStyles())this.addStyleToHost(z,X)}removeHost(z){this.hostNodes.delete(z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(z){for(const X of this.hostNodes)this.addStyleToHost(X,z)}onStyleRemoved(z){const X=this.styleRef;X.get(z)?.elements?.forEach(ye=>ye.remove()),X.delete(z)}collectServerRenderedStyles(){const z=this.doc.head?.querySelectorAll(`style[${Rn}="${this.appId}"]`);if(z?.length){const X=new Map;return z.forEach(ye=>{null!=ye.textContent&&X.set(ye.textContent,ye)}),X}return null}changeUsageCount(z,X){const ye=this.styleRef;if(ye.has(z)){const Re=ye.get(z);return Re.usage+=X,Re.usage}return ye.set(z,{usage:X,elements:[]}),X}getStyleElement(z,X){const ye=this.styleNodesInDOM,Re=ye?.get(X);if(Re?.parentNode===z)return ye.delete(X),Re.removeAttribute(Rn),Re;{const tt=this.doc.createElement("style");return this.nonce&&tt.setAttribute("nonce",this.nonce),tt.textContent=X,this.platformIsServer&&tt.setAttribute(Rn,this.appId),tt}}addStyleToHost(z,X){const ye=this.getStyleElement(z,X);z.appendChild(ye);const Re=this.styleRef,tt=Re.get(X)?.elements;tt?tt.push(ye):Re.set(X,{elements:[ye],usage:1})}resetHostNodes(){const z=this.hostNodes;z.clear(),z.add(this.doc.head)}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(H.K0),d.LFG(d.AFp),d.LFG(d.Ojb,8),d.LFG(d.Lbi))}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();const Ve={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/MathML/"},Ke=/%COMP%/g,ht=new d.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Ct(me,ue){return ue.map(z=>z.replace(Ke,me))}let it=(()=>{class me{constructor(z,X,ye,Re,tt,pt,xt,je=null){this.eventManager=z,this.sharedStylesHost=X,this.appId=ye,this.removeStylesOnCompDestroy=Re,this.doc=tt,this.platformId=pt,this.ngZone=xt,this.nonce=je,this.rendererByCompId=new Map,this.platformIsServer=(0,H.PM)(pt),this.defaultRenderer=new ln(z,tt,xt,this.platformIsServer)}createRenderer(z,X){if(!z||!X)return this.defaultRenderer;this.platformIsServer&&X.encapsulation===d.ifc.ShadowDom&&(X={...X,encapsulation:d.ifc.Emulated});const ye=this.getOrCreateRenderer(z,X);return ye instanceof vn?ye.applyToHost(z):ye instanceof Xr&&ye.applyStyles(),ye}getOrCreateRenderer(z,X){const ye=this.rendererByCompId;let Re=ye.get(X.id);if(!Re){const tt=this.doc,pt=this.ngZone,xt=this.eventManager,je=this.sharedStylesHost,re=this.removeStylesOnCompDestroy,J=this.platformIsServer;switch(X.encapsulation){case d.ifc.Emulated:Re=new vn(xt,je,X,this.appId,re,tt,pt,J);break;case d.ifc.ShadowDom:return new Or(xt,je,z,X,tt,pt,this.nonce,J);default:Re=new Xr(xt,je,X,re,tt,pt,J)}ye.set(X.id,Re)}return Re}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(rt),d.LFG(Vn),d.LFG(d.AFp),d.LFG(ht),d.LFG(H.K0),d.LFG(d.Lbi),d.LFG(d.R0b),d.LFG(d.Ojb))}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();class ln{constructor(ue,z,X,ye){this.eventManager=ue,this.doc=z,this.ngZone=X,this.platformIsServer=ye,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ue,z){return z?this.doc.createElementNS(Ve[z]||z,ue):this.doc.createElement(ue)}createComment(ue){return this.doc.createComment(ue)}createText(ue){return this.doc.createTextNode(ue)}appendChild(ue,z){(Ar(ue)?ue.content:ue).appendChild(z)}insertBefore(ue,z,X){ue&&(Ar(ue)?ue.content:ue).insertBefore(z,X)}removeChild(ue,z){ue&&ue.removeChild(z)}selectRootElement(ue,z){let X="string"==typeof ue?this.doc.querySelector(ue):ue;if(!X)throw new d.vHH(-5104,!1);return z||(X.textContent=""),X}parentNode(ue){return ue.parentNode}nextSibling(ue){return ue.nextSibling}setAttribute(ue,z,X,ye){if(ye){z=ye+":"+z;const Re=Ve[ye];Re?ue.setAttributeNS(Re,z,X):ue.setAttribute(z,X)}else ue.setAttribute(z,X)}removeAttribute(ue,z,X){if(X){const ye=Ve[X];ye?ue.removeAttributeNS(ye,z):ue.removeAttribute(`${X}:${z}`)}else ue.removeAttribute(z)}addClass(ue,z){ue.classList.add(z)}removeClass(ue,z){ue.classList.remove(z)}setStyle(ue,z,X,ye){ye&(d.JOm.DashCase|d.JOm.Important)?ue.style.setProperty(z,X,ye&d.JOm.Important?"important":""):ue.style[z]=X}removeStyle(ue,z,X){X&d.JOm.DashCase?ue.style.removeProperty(z):ue.style[z]=""}setProperty(ue,z,X){ue[z]=X}setValue(ue,z){ue.nodeValue=z}listen(ue,z,X){if("string"==typeof ue&&!(ue=(0,H.q)().getGlobalEventTarget(this.doc,ue)))throw new Error(`Unsupported event target ${ue} for event ${z}`);return this.eventManager.addEventListener(ue,z,this.decoratePreventDefault(X))}decoratePreventDefault(ue){return z=>{if("__ngUnwrap__"===z)return ue;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ue(z)):ue(z))&&z.preventDefault()}}}function Ar(me){return"TEMPLATE"===me.tagName&&void 0!==me.content}class Or extends ln{constructor(ue,z,X,ye,Re,tt,pt,xt){super(ue,Re,tt,xt),this.sharedStylesHost=z,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const je=Ct(ye.id,ye.styles);for(const re of je){const J=document.createElement("style");pt&&J.setAttribute("nonce",pt),J.textContent=re,this.shadowRoot.appendChild(J)}}nodeOrShadowRoot(ue){return ue===this.hostEl?this.shadowRoot:ue}appendChild(ue,z){return super.appendChild(this.nodeOrShadowRoot(ue),z)}insertBefore(ue,z,X){return super.insertBefore(this.nodeOrShadowRoot(ue),z,X)}removeChild(ue,z){return super.removeChild(this.nodeOrShadowRoot(ue),z)}parentNode(ue){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ue)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xr extends ln{constructor(ue,z,X,ye,Re,tt,pt,xt){super(ue,Re,tt,pt),this.sharedStylesHost=z,this.removeStylesOnCompDestroy=ye,this.styles=xt?Ct(xt,X.styles):X.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class vn extends Xr{constructor(ue,z,X,ye,Re,tt,pt,xt){const je=ye+"-"+X.id;super(ue,z,X,Re,tt,pt,xt,je),this.contentAttr=function Le(me){return"_ngcontent-%COMP%".replace(Ke,me)}(je),this.hostAttr=function Fe(me){return"_nghost-%COMP%".replace(Ke,me)}(je)}applyToHost(ue){this.applyStyles(),this.setAttribute(ue,this.hostAttr,"")}createElement(ue,z){const X=super.createElement(ue,z);return super.setAttribute(X,this.contentAttr,""),X}}let Lr=(()=>{class me extends Qt{constructor(z){super(z)}supports(z){return!0}addEventListener(z,X,ye){return z.addEventListener(X,ye,!1),()=>this.removeEventListener(z,X,ye)}removeEventListener(z,X,ye){return z.removeEventListener(X,ye)}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(H.K0))}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();const oi=["alt","control","meta","shift"],yi={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Je={alt:me=>me.altKey,control:me=>me.ctrlKey,meta:me=>me.metaKey,shift:me=>me.shiftKey};let kr=(()=>{class me extends Qt{constructor(z){super(z)}supports(z){return null!=me.parseEventName(z)}addEventListener(z,X,ye){const Re=me.parseEventName(X),tt=me.eventCallback(Re.fullKey,ye,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,H.q)().onAndCancel(z,Re.domEventName,tt))}static parseEventName(z){const X=z.toLowerCase().split("."),ye=X.shift();if(0===X.length||"keydown"!==ye&&"keyup"!==ye)return null;const Re=me._normalizeKey(X.pop());let tt="",pt=X.indexOf("code");if(pt>-1&&(X.splice(pt,1),tt="code."),oi.forEach(je=>{const re=X.indexOf(je);re>-1&&(X.splice(re,1),tt+=je+".")}),tt+=Re,0!=X.length||0===Re.length)return null;const xt={};return xt.domEventName=ye,xt.fullKey=tt,xt}static matchEventFullKeyCode(z,X){let ye=yi[z.key]||z.key,Re="";return X.indexOf("code.")>-1&&(ye=z.code,Re="code."),!(null==ye||!ye)&&(ye=ye.toLowerCase()," "===ye?ye="space":"."===ye&&(ye="dot"),oi.forEach(tt=>{tt!==ye&&(0,Je[tt])(z)&&(Re+=tt+".")}),Re+=ye,Re===X)}static eventCallback(z,X,ye){return Re=>{me.matchEventFullKeyCode(Re,z)&&ye.runGuarded(()=>X(Re))}}static _normalizeKey(z){return"esc"===z?"escape":z}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(H.K0))}}static{this.\u0275prov=d.Yz7({token:me,factory:me.\u0275fac})}}return me})();const wt=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:H.bD},{provide:d.g9A,useValue:function qe(){Se.makeCurrent()},multi:!0},{provide:H.K0,useFactory:function zr(){return(0,d.RDi)(document),document},deps:[]}]),hn=new d.OlP(""),Zn=[{provide:d.rWj,useClass:class Kn{addToWindow(ue){d.dqk.getAngularTestability=(X,ye=!0)=>{const Re=ue.findTestabilityInTree(X,ye);if(null==Re)throw new d.vHH(5103,!1);return Re},d.dqk.getAllAngularTestabilities=()=>ue.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>ue.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(X=>{const ye=d.dqk.getAllAngularTestabilities();let Re=ye.length,tt=!1;const pt=function(xt){tt=tt||xt,Re--,0==Re&&X(tt)};ye.forEach(xt=>{xt.whenStable(pt)})})}findTestabilityInTree(ue,z,X){return null==z?null:ue.getTestability(z)??(X?(0,H.q)().isShadowRoot(z)?this.findTestabilityInTree(ue,z.host,!0):this.findTestabilityInTree(ue,z.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],Bn=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function Nr(){return new d.qLn},deps:[]},{provide:Tt,useClass:Lr,multi:!0,deps:[H.K0,d.R0b,d.Lbi]},{provide:Tt,useClass:kr,multi:!0,deps:[H.K0]},it,Vn,rt,{provide:d.FYo,useExisting:it},{provide:H.JF,useClass:Xe,deps:[]},[]];let Hn=(()=>{class me{constructor(z){}static withServerTransition(z){return{ngModule:me,providers:[{provide:d.AFp,useValue:z.appId}]}}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(hn,12))}}static{this.\u0275mod=d.oAB({type:me})}static{this.\u0275inj=d.cJS({providers:[...Bn,...Zn],imports:[H.ez,d.hGG]})}}return me})(),In=(()=>{class me{constructor(z){this._doc=z}getTitle(){return this._doc.title}setTitle(z){this._doc.title=z||""}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(H.K0))}}static{this.\u0275prov=d.Yz7({token:me,factory:function(X){let ye=null;return ye=X?new X:function ei(){return new In((0,d.LFG)(H.K0))}(),ye},providedIn:"root"})}}return me})();typeof window<"u"&&window;let Cr=(()=>{class me{static{this.\u0275fac=function(X){return new(X||me)}}static{this.\u0275prov=d.Yz7({token:me,factory:function(X){let ye=null;return ye=X?new(X||me):d.LFG(zn),ye},providedIn:"root"})}}return me})(),zn=(()=>{class me extends Cr{constructor(z){super(),this._doc=z}sanitize(z,X){if(null==X)return null;switch(z){case d.q3G.NONE:return X;case d.q3G.HTML:return(0,d.qzn)(X,"HTML")?(0,d.z3N)(X):(0,d.EiD)(this._doc,String(X)).toString();case d.q3G.STYLE:return(0,d.qzn)(X,"Style")?(0,d.z3N)(X):X;case d.q3G.SCRIPT:if((0,d.qzn)(X,"Script"))return(0,d.z3N)(X);throw new d.vHH(5200,!1);case d.q3G.URL:return(0,d.qzn)(X,"URL")?(0,d.z3N)(X):(0,d.mCW)(String(X));case d.q3G.RESOURCE_URL:if((0,d.qzn)(X,"ResourceURL"))return(0,d.z3N)(X);throw new d.vHH(5201,!1);default:throw new d.vHH(5202,!1)}}bypassSecurityTrustHtml(z){return(0,d.JVY)(z)}bypassSecurityTrustStyle(z){return(0,d.L6k)(z)}bypassSecurityTrustScript(z){return(0,d.eBb)(z)}bypassSecurityTrustUrl(z){return(0,d.LAX)(z)}bypassSecurityTrustResourceUrl(z){return(0,d.pB0)(z)}static{this.\u0275fac=function(X){return new(X||me)(d.LFG(H.K0))}}static{this.\u0275prov=d.Yz7({token:me,factory:function(X){let ye=null;return ye=X?new X:function Pr(me){return new zn(me.get(H.K0))}(d.LFG(d.zs3)),ye},providedIn:"root"})}}return me})()},5187:(Nn,mt,fe)=>{"use strict";fe.d(mt,{Bz:()=>ua,F0:()=>or,lC:()=>Pi});var d=fe(5879),H=fe(2664),Ae=fe(9666),Se=fe(2096),ze=fe(5619),Qe=fe(2572),et=fe(6973),Nt=fe(5211),Kn=fe(4911),Xe=fe(8407),Tt=fe(8504),rt=fe(6232),Qt=fe(3168),Rn=fe(8645),Vn=fe(7394),Ve=fe(6814),Ke=fe(7398),Dn=fe(4664),Sn=fe(8180),Dt=fe(7921),ie=fe(2181),ht=fe(1631),Le=fe(1374),Fe=fe(6328),Ct=fe(9397),it=fe(6306),ln=fe(6699),sn=fe(3572),Mn=fe(2032),Ar=fe(4418),Or=fe(975),Xr=fe(4716),vn=fe(6196),Lr=fe(9773),oi=fe(7537),yi=fe(6593);const Je="primary",kr=Symbol("RouteTitle");class Gi{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const f=this.params[_];return Array.isArray(f)?f[0]:f}return null}getAll(_){if(this.has(_)){const f=this.params[_];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Pn(m){return new Gi(m)}function Wr(m,_,f){const y=f.path.split("/");if(y.length>m.length||"full"===f.pathMatch&&(_.hasChildren()||y.length<m.length))return null;const b={};for(let k=0;k<y.length;k++){const W=y[k],he=m[k];if(W.startsWith(":"))b[W.substring(1)]=he;else if(W!==he.path)return null}return{consumed:m.slice(0,y.length),posParams:b}}function qe(m,_){const f=m?Object.keys(m):void 0,y=_?Object.keys(_):void 0;if(!f||!y||f.length!=y.length)return!1;let b;for(let k=0;k<f.length;k++)if(b=f[k],!Nr(m[b],_[b]))return!1;return!0}function Nr(m,_){if(Array.isArray(m)&&Array.isArray(_)){if(m.length!==_.length)return!1;const f=[...m].sort(),y=[..._].sort();return f.every((b,k)=>y[k]===b)}return m===_}function zr(m){return m.length>0?m[m.length-1]:null}function _r(m){return(0,H.b)(m)?m:(0,d.QGY)(m)?(0,Ae.D)(Promise.resolve(m)):(0,Se.of)(m)}const wt={exact:function Hn(m,_,f){if(!Mt(m.segments,_.segments)||!ei(m.segments,_.segments,f)||m.numberOfChildren!==_.numberOfChildren)return!1;for(const y in _.children)if(!m.children[y]||!Hn(m.children[y],_.children[y],f))return!1;return!0},subset:Dr},hn={exact:function Bn(m,_){return qe(m,_)},subset:function Jr(m,_){return Object.keys(_).length<=Object.keys(m).length&&Object.keys(_).every(f=>Nr(m[f],_[f]))},ignored:()=>!0};function Zn(m,_,f){return wt[f.paths](m.root,_.root,f.matrixParams)&&hn[f.queryParams](m.queryParams,_.queryParams)&&!("exact"===f.fragment&&m.fragment!==_.fragment)}function Dr(m,_,f){return _i(m,_,_.segments,f)}function _i(m,_,f,y){if(m.segments.length>f.length){const b=m.segments.slice(0,f.length);return!(!Mt(b,f)||_.hasChildren()||!ei(b,f,y))}if(m.segments.length===f.length){if(!Mt(m.segments,f)||!ei(m.segments,f,y))return!1;for(const b in _.children)if(!m.children[b]||!Dr(m.children[b],_.children[b],y))return!1;return!0}{const b=f.slice(0,m.segments.length),k=f.slice(m.segments.length);return!!(Mt(m.segments,b)&&ei(m.segments,b,y)&&m.children[Je])&&_i(m.children[Je],_,k,y)}}function ei(m,_,f){return _.every((y,b)=>hn[f](m[b].parameters,y.parameters))}class In{constructor(_=new dt([],{}),f={},y=null){this.root=_,this.queryParams=f,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pn(this.queryParams)),this._queryParamMap}toString(){return Er.serialize(this)}}class dt{constructor(_,f){this.segments=_,this.children=f,this.parent=null,Object.values(f).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xt(this)}}class Tn{constructor(_,f){this.path=_,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=Pn(this.parameters)),this._parameterMap}toString(){return Cr(this)}}function Mt(m,_){return m.length===_.length&&m.every((f,y)=>f.path===_[y].path)}let Un=(()=>{class m{static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:function(){return new Rr},providedIn:"root"})}}return m})();class Rr{parse(_){const f=new me(_);return new In(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(_){const f=`/${cn(_.root,!0)}`,y=function zn(m){const _=Object.keys(m).map(f=>{const y=m[f];return Array.isArray(y)?y.map(b=>`${Ue(f)}=${Ue(b)}`).join("&"):`${Ue(f)}=${Ue(y)}`}).filter(f=>!!f);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${f}${y}${"string"==typeof _.fragment?`#${function Di(m){return encodeURI(m)}(_.fragment)}`:""}`}}const Er=new Rr;function Xt(m){return m.segments.map(_=>Cr(_)).join("/")}function cn(m,_){if(!m.hasChildren())return Xt(m);if(_){const f=m.children[Je]?cn(m.children[Je],!1):"",y=[];return Object.entries(m.children).forEach(([b,k])=>{b!==Je&&y.push(`${b}:${cn(k,!1)}`)}),y.length>0?`${f}(${y.join("//")})`:f}{const f=function It(m,_){let f=[];return Object.entries(m.children).forEach(([y,b])=>{y===Je&&(f=f.concat(_(b,y)))}),Object.entries(m.children).forEach(([y,b])=>{y!==Je&&(f=f.concat(_(b,y)))}),f}(m,(y,b)=>b===Je?[cn(m.children[Je],!1)]:[`${b}:${cn(y,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[Je]?`${Xt(m)}/${f[0]}`:`${Xt(m)}/(${f.join("//")})`}}function di(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(m){return di(m).replace(/%3B/gi,";")}function kt(m){return di(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jn(m){return decodeURIComponent(m)}function er(m){return Jn(m.replace(/\+/g,"%20"))}function Cr(m){return`${kt(m.path)}${function Pr(m){return Object.keys(m).map(_=>`;${kt(_)}=${kt(m[_])}`).join("")}(m.parameters)}`}const wr=/^[^\/()?;#]+/;function Ei(m){const _=m.match(wr);return _?_[0]:""}const fi=/^[^\/()?;=#]+/,qn=/^[^=?&#]+/,ti=/^[^&#]+/;class me{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(_.length>0||Object.keys(f).length>0)&&(y[Je]=new dt(_,f)),y}parseSegment(){const _=Ei(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new d.vHH(4009,!1);return this.capture(_),new Tn(Jn(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const f=function Vr(m){const _=m.match(fi);return _?_[0]:""}(this.remaining);if(!f)return;this.capture(f);let y="";if(this.consumeOptional("=")){const b=Ei(this.remaining);b&&(y=b,this.capture(y))}_[Jn(f)]=Jn(y)}parseQueryParam(_){const f=function Br(m){const _=m.match(qn);return _?_[0]:""}(this.remaining);if(!f)return;this.capture(f);let y="";if(this.consumeOptional("=")){const W=function lo(m){const _=m.match(ti);return _?_[0]:""}(this.remaining);W&&(y=W,this.capture(y))}const b=er(f),k=er(y);if(_.hasOwnProperty(b)){let W=_[b];Array.isArray(W)||(W=[W],_[b]=W),W.push(k)}else _[b]=k}parseParens(_){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Ei(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new d.vHH(4010,!1);let k;y.indexOf(":")>-1?(k=y.slice(0,y.indexOf(":")),this.capture(k),this.capture(":")):_&&(k=Je);const W=this.parseChildren();f[k]=1===Object.keys(W).length?W[Je]:new dt([],W),this.consumeOptional("//")}return f}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new d.vHH(4011,!1)}}function ue(m){return m.segments.length>0?new dt([],{[Je]:m}):m}function z(m){const _={};for(const y of Object.keys(m.children)){const k=z(m.children[y]);if(y===Je&&0===k.segments.length&&k.hasChildren())for(const[W,he]of Object.entries(k.children))_[W]=he;else(k.segments.length>0||k.hasChildren())&&(_[y]=k)}return function X(m){if(1===m.numberOfChildren&&m.children[Je]){const _=m.children[Je];return new dt(m.segments.concat(_.segments),_.children)}return m}(new dt(m.segments,_))}function ye(m){return m instanceof In}function tt(m){let _;const b=ue(function f(k){const W={};for(const ce of k.children){const He=f(ce);W[ce.outlet]=He}const he=new dt(k.url,W);return k===m&&(_=he),he}(m.root));return _??b}function pt(m,_,f,y){let b=m;for(;b.parent;)b=b.parent;if(0===_.length)return re(b,b,b,f,y);const k=function R(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new N(!0,0,m);let _=0,f=!1;const y=m.reduce((b,k,W)=>{if("object"==typeof k&&null!=k){if(k.outlets){const he={};return Object.entries(k.outlets).forEach(([ce,He])=>{he[ce]="string"==typeof He?He.split("/"):He}),[...b,{outlets:he}]}if(k.segmentPath)return[...b,k.segmentPath]}return"string"!=typeof k?[...b,k]:0===W?(k.split("/").forEach((he,ce)=>{0==ce&&"."===he||(0==ce&&""===he?f=!0:".."===he?_++:""!=he&&b.push(he))}),b):[...b,k]},[]);return new N(f,_,y)}(_);if(k.toRoot())return re(b,b,new dt([],{}),f,y);const W=function Q(m,_,f){if(m.isAbsolute)return new L(_,!0,0);if(!f)return new L(_,!1,NaN);if(null===f.parent)return new L(f,!0,0);const y=xt(m.commands[0])?0:1;return function ae(m,_,f){let y=m,b=_,k=f;for(;k>b;){if(k-=b,y=y.parent,!y)throw new d.vHH(4005,!1);b=y.segments.length}return new L(y,!1,b-k)}(f,f.segments.length-1+y,m.numberOfDoubleDots)}(k,b,m),he=W.processChildren?Ze(W.segmentGroup,W.index,k.commands):we(W.segmentGroup,W.index,k.commands);return re(b,W.segmentGroup,he,f,y)}function xt(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function je(m){return"object"==typeof m&&null!=m&&m.outlets}function re(m,_,f,y,b){let W,k={};y&&Object.entries(y).forEach(([ce,He])=>{k[ce]=Array.isArray(He)?He.map(en=>`${en}`):`${He}`}),W=m===_?f:J(m,_,f);const he=ue(z(W));return new In(he,k,b)}function J(m,_,f){const y={};return Object.entries(m.children).forEach(([b,k])=>{y[b]=k===_?f:J(k,_,f)}),new dt(m.segments,y)}class N{constructor(_,f,y){if(this.isAbsolute=_,this.numberOfDoubleDots=f,this.commands=y,_&&y.length>0&&xt(y[0]))throw new d.vHH(4003,!1);const b=y.find(je);if(b&&b!==zr(y))throw new d.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class L{constructor(_,f,y){this.segmentGroup=_,this.processChildren=f,this.index=y}}function we(m,_,f){if(m||(m=new dt([],{})),0===m.segments.length&&m.hasChildren())return Ze(m,_,f);const y=function Oe(m,_,f){let y=0,b=_;const k={match:!1,pathIndex:0,commandIndex:0};for(;b<m.segments.length;){if(y>=f.length)return k;const W=m.segments[b],he=f[y];if(je(he))break;const ce=`${he}`,He=y<f.length-1?f[y+1]:null;if(b>0&&void 0===ce)break;if(ce&&He&&"object"==typeof He&&void 0===He.outlets){if(!En(ce,He,W))return k;y+=2}else{if(!En(ce,{},W))return k;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(m,_,f),b=f.slice(y.commandIndex);if(y.match&&y.pathIndex<m.segments.length){const k=new dt(m.segments.slice(0,y.pathIndex),{});return k.children[Je]=new dt(m.segments.slice(y.pathIndex),m.children),Ze(k,0,b)}return y.match&&0===b.length?new dt(m.segments,{}):y.match&&!m.hasChildren()?vt(m,_,f):y.match?Ze(m,0,b):vt(m,_,f)}function Ze(m,_,f){if(0===f.length)return new dt(m.segments,{});{const y=function Ie(m){return je(m[0])?m[0].outlets:{[Je]:m}}(f),b={};if(Object.keys(y).some(k=>k!==Je)&&m.children[Je]&&1===m.numberOfChildren&&0===m.children[Je].segments.length){const k=Ze(m.children[Je],_,f);return new dt(m.segments,k.children)}return Object.entries(y).forEach(([k,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(b[k]=we(m.children[k],_,W))}),Object.entries(m.children).forEach(([k,W])=>{void 0===y[k]&&(b[k]=W)}),new dt(m.segments,b)}}function vt(m,_,f){const y=m.segments.slice(0,_);let b=0;for(;b<f.length;){const k=f[b];if(je(k)){const ce=an(k.outlets);return new dt(y,ce)}if(0===b&&xt(f[0])){y.push(new Tn(m.segments[_].path,Yt(f[0]))),b++;continue}const W=je(k)?k.outlets[Je]:`${k}`,he=b<f.length-1?f[b+1]:null;W&&he&&xt(he)?(y.push(new Tn(W,Yt(he))),b+=2):(y.push(new Tn(W,{})),b++)}return new dt(y,{})}function an(m){const _={};return Object.entries(m).forEach(([f,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(_[f]=vt(new dt([],{}),0,y))}),_}function Yt(m){const _={};return Object.entries(m).forEach(([f,y])=>_[f]=`${y}`),_}function En(m,_,f){return m==f.path&&qe(_,f.parameters)}const An="imperative";class rn{constructor(_,f){this.id=_,this.url=f}}class Vt extends rn{constructor(_,f,y="imperative",b=null){super(_,f),this.type=0,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bt extends rn{constructor(_,f,y){super(_,f),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tr extends rn{constructor(_,f,y,b){super(_,f),this.reason=y,this.code=b,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Hr extends rn{constructor(_,f,y,b){super(_,f),this.reason=y,this.code=b,this.type=16}}class jn extends rn{constructor(_,f,y,b){super(_,f),this.error=y,this.target=b,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $n extends rn{constructor(_,f,y,b){super(_,f),this.urlAfterRedirects=y,this.state=b,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qr extends rn{constructor(_,f,y,b){super(_,f),this.urlAfterRedirects=y,this.state=b,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mr extends rn{constructor(_,f,y,b,k){super(_,f),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=k,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hi extends rn{constructor(_,f,y,b){super(_,f),this.urlAfterRedirects=y,this.state=b,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends rn{constructor(_,f,y,b){super(_,f),this.urlAfterRedirects=y,this.state=b,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Io{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gr{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class co{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(_,f,y){this.routerEvent=_,this.position=f,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Wo{}class wi{constructor(_){this.url=_}}class To{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ar,this.attachRef=null}}let ar=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(f,y){const b=this.getOrCreateContext(f);b.outlet=y,this.contexts.set(f,b)}onChildOutletDestroyed(f){const y=this.getContext(f);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let y=this.getContext(f);return y||(y=new To,this.contexts.set(f,y)),y}getContext(f){return this.contexts.get(f)||null}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();class Ao{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const f=this.pathFromRoot(_);return f.length>1?f[f.length-2]:null}children(_){const f=Ri(_,this._root);return f?f.children.map(y=>y.value):[]}firstChild(_){const f=Ri(_,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(_){const f=qo(_,this._root);return f.length<2?[]:f[f.length-2].children.map(b=>b.value).filter(b=>b!==_)}pathFromRoot(_){return qo(_,this._root).map(f=>f.value)}}function Ri(m,_){if(m===_.value)return _;for(const f of _.children){const y=Ri(m,f);if(y)return y}return null}function qo(m,_){if(m===_.value)return[_];for(const f of _.children){const y=qo(m,f);if(y.length)return y.unshift(_),y}return[]}class ai{constructor(_,f){this.value=_,this.children=f}toString(){return`TreeNode(${this.value})`}}function Oo(m){const _={};return m&&m.children.forEach(f=>_[f.value.outlet]=f),_}class fo extends Ao{constructor(_,f){super(_),this.snapshot=f,qi(this,_)}toString(){return this.snapshot.toString()}}function as(m,_){const f=function No(m,_){const W=new nr([],{},{},"",{},Je,_,null,{});return new ur("",new ai(W,[]))}(0,_),y=new ze.X([new Tn("",{})]),b=new ze.X({}),k=new ze.X({}),W=new ze.X({}),he=new ze.X(""),ce=new pi(y,b,W,he,k,Je,_,f.root);return ce.snapshot=f.root,new fo(new ai(ce,[]),f)}class pi{constructor(_,f,y,b,k,W,he,ce){this.urlSubject=_,this.paramsSubject=f,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=k,this.outlet=W,this.component=he,this._futureSnapshot=ce,this.title=this.dataSubject?.pipe((0,Ke.U)(He=>He[kr]))??(0,Se.of)(void 0),this.url=_,this.params=f,this.queryParams=y,this.fragment=b,this.data=k}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._paramMap=this.params.pipe((0,Ke.U)(_=>Pn(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ke.U)(_=>Pn(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ro(m,_="emptyOnly"){const f=m.pathFromRoot;let y=0;if("always"!==_)for(y=f.length-1;y>=1;){const b=f[y],k=f[y-1];if(b.routeConfig&&""===b.routeConfig.path)y--;else{if(k.component)break;y--}}return function Jt(m){return m.reduce((_,f)=>({params:{..._.params,...f.params},data:{..._.data,...f.data},resolve:{...f.data,..._.resolve,...f.routeConfig?.data,...f._resolvedData}}),{params:{},data:{},resolve:{}})}(f.slice(y))}class nr{get title(){return this.data?.[kr]}constructor(_,f,y,b,k,W,he,ce,He){this.url=_,this.params=f,this.queryParams=y,this.fragment=b,this.data=k,this.outlet=W,this.component=he,this.routeConfig=ce,this._resolve=He}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._paramMap=Pn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ur extends Ao{constructor(_,f){super(f),this.url=_,qi(this,f)}toString(){return xr(this._root)}}function qi(m,_){_.value._routerState=m,_.children.forEach(f=>qi(m,f))}function xr(m){const _=m.children.length>0?` { ${m.children.map(xr).join(", ")} } `:"";return`${m.value}${_}`}function Yo(m){if(m.snapshot){const _=m.snapshot,f=m._futureSnapshot;m.snapshot=f,qe(_.queryParams,f.queryParams)||m.queryParamsSubject.next(f.queryParams),_.fragment!==f.fragment&&m.fragmentSubject.next(f.fragment),qe(_.params,f.params)||m.paramsSubject.next(f.params),function yn(m,_){if(m.length!==_.length)return!1;for(let f=0;f<m.length;++f)if(!qe(m[f],_[f]))return!1;return!0}(_.url,f.url)||m.urlSubject.next(f.url),qe(_.data,f.data)||m.dataSubject.next(f.data)}else m.snapshot=m._futureSnapshot,m.dataSubject.next(m._futureSnapshot.data)}function ho(m,_){const f=qe(m.params,_.params)&&function at(m,_){return Mt(m,_)&&m.every((f,y)=>qe(f.parameters,_[y].parameters))}(m.url,_.url);return f&&!(!m.parent!=!_.parent)&&(!m.parent||ho(m.parent,_.parent))}let Pi=(()=>{class m{constructor(){this.activated=null,this._activatedRoute=null,this.name=Je,this.activateEvents=new d.vpe,this.deactivateEvents=new d.vpe,this.attachEvents=new d.vpe,this.detachEvents=new d.vpe,this.parentContexts=(0,d.f3M)(ar),this.location=(0,d.f3M)(d.s_b),this.changeDetector=(0,d.f3M)(d.sBO),this.environmentInjector=(0,d.f3M)(d.lqb),this.inputBinder=(0,d.f3M)(po,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:y,previousValue:b}=f.name;if(y)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new d.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new d.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new d.vHH(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,y){this.activated=f,this._activatedRoute=y,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,y){if(this.isActivated)throw new d.vHH(4013,!1);this._activatedRoute=f;const b=this.location,W=f.snapshot.component,he=this.parentContexts.getOrCreateContext(this.name).children,ce=new us(f,he,b.injector);this.activated=b.createComponent(W,{index:b.length,injector:ce,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275dir=d.lG2({type:m,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[d.TTD]})}}return m})();class us{constructor(_,f,y){this.route=_,this.childContexts=f,this.parent=y}get(_,f){return _===pi?this.route:_===ar?this.childContexts:this.parent.get(_,f)}}const po=new d.OlP("");let xn=(()=>{class m{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:y}=f,b=(0,Qe.a)([y.queryParams,y.params,y.data]).pipe((0,Dn.w)(([k,W,he],ce)=>(he={...k,...W,...he},0===ce?(0,Se.of)(he):Promise.resolve(he)))).subscribe(k=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(f);const W=(0,d.qFp)(y.component);if(W)for(const{templateName:he}of W.inputs)f.activatedComponentRef.setInput(he,k[he]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,b)}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac})}}return m})();function yt(m,_,f){if(f&&m.shouldReuseRoute(_.value,f.value.snapshot)){const y=f.value;y._futureSnapshot=_.value;const b=function ft(m,_,f){return _.children.map(y=>{for(const b of f.children)if(m.shouldReuseRoute(y.value,b.value.snapshot))return yt(m,y,b);return yt(m,y)})}(m,_,f);return new ai(y,b)}{if(m.shouldAttach(_.value)){const k=m.retrieve(_.value);if(null!==k){const W=k.route;return W.value._futureSnapshot=_.value,W.children=_.children.map(he=>yt(m,he)),W}}const y=function jt(m){return new pi(new ze.X(m.url),new ze.X(m.params),new ze.X(m.queryParams),new ze.X(m.fragment),new ze.X(m.data),m.outlet,m.component,m)}(_.value),b=_.children.map(k=>yt(m,k));return new ai(y,b)}}const Mi="ngNavigationCancelingError";function Fr(m,_){const{redirectTo:f,navigationBehaviorOptions:y}=ye(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,b=Yi(!1,0,_);return b.url=f,b.navigationBehaviorOptions=y,b}function Yi(m,_,f){const y=new Error("NavigationCancelingError: "+(m||""));return y[Mi]=!0,y.cancellationCode=_,f&&(y.url=f),y}function lr(m){return m&&m[Mi]}let Ki=(()=>{class m{static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275cmp=d.Xpm({type:m,selectors:[["ng-component"]],standalone:!0,features:[d.jDz],decls:1,vars:0,template:function(y,b){1&y&&d._UZ(0,"router-outlet")},dependencies:[Pi],encapsulation:2})}}return m})();function xo(m){const _=m.children&&m.children.map(xo),f=_?{...m,children:_}:{...m};return!f.component&&!f.loadComponent&&(_||f.loadChildren)&&f.outlet&&f.outlet!==Je&&(f.component=Ki),f}function rr(m){return m.outlet||Je}function Ln(m){if(!m)return null;if(m.routeConfig?._injector)return m.routeConfig._injector;for(let _=m.parent;_;_=_.parent){const f=_.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class Bs{constructor(_,f,y,b,k){this.routeReuseStrategy=_,this.futureState=f,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=k}activate(_){const f=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,y,_),Yo(this.futureState.root),this.activateChildRoutes(f,y,_)}deactivateChildRoutes(_,f,y){const b=Oo(f);_.children.forEach(k=>{const W=k.value.outlet;this.deactivateRoutes(k,b[W],y),delete b[W]}),Object.values(b).forEach(k=>{this.deactivateRouteAndItsChildren(k,y)})}deactivateRoutes(_,f,y){const b=_.value,k=f?f.value:null;if(b===k)if(b.component){const W=y.getContext(b.outlet);W&&this.deactivateChildRoutes(_,f,W.children)}else this.deactivateChildRoutes(_,f,y);else k&&this.deactivateRouteAndItsChildren(f,y)}deactivateRouteAndItsChildren(_,f){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,f):this.deactivateRouteAndOutlet(_,f)}detachAndStoreRouteSubtree(_,f){const y=f.getContext(_.value.outlet),b=y&&_.value.component?y.children:f,k=Oo(_);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],b);if(y&&y.outlet){const W=y.outlet.detach(),he=y.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:W,route:_,contexts:he})}}deactivateRouteAndOutlet(_,f){const y=f.getContext(_.value.outlet),b=y&&_.value.component?y.children:f,k=Oo(_);for(const W of Object.keys(k))this.deactivateRouteAndItsChildren(k[W],b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(_,f,y){const b=Oo(f);_.children.forEach(k=>{this.activateRoutes(k,b[k.value.outlet],y),this.forwardEvent(new zi(k.value.snapshot))}),_.children.length&&this.forwardEvent(new co(_.value.snapshot))}activateRoutes(_,f,y){const b=_.value,k=f?f.value:null;if(Yo(b),b===k)if(b.component){const W=y.getOrCreateContext(b.outlet);this.activateChildRoutes(_,f,W.children)}else this.activateChildRoutes(_,f,y);else if(b.component){const W=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const he=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),W.children.onOutletReAttached(he.contexts),W.attachRef=he.componentRef,W.route=he.route.value,W.outlet&&W.outlet.attach(he.componentRef,he.route.value),Yo(he.route.value),this.activateChildRoutes(_,null,W.children)}else{const he=Ln(b.snapshot);W.attachRef=null,W.route=b,W.injector=he,W.outlet&&W.outlet.activateWith(b,W.injector),this.activateChildRoutes(_,null,W.children)}}else this.activateChildRoutes(_,null,y)}}class Sr{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class Qi{constructor(_,f){this.component=_,this.route=f}}function Yr(m,_,f){const y=m._root;return bi(y,_?_._root:null,f,[y.value])}function Ur(m,_){const f=Symbol(),y=_.get(m,f);return y===f?"function"!=typeof m||(0,d.Z0I)(m)?_.get(m):m:y}function bi(m,_,f,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const k=Oo(_);return m.children.forEach(W=>{(function Ft(m,_,f,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const k=m.value,W=_?_.value:null,he=f?f.getContext(m.value.outlet):null;if(W&&k.routeConfig===W.routeConfig){const ce=function Fo(m,_,f){if("function"==typeof f)return f(m,_);switch(f){case"pathParamsChange":return!Mt(m.url,_.url);case"pathParamsOrQueryParamsChange":return!Mt(m.url,_.url)||!qe(m.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ho(m,_)||!qe(m.queryParams,_.queryParams);default:return!ho(m,_)}}(W,k,k.routeConfig.runGuardsAndResolvers);ce?b.canActivateChecks.push(new Sr(y)):(k.data=W.data,k._resolvedData=W._resolvedData),bi(m,_,k.component?he?he.children:null:f,y,b),ce&&he&&he.outlet&&he.outlet.isActivated&&b.canDeactivateChecks.push(new Qi(he.outlet.component,W))}else W&&Qn(_,he,b),b.canActivateChecks.push(new Sr(y)),bi(m,null,k.component?he?he.children:null:f,y,b)})(W,k[W.value.outlet],f,y.concat([W.value]),b),delete k[W.value.outlet]}),Object.entries(k).forEach(([W,he])=>Qn(he,f.getContext(W),b)),b}function Qn(m,_,f){const y=Oo(m),b=m.value;Object.entries(y).forEach(([k,W])=>{Qn(W,b.component?_?_.children.getContext(k):null:_,f)}),f.canDeactivateChecks.push(new Qi(b.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,b))}function cr(m){return"function"==typeof m}function ls(m){return m instanceof et.K||"EmptyError"===m?.name}const S=Symbol("INITIAL_VALUE");function T(){return(0,Dn.w)(m=>(0,Qe.a)(m.map(_=>_.pipe((0,Sn.q)(1),(0,Dt.O)(S)))).pipe((0,Ke.U)(_=>{for(const f of _)if(!0!==f){if(f===S)return S;if(!1===f||f instanceof In)return f}return!0}),(0,ie.h)(_=>_!==S),(0,Sn.q)(1)))}function Ss(m){return(0,Xe.z)((0,Ct.b)(_=>{if(ye(_))throw Fr(0,_)}),(0,Ke.U)(_=>!0===_))}class F{constructor(_){this.segmentGroup=_||null}}class c{constructor(_){this.urlTree=_}}function g(m){return(0,Tt._)(new F(m))}function w(m){return(0,Tt._)(new c(m))}class K{constructor(_,f){this.urlSerializer=_,this.urlTree=f}noMatchError(_){return new d.vHH(4002,!1)}lineralizeSegments(_,f){let y=[],b=f.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,Se.of)(y);if(b.numberOfChildren>1||!b.children[Je])return(0,Tt._)(new d.vHH(4e3,!1));b=b.children[Je]}}applyRedirectCommands(_,f,y){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),_,y)}applyRedirectCreateUrlTree(_,f,y,b){const k=this.createSegmentGroup(_,f.root,y,b);return new In(k,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(_,f){const y={};return Object.entries(_).forEach(([b,k])=>{if("string"==typeof k&&k.startsWith(":")){const he=k.substring(1);y[b]=f[he]}else y[b]=k}),y}createSegmentGroup(_,f,y,b){const k=this.createSegments(_,f.segments,y,b);let W={};return Object.entries(f.children).forEach(([he,ce])=>{W[he]=this.createSegmentGroup(_,ce,y,b)}),new dt(k,W)}createSegments(_,f,y,b){return f.map(k=>k.path.startsWith(":")?this.findPosParam(_,k,b):this.findOrReturn(k,y))}findPosParam(_,f,y){const b=y[f.path.substring(1)];if(!b)throw new d.vHH(4001,!1);return b}findOrReturn(_,f){let y=0;for(const b of f){if(b.path===_.path)return f.splice(y),b;y++}return _}}const Z={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function de(m,_,f,y,b){const k=pe(m,_,f);return k.matched?(y=function ut(m,_){return m.providers&&!m._injector&&(m._injector=(0,d.MMx)(m.providers,_,`Route: ${m.path}`)),m._injector??_}(_,y),function Ia(m,_,f,y){const b=_.canMatch;if(!b||0===b.length)return(0,Se.of)(!0);const k=b.map(W=>{const he=Ur(W,m);return _r(function vo(m){return m&&cr(m.canMatch)}(he)?he.canMatch(_,f):m.runInContext(()=>he(_,f)))});return(0,Se.of)(k).pipe(T(),Ss())}(y,_,f).pipe((0,Ke.U)(W=>!0===W?k:{...Z}))):(0,Se.of)(k)}function pe(m,_,f){if(""===_.path)return"full"===_.pathMatch&&(m.hasChildren()||f.length>0)?{...Z}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const b=(_.matcher||Wr)(f,m,_);if(!b)return{...Z};const k={};Object.entries(b.posParams??{}).forEach(([he,ce])=>{k[he]=ce.path});const W=b.consumed.length>0?{...k,...b.consumed[b.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:b.consumed,remainingSegments:f.slice(b.consumed.length),parameters:W,positionalParamSegments:b.posParams??{}}}function ke(m,_,f,y){return f.length>0&&function Lt(m,_,f){return f.some(y=>Et(m,_,y)&&rr(y)!==Je)}(m,f,y)?{segmentGroup:new dt(_,Gt(y,new dt(f,m.children))),slicedSegments:[]}:0===f.length&&function lt(m,_,f){return f.some(y=>Et(m,_,y))}(m,f,y)?{segmentGroup:new dt(m.segments,Pe(m,0,f,y,m.children)),slicedSegments:f}:{segmentGroup:new dt(m.segments,m.children),slicedSegments:f}}function Pe(m,_,f,y,b){const k={};for(const W of y)if(Et(m,f,W)&&!b[rr(W)]){const he=new dt([],{});k[rr(W)]=he}return{...b,...k}}function Gt(m,_){const f={};f[Je]=_;for(const y of m)if(""===y.path&&rr(y)!==Je){const b=new dt([],{});f[rr(y)]=b}return f}function Et(m,_,f){return(!(m.hasChildren()||_.length>0)||"full"!==f.pathMatch)&&""===f.path}class Kr{constructor(_,f,y,b,k,W,he){this.injector=_,this.configLoader=f,this.rootComponentType=y,this.config=b,this.urlTree=k,this.paramsInheritanceStrategy=W,this.urlSerializer=he,this.allowRedirects=!0,this.applyRedirects=new K(this.urlSerializer,this.urlTree)}noMatchError(_){return new d.vHH(4002,!1)}recognize(){const _=ke(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,Je).pipe((0,it.K)(f=>{if(f instanceof c)return this.allowRedirects=!1,this.urlTree=f.urlTree,this.match(f.urlTree);throw f instanceof F?this.noMatchError(f):f}),(0,Ke.U)(f=>{const y=new nr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Je,this.rootComponentType,null,{}),b=new ai(y,f),k=new ur("",b),W=function Re(m,_,f=null,y=null){return pt(tt(m),_,f,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,k.url=this.urlSerializer.serialize(W),this.inheritParamsAndData(k._root),{state:k,tree:W}}))}match(_){return this.processSegmentGroup(this.injector,this.config,_.root,Je).pipe((0,it.K)(y=>{throw y instanceof F?this.noMatchError(y):y}))}inheritParamsAndData(_){const f=_.value,y=Ro(f,this.paramsInheritanceStrategy);f.params=Object.freeze(y.params),f.data=Object.freeze(y.data),_.children.forEach(b=>this.inheritParamsAndData(b))}processSegmentGroup(_,f,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(_,f,y):this.processSegment(_,f,y,y.segments,b,!0)}processChildren(_,f,y){const b=[];for(const k of Object.keys(y.children))"primary"===k?b.unshift(k):b.push(k);return(0,Ae.D)(b).pipe((0,Fe.b)(k=>{const W=y.children[k],he=function ui(m,_){const f=m.filter(y=>rr(y)===_);return f.push(...m.filter(y=>rr(y)!==_)),f}(f,k);return this.processSegmentGroup(_,he,W,k)}),(0,ln.R)((k,W)=>(k.push(...W),k)),(0,sn.d)(null),(0,Mn.Z)(),(0,ht.z)(k=>{if(null===k)return g(y);const W=Li(k);return function jr(m){m.sort((_,f)=>_.value.outlet===Je?-1:f.value.outlet===Je?1:_.value.outlet.localeCompare(f.value.outlet))}(W),(0,Se.of)(W)}))}processSegment(_,f,y,b,k,W){return(0,Ae.D)(f).pipe((0,Fe.b)(he=>this.processSegmentAgainstRoute(he._injector??_,f,he,y,b,k,W).pipe((0,it.K)(ce=>{if(ce instanceof F)return(0,Se.of)(null);throw ce}))),(0,Le.P)(he=>!!he),(0,it.K)(he=>{if(ls(he))return function Cn(m,_,f){return 0===_.length&&!m.children[f]}(y,b,k)?(0,Se.of)([]):g(y);throw he}))}processSegmentAgainstRoute(_,f,y,b,k,W,he){return function _n(m,_,f,y){return!!(rr(m)===y||y!==Je&&Et(_,f,m))&&("**"===m.path||pe(_,m,f).matched)}(y,b,k,W)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(_,b,y,k,W,he):he&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,b,f,y,k,W):g(b):g(b)}expandSegmentAgainstRouteUsingRedirect(_,f,y,b,k,W){return"**"===b.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,y,b,W):this.expandRegularSegmentAgainstRouteUsingRedirect(_,f,y,b,k,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,f,y,b){const k=this.applyRedirects.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?w(k):this.applyRedirects.lineralizeSegments(y,k).pipe((0,ht.z)(W=>{const he=new dt(W,{});return this.processSegment(_,f,he,W,b,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,f,y,b,k,W){const{matched:he,consumedSegments:ce,remainingSegments:He,positionalParamSegments:en}=pe(f,b,k);if(!he)return g(f);const yr=this.applyRedirects.applyRedirectCommands(ce,b.redirectTo,en);return b.redirectTo.startsWith("/")?w(yr):this.applyRedirects.lineralizeSegments(b,yr).pipe((0,ht.z)(gn=>this.processSegment(_,y,f,gn.concat(He),W,!1)))}matchSegmentAgainstRoute(_,f,y,b,k,W){let he;if("**"===y.path){const ce=b.length>0?zr(b).parameters:{},He=new nr(b,ce,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$r(y),rr(y),y.component??y._loadedComponent??null,y,ne(y));he=(0,Se.of)({snapshot:He,consumedSegments:[],remainingSegments:[]}),f.children={}}else he=de(f,y,b,_).pipe((0,Ke.U)(({matched:ce,consumedSegments:He,remainingSegments:en,parameters:yr})=>ce?{snapshot:new nr(He,yr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$r(y),rr(y),y.component??y._loadedComponent??null,y,ne(y)),consumedSegments:He,remainingSegments:en}:null));return he.pipe((0,Dn.w)(ce=>null===ce?g(f):this.getChildConfig(_=y._injector??_,y,b).pipe((0,Dn.w)(({routes:He})=>{const en=y._loadedInjector??_,{snapshot:yr,consumedSegments:gn,remainingSegments:Vo}=ce,{segmentGroup:Do,slicedSegments:Is}=ke(f,gn,Vo,He);if(0===Is.length&&Do.hasChildren())return this.processChildren(en,He,Do).pipe((0,Ke.U)(mi=>null===mi?null:[new ai(yr,mi)]));if(0===He.length&&0===Is.length)return(0,Se.of)([new ai(yr,[])]);const du=rr(y)===k;return this.processSegment(en,He,Do,Is,du?Je:k,!0).pipe((0,Ke.U)(mi=>[new ai(yr,mi)]))}))))}getChildConfig(_,f,y){return f.children?(0,Se.of)({routes:f.children,injector:_}):f.loadChildren?void 0!==f._loadedRoutes?(0,Se.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function Sa(m,_,f,y){const b=_.canLoad;if(void 0===b||0===b.length)return(0,Se.of)(!0);const k=b.map(W=>{const he=Ur(W,m);return _r(function ko(m){return m&&cr(m.canLoad)}(he)?he.canLoad(_,f):m.runInContext(()=>he(_,f)))});return(0,Se.of)(k).pipe(T(),Ss())}(_,f,y).pipe((0,ht.z)(b=>b?this.configLoader.loadChildren(_,f).pipe((0,Ct.b)(k=>{f._loadedRoutes=k.routes,f._loadedInjector=k.injector})):function U(m){return(0,Tt._)(Yi(!1,3))}())):(0,Se.of)({routes:[],injector:_})}}function Xo(m){const _=m.value.routeConfig;return _&&""===_.path}function Li(m){const _=[],f=new Set;for(const y of m){if(!Xo(y)){_.push(y);continue}const b=_.find(k=>y.value.routeConfig===k.value.routeConfig);void 0!==b?(b.children.push(...y.children),f.add(b)):_.push(y)}for(const y of f){const b=Li(y.children);_.push(new ai(y.value,b))}return _.filter(y=>!f.has(y))}function $r(m){return m.data||{}}function ne(m){return m.resolve||{}}function xe(m){return"string"==typeof m.title||null===m.title}function nt(m){return(0,Dn.w)(_=>{const f=m(_);return f?(0,Ae.D)(f).pipe((0,Ke.U)(()=>_)):(0,Se.of)(_)})}const st=new d.OlP("ROUTES");let At=(()=>{class m{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,d.f3M)(d.Sil)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,Se.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const y=_r(f.loadComponent()).pipe((0,Ke.U)(dr),(0,Ct.b)(k=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=k}),(0,Xr.x)(()=>{this.componentLoaders.delete(f)})),b=new Qt.c(y,()=>new Rn.x).pipe((0,vn.x)());return this.componentLoaders.set(f,b),b}loadChildren(f,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,Se.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const k=function ir(m,_,f,y){return _r(m.loadChildren()).pipe((0,Ke.U)(dr),(0,ht.z)(b=>b instanceof d.YKP||Array.isArray(b)?(0,Se.of)(b):(0,Ae.D)(_.compileModuleAsync(b))),(0,Ke.U)(b=>{y&&y(m);let k,W,he=!1;return Array.isArray(b)?(W=b,!0):(k=b.create(f).injector,W=k.get(st,[],{optional:!0,self:!0}).flat()),{routes:W.map(xo),injector:k}}))}(y,this.compiler,f,this.onLoadEndListener).pipe((0,Xr.x)(()=>{this.childrenLoaders.delete(y)})),W=new Qt.c(k,()=>new Rn.x).pipe((0,vn.x)());return this.childrenLoaders.set(y,W),W}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function dr(m){return function yo(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let gi=(()=>{class m{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Rn.x,this.transitionAbortSubject=new Rn.x,this.configLoader=(0,d.f3M)(At),this.environmentInjector=(0,d.f3M)(d.lqb),this.urlSerializer=(0,d.f3M)(Un),this.rootContexts=(0,d.f3M)(ar),this.inputBindingEnabled=null!==(0,d.f3M)(po,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Se.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new Io(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new Wi(b))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:y})}setupNavigations(f,y,b){return this.transitions=new ze.X({id:0,currentUrlTree:y,currentRawUrl:y,currentBrowserUrl:y,extractedUrl:f.urlHandlingStrategy.extract(y),urlAfterRedirects:f.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:An,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ie.h)(k=>0!==k.id),(0,Ke.U)(k=>({...k,extractedUrl:f.urlHandlingStrategy.extract(k.rawUrl)})),(0,Dn.w)(k=>{this.currentTransition=k;let W=!1,he=!1;return(0,Se.of)(k).pipe((0,Ct.b)(ce=>{this.currentNavigation={id:ce.id,initialUrl:ce.rawUrl,extractedUrl:ce.extractedUrl,trigger:ce.source,extras:ce.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Dn.w)(ce=>{const He=ce.currentBrowserUrl.toString(),en=!f.navigated||ce.extractedUrl.toString()!==He||He!==ce.currentUrlTree.toString();if(!en&&"reload"!==(ce.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const gn="";return this.events.next(new Hr(ce.id,this.urlSerializer.serialize(ce.rawUrl),gn,0)),ce.resolve(null),rt.E}if(f.urlHandlingStrategy.shouldProcessUrl(ce.rawUrl))return(0,Se.of)(ce).pipe((0,Dn.w)(gn=>{const Vo=this.transitions?.getValue();return this.events.next(new Vt(gn.id,this.urlSerializer.serialize(gn.extractedUrl),gn.source,gn.restoredState)),Vo!==this.transitions?.getValue()?rt.E:Promise.resolve(gn)}),function ve(m,_,f,y,b,k){return(0,ht.z)(W=>function vr(m,_,f,y,b,k,W="emptyOnly"){return new Kr(m,_,f,y,b,W,k).recognize()}(m,_,f,y,W.extractedUrl,b,k).pipe((0,Ke.U)(({state:he,tree:ce})=>({...W,targetSnapshot:he,urlAfterRedirects:ce}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,Ct.b)(gn=>{k.targetSnapshot=gn.targetSnapshot,k.urlAfterRedirects=gn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:gn.urlAfterRedirects};const Vo=new $n(gn.id,this.urlSerializer.serialize(gn.extractedUrl),this.urlSerializer.serialize(gn.urlAfterRedirects),gn.targetSnapshot);this.events.next(Vo)}));if(en&&f.urlHandlingStrategy.shouldProcessUrl(ce.currentRawUrl)){const{id:gn,extractedUrl:Vo,source:Do,restoredState:Is,extras:du}=ce,mi=new Vt(gn,this.urlSerializer.serialize(Vo),Do,Is);this.events.next(mi);const fu=as(0,this.rootComponentType).snapshot;return this.currentTransition=k={...ce,targetSnapshot:fu,urlAfterRedirects:Vo,extras:{...du,skipLocationChange:!1,replaceUrl:!1}},(0,Se.of)(k)}{const gn="";return this.events.next(new Hr(ce.id,this.urlSerializer.serialize(ce.extractedUrl),gn,1)),ce.resolve(null),rt.E}}),(0,Ct.b)(ce=>{const He=new qr(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(He)}),(0,Ke.U)(ce=>(this.currentTransition=k={...ce,guards:Yr(ce.targetSnapshot,ce.currentSnapshot,this.rootContexts)},k)),function E(m,_){return(0,ht.z)(f=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:k,canDeactivateChecks:W}}=f;return 0===W.length&&0===k.length?(0,Se.of)({...f,guardsResult:!0}):function V(m,_,f,y){return(0,Ae.D)(m).pipe((0,ht.z)(b=>function ri(m,_,f,y,b){const k=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Se.of)(!0);const W=k.map(he=>{const ce=Ln(_)??b,He=Ur(he,ce);return _r(function Ko(m){return m&&cr(m.canDeactivate)}(He)?He.canDeactivate(m,_,f,y):ce.runInContext(()=>He(m,_,f,y))).pipe((0,Le.P)())});return(0,Se.of)(W).pipe(T())}(b.component,b.route,f,_,y)),(0,Le.P)(b=>!0!==b,!0))}(W,y,b,m).pipe((0,ht.z)(he=>he&&function Lo(m){return"boolean"==typeof m}(he)?function Y(m,_,f,y){return(0,Ae.D)(_).pipe((0,Fe.b)(b=>(0,Nt.z)(function Ht(m,_){return null!==m&&_&&_(new gr(m)),(0,Se.of)(!0)}(b.route.parent,y),function ot(m,_){return null!==m&&_&&_(new br(m)),(0,Se.of)(!0)}(b.route,y),function Qo(m,_,f){const y=_[_.length-1],k=_.slice(0,_.length-1).reverse().map(W=>function ni(m){const _=m.routeConfig?m.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:m,guards:_}:null}(W)).filter(W=>null!==W).map(W=>(0,Kn.P)(()=>{const he=W.guards.map(ce=>{const He=Ln(W.node)??f,en=Ur(ce,He);return _r(function Si(m){return m&&cr(m.canActivateChild)}(en)?en.canActivateChild(y,m):He.runInContext(()=>en(y,m))).pipe((0,Le.P)())});return(0,Se.of)(he).pipe(T())}));return(0,Se.of)(k).pipe(T())}(m,b.path,f),function Fi(m,_,f){const y=_.routeConfig?_.routeConfig.canActivate:null;if(!y||0===y.length)return(0,Se.of)(!0);const b=y.map(k=>(0,Kn.P)(()=>{const W=Ln(_)??f,he=Ur(k,W);return _r(function hs(m){return m&&cr(m.canActivate)}(he)?he.canActivate(_,m):W.runInContext(()=>he(_,m))).pipe((0,Le.P)())}));return(0,Se.of)(b).pipe(T())}(m,b.route,f))),(0,Le.P)(b=>!0!==b,!0))}(y,k,m,_):(0,Se.of)(he)),(0,Ke.U)(he=>({...f,guardsResult:he})))})}(this.environmentInjector,ce=>this.events.next(ce)),(0,Ct.b)(ce=>{if(k.guardsResult=ce.guardsResult,ye(ce.guardsResult))throw Fr(0,ce.guardsResult);const He=new Mr(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot,!!ce.guardsResult);this.events.next(He)}),(0,ie.h)(ce=>!!ce.guardsResult||(this.cancelNavigationTransition(ce,"",3),!1)),nt(ce=>{if(ce.guards.canActivateChecks.length)return(0,Se.of)(ce).pipe((0,Ct.b)(He=>{const en=new hi(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot);this.events.next(en)}),(0,Dn.w)(He=>{let en=!1;return(0,Se.of)(He).pipe(function ge(m,_){return(0,ht.z)(f=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=f;if(!b.length)return(0,Se.of)(f);let k=0;return(0,Ae.D)(b).pipe((0,Fe.b)(W=>function $e(m,_,f,y){const b=m.routeConfig,k=m._resolve;return void 0!==b?.title&&!xe(b)&&(k[kr]=b.title),function bt(m,_,f,y){const b=function pn(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===b.length)return(0,Se.of)({});const k={};return(0,Ae.D)(b).pipe((0,ht.z)(W=>function Ir(m,_,f,y){const b=Ln(_)??y,k=Ur(m,b);return _r(k.resolve?k.resolve(_,f):b.runInContext(()=>k(_,f)))}(m[W],_,f,y).pipe((0,Le.P)(),(0,Ct.b)(he=>{k[W]=he}))),(0,Ar.h)(1),(0,Or.h)(k),(0,it.K)(W=>ls(W)?rt.E:(0,Tt._)(W)))}(k,m,_,y).pipe((0,Ke.U)(W=>(m._resolvedData=W,m.data=Ro(m,f).resolve,b&&xe(b)&&(m.data[kr]=b.title),null)))}(W.route,y,m,_)),(0,Ct.b)(()=>k++),(0,Ar.h)(1),(0,ht.z)(W=>k===b.length?(0,Se.of)(f):rt.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,Ct.b)({next:()=>en=!0,complete:()=>{en||this.cancelNavigationTransition(He,"",2)}}))}),(0,Ct.b)(He=>{const en=new si(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot);this.events.next(en)}))}),nt(ce=>{const He=en=>{const yr=[];en.routeConfig?.loadComponent&&!en.routeConfig._loadedComponent&&yr.push(this.configLoader.loadComponent(en.routeConfig).pipe((0,Ct.b)(gn=>{en.component=gn}),(0,Ke.U)(()=>{})));for(const gn of en.children)yr.push(...He(gn));return yr};return(0,Qe.a)(He(ce.targetSnapshot.root)).pipe((0,sn.d)(),(0,Sn.q)(1))}),nt(()=>this.afterPreactivation()),(0,Ke.U)(ce=>{const He=function Be(m,_,f){const y=yt(m,_._root,f?f._root:void 0);return new fo(y,_)}(f.routeReuseStrategy,ce.targetSnapshot,ce.currentRouterState);return this.currentTransition=k={...ce,targetRouterState:He},k}),(0,Ct.b)(()=>{this.events.next(new Wo)}),((m,_,f,y)=>(0,Ke.U)(b=>(new Bs(_,b.targetRouterState,b.currentRouterState,f,y).activate(m),b)))(this.rootContexts,f.routeReuseStrategy,ce=>this.events.next(ce),this.inputBindingEnabled),(0,Sn.q)(1),(0,Ct.b)({next:ce=>{W=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bt(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects))),f.titleStrategy?.updateTitle(ce.targetRouterState.snapshot),ce.resolve(!0)},complete:()=>{W=!0}}),(0,Lr.R)(this.transitionAbortSubject.pipe((0,Ct.b)(ce=>{throw ce}))),(0,Xr.x)(()=>{W||he||this.cancelNavigationTransition(k,"",1),this.currentNavigation?.id===k.id&&(this.currentNavigation=null)}),(0,it.K)(ce=>{if(he=!0,lr(ce))this.events.next(new tr(k.id,this.urlSerializer.serialize(k.extractedUrl),ce.message,ce.cancellationCode)),function Gn(m){return lr(m)&&ye(m.url)}(ce)?this.events.next(new wi(ce.url)):k.resolve(!1);else{this.events.next(new jn(k.id,this.urlSerializer.serialize(k.extractedUrl),ce,k.targetSnapshot??void 0));try{k.resolve(f.errorHandler(ce))}catch(He){k.reject(He)}}return rt.E}))}))}cancelNavigationTransition(f,y,b){const k=new tr(f.id,this.urlSerializer.serialize(f.extractedUrl),y,b);this.events.next(k),f.resolve(!1)}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function p(m){return m!==An}let A=(()=>{class m{buildTitle(f){let y,b=f.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(k=>k.outlet===Je);return y}getResolvedTitleForRoute(f){return f.data[kr]}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:function(){return(0,d.f3M)(C)},providedIn:"root"})}}return m})(),C=(()=>{class m extends A{constructor(f){super(),this.title=f}updateTitle(f){const y=this.buildTitle(f);void 0!==y&&this.title.setTitle(y)}static{this.\u0275fac=function(y){return new(y||m)(d.LFG(yi.Dx))}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),I=(()=>{class m{static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:function(){return(0,d.f3M)(le)},providedIn:"root"})}}return m})();class G{shouldDetach(_){return!1}store(_,f){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,f){return _.routeConfig===f.routeConfig}}let le=(()=>{class m extends G{static{this.\u0275fac=function(){let f;return function(b){return(f||(f=d.n5z(m)))(b||m)}}()}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();const _e=new d.OlP("",{providedIn:"root",factory:()=>({})});let Ye=(()=>{class m{static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:function(){return(0,d.f3M)(bn)},providedIn:"root"})}}return m})(),bn=(()=>{class m{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,y){return f}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();var nn=function(m){return m[m.COMPLETE=0]="COMPLETE",m[m.FAILED=1]="FAILED",m[m.REDIRECTING=2]="REDIRECTING",m}(nn||{});function dn(m,_){m.events.pipe((0,ie.h)(f=>f instanceof Bt||f instanceof tr||f instanceof jn||f instanceof Hr),(0,Ke.U)(f=>f instanceof Bt||f instanceof Hr?nn.COMPLETE:f instanceof tr&&(0===f.code||1===f.code)?nn.REDIRECTING:nn.FAILED),(0,ie.h)(f=>f!==nn.REDIRECTING),(0,Sn.q)(1)).subscribe(()=>{_()})}function Wt(m){throw m}function Xn(m,_,f){return _.parse("/")}const Wn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let or=(()=>{class m{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,d.f3M)(d.c2e),this.isNgZoneEnabled=!1,this._events=new Rn.x,this.options=(0,d.f3M)(_e,{optional:!0})||{},this.pendingTasks=(0,d.f3M)(d.HDt),this.errorHandler=this.options.errorHandler||Wt,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Xn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,d.f3M)(Ye),this.routeReuseStrategy=(0,d.f3M)(I),this.titleStrategy=(0,d.f3M)(A),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,d.f3M)(st,{optional:!0})?.flat()??[],this.navigationTransitions=(0,d.f3M)(gi),this.urlSerializer=(0,d.f3M)(Un),this.location=(0,d.f3M)(Ve.Ye),this.componentInputBindingEnabled=!!(0,d.f3M)(po,{optional:!0}),this.eventsSubscription=new Vn.w0,this.isNgZoneEnabled=(0,d.f3M)(d.R0b)instanceof d.R0b&&d.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new In,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=as(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const f=this.navigationTransitions.events.subscribe(y=>{try{const{currentTransition:b}=this.navigationTransitions;if(null===b)return void(io(y)&&this._events.next(y));if(y instanceof Vt)p(b.source)&&(this.browserUrlTree=b.extractedUrl);else if(y instanceof Hr)this.rawUrlTree=b.rawUrl;else if(y instanceof $n){if("eager"===this.urlUpdateStrategy){if(!b.extras.skipLocationChange){const k=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl);this.setBrowserUrl(k,b)}this.browserUrlTree=b.urlAfterRedirects}}else if(y instanceof Wo)this.currentUrlTree=b.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl),this.routerState=b.targetRouterState,"deferred"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,b),this.browserUrlTree=b.urlAfterRedirects);else if(y instanceof tr)0!==y.code&&1!==y.code&&(this.navigated=!0),(3===y.code||2===y.code)&&this.restoreHistory(b);else if(y instanceof wi){const k=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),W={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||p(b.source)};this.scheduleNavigation(k,An,null,W,{resolve:b.resolve,reject:b.reject,promise:b.promise})}y instanceof jn&&this.restoreHistory(b,!0),y instanceof Bt&&(this.navigated=!0),io(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(f)}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),An,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const y="popstate"===f.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,y,f.state)},0)}))}navigateToSyncWithBrowser(f,y,b){const k={replaceUrl:!0},W=b?.navigationId?b:null;if(b){const ce={...b};delete ce.navigationId,delete ce.\u0275routerPageId,0!==Object.keys(ce).length&&(k.state=ce)}const he=this.parseUrl(f);this.scheduleNavigation(he,y,W,k)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(xo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(f,y={}){const{relativeTo:b,queryParams:k,fragment:W,queryParamsHandling:he,preserveFragment:ce}=y,He=ce?this.currentUrlTree.fragment:W;let yr,en=null;switch(he){case"merge":en={...this.currentUrlTree.queryParams,...k};break;case"preserve":en=this.currentUrlTree.queryParams;break;default:en=k||null}null!==en&&(en=this.removeEmptyProps(en));try{yr=tt(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),yr=this.currentUrlTree.root}return pt(yr,f,en,He??null)}navigateByUrl(f,y={skipLocationChange:!1}){const b=ye(f)?f:this.parseUrl(f),k=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(k,An,null,y)}navigate(f,y={skipLocationChange:!1}){return function ro(m){for(let _=0;_<m.length;_++)if(null==m[_])throw new d.vHH(4008,!1)}(f),this.navigateByUrl(this.createUrlTree(f,y),y)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let y;try{y=this.urlSerializer.parse(f)}catch(b){y=this.malformedUriErrorHandler(b,this.urlSerializer,f)}return y}isActive(f,y){let b;if(b=!0===y?{...Wn}:!1===y?{...Gr}:y,ye(f))return Zn(this.currentUrlTree,f,b);const k=this.parseUrl(f);return Zn(this.currentUrlTree,k,b)}removeEmptyProps(f){return Object.keys(f).reduce((y,b)=>{const k=f[b];return null!=k&&(y[b]=k),y},{})}scheduleNavigation(f,y,b,k,W){if(this.disposed)return Promise.resolve(!1);let he,ce,He;W?(he=W.resolve,ce=W.reject,He=W.promise):He=new Promise((yr,gn)=>{he=yr,ce=gn});const en=this.pendingTasks.add();return dn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(en))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:f,extras:k,resolve:he,reject:ce,promise:He,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),He.catch(yr=>Promise.reject(yr))}setBrowserUrl(f,y){const b=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const W={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",W)}else{const k={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",k)}}restoreHistory(f,y=!1){if("computed"===this.canceledNavigationResolution){const k=this.currentPageId-this.browserPageId;0!==k?this.location.historyGo(k):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===k&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,y){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:y}:{navigationId:f}}static{this.\u0275fac=function(y){return new(y||m)}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function io(m){return!(m instanceof Wo||m instanceof wi)}class Jo{}let Hs=(()=>{class m{constructor(f,y,b,k,W){this.router=f,this.injector=b,this.preloadingStrategy=k,this.loader=W}setUpPreloading(){this.subscription=this.router.events.pipe((0,ie.h)(f=>f instanceof Bt),(0,Fe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,y){const b=[];for(const k of y){k.providers&&!k._injector&&(k._injector=(0,d.MMx)(k.providers,f,`Route: ${k.path}`));const W=k._injector??f,he=k._loadedInjector??W;(k.loadChildren&&!k._loadedRoutes&&void 0===k.canLoad||k.loadComponent&&!k._loadedComponent)&&b.push(this.preloadConfig(W,k)),(k.children||k._loadedRoutes)&&b.push(this.processRoutes(he,k.children??k._loadedRoutes))}return(0,Ae.D)(b).pipe((0,oi.J)())}preloadConfig(f,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(f,y):(0,Se.of)(null);const k=b.pipe((0,ht.z)(W=>null===W?(0,Se.of)(void 0):(y._loadedRoutes=W.routes,y._loadedInjector=W.injector,this.processRoutes(W.injector??f,W.routes))));if(y.loadComponent&&!y._loadedComponent){const W=this.loader.loadComponent(y);return(0,Ae.D)([k,W]).pipe((0,oi.J)())}return k})}static{this.\u0275fac=function(y){return new(y||m)(d.LFG(or),d.LFG(d.Sil),d.LFG(d.lqb),d.LFG(Jo),d.LFG(At))}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();const ps=new d.OlP("");let ki=(()=>{class m{constructor(f,y,b,k,W={}){this.urlSerializer=f,this.transitions=y,this.viewportScroller=b,this.zone=k,this.options=W,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},W.scrollPositionRestoration=W.scrollPositionRestoration||"disabled",W.anchorScrolling=W.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Vt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Bt?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof Hr&&0===f.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Ci&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,y){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ci(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(y){d.$Z()}}static{this.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac})}}return m})();function Xi(m,_){return{\u0275kind:m,\u0275providers:_}}function es(){const m=(0,d.f3M)(d.zs3);return _=>{const f=m.get(d.z2F);if(_!==f.components[0])return;const y=m.get(or),b=m.get(lu);1===m.get(aa)&&y.initialNavigation(),m.get($s,null,d.XFs.Optional)?.setUpPreloading(),m.get(ps,null,d.XFs.Optional)?.init(),y.resetRootComponentType(f.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const lu=new d.OlP("",{factory:()=>new Rn.x}),aa=new d.OlP("",{providedIn:"root",factory:()=>1}),$s=new d.OlP("");function St(m){return Xi(0,[{provide:$s,useExisting:Hs},{provide:Jo,useExisting:m}])}const cu=new d.OlP("ROUTER_FORROOT_GUARD"),Gs=[Ve.Ye,{provide:Un,useClass:Rr},or,ar,{provide:pi,useFactory:function uu(m){return m.routerState.root},deps:[or]},At,[]];function Na(){return new d.PXZ("Router",or)}let ua=(()=>{class m{constructor(f){}static forRoot(f,y){return{ngModule:m,providers:[Gs,[],{provide:st,multi:!0,useValue:f},{provide:cu,useFactory:Me,deps:[[or,new d.FiY,new d.tp0]]},{provide:_e,useValue:y||{}},y?.useHash?{provide:Ve.S$,useClass:Ve.Do}:{provide:Ve.S$,useClass:Ve.b0},{provide:ps,useFactory:()=>{const m=(0,d.f3M)(Ve.EM),_=(0,d.f3M)(d.R0b),f=(0,d.f3M)(_e),y=(0,d.f3M)(gi),b=(0,d.f3M)(Un);return f.scrollOffset&&m.setOffset(f.scrollOffset),new ki(b,y,m,_,f)}},y?.preloadingStrategy?St(y.preloadingStrategy).\u0275providers:[],{provide:d.PXZ,multi:!0,useFactory:Na},y?.initialNavigation?Ut(y):[],y?.bindToComponentInputs?Xi(8,[xn,{provide:po,useExisting:xn}]).\u0275providers:[],[{provide:on,useFactory:es},{provide:d.tb,multi:!0,useExisting:on}]]}}static forChild(f){return{ngModule:m,providers:[{provide:st,multi:!0,useValue:f}]}}static{this.\u0275fac=function(y){return new(y||m)(d.LFG(cu,8))}}static{this.\u0275mod=d.oAB({type:m})}static{this.\u0275inj=d.cJS({})}}return m})();function Me(m){return"guarded"}function Ut(m){return["disabled"===m.initialNavigation?Xi(3,[{provide:d.ip1,multi:!0,useFactory:()=>{const _=(0,d.f3M)(or);return()=>{_.setUpLocationChangeListener()}}},{provide:aa,useValue:2}]).\u0275providers:[],"enabledBlocking"===m.initialNavigation?Xi(2,[{provide:aa,useValue:0},{provide:d.ip1,multi:!0,deps:[d.zs3],useFactory:_=>{const f=_.get(Ve.V_,Promise.resolve());return()=>f.then(()=>new Promise(y=>{const b=_.get(or),k=_.get(lu);dn(b,()=>{y(!0)}),_.get(gi).afterPreactivation=()=>(y(!0),k.closed?(0,Se.of)(void 0):k),b.initialNavigation()}))}}]).\u0275providers:[]]}const on=new d.OlP("")},5861:(Nn,mt,fe)=>{"use strict";function d(Ae,Se,ze,Qe,et,Nt,Kn){try{var Xe=Ae[Nt](Kn),Tt=Xe.value}catch(rt){return void ze(rt)}Xe.done?Se(Tt):Promise.resolve(Tt).then(Qe,et)}function H(Ae){return function(){var Se=this,ze=arguments;return new Promise(function(Qe,et){var Nt=Ae.apply(Se,ze);function Kn(Tt){d(Nt,Qe,et,Kn,Xe,"next",Tt)}function Xe(Tt){d(Nt,Qe,et,Kn,Xe,"throw",Tt)}Kn(void 0)})}}fe.d(mt,{Z:()=>H})},1002:(Nn,mt,fe)=>{"use strict";function d(H){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ae){return typeof Ae}:function(Ae){return Ae&&"function"==typeof Symbol&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae})(H)}fe.d(mt,{Z:()=>d})}}]);
Back to Directory File Manager