All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.main.ce8fab773e7158c7.js Maven / Gradle / Ivy

"use strict";(self.webpackChunkflink=self.webpackChunkflink||[]).push([[179],{98809:(ot,pe,h)=>{h.d(pe,{T6:()=>G,VD:()=>de,WE:()=>R,Yt:()=>Te,lC:()=>T,py:()=>p,rW:()=>s,s:()=>P,ve:()=>q,vq:()=>w});var a=h(42567);function s($,Me,j){return{r:255*(0,a.sh)($,255),g:255*(0,a.sh)(Me,255),b:255*(0,a.sh)(j,255)}}function T($,Me,j){$=(0,a.sh)($,255),Me=(0,a.sh)(Me,255),j=(0,a.sh)(j,255);var De=Math.max($,Me,j),xe=Math.min($,Me,j),Fe=0,be=0,B=(De+xe)/2;if(De===xe)be=0,Fe=0;else{var re=De-xe;switch(be=B>.5?re/(2-De-xe):re/(De+xe),De){case $:Fe=(Me-j)/re+(Me1&&(j-=1),j<1/6?$+6*j*(Me-$):j<.5?Me:j<2/3?$+(Me-$)*(2/3-j)*6:$}function q($,Me,j){var De,xe,Fe;if($=(0,a.sh)($,360),Me=(0,a.sh)(Me,100),j=(0,a.sh)(j,100),0===Me)xe=j,Fe=j,De=j;else{var be=j<.5?j*(1+Me):j+Me-j*Me,B=2*j-be;De=Y(B,be,$+1/3),xe=Y(B,be,$),Fe=Y(B,be,$-1/3)}return{r:255*De,g:255*xe,b:255*Fe}}function p($,Me,j){$=(0,a.sh)($,255),Me=(0,a.sh)(Me,255),j=(0,a.sh)(j,255);var De=Math.max($,Me,j),xe=Math.min($,Me,j),Fe=0,be=De,B=De-xe,re=0===De?0:B/De;if(De===xe)Fe=0;else{switch(De){case $:Fe=(Me-j)/B+(Me>16,g:(65280&$)>>8,b:255&$}}},3487:(ot,pe,h)=>{h.d(pe,{R:()=>a});var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},47952:(ot,pe,h)=>{h.d(pe,{uA:()=>Y});var a=h(98809),s=h(3487),T=h(42567);function Y(de){var Te={r:0,g:0,b:0},$=1,Me=null,j=null,De=null,xe=!1,Fe=!1;return"string"==typeof de&&(de=function U(de){if(0===(de=de.trim().toLowerCase()).length)return!1;var Te=!1;if(s.R[de])de=s.R[de],Te=!0;else if("transparent"===de)return{r:0,g:0,b:0,a:0,format:"name"};var $=A.rgb.exec(de);return $?{r:$[1],g:$[2],b:$[3]}:($=A.rgba.exec(de))?{r:$[1],g:$[2],b:$[3],a:$[4]}:($=A.hsl.exec(de))?{h:$[1],s:$[2],l:$[3]}:($=A.hsla.exec(de))?{h:$[1],s:$[2],l:$[3],a:$[4]}:($=A.hsv.exec(de))?{h:$[1],s:$[2],v:$[3]}:($=A.hsva.exec(de))?{h:$[1],s:$[2],v:$[3],a:$[4]}:($=A.hex8.exec(de))?{r:(0,a.VD)($[1]),g:(0,a.VD)($[2]),b:(0,a.VD)($[3]),a:(0,a.T6)($[4]),format:Te?"name":"hex8"}:($=A.hex6.exec(de))?{r:(0,a.VD)($[1]),g:(0,a.VD)($[2]),b:(0,a.VD)($[3]),format:Te?"name":"hex"}:($=A.hex4.exec(de))?{r:(0,a.VD)($[1]+$[1]),g:(0,a.VD)($[2]+$[2]),b:(0,a.VD)($[3]+$[3]),a:(0,a.T6)($[4]+$[4]),format:Te?"name":"hex8"}:!!($=A.hex3.exec(de))&&{r:(0,a.VD)($[1]+$[1]),g:(0,a.VD)($[2]+$[2]),b:(0,a.VD)($[3]+$[3]),format:Te?"name":"hex"}}(de)),"object"==typeof de&&(G(de.r)&&G(de.g)&&G(de.b)?(Te=(0,a.rW)(de.r,de.g,de.b),xe=!0,Fe="%"===String(de.r).substr(-1)?"prgb":"rgb"):G(de.h)&&G(de.s)&&G(de.v)?(Me=(0,T.JX)(de.s),j=(0,T.JX)(de.v),Te=(0,a.WE)(de.h,Me,j),xe=!0,Fe="hsv"):G(de.h)&&G(de.s)&&G(de.l)&&(Me=(0,T.JX)(de.s),De=(0,T.JX)(de.l),Te=(0,a.ve)(de.h,Me,De),xe=!0,Fe="hsl"),Object.prototype.hasOwnProperty.call(de,"a")&&($=de.a)),$=(0,T.Yq)($),{ok:xe,format:de.format||Fe,r:Math.min(255,Math.max(Te.r,0)),g:Math.min(255,Math.max(Te.g,0)),b:Math.min(255,Math.max(Te.b,0)),a:$}}var R="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),w="[\\s|\\(]+(".concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")\\s*\\)?"),P="[\\s|\\(]+(".concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")\\s*\\)?"),A={CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+w),rgba:new RegExp("rgba"+P),hsl:new RegExp("hsl"+w),hsla:new RegExp("hsla"+P),hsv:new RegExp("hsv"+w),hsva:new RegExp("hsva"+P),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function G(de){return Boolean(A.CSS_UNIT.exec(String(de)))}},45192:(ot,pe,h)=>{h.d(pe,{C:()=>q});var a=h(98809),s=h(3487),T=h(47952),Y=h(42567),q=function(){function R(w,P){var A;if(void 0===w&&(w=""),void 0===P&&(P={}),w instanceof R)return w;"number"==typeof w&&(w=(0,a.Yt)(w)),this.originalInput=w;var U=(0,T.uA)(w);this.originalInput=w,this.r=U.r,this.g=U.g,this.b=U.b,this.a=U.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(A=P.format)&&void 0!==A?A:U.format,this.gradientType=P.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=U.ok}return R.prototype.isDark=function(){return this.getBrightness()<128},R.prototype.isLight=function(){return!this.isDark()},R.prototype.getBrightness=function(){var w=this.toRgb();return(299*w.r+587*w.g+114*w.b)/1e3},R.prototype.getLuminance=function(){var w=this.toRgb(),G=w.r/255,de=w.g/255,Te=w.b/255;return.2126*(G<=.03928?G/12.92:Math.pow((G+.055)/1.055,2.4))+.7152*(de<=.03928?de/12.92:Math.pow((de+.055)/1.055,2.4))+.0722*(Te<=.03928?Te/12.92:Math.pow((Te+.055)/1.055,2.4))},R.prototype.getAlpha=function(){return this.a},R.prototype.setAlpha=function(w){return this.a=(0,Y.Yq)(w),this.roundA=Math.round(100*this.a)/100,this},R.prototype.toHsv=function(){var w=(0,a.py)(this.r,this.g,this.b);return{h:360*w.h,s:w.s,v:w.v,a:this.a}},R.prototype.toHsvString=function(){var w=(0,a.py)(this.r,this.g,this.b),P=Math.round(360*w.h),A=Math.round(100*w.s),U=Math.round(100*w.v);return 1===this.a?"hsv(".concat(P,", ").concat(A,"%, ").concat(U,"%)"):"hsva(".concat(P,", ").concat(A,"%, ").concat(U,"%, ").concat(this.roundA,")")},R.prototype.toHsl=function(){var w=(0,a.lC)(this.r,this.g,this.b);return{h:360*w.h,s:w.s,l:w.l,a:this.a}},R.prototype.toHslString=function(){var w=(0,a.lC)(this.r,this.g,this.b),P=Math.round(360*w.h),A=Math.round(100*w.s),U=Math.round(100*w.l);return 1===this.a?"hsl(".concat(P,", ").concat(A,"%, ").concat(U,"%)"):"hsla(".concat(P,", ").concat(A,"%, ").concat(U,"%, ").concat(this.roundA,")")},R.prototype.toHex=function(w){return void 0===w&&(w=!1),(0,a.vq)(this.r,this.g,this.b,w)},R.prototype.toHexString=function(w){return void 0===w&&(w=!1),"#"+this.toHex(w)},R.prototype.toHex8=function(w){return void 0===w&&(w=!1),(0,a.s)(this.r,this.g,this.b,this.a,w)},R.prototype.toHex8String=function(w){return void 0===w&&(w=!1),"#"+this.toHex8(w)},R.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},R.prototype.toRgbString=function(){var w=Math.round(this.r),P=Math.round(this.g),A=Math.round(this.b);return 1===this.a?"rgb(".concat(w,", ").concat(P,", ").concat(A,")"):"rgba(".concat(w,", ").concat(P,", ").concat(A,", ").concat(this.roundA,")")},R.prototype.toPercentageRgb=function(){var w=function(P){return"".concat(Math.round(100*(0,Y.sh)(P,255)),"%")};return{r:w(this.r),g:w(this.g),b:w(this.b),a:this.a}},R.prototype.toPercentageRgbString=function(){var w=function(P){return Math.round(100*(0,Y.sh)(P,255))};return 1===this.a?"rgb(".concat(w(this.r),"%, ").concat(w(this.g),"%, ").concat(w(this.b),"%)"):"rgba(".concat(w(this.r),"%, ").concat(w(this.g),"%, ").concat(w(this.b),"%, ").concat(this.roundA,")")},R.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var w="#"+(0,a.vq)(this.r,this.g,this.b,!1),P=0,A=Object.entries(s.R);P=0&&(w.startsWith("hex")||"name"===w)?"name"===w&&0===this.a?this.toName():this.toRgbString():("rgb"===w&&(A=this.toRgbString()),"prgb"===w&&(A=this.toPercentageRgbString()),("hex"===w||"hex6"===w)&&(A=this.toHexString()),"hex3"===w&&(A=this.toHexString(!0)),"hex4"===w&&(A=this.toHex8String(!0)),"hex8"===w&&(A=this.toHex8String()),"name"===w&&(A=this.toName()),"hsl"===w&&(A=this.toHslString()),"hsv"===w&&(A=this.toHsvString()),A||this.toHexString())},R.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},R.prototype.clone=function(){return new R(this.toString())},R.prototype.lighten=function(w){void 0===w&&(w=10);var P=this.toHsl();return P.l+=w/100,P.l=(0,Y.V2)(P.l),new R(P)},R.prototype.brighten=function(w){void 0===w&&(w=10);var P=this.toRgb();return P.r=Math.max(0,Math.min(255,P.r-Math.round(-w/100*255))),P.g=Math.max(0,Math.min(255,P.g-Math.round(-w/100*255))),P.b=Math.max(0,Math.min(255,P.b-Math.round(-w/100*255))),new R(P)},R.prototype.darken=function(w){void 0===w&&(w=10);var P=this.toHsl();return P.l-=w/100,P.l=(0,Y.V2)(P.l),new R(P)},R.prototype.tint=function(w){return void 0===w&&(w=10),this.mix("white",w)},R.prototype.shade=function(w){return void 0===w&&(w=10),this.mix("black",w)},R.prototype.desaturate=function(w){void 0===w&&(w=10);var P=this.toHsl();return P.s-=w/100,P.s=(0,Y.V2)(P.s),new R(P)},R.prototype.saturate=function(w){void 0===w&&(w=10);var P=this.toHsl();return P.s+=w/100,P.s=(0,Y.V2)(P.s),new R(P)},R.prototype.greyscale=function(){return this.desaturate(100)},R.prototype.spin=function(w){var P=this.toHsl(),A=(P.h+w)%360;return P.h=A<0?360+A:A,new R(P)},R.prototype.mix=function(w,P){void 0===P&&(P=50);var A=this.toRgb(),U=new R(w).toRgb(),G=P/100;return new R({r:(U.r-A.r)*G+A.r,g:(U.g-A.g)*G+A.g,b:(U.b-A.b)*G+A.b,a:(U.a-A.a)*G+A.a})},R.prototype.analogous=function(w,P){void 0===w&&(w=6),void 0===P&&(P=30);var A=this.toHsl(),U=360/P,G=[this];for(A.h=(A.h-(U*w>>1)+720)%360;--w;)A.h=(A.h+U)%360,G.push(new R(A));return G},R.prototype.complement=function(){var w=this.toHsl();return w.h=(w.h+180)%360,new R(w)},R.prototype.monochromatic=function(w){void 0===w&&(w=6);for(var P=this.toHsv(),A=P.h,U=P.s,G=P.v,de=[],Te=1/w;w--;)de.push(new R({h:A,s:U,v:G})),G=(G+Te)%1;return de},R.prototype.splitcomplement=function(){var w=this.toHsl(),P=w.h;return[this,new R({h:(P+72)%360,s:w.s,l:w.l}),new R({h:(P+216)%360,s:w.s,l:w.l})]},R.prototype.onBackground=function(w){var P=this.toRgb(),A=new R(w).toRgb();return new R({r:A.r+(P.r-A.r)*P.a,g:A.g+(P.g-A.g)*P.a,b:A.b+(P.b-A.b)*P.a})},R.prototype.triad=function(){return this.polyad(3)},R.prototype.tetrad=function(){return this.polyad(4)},R.prototype.polyad=function(w){for(var P=this.toHsl(),A=P.h,U=[this],G=360/w,de=1;de{function a(w,P){(function T(w){return"string"==typeof w&&-1!==w.indexOf(".")&&1===parseFloat(w)})(w)&&(w="100%");var A=function Y(w){return"string"==typeof w&&-1!==w.indexOf("%")}(w);return w=360===P?w:Math.min(P,Math.max(0,parseFloat(w))),A&&(w=parseInt(String(w*P),10)/100),Math.abs(w-P)<1e-6?1:w=360===P?(w<0?w%P+P:w%P)/parseFloat(String(P)):w%P/parseFloat(String(P))}function s(w){return Math.min(1,Math.max(0,w))}function q(w){return w=parseFloat(w),(isNaN(w)||w<0||w>1)&&(w=1),w}function p(w){return w<=1?"".concat(100*Number(w),"%"):w}function R(w){return 1===w.length?"0"+w:String(w)}h.d(pe,{FZ:()=>R,JX:()=>p,V2:()=>s,Yq:()=>q,sh:()=>a})},70946:(ot,pe,h)=>{h.d(pe,{E:()=>s});var a=h(94650);let s=(()=>{class T{constructor(){this.BASE_URL=".",this.COLOR_MAP={TOTAL:"#112641",RUNNING:"#52c41a",FAILED:"#f5222d",FINISHED:"#1890ff",CANCELED:"#fa8c16",CANCELING:"#faad14",CREATED:"#2f54eb",DEPLOYING:"#13c2c2",RECONCILING:"#eb2f96",IN_PROGRESS:"#faad14",SCHEDULED:"#722ed1",COMPLETED:"#1890ff",RESTARTING:"#13c2c2",INITIALIZING:"#738df8"},this.LONG_MIN_VALUE=-0x8000000000000000}}return T.\u0275fac=function(q){return new(q||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},22679:(ot,pe,h)=>{h.d(pe,{B:()=>De});var a=h(19132),s=h(77579),T=h(54968),Y=h(17445),q=h(56451),p=h(60515),R=h(54004),w=h(18505),P=h(39300),A=h(69718),U=h(68675),G=h(78372),de=h(63900),Te=h(13099),$=h(94650),Me=h(80529),j=h(70946);let De=(()=>{class xe{constructor(be,B){this.httpClient=be,this.configService=B,this.listOfErrorMessage=[],this.forceRefresh$=new s.x,this.visibility$=(0,T.R)(window,"visibilitychange").pipe((0,R.U)(re=>!re.target.hidden))}forceRefresh(){this.forceRefresh$.next(!0)}boot(be){return this.httpClient.get(`${this.configService.BASE_URL}/config`).pipe((0,w.b)(B=>{this.configuration=B;const re=be.events.pipe((0,P.h)(se=>se instanceof a.m2),(0,A.h)(!0)),_e=(0,Y.F)(this.configuration["refresh-interval"]).pipe((0,A.h)(!0),(0,U.O)(!0));this.refresh$=(0,q.T)(this.visibility$,this.forceRefresh$,re).pipe((0,U.O)(!0),(0,G.b)(300),(0,de.w)(se=>se?_e:p.E),(0,Te.B)())})).toPromise()}}return xe.\u0275fac=function(be){return new(be||xe)($.LFG(Me.eN),$.LFG(j.E))},xe.\u0275prov=$.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})()},82526:(ot,pe,h)=>{var a=h(36895),s=h(80529);const T=void 0,q=["en",[["a","p"],["AM","PM"],T],[["AM","PM"],T,T],[["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"]],T,[["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"]],T,[["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}",T,"{1} 'at' {0}",T],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Y(z){const d=Math.floor(Math.abs(z)),y=z.toString().replace(/^[^.]*\.?/,"").length;return 1===d&&0===y?1:5}];var p=h(94650),R=h(11481),w=h(37340);function A(z){return new p.vHH(3e3,!1)}function Pt(){return typeof window<"u"&&typeof window.document<"u"}function qe(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ct(z){switch(z.length){case 0:return new w.ZN;case 1:return z[0];default:return new w.ZE(z)}}function Bt(z,c,d,y,x=new Map,W=new Map){const ye=[],ve=[];let Be=-1,Xe=null;if(y.forEach(Mt=>{const Tt=Mt.get("offset"),$t=Tt==Be,tn=$t&&Xe||new Map;Mt.forEach((Gt,Ut)=>{let zn=Ut,Dn=Gt;if("offset"!==Ut)switch(zn=c.normalizePropertyName(zn,ye),Dn){case w.k1:Dn=x.get(Ut);break;case w.l3:Dn=W.get(Ut);break;default:Dn=c.normalizeStyleValue(Ut,zn,Dn,ye)}tn.set(zn,Dn)}),$t||ve.push(tn),Xe=tn,Be=Tt}),ye.length)throw function Ge(z){return new p.vHH(3502,!1)}();return ve}function fn(z,c,d,y){switch(c){case"start":z.onStart(()=>y(d&&bt(d,"start",z)));break;case"done":z.onDone(()=>y(d&&bt(d,"done",z)));break;case"destroy":z.onDestroy(()=>y(d&&bt(d,"destroy",z)))}}function bt(z,c,d){const W=on(z.element,z.triggerName,z.fromState,z.toState,c||z.phaseName,d.totalTime??z.totalTime,!!d.disabled),ye=z._data;return null!=ye&&(W._data=ye),W}function on(z,c,d,y,x="",W=0,ye){return{element:z,triggerName:c,fromState:d,toState:y,phaseName:x,totalTime:W,disabled:!!ye}}function ft(z,c,d){let y=z.get(c);return y||z.set(c,y=d),y}function gn(z){const c=z.indexOf(":");return[z.substring(1,c),z.slice(c+1)]}let Qe=(z,c)=>!1,N=(z,c,d)=>[],V=null;function J(z){const c=z.parentNode||z.host;return c===V?null:c}(qe()||typeof Element<"u")&&(Pt()?(V=(()=>document.documentElement)(),Qe=(z,c)=>{for(;c;){if(c===z)return!0;c=J(c)}return!1}):Qe=(z,c)=>z.contains(c),N=(z,c,d)=>{if(d)return Array.from(z.querySelectorAll(c));const y=z.querySelector(c);return y?[y]:[]});let O=null,k=!1;const rt=Qe,xt=N;let kt=(()=>{class z{validateStyleProperty(d){return function ge(z){O||(O=function He(){return typeof document<"u"?document.body:null}()||{},k=!!O.style&&"WebkitAppearance"in O.style);let c=!0;return O.style&&!function I(z){return"ebkit"==z.substring(1,6)}(z)&&(c=z in O.style,!c&&k&&(c="Webkit"+z.charAt(0).toUpperCase()+z.slice(1)in O.style)),c}(d)}matchesElement(d,y){return!1}containsElement(d,y){return rt(d,y)}getParentElement(d){return J(d)}query(d,y,x){return xt(d,y,x)}computeStyle(d,y,x){return x||""}animate(d,y,x,W,ye,ve=[],Be){return new w.ZN(x,W)}}return z.\u0275fac=function(d){return new(d||z)},z.\u0275prov=p.Yz7({token:z,factory:z.\u0275fac}),z})(),Ve=(()=>{class z{}return z.NOOP=new kt,z})();const ue="ng-enter",Ne="ng-leave",ie="ng-trigger",ae=".ng-trigger",X="ng-animating",we=".ng-animating";function Ae(z){if("number"==typeof z)return z;const c=z.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:et(parseFloat(c[1]),c[2])}function et(z,c){return"s"===c?1e3*z:z}function ut(z,c,d){return z.hasOwnProperty("duration")?z:function Yt(z,c,d){let x,W=0,ye="";if("string"==typeof z){const ve=z.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ve)return c.push(A()),{duration:0,delay:0,easing:""};x=et(parseFloat(ve[1]),ve[2]);const Be=ve[3];null!=Be&&(W=et(parseFloat(Be),ve[4]));const Xe=ve[5];Xe&&(ye=Xe)}else x=z;if(!d){let ve=!1,Be=c.length;x<0&&(c.push(function U(){return new p.vHH(3100,!1)}()),ve=!0),W<0&&(c.push(function G(){return new p.vHH(3101,!1)}()),ve=!0),ve&&c.splice(Be,0,A())}return{duration:x,delay:W,easing:ye}}(z,c,d)}function Zt(z,c={}){return Object.keys(z).forEach(d=>{c[d]=z[d]}),c}function Ht(z){const c=new Map;return Object.keys(z).forEach(d=>{c.set(d,z[d])}),c}function Et(z,c=new Map,d){if(d)for(let[y,x]of d)c.set(y,x);for(let[y,x]of z)c.set(y,x);return c}function ke(z,c,d){return d?c+":"+d+";":""}function ct(z){let c="";for(let d=0;d{const W=vn(x);d&&!d.has(x)&&d.set(x,z.style[W]),z.style[W]=y}),qe()&&ct(z))}function ee(z,c){z.style&&(c.forEach((d,y)=>{const x=vn(y);z.style[x]=""}),qe()&&ct(z))}function K(z){return Array.isArray(z)?1==z.length?z[0]:(0,w.vP)(z):z}const Ke=new RegExp("{{\\s*(.+?)\\s*}}","g");function vt(z){let c=[];if("string"==typeof z){let d;for(;d=Ke.exec(z);)c.push(d[1]);Ke.lastIndex=0}return c}function Vt(z,c,d){const y=z.toString(),x=y.replace(Ke,(W,ye)=>{let ve=c[ye];return null==ve&&(d.push(function Te(z){return new p.vHH(3003,!1)}()),ve=""),ve.toString()});return x==y?z:x}function jt(z){const c=[];let d=z.next();for(;!d.done;)c.push(d.value),d=z.next();return c}const Qt=/-+([a-z0-9])/g;function vn(z){return z.replace(Qt,(...c)=>c[1].toUpperCase())}function It(z){return z.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Tn(z,c,d){switch(c.type){case 7:return z.visitTrigger(c,d);case 0:return z.visitState(c,d);case 1:return z.visitTransition(c,d);case 2:return z.visitSequence(c,d);case 3:return z.visitGroup(c,d);case 4:return z.visitAnimate(c,d);case 5:return z.visitKeyframes(c,d);case 6:return z.visitStyle(c,d);case 8:return z.visitReference(c,d);case 9:return z.visitAnimateChild(c,d);case 10:return z.visitAnimateRef(c,d);case 11:return z.visitQuery(c,d);case 12:return z.visitStagger(c,d);default:throw function $(z){return new p.vHH(3004,!1)}()}}function Bn(z,c){return window.getComputedStyle(z)[c]}function oi(z,c){const d=[];return"string"==typeof z?z.split(/\s*,\s*/).forEach(y=>function Uo(z,c,d){if(":"==z[0]){const Be=function ii(z,c){switch(z){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,y)=>parseFloat(y)>parseFloat(d);case":decrement":return(d,y)=>parseFloat(y) *"}}(z,d);if("function"==typeof Be)return void c.push(Be);z=Be}const y=z.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return d.push(function me(z){return new p.vHH(3015,!1)}()),c;const x=y[1],W=y[2],ye=y[3];c.push(io(x,ye));"<"==W[0]&&!("*"==x&&"*"==ye)&&c.push(io(ye,x))}(y,d,c)):d.push(z),d}const oo=new Set(["true","1"]),Ln=new Set(["false","0"]);function io(z,c){const d=oo.has(z)||Ln.has(z),y=oo.has(c)||Ln.has(c);return(x,W)=>{let ye="*"==z||z==x,ve="*"==c||c==W;return!ye&&d&&"boolean"==typeof x&&(ye=x?oo.has(z):Ln.has(z)),!ve&&y&&"boolean"==typeof W&&(ve=W?oo.has(c):Ln.has(c)),ye&&ve}}const Lo=new RegExp("s*:selfs*,?","g");function In(z,c,d,y){return new $o(z).build(c,d,y)}class $o{constructor(c){this._driver=c}build(c,d,y){const x=new po(d);return this._resetContextStyleTimingState(x),Tn(this,K(c),x)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,d){let y=d.queryCount=0,x=d.depCount=0;const W=[],ye=[];return"@"==c.name.charAt(0)&&d.errors.push(function j(){return new p.vHH(3006,!1)}()),c.definitions.forEach(ve=>{if(this._resetContextStyleTimingState(d),0==ve.type){const Be=ve,Xe=Be.name;Xe.toString().split(/\s*,\s*/).forEach(Mt=>{Be.name=Mt,W.push(this.visitState(Be,d))}),Be.name=Xe}else if(1==ve.type){const Be=this.visitTransition(ve,d);y+=Be.queryCount,x+=Be.depCount,ye.push(Be)}else d.errors.push(function De(){return new p.vHH(3007,!1)}())}),{type:7,name:c.name,states:W,transitions:ye,queryCount:y,depCount:x,options:null}}visitState(c,d){const y=this.visitStyle(c.styles,d),x=c.options&&c.options.params||null;if(y.containsDynamicStyles){const W=new Set,ye=x||{};y.styles.forEach(ve=>{ve instanceof Map&&ve.forEach(Be=>{vt(Be).forEach(Xe=>{ye.hasOwnProperty(Xe)||W.add(Xe)})})}),W.size&&(jt(W.values()),d.errors.push(function xe(z,c){return new p.vHH(3008,!1)}()))}return{type:0,name:c.name,style:y,options:x?{params:x}:null}}visitTransition(c,d){d.queryCount=0,d.depCount=0;const y=Tn(this,K(c.animation),d);return{type:1,matchers:oi(c.expr,d.errors),animation:y,queryCount:d.queryCount,depCount:d.depCount,options:So(c.options)}}visitSequence(c,d){return{type:2,steps:c.steps.map(y=>Tn(this,y,d)),options:So(c.options)}}visitGroup(c,d){const y=d.currentTime;let x=0;const W=c.steps.map(ye=>{d.currentTime=y;const ve=Tn(this,ye,d);return x=Math.max(x,d.currentTime),ve});return d.currentTime=x,{type:3,steps:W,options:So(c.options)}}visitAnimate(c,d){const y=function ds(z,c){if(z.hasOwnProperty("duration"))return z;if("number"==typeof z)return zi(ut(z,c).duration,0,"");const d=z;if(d.split(/\s+/).some(W=>"{"==W.charAt(0)&&"{"==W.charAt(1))){const W=zi(0,0,"");return W.dynamic=!0,W.strValue=d,W}const x=ut(d,c);return zi(x.duration,x.delay,x.easing)}(c.timings,d.errors);d.currentAnimateTimings=y;let x,W=c.styles?c.styles:(0,w.oB)({});if(5==W.type)x=this.visitKeyframes(W,d);else{let ye=c.styles,ve=!1;if(!ye){ve=!0;const Xe={};y.easing&&(Xe.easing=y.easing),ye=(0,w.oB)(Xe)}d.currentTime+=y.duration+y.delay;const Be=this.visitStyle(ye,d);Be.isEmptyStep=ve,x=Be}return d.currentAnimateTimings=null,{type:4,timings:y,style:x,options:null}}visitStyle(c,d){const y=this._makeStyleAst(c,d);return this._validateStyleAst(y,d),y}_makeStyleAst(c,d){const y=[],x=Array.isArray(c.styles)?c.styles:[c.styles];for(let ve of x)"string"==typeof ve?ve===w.l3?y.push(ve):d.errors.push(new p.vHH(3002,!1)):y.push(Ht(ve));let W=!1,ye=null;return y.forEach(ve=>{if(ve instanceof Map&&(ve.has("easing")&&(ye=ve.get("easing"),ve.delete("easing")),!W))for(let Be of ve.values())if(Be.toString().indexOf("{{")>=0){W=!0;break}}),{type:6,styles:y,easing:ye,offset:c.offset,containsDynamicStyles:W,options:null}}_validateStyleAst(c,d){const y=d.currentAnimateTimings;let x=d.currentTime,W=d.currentTime;y&&W>0&&(W-=y.duration+y.delay),c.styles.forEach(ye=>{"string"!=typeof ye&&ye.forEach((ve,Be)=>{const Xe=d.collectedStyles.get(d.currentQuerySelector),Mt=Xe.get(Be);let Tt=!0;Mt&&(W!=x&&W>=Mt.startTime&&x<=Mt.endTime&&(d.errors.push(function B(z,c,d,y,x){return new p.vHH(3010,!1)}()),Tt=!1),W=Mt.startTime),Tt&&Xe.set(Be,{startTime:W,endTime:x}),d.options&&function ze(z,c,d){const y=c.params||{},x=vt(z);x.length&&x.forEach(W=>{y.hasOwnProperty(W)||d.push(function de(z){return new p.vHH(3001,!1)}())})}(ve,d.options,d.errors)})})}visitKeyframes(c,d){const y={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function re(){return new p.vHH(3011,!1)}()),y;let W=0;const ye=[];let ve=!1,Be=!1,Xe=0;const Mt=c.steps.map(Dn=>{const nn=this._makeStyleAst(Dn,d);let so=null!=nn.offset?nn.offset:function lr(z){if("string"==typeof z)return null;let c=null;if(Array.isArray(z))z.forEach(d=>{if(d instanceof Map&&d.has("offset")){const y=d;c=parseFloat(y.get("offset")),y.delete("offset")}});else if(z instanceof Map&&z.has("offset")){const d=z;c=parseFloat(d.get("offset")),d.delete("offset")}return c}(nn.styles),Yn=0;return null!=so&&(W++,Yn=nn.offset=so),Be=Be||Yn<0||Yn>1,ve=ve||Yn0&&W{const so=$t>0?nn==tn?1:$t*nn:ye[nn],Yn=so*zn;d.currentTime=Gt+Ut.delay+Yn,Ut.duration=Yn,this._validateStyleAst(Dn,d),Dn.offset=so,y.styles.push(Dn)}),y}visitReference(c,d){return{type:8,animation:Tn(this,K(c.animation),d),options:So(c.options)}}visitAnimateChild(c,d){return d.depCount++,{type:9,options:So(c.options)}}visitAnimateRef(c,d){return{type:10,animation:this.visitReference(c.animation,d),options:So(c.options)}}visitQuery(c,d){const y=d.currentQuerySelector,x=c.options||{};d.queryCount++,d.currentQuery=c;const[W,ye]=function Wo(z){const c=!!z.split(/\s*,\s*/).find(d=>":self"==d);return c&&(z=z.replace(Lo,"")),z=z.replace(/@\*/g,ae).replace(/@\w+/g,d=>ae+"-"+d.slice(1)).replace(/:animating/g,we),[z,c]}(c.selector);d.currentQuerySelector=y.length?y+" "+W:W,ft(d.collectedStyles,d.currentQuerySelector,new Map);const ve=Tn(this,K(c.animation),d);return d.currentQuery=null,d.currentQuerySelector=y,{type:11,selector:W,limit:x.limit||0,optional:!!x.optional,includeSelf:ye,animation:ve,originalSelector:c.selector,options:So(c.options)}}visitStagger(c,d){d.currentQuery||d.errors.push(function Ie(){return new p.vHH(3013,!1)}());const y="full"===c.timings?{duration:0,delay:0,easing:"full"}:ut(c.timings,d.errors,!0);return{type:12,animation:Tn(this,K(c.animation),d),timings:y,options:null}}}class po{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 So(z){return z?(z=Zt(z)).params&&(z.params=function ri(z){return z?Zt(z):null}(z.params)):z={},z}function zi(z,c,d){return{duration:z,delay:c,easing:d}}function Yr(z,c,d,y,x,W,ye=null,ve=!1){return{type:1,element:z,keyframes:c,preStyleProps:d,postStyleProps:y,duration:x,delay:W,totalTime:x+W,easing:ye,subTimeline:ve}}class qn{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,d){let y=this._map.get(c);y||this._map.set(c,y=[]),y.push(...d)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Ur=new RegExp(":enter","g"),bi=new RegExp(":leave","g");function mo(z,c,d,y,x,W=new Map,ye=new Map,ve,Be,Xe=[]){return(new si).buildKeyframes(z,c,d,y,x,W,ye,ve,Be,Xe)}class si{buildKeyframes(c,d,y,x,W,ye,ve,Be,Xe,Mt=[]){Xe=Xe||new qn;const Tt=new Si(c,d,Xe,x,W,Mt,[]);Tt.options=Be;const $t=Be.delay?Ae(Be.delay):0;Tt.currentTimeline.delayNextStep($t),Tt.currentTimeline.setStyles([ye],null,Tt.errors,Be),Tn(this,y,Tt);const tn=Tt.timelines.filter(Gt=>Gt.containsAnimation());if(tn.length&&ve.size){let Gt;for(let Ut=tn.length-1;Ut>=0;Ut--){const zn=tn[Ut];if(zn.element===d){Gt=zn;break}}Gt&&!Gt.allowOnlyTimelineStyles()&&Gt.setStyles([ve],null,Tt.errors,Be)}return tn.length?tn.map(Gt=>Gt.buildKeyframes()):[Yr(d,[],[],[],0,$t,"",!1)]}visitTrigger(c,d){}visitState(c,d){}visitTransition(c,d){}visitAnimateChild(c,d){const y=d.subInstructions.get(d.element);if(y){const x=d.createSubContext(c.options),W=d.currentTimeline.currentTime,ye=this._visitSubInstructions(y,x,x.options);W!=ye&&d.transformIntoNewTimeline(ye)}d.previousNode=c}visitAnimateRef(c,d){const y=d.createSubContext(c.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],d,y),this.visitReference(c.animation,y),d.transformIntoNewTimeline(y.currentTimeline.currentTime),d.previousNode=c}_applyAnimationRefDelays(c,d,y){for(const W of c){const ye=W?.delay;if(ye){var x;const ve="number"==typeof ye?ye:Ae(Vt(ye,null!==(x=W?.params)&&void 0!==x?x:{},d.errors));y.delayNextStep(ve)}}}_visitSubInstructions(c,d,y){let W=d.currentTimeline.currentTime;const ye=null!=y.duration?Ae(y.duration):null,ve=null!=y.delay?Ae(y.delay):null;return 0!==ye&&c.forEach(Be=>{const Xe=d.appendInstructionToTimeline(Be,ye,ve);W=Math.max(W,Xe.duration+Xe.delay)}),W}visitReference(c,d){d.updateOptions(c.options,!0),Tn(this,c.animation,d),d.previousNode=c}visitSequence(c,d){const y=d.subContextCount;let x=d;const W=c.options;if(W&&(W.params||W.delay)&&(x=d.createSubContext(W),x.transformIntoNewTimeline(),null!=W.delay)){6==x.previousNode.type&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=Ei);const ye=Ae(W.delay);x.delayNextStep(ye)}c.steps.length&&(c.steps.forEach(ye=>Tn(this,ye,x)),x.currentTimeline.applyStylesToKeyframe(),x.subContextCount>y&&x.transformIntoNewTimeline()),d.previousNode=c}visitGroup(c,d){const y=[];let x=d.currentTimeline.currentTime;const W=c.options&&c.options.delay?Ae(c.options.delay):0;c.steps.forEach(ye=>{const ve=d.createSubContext(c.options);W&&ve.delayNextStep(W),Tn(this,ye,ve),x=Math.max(x,ve.currentTimeline.currentTime),y.push(ve.currentTimeline)}),y.forEach(ye=>d.currentTimeline.mergeTimelineCollectedStyles(ye)),d.transformIntoNewTimeline(x),d.previousNode=c}_visitTiming(c,d){if(c.dynamic){const y=c.strValue;return ut(d.params?Vt(y,d.params,d.errors):y,d.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,d){const y=d.currentAnimateTimings=this._visitTiming(c.timings,d),x=d.currentTimeline;y.delay&&(d.incrementTime(y.delay),x.snapshotCurrentStyles());const W=c.style;5==W.type?this.visitKeyframes(W,d):(d.incrementTime(y.duration),this.visitStyle(W,d),x.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=c}visitStyle(c,d){const y=d.currentTimeline,x=d.currentAnimateTimings;!x&&y.hasCurrentStyleProperties()&&y.forwardFrame();const W=x&&x.easing||c.easing;c.isEmptyStep?y.applyEmptyStep(W):y.setStyles(c.styles,W,d.errors,d.options),d.previousNode=c}visitKeyframes(c,d){const y=d.currentAnimateTimings,x=d.currentTimeline.duration,W=y.duration,ve=d.createSubContext().currentTimeline;ve.easing=y.easing,c.styles.forEach(Be=>{ve.forwardTime((Be.offset||0)*W),ve.setStyles(Be.styles,Be.easing,d.errors,d.options),ve.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(ve),d.transformIntoNewTimeline(x+W),d.previousNode=c}visitQuery(c,d){const y=d.currentTimeline.currentTime,x=c.options||{},W=x.delay?Ae(x.delay):0;W&&(6===d.previousNode.type||0==y&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Ei);let ye=y;const ve=d.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!x.optional,d.errors);d.currentQueryTotal=ve.length;let Be=null;ve.forEach((Xe,Mt)=>{d.currentQueryIndex=Mt;const Tt=d.createSubContext(c.options,Xe);W&&Tt.delayNextStep(W),Xe===d.element&&(Be=Tt.currentTimeline),Tn(this,c.animation,Tt),Tt.currentTimeline.applyStylesToKeyframe(),ye=Math.max(ye,Tt.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(ye),Be&&(d.currentTimeline.mergeTimelineCollectedStyles(Be),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=c}visitStagger(c,d){const y=d.parentContext,x=d.currentTimeline,W=c.timings,ye=Math.abs(W.duration),ve=ye*(d.currentQueryTotal-1);let Be=ye*d.currentQueryIndex;switch(W.duration<0?"reverse":W.easing){case"reverse":Be=ve-Be;break;case"full":Be=y.currentStaggerTime}const Mt=d.currentTimeline;Be&&Mt.delayNextStep(Be);const Tt=Mt.currentTime;Tn(this,c.animation,d),d.previousNode=c,y.currentStaggerTime=x.currentTime-Tt+(x.startTime-y.currentTimeline.startTime)}}const Ei={};class Si{constructor(c,d,y,x,W,ye,ve,Be){this._driver=c,this.element=d,this.subInstructions=y,this._enterClassName=x,this._leaveClassName=W,this.errors=ye,this.timelines=ve,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ei,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Be||new Bi(this._driver,d,0),ve.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,d){if(!c)return;const y=c;let x=this.options;null!=y.duration&&(x.duration=Ae(y.duration)),null!=y.delay&&(x.delay=Ae(y.delay));const W=y.params;if(W){let ye=x.params;ye||(ye=this.options.params={}),Object.keys(W).forEach(ve=>{(!d||!ye.hasOwnProperty(ve))&&(ye[ve]=Vt(W[ve],ye,this.errors))})}}_copyOptions(){const c={};if(this.options){const d=this.options.params;if(d){const y=c.params={};Object.keys(d).forEach(x=>{y[x]=d[x]})}}return c}createSubContext(c=null,d,y){const x=d||this.element,W=new Si(this._driver,x,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(x,y||0));return W.previousNode=this.previousNode,W.currentAnimateTimings=this.currentAnimateTimings,W.options=this._copyOptions(),W.updateOptions(c),W.currentQueryIndex=this.currentQueryIndex,W.currentQueryTotal=this.currentQueryTotal,W.parentContext=this,this.subContextCount++,W}transformIntoNewTimeline(c){return this.previousNode=Ei,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,d,y){const x={duration:d??c.duration,delay:this.currentTimeline.currentTime+(y??0)+c.delay,easing:""},W=new Do(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,x,c.stretchStartingKeyframe);return this.timelines.push(W),x}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,d,y,x,W,ye){let ve=[];if(x&&ve.push(this.element),c.length>0){c=(c=c.replace(Ur,"."+this._enterClassName)).replace(bi,"."+this._leaveClassName);let Xe=this._driver.query(this.element,c,1!=y);0!==y&&(Xe=y<0?Xe.slice(Xe.length+y,Xe.length):Xe.slice(0,y)),ve.push(...Xe)}return!W&&0==ve.length&&ye.push(function oe(z){return new p.vHH(3014,!1)}()),ve}}class Bi{constructor(c,d,y,x){this._driver=c,this.element=d,this.startTime=y,this._elementTimelineStylesLookup=x,this.duration=0,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(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,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 d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+c),d&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,d){return this.applyStylesToKeyframe(),new Bi(this._driver,c,d||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,d){this._localTimelineStyles.set(c,d),this._globalTimelineStyles.set(c,d),this._styleSummary.set(c,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[d,y]of this._globalTimelineStyles)this._backFill.set(d,y||w.l3),this._currentKeyframe.set(d,w.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,d,y,x){d&&this._previousKeyframe.set("easing",d);const W=x&&x.params||{},ye=function hr(z,c){const d=new Map;let y;return z.forEach(x=>{if("*"===x){y=y||c.keys();for(let W of y)d.set(W,w.l3)}else Et(x,d)}),d}(c,this._globalTimelineStyles);for(let[Be,Xe]of ye){const Mt=Vt(Xe,W,y);var ve;this._pendingStyles.set(Be,Mt),this._localTimelineStyles.has(Be)||this._backFill.set(Be,null!==(ve=this._globalTimelineStyles.get(Be))&&void 0!==ve?ve:w.l3),this._updateStyle(Be,Mt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,d)=>{this._currentKeyframe.set(d,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,c)}))}snapshotCurrentStyles(){for(let[c,d]of this._localTimelineStyles)this._pendingStyles.set(c,d),this._updateStyle(c,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let d in this._currentKeyframe)c.push(d);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((d,y)=>{const x=this._styleSummary.get(y);(!x||d.time>x.time)&&this._updateStyle(y,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,d=new Set,y=1===this._keyframes.size&&0===this.duration;let x=[];this._keyframes.forEach((ve,Be)=>{const Xe=Et(ve,new Map,this._backFill);Xe.forEach((Mt,Tt)=>{Mt===w.k1?c.add(Tt):Mt===w.l3&&d.add(Tt)}),y||Xe.set("offset",Be/this.duration),x.push(Xe)});const W=c.size?jt(c.values()):[],ye=d.size?jt(d.values()):[];if(y){const ve=x[0],Be=new Map(ve);ve.set("offset",0),Be.set("offset",1),x=[ve,Be]}return Yr(this.element,x,W,ye,this.duration,this.startTime,this.easing,!1)}}class Do extends Bi{constructor(c,d,y,x,W,ye,ve=!1){super(c,d,ye.delay),this.keyframes=y,this.preStyleProps=x,this.postStyleProps=W,this._stretchStartingKeyframe=ve,this.timings={duration:ye.duration,delay:ye.delay,easing:ye.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:d,duration:y,easing:x}=this.timings;if(this._stretchStartingKeyframe&&d){const W=[],ye=y+d,ve=d/ye,Be=Et(c[0]);Be.set("offset",0),W.push(Be);const Xe=Et(c[0]);Xe.set("offset",dr(ve)),W.push(Xe);const Mt=c.length-1;for(let Tt=1;Tt<=Mt;Tt++){let $t=Et(c[Tt]);const tn=$t.get("offset");$t.set("offset",dr((d+tn*y)/ye)),W.push($t)}y=ye,d=0,x="",c=W}return Yr(this.element,c,this.preStyleProps,this.postStyleProps,y,d,x,!0)}}function dr(z,c=3){const d=Math.pow(10,c-1);return Math.round(z*d)/d}class Yi{}const fr=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 go extends Yi{normalizePropertyName(c,d){return vn(c)}normalizeStyleValue(c,d,y,x){let W="";const ye=y.toString().trim();if(fr.has(d)&&0!==y&&"0"!==y)if("number"==typeof y)W="px";else{const ve=y.match(/^[+-]?[\d\.]+([a-z]*)$/);ve&&0==ve[1].length&&x.push(function Me(z,c){return new p.vHH(3005,!1)}())}return ye+W}}function ai(z,c,d,y,x,W,ye,ve,Be,Xe,Mt,Tt,$t){return{type:0,element:z,triggerName:c,isRemovalTransition:x,fromState:d,fromStyles:W,toState:y,toStyles:ye,timelines:ve,queriedElements:Be,preStyleProps:Xe,postStyleProps:Mt,totalTime:Tt,errors:$t}}const Go={};class Fo{constructor(c,d,y){this._triggerName=c,this.ast=d,this._stateStyles=y}match(c,d,y,x){return function ji(z,c,d,y,x){return z.some(W=>W(c,d,y,x))}(this.ast.matchers,c,d,y,x)}buildStyles(c,d,y){let x=this._stateStyles.get("*");return void 0!==c&&(x=this._stateStyles.get(c?.toString())||x),x?x.buildStyles(d,y):new Map}build(c,d,y,x,W,ye,ve,Be,Xe,Mt){var Tt;const $t=[],tn=this.ast.options&&this.ast.options.params||Go,Ut=this.buildStyles(y,ve&&ve.params||Go,$t),zn=Be&&Be.params||Go,Dn=this.buildStyles(x,zn,$t),nn=new Set,so=new Map,Yn=new Map,gi="void"===x,vi={params:Ti(zn,tn),delay:null===(Tt=this.ast.options)||void 0===Tt?void 0:Tt.delay},_o=Mt?[]:mo(c,d,this.ast.animation,W,ye,Ut,Dn,vi,Xe,$t);let ao=0;if(_o.forEach(jn=>{ao=Math.max(jn.duration+jn.delay,ao)}),$t.length)return ai(d,this._triggerName,y,x,gi,Ut,Dn,[],[],so,Yn,ao,$t);_o.forEach(jn=>{const kr=jn.element,Ir=ft(so,kr,new Set);jn.preStyleProps.forEach(Bo=>Ir.add(Bo));const An=ft(Yn,kr,new Set);jn.postStyleProps.forEach(Bo=>An.add(Bo)),kr!==d&&nn.add(kr)});const Es=jt(nn.values());return ai(d,this._triggerName,y,x,gi,Ut,Dn,_o,Es,so,Yn,ao)}}function Ti(z,c){const d=Zt(c);for(const y in z)z.hasOwnProperty(y)&&null!=z[y]&&(d[y]=z[y]);return d}class mr{constructor(c,d,y){this.styles=c,this.defaultParams=d,this.normalizer=y}buildStyles(c,d){const y=new Map,x=Zt(this.defaultParams);return Object.keys(c).forEach(W=>{const ye=c[W];null!==ye&&(x[W]=ye)}),this.styles.styles.forEach(W=>{"string"!=typeof W&&W.forEach((ye,ve)=>{ye&&(ye=Vt(ye,x,d));const Be=this.normalizer.normalizePropertyName(ve,d);ye=this.normalizer.normalizeStyleValue(ve,Be,ye,d),y.set(Be,ye)})}),y}}class ci{constructor(c,d,y){this.name=c,this.ast=d,this._normalizer=y,this.transitionFactories=[],this.states=new Map,d.states.forEach(x=>{this.states.set(x.name,new mr(x.style,x.options&&x.options.params||{},y))}),eo(this.states,"true","1"),eo(this.states,"false","0"),d.transitions.forEach(x=>{this.transitionFactories.push(new Fo(c,x,this.states))}),this.fallbackTransition=function gr(z,c,d){return new Fo(z,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ye,ve)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,d,y,x){return this.transitionFactories.find(ye=>ye.match(c,d,y,x))||null}matchStyles(c,d,y){return this.fallbackTransition.buildStyles(c,d,y)}}function eo(z,c,d){z.has(c)?z.has(d)||z.set(d,z.get(c)):z.has(d)&&z.set(c,z.get(d))}const Ho=new qn;class xi{constructor(c,d,y){this.bodyNode=c,this._driver=d,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,d){const y=[],W=In(this._driver,d,y,[]);if(y.length)throw function gt(z){return new p.vHH(3503,!1)}();this._animations.set(c,W)}_buildPlayer(c,d,y){const x=c.element,W=Bt(0,this._normalizer,0,c.keyframes,d,y);return this._driver.animate(x,W,c.duration,c.delay,c.easing,[],!0)}create(c,d,y={}){const x=[],W=this._animations.get(c);let ye;const ve=new Map;if(W?(ye=mo(this._driver,d,W,ue,Ne,new Map,new Map,y,Ho,x),ye.forEach(Mt=>{const Tt=ft(ve,Mt.element,new Map);Mt.postStyleProps.forEach($t=>Tt.set($t,null))})):(x.push(function Je(){return new p.vHH(3300,!1)}()),ye=[]),x.length)throw function $e(z){return new p.vHH(3504,!1)}();ve.forEach((Mt,Tt)=>{Mt.forEach(($t,tn)=>{Mt.set(tn,this._driver.computeStyle(Tt,tn,w.l3))})});const Xe=Ct(ye.map(Mt=>{const Tt=ve.get(Mt.element);return this._buildPlayer(Mt,new Map,Tt)}));return this._playersById.set(c,Xe),Xe.onDestroy(()=>this.destroy(c)),this.players.push(Xe),Xe}destroy(c){const d=this._getPlayer(c);d.destroy(),this._playersById.delete(c);const y=this.players.indexOf(d);y>=0&&this.players.splice(y,1)}_getPlayer(c){const d=this._playersById.get(c);if(!d)throw function St(z){return new p.vHH(3301,!1)}();return d}listen(c,d,y,x){const W=on(d,"","","");return fn(this._getPlayer(c),y,W,x),()=>{}}command(c,d,y,x){if("register"==y)return void this.register(c,x[0]);if("create"==y)return void this.create(c,d,x[0]||{});const W=this._getPlayer(c);switch(y){case"play":W.play();break;case"pause":W.pause();break;case"reset":W.reset();break;case"restart":W.restart();break;case"finish":W.finish();break;case"init":W.init();break;case"setPosition":W.setPosition(parseFloat(x[0]));break;case"destroy":this.destroy(c)}}}const li="ng-animate-queued",Wr="ng-animate-disabled",Pi=[],ro={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Us={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed";class Ro{constructor(c,d=""){this.namespaceId=d;const y=c&&c.hasOwnProperty("value");if(this.value=function $i(z){return z??null}(y?c.value:c),y){const W=Zt(c);delete W.value,this.options=W}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const d=c.params;if(d){const y=this.options.params;Object.keys(d).forEach(x=>{null==y[x]&&(y[x]=d[x])})}}}const hn="void",yr=new Ro(hn);class To{constructor(c,d,y){this.id=c,this.hostElement=d,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Rn(d,this._hostClassName)}listen(c,d,y,x){if(!this._triggers.has(d))throw function it(z,c){return new p.vHH(3302,!1)}();if(null==y||0==y.length)throw function yt(z){return new p.vHH(3303,!1)}();if(!function _r(z){return"start"==z||"done"==z}(y))throw function Pe(z,c){return new p.vHH(3400,!1)}();const W=ft(this._elementListeners,c,[]),ye={name:d,phase:y,callback:x};W.push(ye);const ve=ft(this._engine.statesByElement,c,new Map);return ve.has(d)||(Rn(c,ie),Rn(c,ie+"-"+d),ve.set(d,yr)),()=>{this._engine.afterFlush(()=>{const Be=W.indexOf(ye);Be>=0&&W.splice(Be,1),this._triggers.has(d)||ve.delete(d)})}}register(c,d){return!this._triggers.has(c)&&(this._triggers.set(c,d),!0)}_getTrigger(c){const d=this._triggers.get(c);if(!d)throw function nt(z){return new p.vHH(3401,!1)}();return d}trigger(c,d,y,x=!0){const W=this._getTrigger(d),ye=new ho(this.id,d,c);let ve=this._engine.statesByElement.get(c);ve||(Rn(c,ie),Rn(c,ie+"-"+d),this._engine.statesByElement.set(c,ve=new Map));let Be=ve.get(d);const Xe=new Ro(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&Be&&Xe.absorbOptions(Be.options),ve.set(d,Xe),Be||(Be=yr),Xe.value!==hn&&Be.value===Xe.value){if(!function rn(z,c){const d=Object.keys(z),y=Object.keys(c);if(d.length!=y.length)return!1;for(let x=0;x{ee(c,zn),Z(c,Dn)})}return}const $t=ft(this._engine.playersByElement,c,[]);$t.forEach(Ut=>{Ut.namespaceId==this.id&&Ut.triggerName==d&&Ut.queued&&Ut.destroy()});let tn=W.matchTransition(Be.value,Xe.value,c,Xe.params),Gt=!1;if(!tn){if(!x)return;tn=W.fallbackTransition,Gt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:d,transition:tn,fromState:Be,toState:Xe,player:ye,isFallbackTransition:Gt}),Gt||(Rn(c,li),ye.onStart(()=>{Kn(c,li)})),ye.onDone(()=>{let Ut=this.players.indexOf(ye);Ut>=0&&this.players.splice(Ut,1);const zn=this._engine.playersByElement.get(c);if(zn){let Dn=zn.indexOf(ye);Dn>=0&&zn.splice(Dn,1)}}),this.players.push(ye),$t.push(ye),ye}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(d=>d.delete(c)),this._elementListeners.forEach((d,y)=>{this._elementListeners.set(y,d.filter(x=>x.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const d=this._engine.playersByElement.get(c);d&&(d.forEach(y=>y.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,d){const y=this._engine.driver.query(c,ae,!0);y.forEach(x=>{if(x[Nn])return;const W=this._engine.fetchNamespacesByElement(x);W.size?W.forEach(ye=>ye.triggerLeaveAnimation(x,d,!1,!0)):this.clearElementCache(x)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(x=>this.clearElementCache(x)))}triggerLeaveAnimation(c,d,y,x){const W=this._engine.statesByElement.get(c),ye=new Map;if(W){const ve=[];if(W.forEach((Be,Xe)=>{if(ye.set(Xe,Be.value),this._triggers.has(Xe)){const Mt=this.trigger(c,Xe,hn,x);Mt&&ve.push(Mt)}}),ve.length)return this._engine.markElementAsRemoved(this.id,c,!0,d,ye),y&&Ct(ve).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const d=this._elementListeners.get(c),y=this._engine.statesByElement.get(c);if(d&&y){const x=new Set;d.forEach(W=>{const ye=W.name;if(x.has(ye))return;x.add(ye);const Be=this._triggers.get(ye).fallbackTransition,Xe=y.get(ye)||yr,Mt=new Ro(hn),Tt=new ho(this.id,ye,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:ye,transition:Be,fromState:Xe,toState:Mt,player:Tt,isFallbackTransition:!0})})}}removeNode(c,d){const y=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,d),this.triggerLeaveAnimation(c,d,!0))return;let x=!1;if(y.totalAnimations){const W=y.players.length?y.playersByQueriedElement.get(c):[];if(W&&W.length)x=!0;else{let ye=c;for(;ye=ye.parentNode;)if(y.statesByElement.get(ye)){x=!0;break}}}if(this.prepareLeaveAnimationListeners(c),x)y.markElementAsRemoved(this.id,c,!1,d);else{const W=c[Nn];(!W||W===ro)&&(y.afterFlush(()=>this.clearElementCache(c)),y.destroyInnerAnimations(c),y._onRemovalComplete(c,d))}}insertNode(c,d){Rn(c,this._hostClassName)}drainQueuedTransitions(c){const d=[];return this._queue.forEach(y=>{const x=y.player;if(x.destroyed)return;const W=y.element,ye=this._elementListeners.get(W);ye&&ye.forEach(ve=>{if(ve.name==y.triggerName){const Be=on(W,y.triggerName,y.fromState.value,y.toState.value);Be._data=c,fn(y.player,ve.phase,Be,ve.callback)}}),x.markedForDestroy?this._engine.afterFlush(()=>{x.destroy()}):d.push(y)}),this._queue=[],d.sort((y,x)=>{const W=y.transition.ast.depCount,ye=x.transition.ast.depCount;return 0==W||0==ye?W-ye:this._engine.driver.containsElement(y.element,x.element)?1:-1})}destroy(c){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let d=!1;return this._elementListeners.has(c)&&(d=!0),d=!!this._queue.find(y=>y.element===c)||d,d}}class uo{constructor(c,d,y){this.bodyNode=c,this.driver=d,this._normalizer=y,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=(x,W)=>{}}_onRemovalComplete(c,d){this.onRemovalComplete(c,d)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(d=>{d.players.forEach(y=>{y.queued&&c.push(y)})}),c}createNamespace(c,d){const y=new To(c,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(y,d):(this.newHostElements.set(d,y),this.collectEnterElement(d)),this._namespaceLookup[c]=y}_balanceNamespaceList(c,d){const y=this._namespaceList,x=this.namespacesByHostElement;if(y.length-1>=0){let ye=!1,ve=this.driver.getParentElement(d);for(;ve;){const Be=x.get(ve);if(Be){const Xe=y.indexOf(Be);y.splice(Xe+1,0,c),ye=!0;break}ve=this.driver.getParentElement(ve)}ye||y.unshift(c)}else y.push(c);return x.set(d,c),c}register(c,d){let y=this._namespaceLookup[c];return y||(y=this.createNamespace(c,d)),y}registerTrigger(c,d,y){let x=this._namespaceLookup[c];x&&x.register(d,y)&&this.totalAnimations++}destroy(c,d){if(!c)return;const y=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[c];const x=this._namespaceList.indexOf(y);x>=0&&this._namespaceList.splice(x,1)}),this.afterFlushAnimationsDone(()=>y.destroy(d))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const d=new Set,y=this.statesByElement.get(c);if(y)for(let x of y.values())if(x.namespaceId){const W=this._fetchNamespace(x.namespaceId);W&&d.add(W)}return d}trigger(c,d,y,x){if(Kt(d)){const W=this._fetchNamespace(c);if(W)return W.trigger(d,y,x),!0}return!1}insertNode(c,d,y,x){if(!Kt(d))return;const W=d[Nn];if(W&&W.setForRemoval){W.setForRemoval=!1,W.setForMove=!0;const ye=this.collectedLeaveElements.indexOf(d);ye>=0&&this.collectedLeaveElements.splice(ye,1)}if(c){const ye=this._fetchNamespace(c);ye&&ye.insertNode(d,y)}x&&this.collectEnterElement(d)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,d){d?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Rn(c,Wr)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),Kn(c,Wr))}removeNode(c,d,y,x){if(Kt(d)){const W=c?this._fetchNamespace(c):null;if(W?W.removeNode(d,x):this.markElementAsRemoved(c,d,!1,x),y){const ye=this.namespacesByHostElement.get(d);ye&&ye.id!==c&&ye.removeNode(d,x)}}else this._onRemovalComplete(d,x)}markElementAsRemoved(c,d,y,x,W){this.collectedLeaveElements.push(d),d[Nn]={namespaceId:c,setForRemoval:x,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:W}}listen(c,d,y,x,W){return Kt(d)?this._fetchNamespace(c).listen(d,y,x,W):()=>{}}_buildInstruction(c,d,y,x,W){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,y,x,c.fromState.options,c.toState.options,d,W)}destroyInnerAnimations(c){let d=this.driver.query(c,ae,!0);d.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(c,we,!0),d.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(c){const d=this.playersByElement.get(c);d&&d.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(c){const d=this.playersByQueriedElement.get(c);d&&d.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Ct(this.players).onDone(()=>c());c()})}processLeaveNode(c){var d;const y=c[Nn];if(y&&y.setForRemoval){if(c[Nn]=ro,y.namespaceId){this.destroyInnerAnimations(c);const x=this._fetchNamespace(y.namespaceId);x&&x.clearElementCache(c)}this._onRemovalComplete(c,y.setForRemoval)}null!==(d=c.classList)&&void 0!==d&&d.contains(Wr)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(x=>{this.markElementAsDisabled(x,!1)})}flush(c=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,x)=>this._balanceNamespaceList(y,x)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;yy()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],d.length?Ct(d).onDone(()=>{y.forEach(x=>x())}):y.forEach(x=>x())}}reportError(c){throw function pt(z){return new p.vHH(3402,!1)}()}_flushAnimations(c,d){const y=new qn,x=[],W=new Map,ye=[],ve=new Map,Be=new Map,Xe=new Map,Mt=new Set;this.disabledNodes.forEach(Lt=>{Mt.add(Lt);const Nt=this.driver.query(Lt,".ng-animate-queued",!0);for(let Ot=0;Ot{const Ot=ue+Ut++;Gt.set(Nt,Ot),Lt.forEach(Jt=>Rn(Jt,Ot))});const zn=[],Dn=new Set,nn=new Set;for(let Lt=0;LtDn.add(Jt)):nn.add(Nt))}const so=new Map,Yn=Mr($t,Array.from(Dn));Yn.forEach((Lt,Nt)=>{const Ot=Ne+Ut++;so.set(Nt,Ot),Lt.forEach(Jt=>Rn(Jt,Ot))}),c.push(()=>{tn.forEach((Lt,Nt)=>{const Ot=Gt.get(Nt);Lt.forEach(Jt=>Kn(Jt,Ot))}),Yn.forEach((Lt,Nt)=>{const Ot=so.get(Nt);Lt.forEach(Jt=>Kn(Jt,Ot))}),zn.forEach(Lt=>{this.processLeaveNode(Lt)})});const gi=[],vi=[];for(let Lt=this._namespaceList.length-1;Lt>=0;Lt--)this._namespaceList[Lt].drainQueuedTransitions(d).forEach(Ot=>{const Jt=Ot.player,Pn=Ot.element;if(gi.push(Jt),this.collectedEnterElements.length){const L=Pn[Nn];if(L&&L.setForMove){if(L.previousTriggersValues&&L.previousTriggersValues.has(Ot.triggerName)){const ne=L.previousTriggersValues.get(Ot.triggerName),ce=this.statesByElement.get(Ot.element);if(ce&&ce.has(Ot.triggerName)){const Re=ce.get(Ot.triggerName);Re.value=ne,ce.set(Ot.triggerName,Re)}}return void Jt.destroy()}}const Mo=!Tt||!this.driver.containsElement(Tt,Pn),f=so.get(Pn),m=Gt.get(Pn),l=this._buildInstruction(Ot,y,m,f,Mo);if(l.errors&&l.errors.length)return void vi.push(l);if(Mo)return Jt.onStart(()=>ee(Pn,l.fromStyles)),Jt.onDestroy(()=>Z(Pn,l.toStyles)),void x.push(Jt);if(Ot.isFallbackTransition)return Jt.onStart(()=>ee(Pn,l.fromStyles)),Jt.onDestroy(()=>Z(Pn,l.toStyles)),void x.push(Jt);const v=[];l.timelines.forEach(L=>{L.stretchStartingKeyframe=!0,this.disabledNodes.has(L.element)||v.push(L)}),l.timelines=v,y.append(Pn,l.timelines),ye.push({instruction:l,player:Jt,element:Pn}),l.queriedElements.forEach(L=>ft(ve,L,[]).push(Jt)),l.preStyleProps.forEach((L,ne)=>{if(L.size){let ce=Be.get(ne);ce||Be.set(ne,ce=new Set),L.forEach((Re,ht)=>ce.add(ht))}}),l.postStyleProps.forEach((L,ne)=>{let ce=Xe.get(ne);ce||Xe.set(ne,ce=new Set),L.forEach((Re,ht)=>ce.add(ht))})});if(vi.length){const Lt=[];vi.forEach(Nt=>{Lt.push(function kn(z,c){return new p.vHH(3505,!1)}())}),gi.forEach(Nt=>Nt.destroy()),this.reportError(Lt)}const _o=new Map,ao=new Map;ye.forEach(Lt=>{const Nt=Lt.element;y.has(Nt)&&(ao.set(Nt,Nt),this._beforeAnimationBuild(Lt.player.namespaceId,Lt.instruction,_o))}),x.forEach(Lt=>{const Nt=Lt.element;this._getPreviousPlayers(Nt,!1,Lt.namespaceId,Lt.triggerName,null).forEach(Jt=>{ft(_o,Nt,[]).push(Jt),Jt.destroy()})});const Es=zn.filter(Lt=>Cr(Lt,Be,Xe)),jn=new Map;Ki(jn,this.driver,nn,Xe,w.l3).forEach(Lt=>{Cr(Lt,Be,Xe)&&Es.push(Lt)});const Ir=new Map;tn.forEach((Lt,Nt)=>{Ki(Ir,this.driver,new Set(Lt),Be,w.k1)}),Es.forEach(Lt=>{var Nt,Ot;const Jt=jn.get(Lt),Pn=Ir.get(Lt);jn.set(Lt,new Map([...Array.from(null!==(Nt=Jt?.entries())&&void 0!==Nt?Nt:[]),...Array.from(null!==(Ot=Pn?.entries())&&void 0!==Ot?Ot:[])]))});const An=[],Bo=[],Li={};ye.forEach(Lt=>{const{element:Nt,player:Ot,instruction:Jt}=Lt;if(y.has(Nt)){if(Mt.has(Nt))return Ot.onDestroy(()=>Z(Nt,Jt.toStyles)),Ot.disabled=!0,Ot.overrideTotalTime(Jt.totalTime),void x.push(Ot);let Pn=Li;if(ao.size>1){let f=Nt;const m=[];for(;f=f.parentNode;){const l=ao.get(f);if(l){Pn=l;break}m.push(f)}m.forEach(l=>ao.set(l,Pn))}const Mo=this._buildAnimation(Ot.namespaceId,Jt,_o,W,Ir,jn);if(Ot.setRealPlayer(Mo),Pn===Li)An.push(Ot);else{const f=this.playersByElement.get(Pn);f&&f.length&&(Ot.parentPlayer=Ct(f)),x.push(Ot)}}else ee(Nt,Jt.fromStyles),Ot.onDestroy(()=>Z(Nt,Jt.toStyles)),Bo.push(Ot),Mt.has(Nt)&&x.push(Ot)}),Bo.forEach(Lt=>{const Nt=W.get(Lt.element);if(Nt&&Nt.length){const Ot=Ct(Nt);Lt.setRealPlayer(Ot)}}),x.forEach(Lt=>{Lt.parentPlayer?Lt.syncPlayerEvents(Lt.parentPlayer):Lt.destroy()});for(let Lt=0;Lt!Mo.destroyed);Pn.length?Kr(this,Nt,Pn):this.processLeaveNode(Nt)}return zn.length=0,An.forEach(Lt=>{this.players.push(Lt),Lt.onDone(()=>{Lt.destroy();const Nt=this.players.indexOf(Lt);this.players.splice(Nt,1)}),Lt.play()}),An}elementContainsData(c,d){let y=!1;const x=d[Nn];return x&&x.setForRemoval&&(y=!0),this.playersByElement.has(d)&&(y=!0),this.playersByQueriedElement.has(d)&&(y=!0),this.statesByElement.has(d)&&(y=!0),this._fetchNamespace(c).elementContainsData(d)||y}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,d,y,x,W){let ye=[];if(d){const ve=this.playersByQueriedElement.get(c);ve&&(ye=ve)}else{const ve=this.playersByElement.get(c);if(ve){const Be=!W||W==hn;ve.forEach(Xe=>{Xe.queued||!Be&&Xe.triggerName!=x||ye.push(Xe)})}}return(y||x)&&(ye=ye.filter(ve=>!(y&&y!=ve.namespaceId||x&&x!=ve.triggerName))),ye}_beforeAnimationBuild(c,d,y){const W=d.element,ye=d.isRemovalTransition?void 0:c,ve=d.isRemovalTransition?void 0:d.triggerName;for(const Be of d.timelines){const Xe=Be.element,Mt=Xe!==W,Tt=ft(y,Xe,[]);this._getPreviousPlayers(Xe,Mt,ye,ve,d.toState).forEach(tn=>{const Gt=tn.getRealPlayer();Gt.beforeDestroy&&Gt.beforeDestroy(),tn.destroy(),Tt.push(tn)})}ee(W,d.fromStyles)}_buildAnimation(c,d,y,x,W,ye){const ve=d.triggerName,Be=d.element,Xe=[],Mt=new Set,Tt=new Set,$t=d.timelines.map(Gt=>{const Ut=Gt.element;Mt.add(Ut);const zn=Ut[Nn];if(zn&&zn.removedBeforeQueried)return new w.ZN(Gt.duration,Gt.delay);const Dn=Ut!==Be,nn=function Gr(z){const c=[];return at(z,c),c}((y.get(Ut)||Pi).map(_o=>_o.getRealPlayer())).filter(_o=>!!_o.element&&_o.element===Ut),so=W.get(Ut),Yn=ye.get(Ut),gi=Bt(0,this._normalizer,0,Gt.keyframes,so,Yn),vi=this._buildPlayer(Gt,gi,nn);if(Gt.subTimeline&&x&&Tt.add(Ut),Dn){const _o=new ho(c,ve,Ut);_o.setRealPlayer(vi),Xe.push(_o)}return vi});Xe.forEach(Gt=>{ft(this.playersByQueriedElement,Gt.element,[]).push(Gt),Gt.onDone(()=>function Zo(z,c,d){let y=z.get(c);if(y){if(y.length){const x=y.indexOf(d);y.splice(x,1)}0==y.length&&z.delete(c)}return y}(this.playersByQueriedElement,Gt.element,Gt))}),Mt.forEach(Gt=>Rn(Gt,X));const tn=Ct($t);return tn.onDestroy(()=>{Mt.forEach(Gt=>Kn(Gt,X)),Z(Be,d.toStyles)}),Tt.forEach(Gt=>{ft(x,Gt,[]).push(tn)}),tn}_buildPlayer(c,d,y){return d.length>0?this.driver.animate(c.element,d,c.duration,c.delay,c.easing,y):new w.ZN(c.duration,c.delay)}}class ho{constructor(c,d,y){this.namespaceId=c,this.triggerName=d,this.element=y,this._player=new w.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((d,y)=>{d.forEach(x=>fn(c,y,void 0,x))}),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 d=this._player;d.triggerCallback&&c.onStart(()=>d.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,d){ft(this._queuedCallbacks,c,[]).push(d)}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 d=this._player;d.triggerCallback&&d.triggerCallback(c)}}function Kt(z){return z&&1===z.nodeType}function Wi(z,c){const d=z.style.display;return z.style.display=c??"none",d}function Ki(z,c,d,y,x){const W=[];d.forEach(Be=>W.push(Wi(Be)));const ye=[];y.forEach((Be,Xe)=>{const Mt=new Map;Be.forEach(Tt=>{const $t=c.computeStyle(Xe,Tt,x);Mt.set(Tt,$t),(!$t||0==$t.length)&&(Xe[Nn]=Us,ye.push(Xe))}),z.set(Xe,Mt)});let ve=0;return d.forEach(Be=>Wi(Be,W[ve++])),ye}function Mr(z,c){const d=new Map;if(z.forEach(ve=>d.set(ve,[])),0==c.length)return d;const x=new Set(c),W=new Map;function ye(ve){if(!ve)return 1;let Be=W.get(ve);if(Be)return Be;const Xe=ve.parentNode;return Be=d.has(Xe)?Xe:x.has(Xe)?1:ye(Xe),W.set(ve,Be),Be}return c.forEach(ve=>{const Be=ye(ve);1!==Be&&d.get(Be).push(ve)}),d}function Rn(z,c){var d;null===(d=z.classList)||void 0===d||d.add(c)}function Kn(z,c){var d;null===(d=z.classList)||void 0===d||d.remove(c)}function Kr(z,c,d){Ct(d).onDone(()=>z.processLeaveNode(c))}function at(z,c){for(let d=0;dx.add(W)):c.set(z,y),d.delete(z),!0}class ui{constructor(c,d,y){this.bodyNode=c,this._driver=d,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(x,W)=>{},this._transitionEngine=new uo(c,d,y),this._timelineEngine=new xi(c,d,y),this._transitionEngine.onRemovalComplete=(x,W)=>this.onRemovalComplete(x,W)}registerTrigger(c,d,y,x,W){const ye=c+"-"+x;let ve=this._triggerCache[ye];if(!ve){const Be=[],Mt=In(this._driver,W,Be,[]);if(Be.length)throw function Ue(z,c){return new p.vHH(3404,!1)}();ve=function Ui(z,c,d){return new ci(z,c,d)}(x,Mt,this._normalizer),this._triggerCache[ye]=ve}this._transitionEngine.registerTrigger(d,x,ve)}register(c,d){this._transitionEngine.register(c,d)}destroy(c,d){this._transitionEngine.destroy(c,d)}onInsert(c,d,y,x){this._transitionEngine.insertNode(c,d,y,x)}onRemove(c,d,y,x){this._transitionEngine.removeNode(c,d,x||!1,y)}disableAnimations(c,d){this._transitionEngine.markElementAsDisabled(c,d)}process(c,d,y,x){if("@"==y.charAt(0)){const[W,ye]=gn(y);this._timelineEngine.command(W,d,ye,x)}else this._transitionEngine.trigger(c,d,y,x)}listen(c,d,y,x,W){if("@"==y.charAt(0)){const[ye,ve]=gn(y);return this._timelineEngine.listen(ye,d,ve,W)}return this._transitionEngine.listen(c,d,y,x,W)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Dr=(()=>{class z{constructor(d,y,x){this._element=d,this._startStyles=y,this._endStyles=x,this._state=0;let W=z.initialStylesByElement.get(d);W||z.initialStylesByElement.set(d,W=new Map),this._initialStyles=W}start(){this._state<1&&(this._startStyles&&Z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Z(this._element,this._initialStyles),this._endStyles&&(Z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(z.initialStylesByElement.delete(this._element),this._startStyles&&(ee(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ee(this._element,this._endStyles),this._endStyles=null),Z(this._element,this._initialStyles),this._state=3)}}return z.initialStylesByElement=new WeakMap,z})();function Vo(z){let c=null;return z.forEach((d,y)=>{(function vo(z){return"display"===z||"position"===z})(y)&&(c=c||new Map,c.set(y,d))}),c}class wr{constructor(c,d,y,x){this.element=c,this.keyframes=d,this.options=y,this._specialStyles=x,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=y.duration,this._delay=y.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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const d=[];return c.forEach(y=>{d.push(Object.fromEntries(y))}),d}_triggerWebAnimation(c,d,y){return c.animate(this._convertKeyframesToObject(d),y)}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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,x)=>{"offset"!==x&&c.set(x,this._finished?y:Bn(this.element,x))}),this.currentSnapshot=c}triggerCallback(c){const d="start"===c?this._onStartFns:this._onDoneFns;d.forEach(y=>y()),d.length=0}}class zr{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,d){return!1}containsElement(c,d){return rt(c,d)}getParentElement(c){return J(c)}query(c,d,y){return xt(c,d,y)}computeStyle(c,d,y){return window.getComputedStyle(c)[d]}animate(c,d,y,x,W,ye=[]){const Be={duration:y,delay:x,fill:0==x?"both":"forwards"};W&&(Be.easing=W);const Xe=new Map,Mt=ye.filter(tn=>tn instanceof wr);(function Sn(z,c){return 0===z||0===c})(y,x)&&Mt.forEach(tn=>{tn.currentSnapshot.forEach((Gt,Ut)=>Xe.set(Ut,Gt))});let Tt=function Cn(z){return z.length?z[0]instanceof Map?z:z.map(c=>Ht(c)):[]}(d).map(tn=>Et(tn));Tt=function Jn(z,c,d){if(d.size&&c.length){let y=c[0],x=[];if(d.forEach((W,ye)=>{y.has(ye)||x.push(ye),y.set(ye,W)}),x.length)for(let W=1;Wye.set(ve,Bn(z,ve)))}}return c}(c,Tt,Xe);const $t=function Fn(z,c){let d=null,y=null;return Array.isArray(c)&&c.length?(d=Vo(c[0]),c.length>1&&(y=Vo(c[c.length-1]))):c instanceof Map&&(d=Vo(c)),d||y?new Dr(z,d,y):null}(c,Tt);return new wr(c,Tt,Be,$t)}}let Gi=(()=>{class z extends w._j{constructor(d,y){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(y.body,{id:"0",encapsulation:p.ifc.None,styles:[],data:{animation:[]}})}build(d){const y=this._nextAnimationId.toString();this._nextAnimationId++;const x=Array.isArray(d)?(0,w.vP)(d):d;return hi(this._renderer,null,y,"register",[x]),new Oi(y,this._renderer)}}return z.\u0275fac=function(d){return new(d||z)(p.LFG(p.FYo),p.LFG(a.K0))},z.\u0275prov=p.Yz7({token:z,factory:z.\u0275fac}),z})();class Oi extends w.LC{constructor(c,d){super(),this._id=c,this._renderer=d}create(c,d){return new di(this._id,c,d||{},this._renderer)}}class di{constructor(c,d,y,x){this.id=c,this.element=d,this._renderer=x,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(c,d){return this._renderer.listen(this.element,`@@${this.id}:${c}`,d)}_command(c,...d){return hi(this._renderer,this.element,this.id,c,d)}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(){var c,d;return null!==(c=null===(d=this._renderer.engine.players[+this.id])||void 0===d?void 0:d.getPosition())&&void 0!==c?c:0}}function hi(z,c,d,y,x){return z.setProperty(c,`@@${d}:${y}`,x)}const fo="@.disabled";let Zi=(()=>{class z{constructor(d,y,x){this.delegate=d,this.engine=y,this._zone=x,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(W,ye)=>{const ve=ye?.parentNode(W);ve&&ye.removeChild(ve,W)}}createRenderer(d,y){const W=this.delegate.createRenderer(d,y);if(!(d&&y&&y.data&&y.data.animation)){let Mt=this._rendererCache.get(W);return Mt||(Mt=new Qo("",W,this.engine),this._rendererCache.set(W,Mt)),Mt}const ye=y.id,ve=y.id+"-"+this._currentId;this._currentId++,this.engine.register(ve,d);const Be=Mt=>{Array.isArray(Mt)?Mt.forEach(Be):this.engine.registerTrigger(ye,ve,d,Mt.name,Mt)};return y.data.animation.forEach(Be),new xo(this,ve,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(d,y,x){d>=0&&dy(x)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(W=>{const[ye,ve]=W;ye(ve)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,x]))}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()}}return z.\u0275fac=function(d){return new(d||z)(p.LFG(p.FYo),p.LFG(ui),p.LFG(p.R0b))},z.\u0275prov=p.Yz7({token:z,factory:z.\u0275fac}),z})();class Qo{constructor(c,d,y){this.namespaceId=c,this.delegate=d,this.engine=y,this.destroyNode=this.delegate.destroyNode?x=>d.destroyNode(x):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(c,d){return this.delegate.createElement(c,d)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,d){this.delegate.appendChild(c,d),this.engine.onInsert(this.namespaceId,d,c,!1)}insertBefore(c,d,y,x=!0){this.delegate.insertBefore(c,d,y),this.engine.onInsert(this.namespaceId,d,c,x)}removeChild(c,d,y){this.engine.onRemove(this.namespaceId,d,this.delegate,y)}selectRootElement(c,d){return this.delegate.selectRootElement(c,d)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,d,y,x){this.delegate.setAttribute(c,d,y,x)}removeAttribute(c,d,y){this.delegate.removeAttribute(c,d,y)}addClass(c,d){this.delegate.addClass(c,d)}removeClass(c,d){this.delegate.removeClass(c,d)}setStyle(c,d,y,x){this.delegate.setStyle(c,d,y,x)}removeStyle(c,d,y){this.delegate.removeStyle(c,d,y)}setProperty(c,d,y){"@"==d.charAt(0)&&d==fo?this.disableAnimations(c,!!y):this.delegate.setProperty(c,d,y)}setValue(c,d){this.delegate.setValue(c,d)}listen(c,d,y){return this.delegate.listen(c,d,y)}disableAnimations(c,d){this.engine.disableAnimations(c,d)}}class xo extends Qo{constructor(c,d,y,x){super(d,y,x),this.factory=c,this.namespaceId=d}setProperty(c,d,y){"@"==d.charAt(0)?"."==d.charAt(1)&&d==fo?this.disableAnimations(c,y=void 0===y||!!y):this.engine.process(this.namespaceId,c,d.slice(1),y):this.delegate.setProperty(c,d,y)}listen(c,d,y){if("@"==d.charAt(0)){const x=function ms(z){switch(z){case"body":return document.body;case"document":return document;case"window":return window;default:return z}}(c);let W=d.slice(1),ye="";return"@"!=W.charAt(0)&&([W,ye]=function Zr(z){const c=z.indexOf(".");return[z.substring(0,c),z.slice(c+1)]}(W)),this.engine.listen(this.namespaceId,x,W,ye,ve=>{this.factory.scheduleListenerCallback(ve._data||-1,y,ve)})}return this.delegate.listen(c,d,y)}}const No=[{provide:w._j,useClass:Gi},{provide:Yi,useFactory:function br(){return new go}},{provide:ui,useClass:(()=>{class z extends ui{constructor(d,y,x,W){super(d.body,y,x)}ngOnDestroy(){this.flush()}}return z.\u0275fac=function(d){return new(d||z)(p.LFG(a.K0),p.LFG(Ve),p.LFG(Yi),p.LFG(p.z2F))},z.\u0275prov=p.Yz7({token:z,factory:z.\u0275fac}),z})()},{provide:p.FYo,useFactory:function Qi(z,c,d){return new Zi(z,c,d)},deps:[R.se,ui,p.R0b]}],Ai=[{provide:Ve,useFactory:()=>new zr},{provide:p.QbO,useValue:"BrowserAnimations"},...No],Jo=[{provide:Ve,useClass:kt},{provide:p.QbO,useValue:"NoopAnimations"},...No];let fi=(()=>{class z{static withConfig(d){return{ngModule:z,providers:d.disableAnimations?Jo:Ai}}}return z.\u0275fac=function(d){return new(d||z)},z.\u0275mod=p.oAB({type:z}),z.\u0275inj=p.cJS({providers:Ai,imports:[R.b2]}),z})();var pi=h(19132),sn=h(41218);const M=[sn.V65,sn.mTc,sn.yQU,sn.Ej7,sn.np6,sn.RU0,sn.RYI,sn.fw2,sn.qX0,sn.zdJ,sn.sZJ,sn.HT8,sn.qgH,sn.Kgj,sn.XuQ,sn.BOg,sn.M4u,sn.s_U,sn.LBP,sn._ry,sn.uM7,sn.Xwh,sn.fhO,sn.Qgp,sn.BJ,sn.MjI,sn.SFb,sn.csm,sn.Mwl,sn.daL,sn.ECp,sn.rk5,sn._4m,sn.vp7,sn.jQl];var S=h(56451),C=h(54968),F=h(54004),he=h(68675),je=h(39597),Ze=h(70048),zt=h(2577),un=h(17131),cn=h(21102),yn=h(77579),ln=h(82722),bn=h(70655),_n=h(33303),En=h(3187),Gn=h(73325),to=h(83353),wo=h(40445),Po=h(62289);const Zn=["*"],Oo=["nz-sider-trigger",""];function Er(z,c){}function _s(z,c){if(1&z&&(p.ynx(0),p.YNc(1,Er,0,0,"ng-template",3),p.BQk()),2&z){const d=p.oxw(),y=p.MAs(5);p.xp6(1),p.Q6J("ngTemplateOutlet",d.nzZeroTrigger||y)}}function ki(z,c){}function Sr(z,c){if(1&z&&(p.ynx(0),p.YNc(1,ki,0,0,"ng-template",3),p.BQk()),2&z){const d=p.oxw(),y=p.MAs(3);p.xp6(1),p.Q6J("ngTemplateOutlet",d.nzTrigger||y)}}function Jr(z,c){if(1&z&&p._UZ(0,"span",5),2&z){const d=p.oxw(2);p.Q6J("nzType",d.nzCollapsed?"right":"left")}}function Xr(z,c){if(1&z&&p._UZ(0,"span",5),2&z){const d=p.oxw(2);p.Q6J("nzType",d.nzCollapsed?"left":"right")}}function Ca(z,c){if(1&z&&(p.YNc(0,Jr,1,1,"span",4),p.YNc(1,Xr,1,1,"span",4)),2&z){const d=p.oxw();p.Q6J("ngIf",!d.nzReverseArrow),p.xp6(1),p.Q6J("ngIf",d.nzReverseArrow)}}function Da(z,c){1&z&&p._UZ(0,"span",6)}function Tr(z,c){if(1&z){const d=p.EpF();p.TgZ(0,"div",2),p.NdJ("click",function(){p.CHM(d);const x=p.oxw();return p.KtG(x.setCollapsed(!x.nzCollapsed))}),p.qZA()}if(2&z){const d=p.oxw();p.Q6J("matchBreakPoint",d.matchBreakPoint)("nzCollapsedWidth",d.nzCollapsedWidth)("nzCollapsed",d.nzCollapsed)("nzBreakpoint",d.nzBreakpoint)("nzReverseArrow",d.nzReverseArrow)("nzTrigger",d.nzTrigger)("nzZeroTrigger",d.nzZeroTrigger)("siderWidth",d.widthSetting)}}let Ms=(()=>{class z{constructor(d,y){this.elementRef=d,this.renderer=y,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}}return z.\u0275fac=function(d){return new(d||z)(p.Y36(p.SBq),p.Y36(p.Qsj))},z.\u0275cmp=p.Xpm({type:z,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:Zn,decls:1,vars:0,template:function(d,y){1&d&&(p.F$t(),p.Hsn(0))},encapsulation:2,changeDetection:0}),z})(),xr=(()=>{class z{constructor(d,y){this.elementRef=d,this.renderer=y,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}}return z.\u0275fac=function(d){return new(d||z)(p.Y36(p.SBq),p.Y36(p.Qsj))},z.\u0275cmp=p.Xpm({type:z,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:Zn,decls:1,vars:0,template:function(d,y){1&d&&(p.F$t(),p.Hsn(0))},encapsulation:2,changeDetection:0}),z})(),qr=(()=>{class z{constructor(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}updateTriggerType(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}}return z.\u0275fac=function(d){return new(d||z)},z.\u0275cmp=p.Xpm({type:z,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(d,y){2&d&&(p.Udp("width",y.isNormalTrigger?y.siderWidth:null),p.ekj("ant-layout-sider-trigger",y.isNormalTrigger)("ant-layout-sider-zero-width-trigger",y.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",y.isZeroTrigger&&y.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",y.isZeroTrigger&&!y.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[p.TTD],attrs:Oo,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(d,y){1&d&&(p.YNc(0,_s,2,1,"ng-container",0),p.YNc(1,Sr,2,1,"ng-container",0),p.YNc(2,Ca,2,2,"ng-template",null,1,p.W1O),p.YNc(4,Da,1,0,"ng-template",null,2,p.W1O)),2&d&&(p.Q6J("ngIf",y.isZeroTrigger),p.xp6(1),p.Q6J("ngIf",y.isNormalTrigger))},dependencies:[a.O5,a.tP,cn.Ls],encapsulation:2,changeDetection:0}),z})(),Ji=(()=>{class z{constructor(d,y,x){this.platform=d,this.cdr=y,this.breakpointService=x,this.destroy$=new yn.x,this.nzMenuDirective=null,this.nzCollapsedChange=new p.vpe,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null}updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:(0,En.WX)(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(d){d!==this.nzCollapsed&&(this.nzCollapsed=d,this.nzCollapsedChange.emit(d),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(_n.ow,!0).pipe((0,ln.R)(this.destroy$)).subscribe(d=>{const y=this.nzBreakpoint;y&&(0,En.ov)().subscribe(()=>{this.matchBreakPoint=!d[y],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(d){const{nzCollapsed:y,nzCollapsedWidth:x,nzWidth:W}=d;(y||x||W)&&this.updateStyleMap(),y&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return z.\u0275fac=function(d){return new(d||z)(p.Y36(to.t4),p.Y36(p.sBO),p.Y36(_n.r3))},z.\u0275cmp=p.Xpm({type:z,selectors:[["nz-sider"]],contentQueries:function(d,y,x){if(1&d&&p.Suo(x,Gn.wO,5),2&d){let W;p.iGM(W=p.CRH())&&(y.nzMenuDirective=W.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(d,y){2&d&&(p.Udp("flex",y.flexSetting)("max-width",y.widthSetting)("min-width",y.widthSetting)("width",y.widthSetting),p.ekj("ant-layout-sider-zero-width",y.nzCollapsed&&0===y.nzCollapsedWidth)("ant-layout-sider-light","light"===y.nzTheme)("ant-layout-sider-dark","dark"===y.nzTheme)("ant-layout-sider-collapsed",y.nzCollapsed)("ant-layout-sider-has-trigger",y.nzCollapsible&&null!==y.nzTrigger))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[p.TTD],ngContentSelectors:Zn,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(d,y){1&d&&(p.F$t(),p.TgZ(0,"div",0),p.Hsn(1),p.qZA(),p.YNc(2,Tr,1,8,"div",1)),2&d&&(p.xp6(2),p.Q6J("ngIf",y.nzCollapsible&&null!==y.nzTrigger))},dependencies:[a.O5,qr],encapsulation:2,changeDetection:0}),(0,bn.gn)([(0,En.yF)()],z.prototype,"nzReverseArrow",void 0),(0,bn.gn)([(0,En.yF)()],z.prototype,"nzCollapsible",void 0),(0,bn.gn)([(0,En.yF)()],z.prototype,"nzCollapsed",void 0),z})(),Xo=(()=>{class z{constructor(d){this.directionality=d,this.dir="ltr",this.destroy$=new yn.x}ngOnInit(){var d;this.dir=this.directionality.value,null===(d=this.directionality.change)||void 0===d||d.pipe((0,ln.R)(this.destroy$)).subscribe(y=>{this.dir=y})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return z.\u0275fac=function(d){return new(d||z)(p.Y36(wo.Is,8))},z.\u0275cmp=p.Xpm({type:z,selectors:[["nz-layout"]],contentQueries:function(d,y,x){if(1&d&&p.Suo(x,Ji,4),2&d){let W;p.iGM(W=p.CRH())&&(y.listOfNzSiderComponent=W)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(d,y){2&d&&p.ekj("ant-layout-rtl","rtl"===y.dir)("ant-layout-has-sider",y.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:Zn,decls:1,vars:0,template:function(d,y){1&d&&(p.F$t(),p.Hsn(0))},encapsulation:2,changeDetection:0}),z})(),es=(()=>{class z{}return z.\u0275fac=function(d){return new(d||z)},z.\u0275mod=p.oAB({type:z}),z.\u0275inj=p.cJS({imports:[wo.vT,a.ez,cn.PV,Po.xu,to.ud]}),z})();var mi=h(22679);const ts=function(){return["/submit"]};function Pr(z,c){1&z&&(p.TgZ(0,"li",5)(1,"span"),p._UZ(2,"i",24),p.TgZ(3,"span"),p._uU(4,"Submit New Job"),p.qZA()()()),2&z&&p.Q6J("routerLink",p.DdM(1,ts))}const wa=function(){return["/task-manager"]},Cs=function(){return["/job-manager"]};function Xi(z,c){if(1&z&&(p.ynx(0),p.TgZ(1,"li",5)(2,"span"),p._UZ(3,"i",21),p.TgZ(4,"span"),p._uU(5,"Task Managers"),p.qZA()()(),p.TgZ(6,"li",5)(7,"span"),p._UZ(8,"i",22),p.TgZ(9,"span"),p._uU(10,"Job Manager"),p.qZA()()(),p.YNc(11,Pr,5,2,"li",23),p.BQk()),2&z){const d=p.oxw();p.xp6(1),p.Q6J("routerLink",p.DdM(3,wa)),p.xp6(5),p.Q6J("routerLink",p.DdM(4,Cs)),p.xp6(5),p.Q6J("ngIf",d.webSubmitEnabled)}}function Ds(z,c){if(1&z&&p._UZ(0,"nz-alert",26),2&z){const d=c.$implicit;p.Q6J("nzShowIcon",!0)("nzType","info")("nzMessage","Server Response:")("nzDescription",d)}}function yo(z,c){if(1&z&&(p.ynx(0),p.YNc(1,Ds,1,4,"nz-alert",25),p.BQk()),2&z){const d=p.oxw();p.xp6(1),p.Q6J("ngForOf",d.statusService.listOfErrorMessage)}}const ns=function(){return["/overview"]},qi=function(){return["/job/running"]},os=function(){return["/job/completed"]};let Ii=(()=>{class z{constructor(d,y){this.statusService=d,this.cdr=y,this.collapsed=!1,this.visible=!1,this.online$=(0,S.T)((0,C.R)(window,"offline").pipe((0,F.U)(()=>!1)),(0,C.R)(window,"online").pipe((0,F.U)(()=>!0))).pipe((0,he.O)(!0)),this.historyServerEnv=this.statusService.configuration.features["web-history"],this.webSubmitEnabled=this.statusService.configuration.features["web-submit"]}showMessage(){this.statusService.listOfErrorMessage.length&&(this.visible=!0,this.cdr.markForCheck())}clearMessage(){this.statusService.listOfErrorMessage=[],this.visible=!1,this.cdr.markForCheck()}toggleCollapse(){this.collapsed=!this.collapsed,this.cdr.markForCheck()}}return z.\u0275fac=function(d){return new(d||z)(p.Y36(mi.B),p.Y36(p.sBO))},z.\u0275cmp=p.Xpm({type:z,selectors:[["flink-root"]],standalone:!0,features:[p.jDz],decls:57,vars:28,consts:[["nzCollapsible","",3,"nzCollapsed","nzTrigger","nzWidth","nzCollapsedChange"],[1,"logo"],["href","#/"],["src","assets/images/flink.svg"],["nz-menu","",1,"menu",3,"nzTheme","nzMode","nzInlineCollapsed"],["nz-menu-item","","routerLinkActive","ant-menu-item-selected",3,"routerLink"],["nz-icon","","nzType","dashboard"],["nz-submenu","",3,"nzOpen"],["title",""],["nz-icon","","nzType","bars"],["nz-icon","","nzType","play-circle"],["nz-icon","","nzType","check-circle"],[4,"ngIf"],["nz-icon","",1,"trigger",3,"nzType","click"],[1,"right"],["nzType","vertical"],[3,"hidden"],["nzShowZero","",3,"nzCount","click"],[1,"offline"],["nzPlacement","right","nzTitle","Server Response Message List",3,"nzVisible","nzWidth","nzOnClose"],[4,"nzDrawerContent"],["nz-icon","","nzType","schedule"],["nz-icon","","nzType","build"],["nz-menu-item","","routerLinkActive","ant-menu-item-selected",3,"routerLink",4,"ngIf"],["nz-icon","","nzType","upload"],[3,"nzShowIcon","nzType","nzMessage","nzDescription",4,"ngFor","ngForOf"],[3,"nzShowIcon","nzType","nzMessage","nzDescription"]],template:function(d,y){1&d&&(p.TgZ(0,"nz-layout")(1,"nz-sider",0),p.NdJ("nzCollapsedChange",function(W){return y.collapsed=W}),p.TgZ(2,"div",1)(3,"a",2),p._UZ(4,"img",3),p.TgZ(5,"h1"),p._uU(6,"Apache Flink Dashboard"),p.qZA()()(),p.TgZ(7,"ul",4)(8,"li",5)(9,"span"),p._UZ(10,"i",6),p.TgZ(11,"span"),p._uU(12,"Overview"),p.qZA()()(),p.TgZ(13,"li",7)(14,"span",8),p._UZ(15,"i",9),p.TgZ(16,"span"),p._uU(17,"Jobs"),p.qZA()(),p.TgZ(18,"ul")(19,"li",5)(20,"span"),p._UZ(21,"i",10),p.TgZ(22,"span"),p._uU(23,"Running Jobs"),p.qZA()()(),p.TgZ(24,"li",5)(25,"span"),p._UZ(26,"i",11),p.TgZ(27,"span"),p._uU(28,"Completed Jobs"),p.qZA()()()()(),p.YNc(29,Xi,12,5,"ng-container",12),p.qZA()(),p.TgZ(30,"nz-layout")(31,"nz-header")(32,"i",13),p.NdJ("click",function(){return y.toggleCollapse()}),p.qZA(),p.TgZ(33,"div",14)(34,"span")(35,"strong"),p._uU(36,"Version:"),p.qZA(),p._uU(37),p.qZA(),p._UZ(38,"nz-divider",15),p.TgZ(39,"span")(40,"strong"),p._uU(41,"Commit:"),p.qZA(),p._uU(42),p.qZA(),p._UZ(43,"nz-divider",15),p.TgZ(44,"span",16),p.ALo(45,"async"),p.TgZ(46,"strong"),p._uU(47,"Message:"),p.qZA(),p.TgZ(48,"nz-badge",17),p.NdJ("click",function(){return y.showMessage()}),p.qZA()(),p.TgZ(49,"span",16),p.ALo(50,"async"),p.TgZ(51,"strong",18),p._uU(52,"Lost Connection, Reconnecting Now..."),p.qZA()()()(),p.TgZ(53,"nz-content"),p._UZ(54,"router-outlet"),p.qZA()()(),p.TgZ(55,"nz-drawer",19),p.NdJ("nzOnClose",function(){return y.clearMessage()}),p.YNc(56,yo,2,1,"ng-container",20),p.qZA()),2&d&&(p.xp6(1),p.Q6J("nzCollapsed",y.collapsed)("nzTrigger",null)("nzWidth",256),p.xp6(6),p.Q6J("nzTheme","dark")("nzMode","inline")("nzInlineCollapsed",y.collapsed),p.xp6(1),p.Q6J("routerLink",p.DdM(25,ns)),p.xp6(5),p.Q6J("nzOpen",!0),p.xp6(6),p.Q6J("routerLink",p.DdM(26,qi)),p.xp6(5),p.Q6J("routerLink",p.DdM(27,os)),p.xp6(5),p.Q6J("ngIf",!y.historyServerEnv),p.xp6(3),p.Q6J("nzType",y.collapsed?"menu-unfold":"menu-fold"),p.xp6(5),p.hij(" ",y.statusService.configuration["flink-version"]," "),p.xp6(5),p.hij(" ",y.statusService.configuration["flink-revision"]," "),p.xp6(2),p.Q6J("hidden",!1===p.lcZ(45,21,y.online$)),p.xp6(4),p.ekj("normal",0===y.statusService.listOfErrorMessage.length),p.Q6J("nzCount",y.statusService.listOfErrorMessage.length),p.xp6(1),p.Q6J("hidden",p.lcZ(50,23,y.online$)),p.xp6(6),p.Q6J("nzVisible",y.visible)("nzWidth",500))},dependencies:[pi.rH,pi.Od,pi.lC,a.Ov,es,Xo,xr,Ms,Ji,Gn.ip,Gn.wO,Gn.r9,Gn.rY,cn.PV,cn.Ls,zt.S,zt.g,Ze.mS,Ze.x7,un.BL,un.Vz,un.SQ,je.L,je.r,a.O5,a.sg],styles:[".trigger[_ngcontent-%COMP%]{padding:0 24px;font-size:18px;line-height:64px;cursor:pointer;transition:color .3s}.trigger[_ngcontent-%COMP%]:hover{color:#1890ff}.logo[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:64px;padding-left:24px;background:#001529;line-height:64px;transition:all .3s ease 0s}.logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:64px}.logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin:0 0 0 12px;color:#fff;font-weight:600;font-size:14px;font-family:Myriad Pro,Helvetica Neue,Arial,Helvetica,sans-serif}.logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;top:-4px;display:inline-block;vertical-align:middle;width:32px;height:32px}nz-layout[_ngcontent-%COMP%]{overflow:hidden;min-height:100vh;background:#f2f2f2}nz-sider[_ngcontent-%COMP%]{position:relative;z-index:10;min-height:100vh;box-shadow:#00152959 2px 0 6px}nz-header[_ngcontent-%COMP%]{position:relative;flex:0 0 auto;overflow:hidden;padding:0 12px 0 0;border-bottom:1px solid #f0f0f0;background:#fff;box-shadow:0 1px 4px #00152914}nz-header[_ngcontent-%COMP%]   nz-badge[_ngcontent-%COMP%]{vertical-align:middle;margin-left:12px;cursor:pointer}nz-header[_ngcontent-%COMP%]   nz-badge[_ngcontent-%COMP%]     .ant-badge-count{background:#1890ff}nz-header[_ngcontent-%COMP%]   nz-badge.normal[_ngcontent-%COMP%]{cursor:default}nz-header[_ngcontent-%COMP%]   nz-badge.normal[_ngcontent-%COMP%]     .ant-badge-count{background:rgba(0,0,0,.85)}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{float:right;height:100%}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:inline-block;height:100%;padding:0 12px;color:#000000d9}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:all .3s}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background:#fafafa}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{vertical-align:middle;font-size:16px}nz-header[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .version[_ngcontent-%COMP%]{cursor:default}nz-content[_ngcontent-%COMP%]{flex:1 1 auto;height:100%;margin:24px}.menu[_ngcontent-%COMP%]{padding:16px 0}nz-alert[_ngcontent-%COMP%]{margin-bottom:12px}.offline[_ngcontent-%COMP%]{color:#ff4d4f;animation:opacity 3s ease-in infinite alternate}@keyframes opacity{0%{opacity:1}50%{opacity:.2}to{opacity:1}}"],changeDetection:0}),z})();var Or=h(62843),Ar=h(70262),ws=h(60387);let zs=(()=>{class z{constructor(d,y){this.statusService=d,this.notificationService=y}intercept(d,y){const x=["checkpoints/config","checkpoints"],W=["File not found."],ye={nzDuration:0,nzStyle:{width:"auto","white-space":"pre-wrap"}};return y.handle(d.clone({withCredentials:!0})).pipe((0,Ar.K)(ve=>{ve instanceof s.QO&&(301==ve.status||307==ve.status||303==ve.status)&&ve.headers.has("Location")&&(window.location.href=String(ve.headers.get("Location")));const Be=ve&&ve.error&&ve.error.errors&&ve.error.errors[0];return Be&&x.every(Xe=>!ve.url.endsWith(Xe))&&W.every(Xe=>Be!==Xe)&&(this.statusService.listOfErrorMessage.push(Be),this.notificationService.info("Server Response Message:",Be.replaceAll(" at ","\n at "),ye)),(0,Or._)(ve)}))}}return z.\u0275fac=function(d){return new(d||z)(p.LFG(mi.B),p.LFG(ws.zb))},z.\u0275prov=p.Yz7({token:z,factory:z.\u0275fac}),z})();const bs=[{path:"overview",loadComponent:()=>Promise.all([h.e(6675),h.e(7570),h.e(1971),h.e(8380),h.e(1940),h.e(7370)]).then(h.bind(h,67370)).then(z=>z.OverviewComponent)},{path:"submit",loadComponent:()=>Promise.all([h.e(6675),h.e(7570),h.e(1971),h.e(8380),h.e(9691),h.e(9088),h.e(6704),h.e(3055),h.e(6992)]).then(h.bind(h,56992)).then(z=>z.SubmitComponent)},{path:"job-manager",loadChildren:()=>Promise.all([h.e(8380),h.e(6),h.e(4430)]).then(h.bind(h,54430)).then(z=>z.JOB_MANAGER_ROUTES)},{path:"task-manager",loadChildren:()=>Promise.all([h.e(6675),h.e(1971),h.e(8380),h.e(6),h.e(2541),h.e(8592),h.e(3297)]).then(h.bind(h,33297)).then(z=>z.TASK_MANAGER_ROUTES)},{path:"job",loadChildren:()=>Promise.all([h.e(6675),h.e(7570),h.e(1971),h.e(8380),h.e(1940),h.e(5147)]).then(h.bind(h,5147)).then(z=>z.JOB_ROUTES)},{path:"**",redirectTo:"overview",pathMatch:"full"}];var is=h(72536),Hn=h(91811);(0,p.G48)(),(0,a.qS)(q),(0,R.Cg)(Ii,{providers:[{provide:Hn.u7,useValue:Hn.iF},{provide:is.d_,useValue:{notification:{nzMaxStack:1}}},{provide:cn.sV,useValue:M},{provide:s.TP,useClass:zs,multi:!0},{provide:p.ip1,useFactory:function er(z,c){return()=>z.boot(c.get(pi.F0))},deps:[mi.B,p.zs3],multi:!0},(0,p.RIp)(s.JF),(0,p.RIp)(fi),(0,p.RIp)(ws.L8),(0,p.RIp)(pi.Bz.forRoot([...bs],{useHash:!0}))]}).catch(z=>console.error(z))},61135:(ot,pe,h)=>{h.d(pe,{X:()=>s});var a=h(77579);class s extends a.x{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const q=super._subscribe(Y);return!q.closed&&Y.next(this._value),q}getValue(){const{hasError:Y,thrownError:q,_value:p}=this;if(Y)throw q;return this._throwIfClosed(),p}next(Y){super.next(this._value=Y)}}},69751:(ot,pe,h)=>{h.d(pe,{y:()=>w});var a=h(70930),s=h(50727),T=h(48822),Y=h(89635),q=h(42416),p=h(30576),R=h(72806);let w=(()=>{class G{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const $=new G;return $.source=this,$.operator=Te,$}subscribe(Te,$,Me){const j=function U(G){return G&&G instanceof a.Lv||function A(G){return G&&(0,p.m)(G.next)&&(0,p.m)(G.error)&&(0,p.m)(G.complete)}(G)&&(0,s.Nn)(G)}(Te)?Te:new a.Hp(Te,$,Me);return(0,R.x)(()=>{const{operator:De,source:xe}=this;j.add(De?De.call(j,xe):xe?this._subscribe(j):this._trySubscribe(j))}),j}_trySubscribe(Te){try{return this._subscribe(Te)}catch($){Te.error($)}}forEach(Te,$){return new($=P($))((Me,j)=>{const De=new a.Hp({next:xe=>{try{Te(xe)}catch(Fe){j(Fe),De.unsubscribe()}},error:j,complete:Me});this.subscribe(De)})}_subscribe(Te){var $;return null===($=this.source)||void 0===$?void 0:$.subscribe(Te)}[T.L](){return this}pipe(...Te){return(0,Y.U)(Te)(this)}toPromise(Te){return new(Te=P(Te))(($,Me)=>{let j;this.subscribe(De=>j=De,De=>Me(De),()=>$(j))})}}return G.create=de=>new G(de),G})();function P(G){var de;return null!==(de=G??q.v.Promise)&&void 0!==de?de:Promise}},4707:(ot,pe,h)=>{h.d(pe,{t:()=>T});var a=h(77579),s=h(26063);class T extends a.x{constructor(q=1/0,p=1/0,R=s.l){super(),this._bufferSize=q,this._windowTime=p,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=p===1/0,this._bufferSize=Math.max(1,q),this._windowTime=Math.max(1,p)}next(q){const{isStopped:p,_buffer:R,_infiniteTimeWindow:w,_timestampProvider:P,_windowTime:A}=this;p||(R.push(q),!w&&R.push(P.now()+A)),this._trimBuffer(),super.next(q)}_subscribe(q){this._throwIfClosed(),this._trimBuffer();const p=this._innerSubscribe(q),{_infiniteTimeWindow:R,_buffer:w}=this,P=w.slice();for(let A=0;A{h.d(pe,{x:()=>R});var a=h(69751),s=h(50727);const Y=(0,h(83888).d)(P=>function(){P(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var q=h(38737),p=h(72806);let R=(()=>{class P extends a.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(U){const G=new w(this,this);return G.operator=U,G}_throwIfClosed(){if(this.closed)throw new Y}next(U){(0,p.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const G of this.currentObservers)G.next(U)}})}error(U){(0,p.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=U;const{observers:G}=this;for(;G.length;)G.shift().error(U)}})}complete(){(0,p.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:U}=this;for(;U.length;)U.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var U;return(null===(U=this.observers)||void 0===U?void 0:U.length)>0}_trySubscribe(U){return this._throwIfClosed(),super._trySubscribe(U)}_subscribe(U){return this._throwIfClosed(),this._checkFinalizedStatuses(U),this._innerSubscribe(U)}_innerSubscribe(U){const{hasError:G,isStopped:de,observers:Te}=this;return G||de?s.Lc:(this.currentObservers=null,Te.push(U),new s.w0(()=>{this.currentObservers=null,(0,q.P)(Te,U)}))}_checkFinalizedStatuses(U){const{hasError:G,thrownError:de,isStopped:Te}=this;G?U.error(de):Te&&U.complete()}asObservable(){const U=new a.y;return U.source=this,U}}return P.create=(A,U)=>new w(A,U),P})();class w extends R{constructor(A,U){super(),this.destination=A,this.source=U}next(A){var U,G;null===(G=null===(U=this.destination)||void 0===U?void 0:U.next)||void 0===G||G.call(U,A)}error(A){var U,G;null===(G=null===(U=this.destination)||void 0===U?void 0:U.error)||void 0===G||G.call(U,A)}complete(){var A,U;null===(U=null===(A=this.destination)||void 0===A?void 0:A.complete)||void 0===U||U.call(A)}_subscribe(A){var U,G;return null!==(G=null===(U=this.source)||void 0===U?void 0:U.subscribe(A))&&void 0!==G?G:s.Lc}}},70930:(ot,pe,h)=>{h.d(pe,{Hp:()=>Me,Lv:()=>G});var a=h(30576),s=h(50727),T=h(42416),Y=h(87849),q=h(25032);const p=P("C",void 0,void 0);function P(be,B,re){return{kind:be,value:B,error:re}}var A=h(43410),U=h(72806);class G extends s.w0{constructor(B){super(),this.isStopped=!1,B?(this.destination=B,(0,s.Nn)(B)&&B.add(this)):this.destination=Fe}static create(B,re,_e){return new Me(B,re,_e)}next(B){this.isStopped?xe(function w(be){return P("N",be,void 0)}(B),this):this._next(B)}error(B){this.isStopped?xe(function R(be){return P("E",void 0,be)}(B),this):(this.isStopped=!0,this._error(B))}complete(){this.isStopped?xe(p,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(B){this.destination.next(B)}_error(B){try{this.destination.error(B)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const de=Function.prototype.bind;function Te(be,B){return de.call(be,B)}class ${constructor(B){this.partialObserver=B}next(B){const{partialObserver:re}=this;if(re.next)try{re.next(B)}catch(_e){j(_e)}}error(B){const{partialObserver:re}=this;if(re.error)try{re.error(B)}catch(_e){j(_e)}else j(B)}complete(){const{partialObserver:B}=this;if(B.complete)try{B.complete()}catch(re){j(re)}}}class Me extends G{constructor(B,re,_e){let se;if(super(),(0,a.m)(B)||!B)se={next:B??void 0,error:re??void 0,complete:_e??void 0};else{let Se;this&&T.v.useDeprecatedNextContext?(Se=Object.create(B),Se.unsubscribe=()=>this.unsubscribe(),se={next:B.next&&Te(B.next,Se),error:B.error&&Te(B.error,Se),complete:B.complete&&Te(B.complete,Se)}):se=B}this.destination=new $(se)}}function j(be){T.v.useDeprecatedSynchronousErrorHandling?(0,U.O)(be):(0,Y.h)(be)}function xe(be,B){const{onStoppedNotification:re}=T.v;re&&A.z.setTimeout(()=>re(be,B))}const Fe={closed:!0,next:q.Z,error:function De(be){throw be},complete:q.Z}},50727:(ot,pe,h)=>{h.d(pe,{Lc:()=>p,w0:()=>q,Nn:()=>R});var a=h(30576);const T=(0,h(83888).d)(P=>function(U){P(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((G,de)=>`${de+1}) ${G.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=U});var Y=h(38737);class q{constructor(A){this.initialTeardown=A,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let A;if(!this.closed){this.closed=!0;const{_parentage:U}=this;if(U)if(this._parentage=null,Array.isArray(U))for(const Te of U)Te.remove(this);else U.remove(this);const{initialTeardown:G}=this;if((0,a.m)(G))try{G()}catch(Te){A=Te instanceof T?Te.errors:[Te]}const{_finalizers:de}=this;if(de){this._finalizers=null;for(const Te of de)try{w(Te)}catch($){A=A??[],$ instanceof T?A=[...A,...$.errors]:A.push($)}}if(A)throw new T(A)}}add(A){var U;if(A&&A!==this)if(this.closed)w(A);else{if(A instanceof q){if(A.closed||A._hasParent(this))return;A._addParent(this)}(this._finalizers=null!==(U=this._finalizers)&&void 0!==U?U:[]).push(A)}}_hasParent(A){const{_parentage:U}=this;return U===A||Array.isArray(U)&&U.includes(A)}_addParent(A){const{_parentage:U}=this;this._parentage=Array.isArray(U)?(U.push(A),U):U?[U,A]:A}_removeParent(A){const{_parentage:U}=this;U===A?this._parentage=null:Array.isArray(U)&&(0,Y.P)(U,A)}remove(A){const{_finalizers:U}=this;U&&(0,Y.P)(U,A),A instanceof q&&A._removeParent(this)}}q.EMPTY=(()=>{const P=new q;return P.closed=!0,P})();const p=q.EMPTY;function R(P){return P instanceof q||P&&"closed"in P&&(0,a.m)(P.remove)&&(0,a.m)(P.add)&&(0,a.m)(P.unsubscribe)}function w(P){(0,a.m)(P)?P():P.unsubscribe()}},42416:(ot,pe,h)=>{h.d(pe,{v:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(ot,pe,h)=>{h.d(pe,{c:()=>p});var a=h(69751),s=h(50727),T=h(38343),Y=h(25403),q=h(54482);class p extends a.y{constructor(w,P){super(),this.source=w,this.subjectFactory=P,this._subject=null,this._refCount=0,this._connection=null,(0,q.A)(w)&&(this.lift=w.lift)}_subscribe(w){return this.getSubject().subscribe(w)}getSubject(){const w=this._subject;return(!w||w.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:w}=this;this._subject=this._connection=null,w?.unsubscribe()}connect(){let w=this._connection;if(!w){w=this._connection=new s.w0;const P=this.getSubject();w.add(this.source.subscribe((0,Y.x)(P,void 0,()=>{this._teardown(),P.complete()},A=>{this._teardown(),P.error(A)},()=>this._teardown()))),w.closed&&(this._connection=null,w=s.w0.EMPTY)}return w}refCount(){return(0,T.x)()(this)}}},39841:(ot,pe,h)=>{h.d(pe,{a:()=>A});var a=h(69751),s=h(54742),T=h(32076),Y=h(44671),q=h(83268),p=h(63269),R=h(31810),w=h(25403),P=h(39672);function A(...de){const Te=(0,p.yG)(de),$=(0,p.jO)(de),{args:Me,keys:j}=(0,s.D)(de);if(0===Me.length)return(0,T.D)([],Te);const De=new a.y(function U(de,Te,$=Y.y){return Me=>{G(Te,()=>{const{length:j}=de,De=new Array(j);let xe=j,Fe=j;for(let be=0;be{const B=(0,T.D)(de[be],Te);let re=!1;B.subscribe((0,w.x)(Me,_e=>{De[be]=_e,re||(re=!0,Fe--),Fe||Me.next($(De.slice()))},()=>{--xe||Me.complete()}))},Me)},Me)}}(Me,Te,j?xe=>(0,R.n)(j,xe):Y.y));return $?De.pipe((0,q.Z)($)):De}function G(de,Te,$){de?(0,P.f)($,de,Te):Te()}},97272:(ot,pe,h)=>{h.d(pe,{z:()=>q});var a=h(8189),T=h(63269),Y=h(32076);function q(...p){return function s(){return(0,a.J)(1)}()((0,Y.D)(p,(0,T.yG)(p)))}},49770:(ot,pe,h)=>{h.d(pe,{P:()=>T});var a=h(69751),s=h(38421);function T(Y){return new a.y(q=>{(0,s.Xf)(Y()).subscribe(q)})}},60515:(ot,pe,h)=>{h.d(pe,{E:()=>s});const s=new(h(69751).y)(q=>q.complete())},32076:(ot,pe,h)=>{h.d(pe,{D:()=>_e});var a=h(38421),s=h(39672),T=h(54482),Y=h(25403);function q(se,Se=0){return(0,T.e)((Ie,oe)=>{Ie.subscribe((0,Y.x)(oe,me=>(0,s.f)(oe,se,()=>oe.next(me),Se),()=>(0,s.f)(oe,se,()=>oe.complete(),Se),me=>(0,s.f)(oe,se,()=>oe.error(me),Se)))})}function p(se,Se=0){return(0,T.e)((Ie,oe)=>{oe.add(se.schedule(()=>Ie.subscribe(oe),Se))})}var P=h(69751),U=h(2202),G=h(30576);function Te(se,Se){if(!se)throw new Error("Iterable cannot be null");return new P.y(Ie=>{(0,s.f)(Ie,Se,()=>{const oe=se[Symbol.asyncIterator]();(0,s.f)(Ie,Se,()=>{oe.next().then(me=>{me.done?Ie.complete():Ie.next(me.value)})},0,!0)})})}var $=h(93670),Me=h(28239),j=h(81144),De=h(26495),xe=h(12206),Fe=h(44532),be=h(53260);function _e(se,Se){return Se?function re(se,Se){if(null!=se){if((0,$.c)(se))return function R(se,Se){return(0,a.Xf)(se).pipe(p(Se),q(Se))}(se,Se);if((0,j.z)(se))return function A(se,Se){return new P.y(Ie=>{let oe=0;return Se.schedule(function(){oe===se.length?Ie.complete():(Ie.next(se[oe++]),Ie.closed||this.schedule())})})}(se,Se);if((0,Me.t)(se))return function w(se,Se){return(0,a.Xf)(se).pipe(p(Se),q(Se))}(se,Se);if((0,xe.D)(se))return Te(se,Se);if((0,De.T)(se))return function de(se,Se){return new P.y(Ie=>{let oe;return(0,s.f)(Ie,Se,()=>{oe=se[U.h](),(0,s.f)(Ie,Se,()=>{let me,Q;try{({value:me,done:Q}=oe.next())}catch(Ce){return void Ie.error(Ce)}Q?Ie.complete():Ie.next(me)},0,!0)}),()=>(0,G.m)(oe?.return)&&oe.return()})}(se,Se);if((0,be.L)(se))return function B(se,Se){return Te((0,be.Q)(se),Se)}(se,Se)}throw(0,Fe.z)(se)}(se,Se):(0,a.Xf)(se)}},54968:(ot,pe,h)=>{h.d(pe,{R:()=>A});var a=h(38421),s=h(69751),T=h(95577),Y=h(81144),q=h(30576),p=h(83268);const R=["addListener","removeListener"],w=["addEventListener","removeEventListener"],P=["on","off"];function A($,Me,j,De){if((0,q.m)(j)&&(De=j,j=void 0),De)return A($,Me,j).pipe((0,p.Z)(De));const[xe,Fe]=function Te($){return(0,q.m)($.addEventListener)&&(0,q.m)($.removeEventListener)}($)?w.map(be=>B=>$[be](Me,B,j)):function G($){return(0,q.m)($.addListener)&&(0,q.m)($.removeListener)}($)?R.map(U($,Me)):function de($){return(0,q.m)($.on)&&(0,q.m)($.off)}($)?P.map(U($,Me)):[];if(!xe&&(0,Y.z)($))return(0,T.z)(be=>A(be,Me,j))((0,a.Xf)($));if(!xe)throw new TypeError("Invalid event target");return new s.y(be=>{const B=(...re)=>be.next(1Fe(B)})}function U($,Me){return j=>De=>$[j](Me,De)}},38421:(ot,pe,h)=>{h.d(pe,{Xf:()=>de});var a=h(70655),s=h(81144),T=h(28239),Y=h(69751),q=h(93670),p=h(12206),R=h(44532),w=h(26495),P=h(53260),A=h(30576),U=h(87849),G=h(48822);function de(be){if(be instanceof Y.y)return be;if(null!=be){if((0,q.c)(be))return function Te(be){return new Y.y(B=>{const re=be[G.L]();if((0,A.m)(re.subscribe))return re.subscribe(B);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(be);if((0,s.z)(be))return function $(be){return new Y.y(B=>{for(let re=0;re{be.then(re=>{B.closed||(B.next(re),B.complete())},re=>B.error(re)).then(null,U.h)})}(be);if((0,p.D)(be))return De(be);if((0,w.T)(be))return function j(be){return new Y.y(B=>{for(const re of be)if(B.next(re),B.closed)return;B.complete()})}(be);if((0,P.L)(be))return function xe(be){return De((0,P.Q)(be))}(be)}throw(0,R.z)(be)}function De(be){return new Y.y(B=>{(function Fe(be,B){var re,_e,se,Se;return(0,a.mG)(this,void 0,void 0,function*(){try{for(re=(0,a.KL)(be);!(_e=yield re.next()).done;)if(B.next(_e.value),B.closed)return}catch(Ie){se={error:Ie}}finally{try{_e&&!_e.done&&(Se=re.return)&&(yield Se.call(re))}finally{if(se)throw se.error}}B.complete()})})(be,B).catch(re=>B.error(re))})}},17445:(ot,pe,h)=>{h.d(pe,{F:()=>T});var a=h(34986),s=h(5963);function T(Y=0,q=a.z){return Y<0&&(Y=0),(0,s.H)(Y,Y,q)}},56451:(ot,pe,h)=>{h.d(pe,{T:()=>p});var a=h(8189),s=h(38421),T=h(60515),Y=h(63269),q=h(32076);function p(...R){const w=(0,Y.yG)(R),P=(0,Y._6)(R,1/0),A=R;return A.length?1===A.length?(0,s.Xf)(A[0]):(0,a.J)(P)((0,q.D)(A,w)):T.E}},39646:(ot,pe,h)=>{h.d(pe,{of:()=>T});var a=h(63269),s=h(32076);function T(...Y){const q=(0,a.yG)(Y);return(0,s.D)(Y,q)}},62843:(ot,pe,h)=>{h.d(pe,{_:()=>T});var a=h(69751),s=h(30576);function T(Y,q){const p=(0,s.m)(Y)?Y:()=>Y,R=w=>w.error(p());return new a.y(q?w=>q.schedule(R,0,w):R)}},5963:(ot,pe,h)=>{h.d(pe,{H:()=>q});var a=h(69751),s=h(34986),T=h(93532);function q(p=0,R,w=s.P){let P=-1;return null!=R&&((0,T.K)(R)?w=R:P=R),new a.y(A=>{let U=function Y(p){return p instanceof Date&&!isNaN(p)}(p)?+p-w.now():p;U<0&&(U=0);let G=0;return w.schedule(function(){A.closed||(A.next(G++),0<=P?this.schedule(void 0,P):A.complete())},U)})}},25403:(ot,pe,h)=>{h.d(pe,{x:()=>s});var a=h(70930);function s(Y,q,p,R,w){return new T(Y,q,p,R,w)}class T extends a.Lv{constructor(q,p,R,w,P,A){super(q),this.onFinalize=P,this.shouldUnsubscribe=A,this._next=p?function(U){try{p(U)}catch(G){q.error(G)}}:super._next,this._error=w?function(U){try{w(U)}catch(G){q.error(G)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(U){q.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var q;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:p}=this;super.unsubscribe(),!p&&(null===(q=this.onFinalize)||void 0===q||q.call(this))}}}},23601:(ot,pe,h)=>{h.d(pe,{e:()=>R});var a=h(34986),s=h(54482),T=h(38421),Y=h(25403),p=h(5963);function R(w,P=a.z){return function q(w){return(0,s.e)((P,A)=>{let U=!1,G=null,de=null,Te=!1;const $=()=>{if(de?.unsubscribe(),de=null,U){U=!1;const j=G;G=null,A.next(j)}Te&&A.complete()},Me=()=>{de=null,Te&&A.complete()};P.subscribe((0,Y.x)(A,j=>{U=!0,G=j,de||(0,T.Xf)(w(j)).subscribe(de=(0,Y.x)(A,$,Me))},()=>{Te=!0,(!U||!de||de.closed)&&A.complete()}))})}(()=>(0,p.H)(w,P))}},70262:(ot,pe,h)=>{h.d(pe,{K:()=>Y});var a=h(38421),s=h(25403),T=h(54482);function Y(q){return(0,T.e)((p,R)=>{let A,w=null,P=!1;w=p.subscribe((0,s.x)(R,void 0,void 0,U=>{A=(0,a.Xf)(q(U,Y(q)(p))),w?(w.unsubscribe(),w=null,A.subscribe(R)):P=!0})),P&&(w.unsubscribe(),w=null,A.subscribe(R))})}},24351:(ot,pe,h)=>{h.d(pe,{b:()=>T});var a=h(95577),s=h(30576);function T(Y,q){return(0,s.m)(q)?(0,a.z)(Y,q,1):(0,a.z)(Y,1)}},78372:(ot,pe,h)=>{h.d(pe,{b:()=>Y});var a=h(34986),s=h(54482),T=h(25403);function Y(q,p=a.z){return(0,s.e)((R,w)=>{let P=null,A=null,U=null;const G=()=>{if(P){P.unsubscribe(),P=null;const Te=A;A=null,w.next(Te)}};function de(){const Te=U+q,$=p.now();if(${A=Te,U=p.now(),P||(P=p.schedule(de,q),w.add(P))},()=>{G(),w.complete()},void 0,()=>{A=P=null}))})}},46590:(ot,pe,h)=>{h.d(pe,{d:()=>T});var a=h(54482),s=h(25403);function T(Y){return(0,a.e)((q,p)=>{let R=!1;q.subscribe((0,s.x)(p,w=>{R=!0,p.next(w)},()=>{R||p.next(Y),p.complete()}))})}},71884:(ot,pe,h)=>{h.d(pe,{x:()=>Y});var a=h(44671),s=h(54482),T=h(25403);function Y(p,R=a.y){return p=p??q,(0,s.e)((w,P)=>{let A,U=!0;w.subscribe((0,T.x)(P,G=>{const de=R(G);(U||!p(A,de))&&(U=!1,A=de,P.next(G))}))})}function q(p,R){return p===R}},39300:(ot,pe,h)=>{h.d(pe,{h:()=>T});var a=h(54482),s=h(25403);function T(Y,q){return(0,a.e)((p,R)=>{let w=0;p.subscribe((0,s.x)(R,P=>Y.call(q,P,w++)&&R.next(P)))})}},28746:(ot,pe,h)=>{h.d(pe,{x:()=>s});var a=h(54482);function s(T){return(0,a.e)((Y,q)=>{try{Y.subscribe(q)}finally{q.add(T)}})}},50590:(ot,pe,h)=>{h.d(pe,{P:()=>R});var a=h(86805),s=h(39300),T=h(95698),Y=h(46590),q=h(18068),p=h(44671);function R(w,P){const A=arguments.length>=2;return U=>U.pipe(w?(0,s.h)((G,de)=>w(G,de,U)):p.y,(0,T.q)(1),A?(0,Y.d)(P):(0,q.T)(()=>new a.K))}},54004:(ot,pe,h)=>{h.d(pe,{U:()=>T});var a=h(54482),s=h(25403);function T(Y,q){return(0,a.e)((p,R)=>{let w=0;p.subscribe((0,s.x)(R,P=>{R.next(Y.call(q,P,w++))}))})}},69718:(ot,pe,h)=>{h.d(pe,{h:()=>s});var a=h(54004);function s(T){return(0,a.U)(()=>T)}},8189:(ot,pe,h)=>{h.d(pe,{J:()=>T});var a=h(95577),s=h(44671);function T(Y=1/0){return(0,a.z)(s.y,Y)}},95577:(ot,pe,h)=>{h.d(pe,{z:()=>w});var a=h(54004),s=h(38421),T=h(54482),Y=h(39672),q=h(25403),R=h(30576);function w(P,A,U=1/0){return(0,R.m)(A)?w((G,de)=>(0,a.U)((Te,$)=>A(G,Te,de,$))((0,s.Xf)(P(G,de))),U):("number"==typeof A&&(U=A),(0,T.e)((G,de)=>function p(P,A,U,G,de,Te,$,Me){const j=[];let De=0,xe=0,Fe=!1;const be=()=>{Fe&&!j.length&&!De&&A.complete()},B=_e=>De{Te&&A.next(_e),De++;let se=!1;(0,s.Xf)(U(_e,xe++)).subscribe((0,q.x)(A,Se=>{de?.(Se),Te?B(Se):A.next(Se)},()=>{se=!0},void 0,()=>{if(se)try{for(De--;j.length&&Dere(Se)):re(Se)}be()}catch(Se){A.error(Se)}}))};return P.subscribe((0,q.x)(A,B,()=>{Fe=!0,be()})),()=>{Me?.()}}(G,de,P,U)))}},38343:(ot,pe,h)=>{h.d(pe,{x:()=>T});var a=h(54482),s=h(25403);function T(){return(0,a.e)((Y,q)=>{let p=null;Y._refCount++;const R=(0,s.x)(q,void 0,void 0,void 0,()=>{if(!Y||Y._refCount<=0||0<--Y._refCount)return void(p=null);const w=Y._connection,P=p;p=null,w&&(!P||w===P)&&w.unsubscribe(),q.unsubscribe()});Y.subscribe(R),R.closed||(p=Y.connect())})}},13099:(ot,pe,h)=>{h.d(pe,{B:()=>q});var a=h(38421),s=h(77579),T=h(70930),Y=h(54482);function q(R={}){const{connector:w=(()=>new s.x),resetOnError:P=!0,resetOnComplete:A=!0,resetOnRefCountZero:U=!0}=R;return G=>{let de,Te,$,Me=0,j=!1,De=!1;const xe=()=>{Te?.unsubscribe(),Te=void 0},Fe=()=>{xe(),de=$=void 0,j=De=!1},be=()=>{const B=de;Fe(),B?.unsubscribe()};return(0,Y.e)((B,re)=>{Me++,!De&&!j&&xe();const _e=$=$??w();re.add(()=>{Me--,0===Me&&!De&&!j&&(Te=p(be,U))}),_e.subscribe(re),!de&&Me>0&&(de=new T.Hp({next:se=>_e.next(se),error:se=>{De=!0,xe(),Te=p(Fe,P,se),_e.error(se)},complete:()=>{j=!0,xe(),Te=p(Fe,A),_e.complete()}}),(0,a.Xf)(B).subscribe(de))})(G)}}function p(R,w,...P){if(!0===w)return void R();if(!1===w)return;const A=new T.Hp({next:()=>{A.unsubscribe(),R()}});return w(...P).subscribe(A)}},35684:(ot,pe,h)=>{h.d(pe,{T:()=>s});var a=h(39300);function s(T){return(0,a.h)((Y,q)=>T<=q)}},68675:(ot,pe,h)=>{h.d(pe,{O:()=>Y});var a=h(97272),s=h(63269),T=h(54482);function Y(...q){const p=(0,s.yG)(q);return(0,T.e)((R,w)=>{(p?(0,a.z)(q,R,p):(0,a.z)(q,R)).subscribe(w)})}},63900:(ot,pe,h)=>{h.d(pe,{w:()=>Y});var a=h(38421),s=h(54482),T=h(25403);function Y(q,p){return(0,s.e)((R,w)=>{let P=null,A=0,U=!1;const G=()=>U&&!P&&w.complete();R.subscribe((0,T.x)(w,de=>{P?.unsubscribe();let Te=0;const $=A++;(0,a.Xf)(q(de,$)).subscribe(P=(0,T.x)(w,Me=>w.next(p?p(de,Me,$,Te++):Me),()=>{P=null,G()}))},()=>{U=!0,G()}))})}},95698:(ot,pe,h)=>{h.d(pe,{q:()=>Y});var a=h(60515),s=h(54482),T=h(25403);function Y(q){return q<=0?()=>a.E:(0,s.e)((p,R)=>{let w=0;p.subscribe((0,T.x)(R,P=>{++w<=q&&(R.next(P),q<=w&&R.complete())}))})}},82722:(ot,pe,h)=>{h.d(pe,{R:()=>q});var a=h(54482),s=h(25403),T=h(38421),Y=h(25032);function q(p){return(0,a.e)((R,w)=>{(0,T.Xf)(p).subscribe((0,s.x)(w,()=>w.complete(),Y.Z)),!w.closed&&R.subscribe(w)})}},22529:(ot,pe,h)=>{h.d(pe,{o:()=>T});var a=h(54482),s=h(25403);function T(Y,q=!1){return(0,a.e)((p,R)=>{let w=0;p.subscribe((0,s.x)(R,P=>{const A=Y(P,w++);(A||q)&&R.next(P),!A&&R.complete()}))})}},18505:(ot,pe,h)=>{h.d(pe,{b:()=>q});var a=h(30576),s=h(54482),T=h(25403),Y=h(44671);function q(p,R,w){const P=(0,a.m)(p)||R||w?{next:p,error:R,complete:w}:p;return P?(0,s.e)((A,U)=>{var G;null===(G=P.subscribe)||void 0===G||G.call(P);let de=!0;A.subscribe((0,T.x)(U,Te=>{var $;null===($=P.next)||void 0===$||$.call(P,Te),U.next(Te)},()=>{var Te;de=!1,null===(Te=P.complete)||void 0===Te||Te.call(P),U.complete()},Te=>{var $;de=!1,null===($=P.error)||void 0===$||$.call(P,Te),U.error(Te)},()=>{var Te,$;de&&(null===(Te=P.unsubscribe)||void 0===Te||Te.call(P)),null===($=P.finalize)||void 0===$||$.call(P)}))}):Y.y}},18068:(ot,pe,h)=>{h.d(pe,{T:()=>Y});var a=h(86805),s=h(54482),T=h(25403);function Y(p=q){return(0,s.e)((R,w)=>{let P=!1;R.subscribe((0,T.x)(w,A=>{P=!0,w.next(A)},()=>P?w.complete():w.error(p())))})}function q(){return new a.K}},84408:(ot,pe,h)=>{h.d(pe,{o:()=>q});var a=h(50727);class s extends a.w0{constructor(R,w){super()}schedule(R,w=0){return this}}const T={setInterval(p,R,...w){const{delegate:P}=T;return P?.setInterval?P.setInterval(p,R,...w):setInterval(p,R,...w)},clearInterval(p){const{delegate:R}=T;return(R?.clearInterval||clearInterval)(p)},delegate:void 0};var Y=h(38737);class q extends s{constructor(R,w){super(R,w),this.scheduler=R,this.work=w,this.pending=!1}schedule(R,w=0){var P;if(this.closed)return this;this.state=R;const A=this.id,U=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(U,A,w)),this.pending=!0,this.delay=w,this.id=null!==(P=this.id)&&void 0!==P?P:this.requestAsyncId(U,this.id,w),this}requestAsyncId(R,w,P=0){return T.setInterval(R.flush.bind(R,this),P)}recycleAsyncId(R,w,P=0){if(null!=P&&this.delay===P&&!1===this.pending)return w;null!=w&&T.clearInterval(w)}execute(R,w){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const P=this._execute(R,w);if(P)return P;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,w){let A,P=!1;try{this.work(R)}catch(U){P=!0,A=U||new Error("Scheduled action threw falsy error")}if(P)return this.unsubscribe(),A}unsubscribe(){if(!this.closed){const{id:R,scheduler:w}=this,{actions:P}=w;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.P)(P,this),null!=R&&(this.id=this.recycleAsyncId(w,R,null)),this.delay=null,super.unsubscribe()}}}},97565:(ot,pe,h)=>{h.d(pe,{v:()=>T});var a=h(26063);class s{constructor(q,p=s.now){this.schedulerActionCtor=q,this.now=p}schedule(q,p=0,R){return new this.schedulerActionCtor(this,q).schedule(R,p)}}s.now=a.l.now;class T extends s{constructor(q,p=s.now){super(q,p),this.actions=[],this._active=!1}flush(q){const{actions:p}=this;if(this._active)return void p.push(q);let R;this._active=!0;do{if(R=q.execute(q.state,q.delay))break}while(q=p.shift());if(this._active=!1,R){for(;q=p.shift();)q.unsubscribe();throw R}}}},66406:(ot,pe,h)=>{h.d(pe,{Z:()=>R});var a=h(84408),s=h(50727);const T={schedule(P){let A=requestAnimationFrame,U=cancelAnimationFrame;const{delegate:G}=T;G&&(A=G.requestAnimationFrame,U=G.cancelAnimationFrame);const de=A(Te=>{U=void 0,P(Te)});return new s.w0(()=>U?.(de))},requestAnimationFrame(...P){const{delegate:A}=T;return(A?.requestAnimationFrame||requestAnimationFrame)(...P)},cancelAnimationFrame(...P){const{delegate:A}=T;return(A?.cancelAnimationFrame||cancelAnimationFrame)(...P)},delegate:void 0};var q=h(97565);const R=new class p extends q.v{flush(A){this._active=!0;const U=this._scheduled;this._scheduled=void 0;const{actions:G}=this;let de;A=A||G.shift();do{if(de=A.execute(A.state,A.delay))break}while((A=G[0])&&A.id===U&&G.shift());if(this._active=!1,de){for(;(A=G[0])&&A.id===U&&G.shift();)A.unsubscribe();throw de}}}(class Y extends a.o{constructor(A,U){super(A,U),this.scheduler=A,this.work=U}requestAsyncId(A,U,G=0){return null!==G&&G>0?super.requestAsyncId(A,U,G):(A.actions.push(this),A._scheduled||(A._scheduled=T.requestAnimationFrame(()=>A.flush(void 0))))}recycleAsyncId(A,U,G=0){var de;if(null!=G?G>0:this.delay>0)return super.recycleAsyncId(A,U,G);const{actions:Te}=A;null!=U&&(null===(de=Te[Te.length-1])||void 0===de?void 0:de.id)!==U&&(T.cancelAnimationFrame(U),A._scheduled=void 0)}})},53101:(ot,pe,h)=>{h.d(pe,{E:()=>Te});var a=h(84408);let T,s=1;const Y={};function q(Me){return Me in Y&&(delete Y[Me],!0)}const p={setImmediate(Me){const j=s++;return Y[j]=!0,T||(T=Promise.resolve()),T.then(()=>q(j)&&Me()),j},clearImmediate(Me){q(Me)}},{setImmediate:w,clearImmediate:P}=p,A={setImmediate(...Me){const{delegate:j}=A;return(j?.setImmediate||w)(...Me)},clearImmediate(Me){const{delegate:j}=A;return(j?.clearImmediate||P)(Me)},delegate:void 0};var G=h(97565);const Te=new class de extends G.v{flush(j){this._active=!0;const De=this._scheduled;this._scheduled=void 0;const{actions:xe}=this;let Fe;j=j||xe.shift();do{if(Fe=j.execute(j.state,j.delay))break}while((j=xe[0])&&j.id===De&&xe.shift());if(this._active=!1,Fe){for(;(j=xe[0])&&j.id===De&&xe.shift();)j.unsubscribe();throw Fe}}}(class U extends a.o{constructor(j,De){super(j,De),this.scheduler=j,this.work=De}requestAsyncId(j,De,xe=0){return null!==xe&&xe>0?super.requestAsyncId(j,De,xe):(j.actions.push(this),j._scheduled||(j._scheduled=A.setImmediate(j.flush.bind(j,void 0))))}recycleAsyncId(j,De,xe=0){var Fe;if(null!=xe?xe>0:this.delay>0)return super.recycleAsyncId(j,De,xe);const{actions:be}=j;null!=De&&(null===(Fe=be[be.length-1])||void 0===Fe?void 0:Fe.id)!==De&&(A.clearImmediate(De),j._scheduled=void 0)}})},34986:(ot,pe,h)=>{h.d(pe,{P:()=>Y,z:()=>T});var a=h(84408);const T=new(h(97565).v)(a.o),Y=T},26063:(ot,pe,h)=>{h.d(pe,{l:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},43410:(ot,pe,h)=>{h.d(pe,{z:()=>a});const a={setTimeout(s,T,...Y){const{delegate:q}=a;return q?.setTimeout?q.setTimeout(s,T,...Y):setTimeout(s,T,...Y)},clearTimeout(s){const{delegate:T}=a;return(T?.clearTimeout||clearTimeout)(s)},delegate:void 0}},2202:(ot,pe,h)=>{h.d(pe,{h:()=>s});const s=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(ot,pe,h)=>{h.d(pe,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(ot,pe,h)=>{h.d(pe,{K:()=>s});const s=(0,h(83888).d)(T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(ot,pe,h)=>{h.d(pe,{_6:()=>p,jO:()=>Y,yG:()=>q});var a=h(30576),s=h(93532);function T(R){return R[R.length-1]}function Y(R){return(0,a.m)(T(R))?R.pop():void 0}function q(R){return(0,s.K)(T(R))?R.pop():void 0}function p(R,w){return"number"==typeof T(R)?R.pop():w}},54742:(ot,pe,h)=>{h.d(pe,{D:()=>q});const{isArray:a}=Array,{getPrototypeOf:s,prototype:T,keys:Y}=Object;function q(R){if(1===R.length){const w=R[0];if(a(w))return{args:w,keys:null};if(function p(R){return R&&"object"==typeof R&&s(R)===T}(w)){const P=Y(w);return{args:P.map(A=>w[A]),keys:P}}}return{args:R,keys:null}}},38737:(ot,pe,h)=>{function a(s,T){if(s){const Y=s.indexOf(T);0<=Y&&s.splice(Y,1)}}h.d(pe,{P:()=>a})},83888:(ot,pe,h)=>{function a(s){const Y=s(q=>{Error.call(q),q.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}h.d(pe,{d:()=>a})},31810:(ot,pe,h)=>{function a(s,T){return s.reduce((Y,q,p)=>(Y[q]=T[p],Y),{})}h.d(pe,{n:()=>a})},72806:(ot,pe,h)=>{h.d(pe,{O:()=>Y,x:()=>T});var a=h(42416);let s=null;function T(q){if(a.v.useDeprecatedSynchronousErrorHandling){const p=!s;if(p&&(s={errorThrown:!1,error:null}),q(),p){const{errorThrown:R,error:w}=s;if(s=null,R)throw w}}else q()}function Y(q){a.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=q)}},39672:(ot,pe,h)=>{function a(s,T,Y,q=0,p=!1){const R=T.schedule(function(){Y(),p?s.add(this.schedule(null,q)):this.unsubscribe()},q);if(s.add(R),!p)return R}h.d(pe,{f:()=>a})},44671:(ot,pe,h)=>{function a(s){return s}h.d(pe,{y:()=>a})},81144:(ot,pe,h)=>{h.d(pe,{z:()=>a});const a=s=>s&&"number"==typeof s.length&&"function"!=typeof s},12206:(ot,pe,h)=>{h.d(pe,{D:()=>s});var a=h(30576);function s(T){return Symbol.asyncIterator&&(0,a.m)(T?.[Symbol.asyncIterator])}},30576:(ot,pe,h)=>{function a(s){return"function"==typeof s}h.d(pe,{m:()=>a})},93670:(ot,pe,h)=>{h.d(pe,{c:()=>T});var a=h(48822),s=h(30576);function T(Y){return(0,s.m)(Y[a.L])}},26495:(ot,pe,h)=>{h.d(pe,{T:()=>T});var a=h(2202),s=h(30576);function T(Y){return(0,s.m)(Y?.[a.h])}},45191:(ot,pe,h)=>{h.d(pe,{b:()=>T});var a=h(69751),s=h(30576);function T(Y){return!!Y&&(Y instanceof a.y||(0,s.m)(Y.lift)&&(0,s.m)(Y.subscribe))}},28239:(ot,pe,h)=>{h.d(pe,{t:()=>s});var a=h(30576);function s(T){return(0,a.m)(T?.then)}},53260:(ot,pe,h)=>{h.d(pe,{L:()=>Y,Q:()=>T});var a=h(70655),s=h(30576);function T(q){return(0,a.FC)(this,arguments,function*(){const R=q.getReader();try{for(;;){const{value:w,done:P}=yield(0,a.qq)(R.read());if(P)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(w)}}finally{R.releaseLock()}})}function Y(q){return(0,s.m)(q?.getReader)}},93532:(ot,pe,h)=>{h.d(pe,{K:()=>s});var a=h(30576);function s(T){return T&&(0,a.m)(T.schedule)}},54482:(ot,pe,h)=>{h.d(pe,{A:()=>s,e:()=>T});var a=h(30576);function s(Y){return(0,a.m)(Y?.lift)}function T(Y){return q=>{if(s(q))return q.lift(function(p){try{return Y(p,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(ot,pe,h)=>{h.d(pe,{Z:()=>Y});var a=h(54004);const{isArray:s}=Array;function Y(q){return(0,a.U)(p=>function T(q,p){return s(p)?q(...p):q(p)}(q,p))}},25032:(ot,pe,h)=>{function a(){}h.d(pe,{Z:()=>a})},89635:(ot,pe,h)=>{h.d(pe,{U:()=>T,z:()=>s});var a=h(44671);function s(...Y){return T(Y)}function T(Y){return 0===Y.length?a.y:1===Y.length?Y[0]:function(p){return Y.reduce((R,w)=>w(R),p)}}},87849:(ot,pe,h)=>{h.d(pe,{h:()=>T});var a=h(42416),s=h(43410);function T(Y){s.z.setTimeout(()=>{const{onUnhandledError:q}=a.v;if(!q)throw Y;q(Y)})}},44532:(ot,pe,h)=>{function a(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}h.d(pe,{z:()=>a})},70655:(ot,pe,h)=>{h.d(pe,{CR:()=>de,FC:()=>De,Jh:()=>P,KL:()=>Fe,XA:()=>G,ZT:()=>s,_T:()=>Y,ev:()=>Me,gn:()=>q,mG:()=>w,pi:()=>T,pr:()=>$,qq:()=>j});var a=function(oe,me){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,Ce){Q.__proto__=Ce}||function(Q,Ce){for(var Le in Ce)Object.prototype.hasOwnProperty.call(Ce,Le)&&(Q[Le]=Ce[Le])})(oe,me)};function s(oe,me){if("function"!=typeof me&&null!==me)throw new TypeError("Class extends value "+String(me)+" is not a constructor or null");function Q(){this.constructor=oe}a(oe,me),oe.prototype=null===me?Object.create(me):(Q.prototype=me.prototype,new Q)}var T=function(){return T=Object.assign||function(me){for(var Q,Ce=1,Le=arguments.length;Ce=0;gt--)(Ge=oe[gt])&&(Ue=(Le<3?Ge(Ue):Le>3?Ge(me,Q,Ue):Ge(me,Q))||Ue);return Le>3&&Ue&&Object.defineProperty(me,Q,Ue),Ue}function w(oe,me,Q,Ce){return new(Q||(Q=Promise))(function(Ue,Ge){function gt(St){try{$e(Ce.next(St))}catch(it){Ge(it)}}function Je(St){try{$e(Ce.throw(St))}catch(it){Ge(it)}}function $e(St){St.done?Ue(St.value):function Le(Ue){return Ue instanceof Q?Ue:new Q(function(Ge){Ge(Ue)})}(St.value).then(gt,Je)}$e((Ce=Ce.apply(oe,me||[])).next())})}function P(oe,me){var Ce,Le,Ue,Ge,Q={label:0,sent:function(){if(1&Ue[0])throw Ue[1];return Ue[1]},trys:[],ops:[]};return Ge={next:gt(0),throw:gt(1),return:gt(2)},"function"==typeof Symbol&&(Ge[Symbol.iterator]=function(){return this}),Ge;function gt($e){return function(St){return function Je($e){if(Ce)throw new TypeError("Generator is already executing.");for(;Q;)try{if(Ce=1,Le&&(Ue=2&$e[0]?Le.return:$e[0]?Le.throw||((Ue=Le.return)&&Ue.call(Le),0):Le.next)&&!(Ue=Ue.call(Le,$e[1])).done)return Ue;switch(Le=0,Ue&&($e=[2&$e[0],Ue.value]),$e[0]){case 0:case 1:Ue=$e;break;case 4:return Q.label++,{value:$e[1],done:!1};case 5:Q.label++,Le=$e[1],$e=[0];continue;case 7:$e=Q.ops.pop(),Q.trys.pop();continue;default:if(!(Ue=(Ue=Q.trys).length>0&&Ue[Ue.length-1])&&(6===$e[0]||2===$e[0])){Q=0;continue}if(3===$e[0]&&(!Ue||$e[1]>Ue[0]&&$e[1]=oe.length&&(oe=void 0),{value:oe&&oe[Ce++],done:!oe}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")}function de(oe,me){var Q="function"==typeof Symbol&&oe[Symbol.iterator];if(!Q)return oe;var Le,Ge,Ce=Q.call(oe),Ue=[];try{for(;(void 0===me||me-- >0)&&!(Le=Ce.next()).done;)Ue.push(Le.value)}catch(gt){Ge={error:gt}}finally{try{Le&&!Le.done&&(Q=Ce.return)&&Q.call(Ce)}finally{if(Ge)throw Ge.error}}return Ue}function $(){for(var oe=0,me=0,Q=arguments.length;me1||gt(yt,Pe)})})}function gt(yt,Pe){try{!function Je(yt){yt.value instanceof j?Promise.resolve(yt.value.v).then($e,St):it(Ue[0][2],yt)}(Ce[yt](Pe))}catch(nt){it(Ue[0][3],nt)}}function $e(yt){gt("next",yt)}function St(yt){gt("throw",yt)}function it(yt,Pe){yt(Pe),Ue.shift(),Ue.length&>(Ue[0][0],Ue[0][1])}}function Fe(oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,me=oe[Symbol.asyncIterator];return me?me.call(oe):(oe=G(oe),Q={},Ce("next"),Ce("throw"),Ce("return"),Q[Symbol.asyncIterator]=function(){return this},Q);function Ce(Ue){Q[Ue]=oe[Ue]&&function(Ge){return new Promise(function(gt,Je){!function Le(Ue,Ge,gt,Je){Promise.resolve(Je).then(function($e){Ue({value:$e,done:gt})},Ge)}(gt,Je,(Ge=oe[Ue](Ge)).done,Ge.value)})}}}},37340:(ot,pe,h)=>{h.d(pe,{EY:()=>Me,IO:()=>$,LC:()=>s,SB:()=>P,X$:()=>Y,ZE:()=>xe,ZN:()=>De,_j:()=>a,eR:()=>U,jt:()=>q,k1:()=>Fe,l3:()=>T,oB:()=>w,vP:()=>R});class a{}class s{}const T="*";function Y(be,B){return{type:7,name:be,definitions:B,options:{}}}function q(be,B=null){return{type:4,styles:B,timings:be}}function R(be,B=null){return{type:2,steps:be,options:B}}function w(be){return{type:6,styles:be,offset:null}}function P(be,B,re){return{type:0,name:be,styles:B,options:re}}function U(be,B,re=null){return{type:1,expr:be,animation:B,options:re}}function $(be,B,re=null){return{type:11,selector:be,animation:B,options:re}}function Me(be,B){return{type:12,timings:be,animation:B}}function j(be){Promise.resolve().then(be)}class De{constructor(B=0,re=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=B+re}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}onStart(B){this._originalOnStartFns.push(B),this._onStartFns.push(B)}onDone(B){this._originalOnDoneFns.push(B),this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){j(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(B=>B()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(B){this._position=this.totalTime?B*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(B){const re="start"==B?this._onStartFns:this._onDoneFns;re.forEach(_e=>_e()),re.length=0}}class xe{constructor(B){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=B;let re=0,_e=0,se=0;const Se=this.players.length;0==Se?j(()=>this._onFinish()):this.players.forEach(Ie=>{Ie.onDone(()=>{++re==Se&&this._onFinish()}),Ie.onDestroy(()=>{++_e==Se&&this._onDestroy()}),Ie.onStart(()=>{++se==Se&&this._onStart()})}),this.totalTime=this.players.reduce((Ie,oe)=>Math.max(Ie,oe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}init(){this.players.forEach(B=>B.init())}onStart(B){this._onStartFns.push(B)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(B=>B()),this._onStartFns=[])}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(B=>B.play())}pause(){this.players.forEach(B=>B.pause())}restart(){this.players.forEach(B=>B.restart())}finish(){this._onFinish(),this.players.forEach(B=>B.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(B=>B.destroy()),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this.players.forEach(B=>B.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(B){const re=B*this.totalTime;this.players.forEach(_e=>{const se=_e.totalTime?Math.min(1,re/_e.totalTime):1;_e.setPosition(se)})}getPosition(){const B=this.players.reduce((re,_e)=>null===re||_e.totalTime>re.totalTime?_e:re,null);return null!=B?B.getPosition():0}beforeDestroy(){this.players.forEach(B=>{B.beforeDestroy&&B.beforeDestroy()})}triggerCallback(B){const re="start"==B?this._onStartFns:this._onDoneFns;re.forEach(_e=>_e()),re.length=0}}const Fe="!"},12687:(ot,pe,h)=>{h.d(pe,{Em:()=>Ue,kH:()=>Ve,mK:()=>Bt,qV:()=>Ct,rt:()=>Ne,tE:()=>kt});var a=h(36895),s=h(94650),T=h(83353),Y=h(77579),q=h(50727),p=h(61135),R=h(39646),w=h(29521),P=h(18505),A=h(78372),U=h(39300),G=h(54004),de=h(95698),Te=h(35684),$=h(71884),Me=h(82722),j=h(21281),De=h(49643),xe=h(62289);class Ue extends class Ce{constructor(ae){this._items=ae,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Y.x,this._typeaheadSubscription=q.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=X=>X.disabled,this._pressedLetters=[],this.tabOut=new Y.x,this.change=new Y.x,ae instanceof s.n_E&&ae.changes.subscribe(X=>{if(this._activeItem){const Ae=X.toArray().indexOf(this._activeItem);Ae>-1&&Ae!==this._activeItemIndex&&(this._activeItemIndex=Ae)}})}skipPredicate(ae){return this._skipPredicateFn=ae,this}withWrap(ae=!0){return this._wrap=ae,this}withVerticalOrientation(ae=!0){return this._vertical=ae,this}withHorizontalOrientation(ae){return this._horizontal=ae,this}withAllowedModifierKeys(ae){return this._allowedModifierKeys=ae,this}withTypeAhead(ae=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,P.b)(X=>this._pressedLetters.push(X)),(0,A.b)(ae),(0,U.h)(()=>this._pressedLetters.length>0),(0,G.U)(()=>this._pressedLetters.join(""))).subscribe(X=>{const we=this._getItemsArray();for(let Ae=1;Ae!ae[et]||this._allowedModifierKeys.indexOf(et)>-1);switch(X){case w.Mf:return void this.tabOut.next();case w.JH:if(this._vertical&&Ae){this.setNextItemActive();break}return;case w.LH:if(this._vertical&&Ae){this.setPreviousItemActive();break}return;case w.SV:if(this._horizontal&&Ae){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case w.oh:if(this._horizontal&&Ae){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case w.Sd:if(this._homeAndEnd&&Ae){this.setFirstItemActive();break}return;case w.uR:if(this._homeAndEnd&&Ae){this.setLastItemActive();break}return;default:return void((Ae||(0,w.Vb)(ae,"shiftKey"))&&(ae.key&&1===ae.key.length?this._letterKeyStream.next(ae.key.toLocaleUpperCase()):(X>=w.A&&X<=w.Z||X>=w.xE&&X<=w.aO)&&this._letterKeyStream.next(String.fromCharCode(X))))}this._pressedLetters=[],ae.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ae){const X=this._getItemsArray(),we="number"==typeof ae?ae:X.indexOf(ae);this._activeItem=X[we]??null,this._activeItemIndex=we}_setActiveItemByDelta(ae){this._wrap?this._setActiveInWrapMode(ae):this._setActiveInDefaultMode(ae)}_setActiveInWrapMode(ae){const X=this._getItemsArray();for(let we=1;we<=X.length;we++){const Ae=(this._activeItemIndex+ae*we+X.length)%X.length;if(!this._skipPredicateFn(X[Ae]))return void this.setActiveItem(Ae)}}_setActiveInDefaultMode(ae){this._setActiveItemByIndex(this._activeItemIndex+ae,ae)}_setActiveItemByIndex(ae,X){const we=this._getItemsArray();if(we[ae]){for(;this._skipPredicateFn(we[ae]);)if(!we[ae+=X])return;this.setActiveItem(ae)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ae){return this._origin=ae,this}setActiveItem(ae){super.setActiveItem(ae),this.activeItem&&this.activeItem.focus(this._origin)}}let gt=(()=>{class ie{constructor(X){this._platform=X}isDisabled(X){return X.hasAttribute("disabled")}isVisible(X){return function $e(ie){return!!(ie.offsetWidth||ie.offsetHeight||"function"==typeof ie.getClientRects&&ie.getClientRects().length)}(X)&&"visible"===getComputedStyle(X).visibility}isTabbable(X){if(!this._platform.isBrowser)return!1;const we=function Je(ie){try{return ie.frameElement}catch{return null}}(function Pt(ie){return ie.ownerDocument&&ie.ownerDocument.defaultView||window}(X));if(we&&(-1===Rt(we)||!this.isVisible(we)))return!1;let Ae=X.nodeName.toLowerCase(),et=Rt(X);return X.hasAttribute("contenteditable")?-1!==et:!("iframe"===Ae||"object"===Ae||this._platform.WEBKIT&&this._platform.IOS&&!function kn(ie){let ae=ie.nodeName.toLowerCase(),X="input"===ae&&ie.type;return"text"===X||"password"===X||"select"===ae||"textarea"===ae}(X))&&("audio"===Ae?!!X.hasAttribute("controls")&&-1!==et:"video"===Ae?-1!==et&&(null!==et||this._platform.FIREFOX||X.hasAttribute("controls")):X.tabIndex>=0)}isFocusable(X,we){return function lt(ie){return!function it(ie){return function Pe(ie){return"input"==ie.nodeName.toLowerCase()}(ie)&&"hidden"==ie.type}(ie)&&(function St(ie){let ae=ie.nodeName.toLowerCase();return"input"===ae||"select"===ae||"button"===ae||"textarea"===ae}(ie)||function yt(ie){return function nt(ie){return"a"==ie.nodeName.toLowerCase()}(ie)&&ie.hasAttribute("href")}(ie)||ie.hasAttribute("contenteditable")||pt(ie))}(X)&&!this.isDisabled(X)&&(we?.ignoreVisibility||this.isVisible(X))}}return ie.\u0275fac=function(X){return new(X||ie)(s.LFG(T.t4))},ie.\u0275prov=s.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function pt(ie){if(!ie.hasAttribute("tabindex")||void 0===ie.tabIndex)return!1;let ae=ie.getAttribute("tabindex");return!(!ae||isNaN(parseInt(ae,10)))}function Rt(ie){if(!pt(ie))return null;const ae=parseInt(ie.getAttribute("tabindex")||"",10);return isNaN(ae)?-1:ae}class qe{constructor(ae,X,we,Ae,et=!1){this._element=ae,this._checker=X,this._ngZone=we,this._document=Ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,et||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ae){this._enabled=ae,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}destroy(){const ae=this._startAnchor,X=this._endAnchor;ae&&(ae.removeEventListener("focus",this.startAnchorListener),ae.remove()),X&&(X.removeEventListener("focus",this.endAnchorListener),X.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ae){return new Promise(X=>{this._executeOnStable(()=>X(this.focusInitialElement(ae)))})}focusFirstTabbableElementWhenReady(ae){return new Promise(X=>{this._executeOnStable(()=>X(this.focusFirstTabbableElement(ae)))})}focusLastTabbableElementWhenReady(ae){return new Promise(X=>{this._executeOnStable(()=>X(this.focusLastTabbableElement(ae)))})}_getRegionBoundary(ae){const X=this._element.querySelectorAll(`[cdk-focus-region-${ae}], [cdkFocusRegion${ae}], [cdk-focus-${ae}]`);return"start"==ae?X.length?X[0]:this._getFirstTabbableElement(this._element):X.length?X[X.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ae){const X=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(X){if(!this._checker.isFocusable(X)){const we=this._getFirstTabbableElement(X);return we?.focus(ae),!!we}return X.focus(ae),!0}return this.focusFirstTabbableElement(ae)}focusFirstTabbableElement(ae){const X=this._getRegionBoundary("start");return X&&X.focus(ae),!!X}focusLastTabbableElement(ae){const X=this._getRegionBoundary("end");return X&&X.focus(ae),!!X}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ae){if(this._checker.isFocusable(ae)&&this._checker.isTabbable(ae))return ae;const X=ae.children;for(let we=0;we=0;we--){const Ae=X[we].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(X[we]):null;if(Ae)return Ae}return null}_createAnchor(){const ae=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ae),ae.classList.add("cdk-visually-hidden"),ae.classList.add("cdk-focus-trap-anchor"),ae.setAttribute("aria-hidden","true"),ae}_toggleAnchorTabIndex(ae,X){ae?X.setAttribute("tabindex","0"):X.removeAttribute("tabindex")}toggleAnchors(ae){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}_executeOnStable(ae){this._ngZone.isStable?ae():this._ngZone.onStable.pipe((0,de.q)(1)).subscribe(ae)}}let Ct=(()=>{class ie{constructor(X,we,Ae){this._checker=X,this._ngZone=we,this._document=Ae}create(X,we=!1){return new qe(X,this._checker,this._ngZone,this._document,we)}}return ie.\u0275fac=function(X){return new(X||ie)(s.LFG(gt),s.LFG(s.R0b),s.LFG(a.K0))},ie.\u0275prov=s.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),Bt=(()=>{class ie{constructor(X,we,Ae){this._elementRef=X,this._focusTrapFactory=we,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(X){this.focusTrap.enabled=(0,j.Ig)(X)}get autoCapture(){return this._autoCapture}set autoCapture(X){this._autoCapture=(0,j.Ig)(X)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(X){const we=X.autoCapture;we&&!we.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,T.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ie.\u0275fac=function(X){return new(X||ie)(s.Y36(s.SBq),s.Y36(Ct),s.Y36(a.K0))},ie.\u0275dir=s.lG2({type:ie,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),ie})();const V=new s.OlP("cdk-input-modality-detector-options"),J={ignoreKeys:[w.zL,w.jx,w.b2,w.MW,w.JU]},I=(0,T.i$)({passive:!0,capture:!0});let O=(()=>{class ie{constructor(X,we,Ae,et){this._platform=X,this._mostRecentTarget=null,this._modality=new p.X(null),this._lastTouchMs=0,this._onKeydown=ut=>{var Yt,Zt;null!==(Yt=this._options)&&void 0!==Yt&&null!==(Zt=Yt.ignoreKeys)&&void 0!==Zt&&Zt.some(Ht=>Ht===ut.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,T.sA)(ut))},this._onMousedown=ut=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function Qe(ie){return 0===ie.buttons||0===ie.offsetX&&0===ie.offsetY}(ut)?"keyboard":"mouse"),this._mostRecentTarget=(0,T.sA)(ut))},this._onTouchstart=ut=>{!function N(ie){const ae=ie.touches&&ie.touches[0]||ie.changedTouches&&ie.changedTouches[0];return!(!ae||-1!==ae.identifier||null!=ae.radiusX&&1!==ae.radiusX||null!=ae.radiusY&&1!==ae.radiusY)}(ut)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,T.sA)(ut)):this._modality.next("keyboard")},this._options={...J,...et},this.modalityDetected=this._modality.pipe((0,Te.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,$.x)()),X.isBrowser&&we.runOutsideAngular(()=>{Ae.addEventListener("keydown",this._onKeydown,I),Ae.addEventListener("mousedown",this._onMousedown,I),Ae.addEventListener("touchstart",this._onTouchstart,I)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,I),document.removeEventListener("mousedown",this._onMousedown,I),document.removeEventListener("touchstart",this._onTouchstart,I))}}return ie.\u0275fac=function(X){return new(X||ie)(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(V,8))},ie.\u0275prov=s.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();const xt=new s.OlP("cdk-focus-monitor-default-options"),tt=(0,T.i$)({passive:!0,capture:!0});let kt=(()=>{class ie{constructor(X,we,Ae,et,ut){this._ngZone=X,this._platform=we,this._inputModalityDetector=Ae,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Y.x,this._rootNodeFocusAndBlurListener=Yt=>{for(let Ht=(0,T.sA)(Yt);Ht;Ht=Ht.parentElement)"focus"===Yt.type?this._onFocus(Yt,Ht):this._onBlur(Yt,Ht)},this._document=et,this._detectionMode=ut?.detectionMode||0}monitor(X,we=!1){const Ae=(0,j.fI)(X);if(!this._platform.isBrowser||1!==Ae.nodeType)return(0,R.of)(null);const et=(0,T.kV)(Ae)||this._getDocument(),ut=this._elementInfo.get(Ae);if(ut)return we&&(ut.checkChildren=!0),ut.subject;const Yt={checkChildren:we,subject:new Y.x,rootNode:et};return this._elementInfo.set(Ae,Yt),this._registerGlobalListeners(Yt),Yt.subject}stopMonitoring(X){const we=(0,j.fI)(X),Ae=this._elementInfo.get(we);Ae&&(Ae.subject.complete(),this._setClasses(we),this._elementInfo.delete(we),this._removeGlobalListeners(Ae))}focusVia(X,we,Ae){const et=(0,j.fI)(X);et===this._getDocument().activeElement?this._getClosestElementsInfo(et).forEach(([Yt,Zt])=>this._originChanged(Yt,we,Zt)):(this._setOrigin(we),"function"==typeof et.focus&&et.focus(Ae))}ngOnDestroy(){this._elementInfo.forEach((X,we)=>this.stopMonitoring(we))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(X){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(X)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:X&&this._isLastInteractionFromInputLabel(X)?"mouse":"program"}_shouldBeAttributedToTouch(X){return 1===this._detectionMode||!(null==X||!X.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(X,we){X.classList.toggle("cdk-focused",!!we),X.classList.toggle("cdk-touch-focused","touch"===we),X.classList.toggle("cdk-keyboard-focused","keyboard"===we),X.classList.toggle("cdk-mouse-focused","mouse"===we),X.classList.toggle("cdk-program-focused","program"===we)}_setOrigin(X,we=!1){this._ngZone.runOutsideAngular(()=>{this._origin=X,this._originFromTouchInteraction="touch"===X&&we,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(X,we){const Ae=this._elementInfo.get(we),et=(0,T.sA)(X);!Ae||!Ae.checkChildren&&we!==et||this._originChanged(we,this._getFocusOrigin(et),Ae)}_onBlur(X,we){const Ae=this._elementInfo.get(we);!Ae||Ae.checkChildren&&X.relatedTarget instanceof Node&&we.contains(X.relatedTarget)||(this._setClasses(we),this._emitOrigin(Ae,null))}_emitOrigin(X,we){X.subject.observers.length&&this._ngZone.run(()=>X.subject.next(we))}_registerGlobalListeners(X){if(!this._platform.isBrowser)return;const we=X.rootNode,Ae=this._rootNodeFocusListenerCount.get(we)||0;Ae||this._ngZone.runOutsideAngular(()=>{we.addEventListener("focus",this._rootNodeFocusAndBlurListener,tt),we.addEventListener("blur",this._rootNodeFocusAndBlurListener,tt)}),this._rootNodeFocusListenerCount.set(we,Ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Me.R)(this._stopInputModalityDetector)).subscribe(et=>{this._setOrigin(et,!0)}))}_removeGlobalListeners(X){const we=X.rootNode;if(this._rootNodeFocusListenerCount.has(we)){const Ae=this._rootNodeFocusListenerCount.get(we);Ae>1?this._rootNodeFocusListenerCount.set(we,Ae-1):(we.removeEventListener("focus",this._rootNodeFocusAndBlurListener,tt),we.removeEventListener("blur",this._rootNodeFocusAndBlurListener,tt),this._rootNodeFocusListenerCount.delete(we))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(X,we,Ae){this._setClasses(X,we),this._emitOrigin(Ae,we),this._lastFocusOrigin=we}_getClosestElementsInfo(X){const we=[];return this._elementInfo.forEach((Ae,et)=>{(et===X||Ae.checkChildren&&et.contains(X))&&we.push([et,Ae])}),we}_isLastInteractionFromInputLabel(X){const{_mostRecentTarget:we,mostRecentModality:Ae}=this._inputModalityDetector;if("mouse"!==Ae||!we||we===X||"INPUT"!==X.nodeName&&"TEXTAREA"!==X.nodeName||X.disabled)return!1;const et=X.labels;if(et)for(let ut=0;ut{class ie{constructor(X,we){this._elementRef=X,this._focusMonitor=we,this._focusOrigin=null,this.cdkFocusChange=new s.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const X=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(X,1===X.nodeType&&X.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(we=>{this._focusOrigin=we,this.cdkFocusChange.emit(we)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ie.\u0275fac=function(X){return new(X||ie)(s.Y36(s.SBq),s.Y36(kt))},ie.\u0275dir=s.lG2({type:ie,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ie})();const _t="cdk-high-contrast-black-on-white",fe="cdk-high-contrast-white-on-black",le="cdk-high-contrast-active";let ue=(()=>{class ie{constructor(X,we){this._platform=X,this._document=we,this._breakpointSubscription=(0,s.f3M)(xe.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const X=this._document.createElement("div");X.style.backgroundColor="rgb(1,2,3)",X.style.position="absolute",this._document.body.appendChild(X);const we=this._document.defaultView||window,Ae=we&&we.getComputedStyle?we.getComputedStyle(X):null,et=(Ae&&Ae.backgroundColor||"").replace(/ /g,"");switch(X.remove(),et){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const X=this._document.body.classList;X.remove(le,_t,fe),this._hasCheckedHighContrastMode=!0;const we=this.getHighContrastMode();1===we?X.add(le,_t):2===we&&X.add(le,fe)}}}return ie.\u0275fac=function(X){return new(X||ie)(s.LFG(T.t4),s.LFG(a.K0))},ie.\u0275prov=s.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),Ne=(()=>{class ie{constructor(X){X._applyBodyHighContrastModeCssClasses()}}return ie.\u0275fac=function(X){return new(X||ie)(s.LFG(ue))},ie.\u0275mod=s.oAB({type:ie}),ie.\u0275inj=s.cJS({imports:[De.Q8]}),ie})()},40445:(ot,pe,h)=>{h.d(pe,{Is:()=>R,Lv:()=>w,vT:()=>P});var a=h(94650),s=h(36895);const T=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function Y(){return(0,a.f3M)(s.K0)}}),q=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function p(A){var U;const G=A?.toLowerCase()||"";return"auto"===G&&typeof navigator<"u"&&null!==(U=navigator)&&void 0!==U&&U.language?q.test(navigator.language)?"rtl":"ltr":"rtl"===G?"rtl":"ltr"}let R=(()=>{class A{constructor(G){if(this.value="ltr",this.change=new a.vpe,G){const Te=G.documentElement?G.documentElement.dir:null;this.value=p((G.body?G.body.dir:null)||Te||"ltr")}}ngOnDestroy(){this.change.complete()}}return A.\u0275fac=function(G){return new(G||A)(a.LFG(T,8))},A.\u0275prov=a.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),w=(()=>{class A{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new a.vpe}get dir(){return this._dir}set dir(G){const de=this._dir;this._dir=p(G),this._rawDir=G,de!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return A.\u0275fac=function(G){return new(G||A)},A.\u0275dir=a.lG2({type:A,selectors:[["","dir",""]],hostVars:1,hostBindings:function(G,de){2&G&&a.uIk("dir",de._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[a._Bn([{provide:R,useExisting:A}])]}),A})(),P=(()=>{class A{}return A.\u0275fac=function(G){return new(G||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({}),A})()},21281:(ot,pe,h)=>{h.d(pe,{Eq:()=>q,HM:()=>p,Ig:()=>s,fI:()=>R,su:()=>T,t6:()=>Y});var a=h(94650);function s(P){return null!=P&&"false"!=`${P}`}function T(P,A=0){return Y(P)?Number(P):A}function Y(P){return!isNaN(parseFloat(P))&&!isNaN(Number(P))}function q(P){return Array.isArray(P)?P:[P]}function p(P){return null==P?"":"string"==typeof P?P:`${P}px`}function R(P){return P instanceof a.SBq?P.nativeElement:P}},29521:(ot,pe,h)=>{h.d(pe,{A:()=>it,JH:()=>Fe,JU:()=>p,K5:()=>q,LH:()=>De,L_:()=>G,MW:()=>Oe,Mf:()=>T,SV:()=>xe,Sd:()=>Me,Vb:()=>io,Z:()=>ge,ZH:()=>s,aO:()=>Ge,b2:()=>Ln,hY:()=>U,jx:()=>R,oh:()=>j,uR:()=>$,xE:()=>se,zL:()=>w});const s=8,T=9,q=13,p=16,R=17,w=18,U=27,G=32,$=35,Me=36,j=37,De=38,xe=39,Fe=40,se=48,Ge=57,it=65,ge=90,Oe=91,Ln=224;function io(mn,...Lo){return Lo.length?Lo.some(In=>mn[In]):mn.altKey||mn.shiftKey||mn.ctrlKey||mn.metaKey}},62289:(ot,pe,h)=>{h.d(pe,{Yg:()=>Fe,vx:()=>j,xu:()=>Te});var a=h(94650),s=h(21281),T=h(77579),Y=h(39841),q=h(97272),p=h(69751),R=h(95698),w=h(35684),P=h(78372),A=h(54004),U=h(68675),G=h(82722),de=h(83353);let Te=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=a.oAB({type:re}),re.\u0275inj=a.cJS({}),re})();const $=new Set;let Me,j=(()=>{class re{constructor(se){this._platform=se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xe}matchMedia(se){return(this._platform.WEBKIT||this._platform.BLINK)&&function De(re){if(!$.has(re))try{Me||(Me=document.createElement("style"),Me.setAttribute("type","text/css"),document.head.appendChild(Me)),Me.sheet&&(Me.sheet.insertRule(`@media ${re} {body{ }}`,0),$.add(re))}catch(_e){console.error(_e)}}(se),this._matchMedia(se)}}return re.\u0275fac=function(se){return new(se||re)(a.LFG(de.t4))},re.\u0275prov=a.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function xe(re){return{matches:"all"===re||""===re,media:re,addListener:()=>{},removeListener:()=>{}}}let Fe=(()=>{class re{constructor(se,Se){this._mediaMatcher=se,this._zone=Se,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(se){return be((0,s.Eq)(se)).some(Ie=>this._registerQuery(Ie).mql.matches)}observe(se){const Ie=be((0,s.Eq)(se)).map(me=>this._registerQuery(me).observable);let oe=(0,Y.a)(Ie);return oe=(0,q.z)(oe.pipe((0,R.q)(1)),oe.pipe((0,w.T)(1),(0,P.b)(0))),oe.pipe((0,A.U)(me=>{const Q={matches:!1,breakpoints:{}};return me.forEach(({matches:Ce,query:Le})=>{Q.matches=Q.matches||Ce,Q.breakpoints[Le]=Ce}),Q}))}_registerQuery(se){if(this._queries.has(se))return this._queries.get(se);const Se=this._mediaMatcher.matchMedia(se),oe={observable:new p.y(me=>{const Q=Ce=>this._zone.run(()=>me.next(Ce));return Se.addListener(Q),()=>{Se.removeListener(Q)}}).pipe((0,U.O)(Se),(0,A.U)(({matches:me})=>({query:se,matches:me})),(0,G.R)(this._destroySubject)),mql:Se};return this._queries.set(se,oe),oe}}return re.\u0275fac=function(se){return new(se||re)(a.LFG(j),a.LFG(a.R0b))},re.\u0275prov=a.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function be(re){return re.map(_e=>_e.split(",")).reduce((_e,se)=>_e.concat(se)).map(_e=>_e.trim())}},49643:(ot,pe,h)=>{h.d(pe,{Q8:()=>q});var a=h(94650);let s=(()=>{class p{create(w){return typeof MutationObserver>"u"?null:new MutationObserver(w)}}return p.\u0275fac=function(w){return new(w||p)},p.\u0275prov=a.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),q=(()=>{class p{}return p.\u0275fac=function(w){return new(w||p)},p.\u0275mod=a.oAB({type:p}),p.\u0275inj=a.cJS({providers:[s]}),p})()},98184:(ot,pe,h)=>{h.d(pe,{Iu:()=>Ge,U8:()=>ft,Vs:()=>Ce,X_:()=>_e,aV:()=>Pt,pI:()=>fn,tR:()=>se,xu:()=>Bt});var a=h(82540),s=h(36895),T=h(94650),Y=h(21281),q=h(83353),p=h(40445),R=h(84080),w=h(77579),P=h(50727),A=h(56451),U=h(95698),G=h(82722),de=h(22529),Te=h(29521);const $=(0,q.Mq)();class Me{constructor(N,V){this._viewportRuler=N,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=V}attach(){}enable(){if(this._canBeEnabled()){const N=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=N.style.left||"",this._previousHTMLStyles.top=N.style.top||"",N.style.left=(0,Y.HM)(-this._previousScrollPosition.left),N.style.top=(0,Y.HM)(-this._previousScrollPosition.top),N.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const N=this._document.documentElement,J=N.style,E=this._document.body.style,I=J.scrollBehavior||"",O=E.scrollBehavior||"";this._isEnabled=!1,J.left=this._previousHTMLStyles.left,J.top=this._previousHTMLStyles.top,N.classList.remove("cdk-global-scrollblock"),$&&(J.scrollBehavior=E.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$&&(J.scrollBehavior=I,E.scrollBehavior=O)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const V=this._document.body,J=this._viewportRuler.getViewportSize();return V.scrollHeight>J.height||V.scrollWidth>J.width}}class De{constructor(N,V,J,E){this._scrollDispatcher=N,this._ngZone=V,this._viewportRuler=J,this._config=E,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(N){this._overlayRef=N}enable(){if(this._scrollSubscription)return;const N=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=N.subscribe(()=>{const V=this._viewportRuler.getViewportScrollPosition().top;Math.abs(V-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=N.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class xe{enable(){}disable(){}attach(){}}function Fe(Qe,N){return N.some(V=>Qe.bottomV.bottom||Qe.rightV.right)}function be(Qe,N){return N.some(V=>Qe.topV.bottom||Qe.leftV.right)}class B{constructor(N,V,J,E){this._scrollDispatcher=N,this._viewportRuler=V,this._ngZone=J,this._config=E,this._scrollSubscription=null}attach(N){this._overlayRef=N}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const V=this._overlayRef.overlayElement.getBoundingClientRect(),{width:J,height:E}=this._viewportRuler.getViewportSize();Fe(V,[{width:J,height:E,bottom:E,right:J,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let re=(()=>{class Qe{constructor(V,J,E,I){this._scrollDispatcher=V,this._viewportRuler=J,this._ngZone=E,this.noop=()=>new xe,this.close=O=>new De(this._scrollDispatcher,this._ngZone,this._viewportRuler,O),this.block=()=>new Me(this._viewportRuler,this._document),this.reposition=O=>new B(this._scrollDispatcher,this._viewportRuler,this._ngZone,O),this._document=I}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(a.mF),T.LFG(a.rL),T.LFG(T.R0b),T.LFG(s.K0))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();class _e{constructor(N){if(this.scrollStrategy=new xe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,N){const V=Object.keys(N);for(const J of V)void 0!==N[J]&&(this[J]=N[J])}}}class se{constructor(N,V,J,E,I){this.offsetX=J,this.offsetY=E,this.panelClass=I,this.originX=N.originX,this.originY=N.originY,this.overlayX=V.overlayX,this.overlayY=V.overlayY}}class Ie{constructor(N,V){this.connectionPair=N,this.scrollableViewProperties=V}}let Q=(()=>{class Qe{constructor(V){this._attachedOverlays=[],this._document=V}ngOnDestroy(){this.detach()}add(V){this.remove(V),this._attachedOverlays.push(V)}remove(V){const J=this._attachedOverlays.indexOf(V);J>-1&&this._attachedOverlays.splice(J,1),0===this._attachedOverlays.length&&this.detach()}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(s.K0))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),Ce=(()=>{class Qe extends Q{constructor(V,J){super(V),this._ngZone=J,this._keydownListener=E=>{const I=this._attachedOverlays;for(let O=I.length-1;O>-1;O--)if(I[O]._keydownEvents.observers.length>0){const k=I[O]._keydownEvents;this._ngZone?this._ngZone.run(()=>k.next(E)):k.next(E);break}}}add(V){super.add(V),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(s.K0),T.LFG(T.R0b,8))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),Le=(()=>{class Qe extends Q{constructor(V,J,E){super(V),this._platform=J,this._ngZone=E,this._cursorStyleIsSet=!1,this._pointerDownListener=I=>{this._pointerDownEventTarget=(0,q.sA)(I)},this._clickListener=I=>{const O=(0,q.sA)(I),k="click"===I.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:O;this._pointerDownEventTarget=null;const ge=this._attachedOverlays.slice();for(let Oe=ge.length-1;Oe>-1;Oe--){const He=ge[Oe];if(He._outsidePointerEvents.observers.length<1||!He.hasAttached())continue;if(He.overlayElement.contains(O)||He.overlayElement.contains(k))break;const rt=He._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>rt.next(I)):rt.next(I)}}}add(V){if(super.add(V),!this._isAttached){const J=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(J)):this._addEventListeners(J),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=J.style.cursor,J.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const V=this._document.body;V.removeEventListener("pointerdown",this._pointerDownListener,!0),V.removeEventListener("click",this._clickListener,!0),V.removeEventListener("auxclick",this._clickListener,!0),V.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(V.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(V){V.addEventListener("pointerdown",this._pointerDownListener,!0),V.addEventListener("click",this._clickListener,!0),V.addEventListener("auxclick",this._clickListener,!0),V.addEventListener("contextmenu",this._clickListener,!0)}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(s.K0),T.LFG(q.t4),T.LFG(T.R0b,8))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),Ue=(()=>{class Qe{constructor(V,J){this._platform=J,this._document=V}ngOnDestroy(){var V;null===(V=this._containerElement)||void 0===V||V.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const V="cdk-overlay-container";if(this._platform.isBrowser||(0,q.Oy)()){const E=this._document.querySelectorAll(`.${V}[platform="server"], .${V}[platform="test"]`);for(let I=0;Ithis._backdropClick.next(rt),this._backdropTransitionendHandler=rt=>{this._disposeBackdrop(rt.target)},this._keydownEvents=new w.x,this._outsidePointerEvents=new w.x,E.scrollStrategy&&(this._scrollStrategy=E.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=E.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(N){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const V=this._portalOutlet.attach(N);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof V?.onDestroy&&V.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),V}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const N=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),N}dispose(){var N;const V=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(N=this._host)||void 0===N||N.remove(),this._previousHostParent=this._pane=this._host=null,V&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(N){N!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=N,this.hasAttached()&&(N.attach(this),this.updatePosition()))}updateSize(N){this._config={...this._config,...N},this._updateElementSize()}setDirection(N){this._config={...this._config,direction:N},this._updateElementDirection()}addPanelClass(N){this._pane&&this._toggleClasses(this._pane,N,!0)}removePanelClass(N){this._pane&&this._toggleClasses(this._pane,N,!1)}getDirection(){const N=this._config.direction;return N?"string"==typeof N?N:N.value:"ltr"}updateScrollStrategy(N){N!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=N,this.hasAttached()&&(N.attach(this),N.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const N=this._pane.style;N.width=(0,Y.HM)(this._config.width),N.height=(0,Y.HM)(this._config.height),N.minWidth=(0,Y.HM)(this._config.minWidth),N.minHeight=(0,Y.HM)(this._config.minHeight),N.maxWidth=(0,Y.HM)(this._config.maxWidth),N.maxHeight=(0,Y.HM)(this._config.maxHeight)}_togglePointerEvents(N){this._pane.style.pointerEvents=N?"":"none"}_attachBackdrop(){const N="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(N)})}):this._backdropElement.classList.add(N)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const N=this._backdropElement;if(N){if(this._animationsDisabled)return void this._disposeBackdrop(N);N.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{N.addEventListener("transitionend",this._backdropTransitionendHandler)}),N.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(N)},500))}}_toggleClasses(N,V,J){const E=(0,Y.Eq)(V||[]).filter(I=>!!I);E.length&&(J?N.classList.add(...E):N.classList.remove(...E))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const N=this._ngZone.onStable.pipe((0,G.R)((0,A.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),N.unsubscribe())})})}_disposeScrollStrategy(){const N=this._scrollStrategy;N&&(N.disable(),N.detach&&N.detach())}_disposeBackdrop(N){N&&(N.removeEventListener("click",this._backdropClickHandler),N.removeEventListener("transitionend",this._backdropTransitionendHandler),N.remove(),this._backdropElement===N&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const gt="cdk-overlay-connected-position-bounding-box",Je=/([A-Za-z%]+)$/;class $e{constructor(N,V,J,E,I){this._viewportRuler=V,this._document=J,this._platform=E,this._overlayContainer=I,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new w.x,this._resizeSubscription=P.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(N)}get positions(){return this._preferredPositions}attach(N){this._validatePositions(),N.hostElement.classList.add(gt),this._overlayRef=N,this._boundingBox=N.hostElement,this._pane=N.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const N=this._originRect,V=this._overlayRect,J=this._viewportRect,E=this._containerRect,I=[];let O;for(let k of this._preferredPositions){let ge=this._getOriginPoint(N,E,k),Oe=this._getOverlayPoint(ge,V,k),He=this._getOverlayFit(Oe,V,J,k);if(He.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(k,ge);this._canFitWithFlexibleDimensions(He,Oe,J)?I.push({position:k,origin:ge,overlayRect:V,boundingBoxRect:this._calculateBoundingBoxRect(ge,k)}):(!O||O.overlayFit.visibleAreage&&(ge=He,k=Oe)}return this._isPushed=!1,void this._applyPosition(k.position,k.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(O.position,O.originPoint);this._applyPosition(O.position,O.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&St(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(gt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const N=this._lastPosition;if(N){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const V=this._getOriginPoint(this._originRect,this._containerRect,N);this._applyPosition(N,V)}else this.apply()}withScrollableContainers(N){return this._scrollables=N,this}withPositions(N){return this._preferredPositions=N,-1===N.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(N){return this._viewportMargin=N,this}withFlexibleDimensions(N=!0){return this._hasFlexibleDimensions=N,this}withGrowAfterOpen(N=!0){return this._growAfterOpen=N,this}withPush(N=!0){return this._canPush=N,this}withLockedPosition(N=!0){return this._positionLocked=N,this}setOrigin(N){return this._origin=N,this}withDefaultOffsetX(N){return this._offsetX=N,this}withDefaultOffsetY(N){return this._offsetY=N,this}withTransformOriginOn(N){return this._transformOriginSelector=N,this}_getOriginPoint(N,V,J){let E,I;if("center"==J.originX)E=N.left+N.width/2;else{const O=this._isRtl()?N.right:N.left,k=this._isRtl()?N.left:N.right;E="start"==J.originX?O:k}return V.left<0&&(E-=V.left),I="center"==J.originY?N.top+N.height/2:"top"==J.originY?N.top:N.bottom,V.top<0&&(I-=V.top),{x:E,y:I}}_getOverlayPoint(N,V,J){let E,I;return E="center"==J.overlayX?-V.width/2:"start"===J.overlayX?this._isRtl()?-V.width:0:this._isRtl()?0:-V.width,I="center"==J.overlayY?-V.height/2:"top"==J.overlayY?0:-V.height,{x:N.x+E,y:N.y+I}}_getOverlayFit(N,V,J,E){const I=yt(V);let{x:O,y:k}=N,ge=this._getOffset(E,"x"),Oe=this._getOffset(E,"y");ge&&(O+=ge),Oe&&(k+=Oe);let xt=0-k,tt=k+I.height-J.height,kt=this._subtractOverflows(I.width,0-O,O+I.width-J.width),Ve=this._subtractOverflows(I.height,xt,tt),_t=kt*Ve;return{visibleArea:_t,isCompletelyWithinViewport:I.width*I.height===_t,fitsInViewportVertically:Ve===I.height,fitsInViewportHorizontally:kt==I.width}}_canFitWithFlexibleDimensions(N,V,J){if(this._hasFlexibleDimensions){const E=J.bottom-V.y,I=J.right-V.x,O=it(this._overlayRef.getConfig().minHeight),k=it(this._overlayRef.getConfig().minWidth),Oe=N.fitsInViewportHorizontally||null!=k&&k<=I;return(N.fitsInViewportVertically||null!=O&&O<=E)&&Oe}return!1}_pushOverlayOnScreen(N,V,J){if(this._previousPushAmount&&this._positionLocked)return{x:N.x+this._previousPushAmount.x,y:N.y+this._previousPushAmount.y};const E=yt(V),I=this._viewportRect,O=Math.max(N.x+E.width-I.width,0),k=Math.max(N.y+E.height-I.height,0),ge=Math.max(I.top-J.top-N.y,0),Oe=Math.max(I.left-J.left-N.x,0);let He=0,rt=0;return He=E.width<=I.width?Oe||-O:N.xkt&&!this._isInitialRender&&!this._growAfterOpen&&(O=N.y-kt/2)}if("end"===V.overlayX&&!E||"start"===V.overlayX&&E)xt=J.width-N.x+this._viewportMargin,He=N.x-this._viewportMargin;else if("start"===V.overlayX&&!E||"end"===V.overlayX&&E)rt=N.x,He=J.right-N.x;else{const tt=Math.min(J.right-N.x+J.left,N.x),kt=this._lastBoundingBoxSize.width;He=2*tt,rt=N.x-tt,He>kt&&!this._isInitialRender&&!this._growAfterOpen&&(rt=N.x-kt/2)}return{top:O,left:rt,bottom:k,right:xt,width:He,height:I}}_setBoundingBoxStyles(N,V){const J=this._calculateBoundingBoxRect(N,V);!this._isInitialRender&&!this._growAfterOpen&&(J.height=Math.min(J.height,this._lastBoundingBoxSize.height),J.width=Math.min(J.width,this._lastBoundingBoxSize.width));const E={};if(this._hasExactPosition())E.top=E.left="0",E.bottom=E.right=E.maxHeight=E.maxWidth="",E.width=E.height="100%";else{const I=this._overlayRef.getConfig().maxHeight,O=this._overlayRef.getConfig().maxWidth;E.height=(0,Y.HM)(J.height),E.top=(0,Y.HM)(J.top),E.bottom=(0,Y.HM)(J.bottom),E.width=(0,Y.HM)(J.width),E.left=(0,Y.HM)(J.left),E.right=(0,Y.HM)(J.right),E.alignItems="center"===V.overlayX?"center":"end"===V.overlayX?"flex-end":"flex-start",E.justifyContent="center"===V.overlayY?"center":"bottom"===V.overlayY?"flex-end":"flex-start",I&&(E.maxHeight=(0,Y.HM)(I)),O&&(E.maxWidth=(0,Y.HM)(O))}this._lastBoundingBoxSize=J,St(this._boundingBox.style,E)}_resetBoundingBoxStyles(){St(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){St(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(N,V){const J={},E=this._hasExactPosition(),I=this._hasFlexibleDimensions,O=this._overlayRef.getConfig();if(E){const He=this._viewportRuler.getViewportScrollPosition();St(J,this._getExactOverlayY(V,N,He)),St(J,this._getExactOverlayX(V,N,He))}else J.position="static";let k="",ge=this._getOffset(V,"x"),Oe=this._getOffset(V,"y");ge&&(k+=`translateX(${ge}px) `),Oe&&(k+=`translateY(${Oe}px)`),J.transform=k.trim(),O.maxHeight&&(E?J.maxHeight=(0,Y.HM)(O.maxHeight):I&&(J.maxHeight="")),O.maxWidth&&(E?J.maxWidth=(0,Y.HM)(O.maxWidth):I&&(J.maxWidth="")),St(this._pane.style,J)}_getExactOverlayY(N,V,J){let E={top:"",bottom:""},I=this._getOverlayPoint(V,this._overlayRect,N);return this._isPushed&&(I=this._pushOverlayOnScreen(I,this._overlayRect,J)),"bottom"===N.overlayY?E.bottom=this._document.documentElement.clientHeight-(I.y+this._overlayRect.height)+"px":E.top=(0,Y.HM)(I.y),E}_getExactOverlayX(N,V,J){let O,E={left:"",right:""},I=this._getOverlayPoint(V,this._overlayRect,N);return this._isPushed&&(I=this._pushOverlayOnScreen(I,this._overlayRect,J)),O=this._isRtl()?"end"===N.overlayX?"left":"right":"end"===N.overlayX?"right":"left","right"===O?E.right=this._document.documentElement.clientWidth-(I.x+this._overlayRect.width)+"px":E.left=(0,Y.HM)(I.x),E}_getScrollVisibility(){const N=this._getOriginRect(),V=this._pane.getBoundingClientRect(),J=this._scrollables.map(E=>E.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:be(N,J),isOriginOutsideView:Fe(N,J),isOverlayClipped:be(V,J),isOverlayOutsideView:Fe(V,J)}}_subtractOverflows(N,...V){return V.reduce((J,E)=>J-Math.max(E,0),N)}_getNarrowedViewportRect(){const N=this._document.documentElement.clientWidth,V=this._document.documentElement.clientHeight,J=this._viewportRuler.getViewportScrollPosition();return{top:J.top+this._viewportMargin,left:J.left+this._viewportMargin,right:J.left+N-this._viewportMargin,bottom:J.top+V-this._viewportMargin,width:N-2*this._viewportMargin,height:V-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(N,V){return"x"===V?N.offsetX??this._offsetX:N.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(N){this._pane&&(0,Y.Eq)(N).forEach(V=>{""!==V&&-1===this._appliedPanelClasses.indexOf(V)&&(this._appliedPanelClasses.push(V),this._pane.classList.add(V))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(N=>{this._pane.classList.remove(N)}),this._appliedPanelClasses=[])}_getOriginRect(){const N=this._origin;if(N instanceof T.SBq)return N.nativeElement.getBoundingClientRect();if(N instanceof Element)return N.getBoundingClientRect();const V=N.width||0,J=N.height||0;return{top:N.y,bottom:N.y+J,left:N.x,right:N.x+V,height:J,width:V}}}function St(Qe,N){for(let V in N)N.hasOwnProperty(V)&&(Qe[V]=N[V]);return Qe}function it(Qe){if("number"!=typeof Qe&&null!=Qe){const[N,V]=Qe.split(Je);return V&&"px"!==V?null:parseFloat(N)}return Qe||null}function yt(Qe){return{top:Math.floor(Qe.top),right:Math.floor(Qe.right),bottom:Math.floor(Qe.bottom),left:Math.floor(Qe.left),width:Math.floor(Qe.width),height:Math.floor(Qe.height)}}const pt="cdk-global-overlay-wrapper";class Rt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(N){const V=N.getConfig();this._overlayRef=N,this._width&&!V.width&&N.updateSize({width:this._width}),this._height&&!V.height&&N.updateSize({height:this._height}),N.hostElement.classList.add(pt),this._isDisposed=!1}top(N=""){return this._bottomOffset="",this._topOffset=N,this._alignItems="flex-start",this}left(N=""){return this._xOffset=N,this._xPosition="left",this}bottom(N=""){return this._topOffset="",this._bottomOffset=N,this._alignItems="flex-end",this}right(N=""){return this._xOffset=N,this._xPosition="right",this}start(N=""){return this._xOffset=N,this._xPosition="start",this}end(N=""){return this._xOffset=N,this._xPosition="end",this}width(N=""){return this._overlayRef?this._overlayRef.updateSize({width:N}):this._width=N,this}height(N=""){return this._overlayRef?this._overlayRef.updateSize({height:N}):this._height=N,this}centerHorizontally(N=""){return this.left(N),this._xPosition="center",this}centerVertically(N=""){return this.top(N),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const N=this._overlayRef.overlayElement.style,V=this._overlayRef.hostElement.style,J=this._overlayRef.getConfig(),{width:E,height:I,maxWidth:O,maxHeight:k}=J,ge=!("100%"!==E&&"100vw"!==E||O&&"100%"!==O&&"100vw"!==O),Oe=!("100%"!==I&&"100vh"!==I||k&&"100%"!==k&&"100vh"!==k),He=this._xPosition,rt=this._xOffset,xt="rtl"===this._overlayRef.getConfig().direction;let tt="",kt="",Ve="";ge?Ve="flex-start":"center"===He?(Ve="center",xt?kt=rt:tt=rt):xt?"left"===He||"end"===He?(Ve="flex-end",tt=rt):("right"===He||"start"===He)&&(Ve="flex-start",kt=rt):"left"===He||"start"===He?(Ve="flex-start",tt=rt):("right"===He||"end"===He)&&(Ve="flex-end",kt=rt),N.position=this._cssPosition,N.marginLeft=ge?"0":tt,N.marginTop=Oe?"0":this._topOffset,N.marginBottom=this._bottomOffset,N.marginRight=ge?"0":kt,V.justifyContent=Ve,V.alignItems=Oe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const N=this._overlayRef.overlayElement.style,V=this._overlayRef.hostElement,J=V.style;V.classList.remove(pt),J.justifyContent=J.alignItems=N.marginTop=N.marginBottom=N.marginLeft=N.marginRight=N.position="",this._overlayRef=null,this._isDisposed=!0}}let kn=(()=>{class Qe{constructor(V,J,E,I){this._viewportRuler=V,this._document=J,this._platform=E,this._overlayContainer=I}global(){return new Rt}flexibleConnectedTo(V){return new $e(V,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(a.rL),T.LFG(s.K0),T.LFG(q.t4),T.LFG(Ue))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),lt=0,Pt=(()=>{class Qe{constructor(V,J,E,I,O,k,ge,Oe,He,rt,xt,tt){this.scrollStrategies=V,this._overlayContainer=J,this._componentFactoryResolver=E,this._positionBuilder=I,this._keyboardDispatcher=O,this._injector=k,this._ngZone=ge,this._document=Oe,this._directionality=He,this._location=rt,this._outsideClickDispatcher=xt,this._animationsModuleType=tt}create(V){const J=this._createHostElement(),E=this._createPaneElement(J),I=this._createPortalOutlet(E),O=new _e(V);return O.direction=O.direction||this._directionality.value,new Ge(I,J,E,O,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(V){const J=this._document.createElement("div");return J.id="cdk-overlay-"+lt++,J.classList.add("cdk-overlay-pane"),V.appendChild(J),J}_createHostElement(){const V=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(V),V}_createPortalOutlet(V){return this._appRef||(this._appRef=this._injector.get(T.z2F)),new R.u0(V,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.LFG(re),T.LFG(Ue),T.LFG(T._Vd),T.LFG(kn),T.LFG(Ce),T.LFG(T.zs3),T.LFG(T.R0b),T.LFG(s.K0),T.LFG(p.Is),T.LFG(s.Ye),T.LFG(Le),T.LFG(T.QbO,8))},Qe.\u0275prov=T.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})();const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ct=new T.OlP("cdk-connected-overlay-scroll-strategy");let Bt=(()=>{class Qe{constructor(V){this.elementRef=V}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.Y36(T.SBq))},Qe.\u0275dir=T.lG2({type:Qe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Qe})(),fn=(()=>{class Qe{constructor(V,J,E,I,O){this._overlay=V,this._dir=O,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w0.EMPTY,this._attachSubscription=P.w0.EMPTY,this._detachSubscription=P.w0.EMPTY,this._positionSubscription=P.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new T.vpe,this.positionChange=new T.vpe,this.attach=new T.vpe,this.detach=new T.vpe,this.overlayKeydown=new T.vpe,this.overlayOutsideClick=new T.vpe,this._templatePortal=new R.UE(J,E),this._scrollStrategyFactory=I,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(V){this._offsetX=V,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(V){this._offsetY=V,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(V){this._hasBackdrop=(0,Y.Ig)(V)}get lockPosition(){return this._lockPosition}set lockPosition(V){this._lockPosition=(0,Y.Ig)(V)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(V){this._flexibleDimensions=(0,Y.Ig)(V)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(V){this._growAfterOpen=(0,Y.Ig)(V)}get push(){return this._push}set push(V){this._push=(0,Y.Ig)(V)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(V){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),V.origin&&this.open&&this._position.apply()),V.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qe);const V=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=V.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=V.detachments().subscribe(()=>this.detach.emit()),V.keydownEvents().subscribe(J=>{this.overlayKeydown.next(J),J.keyCode===Te.hY&&!this.disableClose&&!(0,Te.Vb)(J)&&(J.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(J=>{this.overlayOutsideClick.next(J)})}_buildConfig(){const V=this._position=this.positionStrategy||this._createPositionStrategy(),J=new _e({direction:this._dir,positionStrategy:V,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(J.width=this.width),(this.height||0===this.height)&&(J.height=this.height),(this.minWidth||0===this.minWidth)&&(J.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(J.minHeight=this.minHeight),this.backdropClass&&(J.backdropClass=this.backdropClass),this.panelClass&&(J.panelClass=this.panelClass),J}_updatePositionStrategy(V){const J=this.positions.map(E=>({originX:E.originX,originY:E.originY,overlayX:E.overlayX,overlayY:E.overlayY,offsetX:E.offsetX||this.offsetX,offsetY:E.offsetY||this.offsetY,panelClass:E.panelClass||void 0}));return V.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(J).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const V=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(V),V}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Bt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(V=>{this.backdropClick.emit(V)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,de.o)(()=>this.positionChange.observers.length>0)).subscribe(V=>{this.positionChange.emit(V),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Qe.\u0275fac=function(V){return new(V||Qe)(T.Y36(Pt),T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(Ct),T.Y36(p.Is,8))},Qe.\u0275dir=T.lG2({type:Qe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[T.TTD]}),Qe})();const on={provide:Ct,deps:[Pt],useFactory:function bt(Qe){return()=>Qe.scrollStrategies.reposition()}};let ft=(()=>{class Qe{}return Qe.\u0275fac=function(V){return new(V||Qe)},Qe.\u0275mod=T.oAB({type:Qe}),Qe.\u0275inj=T.cJS({providers:[Pt,on],imports:[p.vT,R.eL,a.Cl,a.Cl]}),Qe})()},83353:(ot,pe,h)=>{h.d(pe,{Mq:()=>Te,Oy:()=>be,_i:()=>$,ht:()=>xe,i$:()=>U,kV:()=>De,sA:()=>Fe,t4:()=>Y,ud:()=>q});var a=h(94650),s=h(36895);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let P,G,de,Me,Y=(()=>{class B{constructor(_e){this._platformId=_e,this.isBrowser=this._platformId?(0,s.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!T)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return B.\u0275fac=function(_e){return new(_e||B)(a.LFG(a.Lbi))},B.\u0275prov=a.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),q=(()=>{class B{}return B.\u0275fac=function(_e){return new(_e||B)},B.\u0275mod=a.oAB({type:B}),B.\u0275inj=a.cJS({}),B})();function U(B){return function A(){if(null==P&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>P=!0}))}finally{P=P||!1}return P}()?B:!!B.capture}function Te(){if(null==de){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return de=!1,de;if("scrollBehavior"in document.documentElement.style)de=!0;else{const B=Element.prototype.scrollTo;de=!!B&&!/\{\s*\[native code\]\s*\}/.test(B.toString())}}return de}function $(){if("object"!=typeof document||!document)return 0;if(null==G){const B=document.createElement("div"),re=B.style;B.dir="rtl",re.width="1px",re.overflow="auto",re.visibility="hidden",re.pointerEvents="none",re.position="absolute";const _e=document.createElement("div"),se=_e.style;se.width="2px",se.height="1px",B.appendChild(_e),document.body.appendChild(B),G=0,0===B.scrollLeft&&(B.scrollLeft=1,G=0===B.scrollLeft?1:2),B.remove()}return G}function De(B){if(function j(){if(null==Me){const B=typeof document<"u"?document.head:null;Me=!(!B||!B.createShadowRoot&&!B.attachShadow)}return Me}()){const re=B.getRootNode?B.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&re instanceof ShadowRoot)return re}return null}function xe(){let B=typeof document<"u"&&document?document.activeElement:null;for(;B&&B.shadowRoot;){const re=B.shadowRoot.activeElement;if(re===B)break;B=re}return B}function Fe(B){return B.composedPath?B.composedPath()[0]:B.target}function be(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(ot,pe,h)=>{h.d(pe,{C5:()=>A,Pl:()=>xe,UE:()=>U,eL:()=>be,en:()=>de,u0:()=>$});var a=h(94650),s=h(36895);class P{attach(_e){return this._attachedHost=_e,_e.attach(this)}detach(){let _e=this._attachedHost;null!=_e&&(this._attachedHost=null,_e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(_e){this._attachedHost=_e}}class A extends P{constructor(_e,se,Se,Ie){super(),this.component=_e,this.viewContainerRef=se,this.injector=Se,this.componentFactoryResolver=Ie}}class U extends P{constructor(_e,se,Se,Ie){super(),this.templateRef=_e,this.viewContainerRef=se,this.context=Se,this.injector=Ie}get origin(){return this.templateRef.elementRef}attach(_e,se=this.context){return this.context=se,super.attach(_e)}detach(){return this.context=void 0,super.detach()}}class G extends P{constructor(_e){super(),this.element=_e instanceof a.SBq?_e.nativeElement:_e}}class de{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(_e){return _e instanceof A?(this._attachedPortal=_e,this.attachComponentPortal(_e)):_e instanceof U?(this._attachedPortal=_e,this.attachTemplatePortal(_e)):this.attachDomPortal&&_e instanceof G?(this._attachedPortal=_e,this.attachDomPortal(_e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(_e){this._disposeFn=_e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class $ extends de{constructor(_e,se,Se,Ie,oe){super(),this.outletElement=_e,this._componentFactoryResolver=se,this._appRef=Se,this._defaultInjector=Ie,this.attachDomPortal=me=>{const Q=me.element,Ce=this._document.createComment("dom-portal");Q.parentNode.insertBefore(Ce,Q),this.outletElement.appendChild(Q),this._attachedPortal=me,super.setDisposeFn(()=>{Ce.parentNode&&Ce.parentNode.replaceChild(Q,Ce)})},this._document=oe}attachComponentPortal(_e){const Se=(_e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(_e.component);let Ie;return _e.viewContainerRef?(Ie=_e.viewContainerRef.createComponent(Se,_e.viewContainerRef.length,_e.injector||_e.viewContainerRef.injector),this.setDisposeFn(()=>Ie.destroy())):(Ie=Se.create(_e.injector||this._defaultInjector||a.zs3.NULL),this._appRef.attachView(Ie.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ie.hostView),Ie.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ie)),this._attachedPortal=_e,Ie}attachTemplatePortal(_e){let se=_e.viewContainerRef,Se=se.createEmbeddedView(_e.templateRef,_e.context,{injector:_e.injector});return Se.rootNodes.forEach(Ie=>this.outletElement.appendChild(Ie)),Se.detectChanges(),this.setDisposeFn(()=>{let Ie=se.indexOf(Se);-1!==Ie&&se.remove(Ie)}),this._attachedPortal=_e,Se}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(_e){return _e.hostView.rootNodes[0]}}let xe=(()=>{class re extends de{constructor(se,Se,Ie){super(),this._componentFactoryResolver=se,this._viewContainerRef=Se,this._isInitialized=!1,this.attached=new a.vpe,this.attachDomPortal=oe=>{const me=oe.element,Q=this._document.createComment("dom-portal");oe.setAttachedHost(this),me.parentNode.insertBefore(Q,me),this._getRootNode().appendChild(me),this._attachedPortal=oe,super.setDisposeFn(()=>{Q.parentNode&&Q.parentNode.replaceChild(me,Q)})},this._document=Ie}get portal(){return this._attachedPortal}set portal(se){this.hasAttached()&&!se&&!this._isInitialized||(this.hasAttached()&&super.detach(),se&&super.attach(se),this._attachedPortal=se||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(se){se.setAttachedHost(this);const Se=null!=se.viewContainerRef?se.viewContainerRef:this._viewContainerRef,oe=(se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(se.component),me=Se.createComponent(oe,Se.length,se.injector||Se.injector);return Se!==this._viewContainerRef&&this._getRootNode().appendChild(me.hostView.rootNodes[0]),super.setDisposeFn(()=>me.destroy()),this._attachedPortal=se,this._attachedRef=me,this.attached.emit(me),me}attachTemplatePortal(se){se.setAttachedHost(this);const Se=this._viewContainerRef.createEmbeddedView(se.templateRef,se.context,{injector:se.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=se,this._attachedRef=Se,this.attached.emit(Se),Se}_getRootNode(){const se=this._viewContainerRef.element.nativeElement;return se.nodeType===se.ELEMENT_NODE?se:se.parentNode}}return re.\u0275fac=function(se){return new(se||re)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(s.K0))},re.\u0275dir=a.lG2({type:re,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),re})(),be=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=a.oAB({type:re}),re.\u0275inj=a.cJS({}),re})()},82540:(ot,pe,h)=>{h.d(pe,{xd:()=>Pe,ZD:()=>Qe,x0:()=>on,N7:()=>fn,mF:()=>pt,Cl:()=>N,rL:()=>lt});var a=h(21281),s=h(94650),T=h(77579),Y=h(39646),q=h(69751),p=h(54968),R=h(66406),w=h(53101),P=h(50727),A=h(45191),U=h(71884),G=h(23601),de=h(39300),Te=h(82722),$=h(68675),Me=h(54482),j=h(25403),xe=h(63900),Fe=h(4707),be=h(13099),re=h(83353),_e=h(36895),se=h(40445),Se=h(94033);class me extends class Ie{}{constructor(J){super(),this._data=J}connect(){return(0,A.b)(this._data)?this._data:(0,Y.of)(this._data)}disconnect(){}}class Ce{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(J,E,I,O,k){J.forEachOperation((ge,Oe,He)=>{let rt,xt;var tt;null==ge.previousIndex?(rt=this._insertView(()=>I(ge,Oe,He),He,E,O(ge)),xt=rt?1:0):null==He?(this._detachAndCacheView(Oe,E),xt=3):(rt=this._moveView(Oe,He,E,O(ge)),xt=2),k&&k({context:null===(tt=rt)||void 0===tt?void 0:tt.context,operation:xt,record:ge})})}detach(){for(const J of this._viewCache)J.destroy();this._viewCache=[]}_insertView(J,E,I,O){const k=this._insertViewFromCache(E,I);if(k)return void(k.context.$implicit=O);const ge=J();return I.createEmbeddedView(ge.templateRef,ge.context,ge.index)}_detachAndCacheView(J,E){const I=E.detach(J);this._maybeCacheView(I,E)}_moveView(J,E,I,O){const k=I.get(J);return I.move(k,E),k.context.$implicit=O,k}_maybeCacheView(J,E){if(this._viewCache.length0?k/this._itemSize:0;if(E.end>O){const He=Math.ceil(I/this._itemSize),rt=Math.max(0,Math.min(ge,O-He));ge!=rt&&(ge=rt,k=rt*this._itemSize,E.start=Math.floor(ge)),E.end=Math.max(0,Math.min(O,E.start+He))}const Oe=k-E.start*this._itemSize;if(Oe0&&(E.end=Math.min(O,E.end+rt),E.start=Math.max(0,Math.floor(ge-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(E),this._viewport.setRenderedContentOffset(this._itemSize*E.start),this._scrolledIndexChange.next(Math.floor(ge))}}function yt(V){return V._scrollStrategy}let Pe=(()=>{class V{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new it(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(E){this._itemSize=(0,a.su)(E)}get minBufferPx(){return this._minBufferPx}set minBufferPx(E){this._minBufferPx=(0,a.su)(E)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(E){this._maxBufferPx=(0,a.su)(E)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return V.\u0275fac=function(E){return new(E||V)},V.\u0275dir=s.lG2({type:V,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[s._Bn([{provide:St,useFactory:yt,deps:[(0,s.Gpc)(()=>V)]}]),s.TTD]}),V})(),pt=(()=>{class V{constructor(E,I,O){this._ngZone=E,this._platform=I,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=O}register(E){this.scrollContainers.has(E)||this.scrollContainers.set(E,E.elementScrolled().subscribe(()=>this._scrolled.next(E)))}deregister(E){const I=this.scrollContainers.get(E);I&&(I.unsubscribe(),this.scrollContainers.delete(E))}scrolled(E=20){return this._platform.isBrowser?new q.y(I=>{this._globalSubscription||this._addGlobalListener();const O=E>0?this._scrolled.pipe((0,G.e)(E)).subscribe(I):this._scrolled.subscribe(I);return this._scrolledCount++,()=>{O.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((E,I)=>this.deregister(I)),this._scrolled.complete()}ancestorScrolled(E,I){const O=this.getAncestorScrollContainers(E);return this.scrolled(I).pipe((0,de.h)(k=>!k||O.indexOf(k)>-1))}getAncestorScrollContainers(E){const I=[];return this.scrollContainers.forEach((O,k)=>{this._scrollableContainsElement(k,E)&&I.push(k)}),I}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(E,I){let O=(0,a.fI)(I),k=E.getElementRef().nativeElement;do{if(O==k)return!0}while(O=O.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const E=this._getWindow();return(0,p.R)(E.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return V.\u0275fac=function(E){return new(E||V)(s.LFG(s.R0b),s.LFG(re.t4),s.LFG(_e.K0,8))},V.\u0275prov=s.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),Rt=(()=>{class V{constructor(E,I,O,k){this.elementRef=E,this.scrollDispatcher=I,this.ngZone=O,this.dir=k,this._destroyed=new T.x,this._elementScrolled=new q.y(ge=>this.ngZone.runOutsideAngular(()=>(0,p.R)(this.elementRef.nativeElement,"scroll").pipe((0,Te.R)(this._destroyed)).subscribe(ge)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(E){const I=this.elementRef.nativeElement,O=this.dir&&"rtl"==this.dir.value;null==E.left&&(E.left=O?E.end:E.start),null==E.right&&(E.right=O?E.start:E.end),null!=E.bottom&&(E.top=I.scrollHeight-I.clientHeight-E.bottom),O&&0!=(0,re._i)()?(null!=E.left&&(E.right=I.scrollWidth-I.clientWidth-E.left),2==(0,re._i)()?E.left=E.right:1==(0,re._i)()&&(E.left=E.right?-E.right:E.right)):null!=E.right&&(E.left=I.scrollWidth-I.clientWidth-E.right),this._applyScrollToOptions(E)}_applyScrollToOptions(E){const I=this.elementRef.nativeElement;(0,re.Mq)()?I.scrollTo(E):(null!=E.top&&(I.scrollTop=E.top),null!=E.left&&(I.scrollLeft=E.left))}measureScrollOffset(E){const I="left",O="right",k=this.elementRef.nativeElement;if("top"==E)return k.scrollTop;if("bottom"==E)return k.scrollHeight-k.clientHeight-k.scrollTop;const ge=this.dir&&"rtl"==this.dir.value;return"start"==E?E=ge?O:I:"end"==E&&(E=ge?I:O),ge&&2==(0,re._i)()?E==I?k.scrollWidth-k.clientWidth-k.scrollLeft:k.scrollLeft:ge&&1==(0,re._i)()?E==I?k.scrollLeft+k.scrollWidth-k.clientWidth:-k.scrollLeft:E==I?k.scrollLeft:k.scrollWidth-k.clientWidth-k.scrollLeft}}return V.\u0275fac=function(E){return new(E||V)(s.Y36(s.SBq),s.Y36(pt),s.Y36(s.R0b),s.Y36(se.Is,8))},V.\u0275dir=s.lG2({type:V,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),V})(),lt=(()=>{class V{constructor(E,I,O){this._platform=E,this._change=new T.x,this._changeListener=k=>{this._change.next(k)},this._document=O,I.runOutsideAngular(()=>{if(E.isBrowser){const k=this._getWindow();k.addEventListener("resize",this._changeListener),k.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const E=this._getWindow();E.removeEventListener("resize",this._changeListener),E.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const E={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),E}getViewportRect(){const E=this.getViewportScrollPosition(),{width:I,height:O}=this.getViewportSize();return{top:E.top,left:E.left,bottom:E.top+O,right:E.left+I,height:O,width:I}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const E=this._document,I=this._getWindow(),O=E.documentElement,k=O.getBoundingClientRect();return{top:-k.top||E.body.scrollTop||I.scrollY||O.scrollTop||0,left:-k.left||E.body.scrollLeft||I.scrollX||O.scrollLeft||0}}change(E=20){return E>0?this._change.pipe((0,G.e)(E)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const E=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:E.innerWidth,height:E.innerHeight}:{width:0,height:0}}}return V.\u0275fac=function(E){return new(E||V)(s.LFG(re.t4),s.LFG(s.R0b),s.LFG(_e.K0,8))},V.\u0275prov=s.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const Pt=new s.OlP("VIRTUAL_SCROLLABLE");let qe=(()=>{class V extends Rt{constructor(E,I,O,k){super(E,I,O,k)}measureViewportSize(E){const I=this.elementRef.nativeElement;return"horizontal"===E?I.clientWidth:I.clientHeight}}return V.\u0275fac=function(E){return new(E||V)(s.Y36(s.SBq),s.Y36(pt),s.Y36(s.R0b),s.Y36(se.Is,8))},V.\u0275dir=s.lG2({type:V,features:[s.qOj]}),V})();const Bt=typeof requestAnimationFrame<"u"?R.Z:w.E;let fn=(()=>{class V extends qe{constructor(E,I,O,k,ge,Oe,He,rt){super(E,Oe,O,ge),this.elementRef=E,this._changeDetectorRef=I,this._scrollStrategy=k,this.scrollable=rt,this._platform=(0,s.f3M)(re.t4),this._detachedSubject=new T.x,this._renderedRangeSubject=new T.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new q.y(xt=>this._scrollStrategy.scrolledIndexChange.subscribe(tt=>Promise.resolve().then(()=>this.ngZone.run(()=>xt.next(tt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=P.w0.EMPTY,this._viewportChanges=He.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(E){this._orientation!==E&&(this._orientation=E,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(E){this._appendOnly=(0,a.Ig)(E)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,$.O)(null),(0,G.e)(0,Bt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(E){this.ngZone.runOutsideAngular(()=>{this._forOf=E,this._forOf.dataStream.pipe((0,Te.R)(this._detachedSubject)).subscribe(I=>{const O=I.length;O!==this._dataLength&&(this._dataLength=O,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(E){return this.getElementRef().nativeElement.getBoundingClientRect()[E]}setTotalContentSize(E){this._totalContentSize!==E&&(this._totalContentSize=E,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(E){(function Ct(V,J){return V.start==J.start&&V.end==J.end})(this._renderedRange,E)||(this.appendOnly&&(E={start:0,end:Math.max(this._renderedRange.end,E.end)}),this._renderedRangeSubject.next(this._renderedRange=E),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(E,I="to-start"){E=this.appendOnly&&"to-start"===I?0:E;const k="horizontal"==this.orientation,ge=k?"X":"Y";let He=`translate${ge}(${Number((k&&this.dir&&"rtl"==this.dir.value?-1:1)*E)}px)`;this._renderedContentOffset=E,"to-end"===I&&(He+=` translate${ge}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=He&&(this._renderedContentTransform=He,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(E,I="auto"){const O={behavior:I};"horizontal"===this.orientation?O.start=E:O.top=E,this.scrollable.scrollTo(O)}scrollToIndex(E,I="auto"){this._scrollStrategy.scrollToIndex(E,I)}measureScrollOffset(E){let I;return I=this.scrollable==this?O=>super.measureScrollOffset(O):O=>this.scrollable.measureScrollOffset(O),Math.max(0,I(E??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(E){var I;let O;const k="left",Oe="rtl"==(null===(I=this.dir)||void 0===I?void 0:I.value);O="start"==E?Oe?"right":k:"end"==E?Oe?k:"right":E||("horizontal"===this.orientation?"left":"top");const He=this.scrollable.measureBoundingClientRectWithScrollOffset(O);return this.elementRef.nativeElement.getBoundingClientRect()[O]-He}measureRenderedContentSize(){const E=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?E.offsetWidth:E.offsetHeight}measureRangeSize(E){return this._forOf?this._forOf.measureRangeSize(E,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(E){E&&this._runAfterChangeDetection.push(E),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const E=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const I of E)I()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return V.\u0275fac=function(E){return new(E||V)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(St,8),s.Y36(se.Is,8),s.Y36(pt),s.Y36(lt),s.Y36(Pt,8))},V.\u0275cmp=s.Xpm({type:V,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(E,I){if(1&E&&s.Gf(Je,7),2&E){let O;s.iGM(O=s.CRH())&&(I._contentWrapper=O.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(E,I){2&E&&s.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===I.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==I.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[s._Bn([{provide:Rt,useFactory:(J,E)=>J||E,deps:[qe,V]}]),s.qOj],ngContentSelectors:$e,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(E,I){1&E&&(s.F$t(),s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&E&&(s.xp6(3),s.Udp("width",I._totalContentWidth)("height",I._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),V})();function bt(V,J,E){if(!E.getBoundingClientRect)return 0;const O=E.getBoundingClientRect();return"horizontal"===V?"start"===J?O.left:O.right:"start"===J?O.top:O.bottom}let on=(()=>{class V{constructor(E,I,O,k,ge,Oe){this._viewContainerRef=E,this._template=I,this._differs=O,this._viewRepeater=k,this._viewport=ge,this.viewChange=new T.x,this._dataSourceChanges=new T.x,this.dataStream=this._dataSourceChanges.pipe((0,$.O)(null),function De(){return(0,Me.e)((V,J)=>{let E,I=!1;V.subscribe((0,j.x)(J,O=>{const k=E;E=O,I&&J.next([k,O]),I=!0}))})}(),(0,xe.w)(([He,rt])=>this._changeDataSource(He,rt)),function B(V,J,E){let I,O=!1;return V&&"object"==typeof V?({bufferSize:I=1/0,windowTime:J=1/0,refCount:O=!1,scheduler:E}=V):I=V??1/0,(0,be.B)({connector:()=>new Fe.t(I,J,E),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:O})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new T.x,this.dataStream.subscribe(He=>{this._data=He,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Te.R)(this._destroyed)).subscribe(He=>{this._renderedRange=He,this.viewChange.observers.length&&Oe.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(E){this._cdkVirtualForOf=E,function oe(V){return V&&"function"==typeof V.connect&&!(V instanceof Se.c)}(E)?this._dataSourceChanges.next(E):this._dataSourceChanges.next(new me((0,A.b)(E)?E:Array.from(E||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(E){this._needsUpdate=!0,this._cdkVirtualForTrackBy=E?(I,O)=>E(I+(this._renderedRange?this._renderedRange.start:0),O):void 0}set cdkVirtualForTemplate(E){E&&(this._needsUpdate=!0,this._template=E)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(E){this._viewRepeater.viewCacheSize=(0,a.su)(E)}measureRangeSize(E,I){if(E.start>=E.end)return 0;const O=E.start-this._renderedRange.start,k=E.end-E.start;let ge,Oe;for(let He=0;He-1;He--){const rt=this._viewContainerRef.get(He+O);if(rt&&rt.rootNodes.length){Oe=rt.rootNodes[rt.rootNodes.length-1];break}}return ge&&Oe?bt(I,"end",Oe)-bt(I,"start",ge):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const E=this._differ.diff(this._renderedItems);E?this._applyChanges(E):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((E,I)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(E,I):I)),this._needsUpdate=!0)}_changeDataSource(E,I){return E&&E.disconnect(this),this._needsUpdate=!0,I?I.connect(this):(0,Y.of)()}_updateContext(){const E=this._data.length;let I=this._viewContainerRef.length;for(;I--;){const O=this._viewContainerRef.get(I);O.context.index=this._renderedRange.start+I,O.context.count=E,this._updateComputedContextProperties(O.context),O.detectChanges()}}_applyChanges(E){this._viewRepeater.applyChanges(E,this._viewContainerRef,(k,ge,Oe)=>this._getEmbeddedViewArgs(k,Oe),k=>k.item),E.forEachIdentityChange(k=>{this._viewContainerRef.get(k.currentIndex).context.$implicit=k.item});const I=this._data.length;let O=this._viewContainerRef.length;for(;O--;){const k=this._viewContainerRef.get(O);k.context.index=this._renderedRange.start+O,k.context.count=I,this._updateComputedContextProperties(k.context)}}_updateComputedContextProperties(E){E.first=0===E.index,E.last=E.index===E.count-1,E.even=E.index%2==0,E.odd=!E.even}_getEmbeddedViewArgs(E,I){return{templateRef:this._template,context:{$implicit:E.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:I}}}return V.\u0275fac=function(E){return new(E||V)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(gt),s.Y36(fn,4),s.Y36(s.R0b))},V.\u0275dir=s.lG2({type:V,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[s._Bn([{provide:gt,useClass:Ce}])]}),V})(),Qe=(()=>{class V{}return V.\u0275fac=function(E){return new(E||V)},V.\u0275mod=s.oAB({type:V}),V.\u0275inj=s.cJS({}),V})(),N=(()=>{class V{}return V.\u0275fac=function(E){return new(E||V)},V.\u0275mod=s.oAB({type:V}),V.\u0275inj=s.cJS({imports:[se.vT,Qe,se.vT,Qe]}),V})()},36895:(ot,pe,h)=>{h.d(pe,{Do:()=>Fe,ED:()=>ri,EM:()=>vr,HT:()=>q,JF:()=>Nn,JJ:()=>ai,K0:()=>R,Mx:()=>ti,NF:()=>xi,Nd:()=>fr,O5:()=>mn,Ov:()=>bi,PC:()=>So,RF:()=>$o,S$:()=>j,V_:()=>A,Ye:()=>be,Zx:()=>Go,b0:()=>xe,bD:()=>ci,ez:()=>Ui,gd:()=>Si,mk:()=>pn,n9:()=>Wo,p6:()=>Oe,q:()=>T,qS:()=>Io,sg:()=>oo,tP:()=>zi,uU:()=>Do,w_:()=>p});var a=h(94650);let s=null;function T(){return s}function q(M){s||(s=M)}class p{}const R=new a.OlP("DocumentToken");let w=(()=>{class M{historyGo(C){throw new Error("Not implemented")}}return M.\u0275fac=function(C){return new(C||M)},M.\u0275prov=a.Yz7({token:M,factory:function(){return function P(){return(0,a.LFG)(U)}()},providedIn:"platform"}),M})();const A=new a.OlP("Location Initialized");let U=(()=>{class M extends w{constructor(C){super(),this._doc=C,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(C){const F=T().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",C,!1),()=>F.removeEventListener("popstate",C)}onHashChange(C){const F=T().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",C,!1),()=>F.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,F,he){G()?this._history.pushState(C,F,he):this.location.hash=he}replaceState(C,F,he){G()?this._history.replaceState(C,F,he):this.location.hash=he}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}}return M.\u0275fac=function(C){return new(C||M)(a.LFG(R))},M.\u0275prov=a.Yz7({token:M,factory:function(){return function de(){return new U((0,a.LFG)(R))}()},providedIn:"platform"}),M})();function G(){return!!window.history.pushState}function Te(M,S){if(0==M.length)return S;if(0==S.length)return M;let C=0;return M.endsWith("/")&&C++,S.startsWith("/")&&C++,2==C?M+S.substring(1):1==C?M+S:M+"/"+S}function $(M){const S=M.match(/#|\?|$/),C=S&&S.index||M.length;return M.slice(0,C-("/"===M[C-1]?1:0))+M.slice(C)}function Me(M){return M&&"?"!==M[0]?"?"+M:M}let j=(()=>{class M{historyGo(C){throw new Error("Not implemented")}}return M.\u0275fac=function(C){return new(C||M)},M.\u0275prov=a.Yz7({token:M,factory:function(){return(0,a.f3M)(xe)},providedIn:"root"}),M})();const De=new a.OlP("appBaseHref");let xe=(()=>{class M extends j{constructor(C,F){var he,je,Ze;super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=null!==(he=null!==(je=F??this._platformLocation.getBaseHrefFromDOM())&&void 0!==je?je:null===(Ze=(0,a.f3M)(R).location)||void 0===Ze?void 0:Ze.origin)&&void 0!==he?he:""}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 Te(this._baseHref,C)}path(C=!1){const F=this._platformLocation.pathname+Me(this._platformLocation.search),he=this._platformLocation.hash;return he&&C?`${F}${he}`:F}pushState(C,F,he,je){const Ze=this.prepareExternalUrl(he+Me(je));this._platformLocation.pushState(C,F,Ze)}replaceState(C,F,he,je){const Ze=this.prepareExternalUrl(he+Me(je));this._platformLocation.replaceState(C,F,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){var F,he;null===(F=(he=this._platformLocation).historyGo)||void 0===F||F.call(he,C)}}return M.\u0275fac=function(C){return new(C||M)(a.LFG(w),a.LFG(De,8))},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),Fe=(()=>{class M extends j{constructor(C,F){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}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 F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(C){const F=Te(this._baseHref,C);return F.length>0?"#"+F:F}pushState(C,F,he,je){let Ze=this.prepareExternalUrl(he+Me(je));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.pushState(C,F,Ze)}replaceState(C,F,he,je){let Ze=this.prepareExternalUrl(he+Me(je));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.replaceState(C,F,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){var F,he;null===(F=(he=this._platformLocation).historyGo)||void 0===F||F.call(he,C)}}return M.\u0275fac=function(C){return new(C||M)(a.LFG(w),a.LFG(De,8))},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac}),M})(),be=(()=>{class M{constructor(C){this._subject=new a.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const F=this._locationStrategy.getBaseHref();this._baseHref=$(_e(F)),this._locationStrategy.onPopState(he=>{this._subject.emit({url:this.path(!0),pop:!0,state:he.state,type:he.type})})}ngOnDestroy(){var C;null===(C=this._urlChangeSubscription)||void 0===C||C.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,F=""){return this.path()==this.normalize(C+Me(F))}normalize(C){return M.stripTrailingSlash(function re(M,S){return M&&S.startsWith(M)?S.substring(M.length):S}(this._baseHref,_e(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,F="",he=null){this._locationStrategy.pushState(he,"",C,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+Me(F)),he)}replaceState(C,F="",he=null){this._locationStrategy.replaceState(he,"",C,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+Me(F)),he)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){var F,he;null===(F=(he=this._locationStrategy).historyGo)||void 0===F||F.call(he,C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(C);var he;this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(null===(he=this._urlChangeSubscription)||void 0===he||he.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",F){this._urlChangeListeners.forEach(he=>he(C,F))}subscribe(C,F,he){return this._subject.subscribe({next:C,error:F,complete:he})}}return M.normalizeQueryParams=Me,M.joinWithSlash=Te,M.stripTrailingSlash=$,M.\u0275fac=function(C){return new(C||M)(a.LFG(j))},M.\u0275prov=a.Yz7({token:M,factory:function(){return function B(){return new be((0,a.LFG)(j))}()},providedIn:"root"}),M})();function _e(M){return M.replace(/\/index.html$/,"")}var Se=(()=>((Se=Se||{})[Se.Decimal=0]="Decimal",Se[Se.Percent=1]="Percent",Se[Se.Currency=2]="Currency",Se[Se.Scientific=3]="Scientific",Se))(),oe=(()=>((oe=oe||{})[oe.Format=0]="Format",oe[oe.Standalone=1]="Standalone",oe))(),me=(()=>((me=me||{})[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me))(),Q=(()=>((Q=Q||{})[Q.Short=0]="Short",Q[Q.Medium=1]="Medium",Q[Q.Long=2]="Long",Q[Q.Full=3]="Full",Q))(),Ce=(()=>((Ce=Ce||{})[Ce.Decimal=0]="Decimal",Ce[Ce.Group=1]="Group",Ce[Ce.List=2]="List",Ce[Ce.PercentSign=3]="PercentSign",Ce[Ce.PlusSign=4]="PlusSign",Ce[Ce.MinusSign=5]="MinusSign",Ce[Ce.Exponential=6]="Exponential",Ce[Ce.SuperscriptingExponent=7]="SuperscriptingExponent",Ce[Ce.PerMille=8]="PerMille",Ce[Ce.Infinity=9]="Infinity",Ce[Ce.NaN=10]="NaN",Ce[Ce.TimeSeparator=11]="TimeSeparator",Ce[Ce.CurrencyDecimal=12]="CurrencyDecimal",Ce[Ce.CurrencyGroup=13]="CurrencyGroup",Ce))();function yt(M,S){return ft((0,a.cg1)(M)[a.wAp.DateFormat],S)}function Pe(M,S){return ft((0,a.cg1)(M)[a.wAp.TimeFormat],S)}function nt(M,S){return ft((0,a.cg1)(M)[a.wAp.DateTimeFormat],S)}function pt(M,S){const C=(0,a.cg1)(M),F=C[a.wAp.NumberSymbols][S];if(typeof F>"u"){if(S===Ce.CurrencyDecimal)return C[a.wAp.NumberSymbols][Ce.Decimal];if(S===Ce.CurrencyGroup)return C[a.wAp.NumberSymbols][Ce.Group]}return F}function Rt(M,S){return(0,a.cg1)(M)[a.wAp.NumberFormats][S]}function Bt(M){if(!M[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${M[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ft(M,S){for(let C=S;C>-1;C--)if(typeof M[C]<"u")return M[C];throw new Error("Locale data API: locale data undefined")}function gn(M){const[S,C]=M.split(":");return{hours:+S,minutes:+C}}const J=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,E={},I=/((?:[^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 O=(()=>((O=O||{})[O.Short=0]="Short",O[O.ShortGMT=1]="ShortGMT",O[O.Long=2]="Long",O[O.Extended=3]="Extended",O))(),k=(()=>((k=k||{})[k.FullYear=0]="FullYear",k[k.Month=1]="Month",k[k.Date=2]="Date",k[k.Hours=3]="Hours",k[k.Minutes=4]="Minutes",k[k.Seconds=5]="Seconds",k[k.FractionalSeconds=6]="FractionalSeconds",k[k.Day=7]="Day",k))(),ge=(()=>((ge=ge||{})[ge.DayPeriods=0]="DayPeriods",ge[ge.Days=1]="Days",ge[ge.Months=2]="Months",ge[ge.Eras=3]="Eras",ge))();function Oe(M,S,C,F){let he=function Cn(M){if(Et(M))return M;if("number"==typeof M&&!isNaN(M))return new Date(M);if("string"==typeof M){if(M=M.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(M)){const[he,je=1,Ze=1]=M.split("-").map(zt=>+zt);return He(he,je-1,Ze)}const C=parseFloat(M);if(!isNaN(M-C))return new Date(C);let F;if(F=M.match(J))return function We(M){const S=new Date(0);let C=0,F=0;const he=M[8]?S.setUTCFullYear:S.setFullYear,je=M[8]?S.setUTCHours:S.setHours;M[9]&&(C=Number(M[9]+M[10]),F=Number(M[9]+M[11])),he.call(S,Number(M[1]),Number(M[2])-1,Number(M[3]));const Ze=Number(M[4]||0)-C,zt=Number(M[5]||0)-F,un=Number(M[6]||0),cn=Math.floor(1e3*parseFloat("0."+(M[7]||0)));return je.call(S,Ze,zt,un,cn),S}(F)}const S=new Date(M);if(!Et(S))throw new Error(`Unable to convert "${M}" into a date`);return S}(M);S=rt(C,S)||S;let zt,Ze=[];for(;S;){if(zt=I.exec(S),!zt){Ze.push(S);break}{Ze=Ze.concat(zt.slice(1));const yn=Ze.pop();if(!yn)break;S=yn}}let un=he.getTimezoneOffset();F&&(un=Yt(F,un),he=function Ht(M,S,C){const F=C?-1:1,he=M.getTimezoneOffset();return function Zt(M,S){return(M=new Date(M.getTime())).setMinutes(M.getMinutes()+S),M}(M,F*(Yt(S,he)-he))}(he,F,!0));let cn="";return Ze.forEach(yn=>{const ln=function ut(M){if(et[M])return et[M];let S;switch(M){case"G":case"GG":case"GGG":S=fe(ge.Eras,me.Abbreviated);break;case"GGGG":S=fe(ge.Eras,me.Wide);break;case"GGGGG":S=fe(ge.Eras,me.Narrow);break;case"y":S=Ve(k.FullYear,1,0,!1,!0);break;case"yy":S=Ve(k.FullYear,2,0,!0,!0);break;case"yyy":S=Ve(k.FullYear,3,0,!1,!0);break;case"yyyy":S=Ve(k.FullYear,4,0,!1,!0);break;case"Y":S=Ae(1);break;case"YY":S=Ae(2,!0);break;case"YYY":S=Ae(3);break;case"YYYY":S=Ae(4);break;case"M":case"L":S=Ve(k.Month,1,1);break;case"MM":case"LL":S=Ve(k.Month,2,1);break;case"MMM":S=fe(ge.Months,me.Abbreviated);break;case"MMMM":S=fe(ge.Months,me.Wide);break;case"MMMMM":S=fe(ge.Months,me.Narrow);break;case"LLL":S=fe(ge.Months,me.Abbreviated,oe.Standalone);break;case"LLLL":S=fe(ge.Months,me.Wide,oe.Standalone);break;case"LLLLL":S=fe(ge.Months,me.Narrow,oe.Standalone);break;case"w":S=we(1);break;case"ww":S=we(2);break;case"W":S=we(1,!0);break;case"d":S=Ve(k.Date,1);break;case"dd":S=Ve(k.Date,2);break;case"c":case"cc":S=Ve(k.Day,1);break;case"ccc":S=fe(ge.Days,me.Abbreviated,oe.Standalone);break;case"cccc":S=fe(ge.Days,me.Wide,oe.Standalone);break;case"ccccc":S=fe(ge.Days,me.Narrow,oe.Standalone);break;case"cccccc":S=fe(ge.Days,me.Short,oe.Standalone);break;case"E":case"EE":case"EEE":S=fe(ge.Days,me.Abbreviated);break;case"EEEE":S=fe(ge.Days,me.Wide);break;case"EEEEE":S=fe(ge.Days,me.Narrow);break;case"EEEEEE":S=fe(ge.Days,me.Short);break;case"a":case"aa":case"aaa":S=fe(ge.DayPeriods,me.Abbreviated);break;case"aaaa":S=fe(ge.DayPeriods,me.Wide);break;case"aaaaa":S=fe(ge.DayPeriods,me.Narrow);break;case"b":case"bb":case"bbb":S=fe(ge.DayPeriods,me.Abbreviated,oe.Standalone,!0);break;case"bbbb":S=fe(ge.DayPeriods,me.Wide,oe.Standalone,!0);break;case"bbbbb":S=fe(ge.DayPeriods,me.Narrow,oe.Standalone,!0);break;case"B":case"BB":case"BBB":S=fe(ge.DayPeriods,me.Abbreviated,oe.Format,!0);break;case"BBBB":S=fe(ge.DayPeriods,me.Wide,oe.Format,!0);break;case"BBBBB":S=fe(ge.DayPeriods,me.Narrow,oe.Format,!0);break;case"h":S=Ve(k.Hours,1,-12);break;case"hh":S=Ve(k.Hours,2,-12);break;case"H":S=Ve(k.Hours,1);break;case"HH":S=Ve(k.Hours,2);break;case"m":S=Ve(k.Minutes,1);break;case"mm":S=Ve(k.Minutes,2);break;case"s":S=Ve(k.Seconds,1);break;case"ss":S=Ve(k.Seconds,2);break;case"S":S=Ve(k.FractionalSeconds,1);break;case"SS":S=Ve(k.FractionalSeconds,2);break;case"SSS":S=Ve(k.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":S=ue(O.Short);break;case"ZZZZZ":S=ue(O.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":S=ue(O.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":S=ue(O.Long);break;default:return null}return et[M]=S,S}(yn);cn+=ln?ln(he,C,un):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),cn}function He(M,S,C){const F=new Date(0);return F.setFullYear(M,S,C),F.setHours(0,0,0),F}function rt(M,S){const C=function Ue(M){return(0,a.cg1)(M)[a.wAp.LocaleId]}(M);if(E[C]=E[C]||{},E[C][S])return E[C][S];let F="";switch(S){case"shortDate":F=yt(M,Q.Short);break;case"mediumDate":F=yt(M,Q.Medium);break;case"longDate":F=yt(M,Q.Long);break;case"fullDate":F=yt(M,Q.Full);break;case"shortTime":F=Pe(M,Q.Short);break;case"mediumTime":F=Pe(M,Q.Medium);break;case"longTime":F=Pe(M,Q.Long);break;case"fullTime":F=Pe(M,Q.Full);break;case"short":const he=rt(M,"shortTime"),je=rt(M,"shortDate");F=xt(nt(M,Q.Short),[he,je]);break;case"medium":const Ze=rt(M,"mediumTime"),zt=rt(M,"mediumDate");F=xt(nt(M,Q.Medium),[Ze,zt]);break;case"long":const un=rt(M,"longTime"),cn=rt(M,"longDate");F=xt(nt(M,Q.Long),[un,cn]);break;case"full":const yn=rt(M,"fullTime"),ln=rt(M,"fullDate");F=xt(nt(M,Q.Full),[yn,ln])}return F&&(E[C][S]=F),F}function xt(M,S){return S&&(M=M.replace(/\{([^}]+)}/g,function(C,F){return null!=S&&F in S?S[F]:C})),M}function tt(M,S,C="-",F,he){let je="";(M<0||he&&M<=0)&&(he?M=1-M:(M=-M,je=C));let Ze=String(M);for(;Ze.length0||zt>-C)&&(zt+=C),M===k.Hours)0===zt&&-12===C&&(zt=12);else if(M===k.FractionalSeconds)return function kt(M,S){return tt(M,3).substring(0,S)}(zt,S);const un=pt(Ze,Ce.MinusSign);return tt(zt,S,un,F,he)}}function fe(M,S,C=oe.Format,F=!1){return function(he,je){return function le(M,S,C,F,he,je){switch(C){case ge.Months:return function Je(M,S,C){const F=(0,a.cg1)(M),je=ft([F[a.wAp.MonthsFormat],F[a.wAp.MonthsStandalone]],S);return ft(je,C)}(S,he,F)[M.getMonth()];case ge.Days:return function gt(M,S,C){const F=(0,a.cg1)(M),je=ft([F[a.wAp.DaysFormat],F[a.wAp.DaysStandalone]],S);return ft(je,C)}(S,he,F)[M.getDay()];case ge.DayPeriods:const Ze=M.getHours(),zt=M.getMinutes();if(je){const cn=function fn(M){const S=(0,a.cg1)(M);return Bt(S),(S[a.wAp.ExtraData][2]||[]).map(F=>"string"==typeof F?gn(F):[gn(F[0]),gn(F[1])])}(S),yn=function bt(M,S,C){const F=(0,a.cg1)(M);Bt(F);const je=ft([F[a.wAp.ExtraData][0],F[a.wAp.ExtraData][1]],S)||[];return ft(je,C)||[]}(S,he,F),ln=cn.findIndex(bn=>{if(Array.isArray(bn)){const[_n,En]=bn,Gn=Ze>=_n.hours&&zt>=_n.minutes,to=Ze0?Math.floor(he/60):Math.ceil(he/60);switch(M){case O.Short:return(he>=0?"+":"")+tt(Ze,2,je)+tt(Math.abs(he%60),2,je);case O.ShortGMT:return"GMT"+(he>=0?"+":"")+tt(Ze,1,je);case O.Long:return"GMT"+(he>=0?"+":"")+tt(Ze,2,je)+":"+tt(Math.abs(he%60),2,je);case O.Extended:return 0===F?"Z":(he>=0?"+":"")+tt(Ze,2,je)+":"+tt(Math.abs(he%60),2,je);default:throw new Error(`Unknown zone width "${M}"`)}}}function X(M){return He(M.getFullYear(),M.getMonth(),M.getDate()+(4-M.getDay()))}function we(M,S=!1){return function(C,F){let he;if(S){const je=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,Ze=C.getDate();he=1+Math.floor((Ze+je)/7)}else{const je=X(C),Ze=function ae(M){const S=He(M,0,1).getDay();return He(M,0,1+(S<=4?4:11)-S)}(je.getFullYear()),zt=je.getTime()-Ze.getTime();he=1+Math.round(zt/6048e5)}return tt(he,M,pt(F,Ce.MinusSign))}}function Ae(M,S=!1){return function(C,F){return tt(X(C).getFullYear(),M,pt(F,Ce.MinusSign),S)}}const et={};function Yt(M,S){M=M.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+M)/6e4;return isNaN(C)?S:C}function Et(M){return M instanceof Date&&!isNaN(M.valueOf())}const ke=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Z=".";function jt(M,S,C,F,he,je,Ze=!1){let zt="",un=!1;if(isFinite(M)){let cn=function Tn(M){let F,he,je,Ze,zt,S=Math.abs(M)+"",C=0;for((he=S.indexOf(Z))>-1&&(S=S.replace(Z,"")),(je=S.search(/e/i))>0?(he<0&&(he=je),he+=+S.slice(je+1),S=S.substring(0,je)):he<0&&(he=S.length),je=0;"0"===S.charAt(je);je++);if(je===(zt=S.length))F=[0],he=1;else{for(zt--;"0"===S.charAt(zt);)zt--;for(he-=je,F=[],Ze=0;je<=zt;je++,Ze++)F[Ze]=Number(S.charAt(je))}return he>22&&(F=F.splice(0,21),C=he-1,he=1),{digits:F,exponent:C,integerLen:he}}(M);Ze&&(cn=function Jn(M){if(0===M.digits[0])return M;const S=M.digits.length-M.integerLen;return M.exponent?M.exponent+=2:(0===S?M.digits.push(0,0):1===S&&M.digits.push(0),M.integerLen+=2),M}(cn));let yn=S.minInt,ln=S.minFrac,bn=S.maxFrac;if(je){const Po=je.match(ke);if(null===Po)throw new Error(`${je} is not a valid digit info`);const Zn=Po[1],Oo=Po[3],Er=Po[5];null!=Zn&&(yn=dn(Zn)),null!=Oo&&(ln=dn(Oo)),null!=Er?bn=dn(Er):null!=Oo&&ln>bn&&(bn=ln)}!function Bn(M,S,C){if(S>C)throw new Error(`The minimum number of digits after fraction (${S}) is higher than the maximum (${C}).`);let F=M.digits,he=F.length-M.integerLen;const je=Math.min(Math.max(S,he),C);let Ze=je+M.integerLen,zt=F[Ze];if(Ze>0){F.splice(Math.max(M.integerLen,Ze));for(let ln=Ze;ln=5)if(Ze-1<0){for(let ln=0;ln>Ze;ln--)F.unshift(0),M.integerLen++;F.unshift(1),M.integerLen++}else F[Ze-1]++;for(;he=cn?En.pop():un=!1),bn>=10?1:0},0);yn&&(F.unshift(yn),M.integerLen++)}(cn,ln,bn);let _n=cn.digits,En=cn.integerLen;const Gn=cn.exponent;let to=[];for(un=_n.every(Po=>!Po);En0?to=_n.splice(En,_n.length):(to=_n,_n=[0]);const wo=[];for(_n.length>=S.lgSize&&wo.unshift(_n.splice(-S.lgSize,_n.length).join(""));_n.length>S.gSize;)wo.unshift(_n.splice(-S.gSize,_n.length).join(""));_n.length&&wo.unshift(_n.join("")),zt=wo.join(pt(C,F)),to.length&&(zt+=pt(C,he)+to.join("")),Gn&&(zt+=pt(C,Ce.Exponential)+"+"+Gn)}else zt=pt(C,Ce.Infinity);return zt=M<0&&!un?S.negPre+zt+S.negSuf:S.posPre+zt+S.posSuf,zt}function Sn(M,S="-"){const C={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},F=M.split(";"),he=F[0],je=F[1],Ze=-1!==he.indexOf(Z)?he.split(Z):[he.substring(0,he.lastIndexOf("0")+1),he.substring(he.lastIndexOf("0")+1)],zt=Ze[0],un=Ze[1]||"";C.posPre=zt.substring(0,zt.indexOf("#"));for(let yn=0;yn{class M{constructor(C,F,he,je){this._iterableDiffers=C,this._keyValueDiffers=F,this._ngEl=he,this._renderer=je,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(C){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof C?C.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(C){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof C?C.split(/\s+/):C,this._rawClass&&((0,a.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const C=this._iterableDiffer.diff(this._rawClass);C&&this._applyIterableChanges(C)}else if(this._keyValueDiffer){const C=this._keyValueDiffer.diff(this._rawClass);C&&this._applyKeyValueChanges(C)}}_applyKeyValueChanges(C){C.forEachAddedItem(F=>this._toggleClass(F.key,F.currentValue)),C.forEachChangedItem(F=>this._toggleClass(F.key,F.currentValue)),C.forEachRemovedItem(F=>{F.previousValue&&this._toggleClass(F.key,!1)})}_applyIterableChanges(C){C.forEachAddedItem(F=>{if("string"!=typeof F.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(F.item)}`);this._toggleClass(F.item,!0)}),C.forEachRemovedItem(F=>this._toggleClass(F.item,!1))}_applyClasses(C){C&&(Array.isArray(C)||C instanceof Set?C.forEach(F=>this._toggleClass(F,!0)):Object.keys(C).forEach(F=>this._toggleClass(F,!!C[F])))}_removeClasses(C){C&&(Array.isArray(C)||C instanceof Set?C.forEach(F=>this._toggleClass(F,!1)):Object.keys(C).forEach(F=>this._toggleClass(F,!1)))}_toggleClass(C,F){(C=C.trim())&&C.split(/\s+/g).forEach(he=>{F?this._renderer.addClass(this._ngEl.nativeElement,he):this._renderer.removeClass(this._ngEl.nativeElement,he)})}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),M})();class ii{constructor(S,C,F,he){this.$implicit=S,this.ngForOf=C,this.index=F,this.count=he}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 oo=(()=>{class M{constructor(C,F,he){this._viewContainer=C,this._template=F,this._differs=he,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}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 F=this._viewContainer;C.forEachOperation((he,je,Ze)=>{if(null==he.previousIndex)F.createEmbeddedView(this._template,new ii(he.item,this._ngForOf,-1,-1),null===Ze?void 0:Ze);else if(null==Ze)F.remove(null===je?void 0:je);else if(null!==je){const zt=F.get(je);F.move(zt,Ze),Ln(zt,he)}});for(let he=0,je=F.length;he{Ln(F.get(he.currentIndex),he)})}static ngTemplateContextGuard(C,F){return!0}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),M})();function Ln(M,S){M.context.$implicit=S.item}let mn=(()=>{class M{constructor(C,F){this._viewContainer=C,this._context=new Lo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){In("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){In("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,F){return!0}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.s_b),a.Y36(a.Rgc))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),M})();class Lo{constructor(){this.$implicit=null,this.ngIf=null}}function In(M,S){if(S&&!S.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,a.AaK)(S)}'.`)}class Wn{constructor(S,C){this._viewContainerRef=S,this._templateRef=C,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(S){S&&!this._created?this.create():!S&&this._created&&this.destroy()}}let $o=(()=>{class M{constructor(){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||(this._defaultViews=[]),this._defaultViews.push(C)}_matchCase(C){const F=C==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(C){if(this._defaultViews&&C!==this._defaultUsed){this._defaultUsed=C;for(let F=0;F{class M{constructor(C,F,he){this.ngSwitch=he,he._addCase(),this._view=new Wn(C,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36($o,9))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),M})(),ri=(()=>{class M{constructor(C,F,he){he._addDefault(new Wn(C,F))}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36($o,9))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngSwitchDefault",""]],standalone:!0}),M})(),So=(()=>{class M{constructor(C,F,he){this._ngEl=C,this._differs=F,this._renderer=he,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,F){const[he,je]=C.split("."),Ze=-1===he.indexOf("-")?void 0:a.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,he,je?`${F}${je}`:F,Ze):this._renderer.removeStyle(this._ngEl.nativeElement,he,Ze)}_applyChanges(C){C.forEachRemovedItem(F=>this._setStyle(F.key,null)),C.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),C.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),M})(),zi=(()=>{class M{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 F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:he,ngTemplateOutletContext:je,ngTemplateOutletInjector:Ze}=this;this._viewRef=F.createEmbeddedView(he,je,Ze?{injector:Ze}:void 0)}else this._viewRef=null}else this._viewRef&&C.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.s_b))},M.\u0275dir=a.lG2({type:M,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.TTD]}),M})();function qn(M,S){return new a.vHH(2100,!1)}class jr{createSubscription(S,C){return S.subscribe({next:C,error:F=>{throw F}})}dispose(S){S.unsubscribe()}}class hs{createSubscription(S,C){return S.then(C,F=>{throw F})}dispose(S){}}const Ur=new hs,ur=new jr;let bi=(()=>{class M{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,F=>this._updateLatestValue(C,F))}_selectStrategy(C){if((0,a.QGY)(C))return Ur;if((0,a.F4k)(C))return ur;throw qn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,F){C===this._obj&&(this._latestValue=F,this._ref.markForCheck())}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.sBO,16))},M.\u0275pipe=a.Yjl({name:"async",type:M,pure:!1,standalone:!0}),M})(),Si=(()=>{class M{transform(C){if(null==C)return null;if("string"!=typeof C)throw qn();return C.toUpperCase()}}return M.\u0275fac=function(C){return new(C||M)},M.\u0275pipe=a.Yjl({name:"uppercase",type:M,pure:!0,standalone:!0}),M})();const Bi=new a.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Do=(()=>{class M{constructor(C,F){this.locale=C,this.defaultTimezone=F}transform(C,F="mediumDate",he,je){if(null==C||""===C||C!=C)return null;try{var Ze;return Oe(C,F,je||this.locale,null!==(Ze=he??this.defaultTimezone)&&void 0!==Ze?Ze:void 0)}catch(zt){throw qn()}}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.soG,16),a.Y36(Bi,24))},M.\u0275pipe=a.Yjl({name:"date",type:M,pure:!0,standalone:!0}),M})(),fr=(()=>{class M{constructor(C){this.differs=C,this.keyValues=[],this.compareFn=go}transform(C,F=go){if(!C||!(C instanceof Map)&&"object"!=typeof C)return null;this.differ||(this.differ=this.differs.find(C).create());const he=this.differ.diff(C),je=F!==this.compareFn;return he&&(this.keyValues=[],he.forEachItem(Ze=>{this.keyValues.push(function $r(M,S){return{key:M,value:S}}(Ze.key,Ze.currentValue))})),(he||je)&&(this.keyValues.sort(F),this.compareFn=F),this.keyValues}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.aQg,16))},M.\u0275pipe=a.Yjl({name:"keyvalue",type:M,pure:!1,standalone:!0}),M})();function go(M,S){const C=M.key,F=S.key;if(C===F)return 0;if(void 0===C)return 1;if(void 0===F)return-1;if(null===C)return 1;if(null===F)return-1;if("string"==typeof C&&"string"==typeof F)return C{class M{constructor(C){this._locale=C}transform(C,F,he){if(!pr(C))return null;he=he||this._locale;try{return function It(M,S,C){return jt(M,Sn(Rt(S,Se.Decimal),pt(S,Ce.MinusSign)),S,Ce.Group,Ce.Decimal,C)}(ji(C),he,F)}catch(je){throw qn()}}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.soG,16))},M.\u0275pipe=a.Yjl({name:"number",type:M,pure:!0,standalone:!0}),M})(),Go=(()=>{class M{constructor(C){this._locale=C}transform(C,F,he){if(!pr(C))return null;he=he||this._locale;try{return function vn(M,S,C){return jt(M,Sn(Rt(S,Se.Percent),pt(S,Ce.MinusSign)),S,Ce.Group,Ce.Decimal,C,!0).replace(new RegExp("%","g"),pt(S,Ce.PercentSign))}(ji(C),he,F)}catch(je){throw qn()}}}return M.\u0275fac=function(C){return new(C||M)(a.Y36(a.soG,16))},M.\u0275pipe=a.Yjl({name:"percent",type:M,pure:!0,standalone:!0}),M})();function pr(M){return!(null==M||""===M||M!=M)}function ji(M){if("string"==typeof M&&!isNaN(Number(M)-parseFloat(M)))return Number(M);if("number"!=typeof M)throw new Error(`${M} is not a number`);return M}let Ui=(()=>{class M{}return M.\u0275fac=function(C){return new(C||M)},M.\u0275mod=a.oAB({type:M}),M.\u0275inj=a.cJS({}),M})();const ci="browser";function xi(M){return M===ci}let vr=(()=>{class M{}return M.\u0275prov=(0,a.Yz7)({token:M,providedIn:"root",factory:()=>new ps((0,a.LFG)(R),window)}),M})();class ps{constructor(S,C){this.document=S,this.window=C,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(S){this.supportsScrolling()&&this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){if(!this.supportsScrolling())return;const C=function ro(M,S){const C=M.getElementById(S)||M.getElementsByName(S)[0];if(C)return C;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const F=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let he=F.currentNode;for(;he;){const je=he.shadowRoot;if(je){const Ze=je.getElementById(S)||je.querySelector(`[name="${S}"]`);if(Ze)return Ze}he=F.nextNode()}}return null}(this.document,S);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(S){if(this.supportScrollRestoration()){const C=this.window.history;C&&C.scrollRestoration&&(C.scrollRestoration=S)}}scrollToElement(S){const C=S.getBoundingClientRect(),F=C.left+this.window.pageXOffset,he=C.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(F-je[0],he-je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const S=Pi(this.window.history)||Pi(Object.getPrototypeOf(this.window.history));return!(!S||!S.writable&&!S.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Pi(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class Nn{}},80529:(ot,pe,h)=>{h.d(pe,{JF:()=>V,LE:()=>De,QO:()=>oe,TP:()=>gt,WM:()=>A,aW:()=>Se,dt:()=>Ie,eN:()=>Ue,jN:()=>P});var a=h(36895),s=h(94650),T=h(39646),Y=h(69751),q=h(24351),p=h(39300),R=h(54004);class w{}class P{}class A{constructor(O){this.normalizedNames=new Map,this.lazyUpdate=null,O?this.lazyInit="string"==typeof O?()=>{this.headers=new Map,O.split("\n").forEach(k=>{const ge=k.indexOf(":");if(ge>0){const Oe=k.slice(0,ge),He=Oe.toLowerCase(),rt=k.slice(ge+1).trim();this.maybeSetNormalizedName(Oe,He),this.headers.has(He)?this.headers.get(He).push(rt):this.headers.set(He,[rt])}})}:()=>{this.headers=new Map,Object.keys(O).forEach(k=>{let ge=O[k];const Oe=k.toLowerCase();"string"==typeof ge&&(ge=[ge]),ge.length>0&&(this.headers.set(Oe,ge),this.maybeSetNormalizedName(k,Oe))})}:this.headers=new Map}has(O){return this.init(),this.headers.has(O.toLowerCase())}get(O){this.init();const k=this.headers.get(O.toLowerCase());return k&&k.length>0?k[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(O){return this.init(),this.headers.get(O.toLowerCase())||null}append(O,k){return this.clone({name:O,value:k,op:"a"})}set(O,k){return this.clone({name:O,value:k,op:"s"})}delete(O,k){return this.clone({name:O,value:k,op:"d"})}maybeSetNormalizedName(O,k){this.normalizedNames.has(k)||this.normalizedNames.set(k,O)}init(){this.lazyInit&&(this.lazyInit instanceof A?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(O=>this.applyUpdate(O)),this.lazyUpdate=null))}copyFrom(O){O.init(),Array.from(O.headers.keys()).forEach(k=>{this.headers.set(k,O.headers.get(k)),this.normalizedNames.set(k,O.normalizedNames.get(k))})}clone(O){const k=new A;return k.lazyInit=this.lazyInit&&this.lazyInit instanceof A?this.lazyInit:this,k.lazyUpdate=(this.lazyUpdate||[]).concat([O]),k}applyUpdate(O){const k=O.name.toLowerCase();switch(O.op){case"a":case"s":let ge=O.value;if("string"==typeof ge&&(ge=[ge]),0===ge.length)return;this.maybeSetNormalizedName(O.name,k);const Oe=("a"===O.op?this.headers.get(k):void 0)||[];Oe.push(...ge),this.headers.set(k,Oe);break;case"d":const He=O.value;if(He){let rt=this.headers.get(k);if(!rt)return;rt=rt.filter(xt=>-1===He.indexOf(xt)),0===rt.length?(this.headers.delete(k),this.normalizedNames.delete(k)):this.headers.set(k,rt)}else this.headers.delete(k),this.normalizedNames.delete(k)}}forEach(O){this.init(),Array.from(this.normalizedNames.keys()).forEach(k=>O(this.normalizedNames.get(k),this.headers.get(k)))}}class G{encodeKey(O){return Me(O)}encodeValue(O){return Me(O)}decodeKey(O){return decodeURIComponent(O)}decodeValue(O){return decodeURIComponent(O)}}const Te=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Me(I){return encodeURIComponent(I).replace(Te,(O,k)=>{var ge;return null!==(ge=$[k])&&void 0!==ge?ge:O})}function j(I){return`${I}`}class De{constructor(O={}){if(this.updates=null,this.cloneFrom=null,this.encoder=O.encoder||new G,O.fromString){if(O.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function de(I,O){const k=new Map;return I.length>0&&I.replace(/^\?/,"").split("&").forEach(Oe=>{const He=Oe.indexOf("="),[rt,xt]=-1==He?[O.decodeKey(Oe),""]:[O.decodeKey(Oe.slice(0,He)),O.decodeValue(Oe.slice(He+1))],tt=k.get(rt)||[];tt.push(xt),k.set(rt,tt)}),k}(O.fromString,this.encoder)}else O.fromObject?(this.map=new Map,Object.keys(O.fromObject).forEach(k=>{const ge=O.fromObject[k],Oe=Array.isArray(ge)?ge.map(j):[j(ge)];this.map.set(k,Oe)})):this.map=null}has(O){return this.init(),this.map.has(O)}get(O){this.init();const k=this.map.get(O);return k?k[0]:null}getAll(O){return this.init(),this.map.get(O)||null}keys(){return this.init(),Array.from(this.map.keys())}append(O,k){return this.clone({param:O,value:k,op:"a"})}appendAll(O){const k=[];return Object.keys(O).forEach(ge=>{const Oe=O[ge];Array.isArray(Oe)?Oe.forEach(He=>{k.push({param:ge,value:He,op:"a"})}):k.push({param:ge,value:Oe,op:"a"})}),this.clone(k)}set(O,k){return this.clone({param:O,value:k,op:"s"})}delete(O,k){return this.clone({param:O,value:k,op:"d"})}toString(){return this.init(),this.keys().map(O=>{const k=this.encoder.encodeKey(O);return this.map.get(O).map(ge=>k+"="+this.encoder.encodeValue(ge)).join("&")}).filter(O=>""!==O).join("&")}clone(O){const k=new De({encoder:this.encoder});return k.cloneFrom=this.cloneFrom||this,k.updates=(this.updates||[]).concat(O),k}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(O=>this.map.set(O,this.cloneFrom.map.get(O))),this.updates.forEach(O=>{switch(O.op){case"a":case"s":const k=("a"===O.op?this.map.get(O.param):void 0)||[];k.push(j(O.value)),this.map.set(O.param,k);break;case"d":if(void 0===O.value){this.map.delete(O.param);break}{let ge=this.map.get(O.param)||[];const Oe=ge.indexOf(j(O.value));-1!==Oe&&ge.splice(Oe,1),ge.length>0?this.map.set(O.param,ge):this.map.delete(O.param)}}}),this.cloneFrom=this.updates=null)}}class Fe{constructor(){this.map=new Map}set(O,k){return this.map.set(O,k),this}get(O){return this.map.has(O)||this.map.set(O,O.defaultValue()),this.map.get(O)}delete(O){return this.map.delete(O),this}has(O){return this.map.has(O)}keys(){return this.map.keys()}}function B(I){return typeof ArrayBuffer<"u"&&I instanceof ArrayBuffer}function re(I){return typeof Blob<"u"&&I instanceof Blob}function _e(I){return typeof FormData<"u"&&I instanceof FormData}class Se{constructor(O,k,ge,Oe){let He;if(this.url=k,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=O.toUpperCase(),function be(I){switch(I){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==ge?ge:null,He=Oe):He=ge,He&&(this.reportProgress=!!He.reportProgress,this.withCredentials=!!He.withCredentials,He.responseType&&(this.responseType=He.responseType),He.headers&&(this.headers=He.headers),He.context&&(this.context=He.context),He.params&&(this.params=He.params)),this.headers||(this.headers=new A),this.context||(this.context=new Fe),this.params){const rt=this.params.toString();if(0===rt.length)this.urlWithParams=k;else{const xt=k.indexOf("?");this.urlWithParams=k+(-1===xt?"?":xtfe.set(le,O.setHeaders[le]),kt)),O.setParams&&(Ve=Object.keys(O.setParams).reduce((fe,le)=>fe.set(le,O.setParams[le]),Ve)),new Se(ge,Oe,rt,{params:Ve,headers:kt,context:_t,reportProgress:tt,responseType:He,withCredentials:xt})}}var Ie=(()=>((Ie=Ie||{})[Ie.Sent=0]="Sent",Ie[Ie.UploadProgress=1]="UploadProgress",Ie[Ie.ResponseHeader=2]="ResponseHeader",Ie[Ie.DownloadProgress=3]="DownloadProgress",Ie[Ie.Response=4]="Response",Ie[Ie.User=5]="User",Ie))();class oe{constructor(O,k=200,ge="OK"){this.headers=O.headers||new A,this.status=void 0!==O.status?O.status:k,this.statusText=O.statusText||ge,this.url=O.url||null,this.ok=this.status>=200&&this.status<300}}class me extends oe{constructor(O={}){super(O),this.type=Ie.ResponseHeader}clone(O={}){return new me({headers:O.headers||this.headers,status:void 0!==O.status?O.status:this.status,statusText:O.statusText||this.statusText,url:O.url||this.url||void 0})}}class Q extends oe{constructor(O={}){super(O),this.type=Ie.Response,this.body=void 0!==O.body?O.body:null}clone(O={}){return new Q({body:void 0!==O.body?O.body:this.body,headers:O.headers||this.headers,status:void 0!==O.status?O.status:this.status,statusText:O.statusText||this.statusText,url:O.url||this.url||void 0})}}class Ce extends oe{constructor(O){super(O,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${O.url||"(unknown url)"}`:`Http failure response for ${O.url||"(unknown url)"}: ${O.status} ${O.statusText}`,this.error=O.error||null}}function Le(I,O){return{body:O,headers:I.headers,context:I.context,observe:I.observe,params:I.params,reportProgress:I.reportProgress,responseType:I.responseType,withCredentials:I.withCredentials}}let Ue=(()=>{class I{constructor(k){this.handler=k}request(k,ge,Oe={}){let He;if(k instanceof Se)He=k;else{let tt,kt;tt=Oe.headers instanceof A?Oe.headers:new A(Oe.headers),Oe.params&&(kt=Oe.params instanceof De?Oe.params:new De({fromObject:Oe.params})),He=new Se(k,ge,void 0!==Oe.body?Oe.body:null,{headers:tt,context:Oe.context,params:kt,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const rt=(0,T.of)(He).pipe((0,q.b)(tt=>this.handler.handle(tt)));if(k instanceof Se||"events"===Oe.observe)return rt;const xt=rt.pipe((0,p.h)(tt=>tt instanceof Q));switch(Oe.observe||"body"){case"body":switch(He.responseType){case"arraybuffer":return xt.pipe((0,R.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tt.body}));case"blob":return xt.pipe((0,R.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof Blob))throw new Error("Response is not a Blob.");return tt.body}));case"text":return xt.pipe((0,R.U)(tt=>{if(null!==tt.body&&"string"!=typeof tt.body)throw new Error("Response is not a string.");return tt.body}));default:return xt.pipe((0,R.U)(tt=>tt.body))}case"response":return xt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(k,ge={}){return this.request("DELETE",k,ge)}get(k,ge={}){return this.request("GET",k,ge)}head(k,ge={}){return this.request("HEAD",k,ge)}jsonp(k,ge){return this.request("JSONP",k,{params:(new De).append(ge,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(k,ge={}){return this.request("OPTIONS",k,ge)}patch(k,ge,Oe={}){return this.request("PATCH",k,Le(Oe,ge))}post(k,ge,Oe={}){return this.request("POST",k,Le(Oe,ge))}put(k,ge,Oe={}){return this.request("PUT",k,Le(Oe,ge))}}return I.\u0275fac=function(k){return new(k||I)(s.LFG(w))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})();class Ge{constructor(O,k){this.next=O,this.interceptor=k}handle(O){return this.interceptor.intercept(O,this.next)}}const gt=new s.OlP("HTTP_INTERCEPTORS");let Je=(()=>{class I{intercept(k,ge){return ge.handle(k)}}return I.\u0275fac=function(k){return new(k||I)},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})();const lt=/^\)\]\}',?\n/;let qe=(()=>{class I{constructor(k){this.xhrFactory=k}handle(k){if("JSONP"===k.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Y.y(ge=>{const Oe=this.xhrFactory.build();if(Oe.open(k.method,k.urlWithParams),k.withCredentials&&(Oe.withCredentials=!0),k.headers.forEach((le,ue)=>Oe.setRequestHeader(le,ue.join(","))),k.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!k.headers.has("Content-Type")){const le=k.detectContentTypeHeader();null!==le&&Oe.setRequestHeader("Content-Type",le)}if(k.responseType){const le=k.responseType.toLowerCase();Oe.responseType="json"!==le?le:"text"}const He=k.serializeBody();let rt=null;const xt=()=>{if(null!==rt)return rt;const le=Oe.statusText||"OK",ue=new A(Oe.getAllResponseHeaders()),Ne=function Pt(I){return"responseURL"in I&&I.responseURL?I.responseURL:/^X-Request-URL:/m.test(I.getAllResponseHeaders())?I.getResponseHeader("X-Request-URL"):null}(Oe)||k.url;return rt=new me({headers:ue,status:Oe.status,statusText:le,url:Ne}),rt},tt=()=>{let{headers:le,status:ue,statusText:Ne,url:ie}=xt(),ae=null;204!==ue&&(ae=typeof Oe.response>"u"?Oe.responseText:Oe.response),0===ue&&(ue=ae?200:0);let X=ue>=200&&ue<300;if("json"===k.responseType&&"string"==typeof ae){const we=ae;ae=ae.replace(lt,"");try{ae=""!==ae?JSON.parse(ae):null}catch(Ae){ae=we,X&&(X=!1,ae={error:Ae,text:ae})}}X?(ge.next(new Q({body:ae,headers:le,status:ue,statusText:Ne,url:ie||void 0})),ge.complete()):ge.error(new Ce({error:ae,headers:le,status:ue,statusText:Ne,url:ie||void 0}))},kt=le=>{const{url:ue}=xt(),Ne=new Ce({error:le,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:ue||void 0});ge.error(Ne)};let Ve=!1;const _t=le=>{Ve||(ge.next(xt()),Ve=!0);let ue={type:Ie.DownloadProgress,loaded:le.loaded};le.lengthComputable&&(ue.total=le.total),"text"===k.responseType&&!!Oe.responseText&&(ue.partialText=Oe.responseText),ge.next(ue)},fe=le=>{let ue={type:Ie.UploadProgress,loaded:le.loaded};le.lengthComputable&&(ue.total=le.total),ge.next(ue)};return Oe.addEventListener("load",tt),Oe.addEventListener("error",kt),Oe.addEventListener("timeout",kt),Oe.addEventListener("abort",kt),k.reportProgress&&(Oe.addEventListener("progress",_t),null!==He&&Oe.upload&&Oe.upload.addEventListener("progress",fe)),Oe.send(He),ge.next({type:Ie.Sent}),()=>{Oe.removeEventListener("error",kt),Oe.removeEventListener("abort",kt),Oe.removeEventListener("load",tt),Oe.removeEventListener("timeout",kt),k.reportProgress&&(Oe.removeEventListener("progress",_t),null!==He&&Oe.upload&&Oe.upload.removeEventListener("progress",fe)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return I.\u0275fac=function(k){return new(k||I)(s.LFG(a.JF))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})();const Ct=new s.OlP("XSRF_COOKIE_NAME"),Bt=new s.OlP("XSRF_HEADER_NAME");class fn{}let bt=(()=>{class I{constructor(k,ge,Oe){this.doc=k,this.platform=ge,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const k=this.doc.cookie||"";return k!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(k,this.cookieName),this.lastCookieString=k),this.lastToken}}return I.\u0275fac=function(k){return new(k||I)(s.LFG(a.K0),s.LFG(s.Lbi),s.LFG(Ct))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})(),on=(()=>{class I{constructor(k,ge){this.tokenService=k,this.headerName=ge}intercept(k,ge){const Oe=k.url.toLowerCase();if("GET"===k.method||"HEAD"===k.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return ge.handle(k);const He=this.tokenService.getToken();return null!==He&&!k.headers.has(this.headerName)&&(k=k.clone({headers:k.headers.set(this.headerName,He)})),ge.handle(k)}}return I.\u0275fac=function(k){return new(k||I)(s.LFG(fn),s.LFG(Bt))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})(),ft=(()=>{class I{constructor(k,ge){this.backend=k,this.injector=ge,this.chain=null}handle(k){if(null===this.chain){const ge=this.injector.get(gt,[]);this.chain=ge.reduceRight((Oe,He)=>new Ge(Oe,He),this.backend)}return this.chain.handle(k)}}return I.\u0275fac=function(k){return new(k||I)(s.LFG(P),s.LFG(s.zs3))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac}),I})(),N=(()=>{class I{static disable(){return{ngModule:I,providers:[{provide:on,useClass:Je}]}}static withOptions(k={}){return{ngModule:I,providers:[k.cookieName?{provide:Ct,useValue:k.cookieName}:[],k.headerName?{provide:Bt,useValue:k.headerName}:[]]}}}return I.\u0275fac=function(k){return new(k||I)},I.\u0275mod=s.oAB({type:I}),I.\u0275inj=s.cJS({providers:[on,{provide:gt,useExisting:on,multi:!0},{provide:fn,useClass:bt},{provide:Ct,useValue:"XSRF-TOKEN"},{provide:Bt,useValue:"X-XSRF-TOKEN"}]}),I})(),V=(()=>{class I{}return I.\u0275fac=function(k){return new(k||I)},I.\u0275mod=s.oAB({type:I}),I.\u0275inj=s.cJS({providers:[Ue,{provide:w,useClass:ft},qe,{provide:P,useExisting:qe}],imports:[N.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),I})()},94650:(ot,pe,h)=>{h.d(pe,{$8M:()=>Xe,$Z:()=>C4,AFp:()=>Yd,ALo:()=>ad,AaK:()=>w,Akn:()=>Hi,AsE:()=>p2,BQk:()=>Tc,CHM:()=>Cr,CRH:()=>yd,CZH:()=>Nc,CqO:()=>D0,D6c:()=>Mp,DdM:()=>qu,DyG:()=>Bo,EJc:()=>L9,EiD:()=>hl,EpF:()=>M0,F$t:()=>S0,F4k:()=>C0,FYo:()=>El,FiY:()=>Zs,G48:()=>op,Gf:()=>gd,GfV:()=>Sl,GkF:()=>r2,Gpc:()=>U,Gre:()=>ru,Hsn:()=>T0,Ikx:()=>g2,JOm:()=>Fi,JVY:()=>O3,KtG:()=>ui,L6k:()=>A3,LAX:()=>I3,LFG:()=>Qn,LSH:()=>g1,Lbi:()=>O9,Lck:()=>xf,MAs:()=>_0,MMx:()=>E2,NdJ:()=>a2,O4$:()=>zt,OlP:()=>nn,Oqu:()=>f2,PXZ:()=>Q9,Q6J:()=>t2,QGY:()=>s2,QP$:()=>Et,QbO:()=>A9,Qsj:()=>d8,R0b:()=>wi,RDi:()=>D3,RIp:()=>yl,Rgc:()=>o1,SBq:()=>na,Sil:()=>H9,Suo:()=>vd,TTD:()=>Go,TgZ:()=>bc,Tol:()=>$0,Udp:()=>u2,VKq:()=>ed,W1O:()=>Dd,WFA:()=>c2,WLB:()=>td,X6Q:()=>np,XFs:()=>ft,Xpm:()=>ie,Xts:()=>y1,Y36:()=>Hs,YKP:()=>Uu,YNc:()=>y0,Yjl:()=>Zt,Yz7:()=>Pe,Z0I:()=>kn,ZZ4:()=>Q2,_Bn:()=>ju,_UZ:()=>o2,_Vd:()=>ta,_uU:()=>X0,aQg:()=>J2,c2e:()=>k9,cJS:()=>pt,cg1:()=>y2,d8E:()=>v2,dDg:()=>W9,dqk:()=>Oe,dwT:()=>T7,eBb:()=>k3,ekj:()=>d2,eoX:()=>Xd,f3M:()=>Zc,g9A:()=>Ud,h0i:()=>ya,hGG:()=>_p,hij:()=>Pc,iGM:()=>md,iPO:()=>q9,ifc:()=>ge,ip1:()=>Bd,jDz:()=>Wu,kL8:()=>mu,kcU:()=>cn,lG2:()=>Yt,lcZ:()=>cd,lnq:()=>m2,lqb:()=>Fr,lri:()=>Qd,mCW:()=>xa,n5z:()=>W,n_E:()=>Lc,oAB:()=>Ae,oJD:()=>fl,oxw:()=>E0,pB0:()=>L3,q3G:()=>Un,qLn:()=>oa,qOj:()=>J4,qZA:()=>Ec,qzn:()=>Ps,rWj:()=>Jd,sBO:()=>ip,sIi:()=>Ka,s_b:()=>Hc,soG:()=>Bc,tb:()=>$d,tp0:()=>Qs,uIk:()=>e2,vHH:()=>$,vpe:()=>cr,wAp:()=>Xt,xi3:()=>ld,xp6:()=>a4,ynx:()=>Sc,z2F:()=>Yc,z3N:()=>tr,zSh:()=>D1,zs3:()=>cs});var a=h(77579),s=h(50727),T=h(69751),Y=h(56451),q=h(13099);function p(e){for(let t in e)if(e[t]===p)return t;throw Error("Could not find renamed property on target object.")}function R(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function w(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(w).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 P(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const A=p({__forward_ref__:p});function U(e){return e.__forward_ref__=U,e.toString=function(){return w(this())},e}function G(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(A)&&e.__forward_ref__===U}class $ extends Error{constructor(t,n){super(function Me(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function j(e){return"string"==typeof e?e:null==e?"":String(e)}function B(e,t){throw new $(-201,!1)}function Je(e,t){null==e&&function $e(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function Pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rt(e){return lt(e,Bt)||lt(e,bt)}function kn(e){return null!==Rt(e)}function lt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ct(e){return e&&(e.hasOwnProperty(fn)||e.hasOwnProperty(on))?e[fn]:null}const Bt=p({\u0275prov:p}),fn=p({\u0275inj:p}),bt=p({ngInjectableDef:p}),on=p({ngInjectorDef:p});var ft=(()=>((ft=ft||{})[ft.Default=0]="Default",ft[ft.Host=1]="Host",ft[ft.Self=2]="Self",ft[ft.SkipSelf=4]="SkipSelf",ft[ft.Optional=8]="Optional",ft))();let gn;function N(e){const t=gn;return gn=e,t}function V(e,t,n){const o=Rt(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&ft.Optional?null:void 0!==t?t:void B(w(e))}function E(e){return{toString:e}.toString()}var I=(()=>((I=I||{})[I.OnPush=0]="OnPush",I[I.Default=1]="Default",I))(),ge=(()=>{return(e=ge||(ge={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ge;var e})();const Oe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),xt={},tt=[],kt=p({\u0275cmp:p}),Ve=p({\u0275dir:p}),_t=p({\u0275pipe:p}),fe=p({\u0275mod:p}),le=p({\u0275fac:p}),ue=p({__NG_ELEMENT_ID__:p});let Ne=0;function ie(e){return E(()=>{const n=!0===e.standalone,o={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===I.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ge.Emulated,id:"c"+Ne++,styles:e.styles||tt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.dependencies,u=e.features;return i.inputs=ut(e.inputs,o),i.outputs=ut(e.outputs),u&&u.forEach(g=>g(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(X).filter(we):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(We).filter(we):null,i})}function X(e){return Ht(e)||Cn(e)}function we(e){return null!==e}function Ae(e){return E(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ut(e,t){if(null==e)return xt;const n={};for(const o in e)if(e.hasOwnProperty(o)){let i=e[o],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=o,t&&(t[i]=r)}return n}const Yt=ie;function Zt(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 Ht(e){return e[kt]||null}function Cn(e){return e[Ve]||null}function We(e){return e[_t]||null}function Et(e){const t=Ht(e)||Cn(e)||We(e);return null!==t&&t.standalone}function ke(e,t){const n=e[fe]||null;if(!n&&!0===t)throw new Error(`Type ${w(e)} does not have '\u0275mod' property.`);return n}function In(e){return Array.isArray(e)&&"object"==typeof e[1]}function Wn(e){return Array.isArray(e)&&!0===e[1]}function $o(e){return 0!=(8&e.flags)}function Wo(e){return 2==(2&e.flags)}function ri(e){return 1==(1&e.flags)}function po(e){return null!==e.template}function lr(e){return 0!=(256&e[2])}function go(e,t){return e.hasOwnProperty(le)?e[le]:null}class ai{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Go(){return Fo}function Fo(e){return e.type.prototype.ngOnChanges&&(e.setInput=ji),pr}function pr(){const e=mr(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function ji(e,t,n,o){const i=mr(e)||function Ui(e,t){return e[Ti]=t}(e,{previous:xt,current:null}),r=i.current||(i.current={}),u=i.previous,g=this.declaredInputs[n],_=u[g];r[g]=new ai(_&&_.currentValue,t,u===xt),e[o]=t}Go.ngInherit=!0;const Ti="__ngSimpleChanges__";function mr(e){return e[Ti]||null}function On(e){for(;Array.isArray(e);)e=e[0];return e}function Pi(e,t){return On(t[e])}function ro(e,t){return On(t[e.index])}function Nn(e,t){return e.data[t]}function Ro(e,t){return e[t]}function hn(e,t){const n=t[e];return In(n)?n:n[0]}function To(e){return 64==(64&e[2])}function ho(e,t){return null==t?null:e[t]}function Zo(e){e[18]=0}function $i(e,t){e[5]+=t;let n=e,o=e[3];for(;null!==o&&(1===t&&1===n[5]||-1===t&&0===n[5]);)o[5]+=t,n=o,o=o[3]}const Kt={lFrame:pi(null),bindingsEnabled:!0};function Kn(){return Kt.bindingsEnabled}function at(){return Kt.lFrame.lView}function rn(){return Kt.lFrame.tView}function Cr(e){return Kt.lFrame.contextLView=e,e[8]}function ui(e){return Kt.lFrame.contextLView=null,e}function Fn(){let e=Dr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Dr(){return Kt.lFrame.currentTNode}function vo(e,t){const n=Kt.lFrame;n.currentTNode=e,n.isParent=t}function wr(){return Kt.lFrame.isParent}function zr(){Kt.lFrame.isParent=!1}function xn(){const e=Kt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function fo(){return Kt.lFrame.bindingIndex}function Qo(){return Kt.lFrame.bindingIndex++}function xo(e){const t=Kt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gs(e,t){const n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qi(t)}function Qi(e){Kt.lFrame.currentDirectiveIndex=e}function No(e){const t=Kt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ai(){return Kt.lFrame.currentQueryIndex}function Jo(e){Kt.lFrame.currentQueryIndex=e}function fi(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function vs(e,t,n){if(n&ft.SkipSelf){let i=t,r=e;for(;!(i=i.parent,null!==i||n&ft.Host||(i=fi(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;t=i,e=r}const o=Kt.lFrame=ys();return o.currentTNode=t,o.lView=e,!0}function Qr(e){const t=ys(),n=e[1];Kt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ys(){const e=Kt.lFrame,t=null===e?null:e.child;return null===t?pi(e):t}function pi(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 sn(){const e=Kt.lFrame;return Kt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const M=sn;function S(){const e=sn();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 he(){return Kt.lFrame.selectedIndex}function je(e){Kt.lFrame.selectedIndex=e}function Ze(){const e=Kt.lFrame;return Nn(e.tView,e.selectedIndex)}function zt(){Kt.lFrame.currentNamespace="svg"}function cn(){!function yn(){Kt.lFrame.currentNamespace=null}()}function _n(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[_]<0&&(e[18]+=65536),(g>11>16&&(3&e[2])===t){e[2]+=2048;try{r.call(g)}finally{}}}else try{r.call(g)}finally{}}class Oo{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function Tr(e,t,n){let o=0;for(;ot){u=r-1;break}}}for(;r>16}(e),o=t;for(;n>0;)o=o[15],n--;return o}let ts=!0;function Pr(e){const t=ts;return ts=e,t}let Ds=0;const yo={};function qi(e,t){const n=Ii(e,t);if(-1!==n)return n;const o=t[1];o.firstCreatePass&&(e.injectorIndex=t.length,os(o.data,e),os(t,null),os(o.blueprint,null));const i=Or(e,t),r=e.injectorIndex;if(Ji(i)){const u=Xo(i),g=mi(i,t),_=g[1].data;for(let b=0;b<8;b++)t[r+b]=g[u+b]|_[u+b]}return t[r+8]=i,r}function os(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ii(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Or(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,i=t;for(;null!==i;){if(o=Be(i),null===o)return-1;if(n++,i=i[15],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return-1}function Ar(e,t,n){!function ns(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(ue)&&(o=n[ue]),null==o&&(o=n[ue]=Ds++);const i=255&o;t.data[e+(i>>5)]|=1<=0?255&t:x:t}(n);if("function"==typeof r){if(!vs(t,e,o))return o&ft.Host?zs(i,0,o):bs(t,n,o,i);try{const u=r(o);if(null!=u||o&ft.Optional)return u;B()}finally{M()}}else if("number"==typeof r){let u=null,g=Ii(e,t),_=-1,b=o&ft.Host?t[16][6]:null;for((-1===g||o&ft.SkipSelf)&&(_=-1===g?Or(e,t):t[g+8],-1!==_&&d(o,!1)?(u=t[1],g=Xo(_),t=mi(_,t)):g=-1);-1!==g;){const H=t[1];if(c(r,g,H.data)){const te=za(g,t,n,u,o,b);if(te!==yo)return te}_=t[g+8],-1!==_&&d(o,t[1].data[g+8]===b)&&c(r,g,t)?(u=H,g=Xo(_),t=mi(_,t)):g=-1}}return i}function za(e,t,n,o,i,r){const u=t[1],g=u.data[e+8],H=er(g,u,n,null==o?Wo(g)&&ts:o!=u&&0!=(3&g.type),i&ft.Host&&r===g);return null!==H?qo(t,u,H,g):yo}function er(e,t,n,o,i){const r=e.providerIndexes,u=t.data,g=1048575&r,_=e.directiveStart,H=r>>20,Ee=i?g+H:e.directiveEnd;for(let Ye=o?g:g+H;Ye=_&&st.type===n)return Ye}if(i){const Ye=u[_];if(Ye&&po(Ye)&&Ye.type===n)return _}return null}function qo(e,t,n,o){let i=e[n];const r=t.data;if(function Er(e){return e instanceof Oo}(i)){const u=i;u.resolving&&function xe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new $(-200,`Circular dependency in DI detected for ${e}${n}`)}(function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():j(e)}(r[n]));const g=Pr(u.canSeeViewProviders);u.resolving=!0;const _=u.injectImpl?N(u.injectImpl):null;vs(e,o,ft.Default);try{i=e[n]=u.factory(void 0,r,e,o),t.firstCreatePass&&n>=o.directiveStart&&function bn(e,t,n){const{ngOnChanges:o,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(o){const u=Fo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==_&&N(_),Pr(g),u.resolving=!1,M()}}return i}function c(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[le]||ye(t),o=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==o;){const r=i[le]||ye(i);if(r&&r!==n)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function ye(e){return de(e)?()=>{const t=ye(G(e));return t&&t()}:go(e)}function Be(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Xe(e){return function ws(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let i=0;for(;i{const o=function Gt(e){return function(...n){if(e){const o=e(...n);for(const i in o)this[i]=o[i]}}}(t);function i(...r){if(this instanceof i)return o.apply(this,r),this;const u=new i(...r);return g.annotation=u,g;function g(_,b,H){const te=_.hasOwnProperty(Tt)?_[Tt]:Object.defineProperty(_,Tt,{value:[]})[Tt];for(;te.length<=H;)te.push(null);return(te[H]=te[H]||[]).push(u),_}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class nn{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=Pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Bo=Function;function Ot(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Jt(n,t):t(n))}function Pn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function f(e,t){const n=[];for(let o=0;o=0?e[1|o]=n:(o=~o,function v(e,t,n,o){let i=e.length;if(i==t)e.push(n,o);else if(1===i)e.push(o,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function Re(e,t){const n=ht(e,t);if(n>=0)return e[1|n]}function ht(e,t){return function Dt(e,t,n){let o=0,i=e.length>>n;for(;i!==o;){const r=o+(i-o>>1),u=e[r<t?i=r:o=r+1}return~(i<e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sa}())||void 0===t?void 0:t.createHTML(e))||e}function il(e){var t;return(null===(t=function d1(){if(void 0===Ta&&(Ta=null,Oe.trustedTypes))try{Ta=Oe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ta}())||void 0===t?void 0:t.createHTML(e))||e}class Lr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class b3 extends Lr{getTypeName(){return"HTML"}}class E3 extends Lr{getTypeName(){return"Style"}}class S3 extends Lr{getTypeName(){return"Script"}}class T3 extends Lr{getTypeName(){return"URL"}}class x3 extends Lr{getTypeName(){return"ResourceURL"}}function tr(e){return e instanceof Lr?e.changingThisBreaksApplicationSecurity:e}function Ps(e,t){const n=function P3(e){return e instanceof Lr&&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 https://g.co/ng/security#xss)`)}return n===t}function O3(e){return new b3(e)}function A3(e){return new E3(e)}function k3(e){return new S3(e)}function I3(e){return new T3(e)}function L3(e){return new x3(e)}class F3{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(xs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class H3{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const o=this.inertDocument.createElement("body");n.appendChild(o)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=xs(t),n;const o=this.inertDocument.createElement("body");return o.innerHTML=xs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(o),o}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();f1.hasOwnProperty(n)&&!al.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(dl(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 j3=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,U3=/([^\#-~ |!])/g;function dl(e){return e.replace(/&/g,"&").replace(j3,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(U3,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function hl(e,t){let n=null;try{Pa=Pa||function h1(e){const t=new H3(e);return function R3(){try{return!!(new window.DOMParser).parseFromString(xs(""),"text/html")}catch{return!1}}()?new F3(t):t}(e);let o=t?String(t):"";n=Pa.getInertBodyElement(o);let i=5,r=o;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,o=r,r=n.innerHTML,n=Pa.getInertBodyElement(o)}while(o!==r);return xs((new Y3).sanitizeChildren(m1(n)||n))}finally{if(n){const o=m1(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function m1(e){return"content"in e&&function $3(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Un=(()=>((Un=Un||{})[Un.NONE=0]="NONE",Un[Un.HTML=1]="HTML",Un[Un.STYLE=2]="STYLE",Un[Un.SCRIPT=3]="SCRIPT",Un[Un.URL=4]="URL",Un[Un.RESOURCE_URL=5]="RESOURCE_URL",Un))();function fl(e){const t=ea();return t?il(t.sanitize(Un.HTML,e)||""):Ps(e,"HTML")?il(tr(e)):hl(function ol(){return void 0!==l1?l1:typeof document<"u"?document:void 0}(),j(e))}function g1(e){const t=ea();return t?t.sanitize(Un.URL,e)||"":Ps(e,"URL")?tr(e):xa(j(e))}function ea(){const e=at();return e&&e[12]}const y1=new nn("ENVIRONMENT_INITIALIZER"),ml=new nn("INJECTOR",-1),gl=new nn("INJECTOR_DEF_TYPES");class vl{get(t,n=ss){if(n===ss){const o=new Error(`NullInjectorError: No provider for ${w(t)}!`);throw o.name="NullInjectorError",o}return n}}function yl(...e){return{\u0275providers:_l(0,e)}}function _l(e,...t){const n=[],o=new Set;let i;return Jt(t,r=>{const u=r;_1(u,n,[],o)&&(i||(i=[]),i.push(u))}),void 0!==i&&Ml(i,n),n}function Ml(e,t){for(let n=0;n{t.push(r)})}}function _1(e,t,n,o){if(!(e=G(e)))return!1;let i=null,r=Ct(e);const u=!r&&Ht(e);if(r||u){if(u&&!u.standalone)return!1;i=e}else{const _=e.ngModule;if(r=Ct(_),!r)return!1;i=_}const g=o.has(i);if(u){if(g)return!1;if(o.add(i),u.dependencies){const _="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const b of _)_1(b,t,n,o)}}else{if(!r)return!1;{if(null!=r.imports&&!g){let b;o.add(i);try{Jt(r.imports,H=>{_1(H,t,n,o)&&(b||(b=[]),b.push(H))})}finally{}void 0!==b&&Ml(b,t)}if(!g){const b=go(i)||(()=>new i);t.push({provide:i,useFactory:b,deps:tt},{provide:gl,useValue:i,multi:!0},{provide:y1,useValue:()=>Qn(i),multi:!0})}const _=r.providers;null==_||g||Jt(_,H=>{t.push(H)})}}return i!==e&&void 0!==e.providers}const J3=p({provide:String,useValue:p});function M1(e){return null!==e&&"object"==typeof e&&J3 in e}function as(e){return"function"==typeof e}const D1=new nn("Set Injector scope."),Oa={},q3={};let Aa;function ka(){return void 0===Aa&&(Aa=new vl),Aa}class Fr{}class Dl extends Fr{constructor(t,n,o,i){super(),this.parent=n,this.source=o,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,z1(t,u=>this.processProvider(u)),this.records.set(ml,Os(void 0,this)),i.has("environment")&&this.records.set(Fr,Os(void 0,this));const r=this.records.get(D1);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(gl.multi,tt,ft.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Ss(this),o=N(void 0);try{return t()}finally{Ss(n),N(o)}}get(t,n=ss,o=ft.Default){this.assertNotDestroyed();const i=Ss(this),r=N(void 0);try{if(!(o&ft.SkipSelf)){let g=this.records.get(t);if(void 0===g){const _=function i8(e){return"function"==typeof e||"object"==typeof e&&e instanceof nn}(t)&&Rt(t);g=_&&this.injectableDefInScope(_)?Os(w1(t),Oa):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(o&ft.Self?ka():this.parent).get(t,n=o&ft.Optional&&n===ss?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Ws]=u[Ws]||[]).unshift(w(t)),i)throw u;return function d3(e,t,n,o){const i=e[Ws];throw t[Kc]&&i.unshift(t[Kc]),e.message=function h3(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=w(t);if(Array.isArray(t))i=t.map(w).join(" -> ");else if("object"==typeof t){let r=[];for(let u in t)if(t.hasOwnProperty(u)){let g=t[u];r.push(u+":"+("string"==typeof g?JSON.stringify(g):w(g)))}i=`{${r.join(", ")}}`}return`${n}${o?"("+o+")":""}[${i}]: ${e.replace(c3,"\n  ")}`}("\n"+e.message,i,n,o),e.ngTokenPath=i,e[Ws]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{N(r),Ss(i)}}resolveInjectorInitializers(){const t=Ss(this),n=N(void 0);try{const o=this.get(y1.multi,tt,ft.Self);for(const i of o)i()}finally{Ss(t),N(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(w(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processProvider(t){let n=as(t=G(t))?t:G(t&&t.provide);const o=function t8(e){return M1(e)?Os(void 0,e.useValue):Os(wl(e),Oa)}(t);if(as(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Os(void 0,Oa,!0),i.factory=()=>a1(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===Oa&&(n.value=q3,n.value=n.factory()),"object"==typeof n.value&&n.value&&function o8(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=G(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function w1(e){const t=Rt(e),n=null!==t?t.factory:go(e);if(null!==n)return n;if(e instanceof nn)throw new $(204,!1);if(e instanceof Function)return function e8(e){const t=e.length;if(t>0)throw f(t,"?"),new $(204,!1);const n=function Pt(e){const t=e&&(e[Bt]||e[bt]);if(t){const n=function qe(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new $(204,!1)}function wl(e,t,n){let o;if(as(e)){const i=G(e);return go(i)||w1(i)}if(M1(e))o=()=>G(e.useValue);else if(function C1(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...a1(e.deps||[]));else if(function Cl(e){return!(!e||!e.useExisting)}(e))o=()=>Qn(G(e.useExisting));else{const i=G(e&&(e.useClass||e.provide));if(!function n8(e){return!!e.deps}(e))return go(i)||w1(i);o=()=>new i(...a1(e.deps))}return o}function Os(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function r8(e){return!!e.\u0275providers}function z1(e,t){for(const n of e)Array.isArray(n)?z1(n,t):r8(n)?z1(n.\u0275providers,t):t(n)}class zl{}class c8{resolveComponentFactory(t){throw function a8(e){const t=Error(`No component factory found for ${w(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ta=(()=>{class e{}return e.NULL=new c8,e})();function l8(){return As(Fn(),at())}function As(e,t){return new na(ro(e,t))}let na=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=l8,e})();function u8(e){return e instanceof na?e.nativeElement:e}class El{}let d8=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function h8(){const e=at(),n=hn(Fn().index,e);return(In(n)?n:e)[11]}(),e})(),f8=(()=>{class e{}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:()=>null}),e})();class Sl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const p8=new Sl("14.2.6"),b1={};function O1(e){return e.ngOriginalError}class oa{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&&O1(t);for(;n&&O1(n);)n=O1(n);return n||null}}const A1=new Map;let b8=0;const I1="__ngContext__";function Co(e,t){In(t)?(e[I1]=t[20],function S8(e){A1.set(e[20],e)}(t)):e[I1]=t}function or(e){return e instanceof Function?e():e}var Fi=(()=>((Fi=Fi||{})[Fi.Important=1]="Important",Fi[Fi.DashCase=2]="DashCase",Fi))();function H1(e,t){return undefined(e,t)}function Is(e){const t=e[3];return Wn(t)?t[3]:t}function R1(e){return Vl(e[13])}function V1(e){return Vl(e[4])}function Vl(e){for(;null!==e&&!Wn(e);)e=e[4];return e}function Ls(e,t,n,o,i){if(null!=o){let r,u=!1;Wn(o)?r=o:In(o)&&(u=!0,o=o[0]);const g=On(o);0===e&&null!==n?null==i?Kl(t,n,g):Hr(t,n,g,i||null,!0):1===e&&null!==n?Hr(t,n,g,i||null,!0):2===e?function ql(e,t,n){const o=La(e,t);o&&function Zl(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,g,u):3===e&&t.destroyNode(g),null!=r&&function t6(e,t,n,o,i){const r=n[7];r!==On(n)&&Ls(t,e,o,r,i);for(let g=10;g0&&(e[n-1][4]=o[4]);const r=Mo(e,10+t);!function K8(e,t){ra(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(o[1],o);const u=r[19];null!==u&&u.detachView(r[1]),o[3]=null,o[4]=null,o[2]&=-65}return o}function jl(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ra(e,t,n,3,null,null),function Q8(e){let t=e[13];if(!t)return j1(e[1],e);for(;t;){let n=null;if(In(t))n=t[13];else{const o=t[10];o&&(n=o)}if(!n){for(;t&&!t[4]&&t!==e;)In(t)&&j1(t[1],t),t=t[3];null===t&&(t=e),In(t)&&j1(t[1],t),n=t&&t[4]}t=n}}(t)}}function j1(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function X8(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[i=b]():o[i=-b].unsubscribe(),r+=2}else{const u=o[i=n[r+1]];n[r].call(u)}if(null!==o){for(let r=i+1;rr?"":i[te+1].toLowerCase();const Ye=8&o?Ee:null;if(Ye&&-1!==o4(Ye,b,0)||2&o&&b!==Ee){if(Mi(o))return!1;u=!0}}}}else{if(!u&&!Mi(o)&&!Mi(_))return!1;if(u&&Mi(_))continue;u=!1,o=_|1&o}}return Mi(o)||u}function Mi(e){return 0==(1&e)}function r6(e,t,n,o){if(null===t)return-1;let i=0;if(o||!n){let r=!1;for(;i-1)for(n++;n0?'="'+g+'"':"")+"]"}else 8&o?i+="."+u:4&o&&(i+=" "+u);else""!==i&&!Mi(u)&&(t+=s4(r,i),i=""),o=u,r=r||!Mi(o);n++}return""!==i&&(t+=s4(r,i)),t}const an={};function a4(e){c4(rn(),at(),he()+e,!1)}function c4(e,t,n,o){if(!o)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&En(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Gn(t,r,0,n)}je(n)}function h4(e,t=null,n=null,o){const i=f4(e,t,n,o);return i.resolveInjectorInitializers(),i}function f4(e,t=null,n=null,o,i=new Set){const r=[n||tt,yl(e)];return o=o||("object"==typeof e?void 0:w(e)),new Dl(r,t||ka(),o||null,i)}let cs=(()=>{class e{static create(n,o){if(Array.isArray(n))return h4({name:""},o,n,"");{var i;const r=null!==(i=n.name)&&void 0!==i?i:"";return h4({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=ss,e.NULL=new vl,e.\u0275prov=Pe({token:e,providedIn:"any",factory:()=>Qn(ml)}),e.__NG_ELEMENT_ID__=-1,e})();function Hs(e,t=ft.Default){const n=at();return null===n?Qn(e,t):is(Fn(),n,G(e),t)}function C4(){throw new Error("invalid")}function Na(e,t){return e<<17|t<<2}function Ci(e){return e>>17&32767}function tc(e){return 2|e}function ir(e){return(131068&e)>>2}function nc(e,t){return-131069&e|t<<2}function oc(e){return 1|e}function k4(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;o22&&c4(e,t,22,!1),n(o,i)}finally{je(r)}}function F4(e,t,n){if($o(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(g)!=_&&g.push(_),g.push(o,i,u)}}function j4(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function U4(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function q6(e,t,n){if(n){if(t.exportAs)for(let o=0;o0&&W4(n)}}function W4(e){for(let o=R1(e);null!==o;o=V1(o))for(let i=10;i0&&W4(r)}const n=e[1].components;if(null!==n)for(let o=0;o0&&W4(i)}}function _5(e,t){const n=hn(t,e),o=n[1];(function M5(e,t){for(let n=t.length;n-1&&(Y1(t,o),Mo(n,o))}this._attachedToViewContainer=!1}jl(this._lView[1],this._lView)}onDestroy(t){R4(this._lView[1],this._lView,null,t)}markForCheck(){K4(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Mc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Z8(e,t){ra(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=t}}class C5 extends $a{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Mc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Q4 extends ta{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ht(t);return new Wa(n,this.ngModule)}}function a0(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class w5{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){const i=this.injector.get(t,b1,o);return i!==b1||n===b1?i:this.parentInjector.get(t,n,o)}}class Wa extends zl{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function d6(e){return e.map(u6).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return a0(this.componentDef.inputs)}get outputs(){return a0(this.componentDef.outputs)}create(t,n,o,i){var r;let u=(i=i||this.ngModule)instanceof Fr?i:null===(r=i)||void 0===r?void 0:r.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const g=u?new w5(t,u):t,_=g.get(El,null);if(null===_)throw new $(407,!1);const b=g.get(f8,null),H=_.createRenderer(null,this.componentDef),te=this.componentDef.selectors[0][0]||"div",Ee=o?function j6(e,t,n){return e.selectRootElement(t,n===ge.ShadowDom)}(H,o,this.componentDef.encapsulation):B1(_.createRenderer(null,this.componentDef),te,function D5(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(te)),Ye=this.componentDef.onPush?288:272,st=mc(0,null,null,1,0,null,null,null,null,null),mt=ja(null,st,null,Ye,null,null,_,H,b,g,null);let wt,At;Qr(mt);try{const qt=function E5(e,t,n,o,i,r){const u=n[1];n[22]=e;const _=Rs(u,22,2,"#host",null),b=_.mergedAttrs=t.hostAttrs;null!==b&&(Cc(_,b,!0),null!==e&&(Tr(i,e,b),null!==_.classes&&G1(i,e,_.classes),null!==_.styles&&n4(i,e,_.styles)));const H=o.createRenderer(e,t),te=ja(n,H4(t),null,t.onPush?32:16,n[22],_,o,H,r||null,null,null);return u.firstCreatePass&&(Ar(qi(_,n),u,t.type),U4(u,_),vc(_,n.length,1)),_c(n,te),n[22]=te}(Ee,this.componentDef,mt,_,H);if(Ee)if(o)Tr(H,Ee,["ng-version",p8.full]);else{const{attrs:dt,classes:Wt}=function h6(e){const t=[],n=[];let o=1,i=2;for(;o0&&G1(H,Ee,Wt.join(" "))}if(At=Nn(st,22),void 0!==n){const dt=At.projection=[];for(let Wt=0;Wt=0;o--){const i=e[o];i.hostVars=t+=i.hostVars,i.hostAttrs=xr(i.hostAttrs,n=xr(n,i.hostAttrs))}}(o)}function X4(e){return e===xt?{}:e===tt?[]:e}function P5(e,t){const n=e.viewQuery;e.viewQuery=n?(o,i)=>{t(o,i),n(o,i)}:t}function O5(e,t){const n=e.contentQueries;e.contentQueries=n?(o,i,r)=>{t(o,i,r),n(o,i,r)}:t}function A5(e,t){const n=e.hostBindings;e.hostBindings=n?(o,i)=>{t(o,i),n(o,i)}:t}let wc=null;function Vs(){if(!wc){const e=Oe.Symbol;if(e&&e.iterator)wc=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;ng(On(Mn[o.index])):o.index;let Wt=null;if(!g&&_&&(Wt=function U5(e,t,n,o){const i=e.cleanup;if(null!=i)for(let r=0;r_?g[_]:null}"string"==typeof u&&(r+=2)}return null}(e,t,i,o.index)),null!==Wt)(Wt.__ngLastListenerFn__||Wt).__ngNextListenerFn__=r,Wt.__ngLastListenerFn__=r,Ye=!1;else{r=b0(o,t,te,r,!1);const Mn=n.listen(At,i,r);Ee.push(r,Mn),H&&H.push(i,dt,qt,qt+1)}}else r=b0(o,t,te,r,!1);const st=o.outputs;let mt;if(Ye&&null!==st&&(mt=st[i])){const wt=mt.length;if(wt)for(let At=0;At0;)t=t[15],e--;return t}(e,Kt.lFrame.contextLView))[8]}(e)}function $5(e,t){let n=null;const o=function s6(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i=0}const co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V0(e){return e.substring(co.key,co.keyEnd)}function Z5(e){return e.substring(co.value,co.valueEnd)}function N0(e,t){const n=co.textEnd;return n===t?-1:(t=co.keyEnd=function X5(e,t,n){for(;t32;)t++;return t}(e,co.key=t,n),ma(e,t,n))}function B0(e,t){const n=co.textEnd;let o=co.key=ma(e,t,n);return n===o?-1:(o=co.keyEnd=function q5(e,t,n){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,n),o=j0(e,o,n),o=co.value=ma(e,o,n),o=co.valueEnd=function e7(e,t,n){let o=-1,i=-1,r=-1,u=t,g=u;for(;u32&&(g=u),r=i,i=o,o=-33&_}return g}(e,o,n),j0(e,o,n))}function Y0(e){co.key=0,co.keyEnd=0,co.value=0,co.valueEnd=0,co.textEnd=e.length}function ma(e,t,n){for(;t=0;n=B0(t,n))G0(e,V0(t),Z5(t))}function $0(e){Vi(ce,ar,e,!0)}function ar(e,t){for(let n=function Q5(e){return Y0(e),N0(e,ma(e,0,co.textEnd))}(t);n>=0;n=N0(t,n))ce(e,V0(t),!0)}function Ri(e,t,n,o){const i=at(),r=rn(),u=xo(2);r.firstUpdatePass&&K0(r,e,u,o),t!==an&&bo(i,u,t)&&Z0(r,r.data[he()],i,i[11],e,i[u+1]=function c7(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=w(tr(e)))),e}(t,n),o,u)}function Vi(e,t,n,o){const i=rn(),r=xo(2);i.firstUpdatePass&&K0(i,null,r,o);const u=at();if(n!==an&&bo(u,r,n)){const g=i.data[he()];if(J0(g,o)&&!W0(i,r)){let _=o?g.classesWithoutHost:g.stylesWithoutHost;null!==_&&(n=P(_,n||"")),n2(i,g,u,n,o)}else!function a7(e,t,n,o,i,r,u,g){i===an&&(i=tt);let _=0,b=0,H=0=e.expandoStartIndex}function K0(e,t,n,o){const i=e.data;if(null===i[n+1]){const r=i[he()],u=W0(e,n);J0(r,o)&&null===t&&!u&&(t=!1),t=function n7(e,t,n,o){const i=No(e);let r=o?t.residualClasses:t.residualStyles;if(null===i)0===(o?t.classBindings:t.styleBindings)&&(n=Za(n=h2(null,e,t,n,o),t.attrs,o),r=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=h2(i,e,t,n,o),null===r){let _=function o7(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==ir(o))return e[Ci(o)]}(e,t,o);void 0!==_&&Array.isArray(_)&&(_=h2(null,e,t,_[1],o),_=Za(_,t.attrs,o),function i7(e,t,n,o){e[Ci(n?t.classBindings:t.styleBindings)]=o}(e,t,o,_))}else r=function r7(e,t,n){let o;const i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0)&&(b=!0)}else H=n;if(i)if(0!==_){const Ee=Ci(e[g+1]);e[o+1]=Na(Ee,g),0!==Ee&&(e[Ee+1]=nc(e[Ee+1],o)),e[g+1]=function x6(e,t){return 131071&e|t<<17}(e[g+1],o)}else e[o+1]=Na(g,0),0!==g&&(e[g+1]=nc(e[g+1],o)),g=o;else e[o+1]=Na(_,0),0===g?g=o:e[_+1]=nc(e[_+1],o),_=o;b&&(e[o+1]=tc(e[o+1])),R0(e,H,o,!0),R0(e,H,o,!1),function K5(e,t,n,o,i){const r=i?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&ht(r,t)>=0&&(n[o+1]=oc(n[o+1]))}(t,H,e,o,r),u=Na(g,_),r?t.classBindings=u:t.styleBindings=u}(i,r,t,n,u,o)}}function h2(e,t,n,o,i){let r=null;const u=n.directiveEnd;let g=n.directiveStylingLast;for(-1===g?g=n.directiveStart:g++;g0;){const _=e[i],b=Array.isArray(_),H=b?_[1]:_,te=null===H;let Ee=n[i+1];Ee===an&&(Ee=te?tt:void 0);let Ye=te?Re(Ee,o):H===o?Ee:void 0;if(b&&!xc(Ye)&&(Ye=Re(_,o)),xc(Ye)&&(g=Ye,u))return g;const st=e[i+1];i=u?Ci(st):ir(st)}if(null!==t){let _=r?t.residualClasses:t.residualStyles;null!=_&&(g=Re(_,o))}return g}function xc(e){return void 0!==e}function J0(e,t){return 0!=(e.flags&(t?16:32))}function X0(e,t=""){const n=at(),o=rn(),i=e+22,r=o.firstCreatePass?Rs(o,i,1,t,null):o.data[i],u=n[i]=function N1(e,t){return e.createText(t)}(n[11],t);Fa(o,n,u,r),vo(r,!1)}function f2(e){return Pc("",e,""),f2}function Pc(e,t,n){const o=at(),i=aa(o,e,t,n);return i!==an&&Nr(o,he(),i),Pc}function p2(e,t,n,o,i){const r=at(),u=function ca(e,t,n,o,i,r){const g=Ns(e,fo(),n,i);return xo(2),g?t+j(n)+o+j(i)+r:an}(r,e,t,n,o,i);return u!==an&&Nr(r,he(),u),p2}function m2(e,t,n,o,i,r,u){const g=at(),_=la(g,e,t,n,o,i,r,u);return _!==an&&Nr(g,he(),_),m2}function ru(e,t,n){Vi(ce,ar,aa(at(),e,t,n),!0)}function g2(e,t,n){const o=at();return bo(o,Qo(),t)&&jo(rn(),Ze(),o,e,t,o[11],n,!0),g2}function v2(e,t,n){const o=at();if(bo(o,Qo(),t)){const r=rn(),u=Ze();jo(r,u,o,e,t,r0(No(r.data),u,o),n,!0)}return v2}const Bs=void 0;var S7=["en",[["a","p"],["AM","PM"],Bs],[["AM","PM"],Bs,Bs],[["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"]],Bs,[["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"]],Bs,[["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}",Bs,"{1} 'at' {0}",Bs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function E7(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let ga={};function T7(e,t,n){"string"!=typeof t&&(n=t,t=e[Xt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ga[t]=e,n&&(ga[t][Xt.ExtraData]=n)}function y2(e){const t=function x7(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gu(t);if(n)return n;const o=t.split("-")[0];if(n=gu(o),n)return n;if("en"===o)return S7;throw new $(701,!1)}function mu(e){return y2(e)[Xt.PluralCase]}function gu(e){return e in ga||(ga[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),ga[e]}var Xt=(()=>((Xt=Xt||{})[Xt.LocaleId=0]="LocaleId",Xt[Xt.DayPeriodsFormat=1]="DayPeriodsFormat",Xt[Xt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Xt[Xt.DaysFormat=3]="DaysFormat",Xt[Xt.DaysStandalone=4]="DaysStandalone",Xt[Xt.MonthsFormat=5]="MonthsFormat",Xt[Xt.MonthsStandalone=6]="MonthsStandalone",Xt[Xt.Eras=7]="Eras",Xt[Xt.FirstDayOfWeek=8]="FirstDayOfWeek",Xt[Xt.WeekendRange=9]="WeekendRange",Xt[Xt.DateFormat=10]="DateFormat",Xt[Xt.TimeFormat=11]="TimeFormat",Xt[Xt.DateTimeFormat=12]="DateTimeFormat",Xt[Xt.NumberSymbols=13]="NumberSymbols",Xt[Xt.NumberFormats=14]="NumberFormats",Xt[Xt.CurrencyCode=15]="CurrencyCode",Xt[Xt.CurrencySymbol=16]="CurrencySymbol",Xt[Xt.CurrencyName=17]="CurrencyName",Xt[Xt.Currencies=18]="Currencies",Xt[Xt.Directionality=19]="Directionality",Xt[Xt.PluralCase=20]="PluralCase",Xt[Xt.ExtraData=21]="ExtraData",Xt))();const va="en-US";let vu=va;function C2(e,t,n,o,i){if(e=G(e),Array.isArray(e))for(let r=0;r>20;if(as(e)||!e.multi){const Ye=new Oo(_,i,Hs),st=w2(g,t,i?H:H+Ee,te);-1===st?(Ar(qi(b,u),r,g),D2(r,e,t.length),t.push(g),b.directiveStart++,b.directiveEnd++,i&&(b.providerIndexes+=1048576),n.push(Ye),u.push(Ye)):(n[st]=Ye,u[st]=Ye)}else{const Ye=w2(g,t,H+Ee,te),st=w2(g,t,H,H+Ee),mt=Ye>=0&&n[Ye],wt=st>=0&&n[st];if(i&&!wt||!i&&!mt){Ar(qi(b,u),r,g);const At=function Tf(e,t,n,o,i){const r=new Oo(e,n,Hs);return r.multi=[],r.index=t,r.componentProviders=0,Yu(r,i,o&&!n),r}(i?Sf:Ef,n.length,i,o,_);!i&&wt&&(n[st].providerFactory=At),D2(r,e,t.length,0),t.push(g),b.directiveStart++,b.directiveEnd++,i&&(b.providerIndexes+=1048576),n.push(At),u.push(At)}else D2(r,e,Ye>-1?Ye:st,Yu(n[i?st:Ye],_,!i&&o));!i&&o&&wt&&n[st].componentProviders++}}}function D2(e,t,n,o){const i=as(t),r=function X3(e){return!!e.useClass}(t);if(i||r){const _=(r?G(t.useClass):t).prototype.ngOnDestroy;if(_){const b=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const H=b.indexOf(n);-1===H?b.push(n,[o,_]):b[H+1].push(o,_)}else b.push(n,_)}}}function Yu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function w2(e,t,n,o){for(let i=n;i{n.providersResolver=(o,i)=>function bf(e,t,n){const o=rn();if(o.firstCreatePass){const i=po(e);C2(n,o.data,o.blueprint,i,!0),C2(t,o.data,o.blueprint,i,!1)}}(o,i?i(e):e,t)}}class ya{}class Uu{}function xf(e,t){return new $u(e,t??null)}class $u extends ya{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Q4(this);const o=ke(t);this._bootstrapComponents=or(o.bootstrap),this._r3Injector=f4(t,n,[{provide:ya,useValue:this},{provide:ta,useValue:this.componentFactoryResolver}],w(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 b2 extends Uu{constructor(t){super(),this.moduleType=t}create(t){return new $u(this.moduleType,t)}}class Pf extends ya{constructor(t,n,o){super(),this.componentFactoryResolver=new Q4(this),this.instance=null;const i=new Dl([...t,{provide:ya,useValue:this},{provide:ta,useValue:this.componentFactoryResolver}],n||ka(),o,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function E2(e,t,n=null){return new Pf(e,t,n).injector}let Of=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const o=_l(0,n.type),i=o.length>0?E2([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Pe({token:e,providedIn:"environment",factory:()=>new e(Qn(Fr))}),e})();function Wu(e){e.getStandaloneInjector=t=>t.get(Of).getOrCreateStandaloneInjector(e)}function qu(e,t,n){const o=xn()+e,i=at();return i[o]===an?sr(i,o,n?t.call(n):t()):function Ga(e,t){return e[t]}(i,o)}function ed(e,t,n,o){return nd(at(),xn(),e,t,n,o)}function td(e,t,n,o,i){return od(at(),xn(),e,t,n,o,i)}function t1(e,t){const n=e[t];return n===an?void 0:n}function nd(e,t,n,o,i,r){const u=t+n;return bo(e,u,i)?sr(e,u+1,r?o.call(r,i):o(i)):t1(e,u+1)}function od(e,t,n,o,i,r,u){const g=t+n;return Ns(e,g,i,r)?sr(e,g+2,u?o.call(u,i,r):o(i,r)):t1(e,g+2)}function ad(e,t){const n=rn();let o;const i=e+22;n.firstCreatePass?(o=function Kf(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[i]=o,o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,o.onDestroy)):o=n.data[i];const r=o.factory||(o.factory=go(o.type)),u=N(Hs);try{const g=Pr(!1),_=r();return Pr(g),function B5(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,at(),i,_),_}finally{N(u)}}function cd(e,t,n){const o=e+22,i=at(),r=Ro(i,o);return n1(i,o)?nd(i,xn(),t,r.transform,n,r):r.transform(n)}function ld(e,t,n,o){const i=e+22,r=at(),u=Ro(r,i);return n1(r,i)?od(r,xn(),t,u.transform,n,o,u):u.transform(n,o)}function n1(e,t){return e[1].data[t].pure}function T2(e){return t=>{setTimeout(e,void 0,t)}}const cr=class Jf extends a.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let i=t,r=n||(()=>null),u=o;if(t&&"object"==typeof t){var g,_,b;const te=t;i=null===(g=te.next)||void 0===g?void 0:g.bind(te),r=null===(_=te.error)||void 0===_?void 0:_.bind(te),u=null===(b=te.complete)||void 0===b?void 0:b.bind(te)}this.__isAsync&&(r=T2(r),i&&(i=T2(i)),u&&(u=T2(u)));const H=super.subscribe({next:i,error:r,complete:u});return t instanceof s.w0&&t.add(H),H}};function Xf(){return this._results[Vs()]()}class Lc{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=Vs(),o=Lc.prototype;o[n]||(o[n]=Xf)}get changes(){return this._changes||(this._changes=new cr)}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 o=this;o.dirty=!1;const i=Ot(t);(this._changesDetected=!function Nt(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=t9,e})();const qf=o1,e9=class extends qf{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tViews,i=ja(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(o)),hc(o,i,t),new $a(i)}};function t9(){return Fc(Fn(),at())}function Fc(e,t){return 4&e.type?new e9(t,e,As(e,t)):null}let Hc=(()=>{class e{}return e.__NG_ELEMENT_ID__=n9,e})();function n9(){return hd(Fn(),at())}const o9=Hc,ud=class extends o9{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return As(this._hostTNode,this._hostLView)}get injector(){return new y(this._hostTNode,this._hostLView)}get parentInjector(){const t=Or(this._hostTNode,this._hostLView);if(Ji(t)){const n=mi(t,this._hostLView),o=Xo(t);return new y(n[1].data[o+8],n)}return new y(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dd(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,o){let i,r;"number"==typeof o?i=o:null!=o&&(i=o.index,r=o.injector);const u=t.createEmbeddedView(n||{},r);return this.insert(u,i),u}createComponent(t,n,o,i,r){const u=t&&!function Li(e){return"function"==typeof e}(t);let g;if(u)g=n;else{const te=n||{};g=te.index,o=te.injector,i=te.projectableNodes,r=te.environmentInjector||te.ngModuleRef}const _=u?t:new Wa(Ht(t)),b=o||this.parentInjector;if(!r&&null==_.ngModule){const Ee=(u?b:this.parentInjector).get(Fr,null);Ee&&(r=Ee)}const H=_.create(b,i,void 0,r);return this.insert(H.hostView,g),H}insert(t,n){const o=t._lView,i=o[1];if(function uo(e){return Wn(e[3])}(o)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const te=o[3],Ee=new ud(te,te[6],te[3]);Ee.detach(Ee.indexOf(t))}}const r=this._adjustIndex(n),u=this._lContainer;!function J8(e,t,n,o){const i=10+o,r=n.length;o>0&&(n[i-1][4]=t),o0)o.push(u[g/2]);else{const b=r[g+1],H=t[-_];for(let te=10;te{class e{constructor(n){this.appInits=n,this.resolve=Vc,this.reject=Vc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{r.subscribe({complete:g,error:_})});n.push(u)}}Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Qn(Bd,8))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yd=new nn("AppId",{providedIn:"root",factory:function jd(){return`${V2()}${V2()}${V2()}`}});function V2(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ud=new nn("Platform Initializer"),O9=new nn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$d=new nn("appBootstrapListener"),A9=new nn("AnimationModuleType");let k9=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Bc=new nn("LocaleId",{providedIn:"root",factory:()=>Zc(Bc,ft.Optional|ft.SkipSelf)||function I9(){return typeof $localize<"u"&&$localize.locale||va}()}),L9=new nn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class F9{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let H9=(()=>{class e{compileModuleSync(n){return new b2(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),r=or(ke(n).declarations).reduce((u,g)=>{const _=Ht(g);return _&&u.push(new Wa(_)),u},[]);return new F9(o,r)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const N9=(()=>Promise.resolve(0))();function N2(e){typeof Zone>"u"?N9.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class wi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new cr(!1),this.onMicrotaskEmpty=new cr(!1),this.onStable=new cr(!1),this.onError=new cr(!1),typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!o&&n,i.shouldCoalesceRunChangeDetection=o,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function B9(){let e=Oe.requestAnimationFrame,t=Oe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function U9(e){const t=()=>{!function j9(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Y2(e),e.isCheckStableRunning=!0,B2(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Y2(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,i,r,u,g)=>{try{return Gd(e),n.invokeTask(i,r,u,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),Zd(e)}},onInvoke:(n,o,i,r,u,g,_)=>{try{return Gd(e),n.invoke(i,r,u,g,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),Zd(e)}},onHasTask:(n,o,i,r)=>{n.hasTask(i,r),o===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Y2(e),B2(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,o,i,r)=>(n.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!wi.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(wi.isInAngularZone())throw new $(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,i){const r=this._inner,u=r.scheduleEventTask("NgZoneEvent: "+i,t,Y9,Vc,Vc);try{return r.runTask(u,n,o)}finally{r.cancelTask(u)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const Y9={};function B2(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 Y2(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zd(e){e._nesting--,B2(e)}class $9{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cr,this.onMicrotaskEmpty=new cr,this.onStable=new cr,this.onError=new cr}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,i){return t.apply(n,o)}}const Qd=new nn(""),Jd=new nn("");let j2,W9=(()=>{class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,j2||(function K9(e){j2=e}(i),i.addToWindow(o)),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:()=>{wi.assertNotInAngularZone(),N2(()=>{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())N2(()=>{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(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.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,o,i){let r=-1;o&&o>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==r),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:i})}whenStable(n,o,i){if(i&&!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,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Qn(wi),Qn(Xd),Qn(Jd))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac}),e})(),Xd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){var i,r;return null!==(i=null===(r=j2)||void 0===r?void 0:r.findTestabilityInTree(this,n,o))&&void 0!==i?i:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),us=null;const U2=new nn("PlatformDestroyListeners");class Q9{constructor(t,n){this.name=t,this.token=n}}function q9(e){const{rootComponent:t,appProviders:n,platformProviders:o}=e,i=function X9(e=[]){if(us)return us;const t=function th(e=[],t){return cs.create({name:t,providers:[{provide:D1,useValue:"platform"},{provide:U2,useValue:new Set([()=>us=null])},...e]})}(e);return us=t,function eh(e){const t=e.get(Ud,null);t&&t.forEach(n=>n())}(t),t}(o),r=function ih(e,t){let n;return n="noop"===e?new $9:("zone.js"===e?void 0:e)||new wi(t),n}("zone.js",function oh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}());return r.run(()=>{const g=E2([{provide:wi,useValue:r},...n||[]],i,"Environment Injector"),_=g.get(oa,null);let b;r.runOutsideAngular(()=>{b=r.onError.subscribe({next:Ee=>{_.handleError(Ee)}})});const H=()=>g.destroy(),te=i.get(U2);return te.add(H),g.onDestroy(()=>{b.unsubscribe(),te.delete(H)}),function rh(e,t,n){try{const o=n();return s2(o)?o.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(_,r,()=>{const Ee=g.get(Nc);return Ee.runInitializers(),Ee.donePromise.then(()=>{!function yu(e){Je(e,"Expected localeId to be defined"),"string"==typeof e&&(vu=e.toLowerCase().replace(/_/g,"-"))}(g.get(Bc,va)||va);const st=g.get(Yc);return void 0!==t&&st.bootstrap(t),st})})})}let Yc=(()=>{class e{constructor(n,o,i){this._zone=n,this._injector=o,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new T.y(g=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{g.next(this._stable),g.complete()})}),u=new T.y(g=>{let _;this._zone.runOutsideAngular(()=>{_=this._zone.onStable.subscribe(()=>{wi.assertNotInAngularZone(),N2(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,g.next(!0))})})});const b=this._zone.onUnstable.subscribe(()=>{wi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{g.next(!1)}))});return()=>{_.unsubscribe(),b.unsubscribe()}});this.isStable=(0,Y.T)(r,u.pipe((0,q.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const i=n instanceof zl;if(!this._injector.get(Nc).done)throw!i&&Et(n),new $(405,false);let u;u=i?n:this._injector.get(ta).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const g=function Z9(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ya),b=u.create(cs.NULL,[],o||u.selector,g),H=b.location.nativeElement,te=b.injector.get(Qd,null);return te?.registerApplication(H),b.onDestroy(()=>{this.detachView(b.hostView),jc(this.components,b),te?.unregisterApplication(H)}),this._loadComponent(b),b}tick(){if(this._runningTick)throw new $(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;jc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get($d,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>jc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Qn(wi),Qn(Fr),Qn(oa))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let ch=!0,lh=!1;function np(){return lh=!0,ch}function op(){if(lh)throw new Error("Cannot enable prod mode after platform setup.");ch=!1}let ip=(()=>{class e{}return e.__NG_ELEMENT_ID__=rp,e})();function rp(e){return function sp(e,t,n){if(Wo(e)&&!n){const o=hn(e.index,t);return new $a(o,o)}return 47&e.type?new $a(t[16],t):null}(Fn(),at(),16==(16&e))}class fh{constructor(){}supports(t){return Ka(t)}create(t){return new hp(t)}}const dp=(e,t)=>t;class hp{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||dp}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,i=0,r=null;for(;n||o;){const u=!o||n&&n.currentIndex{u=this._trackByFn(i,g),null!==n&&Object.is(n.trackById,u)?(o&&(n=this._verifyReinsertion(n,g,u,i)),Object.is(n.item,g)||this._addIdentityChange(n,g)):(n=this._mismatch(n,g,u,i),o=!0),n=n._next,i++}),this.length=i;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,o,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,i)):t=this._addAfter(new fp(n,o),r,i),t}_verifyReinsertion(t,n,o,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ph),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._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 ph),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 fp{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 pp{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 o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class ph{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new pp,this.map.set(n,o)),o.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 mh(e,t,n){const o=e.previousIndex;if(null===o)return o;let i=0;return n&&o{if(n&&n.key===i)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(i,o);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const r=i._prev,u=i._next;return r&&(r._next=u),u&&(u._prev=r),i._next=null,i._prev=null,i}const o=new gp(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_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(o=>n(t[o],o))}}class gp{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 vh(){return new Q2([new fh])}let Q2=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||vh()),deps:[[e,new Qs,new Zs]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(null!=o)return o;throw new $(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:vh}),e})();function yh(){return new J2([new gh])}let J2=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||yh()),deps:[[e,new Qs,new Zs]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(o)return o;throw new $(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:yh}),e})(),_p=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Qn(Yc))},e.\u0275mod=Ae({type:e}),e.\u0275inj=pt({}),e})();function Mp(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},11481:(ot,pe,h)=>{h.d(pe,{Cg:()=>Rt,Dx:()=>I,H7:()=>We,b2:()=>Qe,se:()=>Ce});var a=h(36895),s=h(94650);class T extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends T{static makeCurrent(){(0,a.HT)(new Y)}onAndCancel(ee,K,ze){return ee.addEventListener(K,ze,!1),()=>{ee.removeEventListener(K,ze,!1)}}dispatchEvent(ee,K){ee.dispatchEvent(K)}remove(ee){ee.parentNode&&ee.parentNode.removeChild(ee)}createElement(ee,K){return(K=K||this.getDefaultDocument()).createElement(ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ee){return ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(ee){return ee instanceof DocumentFragment}getGlobalEventTarget(ee,K){return"window"===K?window:"document"===K?ee:"body"===K?ee.body:null}getBaseHref(ee){const K=function p(){return q=q||document.querySelector("base"),q?q.getAttribute("href"):null}();return null==K?null:function w(Z){R=R||document.createElement("a"),R.setAttribute("href",Z);const ee=R.pathname;return"/"===ee.charAt(0)?ee:`/${ee}`}(K)}resetBaseElement(){q=null}getUserAgent(){return window.navigator.userAgent}getCookie(ee){return(0,a.Mx)(document.cookie,ee)}}let R,q=null;const P=new s.OlP("TRANSITION_ID"),U=[{provide:s.ip1,useFactory:function A(Z,ee,K){return()=>{K.get(s.CZH).donePromise.then(()=>{const ze=(0,a.q)(),Ke=ee.querySelectorAll(`style[ng-transition="${Z}"]`);for(let vt=0;vt{class Z{build(){return new XMLHttpRequest}}return Z.\u0275fac=function(K){return new(K||Z)},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const Te=new s.OlP("EventManagerPlugins");let $=(()=>{class Z{constructor(K,ze){this._zone=ze,this._eventNameToPlugin=new Map,K.forEach(Ke=>Ke.manager=this),this._plugins=K.slice().reverse()}addEventListener(K,ze,Ke){return this._findPluginFor(ze).addEventListener(K,ze,Ke)}addGlobalEventListener(K,ze,Ke){return this._findPluginFor(ze).addGlobalEventListener(K,ze,Ke)}getZone(){return this._zone}_findPluginFor(K){const ze=this._eventNameToPlugin.get(K);if(ze)return ze;const Ke=this._plugins;for(let vt=0;vt{class Z{constructor(){this._stylesSet=new Set}addStyles(K){const ze=new Set;K.forEach(Ke=>{this._stylesSet.has(Ke)||(this._stylesSet.add(Ke),ze.add(Ke))}),this.onStylesAdded(ze)}onStylesAdded(K){}getAllStyles(){return Array.from(this._stylesSet)}}return Z.\u0275fac=function(K){return new(K||Z)},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),De=(()=>{class Z extends j{constructor(K){super(),this._doc=K,this._hostNodes=new Map,this._hostNodes.set(K.head,[])}_addStylesToHost(K,ze,Ke){K.forEach(vt=>{const Vt=this._doc.createElement("style");Vt.textContent=vt,Ke.push(ze.appendChild(Vt))})}addHost(K){const ze=[];this._addStylesToHost(this._stylesSet,K,ze),this._hostNodes.set(K,ze)}removeHost(K){const ze=this._hostNodes.get(K);ze&&ze.forEach(xe),this._hostNodes.delete(K)}onStylesAdded(K){this._hostNodes.forEach((ze,Ke)=>{this._addStylesToHost(K,Ke,ze)})}ngOnDestroy(){this._hostNodes.forEach(K=>K.forEach(xe))}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(a.K0))},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})();function xe(Z){(0,a.q)().remove(Z)}const Fe={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/"},be=/%COMP%/g;function oe(Z,ee,K){for(let ze=0;ze{if("__ngUnwrap__"===ee)return Z;!1===Z(ee)&&(ee.preventDefault(),ee.returnValue=!1)}}let Ce=(()=>{class Z{constructor(K,ze,Ke){this.eventManager=K,this.sharedStylesHost=ze,this.appId=Ke,this.rendererByCompId=new Map,this.defaultRenderer=new Le(K)}createRenderer(K,ze){if(!K||!ze)return this.defaultRenderer;switch(ze.encapsulation){case s.ifc.Emulated:{let Ke=this.rendererByCompId.get(ze.id);return Ke||(Ke=new Je(this.eventManager,this.sharedStylesHost,ze,this.appId),this.rendererByCompId.set(ze.id,Ke)),Ke.applyToHost(K),Ke}case 1:case s.ifc.ShadowDom:return new $e(this.eventManager,this.sharedStylesHost,K,ze);default:if(!this.rendererByCompId.has(ze.id)){const Ke=oe(ze.id,ze.styles,[]);this.sharedStylesHost.addStyles(Ke),this.rendererByCompId.set(ze.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG($),s.LFG(De),s.LFG(s.AFp))},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})();class Le{constructor(ee){this.eventManager=ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ee,K){return K?document.createElementNS(Fe[K]||K,ee):document.createElement(ee)}createComment(ee){return document.createComment(ee)}createText(ee){return document.createTextNode(ee)}appendChild(ee,K){(gt(ee)?ee.content:ee).appendChild(K)}insertBefore(ee,K,ze){ee&&(gt(ee)?ee.content:ee).insertBefore(K,ze)}removeChild(ee,K){ee&&ee.removeChild(K)}selectRootElement(ee,K){let ze="string"==typeof ee?document.querySelector(ee):ee;if(!ze)throw new Error(`The selector "${ee}" did not match any elements`);return K||(ze.textContent=""),ze}parentNode(ee){return ee.parentNode}nextSibling(ee){return ee.nextSibling}setAttribute(ee,K,ze,Ke){if(Ke){K=Ke+":"+K;const vt=Fe[Ke];vt?ee.setAttributeNS(vt,K,ze):ee.setAttribute(K,ze)}else ee.setAttribute(K,ze)}removeAttribute(ee,K,ze){if(ze){const Ke=Fe[ze];Ke?ee.removeAttributeNS(Ke,K):ee.removeAttribute(`${ze}:${K}`)}else ee.removeAttribute(K)}addClass(ee,K){ee.classList.add(K)}removeClass(ee,K){ee.classList.remove(K)}setStyle(ee,K,ze,Ke){Ke&(s.JOm.DashCase|s.JOm.Important)?ee.style.setProperty(K,ze,Ke&s.JOm.Important?"important":""):ee.style[K]=ze}removeStyle(ee,K,ze){ze&s.JOm.DashCase?ee.style.removeProperty(K):ee.style[K]=""}setProperty(ee,K,ze){ee[K]=ze}setValue(ee,K){ee.nodeValue=K}listen(ee,K,ze){return"string"==typeof ee?this.eventManager.addGlobalEventListener(ee,K,me(ze)):this.eventManager.addEventListener(ee,K,me(ze))}}function gt(Z){return"TEMPLATE"===Z.tagName&&void 0!==Z.content}class Je extends Le{constructor(ee,K,ze,Ke){super(ee),this.component=ze;const vt=oe(Ke+"-"+ze.id,ze.styles,[]);K.addStyles(vt),this.contentAttr=function Se(Z){return"_ngcontent-%COMP%".replace(be,Z)}(Ke+"-"+ze.id),this.hostAttr=function Ie(Z){return"_nghost-%COMP%".replace(be,Z)}(Ke+"-"+ze.id)}applyToHost(ee){super.setAttribute(ee,this.hostAttr,"")}createElement(ee,K){const ze=super.createElement(ee,K);return super.setAttribute(ze,this.contentAttr,""),ze}}class $e extends Le{constructor(ee,K,ze,Ke){super(ee),this.sharedStylesHost=K,this.hostEl=ze,this.shadowRoot=ze.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=oe(Ke.id,Ke.styles,[]);for(let Vt=0;Vt{class Z extends Me{constructor(K){super(K)}supports(K){return!0}addEventListener(K,ze,Ke){return K.addEventListener(ze,Ke,!1),()=>this.removeEventListener(K,ze,Ke)}removeEventListener(K,ze,Ke){return K.removeEventListener(ze,Ke)}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(a.K0))},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const it=["alt","control","meta","shift"],yt={"\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"},Pe={alt:Z=>Z.altKey,control:Z=>Z.ctrlKey,meta:Z=>Z.metaKey,shift:Z=>Z.shiftKey};let nt=(()=>{class Z extends Me{constructor(K){super(K)}supports(K){return null!=Z.parseEventName(K)}addEventListener(K,ze,Ke){const vt=Z.parseEventName(ze),Vt=Z.eventCallback(vt.fullKey,Ke,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(K,vt.domEventName,Vt))}static parseEventName(K){const ze=K.toLowerCase().split("."),Ke=ze.shift();if(0===ze.length||"keydown"!==Ke&&"keyup"!==Ke)return null;const vt=Z._normalizeKey(ze.pop());let Vt="",jt=ze.indexOf("code");if(jt>-1&&(ze.splice(jt,1),Vt="code."),it.forEach(vn=>{const It=ze.indexOf(vn);It>-1&&(ze.splice(It,1),Vt+=vn+".")}),Vt+=vt,0!=ze.length||0===vt.length)return null;const Qt={};return Qt.domEventName=Ke,Qt.fullKey=Vt,Qt}static matchEventFullKeyCode(K,ze){let Ke=yt[K.key]||K.key,vt="";return ze.indexOf("code.")>-1&&(Ke=K.code,vt="code."),!(null==Ke||!Ke)&&(Ke=Ke.toLowerCase()," "===Ke?Ke="space":"."===Ke&&(Ke="dot"),it.forEach(Vt=>{Vt!==Ke&&(0,Pe[Vt])(K)&&(vt+=Vt+".")}),vt+=Ke,vt===ze)}static eventCallback(K,ze,Ke){return vt=>{Z.matchEventFullKeyCode(vt,K)&&Ke.runGuarded(()=>ze(vt))}}static _normalizeKey(K){return"esc"===K?"escape":K}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(a.K0))},Z.\u0275prov=s.Yz7({token:Z,factory:Z.\u0275fac}),Z})();function Rt(Z,ee){return(0,s.iPO)({rootComponent:Z,...lt(ee)})}function lt(Z){var ee;return{appProviders:[...gn,...null!==(ee=Z?.providers)&&void 0!==ee?ee:[]],platformProviders:fn}}const fn=[{provide:s.Lbi,useValue:a.bD},{provide:s.g9A,useValue:function qe(){Y.makeCurrent()},multi:!0},{provide:a.K0,useFactory:function Bt(){return(0,s.RDi)(document),document},deps:[]}],on=new s.OlP(""),ft=[{provide:s.rWj,useClass:class G{addToWindow(ee){s.dqk.getAngularTestability=(ze,Ke=!0)=>{const vt=ee.findTestabilityInTree(ze,Ke);if(null==vt)throw new Error("Could not find testability for element.");return vt},s.dqk.getAllAngularTestabilities=()=>ee.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>ee.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(ze=>{const Ke=s.dqk.getAllAngularTestabilities();let vt=Ke.length,Vt=!1;const jt=function(Qt){Vt=Vt||Qt,vt--,0==vt&&ze(Vt)};Ke.forEach(function(Qt){Qt.whenStable(jt)})})}findTestabilityInTree(ee,K,ze){return null==K?null:ee.getTestability(K)??(ze?(0,a.q)().isShadowRoot(K)?this.findTestabilityInTree(ee,K.host,!0):this.findTestabilityInTree(ee,K.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],gn=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Ct(){return new s.qLn},deps:[]},{provide:Te,useClass:St,multi:!0,deps:[a.K0,s.R0b,s.Lbi]},{provide:Te,useClass:nt,multi:!0,deps:[a.K0]},{provide:Ce,useClass:Ce,deps:[$,De,s.AFp]},{provide:s.FYo,useExisting:Ce},{provide:j,useExisting:De},{provide:De,useClass:De,deps:[a.K0]},{provide:$,useClass:$,deps:[Te,s.R0b]},{provide:a.JF,useClass:de,deps:[]},[]];let Qe=(()=>{class Z{constructor(K){}static withServerTransition(K){return{ngModule:Z,providers:[{provide:s.AFp,useValue:K.appId},{provide:P,useExisting:s.AFp},U]}}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(on,12))},Z.\u0275mod=s.oAB({type:Z}),Z.\u0275inj=s.cJS({providers:[...gn,...ft],imports:[a.ez,s.hGG]}),Z})(),I=(()=>{class Z{constructor(K){this._doc=K}getTitle(){return this._doc.title}setTitle(K){this._doc.title=K||""}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(a.K0))},Z.\u0275prov=s.Yz7({token:Z,factory:function(K){let ze=null;return ze=K?new K:function E(){return new I((0,s.LFG)(a.K0))}(),ze},providedIn:"root"}),Z})();typeof window<"u"&&window;let We=(()=>{class Z{}return Z.\u0275fac=function(K){return new(K||Z)},Z.\u0275prov=s.Yz7({token:Z,factory:function(K){let ze=null;return ze=K?new(K||Z):s.LFG(ke),ze},providedIn:"root"}),Z})(),ke=(()=>{class Z extends We{constructor(K){super(),this._doc=K}sanitize(K,ze){if(null==ze)return null;switch(K){case s.q3G.NONE:return ze;case s.q3G.HTML:return(0,s.qzn)(ze,"HTML")?(0,s.z3N)(ze):(0,s.EiD)(this._doc,String(ze)).toString();case s.q3G.STYLE:return(0,s.qzn)(ze,"Style")?(0,s.z3N)(ze):ze;case s.q3G.SCRIPT:if((0,s.qzn)(ze,"Script"))return(0,s.z3N)(ze);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.qzn)(ze,"URL")?(0,s.z3N)(ze):(0,s.mCW)(String(ze));case s.q3G.RESOURCE_URL:if((0,s.qzn)(ze,"ResourceURL"))return(0,s.z3N)(ze);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${K} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(K){return(0,s.JVY)(K)}bypassSecurityTrustStyle(K){return(0,s.L6k)(K)}bypassSecurityTrustScript(K){return(0,s.eBb)(K)}bypassSecurityTrustUrl(K){return(0,s.LAX)(K)}bypassSecurityTrustResourceUrl(K){return(0,s.pB0)(K)}}return Z.\u0275fac=function(K){return new(K||Z)(s.LFG(a.K0))},Z.\u0275prov=s.Yz7({token:Z,factory:function(K){let ze=null;return ze=K?new K:function Et(Z){return new ke(Z.get(a.K0))}(s.LFG(s.zs3)),ze},providedIn:"root"}),Z})()},19132:(ot,pe,h)=>{h.d(pe,{gz:()=>Do,m2:()=>mn,eC:()=>Pe,F0:()=>Hn,rH:()=>qo,Od:()=>c,yS:()=>z,Bz:()=>An,lC:()=>li});var a=h(94650),s=h(32076),T=h(39646),Y=h(61135),q=h(86805),p=h(39841),R=h(97272),w=h(49770),P=h(89635),A=h(62843),U=h(69751),G=h(60515),de=h(94033),Te=h(77579),$=h(36895),Me=h(54004),j=h(63900),De=h(95698),xe=h(68675),Fe=h(39300),be=h(95577),B=h(50590),re=h(24351),_e=h(18505),se=h(70262),Se=h(54482),Ie=h(25403);function oe(f,m,l,v,D){return(L,ne)=>{let ce=l,Re=m,ht=0;L.subscribe((0,Ie.x)(ne,Ft=>{const Dt=ht++;Re=ce?f(Re,Ft,Dt):(ce=!0,Ft),v&&ne.next(Re)},D&&(()=>{ce&&ne.next(Re),ne.complete()})))}}function me(f,m){return(0,Se.e)(oe(f,m,arguments.length>=2,!0))}function Q(f){return f<=0?()=>G.E:(0,Se.e)((m,l)=>{let v=[];m.subscribe((0,Ie.x)(l,D=>{v.push(D),f{for(const D of v)l.next(D);l.complete()},void 0,()=>{v=null}))})}var Ce=h(18068),Le=h(46590),Ue=h(44671);function Ge(f,m){const l=arguments.length>=2;return v=>v.pipe(f?(0,Fe.h)((D,L)=>f(D,L,v)):Ue.y,Q(1),l?(0,Le.d)(m):(0,Ce.T)(()=>new q.K))}var gt=h(22529),Je=h(69718),$e=h(28746),St=h(38343),it=h(8189),yt=h(11481);const Pe="primary",nt=Symbol("RouteTitle");class pt{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const l=this.params[m];return Array.isArray(l)?l[0]:l}return null}getAll(m){if(this.has(m)){const l=this.params[m];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Rt(f){return new pt(f)}function kn(f,m,l){const v=l.path.split("/");if(v.length>f.length||"full"===l.pathMatch&&(m.hasChildren()||v.lengthv[L]===D)}return f===m}function Ct(f){return Array.prototype.concat.apply([],f)}function Bt(f){return f.length>0?f[f.length-1]:null}function bt(f,m){for(const l in f)f.hasOwnProperty(l)&&m(f[l],l)}function on(f){return(0,a.CqO)(f)?f:(0,a.QGY)(f)?(0,s.D)(Promise.resolve(f)):(0,T.of)(f)}const Qe={exact:function E(f,m,l){if(!tt(f.segments,m.segments)||!ge(f.segments,m.segments,l)||f.numberOfChildren!==m.numberOfChildren)return!1;for(const v in m.children)if(!f.children[v]||!E(f.children[v],m.children[v],l))return!1;return!0},subset:O},N={exact:function J(f,m){return Pt(f,m)},subset:function I(f,m){return Object.keys(m).length<=Object.keys(f).length&&Object.keys(m).every(l=>qe(f[l],m[l]))},ignored:()=>!0};function V(f,m,l){return Qe[l.paths](f.root,m.root,l.matrixParams)&&N[l.queryParams](f.queryParams,m.queryParams)&&!("exact"===l.fragment&&f.fragment!==m.fragment)}function O(f,m,l){return k(f,m,m.segments,l)}function k(f,m,l,v){if(f.segments.length>l.length){const D=f.segments.slice(0,l.length);return!(!tt(D,l)||m.hasChildren()||!ge(D,l,v))}if(f.segments.length===l.length){if(!tt(f.segments,l)||!ge(f.segments,l,v))return!1;for(const D in m.children)if(!f.children[D]||!O(f.children[D],m.children[D],v))return!1;return!0}{const D=l.slice(0,f.segments.length),L=l.slice(f.segments.length);return!!(tt(f.segments,D)&&ge(f.segments,D,v)&&f.children[Pe])&&k(f.children[Pe],m,L,v)}}function ge(f,m,l){return m.every((v,D)=>N[l](f[D].parameters,v.parameters))}class Oe{constructor(m,l,v){this.root=m,this.queryParams=l,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return fe.serialize(this)}}class He{constructor(m,l){this.segments=m,this.children=l,this.parent=null,bt(l,(v,D)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return le(this)}}class rt{constructor(m,l){this.path=m,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Rt(this.parameters)),this._parameterMap}toString(){return et(this)}}function tt(f,m){return f.length===m.length&&f.every((l,v)=>l.path===m[v].path)}let Ve=(()=>{class f{}return f.\u0275fac=function(l){return new(l||f)},f.\u0275prov=a.Yz7({token:f,factory:function(){return new _t},providedIn:"root"}),f})();class _t{parse(m){const l=new ct(m);return new Oe(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(m){const l=`/${ue(m.root,!0)}`,v=function Yt(f){const m=Object.keys(f).map(l=>{const v=f[l];return Array.isArray(v)?v.map(D=>`${ie(l)}=${ie(D)}`).join("&"):`${ie(l)}=${ie(v)}`}).filter(l=>!!l);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${l}${v}${"string"==typeof m.fragment?`#${function ae(f){return encodeURI(f)}(m.fragment)}`:""}`}}const fe=new _t;function le(f){return f.segments.map(m=>et(m)).join("/")}function ue(f,m){if(!f.hasChildren())return le(f);if(m){const l=f.children[Pe]?ue(f.children[Pe],!1):"",v=[];return bt(f.children,(D,L)=>{L!==Pe&&v.push(`${L}:${ue(D,!1)}`)}),v.length>0?`${l}(${v.join("//")})`:l}{const l=function kt(f,m){let l=[];return bt(f.children,(v,D)=>{D===Pe&&(l=l.concat(m(v,D)))}),bt(f.children,(v,D)=>{D!==Pe&&(l=l.concat(m(v,D)))}),l}(f,(v,D)=>D===Pe?[ue(f.children[Pe],!1)]:[`${D}:${ue(v,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Pe]?`${le(f)}/${l[0]}`:`${le(f)}/(${l.join("//")})`}}function Ne(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ie(f){return Ne(f).replace(/%3B/gi,";")}function X(f){return Ne(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function we(f){return decodeURIComponent(f)}function Ae(f){return we(f.replace(/\+/g,"%20"))}function et(f){return`${X(f.path)}${function ut(f){return Object.keys(f).map(m=>`;${X(m)}=${X(f[m])}`).join("")}(f.parameters)}`}const Zt=/^[^\/()?;=#]+/;function Ht(f){const m=f.match(Zt);return m?m[0]:""}const Cn=/^[^=?&#]+/,Et=/^[^&#]+/;class ct{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(m.length>0||Object.keys(l).length>0)&&(v[Pe]=new He(m,l)),v}parseSegment(){const m=Ht(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new a.vHH(4009,!1);return this.capture(m),new rt(we(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const l=Ht(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const D=Ht(this.remaining);D&&(v=D,this.capture(v))}m[we(l)]=we(v)}parseQueryParam(m){const l=function We(f){const m=f.match(Cn);return m?m[0]:""}(this.remaining);if(!l)return;this.capture(l);let v="";if(this.consumeOptional("=")){const ne=function ke(f){const m=f.match(Et);return m?m[0]:""}(this.remaining);ne&&(v=ne,this.capture(v))}const D=Ae(l),L=Ae(v);if(m.hasOwnProperty(D)){let ne=m[D];Array.isArray(ne)||(ne=[ne],m[D]=ne),ne.push(L)}else m[D]=L}parseParens(m){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Ht(this.remaining),D=this.remaining[v.length];if("/"!==D&&")"!==D&&";"!==D)throw new a.vHH(4010,!1);let L;v.indexOf(":")>-1?(L=v.slice(0,v.indexOf(":")),this.capture(L),this.capture(":")):m&&(L=Pe);const ne=this.parseChildren();l[L]=1===Object.keys(ne).length?ne[Pe]:new He([],ne),this.consumeOptional("//")}return l}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new a.vHH(4011,!1)}}function Z(f){return f.segments.length>0?new He([],{[Pe]:f}):f}function ee(f){const m={};for(const v of Object.keys(f.children)){const L=ee(f.children[v]);(L.segments.length>0||L.hasChildren())&&(m[v]=L)}return function K(f){if(1===f.numberOfChildren&&f.children[Pe]){const m=f.children[Pe];return new He(f.segments.concat(m.segments),m.children)}return f}(new He(f.segments,m))}function ze(f){return f instanceof Oe}function Qt(f,m,l,v,D){var L;if(0===l.length)return Sn(m.root,m.root,m.root,v,D);const ne=function Bn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Tn(!0,0,f);let m=0,l=!1;const v=f.reduce((D,L,ne)=>{if("object"==typeof L&&null!=L){if(L.outlets){const ce={};return bt(L.outlets,(Re,ht)=>{ce[ht]="string"==typeof Re?Re.split("/"):Re}),[...D,{outlets:ce}]}if(L.segmentPath)return[...D,L.segmentPath]}return"string"!=typeof L?[...D,L]:0===ne?(L.split("/").forEach((ce,Re)=>{0==Re&&"."===ce||(0==Re&&""===ce?l=!0:".."===ce?m++:""!=ce&&D.push(ce))}),D):[...D,L]},[]);return new Tn(l,m,v)}(l);if(ne.toRoot())return Sn(m.root,m.root,new He([],{}),v,D);const Re=function ce(Ft){var Dt;const en=function Eo(f,m,l,v){if(f.isAbsolute)return new dn(m.root,!0,0);if(-1===v)return new dn(l,l===m.root,0);return function Xn(f,m,l){let v=f,D=m,L=l;for(;L>D;){if(L-=D,v=v.parent,!v)throw new a.vHH(4005,!1);D=v.segments.length}return new dn(v,!1,D-L)}(l,v+(vn(f.commands[0])?0:1),f.numberOfDoubleDots)}(ne,m,null===(Dt=f.snapshot)||void 0===Dt?void 0:Dt._urlSegment,Ft),wn=en.processChildren?pn(en.segmentGroup,en.index,ne.commands):ti(en.segmentGroup,en.index,ne.commands);return Sn(m.root,en.segmentGroup,wn,v,D)}(null===(L=f.snapshot)||void 0===L?void 0:L._lastPathIndex);return Re}function vn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function It(f){return"object"==typeof f&&null!=f&&f.outlets}function Sn(f,m,l,v,D){let ne,L={};v&&bt(v,(Re,ht)=>{L[ht]=Array.isArray(Re)?Re.map(Ft=>`${Ft}`):`${Re}`}),ne=f===m?l:Jn(f,m,l);const ce=Z(ee(ne));return new Oe(ce,L,D)}function Jn(f,m,l){const v={};return bt(f.children,(D,L)=>{v[L]=D===m?l:Jn(D,m,l)}),new He(f.segments,v)}class Tn{constructor(m,l,v){if(this.isAbsolute=m,this.numberOfDoubleDots=l,this.commands=v,m&&v.length>0&&vn(v[0]))throw new a.vHH(4003,!1);const D=v.find(It);if(D&&D!==Bt(v))throw new a.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class dn{constructor(m,l,v){this.segmentGroup=m,this.processChildren=l,this.index=v}}function ti(f,m,l){if(f||(f=new He([],{})),0===f.segments.length&&f.hasChildren())return pn(f,m,l);const v=function ni(f,m,l){let v=0,D=m;const L={match:!1,pathIndex:0,commandIndex:0};for(;D=l.length)return L;const ne=f.segments[D],ce=l[v];if(It(ce))break;const Re=`${ce}`,ht=v0&&void 0===Re)break;if(Re&&ht&&"object"==typeof ht&&void 0===ht.outlets){if(!oo(Re,ht,ne))return L;v+=2}else{if(!oo(Re,{},ne))return L;v++}D++}return{match:!0,pathIndex:D,commandIndex:v}}(f,m,l),D=l.slice(v.commandIndex);if(v.match&&v.pathIndex{"string"==typeof L&&(L=[L]),null!==L&&(D[ne]=ti(f.children[ne],m,L))}),bt(f.children,(L,ne)=>{void 0===v[ne]&&(D[ne]=L)}),new He(f.segments,D)}}function oi(f,m,l){const v=f.segments.slice(0,m);let D=0;for(;D{"string"==typeof l&&(l=[l]),null!==l&&(m[v]=oi(new He([],{}),0,l))}),m}function ii(f){const m={};return bt(f,(l,v)=>m[v]=`${l}`),m}function oo(f,m,l){return f==l.path&&Pt(m,l.parameters)}class Ln{constructor(m,l){this.id=m,this.url=l}}class io extends Ln{constructor(m,l,v="imperative",D=null){super(m,l),this.type=0,this.navigationTrigger=v,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class mn extends Ln{constructor(m,l,v){super(m,l),this.urlAfterRedirects=v,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Lo extends Ln{constructor(m,l,v,D){super(m,l),this.reason=v,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class In extends Ln{constructor(m,l,v,D){super(m,l),this.error=v,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Wn extends Ln{constructor(m,l,v,D){super(m,l),this.urlAfterRedirects=v,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $o extends Ln{constructor(m,l,v,D){super(m,l),this.urlAfterRedirects=v,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wo extends Ln{constructor(m,l,v,D,L){super(m,l),this.urlAfterRedirects=v,this.state=D,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ri extends Ln{constructor(m,l,v,D){super(m,l),this.urlAfterRedirects=v,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class po extends Ln{constructor(m,l,v,D){super(m,l),this.urlAfterRedirects=v,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lr{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ds{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class So{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yr{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qn{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jr{constructor(m,l,v){this.routerEvent=m,this.position=l,this.anchor=v,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ur{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const l=this.pathFromRoot(m);return l.length>1?l[l.length-2]:null}children(m){const l=ur(m,this._root);return l?l.children.map(v=>v.value):[]}firstChild(m){const l=ur(m,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(m){const l=bi(m,this._root);return l.length<2?[]:l[l.length-2].children.map(D=>D.value).filter(D=>D!==m)}pathFromRoot(m){return bi(m,this._root).map(l=>l.value)}}function ur(f,m){if(f===m.value)return m;for(const l of m.children){const v=ur(f,l);if(v)return v}return null}function bi(f,m){if(f===m.value)return[m];for(const l of m.children){const v=bi(f,l);if(v.length)return v.unshift(m),v}return[]}class mo{constructor(m,l){this.value=m,this.children=l}toString(){return`TreeNode(${this.value})`}}function si(f){const m={};return f&&f.children.forEach(l=>m[l.value.outlet]=l),m}class Ei extends Ur{constructor(m,l){super(m),this.snapshot=l,$r(this,m)}toString(){return this.snapshot.toString()}}function Si(f,m){const l=function Bi(f,m){const ne=new Ko([],{},{},"",{},Pe,m,null,f.root,-1,{});return new Yi("",new mo(ne,[]))}(f,m),v=new Y.X([new rt("",{})]),D=new Y.X({}),L=new Y.X({}),ne=new Y.X({}),ce=new Y.X(""),Re=new Do(v,D,ne,ce,L,Pe,m,l.root);return Re.snapshot=l.root,new Ei(new mo(Re,[]),l)}class Do{constructor(m,l,v,D,L,ne,ce,Re){var ht,Ft;this.url=m,this.params=l,this.queryParams=v,this.fragment=D,this.data=L,this.outlet=ne,this.component=ce,this.title=null!==(ht=null===(Ft=this.data)||void 0===Ft?void 0:Ft.pipe((0,Me.U)(Dt=>Dt[nt])))&&void 0!==ht?ht:(0,T.of)(void 0),this._futureSnapshot=Re}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,Me.U)(m=>Rt(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(m=>Rt(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dr(f,m="emptyOnly"){const l=f.pathFromRoot;let v=0;if("always"!==m)for(v=l.length-1;v>=1;){const D=l[v],L=l[v-1];if(D.routeConfig&&""===D.routeConfig.path)v--;else{if(L.component)break;v--}}return function hr(f){return f.reduce((m,l)=>{var v;return{params:{...m.params,...l.params},data:{...m.data,...l.data},resolve:{...l.data,...m.resolve,...null===(v=l.routeConfig)||void 0===v?void 0:v.data,...l._resolvedData}}},{params:{},data:{},resolve:{}})}(l.slice(v))}class Ko{constructor(m,l,v,D,L,ne,ce,Re,ht,Ft,Dt,en){var wn;this.url=m,this.params=l,this.queryParams=v,this.fragment=D,this.data=L,this.outlet=ne,this.component=ce,this.title=null===(wn=this.data)||void 0===wn?void 0:wn[nt],this.routeConfig=Re,this._urlSegment=ht,this._lastPathIndex=Ft,this._correctedLastPathIndex=en??Ft,this._resolve=Dt}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=Rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Yi extends Ur{constructor(m,l){super(l),this.url=m,$r(this,l)}toString(){return fr(this._root)}}function $r(f,m){m.value._routerState=f,m.children.forEach(l=>$r(f,l))}function fr(f){const m=f.children.length>0?` { ${f.children.map(fr).join(", ")} } `:"";return`${f.value}${m}`}function go(f){if(f.snapshot){const m=f.snapshot,l=f._futureSnapshot;f.snapshot=l,Pt(m.queryParams,l.queryParams)||f.queryParams.next(l.queryParams),m.fragment!==l.fragment&&f.fragment.next(l.fragment),Pt(m.params,l.params)||f.params.next(l.params),function lt(f,m){if(f.length!==m.length)return!1;for(let l=0;lPt(l.parameters,m[v].parameters))}(f.url,m.url);return l&&!(!f.parent!=!m.parent)&&(!f.parent||ai(f.parent,m.parent))}function Fo(f,m,l){if(l&&f.shouldReuseRoute(m.value,l.value.snapshot)){const v=l.value;v._futureSnapshot=m.value;const D=function pr(f,m,l){return m.children.map(v=>{for(const D of l.children)if(f.shouldReuseRoute(v.value,D.value.snapshot))return Fo(f,v,D);return Fo(f,v)})}(f,m,l);return new mo(v,D)}{if(f.shouldAttach(m.value)){const L=f.retrieve(m.value);if(null!==L){const ne=L.route;return ne.value._futureSnapshot=m.value,ne.children=m.children.map(ce=>Fo(f,ce)),ne}}const v=function ji(f){return new Do(new Y.X(f.url),new Y.X(f.params),new Y.X(f.queryParams),new Y.X(f.fragment),new Y.X(f.data),f.outlet,f.component,f)}(m.value),D=m.children.map(L=>Fo(f,L));return new mo(v,D)}}const Ti="ngNavigationCancelingError";function mr(f,m){const{redirectTo:l,navigationBehaviorOptions:v}=ze(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,D=Ui(!1,0,m);return D.url=l,D.navigationBehaviorOptions=v,D}function Ui(f,m,l){const v=new Error("NavigationCancelingError: "+(f||""));return v[Ti]=!0,v.cancellationCode=m,l&&(v.url=l),v}function ci(f){return gr(f)&&ze(f.url)}function gr(f){return f&&f[Ti]}class eo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ho,this.attachRef=null}}let Ho=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(l,v){const D=this.getOrCreateContext(l);D.outlet=v,this.contexts.set(l,D)}onChildOutletDestroyed(l){const v=this.getContext(l);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let v=this.getContext(l);return v||(v=new eo,this.contexts.set(l,v)),v}getContext(l){return this.contexts.get(l)||null}}return f.\u0275fac=function(l){return new(l||f)},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const xi=!1;let li=(()=>{class f{constructor(l,v,D,L,ne){this.parentContexts=l,this.location=v,this.changeDetector=L,this.environmentInjector=ne,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.name=D||Pe,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){var l;(null===(l=this.parentContexts.getContext(this.name))||void 0===l?void 0:l.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.vHH(4012,xi);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.vHH(4012,xi);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.vHH(4012,xi);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,v){this.activated=l,this._activatedRoute=v,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,v){if(this.isActivated)throw new a.vHH(4013,xi);this._activatedRoute=l;const D=this.location,ne=l._futureSnapshot.component,ce=this.parentContexts.getOrCreateContext(this.name).children,Re=new fs(l,ce,D.injector);if(v&&function Wr(f){return!!f.resolveComponentFactory}(v)){const ht=v.resolveComponentFactory(ne);this.activated=D.createComponent(ht,D.length,Re)}else this.activated=D.createComponent(ne,{index:D.length,injector:Re,environmentInjector:v??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(l){return new(l||f)(a.Y36(Ho),a.Y36(a.s_b),a.$8M("name"),a.Y36(a.sBO),a.Y36(a.lqb))},f.\u0275dir=a.lG2({type:f,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),f})();class fs{constructor(m,l,v){this.route=m,this.childContexts=l,this.parent=v}get(m,l){return m===Do?this.route:m===Ho?this.childContexts:this.parent.get(m,l)}}let On=(()=>{class f{}return f.\u0275fac=function(l){return new(l||f)},f.\u0275cmp=a.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[a.jDz],decls:1,vars:0,template:function(l,v){1&l&&a._UZ(0,"router-outlet")},dependencies:[li],encapsulation:2}),f})();function vr(f,m){var l;return f.providers&&!f._injector&&(f._injector=(0,a.MMx)(f.providers,m,`Route: ${f.path}`)),null!==(l=f._injector)&&void 0!==l?l:m}function To(f){const m=f.children&&f.children.map(To),l=m?{...f,children:m}:{...f};return!l.component&&!l.loadComponent&&(m||l.loadChildren)&&l.outlet&&l.outlet!==Pe&&(l.component=On),l}function uo(f){return f.outlet||Pe}function ho(f,m){const l=f.filter(v=>uo(v)===m);return l.push(...f.filter(v=>uo(v)!==m)),l}function Zo(f){var m;if(!f)return null;if(null!==(m=f.routeConfig)&&void 0!==m&&m._injector)return f.routeConfig._injector;for(let l=f.parent;l;l=l.parent){const v=l.routeConfig;if(null!=v&&v._loadedInjector)return v._loadedInjector;if(null!=v&&v._injector)return v._injector}return null}class Kt{constructor(m,l,v,D){this.routeReuseStrategy=m,this.futureState=l,this.currState=v,this.forwardEvent=D}activate(m){const l=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,v,m),go(this.futureState.root),this.activateChildRoutes(l,v,m)}deactivateChildRoutes(m,l,v){const D=si(l);m.children.forEach(L=>{const ne=L.value.outlet;this.deactivateRoutes(L,D[ne],v),delete D[ne]}),bt(D,(L,ne)=>{this.deactivateRouteAndItsChildren(L,v)})}deactivateRoutes(m,l,v){const D=m.value,L=l?l.value:null;if(D===L)if(D.component){const ne=v.getContext(D.outlet);ne&&this.deactivateChildRoutes(m,l,ne.children)}else this.deactivateChildRoutes(m,l,v);else L&&this.deactivateRouteAndItsChildren(l,v)}deactivateRouteAndItsChildren(m,l){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,l):this.deactivateRouteAndOutlet(m,l)}detachAndStoreRouteSubtree(m,l){const v=l.getContext(m.value.outlet),D=v&&m.value.component?v.children:l,L=si(m);for(const ne of Object.keys(L))this.deactivateRouteAndItsChildren(L[ne],D);if(v&&v.outlet){const ne=v.outlet.detach(),ce=v.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:ne,route:m,contexts:ce})}}deactivateRouteAndOutlet(m,l){const v=l.getContext(m.value.outlet),D=v&&m.value.component?v.children:l,L=si(m);for(const ne of Object.keys(L))this.deactivateRouteAndItsChildren(L[ne],D);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(m,l,v){const D=si(l);m.children.forEach(L=>{this.activateRoutes(L,D[L.value.outlet],v),this.forwardEvent(new qn(L.value.snapshot))}),m.children.length&&this.forwardEvent(new zi(m.value.snapshot))}activateRoutes(m,l,v){const D=m.value,L=l?l.value:null;if(go(D),D===L)if(D.component){const ce=v.getOrCreateContext(D.outlet);this.activateChildRoutes(m,l,ce.children)}else this.activateChildRoutes(m,l,v);else if(D.component){const ce=v.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const Re=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),ce.children.onOutletReAttached(Re.contexts),ce.attachRef=Re.componentRef,ce.route=Re.route.value,ce.outlet&&ce.outlet.attach(Re.componentRef,Re.route.value),go(Re.route.value),this.activateChildRoutes(m,null,ce.children)}else{var ne;const Re=Zo(D.snapshot),ht=null!==(ne=Re?.get(a._Vd))&&void 0!==ne?ne:null;ce.attachRef=null,ce.route=D,ce.resolver=ht,ce.injector=Re,ce.outlet&&ce.outlet.activateWith(D,ce.injector),this.activateChildRoutes(m,null,ce.children)}}else this.activateChildRoutes(m,null,v)}}class _r{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class Wi{constructor(m,l){this.component=m,this.route=l}}function Ki(f,m,l){const v=f._root;return Kn(v,m?m._root:null,l,[v.value])}function Rn(f,m){const l=Symbol(),v=m.get(f,l);return v===l?"function"!=typeof f||(0,a.Z0I)(f)?m.get(f):f:v}function Kn(f,m,l,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const L=si(m);return f.children.forEach(ne=>{(function Kr(f,m,l,v,D={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,ne=m?m.value:null,ce=l?l.getContext(f.value.outlet):null;if(ne&&L.routeConfig===ne.routeConfig){const Re=function Gr(f,m,l){if("function"==typeof l)return l(f,m);switch(l){case"pathParamsChange":return!tt(f.url,m.url);case"pathParamsOrQueryParamsChange":return!tt(f.url,m.url)||!Pt(f.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ai(f,m)||!Pt(f.queryParams,m.queryParams);default:return!ai(f,m)}}(ne,L,L.routeConfig.runGuardsAndResolvers);Re?D.canActivateChecks.push(new _r(v)):(L.data=ne.data,L._resolvedData=ne._resolvedData),Kn(f,m,L.component?ce?ce.children:null:l,v,D),Re&&ce&&ce.outlet&&ce.outlet.isActivated&&D.canDeactivateChecks.push(new Wi(ce.outlet.component,ne))}else ne&&at(m,ce,D),D.canActivateChecks.push(new _r(v)),Kn(f,null,L.component?ce?ce.children:null:l,v,D)})(ne,L[ne.value.outlet],l,v.concat([ne.value]),D),delete L[ne.value.outlet]}),bt(L,(ne,ce)=>at(ne,l.getContext(ce),D)),D}function at(f,m,l){const v=si(f),D=f.value;bt(v,(L,ne)=>{at(L,D.component?m?m.children.getContext(ne):null:m,l)}),l.canDeactivateChecks.push(new Wi(D.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,D))}function rn(f){return"function"==typeof f}function Gi(f){return f instanceof q.K||"EmptyError"===f?.name}const Oi=Symbol("INITIAL_VALUE");function di(){return(0,j.w)(f=>(0,p.a)(f.map(m=>m.pipe((0,De.q)(1),(0,xe.O)(Oi)))).pipe((0,Me.U)(m=>{for(const l of m)if(!0!==l){if(l===Oi)return Oi;if(!1===l||l instanceof Oe)return l}return!0}),(0,Fe.h)(m=>m!==Oi),(0,De.q)(1)))}function br(f){return(0,P.z)((0,_e.b)(m=>{if(ze(m))throw mr(0,m)}),(0,Me.U)(m=>!0===m))}const No={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ai(f,m,l,v,D){const L=Jo(f,m,l);return L.matched?function Qi(f,m,l,v){const D=m.canMatch;if(!D||0===D.length)return(0,T.of)(!0);const L=D.map(ne=>{const ce=Rn(ne,f);return on(function vo(f){return f&&rn(f.canMatch)}(ce)?ce.canMatch(m,l):f.runInContext(()=>ce(m,l)))});return(0,T.of)(L).pipe(di(),br())}(v=vr(m,v),m,l).pipe((0,Me.U)(ne=>!0===ne?L:{...No})):(0,T.of)(L)}function Jo(f,m,l){var v;if(""===m.path)return"full"===m.pathMatch&&(f.hasChildren()||l.length>0)?{...No}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const L=(m.matcher||kn)(l,f,m);if(!L)return{...No};const ne={};bt(L.posParams,(Re,ht)=>{ne[ht]=Re.path});const ce=L.consumed.length>0?{...ne,...L.consumed[L.consumed.length-1].parameters}:ne;return{matched:!0,consumedSegments:L.consumed,remainingSegments:l.slice(L.consumed.length),parameters:ce,positionalParamSegments:null!==(v=L.posParams)&&void 0!==v?v:{}}}function fi(f,m,l,v,D="corrected"){if(l.length>0&&function ys(f,m,l){return l.some(v=>sn(f,m,v)&&uo(v)!==Pe)}(f,l,v)){const ne=new He(m,function Qr(f,m,l,v){const D={};D[Pe]=v,v._sourceSegment=f,v._segmentIndexShift=m.length;for(const L of l)if(""===L.path&&uo(L)!==Pe){const ne=new He([],{});ne._sourceSegment=f,ne._segmentIndexShift=m.length,D[uo(L)]=ne}return D}(f,m,v,new He(l,f.children)));return ne._sourceSegment=f,ne._segmentIndexShift=m.length,{segmentGroup:ne,slicedSegments:[]}}if(0===l.length&&function pi(f,m,l){return l.some(v=>sn(f,m,v))}(f,l,v)){const ne=new He(f.segments,function vs(f,m,l,v,D,L){const ne={};for(const ce of v)if(sn(f,l,ce)&&!D[uo(ce)]){const Re=new He([],{});Re._sourceSegment=f,Re._segmentIndexShift="legacy"===L?f.segments.length:m.length,ne[uo(ce)]=Re}return{...D,...ne}}(f,m,l,v,f.children,D));return ne._sourceSegment=f,ne._segmentIndexShift=m.length,{segmentGroup:ne,slicedSegments:l}}const L=new He(f.segments,f.children);return L._sourceSegment=f,L._segmentIndexShift=m.length,{segmentGroup:L,slicedSegments:l}}function sn(f,m,l){return(!(f.hasChildren()||m.length>0)||"full"!==l.pathMatch)&&""===l.path}function M(f,m,l,v){return!!(uo(f)===v||v!==Pe&&sn(m,l,f))&&("**"===f.path||Jo(m,f,l).matched)}function S(f,m,l){return 0===m.length&&!f.children[l]}const C=!1;class F{constructor(m){this.segmentGroup=m||null}}class he{constructor(m){this.urlTree=m}}function je(f){return(0,A._)(new F(f))}function Ze(f){return(0,A._)(new he(f))}class yn{constructor(m,l,v,D,L){this.injector=m,this.configLoader=l,this.urlSerializer=v,this.urlTree=D,this.config=L,this.allowRedirects=!0}apply(){const m=fi(this.urlTree.root,[],[],this.config).segmentGroup,l=new He(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,l,Pe).pipe((0,Me.U)(L=>this.createUrlTree(ee(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(L=>{if(L instanceof he)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof F?this.noMatchError(L):L}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,Pe).pipe((0,Me.U)(D=>this.createUrlTree(ee(D),m.queryParams,m.fragment))).pipe((0,se.K)(D=>{throw D instanceof F?this.noMatchError(D):D}))}noMatchError(m){return new a.vHH(4002,C)}createUrlTree(m,l,v){const D=Z(m);return new Oe(D,l,v)}expandSegmentGroup(m,l,v,D){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(m,l,v).pipe((0,Me.U)(L=>new He([],L))):this.expandSegment(m,v,l,v.segments,D,!0)}expandChildren(m,l,v){const D=[];for(const L of Object.keys(v.children))"primary"===L?D.unshift(L):D.push(L);return(0,s.D)(D).pipe((0,re.b)(L=>{const ne=v.children[L],ce=ho(l,L);return this.expandSegmentGroup(m,ce,ne,L).pipe((0,Me.U)(Re=>({segment:Re,outlet:L})))}),me((L,ne)=>(L[ne.outlet]=ne.segment,L),{}),Ge())}expandSegment(m,l,v,D,L,ne){return(0,s.D)(v).pipe((0,re.b)(ce=>this.expandSegmentAgainstRoute(m,l,v,ce,D,L,ne).pipe((0,se.K)(ht=>{if(ht instanceof F)return(0,T.of)(null);throw ht}))),(0,B.P)(ce=>!!ce),(0,se.K)((ce,Re)=>{if(Gi(ce))return S(l,D,L)?(0,T.of)(new He([],{})):je(l);throw ce}))}expandSegmentAgainstRoute(m,l,v,D,L,ne,ce){return M(D,l,L,ne)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(m,l,D,L,ne):ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,l,v,D,L,ne):je(l):je(l)}expandSegmentAgainstRouteUsingRedirect(m,l,v,D,L,ne){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,v,D,ne):this.expandRegularSegmentAgainstRouteUsingRedirect(m,l,v,D,L,ne)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,l,v,D){const L=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?Ze(L):this.lineralizeSegments(v,L).pipe((0,be.z)(ne=>{const ce=new He(ne,{});return this.expandSegment(m,ce,l,ne,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,l,v,D,L,ne){const{matched:ce,consumedSegments:Re,remainingSegments:ht,positionalParamSegments:Ft}=Jo(l,D,L);if(!ce)return je(l);const Dt=this.applyRedirectCommands(Re,D.redirectTo,Ft);return D.redirectTo.startsWith("/")?Ze(Dt):this.lineralizeSegments(D,Dt).pipe((0,be.z)(en=>this.expandSegment(m,l,v,en.concat(ht),ne,!1)))}matchSegmentAgainstRoute(m,l,v,D,L){return"**"===v.path?(m=vr(v,m),v.loadChildren?(v._loadedRoutes?(0,T.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):this.configLoader.loadChildren(m,v)).pipe((0,Me.U)(ce=>(v._loadedRoutes=ce.routes,v._loadedInjector=ce.injector,new He(D,{})))):(0,T.of)(new He(D,{}))):Ai(l,v,D,m).pipe((0,j.w)(({matched:ne,consumedSegments:ce,remainingSegments:Re})=>{var ht;return ne?(m=null!==(ht=v._injector)&&void 0!==ht?ht:m,this.getChildConfig(m,v,D).pipe((0,be.z)(Dt=>{var en;const wn=null!==(en=Dt.injector)&&void 0!==en?en:m,no=Dt.routes,{segmentGroup:Ao,slicedSegments:Yo}=fi(l,ce,Re,no),yi=new He(Ao.segments,Ao.children);if(0===Yo.length&&yi.hasChildren())return this.expandChildren(wn,no,yi).pipe((0,Me.U)(ss=>new He(ce,ss)));if(0===no.length&&0===Yo.length)return(0,T.of)(new He(ce,{}));const _i=uo(v)===L;return this.expandSegment(wn,yi,no,Yo,_i?Pe:L,!0).pipe((0,Me.U)(ei=>new He(ce.concat(ei.segments),ei.children)))}))):je(l)}))}getChildConfig(m,l,v){return l.children?(0,T.of)({routes:l.children,injector:m}):l.loadChildren?void 0!==l._loadedRoutes?(0,T.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function gs(f,m,l,v){const D=m.canLoad;if(void 0===D||0===D.length)return(0,T.of)(!0);const L=D.map(ne=>{const ce=Rn(ne,f);return on(function ui(f){return f&&rn(f.canLoad)}(ce)?ce.canLoad(m,l):f.runInContext(()=>ce(m,l)))});return(0,T.of)(L).pipe(di(),br())}(m,l,v).pipe((0,be.z)(D=>D?this.configLoader.loadChildren(m,l).pipe((0,_e.b)(L=>{l._loadedRoutes=L.routes,l._loadedInjector=L.injector})):function un(f){return(0,A._)(Ui(C,3))}())):(0,T.of)({routes:[],injector:m})}lineralizeSegments(m,l){let v=[],D=l.root;for(;;){if(v=v.concat(D.segments),0===D.numberOfChildren)return(0,T.of)(v);if(D.numberOfChildren>1||!D.children[Pe])return(0,A._)(new a.vHH(4e3,C));D=D.children[Pe]}}applyRedirectCommands(m,l,v){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),m,v)}applyRedirectCreateUrlTree(m,l,v,D){const L=this.createSegmentGroup(m,l.root,v,D);return new Oe(L,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(m,l){const v={};return bt(m,(D,L)=>{if("string"==typeof D&&D.startsWith(":")){const ce=D.substring(1);v[L]=l[ce]}else v[L]=D}),v}createSegmentGroup(m,l,v,D){const L=this.createSegments(m,l.segments,v,D);let ne={};return bt(l.children,(ce,Re)=>{ne[Re]=this.createSegmentGroup(m,ce,v,D)}),new He(L,ne)}createSegments(m,l,v,D){return l.map(L=>L.path.startsWith(":")?this.findPosParam(m,L,D):this.findOrReturn(L,v))}findPosParam(m,l,v){const D=v[l.path.substring(1)];if(!D)throw new a.vHH(4001,C);return D}findOrReturn(m,l){let v=0;for(const D of l){if(D.path===m.path)return l.splice(v),D;v++}return m}}class _n{}class to{constructor(m,l,v,D,L,ne,ce,Re){this.injector=m,this.rootComponentType=l,this.config=v,this.urlTree=D,this.url=L,this.paramsInheritanceStrategy=ne,this.relativeLinkResolution=ce,this.urlSerializer=Re}recognize(){const m=fi(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,Pe).pipe((0,Me.U)(l=>{if(null===l)return null;const v=new Ko([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Pe,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new mo(v,l),L=new Yi(this.url,D);return this.inheritParamsAndData(L._root),L}))}inheritParamsAndData(m){const l=m.value,v=dr(l,this.paramsInheritanceStrategy);l.params=Object.freeze(v.params),l.data=Object.freeze(v.data),m.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(m,l,v,D){return 0===v.segments.length&&v.hasChildren()?this.processChildren(m,l,v):this.processSegment(m,l,v,v.segments,D)}processChildren(m,l,v){return(0,s.D)(Object.keys(v.children)).pipe((0,re.b)(D=>{const L=v.children[D],ne=ho(l,D);return this.processSegmentGroup(m,ne,L,D)}),me((D,L)=>D&&L?(D.push(...L),D):null),(0,gt.o)(D=>null!==D),(0,Le.d)(null),Ge(),(0,Me.U)(D=>{if(null===D)return null;const L=Oo(D);return function wo(f){f.sort((m,l)=>m.value.outlet===Pe?-1:l.value.outlet===Pe?1:m.value.outlet.localeCompare(l.value.outlet))}(L),L}))}processSegment(m,l,v,D,L){return(0,s.D)(l).pipe((0,re.b)(ne=>{var ce;return this.processSegmentAgainstRoute(null!==(ce=ne._injector)&&void 0!==ce?ce:m,ne,v,D,L)}),(0,B.P)(ne=>!!ne),(0,se.K)(ne=>{if(Gi(ne))return S(v,D,L)?(0,T.of)([]):(0,T.of)(null);throw ne}))}processSegmentAgainstRoute(m,l,v,D,L){if(l.redirectTo||!M(l,v,D,L))return(0,T.of)(null);let ne;if("**"===l.path){var ce,Re;const ht=D.length>0?Bt(D).parameters:{},Ft=ki(v)+D.length,Dt=new Ko(D,ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jr(l),uo(l),null!==(ce=null!==(Re=l.component)&&void 0!==Re?Re:l._loadedComponent)&&void 0!==ce?ce:null,l,_s(v),Ft,Xr(l),Ft);ne=(0,T.of)({snapshot:Dt,consumedSegments:[],remainingSegments:[]})}else ne=Ai(v,l,D,m).pipe((0,Me.U)(({matched:ht,consumedSegments:Ft,remainingSegments:Dt,parameters:en})=>{var wn,no;if(!ht)return null;const Ao=ki(v)+Ft.length;return{snapshot:new Ko(Ft,en,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jr(l),uo(l),null!==(wn=null!==(no=l.component)&&void 0!==no?no:l._loadedComponent)&&void 0!==wn?wn:null,l,_s(v),Ao,Xr(l),Ao),consumedSegments:Ft,remainingSegments:Dt}}));return ne.pipe((0,j.w)(ht=>{var Ft,Dt;if(null===ht)return(0,T.of)(null);const{snapshot:en,consumedSegments:wn,remainingSegments:no}=ht;m=null!==(Ft=l._injector)&&void 0!==Ft?Ft:m;const Ao=null!==(Dt=l._loadedInjector)&&void 0!==Dt?Dt:m,Yo=function Po(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(l),{segmentGroup:yi,slicedSegments:_i}=fi(v,wn,no,Yo.filter(ei=>void 0===ei.redirectTo),this.relativeLinkResolution);if(0===_i.length&&yi.hasChildren())return this.processChildren(Ao,Yo,yi).pipe((0,Me.U)(ei=>null===ei?null:[new mo(en,ei)]));if(0===Yo.length&&0===_i.length)return(0,T.of)([new mo(en,[])]);const rs=uo(l)===L;return this.processSegment(Ao,Yo,yi,_i,rs?Pe:L).pipe((0,Me.U)(ei=>null===ei?null:[new mo(en,ei)]))}))}}function Zn(f){const m=f.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function Oo(f){const m=[],l=new Set;for(const v of f){if(!Zn(v)){m.push(v);continue}const D=m.find(L=>v.value.routeConfig===L.value.routeConfig);void 0!==D?(D.children.push(...v.children),l.add(D)):m.push(v)}for(const v of l){const D=Oo(v.children);m.push(new mo(v.value,D))}return m.filter(v=>!l.has(v))}function _s(f){let m=f;for(;m._sourceSegment;)m=m._sourceSegment;return m}function ki(f){var m;let l=f,v=null!==(m=l._segmentIndexShift)&&void 0!==m?m:0;for(;l._sourceSegment;){var D;l=l._sourceSegment,v+=null!==(D=l._segmentIndexShift)&&void 0!==D?D:0}return v-1}function Jr(f){return f.data||{}}function Xr(f){return f.resolve||{}}function qr(f){return"string"==typeof f.title||null===f.title}function Ji(f){return(0,j.w)(m=>{const l=f(m);return l?(0,s.D)(l).pipe((0,Me.U)(()=>m)):(0,T.of)(m)})}let Xo=(()=>{class f{buildTitle(l){let v,D=l.root;for(;void 0!==D;){var L;v=null!==(L=this.getResolvedTitleForRoute(D))&&void 0!==L?L:v,D=D.children.find(ne=>ne.outlet===Pe)}return v}getResolvedTitleForRoute(l){return l.data[nt]}}return f.\u0275fac=function(l){return new(l||f)},f.\u0275prov=a.Yz7({token:f,factory:function(){return(0,a.f3M)(es)},providedIn:"root"}),f})(),es=(()=>{class f extends Xo{constructor(l){super(),this.title=l}updateTitle(l){const v=this.buildTitle(l);void 0!==v&&this.title.setTitle(v)}}return f.\u0275fac=function(l){return new(l||f)(a.LFG(yt.Dx))},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class ts{}class wa extends class Pr{shouldDetach(m){return!1}store(m,l){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,l){return m.routeConfig===l.routeConfig}}{}const Xi=new a.OlP("",{providedIn:"root",factory:()=>({})}),yo=new a.OlP("ROUTES");let ns=(()=>{class f{constructor(l,v){this.injector=l,this.compiler=v,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,T.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const v=on(l.loadComponent()).pipe((0,_e.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=L}),(0,$e.x)(()=>{this.componentLoaders.delete(l)})),D=new de.c(v,()=>new Te.x).pipe((0,St.x)());return this.componentLoaders.set(l,D),D}loadChildren(l,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,T.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const L=this.loadModuleFactoryOrRoutes(v.loadChildren).pipe((0,Me.U)(ce=>{this.onLoadEndListener&&this.onLoadEndListener(v);let Re,ht,Ft=!1;Array.isArray(ce)?ht=ce:(Re=ce.create(l).injector,ht=Ct(Re.get(yo,[],a.XFs.Self|a.XFs.Optional)));return{routes:ht.map(To),injector:Re}}),(0,$e.x)(()=>{this.childrenLoaders.delete(v)})),ne=new de.c(L,()=>new Te.x).pipe((0,St.x)());return this.childrenLoaders.set(v,ne),ne}loadModuleFactoryOrRoutes(l){return on(l()).pipe((0,be.z)(v=>v instanceof a.YKP||Array.isArray(v)?(0,T.of)(v):(0,s.D)(this.compiler.compileModuleAsync(v))))}}return f.\u0275fac=function(l){return new(l||f)(a.LFG(a.zs3),a.LFG(a.Sil))},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class qi{}class os{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,l){return m}}function Or(f){throw f}function Ar(f,m,l){return m.parse("/")}const ws={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function is(){var f,m;const l=(0,a.f3M)(Ve),v=(0,a.f3M)(Ho),D=(0,a.f3M)($.Ye),L=(0,a.f3M)(a.zs3),ne=(0,a.f3M)(a.Sil),ce=null!==(f=(0,a.f3M)(yo,{optional:!0}))&&void 0!==f?f:[],Re=null!==(m=(0,a.f3M)(Xi,{optional:!0}))&&void 0!==m?m:{},ht=(0,a.f3M)(es),Ft=(0,a.f3M)(Xo,{optional:!0}),Dt=(0,a.f3M)(qi,{optional:!0}),en=(0,a.f3M)(ts,{optional:!0}),wn=new Hn(null,l,v,D,L,ne,Ct(ce));return Dt&&(wn.urlHandlingStrategy=Dt),en&&(wn.routeReuseStrategy=en),wn.titleStrategy=Ft??ht,function bs(f,m){f.errorHandler&&(m.errorHandler=f.errorHandler),f.malformedUriErrorHandler&&(m.malformedUriErrorHandler=f.malformedUriErrorHandler),f.onSameUrlNavigation&&(m.onSameUrlNavigation=f.onSameUrlNavigation),f.paramsInheritanceStrategy&&(m.paramsInheritanceStrategy=f.paramsInheritanceStrategy),f.relativeLinkResolution&&(m.relativeLinkResolution=f.relativeLinkResolution),f.urlUpdateStrategy&&(m.urlUpdateStrategy=f.urlUpdateStrategy),f.canceledNavigationResolution&&(m.canceledNavigationResolution=f.canceledNavigationResolution)}(Re,wn),wn}let Hn=(()=>{class f{constructor(l,v,D,L,ne,ce,Re){this.rootComponentType=l,this.urlSerializer=v,this.rootContexts=D,this.location=L,this.config=Re,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Te.x,this.errorHandler=Or,this.malformedUriErrorHandler=Ar,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,T.of)(void 0),this.urlHandlingStrategy=new os,this.routeReuseStrategy=new wa,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ne.get(ns),this.configLoader.onLoadEndListener=en=>this.triggerEvent(new ds(en)),this.configLoader.onLoadStartListener=en=>this.triggerEvent(new lr(en)),this.ngModule=ne.get(a.h0i),this.console=ne.get(a.c2e);const Dt=ne.get(a.R0b);this.isNgZoneEnabled=Dt instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(Re),this.currentUrlTree=function gn(){return new Oe(new He([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Si(this.currentUrlTree,this.rootComponentType),this.transitions=new Y.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var l;return null===(l=this.location.getState())||void 0===l?void 0:l.\u0275routerPageId}setupNavigations(l){const v=this.events;return l.pipe((0,Fe.h)(D=>0!==D.id),(0,Me.U)(D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,j.w)(D=>{let L=!1,ne=!1;return(0,T.of)(D).pipe((0,_e.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,j.w)(ce=>{const Re=this.browserUrlTree.toString(),ht=!this.navigated||ce.extractedUrl.toString()!==Re||Re!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ht)&&this.urlHandlingStrategy.shouldProcessUrl(ce.rawUrl))return er(ce.source)&&(this.browserUrlTree=ce.extractedUrl),(0,T.of)(ce).pipe((0,j.w)(Dt=>{const en=this.transitions.getValue();return v.next(new io(Dt.id,this.serializeUrl(Dt.extractedUrl),Dt.source,Dt.restoredState)),en!==this.transitions.getValue()?G.E:Promise.resolve(Dt)}),function ln(f,m,l,v){return(0,j.w)(D=>function cn(f,m,l,v,D){return new yn(f,m,l,v,D).apply()}(f,m,l,D.extractedUrl,v).pipe((0,Me.U)(L=>({...D,urlAfterRedirects:L}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,_e.b)(Dt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Dt.urlAfterRedirects},D.urlAfterRedirects=Dt.urlAfterRedirects}),function Ca(f,m,l,v,D,L){return(0,be.z)(ne=>function Gn(f,m,l,v,D,L,ne="emptyOnly",ce="legacy"){return new to(f,m,l,v,D,ne,ce,L).recognize().pipe((0,j.w)(Re=>null===Re?function En(f){return new U.y(m=>m.error(f))}(new _n):(0,T.of)(Re)))}(f,m,l,ne.urlAfterRedirects,v.serialize(ne.urlAfterRedirects),v,D,L).pipe((0,Me.U)(ce=>({...ne,targetSnapshot:ce}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,_e.b)(Dt=>{if(D.targetSnapshot=Dt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Dt.extras.skipLocationChange){const wn=this.urlHandlingStrategy.merge(Dt.urlAfterRedirects,Dt.rawUrl);this.setBrowserUrl(wn,Dt)}this.browserUrlTree=Dt.urlAfterRedirects}const en=new Wn(Dt.id,this.serializeUrl(Dt.extractedUrl),this.serializeUrl(Dt.urlAfterRedirects),Dt.targetSnapshot);v.next(en)}));if(ht&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:en,extractedUrl:wn,source:no,restoredState:Ao,extras:Yo}=ce,yi=new io(en,this.serializeUrl(wn),no,Ao);v.next(yi);const _i=Si(wn,this.rootComponentType).snapshot;return D={...ce,targetSnapshot:_i,urlAfterRedirects:wn,extras:{...Yo,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(D)}return this.rawUrlTree=ce.rawUrl,ce.resolve(null),G.E}),(0,_e.b)(ce=>{const Re=new $o(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot);this.triggerEvent(Re)}),(0,Me.U)(ce=>D={...ce,guards:Ki(ce.targetSnapshot,ce.currentSnapshot,this.rootContexts)}),function hi(f,m){return(0,be.z)(l=>{const{targetSnapshot:v,currentSnapshot:D,guards:{canActivateChecks:L,canDeactivateChecks:ne}}=l;return 0===ne.length&&0===L.length?(0,T.of)({...l,guardsResult:!0}):function xn(f,m,l,v){return(0,s.D)(f).pipe((0,be.z)(D=>function Zr(f,m,l,v,D){const L=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,T.of)(!0);const ne=L.map(ce=>{var Re;const ht=null!==(Re=Zo(m))&&void 0!==Re?Re:D,Ft=Rn(ce,ht);return on(function Vo(f){return f&&rn(f.canDeactivate)}(Ft)?Ft.canDeactivate(f,m,l,v):ht.runInContext(()=>Ft(f,m,l,v))).pipe((0,B.P)())});return(0,T.of)(ne).pipe(di())}(D.component,D.route,l,m,v)),(0,B.P)(D=>!0!==D,!0))}(ne,v,D,f).pipe((0,be.z)(ce=>ce&&function Cr(f){return"boolean"==typeof f}(ce)?function fo(f,m,l,v){return(0,s.D)(m).pipe((0,re.b)(D=>(0,R.z)(function Qo(f,m){return null!==f&&m&&m(new So(f)),(0,T.of)(!0)}(D.route.parent,v),function Zi(f,m){return null!==f&&m&&m(new Yr(f)),(0,T.of)(!0)}(D.route,v),function ms(f,m,l){const v=m[m.length-1],L=m.slice(0,m.length-1).reverse().map(ne=>function Mr(f){const m=f.routeConfig?f.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:f,guards:m}:null}(ne)).filter(ne=>null!==ne).map(ne=>(0,w.P)(()=>{const ce=ne.guards.map(Re=>{var ht;const Ft=null!==(ht=Zo(ne.node))&&void 0!==ht?ht:l,Dt=Rn(Re,Ft);return on(function Dr(f){return f&&rn(f.canActivateChild)}(Dt)?Dt.canActivateChild(v,f):Ft.runInContext(()=>Dt(v,f))).pipe((0,B.P)())});return(0,T.of)(ce).pipe(di())}));return(0,T.of)(L).pipe(di())}(f,D.path,l),function xo(f,m,l){const v=m.routeConfig?m.routeConfig.canActivate:null;if(!v||0===v.length)return(0,T.of)(!0);const D=v.map(L=>(0,w.P)(()=>{var ne;const ce=null!==(ne=Zo(m))&&void 0!==ne?ne:l,Re=Rn(L,ce);return on(function Fn(f){return f&&rn(f.canActivate)}(Re)?Re.canActivate(m,f):ce.runInContext(()=>Re(m,f))).pipe((0,B.P)())}));return(0,T.of)(D).pipe(di())}(f,D.route,l))),(0,B.P)(D=>!0!==D,!0))}(v,L,f,m):(0,T.of)(ce)),(0,Me.U)(ce=>({...l,guardsResult:ce})))})}(this.ngModule.injector,ce=>this.triggerEvent(ce)),(0,_e.b)(ce=>{if(D.guardsResult=ce.guardsResult,ze(ce.guardsResult))throw mr(0,ce.guardsResult);const Re=new Wo(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot,!!ce.guardsResult);this.triggerEvent(Re)}),(0,Fe.h)(ce=>!!ce.guardsResult||(this.restoreHistory(ce),this.cancelNavigationTransition(ce,"",3),!1)),Ji(ce=>{if(ce.guards.canActivateChecks.length)return(0,T.of)(ce).pipe((0,_e.b)(Re=>{const ht=new ri(Re.id,this.serializeUrl(Re.extractedUrl),this.serializeUrl(Re.urlAfterRedirects),Re.targetSnapshot);this.triggerEvent(ht)}),(0,j.w)(Re=>{let ht=!1;return(0,T.of)(Re).pipe(function Da(f,m){return(0,be.z)(l=>{const{targetSnapshot:v,guards:{canActivateChecks:D}}=l;if(!D.length)return(0,T.of)(l);let L=0;return(0,s.D)(D).pipe((0,re.b)(ne=>function Tr(f,m,l,v){const D=f.routeConfig,L=f._resolve;return void 0!==D?.title&&!qr(D)&&(L[nt]=D.title),function Ms(f,m,l,v){const D=function $s(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===D.length)return(0,T.of)({});const L={};return(0,s.D)(D).pipe((0,be.z)(ne=>function xr(f,m,l,v){var D;const L=null!==(D=Zo(m))&&void 0!==D?D:v,ne=Rn(f,L);return on(ne.resolve?ne.resolve(m,l):L.runInContext(()=>ne(m,l)))}(f[ne],m,l,v).pipe((0,B.P)(),(0,_e.b)(ce=>{L[ne]=ce}))),Q(1),(0,Je.h)(L),(0,se.K)(ne=>Gi(ne)?G.E:(0,A._)(ne)))}(L,f,m,v).pipe((0,Me.U)(ne=>(f._resolvedData=ne,f.data=dr(f,l).resolve,D&&qr(D)&&(f.data[nt]=D.title),null)))}(ne.route,v,f,m)),(0,_e.b)(()=>L++),Q(1),(0,be.z)(ne=>L===D.length?(0,T.of)(l):G.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,_e.b)({next:()=>ht=!0,complete:()=>{ht||(this.restoreHistory(Re),this.cancelNavigationTransition(Re,"",2))}}))}),(0,_e.b)(Re=>{const ht=new po(Re.id,this.serializeUrl(Re.extractedUrl),this.serializeUrl(Re.urlAfterRedirects),Re.targetSnapshot);this.triggerEvent(ht)}))}),Ji(ce=>{const Re=ht=>{var Ft;const Dt=[];null!==(Ft=ht.routeConfig)&&void 0!==Ft&&Ft.loadComponent&&!ht.routeConfig._loadedComponent&&Dt.push(this.configLoader.loadComponent(ht.routeConfig).pipe((0,_e.b)(en=>{ht.component=en}),(0,Me.U)(()=>{})));for(const en of ht.children)Dt.push(...Re(en));return Dt};return(0,p.a)(Re(ce.targetSnapshot.root)).pipe((0,Le.d)(),(0,De.q)(1))}),Ji(()=>this.afterPreactivation()),(0,Me.U)(ce=>{const Re=function Go(f,m,l){const v=Fo(f,m._root,l?l._root:void 0);return new Ei(v,m)}(this.routeReuseStrategy,ce.targetSnapshot,ce.currentRouterState);return D={...ce,targetRouterState:Re}}),(0,_e.b)(ce=>{this.currentUrlTree=ce.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ce.urlAfterRedirects,ce.rawUrl),this.routerState=ce.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ce.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ce),this.browserUrlTree=ce.urlAfterRedirects)}),((f,m,l)=>(0,Me.U)(v=>(new Kt(m,v.targetRouterState,v.currentRouterState,l).activate(f),v)))(this.rootContexts,this.routeReuseStrategy,ce=>this.triggerEvent(ce)),(0,_e.b)({next(){L=!0},complete(){L=!0}}),(0,$e.x)(()=>{var ce;L||ne||this.cancelNavigationTransition(D,"",1),(null===(ce=this.currentNavigation)||void 0===ce?void 0:ce.id)===D.id&&(this.currentNavigation=null)}),(0,se.K)(ce=>{if(ne=!0,gr(ce)){ci(ce)||(this.navigated=!0,this.restoreHistory(D,!0));const ht=new Lo(D.id,this.serializeUrl(D.extractedUrl),ce.message,ce.cancellationCode);if(v.next(ht),ci(ce)){const Ft=this.urlHandlingStrategy.merge(ce.url,this.rawUrlTree),Dt={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||er(D.source)};this.scheduleNavigation(Ft,"imperative",null,Dt,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{var Re;this.restoreHistory(D,!0);const ht=new In(D.id,this.serializeUrl(D.extractedUrl),ce,null!==(Re=D.targetSnapshot)&&void 0!==Re?Re:void 0);v.next(ht);try{D.resolve(this.errorHandler(ce))}catch(Ft){D.reject(Ft)}}return G.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const v="popstate"===l.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{var D;const L={replaceUrl:!0},ne=null!==(D=l.state)&&void 0!==D&&D.navigationId?l.state:null;if(ne){const Re={...ne};delete Re.navigationId,delete Re.\u0275routerPageId,0!==Object.keys(Re).length&&(L.state=Re)}const ce=this.parseUrl(l.url);this.scheduleNavigation(ce,v,ne,L)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(To),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(l,v={}){const{relativeTo:D,queryParams:L,fragment:ne,queryParamsHandling:ce,preserveFragment:Re}=v,ht=D||this.routerState.root,Ft=Re?this.currentUrlTree.fragment:ne;let Dt=null;switch(ce){case"merge":Dt={...this.currentUrlTree.queryParams,...L};break;case"preserve":Dt=this.currentUrlTree.queryParams;break;default:Dt=L||null}return null!==Dt&&(Dt=this.removeEmptyProps(Dt)),Qt(ht,this.currentUrlTree,l,Dt,Ft??null)}navigateByUrl(l,v={skipLocationChange:!1}){const D=ze(l)?l:this.parseUrl(l),L=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,v)}navigate(l,v={skipLocationChange:!1}){return function za(f){for(let m=0;m{const L=l[D];return null!=L&&(v[D]=L),v},{})}processNavigations(){this.navigations.subscribe(l=>{var v;this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new mn(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(v=this.titleStrategy)||void 0===v||v.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,v,D,L,ne){if(this.disposed)return Promise.resolve(!1);let ce,Re,ht;ne?(ce=ne.resolve,Re=ne.reject,ht=ne.promise):ht=new Promise((no,Ao)=>{ce=no,Re=Ao});const Ft=++this.navigationId;let Dt;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(D=this.location.getState()),D&&D.\u0275routerPageId)Dt=D.\u0275routerPageId;else if(L.replaceUrl||L.skipLocationChange){var en;Dt=null!==(en=this.browserPageId)&&void 0!==en?en:0}else{var wn;Dt=(null!==(wn=this.browserPageId)&&void 0!==wn?wn:0)+1}else Dt=0;return this.setTransition({id:Ft,targetPageId:Dt,source:v,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:L,resolve:ce,reject:Re,promise:ht,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ht.catch(no=>Promise.reject(no))}setBrowserUrl(l,v){const D=this.urlSerializer.serialize(l),L={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(D)||v.extras.replaceUrl?this.location.replaceState(D,"",L):this.location.go(D,"",L)}restoreHistory(l,v=!1){if("computed"===this.canceledNavigationResolution){var D,L;const ne=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(D=this.currentNavigation)||void 0===D?void 0:D.finalUrl)||0===ne?this.currentUrlTree===(null===(L=this.currentNavigation)||void 0===L?void 0:L.finalUrl)&&0===ne&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ne)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,v,D){const L=new Lo(l.id,this.serializeUrl(l.extractedUrl),v,D);this.triggerEvent(L),l.resolve(!1)}generateNgRouterState(l,v){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:v}:{navigationId:l}}}return f.\u0275fac=function(l){a.$Z()},f.\u0275prov=a.Yz7({token:f,factory:function(){return is()},providedIn:"root"}),f})();function er(f){return"imperative"!==f}let qo=(()=>{class f{constructor(l,v,D,L,ne){this.router=l,this.route=v,this.tabIndexAttribute=D,this.renderer=L,this.el=ne,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new Te.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(l){this._preserveFragment=(0,a.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,a.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,a.D6c)(l)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(l){if(null!=this.tabIndexAttribute)return;const v=this.renderer,D=this.el.nativeElement;null!==l?v.setAttribute(D,"tabindex",l):v.removeAttribute(D,"tabindex")}ngOnChanges(l){this.onChanges.next(this)}set routerLink(l){null!=l?(this.commands=Array.isArray(l)?l:[l],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return f.\u0275fac=function(l){return new(l||f)(a.Y36(Hn),a.Y36(Do),a.$8M("tabindex"),a.Y36(a.Qsj),a.Y36(a.SBq))},f.\u0275dir=a.lG2({type:f,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(l,v){1&l&&a.NdJ("click",function(){return v.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[a.TTD]}),f})(),z=(()=>{class f{constructor(l,v,D){this.router=l,this.route=v,this.locationStrategy=D,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Te.x,this.subscription=l.events.subscribe(L=>{L instanceof mn&&this.updateTargetUrlAndHref()})}set preserveFragment(l){this._preserveFragment=(0,a.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,a.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,a.D6c)(l)}get replaceUrl(){return this._replaceUrl}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,v,D,L,ne){return!!(0!==l||v||D||L||ne||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return f.\u0275fac=function(l){return new(l||f)(a.Y36(Hn),a.Y36(Do),a.Y36($.S$))},f.\u0275dir=a.lG2({type:f,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,v){1&l&&a.NdJ("click",function(L){return v.onClick(L.button,L.ctrlKey,L.shiftKey,L.altKey,L.metaKey)}),2&l&&a.uIk("target",v.target)("href",v.href,a.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[a.TTD]}),f})(),c=(()=>{class f{constructor(l,v,D,L,ne,ce){this.router=l,this.element=v,this.renderer=D,this.cdr=L,this.link=ne,this.linkWithHref=ce,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.vpe,this.routerEventsSubscription=l.events.subscribe(Re=>{Re instanceof mn&&this.update()})}ngAfterContentInit(){(0,T.of)(this.links.changes,this.linksWithHrefs.changes,(0,T.of)(null)).pipe((0,it.J)()).subscribe(l=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var l;null===(l=this.linkInputChangesSubscription)||void 0===l||l.unsubscribe();const v=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,s.D)(v).pipe((0,it.J)()).subscribe(D=>{this.isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(l){const v=Array.isArray(l)?l:l.split(" ");this.classes=v.filter(D=>!!D)}ngOnChanges(l){this.update()}ngOnDestroy(){var l;this.routerEventsSubscription.unsubscribe(),null===(l=this.linkInputChangesSubscription)||void 0===l||l.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const l=this.hasActiveLinks();this.isActive!==l&&(this.isActive=l,this.cdr.markForCheck(),this.classes.forEach(v=>{l?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),l&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(l))})}isLinkActive(l){const v=function d(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return D=>!!D.urlTree&&l.isActive(D.urlTree,v)}hasActiveLinks(){const l=this.isLinkActive(this.router);return this.link&&l(this.link)||this.linkWithHref&&l(this.linkWithHref)||this.links.some(l)||this.linksWithHrefs.some(l)}}return f.\u0275fac=function(l){return new(l||f)(a.Y36(Hn),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.sBO),a.Y36(qo,8),a.Y36(z,8))},f.\u0275dir=a.lG2({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(l,v,D){if(1&l&&(a.Suo(D,qo,5),a.Suo(D,z,5)),2&l){let L;a.iGM(L=a.CRH())&&(v.links=L),a.iGM(L=a.CRH())&&(v.linksWithHrefs=L)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.TTD]}),f})();class y{}let ye=(()=>{class f{constructor(l,v,D,L,ne){this.router=l,this.injector=D,this.preloadingStrategy=L,this.loader=ne}setUpPreloading(){this.subscription=this.router.events.pipe((0,Fe.h)(l=>l instanceof mn),(0,re.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,v){const D=[];for(const Re of v){var L,ne;Re.providers&&!Re._injector&&(Re._injector=(0,a.MMx)(Re.providers,l,`Route: ${Re.path}`));const ht=null!==(L=Re._injector)&&void 0!==L?L:l,Ft=null!==(ne=Re._loadedInjector)&&void 0!==ne?ne:ht;if(Re.loadChildren&&!Re._loadedRoutes&&void 0===Re.canLoad||Re.loadComponent&&!Re._loadedComponent)D.push(this.preloadConfig(ht,Re));else if(Re.children||Re._loadedRoutes){var ce;D.push(this.processRoutes(Ft,null!==(ce=Re.children)&&void 0!==ce?ce:Re._loadedRoutes))}}return(0,s.D)(D).pipe((0,it.J)())}preloadConfig(l,v){return this.preloadingStrategy.preload(v,()=>{let D;D=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(l,v):(0,T.of)(null);const L=D.pipe((0,be.z)(ne=>{var ce;return null===ne?(0,T.of)(void 0):(v._loadedRoutes=ne.routes,v._loadedInjector=ne.injector,this.processRoutes(null!==(ce=ne.injector)&&void 0!==ce?ce:l,ne.routes))}));if(v.loadComponent&&!v._loadedComponent){const ne=this.loader.loadComponent(v);return(0,s.D)([L,ne]).pipe((0,it.J)())}return L})}}return f.\u0275fac=function(l){return new(l||f)(a.LFG(Hn),a.LFG(a.Sil),a.LFG(a.lqb),a.LFG(y),a.LFG(ns))},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const ve=new a.OlP("");let Be=(()=>{class f{constructor(l,v,D={}){this.router=l,this.viewportScroller=v,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(l=>{l instanceof io?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof mn&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof jr&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,v){this.router.triggerEvent(new jr(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return f.\u0275fac=function(l){a.$Z()},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac}),f})();function $t(f,m){return{\u0275kind:f,\u0275providers:m}}function tn(f){return[{provide:yo,multi:!0,useValue:f}]}function Ut(){const f=(0,a.f3M)(a.zs3);return m=>{var l,v;const D=f.get(a.z2F);if(m!==D.components[0])return;const L=f.get(Hn),ne=f.get(zn);1===f.get(Dn)&&L.initialNavigation(),null===(l=f.get(gi,null,a.XFs.Optional))||void 0===l||l.setUpPreloading(),null===(v=f.get(ve,null,a.XFs.Optional))||void 0===v||v.init(),L.resetRootComponentType(D.componentTypes[0]),ne.next(),ne.complete()}}const zn=new a.OlP("",{factory:()=>new Te.x}),Dn=new a.OlP("",{providedIn:"root",factory:()=>1});const gi=new a.OlP("");function vi(f){return $t(0,[{provide:gi,useExisting:ye},{provide:y,useExisting:f}])}const jn=new a.OlP("ROUTER_FORROOT_GUARD"),kr=[$.Ye,{provide:Ve,useClass:_t},{provide:Hn,useFactory:is},Ho,{provide:Do,useFactory:function Tt(f){return f.routerState.root},deps:[Hn]},ns];function Ir(){return new a.PXZ("Router",Hn)}let An=(()=>{class f{constructor(l){}static forRoot(l,v){return{ngModule:f,providers:[kr,[],tn(l),{provide:jn,useFactory:Nt,deps:[[Hn,new a.FiY,new a.tp0]]},{provide:Xi,useValue:v||{}},null!=v&&v.useHash?{provide:$.S$,useClass:$.Do}:{provide:$.S$,useClass:$.b0},{provide:ve,useFactory:()=>{const f=(0,a.f3M)(Hn),m=(0,a.f3M)($.EM),l=(0,a.f3M)(Xi);return l.scrollOffset&&m.setOffset(l.scrollOffset),new Be(f,m,l)}},null!=v&&v.preloadingStrategy?vi(v.preloadingStrategy).\u0275providers:[],{provide:a.PXZ,multi:!0,useFactory:Ir},null!=v&&v.initialNavigation?Ot(v):[],[{provide:Jt,useFactory:Ut},{provide:a.tb,multi:!0,useExisting:Jt}]]}}static forChild(l){return{ngModule:f,providers:[tn(l)]}}}return f.\u0275fac=function(l){return new(l||f)(a.LFG(jn,8))},f.\u0275mod=a.oAB({type:f}),f.\u0275inj=a.cJS({imports:[On]}),f})();function Nt(f){return"guarded"}function Ot(f){return["disabled"===f.initialNavigation?$t(3,[{provide:a.ip1,multi:!0,useFactory:()=>{const m=(0,a.f3M)(Hn);return()=>{m.setUpLocationChangeListener()}}},{provide:Dn,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?$t(2,[{provide:Dn,useValue:0},{provide:a.ip1,multi:!0,deps:[a.zs3],useFactory:m=>{const l=m.get($.V_,Promise.resolve());let v=!1;return()=>l.then(()=>new Promise(L=>{const ne=m.get(Hn),ce=m.get(zn);(function D(L){m.get(Hn).events.pipe((0,Fe.h)(ce=>ce instanceof mn||ce instanceof Lo||ce instanceof In),(0,Me.U)(ce=>ce instanceof mn||ce instanceof Lo&&(0===ce.code||1===ce.code)&&null),(0,Fe.h)(ce=>null!==ce),(0,De.q)(1)).subscribe(()=>{L()})})(()=>{L(!0),v=!0}),ne.afterPreactivation=()=>(L(!0),v||ce.closed?(0,T.of)(void 0):ce),ne.initialNavigation()}))}}]).\u0275providers:[]]}const Jt=new a.OlP("")},41218:(ot,pe,h)=>{h.d(pe,{BJ:()=>v4,BOg:()=>vn,BXH:()=>Ui,ECp:()=>jn,Ej7:()=>Ki,FsU:()=>H6,HT8:()=>B8,Hkd:()=>Ko,Kgj:()=>Ra,LBP:()=>Aa,LJh:()=>Jt,M4u:()=>t4,M8e:()=>Xr,MjI:()=>Me,Mwl:()=>S,NFG:()=>Pn,OYp:()=>Do,Qgp:()=>Ul,RIp:()=>Jr,RU0:()=>cn,RYI:()=>en,Rfq:()=>Qt,SFb:()=>Ws,TSL:()=>ls,U2Q:()=>dn,UKj:()=>oo,UTl:()=>h1,UY$:()=>W1,V65:()=>Ct,VWu:()=>fi,XuQ:()=>ti,Xwh:()=>I4,Z5F:()=>es,_4m:()=>Rt,_ry:()=>C1,bBn:()=>bi,cN2:()=>g4,csm:()=>Is,d2H:()=>v1,d_$:()=>vc,daL:()=>Fr,eFY:()=>Ia,eLU:()=>Wo,fhO:()=>A4,fw2:()=>pl,gvV:()=>N3,iUK:()=>Be,jQl:()=>T1,mTc:()=>ue,np6:()=>Bl,nrZ:()=>Lr,qX0:()=>x1,qgH:()=>Hr,rHg:()=>U1,rMt:()=>Qi,rk5:()=>Wc,sZJ:()=>L1,s_U:()=>F6,ssy:()=>Xo,uIz:()=>yc,uM7:()=>No,ud1:()=>ut,v6v:()=>X1,vEg:()=>br,vkb:()=>Vo,vp7:()=>Z1,w1L:()=>Zl,x0x:()=>ps,yQU:()=>It,zdJ:()=>Pl});const Me={name:"align-left",theme:"outline",icon:''},Rt={name:"arrows-alt",theme:"outline",icon:''},Ct={name:"bars",theme:"outline",icon:''},ue={name:"build",theme:"outline",icon:''},ut={name:"calendar",theme:"outline",icon:''},Qt={name:"check-circle",theme:"fill",icon:''},vn={name:"caret-up",theme:"outline",icon:''},It={name:"check-circle",theme:"outline",icon:''},dn={name:"check",theme:"outline",icon:''},ti={name:"caret-down",theme:"outline",icon:''},oo={name:"clock-circle",theme:"outline",icon:''},Wo={name:"close",theme:"outline",icon:''},bi={name:"caret-up",theme:"fill",icon:''},Do={name:"close-circle",theme:"outline",icon:''},Ko={name:"caret-down",theme:"fill",icon:''},Ui={name:"close-circle",theme:"fill",icon:''},ps={name:"copy",theme:"outline",icon:''},Ki={name:"dashboard",theme:"outline",icon:''},Vo={name:"delete",theme:"outline",icon:''},br={name:"down",theme:"outline",icon:''},Qi={name:"double-right",theme:"outline",icon:''},No={name:"deployment-unit",theme:"outline",icon:''},fi={name:"double-left",theme:"outline",icon:''},S={name:"download",theme:"outline",icon:''},cn={name:"ellipsis",theme:"outline",icon:''},Jr={name:"edit",theme:"outline",icon:''},Xr={name:"exclamation-circle",theme:"fill",icon:''},Xo={name:"exclamation-circle",theme:"outline",icon:''},es={name:"eye",theme:"outline",icon:''},Be={name:"file",theme:"fill",icon:''},jn={name:"file-text",theme:"outline",icon:''},Jt={name:"file",theme:"outline",icon:''},Pn={name:"filter",theme:"fill",icon:''},en={name:"folder",theme:"outline",icon:''},Ws={name:"fullscreen-exit",theme:"outline",icon:''},Wc={name:"fullscreen",theme:"outline",icon:''},Lr={name:"info-circle",theme:"outline",icon:''},h1={name:"info-circle",theme:"fill",icon:''},N3={name:"left",theme:"outline",icon:''},v1={name:"loading",theme:"outline",icon:''},pl={name:"login",theme:"outline",icon:''},C1={name:"menu-unfold",theme:"outline",icon:''},Aa={name:"menu-fold",theme:"outline",icon:''},Fr={name:"minus",theme:"outline",icon:''},Ia={name:"paper-clip",theme:"outline",icon:''},T1={name:"pic-center",theme:"outline",icon:''},x1={name:"play-circle",theme:"outline",icon:''},Pl={name:"plus",theme:"outline",icon:''},L1={name:"question-circle",theme:"outline",icon:''},B8={name:"question-circle",theme:"fill",icon:''},Is={name:"reload",theme:"outline",icon:''},Bl={name:"right",theme:"outline",icon:''},Ul={name:"rollback",theme:"outline",icon:''},Hr={name:"save",theme:"outline",icon:''},Zl={name:"rotate-right",theme:"outline",icon:''},U1={name:"search",theme:"outline",icon:''},W1={name:"rotate-left",theme:"outline",icon:''},Ra={name:"schedule",theme:"outline",icon:''},t4={name:"setting",theme:"outline",icon:''},Z1={name:"shrink",theme:"outline",icon:''},X1={name:"star",theme:"fill",icon:''},g4={name:"swap-right",theme:"outline",icon:''},v4={name:"sync",theme:"outline",icon:''},F6={name:"upload",theme:"outline",icon:''},H6={name:"up",theme:"outline",icon:''},A4={name:"vertical-right",theme:"outline",icon:''},I4={name:"vertical-left",theme:"outline",icon:''},ls={name:"vertical-align-top",theme:"outline",icon:''},vc={name:"zoom-out",theme:"outline",icon:''},yc={name:"zoom-in",theme:"outline",icon:''}},39597:(ot,pe,h)=>{h.d(pe,{L:()=>Ie,r:()=>Se});var a=h(70655),s=h(94650),T=h(77579),Y=h(82722),q=h(32539),p=h(72536),R=h(3187),w=h(40445),P=h(36895),A=h(21102),U=h(66287);function G(oe,me){if(1&oe&&(s.ynx(0),s._UZ(1,"span",6),s.BQk()),2&oe){const Q=s.oxw(2);s.xp6(1),s.Q6J("nzType",Q.nzIconType||Q.inferredIconType)("nzTheme",Q.iconTheme)}}function de(oe,me){if(1&oe&&(s.ynx(0),s._uU(1),s.BQk()),2&oe){const Q=s.oxw(4);s.xp6(1),s.Oqu(Q.nzMessage)}}function Te(oe,me){if(1&oe&&(s.TgZ(0,"span",10),s.YNc(1,de,2,1,"ng-container",11),s.qZA()),2&oe){const Q=s.oxw(3);s.xp6(1),s.Q6J("nzStringTemplateOutlet",Q.nzMessage)}}function $(oe,me){if(1&oe&&(s.ynx(0),s._uU(1),s.BQk()),2&oe){const Q=s.oxw(4);s.xp6(1),s.Oqu(Q.nzDescription)}}function Me(oe,me){if(1&oe&&(s.TgZ(0,"span",12),s.YNc(1,$,2,1,"ng-container",11),s.qZA()),2&oe){const Q=s.oxw(3);s.xp6(1),s.Q6J("nzStringTemplateOutlet",Q.nzDescription)}}function j(oe,me){if(1&oe&&(s.TgZ(0,"div",7),s.YNc(1,Te,2,1,"span",8),s.YNc(2,Me,2,1,"span",9),s.qZA()),2&oe){const Q=s.oxw(2);s.xp6(1),s.Q6J("ngIf",Q.nzMessage),s.xp6(1),s.Q6J("ngIf",Q.nzDescription)}}function De(oe,me){if(1&oe&&(s.ynx(0),s._uU(1),s.BQk()),2&oe){const Q=s.oxw(3);s.xp6(1),s.Oqu(Q.nzAction)}}function xe(oe,me){if(1&oe&&(s.TgZ(0,"div",13),s.YNc(1,De,2,1,"ng-container",11),s.qZA()),2&oe){const Q=s.oxw(2);s.xp6(1),s.Q6J("nzStringTemplateOutlet",Q.nzAction)}}function Fe(oe,me){1&oe&&s._UZ(0,"span",17)}function be(oe,me){if(1&oe&&(s.ynx(0),s.TgZ(1,"span",18),s._uU(2),s.qZA(),s.BQk()),2&oe){const Q=s.oxw(4);s.xp6(2),s.Oqu(Q.nzCloseText)}}function B(oe,me){if(1&oe&&(s.ynx(0),s.YNc(1,be,3,1,"ng-container",11),s.BQk()),2&oe){const Q=s.oxw(3);s.xp6(1),s.Q6J("nzStringTemplateOutlet",Q.nzCloseText)}}function re(oe,me){if(1&oe){const Q=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){s.CHM(Q);const Le=s.oxw(2);return s.KtG(Le.closeAlert())}),s.YNc(1,Fe,1,0,"ng-template",null,15,s.W1O),s.YNc(3,B,2,1,"ng-container",16),s.qZA()}if(2&oe){const Q=s.MAs(2),Ce=s.oxw(2);s.xp6(3),s.Q6J("ngIf",Ce.nzCloseText)("ngIfElse",Q)}}function _e(oe,me){if(1&oe){const Q=s.EpF();s.TgZ(0,"div",1),s.NdJ("@slideAlertMotion.done",function(){s.CHM(Q);const Le=s.oxw();return s.KtG(Le.onFadeAnimationDone())}),s.YNc(1,G,2,2,"ng-container",2),s.YNc(2,j,3,2,"div",3),s.YNc(3,xe,2,1,"div",4),s.YNc(4,re,4,2,"button",5),s.qZA()}if(2&oe){const Q=s.oxw();s.ekj("ant-alert-rtl","rtl"===Q.dir)("ant-alert-success","success"===Q.nzType)("ant-alert-info","info"===Q.nzType)("ant-alert-warning","warning"===Q.nzType)("ant-alert-error","error"===Q.nzType)("ant-alert-no-icon",!Q.nzShowIcon)("ant-alert-banner",Q.nzBanner)("ant-alert-closable",Q.nzCloseable)("ant-alert-with-description",!!Q.nzDescription),s.Q6J("@.disabled",Q.nzNoAnimation)("@slideAlertMotion",void 0),s.xp6(1),s.Q6J("ngIf",Q.nzShowIcon),s.xp6(1),s.Q6J("ngIf",Q.nzMessage||Q.nzDescription),s.xp6(1),s.Q6J("ngIf",Q.nzAction),s.xp6(1),s.Q6J("ngIf",Q.nzCloseable||Q.nzCloseText)}}let Se=(()=>{class oe{constructor(Q,Ce,Le){this.nzConfigService=Q,this.cdr=Ce,this.directionality=Le,this._nzModuleName="alert",this.nzAction=null,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzOnClose=new s.vpe,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new T.x,this.nzConfigService.getConfigChangeEventForComponent("alert").pipe((0,Y.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var Q;null===(Q=this.directionality.change)||void 0===Q||Q.pipe((0,Y.R)(this.destroy$)).subscribe(Ce=>{this.dir=Ce,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(Q){const{nzShowIcon:Ce,nzDescription:Le,nzType:Ue,nzBanner:Ge}=Q;if(Ce&&(this.isShowIconSet=!0),Ue)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}Le&&(this.iconTheme=this.nzDescription?"outline":"fill"),Ge&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(Q){return new(Q||oe)(s.Y36(p.jY),s.Y36(s.sBO),s.Y36(w.Is,8))},oe.\u0275cmp=s.Xpm({type:oe,selectors:[["nz-alert"]],inputs:{nzAction:"nzAction",nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[s.TTD],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],[4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["class","ant-alert-action",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],["nz-icon","",1,"ant-alert-icon",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[4,"nzStringTemplateOutlet"],[1,"ant-alert-description"],[1,"ant-alert-action"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],[4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(Q,Ce){1&Q&&s.YNc(0,_e,5,24,"div",0),2&Q&&s.Q6J("ngIf",!Ce.closed)},dependencies:[P.O5,A.Ls,U.f],encapsulation:2,data:{animation:[q.Rq]},changeDetection:0}),(0,a.gn)([(0,p.oS)(),(0,R.yF)()],oe.prototype,"nzCloseable",void 0),(0,a.gn)([(0,p.oS)(),(0,R.yF)()],oe.prototype,"nzShowIcon",void 0),(0,a.gn)([(0,R.yF)()],oe.prototype,"nzBanner",void 0),(0,a.gn)([(0,R.yF)()],oe.prototype,"nzNoAnimation",void 0),oe})(),Ie=(()=>{class oe{}return oe.\u0275fac=function(Q){return new(Q||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({imports:[w.vT,P.ez,A.PV,U.T]}),oe})()},70048:(ot,pe,h)=>{h.d(pe,{mS:()=>me,x7:()=>Ie});var a=h(70655),s=h(94650),T=h(77579),Y=h(82722),q=h(32539),p=h(72536),R=h(3187),w=h(40445),P=h(84903),A=h(36895),U=h(66287),G=h(49643);function de(Q,Ce){if(1&Q&&(s.TgZ(0,"p",6),s._uU(1),s.qZA()),2&Q){const Le=Ce.$implicit,Ue=s.oxw(2).index,Ge=s.oxw(2);s.ekj("current",Le===Ge.countArray[Ue]),s.xp6(1),s.hij(" ",Le," ")}}function Te(Q,Ce){if(1&Q&&(s.ynx(0),s.YNc(1,de,2,3,"p",5),s.BQk()),2&Q){const Le=s.oxw(3);s.xp6(1),s.Q6J("ngForOf",Le.countSingleArray)}}function $(Q,Ce){if(1&Q&&(s.TgZ(0,"span",3),s.YNc(1,Te,2,1,"ng-container",4),s.qZA()),2&Q){const Le=Ce.index,Ue=s.oxw(2);s.Udp("transform","translateY("+100*-Ue.countArray[Le]+"%)"),s.Q6J("nzNoAnimation",Ue.noAnimation),s.xp6(1),s.Q6J("ngIf",!Ue.nzDot&&void 0!==Ue.countArray[Le])}}function Me(Q,Ce){if(1&Q&&(s.ynx(0),s.YNc(1,$,2,4,"span",2),s.BQk()),2&Q){const Le=s.oxw();s.xp6(1),s.Q6J("ngForOf",Le.maxNumberArray)}}function j(Q,Ce){if(1&Q&&s._uU(0),2&Q){const Le=s.oxw();s.hij("",Le.nzOverflowCount,"+")}}function De(Q,Ce){if(1&Q&&(s.ynx(0),s._uU(1),s.BQk()),2&Q){const Le=s.oxw(2);s.xp6(1),s.Oqu(Le.nzText)}}function xe(Q,Ce){if(1&Q&&(s.ynx(0),s._UZ(1,"span",2),s.TgZ(2,"span",3),s.YNc(3,De,2,1,"ng-container",1),s.qZA(),s.BQk()),2&Q){const Le=s.oxw();s.xp6(1),s.Gre("ant-badge-status-dot ant-badge-status-",Le.nzStatus||Le.presetColor,""),s.Udp("background",!Le.presetColor&&Le.nzColor),s.Q6J("ngStyle",Le.nzStyle),s.xp6(2),s.Q6J("nzStringTemplateOutlet",Le.nzText)}}function Fe(Q,Ce){if(1&Q&&s._UZ(0,"nz-badge-sup",5),2&Q){const Le=s.oxw(2);s.Q6J("nzOffset",Le.nzOffset)("nzSize",Le.nzSize)("nzTitle",Le.nzTitle)("nzStyle",Le.nzStyle)("nzDot",Le.nzDot)("nzOverflowCount",Le.nzOverflowCount)("disableAnimation",!!(Le.nzStandalone||Le.nzStatus||Le.nzColor||null!=Le.noAnimation&&Le.noAnimation.nzNoAnimation))("nzCount",Le.nzCount)("noAnimation",!(null==Le.noAnimation||!Le.noAnimation.nzNoAnimation))}}function be(Q,Ce){if(1&Q&&(s.ynx(0),s.YNc(1,Fe,1,9,"nz-badge-sup",4),s.BQk()),2&Q){const Le=s.oxw();s.xp6(1),s.Q6J("ngIf",Le.showSup)}}const B=["*"],_e=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let se=(()=>{class Q{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.nzSize="default",this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(Le){const{nzOverflowCount:Ue,nzCount:Ge}=Le;Ge&&"number"==typeof Ge.currentValue&&(this.count=Math.max(0,Ge.currentValue),this.countArray=this.count.toString().split("").map(gt=>+gt)),Ue&&this.generateMaxNumberArray()}}return Q.\u0275fac=function(Le){return new(Le||Q)},Q.\u0275cmp=s.Xpm({type:Q,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(Le,Ue){2&Le&&(s.uIk("title",null===Ue.nzTitle?"":Ue.nzTitle||Ue.nzCount),s.d8E("@.disabled",Ue.disableAnimation)("@zoomBadgeMotion",void 0),s.Akn(Ue.nzStyle),s.Udp("right",Ue.nzOffset&&Ue.nzOffset[0]?-Ue.nzOffset[0]:null,"px")("margin-top",Ue.nzOffset&&Ue.nzOffset[1]?Ue.nzOffset[1]:null,"px"),s.ekj("ant-badge-count",!Ue.nzDot)("ant-badge-count-sm","small"===Ue.nzSize)("ant-badge-dot",Ue.nzDot)("ant-badge-multiple-words",Ue.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation",nzSize:"nzSize"},exportAs:["nzBadgeSup"],features:[s.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(Le,Ue){if(1&Le&&(s.YNc(0,Me,2,1,"ng-container",0),s.YNc(1,j,1,1,"ng-template",null,1,s.W1O)),2&Le){const Ge=s.MAs(2);s.Q6J("ngIf",Ue.count<=Ue.nzOverflowCount)("ngIfElse",Ge)}},dependencies:[A.sg,A.O5,P.P],encapsulation:2,data:{animation:[q.Ev]},changeDetection:0}),Q})(),Ie=(()=>{class Q{constructor(Le,Ue,Ge,gt,Je,$e){this.nzConfigService=Le,this.renderer=Ue,this.cdr=Ge,this.elementRef=gt,this.directionality=Je,this.noAnimation=$e,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new T.x,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.nzSize="default"}ngOnInit(){var Le;null===(Le=this.directionality.change)||void 0===Le||Le.pipe((0,Y.R)(this.destroy$)).subscribe(Ue=>{this.dir=Ue,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(Le){const{nzColor:Ue,nzShowDot:Ge,nzDot:gt,nzCount:Je,nzShowZero:$e}=Le;Ue&&(this.presetColor=this.nzColor&&-1!==_e.indexOf(this.nzColor)?this.nzColor:null),(Ge||gt||Je||$e)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Q.\u0275fac=function(Le){return new(Le||Q)(s.Y36(p.jY),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(w.Is,8),s.Y36(P.P,9))},Q.\u0275cmp=s.Xpm({type:Q,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(Le,Ue){2&Le&&s.ekj("ant-badge-status",Ue.nzStatus)("ant-badge-not-a-wrapper",!!(Ue.nzStandalone||Ue.nzStatus||Ue.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[s.TTD],ngContentSelectors:B,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(Le,Ue){1&Le&&(s.F$t(),s.YNc(0,xe,4,7,"ng-container",0),s.Hsn(1),s.YNc(2,be,2,1,"ng-container",1)),2&Le&&(s.Q6J("ngIf",Ue.nzStatus||Ue.nzColor),s.xp6(2),s.Q6J("nzStringTemplateOutlet",Ue.nzCount))},dependencies:[A.O5,A.PC,U.f,se],encapsulation:2,data:{animation:[q.Ev]},changeDetection:0}),(0,a.gn)([(0,R.yF)()],Q.prototype,"nzShowZero",void 0),(0,a.gn)([(0,R.yF)()],Q.prototype,"nzShowDot",void 0),(0,a.gn)([(0,R.yF)()],Q.prototype,"nzStandalone",void 0),(0,a.gn)([(0,R.yF)()],Q.prototype,"nzDot",void 0),(0,a.gn)([(0,p.oS)()],Q.prototype,"nzOverflowCount",void 0),(0,a.gn)([(0,p.oS)()],Q.prototype,"nzColor",void 0),Q})(),me=(()=>{class Q{}return Q.\u0275fac=function(Le){return new(Le||Q)},Q.\u0275mod=s.oAB({type:Q}),Q.\u0275inj=s.cJS({imports:[w.vT,A.ez,G.Q8,U.T,P.g]}),Q})()},32539:(ot,pe,h)=>{h.d(pe,{$C:()=>Te,Ev:()=>$,J_:()=>Y,LU:()=>P,Rq:()=>de,YK:()=>w,c8:()=>R,mF:()=>G});var a=h(37340);let s=(()=>{class j{}return j.SLOW="0.3s",j.BASE="0.2s",j.FAST="0.1s",j})(),T=(()=>{class j{}return j.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",j.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",j.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",j.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",j.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",j.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",j.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",j.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",j.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",j.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",j.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",j.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",j.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",j.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",j})();const Y=(0,a.X$)("collapseMotion",[(0,a.SB)("expanded",(0,a.oB)({height:"*"})),(0,a.SB)("collapsed",(0,a.oB)({height:0,overflow:"hidden"})),(0,a.SB)("hidden",(0,a.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,a.eR)("expanded => collapsed",(0,a.jt)(`150ms ${T.EASE_IN_OUT}`)),(0,a.eR)("expanded => hidden",(0,a.jt)(`150ms ${T.EASE_IN_OUT}`)),(0,a.eR)("collapsed => expanded",(0,a.jt)(`150ms ${T.EASE_IN_OUT}`)),(0,a.eR)("hidden => expanded",(0,a.jt)(`150ms ${T.EASE_IN_OUT}`))]),R=((0,a.X$)("treeCollapseMotion",[(0,a.eR)("* => *",[(0,a.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,a.oB)({overflow:"hidden"}),(0,a.EY)(0,[(0,a.jt)(`150ms ${T.EASE_IN_OUT}`,(0,a.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,a.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,a.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,a.EY)(0,[(0,a.jt)(`150ms ${T.EASE_IN_OUT}`,(0,a.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),(0,a.X$)("fadeMotion",[(0,a.eR)(":enter",[(0,a.oB)({opacity:0}),(0,a.jt)(`${s.BASE}`,(0,a.oB)({opacity:1}))]),(0,a.eR)(":leave",[(0,a.oB)({opacity:1}),(0,a.jt)(`${s.BASE}`,(0,a.oB)({opacity:0}))])]),(0,a.X$)("helpMotion",[(0,a.eR)(":enter",[(0,a.oB)({opacity:0,transform:"translateY(-5px)"}),(0,a.jt)(`${s.SLOW} ${T.EASE_IN_OUT}`,(0,a.oB)({opacity:1,transform:"translateY(0)"}))]),(0,a.eR)(":leave",[(0,a.oB)({opacity:1,transform:"translateY(0)"}),(0,a.jt)(`${s.SLOW} ${T.EASE_IN_OUT}`,(0,a.oB)({opacity:0,transform:"translateY(-5px)"}))])])),w=(0,a.X$)("moveUpMotion",[(0,a.eR)("* => enter",[(0,a.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,a.jt)(`${s.BASE}`,(0,a.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,a.eR)("* => leave",[(0,a.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,a.jt)(`${s.BASE}`,(0,a.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),P=(0,a.X$)("notificationMotion",[(0,a.SB)("enterRight",(0,a.oB)({opacity:1,transform:"translateX(0)"})),(0,a.eR)("* => enterRight",[(0,a.oB)({opacity:0,transform:"translateX(5%)"}),(0,a.jt)("100ms linear")]),(0,a.SB)("enterLeft",(0,a.oB)({opacity:1,transform:"translateX(0)"})),(0,a.eR)("* => enterLeft",[(0,a.oB)({opacity:0,transform:"translateX(-5%)"}),(0,a.jt)("100ms linear")]),(0,a.SB)("enterTop",(0,a.oB)({opacity:1,transform:"translateY(0)"})),(0,a.eR)("* => enterTop",[(0,a.oB)({opacity:0,transform:"translateY(-5%)"}),(0,a.jt)("100ms linear")]),(0,a.SB)("enterBottom",(0,a.oB)({opacity:1,transform:"translateY(0)"})),(0,a.eR)("* => enterBottom",[(0,a.oB)({opacity:0,transform:"translateY(5%)"}),(0,a.jt)("100ms linear")]),(0,a.SB)("leave",(0,a.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,a.eR)("* => leave",[(0,a.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,a.jt)("100ms linear")])]),A=`${s.BASE} ${T.EASE_OUT_QUINT}`,U=`${s.BASE} ${T.EASE_IN_QUINT}`,G=(0,a.X$)("slideMotion",[(0,a.SB)("void",(0,a.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,a.SB)("enter",(0,a.oB)({opacity:1,transform:"scaleY(1)"})),(0,a.eR)("void => *",[(0,a.jt)(A)]),(0,a.eR)("* => void",[(0,a.jt)(U)])]),de=(0,a.X$)("slideAlertMotion",[(0,a.eR)(":leave",[(0,a.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,a.jt)(`${s.SLOW} ${T.EASE_IN_OUT_CIRC}`,(0,a.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Te=(0,a.X$)("zoomBigMotion",[(0,a.eR)("void => active",[(0,a.oB)({opacity:0,transform:"scale(0.8)"}),(0,a.jt)(`${s.BASE} ${T.EASE_OUT_CIRC}`,(0,a.oB)({opacity:1,transform:"scale(1)"}))]),(0,a.eR)("active => void",[(0,a.oB)({opacity:1,transform:"scale(1)"}),(0,a.jt)(`${s.BASE} ${T.EASE_IN_OUT_CIRC}`,(0,a.oB)({opacity:0,transform:"scale(0.8)"}))])]),$=(0,a.X$)("zoomBadgeMotion",[(0,a.eR)(":enter",[(0,a.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,a.jt)(`${s.SLOW} ${T.EASE_OUT_BACK}`,(0,a.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,a.eR)(":leave",[(0,a.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,a.jt)(`${s.SLOW} ${T.EASE_IN_BACK}`,(0,a.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);(0,a.X$)("thumbMotion",[(0,a.SB)("from",(0,a.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,a.SB)("to",(0,a.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,a.eR)("from => to",(0,a.jt)(`300ms ${T.EASE_IN_OUT}`))])},33414:(ot,pe,h)=>{h.d(pe,{Bh:()=>T,M8:()=>p,R_:()=>be,o2:()=>q,uf:()=>Y});var a=h(98809),s=h(47952);const T=["success","processing","error","default","warning"],Y=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function q(B){return-1!==Y.indexOf(B)}function p(B){return-1!==T.indexOf(B)}const Te=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function $({r:B,g:re,b:_e}){const se=(0,a.py)(B,re,_e);return{h:360*se.h,s:se.s,v:se.v}}function Me({r:B,g:re,b:_e}){return`#${(0,a.vq)(B,re,_e,!1)}`}function De(B,re,_e){let se;return se=Math.round(B.h)>=60&&Math.round(B.h)<=240?_e?Math.round(B.h)-2*re:Math.round(B.h)+2*re:_e?Math.round(B.h)+2*re:Math.round(B.h)-2*re,se<0?se+=360:se>=360&&(se-=360),se}function xe(B,re,_e){if(0===B.h&&0===B.s)return B.s;let se;return se=_e?B.s-.16*re:4===re?B.s+.16:B.s+.05*re,se>1&&(se=1),_e&&5===re&&se>.1&&(se=.1),se<.06&&(se=.06),Number(se.toFixed(2))}function Fe(B,re,_e){let se;return se=_e?B.v+.05*re:B.v-.15*re,se>1&&(se=1),Number(se.toFixed(2))}function be(B,re={}){const _e=[],se=(0,s.uA)(B);for(let Se=5;Se>0;Se-=1){const Ie=$(se),oe=Me((0,s.uA)({h:De(Ie,Se,!0),s:xe(Ie,Se,!0),v:Fe(Ie,Se,!0)}));_e.push(oe)}_e.push(Me(se));for(let Se=1;Se<=4;Se+=1){const Ie=$(se),oe=Me((0,s.uA)({h:De(Ie,Se),s:xe(Ie,Se),v:Fe(Ie,Se)}));_e.push(oe)}return"dark"===re.theme?Te.map(({index:Se,opacity:Ie})=>Me(function j(B,re,_e){const se=_e/100;return{r:(re.r-B.r)*se+B.r,g:(re.g-B.g)*se+B.g,b:(re.b-B.b)*se+B.b}}((0,s.uA)(re.backgroundColor||"#141414"),(0,s.uA)(_e[Se]),100*Ie))):_e}},72536:(ot,pe,h)=>{h.d(pe,{d_:()=>P,jY:()=>$,oS:()=>Me});var a=h(94650),s=h(77579),T=h(39300),Y=h(69718),q=h(45192),p=h(33414),R=h(88932),w=h(3187);const P=new a.OlP("nz-config"),A=`-ant-${Date.now()}-${Math.random()}`;function G(j,De){const xe=function U(j,De){const xe={},Fe=(re,_e)=>{let se=re.clone();return se=_e?.(se)||se,se.toRgbString()},be=(re,_e)=>{const se=new q.C(re),Se=(0,p.R_)(se.toRgbString());xe[`${_e}-color`]=Fe(se),xe[`${_e}-color-disabled`]=Se[1],xe[`${_e}-color-hover`]=Se[4],xe[`${_e}-color-active`]=Se[7],xe[`${_e}-color-outline`]=se.clone().setAlpha(.2).toRgbString(),xe[`${_e}-color-deprecated-bg`]=Se[1],xe[`${_e}-color-deprecated-border`]=Se[3]};if(De.primaryColor){be(De.primaryColor,"primary");const re=new q.C(De.primaryColor),_e=(0,p.R_)(re.toRgbString());_e.forEach((Se,Ie)=>{xe[`primary-${Ie+1}`]=Se}),xe["primary-color-deprecated-l-35"]=Fe(re,Se=>Se.lighten(35)),xe["primary-color-deprecated-l-20"]=Fe(re,Se=>Se.lighten(20)),xe["primary-color-deprecated-t-20"]=Fe(re,Se=>Se.tint(20)),xe["primary-color-deprecated-t-50"]=Fe(re,Se=>Se.tint(50)),xe["primary-color-deprecated-f-12"]=Fe(re,Se=>Se.setAlpha(.12*Se.getAlpha()));const se=new q.C(_e[0]);xe["primary-color-active-deprecated-f-30"]=Fe(se,Se=>Se.setAlpha(.3*Se.getAlpha())),xe["primary-color-active-deprecated-d-02"]=Fe(se,Se=>Se.darken(2))}return De.successColor&&be(De.successColor,"success"),De.warningColor&&be(De.warningColor,"warning"),De.errorColor&&be(De.errorColor,"error"),De.infoColor&&be(De.infoColor,"info"),`\n  :root {\n    ${Object.keys(xe).map(re=>`--${j}-${re}: ${xe[re]};`).join("\n")}\n  }\n  `.trim()}(j,De);(0,w.J8)()?(0,w.hq)(xe,`${A}-dynamic-theme`):(0,R.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const de=function(j){return void 0!==j};let $=(()=>{class j{constructor(xe){var Fe;this.configUpdated$=new s.x,this.config=xe||{},this.config.theme&&G((null===(Fe=this.getConfig().prefixCls)||void 0===Fe?void 0:Fe.prefixCls)||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(xe){return this.config[xe]}getConfigChangeEventForComponent(xe){return this.configUpdated$.pipe((0,T.h)(Fe=>Fe===xe),(0,Y.h)(void 0))}set(xe,Fe){var be;this.config[xe]={...this.config[xe],...Fe},"theme"===xe&&this.config.theme&&G((null===(be=this.getConfig().prefixCls)||void 0===be?void 0:be.prefixCls)||"ant",this.config.theme),this.configUpdated$.next(xe)}}return j.\u0275fac=function(xe){return new(xe||j)(a.LFG(P,8))},j.\u0275prov=a.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();function Me(){return function(De,xe,Fe){const be=`$$__zorroConfigDecorator__${xe}`;return Object.defineProperty(De,be,{configurable:!0,writable:!0,enumerable:!1}),{get(){var B,re;const _e=null!=Fe&&Fe.get?Fe.get.bind(this)():this[be],se=((null===(B=this.propertyAssignCounter)||void 0===B?void 0:B[xe])||0)>1,Se=null===(re=this.nzConfigService.getConfigForComponent(this._nzModuleName))||void 0===re?void 0:re[xe];return se&&de(_e)?_e:de(Se)?Se:_e},set(B){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[xe]=(this.propertyAssignCounter[xe]||0)+1,null!=Fe&&Fe.set?Fe.set.bind(this)(B):this[be]=B},configurable:!0,enumerable:!0}}}},20153:(ot,pe,h)=>{h.d(pe,{N:()=>a});const a={isTestMode:!1}},88932:(ot,pe,h)=>{h.d(pe,{Bq:()=>Y,ZK:()=>R});var a=h(94650),s=h(20153);const T={},Y="[NG-ZORRO]:";const R=(...A)=>function p(A,...U){(s.N.isTestMode||(0,a.X6Q)()&&function q(...A){const U=A.reduce((G,de)=>G+de.toString(),"");return!T[U]&&(T[U]=!0,!0)}(...U))&&A(...U)}((...U)=>console.warn(Y,...U),...A)},84903:(ot,pe,h)=>{h.d(pe,{P:()=>R,g:()=>w});var a=h(36895),s=h(94650),T=h(70655),Y=h(21281),q=h(3187);const p="nz-animate-disabled";let R=(()=>{class P{constructor(U,G,de){this.element=U,this.renderer=G,this.animationType=de,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const U=(0,Y.fI)(this.element);!U||(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(U,p):this.renderer.removeClass(U,p))}}return P.\u0275fac=function(U){return new(U||P)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.QbO,8))},P.\u0275dir=s.lG2({type:P,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[s.TTD]}),(0,T.gn)([(0,q.yF)()],P.prototype,"nzNoAnimation",void 0),P})(),w=(()=>{class P{}return P.\u0275fac=function(U){return new(U||P)},P.\u0275mod=s.oAB({type:P}),P.\u0275inj=s.cJS({imports:[a.ez]}),P})()},66287:(ot,pe,h)=>{h.d(pe,{T:()=>q,f:()=>T});var a=h(36895),s=h(94650);let T=(()=>{class p{constructor(w,P){this.viewContainer=w,this.templateRef=P,this.embeddedViewRef=null,this.context=new Y,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(w,P){return!0}recreateView(){this.viewContainer.clear();const w=this.nzStringTemplateOutlet instanceof s.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(w?this.nzStringTemplateOutlet:this.templateRef,w?this.nzStringTemplateOutletContext:this.context)}updateContext(){const P=this.nzStringTemplateOutlet instanceof s.Rgc?this.nzStringTemplateOutletContext:this.context,A=this.embeddedViewRef.context;if(P)for(const U of Object.keys(P))A[U]=P[U]}ngOnChanges(w){const{nzStringTemplateOutletContext:P,nzStringTemplateOutlet:A}=w;A&&(this.context.$implicit=A.currentValue),(()=>{let de=!1;if(A)if(A.firstChange)de=!0;else{const j=A.currentValue instanceof s.Rgc;de=A.previousValue instanceof s.Rgc||j}return P&&(Me=>{const j=Object.keys(Me.previousValue||{}),De=Object.keys(Me.currentValue||{});if(j.length===De.length){for(const xe of De)if(-1===j.indexOf(xe))return!0;return!1}return!0})(P)||de})()?this.recreateView():this.updateContext()}}return p.\u0275fac=function(w){return new(w||p)(s.Y36(s.s_b),s.Y36(s.Rgc))},p.\u0275dir=s.lG2({type:p,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[s.TTD]}),p})();class Y{}let q=(()=>{class p{}return p.\u0275fac=function(w){return new(w||p)},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({imports:[a.ez]}),p})()},51691:(ot,pe,h)=>{h.d(pe,{Ek:()=>w,d_:()=>G,e4:()=>Me,hQ:()=>$,yW:()=>R});var a=h(70655),s=h(98184),T=h(94650),Y=h(82722),q=h(33303),p=h(3187);const R={top:new s.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new s.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new s.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new s.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new s.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new s.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new s.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new s.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new s.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new s.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new s.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new s.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new s.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new s.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},w=[R.top,R.right,R.bottom,R.left];function G(j){for(const De in R)if(j.connectionPair.originX===R[De].originX&&j.connectionPair.originY===R[De].originY&&j.connectionPair.overlayX===R[De].overlayX&&j.connectionPair.overlayY===R[De].overlayY)return De}new s.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new s.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new s.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new s.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new s.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new s.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new s.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let $=(()=>{class j{constructor(xe,Fe){this.cdkConnectedOverlay=xe,this.nzDestroyService=Fe,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,Y.R)(this.nzDestroyService)).subscribe(be=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(be)})}updateArrowPosition(xe){const Fe=this.getOriginRect(),be=G(xe);let B=0,re=0;"topLeft"===be||"bottomLeft"===be?B=Fe.width/2-14:"topRight"===be||"bottomRight"===be?B=-(Fe.width/2-14):"leftTop"===be||"rightTop"===be?re=Fe.height/2-10:("leftBottom"===be||"rightBottom"===be)&&(re=-(Fe.height/2-10)),(this.cdkConnectedOverlay.offsetX!==B||this.cdkConnectedOverlay.offsetY!==re)&&(this.cdkConnectedOverlay.offsetY=re,this.cdkConnectedOverlay.offsetX=B,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof s.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const xe=this.getFlexibleConnectedPositionStrategyOrigin();if(xe instanceof T.SBq)return xe.nativeElement.getBoundingClientRect();if(xe instanceof Element)return xe.getBoundingClientRect();const Fe=xe.width||0,be=xe.height||0;return{top:xe.y,bottom:xe.y+be,left:xe.x,right:xe.x+Fe,height:be,width:Fe}}}return j.\u0275fac=function(xe){return new(xe||j)(T.Y36(s.pI),T.Y36(q.kn))},j.\u0275dir=T.lG2({type:j,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[T._Bn([q.kn])]}),(0,a.gn)([(0,p.yF)()],j.prototype,"nzArrowPointAtCenter",void 0),j})(),Me=(()=>{class j{}return j.\u0275fac=function(xe){return new(xe||j)},j.\u0275mod=T.oAB({type:j}),j.\u0275inj=T.cJS({}),j})()},33303:(ot,pe,h)=>{h.d(pe,{G_:()=>xe,KV:()=>Te,WV:()=>Fe,kn:()=>re,ow:()=>be,r3:()=>B,rI:()=>G});var a=h(94650),s=h(77579),T=h(23601),Y=h(28746),q=h(82722),p=h(54004),R=h(68675),w=h(71884),P=h(20153),A=h(62289);const U=()=>{};let G=(()=>{class se{constructor(Ie,oe){this.ngZone=Ie,this.rendererFactory2=oe,this.resizeSource$=new s.x,this.listeners=0,this.disposeHandle=U,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=U}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,T.e)(16),(0,Y.x)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=U)}}return se.\u0275fac=function(Ie){return new(Ie||se)(a.LFG(a.R0b),a.LFG(a.FYo))},se.\u0275prov=a.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const de=new Map;let Te=(()=>{class se{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return P.N.isTestMode?de:this._singletonRegistry}registerSingletonWithKey(Ie,oe){const me=this.singletonRegistry.has(Ie),Q=me?this.singletonRegistry.get(Ie):this.withNewTarget(oe);me||this.singletonRegistry.set(Ie,Q)}getSingletonWithKey(Ie){return this.singletonRegistry.has(Ie)?this.singletonRegistry.get(Ie).target:null}withNewTarget(Ie){return{target:Ie}}}return se.\u0275fac=function(Ie){return new(Ie||se)},se.\u0275prov=a.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();var xe=(()=>{return(se=xe||(xe={})).xxl="xxl",se.xl="xl",se.lg="lg",se.md="md",se.sm="sm",se.xs="xs",xe;var se})();const Fe={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},be={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};let B=(()=>{class se{constructor(Ie,oe){this.resizeService=Ie,this.mediaMatcher=oe,this.destroy$=new s.x,this.resizeService.subscribe().pipe((0,q.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(Ie,oe){if(oe){const me=()=>this.matchMedia(Ie,!0);return this.resizeService.subscribe().pipe((0,p.U)(me),(0,R.O)(me()),(0,w.x)((Q,Ce)=>Q[0]===Ce[0]),(0,p.U)(Q=>Q[1]))}{const me=()=>this.matchMedia(Ie);return this.resizeService.subscribe().pipe((0,p.U)(me),(0,R.O)(me()),(0,w.x)())}}matchMedia(Ie,oe){let me=xe.md;const Q={};return Object.keys(Ie).map(Ce=>{const Le=Ce,Ue=this.mediaMatcher.matchMedia(Fe[Le]).matches;Q[Ce]=Ue,Ue&&(me=Le)}),oe?[me,Q]:me}}return se.\u0275fac=function(Ie){return new(Ie||se)(a.LFG(G),a.LFG(A.vx))},se.\u0275prov=a.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),re=(()=>{class se extends s.x{ngOnDestroy(){this.next(),this.complete()}}return se.\u0275fac=function(){let Se;return function(oe){return(Se||(Se=a.n5z(se)))(oe||se)}}(),se.\u0275prov=a.Yz7({token:se,factory:se.\u0275fac}),se})()},3187:(ot,pe,h)=>{h.d(pe,{D8:()=>I,DX:()=>U,He:()=>j,J8:()=>Oe,OY:()=>Ge,Rn:()=>re,Sm:()=>it,WX:()=>De,YM:()=>St,Zu:()=>le,cO:()=>P,hq:()=>fe,jJ:()=>_e,kK:()=>G,lN:()=>ge,ov:()=>k,p8:()=>gt,pW:()=>se,sw:()=>Me,tI:()=>Ue,ui:()=>$e,xV:()=>Je,yF:()=>be});var a=h(21281),s=h(88932),T=h(77579),Y=h(45191),q=h(32076),p=h(39646),R=h(95698);function P(ue,Ne){if(!ue||!Ne||ue.length!==Ne.length)return!1;const ie=ue.length;for(let ae=0;ae"u"||null===ue}function Me(ue){return(0,a.Ig)(ue)}function j(ue,Ne=0){return(0,a.t6)(ue)?Number(ue):Ne}function De(ue){return(0,a.HM)(ue)}function Fe(ue,Ne){return function ie(ae,X,we){const Ae=`$$__zorroPropDecorator__${X}`;return Object.prototype.hasOwnProperty.call(ae,Ae)&&(0,s.ZK)(`The prop "${Ae}" is already exist, it will be overrided by ${ue} decorator.`),Object.defineProperty(ae,Ae,{configurable:!0,writable:!0}),{get(){return we&&we.get?we.get.bind(this)():this[Ae]},set(et){we&&we.set&&we.set.bind(this)(Ne(et)),this[Ae]=Ne(et)}}}}function be(){return Fe("InputBoolean",Me)}function re(ue){return Fe("InputNumber",Ne=>j(Ne,ue))}function _e(ue){ue.stopPropagation(),ue.preventDefault()}function se(ue){if(!ue.getClientRects().length)return{top:0,left:0};const Ne=ue.getBoundingClientRect(),ie=ue.ownerDocument.defaultView;return{top:Ne.top+ie.pageYOffset,left:Ne.left+ie.pageXOffset}}function Ue(ue){return!!ue&&"function"==typeof ue.then&&"function"==typeof ue.catch}function Ge(ue,Ne,ie){return(ie-ue)/(Ne-ue)*100}function gt(ue){const Ne=ue.toString(),ie=Ne.indexOf(".");return ie>=0?Ne.length-ie-1:0}function Je(ue,Ne,ie){return isNaN(ue)||ueie?ie:ue}function $e(ue){return"number"==typeof ue&&isFinite(ue)}function St(ue,Ne){return Math.round(ue*Math.pow(10,Ne))/Math.pow(10,Ne)}function it(ue,Ne=0){return ue.reduce((ie,ae)=>ie+ae,Ne)}let V,J;typeof window<"u"&&window;const E={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function I(ue="vertical",Ne="ant"){if(typeof document>"u"||typeof window>"u")return 0;const ie="vertical"===ue;if(ie&&V)return V;if(!ie&&J)return J;const ae=document.createElement("div");Object.keys(E).forEach(we=>{ae.style[we]=E[we]}),ae.className=`${Ne}-hide-scrollbar scroll-div-append-to-body`,ie?ae.style.overflowY="scroll":ae.style.overflowX="scroll",document.body.appendChild(ae);let X=0;return ie?(X=ae.offsetWidth-ae.clientWidth,V=X):(X=ae.offsetHeight-ae.clientHeight,J=X),document.body.removeChild(ae),X}function k(){const ue=new T.x;return Promise.resolve().then(()=>ue.next()),ue.pipe((0,R.q)(1))}function ge(ue){return(0,Y.b)(ue)?ue:Ue(ue)?(0,q.D)(Promise.resolve(ue)):(0,p.of)(ue)}function Oe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function rt({mark:ue}={}){return ue?ue.startsWith("data-")?ue:`data-${ue}`:"rc-util-key"}function xt(ue){return ue.attachTo?ue.attachTo:document.querySelector("head")||document.body}function tt(ue,Ne={}){var ie;if(!Oe())return null;const ae=document.createElement("style");var X;null!==(ie=Ne.csp)&&void 0!==ie&&ie.nonce&&(ae.nonce=null===(X=Ne.csp)||void 0===X?void 0:X.nonce),ae.innerHTML=ue;const we=xt(Ne),{firstChild:Ae}=we;return Ne.prepend&&we.prepend?we.prepend(ae):Ne.prepend&&Ae?we.insertBefore(ae,Ae):we.appendChild(ae),ae}const kt=new Map;function fe(ue,Ne,ie={}){const ae=xt(ie);if(!kt.has(ae)){const Yt=tt("",ie),{parentNode:Zt}=Yt;kt.set(ae,Zt),Zt.removeChild(Yt)}const X=function Ve(ue,Ne={}){var ie;const ae=xt(Ne);return Array.from((null===(ie=kt.get(ae))||void 0===ie?void 0:ie.children)||[]).find(X=>"STYLE"===X.tagName&&X.getAttribute(rt(Ne))===ue)}(Ne,ie);var we,Ae,et;if(X)return null!==(we=ie.csp)&&void 0!==we&&we.nonce&&X.nonce!==(null===(Ae=ie.csp)||void 0===Ae?void 0:Ae.nonce)&&(X.nonce=null===(et=ie.csp)||void 0===et?void 0:et.nonce),X.innerHTML!==ue&&(X.innerHTML=ue),X;const ut=tt(ue,ie);return ut?.setAttribute(rt(ie),Ne),ut}function le(ue,Ne,ie){return{[`${ue}-status-success`]:"success"===Ne,[`${ue}-status-warning`]:"warning"===Ne,[`${ue}-status-error`]:"error"===Ne,[`${ue}-status-validating`]:"validating"===Ne,[`${ue}-has-feedback`]:ie}}},2577:(ot,pe,h)=>{h.d(pe,{S:()=>A,g:()=>P});var a=h(70655),s=h(94650),T=h(3187),Y=h(36895),q=h(66287),p=h(40445);function R(U,G){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const de=s.oxw(2);s.xp6(1),s.Oqu(de.nzText)}}function w(U,G){if(1&U&&(s.TgZ(0,"span",1),s.YNc(1,R,2,1,"ng-container",2),s.qZA()),2&U){const de=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",de.nzText)}}let P=(()=>{class U{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}}return U.\u0275fac=function(de){return new(de||U)},U.\u0275cmp=s.Xpm({type:U,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(de,Te){2&de&&s.ekj("ant-divider-horizontal","horizontal"===Te.nzType)("ant-divider-vertical","vertical"===Te.nzType)("ant-divider-with-text",Te.nzText)("ant-divider-plain",Te.nzPlain)("ant-divider-with-text-left",Te.nzText&&"left"===Te.nzOrientation)("ant-divider-with-text-right",Te.nzText&&"right"===Te.nzOrientation)("ant-divider-with-text-center",Te.nzText&&"center"===Te.nzOrientation)("ant-divider-dashed",Te.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(de,Te){1&de&&s.YNc(0,w,2,1,"span",0),2&de&&s.Q6J("ngIf",Te.nzText)},dependencies:[Y.O5,q.f],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,T.yF)()],U.prototype,"nzDashed",void 0),(0,a.gn)([(0,T.yF)()],U.prototype,"nzPlain",void 0),U})(),A=(()=>{class U{}return U.\u0275fac=function(de){return new(de||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({imports:[p.vT,Y.ez,q.T]}),U})()},17131:(ot,pe,h)=>{h.d(pe,{BL:()=>pt,SQ:()=>gt,Vz:()=>Pe});var a=h(70655),s=h(29521),T=h(98184),Y=h(84080),q=h(36895),p=h(94650),R=h(77579),w=h(82722),P=h(72536),A=h(3187),U=h(12687),G=h(40445),de=h(21102),Te=h(66287),$=h(84903);const Me=["drawerTemplate"];function j(lt,Pt){if(1<){const qe=p.EpF();p.TgZ(0,"div",11),p.NdJ("click",function(){p.CHM(qe);const Bt=p.oxw(2);return p.KtG(Bt.maskClick())}),p.qZA()}if(2<){const qe=p.oxw(2);p.Q6J("ngStyle",qe.nzMaskStyle)}}function De(lt,Pt){if(1<&&(p.ynx(0),p._UZ(1,"span",19),p.BQk()),2<){const qe=Pt.$implicit;p.xp6(1),p.Q6J("nzType",qe)}}function xe(lt,Pt){if(1<){const qe=p.EpF();p.TgZ(0,"button",17),p.NdJ("click",function(){p.CHM(qe);const Bt=p.oxw(3);return p.KtG(Bt.closeClick())}),p.YNc(1,De,2,1,"ng-container",18),p.qZA()}if(2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("nzStringTemplateOutlet",qe.nzCloseIcon)}}function Fe(lt,Pt){if(1<&&(p.ynx(0),p._UZ(1,"div",21),p.BQk()),2<){const qe=p.oxw(4);p.xp6(1),p.Q6J("innerHTML",qe.nzTitle,p.oJD)}}function be(lt,Pt){if(1<&&(p.TgZ(0,"div",20),p.YNc(1,Fe,2,1,"ng-container",18),p.qZA()),2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("nzStringTemplateOutlet",qe.nzTitle)}}function B(lt,Pt){if(1<&&(p.ynx(0),p._UZ(1,"div",21),p.BQk()),2<){const qe=p.oxw(4);p.xp6(1),p.Q6J("innerHTML",qe.nzExtra,p.oJD)}}function re(lt,Pt){if(1<&&(p.TgZ(0,"div",22),p.YNc(1,B,2,1,"ng-container",18),p.qZA()),2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("nzStringTemplateOutlet",qe.nzExtra)}}function _e(lt,Pt){if(1<&&(p.TgZ(0,"div",12)(1,"div",13),p.YNc(2,xe,2,1,"button",14),p.YNc(3,be,2,1,"div",15),p.qZA(),p.YNc(4,re,2,1,"div",16),p.qZA()),2<){const qe=p.oxw(2);p.ekj("ant-drawer-header-close-only",!qe.nzTitle),p.xp6(2),p.Q6J("ngIf",qe.nzClosable),p.xp6(1),p.Q6J("ngIf",qe.nzTitle),p.xp6(1),p.Q6J("ngIf",qe.nzExtra)}}function se(lt,Pt){}function Se(lt,Pt){1<&&p.GkF(0)}function Ie(lt,Pt){if(1<&&(p.ynx(0),p.YNc(1,Se,1,0,"ng-container",24),p.BQk()),2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("ngTemplateOutlet",qe.nzContent)("ngTemplateOutletContext",qe.templateContext)}}function oe(lt,Pt){if(1<&&(p.ynx(0),p.YNc(1,Ie,2,2,"ng-container",23),p.BQk()),2<){const qe=p.oxw(2);p.xp6(1),p.Q6J("ngIf",qe.isTemplateRef(qe.nzContent))}}function me(lt,Pt){}function Q(lt,Pt){if(1<&&(p.ynx(0),p.YNc(1,me,0,0,"ng-template",25),p.BQk()),2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("ngTemplateOutlet",qe.contentFromContentChild)}}function Ce(lt,Pt){if(1<&&p.YNc(0,Q,2,1,"ng-container",23),2<){const qe=p.oxw(2);p.Q6J("ngIf",qe.contentFromContentChild&&(qe.isOpen||qe.inAnimation))}}function Le(lt,Pt){if(1<&&(p.ynx(0),p._UZ(1,"div",21),p.BQk()),2<){const qe=p.oxw(3);p.xp6(1),p.Q6J("innerHTML",qe.nzFooter,p.oJD)}}function Ue(lt,Pt){if(1<&&(p.TgZ(0,"div",26),p.YNc(1,Le,2,1,"ng-container",18),p.qZA()),2<){const qe=p.oxw(2);p.xp6(1),p.Q6J("nzStringTemplateOutlet",qe.nzFooter)}}function Ge(lt,Pt){if(1<&&(p.TgZ(0,"div",1),p.YNc(1,j,1,1,"div",2),p.TgZ(2,"div")(3,"div",3)(4,"div",4),p.YNc(5,_e,5,5,"div",5),p.TgZ(6,"div",6),p.YNc(7,se,0,0,"ng-template",7),p.YNc(8,oe,2,1,"ng-container",8),p.YNc(9,Ce,1,1,"ng-template",null,9,p.W1O),p.qZA(),p.YNc(11,Ue,2,1,"div",10),p.qZA()()()()),2<){const qe=p.MAs(10),Ct=p.oxw();p.Udp("transform",Ct.offsetTransform)("transition",Ct.placementChanging?"none":null)("z-index",Ct.nzZIndex),p.ekj("ant-drawer-rtl","rtl"===Ct.dir)("ant-drawer-open",Ct.isOpen)("no-mask",!Ct.nzMask)("ant-drawer-top","top"===Ct.nzPlacement)("ant-drawer-bottom","bottom"===Ct.nzPlacement)("ant-drawer-right","right"===Ct.nzPlacement)("ant-drawer-left","left"===Ct.nzPlacement),p.Q6J("nzNoAnimation",Ct.nzNoAnimation),p.xp6(1),p.Q6J("ngIf",Ct.nzMask),p.xp6(1),p.Gre("ant-drawer-content-wrapper ",Ct.nzWrapClassName,""),p.Udp("width",Ct.width)("height",Ct.height)("transform",Ct.transform)("transition",Ct.placementChanging?"none":null),p.xp6(2),p.Udp("height",Ct.isLeftOrRight?"100%":null),p.xp6(1),p.Q6J("ngIf",Ct.nzTitle||Ct.nzClosable),p.xp6(1),p.Q6J("ngStyle",Ct.nzBodyStyle),p.xp6(2),p.Q6J("ngIf",Ct.nzContent)("ngIfElse",qe),p.xp6(3),p.Q6J("ngIf",Ct.nzFooter)}}let gt=(()=>{class lt{constructor(qe){this.templateRef=qe}}return lt.\u0275fac=function(qe){return new(qe||lt)(p.Y36(p.Rgc))},lt.\u0275dir=p.lG2({type:lt,selectors:[["","nzDrawerContent",""]],exportAs:["nzDrawerContent"]}),lt})();class St{}let Pe=(()=>{class lt extends St{constructor(qe,Ct,Bt,fn,bt,on,ft,gn,Qe,N,V){super(),this.cdr=qe,this.document=Ct,this.nzConfigService=Bt,this.renderer=fn,this.overlay=bt,this.injector=on,this.changeDetectorRef=ft,this.focusTrapFactory=gn,this.viewContainerRef=Qe,this.overlayKeyboardDispatcher=N,this.directionality=V,this._nzModuleName="drawer",this.nzCloseIcon="close",this.nzClosable=!0,this.nzMaskClosable=!0,this.nzMask=!0,this.nzCloseOnNavigation=!0,this.nzNoAnimation=!1,this.nzKeyboard=!0,this.nzPlacement="right",this.nzSize="default",this.nzMaskStyle={},this.nzBodyStyle={},this.nzZIndex=1e3,this.nzOffsetX=0,this.nzOffsetY=0,this.componentInstance=null,this.nzOnViewInit=new p.vpe,this.nzOnClose=new p.vpe,this.nzVisibleChange=new p.vpe,this.destroy$=new R.x,this.placementChanging=!1,this.placementChangeTimeoutId=-1,this.isOpen=!1,this.inAnimation=!1,this.templateContext={$implicit:void 0,drawerRef:this},this.nzAfterOpen=new R.x,this.nzAfterClose=new R.x,this.nzDirection=void 0,this.dir="ltr"}set nzVisible(qe){this.isOpen=qe}get nzVisible(){return this.isOpen}get offsetTransform(){if(!this.isOpen||this.nzOffsetX+this.nzOffsetY===0)return null;switch(this.nzPlacement){case"left":return`translateX(${this.nzOffsetX}px)`;case"right":return`translateX(-${this.nzOffsetX}px)`;case"top":return`translateY(${this.nzOffsetY}px)`;case"bottom":return`translateY(-${this.nzOffsetY}px)`}}get transform(){if(this.isOpen)return null;switch(this.nzPlacement){case"left":return"translateX(-100%)";case"right":return"translateX(100%)";case"top":return"translateY(-100%)";case"bottom":return"translateY(100%)"}}get width(){if(this.isLeftOrRight){const qe="large"===this.nzSize?736:378;return(0,A.WX)(void 0===this.nzWidth?qe:this.nzWidth)}return null}get height(){if(!this.isLeftOrRight){const qe="large"===this.nzSize?736:378;return(0,A.WX)(void 0===this.nzHeight?qe:this.nzHeight)}return null}get isLeftOrRight(){return"left"===this.nzPlacement||"right"===this.nzPlacement}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}isTemplateRef(qe){return qe instanceof p.Rgc}ngOnInit(){var qe;null===(qe=this.directionality.change)||void 0===qe||qe.pipe((0,w.R)(this.destroy$)).subscribe(Ct=>{this.dir=Ct,this.cdr.detectChanges()}),this.dir=this.nzDirection||this.directionality.value,this.attachOverlay(),this.updateOverlayStyle(),this.updateBodyOverflow(),this.templateContext={$implicit:this.nzContentParams,drawerRef:this},this.changeDetectorRef.detectChanges()}ngAfterViewInit(){this.attachBodyContent(),this.nzOnViewInit.observers.length&&setTimeout(()=>{this.nzOnViewInit.emit()})}ngOnChanges(qe){const{nzPlacement:Ct,nzVisible:Bt}=qe;Bt&&(qe.nzVisible.currentValue?this.open():this.close()),Ct&&!Ct.isFirstChange()&&this.triggerPlacementChangeCycleOnce()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),clearTimeout(this.placementChangeTimeoutId),this.disposeOverlay()}getAnimationDuration(){return this.nzNoAnimation?0:300}triggerPlacementChangeCycleOnce(){this.nzNoAnimation||(this.placementChanging=!0,this.changeDetectorRef.markForCheck(),clearTimeout(this.placementChangeTimeoutId),this.placementChangeTimeoutId=setTimeout(()=>{this.placementChanging=!1,this.changeDetectorRef.markForCheck()},this.getAnimationDuration()))}close(qe){this.isOpen=!1,this.inAnimation=!0,this.nzVisibleChange.emit(!1),this.updateOverlayStyle(),this.overlayKeyboardDispatcher.remove(this.overlayRef),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.updateBodyOverflow(),this.restoreFocus(),this.inAnimation=!1,this.nzAfterClose.next(qe),this.nzAfterClose.complete(),this.componentInstance=null},this.getAnimationDuration())}open(){this.attachOverlay(),this.isOpen=!0,this.inAnimation=!0,this.nzVisibleChange.emit(!0),this.overlayKeyboardDispatcher.add(this.overlayRef),this.updateOverlayStyle(),this.updateBodyOverflow(),this.savePreviouslyFocusedElement(),this.trapFocus(),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.inAnimation=!1,this.changeDetectorRef.detectChanges(),this.nzAfterOpen.next()},this.getAnimationDuration())}getContentComponent(){return this.componentInstance}closeClick(){this.nzOnClose.emit()}maskClick(){this.nzMaskClosable&&this.nzMask&&this.nzOnClose.emit()}attachBodyContent(){if(this.bodyPortalOutlet.dispose(),this.nzContent instanceof p.DyG){const qe=p.zs3.create({parent:this.injector,providers:[{provide:St,useValue:this}]}),Ct=new Y.C5(this.nzContent,null,qe),Bt=this.bodyPortalOutlet.attachComponentPortal(Ct);this.componentInstance=Bt.instance,Object.assign(Bt.instance,this.nzContentParams),Bt.changeDetectorRef.detectChanges()}}attachOverlay(){this.overlayRef||(this.portal=new Y.UE(this.drawerTemplate,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayRef.keydownEvents().pipe((0,w.R)(this.destroy$)).subscribe(qe=>{qe.keyCode===s.hY&&this.isOpen&&this.nzKeyboard&&this.nzOnClose.emit()}),this.overlayRef.detachments().pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.disposeOverlay()}))}disposeOverlay(){var qe;null===(qe=this.overlayRef)||void 0===qe||qe.dispose(),this.overlayRef=null}getOverlayConfig(){return new T.X_({disposeOnNavigation:this.nzCloseOnNavigation,positionStrategy:this.overlay.position().global(),scrollStrategy:this.overlay.scrollStrategies.block()})}updateOverlayStyle(){this.overlayRef&&this.overlayRef.overlayElement&&this.renderer.setStyle(this.overlayRef.overlayElement,"pointer-events",this.isOpen?"auto":"none")}updateBodyOverflow(){this.overlayRef&&(this.isOpen?this.overlayRef.getConfig().scrollStrategy.enable():this.overlayRef.getConfig().scrollStrategy.disable())}savePreviouslyFocusedElement(){this.document&&!this.previouslyFocusedElement&&(this.previouslyFocusedElement=this.document.activeElement,this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.blur&&this.previouslyFocusedElement.blur())}trapFocus(){!this.focusTrap&&this.overlayRef&&this.overlayRef.overlayElement&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.overlayElement),this.focusTrap.focusInitialElement())}restoreFocus(){this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus(),this.focusTrap&&this.focusTrap.destroy()}}return lt.\u0275fac=function(qe){return new(qe||lt)(p.Y36(p.sBO),p.Y36(q.K0,8),p.Y36(P.jY),p.Y36(p.Qsj),p.Y36(T.aV),p.Y36(p.zs3),p.Y36(p.sBO),p.Y36(U.qV),p.Y36(p.s_b),p.Y36(T.Vs),p.Y36(G.Is,8))},lt.\u0275cmp=p.Xpm({type:lt,selectors:[["nz-drawer"]],contentQueries:function(qe,Ct,Bt){if(1&qe&&p.Suo(Bt,gt,7,p.Rgc),2&qe){let fn;p.iGM(fn=p.CRH())&&(Ct.contentFromContentChild=fn.first)}},viewQuery:function(qe,Ct){if(1&qe&&(p.Gf(Me,7),p.Gf(Y.Pl,5)),2&qe){let Bt;p.iGM(Bt=p.CRH())&&(Ct.drawerTemplate=Bt.first),p.iGM(Bt=p.CRH())&&(Ct.bodyPortalOutlet=Bt.first)}},inputs:{nzContent:"nzContent",nzCloseIcon:"nzCloseIcon",nzClosable:"nzClosable",nzMaskClosable:"nzMaskClosable",nzMask:"nzMask",nzCloseOnNavigation:"nzCloseOnNavigation",nzNoAnimation:"nzNoAnimation",nzKeyboard:"nzKeyboard",nzTitle:"nzTitle",nzExtra:"nzExtra",nzFooter:"nzFooter",nzPlacement:"nzPlacement",nzSize:"nzSize",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzWrapClassName:"nzWrapClassName",nzWidth:"nzWidth",nzHeight:"nzHeight",nzZIndex:"nzZIndex",nzOffsetX:"nzOffsetX",nzOffsetY:"nzOffsetY",nzVisible:"nzVisible"},outputs:{nzOnViewInit:"nzOnViewInit",nzOnClose:"nzOnClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzDrawer"],features:[p.qOj,p.TTD],decls:2,vars:0,consts:[["drawerTemplate",""],[1,"ant-drawer",3,"nzNoAnimation"],["class","ant-drawer-mask",3,"ngStyle","click",4,"ngIf"],[1,"ant-drawer-content"],[1,"ant-drawer-wrapper-body"],["class","ant-drawer-header",3,"ant-drawer-header-close-only",4,"ngIf"],[1,"ant-drawer-body",3,"ngStyle"],["cdkPortalOutlet",""],[4,"ngIf","ngIfElse"],["contentElseTemp",""],["class","ant-drawer-footer",4,"ngIf"],[1,"ant-drawer-mask",3,"ngStyle","click"],[1,"ant-drawer-header"],[1,"ant-drawer-header-title"],["aria-label","Close","class","ant-drawer-close","style","--scroll-bar: 0px;",3,"click",4,"ngIf"],["class","ant-drawer-title",4,"ngIf"],["class","ant-drawer-extra",4,"ngIf"],["aria-label","Close",1,"ant-drawer-close",2,"--scroll-bar","0px",3,"click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],[1,"ant-drawer-title"],[3,"innerHTML"],[1,"ant-drawer-extra"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"],[1,"ant-drawer-footer"]],template:function(qe,Ct){1&qe&&p.YNc(0,Ge,12,40,"ng-template",null,0,p.W1O)},dependencies:[q.O5,q.tP,q.PC,Y.Pl,de.Ls,Te.f,$.P],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,A.yF)()],lt.prototype,"nzClosable",void 0),(0,a.gn)([(0,P.oS)(),(0,A.yF)()],lt.prototype,"nzMaskClosable",void 0),(0,a.gn)([(0,P.oS)(),(0,A.yF)()],lt.prototype,"nzMask",void 0),(0,a.gn)([(0,P.oS)(),(0,A.yF)()],lt.prototype,"nzCloseOnNavigation",void 0),(0,a.gn)([(0,A.yF)()],lt.prototype,"nzNoAnimation",void 0),(0,a.gn)([(0,A.yF)()],lt.prototype,"nzKeyboard",void 0),(0,a.gn)([(0,P.oS)()],lt.prototype,"nzDirection",void 0),lt})(),nt=(()=>{class lt{}return lt.\u0275fac=function(qe){return new(qe||lt)},lt.\u0275mod=p.oAB({type:lt}),lt.\u0275inj=p.cJS({}),lt})(),pt=(()=>{class lt{}return lt.\u0275fac=function(qe){return new(qe||lt)},lt.\u0275mod=p.oAB({type:lt}),lt.\u0275inj=p.cJS({imports:[G.vT,q.ez,T.U8,Y.eL,de.PV,Te.T,$.g,nt]}),lt})()},91811:(ot,pe,h)=>{h.d(pe,{YI:()=>A,iF:()=>Y,o9:()=>P,u7:()=>p,wi:()=>w});var a=h(94650),s=h(61135),T=h(88932),Y={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"}},q={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"}};const p=new a.OlP("nz-i18n"),R=new a.OlP("nz-date-locale");let w=(()=>{class Ae{constructor(ut,Yt){this._change=new s.X(this._locale),this.setLocale(ut||q),this.setDateLocale(Yt||null)}get localeChange(){return this._change.asObservable()}translate(ut,Yt){let Zt=this._getObjectPath(this._locale,ut);return"string"==typeof Zt?(Yt&&Object.keys(Yt).forEach(Ht=>Zt=Zt.replace(new RegExp(`%${Ht}%`,"g"),Yt[Ht])),Zt):ut}setLocale(ut){this._locale&&this._locale.locale===ut.locale||(this._locale=ut,this._change.next(ut))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(ut){this.dateLocale=ut}getDateLocale(){return this.dateLocale}getLocaleData(ut,Yt){const Zt=ut?this._getObjectPath(this._locale,ut):this._locale;return!Zt&&!Yt&&(0,T.ZK)(`Missing translations for "${ut}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),Zt||Yt||this._getObjectPath(Y,ut)||{}}_getObjectPath(ut,Yt){let Zt=ut;const Ht=Yt.split("."),Cn=Ht.length;let We=0;for(;Zt&&We{class Ae{constructor(ut){this._locale=ut}transform(ut,Yt){return this._locale.translate(ut,Yt)}}return Ae.\u0275fac=function(ut){return new(ut||Ae)(a.Y36(w,16))},Ae.\u0275pipe=a.Yjl({name:"nzI18n",type:Ae,pure:!0}),Ae})(),A=(()=>{class Ae{}return Ae.\u0275fac=function(ut){return new(ut||Ae)},Ae.\u0275mod=a.oAB({type:Ae}),Ae.\u0275inj=a.cJS({}),Ae})();new a.OlP("date-config")},21102:(ot,pe,h)=>{h.d(pe,{sV:()=>we,Ls:()=>Ht,PV:()=>Cn});var a=h(83353),s=h(94650),T=h(70655),Y=h(77579),q=h(32076),p=h(82722),R=h(36895),w=h(45192),Me=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function j(We,Et,ke){var ct;return(ct=Math.round(We.h)>=60&&Math.round(We.h)<=240?ke?Math.round(We.h)-2*Et:Math.round(We.h)+2*Et:ke?Math.round(We.h)+2*Et:Math.round(We.h)-2*Et)<0?ct+=360:ct>=360&&(ct-=360),ct}function De(We,Et,ke){return 0===We.h&&0===We.s?We.s:((ct=ke?We.s-.16*Et:4===Et?We.s+.16:We.s+.05*Et)>1&&(ct=1),ke&&5===Et&&ct>.1&&(ct=.1),ct<.06&&(ct=.06),Number(ct.toFixed(2)));var ct}function xe(We,Et,ke){var ct;return(ct=ke?We.v+.05*Et:We.v-.15*Et)>1&&(ct=1),Number(ct.toFixed(2))}function Fe(We){for(var Et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ke=[],ct=new w.C(We),Z=5;Z>0;Z-=1){var ee=ct.toHsv(),K=new w.C({h:j(ee,Z,!0),s:De(ee,Z,!0),v:xe(ee,Z,!0)}).toHexString();ke.push(K)}ke.push(ct.toHexString());for(var ze=1;ze<=4;ze+=1){var Ke=ct.toHsv(),vt=new w.C({h:j(Ke,ze),s:De(Ke,ze),v:xe(Ke,ze)}).toHexString();ke.push(vt)}return"dark"===Et.theme?Me.map(function(Vt){var jt=Vt.index,Qt=Vt.opacity;return new w.C(Et.backgroundColor||"#141414").mix(ke[jt],100*Qt).toHexString()}):ke}var be={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B={},re={};Object.keys(be).forEach(function(We){B[We]=Fe(be[We]),B[We].primary=B[We][5],re[We]=Fe(be[We],{theme:"dark",backgroundColor:"#141414"}),re[We].primary=re[We][5]});var $e=h(80529),St=h(39646),it=h(69751),yt=h(54004),Pe=h(18505),nt=h(28746),pt=h(70262),Rt=h(13099),kn=h(39300),lt=h(95698),Pt=h(11481);const qe="[@ant-design/icons-angular]:";function Bt(We){(0,s.X6Q)()&&console.warn(`${qe} ${We}.`)}function fn(We){return Fe(We)[0]}function bt(We,Et){switch(Et){case"fill":return`${We}-fill`;case"outline":return`${We}-o`;case"twotone":return`${We}-twotone`;case void 0:return We;default:throw new Error(`${qe}Theme "${Et}" is not a recognized theme!`)}}function Qe(We){return"object"==typeof We&&"string"==typeof We.name&&("string"==typeof We.theme||void 0===We.theme)&&"string"==typeof We.icon}function E(We){const Et=We.split(":");switch(Et.length){case 1:return[We,""];case 2:return[Et[1],Et[0]];default:throw new Error(`${qe}The icon type ${We} is not valid!`)}}function k(We){return new Error(`${qe}the icon ${We} does not exist or is not registered.`)}function He(){return new Error(`${qe} tag not found.`)}const tt=new s.OlP("ant_icons");let kt=(()=>{class We{constructor(ke,ct,Z,ee,K){this._rendererFactory=ke,this._handler=ct,this._document=Z,this.sanitizer=ee,this._antIcons=K,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new Y.x,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new $e.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}set twoToneColor({primaryColor:ke,secondaryColor:ct}){this._twoToneColorPalette.primaryColor=ke,this._twoToneColorPalette.secondaryColor=ct||fn(ke)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}useJsonpLoading(){this._enableJsonpLoading?Bt("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=ke=>{this._jsonpIconLoad$.next(ke)})}changeAssetsSource(ke){this._assetsUrlRoot=ke.endsWith("/")?ke:ke+"/"}addIcon(...ke){ke.forEach(ct=>{this._svgDefinitions.set(bt(ct.name,ct.theme),ct)})}addIconLiteral(ke,ct){const[Z,ee]=E(ke);if(!ee)throw function O(){return new Error(`${qe}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:ke,icon:ct})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(ke,ct){const Z=Qe(ke)?ke:this._svgDefinitions.get(ke)||null;if(!Z&&this._disableDynamicLoading)throw k(ke);return(Z?(0,St.of)(Z):this._loadIconDynamically(ke)).pipe((0,yt.U)(K=>{if(!K)throw k(ke);return this._loadSVGFromCacheOrCreateNew(K,ct)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(ke){if(!this._http&&!this._enableJsonpLoading)return(0,St.of)(function ge(){return function Ct(We){console.error(`${qe} ${We}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let ct=this._inProgressFetches.get(ke);if(!ct){const[Z,ee]=E(ke),K=ee?{name:ke,icon:""}:function N(We){const Et=We.split("-"),ke=function ft(We){return"o"===We?"outline":We}(Et.splice(Et.length-1,1)[0]);return{name:Et.join("-"),theme:ke,icon:""}}(Z),Ke=(ee?`${this._assetsUrlRoot}assets/${ee}/${Z}`:`${this._assetsUrlRoot}assets/${K.theme}/${K.name}`)+(this._enableJsonpLoading?".js":".svg"),vt=this.sanitizer.sanitize(s.q3G.URL,Ke);if(!vt)throw function Oe(We){return new Error(`${qe}The url "${We}" is unsafe.`)}(Ke);ct=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(K,vt):this._http.get(vt,{responseType:"text"}).pipe((0,yt.U)(jt=>({...K,icon:jt})))).pipe((0,Pe.b)(jt=>this.addIcon(jt)),(0,nt.x)(()=>this._inProgressFetches.delete(ke)),(0,pt.K)(()=>(0,St.of)(null)),(0,Rt.B)()),this._inProgressFetches.set(ke,ct)}return ct}_loadIconDynamicallyWithJsonp(ke,ct){return new it.y(Z=>{const ee=this._document.createElement("script"),K=setTimeout(()=>{ze(),Z.error(function rt(){return new Error(`${qe}Importing timeout error.`)}())},6e3);function ze(){ee.parentNode.removeChild(ee),clearTimeout(K)}ee.src=ct,this._document.body.appendChild(ee),this._jsonpIconLoad$.pipe((0,kn.h)(Ke=>Ke.name===ke.name&&Ke.theme===ke.theme),(0,lt.q)(1)).subscribe(Ke=>{Z.next(Ke),ze()})})}_loadSVGFromCacheOrCreateNew(ke,ct){let Z;const ee=ct||this._twoToneColorPalette.primaryColor,K=fn(ee)||this._twoToneColorPalette.secondaryColor,ze="twotone"===ke.theme?function on(We,Et,ke,ct){return`${bt(We,Et)}-${ke}-${ct}`}(ke.name,ke.theme,ee,K):void 0===ke.theme?ke.name:bt(ke.name,ke.theme),Ke=this._svgRenderedDefinitions.get(ze);return Ke?Z=Ke.icon:(Z=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function I(We){return""!==E(We)[1]}(ke.name)?ke.icon:function J(We){return We.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(ke.icon)),"twotone"===ke.theme,ee,K)),this._svgRenderedDefinitions.set(ze,{...ke,icon:Z})),function V(We){return We.cloneNode(!0)}(Z)}_createSVGElementFromString(ke){const ct=this._document.createElement("div");ct.innerHTML=ke;const Z=ct.querySelector("svg");if(!Z)throw He;return Z}_setSVGAttribute(ke){return this._renderer.setAttribute(ke,"width","1em"),this._renderer.setAttribute(ke,"height","1em"),ke}_colorizeSVGIcon(ke,ct,Z,ee){if(ct){const K=ke.childNodes,ze=K.length;for(let Ke=0;Ke{class We{constructor(ke,ct,Z){this._iconService=ke,this._elementRef=ct,this._renderer=Z}ngOnChanges(ke){(ke.type||ke.theme||ke.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(ke=>{if(!this.type)return this._clearSVGElement(),void ke(null);const ct=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(Z=>{const ee=this._getSelfRenderMeta();!function Ve(We,Et){return We.type===Et.type&&We.theme===Et.theme&&We.twoToneColor===Et.twoToneColor}(ct,ee)?ke(null):(this._setSVGElement(Z),ke(Z))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(ke,ct){if(Qe(ke))return ke;{const[Z,ee]=E(ke);return ee?ke:function gn(We){return We.endsWith("-fill")||We.endsWith("-o")||We.endsWith("-twotone")}(Z)?(ct&&Bt(`'type' ${Z} already gets a theme inside so 'theme' ${ct} would be ignored`),Z):bt(Z,ct||this._iconService.defaultTheme)}}_setSVGElement(ke){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,ke)}_clearSVGElement(){const ke=this._elementRef.nativeElement,ct=ke.childNodes;for(let K=ct.length-1;K>=0;K--){var ee;const ze=ct[K];"svg"===(null===(ee=ze.tagName)||void 0===ee?void 0:ee.toLowerCase())&&this._renderer.removeChild(ke,ze)}}}return We.\u0275fac=function(ke){return new(ke||We)(s.Y36(kt),s.Y36(s.SBq),s.Y36(s.Qsj))},We.\u0275dir=s.lG2({type:We,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[s.TTD]}),We})();var ue=h(88932),Ne=h(3187),ie=h(41218),ae=h(72536);const X=[ie.V65,ie.ud1,ie.bBn,ie.BOg,ie.Hkd,ie.XuQ,ie.Rfq,ie.yQU,ie.U2Q,ie.UKj,ie.OYp,ie.BXH,ie.eLU,ie.x0x,ie.vkb,ie.VWu,ie.rMt,ie.vEg,ie.RIp,ie.RU0,ie.M8e,ie.ssy,ie.Z5F,ie.iUK,ie.LJh,ie.NFG,ie.UTl,ie.nrZ,ie.gvV,ie.d2H,ie.eFY,ie.sZJ,ie.np6,ie.w1L,ie.UY$,ie.v6v,ie.rHg,ie.v6v,ie.s_U,ie.TSL,ie.FsU,ie.cN2,ie.uIz,ie.d_$],we=new s.OlP("nz_icons"),et=(new s.OlP("nz_icon_default_twotone_color"),"#1890ff");let ut=(()=>{class We extends kt{constructor(ke,ct,Z,ee,K,ze,Ke){super(ke,K,ze,ct,[...X,...Ke||[]]),this.nzConfigService=Z,this.platform=ee,this.configUpdated$=new Y.x,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(ke){ke.getAttribute("viewBox")||this._renderer.setAttribute(ke,"viewBox","0 0 1024 1024"),(!ke.getAttribute("width")||!ke.getAttribute("height"))&&(this._renderer.setAttribute(ke,"width","1em"),this._renderer.setAttribute(ke,"height","1em")),ke.getAttribute("fill")||this._renderer.setAttribute(ke,"fill","currentColor")}fetchFromIconfont(ke){const{scriptUrl:ct}=ke;if(this._document&&!this.iconfontCache.has(ct)){const Z=this._renderer.createElement("script");this._renderer.setAttribute(Z,"src",ct),this._renderer.setAttribute(Z,"data-namespace",ct.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,Z),this.iconfontCache.add(ct)}}createIconfontIcon(ke){return this._createSVGElementFromString(``)}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const ke=this.getConfig();this.defaultTheme=ke.nzTheme||"outline"}configDefaultTwotoneColor(){const ct=this.getConfig().nzTwotoneColor||et;let Z=et;ct&&(ct.startsWith("#")?Z=ct:(0,ue.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:Z}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return We.\u0275fac=function(ke){return new(ke||We)(s.LFG(s.FYo),s.LFG(Pt.H7),s.LFG(ae.jY),s.LFG(a.t4),s.LFG($e.jN,8),s.LFG(R.K0,8),s.LFG(we,8))},We.\u0275prov=s.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const Yt=new s.OlP("nz_icons_patch");let Zt=(()=>{class We{constructor(ke,ct){this.extraIcons=ke,this.rootIconService=ct,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(ke=>this.rootIconService.addIcon(ke)),this.patched=!0)}}return We.\u0275fac=function(ke){return new(ke||We)(s.LFG(Yt,2),s.LFG(ut))},We.\u0275prov=s.Yz7({token:We,factory:We.\u0275fac}),We})(),Ht=(()=>{class We extends _t{constructor(ke,ct,Z,ee,K,ze){super(ee,Z,K),this.ngZone=ke,this.changeDetectorRef=ct,this.iconService=ee,this.renderer=K,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new Y.x,ze&&ze.doPatch(),this.el=Z.nativeElement}set nzSpin(ke){this.spin=ke}set nzType(ke){this.type=ke}set nzTheme(ke){this.theme=ke}set nzTwotoneColor(ke){this.twoToneColor=ke}set nzIconfont(ke){this.iconfont=ke}ngOnChanges(ke){const{nzType:ct,nzTwotoneColor:Z,nzSpin:ee,nzTheme:K,nzRotate:ze}=ke;ct||Z||ee||K?this.changeIcon2():ze?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const ke=this.el.children;let ct=ke.length;if(!this.type&&ke.length)for(;ct--;){const Z=ke[ct];"svg"===Z.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(Z)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,q.D)(this._changeIcon()).pipe((0,p.R)(this.destroy$)).subscribe({next:ke=>{this.changeDetectorRef.detectChanges(),ke&&(this.setSVGData(ke),this.handleSpin(ke),this.handleRotate(ke))},error:ue.ZK})})}handleSpin(ke){this.spin||"loading"===this.type?this.renderer.addClass(ke,"anticon-spin"):this.renderer.removeClass(ke,"anticon-spin")}handleRotate(ke){this.nzRotate?this.renderer.setAttribute(ke,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(ke,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(ke){this.renderer.setAttribute(ke,"data-icon",this.type),this.renderer.setAttribute(ke,"aria-hidden","true")}}return We.\u0275fac=function(ke){return new(ke||We)(s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(ut),s.Y36(s.Qsj),s.Y36(Zt,8))},We.\u0275dir=s.lG2({type:We,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(ke,ct){2&ke&&s.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[s.qOj,s.TTD]}),(0,T.gn)([(0,Ne.yF)()],We.prototype,"nzSpin",null),We})(),Cn=(()=>{class We{static forRoot(ke){return{ngModule:We,providers:[{provide:we,useValue:ke}]}}static forChild(ke){return{ngModule:We,providers:[Zt,{provide:Yt,useValue:ke}]}}}return We.\u0275fac=function(ke){return new(ke||We)},We.\u0275mod=s.oAB({type:We}),We.\u0275inj=s.cJS({imports:[a.ud]}),We})()},73325:(ot,pe,h)=>{h.d(pe,{Cc:()=>on,hl:()=>gn,ip:()=>kt,r9:()=>N,rY:()=>k,wO:()=>He});var a=h(70655),s=h(94650),T=h(77579),Y=h(61135),q=h(56451),p=h(39841),R=h(54004),w=h(95577),P=h(39300),A=h(69718),U=h(23601),G=h(71884),de=h(82722),Te=h(68675),$=h(63900),Me=h(3187),j=h(19132),De=h(40445),xe=h(98184),Fe=h(51691),be=h(83353),B=h(84903),re=h(36895),_e=h(21102),se=h(66287),Se=h(32539);const Ie=["nz-submenu-title",""];function oe(Ve,_t){if(1&Ve&&s._UZ(0,"span",4),2&Ve){const fe=s.oxw();s.Q6J("nzType",fe.nzIcon)}}function me(Ve,_t){if(1&Ve&&(s.ynx(0),s.TgZ(1,"span"),s._uU(2),s.qZA(),s.BQk()),2&Ve){const fe=s.oxw();s.xp6(2),s.Oqu(fe.nzTitle)}}function Q(Ve,_t){1&Ve&&s._UZ(0,"span",8)}function Ce(Ve,_t){1&Ve&&s._UZ(0,"span",9)}function Le(Ve,_t){if(1&Ve&&(s.TgZ(0,"span",5),s.YNc(1,Q,1,0,"span",6),s.YNc(2,Ce,1,0,"span",7),s.qZA()),2&Ve){const fe=s.oxw();s.Q6J("ngSwitch",fe.dir),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function Ue(Ve,_t){1&Ve&&s._UZ(0,"span",10)}const Ge=["*"],gt=["nz-submenu-inline-child",""];function Je(Ve,_t){}const $e=["nz-submenu-none-inline-child",""];function St(Ve,_t){}const it=["nz-submenu",""];function yt(Ve,_t){1&Ve&&s.Hsn(0,0,["*ngIf","!nzTitle"])}function Pe(Ve,_t){if(1&Ve&&s._UZ(0,"div",6),2&Ve){const fe=s.oxw(),le=s.MAs(7);s.Q6J("mode",fe.mode)("nzOpen",fe.nzOpen)("@.disabled",null==fe.noAnimation?null:fe.noAnimation.nzNoAnimation)("nzNoAnimation",null==fe.noAnimation?null:fe.noAnimation.nzNoAnimation)("menuClass",fe.nzMenuClassName)("templateOutlet",le)}}function nt(Ve,_t){if(1&Ve){const fe=s.EpF();s.TgZ(0,"div",8),s.NdJ("subMenuMouseState",function(ue){s.CHM(fe);const Ne=s.oxw(2);return s.KtG(Ne.setMouseEnterState(ue))}),s.qZA()}if(2&Ve){const fe=s.oxw(2),le=s.MAs(7);s.Q6J("theme",fe.theme)("mode",fe.mode)("nzOpen",fe.nzOpen)("position",fe.position)("nzDisabled",fe.nzDisabled)("isMenuInsideDropDown",fe.isMenuInsideDropDown)("templateOutlet",le)("menuClass",fe.nzMenuClassName)("@.disabled",null==fe.noAnimation?null:fe.noAnimation.nzNoAnimation)("nzNoAnimation",null==fe.noAnimation?null:fe.noAnimation.nzNoAnimation)}}function pt(Ve,_t){if(1&Ve){const fe=s.EpF();s.YNc(0,nt,1,10,"ng-template",7),s.NdJ("positionChange",function(ue){s.CHM(fe);const Ne=s.oxw();return s.KtG(Ne.onPositionChange(ue))})}if(2&Ve){const fe=s.oxw(),le=s.MAs(1);s.Q6J("cdkConnectedOverlayPositions",fe.overlayPositions)("cdkConnectedOverlayOrigin",le)("cdkConnectedOverlayWidth",fe.triggerWidth)("cdkConnectedOverlayOpen",fe.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Rt(Ve,_t){1&Ve&&s.Hsn(0,1)}const kn=[[["","title",""]],"*"],lt=["[title]","*"],on=new s.OlP("NzIsInDropDownMenuToken"),ft=new s.OlP("NzMenuServiceLocalToken");let gn=(()=>{class Ve{constructor(){this.descendantMenuItemClick$=new T.x,this.childMenuItemClick$=new T.x,this.theme$=new Y.X("light"),this.mode$=new Y.X("vertical"),this.inlineIndent$=new Y.X(24),this.isChildSubMenuOpen$=new Y.X(!1)}onDescendantMenuItemClick(fe){this.descendantMenuItemClick$.next(fe)}onChildMenuItemClick(fe){this.childMenuItemClick$.next(fe)}setMode(fe){this.mode$.next(fe)}setTheme(fe){this.theme$.next(fe)}setInlineIndent(fe){this.inlineIndent$.next(fe)}}return Ve.\u0275fac=function(fe){return new(fe||Ve)},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),Qe=(()=>{class Ve{constructor(fe,le,ue){this.nzHostSubmenuService=fe,this.nzMenuService=le,this.isMenuInsideDropDown=ue,this.mode$=this.nzMenuService.mode$.pipe((0,R.U)(X=>"inline"===X?"inline":"vertical"===X||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new Y.X(!1),this.isChildSubMenuOpen$=new Y.X(!1),this.isMouseEnterTitleOrOverlay$=new T.x,this.childMenuItemClick$=new T.x,this.destroy$=new T.x,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Ne=this.childMenuItemClick$.pipe((0,w.z)(()=>this.mode$),(0,P.h)(X=>"inline"!==X||this.isMenuInsideDropDown),(0,A.h)(!1)),ie=(0,q.T)(this.isMouseEnterTitleOrOverlay$,Ne);(0,p.a)([this.isChildSubMenuOpen$,ie]).pipe((0,R.U)(([X,we])=>X||we),(0,U.e)(150),(0,G.x)(),(0,de.R)(this.destroy$)).pipe((0,G.x)()).subscribe(X=>{this.setOpenStateWithoutDebounce(X),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(X):this.nzMenuService.isChildSubMenuOpen$.next(X)})}onChildMenuItemClick(fe){this.childMenuItemClick$.next(fe)}setOpenStateWithoutDebounce(fe){this.isCurrentSubMenuOpen$.next(fe)}setMouseEnterTitleOrOverlayState(fe){this.isMouseEnterTitleOrOverlay$.next(fe)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.LFG(Ve,12),s.LFG(gn),s.LFG(on))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),N=(()=>{class Ve{constructor(fe,le,ue,Ne,ie,ae,X,we){this.nzMenuService=fe,this.cdr=le,this.nzSubmenuService=ue,this.isMenuInsideDropDown=Ne,this.directionality=ie,this.routerLink=ae,this.routerLinkWithHref=X,this.router=we,this.destroy$=new T.x,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new T.x,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,we&&this.router.events.pipe((0,de.R)(this.destroy$),(0,P.h)(Ae=>Ae instanceof j.m2)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(fe){this.nzDisabled?(fe.preventDefault(),fe.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(fe){this.nzSelected=fe,this.selected$.next(fe)}updateRouterActive(){!this.listOfRouterLink||!this.listOfRouterLinkWithHref||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const fe=this.hasActiveLinks();this.nzSelected!==fe&&(this.nzSelected=fe,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const fe=this.isLinkActive(this.router);return this.routerLink&&fe(this.routerLink)||this.routerLinkWithHref&&fe(this.routerLinkWithHref)||this.listOfRouterLink.some(fe)||this.listOfRouterLinkWithHref.some(fe)}isLinkActive(fe){return le=>fe.isActive(le.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){var fe;(0,p.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,de.R)(this.destroy$)).subscribe(([le,ue])=>{this.inlinePaddingLeft="inline"===le?this.level*ue:null}),this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,de.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe((0,de.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(fe){fe.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(gn),s.Y36(s.sBO),s.Y36(Qe,8),s.Y36(on),s.Y36(De.Is,8),s.Y36(j.rH,8),s.Y36(j.yS,8),s.Y36(j.F0,8))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","nz-menu-item",""]],contentQueries:function(fe,le,ue){if(1&fe&&(s.Suo(ue,j.rH,5),s.Suo(ue,j.yS,5)),2&fe){let Ne;s.iGM(Ne=s.CRH())&&(le.listOfRouterLink=Ne),s.iGM(Ne=s.CRH())&&(le.listOfRouterLinkWithHref=Ne)}},hostVars:20,hostBindings:function(fe,le){1&fe&&s.NdJ("click",function(Ne){return le.clickMenuItem(Ne)}),2&fe&&(s.Udp("padding-left","rtl"===le.dir?null:le.nzPaddingLeft||le.inlinePaddingLeft,"px")("padding-right","rtl"===le.dir?le.nzPaddingLeft||le.inlinePaddingLeft:null,"px"),s.ekj("ant-dropdown-menu-item",le.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",le.isMenuInsideDropDown&&le.nzSelected)("ant-dropdown-menu-item-danger",le.isMenuInsideDropDown&&le.nzDanger)("ant-dropdown-menu-item-disabled",le.isMenuInsideDropDown&&le.nzDisabled)("ant-menu-item",!le.isMenuInsideDropDown)("ant-menu-item-selected",!le.isMenuInsideDropDown&&le.nzSelected)("ant-menu-item-danger",!le.isMenuInsideDropDown&&le.nzDanger)("ant-menu-item-disabled",!le.isMenuInsideDropDown&&le.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[s.TTD]}),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzDisabled",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzSelected",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzDanger",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzMatchRouterExact",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzMatchRouter",void 0),Ve})(),V=(()=>{class Ve{constructor(fe,le){this.cdr=fe,this.directionality=le,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new s.vpe,this.subMenuMouseState=new s.vpe,this.dir="ltr",this.destroy$=new T.x}ngOnInit(){var fe;this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(fe){this.nzDisabled||this.subMenuMouseState.next(fe)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.sBO),s.Y36(De.Is,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(fe,le){1&fe&&s.NdJ("click",function(){return le.clickTitle()})("mouseenter",function(){return le.setMouseState(!0)})("mouseleave",function(){return le.setMouseState(!1)}),2&fe&&(s.Udp("padding-left","rtl"===le.dir?null:le.paddingLeft,"px")("padding-right","rtl"===le.dir?le.paddingLeft:null,"px"),s.ekj("ant-dropdown-menu-submenu-title",le.isMenuInsideDropDown)("ant-menu-submenu-title",!le.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:Ie,ngContentSelectors:Ge,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(fe,le){if(1&fe&&(s.F$t(),s.YNc(0,oe,1,1,"span",0),s.YNc(1,me,3,1,"ng-container",1),s.Hsn(2),s.YNc(3,Le,3,2,"span",2),s.YNc(4,Ue,1,0,"ng-template",null,3,s.W1O)),2&fe){const ue=s.MAs(5);s.Q6J("ngIf",le.nzIcon),s.xp6(1),s.Q6J("nzStringTemplateOutlet",le.nzTitle),s.xp6(2),s.Q6J("ngIf",le.isMenuInsideDropDown)("ngIfElse",ue)}},dependencies:[re.O5,re.RF,re.n9,re.ED,_e.Ls,se.f],encapsulation:2,changeDetection:0}),Ve})(),J=(()=>{class Ve{constructor(fe,le,ue){this.elementRef=fe,this.renderer=le,this.directionality=ue,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new T.x}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var fe;this.calcMotionState(),this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le})}ngOnChanges(fe){const{mode:le,nzOpen:ue,menuClass:Ne}=fe;(le||ue)&&this.calcMotionState(),Ne&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(ie=>!!ie).forEach(ie=>{this.renderer.removeClass(this.elementRef.nativeElement,ie)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(ie=>!!ie).forEach(ie=>{this.renderer.addClass(this.elementRef.nativeElement,ie)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(De.Is,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(fe,le){2&fe&&(s.d8E("@collapseMotion",le.expandState),s.ekj("ant-menu-rtl","rtl"===le.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[s.TTD],attrs:gt,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(fe,le){1&fe&&s.YNc(0,Je,0,0,"ng-template",0),2&fe&&s.Q6J("ngTemplateOutlet",le.templateOutlet)},dependencies:[re.tP],encapsulation:2,data:{animation:[Se.J_]},changeDetection:0}),Ve})(),E=(()=>{class Ve{constructor(fe){this.directionality=fe,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new s.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new T.x}setMouseState(fe){this.nzDisabled||this.subMenuMouseState.next(fe)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var fe;this.calcMotionState(),this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le})}ngOnChanges(fe){const{mode:le,nzOpen:ue}=fe;(le||ue)&&this.calcMotionState()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(De.Is,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(fe,le){1&fe&&s.NdJ("mouseenter",function(){return le.setMouseState(!0)})("mouseleave",function(){return le.setMouseState(!1)}),2&fe&&(s.d8E("@slideMotion",le.expandState)("@zoomBigMotion",le.expandState),s.ekj("ant-menu-light","light"===le.theme)("ant-menu-dark","dark"===le.theme)("ant-menu-submenu-placement-bottom","horizontal"===le.mode)("ant-menu-submenu-placement-right","vertical"===le.mode&&"right"===le.position)("ant-menu-submenu-placement-left","vertical"===le.mode&&"left"===le.position)("ant-menu-submenu-rtl","rtl"===le.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[s.TTD],attrs:$e,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(fe,le){1&fe&&(s.TgZ(0,"div",0),s.YNc(1,St,0,0,"ng-template",1),s.qZA()),2&fe&&(s.ekj("ant-dropdown-menu",le.isMenuInsideDropDown)("ant-menu",!le.isMenuInsideDropDown)("ant-dropdown-menu-vertical",le.isMenuInsideDropDown)("ant-menu-vertical",!le.isMenuInsideDropDown)("ant-dropdown-menu-sub",le.isMenuInsideDropDown)("ant-menu-sub",!le.isMenuInsideDropDown)("ant-menu-rtl","rtl"===le.dir),s.Q6J("ngClass",le.menuClass),s.xp6(1),s.Q6J("ngTemplateOutlet",le.templateOutlet))},dependencies:[re.mk,re.tP],encapsulation:2,data:{animation:[Se.$C,Se.mF]},changeDetection:0}),Ve})();const I=[Fe.yW.rightTop,Fe.yW.right,Fe.yW.rightBottom,Fe.yW.leftTop,Fe.yW.left,Fe.yW.leftBottom],O=[Fe.yW.bottomLeft,Fe.yW.bottomRight,Fe.yW.topRight,Fe.yW.topLeft];let k=(()=>{class Ve{constructor(fe,le,ue,Ne,ie,ae,X){this.nzMenuService=fe,this.cdr=le,this.nzSubmenuService=ue,this.platform=Ne,this.isMenuInsideDropDown=ie,this.directionality=ae,this.noAnimation=X,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new s.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new T.x,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=I,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(fe){this.nzSubmenuService.setOpenStateWithoutDebounce(fe)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(fe){this.isActive=fe,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(fe)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(fe){const le=(0,Fe.d_)(fe);"rightTop"===le||"rightBottom"===le||"right"===le?this.position="right":("leftTop"===le||"leftBottom"===le||"left"===le)&&(this.position="left")}ngOnInit(){var fe;this.nzMenuService.theme$.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.theme=le,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.mode=le,"horizontal"===le?this.overlayPositions=[Fe.yW[this.nzPlacement],...O]:"vertical"===le&&(this.overlayPositions=I),this.cdr.markForCheck()}),(0,p.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,de.R)(this.destroy$)).subscribe(([le,ue])=>{this.inlinePaddingLeft="inline"===le?this.level*ue:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.isActive=le,le!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=le,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const fe=this.listOfNzMenuItemDirective,le=fe.changes,ue=(0,q.T)(le,...fe.map(Ne=>Ne.selected$));le.pipe((0,Te.O)(fe),(0,$.w)(()=>ue),(0,Te.O)(!0),(0,R.U)(()=>fe.some(Ne=>Ne.nzSelected)),(0,de.R)(this.destroy$)).subscribe(Ne=>{this.isSelected=Ne,this.cdr.markForCheck()})}ngOnChanges(fe){const{nzOpen:le}=fe;le&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(gn),s.Y36(s.sBO),s.Y36(Qe),s.Y36(be.t4),s.Y36(on),s.Y36(De.Is,8),s.Y36(B.P,9))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","nz-submenu",""]],contentQueries:function(fe,le,ue){if(1&fe&&(s.Suo(ue,Ve,5),s.Suo(ue,N,5)),2&fe){let Ne;s.iGM(Ne=s.CRH())&&(le.listOfNzSubMenuComponent=Ne),s.iGM(Ne=s.CRH())&&(le.listOfNzMenuItemDirective=Ne)}},viewQuery:function(fe,le){if(1&fe&&s.Gf(xe.xu,7,s.SBq),2&fe){let ue;s.iGM(ue=s.CRH())&&(le.cdkOverlayOrigin=ue.first)}},hostVars:34,hostBindings:function(fe,le){2&fe&&s.ekj("ant-dropdown-menu-submenu",le.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",le.isMenuInsideDropDown&&le.nzDisabled)("ant-dropdown-menu-submenu-open",le.isMenuInsideDropDown&&le.nzOpen)("ant-dropdown-menu-submenu-selected",le.isMenuInsideDropDown&&le.isSelected)("ant-dropdown-menu-submenu-vertical",le.isMenuInsideDropDown&&"vertical"===le.mode)("ant-dropdown-menu-submenu-horizontal",le.isMenuInsideDropDown&&"horizontal"===le.mode)("ant-dropdown-menu-submenu-inline",le.isMenuInsideDropDown&&"inline"===le.mode)("ant-dropdown-menu-submenu-active",le.isMenuInsideDropDown&&le.isActive)("ant-menu-submenu",!le.isMenuInsideDropDown)("ant-menu-submenu-disabled",!le.isMenuInsideDropDown&&le.nzDisabled)("ant-menu-submenu-open",!le.isMenuInsideDropDown&&le.nzOpen)("ant-menu-submenu-selected",!le.isMenuInsideDropDown&&le.isSelected)("ant-menu-submenu-vertical",!le.isMenuInsideDropDown&&"vertical"===le.mode)("ant-menu-submenu-horizontal",!le.isMenuInsideDropDown&&"horizontal"===le.mode)("ant-menu-submenu-inline",!le.isMenuInsideDropDown&&"inline"===le.mode)("ant-menu-submenu-active",!le.isMenuInsideDropDown&&le.isActive)("ant-menu-submenu-rtl","rtl"===le.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[s._Bn([Qe]),s.TTD],attrs:it,ngContentSelectors:lt,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(fe,le){if(1&fe&&(s.F$t(kn),s.TgZ(0,"div",0,1),s.NdJ("subMenuMouseState",function(Ne){return le.setMouseEnterState(Ne)})("toggleSubMenu",function(){return le.toggleSubMenu()}),s.YNc(2,yt,1,0,"ng-content",2),s.qZA(),s.YNc(3,Pe,1,6,"div",3),s.YNc(4,pt,1,5,"ng-template",null,4,s.W1O),s.YNc(6,Rt,1,0,"ng-template",null,5,s.W1O)),2&fe){const ue=s.MAs(5);s.Q6J("nzIcon",le.nzIcon)("nzTitle",le.nzTitle)("mode",le.mode)("nzDisabled",le.nzDisabled)("isMenuInsideDropDown",le.isMenuInsideDropDown)("paddingLeft",le.nzPaddingLeft||le.inlinePaddingLeft),s.xp6(2),s.Q6J("ngIf",!le.nzTitle),s.xp6(1),s.Q6J("ngIf","inline"===le.mode)("ngIfElse",ue)}},dependencies:[re.O5,xe.pI,xe.xu,B.P,V,J,E],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzOpen",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzDisabled",void 0),Ve})();function ge(Ve,_t){return Ve||_t}function Oe(Ve){return Ve||!1}let He=(()=>{class Ve{constructor(fe,le,ue,Ne){this.nzMenuService=fe,this.isMenuInsideDropDown=le,this.cdr=ue,this.directionality=Ne,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new s.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new Y.X(this.nzInlineCollapsed),this.mode$=new Y.X(this.nzMode),this.destroy$=new T.x,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(fe){this.nzInlineCollapsed=fe,this.inlineCollapsed$.next(fe)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(fe=>fe.nzOpen),this.listOfNzSubMenuComponent.forEach(fe=>fe.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(fe=>fe.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var fe;(0,p.a)([this.inlineCollapsed$,this.mode$]).pipe((0,de.R)(this.destroy$)).subscribe(([le,ue])=>{this.actualMode=le?"vertical":ue,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.nzClick.emit(le),this.nzSelectable&&!le.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(ue=>ue.setSelectedState(ue===le))}),this.dir=this.directionality.value,null===(fe=this.directionality.change)||void 0===fe||fe.pipe((0,de.R)(this.destroy$)).subscribe(le=>{this.dir=le,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,de.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(fe){const{nzInlineCollapsed:le,nzInlineIndent:ue,nzTheme:Ne,nzMode:ie}=fe;le&&this.inlineCollapsed$.next(this.nzInlineCollapsed),ue&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Ne&&this.nzMenuService.setTheme(this.nzTheme),ie&&(this.mode$.next(this.nzMode),!fe.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(ae=>ae.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(gn),s.Y36(on),s.Y36(s.sBO),s.Y36(De.Is,8))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","nz-menu",""]],contentQueries:function(fe,le,ue){if(1&fe&&(s.Suo(ue,N,5),s.Suo(ue,k,5)),2&fe){let Ne;s.iGM(Ne=s.CRH())&&(le.listOfNzMenuItemDirective=Ne),s.iGM(Ne=s.CRH())&&(le.listOfNzSubMenuComponent=Ne)}},hostVars:34,hostBindings:function(fe,le){2&fe&&s.ekj("ant-dropdown-menu",le.isMenuInsideDropDown)("ant-dropdown-menu-root",le.isMenuInsideDropDown)("ant-dropdown-menu-light",le.isMenuInsideDropDown&&"light"===le.nzTheme)("ant-dropdown-menu-dark",le.isMenuInsideDropDown&&"dark"===le.nzTheme)("ant-dropdown-menu-vertical",le.isMenuInsideDropDown&&"vertical"===le.actualMode)("ant-dropdown-menu-horizontal",le.isMenuInsideDropDown&&"horizontal"===le.actualMode)("ant-dropdown-menu-inline",le.isMenuInsideDropDown&&"inline"===le.actualMode)("ant-dropdown-menu-inline-collapsed",le.isMenuInsideDropDown&&le.nzInlineCollapsed)("ant-menu",!le.isMenuInsideDropDown)("ant-menu-root",!le.isMenuInsideDropDown)("ant-menu-light",!le.isMenuInsideDropDown&&"light"===le.nzTheme)("ant-menu-dark",!le.isMenuInsideDropDown&&"dark"===le.nzTheme)("ant-menu-vertical",!le.isMenuInsideDropDown&&"vertical"===le.actualMode)("ant-menu-horizontal",!le.isMenuInsideDropDown&&"horizontal"===le.actualMode)("ant-menu-inline",!le.isMenuInsideDropDown&&"inline"===le.actualMode)("ant-menu-inline-collapsed",!le.isMenuInsideDropDown&&le.nzInlineCollapsed)("ant-menu-rtl","rtl"===le.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[s._Bn([{provide:ft,useClass:gn},{provide:gn,useFactory:ge,deps:[[new s.tp0,new s.FiY,gn],ft]},{provide:on,useFactory:Oe,deps:[[new s.tp0,new s.FiY,on]]}]),s.TTD]}),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzInlineCollapsed",void 0),(0,a.gn)([(0,Me.yF)()],Ve.prototype,"nzSelectable",void 0),Ve})(),kt=(()=>{class Ve{}return Ve.\u0275fac=function(fe){return new(fe||Ve)},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({imports:[De.vT,re.ez,be.ud,xe.U8,_e.PV,B.g,se.T]}),Ve})()},49651:(ot,pe,h)=>{h.d(pe,{Ay:()=>Se,Gm:()=>se,XJ:()=>_e,dD:()=>Le,gR:()=>Ue});var a=h(84080),s=h(94650),T=h(77579),Y=h(39300),q=h(95698),p=h(82722),R=h(72536),w=h(3187),P=h(36895),A=h(32539),U=h(21102),G=h(66287),de=h(33303),Te=h(98184),$=h(40445);function Me(Ge,gt){1&Ge&&s._UZ(0,"span",10)}function j(Ge,gt){1&Ge&&s._UZ(0,"span",11)}function De(Ge,gt){1&Ge&&s._UZ(0,"span",12)}function xe(Ge,gt){1&Ge&&s._UZ(0,"span",13)}function Fe(Ge,gt){1&Ge&&s._UZ(0,"span",14)}function be(Ge,gt){if(1&Ge&&(s.ynx(0),s._UZ(1,"span",15),s.BQk()),2&Ge){const Je=s.oxw();s.xp6(1),s.Q6J("innerHTML",Je.instance.content,s.oJD)}}function B(Ge,gt){if(1&Ge){const Je=s.EpF();s.TgZ(0,"nz-message",2),s.NdJ("destroyed",function(St){s.CHM(Je);const it=s.oxw();return s.KtG(it.remove(St.id,St.userAction))}),s.qZA()}2&Ge&&s.Q6J("instance",gt.$implicit)}let re=0;class _e{constructor(gt,Je,$e){this.nzSingletonService=gt,this.overlay=Je,this.injector=$e}remove(gt){this.container&&(gt?this.container.remove(gt):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${re++}`}withContainer(gt){let Je=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(Je)return Je;const $e=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),St=new a.C5(gt,null,this.injector),it=$e.attach(St);return $e.overlayElement.style.zIndex="1010",Je||(this.container=Je=it.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,Je)),Je}}let se=(()=>{class Ge{constructor(Je,$e){this.cdr=Je,this.nzConfigService=$e,this.instances=[],this.destroy$=new T.x,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(Je){const $e=this.onCreate(Je);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,$e],this.readyInstances(),$e}remove(Je,$e=!1){this.instances.some((St,it)=>St.messageId===Je&&(this.instances.splice(it,1),this.instances=[...this.instances],this.onRemove(St,$e),this.readyInstances(),!0))}removeAll(){this.instances.forEach(Je=>this.onRemove(Je,!1)),this.instances=[],this.readyInstances()}onCreate(Je){return Je.options=this.mergeOptions(Je.options),Je.onClose=new T.x,Je}onRemove(Je,$e){Je.onClose.next($e),Je.onClose.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(Je){const{nzDuration:$e,nzAnimate:St,nzPauseOnHover:it}=this.config;return{nzDuration:$e,nzAnimate:St,nzPauseOnHover:it,...Je}}}return Ge.\u0275fac=function(Je){return new(Je||Ge)(s.Y36(s.sBO),s.Y36(R.jY))},Ge.\u0275dir=s.lG2({type:Ge}),Ge})(),Se=(()=>{class Ge{constructor(Je){this.cdr=Je,this.destroyed=new s.vpe,this.animationStateChanged=new T.x,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe((0,Y.h)(Je=>"done"===Je.phaseName&&"leave"===Je.toState),(0,q.q)(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(Je=!1){this.userAction=Je,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:Je})},200)):this.destroyed.next({id:this.instance.messageId,userAction:Je})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}}return Ge.\u0275fac=function(Je){return new(Je||Ge)(s.Y36(s.sBO))},Ge.\u0275dir=s.lG2({type:Ge}),Ge})(),Ie=(()=>{class Ge extends Se{constructor(Je){super(Je),this.destroyed=new s.vpe}}return Ge.\u0275fac=function(Je){return new(Je||Ge)(s.Y36(s.sBO))},Ge.\u0275cmp=s.Xpm({type:Ge,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[s.qOj],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(Je,$e){1&Je&&(s.TgZ(0,"div",0),s.NdJ("@moveUpMotion.done",function(it){return $e.animationStateChanged.next(it)})("mouseenter",function(){return $e.onEnter()})("mouseleave",function(){return $e.onLeave()}),s.TgZ(1,"div",1)(2,"div",2),s.ynx(3,3),s.YNc(4,Me,1,0,"span",4),s.YNc(5,j,1,0,"span",5),s.YNc(6,De,1,0,"span",6),s.YNc(7,xe,1,0,"span",7),s.YNc(8,Fe,1,0,"span",8),s.BQk(),s.YNc(9,be,2,1,"ng-container",9),s.qZA()()()),2&Je&&(s.Q6J("@moveUpMotion",$e.instance.state),s.xp6(2),s.Q6J("ngClass","ant-message-"+$e.instance.type),s.xp6(1),s.Q6J("ngSwitch",$e.instance.type),s.xp6(1),s.Q6J("ngSwitchCase","success"),s.xp6(1),s.Q6J("ngSwitchCase","info"),s.xp6(1),s.Q6J("ngSwitchCase","warning"),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","loading"),s.xp6(1),s.Q6J("nzStringTemplateOutlet",$e.instance.content))},dependencies:[P.mk,P.RF,P.n9,U.Ls,G.f],encapsulation:2,data:{animation:[A.YK]},changeDetection:0}),Ge})();const oe="message",me={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let Q=(()=>{class Ge extends se{constructor(Je,$e){super(Je,$e),this.dir="ltr";const St=this.nzConfigService.getConfigForComponent(oe);this.dir=St?.nzDirection||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(oe).pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const Je=this.nzConfigService.getConfigForComponent(oe);if(Je){const{nzDirection:$e}=Je;this.dir=$e||this.dir}})}updateConfig(){this.config={...me,...this.config,...this.nzConfigService.getConfigForComponent(oe)},this.top=(0,w.WX)(this.config.nzTop),this.cdr.markForCheck()}}return Ge.\u0275fac=function(Je){return new(Je||Ge)(s.Y36(s.sBO),s.Y36(R.jY))},Ge.\u0275cmp=s.Xpm({type:Ge,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[s.qOj],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(Je,$e){1&Je&&(s.TgZ(0,"div",0),s.YNc(1,B,1,1,"nz-message",1),s.qZA()),2&Je&&(s.Udp("top",$e.top),s.ekj("ant-message-rtl","rtl"===$e.dir),s.xp6(1),s.Q6J("ngForOf",$e.instances))},dependencies:[P.sg,Ie],encapsulation:2,changeDetection:0}),Ge})(),Ce=(()=>{class Ge{}return Ge.\u0275fac=function(Je){return new(Je||Ge)},Ge.\u0275mod=s.oAB({type:Ge}),Ge.\u0275inj=s.cJS({}),Ge})(),Le=(()=>{class Ge extends _e{constructor(Je,$e,St){super(Je,$e,St),this.componentPrefix="message-"}success(Je,$e){return this.createInstance({type:"success",content:Je},$e)}error(Je,$e){return this.createInstance({type:"error",content:Je},$e)}info(Je,$e){return this.createInstance({type:"info",content:Je},$e)}warning(Je,$e){return this.createInstance({type:"warning",content:Je},$e)}loading(Je,$e){return this.createInstance({type:"loading",content:Je},$e)}create(Je,$e,St){return this.createInstance({type:Je,content:$e},St)}createInstance(Je,$e){return this.container=this.withContainer(Q),this.container.create({...Je,createdAt:new Date,messageId:this.getInstanceId(),options:$e})}}return Ge.\u0275fac=function(Je){return new(Je||Ge)(s.LFG(de.KV),s.LFG(Te.aV),s.LFG(s.zs3))},Ge.\u0275prov=s.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:Ce}),Ge})(),Ue=(()=>{class Ge{}return Ge.\u0275fac=function(Je){return new(Je||Ge)},Ge.\u0275mod=s.oAB({type:Ge}),Ge.\u0275inj=s.cJS({imports:[$.vT,P.ez,Te.U8,U.PV,G.T,Ce]}),Ge})()},60387:(ot,pe,h)=>{h.d(pe,{L8:()=>Je,zb:()=>St});var a=h(94650),s=h(32539),T=h(49651),Y=h(36895),q=h(21102),p=h(66287),R=h(40445),w=h(98184),P=h(77579),A=h(82722),U=h(3187),G=h(72536),de=h(33303);function Te(it,yt){1&it&&a._UZ(0,"span",16)}function $(it,yt){1&it&&a._UZ(0,"span",17)}function Me(it,yt){1&it&&a._UZ(0,"span",18)}function j(it,yt){1&it&&a._UZ(0,"span",19)}const De=function(it){return{"ant-notification-notice-with-icon":it}};function xe(it,yt){if(1&it&&(a.TgZ(0,"div",7)(1,"div",8)(2,"div"),a.ynx(3,9),a.YNc(4,Te,1,0,"span",10),a.YNc(5,$,1,0,"span",11),a.YNc(6,Me,1,0,"span",12),a.YNc(7,j,1,0,"span",13),a.BQk(),a._UZ(8,"div",14)(9,"div",15),a.qZA()()()),2&it){const Pe=a.oxw();a.xp6(1),a.Q6J("ngClass",a.VKq(10,De,"blank"!==Pe.instance.type)),a.xp6(1),a.ekj("ant-notification-notice-with-icon","blank"!==Pe.instance.type),a.xp6(1),a.Q6J("ngSwitch",Pe.instance.type),a.xp6(1),a.Q6J("ngSwitchCase","success"),a.xp6(1),a.Q6J("ngSwitchCase","info"),a.xp6(1),a.Q6J("ngSwitchCase","warning"),a.xp6(1),a.Q6J("ngSwitchCase","error"),a.xp6(1),a.Q6J("innerHTML",Pe.instance.title,a.oJD),a.xp6(1),a.Q6J("innerHTML",Pe.instance.content,a.oJD)}}function Fe(it,yt){}function be(it,yt){if(1&it&&(a.ynx(0),a._UZ(1,"span",21),a.BQk()),2&it){const Pe=yt.$implicit;a.xp6(1),a.Q6J("nzType",Pe)}}function B(it,yt){if(1&it&&(a.ynx(0),a.YNc(1,be,2,1,"ng-container",20),a.BQk()),2&it){const Pe=a.oxw();a.xp6(1),a.Q6J("nzStringTemplateOutlet",null==Pe.instance.options?null:Pe.instance.options.nzCloseIcon)}}function re(it,yt){1&it&&a._UZ(0,"span",22)}const _e=function(it,yt){return{$implicit:it,data:yt}};function se(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","topLeft")}function Se(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","topRight")}function Ie(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","bottomLeft")}function oe(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","bottomRight")}function me(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","top")}function Q(it,yt){if(1&it){const Pe=a.EpF();a.TgZ(0,"nz-notification",7),a.NdJ("destroyed",function(pt){a.CHM(Pe);const Rt=a.oxw();return a.KtG(Rt.remove(pt.id,pt.userAction))}),a.qZA()}2&it&&a.Q6J("instance",yt.$implicit)("placement","bottom")}let Ce=(()=>{class it extends T.Ay{constructor(Pe){super(Pe),this.destroyed=new a.vpe}ngOnDestroy(){super.ngOnDestroy(),this.instance.onClick.complete()}onClick(Pe){this.instance.onClick.next(Pe)}close(){this.destroy(!0)}get state(){if("enter"!==this.instance.state)return this.instance.state;switch(this.placement){case"topLeft":case"bottomLeft":return"enterLeft";case"topRight":case"bottomRight":default:return"enterRight";case"top":return"enterTop";case"bottom":return"enterBottom"}}}return it.\u0275fac=function(Pe){return new(Pe||it)(a.Y36(a.sBO))},it.\u0275cmp=a.Xpm({type:it,selectors:[["nz-notification"]],inputs:{instance:"instance",index:"index",placement:"placement"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[a.qOj],decls:8,vars:12,consts:[[1,"ant-notification-notice","ant-notification-notice-closable",3,"ngStyle","ngClass","click","mouseenter","mouseleave"],["class","ant-notification-notice-content",4,"ngIf"],[3,"ngIf","ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",1,"ant-notification-notice-close",3,"click"],[1,"ant-notification-notice-close-x"],[4,"ngIf","ngIfElse"],["iconTpl",""],[1,"ant-notification-notice-content"],[1,"ant-notification-notice-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle","class","ant-notification-notice-icon ant-notification-notice-icon-success",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle","class","ant-notification-notice-icon ant-notification-notice-icon-info",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle","class","ant-notification-notice-icon ant-notification-notice-icon-warning",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle","class","ant-notification-notice-icon ant-notification-notice-icon-error",4,"ngSwitchCase"],[1,"ant-notification-notice-message",3,"innerHTML"],[1,"ant-notification-notice-description",3,"innerHTML"],["nz-icon","","nzType","check-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-success"],["nz-icon","","nzType","info-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-info"],["nz-icon","","nzType","exclamation-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-warning"],["nz-icon","","nzType","close-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-error"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","close",1,"ant-notification-close-icon"]],template:function(Pe,nt){if(1&Pe&&(a.TgZ(0,"div",0),a.NdJ("@notificationMotion.done",function(Rt){return nt.animationStateChanged.next(Rt)})("click",function(Rt){return nt.onClick(Rt)})("mouseenter",function(){return nt.onEnter()})("mouseleave",function(){return nt.onLeave()}),a.YNc(1,xe,10,12,"div",1),a.YNc(2,Fe,0,0,"ng-template",2),a.TgZ(3,"a",3),a.NdJ("click",function(){return nt.close()}),a.TgZ(4,"span",4),a.YNc(5,B,2,1,"ng-container",5),a.YNc(6,re,1,0,"ng-template",null,6,a.W1O),a.qZA()()()),2&Pe){const pt=a.MAs(7);a.Q6J("ngStyle",(null==nt.instance.options?null:nt.instance.options.nzStyle)||null)("ngClass",(null==nt.instance.options?null:nt.instance.options.nzClass)||"")("@notificationMotion",nt.state),a.xp6(1),a.Q6J("ngIf",!nt.instance.template),a.xp6(1),a.Q6J("ngIf",nt.instance.template)("ngTemplateOutlet",nt.instance.template)("ngTemplateOutletContext",a.WLB(9,_e,nt,null==nt.instance.options?null:nt.instance.options.nzData)),a.xp6(3),a.Q6J("ngIf",null==nt.instance.options?null:nt.instance.options.nzCloseIcon)("ngIfElse",pt)}},dependencies:[Y.mk,Y.O5,Y.tP,Y.PC,Y.RF,Y.n9,q.Ls,p.f],encapsulation:2,data:{animation:[s.LU]}}),it})();const Le="notification",Ue={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"};let Ge=(()=>{class it extends T.Gm{constructor(Pe,nt){super(Pe,nt),this.dir="ltr",this.instances=[],this.topLeftInstances=[],this.topRightInstances=[],this.bottomLeftInstances=[],this.bottomRightInstances=[],this.topInstances=[],this.bottomInstances=[];const pt=this.nzConfigService.getConfigForComponent(Le);this.dir=pt?.nzDirection||"ltr"}create(Pe){const nt=this.onCreate(Pe),pt=nt.options.nzKey,Rt=this.instances.find(kn=>kn.options.nzKey===Pe.options.nzKey);return pt&&Rt?this.replaceNotification(Rt,nt):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,nt]),this.readyInstances(),nt}onCreate(Pe){return Pe.options=this.mergeOptions(Pe.options),Pe.onClose=new P.x,Pe.onClick=new P.x,Pe}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(Le).pipe((0,A.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const Pe=this.nzConfigService.getConfigForComponent(Le);if(Pe){const{nzDirection:nt}=Pe;this.dir=nt||this.dir}})}updateConfig(){this.config={...Ue,...this.config,...this.nzConfigService.getConfigForComponent(Le)},this.top=(0,U.WX)(this.config.nzTop),this.bottom=(0,U.WX)(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(Pe,nt){Pe.title=nt.title,Pe.content=nt.content,Pe.template=nt.template,Pe.type=nt.type,Pe.options=nt.options}readyInstances(){const Pe={topLeft:[],topRight:[],bottomLeft:[],bottomRight:[],top:[],bottom:[]};this.instances.forEach(nt=>{switch(nt.options.nzPlacement){case"topLeft":Pe.topLeft.push(nt);break;case"topRight":default:Pe.topRight.push(nt);break;case"bottomLeft":Pe.bottomLeft.push(nt);break;case"bottomRight":Pe.bottomRight.push(nt);break;case"top":Pe.top.push(nt);break;case"bottom":Pe.bottom.push(nt)}}),this.topLeftInstances=Pe.topLeft,this.topRightInstances=Pe.topRight,this.bottomLeftInstances=Pe.bottomLeft,this.bottomRightInstances=Pe.bottomRight,this.topInstances=Pe.top,this.bottomInstances=Pe.bottom,this.cdr.detectChanges()}mergeOptions(Pe){const{nzDuration:nt,nzAnimate:pt,nzPauseOnHover:Rt,nzPlacement:kn}=this.config;return{nzDuration:nt,nzAnimate:pt,nzPauseOnHover:Rt,nzPlacement:kn,...Pe}}}return it.\u0275fac=function(Pe){return new(Pe||it)(a.Y36(a.sBO),a.Y36(G.jY))},it.\u0275cmp=a.Xpm({type:it,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[a.qOj],decls:12,vars:46,consts:[[1,"ant-notification","ant-notification-topLeft"],[3,"instance","placement","destroyed",4,"ngFor","ngForOf"],[1,"ant-notification","ant-notification-topRight"],[1,"ant-notification","ant-notification-bottomLeft"],[1,"ant-notification","ant-notification-bottomRight"],[1,"ant-notification","ant-notification-top"],[1,"ant-notification","ant-notification-bottom"],[3,"instance","placement","destroyed"]],template:function(Pe,nt){1&Pe&&(a.TgZ(0,"div",0),a.YNc(1,se,1,2,"nz-notification",1),a.qZA(),a.TgZ(2,"div",2),a.YNc(3,Se,1,2,"nz-notification",1),a.qZA(),a.TgZ(4,"div",3),a.YNc(5,Ie,1,2,"nz-notification",1),a.qZA(),a.TgZ(6,"div",4),a.YNc(7,oe,1,2,"nz-notification",1),a.qZA(),a.TgZ(8,"div",5),a.YNc(9,me,1,2,"nz-notification",1),a.qZA(),a.TgZ(10,"div",6),a.YNc(11,Q,1,2,"nz-notification",1),a.qZA()),2&Pe&&(a.Udp("top",nt.top)("left","0px"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.topLeftInstances),a.xp6(1),a.Udp("top",nt.top)("right","0px"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.topRightInstances),a.xp6(1),a.Udp("bottom",nt.bottom)("left","0px"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.bottomLeftInstances),a.xp6(1),a.Udp("bottom",nt.bottom)("right","0px"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.bottomRightInstances),a.xp6(1),a.Udp("top",nt.top)("left","50%")("transform","translateX(-50%)"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.topInstances),a.xp6(1),a.Udp("bottom",nt.bottom)("left","50%")("transform","translateX(-50%)"),a.ekj("ant-notification-rtl","rtl"===nt.dir),a.xp6(1),a.Q6J("ngForOf",nt.bottomInstances))},dependencies:[Y.sg,Ce],encapsulation:2,changeDetection:0}),it})(),gt=(()=>{class it{}return it.\u0275fac=function(Pe){return new(Pe||it)},it.\u0275mod=a.oAB({type:it}),it.\u0275inj=a.cJS({}),it})(),Je=(()=>{class it{}return it.\u0275fac=function(Pe){return new(Pe||it)},it.\u0275mod=a.oAB({type:it}),it.\u0275inj=a.cJS({imports:[R.vT,Y.ez,w.U8,q.PV,p.T,gt]}),it})(),$e=0,St=(()=>{class it extends T.XJ{constructor(Pe,nt,pt){super(Pe,nt,pt),this.componentPrefix="notification-"}success(Pe,nt,pt){return this.createInstance({type:"success",title:Pe,content:nt},pt)}error(Pe,nt,pt){return this.createInstance({type:"error",title:Pe,content:nt},pt)}info(Pe,nt,pt){return this.createInstance({type:"info",title:Pe,content:nt},pt)}warning(Pe,nt,pt){return this.createInstance({type:"warning",title:Pe,content:nt},pt)}blank(Pe,nt,pt){return this.createInstance({type:"blank",title:Pe,content:nt},pt)}create(Pe,nt,pt,Rt){return this.createInstance({type:Pe,title:nt,content:pt},Rt)}template(Pe,nt){return this.createInstance({template:Pe},nt)}generateMessageId(){return`${this.componentPrefix}-${$e++}`}createInstance(Pe,nt){return this.container=this.withContainer(Ge),this.container.create({...Pe,createdAt:new Date,messageId:this.generateMessageId(),options:nt})}}return it.\u0275fac=function(Pe){return new(Pe||it)(a.LFG(de.KV),a.LFG(w.aV),a.LFG(a.zs3))},it.\u0275prov=a.Yz7({token:it,factory:it.\u0275fac,providedIn:gt}),it})()}},ot=>{ot(ot.s=82526)}]);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy