"use strict";(self.webpackChunkng=self.webpackChunkng||[]).push([[179],{98809:(wt,Oe,p)=>{p.d(Oe,{T6:()=>j,VD:()=>ne,WE:()=>S,Yt:()=>Pe,lC:()=>g,py:()=>F,rW:()=>e,s:()=>z,ve:()=>h,vq:()=>b});var o=p(42567);function e(ee,pe,X){return{r:255*(0,o.sh)(ee,255),g:255*(0,o.sh)(pe,255),b:255*(0,o.sh)(X,255)}}function g(ee,pe,X){ee=(0,o.sh)(ee,255),pe=(0,o.sh)(pe,255),X=(0,o.sh)(X,255);var Ne=Math.max(ee,pe,X),ve=Math.min(ee,pe,X),T=0,Y=0,k=(Ne+ve)/2;if(Ne===ve)Y=0,T=0;else{var q=Ne-ve;switch(Y=k>.5?q/(2-Ne-ve):q/(Ne+ve),Ne){case ee:T=(pe-X)/q+(pe1&&(X-=1),X<1/6?ee+6*X*(pe-ee):X<.5?pe:X<2/3?ee+(pe-ee)*(2/3-X)*6:ee}function h(ee,pe,X){var Ne,ve,T;if(ee=(0,o.sh)(ee,360),pe=(0,o.sh)(pe,100),X=(0,o.sh)(X,100),0===pe)ve=X,T=X,Ne=X;else{var Y=X<.5?X*(1+pe):X+pe-X*pe,k=2*X-Y;Ne=s(k,Y,ee+1/3),ve=s(k,Y,ee),T=s(k,Y,ee-1/3)}return{r:255*Ne,g:255*ve,b:255*T}}function F(ee,pe,X){ee=(0,o.sh)(ee,255),pe=(0,o.sh)(pe,255),X=(0,o.sh)(X,255);var Ne=Math.max(ee,pe,X),ve=Math.min(ee,pe,X),T=0,Y=Ne,k=Ne-ve,q=0===Ne?0:k/Ne;if(Ne===ve)T=0;else{switch(Ne){case ee:T=(pe-X)/k+(pe>16,g:(65280&ee)>>8,b:255&ee}}},3487:(wt,Oe,p)=>{p.d(Oe,{R:()=>o});var o={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:(wt,Oe,p)=>{p.d(Oe,{uA:()=>s});var o=p(98809),e=p(3487),g=p(42567);function s(ne){var Pe={r:0,g:0,b:0},ee=1,pe=null,X=null,Ne=null,ve=!1,T=!1;return"string"==typeof ne&&(ne=function A(ne){if(0===(ne=ne.trim().toLowerCase()).length)return!1;var Pe=!1;if(e.R[ne])ne=e.R[ne],Pe=!0;else if("transparent"===ne)return{r:0,g:0,b:0,a:0,format:"name"};var ee=H.rgb.exec(ne);return ee?{r:ee[1],g:ee[2],b:ee[3]}:(ee=H.rgba.exec(ne))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=H.hsl.exec(ne))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=H.hsla.exec(ne))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=H.hsv.exec(ne))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=H.hsva.exec(ne))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=H.hex8.exec(ne))?{r:(0,o.VD)(ee[1]),g:(0,o.VD)(ee[2]),b:(0,o.VD)(ee[3]),a:(0,o.T6)(ee[4]),format:Pe?"name":"hex8"}:(ee=H.hex6.exec(ne))?{r:(0,o.VD)(ee[1]),g:(0,o.VD)(ee[2]),b:(0,o.VD)(ee[3]),format:Pe?"name":"hex"}:(ee=H.hex4.exec(ne))?{r:(0,o.VD)(ee[1]+ee[1]),g:(0,o.VD)(ee[2]+ee[2]),b:(0,o.VD)(ee[3]+ee[3]),a:(0,o.T6)(ee[4]+ee[4]),format:Pe?"name":"hex8"}:!!(ee=H.hex3.exec(ne))&&{r:(0,o.VD)(ee[1]+ee[1]),g:(0,o.VD)(ee[2]+ee[2]),b:(0,o.VD)(ee[3]+ee[3]),format:Pe?"name":"hex"}}(ne)),"object"==typeof ne&&(j(ne.r)&&j(ne.g)&&j(ne.b)?(Pe=(0,o.rW)(ne.r,ne.g,ne.b),ve=!0,T="%"===String(ne.r).substr(-1)?"prgb":"rgb"):j(ne.h)&&j(ne.s)&&j(ne.v)?(pe=(0,g.JX)(ne.s),X=(0,g.JX)(ne.v),Pe=(0,o.WE)(ne.h,pe,X),ve=!0,T="hsv"):j(ne.h)&&j(ne.s)&&j(ne.l)&&(pe=(0,g.JX)(ne.s),Ne=(0,g.JX)(ne.l),Pe=(0,o.ve)(ne.h,pe,Ne),ve=!0,T="hsl"),Object.prototype.hasOwnProperty.call(ne,"a")&&(ee=ne.a)),ee=(0,g.Yq)(ee),{ok:ve,format:ne.format||T,r:Math.min(255,Math.max(Pe.r,0)),g:Math.min(255,Math.max(Pe.g,0)),b:Math.min(255,Math.max(Pe.b,0)),a:ee}}var S="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),b="[\\s|\\(]+(".concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")\\s*\\)?"),z="[\\s|\\(]+(".concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")\\s*\\)?"),H={CSS_UNIT:new RegExp(S),rgb:new RegExp("rgb"+b),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+b),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+b),hsva:new RegExp("hsva"+z),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 j(ne){return Boolean(H.CSS_UNIT.exec(String(ne)))}},45192:(wt,Oe,p)=>{p.d(Oe,{C:()=>h});var o=p(98809),e=p(3487),g=p(47952),s=p(42567),h=function(){function S(b,z){var H;if(void 0===b&&(b=""),void 0===z&&(z={}),b instanceof S)return b;"number"==typeof b&&(b=(0,o.Yt)(b)),this.originalInput=b;var A=(0,g.uA)(b);this.originalInput=b,this.r=A.r,this.g=A.g,this.b=A.b,this.a=A.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(H=z.format)&&void 0!==H?H:A.format,this.gradientType=z.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=A.ok}return S.prototype.isDark=function(){return this.getBrightness()<128},S.prototype.isLight=function(){return!this.isDark()},S.prototype.getBrightness=function(){var b=this.toRgb();return(299*b.r+587*b.g+114*b.b)/1e3},S.prototype.getLuminance=function(){var b=this.toRgb(),j=b.r/255,ne=b.g/255,Pe=b.b/255;return.2126*(j<=.03928?j/12.92:Math.pow((j+.055)/1.055,2.4))+.7152*(ne<=.03928?ne/12.92:Math.pow((ne+.055)/1.055,2.4))+.0722*(Pe<=.03928?Pe/12.92:Math.pow((Pe+.055)/1.055,2.4))},S.prototype.getAlpha=function(){return this.a},S.prototype.setAlpha=function(b){return this.a=(0,s.Yq)(b),this.roundA=Math.round(100*this.a)/100,this},S.prototype.toHsv=function(){var b=(0,o.py)(this.r,this.g,this.b);return{h:360*b.h,s:b.s,v:b.v,a:this.a}},S.prototype.toHsvString=function(){var b=(0,o.py)(this.r,this.g,this.b),z=Math.round(360*b.h),H=Math.round(100*b.s),A=Math.round(100*b.v);return 1===this.a?"hsv(".concat(z,", ").concat(H,"%, ").concat(A,"%)"):"hsva(".concat(z,", ").concat(H,"%, ").concat(A,"%, ").concat(this.roundA,")")},S.prototype.toHsl=function(){var b=(0,o.lC)(this.r,this.g,this.b);return{h:360*b.h,s:b.s,l:b.l,a:this.a}},S.prototype.toHslString=function(){var b=(0,o.lC)(this.r,this.g,this.b),z=Math.round(360*b.h),H=Math.round(100*b.s),A=Math.round(100*b.l);return 1===this.a?"hsl(".concat(z,", ").concat(H,"%, ").concat(A,"%)"):"hsla(".concat(z,", ").concat(H,"%, ").concat(A,"%, ").concat(this.roundA,")")},S.prototype.toHex=function(b){return void 0===b&&(b=!1),(0,o.vq)(this.r,this.g,this.b,b)},S.prototype.toHexString=function(b){return void 0===b&&(b=!1),"#"+this.toHex(b)},S.prototype.toHex8=function(b){return void 0===b&&(b=!1),(0,o.s)(this.r,this.g,this.b,this.a,b)},S.prototype.toHex8String=function(b){return void 0===b&&(b=!1),"#"+this.toHex8(b)},S.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},S.prototype.toRgbString=function(){var b=Math.round(this.r),z=Math.round(this.g),H=Math.round(this.b);return 1===this.a?"rgb(".concat(b,", ").concat(z,", ").concat(H,")"):"rgba(".concat(b,", ").concat(z,", ").concat(H,", ").concat(this.roundA,")")},S.prototype.toPercentageRgb=function(){var b=function(z){return"".concat(Math.round(100*(0,s.sh)(z,255)),"%")};return{r:b(this.r),g:b(this.g),b:b(this.b),a:this.a}},S.prototype.toPercentageRgbString=function(){var b=function(z){return Math.round(100*(0,s.sh)(z,255))};return 1===this.a?"rgb(".concat(b(this.r),"%, ").concat(b(this.g),"%, ").concat(b(this.b),"%)"):"rgba(".concat(b(this.r),"%, ").concat(b(this.g),"%, ").concat(b(this.b),"%, ").concat(this.roundA,")")},S.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var b="#"+(0,o.vq)(this.r,this.g,this.b,!1),z=0,H=Object.entries(e.R);z=0&&(b.startsWith("hex")||"name"===b)?"name"===b&&0===this.a?this.toName():this.toRgbString():("rgb"===b&&(H=this.toRgbString()),"prgb"===b&&(H=this.toPercentageRgbString()),("hex"===b||"hex6"===b)&&(H=this.toHexString()),"hex3"===b&&(H=this.toHexString(!0)),"hex4"===b&&(H=this.toHex8String(!0)),"hex8"===b&&(H=this.toHex8String()),"name"===b&&(H=this.toName()),"hsl"===b&&(H=this.toHslString()),"hsv"===b&&(H=this.toHsvString()),H||this.toHexString())},S.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},S.prototype.clone=function(){return new S(this.toString())},S.prototype.lighten=function(b){void 0===b&&(b=10);var z=this.toHsl();return z.l+=b/100,z.l=(0,s.V2)(z.l),new S(z)},S.prototype.brighten=function(b){void 0===b&&(b=10);var z=this.toRgb();return z.r=Math.max(0,Math.min(255,z.r-Math.round(-b/100*255))),z.g=Math.max(0,Math.min(255,z.g-Math.round(-b/100*255))),z.b=Math.max(0,Math.min(255,z.b-Math.round(-b/100*255))),new S(z)},S.prototype.darken=function(b){void 0===b&&(b=10);var z=this.toHsl();return z.l-=b/100,z.l=(0,s.V2)(z.l),new S(z)},S.prototype.tint=function(b){return void 0===b&&(b=10),this.mix("white",b)},S.prototype.shade=function(b){return void 0===b&&(b=10),this.mix("black",b)},S.prototype.desaturate=function(b){void 0===b&&(b=10);var z=this.toHsl();return z.s-=b/100,z.s=(0,s.V2)(z.s),new S(z)},S.prototype.saturate=function(b){void 0===b&&(b=10);var z=this.toHsl();return z.s+=b/100,z.s=(0,s.V2)(z.s),new S(z)},S.prototype.greyscale=function(){return this.desaturate(100)},S.prototype.spin=function(b){var z=this.toHsl(),H=(z.h+b)%360;return z.h=H<0?360+H:H,new S(z)},S.prototype.mix=function(b,z){void 0===z&&(z=50);var H=this.toRgb(),A=new S(b).toRgb(),j=z/100;return new S({r:(A.r-H.r)*j+H.r,g:(A.g-H.g)*j+H.g,b:(A.b-H.b)*j+H.b,a:(A.a-H.a)*j+H.a})},S.prototype.analogous=function(b,z){void 0===b&&(b=6),void 0===z&&(z=30);var H=this.toHsl(),A=360/z,j=[this];for(H.h=(H.h-(A*b>>1)+720)%360;--b;)H.h=(H.h+A)%360,j.push(new S(H));return j},S.prototype.complement=function(){var b=this.toHsl();return b.h=(b.h+180)%360,new S(b)},S.prototype.monochromatic=function(b){void 0===b&&(b=6);for(var z=this.toHsv(),H=z.h,A=z.s,j=z.v,ne=[],Pe=1/b;b--;)ne.push(new S({h:H,s:A,v:j})),j=(j+Pe)%1;return ne},S.prototype.splitcomplement=function(){var b=this.toHsl(),z=b.h;return[this,new S({h:(z+72)%360,s:b.s,l:b.l}),new S({h:(z+216)%360,s:b.s,l:b.l})]},S.prototype.onBackground=function(b){var z=this.toRgb(),H=new S(b).toRgb();return new S({r:H.r+(z.r-H.r)*z.a,g:H.g+(z.g-H.g)*z.a,b:H.b+(z.b-H.b)*z.a})},S.prototype.triad=function(){return this.polyad(3)},S.prototype.tetrad=function(){return this.polyad(4)},S.prototype.polyad=function(b){for(var z=this.toHsl(),H=z.h,A=[this],j=360/b,ne=1;ne{function o(b,z){(function g(b){return"string"==typeof b&&-1!==b.indexOf(".")&&1===parseFloat(b)})(b)&&(b="100%");var H=function s(b){return"string"==typeof b&&-1!==b.indexOf("%")}(b);return b=360===z?b:Math.min(z,Math.max(0,parseFloat(b))),H&&(b=parseInt(String(b*z),10)/100),Math.abs(b-z)<1e-6?1:b=360===z?(b<0?b%z+z:b%z)/parseFloat(String(z)):b%z/parseFloat(String(z))}function e(b){return Math.min(1,Math.max(0,b))}function h(b){return b=parseFloat(b),(isNaN(b)||b<0||b>1)&&(b=1),b}function F(b){return b<=1?"".concat(100*Number(b),"%"):b}function S(b){return 1===b.length?"0"+b:String(b)}p.d(Oe,{FZ:()=>S,JX:()=>F,V2:()=>e,Yq:()=>h,sh:()=>o})},94481:(wt,Oe,p)=>{p.d(Oe,{R:()=>o});let o=(()=>{class e{}return e.INIT_TOTAL_ITEM=0,e.INIT_TABLE_LOADING=!1,e.MIN_PAGE_INDEX=0,e.MIN_PAGE_SIZE=20,e.MAX_PAGE_SIZE=2147483647,e})()},18001:(wt,Oe,p)=>{p.d(Oe,{d:()=>o});let o=(()=>{class e{}return e.GENERALI="GENERALI",e.CHUBB="CHUBB",e.ZURICH="ZURICH",e.ETIQA="ETIQA",e.KURNIA="KURNIA",e.TUNE="TUNE",e})()},93917:(wt,Oe,p)=>{p.d(Oe,{s:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}getBranchList(S){return this.http.post("/branch/list",S)}editBranch(S){return this.http.post("/branch/edit",S)}createBranch(S){return this.http.post("/branch/create",S)}deleteBranch(S){return this.http.put("/branch/delete/{id}".replace("{id}",S),"")}getBranch(S){return this.http.get("/branch/{id}".replace("{id}",S))}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},28773:(wt,Oe,p)=>{p.d(Oe,{K:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}getCustomerList(S){return this.http.post("/customer/list",S)}editCustomer(S){return this.http.post("/customer/edit",S)}getCustomer(S){return this.http.get("/customer/{id}".replace("{id}",S))}upload(S){return this.http.post("/customer/upload",S)}getQuotationList(S){return this.http.post("/customer/Quotation",S)}deleteCustomer(S){return this.http.put("/customer/delete/{id}".replace("{id}",S),"")}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},98188:(wt,Oe,p)=>{p.d(Oe,{z:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}GetQuotation(S){return this.http.post("/Generali/GetQuotation",S)}refreshPolicy(S){return this.http.post("/Generali/RefreshPolicy?referencenumber="+S,"")}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},40393:(wt,Oe,p)=>{p.d(Oe,{C:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}GetQuotation(S){return this.http.post("/Insurance/GetQuotation",S)}VerifyToken(S){return this.http.post("/Insurance/VerifyToken?token="+S,"")}VerifyVehicleInfo(S){return this.http.post("/Insurance/VerifyVehicleInfo",S)}GetVehicleInfo(S){return this.http.get("/Insurance/GetVehicleInfo/"+S)}createInsurance(S){return this.http.post("/insurance/create",S)}editInsurance(S){return this.http.post("/insurance/edit",S)}getInsurance(S){return this.http.get("/insurance/{id}".replace("{id}",S))}getInsuranceList(S){return this.http.post("/insurance/list",S)}ping(){return this.http.get("/insurance/ping/")}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},14132:(wt,Oe,p)=>{p.d(Oe,{Q:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}UpdatePayment(S){return this.http.post("/Quotation/UpdatePayment",S)}UpdateQuotation(S){return this.http.post("/Quotation/UpdateQuotation",S)}UpdateSelectedInsurance(S){return this.http.post("/Quotation/UpdateSelectedInsurance",S)}UpdatePaymentLinkSentDateTime(S){return this.http.post("/Quotation/UpdatePaymentLinkSentDateTime/"+S,"")}getQuotationList(S){return this.http.post("/Quotation/List",S)}getInstantQuotation(S){return this.http.get("/Quotation/Instant/"+S)}getExistingQuotation(S){return this.http.get("/Quotation/Existing/"+S)}generatePolicy(S){return this.http.post("/Quotation/GeneratePolicy",S)}convertToQuotation(S){return this.http.post("/Quotation/ConvertToQuotation?id="+S,"")}convertToRenewal(S){return this.http.post("/Quotation/ConvertToRenewal?id="+S,"")}commissionSettings(){return this.http.get("/Quotation/commissionSettings/")}editCommissionSettings(S){return this.http.post("/Quotation/commissionSettings/edit",S)}deleteQuotation(S){return this.http.post("/Quotation/DeleteQuotation?referenceNumber="+S,"")}removeAllInsurance(S){return this.http.post("/quotation/removeAllInsurance?referenceNumber="+S,"")}getQuotationLog(S){return this.http.get("/quotation/GetQuotationLog/"+S.toString())}addInsuranceCompany(S){return this.http.post("/Quotation/AddInsuranceCompany",S)}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},91856:(wt,Oe,p)=>{p.d(Oe,{_:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}CalculateRoadTax(S){return this.http.post("/RoadTax/CalculateRoadTax",S)}VerifyVehicleInfo(S){return this.http.post("/RoadTax/VerifyVehicleInfo",S)}editRoadTax(S){return this.http.post("/RoadTax/edit",S)}createRoadTax(S){return this.http.post("/RoadTax/create",S)}getRoadTax(S){return this.http.get("/RoadTax/{id}".replace("{id}",S))}getRoadTaxList(S){return this.http.post("/RoadTax/list",S)}roadTaxSettings(){return this.http.get("/RoadTax/roadTaxSettings/")}editRoadTaxSettings(S){return this.http.post("/RoadTax/roadTaxSettings/edit",S)}convertToRoadTax(S){return this.http.post("/RoadTax/ConvertToRoadTax?id="+S,"")}UpdatePaymentLinkSentDateTime(S){return this.http.post("/RoadTax/UpdatePaymentLinkSentDateTime/"+S,"")}addInsuranceToRoadTax(S){return this.http.post("/RoadTax/AddInsuranceToRoadTax?id="+S,"")}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},16521:(wt,Oe,p)=>{p.d(Oe,{e:()=>s});var o=p(80529),e=p(94650),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b,this.formHeaders=new o.WM({Authorization:`Bearer ${this.tokenService.getAccessToken()}`})}changePassword(S){return this.http.post("/staff/ChangePassword",S,{headers:this.formHeaders})}getUserList(S){return this.http.post("/staff/list",S)}setPassword(S,b){return this.http.post("/staff/SetPassword/{id}/{password}".replace("{password}",b).replace("{id}",S),"")}createUser(S){return this.http.post("/staff/create",S)}editUser(S){return this.http.post("/staff/edit",S)}getUser(S){return this.http.get("/staff/{id}".replace("{id}",S))}}return h.\u0275fac=function(S){return new(S||h)(e.LFG(o.eN),e.LFG(g.B))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},82515:(wt,Oe,p)=>{p.d(Oe,{$:()=>s});var o=p(94650),e=p(80529),g=p(36260);let s=(()=>{class h{constructor(S,b){this.http=S,this.tokenService=b}cleanUpRedundantQuotation(){return this.http.get("/Support/CleanUpRedundantQuotation/")}cleanUpExpiredQuotation(){return this.http.get("/Support/CleanUpExpiredQuotation/")}cleanUpExpiredJob(){return this.http.get("/support/cleanUpExpiredJob/")}cleanUpRedundantRoadTax(){return this.http.get("/support/cleanUpRedundantRoadTax/")}cleanUpExpiredRoadTax(){return this.http.get("/support/cleanUpExpiredRoadTax/")}cleanUpLogging(){return this.http.get("/support/cleanUpLogging/")}cleanUpVehicleWithEmptyPolicyEndDate(){return this.http.get("/support/cleanUpVehicleWithEmptyPolicyEndDate/")}createRenewalListing(){return this.http.get("/support/createRenewalListing/")}sendMessage(S){return this.http.post("/support/SendMessage/",S)}sendQuotationURL(S){return this.http.post("/support/sendQuotationURL/",S)}sendQuotation(S){return this.http.post("/support/sendQuotation/",S)}sendCustomerRemark(S){return this.http.post("/support/sendCustomerRemark/",S)}cleanUpMaintenanceJob(){return this.http.get("/support/CleanUpMaintenanceJob/")}cleanUpRenewal(){return this.http.get("/support/cleanUpRenewal/")}}return h.\u0275fac=function(S){return new(S||h)(o.LFG(e.eN),o.LFG(g.B))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},36260:(wt,Oe,p)=>{p.d(Oe,{B:()=>e});var o=p(94650);let e=(()=>{class g{constructor(){}getAccessToken(){return localStorage.getItem("token")}setAccessToken(h){localStorage.removeItem("token"),localStorage.setItem("token",h)}setPermissions(h){localStorage.removeItem("permission"),localStorage.setItem("permission",h)}setUser(h){localStorage.removeItem("user"),localStorage.setItem("user",h)}getPermissions(){return localStorage.getItem("permission")}setRoles(h){localStorage.removeItem("roles"),localStorage.setItem("roles",h)}getRoles(){return localStorage.getItem("roles")}getUser(){return localStorage.getItem("user")}setBranch(h){localStorage.removeItem("branch"),localStorage.setItem("branch",h)}getBranch(){return localStorage.getItem("branch")}}return g.\u0275fac=function(h){return new(h||g)},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},39951:(wt,Oe,p)=>{function o(e){var g=String.fromCharCode(e.keyCode);return!!/[a-zA-Z0-9]/.test(g)||(e.preventDefault(),!1)}p.d(Oe,{t:()=>o})},37247:(wt,Oe,p)=>{function o(g,s){g.get(s).valueChanges.subscribe(h=>{let F=parseInt(g.get(s).value);if(!(F>=5e4&&6e4>=F)){if(F>=62300&&62988>=F)return;if(F>=4e4&&48300>=F)return;if(F>=63e3&&68100>=F)return;if(F>=2e4&&24300>=F)return;if(F>=5e3&&9810>=F)return;if(F>=1500&&18500>=F)return;if(F>=7e4&&73509>=F)return;if(F>=1e4&&14400>=F)return;if(F>=75e3&&78309>=F)return;if(F>=1e3&&2e3>=F)return;if(F>=3e4&&36810>=F)return;if(F>=25e3&&28800>=F)return;if(F>=39e3&&39200>=F)return;if(F>=79e3&&86900>=F)return;g.controls[s].setErrors({invalidPostCode:!0})}})}function e(g){return g>=5e4&&6e4>=g?"Kuala Lumpur":g>=62300&&62988>=g?"Putrajaya":g>=4e4&&48300>=g||g>=63e3&&68100>=g?"Selangor":g>=2e4&&24300>=g?"Terengganu":g>=5e3&&9810>=g?"Kedah":g>=1500&&18500>=g?"Kelantan":g>=7e4&&73509>=g?"Negeri Sembilan":g>=1e4&&14400>=g?"Pulau Pinang":g>=75e3&&78309>=g?"Melaka":g>=1e3&&2e3>=g?"Perlis":g>=3e4&&36810>=g?"Perak":g>=25e3&&28800>=g||g>=39e3&&39200>=g?"Pahang":g>=79e3&&86900>=g?"Johor":void 0}p.d(Oe,{V:()=>o,y:()=>e})},61762:(wt,Oe,p)=>{p.d(Oe,{Y:()=>h});var o=p(94650),e=p(3080),g=p(36895);function s(F,S){if(1&F&&(o.TgZ(0,"div",8)(1,"p",9),o._uU(2),o.qZA()()),2&F){const b=o.oxw();o.xp6(2),o.Oqu(b.content)}}let h=(()=>{class F{constructor(b){this.bsModalRef=b,this.title="Confirmation",this.content="Are you sure?",this.submitEvent=new o.vpe,this.modalRef=b}onSubmit(){this.modalRef.hide(),this.submitEvent.emit()}}return F.\u0275fac=function(b){return new(b||F)(o.Y36(e.UZ))},F.\u0275cmp=o.Xpm({type:F,selectors:[["ng-component"]],decls:12,vars:2,consts:[[1,"modal-header"],["id","modal-basic-title1",1,"modal-title"],["type","button","aria-label","Close",1,"close","pull-right",3,"click"],["aria-hidden","true"],["class","modal-body",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-secondary",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],[1,"modal-body"],[2,"font-weight","bold","color","red"]],template:function(b,z){1&b&&(o.TgZ(0,"div",0)(1,"h4",1),o._uU(2),o.qZA(),o.TgZ(3,"button",2),o.NdJ("click",function(){return z.modalRef.hide()}),o.TgZ(4,"span",3),o._uU(5,"\xd7"),o.qZA()()(),o.YNc(6,s,3,1,"div",4),o.TgZ(7,"div",5)(8,"button",6),o.NdJ("click",function(){return z.modalRef.hide()}),o._uU(9,"No"),o.qZA(),o.TgZ(10,"button",7),o.NdJ("click",function(){return z.onSubmit()}),o._uU(11,"Yes"),o.qZA()()),2&b&&(o.xp6(2),o.hij(" ",z.title," "),o.xp6(4),o.Q6J("ngIf",null!==z.content))},dependencies:[g.O5],encapsulation:2}),F})()},98487:(wt,Oe,p)=>{var o=p(11481),e=p(94650),g=p(36895),s=p(80529),h=p(37340);function S(a){return new e.vHH(3e3,!1)}function Be(){return typeof window<"u"&&typeof window.document<"u"}function It(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ot(a){switch(a.length){case 0:return new h.ZN;case 1:return a[0];default:return new h.ZE(a)}}function Dt(a,c,n,u,v=new Map,E=new Map){const fe=[],Ve=[];let $e=-1,zt=null;if(u.forEach(Ut=>{const Xt=Ut.get("offset"),xn=Xt==$e,yn=xn&&zt||new Map;Ut.forEach((on,fn)=>{let Ln=fn,wn=on;if("offset"!==fn)switch(Ln=c.normalizePropertyName(Ln,fe),wn){case h.k1:wn=v.get(fn);break;case h.l3:wn=E.get(fn);break;default:wn=c.normalizeStyleValue(fn,Ln,wn,fe)}yn.set(Ln,wn)}),xn||Ve.push(yn),zt=yn,$e=Xt}),fe.length)throw function De(a){return new e.vHH(3502,!1)}();return Ve}function Bt(a,c,n,u){switch(c){case"start":a.onStart(()=>u(n&&nt(n,"start",a)));break;case"done":a.onDone(()=>u(n&&nt(n,"done",a)));break;case"destroy":a.onDestroy(()=>u(n&&nt(n,"destroy",a)))}}function nt(a,c,n){const E=pt(a.element,a.triggerName,a.fromState,a.toState,c||a.phaseName,n.totalTime??a.totalTime,!!n.disabled),fe=a._data;return null!=fe&&(E._data=fe),E}function pt(a,c,n,u,v="",E=0,fe){return{element:a,triggerName:c,fromState:n,toState:u,phaseName:v,totalTime:E,disabled:!!fe}}function Pt(a,c,n){let u=a.get(c);return u||a.set(c,u=n),u}function Qt(a){const c=a.indexOf(":");return[a.substring(1,c),a.slice(c+1)]}let Jt=(a,c)=>!1,Me=(a,c,n)=>[],dt=null;function je(a){const c=a.parentNode||a.host;return c===dt?null:c}(It()||typeof Element<"u")&&(Be()?(dt=(()=>document.documentElement)(),Jt=(a,c)=>{for(;c;){if(c===a)return!0;c=je(c)}return!1}):Jt=(a,c)=>a.contains(c),Me=(a,c,n)=>{if(n)return Array.from(a.querySelectorAll(c));const u=a.querySelector(c);return u?[u]:[]});let ze=null,ke=!1;const ce=Jt,He=Me;let xt=(()=>{class a{validateStyleProperty(n){return function R(a){ze||(ze=function B(){return typeof document<"u"?document.body:null}()||{},ke=!!ze.style&&"WebkitAppearance"in ze.style);let c=!0;return ze.style&&!function Ie(a){return"ebkit"==a.substring(1,6)}(a)&&(c=a in ze.style,!c&&ke&&(c="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in ze.style)),c}(n)}matchesElement(n,u){return!1}containsElement(n,u){return ce(n,u)}getParentElement(n){return je(n)}query(n,u,v){return He(n,u,v)}computeStyle(n,u,v){return v||""}animate(n,u,v,E,fe,Ve=[],$e){return new h.ZN(v,E)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Rt=(()=>{class a{}return a.NOOP=new xt,a})();const qt="ng-enter",Qe="ng-leave",le="ng-trigger",ht=".ng-trigger",Vt="ng-animating",at=".ng-animating";function Ke(a){if("number"==typeof a)return a;const c=a.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Re(parseFloat(c[1]),c[2])}function Re(a,c){return"s"===c?1e3*a:a}function mt(a,c,n){return a.hasOwnProperty("duration")?a:function Ht(a,c,n){let v,E=0,fe="";if("string"==typeof a){const Ve=a.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ve)return c.push(S()),{duration:0,delay:0,easing:""};v=Re(parseFloat(Ve[1]),Ve[2]);const $e=Ve[3];null!=$e&&(E=Re(parseFloat($e),Ve[4]));const zt=Ve[5];zt&&(fe=zt)}else v=a;if(!n){let Ve=!1,$e=c.length;v<0&&(c.push(function b(){return new e.vHH(3100,!1)}()),Ve=!0),E<0&&(c.push(function z(){return new e.vHH(3101,!1)}()),Ve=!0),Ve&&c.splice($e,0,S())}return{duration:v,delay:E,easing:fe}}(a,c,n)}function tn(a,c={}){return Object.keys(a).forEach(n=>{c[n]=a[n]}),c}function _n(a){const c=new Map;return Object.keys(a).forEach(n=>{c.set(n,a[n])}),c}function dn(a,c=new Map,n){if(n)for(let[u,v]of n)c.set(u,v);for(let[u,v]of a)c.set(u,v);return c}function Wn(a,c,n){return n?c+":"+n+";":""}function $n(a){let c="";for(let n=0;n{const E=yt(v);n&&!n.has(v)&&n.set(v,a.style[E]),a.style[E]=u}),It()&&$n(a))}function Sn(a,c){a.style&&(c.forEach((n,u)=>{const v=yt(u);a.style[v]=""}),It()&&$n(a))}function ti(a){return Array.isArray(a)?1==a.length?a[0]:(0,h.vP)(a):a}const it=new RegExp("{{\\s*(.+?)\\s*}}","g");function K(a){let c=[];if("string"==typeof a){let n;for(;n=it.exec(a);)c.push(n[1]);it.lastIndex=0}return c}function Ye(a,c,n){const u=a.toString(),v=u.replace(it,(E,fe)=>{let Ve=c[fe];return null==Ve&&(n.push(function A(a){return new e.vHH(3003,!1)}()),Ve=""),Ve.toString()});return v==u?a:v}function G(a){const c=[];let n=a.next();for(;!n.done;)c.push(n.value),n=a.next();return c}const Le=/-+([a-z0-9])/g;function yt(a){return a.replace(Le,(...c)=>c[1].toUpperCase())}function St(a){return a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function en(a,c,n){switch(c.type){case 7:return a.visitTrigger(c,n);case 0:return a.visitState(c,n);case 1:return a.visitTransition(c,n);case 2:return a.visitSequence(c,n);case 3:return a.visitGroup(c,n);case 4:return a.visitAnimate(c,n);case 5:return a.visitKeyframes(c,n);case 6:return a.visitStyle(c,n);case 8:return a.visitReference(c,n);case 9:return a.visitAnimateChild(c,n);case 10:return a.visitAnimateRef(c,n);case 11:return a.visitQuery(c,n);case 12:return a.visitStagger(c,n);default:throw function j(a){return new e.vHH(3004,!1)}()}}function Bn(a,c){return window.getComputedStyle(a)[c]}function Kr(a,c){const n=[];return"string"==typeof a?a.split(/\s*,\s*/).forEach(u=>function Qn(a,c,n){if(":"==a[0]){const $e=function co(a,c){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,u)=>parseFloat(u)>parseFloat(n);case":decrement":return(n,u)=>parseFloat(u) *"}}(a,n);if("function"==typeof $e)return void c.push($e);a=$e}const u=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return n.push(function de(a){return new e.vHH(3015,!1)}()),c;const v=u[1],E=u[2],fe=u[3];c.push(Jr(v,fe));"<"==E[0]&&!("*"==v&&"*"==fe)&&c.push(Jr(fe,v))}(u,n,c)):n.push(a),n}const Xi=new Set(["true","1"]),Vi=new Set(["false","0"]);function Jr(a,c){const n=Xi.has(a)||Vi.has(a),u=Xi.has(c)||Vi.has(c);return(v,E)=>{let fe="*"==a||a==v,Ve="*"==c||c==E;return!fe&&n&&"boolean"==typeof v&&(fe=v?Xi.has(a):Vi.has(a)),!Ve&&u&&"boolean"==typeof E&&(Ve=E?Xi.has(c):Vi.has(c)),fe&&Ve}}const Qi=new RegExp("s*:selfs*,?","g");function Hi(a,c,n,u){return new Yi(a).build(c,n,u)}class Yi{constructor(c){this._driver=c}build(c,n,u){const v=new tr(n);return this._resetContextStyleTimingState(v),en(this,ti(c),v)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,n){let u=n.queryCount=0,v=n.depCount=0;const E=[],fe=[];return"@"==c.name.charAt(0)&&n.errors.push(function Pe(){return new e.vHH(3006,!1)}()),c.definitions.forEach(Ve=>{if(this._resetContextStyleTimingState(n),0==Ve.type){const $e=Ve,zt=$e.name;zt.toString().split(/\s*,\s*/).forEach(Ut=>{$e.name=Ut,E.push(this.visitState($e,n))}),$e.name=zt}else if(1==Ve.type){const $e=this.visitTransition(Ve,n);u+=$e.queryCount,v+=$e.depCount,fe.push($e)}else n.errors.push(function ee(){return new e.vHH(3007,!1)}())}),{type:7,name:c.name,states:E,transitions:fe,queryCount:u,depCount:v,options:null}}visitState(c,n){const u=this.visitStyle(c.styles,n),v=c.options&&c.options.params||null;if(u.containsDynamicStyles){const E=new Set,fe=v||{};u.styles.forEach(Ve=>{Ve instanceof Map&&Ve.forEach($e=>{K($e).forEach(zt=>{fe.hasOwnProperty(zt)||E.add(zt)})})}),E.size&&(G(E.values()),n.errors.push(function pe(a,c){return new e.vHH(3008,!1)}()))}return{type:0,name:c.name,style:u,options:v?{params:v}:null}}visitTransition(c,n){n.queryCount=0,n.depCount=0;const u=en(this,ti(c.animation),n);return{type:1,matchers:Kr(c.expr,n.errors),animation:u,queryCount:n.queryCount,depCount:n.depCount,options:Ti(c.options)}}visitSequence(c,n){return{type:2,steps:c.steps.map(u=>en(this,u,n)),options:Ti(c.options)}}visitGroup(c,n){const u=n.currentTime;let v=0;const E=c.steps.map(fe=>{n.currentTime=u;const Ve=en(this,fe,n);return v=Math.max(v,n.currentTime),Ve});return n.currentTime=v,{type:3,steps:E,options:Ti(c.options)}}visitAnimate(c,n){const u=function Xr(a,c){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return uo(mt(a,c).duration,0,"");const n=a;if(n.split(/\s+/).some(E=>"{"==E.charAt(0)&&"{"==E.charAt(1))){const E=uo(0,0,"");return E.dynamic=!0,E.strValue=n,E}const v=mt(n,c);return uo(v.duration,v.delay,v.easing)}(c.timings,n.errors);n.currentAnimateTimings=u;let v,E=c.styles?c.styles:(0,h.oB)({});if(5==E.type)v=this.visitKeyframes(E,n);else{let fe=c.styles,Ve=!1;if(!fe){Ve=!0;const zt={};u.easing&&(zt.easing=u.easing),fe=(0,h.oB)(zt)}n.currentTime+=u.duration+u.delay;const $e=this.visitStyle(fe,n);$e.isEmptyStep=Ve,v=$e}return n.currentAnimateTimings=null,{type:4,timings:u,style:v,options:null}}visitStyle(c,n){const u=this._makeStyleAst(c,n);return this._validateStyleAst(u,n),u}_makeStyleAst(c,n){const u=[],v=Array.isArray(c.styles)?c.styles:[c.styles];for(let Ve of v)"string"==typeof Ve?Ve===h.l3?u.push(Ve):n.errors.push(new e.vHH(3002,!1)):u.push(_n(Ve));let E=!1,fe=null;return u.forEach(Ve=>{if(Ve instanceof Map&&(Ve.has("easing")&&(fe=Ve.get("easing"),Ve.delete("easing")),!E))for(let $e of Ve.values())if($e.toString().indexOf("{{")>=0){E=!0;break}}),{type:6,styles:u,easing:fe,offset:c.offset,containsDynamicStyles:E,options:null}}_validateStyleAst(c,n){const u=n.currentAnimateTimings;let v=n.currentTime,E=n.currentTime;u&&E>0&&(E-=u.duration+u.delay),c.styles.forEach(fe=>{"string"!=typeof fe&&fe.forEach((Ve,$e)=>{const zt=n.collectedStyles.get(n.currentQuerySelector),Ut=zt.get($e);let Xt=!0;Ut&&(E!=v&&E>=Ut.startTime&&v<=Ut.endTime&&(n.errors.push(function ve(a,c,n,u,v){return new e.vHH(3010,!1)}()),Xt=!1),E=Ut.startTime),Xt&&zt.set($e,{startTime:E,endTime:v}),n.options&&function rt(a,c,n){const u=c.params||{},v=K(a);v.length&&v.forEach(E=>{u.hasOwnProperty(E)||n.push(function H(a){return new e.vHH(3001,!1)}())})}(Ve,n.options,n.errors)})})}visitKeyframes(c,n){const u={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function T(){return new e.vHH(3011,!1)}()),u;let E=0;const fe=[];let Ve=!1,$e=!1,zt=0;const Ut=c.steps.map(wn=>{const En=this._makeStyleAst(wn,n);let mi=null!=En.offset?En.offset:function zr(a){if("string"==typeof a)return null;let c=null;if(Array.isArray(a))a.forEach(n=>{if(n instanceof Map&&n.has("offset")){const u=n;c=parseFloat(u.get("offset")),u.delete("offset")}});else if(a instanceof Map&&a.has("offset")){const n=a;c=parseFloat(n.get("offset")),n.delete("offset")}return c}(En.styles),Si=0;return null!=mi&&(E++,Si=En.offset=mi),$e=$e||Si<0||Si>1,Ve=Ve||Si0&&E{const mi=xn>0?En==yn?1:xn*En:fe[En],Si=mi*Ln;n.currentTime=on+fn.delay+Si,fn.duration=Si,this._validateStyleAst(wn,n),wn.offset=mi,u.styles.push(wn)}),u}visitReference(c,n){return{type:8,animation:en(this,ti(c.animation),n),options:Ti(c.options)}}visitAnimateChild(c,n){return n.depCount++,{type:9,options:Ti(c.options)}}visitAnimateRef(c,n){return{type:10,animation:this.visitReference(c.animation,n),options:Ti(c.options)}}visitQuery(c,n){const u=n.currentQuerySelector,v=c.options||{};n.queryCount++,n.currentQuery=c;const[E,fe]=function ii(a){const c=!!a.split(/\s*,\s*/).find(n=>":self"==n);return c&&(a=a.replace(Qi,"")),a=a.replace(/@\*/g,ht).replace(/@\w+/g,n=>ht+"-"+n.slice(1)).replace(/:animating/g,at),[a,c]}(c.selector);n.currentQuerySelector=u.length?u+" "+E:E,Pt(n.collectedStyles,n.currentQuerySelector,new Map);const Ve=en(this,ti(c.animation),n);return n.currentQuery=null,n.currentQuerySelector=u,{type:11,selector:E,limit:v.limit||0,optional:!!v.optional,includeSelf:fe,animation:Ve,originalSelector:c.selector,options:Ti(c.options)}}visitStagger(c,n){n.currentQuery||n.errors.push(function Q(){return new e.vHH(3013,!1)}());const u="full"===c.timings?{duration:0,delay:0,easing:"full"}:mt(c.timings,n.errors,!0);return{type:12,animation:en(this,ti(c.animation),n),timings:u,options:null}}}class tr{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 Ti(a){return a?(a=tn(a)).params&&(a.params=function yi(a){return a?tn(a):null}(a.params)):a={},a}function uo(a,c,n){return{duration:a,delay:c,easing:n}}function xo(a,c,n,u,v,E,fe=null,Ve=!1){return{type:1,element:a,keyframes:c,preStyleProps:n,postStyleProps:u,duration:v,delay:E,totalTime:v+E,easing:fe,subTimeline:Ve}}class Yr{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,n){let u=this._map.get(c);u||this._map.set(c,u=[]),u.push(...n)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const qi=new RegExp(":enter","g"),qe=new RegExp(":leave","g");function Ee(a,c,n,u,v,E=new Map,fe=new Map,Ve,$e,zt=[]){return(new Lt).buildKeyframes(a,c,n,u,v,E,fe,Ve,$e,zt)}class Lt{buildKeyframes(c,n,u,v,E,fe,Ve,$e,zt,Ut=[]){zt=zt||new Yr;const Xt=new gn(c,n,zt,v,E,Ut,[]);Xt.options=$e;const xn=$e.delay?Ke($e.delay):0;Xt.currentTimeline.delayNextStep(xn),Xt.currentTimeline.setStyles([fe],null,Xt.errors,$e),en(this,u,Xt);const yn=Xt.timelines.filter(on=>on.containsAnimation());if(yn.length&&Ve.size){let on;for(let fn=yn.length-1;fn>=0;fn--){const Ln=yn[fn];if(Ln.element===n){on=Ln;break}}on&&!on.allowOnlyTimelineStyles()&&on.setStyles([Ve],null,Xt.errors,$e)}return yn.length?yn.map(on=>on.buildKeyframes()):[xo(n,[],[],[],0,xn,"",!1)]}visitTrigger(c,n){}visitState(c,n){}visitTransition(c,n){}visitAnimateChild(c,n){const u=n.subInstructions.get(n.element);if(u){const v=n.createSubContext(c.options),E=n.currentTimeline.currentTime,fe=this._visitSubInstructions(u,v,v.options);E!=fe&&n.transformIntoNewTimeline(fe)}n.previousNode=c}visitAnimateRef(c,n){const u=n.createSubContext(c.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],n,u),this.visitReference(c.animation,u),n.transformIntoNewTimeline(u.currentTimeline.currentTime),n.previousNode=c}_applyAnimationRefDelays(c,n,u){for(const v of c){const E=v?.delay;if(E){const fe="number"==typeof E?E:Ke(Ye(E,v?.params??{},n.errors));u.delayNextStep(fe)}}}_visitSubInstructions(c,n,u){let E=n.currentTimeline.currentTime;const fe=null!=u.duration?Ke(u.duration):null,Ve=null!=u.delay?Ke(u.delay):null;return 0!==fe&&c.forEach($e=>{const zt=n.appendInstructionToTimeline($e,fe,Ve);E=Math.max(E,zt.duration+zt.delay)}),E}visitReference(c,n){n.updateOptions(c.options,!0),en(this,c.animation,n),n.previousNode=c}visitSequence(c,n){const u=n.subContextCount;let v=n;const E=c.options;if(E&&(E.params||E.delay)&&(v=n.createSubContext(E),v.transformIntoNewTimeline(),null!=E.delay)){6==v.previousNode.type&&(v.currentTimeline.snapshotCurrentStyles(),v.previousNode=Wt);const fe=Ke(E.delay);v.delayNextStep(fe)}c.steps.length&&(c.steps.forEach(fe=>en(this,fe,v)),v.currentTimeline.applyStylesToKeyframe(),v.subContextCount>u&&v.transformIntoNewTimeline()),n.previousNode=c}visitGroup(c,n){const u=[];let v=n.currentTimeline.currentTime;const E=c.options&&c.options.delay?Ke(c.options.delay):0;c.steps.forEach(fe=>{const Ve=n.createSubContext(c.options);E&&Ve.delayNextStep(E),en(this,fe,Ve),v=Math.max(v,Ve.currentTimeline.currentTime),u.push(Ve.currentTimeline)}),u.forEach(fe=>n.currentTimeline.mergeTimelineCollectedStyles(fe)),n.transformIntoNewTimeline(v),n.previousNode=c}_visitTiming(c,n){if(c.dynamic){const u=c.strValue;return mt(n.params?Ye(u,n.params,n.errors):u,n.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,n){const u=n.currentAnimateTimings=this._visitTiming(c.timings,n),v=n.currentTimeline;u.delay&&(n.incrementTime(u.delay),v.snapshotCurrentStyles());const E=c.style;5==E.type?this.visitKeyframes(E,n):(n.incrementTime(u.duration),this.visitStyle(E,n),v.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=c}visitStyle(c,n){const u=n.currentTimeline,v=n.currentAnimateTimings;!v&&u.hasCurrentStyleProperties()&&u.forwardFrame();const E=v&&v.easing||c.easing;c.isEmptyStep?u.applyEmptyStep(E):u.setStyles(c.styles,E,n.errors,n.options),n.previousNode=c}visitKeyframes(c,n){const u=n.currentAnimateTimings,v=n.currentTimeline.duration,E=u.duration,Ve=n.createSubContext().currentTimeline;Ve.easing=u.easing,c.styles.forEach($e=>{Ve.forwardTime(($e.offset||0)*E),Ve.setStyles($e.styles,$e.easing,n.errors,n.options),Ve.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(Ve),n.transformIntoNewTimeline(v+E),n.previousNode=c}visitQuery(c,n){const u=n.currentTimeline.currentTime,v=c.options||{},E=v.delay?Ke(v.delay):0;E&&(6===n.previousNode.type||0==u&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Wt);let fe=u;const Ve=n.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!v.optional,n.errors);n.currentQueryTotal=Ve.length;let $e=null;Ve.forEach((zt,Ut)=>{n.currentQueryIndex=Ut;const Xt=n.createSubContext(c.options,zt);E&&Xt.delayNextStep(E),zt===n.element&&($e=Xt.currentTimeline),en(this,c.animation,Xt),Xt.currentTimeline.applyStylesToKeyframe(),fe=Math.max(fe,Xt.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(fe),$e&&(n.currentTimeline.mergeTimelineCollectedStyles($e),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=c}visitStagger(c,n){const u=n.parentContext,v=n.currentTimeline,E=c.timings,fe=Math.abs(E.duration),Ve=fe*(n.currentQueryTotal-1);let $e=fe*n.currentQueryIndex;switch(E.duration<0?"reverse":E.easing){case"reverse":$e=Ve-$e;break;case"full":$e=u.currentStaggerTime}const Ut=n.currentTimeline;$e&&Ut.delayNextStep($e);const Xt=Ut.currentTime;en(this,c.animation,n),n.previousNode=c,u.currentStaggerTime=v.currentTime-Xt+(v.startTime-u.currentTimeline.startTime)}}const Wt={};class gn{constructor(c,n,u,v,E,fe,Ve,$e){this._driver=c,this.element=n,this.subInstructions=u,this._enterClassName=v,this._leaveClassName=E,this.errors=fe,this.timelines=Ve,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=$e||new Fn(this._driver,n,0),Ve.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,n){if(!c)return;const u=c;let v=this.options;null!=u.duration&&(v.duration=Ke(u.duration)),null!=u.delay&&(v.delay=Ke(u.delay));const E=u.params;if(E){let fe=v.params;fe||(fe=this.options.params={}),Object.keys(E).forEach(Ve=>{(!n||!fe.hasOwnProperty(Ve))&&(fe[Ve]=Ye(E[Ve],fe,this.errors))})}}_copyOptions(){const c={};if(this.options){const n=this.options.params;if(n){const u=c.params={};Object.keys(n).forEach(v=>{u[v]=n[v]})}}return c}createSubContext(c=null,n,u){const v=n||this.element,E=new gn(this._driver,v,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(v,u||0));return E.previousNode=this.previousNode,E.currentAnimateTimings=this.currentAnimateTimings,E.options=this._copyOptions(),E.updateOptions(c),E.currentQueryIndex=this.currentQueryIndex,E.currentQueryTotal=this.currentQueryTotal,E.parentContext=this,this.subContextCount++,E}transformIntoNewTimeline(c){return this.previousNode=Wt,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,n,u){const v={duration:n??c.duration,delay:this.currentTimeline.currentTime+(u??0)+c.delay,easing:""},E=new si(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,v,c.stretchStartingKeyframe);return this.timelines.push(E),v}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,n,u,v,E,fe){let Ve=[];if(v&&Ve.push(this.element),c.length>0){c=(c=c.replace(qi,"."+this._enterClassName)).replace(qe,"."+this._leaveClassName);let zt=this._driver.query(this.element,c,1!=u);0!==u&&(zt=u<0?zt.slice(zt.length+u,zt.length):zt.slice(0,u)),Ve.push(...zt)}return!E&&0==Ve.length&&fe.push(function ae(a){return new e.vHH(3014,!1)}()),Ve}}class Fn{constructor(c,n,u,v){this._driver=c,this.element=n,this.startTime=u,this._elementTimelineStylesLookup=v,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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 n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+c),n&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,n){return this.applyStylesToKeyframe(),new Fn(this._driver,c,n||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,n){this._localTimelineStyles.set(c,n),this._globalTimelineStyles.set(c,n),this._styleSummary.set(c,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[n,u]of this._globalTimelineStyles)this._backFill.set(n,u||h.l3),this._currentKeyframe.set(n,h.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,n,u,v){n&&this._previousKeyframe.set("easing",n);const E=v&&v.params||{},fe=function cr(a,c){const n=new Map;let u;return a.forEach(v=>{if("*"===v){u=u||c.keys();for(let E of u)n.set(E,h.l3)}else dn(v,n)}),n}(c,this._globalTimelineStyles);for(let[Ve,$e]of fe){const zt=Ye($e,E,u);this._pendingStyles.set(Ve,zt),this._localTimelineStyles.has(Ve)||this._backFill.set(Ve,this._globalTimelineStyles.get(Ve)??h.l3),this._updateStyle(Ve,zt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,n)=>{this._currentKeyframe.set(n,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,c)}))}snapshotCurrentStyles(){for(let[c,n]of this._localTimelineStyles)this._pendingStyles.set(c,n),this._updateStyle(c,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let n in this._currentKeyframe)c.push(n);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((n,u)=>{const v=this._styleSummary.get(u);(!v||n.time>v.time)&&this._updateStyle(u,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,n=new Set,u=1===this._keyframes.size&&0===this.duration;let v=[];this._keyframes.forEach((Ve,$e)=>{const zt=dn(Ve,new Map,this._backFill);zt.forEach((Ut,Xt)=>{Ut===h.k1?c.add(Xt):Ut===h.l3&&n.add(Xt)}),u||zt.set("offset",$e/this.duration),v.push(zt)});const E=c.size?G(c.values()):[],fe=n.size?G(n.values()):[];if(u){const Ve=v[0],$e=new Map(Ve);Ve.set("offset",0),$e.set("offset",1),v=[Ve,$e]}return xo(this.element,v,E,fe,this.duration,this.startTime,this.easing,!1)}}class si extends Fn{constructor(c,n,u,v,E,fe,Ve=!1){super(c,n,fe.delay),this.keyframes=u,this.preStyleProps=v,this.postStyleProps=E,this._stretchStartingKeyframe=Ve,this.timings={duration:fe.duration,delay:fe.delay,easing:fe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:n,duration:u,easing:v}=this.timings;if(this._stretchStartingKeyframe&&n){const E=[],fe=u+n,Ve=n/fe,$e=dn(c[0]);$e.set("offset",0),E.push($e);const zt=dn(c[0]);zt.set("offset",_i(Ve)),E.push(zt);const Ut=c.length-1;for(let Xt=1;Xt<=Ut;Xt++){let xn=dn(c[Xt]);const yn=xn.get("offset");xn.set("offset",_i((n+yn*u)/fe)),E.push(xn)}u=fe,n=0,v="",c=E}return xo(this.element,c,this.preStyleProps,this.postStyleProps,u,n,v,!0)}}function _i(a,c=3){const n=Math.pow(10,c-1);return Math.round(a*n)/n}class ur{}const Di=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 Ur extends ur{normalizePropertyName(c,n){return yt(c)}normalizeStyleValue(c,n,u,v){let E="";const fe=u.toString().trim();if(Di.has(n)&&0!==u&&"0"!==u)if("number"==typeof u)E="px";else{const Ve=u.match(/^[+-]?[\d\.]+([a-z]*)$/);Ve&&0==Ve[1].length&&v.push(function ne(a,c){return new e.vHH(3005,!1)}())}return fe+E}}function mr(a,c,n,u,v,E,fe,Ve,$e,zt,Ut,Xt,xn){return{type:0,element:a,triggerName:c,isRemovalTransition:v,fromState:n,fromStyles:E,toState:u,toStyles:fe,timelines:Ve,queriedElements:$e,preStyleProps:zt,postStyleProps:Ut,totalTime:Xt,errors:xn}}const Ni={};class ki{constructor(c,n,u){this._triggerName=c,this.ast=n,this._stateStyles=u}match(c,n,u,v){return function li(a,c,n,u,v){return a.some(E=>E(c,n,u,v))}(this.ast.matchers,c,n,u,v)}buildStyles(c,n,u){let v=this._stateStyles.get("*");return void 0!==c&&(v=this._stateStyles.get(c?.toString())||v),v?v.buildStyles(n,u):new Map}build(c,n,u,v,E,fe,Ve,$e,zt,Ut){const Xt=[],xn=this.ast.options&&this.ast.options.params||Ni,on=this.buildStyles(u,Ve&&Ve.params||Ni,Xt),fn=$e&&$e.params||Ni,Ln=this.buildStyles(v,fn,Xt),wn=new Set,En=new Map,mi=new Map,Si="void"===v,$o={params:Ui(fn,xn),delay:this.ast.options?.delay},Fr=Ut?[]:Ee(c,n,this.ast.animation,E,fe,on,Ln,$o,zt,Xt);let sr=0;if(Fr.forEach(Qo=>{sr=Math.max(Qo.duration+Qo.delay,sr)}),Xt.length)return mr(n,this._triggerName,u,v,Si,on,Ln,[],[],En,mi,sr,Xt);Fr.forEach(Qo=>{const qo=Qo.element,Ql=Pt(En,qo,new Set);Qo.preStyleProps.forEach(va=>Ql.add(va));const qa=Pt(mi,qo,new Set);Qo.postStyleProps.forEach(va=>qa.add(va)),qo!==n&&wn.add(qo)});const zo=G(wn.values());return mr(n,this._triggerName,u,v,Si,on,Ln,Fr,zo,En,mi,sr)}}function Ui(a,c){const n=tn(c);for(const u in a)a.hasOwnProperty(u)&&null!=a[u]&&(n[u]=a[u]);return n}class Li{constructor(c,n,u){this.styles=c,this.defaultParams=n,this.normalizer=u}buildStyles(c,n){const u=new Map,v=tn(this.defaultParams);return Object.keys(c).forEach(E=>{const fe=c[E];null!==fe&&(v[E]=fe)}),this.styles.styles.forEach(E=>{"string"!=typeof E&&E.forEach((fe,Ve)=>{fe&&(fe=Ye(fe,v,n));const $e=this.normalizer.normalizePropertyName(Ve,n);fe=this.normalizer.normalizeStyleValue(Ve,$e,fe,n),u.set($e,fe)})}),u}}class hr{constructor(c,n,u){this.name=c,this.ast=n,this._normalizer=u,this.transitionFactories=[],this.states=new Map,n.states.forEach(v=>{this.states.set(v.name,new Li(v.style,v.options&&v.options.params||{},u))}),to(this.states,"true","1"),to(this.states,"false","0"),n.transitions.forEach(v=>{this.transitionFactories.push(new ki(c,v,this.states))}),this.fallbackTransition=function wr(a,c,n){return new ki(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[(fe,Ve)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,n,u,v){return this.transitionFactories.find(fe=>fe.match(c,n,u,v))||null}matchStyles(c,n,u){return this.fallbackTransition.buildStyles(c,n,u)}}function to(a,c,n){a.has(c)?a.has(n)||a.set(n,a.get(c)):a.has(n)&&a.set(c,a.get(n))}const ji=new Yr;class jr{constructor(c,n,u){this.bodyNode=c,this._driver=n,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,n){const u=[],E=Hi(this._driver,n,u,[]);if(u.length)throw function _e(a){return new e.vHH(3503,!1)}();this._animations.set(c,E)}_buildPlayer(c,n,u){const v=c.element,E=Dt(0,this._normalizer,0,c.keyframes,n,u);return this._driver.animate(v,E,c.duration,c.delay,c.easing,[],!0)}create(c,n,u={}){const v=[],E=this._animations.get(c);let fe;const Ve=new Map;if(E?(fe=Ee(this._driver,n,E,qt,Qe,new Map,new Map,u,ji,v),fe.forEach(Ut=>{const Xt=Pt(Ve,Ut.element,new Map);Ut.postStyleProps.forEach(xn=>Xt.set(xn,null))})):(v.push(function Ce(){return new e.vHH(3300,!1)}()),fe=[]),v.length)throw function we(a){return new e.vHH(3504,!1)}();Ve.forEach((Ut,Xt)=>{Ut.forEach((xn,yn)=>{Ut.set(yn,this._driver.computeStyle(Xt,yn,h.l3))})});const zt=Ot(fe.map(Ut=>{const Xt=Ve.get(Ut.element);return this._buildPlayer(Ut,new Map,Xt)}));return this._playersById.set(c,zt),zt.onDestroy(()=>this.destroy(c)),this.players.push(zt),zt}destroy(c){const n=this._getPlayer(c);n.destroy(),this._playersById.delete(c);const u=this.players.indexOf(n);u>=0&&this.players.splice(u,1)}_getPlayer(c){const n=this._playersById.get(c);if(!n)throw function Ae(a){return new e.vHH(3301,!1)}();return n}listen(c,n,u,v){const E=pt(n,"","","");return Bt(this._getPlayer(c),u,E,v),()=>{}}command(c,n,u,v){if("register"==u)return void this.register(c,v[0]);if("create"==u)return void this.create(c,n,v[0]||{});const E=this._getPlayer(c);switch(u){case"play":E.play();break;case"pause":E.pause();break;case"reset":E.reset();break;case"restart":E.restart();break;case"finish":E.finish();break;case"init":E.init();break;case"setPosition":E.setPosition(parseFloat(v[0]));break;case"destroy":this.destroy(c)}}}const Mi="ng-animate-queued",kr="ng-animate-disabled",Un=[],gr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ir={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ri="__ng_removed";class Ai{constructor(c,n=""){this.namespaceId=n;const u=c&&c.hasOwnProperty("value");if(this.value=function ra(a){return a??null}(u?c.value:c),u){const E=tn(c);delete E.value,this.options=E}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(c){const n=c.params;if(n){const u=this.options.params;Object.keys(n).forEach(v=>{null==u[v]&&(u[v]=n[v])})}}}const wo="void",Hr=new Ai(wo);class Wr{constructor(c,n,u){this.id=c,this.hostElement=n,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,ir(n,this._hostClassName)}listen(c,n,u,v){if(!this._triggers.has(n))throw function Fe(a,c){return new e.vHH(3302,!1)}();if(null==u||0==u.length)throw function Ue(a){return new e.vHH(3303,!1)}();if(!function no(a){return"start"==a||"done"==a}(u))throw function Mt(a,c){return new e.vHH(3400,!1)}();const E=Pt(this._elementListeners,c,[]),fe={name:n,phase:u,callback:v};E.push(fe);const Ve=Pt(this._engine.statesByElement,c,new Map);return Ve.has(n)||(ir(c,le),ir(c,le+"-"+n),Ve.set(n,Hr)),()=>{this._engine.afterFlush(()=>{const $e=E.indexOf(fe);$e>=0&&E.splice($e,1),this._triggers.has(n)||Ve.delete(n)})}}register(c,n){return!this._triggers.has(c)&&(this._triggers.set(c,n),!0)}_getTrigger(c){const n=this._triggers.get(c);if(!n)throw function _t(a){return new e.vHH(3401,!1)}();return n}trigger(c,n,u,v=!0){const E=this._getTrigger(n),fe=new Vr(this.id,n,c);let Ve=this._engine.statesByElement.get(c);Ve||(ir(c,le),ir(c,le+"-"+n),this._engine.statesByElement.set(c,Ve=new Map));let $e=Ve.get(n);const zt=new Ai(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&$e&&zt.absorbOptions($e.options),Ve.set(n,zt),$e||($e=Hr),zt.value!==wo&&$e.value===zt.value){if(!function io(a,c){const n=Object.keys(a),u=Object.keys(c);if(n.length!=u.length)return!1;for(let v=0;v{Sn(c,Ln),Yn(c,wn)})}return}const xn=Pt(this._engine.playersByElement,c,[]);xn.forEach(fn=>{fn.namespaceId==this.id&&fn.triggerName==n&&fn.queued&&fn.destroy()});let yn=E.matchTransition($e.value,zt.value,c,zt.params),on=!1;if(!yn){if(!v)return;yn=E.fallbackTransition,on=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:n,transition:yn,fromState:$e,toState:zt,player:fe,isFallbackTransition:on}),on||(ir(c,Mi),fe.onStart(()=>{Tr(c,Mi)})),fe.onDone(()=>{let fn=this.players.indexOf(fe);fn>=0&&this.players.splice(fn,1);const Ln=this._engine.playersByElement.get(c);if(Ln){let wn=Ln.indexOf(fe);wn>=0&&Ln.splice(wn,1)}}),this.players.push(fe),xn.push(fe),fe}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(n=>n.delete(c)),this._elementListeners.forEach((n,u)=>{this._elementListeners.set(u,n.filter(v=>v.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const n=this._engine.playersByElement.get(c);n&&(n.forEach(u=>u.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,n){const u=this._engine.driver.query(c,ht,!0);u.forEach(v=>{if(v[ri])return;const E=this._engine.fetchNamespacesByElement(v);E.size?E.forEach(fe=>fe.triggerLeaveAnimation(v,n,!1,!0)):this.clearElementCache(v)}),this._engine.afterFlushAnimationsDone(()=>u.forEach(v=>this.clearElementCache(v)))}triggerLeaveAnimation(c,n,u,v){const E=this._engine.statesByElement.get(c),fe=new Map;if(E){const Ve=[];if(E.forEach(($e,zt)=>{if(fe.set(zt,$e.value),this._triggers.has(zt)){const Ut=this.trigger(c,zt,wo,v);Ut&&Ve.push(Ut)}}),Ve.length)return this._engine.markElementAsRemoved(this.id,c,!0,n,fe),u&&Ot(Ve).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const n=this._elementListeners.get(c),u=this._engine.statesByElement.get(c);if(n&&u){const v=new Set;n.forEach(E=>{const fe=E.name;if(v.has(fe))return;v.add(fe);const $e=this._triggers.get(fe).fallbackTransition,zt=u.get(fe)||Hr,Ut=new Ai(wo),Xt=new Vr(this.id,fe,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:fe,transition:$e,fromState:zt,toState:Ut,player:Xt,isFallbackTransition:!0})})}}removeNode(c,n){const u=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,n),this.triggerLeaveAnimation(c,n,!0))return;let v=!1;if(u.totalAnimations){const E=u.players.length?u.playersByQueriedElement.get(c):[];if(E&&E.length)v=!0;else{let fe=c;for(;fe=fe.parentNode;)if(u.statesByElement.get(fe)){v=!0;break}}}if(this.prepareLeaveAnimationListeners(c),v)u.markElementAsRemoved(this.id,c,!1,n);else{const E=c[ri];(!E||E===gr)&&(u.afterFlush(()=>this.clearElementCache(c)),u.destroyInnerAnimations(c),u._onRemovalComplete(c,n))}}insertNode(c,n){ir(c,this._hostClassName)}drainQueuedTransitions(c){const n=[];return this._queue.forEach(u=>{const v=u.player;if(v.destroyed)return;const E=u.element,fe=this._elementListeners.get(E);fe&&fe.forEach(Ve=>{if(Ve.name==u.triggerName){const $e=pt(E,u.triggerName,u.fromState.value,u.toState.value);$e._data=c,Bt(u.player,Ve.phase,$e,Ve.callback)}}),v.markedForDestroy?this._engine.afterFlush(()=>{v.destroy()}):n.push(u)}),this._queue=[],n.sort((u,v)=>{const E=u.transition.ast.depCount,fe=v.transition.ast.depCount;return 0==E||0==fe?E-fe:this._engine.driver.containsElement(u.element,v.element)?1:-1})}destroy(c){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let n=!1;return this._elementListeners.has(c)&&(n=!0),n=!!this._queue.find(u=>u.element===c)||n,n}}class ei{constructor(c,n,u){this.bodyNode=c,this.driver=n,this._normalizer=u,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=(v,E)=>{}}_onRemovalComplete(c,n){this.onRemovalComplete(c,n)}get queuedPlayers(){const c=[];return this._namespaceList.forEach(n=>{n.players.forEach(u=>{u.queued&&c.push(u)})}),c}createNamespace(c,n){const u=new Wr(c,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(u,n):(this.newHostElements.set(n,u),this.collectEnterElement(n)),this._namespaceLookup[c]=u}_balanceNamespaceList(c,n){const u=this._namespaceList,v=this.namespacesByHostElement;if(u.length-1>=0){let fe=!1,Ve=this.driver.getParentElement(n);for(;Ve;){const $e=v.get(Ve);if($e){const zt=u.indexOf($e);u.splice(zt+1,0,c),fe=!0;break}Ve=this.driver.getParentElement(Ve)}fe||u.unshift(c)}else u.push(c);return v.set(n,c),c}register(c,n){let u=this._namespaceLookup[c];return u||(u=this.createNamespace(c,n)),u}registerTrigger(c,n,u){let v=this._namespaceLookup[c];v&&v.register(n,u)&&this.totalAnimations++}destroy(c,n){if(!c)return;const u=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(u.hostElement),delete this._namespaceLookup[c];const v=this._namespaceList.indexOf(u);v>=0&&this._namespaceList.splice(v,1)}),this.afterFlushAnimationsDone(()=>u.destroy(n))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const n=new Set,u=this.statesByElement.get(c);if(u)for(let v of u.values())if(v.namespaceId){const E=this._fetchNamespace(v.namespaceId);E&&n.add(E)}return n}trigger(c,n,u,v){if(Ri(n)){const E=this._fetchNamespace(c);if(E)return E.trigger(n,u,v),!0}return!1}insertNode(c,n,u,v){if(!Ri(n))return;const E=n[ri];if(E&&E.setForRemoval){E.setForRemoval=!1,E.setForMove=!0;const fe=this.collectedLeaveElements.indexOf(n);fe>=0&&this.collectedLeaveElements.splice(fe,1)}if(c){const fe=this._fetchNamespace(c);fe&&fe.insertNode(n,u)}v&&this.collectEnterElement(n)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,n){n?this.disabledNodes.has(c)||(this.disabledNodes.add(c),ir(c,kr)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),Tr(c,kr))}removeNode(c,n,u,v){if(Ri(n)){const E=c?this._fetchNamespace(c):null;if(E?E.removeNode(n,v):this.markElementAsRemoved(c,n,!1,v),u){const fe=this.namespacesByHostElement.get(n);fe&&fe.id!==c&&fe.removeNode(n,v)}}else this._onRemovalComplete(n,v)}markElementAsRemoved(c,n,u,v,E){this.collectedLeaveElements.push(n),n[ri]={namespaceId:c,setForRemoval:v,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:E}}listen(c,n,u,v,E){return Ri(n)?this._fetchNamespace(c).listen(n,u,v,E):()=>{}}_buildInstruction(c,n,u,v,E){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,u,v,c.fromState.options,c.toState.options,n,E)}destroyInnerAnimations(c){let n=this.driver.query(c,ht,!0);n.forEach(u=>this.destroyActiveAnimationsForElement(u)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(c,at,!0),n.forEach(u=>this.finishActiveQueriedAnimationOnElement(u)))}destroyActiveAnimationsForElement(c){const n=this.playersByElement.get(c);n&&n.forEach(u=>{u.queued?u.markedForDestroy=!0:u.destroy()})}finishActiveQueriedAnimationOnElement(c){const n=this.playersByQueriedElement.get(c);n&&n.forEach(u=>u.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Ot(this.players).onDone(()=>c());c()})}processLeaveNode(c){const n=c[ri];if(n&&n.setForRemoval){if(c[ri]=gr,n.namespaceId){this.destroyInnerAnimations(c);const u=this._fetchNamespace(n.namespaceId);u&&u.clearElementCache(c)}this._onRemovalComplete(c,n.setForRemoval)}c.classList?.contains(kr)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(u=>{this.markElementAsDisabled(u,!1)})}flush(c=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((u,v)=>this._balanceNamespaceList(u,v)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;uu()),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],n.length?Ot(n).onDone(()=>{u.forEach(v=>v())}):u.forEach(v=>v())}}reportError(c){throw function Ft(a){return new e.vHH(3402,!1)}()}_flushAnimations(c,n){const u=new Yr,v=[],E=new Map,fe=[],Ve=new Map,$e=new Map,zt=new Map,Ut=new Set;this.disabledNodes.forEach(hn=>{Ut.add(hn);const An=this.driver.query(hn,".ng-animate-queued",!0);for(let Tn=0;Tn{const Tn=qt+fn++;on.set(An,Tn),hn.forEach(di=>ir(di,Tn))});const Ln=[],wn=new Set,En=new Set;for(let hn=0;hnwn.add(di)):En.add(An))}const mi=new Map,Si=Gi(xn,Array.from(wn));Si.forEach((hn,An)=>{const Tn=Qe+fn++;mi.set(An,Tn),hn.forEach(di=>ir(di,Tn))}),c.push(()=>{yn.forEach((hn,An)=>{const Tn=on.get(An);hn.forEach(di=>Tr(di,Tn))}),Si.forEach((hn,An)=>{const Tn=mi.get(An);hn.forEach(di=>Tr(di,Tn))}),Ln.forEach(hn=>{this.processLeaveNode(hn)})});const $o=[],Fr=[];for(let hn=this._namespaceList.length-1;hn>=0;hn--)this._namespaceList[hn].drainQueuedTransitions(n).forEach(Tn=>{const di=Tn.player,Er=Tn.element;if($o.push(di),this.collectedEnterElements.length){const _r=Er[ri];if(_r&&_r.setForMove){if(_r.previousTriggersValues&&_r.previousTriggersValues.has(Tn.triggerName)){const Pr=_r.previousTriggersValues.get(Tn.triggerName),mo=this.statesByElement.get(Tn.element);if(mo&&mo.has(Tn.triggerName)){const ya=mo.get(Tn.triggerName);ya.value=Pr,mo.set(Tn.triggerName,ya)}}return void di.destroy()}}const Ho=!Xt||!this.driver.containsElement(Xt,Er),So=mi.get(Er),Br=on.get(Er),Pi=this._buildInstruction(Tn,u,Br,So,Ho);if(Pi.errors&&Pi.errors.length)return void Fr.push(Pi);if(Ho)return di.onStart(()=>Sn(Er,Pi.fromStyles)),di.onDestroy(()=>Yn(Er,Pi.toStyles)),void v.push(di);if(Tn.isFallbackTransition)return di.onStart(()=>Sn(Er,Pi.fromStyles)),di.onDestroy(()=>Yn(Er,Pi.toStyles)),void v.push(di);const Zr=[];Pi.timelines.forEach(_r=>{_r.stretchStartingKeyframe=!0,this.disabledNodes.has(_r.element)||Zr.push(_r)}),Pi.timelines=Zr,u.append(Er,Pi.timelines),fe.push({instruction:Pi,player:di,element:Er}),Pi.queriedElements.forEach(_r=>Pt(Ve,_r,[]).push(di)),Pi.preStyleProps.forEach((_r,Pr)=>{if(_r.size){let mo=$e.get(Pr);mo||$e.set(Pr,mo=new Set),_r.forEach((ya,Pa)=>mo.add(Pa))}}),Pi.postStyleProps.forEach((_r,Pr)=>{let mo=zt.get(Pr);mo||zt.set(Pr,mo=new Set),_r.forEach((ya,Pa)=>mo.add(Pa))})});if(Fr.length){const hn=[];Fr.forEach(An=>{hn.push(function Ge(a,c){return new e.vHH(3505,!1)}())}),$o.forEach(An=>An.destroy()),this.reportError(hn)}const sr=new Map,zo=new Map;fe.forEach(hn=>{const An=hn.element;u.has(An)&&(zo.set(An,An),this._beforeAnimationBuild(hn.player.namespaceId,hn.instruction,sr))}),v.forEach(hn=>{const An=hn.element;this._getPreviousPlayers(An,!1,hn.namespaceId,hn.triggerName,null).forEach(di=>{Pt(sr,An,[]).push(di),di.destroy()})});const Qo=Ln.filter(hn=>Dr(hn,$e,zt)),qo=new Map;bn(qo,this.driver,En,zt,h.l3).forEach(hn=>{Dr(hn,$e,zt)&&Qo.push(hn)});const qa=new Map;yn.forEach((hn,An)=>{bn(qa,this.driver,new Set(hn),$e,h.k1)}),Qo.forEach(hn=>{const An=qo.get(hn),Tn=qa.get(hn);qo.set(hn,new Map([...Array.from(An?.entries()??[]),...Array.from(Tn?.entries()??[])]))});const va=[],ql=[],Ga={};fe.forEach(hn=>{const{element:An,player:Tn,instruction:di}=hn;if(u.has(An)){if(Ut.has(An))return Tn.onDestroy(()=>Yn(An,di.toStyles)),Tn.disabled=!0,Tn.overrideTotalTime(di.totalTime),void v.push(Tn);let Er=Ga;if(zo.size>1){let So=An;const Br=[];for(;So=So.parentNode;){const Pi=zo.get(So);if(Pi){Er=Pi;break}Br.push(So)}Br.forEach(Pi=>zo.set(Pi,Er))}const Ho=this._buildAnimation(Tn.namespaceId,di,sr,E,qa,qo);if(Tn.setRealPlayer(Ho),Er===Ga)va.push(Tn);else{const So=this.playersByElement.get(Er);So&&So.length&&(Tn.parentPlayer=Ot(So)),v.push(Tn)}}else Sn(An,di.fromStyles),Tn.onDestroy(()=>Yn(An,di.toStyles)),ql.push(Tn),Ut.has(An)&&v.push(Tn)}),ql.forEach(hn=>{const An=E.get(hn.element);if(An&&An.length){const Tn=Ot(An);hn.setRealPlayer(Tn)}}),v.forEach(hn=>{hn.parentPlayer?hn.syncPlayerEvents(hn.parentPlayer):hn.destroy()});for(let hn=0;hn!Ho.destroyed);Er.length?po(this,An,Er):this.processLeaveNode(An)}return Ln.length=0,va.forEach(hn=>{this.players.push(hn),hn.onDone(()=>{hn.destroy();const An=this.players.indexOf(hn);this.players.splice(An,1)}),hn.play()}),va}elementContainsData(c,n){let u=!1;const v=n[ri];return v&&v.setForRemoval&&(u=!0),this.playersByElement.has(n)&&(u=!0),this.playersByQueriedElement.has(n)&&(u=!0),this.statesByElement.has(n)&&(u=!0),this._fetchNamespace(c).elementContainsData(n)||u}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,n,u,v,E){let fe=[];if(n){const Ve=this.playersByQueriedElement.get(c);Ve&&(fe=Ve)}else{const Ve=this.playersByElement.get(c);if(Ve){const $e=!E||E==wo;Ve.forEach(zt=>{zt.queued||!$e&&zt.triggerName!=v||fe.push(zt)})}}return(u||v)&&(fe=fe.filter(Ve=>!(u&&u!=Ve.namespaceId||v&&v!=Ve.triggerName))),fe}_beforeAnimationBuild(c,n,u){const E=n.element,fe=n.isRemovalTransition?void 0:c,Ve=n.isRemovalTransition?void 0:n.triggerName;for(const $e of n.timelines){const zt=$e.element,Ut=zt!==E,Xt=Pt(u,zt,[]);this._getPreviousPlayers(zt,Ut,fe,Ve,n.toState).forEach(yn=>{const on=yn.getRealPlayer();on.beforeDestroy&&on.beforeDestroy(),yn.destroy(),Xt.push(yn)})}Sn(E,n.fromStyles)}_buildAnimation(c,n,u,v,E,fe){const Ve=n.triggerName,$e=n.element,zt=[],Ut=new Set,Xt=new Set,xn=n.timelines.map(on=>{const fn=on.element;Ut.add(fn);const Ln=fn[ri];if(Ln&&Ln.removedBeforeQueried)return new h.ZN(on.duration,on.delay);const wn=fn!==$e,En=function go(a){const c=[];return vr(a,c),c}((u.get(fn)||Un).map(sr=>sr.getRealPlayer())).filter(sr=>!!sr.element&&sr.element===fn),mi=E.get(fn),Si=fe.get(fn),$o=Dt(0,this._normalizer,0,on.keyframes,mi,Si),Fr=this._buildPlayer(on,$o,En);if(on.subTimeline&&v&&Xt.add(fn),wn){const sr=new Vr(c,Ve,fn);sr.setRealPlayer(Fr),zt.push(sr)}return Fr});zt.forEach(on=>{Pt(this.playersByQueriedElement,on.element,[]).push(on),on.onDone(()=>function $r(a,c,n){let u=a.get(c);if(u){if(u.length){const v=u.indexOf(n);u.splice(v,1)}0==u.length&&a.delete(c)}return u}(this.playersByQueriedElement,on.element,on))}),Ut.forEach(on=>ir(on,Vt));const yn=Ot(xn);return yn.onDestroy(()=>{Ut.forEach(on=>Tr(on,Vt)),Yn($e,n.toStyles)}),Xt.forEach(on=>{Pt(v,on,[]).push(yn)}),yn}_buildPlayer(c,n,u){return n.length>0?this.driver.animate(c.element,n,c.duration,c.delay,c.easing,u):new h.ZN(c.duration,c.delay)}}class Vr{constructor(c,n,u){this.namespaceId=c,this.triggerName=n,this.element=u,this._player=new h.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((n,u)=>{n.forEach(v=>Bt(c,u,void 0,v))}),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 n=this._player;n.triggerCallback&&c.onStart(()=>n.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,n){Pt(this._queuedCallbacks,c,[]).push(n)}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 n=this._player;n.triggerCallback&&n.triggerCallback(c)}}function Ri(a){return a&&1===a.nodeType}function Ei(a,c){const n=a.style.display;return a.style.display=c??"none",n}function bn(a,c,n,u,v){const E=[];n.forEach($e=>E.push(Ei($e)));const fe=[];u.forEach(($e,zt)=>{const Ut=new Map;$e.forEach(Xt=>{const xn=c.computeStyle(zt,Xt,v);Ut.set(Xt,xn),(!xn||0==xn.length)&&(zt[ri]=Ir,fe.push(zt))}),a.set(zt,Ut)});let Ve=0;return n.forEach($e=>Ei($e,E[Ve++])),fe}function Gi(a,c){const n=new Map;if(a.forEach(Ve=>n.set(Ve,[])),0==c.length)return n;const v=new Set(c),E=new Map;function fe(Ve){if(!Ve)return 1;let $e=E.get(Ve);if($e)return $e;const zt=Ve.parentNode;return $e=n.has(zt)?zt:v.has(zt)?1:fe(zt),E.set(Ve,$e),$e}return c.forEach(Ve=>{const $e=fe(Ve);1!==$e&&n.get($e).push(Ve)}),n}function ir(a,c){a.classList?.add(c)}function Tr(a,c){a.classList?.remove(c)}function po(a,c,n){Ot(n).onDone(()=>a.processLeaveNode(c))}function vr(a,c){for(let n=0;nv.add(E)):c.set(a,u),n.delete(a),!0}class Zt{constructor(c,n,u){this.bodyNode=c,this._driver=n,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(v,E)=>{},this._transitionEngine=new ei(c,n,u),this._timelineEngine=new jr(c,n,u),this._transitionEngine.onRemovalComplete=(v,E)=>this.onRemovalComplete(v,E)}registerTrigger(c,n,u,v,E){const fe=c+"-"+v;let Ve=this._triggerCache[fe];if(!Ve){const $e=[],Ut=Hi(this._driver,E,$e,[]);if($e.length)throw function he(a,c){return new e.vHH(3404,!1)}();Ve=function xr(a,c,n){return new hr(a,c,n)}(v,Ut,this._normalizer),this._triggerCache[fe]=Ve}this._transitionEngine.registerTrigger(n,v,Ve)}register(c,n){this._transitionEngine.register(c,n)}destroy(c,n){this._transitionEngine.destroy(c,n)}onInsert(c,n,u,v){this._transitionEngine.insertNode(c,n,u,v)}onRemove(c,n,u,v){this._transitionEngine.removeNode(c,n,v||!1,u)}disableAnimations(c,n){this._transitionEngine.markElementAsDisabled(c,n)}process(c,n,u,v){if("@"==u.charAt(0)){const[E,fe]=Qt(u);this._timelineEngine.command(E,n,fe,v)}else this._transitionEngine.trigger(c,n,u,v)}listen(c,n,u,v,E){if("@"==u.charAt(0)){const[fe,Ve]=Qt(u);return this._timelineEngine.listen(fe,n,Ve,E)}return this._transitionEngine.listen(c,n,u,v,E)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Jo=(()=>{class a{constructor(n,u,v){this._element=n,this._startStyles=u,this._endStyles=v,this._state=0;let E=a.initialStylesByElement.get(n);E||a.initialStylesByElement.set(n,E=new Map),this._initialStyles=E}start(){this._state<1&&(this._startStyles&&Yn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yn(this._element,this._initialStyles),this._endStyles&&(Yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(a.initialStylesByElement.delete(this._element),this._startStyles&&(Sn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sn(this._element,this._endStyles),this._endStyles=null),Yn(this._element,this._initialStyles),this._state=3)}}return a.initialStylesByElement=new WeakMap,a})();function oe(a){let c=null;return a.forEach((n,u)=>{(function Xe(a){return"display"===a||"position"===a})(u)&&(c=c||new Map,c.set(u,n))}),c}class x{constructor(c,n,u,v){this.element=c,this.keyframes=n,this.options=u,this._specialStyles=v,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=u.duration,this._delay=u.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 n=[];return c.forEach(u=>{n.push(Object.fromEntries(u))}),n}_triggerWebAnimation(c,n,u){return c.animate(this._convertKeyframesToObject(n),u)}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((u,v)=>{"offset"!==v&&c.set(v,this._finished?u:Bn(this.element,v))}),this.currentSnapshot=c}triggerCallback(c){const n="start"===c?this._onStartFns:this._onDoneFns;n.forEach(u=>u()),n.length=0}}class ie{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,n){return!1}containsElement(c,n){return ce(c,n)}getParentElement(c){return je(c)}query(c,n,u){return He(c,n,u)}computeStyle(c,n,u){return window.getComputedStyle(c)[n]}animate(c,n,u,v,E,fe=[]){const $e={duration:u,delay:v,fill:0==v?"both":"forwards"};E&&($e.easing=E);const zt=new Map,Ut=fe.filter(yn=>yn instanceof x);(function ln(a,c){return 0===a||0===c})(u,v)&&Ut.forEach(yn=>{yn.currentSnapshot.forEach((on,fn)=>zt.set(fn,on))});let Xt=function In(a){return a.length?a[0]instanceof Map?a:a.map(c=>_n(c)):[]}(n).map(yn=>dn(yn));Xt=function kn(a,c,n){if(n.size&&c.length){let u=c[0],v=[];if(n.forEach((E,fe)=>{u.has(fe)||v.push(fe),u.set(fe,E)}),v.length)for(let E=1;Efe.set(Ve,Bn(a,Ve)))}}return c}(c,Xt,zt);const xn=function Hn(a,c){let n=null,u=null;return Array.isArray(c)&&c.length?(n=oe(c[0]),c.length>1&&(u=oe(c[c.length-1]))):c instanceof Map&&(n=oe(c)),n||u?new Jo(a,n,u):null}(c,Xt);return new x(c,Xt,$e,xn)}}let st=(()=>{class a extends h._j{constructor(n,u){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(u.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(n){const u=this._nextAnimationId.toString();this._nextAnimationId++;const v=Array.isArray(n)?(0,h.vP)(n):n;return N(this._renderer,null,u,"register",[v]),new Tt(u,this._renderer)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(e.FYo),e.LFG(g.K0))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class Tt extends h.LC{constructor(c,n){super(),this._id=c,this._renderer=n}create(c,n){return new I(this._id,c,n||{},this._renderer)}}class I{constructor(c,n,u,v){this.id=c,this.element=n,this._renderer=v,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",u)}_listen(c,n){return this._renderer.listen(this.element,`@@${this.id}:${c}`,n)}_command(c,...n){return N(this._renderer,this.element,this.id,c,n)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function N(a,c,n,u,v){return a.setProperty(c,`@@${n}:${u}`,v)}const D="@",me="@.disabled";let ft=(()=>{class a{constructor(n,u,v){this.delegate=n,this.engine=u,this._zone=v,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),u.onRemovalComplete=(E,fe)=>{const Ve=fe?.parentNode(E);Ve&&fe.removeChild(Ve,E)}}createRenderer(n,u){const E=this.delegate.createRenderer(n,u);if(!(n&&u&&u.data&&u.data.animation)){let Ut=this._rendererCache.get(E);return Ut||(Ut=new $t("",E,this.engine),this._rendererCache.set(E,Ut)),Ut}const fe=u.id,Ve=u.id+"-"+this._currentId;this._currentId++,this.engine.register(Ve,n);const $e=Ut=>{Array.isArray(Ut)?Ut.forEach($e):this.engine.registerTrigger(fe,Ve,n,Ut.name,Ut)};return u.data.animation.forEach($e),new Mn(this,Ve,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,u,v){n>=0&&nu(v)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(E=>{const[fe,Ve]=E;fe(Ve)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([u,v]))}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 a.\u0275fac=function(n){return new(n||a)(e.LFG(e.FYo),e.LFG(Zt),e.LFG(e.R0b))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class $t{constructor(c,n,u){this.namespaceId=c,this.delegate=n,this.engine=u,this.destroyNode=this.delegate.destroyNode?v=>n.destroyNode(v):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(c,n){return this.delegate.createElement(c,n)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,n){this.delegate.appendChild(c,n),this.engine.onInsert(this.namespaceId,n,c,!1)}insertBefore(c,n,u,v=!0){this.delegate.insertBefore(c,n,u),this.engine.onInsert(this.namespaceId,n,c,v)}removeChild(c,n,u){this.engine.onRemove(this.namespaceId,n,this.delegate,u)}selectRootElement(c,n){return this.delegate.selectRootElement(c,n)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,n,u,v){this.delegate.setAttribute(c,n,u,v)}removeAttribute(c,n,u){this.delegate.removeAttribute(c,n,u)}addClass(c,n){this.delegate.addClass(c,n)}removeClass(c,n){this.delegate.removeClass(c,n)}setStyle(c,n,u,v){this.delegate.setStyle(c,n,u,v)}removeStyle(c,n,u){this.delegate.removeStyle(c,n,u)}setProperty(c,n,u){n.charAt(0)==D&&n==me?this.disableAnimations(c,!!u):this.delegate.setProperty(c,n,u)}setValue(c,n){this.delegate.setValue(c,n)}listen(c,n,u){return this.delegate.listen(c,n,u)}disableAnimations(c,n){this.engine.disableAnimations(c,n)}}class Mn extends $t{constructor(c,n,u,v){super(n,u,v),this.factory=c,this.namespaceId=n}setProperty(c,n,u){n.charAt(0)==D?"."==n.charAt(1)&&n==me?this.disableAnimations(c,u=void 0===u||!!u):this.engine.process(this.namespaceId,c,n.slice(1),u):this.delegate.setProperty(c,n,u)}listen(c,n,u){if(n.charAt(0)==D){const v=function fi(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}(c);let E=n.slice(1),fe="";return E.charAt(0)!=D&&([E,fe]=function Ii(a){const c=a.indexOf(".");return[a.substring(0,c),a.slice(c+1)]}(E)),this.engine.listen(this.namespaceId,v,E,fe,Ve=>{this.factory.scheduleListenerCallback(Ve._data||-1,u,Ve)})}return this.delegate.listen(c,n,u)}}const Ca=[{provide:h._j,useClass:st},{provide:ur,useFactory:function To(){return new Ur}},{provide:Zt,useClass:(()=>{class a extends Zt{constructor(n,u,v,E){super(n.body,u,v)}ngOnDestroy(){this.flush()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(g.K0),e.LFG(Rt),e.LFG(ur),e.LFG(e.z2F))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})()},{provide:e.FYo,useFactory:function oa(a,c,n){return new ft(a,c,n)},deps:[o.se,Zt,e.R0b]}],ba=[{provide:Rt,useFactory:()=>new ie},{provide:e.QbO,useValue:"BrowserAnimations"},...Ca],aa=[{provide:Rt,useClass:xt},{provide:e.QbO,useValue:"NoopAnimations"},...Ca];let $=(()=>{class a{static withConfig(n){return{ngModule:a,providers:n.disableAnimations?aa:ba}}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:ba,imports:[o.b2]}),a})();var Te=p(8929),ct=p(23753),an=p(36787),mn=p(57138),On=p(7625);function L(a){return getComputedStyle(a)}function ye(a,c){for(var n in c){var u=c[n];"number"==typeof u&&(u+="px"),a.style[n]=u}return a}function ot(a){var c=document.createElement("div");return c.className=a,c}p(75778),p(77604);var kt=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Nt(a,c){if(!kt)throw new Error("No element matching method supported");return kt.call(a,c)}function cn(a){a.remove?a.remove():a.parentNode&&a.parentNode.removeChild(a)}function Kn(a,c){return Array.prototype.filter.call(a.children,function(n){return Nt(n,c)})}var Dn_element_thumb=function(a){return"ps__thumb-"+a},Dn_element_rail=function(a){return"ps__rail-"+a},Dn_element_consuming="ps__child--consume",Dn_state_focus="ps--focus",Dn_state_clicking="ps--clicking",Dn_state_active=function(a){return"ps--active-"+a},Dn_state_scrolling=function(a){return"ps--scrolling-"+a},ni={x:null,y:null};function qn(a,c){var n=a.element.classList,u=Dn_state_scrolling(c);n.contains(u)?clearTimeout(ni[c]):n.add(u)}function Fi(a,c){ni[c]=setTimeout(function(){return a.isAlive&&a.element.classList.remove(Dn_state_scrolling(c))},a.settings.scrollingThreshold)}var zi=function(c){this.element=c,this.handlers={}},Ar={isEmpty:{configurable:!0}};zi.prototype.bind=function(c,n){typeof this.handlers[c]>"u"&&(this.handlers[c]=[]),this.handlers[c].push(n),this.element.addEventListener(c,n,!1)},zi.prototype.unbind=function(c,n){var u=this;this.handlers[c]=this.handlers[c].filter(function(v){return!(!n||v===n)||(u.element.removeEventListener(c,v,!1),!1)})},zi.prototype.unbindAll=function(){for(var c in this.handlers)this.unbind(c)},Ar.isEmpty.get=function(){var a=this;return Object.keys(this.handlers).every(function(c){return 0===a.handlers[c].length})},Object.defineProperties(zi.prototype,Ar);var rr=function(){this.eventElements=[]};function ro(a){if("function"==typeof window.CustomEvent)return new CustomEvent(a);var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,!1,!1,void 0),c}function oo(a,c,n,u,v){var E;if(void 0===u&&(u=!0),void 0===v&&(v=!1),"top"===c)E=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==c)throw new Error("A proper axis should be provided");E=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function ao(a,c,n,u,v){var E=n[0],fe=n[1],Ve=n[2],$e=n[3],zt=n[4],Ut=n[5];void 0===u&&(u=!0),void 0===v&&(v=!1);var Xt=a.element;a.reach[$e]=null,Xt[Ve]<1&&(a.reach[$e]="start"),Xt[Ve]>a[E]-a[fe]-1&&(a.reach[$e]="end"),c&&(Xt.dispatchEvent(ro("ps-scroll-"+$e)),c<0?Xt.dispatchEvent(ro("ps-scroll-"+zt)):c>0&&Xt.dispatchEvent(ro("ps-scroll-"+Ut)),u&&function ci(a,c){qn(a,c),Fi(a,c)}(a,$e)),a.reach[$e]&&(c||v)&&Xt.dispatchEvent(ro("ps-"+$e+"-reach-"+a.reach[$e]))}(a,n,E,u,v)}function ui(a){return parseInt(a,10)||0}rr.prototype.eventElement=function(c){var n=this.eventElements.filter(function(u){return u.element===c})[0];return n||(n=new zi(c),this.eventElements.push(n)),n},rr.prototype.bind=function(c,n,u){this.eventElement(c).bind(n,u)},rr.prototype.unbind=function(c,n,u){var v=this.eventElement(c);v.unbind(n,u),v.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(v),1)},rr.prototype.unbindAll=function(){this.eventElements.forEach(function(c){return c.unbindAll()}),this.eventElements=[]},rr.prototype.once=function(c,n,u){var v=this.eventElement(c),E=function(fe){v.unbind(n,E),u(fe)};v.bind(n,E)};var vo={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function yo(a){var c=a.element,n=Math.floor(c.scrollTop),u=c.getBoundingClientRect();a.containerWidth=Math.ceil(u.width),a.containerHeight=Math.ceil(u.height),a.contentWidth=c.scrollWidth,a.contentHeight=c.scrollHeight,c.contains(a.scrollbarXRail)||(Kn(c,Dn_element_rail("x")).forEach(function(v){return cn(v)}),c.appendChild(a.scrollbarXRail)),c.contains(a.scrollbarYRail)||(Kn(c,Dn_element_rail("y")).forEach(function(v){return cn(v)}),c.appendChild(a.scrollbarYRail)),!a.settings.suppressScrollX&&a.containerWidth+a.settings.scrollXMarginOffset=a.railXWidth-a.scrollbarXWidth&&(a.scrollbarXLeft=a.railXWidth-a.scrollbarXWidth),a.scrollbarYTop>=a.railYHeight-a.scrollbarYHeight&&(a.scrollbarYTop=a.railYHeight-a.scrollbarYHeight),function tl(a,c){var n={width:c.railXWidth},u=Math.floor(a.scrollTop);n.left=c.isRtl?c.negativeScrollAdjustment+a.scrollLeft+c.containerWidth-c.contentWidth:a.scrollLeft,c.isScrollbarXUsingBottom?n.bottom=c.scrollbarXBottom-u:n.top=c.scrollbarXTop+u,ye(c.scrollbarXRail,n);var v={top:u,height:c.railYHeight};c.isScrollbarYUsingRight?v.right=c.isRtl?c.contentWidth-(c.negativeScrollAdjustment+a.scrollLeft)-c.scrollbarYRight-c.scrollbarYOuterWidth-9:c.scrollbarYRight-a.scrollLeft:v.left=c.isRtl?c.negativeScrollAdjustment+a.scrollLeft+2*c.containerWidth-c.contentWidth-c.scrollbarYLeft-c.scrollbarYOuterWidth:c.scrollbarYLeft+a.scrollLeft,ye(c.scrollbarYRail,v),ye(c.scrollbarX,{left:c.scrollbarXLeft,width:c.scrollbarXWidth-c.railBorderXWidth}),ye(c.scrollbarY,{top:c.scrollbarYTop,height:c.scrollbarYHeight-c.railBorderYWidth})}(c,a),a.scrollbarXActive?c.classList.add(Dn_state_active("x")):(c.classList.remove(Dn_state_active("x")),a.scrollbarXWidth=0,a.scrollbarXLeft=0,c.scrollLeft=!0===a.isRtl?a.contentWidth:0),a.scrollbarYActive?c.classList.add(Dn_state_active("y")):(c.classList.remove(Dn_state_active("y")),a.scrollbarYHeight=0,a.scrollbarYTop=0,c.scrollTop=0)}function xs(a,c){return a.settings.minScrollbarLength&&(c=Math.max(c,a.settings.minScrollbarLength)),a.settings.maxScrollbarLength&&(c=Math.min(c,a.settings.maxScrollbarLength)),c}function Ma(a,c){var n=c[0],u=c[1],v=c[2],E=c[3],fe=c[4],Ve=c[5],$e=c[6],zt=c[7],Ut=c[8],Xt=a.element,xn=null,yn=null,on=null;function fn(En){En.touches&&En.touches[0]&&(En[v]=En.touches[0].pageY),Xt[$e]=xn+on*(En[v]-yn),qn(a,zt),yo(a),En.stopPropagation(),En.preventDefault()}function Ln(){Fi(a,zt),a[Ut].classList.remove(Dn_state_clicking),a.event.unbind(a.ownerDocument,"mousemove",fn)}function wn(En,mi){xn=Xt[$e],mi&&En.touches&&(En[v]=En.touches[0].pageY),yn=En[v],on=(a[u]-a[n])/(a[E]-a[Ve]),mi?a.event.bind(a.ownerDocument,"touchmove",fn):(a.event.bind(a.ownerDocument,"mousemove",fn),a.event.once(a.ownerDocument,"mouseup",Ln),En.preventDefault()),a[Ut].classList.add(Dn_state_clicking),En.stopPropagation()}a.event.bind(a[fe],"mousedown",function(En){wn(En)}),a.event.bind(a[fe],"touchstart",function(En){wn(En,!0)})}var ol={"click-rail":function ac(a){a.event.bind(a.scrollbarY,"mousedown",function(n){return n.stopPropagation()}),a.event.bind(a.scrollbarYRail,"mousedown",function(n){var u=n.pageY-window.pageYOffset-a.scrollbarYRail.getBoundingClientRect().top;a.element.scrollTop+=(u>a.scrollbarYTop?1:-1)*a.containerHeight,yo(a),n.stopPropagation()}),a.event.bind(a.scrollbarX,"mousedown",function(n){return n.stopPropagation()}),a.event.bind(a.scrollbarXRail,"mousedown",function(n){var u=n.pageX-window.pageXOffset-a.scrollbarXRail.getBoundingClientRect().left;a.element.scrollLeft+=(u>a.scrollbarXLeft?1:-1)*a.containerWidth,yo(a),n.stopPropagation()})},"drag-thumb":function sc(a){Ma(a,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Ma(a,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function nl(a){var c=a.element;a.event.bind(a.ownerDocument,"keydown",function(E){if(!(E.isDefaultPrevented&&E.isDefaultPrevented()||E.defaultPrevented)&&(Nt(c,":hover")||Nt(a.scrollbarX,":focus")||Nt(a.scrollbarY,":focus"))){var fe=document.activeElement?document.activeElement:a.ownerDocument.activeElement;if(fe){if("IFRAME"===fe.tagName)fe=fe.contentDocument.activeElement;else for(;fe.shadowRoot;)fe=fe.shadowRoot.activeElement;if(function Ha(a){return Nt(a,"input,[contenteditable]")||Nt(a,"select,[contenteditable]")||Nt(a,"textarea,[contenteditable]")||Nt(a,"button,[contenteditable]")}(fe))return}var Ve=0,$e=0;switch(E.which){case 37:Ve=E.metaKey?-a.contentWidth:E.altKey?-a.containerWidth:-30;break;case 38:$e=E.metaKey?a.contentHeight:E.altKey?a.containerHeight:30;break;case 39:Ve=E.metaKey?a.contentWidth:E.altKey?a.containerWidth:30;break;case 40:$e=E.metaKey?-a.contentHeight:E.altKey?-a.containerHeight:-30;break;case 32:$e=E.shiftKey?a.containerHeight:-a.containerHeight;break;case 33:$e=a.containerHeight;break;case 34:$e=-a.containerHeight;break;case 36:$e=a.contentHeight;break;case 35:$e=-a.contentHeight;break;default:return}a.settings.suppressScrollX&&0!==Ve||a.settings.suppressScrollY&&0!==$e||(c.scrollTop-=$e,c.scrollLeft+=Ve,yo(a),function v(E,fe){var Ve=Math.floor(c.scrollTop);if(0===E){if(!a.scrollbarYActive)return!1;if(0===Ve&&fe>0||Ve>=a.contentHeight-a.containerHeight&&fe<0)return!a.settings.wheelPropagation}var $e=c.scrollLeft;if(0===fe){if(!a.scrollbarXActive)return!1;if(0===$e&&E<0||$e>=a.contentWidth-a.containerWidth&&E>0)return!a.settings.wheelPropagation}return!0}(Ve,$e)&&E.preventDefault())}})},wheel:function il(a){var c=a.element;function E(fe){var Ve=function u(fe){var Ve=fe.deltaX,$e=-1*fe.deltaY;return(typeof Ve>"u"||typeof $e>"u")&&(Ve=-1*fe.wheelDeltaX/6,$e=fe.wheelDeltaY/6),fe.deltaMode&&1===fe.deltaMode&&(Ve*=10,$e*=10),Ve!=Ve&&$e!=$e&&(Ve=0,$e=fe.wheelDelta),fe.shiftKey?[-$e,-Ve]:[Ve,$e]}(fe),$e=Ve[0],zt=Ve[1];if(!function v(fe,Ve,$e){if(!vo.isWebKit&&c.querySelector("select:focus"))return!0;if(!c.contains(fe))return!1;for(var zt=fe;zt&&zt!==c;){if(zt.classList.contains(Dn_element_consuming))return!0;var Ut=L(zt);if($e&&Ut.overflowY.match(/(scroll|auto)/)){var Xt=zt.scrollHeight-zt.clientHeight;if(Xt>0&&(zt.scrollTop>0&&$e<0||zt.scrollTop0))return!0}if(Ve&&Ut.overflowX.match(/(scroll|auto)/)){var xn=zt.scrollWidth-zt.clientWidth;if(xn>0&&(zt.scrollLeft>0&&Ve<0||zt.scrollLeft0))return!0}zt=zt.parentNode}return!1}(fe.target,$e,zt)){var Ut=!1;a.settings.useBothWheelAxes?a.scrollbarYActive&&!a.scrollbarXActive?(zt?c.scrollTop-=zt*a.settings.wheelSpeed:c.scrollTop+=$e*a.settings.wheelSpeed,Ut=!0):a.scrollbarXActive&&!a.scrollbarYActive&&($e?c.scrollLeft+=$e*a.settings.wheelSpeed:c.scrollLeft-=zt*a.settings.wheelSpeed,Ut=!0):(c.scrollTop-=zt*a.settings.wheelSpeed,c.scrollLeft+=$e*a.settings.wheelSpeed),yo(a),Ut=Ut||function n(fe,Ve){var $e=Math.floor(c.scrollTop),zt=0===c.scrollTop,Ut=$e+c.offsetHeight===c.scrollHeight,Xt=0===c.scrollLeft,xn=c.scrollLeft+c.offsetWidth===c.scrollWidth;return!(Math.abs(Ve)>Math.abs(fe)?zt||Ut:Xt||xn)||!a.settings.wheelPropagation}($e,zt),Ut&&!fe.ctrlKey&&(fe.stopPropagation(),fe.preventDefault())}}typeof window.onwheel<"u"?a.event.bind(c,"wheel",E):typeof window.onmousewheel<"u"&&a.event.bind(c,"mousewheel",E)},touch:function ts(a){if(vo.supportsTouch||vo.supportsIePointer){var c=a.element,v={},E=0,fe={},Ve=null;vo.supportsTouch?(a.event.bind(c,"touchstart",Ut),a.event.bind(c,"touchmove",xn),a.event.bind(c,"touchend",yn)):vo.supportsIePointer&&(window.PointerEvent?(a.event.bind(c,"pointerdown",Ut),a.event.bind(c,"pointermove",xn),a.event.bind(c,"pointerup",yn)):window.MSPointerEvent&&(a.event.bind(c,"MSPointerDown",Ut),a.event.bind(c,"MSPointerMove",xn),a.event.bind(c,"MSPointerUp",yn)))}function u(on,fn){c.scrollTop-=fn,c.scrollLeft-=on,yo(a)}function $e(on){return on.targetTouches?on.targetTouches[0]:on}function zt(on){return!(on.pointerType&&"pen"===on.pointerType&&0===on.buttons||!(on.targetTouches&&1===on.targetTouches.length||on.pointerType&&"mouse"!==on.pointerType&&on.pointerType!==on.MSPOINTER_TYPE_MOUSE))}function Ut(on){if(zt(on)){var fn=$e(on);v.pageX=fn.pageX,v.pageY=fn.pageY,E=(new Date).getTime(),null!==Ve&&clearInterval(Ve)}}function xn(on){if(zt(on)){var fn=$e(on),Ln={pageX:fn.pageX,pageY:fn.pageY},wn=Ln.pageX-v.pageX,En=Ln.pageY-v.pageY;if(function Xt(on,fn,Ln){if(!c.contains(on))return!1;for(var wn=on;wn&&wn!==c;){if(wn.classList.contains(Dn_element_consuming))return!0;var En=L(wn);if(Ln&&En.overflowY.match(/(scroll|auto)/)){var mi=wn.scrollHeight-wn.clientHeight;if(mi>0&&(wn.scrollTop>0&&Ln<0||wn.scrollTop0))return!0}if(fn&&En.overflowX.match(/(scroll|auto)/)){var Si=wn.scrollWidth-wn.clientWidth;if(Si>0&&(wn.scrollLeft>0&&fn<0||wn.scrollLeft0))return!0}wn=wn.parentNode}return!1}(on.target,wn,En))return;u(wn,En),v=Ln;var mi=(new Date).getTime(),Si=mi-E;Si>0&&(fe.x=wn/Si,fe.y=En/Si,E=mi),function n(on,fn){var Ln=Math.floor(c.scrollTop),wn=c.scrollLeft,En=Math.abs(on),mi=Math.abs(fn);if(mi>En){if(fn<0&&Ln===a.contentHeight-a.containerHeight||fn>0&&0===Ln)return 0===window.scrollY&&fn>0&&vo.isChrome}else if(En>mi&&(on<0&&wn===a.contentWidth-a.containerWidth||on>0&&0===wn))return!0;return!0}(wn,En)&&on.preventDefault()}}function yn(){a.settings.swipeEasing&&(clearInterval(Ve),Ve=setInterval(function(){a.isInitialized?clearInterval(Ve):fe.x||fe.y?Math.abs(fe.x)<.01&&Math.abs(fe.y)<.01?clearInterval(Ve):(u(30*fe.x,30*fe.y),fe.x*=.8,fe.y*=.8):clearInterval(Ve)},10))}}},Do=function(c,n){var u=this;if(void 0===n&&(n={}),"string"==typeof c&&(c=document.querySelector(c)),!c||!c.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var v in this.element=c,c.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},n)this.settings[v]=n[v];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Ut,zt,E=function(){return c.classList.add(Dn_state_focus)},fe=function(){return c.classList.remove(Dn_state_focus)};this.isRtl="rtl"===L(c).direction,!0===this.isRtl&&c.classList.add("ps__rtl"),this.isNegativeScroll=(zt=c.scrollLeft,c.scrollLeft=-1,Ut=c.scrollLeft<0,c.scrollLeft=zt,Ut),this.negativeScrollAdjustment=this.isNegativeScroll?c.scrollWidth-c.clientWidth:0,this.event=new rr,this.ownerDocument=c.ownerDocument||document,this.scrollbarXRail=ot(Dn_element_rail("x")),c.appendChild(this.scrollbarXRail),this.scrollbarX=ot(Dn_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",E),this.event.bind(this.scrollbarX,"blur",fe),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Ve=L(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Ve.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=ui(Ve.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=ui(Ve.borderLeftWidth)+ui(Ve.borderRightWidth),ye(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=ui(Ve.marginLeft)+ui(Ve.marginRight),ye(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=ot(Dn_element_rail("y")),c.appendChild(this.scrollbarYRail),this.scrollbarY=ot(Dn_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",E),this.event.bind(this.scrollbarY,"blur",fe),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var $e=L(this.scrollbarYRail);this.scrollbarYRight=parseInt($e.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=ui($e.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function oc(a){var c=L(a);return ui(c.width)+ui(c.paddingLeft)+ui(c.paddingRight)+ui(c.borderLeftWidth)+ui(c.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=ui($e.borderTopWidth)+ui($e.borderBottomWidth),ye(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=ui($e.marginTop)+ui($e.marginBottom),ye(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:c.scrollLeft<=0?"start":c.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:c.scrollTop<=0?"start":c.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(zt){return ol[zt](u)}),this.lastScrollTop=Math.floor(c.scrollTop),this.lastScrollLeft=c.scrollLeft,this.event.bind(this.element,"scroll",function(zt){return u.onScroll(zt)}),yo(this)};Do.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,ye(this.scrollbarXRail,{display:"block"}),ye(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=ui(L(this.scrollbarXRail).marginLeft)+ui(L(this.scrollbarXRail).marginRight),this.railYMarginHeight=ui(L(this.scrollbarYRail).marginTop)+ui(L(this.scrollbarYRail).marginBottom),ye(this.scrollbarXRail,{display:"none"}),ye(this.scrollbarYRail,{display:"none"}),yo(this),oo(this,"top",0,!1,!0),oo(this,"left",0,!1,!0),ye(this.scrollbarXRail,{display:""}),ye(this.scrollbarYRail,{display:""}))},Do.prototype.onScroll=function(c){!this.isAlive||(yo(this),oo(this,"top",this.element.scrollTop-this.lastScrollTop),oo(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Do.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),cn(this.scrollbarX),cn(this.scrollbarY),cn(this.scrollbarXRail),cn(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Do.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(c){return!c.match(/^ps([-_].+|)$/)}).join(" ")};const al=Do;var No=function(){if(typeof Map<"u")return Map;function a(c,n){var u=-1;return c.some(function(v,E){return v[0]===n&&(u=E,!0)}),u}return function(){function c(){this.__entries__=[]}return Object.defineProperty(c.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),c.prototype.get=function(n){var u=a(this.__entries__,n),v=this.__entries__[u];return v&&v[1]},c.prototype.set=function(n,u){var v=a(this.__entries__,n);~v?this.__entries__[v][1]=u:this.__entries__.push([n,u])},c.prototype.delete=function(n){var u=this.__entries__,v=a(u,n);~v&&u.splice(v,1)},c.prototype.has=function(n){return!!~a(this.__entries__,n)},c.prototype.clear=function(){this.__entries__.splice(0)},c.prototype.forEach=function(n,u){void 0===u&&(u=null);for(var v=0,E=this.__entries__;v0},a.prototype.connect_=function(){!za||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ns?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){!za||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(c){var n=c.propertyName,u=void 0===n?"":n;Ao.some(function(E){return!!~u.indexOf(E)})&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null,a}(),xa=function(a,c){for(var n=0,u=Object.keys(c);n"u")&&Element instanceof Object){if(!(c instanceof Eo(c).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(c)||(n.set(c,new ws(c)),this.controller_.addObserver(this),this.controller_.refresh())}},a.prototype.unobserve=function(c){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(c instanceof Eo(c).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;!n.has(c)||(n.delete(c),n.size||this.controller_.removeObserver(this))}},a.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},a.prototype.gatherActive=function(){var c=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&c.activeObservations_.push(n)})},a.prototype.broadcastActive=function(){if(this.hasActive()){var c=this.callbackCtx_,n=this.activeObservations_.map(function(u){return new La(u.target,u.broadcastRect())});this.callback_.call(c,n,c),this.clearActive()}},a.prototype.clearActive=function(){this.activeObservations_.splice(0)},a.prototype.hasActive=function(){return this.activeObservations_.length>0},a}(),Ts=typeof WeakMap<"u"?new WeakMap:new No,Ds=function a(c){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Sa.getInstance(),u=new Lo(c,n,this);Ts.set(this,u)};["observe","unobserve","disconnect"].forEach(function(a){Ds.prototype[a]=function(){var c;return(c=Ts.get(this))[a].apply(c,arguments)}});const uc=typeof Xo.ResizeObserver<"u"?Xo.ResizeObserver:Ds,ea=new e.OlP("PERFECT_SCROLLBAR_CONFIG");class ta{constructor(c,n,u,v){this.x=c,this.y=n,this.w=u,this.h=v}}class Po{constructor(c,n){this.x=c,this.y=n}}const pl=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class rs{constructor(c={}){this.assign(c)}assign(c={}){for(const n in c)this[n]=c[n]}}let so=(()=>{class a{constructor(n,u,v,E,fe){this.zone=n,this.differs=u,this.elementRef=v,this.platformId=E,this.defaults=fe,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new Te.xQ,this.disabled=!1,this.psScrollY=new e.vpe,this.psScrollX=new e.vpe,this.psScrollUp=new e.vpe,this.psScrollDown=new e.vpe,this.psScrollLeft=new e.vpe,this.psScrollRight=new e.vpe,this.psYReachEnd=new e.vpe,this.psYReachStart=new e.vpe,this.psXReachEnd=new e.vpe,this.psXReachStart=new e.vpe}ngOnInit(){if(!this.disabled&&(0,g.NF)(this.platformId)){const n=new rs(this.defaults);n.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new al(this.elementRef.nativeElement,n)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new uc(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{pl.forEach(u=>{const v=u.replace(/([A-Z])/g,E=>`-${E.toLowerCase()}`);(0,ct.R)(this.elementRef.nativeElement,v).pipe((0,mn.e)(20),(0,On.R)(this.ngDestroy)).subscribe(E=>{this[u].emit(E)})})})}}ngOnDestroy(){(0,g.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,g.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(n){n.disabled&&!n.disabled.isFirstChange()&&(0,g.NF)(this.platformId)&&n.disabled.currentValue!==n.disabled.previousValue&&(!0===n.disabled.currentValue?this.ngOnDestroy():!1===n.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(n="scroll"){return new ta(this.elementRef.nativeElement[n+"Left"],this.elementRef.nativeElement[n+"Top"],this.elementRef.nativeElement[n+"Width"],this.elementRef.nativeElement[n+"Height"])}position(n=!1){return!n&&this.instance?new Po(this.instance.reach.x||0,this.instance.reach.y||0):new Po(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(n="any"){const u=this.elementRef.nativeElement;return"any"===n?u.classList.contains("ps--active-x")||u.classList.contains("ps--active-y"):"both"===n?u.classList.contains("ps--active-x")&&u.classList.contains("ps--active-y"):u.classList.contains("ps--active-"+n)}scrollTo(n,u,v){this.disabled||(null==u&&null==v?this.animateScrolling("scrollTop",n,v):(null!=n&&this.animateScrolling("scrollLeft",n,v),null!=u&&this.animateScrolling("scrollTop",u,v)))}scrollToX(n,u){this.animateScrolling("scrollLeft",n,u)}scrollToY(n,u){this.animateScrolling("scrollTop",n,u)}scrollToTop(n,u){this.animateScrolling("scrollTop",n||0,u)}scrollToLeft(n,u){this.animateScrolling("scrollLeft",n||0,u)}scrollToRight(n,u){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(n||0),u)}scrollToBottom(n,u){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(n||0),u)}scrollToElement(n,u,v){if("string"==typeof n&&(n=this.elementRef.nativeElement.querySelector(n)),n){const E=n.getBoundingClientRect(),fe=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",E.left-fe.left+this.elementRef.nativeElement.scrollLeft+(u||0),v),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",E.top-fe.top+this.elementRef.nativeElement.scrollTop+(u||0),v)}}animateScrolling(n,u,v){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!v||typeof window>"u")this.elementRef.nativeElement[n]=u;else if(u!==this.elementRef.nativeElement[n]){let E=0,fe=0,Ve=performance.now(),$e=this.elementRef.nativeElement[n];const zt=($e-u)/2,Ut=Xt=>{fe+=Math.PI/(v/(Xt-Ve)),E=Math.round(u+zt+zt*Math.cos(fe)),this.elementRef.nativeElement[n]===$e&&(fe>=Math.PI?this.animateScrolling(n,u,0):(this.elementRef.nativeElement[n]=E,$e=this.elementRef.nativeElement[n],Ve=Xt,this.animation=window.requestAnimationFrame(Ut)))};window.requestAnimationFrame(Ut)}}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.R0b),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Lbi),e.Y36(ea,8))},a.\u0275dir=e.lG2({type:a,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[e.TTD]}),a})(),Ci=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez,g.ez]}),a})();const pc=new e.OlP("recaptcha-language"),fl=new e.OlP("recaptcha-base-url"),L1=new e.OlP("recaptcha-nonce-tag"),fc=(new e.OlP("recaptcha-settings"),new e.OlP("recaptcha-v3-site-key")),R1_loadScript=function mc(a,c,n,u,v){window.ng2recaptchaloaded=()=>{c(grecaptcha)};const E=document.createElement("script");E.innerHTML="",E.src=`${u||"https://www.google.com/recaptcha/api.js"}?render=${a}&onload=ng2recaptchaloaded${n}`,v&&(E.nonce=v),E.async=!0,E.defer=!0,document.head.appendChild(E)};let la=(()=>{class a{constructor(n,u,v,E,fe,Ve){this.onLoadComplete=$e=>{this.grecaptcha=$e,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([zt,Ut])=>this.executeActionWithSubject(zt,Ut)),this.actionBacklog=void 0)},this.zone=n,this.isBrowser=(0,g.NF)(v),this.siteKey=u,this.nonce=fe,this.language=Ve,this.baseUrl=E,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new Te.xQ,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new Te.xQ,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(n){const u=new Te.xQ;return this.isBrowser&&(this.grecaptcha?this.executeActionWithSubject(n,u):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([n,u]))),u.asObservable()}executeActionWithSubject(n,u){const v=E=>{this.zone.run(()=>{u.error(E),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:n,error:E})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:n}).then(E=>{this.zone.run(()=>{u.next(E),u.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:n,token:E})})},v)}catch(E){v(E)}})}init(){this.isBrowser&&("grecaptcha"in window?this.grecaptcha=grecaptcha:R1_loadScript(this.siteKey,this.onLoadComplete,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce))}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(e.R0b),e.LFG(fc),e.LFG(e.Lbi),e.LFG(fl,8),e.LFG(L1,8),e.LFG(pc,8))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),F1=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[la]}),a})(),_o=(()=>{class a{constructor(){this._icons={}}set icons(n){this._icons=n}get icons(){return this._icons}getIcon(n){return this.icons[n]||console.warn(`CoreUI WARN: Icon ${n} is not registered in IconService`),this.icons[n]}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=(0,e.Yz7)({factory:function(){return new a},token:a,providedIn:"root"}),a})(),C=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez]}),a})(),M=(()=>{class a{constructor(n){if(n)throw new Error("CoreUI IconSetModule is already loaded. Import it in the AppModule only")}static forRoot(){return{ngModule:a,providers:[{provide:_o}]}}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(a,12))},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[_o],imports:[g.ez]}),a})();var y=p(83689);const V={cil3d:["512 512",""],cil4k:["512 512",""],cilAccountLogout:["512 512",""],cilActionRedo:["512 512",""],cilActionUndo:["512 512",""],cilAddressBook:["512 512",""],cilAirplaneModeOff:["512 512",""],cilAirplaneMode:["512 512",""],cilAirplay:["512 512",""],cilAlarm:["512 512",""],cilAlbum:["512 512",""],cilAlignCenter:["512 512",""],cilAlignLeft:["512 512",""],cilAlignRight:["512 512",""],cilAmericanFootball:["512 512",""],cilAnimal:["512 512",""],cilAperture:["512 512",""],cilApple:["512 512",""],cilApplicationsSettings:["512 512",""],cilApplications:["512 512",""],cilAppsSettings:["512 512",""],cilApps:["512 512",""],cilArrowBottom:["512 512",""],cilArrowCircleBottom:["512 512",""],cilArrowCircleLeft:["512 512",""],cilArrowCircleRight:["512 512",""],cilArrowCircleTop:["512 512",""],cilArrowLeft:["512 512",""],cilArrowRight:["512 512",""],cilArrowThickBottom:["512 512",""],cilArrowThickFromBottom:["512 512",""],cilArrowThickFromLeft:["512 512",""],cilArrowThickFromRight:["512 512",""],cilArrowThickFromTop:["512 512",""],cilArrowThickLeft:["512 512",""],cilArrowThickRight:["512 512",""],cilArrowThickToBottom:["512 512",""],cilArrowThickToLeft:["512 512",""],cilArrowThickToRight:["512 512",""],cilArrowThickToTop:["512 512",""],cilArrowThickTop:["512 512",""],cilArrowTop:["512 512",""],cilAssistiveListeningSystem:["512 512",""],cilAsteriskCircle:["512 512",""],cilAsterisk:["512 512",""],cilAt:["512 512",""],cilAudioDescription:["512 512",""],cilAudioSpectrum:["512 512",""],cilAudio:["512 512",""],cilAvTimer:["512 512",""],cilBabyCarriage:["512 512",""],cilBaby:["512 512",""],cilBackspace:["512 512",""],cilBadge:["512 512",""],cilBalanceScale:["512 512",""],cilBan:["512 512",""],cilBank:["512 512",""],cilBarChart:["512 512",""],cilBarcode:["512 512",""],cilBaseball:["512 512",""],cilBasket:["512 512",""],cilBasketball:["512 512",""],cilBath:["512 512",""],cilBathroom:["512 512",""],cilBattery0:["512 512",""],cilBattery3:["512 512",""],cilBattery5:["512 512",""],cilBatteryAlert:["512 512",""],cilBatteryEmpty:["512 512",""],cilBatteryFull:["512 512",""],cilBatterySlash:["512 512",""],cilBeachAccess:["512 512",""],cilBeaker:["512 512",""],cilBed:["512 512",""],cilBellExclamation:["512 512",""],cilBell:["512 512",""],cilBike:["512 512",""],cilBirthdayCake:["512 512",""],cilBlind:["512 512",""],cilBluetooth:["512 512",""],cilBlurCircular:["512 512",""],cilBlurLinear:["512 512",""],cilBlur:["512 512",""],cilBoatAlt:["512 512",""],cilBold:["512 512",""],cilBoltCircle:["512 512",""],cilBolt:["512 512",""],cilBook:["512 512",""],cilBookmark:["512 512",""],cilBorderAll:["512 512",""],cilBorderBottom:["512 512",""],cilBorderClear:["512 512",""],cilBorderHorizontal:["512 512",""],cilBorderInner:["512 512",""],cilBorderLeft:["512 512",""],cilBorderOuter:["512 512",""],cilBorderRight:["512 512",""],cilBorderStyle:["512 512",""],cilBorderTop:["512 512",""],cilBorderVertical:["512 512",""],cilBowling:["512 512",""],cilBraille:["512 512",""],cilBriefcase:["512 512",""],cilBrightness:["512 512",""],cilBritishPound:["512 512",""],cilBrowser:["512 512",""],cilBrushAlt:["512 512",""],cilBrush:["512 512",""],cilBug:["512 512",""],cilBuilding:["512 512",""],cilBullhorn:["512 512",""],cilBurger:["512 512",""],cilBurn:["512 512",""],cilBusAlt:["512 512",""],cilCalculator:["512 512",""],cilCalendarCheck:["512 512",""],cilCalendar:["512 512",""],cilCameraControl:["512 512",""],cilCameraRoll:["512 512",""],cilCamera:["512 512",""],cilCarAlt:["512 512",""],cilCaretBottom:["512 512",""],cilCaretLeft:["512 512",""],cilCaretRight:["512 512",""],cilCaretTop:["512 512",""],cilCart:["512 512",""],cilCash:["512 512",""],cilCasino:["512 512",""],cilCast:["512 512",""],cilCat:["512 512",""],cilCc:["512 512",""],cilCenterFocus:["512 512",""],cilChartLine:["512 512",""],cilChartPie:["512 512",""],cilChart:["512 512",""],cilChatBubble:["512 512",""],cilCheckAlt:["512 512",""],cilCheckCircle:["512 512",""],cilCheck:["512 512",""],cilChevronBottom:["512 512",""],cilChevronCircleDownAlt:["512 512",""],cilChevronCircleLeftAlt:["512 512",""],cilChevronCircleRightAlt:["512 512",""],cilChevronCircleUpAlt:["512 512",""],cilChevronDoubleDown:["512 512",""],cilChevronDoubleLeft:["512 512",""],cilChevronDoubleRight:["512 512",""],cilChevronDoubleUp:["512 512",""],cilChevronLeft:["512 512",""],cilChevronRight:["512 512",""],cilChevronTop:["512 512",""],cilChildFriendly:["512 512",""],cilChild:["512 512",""],cilCircle:["512 512",""],cilClearAll:["512 512",""],cilClipboard:["512 512",""],cilClock:["512 512",""],cilClone:["512 512",""],cilClosedCaptioning:["512 512",""],cilCloudDownload:["512 512",""],cilCloudUpload:["512 512",""],cilCloud:["512 512",""],cilCloudy:["512 512",""],cilCode:["512 512",""],cilCoffee:["512 512",""],cilCog:["512 512",""],cilColorBorder:["512 512",""],cilColorFill:["512 512",""],cilColorPalette:["512 512",""],cilColumns:["512 512",""],cilCommand:["512 512",""],cilCommentBubble:["512 512",""],cilCommentSquare:["512 512",""],cilCompass:["512 512",""],cilCompress:["512 512",""],cilContact:["512 512",""],cilContrast:["512 512",""],cilControl:["512 512",""],cilCopy:["512 512",""],cilCouch:["512 512",""],cilCreditCard:["512 512",""],cilCropRotate:["512 512",""],cilCrop:["512 512",""],cilCursorMove:["512 512",""],cilCursor:["512 512",""],cilCut:["512 512",""],cilDataTransferDown:["512 512",""],cilDataTransferUp:["512 512",""],cilDeaf:["512 512",""],cilDelete:["512 512",""],cilDescription:["512 512",""],cilDevices:["512 512",""],cilDialpad:["512 512",""],cilDiamond:["512 512",""],cilDinner:["512 512",""],cilDisabled:["512 512",""],cilDog:["512 512",""],cilDollar:["512 512",""],cilDoor:["512 512",""],cilDoubleQuoteSansLeft:["512 512",""],cilDoubleQuoteSansRight:["512 512",""],cilDrinkAlcohol:["512 512",""],cilDrink:["512 512",""],cilDrop:["512 512",""],cilEco:["512 512",""],cilEducation:["512 512",""],cilElevator:["512 512",""],cilEnvelopeClosed:["512 512",""],cilEnvelopeLetter:["512 512",""],cilEnvelopeOpen:["512 512",""],cilEqualizer:["512 512",""],cilEthernet:["512 512",""],cilEuro:["512 512",""],cilExcerpt:["512 512",""],cilExitToApp:["512 512",""],cilExpandDown:["512 512",""],cilExpandLeft:["512 512",""],cilExpandRight:["512 512",""],cilExpandUp:["512 512",""],cilExposure:["512 512",""],cilExternalLink:["512 512",""],cilEyedropper:["512 512",""],cilFaceDead:["512 512",""],cilFace:["512 512",""],cilFactorySlash:["512 512",""],cilFactory:["512 512",""],cilFastfood:["512 512",""],cilFax:["512 512",""],cilFeaturedPlaylist:["512 512",""],cilFile:["512 512",""],cilFilterFrames:["512 512",""],cilFilterPhoto:["512 512",""],cilFilterSquare:["512 512",""],cilFilterX:["512 512",""],cilFilter:["512 512",""],cilFindInPage:["512 512",""],cilFingerprint:["512 512",""],cilFire:["512 512",""],cilFlagAlt:["512 512",""],cilFlightTakeoff:["512 512",""],cilFlipToBack:["512 512",""],cilFlipToFront:["512 512",""],cilFlip:["512 512",""],cilFlower:["512 512",""],cilFolderOpen:["512 512",""],cilFolder:["512 512",""],cilFont:["512 512",""],cilFootball:["512 512",""],cilFork:["512 512",""],cilFridge:["512 512",""],cilFrown:["512 512",""],cilFullscreenExit:["512 512",""],cilFullscreen:["512 512",""],cilFunctionsAlt:["512 512",""],cilFunctions:["512 512",""],cilGamepad:["512 512",""],cilGarage:["512 512",""],cilGauge:["512 512",""],cilGem:["512 512",""],cilGif:["512 512",""],cilGift:["512 512",""],cilGlobeAlt:["512 512",""],cilGolfAlt:["512 512",""],cilGolf:["512 512",""],cilGradient:["512 512",""],cilGrain:["512 512",""],cilGraph:["512 512",""],cilGridSlash:["512 512",""],cilGrid:["512 512",""],cilGroup:["512 512",""],cilHamburgerMenu:["512 512",""],cilHandPointDown:["512 512",""],cilHandPointLeft:["512 512",""],cilHandPointRight:["512 512",""],cilHandPointUp:["512 512",""],cilHappy:["512 512",""],cilHd:["512 512",""],cilHdr:["512 512",""],cilHeader:["512 512",""],cilHeadphones:["512 512",""],cilHealing:["512 512",""],cilHeart:["512 512",""],cilHighlighter:["512 512",""],cilHighligt:["512 512",""],cilHistory:["512 512",""],cilHome:["512 512",""],cilHospital:["512 512",""],cilHotTub:["512 512",""],cilHouse:["512 512",""],cilHttps:["512 512",""],cilImageBroken:["512 512",""],cilImagePlus:["512 512",""],cilImage:["512 512",""],cilInbox:["512 512",""],cilIndentDecrease:["512 512",""],cilIndentIncrease:["512 512",""],cilIndustrySlash:["512 512",""],cilIndustry:["512 512",""],cilInfinity:["512 512",""],cilInfo:["512 512",""],cilInputHdmi:["512 512",""],cilInputPower:["512 512",""],cilInput:["512 512",""],cilInstitution:["512 512",""],cilItalic:["512 512",""],cilJustifyCenter:["512 512",""],cilJustifyLeft:["512 512",""],cilJustifyRight:["512 512",""],cilKeyboard:["512 512",""],cilLan:["512 512",""],cilLanguage:["512 512",""],cilLaptop:["512 512",""],cilLayers:["512 512",""],cilLeaf:["512 512",""],cilLemon:["512 512",""],cilLevelDown:["512 512",""],cilLevelUp:["512 512",""],cilLibraryAdd:["512 512",""],cilLibraryBuilding:["512 512",""],cilLibrary:["512 512",""],cilLifeRing:["512 512",""],cilLightbulb:["512 512",""],cilLineSpacing:["512 512",""],cilLineStyle:["512 512",""],cilLineWeight:["512 512",""],cilLinkAlt:["512 512",""],cilLinkBroken:["512 512",""],cilLink:["512 512",""],cilListFilter:["512 512",""],cilListHighPriority:["512 512",""],cilListLowPriority:["512 512",""],cilListNumberedRtl:["512 512",""],cilListNumbered:["512 512",""],cilListRich:["512 512",""],cilList:["512 512",""],cilLocationPin:["512 512",""],cilLockLocked:["512 512",""],cilLockUnlocked:["512 512",""],cilLocomotive:["512 512",""],cilLoop1:["512 512",""],cilLoopCircular:["512 512",""],cilLoop:["512 512",""],cilLowVision:["512 512",""],cilMagnifyingGlass:["512 512",""],cilMap:["512 512",""],cilMediaEject:["512 512",""],cilMediaPause:["512 512",""],cilMediaPlay:["512 512",""],cilMediaRecord:["512 512",""],cilMediaSkipBackward:["512 512",""],cilMediaSkipForward:["512 512",""],cilMediaStepBackward:["512 512",""],cilMediaStepForward:["512 512",""],cilMediaStop:["512 512",""],cilMedicalCross:["512 512",""],cilMeh:["512 512",""],cilMemory:["512 512",""],cilMenu:["512 512",""],cilMic:["512 512",""],cilMicrophone:["512 512",""],cilMinus:["512 512",""],cilMobileLandscape:["512 512",""],cilMobile:["512 512",""],cilMoney:["512 512",""],cilMonitor:["512 512",""],cilMoodBad:["512 512",""],cilMoodGood:["512 512",""],cilMoodVeryBad:["512 512",""],cilMoodVeryGood:["512 512",""],cilMoon:["512 512",""],cilMouse:["512 512",""],cilMouthSlash:["512 512",""],cilMove:["512 512",""],cilMovie:["512 512",""],cilMugTea:["512 512",""],cilMug:["512 512",""],cilMusicNote:["512 512",""],cilNewspaper:["512 512",""],cilNoteAdd:["512 512",""],cilNotes:["512 512",""],cilObjectGroup:["512 512",""],cilObjectUngroup:["512 512",""],cilOpacity:["512 512",""],cilOpentype:["512 512",""],cilOptions:["512 512",""],cilPaintBucket:["512 512",""],cilPaint:["512 512",""],cilPaperPlane:["512 512",""],cilPaperclip:["512 512",""],cilParagraph:["512 512",""],cilPaw:["512 512",""],cilPenAlt:["512 512",""],cilPenNib:["512 512",""],cilPen:["512 512",""],cilPencil:["512 512",""],cilPeople:["512 512",""],cilPhone:["512 512",""],cilPin:["512 512",""],cilPizza:["512 512",""],cilPlant:["512 512",""],cilPlaylistAdd:["512 512",""],cilPlus:["512 512",""],cilPool:["512 512",""],cilPowerStandby:["512 512",""],cilPregnant:["512 512",""],cilPrint:["512 512",""],cilPushchair:["512 512",""],cilPuzzle:["512 512",""],cilQrCode:["512 512",""],cilRain:["512 512",""],cilRectangle:["512 512",""],cilRecycle:["512 512",""],cilReload:["512 512",""],cilReportSlash:["512 512",""],cilResizeBoth:["512 512",""],cilResizeHeight:["512 512",""],cilResizeWidth:["512 512",""],cilRestaurant:["512 512",""],cilRoom:["512 512",""],cilRouter:["512 512",""],cilRowing:["512 512",""],cilRss:["512 512",""],cilRuble:["512 512",""],cilRunning:["512 512",""],cilSad:["512 512",""],cilSatelite:["512 512",""],cilSave:["512 512",""],cilSchool:["512 512",""],cilScreenDesktop:["512 512",""],cilScreenSmartphone:["512 512",""],cilScrubber:["512 512",""],cilSearch:["512 512",""],cilSend:["512 512",""],cilSettings:["512 512",""],cilShareAll:["512 512",""],cilShareAlt:["512 512",""],cilShareBoxed:["512 512",""],cilShare:["512 512",""],cilShieldAlt:["512 512",""],cilShortText:["512 512",""],cilShower:["512 512",""],cilSignLanguage:["512 512",""],cilSignalCellular0:["512 512",""],cilSignalCellular3:["512 512",""],cilSignalCellular4:["512 512",""],cilSim:["512 512",""],cilSitemap:["512 512",""],cilSmilePlus:["512 512",""],cilSmile:["512 512",""],cilSmokeFree:["512 512",""],cilSmokeSlash:["512 512",""],cilSmoke:["512 512",""],cilSmokingRoom:["512 512",""],cilSnowflake:["512 512",""],cilSoccer:["512 512",""],cilSofa:["512 512",""],cilSortAlphaDown:["512 512",""],cilSortAlphaUp:["512 512",""],cilSortAscending:["512 512",""],cilSortDescending:["512 512",""],cilSortNumericDown:["512 512",""],cilSortNumericUp:["512 512",""],cilSpa:["512 512",""],cilSpaceBar:["512 512",""],cilSpeak:["512 512",""],cilSpeaker:["512 512",""],cilSpeech:["512 512",""],cilSpeedometer:["512 512",""],cilSpreadsheet:["512 512",""],cilSquare:["512 512",""],cilStarHalf:["512 512",""],cilStar:["512 512",""],cilStorage:["512 512",""],cilStream:["512 512",""],cilStrikethrough:["512 512",""],cilSun:["512 512",""],cilSwapHorizontal:["512 512",""],cilSwapVertical:["512 512",""],cilSwimming:["512 512",""],cilSync:["512 512",""],cilTablet:["512 512",""],cilTag:["512 512",""],cilTags:["512 512",""],cilTask:["512 512",""],cilTaxi:["512 512",""],cilTennisBall:["512 512",""],cilTennis:["512 512",""],cilTerminal:["512 512",""],cilTerrain:["512 512",""],cilTextShapes:["512 512",""],cilTextSize:["512 512",""],cilTextSquare:["512 512",""],cilTextStrike:["512 512",""],cilText:["512 512",""],cilThumbDown:["512 512",""],cilThumbUp:["512 512",""],cilToggleOff:["512 512",""],cilToggleOn:["512 512",""],cilToilet:["512 512",""],cilTouchApp:["512 512",""],cilTransfer:["512 512",""],cilTranslate:["512 512",""],cilTrash:["512 512",""],cilTriangle:["512 512",""],cilTruck:["512 512",""],cilTv:["512 512",""],cilUnderline:["512 512",""],cilUsb:["512 512",""],cilUserFemale:["512 512",""],cilUserFollow:["512 512",""],cilUserPlus:["512 512",""],cilUserUnfollow:["512 512",""],cilUserX:["512 512",""],cilUser:["512 512",""],cilVector:["512 512",""],cilVerticalAlignBottom:["512 512",""],cilVerticalAlignCenter:["512 512",""],cilVerticalAlignTop:["512 512",""],cilVideo:["512 512",""],cilVideogame:["512 512",""],cilViewColumn:["512 512",""],cilViewModule:["512 512",""],cilViewQuilt:["512 512",""],cilViewStream:["512 512",""],cilVoiceOverRecord:["512 512",""],cilVoice:["512 512",""],cilVolumeHigh:["512 512",""],cilVolumeLow:["512 512",""],cilVolumeOff:["512 512",""],cilWalk:["512 512",""],cilWallet:["512 512",""],cilWallpaper:["512 512",""],cilWarning:["512 512",""],cilWatch:["512 512",""],cilWc:["512 512",""],cilWeightlifitng:["512 512",""],cilWheelchair:["512 512",""],cilWifiSignal0:["512 512",""],cilWifiSignal1:["512 512",""],cilWifiSignal2:["512 512",""],cilWifiSignal3:["512 512",""],cilWifiSignal4:["512 512",""],cilWifiSignalOff:["512 512",""],cilWindowMaximize:["512 512",""],cilWindowMinimize:["512 512",""],cilWindowRestore:["512 512",""],cilWindow:["512 512",""],cilWrapText:["512 512",""],cilXCircle:["512 512",""],cilX:["512 512",""],cilYen:["512 512",""],cilZoomIn:["512 512",""],cilZoomOut:["512 512",""],cilZoom:["512 512",""]};let W=(()=>{class a{constructor(n,u){this.router=n,this.iconSet=u,u.icons={...V}}ngOnInit(){this.router.events.subscribe(n=>{n instanceof y.m2&&window.scrollTo(0,0)})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(y.F0),e.Y36(_o))},a.\u0275cmp=e.Xpm({type:a,selectors:[["body"]],features:[e._Bn([_o])],decls:1,vars:0,template:function(n,u){1&n&&e._UZ(0,"router-outlet")},dependencies:[y.lC],encapsulation:2}),a})();const Se=[{name:"Dashboard",url:"/dashboard",children:[{name:"Statistic",url:"/dashboard",icon:"cil-circle"},{name:"Staff Performance",url:"/performance",icon:"cil-circle"}]},{name:"Quotation",url:"/policy"},{name:"Task",url:"/job"},{name:"Renewal",url:"/renewal"},{name:"Road Tax",url:"/road-tax"},{name:"Customer",url:"Customer",children:[{name:"Listing",url:"/customer",icon:"cil-circle"},{name:"My Favourite",url:"/favourite",icon:"cil-circle"}]}],tt=[{name:"Dashboard",url:"dashboard",children:[{name:"Statistic",url:"/dashboard",icon:"cil-circle"},{name:"Staff Performance",url:"/performance",icon:"cil-circle"}]},{name:"Staff",url:"/staff"},{name:"Quotation",url:"/policy"},{name:"Task",url:"/job"},{name:"Renewal",url:"/renewal"},{name:"Road Tax",url:"/road-tax"},{name:"Customer",url:"Customer",children:[{name:"Listing",url:"/customer",icon:"cil-circle"},{name:"My Favourite",url:"/favourite",icon:"cil-circle"}]},{name:"Report",url:"Report",children:[{name:"Sales Breakdown",url:"/report",icon:"cil-circle"},{name:"Sales Graph",url:"/report-graph",icon:"cil-circle"},{name:"Enquiry",url:"/report-enquiry",icon:"cil-circle"},{name:"Staff Performance",url:"/report-staff-performance",icon:"cil-circle"},{name:"Quotation",url:"/report-quotation-performance",icon:"cil-circle"}]},{name:"Settings",url:"Settings",children:[{name:"Product",url:"/settings/product",icon:"cil-circle"},{name:"Insurance",url:"/settings/insurance",icon:"cil-circle"},{name:"Payment Gateway",url:"/settings/payment-gateway",icon:"cil-circle"},{name:"Message Template",url:"/settings/message-template",icon:"cil-circle"},{name:"Road Tax",url:"/settings/road-tax",icon:"cil-circle"},{name:"Commission",url:"/settings/commission",icon:"cil-circle"},{name:"Branch",url:"/settings/branch",icon:"cil-circle"}]}],lt=[{name:"Dashboard",url:"Dashboard",children:[{name:"Statistic",url:"/dashboard",icon:"cil-circle"},{name:"Staff Performance",url:"/performance",icon:"cil-circle"}]},{name:"Staff",url:"/staff"},{name:"Quotation",url:"/policy"},{name:"Task",url:"/job"},{name:"Renewal",url:"/renewal"},{name:"Road Tax",url:"/road-tax"},{name:"Customer",url:"Customer",children:[{name:"Listing",url:"/customer",icon:"cil-circle"},{name:"My Favourite",url:"/favourite",icon:"cil-circle"}]},{name:"Report",url:"Report",children:[{name:"Sales Breakdown",url:"/report",icon:"cil-circle"},{name:"Sales Graph",url:"/report-graph",icon:"cil-circle"},{name:"Enquiry",url:"/report-enquiry",icon:"cil-circle"},{name:"Staff Performance",url:"/report-staff-performance",icon:"cil-circle"},{name:"Quotation",url:"/report-quotation-performance",icon:"cil-circle"}]},{name:"Support",url:"/support"},{name:"Settings",url:"Settings",children:[{name:"Product",url:"/settings/product",icon:"cil-circle"},{name:"Insurance",url:"/settings/insurance",icon:"cil-circle"},{name:"Payment Gateway",url:"/settings/payment-gateway",icon:"cil-circle"},{name:"Message Template",url:"/settings/message-template",icon:"cil-circle"},{name:"Road Tax",url:"/settings/road-tax",icon:"cil-circle"},{name:"Commission",url:"/settings/commission",icon:"cil-circle"},{name:"Branch",url:"/settings/branch",icon:"cil-circle"}]}];var ut=p(84719),sn=p(3080);function jn(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Old password is required"),e.qZA())}function pn(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Min 8 character"),e.qZA())}function hi(a,c){if(1&a&&(e.TgZ(0,"div",16),e.YNc(1,jn,2,0,"div",17),e.YNc(2,pn,2,0,"div",17),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.f.oldPassword.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.oldPassword.errors.minlength)}}function Qr(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"New password is required"),e.qZA())}function Fo(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Min 8 character"),e.qZA())}function Bo(a,c){if(1&a&&(e.TgZ(0,"div",16),e.YNc(1,Qr,2,0,"div",17),e.YNc(2,Fo,2,0,"div",17),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.f.newPassword.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.newPassword.errors.minlength)}}const Nr=function(a){return{"is-invalid":a}};let vc=(()=>{class a{constructor(n,u){this.bsModalRef=n,this.formBuilder=u,this.title="Change Password",this.submitted=!1,this.submitEvent=new e.vpe,this.changePasswordModel={},this.modalRef=n}ngOnInit(){this.form=this.formBuilder.group({oldPassword:["",[ut.kI.required,ut.kI.minLength(8)]],newPassword:["",[ut.kI.required,ut.kI.minLength(8)]]})}onSubmit(){this.submitted=!0,!this.form.invalid&&(this.modalRef.hide(),this.changePasswordModel.oldPassword=this.form.get("oldPassword").value,this.changePasswordModel.newPassword=this.form.get("newPassword").value,this.submitEvent.emit(this.changePasswordModel))}get f(){return this.form.controls}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(sn.UZ),e.Y36(ut.QS))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ng-component"]],decls:29,vars:10,consts:[[3,"formGroup","ngSubmit"],[1,"modal-header"],["id","modal-basic-title1",1,"modal-title"],["type","button","aria-label","Close",1,"close","pull-right",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"col-8"],[1,"form-group","row"],[1,"col-md-5","col-form-label"],[1,"col-md-7"],["type","password","formControlName","oldPassword","required","","autocomplete","off",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["type","password","formControlName","newPassword","required","",1,"form-control",3,"ngClass"],[1,"modal-footer"],["type","button",1,"btn","btn-secondary",3,"click"],["type","submit",1,"btn","btn-primary"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(n,u){1&n&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return u.onSubmit()}),e.TgZ(1,"div",1)(2,"h4",2),e._uU(3),e.qZA(),e.TgZ(4,"button",3),e.NdJ("click",function(){return u.modalRef.hide()}),e.TgZ(5,"span",4),e._uU(6,"\xd7"),e.qZA()()(),e.TgZ(7,"div",5)(8,"div",6)(9,"div",7)(10,"label",8)(11,"div"),e._uU(12,"Old Password"),e.qZA()(),e.TgZ(13,"div",9),e._UZ(14,"input",10),e.YNc(15,hi,3,2,"div",11),e.qZA()()(),e.TgZ(16,"div",6)(17,"div",7)(18,"label",8)(19,"div"),e._uU(20,"New Password"),e.qZA()(),e.TgZ(21,"div",9),e._UZ(22,"input",12),e.YNc(23,Bo,3,2,"div",11),e.qZA()()()(),e.TgZ(24,"div",13)(25,"button",14),e.NdJ("click",function(){return u.modalRef.hide()}),e._uU(26,"Cancel"),e.qZA(),e.TgZ(27,"button",15),e._uU(28,"Submit"),e.qZA()()()),2&n&&(e.Q6J("formGroup",u.form),e.xp6(3),e.hij(" ",u.title," "),e.xp6(11),e.Q6J("ngClass",e.VKq(6,Nr,u.submitted&&u.f.oldPassword.errors)),e.xp6(1),e.Q6J("ngIf",u.submitted&&u.f.oldPassword.errors),e.xp6(7),e.Q6J("ngClass",e.VKq(8,Nr,u.submitted&&u.f.newPassword.errors)),e.xp6(1),e.Q6J("ngIf",u.submitted&&u.f.newPassword.errors))},dependencies:[g.mk,g.O5,ut._Y,ut.Fj,ut.JJ,ut.JL,ut.Q7,ut.sg,ut.u],encapsulation:2}),a})(),Ps=(()=>{class a{get localStorage(){return function Zo(){return localStorage}()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),vl=(()=>{class a{constructor(n){this.localStorageRefService=n,this.localStorage=n.localStorage}clearAllLocalStorage(){this.localStorage.clear()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(Ps))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var yc=p(36260),yl=p(60387),J4=p(16521),_c=p(591),ko=p(92198);const Co=["*"],Cc=function(a){return{active:a}};function ks(a,c){if(1&a&&(e.TgZ(0,"a",5),e._uU(1),e.qZA()),2&a){const n=e.oxw(2).$implicit;e.Q6J("routerLink",n.url),e.xp6(1),e.Oqu(n.label.title)}}function e0(a,c){if(1&a&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&a){const n=e.oxw(2).$implicit;e.Q6J("routerLink",n.url),e.xp6(1),e.Oqu(n.label.title)}}function t0(a,c){if(1&a&&(e.TgZ(0,"li",3),e.YNc(1,ks,2,2,"a",4),e.YNc(2,e0,2,2,"span",4),e.qZA()),2&a){const n=e.oxw().last;e.Q6J("ngClass",e.VKq(3,Cc,n)),e.xp6(1),e.Q6J("ngIf",!n),e.xp6(1),e.Q6J("ngIf",n)}}function n0(a,c){if(1&a&&e.YNc(0,t0,3,5,"li",2),2&a){const n=c.$implicit,u=c.last;e.Q6J("ngIf",n.label.title&&("/"==n.url.slice(-1)||u))}}function Mc(a,c){if(1&a&&(e.TgZ(0,"button",2),e._UZ(1,"span",3),e.qZA()),2&a){const n=e.oxw();e.Gre("navbar-toggler ",n.sidebarTogglerMobileClass,"")}}function Os(a,c){if(1&a&&e._UZ(0,"img",5),2&a){const n=e.oxw(2);e.Q6J("appHtmlAttr",n.navbarBrand)("ngClass","navbar-brand")}}function U1(a,c){if(1&a&&e._UZ(0,"img",5),2&a){const n=e.oxw(2);e.Q6J("appHtmlAttr",n.navbarBrandFull)("ngClass","navbar-brand-full")}}function Is(a,c){if(1&a&&e._UZ(0,"img",5),2&a){const n=e.oxw(2);e.Q6J("appHtmlAttr",n.navbarBrandMinimized)("ngClass","navbar-brand-minimized")}}function r0(a,c){if(1&a&&(e.YNc(0,Os,1,2,"img",4),e.YNc(1,U1,1,2,"img",4),e.YNc(2,Is,1,2,"img",4)),2&a){const n=e.oxw();e.Q6J("ngIf",n.navbarBrand),e.xp6(1),e.Q6J("ngIf",n.navbarBrandFull),e.xp6(1),e.Q6J("ngIf",n.navbarBrandMinimized)}}function j1(a,c){if(1&a&&e._UZ(0,"div",6)(1,"div",7),2&a){const n=e.oxw();e.Q6J("innerHTML",n.navbarBrandText.text,e.oJD),e.xp6(1),e.Q6J("innerHTML",n.navbarBrandText.icon,e.oJD)}}function Hs(a,c){if(1&a&&(e.TgZ(0,"button",8),e._UZ(1,"span",3),e.qZA()),2&a){const n=e.oxw();e.Gre("navbar-toggler ",n.sidebarTogglerClass,""),e.Q6J("appSidebarToggler",n.sidebarToggler)}}function Vs(a,c){if(1&a&&(e.TgZ(0,"button",9),e._UZ(1,"span",3),e.qZA()),2&a){const n=e.oxw();e.Gre("navbar-toggler ",n.asideTogglerClass,""),e.Q6J("appAsideMenuToggler",n.asideMenuToggler)}}function W1(a,c){if(1&a&&(e.TgZ(0,"button",10),e._UZ(1,"span",3),e.qZA()),2&a){const n=e.oxw();e.Gre("navbar-toggler ",n.asideTogglerMobileClass,"")}}function o0(a,c){if(1&a&&(e._UZ(0,"i",3),e.ALo(1,"appSidebarNavIcon")),2&a){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,1,n.item))}}function a0(a,c){if(1&a&&(e.TgZ(0,"span",3),e.ALo(1,"appSidebarNavBadge"),e._uU(2),e.qZA()),2&a){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,2,n.item)),e.xp6(2),e.Oqu(n.item.badge.text)}}function ss(a,c){if(1&a&&(e._UZ(0,"app-sidebar-nav-dropdown",7),e.ALo(1,"appSidebarNavItemClass")),2&a){const n=e.oxw().$implicit,u=e.oxw();e.ekj("open",u.helper.isActive(u.router,n)),e.Q6J("item",n)("ngClass",e.lcZ(1,4,n))}}function Ns(a,c){if(1&a&&(e._UZ(0,"app-sidebar-nav-divider",8),e.ALo(1,"appSidebarNavItemClass")),2&a){const n=e.oxw().$implicit;e.Q6J("item",n)("ngClass",e.lcZ(1,3,n))("appHtmlAttr",n.attributes)}}function s0(a,c){if(1&a&&(e._UZ(0,"app-sidebar-nav-title",8),e.ALo(1,"appSidebarNavItemClass")),2&a){const n=e.oxw().$implicit;e.Q6J("item",n)("ngClass",e.lcZ(1,3,n))("appHtmlAttr",n.attributes)}}function ru(a,c){if(1&a&&(e._UZ(0,"app-sidebar-nav-label",9),e.ALo(1,"appSidebarNavItemClass")),2&a){const n=e.oxw().$implicit;e.Q6J("item",n)("ngClass",e.lcZ(1,2,n))}}function $1(a,c){1&a&&e.GkF(0)}function l0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"app-sidebar-nav-link",10),e.NdJ("linkClick",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.hideMobile())}),e.ALo(1,"appSidebarNavItemClass"),e.qZA()}if(2&a){const n=e.oxw().$implicit;e.Q6J("item",n)("ngClass",e.lcZ(1,2,n))}}function ou(a,c){if(1&a&&(e.ynx(0)(1,1),e.YNc(2,ss,2,6,"app-sidebar-nav-dropdown",2),e.YNc(3,Ns,2,5,"app-sidebar-nav-divider",3),e.YNc(4,s0,2,5,"app-sidebar-nav-title",3),e.YNc(5,ru,2,4,"app-sidebar-nav-label",4),e.YNc(6,$1,1,0,"ng-container",5),e.YNc(7,l0,2,4,"app-sidebar-nav-link",6),e.BQk()()),2&a){const n=c.$implicit,u=e.oxw();e.xp6(1),e.Q6J("ngSwitch",u.helper.itemType(n)),e.xp6(1),e.Q6J("ngSwitchCase","dropdown"),e.xp6(1),e.Q6J("ngSwitchCase","divider"),e.xp6(1),e.Q6J("ngSwitchCase","title"),e.xp6(1),e.Q6J("ngSwitchCase","label"),e.xp6(1),e.Q6J("ngSwitchCase","empty")}}function c0(a,c){if(1&a&&(e._UZ(0,"i",2),e.ALo(1,"appSidebarNavIcon")),2&a){const n=e.oxw(2);e.Q6J("ngClass",e.lcZ(1,1,n.item))}}function u0(a,c){if(1&a&&(e.TgZ(0,"span",2),e.ALo(1,"appSidebarNavBadge"),e._uU(2),e.qZA()),2&a){const n=e.oxw(2);e.Q6J("ngClass",e.lcZ(1,2,n.item)),e.xp6(2),e.Oqu(n.item.badge.text)}}function d0(a,c){if(1&a&&(e.ynx(0),e.YNc(1,c0,2,3,"i",1),e.ynx(2),e._uU(3),e.BQk(),e.YNc(4,u0,3,4,"span",1),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.helper.hasIcon(n.item)),e.xp6(2),e.Oqu(n.item.name),e.xp6(1),e.Q6J("ngIf",n.helper.hasBadge(n.item))}}function _l(a,c){if(1&a&&(e.TgZ(0,"a",4),e.ALo(1,"appSidebarNavLink"),e._UZ(2,"app-sidebar-nav-link-content",5),e.qZA()),2&a){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,3,n.item))("appHtmlAttr",n.item.attributes),e.xp6(2),e.Q6J("item",n.item)}}function Q1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"a",6),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.linkClicked())}),e.ALo(1,"appSidebarNavLink"),e._UZ(2,"app-sidebar-nav-link-content",5),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,4,n.item))("href",n.href,e.LSH)("appHtmlAttr",n.item.attributes),e.xp6(2),e.Q6J("item",n.item)}}const h0=function(){return{exact:!1}};function q1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"a",7),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.linkClicked())}),e.ALo(1,"appSidebarNavLink"),e._UZ(2,"app-sidebar-nav-link-content",5),e.qZA()}if(2&a){const n=e.oxw();e.ekj("active",n.linkActive&&!(null!=n.item.linkProps&&n.item.linkProps.routerLinkActiveOptions)),e.Q6J("ngClass",e.lcZ(1,16,n.item))("appHtmlAttr",n.item.attributes)("target",null==n.item.attributes?null:n.item.attributes.target)("queryParams",null==n.item.linkProps?null:n.item.linkProps.queryParams)("fragment",null==n.item.linkProps?null:n.item.linkProps.fragment)("queryParamsHandling",null==n.item.linkProps?null:n.item.linkProps.queryParamsHandling)("preserveFragment",null==n.item.linkProps?null:n.item.linkProps.preserveFragment)("skipLocationChange",null==n.item.linkProps?null:n.item.linkProps.skipLocationChange)("replaceUrl",null==n.item.linkProps?null:n.item.linkProps.replaceUrl)("state",null==n.item.linkProps?null:n.item.linkProps.state)("routerLink",n.item.url)("routerLinkActive",(null==n.item.linkProps?null:n.item.linkProps.routerLinkActive)||"active")("routerLinkActiveOptions",null!=n.item.linkProps&&null!=n.item.linkProps.routerLinkActiveOptions&&n.item.linkProps.routerLinkActiveOptions.exact?null==n.item.linkProps?null:n.item.linkProps.routerLinkActiveOptions:e.DdM(18,h0)),e.xp6(2),e.Q6J("item",n.item)}}function au(a,c){if(1&a&&e._UZ(0,"i",2),2&a){const n=e.oxw();e.Q6J("ngClass",n.getLabelIconClass())}}function G1(a,c){if(1&a&&(e.TgZ(0,"span",2),e.ALo(1,"appSidebarNavBadge"),e._uU(2),e.qZA()),2&a){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,2,n.item)),e.xp6(2),e.Oqu(n.item.badge.text)}}const K1=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],Ls=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"];let Fa=(()=>{class a{constructor(n,u){this.document=n,this.renderer=u}removeClasses(n){return-1!==n.map(v=>this.document.body.classList.contains(v)).indexOf(!0)}toggleClasses(n,u){const v=u.indexOf(n),E=u.slice(0,v+1);this.removeClasses(E)?E.map(fe=>this.renderer.removeClass(this.document.body,fe)):this.renderer.addClass(this.document.body,n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(g.K0),e.LFG(e.Qsj))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),ls=(()=>{class a{constructor(n){this.classToggler=n}ngOnInit(){this.bp=this.breakpoint}toggleOpen(n){n.preventDefault(),this.classToggler.toggleClasses(this.bp?`sidebar-${this.bp}-show`:K1[0],K1)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Fa))},a.\u0275dir=e.lG2({type:a,selectors:[["","appSidebarToggler",""]],hostBindings:function(n,u){1&n&&e.NdJ("click",function(E){return u.toggleOpen(E)})},inputs:{breakpoint:["appSidebarToggler","breakpoint"]},features:[e._Bn([Fa])]}),a})(),xc=(()=>{class a{constructor(n){this.classToggler=n}ngOnInit(){this.bp=this.breakpoint}toggleOpen(n){n.preventDefault(),this.classToggler.toggleClasses(this.bp?`aside-menu-${this.bp}-show`:Ls[0],Ls)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Fa))},a.\u0275dir=e.lG2({type:a,selectors:[["","appAsideMenuToggler",""]],hostBindings:function(n,u){1&n&&e.NdJ("click",function(E){return u.toggleOpen(E)})},inputs:{breakpoint:["appAsideMenuToggler","breakpoint"]},features:[e._Bn([Fa])]}),a})(),cs=(()=>{class a{constructor(n,u){this.renderer=n,this.el=u}ngOnInit(){const n=this.appHtmlAttr;for(const u in n)"style"===u&&"object"==typeof n[u]?this.setStyle(n[u]):"class"===u?this.addClass(n[u]):this.setAttrib(u,n[u])}setStyle(n){for(const u in n)this.renderer.setStyle(this.el.nativeElement,u,n[u])}addClass(n){(Array.isArray(n)?n:n.split(" ")).filter(v=>v.length>0).forEach(v=>{this.renderer.addClass(this.el.nativeElement,v)})}setAttrib(n,u){null!==u?this.renderer.setAttribute(this.el.nativeElement,n,u):this.renderer.removeAttribute(this.el.nativeElement,n)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.Qsj),e.Y36(e.SBq))},a.\u0275dir=e.lG2({type:a,selectors:[["","appHtmlAttr",""]],inputs:{appHtmlAttr:"appHtmlAttr"}}),a})(),Ba=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[Fa],imports:[g.ez]}),a})(),v0=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez,Ba,Ba]}),a})(),wc=(()=>{class a{constructor(n,u){this.router=n,this.route=u,this.breadcrumbSubject=new _c.X(new Array),this.breadcrumbs=this.breadcrumbSubject.asObservable(),this.router.events.pipe((0,ko.h)(v=>v instanceof y.m2)).subscribe(v=>{const E=[];let fe=this.route.root,Ve="";do{const $e=fe.children;fe=null,$e.forEach(zt=>{"primary"===zt.outlet&&(Ve+="/"+zt.snapshot.url.map(Xt=>Xt.path).join("/"),E.push({label:zt.snapshot.data,url:Ve}),fe=zt)})}while(fe);return this.breadcrumbSubject.next(Object.assign([],E)),E})}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(y.F0),e.LFG(y.gz))},a.\u0275prov=(0,e.Yz7)({factory:function(){return new a((0,e.LFG)(y.F0),(0,e.LFG)(y.gz))},token:a,providedIn:"root"}),a})(),y0=(()=>{class a{constructor(n,u,v){this.document=n,this.renderer=u,this.service=v,this.fixedClass="breadcrumb-fixed"}ngOnInit(){this.isFixed(this.fixed),this.breadcrumbs=this.service.breadcrumbs}ngOnDestroy(){this.renderer.removeClass(this.document.body,this.fixedClass)}isFixed(n=this.fixed){n&&this.renderer.addClass(this.document.body,this.fixedClass)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(g.K0),e.Y36(e.Qsj),e.Y36(wc))},a.\u0275cmp=e.Xpm({type:a,selectors:[["cui-breadcrumb"]],inputs:{fixed:"fixed"},ngContentSelectors:Co,decls:4,vars:3,consts:[[1,"breadcrumb"],["ngFor","",3,"ngForOf"],["class","breadcrumb-item",3,"ngClass",4,"ngIf"],[1,"breadcrumb-item",3,"ngClass"],[3,"routerLink",4,"ngIf"],[3,"routerLink"]],template:function(n,u){1&n&&(e.F$t(),e.TgZ(0,"ol",0),e.YNc(1,n0,1,1,"ng-template",1),e.ALo(2,"async"),e.Hsn(3),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,u.breadcrumbs)))},dependencies:[g.mk,g.sg,g.O5,y.rH,y.yS,g.Ov],encapsulation:2}),a})(),_0=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[wc]}}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez,y.Bz]}),a})(),ds=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez]}),a})(),C0=(()=>{class a{constructor(n,u){this.document=n,this.renderer=u,this.navbarBrandText={icon:"\u{1f172}",text:"\u{1f172} CoreUI"},this.navbarBrandRouterLink="",this.fixedClass="header-fixed",this.appHeaderClass=!0,this.navbarClass=!0,this.breakpoints=["xl","lg","md","sm","xs"],this.sidebarTogglerClass="d-none d-md-block",this.sidebarTogglerMobileClass="d-lg-none",this.asideTogglerClass="d-none d-md-block",this.asideTogglerMobileClass="d-lg-none"}ngOnInit(){this.isFixed(this.fixed),this.navbarBrandImg=Boolean(this.navbarBrand||this.navbarBrandFull||this.navbarBrandMinimized),this.navbarBrandRouterLink=this.navbarBrandRouterLink[0]?this.navbarBrandRouterLink:this.navbarBrandHref,this.sidebarTogglerClass=this.setToggerBreakpointClass(this.sidebarToggler),this.sidebarTogglerMobileClass=this.setToggerMobileBreakpointClass(this.sidebarToggler),this.asideTogglerClass=this.setToggerBreakpointClass(this.asideMenuToggler),this.asideTogglerMobileClass=this.setToggerMobileBreakpointClass(this.asideMenuToggler)}ngOnDestroy(){this.renderer.removeClass(this.document.body,this.fixedClass)}isFixed(n=this.fixed){n&&this.renderer.addClass(this.document.body,this.fixedClass)}setToggerBreakpointClass(n="md"){let u="d-none d-md-block";return this.breakpoints.includes(n)&&(this.breakpoints.indexOf(n),u=`d-none d-${n}-block`),u}setToggerMobileBreakpointClass(n="lg"){let u="d-lg-none";return this.breakpoints.includes(n)&&(u=`d-${n}-none`),u}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(g.K0),e.Y36(e.Qsj))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-header"],["cui-header"]],hostVars:4,hostBindings:function(n,u){2&n&&e.ekj("app-header",u.appHeaderClass)("navbar",u.navbarClass)},inputs:{navbarBrandText:"navbarBrandText",navbarBrandRouterLink:"navbarBrandRouterLink",fixed:"fixed",navbarBrand:"navbarBrand",navbarBrandFull:"navbarBrandFull",navbarBrandMinimized:"navbarBrandMinimized",navbarBrandHref:"navbarBrandHref",sidebarToggler:"sidebarToggler",mobileSidebarToggler:"mobileSidebarToggler",asideMenuToggler:"asideMenuToggler",mobileAsideMenuToggler:"mobileAsideMenuToggler"},ngContentSelectors:Co,decls:8,vars:7,consts:[[3,"ngIf"],[1,"navbar-brand",3,"routerLink"],["type","button","appSidebarToggler",""],[1,"navbar-toggler-icon"],[3,"appHtmlAttr","ngClass",4,"ngIf"],[3,"appHtmlAttr","ngClass"],[1,"navbar-brand-full",3,"innerHTML"],[1,"navbar-brand-minimized",3,"innerHTML"],["type","button",3,"appSidebarToggler"],["type","button",3,"appAsideMenuToggler"],["type","button","appAsideMenuToggler",""]],template:function(n,u){1&n&&(e.F$t(),e.YNc(0,Mc,2,3,"ng-template",0),e.TgZ(1,"a",1),e.YNc(2,r0,3,3,"ng-template",0),e.YNc(3,j1,2,2,"ng-template",0),e.qZA(),e.YNc(4,Hs,2,4,"ng-template",0),e.Hsn(5),e.YNc(6,Vs,2,4,"ng-template",0),e.YNc(7,W1,2,3,"ng-template",0)),2&n&&(e.Q6J("ngIf",0!=u.mobileSidebarToggler),e.xp6(1),e.Q6J("routerLink",u.navbarBrandRouterLink),e.xp6(1),e.Q6J("ngIf",u.navbarBrandImg),e.xp6(1),e.Q6J("ngIf",!u.navbarBrandImg),e.xp6(1),e.Q6J("ngIf",0!=u.sidebarToggler),e.xp6(2),e.Q6J("ngIf",0!=u.asideMenuToggler),e.xp6(1),e.Q6J("ngIf",0!=u.mobileAsideMenuToggler))},dependencies:[g.mk,g.O5,y.yS,xc,ls,cs],encapsulation:2}),a})(),b0=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez,y.Bz,Ba,Ba]}),a})(),Tc=(()=>{class a{constructor(){this.events=new _c.X({}),this.events$=this.events.asObservable()}toggle(n){this.events.next(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=(0,e.Yz7)({factory:function(){return new a},token:a,providedIn:"root"}),a})(),M0=(()=>{class a{constructor(n,u,v){this.document=n,this.renderer=u,this.sidebarService=v,this._minimized=!1,this.minimizedChange=new e.vpe,this.sidebarClass=!0}get minimized(){return this._minimized}set minimized(n){this._minimized!==n&&(this._minimized=n,this._updateMinimized(n),this.minimizedChange.emit(n),this.sidebarService.toggle({minimize:n}))}ngOnInit(){this.displayBreakpoint(this.display),this.isCompact(this.compact),this.isFixed(this.fixed),this.isOffCanvas(this.offCanvas),this.sidebarService.toggle({minimize:this.minimized}),this.subscriptionEvents=this.sidebarService.events$.subscribe(n=>{void 0!==n.minimize&&("toggle"===n.minimize?this.toggleMinimized():this.minimized=!!n.minimize)})}ngOnDestroy(){this.subscriptionEvents.unsubscribe(),this.minimizedChange.complete(),this.renderer.removeClass(this.document.body,"sidebar-fixed"),this._updateMinimized(!1)}isCompact(n=this.compact){n&&this.renderer.addClass(this.document.body,"sidebar-compact")}isFixed(n=this.fixed){n&&this.renderer.addClass(this.document.body,"sidebar-fixed")}toggleMinimized(){this.minimized=!this._minimized}isOffCanvas(n=this.offCanvas){n&&this.renderer.addClass(this.document.body,"sidebar-off-canvas")}displayBreakpoint(n=this.display){!1!==n&&this.renderer.addClass(this.document.body,n?`sidebar-${n}-show`:K1[0])}_updateMinimized(n){const u=this.document.body;n?(this.renderer.addClass(u,"sidebar-minimized"),this.renderer.addClass(u,"brand-minimized")):(this.renderer.removeClass(u,"sidebar-minimized"),this.renderer.removeClass(u,"brand-minimized"))}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(g.K0),e.Y36(e.Qsj),e.Y36(Tc))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar"],["cui-sidebar"]],hostVars:2,hostBindings:function(n,u){2&n&&e.ekj("sidebar",u.sidebarClass)},inputs:{minimized:"minimized",compact:"compact",display:"display",fixed:"fixed",offCanvas:"offCanvas"},outputs:{minimizedChange:"minimizedChange"},ngContentSelectors:Co,decls:1,vars:0,template:function(n,u){1&n&&(e.F$t(),e.Hsn(0))},encapsulation:2}),a})(),z0=(()=>{class a{constructor(n){this.router=n,this.navItems=[],this.sidebarNavClass=!0,this.role="nav",this.navItemsArray=[]}ngOnChanges(n){this.navItemsArray=Array.isArray(this.navItems)?this.navItems.slice():[]}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(y.F0))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav"],["cui-sidebar-nav"]],hostVars:3,hostBindings:function(n,u){2&n&&(e.uIk("role",u.role),e.ekj("sidebar-nav",u.sidebarNavClass))},inputs:{navItems:"navItems",role:"role"},features:[e.TTD],decls:1,vars:1,consts:[[1,"nav",3,"items"]],template:function(n,u){1&n&&e._UZ(0,"app-sidebar-nav-items",0),2&n&&e.Q6J("items",u.navItemsArray)},dependencies:function(){return[Dc]},encapsulation:2}),a})(),S0=(()=>{class a{constructor(n){this.sidebarService=n,this.role="button",this.sidebarMinimizerClass=!0}toggleOpen(n){n.preventDefault(),this.sidebarService.toggle({minimize:"toggle"})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Tc))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-minimizer"],["cui-sidebar-minimizer"]],hostVars:3,hostBindings:function(n,u){1&n&&e.NdJ("click",function(E){return u.toggleOpen(E)}),2&n&&(e.uIk("role",u.role),e.ekj("sidebar-minimizer",u.sidebarMinimizerClass))},inputs:{role:"role"},decls:0,vars:0,template:function(n,u){},encapsulation:2}),a})(),ca=(()=>{class a{constructor(){this.hasBadge=n=>Boolean(n.badge),this.hasIcon=n=>Boolean(n.icon)}itemType(n){return n.divider?"divider":n.title?"title":n.children?"dropdown":n.label?"label":Object.keys(n).length?"link":"empty"}isActive(n,u){return n.isActive(u.url,!1)}getIconClass(n){const u={"nav-icon":!0};return this.hasIcon(n)&&(u[n.icon]=this.hasIcon(n)),u}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Rs=(()=>{class a{constructor(n){this.el=n}toggle(){this.el.nativeElement.classList.toggle("open")}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq))},a.\u0275dir=e.lG2({type:a,selectors:[["","appNavDropdown",""]]}),a})(),ua=(()=>{class a{constructor(n){this.dropdown=n}toggleOpen(n){n.preventDefault(),this.dropdown.toggle()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Rs))},a.\u0275dir=e.lG2({type:a,selectors:[["","appNavDropdownToggle",""]],hostBindings:function(n,u){1&n&&e.NdJ("click",function(E){return u.toggleOpen(E)})}}),a})(),Fs=(()=>{class a{constructor(){}ngOnInit(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-divider"],["cui-sidebar-nav-divider"]],inputs:{item:"item"},decls:0,vars:0,template:function(n,u){},encapsulation:2}),a})(),X1=(()=>{class a{constructor(n){this.helper=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(ca))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-dropdown"],["cui-sidebar-nav-dropdown"]],inputs:{item:"item"},features:[e._Bn([ca])],decls:6,vars:5,consts:[["appNavDropdownToggle","",1,"nav-link","nav-dropdown-toggle",3,"appHtmlAttr"],[3,"ngClass",4,"ngIf"],[1,"nav-dropdown-items",3,"items"],[3,"ngClass"]],template:function(n,u){1&n&&(e.TgZ(0,"a",0),e.YNc(1,o0,2,3,"i",1),e.ynx(2),e._uU(3),e.BQk(),e.YNc(4,a0,3,4,"span",1),e.qZA(),e._UZ(5,"app-sidebar-nav-items",2)),2&n&&(e.Q6J("appHtmlAttr",u.item.attributes),e.xp6(1),e.Q6J("ngIf",u.helper.hasIcon(u.item)),e.xp6(2),e.Oqu(u.item.name),e.xp6(1),e.Q6J("ngIf",u.helper.hasBadge(u.item)),e.xp6(1),e.Q6J("items",u.item.children))},dependencies:function(){return[g.mk,g.O5,cs,Dc,ua,Cl,Bs]},styles:[".nav-dropdown-toggle[_ngcontent-%COMP%] { cursor: pointer; }",".nav-dropdown-items[_ngcontent-%COMP%] { display: block; }"]}),a})(),Dc=(()=>{class a{constructor(n,u,v,E){this.document=n,this.renderer=u,this.router=v,this.helper=E}set items(n){this._items=[...n]}get items(){return this._items}hideMobile(){this.document.body.classList.contains("sidebar-show")&&this.renderer.removeClass(this.document.body,"sidebar-show")}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(g.K0),e.Y36(e.Qsj),e.Y36(y.F0),e.Y36(ca))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-items"],["cui-sidebar-nav-items"]],inputs:{items:"items"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngSwitch"],["appNavDropdown","","routerLinkActive","open",3,"item","open","ngClass",4,"ngSwitchCase"],[3,"item","ngClass","appHtmlAttr",4,"ngSwitchCase"],["class","nav-item",3,"item","ngClass",4,"ngSwitchCase"],[4,"ngSwitchCase"],["class","nav-item",3,"item","ngClass","linkClick",4,"ngSwitchDefault"],["appNavDropdown","","routerLinkActive","open",3,"item","ngClass"],[3,"item","ngClass","appHtmlAttr"],[1,"nav-item",3,"item","ngClass"],[1,"nav-item",3,"item","ngClass","linkClick"]],template:function(n,u){1&n&&e.YNc(0,ou,8,6,"ng-container",0),2&n&&e.Q6J("ngForOf",u.items)},dependencies:function(){return[g.mk,g.sg,g.RF,g.n9,g.ED,y.Od,cs,Fs,X1,du,hu,Rs,pu,mu]},encapsulation:2}),a})(),e2=(()=>{class a{constructor(n){this.helper=n}ngOnInit(){}ngOnDestroy(){}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(ca))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-link-content"],["cui-sidebar-nav-link-content"]],inputs:{item:"item"},features:[e._Bn([ca])],decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(n,u){1&n&&e.YNc(0,d0,5,3,"ng-container",0),2&n&&e.Q6J("ngIf",!0)},dependencies:function(){return[g.mk,g.O5,Cl,Bs]},encapsulation:2}),a})(),du=(()=>{class a{constructor(n){this.router=n,this.linkClick=new e.vpe,this.navigationEndObservable=n.events.pipe((0,ko.h)(u=>u instanceof y.m2))}set item(n){this._Item=JSON.parse(JSON.stringify(n))}get item(){return this._Item}ngOnInit(){this.url="string"==typeof this.item.url?this.item.url:this.router.serializeUrl(this.router.createUrlTree(this.item.url)),this.linkType=this.getLinkType(),this.href=this.isDisabled()?"":this.item.href||this.url,this.linkActive=this.router.url.split(/[?#(;]/)[0]===this.href.split(/[?#(;]/)[0],this.navSubscription=this.navigationEndObservable.subscribe(n=>{const u=this.href.split(/[?#(;]/)[0].split("/"),v=n.urlAfterRedirects.split(/[?#(;]/)[0].split("/");this.linkActive=u.every((E,fe)=>E===v[fe])})}ngOnDestroy(){this.navSubscription.unsubscribe()}getLinkType(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":"link"}isDisabled(){return!(!this.item.attributes||!this.item.attributes.disabled)||null}isExternalLink(){return!!this.item.href||"http"===this.url.substring(0,4)}linkClicked(){this.linkClick.emit()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(y.F0))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-link"],["cui-sidebar-nav-link"]],inputs:{item:"item"},outputs:{linkClick:"linkClick"},features:[e._Bn([ca])],decls:4,vars:3,consts:[[3,"ngSwitch"],[3,"ngClass","appHtmlAttr",4,"ngSwitchCase"],[3,"ngClass","href","appHtmlAttr","click",4,"ngSwitchCase"],[3,"ngClass","appHtmlAttr","target","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","routerLink","routerLinkActive","routerLinkActiveOptions","active","click",4,"ngSwitchDefault"],[3,"ngClass","appHtmlAttr"],[3,"item"],[3,"ngClass","href","appHtmlAttr","click"],[3,"ngClass","appHtmlAttr","target","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","routerLink","routerLinkActive","routerLinkActiveOptions","click"]],template:function(n,u){1&n&&(e.ynx(0,0),e.YNc(1,_l,3,5,"a",1),e.YNc(2,Q1,3,6,"a",2),e.YNc(3,q1,3,19,"a",3),e.BQk()),2&n&&(e.Q6J("ngSwitch",u.linkType),e.xp6(1),e.Q6J("ngSwitchCase","disabled"),e.xp6(1),e.Q6J("ngSwitchCase","external"))},dependencies:function(){return[g.mk,g.RF,g.n9,g.ED,y.yS,y.Od,cs,e2,fu]},encapsulation:2}),a})(),hu=(()=>{class a{constructor(n,u){this.el=n,this.renderer=u}ngOnInit(){const n=this.el.nativeElement,u=this.renderer.createText(this.item.name);if(this.item.class&&this.renderer.addClass(n,this.item.class),this.item.wrapper){const v=this.renderer.createElement(this.item.wrapper.element);this.addAttribs(this.item.wrapper.attributes,v),this.renderer.appendChild(v,u),this.renderer.appendChild(n,v)}else this.renderer.appendChild(n,u)}addAttribs(n,u){if(n)for(const v in n)"style"===v&&"object"==typeof n[v]?this.setStyle(n[v],u):"class"===v?this.addClass(n[v],u):this.setAttrib(v,n[v],u)}setStyle(n,u){for(const v in n)this.renderer.setStyle(u,v,n[v])}addClass(n,u){(Array.isArray(n)?n:n.split(" ")).filter(E=>E.length>0).forEach(E=>{this.renderer.addClass(u,E)})}setAttrib(n,u,v){this.renderer.setAttribute(v,n,u)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq),e.Y36(e.Qsj))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-title"],["cui-sidebar-nav-title"]],inputs:{item:"item"},decls:0,vars:0,template:function(n,u){},encapsulation:2}),a})(),pu=(()=>{class a{constructor(n){this.helper=n,this.classes={"nav-label":!0,active:!0},this.iconClasses={}}ngOnInit(){this.iconClasses=this.helper.getIconClass(this.item)}getItemClass(){const n=this.item.class;return this.classes[n]=!!n,this.classes}getLabelIconClass(){this.iconClasses[`text-${this.item.label.variant}`]=!!this.item.label.variant;const u=this.item.label.class;return this.iconClasses[u]=!!u,this.iconClasses}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(ca))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sidebar-nav-label"],["cui-sidebar-nav-label"]],inputs:{item:"item"},decls:5,vars:6,consts:[[3,"ngClass","href","appHtmlAttr"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(n,u){1&n&&(e.TgZ(0,"a",0),e.YNc(1,au,1,1,"i",1),e.ynx(2),e._uU(3),e.BQk(),e.YNc(4,G1,3,4,"span",1),e.qZA()),2&n&&(e.s9C("href",u.item.url,e.LSH),e.Q6J("ngClass",u.getItemClass())("appHtmlAttr",u.item.attributes),e.xp6(1),e.Q6J("ngIf",u.helper.hasIcon(u.item)),e.xp6(2),e.Oqu(u.item.name),e.xp6(1),e.Q6J("ngIf",u.helper.hasBadge(u.item)))},dependencies:function(){return[g.mk,g.O5,cs,Bs]},encapsulation:2}),a})(),Cl=(()=>{class a{transform(n,u){const v={"nav-icon":!0};return v[n.icon]=!!n.icon,v}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"appSidebarNavIcon",type:a,pure:!0}),a})(),Bs=(()=>{class a{transform(n,u){const v={badge:!0};return v[`badge-${n.badge.variant}`]=!!n.badge.variant,v[n.badge.class]=!!n.badge.class,v}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"appSidebarNavBadge",type:a,pure:!0}),a})(),fu=(()=>{class a{transform(n){const u={"nav-link":!0},v=n.attributes&&n.attributes.disabled;return u.disabled=v,u["btn-link"]=v,u[`nav-link-${n.variant}`]=!!n.variant,u}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"appSidebarNavLink",type:a,pure:!0}),a})(),mu=(()=>{class a{constructor(n){this.helper=n}transform(n,...u){const v=this.helper.itemType(n);let E;return E=["divider","title"].includes(v)?`nav-${v}`:"dropdown"===v?"nav-item nav-dropdown":"nav-item",n.class?`${E} ${n.class}`:E}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(ca,16))},a.\u0275pipe=e.Yjl({name:"appSidebarNavItemClass",type:a,pure:!0}),a})(),t2=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[ca,Tc],imports:[g.ez,y.Bz,Ba,Ba]}),a})();var bl=p(70853);function w0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",13)(1,"div",14)(2,"strong"),e._uU(3,"Account"),e.qZA()(),e.TgZ(4,"a",15),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.changePassword())}),e._UZ(5,"i",16),e._uU(6," Change Password"),e.qZA(),e.TgZ(7,"a",15),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.logout())}),e._UZ(8,"i",17),e._uU(9," Logout"),e.qZA()()}}const T0=function(){return["/dashboard"]},n2=function(){return{src:"assets/img/bms-logo.png",height:50,alt:"BMS Road Tax"}};let Ac=(()=>{class a{constructor(n,u,v,E,fe,Ve){this.localStorageService=n,this.router=u,this.tokenService=v,this.bsModalService=E,this.notification=fe,this.staffApiService=Ve,this.sidebarMinimized=!1,this.navItems=Se}ngOnInit(){var n=this.tokenService.getRoles();n.includes("SuperAdmin")?this.navItems=lt:n.includes("Admin")&&(this.navItems=tt)}toggleMinimize(n){this.sidebarMinimized=n}logout(){this.localStorageService.clearAllLocalStorage(),this.router.navigateByUrl("/admin")}changePassword(){this.confirmationModel=this.bsModalService.show(vc,{class:"modal-md",ignoreBackdropClick:!0}),this.confirmationModel.content.submitEvent.subscribe(n=>{this.staffApiService.changePassword(n).subscribe(u=>{this.showNotification(u.success?"Password changed successfully":u.errorMessage,u.success)})})}showNotification(n,u){u?this.notification.success(n,""):this.notification.error(n,"")}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(vl),e.Y36(y.F0),e.Y36(yc.B),e.Y36(sn.tT),e.Y36(yl.zb),e.Y36(J4.e))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-dashboard"]],decls:16,vars:14,consts:[[3,"navbarBrandRouterLink","fixed","navbarBrandFull","navbarBrandMinimized","sidebarToggler","asideMenuToggler"],[1,"nav","navbar-nav","ml-auto"],["dropdown","","placement","bottom right",1,"nav-item","dropdown"],["data-toggle","dropdown","href","#","role","button","aria-haspopup","true","aria-expanded","false","dropdownToggle","",1,"nav-link",3,"click"],["src","assets/img/Blank-Avatar.png","alt","",1,"img-avatar"],["class","dropdown-menu dropdown-menu-right","aria-labelledby","simple-dropdown",4,"dropdownMenu"],[1,"app-body"],[3,"fixed","display","minimized","minimizedChange"],["appSidebar",""],[3,"navItems","perfectScrollbar","disabled"],[1,"main"],[1,"breadcrumb-menu","d-md-down-none"],[1,"container-fluid"],["aria-labelledby","simple-dropdown",1,"dropdown-menu","dropdown-menu-right"],[1,"dropdown-header","text-center"],[1,"dropdown-item",3,"click"],[1,"fa","fa-shield"],[1,"fa","fa-lock"]],template:function(n,u){if(1&n&&(e.TgZ(0,"app-header",0)(1,"ul",1)(2,"li",2)(3,"a",3),e.NdJ("click",function(){return!1}),e._UZ(4,"img",4),e.qZA(),e.YNc(5,w0,10,0,"div",5),e.qZA()()(),e.TgZ(6,"div",6)(7,"app-sidebar",7,8),e.NdJ("minimizedChange",function(E){return u.toggleMinimize(E)}),e._UZ(9,"app-sidebar-nav",9)(10,"app-sidebar-minimizer"),e.qZA(),e.TgZ(11,"main",10)(12,"cui-breadcrumb"),e._UZ(13,"li",11),e.qZA(),e.TgZ(14,"div",12),e._UZ(15,"router-outlet"),e.qZA()()()),2&n){const v=e.MAs(8);e.Q6J("navbarBrandRouterLink",e.DdM(11,T0))("fixed",!0)("navbarBrandFull",e.DdM(12,n2))("navbarBrandMinimized",e.DdM(13,n2))("sidebarToggler","lg")("asideMenuToggler",!1),e.xp6(7),e.Q6J("fixed",!0)("display","lg")("minimized",u.sidebarMinimized),e.xp6(2),e.Q6J("navItems",u.navItems)("disabled",v.minimized)}},dependencies:[y.lC,y0,C0,S0,M0,z0,so,bl.Hz,bl.Mq,bl.TO],styles:[".breadcrumb-item.active span{font-weight:700;font-size:15px}\n"],encapsulation:2}),a})();var Zs=p(15861),da=p(98184),Yo=p(84080),D0=p(88514),Zi=p(72986),Ec=p(1059),A0=p(88932),bi=p(3187),r2=p(85469),o2=p(12687),Ys=p(72536),Us=p(93531),ha=p(66287),Ml=p(66616),a2=p(47044),E0=p(21811),pa=p(47423);class yr{transform(c,n=0,u="B",v){if(!((0,bi.ui)(c)&&(0,bi.ui)(n)&&n%1==0&&n>=0))return c;let E=c,fe=u;for(;"B"!==fe;)E*=1024,fe=yr.formats[fe].prev;if(v){const $e=(0,bi.YM)(yr.calculateResult(yr.formats[v],E),n);return yr.formatResult($e,v)}for(const Ve in yr.formats)if(yr.formats.hasOwnProperty(Ve)){const $e=yr.formats[Ve];if(E<$e.max){const zt=(0,bi.YM)(yr.calculateResult($e,E),n);return yr.formatResult(zt,Ve)}}}static formatResult(c,n){return`${c} ${n}`}static calculateResult(c,n){const u=c.prev?yr.formats[c.prev]:void 0;return u?n/u.max:n}}yr.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}},yr.\u0275fac=function(c){return new(c||yr)},yr.\u0275pipe=e.Yjl({name:"nzBytes",type:yr,pure:!0});let zl=(()=>{class a{transform(n,u="px"){let $e="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(zt=>zt===u)&&($e=u),"number"==typeof n?`${n}${$e}`:`${n}`}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"nzToCssUnit",type:a,pure:!0}),a})(),I0=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[g.ez]}),a})();var l2=p(29521),Da=p(40445),Lr=p(70655),hs=p(84903);const Za=["nz-modal-close",""];function H0(a,c){if(1&a&&(e.ynx(0),e._UZ(1,"span",2),e.BQk()),2&a){const n=c.$implicit;e.xp6(1),e.Q6J("nzType",n)}}const Sl=["modalElement"];function xl(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onCloseClick())}),e.qZA()}}function V0(a,c){if(1&a&&(e.ynx(0),e._UZ(1,"span",17),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("innerHTML",n.config.nzTitle,e.oJD)}}function kc(a,c){}function wl(a,c){if(1&a&&e._UZ(0,"div",17),2&a){const n=e.oxw();e.Q6J("innerHTML",n.config.nzContent,e.oJD)}}function Ya(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",18),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onCancel())}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("nzLoading",!!n.config.nzCancelLoading)("disabled",n.config.nzCancelDisabled),e.uIk("cdkFocusInitial","cancel"===n.config.nzAutofocus||null),e.xp6(1),e.hij(" ",n.config.nzCancelText||n.locale.cancelText," ")}}function Oc(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",19),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onOk())}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("nzType",n.config.nzOkType)("nzLoading",!!n.config.nzOkLoading)("disabled",n.config.nzOkDisabled)("nzDanger",n.config.nzOkDanger),e.uIk("cdkFocusInitial","ok"===n.config.nzAutofocus||null),e.xp6(1),e.hij(" ",n.config.nzOkText||n.locale.okText," ")}}const Ic=["nz-modal-footer",""];function N0(a,c){if(1&a&&e._UZ(0,"div",5),2&a){const n=e.oxw(3);e.Q6J("innerHTML",n.config.nzFooter,e.oJD)}}function L0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){const E=e.CHM(n).$implicit,fe=e.oxw(4);return e.KtG(fe.onButtonClick(E))}),e._uU(1),e.qZA()}if(2&a){const n=c.$implicit,u=e.oxw(4);e.Q6J("hidden",!u.getButtonCallableProp(n,"show"))("nzLoading",u.getButtonCallableProp(n,"loading"))("disabled",u.getButtonCallableProp(n,"disabled"))("nzType",n.type)("nzDanger",n.danger)("nzShape",n.shape)("nzSize",n.size)("nzGhost",n.ghost),e.xp6(1),e.hij(" ",n.label," ")}}function c2(a,c){if(1&a&&(e.ynx(0),e.YNc(1,L0,2,9,"button",6),e.BQk()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",n.buttons)}}function ps(a,c){if(1&a&&(e.ynx(0),e.YNc(1,N0,1,1,"div",3),e.YNc(2,c2,2,1,"ng-container",4),e.BQk()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n.buttonsFooter),e.xp6(1),e.Q6J("ngIf",n.buttonsFooter)}}const R0=function(a,c){return{$implicit:a,modalRef:c}};function F0(a,c){if(1&a&&(e.ynx(0),e.YNc(1,ps,3,2,"ng-container",2),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.config.nzFooter)("nzStringTemplateOutletContext",e.WLB(2,R0,n.config.nzComponentParams,n.modalRef))}}function B0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.onCancel())}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("nzLoading",!!n.config.nzCancelLoading)("disabled",n.config.nzCancelDisabled),e.uIk("cdkFocusInitial","cancel"===n.config.nzAutofocus||null),e.xp6(1),e.hij(" ",n.config.nzCancelText||n.locale.cancelText," ")}}function Z0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.onOk())}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("nzType",n.config.nzOkType)("nzDanger",n.config.nzOkDanger)("nzLoading",!!n.config.nzOkLoading)("disabled",n.config.nzOkDisabled),e.uIk("cdkFocusInitial","ok"===n.config.nzAutofocus||null),e.xp6(1),e.hij(" ",n.config.nzOkText||n.locale.okText," ")}}function Hc(a,c){if(1&a&&(e.YNc(0,B0,2,4,"button",8),e.YNc(1,Z0,2,6,"button",9)),2&a){const n=e.oxw();e.Q6J("ngIf",null!==n.config.nzCancelText),e.xp6(1),e.Q6J("ngIf",null!==n.config.nzOkText)}}const Y0=["nz-modal-title",""];function u2(a,c){if(1&a&&(e.ynx(0),e._UZ(1,"div",2),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("innerHTML",n.config.nzTitle,e.oJD)}}function U0(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"button",9),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onCloseClick())}),e.qZA()}}function Vc(a,c){1&a&&e._UZ(0,"div",10)}function vu(a,c){}function j0(a,c){if(1&a&&e._UZ(0,"div",11),2&a){const n=e.oxw();e.Q6J("innerHTML",n.config.nzContent,e.oJD)}}function js(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",12),e.NdJ("cancelTriggered",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onCloseClick())})("okTriggered",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onOkClick())}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("modalRef",n.modalRef)}}const d2=()=>{};class Oo{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=d2,this.nzOnOk=d2,this.nzIconType="question-circle"}}const Nc="ant-modal-mask",Ws="modal",h2={modalContainer:(0,h.X$)("modalContainer",[(0,h.SB)("void, exit",(0,h.oB)({})),(0,h.SB)("enter",(0,h.oB)({})),(0,h.eR)("* => enter",(0,h.jt)(".24s",(0,h.oB)({}))),(0,h.eR)("* => void, * => exit",(0,h.jt)(".2s",(0,h.oB)({})))])};function $s(a,c,n){return typeof a>"u"?typeof c>"u"?n:c:a}function f2(a){const{nzCentered:c,nzMask:n,nzMaskClosable:u,nzClosable:v,nzOkLoading:E,nzOkDisabled:fe,nzCancelDisabled:Ve,nzCancelLoading:$e,nzKeyboard:zt,nzNoAnimation:Ut,nzContent:Xt,nzComponentParams:xn,nzFooter:yn,nzZIndex:on,nzWidth:fn,nzWrapClassName:Ln,nzClassName:wn,nzStyle:En,nzTitle:mi,nzCloseIcon:Si,nzMaskStyle:$o,nzBodyStyle:Fr,nzOkText:sr,nzCancelText:zo,nzOkType:Qo,nzOkDanger:qo,nzIconType:Ql,nzModalType:qa,nzOnOk:va,nzOnCancel:ql,nzAfterOpen:Ga,nzAfterClose:hn,nzCloseOnNavigation:An,nzAutofocus:Tn}=a;return{nzCentered:c,nzMask:n,nzMaskClosable:u,nzClosable:v,nzOkLoading:E,nzOkDisabled:fe,nzCancelDisabled:Ve,nzCancelLoading:$e,nzKeyboard:zt,nzNoAnimation:Ut,nzContent:Xt,nzComponentParams:xn,nzFooter:yn,nzZIndex:on,nzWidth:fn,nzWrapClassName:Ln,nzClassName:wn,nzStyle:En,nzTitle:mi,nzCloseIcon:Si,nzMaskStyle:$o,nzBodyStyle:Fr,nzOkText:sr,nzCancelText:zo,nzOkType:Qo,nzOkDanger:qo,nzIconType:Ql,nzModalType:qa,nzOnOk:va,nzOnCancel:ql,nzAfterOpen:Ga,nzAfterClose:hn,nzCloseOnNavigation:An,nzAutofocus:Tn}}function Tl(){throw Error("Attempting to attach modal content after content is already attached")}let m2=(()=>{class a extends Yo.en{constructor(n,u,v,E,fe,Ve,$e,zt,Ut,Xt){super(),this.ngZone=n,this.host=u,this.focusTrapFactory=v,this.cdr=E,this.render=fe,this.overlayRef=Ve,this.nzConfigService=$e,this.config=zt,this.animationType=Xt,this.animationStateChanged=new e.vpe,this.containerClick=new e.vpe,this.cancelTriggered=new e.vpe,this.okTriggered=new e.vpe,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new Te.xQ,this.document=Ut,this.dir=Ve.getDirection(),this.isStringContent="string"==typeof zt.nzContent,this.nzConfigService.getConfigChangeEventForComponent(Ws).pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const n=this.nzConfigService.getConfigForComponent(Ws)||{};return!!$s(this.config.nzMask,n.nzMask,!0)}get maskClosable(){const n=this.nzConfigService.getConfigForComponent(Ws)||{};return!!$s(this.config.nzMaskClosable,n.nzMaskClosable,!0)}onContainerClick(n){n.target===n.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(n){return this.portalOutlet.hasAttached()&&Tl(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this.portalOutlet.hasAttached()&&Tl(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(n)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const n=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const u=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),v=(0,bi.pW)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(n,"transform-origin",`${v.left+u.width/2-n.offsetLeft}px ${v.top+u.height/2-n.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,r2.e)(()=>this.host.nativeElement.focus())))}trapFocus(){const n=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const u=this.document.activeElement;u!==n&&!n.contains(u)&&n.focus()}}restoreFocus(){const n=this.elementFocusedBeforeModalWasOpened;if(n&&"function"==typeof n.focus){const u=this.document.activeElement,v=this.host.nativeElement;(!u||u===this.document.body||u===v||v.contains(u))&&n.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const n=this.modalElementRef.nativeElement,u=this.overlayRef.backdropElement;n.classList.add("ant-zoom-enter"),n.classList.add("ant-zoom-enter-active"),u&&(u.classList.add("ant-fade-enter"),u.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const n=this.modalElementRef.nativeElement;n.classList.add("ant-zoom-leave"),n.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(n=!1){const u=this.overlayRef.backdropElement;if(u){if(this.animationDisabled()||n)return void u.classList.remove(Nc);u.classList.add("ant-fade-leave"),u.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const n=this.overlayRef.backdropElement,u=this.modalElementRef.nativeElement;n&&(n.classList.remove("ant-fade-enter"),n.classList.remove("ant-fade-enter-active")),u.classList.remove("ant-zoom-enter"),u.classList.remove("ant-zoom-enter-active"),u.classList.remove("ant-zoom-leave"),u.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const n=this.overlayRef.backdropElement;n&&(0,bi.DX)(this.config.nzZIndex)&&this.render.setStyle(n,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const n=this.overlayRef.backdropElement;if(n&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(v=>{this.render.removeStyle(n,v)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const u={...this.config.nzMaskStyle};Object.keys(u).forEach(v=>{this.render.setStyle(n,v,u[v])}),this.oldMaskStyle=u}}updateMaskClassname(){const n=this.overlayRef.backdropElement;n&&(this.showMask?n.classList.add(Nc):n.classList.remove(Nc))}onAnimationDone(n){"enter"===n.toState?this.trapFocus():"exit"===n.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(n)}onAnimationStart(n){"enter"===n.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===n.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(n)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}setupMouseListeners(n){this.ngZone.runOutsideAngular(()=>{(0,ct.R)(this.host.nativeElement,"mouseup").pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,ct.R)(n.nativeElement,"mousedown").pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}}return a.\u0275fac=function(n){e.$Z()},a.\u0275dir=e.lG2({type:a,features:[e.qOj]}),a})(),Lc=(()=>{class a{constructor(n){this.config=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Oo))},a.\u0275cmp=e.Xpm({type:a,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:Za,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(n,u){1&n&&(e.TgZ(0,"span",0),e.YNc(1,H0,2,1,"ng-container",1),e.qZA()),2&n&&(e.xp6(1),e.Q6J("nzStringTemplateOutlet",u.config.nzCloseIcon))},dependencies:[ha.f,a2.w,pa.Ls],encapsulation:2,changeDetection:0}),a})(),Rc=(()=>{class a extends m2{constructor(n,u,v,E,fe,Ve,$e,zt,Ut,Xt,xn){super(n,v,E,fe,Ve,$e,zt,Ut,Xt,xn),this.i18n=u,this.config=Ut,this.cancelTriggered=new e.vpe,this.okTriggered=new e.vpe,this.i18n.localeChange.pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.R0b),e.Y36(Us.wi),e.Y36(e.SBq),e.Y36(o2.qV),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(da.Iu),e.Y36(Ys.jY),e.Y36(Oo),e.Y36(g.K0,8),e.Y36(e.QbO,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-modal-confirm-container"]],viewQuery:function(n,u){if(1&n&&(e.Gf(Yo.Pl,7),e.Gf(Sl,7)),2&n){let v;e.iGM(v=e.CRH())&&(u.portalOutlet=v.first),e.iGM(v=e.CRH())&&(u.modalElementRef=v.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(n,u){1&n&&(e.WFA("@modalContainer.start",function(E){return u.onAnimationStart(E)})("@modalContainer.done",function(E){return u.onAnimationDone(E)}),e.NdJ("click",function(E){return u.onContainerClick(E)})),2&n&&(e.d8E("@.disabled",u.config.nzNoAnimation)("@modalContainer",u.state),e.Tol(u.config.nzWrapClassName?"ant-modal-wrap "+u.config.nzWrapClassName:"ant-modal-wrap"),e.Udp("z-index",u.config.nzZIndex),e.ekj("ant-modal-wrap-rtl","rtl"===u.dir)("ant-modal-centered",u.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[e.qOj],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0,1),e.ALo(2,"nzToCssUnit"),e.TgZ(3,"div",2),e.YNc(4,xl,1,0,"button",3),e.TgZ(5,"div",4)(6,"div",5)(7,"div",6),e._UZ(8,"span",7),e.TgZ(9,"span",8),e.YNc(10,V0,2,1,"ng-container",9),e.qZA(),e.TgZ(11,"div",10),e.YNc(12,kc,0,0,"ng-template",11),e.YNc(13,wl,1,1,"div",12),e.qZA()(),e.TgZ(14,"div",13),e.YNc(15,Ya,2,4,"button",14),e.YNc(16,Oc,2,6,"button",15),e.qZA()()()()()),2&n&&(e.Udp("width",e.lcZ(2,11,null==u.config?null:u.config.nzWidth)),e.Q6J("ngClass",u.config.nzClassName)("ngStyle",u.config.nzStyle),e.xp6(4),e.Q6J("ngIf",u.config.nzClosable),e.xp6(1),e.Q6J("ngStyle",u.config.nzBodyStyle),e.xp6(3),e.Q6J("nzType",u.config.nzIconType),e.xp6(2),e.Q6J("nzStringTemplateOutlet",u.config.nzTitle),e.xp6(3),e.Q6J("ngIf",u.isStringContent),e.xp6(2),e.Q6J("ngIf",null!==u.config.nzCancelText),e.xp6(1),e.Q6J("ngIf",null!==u.config.nzOkText))},dependencies:[g.mk,g.O5,g.PC,ha.f,Yo.Pl,Ml.ix,a2.w,E0.dQ,pa.Ls,Lc,zl],encapsulation:2,data:{animation:[h2.modalContainer]}}),a})(),yu=(()=>{class a{constructor(n,u){this.i18n=n,this.config=u,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new e.vpe,this.okTriggered=new e.vpe,this.destroy$=new Te.xQ,Array.isArray(u.nzFooter)&&(this.buttonsFooter=!0,this.buttons=u.nzFooter.map(_u)),this.i18n.localeChange.pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(n,u){const v=n[u],E=this.modalRef.getContentComponent();return"function"==typeof v?v.apply(n,E&&[E]):v}onButtonClick(n){if(!this.getButtonCallableProp(n,"loading")){const v=this.getButtonCallableProp(n,"onClick");n.autoLoading&&(0,bi.tI)(v)&&(n.loading=!0,v.then(()=>n.loading=!1).catch(E=>{throw n.loading=!1,E}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Us.wi),e.Y36(Oo))},a.\u0275cmp=e.Xpm({type:a,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:Ic,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(n,u){if(1&n&&(e.YNc(0,F0,2,5,"ng-container",0),e.YNc(1,Hc,2,2,"ng-template",null,1,e.W1O)),2&n){const v=e.MAs(2);e.Q6J("ngIf",u.config.nzFooter)("ngIfElse",v)}},dependencies:[g.sg,g.O5,ha.f,Ml.ix,a2.w,E0.dQ],encapsulation:2}),a})();function _u(a){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...a}}let Fc=(()=>{class a{constructor(n){this.config=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Oo))},a.\u0275cmp=e.Xpm({type:a,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:Y0,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0),e.YNc(1,u2,2,1,"ng-container",1),e.qZA()),2&n&&(e.xp6(1),e.Q6J("nzStringTemplateOutlet",u.config.nzTitle))},dependencies:[ha.f],encapsulation:2,changeDetection:0}),a})(),Cu=(()=>{class a extends m2{constructor(n,u,v,E,fe,Ve,$e,zt,Ut,Xt){super(n,u,v,E,fe,Ve,$e,zt,Ut,Xt),this.config=zt}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(o2.qV),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(da.Iu),e.Y36(Ys.jY),e.Y36(Oo),e.Y36(g.K0,8),e.Y36(e.QbO,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-modal-container"]],viewQuery:function(n,u){if(1&n&&(e.Gf(Yo.Pl,7),e.Gf(Sl,7)),2&n){let v;e.iGM(v=e.CRH())&&(u.portalOutlet=v.first),e.iGM(v=e.CRH())&&(u.modalElementRef=v.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(n,u){1&n&&(e.WFA("@modalContainer.start",function(E){return u.onAnimationStart(E)})("@modalContainer.done",function(E){return u.onAnimationDone(E)}),e.NdJ("click",function(E){return u.onContainerClick(E)})),2&n&&(e.d8E("@.disabled",u.config.nzNoAnimation)("@modalContainer",u.state),e.Tol(u.config.nzWrapClassName?"ant-modal-wrap "+u.config.nzWrapClassName:"ant-modal-wrap"),e.Udp("z-index",u.config.nzZIndex),e.ekj("ant-modal-wrap-rtl","rtl"===u.dir)("ant-modal-centered",u.config.nzCentered))},exportAs:["nzModalContainer"],features:[e.qOj],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0,1),e.ALo(2,"nzToCssUnit"),e.TgZ(3,"div",2),e.YNc(4,U0,1,0,"button",3),e.YNc(5,Vc,1,0,"div",4),e.TgZ(6,"div",5),e.YNc(7,vu,0,0,"ng-template",6),e.YNc(8,j0,1,1,"div",7),e.qZA(),e.YNc(9,js,1,1,"div",8),e.qZA()()),2&n&&(e.Udp("width",e.lcZ(2,9,null==u.config?null:u.config.nzWidth)),e.Q6J("ngClass",u.config.nzClassName)("ngStyle",u.config.nzStyle),e.xp6(4),e.Q6J("ngIf",u.config.nzClosable),e.xp6(1),e.Q6J("ngIf",u.config.nzTitle),e.xp6(1),e.Q6J("ngStyle",u.config.nzBodyStyle),e.xp6(2),e.Q6J("ngIf",u.isStringContent),e.xp6(1),e.Q6J("ngIf",null!==u.config.nzFooter))},dependencies:[g.mk,g.O5,g.PC,Yo.Pl,Lc,yu,Fc,zl],encapsulation:2,data:{animation:[h2.modalContainer]}}),a})();class Bc{constructor(c,n,u){this.overlayRef=c,this.config=n,this.containerInstance=u,this.componentInstance=null,this.state=0,this.afterClose=new Te.xQ,this.afterOpen=new Te.xQ,this.destroy$=new Te.xQ,u.animationStateChanged.pipe((0,ko.h)(v=>"done"===v.phaseName&&"enter"===v.toState),(0,Zi.q)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),n.nzAfterOpen instanceof e.vpe&&n.nzAfterOpen.emit()}),u.animationStateChanged.pipe((0,ko.h)(v=>"done"===v.phaseName&&"exit"===v.toState),(0,Zi.q)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),u.containerClick.pipe((0,Zi.q)(1),(0,On.R)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),c.keydownEvents().pipe((0,ko.h)(v=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&v.keyCode===l2.hY&&!(0,l2.Vb)(v))).subscribe(v=>{v.preventDefault(),this.trigger("cancel")}),u.cancelTriggered.pipe((0,On.R)(this.destroy$)).subscribe(()=>this.trigger("cancel")),u.okTriggered.pipe((0,On.R)(this.destroy$)).subscribe(()=>this.trigger("ok")),c.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),n.nzAfterClose instanceof e.vpe&&n.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(c){this.close(c)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(c){0===this.state&&(this.result=c,this.containerInstance.animationStateChanged.pipe((0,ko.h)(n=>"start"===n.phaseName),(0,Zi.q)(1)).subscribe(n=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},n.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(c){Object.assign(this.config,c),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(c){var n=this;return(0,Zs.Z)(function*(){if(1===n.state)return;const u={ok:n.config.nzOnOk,cancel:n.config.nzOnCancel}[c],v={ok:"nzOkLoading",cancel:"nzCancelLoading"}[c];if(!n.config[v])if(u instanceof e.vpe)u.emit(n.getContentComponent());else if("function"==typeof u){const fe=u(n.getContentComponent());if((0,bi.tI)(fe)){n.config[v]=!0;let Ve=!1;try{Ve=yield fe}finally{n.config[v]=!1,n.closeWhitResult(Ve)}}else n.closeWhitResult(fe)}})()}closeWhitResult(c){!1!==c&&this.close(c)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let $0=(()=>{class a{constructor(n,u,v,E,fe){this.overlay=n,this.injector=u,this.nzConfigService=v,this.parentModal=E,this.directionality=fe,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new Te.xQ,this.afterAllClose=(0,D0.P)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,Ec.O)(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const n=this.parentModal;return n?n._afterAllClosed:this.afterAllClosedAtThisLevel}create(n){return this.open(n.nzContent,n)}closeAll(){this.closeModals(this.openModals)}confirm(n={},u="confirm"){return"nzFooter"in n&&(0,A0.ZK)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in n||(n.nzWidth=416),"nzMaskClosable"in n||(n.nzMaskClosable=!1),n.nzModalType="confirm",n.nzClassName=`ant-modal-confirm ant-modal-confirm-${u} ${n.nzClassName||""}`,this.create(n)}info(n={}){return this.confirmFactory(n,"info")}success(n={}){return this.confirmFactory(n,"success")}error(n={}){return this.confirmFactory(n,"error")}warning(n={}){return this.confirmFactory(n,"warning")}open(n,u){const v=function W0(a,c){return{...c,...a}}(u||{},new Oo),E=this.createOverlay(v),fe=this.attachModalContainer(E,v),Ve=this.attachModalContent(n,fe,E,v);return fe.modalRef=Ve,this.openModals.push(Ve),Ve.afterClose.subscribe(()=>this.removeOpenModal(Ve)),Ve}removeOpenModal(n){const u=this.openModals.indexOf(n);u>-1&&(this.openModals.splice(u,1),this.openModals.length||this._afterAllClosed.next())}closeModals(n){let u=n.length;for(;u--;)n[u].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(n){const u=this.nzConfigService.getConfigForComponent(Ws)||{},v=new da.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:$s(n.nzCloseOnNavigation,u.nzCloseOnNavigation,!0),direction:$s(n.nzDirection,u.nzDirection,this.directionality.value)});return $s(n.nzMask,u.nzMask,!0)&&(v.backdropClass=Nc),this.overlay.create(v)}attachModalContainer(n,u){const E=e.zs3.create({parent:u&&u.nzViewContainerRef&&u.nzViewContainerRef.injector||this.injector,providers:[{provide:da.Iu,useValue:n},{provide:Oo,useValue:u}]}),Ve=new Yo.C5("confirm"===u.nzModalType?Rc:Cu,u.nzViewContainerRef,E);return n.attach(Ve).instance}attachModalContent(n,u,v,E){const fe=new Bc(v,E,u);if(n instanceof e.Rgc)u.attachTemplatePortal(new Yo.UE(n,null,{$implicit:E.nzComponentParams,modalRef:fe}));else if((0,bi.DX)(n)&&"string"!=typeof n){const Ve=this.createInjector(fe,E),$e=u.attachComponentPortal(new Yo.C5(n,E.nzViewContainerRef,Ve));(function p2(a,c){Object.assign(a,c)})($e.instance,E.nzComponentParams),fe.componentInstance=$e.instance}else u.attachStringContent();return fe}createInjector(n,u){return e.zs3.create({parent:u&&u.nzViewContainerRef&&u.nzViewContainerRef.injector||this.injector,providers:[{provide:Bc,useValue:n}]})}confirmFactory(n={},u){return"nzIconType"in n||(n.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[u]),"nzCancelText"in n||(n.nzCancelText=null),this.confirm(n,u)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(da.aV),e.LFG(e.zs3),e.LFG(Ys.jY),e.LFG(a,12),e.LFG(Da.Is,8))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Q0=(()=>{class a{constructor(n){this.templateRef=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.Rgc))},a.\u0275dir=e.lG2({type:a,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),a})(),bu=(()=>{class a{constructor(n,u){this.nzModalRef=n,this.templateRef=u,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Bc,8),e.Y36(e.Rgc))},a.\u0275dir=e.lG2({type:a,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),a})(),q0=(()=>{class a{constructor(n,u){this.nzModalRef=n,this.templateRef=u,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Bc,8),e.Y36(e.Rgc))},a.\u0275dir=e.lG2({type:a,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),a})(),g2=(()=>{class a{constructor(n,u,v){this.cdr=n,this.modal=u,this.viewContainerRef=v,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new e.vpe,this.nzOnCancel=new e.vpe,this.nzAfterOpen=new e.vpe,this.nzAfterClose=new e.vpe,this.nzVisibleChange=new e.vpe,this.modalRef=null,this.destroy$=new Te.xQ}set modalTitle(n){n&&this.setTitleWithTemplate(n)}set modalFooter(n){n&&this.setFooterWithTemplate(n)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const n=this.getConfig();this.modalRef=this.modal.create(n),this.modalRef.afterClose.asObservable().pipe((0,On.R)(this.destroy$)).subscribe(()=>{this.close()})}}close(n){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(n),this.modalRef=null)}destroy(n){this.close(n)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(n){this.nzTitle=n,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(n){this.nzFooter=n,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const n=f2(this);return n.nzViewContainerRef=this.viewContainerRef,n.nzContent=this.nzContent||this.contentFromContentChild,n}ngOnChanges(n){const{nzVisible:u,...v}=n;Object.keys(v).length&&this.modalRef&&this.modalRef.updateConfig(f2(this)),u&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.sBO),e.Y36($0),e.Y36(e.s_b))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-modal"]],contentQueries:function(n,u,v){if(1&n&&(e.Suo(v,q0,7,e.Rgc),e.Suo(v,Q0,7,e.Rgc),e.Suo(v,bu,7,e.Rgc)),2&n){let E;e.iGM(E=e.CRH())&&(u.modalTitle=E.first),e.iGM(E=e.CRH())&&(u.contentFromContentChild=E.first),e.iGM(E=e.CRH())&&(u.modalFooter=E.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[e.TTD],decls:0,vars:0,template:function(n,u){},encapsulation:2,changeDetection:0}),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzMask",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzMaskClosable",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzCloseOnNavigation",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzVisible",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzClosable",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzOkLoading",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzOkDisabled",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzCancelDisabled",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzCancelLoading",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzKeyboard",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzNoAnimation",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzCentered",void 0),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzOkDanger",void 0),a})(),Zc=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[$0],imports:[g.ez,Da.vT,da.U8,ha.T,Yo.eL,Us.YI,Ml.sL,pa.PV,I0,hs.g,I0]}),a})(),Yc=(()=>{class a{}return a.EMPTY="",a.SEPERATOR="/",a.IMPORT="import",a.CUSTOMER="customer",a.NEWS="news",a.PROMOTION="promotion",a.REDEMPTION="redemption",a.VOUCHER="voucher",a.CREW="crew",a.PAYROLL="payroll",a.ADVERTISEMENT="advertisement",a.OUTLET="outlet",a.IMAGES="images",a.BANK="bank",a.COMPANY="company",a.VESSEL="vessel",a.CHARGE_CODE="chargecode",a})(),Dl=(()=>{class a{constructor(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ng-component"]],decls:19,vars:0,consts:[[1,"app","flex-row","align-items-center"],[1,"container"],[1,"row","justify-content-center"],[1,"col-md-6"],[1,"clearfix"],[1,"float-left","display-3","mr-4"],[1,"pt-3"],[1,"text-muted"],[1,"input-prepend","input-group"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"fa","fa-search"],["id","prependedInput","size","16","type","text","placeholder","What are you looking for?",1,"form-control"],[1,"input-group-append"],["type","button",1,"btn","btn-info"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),e._uU(6,"404"),e.qZA(),e.TgZ(7,"h4",6),e._uU(8,"Oops! You're lost."),e.qZA(),e.TgZ(9,"p",7),e._uU(10,"The page you are looking for was not found."),e.qZA()(),e.TgZ(11,"div",8)(12,"div",9)(13,"span",10),e._UZ(14,"i",11),e.qZA()(),e._UZ(15,"input",12),e.TgZ(16,"span",13)(17,"button",14),e._uU(18,"Search"),e.qZA()()()()()()())},encapsulation:2}),a})(),Uc=(()=>{class a{constructor(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ng-component"]],decls:19,vars:0,consts:[[1,"app","flex-row","align-items-center"],[1,"container"],[1,"row","justify-content-center"],[1,"col-md-6"],[1,"clearfix"],[1,"float-left","display-3","mr-4"],[1,"pt-3"],[1,"text-muted"],[1,"input-prepend","input-group"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"fa","fa-search"],["id","prependedInput","size","16","type","text","placeholder","What are you looking for?",1,"form-control"],[1,"input-group-append"],["type","button",1,"btn","btn-info"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),e._uU(6,"500"),e.qZA(),e.TgZ(7,"h4",6),e._uU(8,"Houston, we have a problem!"),e.qZA(),e.TgZ(9,"p",7),e._uU(10,"The page you are looking for is temporarily unavailable."),e.qZA()(),e.TgZ(11,"div",8)(12,"div",9)(13,"span",10),e._UZ(14,"i",11),e.qZA()(),e._UZ(15,"input",12),e.TgZ(16,"span",13)(17,"button",14),e._uU(18,"Search"),e.qZA()()()()()()())},encapsulation:2}),a})(),K0=(()=>{class a{constructor(n){this.http=n}Authenticate(n){return this.http.post("/Login",n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(s.eN))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var fa=p(68423);function Qs(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Username is required"),e.qZA())}function J0(a,c){if(1&a&&(e.TgZ(0,"div",25),e.YNc(1,Qs,2,0,"div",26),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.f.username.errors.required)}}function X0(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Password is required"),e.qZA())}function e3(a,c){if(1&a&&(e.TgZ(0,"div",25),e.YNc(1,X0,2,0,"div",26),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.f.password.errors.required)}}const jc=function(a){return{"is-invalid":a}};let v2=(()=>{class a{constructor(n,u,v,E,fe,Ve){this.authenticateApiService=n,this.router=u,this.notification=v,this.tokenService=E,this.formBuilder=fe,this.spinner=Ve,this.submitted=!1,this.authenticateRequestModel={}}ngOnInit(){this.form=this.formBuilder.group({username:["",[ut.kI.required]],password:["",[ut.kI.required]]})}onSubmit(){this.submitted=!0,!this.form.invalid&&(this.spinner.show(),this.authenticateRequestModel.username=this.form.get("username").value,this.authenticateRequestModel.password=this.form.get("password").value,this.authenticateApiService.Authenticate(this.authenticateRequestModel).subscribe(n=>{0==n.success?(this.spinner.hide(),this.showNotification(n.errorMessage,n.success)):(this.spinner.hide(),this.tokenService.setAccessToken(n.accessToken),this.tokenService.setUser(JSON.stringify(n.user)),this.tokenService.setPermissions(n.permissionNames),this.tokenService.setBranch(JSON.stringify(n.branch)),this.tokenService.setRoles(n.roles),this.router.navigateByUrl("/dashboard"))}))}get f(){return this.form.controls}showNotification(n,u){!0===u?this.notification.success(n,""):this.notification.error(n,"")}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(K0),e.Y36(y.F0),e.Y36(yl.zb),e.Y36(yc.B),e.Y36(ut.QS),e.Y36(fa.t2))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-dashboard"]],decls:35,vars:10,consts:[[1,"app-body","login-background-Image"],["bdColor","rgba(0, 0, 0, 0.8)","size","medium","color","#fff","type","square-jelly-box",3,"fullScreen"],[2,"color","white"],[1,"main","d-flex","align-items-center"],[1,"container"],[1,"row"],[1,"col-md-8","mx-auto"],[1,"row",2,"margin-bottom","50px"],[1,"card-group"],[1,"card","p-4"],[1,"card-body"],[3,"formGroup"],[1,"text-muted"],[1,"input-group","mb-3"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"icon-user"],["type","text","placeholder","Username","formControlName","username",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],[1,"input-group","mb-4"],[1,"icon-lock"],["type","password","placeholder","Password","formControlName","password","autocomplete","off",1,"form-control",3,"ngClass"],[1,"col-6"],[1,"col-6","text-right"],["type","submit",1,"btn","btn-primary","px-4",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0)(1,"ngx-spinner",1)(2,"p",2)(3,"strong"),e._uU(4," Loading... "),e.qZA()()(),e.TgZ(5,"main",3)(6,"div",4)(7,"div",5)(8,"div",6),e._UZ(9,"div",7),e.TgZ(10,"div",8)(11,"div",9)(12,"div",10)(13,"form",11)(14,"h1"),e._uU(15,"Login"),e.qZA(),e.TgZ(16,"p",12),e._uU(17,"Sign In to your account"),e.qZA(),e.TgZ(18,"div",13)(19,"div",14)(20,"span",15),e._UZ(21,"i",16),e.qZA()(),e._UZ(22,"input",17),e.YNc(23,J0,2,1,"div",18),e.qZA(),e.TgZ(24,"div",19)(25,"div",14)(26,"span",15),e._UZ(27,"i",20),e.qZA()(),e._UZ(28,"input",21),e.YNc(29,e3,2,1,"div",18),e.qZA(),e.TgZ(30,"div",5),e._UZ(31,"div",22),e.TgZ(32,"div",23)(33,"button",24),e.NdJ("click",function(){return u.onSubmit()}),e._uU(34,"Login"),e.qZA()()()()()()()()()()()()),2&n&&(e.xp6(1),e.Q6J("fullScreen",!0),e.xp6(12),e.Q6J("formGroup",u.form),e.xp6(9),e.Q6J("ngClass",e.VKq(6,jc,u.submitted&&u.f.username.errors)),e.xp6(1),e.Q6J("ngIf",u.submitted&&u.f.username.errors),e.xp6(5),e.Q6J("ngClass",e.VKq(8,jc,u.submitted&&u.f.password.errors)),e.xp6(1),e.Q6J("ngIf",u.submitted&&u.f.password.errors))},dependencies:[g.mk,g.O5,ut._Y,ut.Fj,ut.JJ,ut.JL,ut.sg,ut.u,fa.Ro],encapsulation:2}),a})();var y2=p(66425),ms=p(37247),_2=p(80013),ar=p(18001);let Cn=(()=>{class a{}return a.ALL_RIDERS="AllRiders",a.LLOP="LLOP",a.LLTP="LLTP",a.WINDSCREEN="WindScreen",a.SPECIAL_PERILS="SpecialPerils",a.ALL_DRIVERS="AllDrivers",a})();var C2=p(39951),t3=p(61762);function Wc(a){var c=String.fromCharCode(a.keyCode);return!!/[a-zA-Z0-9-]/.test(c)||(a.preventDefault(),!1)}var b2=p(40393),n3=p(98188);let lo=(()=>{class a{constructor(n){this.http=n}GetQuotation(n){return this.http.post("/Zurich/GetQuotation",n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(s.eN))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),$c=(()=>{class a{constructor(n){this.http=n}GetQuotation(n){return this.http.post("/Etiqa/GetQuotation",n)}AdditionalCoverage(n){return this.http.post("/Etiqa/AdditionalCoverage",n)}SumInsured(n){return this.http.post("/Etiqa/SumInsured",n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(s.eN))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),M2=(()=>{class a{constructor(n){this.http=n}GetQuotation(n){return this.http.post("/Kurnia/GetQuotation",n)}AddCoverages(n){return this.http.post("/Kurnia/AdditionalCoverage",n)}GetQuickQuote(n){return this.http.post("/Kurnia/GetQuickQuote",n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(s.eN))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Qc=(()=>{class a{constructor(n){this.http=n}GetQuotation(n){return this.http.post("/Chubb/GetQuotation",n)}AdditionalCoverage(n){return this.http.post("/Chubb/AdditionalCoverage",n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(s.eN))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var Rr=p(91856),Ua=p(14132),Al=p(49651),r3=p(83447),o3=p(82515),qc=p(28773),Uo=p(42674),Gc=p(28213),a3=p(42654),qs=p(33303),z2=p(73055);const s3=["processDotTemplate"],S2=["itemContainer"];function x2(a,c){1&a&&e._UZ(0,"div",10)}function l3(a,c){if(1&a&&(e.TgZ(0,"div",13),e._UZ(1,"nz-progress",14),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("nzPercent",n.nzPercentage)("nzWidth","small"===n.nzSize?32:40)("nzFormat",n.nullProcessFormat)("nzStrokeWidth",4)}}function gs(a,c){1&a&&(e.TgZ(0,"span",15),e._UZ(1,"span",16),e.qZA())}function ma(a,c){1&a&&(e.TgZ(0,"span",15),e._UZ(1,"span",17),e.qZA())}function c3(a,c){if(1&a&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.index+1," ")}}function u3(a,c){if(1&a&&(e.ynx(0),e._UZ(1,"span",18),e.BQk()),2&a){const n=c.$implicit,u=e.oxw(3);e.xp6(1),e.Q6J("nzType",!u.oldAPIIcon&&n)("ngClass",u.oldAPIIcon&&n)}}function Mu(a,c){if(1&a&&(e.TgZ(0,"span",15),e.YNc(1,u3,2,2,"ng-container",7),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.nzIcon)}}function zu(a,c){if(1&a&&(e.YNc(0,l3,2,4,"div",11),e.YNc(1,gs,2,0,"span",12),e.YNc(2,ma,2,0,"span",12),e.YNc(3,c3,2,1,"span",12),e.YNc(4,Mu,2,1,"span",12)),2&a){const n=e.oxw();e.Q6J("ngIf",n.showProgress),e.xp6(1),e.Q6J("ngIf","finish"===n.nzStatus&&!n.nzIcon),e.xp6(1),e.Q6J("ngIf","error"===n.nzStatus),e.xp6(1),e.Q6J("ngIf",("process"===n.nzStatus||"wait"===n.nzStatus)&&!n.nzIcon),e.xp6(1),e.Q6J("ngIf",n.nzIcon)}}function w2(a,c){1&a&&e._UZ(0,"span",21)}function Su(a,c){}const na=function(a,c,n){return{$implicit:a,status:c,index:n}};function Kc(a,c){if(1&a&&(e.TgZ(0,"span",15),e.YNc(1,w2,1,0,"ng-template",null,19,e.W1O),e.YNc(3,Su,0,0,"ng-template",20),e.qZA()),2&a){const n=e.MAs(2),u=e.oxw();e.xp6(3),e.Q6J("ngTemplateOutlet",u.customProcessTemplate||n)("ngTemplateOutletContext",e.kEZ(2,na,n,u.nzStatus,u.index))}}function Jc(a,c){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.nzTitle)}}function d3(a,c){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw(2);e.xp6(1),e.Oqu(n.nzSubtitle)}}function T2(a,c){if(1&a&&(e.TgZ(0,"div",22),e.YNc(1,d3,2,1,"ng-container",7),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.nzSubtitle)}}function h3(a,c){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.nzDescription)}}const Gs=["*"];let Xc=(()=>{class a{constructor(n,u,v){this.cdr=n,this.ngZone=u,this.destroy$=v,this.nzDisabled=!1,this.nzPercentage=null,this.nzSize="default",this.isCustomStatus=!1,this._status="wait",this.oldAPIIcon=!0,this.direction="horizontal",this.index=0,this.last=!1,this.outStatus="process",this.showProcessDot=!1,this.clickable=!1,this.clickOutsideAngular$=new Te.xQ,this.nullProcessFormat=()=>null,this._currentIndex=0}get nzStatus(){return this._status}set nzStatus(n){this._status=n,this.isCustomStatus=!0}get nzIcon(){return this._icon}set nzIcon(n){n instanceof e.Rgc||(this.oldAPIIcon="string"==typeof n&&n.indexOf("anticon")>-1),this._icon=n}get showProgress(){return null!==this.nzPercentage&&!this.nzIcon&&"process"===this.nzStatus&&this.nzPercentage>=0&&this.nzPercentage<=100}get currentIndex(){return this._currentIndex}set currentIndex(n){this._currentIndex=n,this.isCustomStatus||(this._status=n>this.index?"finish":n===this.index?this.outStatus||"":"wait")}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,ct.R)(this.itemContainer.nativeElement,"click").pipe((0,ko.h)(()=>this.clickable&&this.currentIndex!==this.index&&!this.nzDisabled),(0,On.R)(this.destroy$)).subscribe(()=>{this.clickOutsideAngular$.next(this.index)}))}enable(){this.nzDisabled=!1,this.cdr.markForCheck()}disable(){this.nzDisabled=!0,this.cdr.markForCheck()}markForCheck(){this.cdr.markForCheck()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(qs.kn))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-step"]],viewQuery:function(n,u){if(1&n&&(e.Gf(s3,5),e.Gf(S2,7)),2&n){let v;e.iGM(v=e.CRH())&&(u.processDotTemplate=v.first),e.iGM(v=e.CRH())&&(u.itemContainer=v.first)}},hostAttrs:[1,"ant-steps-item"],hostVars:16,hostBindings:function(n,u){2&n&&e.ekj("ant-steps-item-wait","wait"===u.nzStatus)("ant-steps-item-process","process"===u.nzStatus)("ant-steps-item-finish","finish"===u.nzStatus)("ant-steps-item-error","error"===u.nzStatus)("ant-steps-item-active",u.currentIndex===u.index)("ant-steps-item-disabled",u.nzDisabled)("ant-steps-item-custom",!!u.nzIcon)("ant-steps-next-error","error"===u.outStatus&&u.currentIndex===u.index+1)},inputs:{nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzDescription:"nzDescription",nzDisabled:"nzDisabled",nzPercentage:"nzPercentage",nzSize:"nzSize",nzStatus:"nzStatus",nzIcon:"nzIcon"},exportAs:["nzStep"],features:[e._Bn([qs.kn])],decls:12,vars:8,consts:[[1,"ant-steps-item-container",3,"tabindex"],["itemContainer",""],["class","ant-steps-item-tail",4,"ngIf"],[1,"ant-steps-item-icon"],[3,"ngIf"],[1,"ant-steps-item-content"],[1,"ant-steps-item-title"],[4,"nzStringTemplateOutlet"],["class","ant-steps-item-subtitle",4,"ngIf"],[1,"ant-steps-item-description"],[1,"ant-steps-item-tail"],["class","ant-steps-progress-icon",4,"ngIf"],["class","ant-steps-icon",4,"ngIf"],[1,"ant-steps-progress-icon"],["nzType","circle",3,"nzPercent","nzWidth","nzFormat","nzStrokeWidth"],[1,"ant-steps-icon"],["nz-icon","","nzType","check"],["nz-icon","","nzType","close"],["nz-icon","",3,"nzType","ngClass"],["processDotTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-steps-icon-dot"],[1,"ant-steps-item-subtitle"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0,1),e.YNc(2,x2,1,0,"div",2),e.TgZ(3,"div",3),e.YNc(4,zu,5,5,"ng-template",4),e.YNc(5,Kc,4,6,"ng-template",4),e.qZA(),e.TgZ(6,"div",5)(7,"div",6),e.YNc(8,Jc,2,1,"ng-container",7),e.YNc(9,T2,2,1,"div",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,h3,2,1,"ng-container",7),e.qZA()()()),2&n&&(e.Q6J("tabindex",u.clickable&&!u.nzDisabled?0:null),e.uIk("role",u.clickable&&!u.nzDisabled?"button":null),e.xp6(2),e.Q6J("ngIf",!0!==u.last),e.xp6(2),e.Q6J("ngIf",!u.showProcessDot),e.xp6(1),e.Q6J("ngIf",u.showProcessDot),e.xp6(3),e.Q6J("nzStringTemplateOutlet",u.nzTitle),e.xp6(1),e.Q6J("ngIf",u.nzSubtitle),e.xp6(2),e.Q6J("nzStringTemplateOutlet",u.nzDescription))},dependencies:[g.mk,g.O5,g.tP,pa.Ls,ha.f,z2.M],encapsulation:2,changeDetection:0}),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"nzDisabled",void 0),a})(),D2=(()=>{class a{constructor(n,u,v,E){this.ngZone=n,this.cdr=u,this.directionality=v,this.destroy$=E,this.nzCurrent=0,this.nzDirection="horizontal",this.nzLabelPlacement="horizontal",this.nzType="default",this.nzSize="default",this.nzStartIndex=0,this.nzStatus="process",this.nzIndexChange=new e.vpe,this.indexChangeSubscription=a3.w.EMPTY,this.showProcessDot=!1,this.showProgress=!1,this.dir="ltr"}set nzProgressDot(n){n instanceof e.Rgc?(this.showProcessDot=!0,this.customProcessDotTemplate=n):this.showProcessDot=(0,bi.sw)(n),this.updateChildrenSteps()}ngOnChanges(n){(n.nzStartIndex||n.nzDirection||n.nzStatus||n.nzCurrent||n.nzSize)&&this.updateChildrenSteps()}ngOnInit(){this.directionality.change?.pipe((0,On.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateChildrenSteps()}ngAfterContentInit(){this.steps&&this.steps.changes.pipe((0,Ec.O)(null),(0,On.R)(this.destroy$)).subscribe(()=>{this.updateHostProgressClass(),this.updateChildrenSteps()})}updateHostProgressClass(){this.steps&&!this.showProcessDot&&(this.showProgress=!!this.steps.toArray().find(n=>null!==n.nzPercentage))}updateChildrenSteps(){if(this.steps){const n=this.steps.length;this.steps.toArray().forEach((u,v)=>{Promise.resolve().then(()=>{u.nzSize=this.nzSize,u.outStatus=this.nzStatus,u.showProcessDot=this.showProcessDot,this.customProcessDotTemplate&&(u.customProcessTemplate=this.customProcessDotTemplate),u.clickable=this.nzIndexChange.observers.length>0,u.direction=this.nzDirection,u.index=v+this.nzStartIndex,u.currentIndex=this.nzCurrent,u.last=n===v+1,u.markForCheck()})}),this.indexChangeSubscription.unsubscribe(),this.indexChangeSubscription=(0,an.T)(...this.steps.map(u=>u.clickOutsideAngular$)).pipe((0,On.R)(this.destroy$)).subscribe(u=>{this.nzIndexChange.observers.length&&this.ngZone.run(()=>this.nzIndexChange.emit(u))})}}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Da.Is,8),e.Y36(qs.kn))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-steps"]],contentQueries:function(n,u,v){if(1&n&&e.Suo(v,Xc,4),2&n){let E;e.iGM(E=e.CRH())&&(u.steps=E)}},hostAttrs:[1,"ant-steps"],hostVars:18,hostBindings:function(n,u){2&n&&e.ekj("ant-steps-horizontal","horizontal"===u.nzDirection)("ant-steps-vertical","vertical"===u.nzDirection)("ant-steps-label-horizontal","horizontal"===u.nzDirection)("ant-steps-label-vertical",(u.showProcessDot||"vertical"===u.nzLabelPlacement)&&"horizontal"===u.nzDirection)("ant-steps-dot",u.showProcessDot)("ant-steps-small","small"===u.nzSize)("ant-steps-navigation","navigation"===u.nzType)("ant-steps-rtl","rtl"===u.dir)("ant-steps-with-progress",u.showProgress)},inputs:{nzCurrent:"nzCurrent",nzDirection:"nzDirection",nzLabelPlacement:"nzLabelPlacement",nzType:"nzType",nzSize:"nzSize",nzStartIndex:"nzStartIndex",nzStatus:"nzStatus",nzProgressDot:"nzProgressDot"},outputs:{nzIndexChange:"nzIndexChange"},exportAs:["nzSteps"],features:[e._Bn([qs.kn]),e.TTD],ngContentSelectors:Gs,decls:1,vars:0,template:function(n,u){1&n&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),a})(),e1=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[Da.vT,g.ez,pa.PV,ha.T,z2.W]}),a})();var El=p(51971),vs=p(59054),Pl=p(48521),ja=p(37096),kl=p(5259),t1=p(32539),ys=p(37570),Ol=p(51691);function p3(a,c){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw(3);e.xp6(1),e.Oqu(n.nzTitle)}}function f3(a,c){if(1&a&&(e.TgZ(0,"div",10),e.YNc(1,p3,2,1,"ng-container",9),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.nzTitle)}}function m3(a,c){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw(2);e.xp6(1),e.Oqu(n.nzContent)}}function g3(a,c){if(1&a&&(e.TgZ(0,"div",2)(1,"div",3)(2,"div",4),e._UZ(3,"span",5),e.qZA(),e.TgZ(4,"div",6)(5,"div"),e.YNc(6,f3,2,1,"div",7),e.TgZ(7,"div",8),e.YNc(8,m3,2,1,"ng-container",9),e.qZA()()()()()),2&a){const n=e.oxw();e.ekj("ant-popover-rtl","rtl"===n.dir),e.Q6J("ngClass",n._classMap)("ngStyle",n.nzOverlayStyle)("@.disabled",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("nzNoAnimation",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),e.xp6(6),e.Q6J("ngIf",n.nzTitle),e.xp6(2),e.Q6J("nzStringTemplateOutlet",n.nzContent)}}let y3=(()=>{class a extends ys.Mg{constructor(n,u,v,E,fe,Ve){super(n,u,v,E,fe,Ve),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new e.vpe,this.componentRef=this.hostView.createComponent(A2)}getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(e._Vd),e.Y36(e.Qsj),e.Y36(hs.P,9),e.Y36(Ys.jY))},a.\u0275dir=e.lG2({type:a,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(n,u){2&n&&e.ekj("ant-popover-open",u.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[e.qOj]}),(0,Lr.gn)([(0,bi.yF)()],a.prototype,"arrowPointAtCenter",void 0),(0,Lr.gn)([(0,Ys.oS)()],a.prototype,"nzPopoverBackdrop",void 0),a})(),A2=(()=>{class a extends ys.XK{constructor(n,u,v){super(n,u,v),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,ys.pu)(this.nzTitle)&&(0,ys.pu)(this.nzContent)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.sBO),e.Y36(Da.Is,8),e.Y36(hs.P,9))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[e.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(n,u){1&n&&(e.YNc(0,g3,9,9,"ng-template",0,1,e.W1O),e.NdJ("overlayOutsideClick",function(E){return u.onClickOutside(E)})("detach",function(){return u.hide()})("positionChange",function(E){return u.onPositionChange(E)})),2&n&&e.Q6J("cdkConnectedOverlayHasBackdrop",u.hasBackdrop)("cdkConnectedOverlayOrigin",u.origin)("cdkConnectedOverlayPositions",u._positions)("cdkConnectedOverlayOpen",u._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",u.nzArrowPointAtCenter)},dependencies:[g.mk,g.O5,g.PC,da.pI,ha.f,Ol.hQ,hs.P],encapsulation:2,data:{animation:[t1.$C]},changeDetection:0}),a})(),n1=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[Da.vT,g.ez,da.U8,ha.T,Ol.e4,hs.g,ys.cg]}),a})();var Il=p(21094),Wa=p(38231);function _3(a,c){1&a&&(e.TgZ(0,"div",20)(1,"label",21)(2,"a",22),e._uU(3,"Dashboard"),e.qZA()()())}function C3(a,c){if(1&a&&(e.TgZ(0,"div"),e._UZ(1,"br"),e.TgZ(2,"strong"),e._uU(3),e.qZA()()),2&a){const n=e.oxw();e.xp6(3),e.hij(" ",n.mobileStepTitle,"")}}function E2(a,c){1&a&&(e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Bypass ISM"),e.qZA()(),e.TgZ(4,"div",29)(5,"nz-select",53),e._UZ(6,"nz-option",54)(7,"nz-option",55),e.qZA()()()),2&a&&(e.xp6(5),e.Q6J("nzShowArrow",!0))}function P2(a,c){1&a&&(e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Source"),e.qZA()(),e.TgZ(4,"div",29)(5,"nz-select",56),e._UZ(6,"nz-option",57)(7,"nz-option",58)(8,"nz-option",59),e.qZA()()()),2&a&&(e.xp6(5),e.Q6J("nzShowArrow",!0))}function $a(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Registration no is required"),e.qZA())}function k2(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,$a,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.vehicleNo.errors.required)}}function O2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Gender is required"),e.qZA())}function b3(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,O2,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.f.gender.errors.required)}}const qr=function(a){return{"is-invalid":a}};function Hl(a,c){if(1&a&&(e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Gender"),e.qZA()(),e.TgZ(4,"div",29)(5,"select",61)(6,"option",62),e._uU(7,"Male"),e.qZA(),e.TgZ(8,"option",63),e._uU(9,"Female"),e.qZA()(),e.YNc(10,b3,2,1,"div",35),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(2,qr,n.submitted&&n.f.gender.errors)),e.xp6(5),e.Q6J("ngIf",n.submitted&&n.f.gender.errors)}}function M3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Company ID Type"),e.qZA()(),e.TgZ(4,"div",29)(5,"select",64),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.companyIdtypeOnChange(v))}),e.TgZ(6,"option",65),e._uU(7,"Old Company Registration No"),e.qZA(),e.TgZ(8,"option",66),e._uU(9,"New Company Registration No"),e.qZA()()()()}}function I2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Id is required"),e.qZA())}function H2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid format"),e.qZA())}function V2(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,I2,2,0,"div",17),e.YNc(2,H2,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.id.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.id.errors.mask)}}function r1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",19)(1,"button",67),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.SearchCustomer())}),e._uU(2,"Search Customer"),e.qZA(),e._UZ(3,"br")(4,"br"),e.qZA()}}function N2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Date of birth is required"),e.qZA())}function Vl(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,N2,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.f.dob.errors.required)}}function Nl(a,c){if(1&a&&(e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Date Of Birth"),e.TgZ(4,"span",33),e._uU(5,"*"),e.qZA()()(),e.TgZ(6,"div",29),e._UZ(7,"nz-date-picker",68),e.YNc(8,Vl,2,1,"div",35),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("nzDisabledDate",n.disabledEndDate)("ngClass",e.VKq(3,qr,n.submitted&&n.f.dob.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.dob.errors)}}function L2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Nationality is required"),e.qZA())}function o1(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,L2,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.f.nationality.errors.required)}}function R2(a,c){if(1&a&&(e.TgZ(0,"div",27)(1,"label",28)(2,"div"),e._uU(3,"Nationality"),e.TgZ(4,"span",33),e._uU(5,"*"),e.qZA()()(),e.TgZ(6,"div",29)(7,"nz-select",69),e._UZ(8,"nz-option",70)(9,"nz-option",71)(10,"nz-option",72)(11,"nz-option",73)(12,"nz-option",74)(13,"nz-option",75)(14,"nz-option",76)(15,"nz-option",77)(16,"nz-option",78)(17,"nz-option",79)(18,"nz-option",80)(19,"nz-option",81)(20,"nz-option",82)(21,"nz-option",83)(22,"nz-option",84)(23,"nz-option",85)(24,"nz-option",86)(25,"nz-option",87)(26,"nz-option",88)(27,"nz-option",89)(28,"nz-option",90)(29,"nz-option",91)(30,"nz-option",92)(31,"nz-option",93)(32,"nz-option",94)(33,"nz-option",95)(34,"nz-option",96)(35,"nz-option",97)(36,"nz-option",98)(37,"nz-option",99)(38,"nz-option",100)(39,"nz-option",101)(40,"nz-option",102)(41,"nz-option",103)(42,"nz-option",104)(43,"nz-option",105)(44,"nz-option",106)(45,"nz-option",107)(46,"nz-option",108)(47,"nz-option",109)(48,"nz-option",110)(49,"nz-option",111)(50,"nz-option",112)(51,"nz-option",113)(52,"nz-option",114)(53,"nz-option",115)(54,"nz-option",116)(55,"nz-option",117)(56,"nz-option",118)(57,"nz-option",119)(58,"nz-option",120)(59,"nz-option",121)(60,"nz-option",122)(61,"nz-option",123)(62,"nz-option",124)(63,"nz-option",125)(64,"nz-option",126)(65,"nz-option",127)(66,"nz-option",128)(67,"nz-option",129)(68,"nz-option",130)(69,"nz-option",131)(70,"nz-option",132)(71,"nz-option",133)(72,"nz-option",134)(73,"nz-option",135)(74,"nz-option",136)(75,"nz-option",137)(76,"nz-option",138)(77,"nz-option",139)(78,"nz-option",140)(79,"nz-option",141)(80,"nz-option",142)(81,"nz-option",143)(82,"nz-option",144)(83,"nz-option",145)(84,"nz-option",146)(85,"nz-option",147)(86,"nz-option",148)(87,"nz-option",149)(88,"nz-option",150)(89,"nz-option",151)(90,"nz-option",152)(91,"nz-option",153)(92,"nz-option",154)(93,"nz-option",155)(94,"nz-option",156)(95,"nz-option",157)(96,"nz-option",158)(97,"nz-option",159)(98,"nz-option",160)(99,"nz-option",161)(100,"nz-option",162)(101,"nz-option",163)(102,"nz-option",164)(103,"nz-option",165)(104,"nz-option",166)(105,"nz-option",167)(106,"nz-option",168)(107,"nz-option",169)(108,"nz-option",170)(109,"nz-option",171)(110,"nz-option",172)(111,"nz-option",173)(112,"nz-option",174)(113,"nz-option",175)(114,"nz-option",176)(115,"nz-option",177)(116,"nz-option",178)(117,"nz-option",179)(118,"nz-option",180)(119,"nz-option",181)(120,"nz-option",182)(121,"nz-option",183)(122,"nz-option",184)(123,"nz-option",185)(124,"nz-option",186)(125,"nz-option",187)(126,"nz-option",188)(127,"nz-option",189)(128,"nz-option",190)(129,"nz-option",191)(130,"nz-option",192)(131,"nz-option",193)(132,"nz-option",194)(133,"nz-option",195)(134,"nz-option",196)(135,"nz-option",197)(136,"nz-option",198)(137,"nz-option",199)(138,"nz-option",200)(139,"nz-option",201)(140,"nz-option",202)(141,"nz-option",203)(142,"nz-option",204)(143,"nz-option",205)(144,"nz-option",206)(145,"nz-option",207)(146,"nz-option",208)(147,"nz-option",209)(148,"nz-option",210)(149,"nz-option",211)(150,"nz-option",212)(151,"nz-option",213)(152,"nz-option",214)(153,"nz-option",215)(154,"nz-option",216)(155,"nz-option",217)(156,"nz-option",218)(157,"nz-option",219)(158,"nz-option",220)(159,"nz-option",221)(160,"nz-option",222)(161,"nz-option",223)(162,"nz-option",224)(163,"nz-option",225)(164,"nz-option",226)(165,"nz-option",227)(166,"nz-option",228)(167,"nz-option",229)(168,"nz-option",230)(169,"nz-option",231)(170,"nz-option",232)(171,"nz-option",233)(172,"nz-option",234)(173,"nz-option",235)(174,"nz-option",236)(175,"nz-option",237)(176,"nz-option",238)(177,"nz-option",239)(178,"nz-option",240)(179,"nz-option",241)(180,"nz-option",242)(181,"nz-option",243)(182,"nz-option",244)(183,"nz-option",245)(184,"nz-option",246)(185,"nz-option",247)(186,"nz-option",248)(187,"nz-option",249)(188,"nz-option",250)(189,"nz-option",251)(190,"nz-option",252)(191,"nz-option",253)(192,"nz-option",254)(193,"nz-option",255)(194,"nz-option",256)(195,"nz-option",257)(196,"nz-option",258)(197,"nz-option",259)(198,"nz-option",260)(199,"nz-option",261)(200,"nz-option",262)(201,"nz-option",263)(202,"nz-option",264)(203,"nz-option",265)(204,"nz-option",266)(205,"nz-option",267)(206,"nz-option",268)(207,"nz-option",269)(208,"nz-option",270)(209,"nz-option",271)(210,"nz-option",272)(211,"nz-option",273)(212,"nz-option",274)(213,"nz-option",275)(214,"nz-option",276)(215,"nz-option",277)(216,"nz-option",278)(217,"nz-option",279)(218,"nz-option",280)(219,"nz-option",281)(220,"nz-option",282)(221,"nz-option",283)(222,"nz-option",284)(223,"nz-option",285)(224,"nz-option",286)(225,"nz-option",287)(226,"nz-option",288)(227,"nz-option",289)(228,"nz-option",290)(229,"nz-option",291)(230,"nz-option",292)(231,"nz-option",293)(232,"nz-option",294)(233,"nz-option",295)(234,"nz-option",296)(235,"nz-option",297)(236,"nz-option",298)(237,"nz-option",299)(238,"nz-option",300)(239,"nz-option",301)(240,"nz-option",302)(241,"nz-option",303)(242,"nz-option",304)(243,"nz-option",305)(244,"nz-option",306)(245,"nz-option",307)(246,"nz-option",308)(247,"nz-option",309)(248,"nz-option",310)(249,"nz-option",311)(250,"nz-option",312)(251,"nz-option",313)(252,"nz-option",314)(253,"nz-option",315)(254,"nz-option",316)(255,"nz-option",317)(256,"nz-option",318)(257,"nz-option",319)(258,"nz-option",320)(259,"nz-option",321)(260,"nz-option",322)(261,"nz-option",323)(262,"nz-option",324)(263,"nz-option",325)(264,"nz-option",326)(265,"nz-option",327)(266,"nz-option",328)(267,"nz-option",329)(268,"nz-option",330)(269,"nz-option",331)(270,"nz-option",332)(271,"nz-option",333)(272,"nz-option",334)(273,"nz-option",335)(274,"nz-option",336)(275,"nz-option",337)(276,"nz-option",338)(277,"nz-option",339)(278,"nz-option",340)(279,"nz-option",341)(280,"nz-option",342)(281,"nz-option",343)(282,"nz-option",344)(283,"nz-option",345),e.qZA(),e.YNc(284,o1,2,1,"div",35),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("ngClass",e.VKq(2,qr,n.submitted&&n.f.nationality.errors)),e.xp6(277),e.Q6J("ngIf",n.submitted&&n.f.nationality.errors)}}function a1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid postcode"),e.qZA())}function Ks(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,a1,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==n.f.postcode.errors?null:n.f.postcode.errors.invalidPostCode)}}function z3(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Postcode is required"),e.qZA())}function F2(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,z3,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.postcode.errors.required)}}function S3(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function x3(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Contact no should be 8 digits"),e.qZA())}function B2(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,S3,2,0,"div",17),e.YNc(2,x3,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.contactNo.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.contactNo.errors.contactNoInvalidLength)}}function s1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Email is required"),e.qZA())}function Z2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid Email"),e.qZA())}function w3(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,s1,2,0,"div",17),e.YNc(2,Z2,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.email.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.email.errors.email)}}function Y2(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",23)(1,"div",24)(2,"form",25),e.YNc(3,E2,8,1,"div",26),e.YNc(4,P2,9,1,"div",26),e.TgZ(5,"div",27)(6,"label",28)(7,"div"),e._uU(8,"Vehicle Type"),e.qZA()(),e.TgZ(9,"div",29)(10,"select",30)(11,"option",31),e._uU(12,"Car"),e.qZA(),e.TgZ(13,"option",32),e._uU(14,"Motorcycle"),e.qZA()()()(),e.TgZ(15,"div",27)(16,"label",28)(17,"div"),e._uU(18,"Registration No"),e.TgZ(19,"span",33),e._uU(20,"*"),e.qZA()()(),e.TgZ(21,"div",29)(22,"input",34),e.NdJ("keypress",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.keyPressAlphaNumeric(v))}),e.qZA(),e.YNc(23,k2,2,1,"div",35),e.qZA()(),e.TgZ(24,"div",27)(25,"label",28)(26,"div"),e._uU(27,"ID Type"),e.qZA()(),e.TgZ(28,"div",29)(29,"select",36),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.idtypeOnChange(v.target.value))}),e.TgZ(30,"option",37),e._uU(31,"NRIC / MyKad"),e.qZA(),e.TgZ(32,"option",38),e._uU(33,"Passport"),e.qZA(),e.TgZ(34,"option",39),e._uU(35,"Army"),e.qZA(),e.TgZ(36,"option",40),e._uU(37,"Police"),e.qZA(),e.TgZ(38,"option",41),e._uU(39,"Company"),e.qZA()()()(),e.YNc(40,Hl,11,4,"div",26),e.YNc(41,M3,10,0,"div",26),e.TgZ(42,"div",27)(43,"label",28)(44,"div"),e._uU(45,"ID"),e.TgZ(46,"span",33),e._uU(47,"*"),e.qZA()()(),e.TgZ(48,"div",29)(49,"input",42),e.NdJ("keypress",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.keyPressAlphaNumeric(v))}),e.qZA(),e.TgZ(50,"label",43),e._uU(51,"(Key in owner name as per registration\xa0card)"),e.qZA(),e.YNc(52,V2,3,2,"div",35),e.qZA()(),e.YNc(53,r1,5,0,"div",44),e.YNc(54,Nl,9,5,"div",26),e.YNc(55,R2,285,4,"div",26),e.TgZ(56,"div",27)(57,"label",28)(58,"div"),e._uU(59,"Postcode"),e.TgZ(60,"span",33),e._uU(61,"*"),e.qZA()()(),e.TgZ(62,"div",29),e._UZ(63,"input",45),e.YNc(64,Ks,2,1,"div",35),e.YNc(65,F2,2,1,"div",35),e.qZA()(),e.TgZ(66,"div",27)(67,"label",28)(68,"div"),e._uU(69,"Mobile Number"),e.TgZ(70,"span",33),e._uU(71,"*"),e.qZA()()(),e.TgZ(72,"div",29),e._UZ(73,"input",46),e.YNc(74,B2,3,2,"div",35),e.qZA()(),e.TgZ(75,"div",27)(76,"label",28)(77,"div"),e._uU(78,"Email"),e.TgZ(79,"span",33),e._uU(80,"*"),e.qZA()()(),e.TgZ(81,"div",29),e._UZ(82,"input",47),e.YNc(83,w3,3,2,"div",35),e.qZA()()(),e.TgZ(84,"div",19)(85,"button",48),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.onSubmit(!0,!0))}),e.TgZ(86,"strong"),e._uU(87,"Next"),e.qZA()()(),e._UZ(88,"br"),e.TgZ(89,"p",49),e._uU(90,"By clicking \u201cNext\u201d, you have read and agree to our "),e.TgZ(91,"a",50),e._uU(92,"Privacy Policy"),e.qZA(),e._uU(93,". This site is protected by reCAPTCHA and the Google "),e.TgZ(94,"a",51),e._uU(95,"Privacy Policy"),e.qZA(),e._uU(96," and "),e.TgZ(97,"a",52),e._uU(98,"Terms of Service"),e.qZA(),e._uU(99," apply."),e.qZA()()()}if(2&a){const n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.form),e.xp6(1),e.Q6J("ngIf",n.isLoginAsAdmin()),e.xp6(1),e.Q6J("ngIf",n.isLoginAsAdmin()),e.xp6(18),e.Q6J("ngClass",e.VKq(22,qr,n.submitted&&n.f.vehicleNo.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.vehicleNo.errors),e.xp6(17),e.Q6J("ngIf",!n.isCompanySelected()&&!n.isNricSelected()),e.xp6(1),e.Q6J("ngIf",n.isCompanySelected()),e.xp6(8),e.s9C("mask",n.idMask),e.s9C("placeholder",n.idTextBoxPlaceHolder),e.Q6J("dropSpecialCharacters",n.dropSpecialCharacters)("ngClass",e.VKq(24,qr,n.submitted&&n.f.id.errors)),e.xp6(3),e.Q6J("ngIf",n.submitted&&n.f.id.errors),e.xp6(1),e.Q6J("ngIf",null!=(null==n.currentUser?null:n.currentUser.name)),e.xp6(1),e.Q6J("ngIf",n.hideDob),e.xp6(1),e.Q6J("ngIf",n.isPassportSelected()),e.xp6(8),e.Q6J("ngClass",e.VKq(26,qr,n.submitted&&n.f.postcode.errors||(null==n.f.postcode.errors?null:n.f.postcode.errors.invalidPostCode))),e.xp6(1),e.Q6J("ngIf",n.f.postcode.errors),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.postcode.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(28,qr,n.submitted&&n.f.contactNo.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.contactNo.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(30,qr,n.submitted&&n.f.email.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.email.errors)}}function T3(a,c){1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"By purchasing this policy with us, the following insurance services are also provided"),e.qZA(),e._UZ(3,"br"),e._uU(4," - Asist on claims and refunds"),e._UZ(5,"br"),e._uU(6," - Provide any further advice on product information"),e._UZ(7,"br"),e._uU(8," - Response to any queries or complaints"),e._UZ(9,"br"),e._uU(10," - Asist to check and resolve NCD Related issues for motor policy holders "),e._UZ(11,"br"),e.qZA())}function U2(a,c){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.xp6(1),e.Oqu(n)}}function D3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",349)(1,"div",12)(2,"div",13)(3,"Strong"),e._uU(4,"Comprehensive Coverage"),e.qZA()(),e.TgZ(5,"div",14)(6,"div",19),e._UZ(7,"img",350),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"div",6)(10,"div",351)(11,"div",352)(12,"small",353),e._uU(13,"Sum Insured"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"strong",354),e._uU(16),e.ALo(17,"currency"),e.qZA()(),e.TgZ(18,"div",355)(19,"small",353),e._uU(20,"Basic Premium"),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"strong",356)(23,"s"),e._uU(24),e.ALo(25,"currency"),e.qZA(),e.TgZ(26,"label",357),e._uU(27),e.qZA()(),e._UZ(28,"br"),e.TgZ(29,"strong",354),e._uU(30),e.ALo(31,"currency"),e.qZA()()()(),e._UZ(32,"br"),e.TgZ(33,"nz-collapse",358)(34,"nz-collapse-panel",359)(35,"div",360),e.YNc(36,U2,2,1,"p",361),e.qZA()()(),e._UZ(37,"br"),e.TgZ(38,"p",49),e._uU(39," This product is underwritten by Zurich General Insurance Malaysia Berhad. 'BMS' is the authorized distributor of Zurich General Insurance Malaysia Berhad. "),e.qZA(),e.TgZ(40,"p",49),e._uU(41,"The benefit(s) payable under this product is (are) protected by PIDM up to limits. For more information, please refer to PIDM's Takaful and Insurance Benefits Protection System brochure on "),e.TgZ(42,"a",362),e._uU(43,"Zurich General Insurance Berhad"),e.qZA(),e._uU(44," website or "),e.TgZ(45,"a",363),e._uU(46,"PIDM's"),e.qZA(),e._uU(47," website. "),e.qZA(),e._UZ(48,"div",364),e.TgZ(49,"div",6)(50,"button",365),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.next("ZURICH"))}),e.TgZ(51,"strong",366),e._uU(52,"Gross Premium"),e.qZA(),e._UZ(53,"br"),e.TgZ(54,"strong",354),e._uU(55),e.ALo(56,"currency"),e.qZA(),e._UZ(57,"br"),e.TgZ(58,"strong",366),e._uU(59,"I WANT THIS!"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(16),e.Oqu(e.gM2(17,6,null==n.quotationResponseModel.zurich||null==n.quotationResponseModel.zurich.suggestedPremium?null:n.quotationResponseModel.zurich.suggestedPremium.sumInsured,"RM ","symbol","1.0")),e.xp6(8),e.Oqu(e.gM2(25,11,null==n.quotationResponseModel.zurich||null==n.quotationResponseModel.zurich.suggestedPremium?null:n.quotationResponseModel.zurich.suggestedPremium.basicPremium,"RM ","symbol","1.2-2")),e.xp6(3),e.hij("(",-n.ncdPerc,"% NCD)"),e.xp6(3),e.Oqu(e.gM2(31,16,null==n.quotationResponseModel.zurich||null==n.quotationResponseModel.zurich.suggestedPremium?null:n.quotationResponseModel.zurich.suggestedPremium.grossPremium,"RM ","symbol","1.2-2")),e.xp6(6),e.Q6J("ngForOf",n.quotationResponseModel.zurich.benefits),e.xp6(19),e.Oqu(e.gM2(56,21,null==n.quotationResponseModel.zurich||null==n.quotationResponseModel.zurich.suggestedPremium?null:n.quotationResponseModel.zurich.suggestedPremium.grossPremium,"RM ","symbol","1.2-2"))}}function A3(a,c){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.xp6(1),e.Oqu(n)}}function jo(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",349)(1,"div",12)(2,"div",13)(3,"Strong"),e._uU(4,"Comprehensive Coverage"),e.qZA()(),e.TgZ(5,"div",14)(6,"div",19),e._UZ(7,"img",367),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"div",6)(10,"div",351)(11,"div",352)(12,"small",353),e._uU(13,"Sum Insured"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"strong",354),e._uU(16),e.ALo(17,"currency"),e.qZA()(),e.TgZ(18,"div",355)(19,"small",353),e._uU(20,"Basic Premium"),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"strong",356)(23,"s"),e._uU(24),e.ALo(25,"currency"),e.qZA(),e.TgZ(26,"label",357),e._uU(27),e.qZA()(),e._UZ(28,"br"),e.TgZ(29,"strong",354),e._uU(30),e.ALo(31,"currency"),e.qZA()()()(),e.TgZ(32,"nz-collapse",358)(33,"nz-collapse-panel",359)(34,"div",360),e.YNc(35,A3,2,1,"p",361),e.qZA()()(),e._UZ(36,"br"),e.TgZ(37,"p",49),e._uU(38,"\u2018BMS\u2019 is an authorized distributor of Etiqa General Insurance Berhad"),e.qZA(),e.TgZ(39,"p",49),e._uU(40,"The benefit(s) payable under this product is (are) protected by PIDM up to limits. For more information, please refer to PIDM's Takaful and Insurance Benefits Protection System brochure on "),e.TgZ(41,"a",368),e._uU(42,"Etiqa General Insurance Berhad"),e.qZA(),e._uU(43," website or "),e.TgZ(44,"a",363),e._uU(45,"PIDM's"),e.qZA(),e._uU(46," website. "),e.qZA(),e.TgZ(47,"div",6)(48,"button",365),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.next("ETIQA"))}),e.TgZ(49,"strong",366),e._uU(50,"Gross Premium"),e.qZA(),e._UZ(51,"br"),e.TgZ(52,"strong",354),e._uU(53),e.ALo(54,"currency"),e.qZA(),e._UZ(55,"br"),e.TgZ(56,"strong",366),e._uU(57,"I WANT THIS!"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(16),e.Oqu(e.gM2(17,6,null==n.quotationResponseModel.etiqa||null==n.quotationResponseModel.etiqa.suggestedPremium?null:n.quotationResponseModel.etiqa.suggestedPremium.sumInsured,"RM ","symbol","1.0")),e.xp6(8),e.Oqu(e.gM2(25,11,null==n.quotationResponseModel.etiqa||null==n.quotationResponseModel.etiqa.suggestedPremium?null:n.quotationResponseModel.etiqa.suggestedPremium.basicPremium,"RM ","symbol","1.2-2")),e.xp6(3),e.hij("(",-n.ncdPerc,"% NCD)"),e.xp6(3),e.Oqu(e.gM2(31,16,null==n.quotationResponseModel.etiqa||null==n.quotationResponseModel.etiqa.suggestedPremium?null:n.quotationResponseModel.etiqa.suggestedPremium.grossPremium,"RM ","symbol","1.2-2")),e.xp6(5),e.Q6J("ngForOf",n.quotationResponseModel.etiqa.benefits),e.xp6(18),e.Oqu(e.gM2(54,21,null==n.quotationResponseModel.etiqa||null==n.quotationResponseModel.etiqa.suggestedPremium?null:n.quotationResponseModel.etiqa.suggestedPremium.grossPremium,"RM ","symbol","1.2-2"))}}function E3(a,c){if(1&a&&(e.TgZ(0,"div",352)(1,"small",353),e._uU(2,"Sum Insured"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"strong",354),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(5),e.Oqu(e.gM2(6,1,null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.suggestedPremium?null:n.quotationResponseModel.generali.suggestedPremium.sumInsured,"RM ","symbol","1.0"))}}function j2(a,c){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.xp6(1),e.Oqu(n)}}function P3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",349)(1,"div",12)(2,"div",13)(3,"Strong"),e._uU(4),e.qZA()(),e.TgZ(5,"div",14)(6,"div",19),e._UZ(7,"img",369),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"div",6)(10,"div",351),e.YNc(11,E3,7,6,"div",370),e.TgZ(12,"div",355)(13,"small",353),e._uU(14,"Basic Premium"),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"strong",356)(17,"s"),e._uU(18),e.ALo(19,"currency"),e.qZA(),e.TgZ(20,"label",357),e._uU(21),e.qZA()(),e._UZ(22,"br"),e.TgZ(23,"strong",354),e._uU(24),e.ALo(25,"currency"),e.qZA()()()(),e._UZ(26,"br"),e.TgZ(27,"nz-collapse",358)(28,"nz-collapse-panel",359)(29,"div",360),e.YNc(30,j2,2,1,"p",361),e.qZA()()(),e._UZ(31,"br"),e.TgZ(32,"p",49),e._uU(33," This policy is underwritten by Generali Insurance Malaysia Berhad. 'BMS' has been appointed by Generali Insurance Malaysia Berhad to act as an agent. For any claims assistance, complaints or product information, please contact us at "),e.TgZ(34,"a",371),e._uU(35,'60174372270"'),e.qZA()(),e._UZ(36,"div",372),e.TgZ(37,"div",6)(38,"button",365),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.next("GENERALI"))}),e.TgZ(39,"strong",366),e._uU(40,"Gross Premium"),e.qZA(),e._UZ(41,"br"),e.TgZ(42,"strong",354),e._uU(43),e.ALo(44,"currency"),e.qZA(),e._UZ(45,"br"),e.TgZ(46,"strong",366),e._uU(47,"I WANT THIS!"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(4),e.hij("",n.generaliPlanName," Coverage"),e.xp6(7),e.Q6J("ngIf",n.isCarSelected()),e.xp6(7),e.Oqu(e.gM2(19,7,null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.suggestedPremium?null:n.quotationResponseModel.generali.suggestedPremium.basicPremium,"RM ","symbol","1.2-2")),e.xp6(3),e.hij("(",-(null==n.quotationResponseModel.generali?null:n.quotationResponseModel.generali.suggestedPremium.ncdPerc),"% NCD)"),e.xp6(3),e.Oqu(e.gM2(25,12,null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.suggestedPremium?null:n.quotationResponseModel.generali.suggestedPremium.grossPremium,"RM ","symbol","1.2-2")),e.xp6(6),e.Q6J("ngForOf",n.quotationResponseModel.generali.benefits),e.xp6(13),e.Oqu(e.gM2(44,17,null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.suggestedPremium?null:n.quotationResponseModel.generali.suggestedPremium.grossPremium,"RM ","symbol","1.2-2"))}}function k3(a,c){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.xp6(1),e.Oqu(n)}}function O3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",349)(1,"div",12)(2,"div",13)(3,"Strong"),e._uU(4,"Comprehensive Coverage"),e.qZA()(),e.TgZ(5,"div",14)(6,"div",19),e._UZ(7,"img",373),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"div",6)(10,"div",351)(11,"div",352)(12,"small",353),e._uU(13,"Sum Insured"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"strong",354),e._uU(16),e.ALo(17,"currency"),e.qZA()(),e.TgZ(18,"div",355)(19,"small",353),e._uU(20,"Basic Premium"),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"strong",356)(23,"s"),e._uU(24),e.ALo(25,"currency"),e.qZA(),e.TgZ(26,"label",357),e._uU(27),e.qZA()(),e._UZ(28,"br"),e.TgZ(29,"strong",354),e._uU(30),e.ALo(31,"currency"),e.qZA()()()(),e.TgZ(32,"div",19)(33,"strong",374),e._uU(34,"Free Gift - Inverted umbrella for premium above RM1,000"),e.qZA(),e._UZ(35,"br"),e.qZA(),e.TgZ(36,"nz-collapse",358)(37,"nz-collapse-panel",359)(38,"div",360),e.YNc(39,k3,2,1,"p",361),e.qZA()()(),e._UZ(40,"br"),e.TgZ(41,"p",49),e._uU(42,"Brilliant Management Services (BMS) is an authorized distributor of Liberty General Insurance Berhad"),e.qZA(),e.TgZ(43,"p",49),e._uU(44," The benefit(s) payable under this eligible policy is protected by PIDM up to limits. Please refer to PIDM\u2019s TIPS Brochure or contact Liberty General Insurance Berhad or "),e.TgZ(45,"a",363),e._uU(46,"PIDM"),e.qZA(),e._uU(47,". "),e.qZA(),e._UZ(48,"div",375),e.TgZ(49,"div",6)(50,"button",365),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.next("KURNIA"))}),e.TgZ(51,"strong",366),e._uU(52,"Gross Premium"),e.qZA(),e._UZ(53,"br"),e.TgZ(54,"strong",354),e._uU(55),e.ALo(56,"currency"),e.qZA(),e._UZ(57,"br"),e.TgZ(58,"strong",366),e._uU(59,"I WANT THIS!"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(16),e.Oqu(e.gM2(17,6,null==n.quotationResponseModel.kurnia||null==n.quotationResponseModel.kurnia.suggestedPremium?null:n.quotationResponseModel.kurnia.suggestedPremium.sumInsured,"RM ","symbol","1.0")),e.xp6(8),e.Oqu(e.gM2(25,11,null==n.quotationResponseModel.kurnia||null==n.quotationResponseModel.kurnia.suggestedPremium?null:n.quotationResponseModel.kurnia.suggestedPremium.basicPremium,"RM ","symbol","1.2-2")),e.xp6(3),e.hij("(",-n.ncdPerc,"% NCD)"),e.xp6(3),e.Oqu(e.gM2(31,16,null==n.quotationResponseModel.kurnia||null==n.quotationResponseModel.kurnia.suggestedPremium?null:n.quotationResponseModel.kurnia.suggestedPremium.grossPremium,"RM ","symbol","1.2-2")),e.xp6(9),e.Q6J("ngForOf",n.quotationResponseModel.kurnia.benefits),e.xp6(16),e.Oqu(e.gM2(56,21,null==n.quotationResponseModel.kurnia||null==n.quotationResponseModel.kurnia.suggestedPremium?null:n.quotationResponseModel.kurnia.suggestedPremium.grossPremium,"RM ","symbol","1.2-2"))}}function I3(a,c){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.xp6(1),e.Oqu(n)}}function W2(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",349)(1,"div",12)(2,"div",13)(3,"Strong"),e._uU(4,"Comprehensive Coverage"),e.qZA()(),e.TgZ(5,"div",14)(6,"div",19),e._UZ(7,"img",376),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"div",6)(10,"div",351)(11,"div",352)(12,"small",353),e._uU(13,"Sum Insured"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"strong",354),e._uU(16),e.ALo(17,"currency"),e.qZA()(),e.TgZ(18,"div",355)(19,"small",353),e._uU(20,"Basic Premium"),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"strong",356)(23,"s"),e._uU(24),e.ALo(25,"currency"),e.qZA(),e.TgZ(26,"label",357),e._uU(27),e.qZA()(),e._UZ(28,"br"),e.TgZ(29,"strong",354),e._uU(30),e.ALo(31,"currency"),e.qZA()()()(),e.TgZ(32,"div",19)(33,"strong",374),e._uU(34,"24/7 Unlimited Towing Service"),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"strong",374),e._uU(37,"Free Touch \u2018n Go Cashback. T&C Apply"),e.qZA(),e._UZ(38,"br"),e._uU(39," \u2022 RM30 with premium above RM1,000 "),e.qZA(),e.TgZ(40,"nz-collapse",358)(41,"nz-collapse-panel",359)(42,"div",360),e.YNc(43,I3,2,1,"p",361),e.qZA(),e.TgZ(44,"p",49)(45,"strong"),e._uU(46,"*This is a brief description and is non-exhaustive. The benefits and coverage may change according to the plan you choose in the next page. Please refer to the Policy Wording for the full details of benefits, exclusions, terms & conditions before proceed to make payment."),e.qZA()()()(),e._UZ(47,"br"),e.TgZ(48,"p",49),e._uU(49,"The policy is "),e.TgZ(50,"strong"),e._uU(51,"underwritten by Chubb Insurance Malaysia Berhad"),e.qZA(),e._uU(52,", Registration Number: 197001000564 (\u201cChubb\u201d). Chubb is licensed under the Financial Services Act 2013 and regulated by Bank Negara Malaysia. This policy is "),e.TgZ(53,"strong"),e._uU(54,"distributed by Lim Siew Lin"),e.qZA(),e._uU(55,", a registered agent of Chubb, on the "),e.TgZ(56,"strong"),e._uU(57,"platform owned and operated by Brilliant Management Services (BMS)."),e.qZA()(),e.TgZ(58,"p",49),e._uU(59,"The benefit(s) payable under eligible certificate/policy/product is(are) protected by PIDM up to limits. Please refer to PIDM\u2019s TIPS Brochure or contact "),e.TgZ(60,"a",377),e._uU(61,"Chubb Insurance Malaysia Berhad"),e.qZA(),e._uU(62," or "),e.TgZ(63,"a",363),e._uU(64,"PIDM's"),e.qZA(),e._uU(65," (visit www.pidm.gov.my)."),e.qZA(),e.TgZ(66,"div",6)(67,"button",365),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.next("CHUBB"))}),e.TgZ(68,"strong",366),e._uU(69,"Gross Premium"),e.qZA(),e._UZ(70,"br"),e.TgZ(71,"strong",354),e._uU(72),e.ALo(73,"currency"),e.qZA(),e._UZ(74,"br"),e.TgZ(75,"strong",366),e._uU(76,"I WANT THIS!"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(16),e.Oqu(e.gM2(17,6,null==n.quotationResponseModel.chubb||null==n.quotationResponseModel.chubb.suggestedPremium?null:n.quotationResponseModel.chubb.suggestedPremium.sumInsured,"RM ","symbol","1.0")),e.xp6(8),e.Oqu(e.gM2(25,11,null==n.quotationResponseModel.chubb||null==n.quotationResponseModel.chubb.suggestedPremium?null:n.quotationResponseModel.chubb.suggestedPremium.basicPremium,"RM ","symbol","1.2-2")),e.xp6(3),e.hij("(",-n.ncdPerc,"% NCD)"),e.xp6(3),e.Oqu(e.gM2(31,16,null==n.quotationResponseModel.chubb||null==n.quotationResponseModel.chubb.suggestedPremium?null:n.quotationResponseModel.chubb.suggestedPremium.grossPremium,"RM ","symbol","1.2-2")),e.xp6(13),e.Q6J("ngForOf",n.quotationResponseModel.chubb.benefits),e.xp6(29),e.Oqu(e.gM2(73,21,null==n.quotationResponseModel.chubb||null==n.quotationResponseModel.chubb.suggestedPremium?null:n.quotationResponseModel.chubb.suggestedPremium.grossPremium,"RM ","symbol","1.2-2"))}}function H3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",23)(1,"strong"),e._uU(2," Check our "),e.TgZ(3,"label",346),e._uU(4,"Services "),e.qZA(),e._uU(5," here. "),e.qZA(),e.YNc(6,T3,12,0,"ng-template",null,347,e.W1O),e.TgZ(8,"div",6),e.YNc(9,D3,60,26,"div",348),e.YNc(10,jo,58,26,"div",348),e.YNc(11,P3,48,22,"div",348),e.YNc(12,O3,60,26,"div",348),e.YNc(13,W2,77,26,"div",348),e.qZA(),e.TgZ(14,"div",6)(15,"button",48),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.pre())}),e.TgZ(16,"strong"),e._uU(17,"Back"),e.qZA()()()()}if(2&a){const n=e.MAs(7),u=e.oxw();e.xp6(3),e.Q6J("nzPopoverContent",n),e.xp6(6),e.Q6J("ngIf",null==u.quotationResponseModel.zurich?null:u.quotationResponseModel.zurich.success),e.xp6(1),e.Q6J("ngIf",null==u.quotationResponseModel.etiqa?null:u.quotationResponseModel.etiqa.success),e.xp6(1),e.Q6J("ngIf",null==u.quotationResponseModel.generali?null:u.quotationResponseModel.generali.success),e.xp6(1),e.Q6J("ngIf",null==u.quotationResponseModel.kurnia?null:u.quotationResponseModel.kurnia.success),e.xp6(1),e.Q6J("ngIf",null==u.quotationResponseModel.chubb?null:u.quotationResponseModel.chubb.success)}}function V3(a,c){1&a&&(e.TgZ(0,"div")(1,"div",19)(2,"strong"),e._uU(3,"Underwritten by"),e.qZA(),e._UZ(4,"img",376),e.TgZ(5,"strong"),e._uU(6,"Distributed by Lim Siew Lin"),e.qZA()()())}function N3(a,c){if(1&a&&(e.TgZ(0,"option",399),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.s9C("value",n.code),e.xp6(1),e.hij(" ",n.description," ")}}function Zn(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"select",397),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.selectedProductCode=v)})("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.planOnChange(v))}),e.YNc(1,N3,2,2,"option",398),e.qZA()}if(2&a){const n=e.oxw(3);e.Q6J("ngModel",n.selectedProductCode),e.xp6(1),e.Q6J("ngForOf",n.quotationResponseModel.generali.insurancePlan)}}function $2(a,c){if(1&a&&(e.TgZ(0,"option",399),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.s9C("value",n.code),e.xp6(1),e.hij(" ",n.description," ")}}function Q2(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"select",397),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.selectedProductCode=v)})("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.planOnChange(v))}),e.YNc(1,$2,2,2,"option",398),e.qZA()}if(2&a){const n=e.oxw(3);e.Q6J("ngModel",n.selectedProductCode),e.xp6(1),e.Q6J("ngForOf",n.quotationResponseModel.kurnia.insurancePlan)}}function q2(a,c){if(1&a&&(e.TgZ(0,"option",399),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.s9C("value",n.code),e.xp6(1),e.hij(" ",n.description," ")}}function L3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"select",397),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.selectedProductCode=v)})("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.planOnChange(v))}),e.YNc(1,q2,2,2,"option",398),e.qZA()}if(2&a){const n=e.oxw(3);e.Q6J("ngModel",n.selectedProductCode),e.xp6(1),e.Q6J("ngForOf",n.quotationResponseModel.zurich.insurancePlan)}}function R3(a,c){if(1&a&&(e.TgZ(0,"option",399),e._uU(1),e.qZA()),2&a){const n=c.$implicit;e.s9C("value",n.code),e.xp6(1),e.hij(" ",n.description," ")}}function G2(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"select",397),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.selectedProductCode=v)})("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.planOnChange(v))}),e.YNc(1,R3,2,2,"option",398),e.qZA()}if(2&a){const n=e.oxw(3);e.Q6J("ngModel",n.selectedProductCode),e.xp6(1),e.Q6J("ngForOf",n.quotationResponseModel.chubb.insurancePlan)}}function F3(a,c){if(1&a&&(e.TgZ(0,"div",27)(1,"label",395)(2,"strong"),e._uU(3,"Current Plan: "),e.qZA()(),e.TgZ(4,"div",8),e.YNc(5,Zn,2,2,"select",396),e.YNc(6,Q2,2,2,"select",396),e.YNc(7,L3,2,2,"select",396),e.YNc(8,G2,2,2,"select",396),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.Q6J("ngIf",(null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.insurancePlan?null:n.quotationResponseModel.generali.insurancePlan.length)>0&&n.isGeneraliSelected()),e.xp6(1),e.Q6J("ngIf",(null==n.quotationResponseModel.kurnia||null==n.quotationResponseModel.kurnia.insurancePlan?null:n.quotationResponseModel.kurnia.insurancePlan.length)>0&&n.isKurniaSelected()),e.xp6(1),e.Q6J("ngIf",(null==n.quotationResponseModel.zurich||null==n.quotationResponseModel.zurich.insurancePlan?null:n.quotationResponseModel.zurich.insurancePlan.length)>0&&n.isZurichSelected()),e.xp6(1),e.Q6J("ngIf",(null==n.quotationResponseModel.chubb||null==n.quotationResponseModel.chubb.insurancePlan?null:n.quotationResponseModel.chubb.insurancePlan.length)>0&&n.isChubbSelected())}}function K2(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," Vehicle Type : "),e.TgZ(2,"strong"),e._uU(3,"Saloon"),e.qZA()())}function B3(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," Vehicle Type : "),e.TgZ(2,"strong"),e._uU(3,"Non-Saloon"),e.qZA()())}function Z3(a,c){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,K2,4,0,"div",17),e.YNc(2,B3,4,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf","saloon"==n.vehicleType),e.xp6(1),e.Q6J("ngIf","saloon"!=n.vehicleType)}}function xu(a,c){if(1&a&&(e.TgZ(0,"div",6)(1,"div",8),e._uU(2," Manufacturer Year : "),e.TgZ(3,"strong"),e._uU(4),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(4),e.Oqu(n.verifyVehicleReponseModel.vehicleInfo.manufacturingYear)}}function J2(a,c){if(1&a&&(e.TgZ(0,"div",382)(1,"nz-card",400)(2,"form",25)(3,"div",27)(4,"label",401),e._UZ(5,"nz-input-number",402)(6,"br"),e.TgZ(7,"strong")(8,"em"),e._uU(9),e.ALo(10,"number"),e.ALo(11,"number"),e.qZA()()()()()(),e._UZ(12,"br"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(2),e.Q6J("formGroup",n.vehicleform),e.xp6(3),e.Q6J("nzStep",500)("nzMax",n.maxAgreedValue)("nzMin",n.minAgreedValue)("ngClass",e.VKq(11,qr,n.submitted&&n.vf.sumInsured.errors)),e.xp6(4),e.AsE("Range: RM ",e.lcZ(10,7,n.minAgreedValue)," - RM ",e.lcZ(11,9,n.maxAgreedValue),"")}}function X2(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",409),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.isWindScreenChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onWindScreenChecked(v))}),e.qZA()()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.hij("+",e.gM2(4,3,n.windScreenPremium,"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isWindScreenChecked)("disabled",n.isWindscreenDisabled)}}function Qa(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",382)(1,"nz-card",403)(2,"div",27)(3,"label",404)(4,"div"),e._uU(5,"Sum Insured"),e.qZA()(),e.TgZ(6,"div",8)(7,"form",25)(8,"nz-input-number",405),e.NdJ("ngModelChange",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.onWindScreenSumInsuredChanged())}),e.qZA()()(),e.TgZ(9,"label",401)(10,"strong")(11,"em"),e._uU(12,"Range: RM 500 - RM 100,000"),e.qZA()()()()(),e.YNc(13,X2,7,8,"ng-template",null,406,e.W1O),e._UZ(15,"br"),e.qZA()}if(2&a){const n=e.MAs(14),u=e.oxw(2);e.xp6(1),e.Q6J("nzExtra",n),e.xp6(6),e.Q6J("formGroup",u.windScreenform),e.xp6(1),e.Q6J("ngClass",e.VKq(6,qr,u.submitted&&u.wsf.windScreenSumInsured.errors))("nzMax",1e5)("nzMin",500)("nzStep",100)}}function Y3(a,c){if(1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Runner to JPJ Service : "),e.qZA(),e._uU(3),e.ALo(4,"currency"),e._UZ(5,"br"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(3),e.hij("",e.gM2(4,1,n.roadTaxRunnerService,"RM ","symbol","1.2-2")," ")}}function l1(a,c){if(1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Courier Fee : "),e.qZA(),e._uU(3),e.ALo(4,"currency"),e._UZ(5,"br"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(3),e.hij("",e.gM2(4,1,n.roadTaxDeliveryService,"RM ","symbol","1.2-2")," ")}}function c1(a,c){if(1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Courier Fee : "),e.qZA(),e.TgZ(3,"label"),e._uU(4),e.ALo(5,"currency"),e.qZA(),e._UZ(6,"br"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,n.roadTaxDeliveryService,"RM ","symbol","1.2-2"),"")}}function U3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div"),e._UZ(1,"br"),e.TgZ(2,"div",6)(3,"div",410)(4,"strong",411),e._uU(5,"Type :"),e.qZA()(),e.TgZ(6,"div")(7,"form",25)(8,"nz-radio-group",412),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.vehicleTypeOnChange(v))}),e.TgZ(9,"label",413)(10,"strong"),e._uU(11,"Saloon"),e.qZA()(),e.TgZ(12,"label",414)(13,"strong"),e._uU(14,"Non-Saloon"),e.qZA()()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("formGroup",n.isSaloonForm)}}function wu(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"strong",411),e._uU(2,"Road Tax :"),e.qZA(),e.TgZ(3,"nz-radio-group",415),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.roadTaxType=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onRoadTaxTypeClick(v))}),e.TgZ(4,"div",6)(5,"label",416)(6,"strong"),e._uU(7,"Physical"),e.qZA(),e._UZ(8,"label"),e.qZA(),e.TgZ(9,"label",417)(10,"strong"),e._uU(11,"Digital"),e.qZA()()()()()}if(2&a){const n=e.oxw(2);e.xp6(3),e.Q6J("nzDisabled",n.disablePhysicalRoadTax)("ngModel",n.roadTaxType)}}function Tu(a,c){1&a&&(e.TgZ(0,"div")(1,"strong",357),e._uU(2,"Once renewed the digital Road Tax will be show in MyJPJ APP and verification receipt will be sent as proof."),e.qZA()())}function Du(a,c){1&a&&(e.TgZ(0,"div")(1,"strong",357),e._uU(2,"Our staff will share you the courier[ETA: 2-3 workings day] detail once payment done."),e.qZA()())}function j3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",418),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.isRoadTaxChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onRoadTaxChecked(v))}),e.qZA()()()}if(2&a){const n=e.oxw(2);e.xp6(3),e.hij("+",e.gM2(4,2,n.getRoadTaxAmount()+n.getRoadTaxDeliveryService()+n.getRoadTaxRunnerService(),"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isRoadTaxChecked)}}function e4(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," Cover any authorised drivers. "),e.TgZ(2,"strong"),e._uU(3,"(Optional)"),e.qZA(),e._UZ(4,"br"),e.qZA())}function W3(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," - Waiver of Excess for Authorised Driver "),e._UZ(2,"br"),e._uU(3," - Limited Act of God - RM10,000 "),e._UZ(4,"br"),e._uU(5," - Additional Cash Payout - RM5,000 "),e._UZ(6,"br")(7,"br"),e.TgZ(8,"strong"),e._uU(9,"(Optional)"),e.qZA(),e._UZ(10,"br"),e.qZA())}function $3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",409),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.isAllDriversChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onAllDriversChecked(v))}),e.qZA()()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.hij("+ ",e.gM2(4,3,n.allDriverPremium,"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isAllDriversChecked)("disabled",n.isAllDriversDisabled)}}function _s(a,c){if(1&a&&(e.TgZ(0,"div",382)(1,"nz-card",383),e.YNc(2,e4,5,0,"div",17),e.YNc(3,W3,11,0,"div",17),e.qZA(),e.YNc(4,$3,7,8,"ng-template",null,419,e.W1O),e._UZ(6,"br"),e.qZA()),2&a){const n=e.MAs(5),u=e.oxw(2);e.xp6(1),e.s9C("nzTitle",u.allDriverTitle),e.Q6J("nzExtra",n),e.xp6(1),e.Q6J("ngIf",!u.isGeneraliSelected()),e.xp6(1),e.Q6J("ngIf",u.isGeneraliSelected())}}function Q3(a,c){1&a&&(e.TgZ(0,"strong"),e._uU(1,"(Optional)"),e.qZA())}function t4(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",409),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.isAllRidersChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onAllRidersChecked(v))}),e.qZA()()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.hij("+ ",e.gM2(4,3,n.allRiderPremium,"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isAllRidersChecked)("disabled",n.isAllRidersDisabled)}}function Ll(a,c){if(1&a&&(e.TgZ(0,"div",382)(1,"nz-card",420)(2,"div"),e._uU(3," Cover any authorised riders. "),e.YNc(4,Q3,2,0,"strong",17),e._UZ(5,"br"),e.qZA()(),e.YNc(6,t4,7,8,"ng-template",null,421,e.W1O),e._UZ(8,"br"),e.qZA()),2&a){const n=e.MAs(7),u=e.oxw(2);e.xp6(1),e.Q6J("nzExtra",n),e.xp6(3),e.Q6J("ngIf",!u.isAllRiderCompulsory)}}function q3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",409),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.isSpecialPerilsChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onSpecialPerilsChecked(v,!0,!0))}),e.qZA()()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.hij("+",e.gM2(4,3,n.specialPerilsPremium,"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isSpecialPerilsChecked)("disabled",n.isSpecialPerilsDisabled)}}function n4(a,c){if(1&a&&(e.TgZ(0,"div",382)(1,"nz-card",422),e._uU(2," Cover damages caused by flood, landslide & other natural disasters. "),e.TgZ(3,"strong"),e._uU(4,"(Optional)"),e.qZA()(),e.YNc(5,q3,7,8,"ng-template",null,423,e.W1O),e._UZ(7,"br"),e.qZA()),2&a){const n=e.MAs(6);e.xp6(1),e.Q6J("nzExtra",n)}}function G3(a,c){if(1&a&&(e.TgZ(0,"nz-card",424),e._uU(1," Coverage for liability due to negligence of your passengers to public. "),e.TgZ(2,"strong"),e._uU(3,"(Optional)"),e.qZA()()),2&a){e.oxw();const n=e.MAs(69);e.Q6J("nzExtra",n)}}function K3(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",407)(2,"strong"),e._uU(3),e.ALo(4,"currency"),e.qZA()(),e.TgZ(5,"div",408)(6,"label",409),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.isLlopChecked=v)})("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onLlopChecked(v))}),e.qZA()()()}if(2&a){const n=e.oxw(2);e.xp6(3),e.hij("+ ",e.gM2(4,3,7.5,"RM ","symbol","1.2-2"),""),e.xp6(3),e.Q6J("ngModel",n.isLlopChecked)("disabled",n.isLlopDisabled)}}function J3(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",391)(2,"strong"),e._uU(3,"Sum Insured"),e.qZA()(),e.TgZ(4,"td",425),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,1,n.sumInsuredAmount,"RM ","symbol","1.2-2")," ")}}function X3(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389)(2,"strong"),e._uU(3,"All Riders"),e.qZA()(),e.TgZ(4,"td",426),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,1,n.allRiderPremium,"RM ","symbol","1.2-2"),"")}}function r4(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389)(2,"strong"),e._uU(3,"Loading"),e.qZA()(),e.TgZ(4,"td",390),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,1,n.loading,"RM ","symbol","1.2-2")," ")}}function o4(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389)(2,"strong"),e._uU(3,"Extra Coverage"),e.qZA()(),e.TgZ(4,"td",426),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,1,n.extraCoverage,"RM ","symbol","1.2-2"),"")}}function e6(a,c){1&a&&(e.TgZ(0,"strong",357),e._uU(1,"(Inclusive in plan)"),e.qZA())}function a4(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2),e.YNc(3,e6,2,0,"strong",427),e.qZA(),e.TgZ(4,"td",426),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(2),e.hij(" - ",n.allDriverTitle," "),e.xp6(1),e.Q6J("ngIf",n.isAllDriversDisabled&&n.isKurniaSelected()),e.xp6(2),e.hij(" ",e.gM2(6,3,n.allDriverPremium,"RM ","symbol","1.2-2"),"")}}function s4(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Special Perils"),e.qZA(),e.TgZ(3,"td",426),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,n.specialPerilsPremium,"RM ","symbol","1.2-2"),"")}}function Rl(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - LLTP"),e.qZA(),e.TgZ(3,"td",426),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,n.lltpPremium,"RM ","symbol","1.2-2"),"")}}function Au(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - LLOP"),e.qZA(),e.TgZ(3,"td",426),e._uU(4),e.ALo(5,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(4),e.hij(" ",e.gM2(5,1,n.llopPremium,"RM ","symbol","1.2-2"),"")}}function u1(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Wind Screen "),e.TgZ(3,"strong"),e._uU(4),e.ALo(5,"number"),e.qZA()(),e.TgZ(6,"td",426),e._uU(7),e.ALo(8,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(4),e.hij("(Sum Insured: ",e.xi3(5,2,n.windScreenform.get("windScreenSumInsured").value,"1.2-2"),")"),e.xp6(3),e.hij(" ",e.gM2(8,5,n.windScreenPremium,"RM ","symbol","1.2-2"),"")}}function l4(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389)(2,"strong"),e._uU(3,"Commission (10%)"),e.qZA()(),e.TgZ(4,"td",390),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,1,n.commission,"RM ","symbol","1.2-2"),"")}}function Eu(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389)(2,"strong"),e._uU(3,"Road Tax "),e.qZA(),e.TgZ(4,"strong",357),e._uU(5," (1 Year)"),e.qZA()(),e.TgZ(6,"td",426),e._uU(7),e.ALo(8,"currency"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.hij(" ",e.gM2(8,1,n.roadTaxAmount,"RM ","symbol","1.2-2")," ")}}function Cs(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Courier Fee "),e.qZA(),e.TgZ(3,"td",426)(4,"span",428),e._uU(5),e.ALo(6,"currency"),e.qZA(),e.TgZ(7,"span"),e._uU(8),e.ALo(9,"currency"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",e.gM2(6,2,n.roadTaxSettings.deliveryFeeWithInsurance,"RM ","symbol","1.2-2"),""),e.xp6(3),e.hij(" ",e.gM2(9,7,0,"RM ","symbol","1.2-2"),"")}}function c4(a,c){if(1&a&&(e.TgZ(0,"td",426)(1,"span"),e._uU(2),e.ALo(3,"currency"),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.hij(" ",e.gM2(3,1,n.roadTaxDeliveryService,"RM ","symbol","1.2-2"),"")}}function u4(a,c){if(1&a&&(e.TgZ(0,"td",426)(1,"span",428),e._uU(2),e.ALo(3,"currency"),e.qZA(),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.hij(" ",e.gM2(3,2,n.roadTaxSettings.deliveryFeeWithInsurance,"RM ","symbol","1.2-2"),""),e.xp6(3),e.hij(" ",e.gM2(6,7,0,"RM ","symbol","1.2-2"),"")}}function Fl(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Courier Fee "),e.qZA(),e.YNc(3,c4,4,6,"td",429),e.YNc(4,u4,7,12,"td",429),e.qZA()),2&a){const n=e.oxw(2);e.xp6(3),e.Q6J("ngIf",!n.roadTaxSettings.deliveryFeeWaivedWithInsurance),e.xp6(1),e.Q6J("ngIf",n.roadTaxSettings.deliveryFeeWaivedWithInsurance)}}function Wo(a,c){if(1&a&&(e.TgZ(0,"td",426)(1,"span"),e._uU(2),e.ALo(3,"currency"),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.hij(" ",e.gM2(3,1,n.roadTaxRunnerService,"RM ","symbol","1.2-2"),"")}}function d4(a,c){if(1&a&&(e.TgZ(0,"td",426)(1,"span",428),e._uU(2),e.ALo(3,"currency"),e.qZA(),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"currency"),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.hij(" ",e.gM2(3,2,n.roadTaxSettings.runnerFeeWithInsurance,"RM ","symbol","1.2-2"),""),e.xp6(3),e.hij(" ",e.gM2(6,7,0,"RM ","symbol","1.2-2"),"")}}function t6(a,c){if(1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Physical Road Tax Runner Service "),e.qZA(),e.YNc(3,Wo,4,6,"td",429),e.YNc(4,d4,7,12,"td",429),e.qZA()),2&a){const n=e.oxw(2);e.xp6(3),e.Q6J("ngIf",!n.roadTaxSettings.runnerFeeWaivedWithInsurance),e.xp6(1),e.Q6J("ngIf",n.roadTaxSettings.runnerFeeWaivedWithInsurance)}}function d1(a,c){1&a&&(e.TgZ(0,"tr")(1,"td",389),e._uU(2," - Digital Road Tax Service Charge "),e.qZA(),e.TgZ(3,"td",426)(4,"span",428),e._uU(5),e.ALo(6,"currency"),e.qZA(),e.TgZ(7,"span"),e._uU(8),e.ALo(9,"currency"),e.qZA()()()),2&a&&(e.xp6(5),e.hij(" ",e.gM2(6,2,9,"RM ","symbol","1.2-2"),""),e.xp6(3),e.hij(" ",e.gM2(9,7,0,"RM ","symbol","1.2-2"),""))}function ga(a,c){if(1&a&&(e.TgZ(0,"div",6)(1,"div",394),e._uU(2," Excess Coverage Claims "),e.qZA(),e.TgZ(3,"div",432)(4,"strong"),e._uU(5),e.ALo(6,"currency"),e.qZA()()()),2&a){const n=e.oxw(3);e.xp6(5),e.hij(" ",e.gM2(6,1,null==n.quotationResponseModel.generali||null==n.quotationResponseModel.generali.suggestedPremium?null:n.quotationResponseModel.generali.suggestedPremium.excess,"RM ","symbol","1.0"),"")}}function h1(a,c){if(1&a&&(e.TgZ(0,"nz-card",430)(1,"strong"),e._uU(2,"Compulsory Excess / Excess Damage Claims "),e.TgZ(3,"label",431),e._uU(4,"(What's this?) "),e.qZA()(),e.TgZ(5,"div",6)(6,"div",394),e._uU(7," Compulsory Excess "),e.qZA(),e.TgZ(8,"div",432)(9,"strong"),e._uU(10),e.ALo(11,"currency"),e.qZA()()(),e.YNc(12,ga,7,6,"div",380),e.qZA()),2&a){e.oxw();const n=e.MAs(156),u=e.oxw();e.xp6(3),e.Q6J("nzPopoverContent",n),e.xp6(7),e.hij(" ",e.gM2(11,3,null==u.quotationResponseModel.generali||null==u.quotationResponseModel.generali.suggestedPremium?null:u.quotationResponseModel.generali.suggestedPremium.compulsoryExcess,"RM ","symbol","1.0"),""),e.xp6(2),e.Q6J("ngIf",u.isCarSelected())}}function h4(a,c){1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"COMPULSORY EXCESS"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"label"),e._uU(5," In addition to the excess shown in the Schedule, we have the right to"),e._UZ(6,"br"),e._uU(7," deduct another RM400 as Compulsory Excess if at the time "),e._UZ(8,"br"),e._uU(9," of the accident. You or the person driving Your car with Your consent: "),e.qZA(),e._UZ(10,"br")(11,"br"),e._uU(12," - is Under 21 years old; or "),e._UZ(13,"br"),e._uU(14," - Holds a Provisional(P) or Learner(L) driver's license; or "),e._UZ(15,"br"),e._uU(16," - is not named in the Schedule as Named Driver"),e._UZ(17,"br")(18,"br"),e.TgZ(19,"label"),e._uU(20," We will deduct this additional RM400 Excess if the loss or damaged "),e._UZ(21,"br"),e._uU(22,"is caused by fire, explosion, lighting, burglary, housebreaking, theft,"),e._UZ(23,"br"),e._uU(24," third party propery damage or bodily injured claims. "),e.qZA(),e._UZ(25,"br")(26,"br"),e.TgZ(27,"strong"),e._uU(28,"EXCESS CLAIM DAMAGE"),e.qZA(),e._UZ(29,"br"),e.TgZ(30,"label"),e._uU(31," Refers to the excess amount you have agreed to pay on the own damage"),e._UZ(32,"br"),e._uU(33," claim as specified in your Policy during the Period of cover. "),e.qZA()())}function p1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"button",433),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.copySummary())}),e.TgZ(2,"strong"),e._uU(3,"Copy Summary"),e.qZA()(),e._UZ(4,"br"),e.qZA()}}const Pu=function(){return[""]};function p4(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",23),e.YNc(1,V3,7,0,"div",17),e.YNc(2,F3,9,4,"div",26),e.TgZ(3,"nz-collapse",378)(4,"nz-collapse-panel",379),e._uU(5," Insurance Company : "),e.TgZ(6,"strong"),e._uU(7),e.qZA(),e._UZ(8,"br"),e._uU(9," Policy Period : "),e.TgZ(10,"strong"),e._uU(11),e.qZA(),e._uU(12," To "),e.TgZ(13,"strong"),e._uU(14),e.qZA(),e.YNc(15,Z3,3,2,"div",17),e.TgZ(16,"div",6)(17,"div",8),e._uU(18," Registration No : "),e.TgZ(19,"strong"),e._uU(20),e.qZA()(),e.TgZ(21,"div",8),e._uU(22," Capacity : "),e.TgZ(23,"strong"),e._uU(24),e.qZA()()(),e.TgZ(25,"div",6)(26,"div",8),e._uU(27," Brand : "),e.TgZ(28,"strong"),e._uU(29),e.qZA()(),e.TgZ(30,"div",8),e._uU(31," Model : "),e.TgZ(32,"strong"),e._uU(33),e.qZA()()(),e.YNc(34,xu,5,1,"div",380),e.qZA()(),e._UZ(35,"br"),e.TgZ(36,"div",6),e.YNc(37,J2,13,13,"div",381),e.YNc(38,Qa,16,8,"div",381),e.qZA(),e.TgZ(39,"div",6)(40,"div",382)(41,"nz-card",383)(42,"strong"),e._uU(43,"Renewal Amount :"),e.qZA(),e._uU(44),e.ALo(45,"currency"),e._UZ(46,"br"),e.TgZ(47,"strong"),e._uU(48,"Tenure :"),e.qZA(),e._uU(49," 1 Year "),e._UZ(50,"br"),e.YNc(51,Y3,6,6,"div",17),e.YNc(52,l1,6,6,"div",17),e.YNc(53,c1,7,6,"div",17),e.YNc(54,U3,15,1,"div",17),e.YNc(55,wu,12,2,"div",17),e._UZ(56,"br"),e.YNc(57,Tu,3,0,"div",17),e.YNc(58,Du,3,0,"div",17),e.qZA(),e.YNc(59,j3,7,7,"ng-template",null,384,e.W1O),e._UZ(61,"br"),e.qZA(),e.YNc(62,_s,7,4,"div",381),e.YNc(63,Ll,9,2,"div",381),e.qZA(),e.TgZ(64,"div",6),e.YNc(65,n4,8,1,"div",381),e.TgZ(66,"div",382),e.YNc(67,G3,4,1,"nz-card",385),e.YNc(68,K3,7,8,"ng-template",null,386,e.W1O),e._UZ(70,"br"),e.qZA()(),e.TgZ(71,"nz-collapse",378)(72,"nz-collapse-panel",387)(73,"nz-table",388),e._UZ(74,"thead"),e.TgZ(75,"tbody"),e.YNc(76,J3,7,6,"tr",17),e.TgZ(77,"tr")(78,"td",389)(79,"strong"),e._uU(80,"Basic Premium"),e.qZA()(),e.TgZ(81,"td",390),e._uU(82),e.ALo(83,"currency"),e.qZA()(),e.YNc(84,X3,7,6,"tr",17),e.YNc(85,r4,7,6,"tr",17),e.TgZ(86,"tr")(87,"td",389)(88,"strong"),e._uU(89),e.qZA()(),e.TgZ(90,"td",390)(91,"strong",357),e._uU(92),e.ALo(93,"currency"),e.qZA()()(),e.YNc(94,o4,7,6,"tr",17),e.YNc(95,a4,7,8,"tr",17),e.YNc(96,s4,6,6,"tr",17),e.YNc(97,Rl,6,6,"tr",17),e.YNc(98,Au,6,6,"tr",17),e.YNc(99,u1,9,10,"tr",17),e.TgZ(100,"tr"),e._UZ(101,"td",391)(102,"td",392),e.qZA(),e.TgZ(103,"tr")(104,"td",389)(105,"strong"),e._uU(106,"Gross Premium "),e.qZA(),e._UZ(107,"br"),e.qZA(),e.TgZ(108,"td",390),e._uU(109),e.ALo(110,"currency"),e.qZA()(),e.YNc(111,l4,7,6,"tr",17),e.TgZ(112,"tr")(113,"td",389)(114,"strong"),e._uU(115,"Service Tax (8%)"),e.qZA()(),e.TgZ(116,"td",390),e._uU(117),e.ALo(118,"currency"),e.qZA()(),e.TgZ(119,"tr")(120,"td",389)(121,"strong"),e._uU(122,"Stamp Duty"),e.qZA()(),e.TgZ(123,"td",390),e._uU(124),e.ALo(125,"currency"),e.qZA()(),e.TgZ(126,"tr"),e._UZ(127,"td",391)(128,"td",392),e.qZA(),e.TgZ(129,"tr")(130,"td",389)(131,"strong"),e._uU(132,"Total Premium "),e.qZA(),e._UZ(133,"br"),e.qZA(),e.TgZ(134,"td",390),e._uU(135),e.ALo(136,"currency"),e.qZA()(),e.YNc(137,Eu,9,6,"tr",17),e.YNc(138,Cs,10,12,"tr",17),e.YNc(139,Fl,5,2,"tr",17),e.YNc(140,t6,5,2,"tr",17),e.YNc(141,d1,10,12,"tr",17),e.TgZ(142,"tr"),e._UZ(143,"td",391)(144,"td",392),e.qZA(),e.TgZ(145,"tr")(146,"td",391)(147,"strong"),e._uU(148,"Total Amount"),e.qZA()(),e.TgZ(149,"td",392)(150,"strong"),e._uU(151),e.ALo(152,"currency"),e.qZA()()()()()()(),e._UZ(153,"br"),e.YNc(154,h1,13,8,"nz-card",393),e.YNc(155,h4,34,0,"ng-template",null,347,e.W1O),e.YNc(157,p1,5,0,"div",17),e._UZ(158,"br"),e.TgZ(159,"div",6)(160,"div",394)(161,"button",48),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.pre())}),e.TgZ(162,"strong"),e._uU(163,"Back"),e.qZA()()(),e.TgZ(164,"div",394)(165,"button",48),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.next())}),e.TgZ(166,"strong"),e._uU(167,"Next"),e.qZA()()()()()}if(2&a){const n=e.MAs(60),u=e.oxw();e.xp6(1),e.Q6J("ngIf",u.isChubbSelected()),e.xp6(1),e.Q6J("ngIf","ETIQA"!=u.selectedInsurance),e.xp6(5),e.hij("",u.getInsuranceCompanyFullName()," "),e.xp6(4),e.Oqu(u.policyStartDate),e.xp6(3),e.hij("",u.policyEndDate," "),e.xp6(1),e.Q6J("ngIf",u.isCarSelected()),e.xp6(5),e.Oqu(u.verifyVehicleReponseModel.vehicleInfo.registrationNo),e.xp6(4),e.Oqu(u.capacity),e.xp6(5),e.Oqu(u.brand),e.xp6(4),e.Oqu(u.model),e.xp6(1),e.Q6J("ngIf",u.isMotorcycleSelected()),e.xp6(3),e.Q6J("ngIf",u.displaySumInsured()),e.xp6(1),e.Q6J("ngIf",u.displayWindScreen()),e.xp6(3),e.MGl("nzTitle","",u.roadTaxType," Road Tax"),e.Q6J("nzExtra",n),e.xp6(3),e.hij(" ",e.gM2(45,54,u.roadTaxAmount,"RM ","symbol","1.2-2")," "),e.xp6(7),e.Q6J("ngIf",u.showRoadTaxRunnerService),e.xp6(1),e.Q6J("ngIf",u.showRoadTaxDeliveryService&&(u.isCompanySelected()||u.isPassportSelected())&&!u.roadTaxSettings.deliveryFeeWaivedWithInsurance),e.xp6(1),e.Q6J("ngIf",u.showRoadTaxDeliveryService&&!u.isCompanySelected()&&!u.isPassportSelected()),e.xp6(1),e.Q6J("ngIf",u.isCarSelected()&&(null==u.verifyVehicleReponseModel.vehicleInfo?null:u.verifyVehicleReponseModel.vehicleInfo.isWagon)),e.xp6(1),e.Q6J("ngIf",u.isNricSelected()),e.xp6(2),e.Q6J("ngIf",u.isDigitalRoadTaxSelected()),e.xp6(1),e.Q6J("ngIf",!u.isDigitalRoadTaxSelected()),e.xp6(4),e.Q6J("ngIf",u.displayAllDrivers()&&u.isCarSelected()),e.xp6(1),e.Q6J("ngIf",u.isMotorcycleSelected()&&!u.isGeneraliSelected()),e.xp6(2),e.Q6J("ngIf",u.displaySpecialPerils()),e.xp6(2),e.Q6J("ngIf",u.displayLLOP()),e.xp6(6),e.Q6J("nzData",e.DdM(94,Pu))("nzShowPagination",!1),e.xp6(3),e.Q6J("ngIf",u.displaySumInsured()),e.xp6(6),e.hij(" ",e.gM2(83,59,u.basicPremium,"RM ","symbol","1.2-2")," "),e.xp6(2),e.Q6J("ngIf",u.isAllRidersChecked),e.xp6(1),e.Q6J("ngIf",u.isMotorcycleSelected()),e.xp6(4),e.hij("No Claim Discount(NCD) - ",u.ncdPerc,"%"),e.xp6(3),e.hij("- ",e.gM2(93,64,u.ncdDiscount,"RM ","symbol","1.2-2"),""),e.xp6(2),e.Q6J("ngIf",u.isAllDriversChecked||u.isSpecialPerilsChecked||u.isLltpChecked||u.isLlopChecked||u.isWindScreenChecked),e.xp6(1),e.Q6J("ngIf",u.isAllDriversChecked),e.xp6(1),e.Q6J("ngIf",u.isSpecialPerilsChecked),e.xp6(1),e.Q6J("ngIf",u.isLltpChecked),e.xp6(1),e.Q6J("ngIf",u.isLlopChecked),e.xp6(1),e.Q6J("ngIf",u.isWindScreenChecked),e.xp6(10),e.hij(" ",e.gM2(110,69,u.grossPremium,"RM ","symbol","1.2-2"),""),e.xp6(2),e.Q6J("ngIf",!u.commissionSettings.hideCommission),e.xp6(6),e.hij(" ",e.gM2(118,74,u.serviceTax,"RM ","symbol","1.2-2"),""),e.xp6(7),e.hij(" ",e.gM2(125,79,u.stampDuty,"RM ","symbol","1.2-2")," "),e.xp6(11),e.hij(" ",e.gM2(136,84,u.totalPremium,"RM ","symbol","1.2-2"),""),e.xp6(2),e.Q6J("ngIf",u.isRoadTaxChecked),e.xp6(1),e.Q6J("ngIf",u.isRoadTaxChecked&&u.showRoadTaxDeliveryService&&!u.isCompanySelected()&&!u.isPassportSelected()),e.xp6(1),e.Q6J("ngIf",u.isRoadTaxChecked&&u.showRoadTaxDeliveryService&&(u.isCompanySelected()||u.isPassportSelected())),e.xp6(1),e.Q6J("ngIf",u.isRoadTaxChecked&&u.showRoadTaxRunnerService),e.xp6(1),e.Q6J("ngIf",u.isRoadTaxChecked&&u.isDigitalRoadTaxSelected()),e.xp6(10),e.Oqu(e.gM2(152,89,u.totalAmount,"RM ","symbol","1.2-2")),e.xp6(3),e.Q6J("ngIf",u.isGeneraliSelected()),e.xp6(3),e.Q6J("ngIf",null!=(null==u.currentUser?null:u.currentUser.name))}}function ku(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Name is required"),e.qZA())}function Bl(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,ku,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.name.errors.required)}}function Zl(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Email is required"),e.qZA())}function f1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid Email"),e.qZA())}function m1(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,Zl,2,0,"div",17),e.YNc(2,f1,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.email.errors.required),e.xp6(1),e.Q6J("ngIf",n.pdf.email.errors.email)}}function g1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function Ou(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,g1,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.contactNo1.errors.required)}}function n6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function i6(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,n6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.contactNo2.errors.required)}}function r6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Address 1 is required"),e.qZA())}function o6(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,r6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.address1.errors.required)}}function f4(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Address 2 is required"),e.qZA())}function Iu(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,f4,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.address2.errors.required)}}function a6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Address 2 is required"),e.qZA())}function Hu(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,a6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.state.errors.required)}}function m4(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Postcode is required"),e.qZA())}function g4(a,c){if(1&a&&(e.TgZ(0,"div",60),e.YNc(1,m4,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.postcode.errors.required)}}function s6(a,c){if(1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"2."),e.qZA(),e._uU(3),e.TgZ(4,"a",466),e._uU(5),e.qZA(),e._uU(6),e.qZA()),2&a){const n=e.oxw(3);e.xp6(3),e.hij(" Purchasing this product\u200b through 'BMS' will provide\u200b you with a seamless and personalized product/claim services.\u200b You may purchase in a similar product directly from ",n.getInsuranceCompanyFullName(),". You will self service your insurance needs or contact "),e.xp6(1),e.s9C("href",n.getInsuranceCompanyLink(),e.LSH),e.xp6(1),e.Oqu(n.getInsuranceCompanyShortName()),e.xp6(1),e.hij(" for assistance. There is no commission involved when purchasing directly with ",n.getInsuranceCompanyFullName(),". ")}}function v1(a,c){1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"2."),e.qZA(),e._uU(3," Purchasing this product through Brilliant Management Services will provide you with a personalised product and claim services. You may consider exploring alternative options at Liberty General Insurance Berhad, where you will be entitled for a commission rebate. "),e.qZA())}function Vu(a,c){if(1&a&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"2."),e.qZA(),e._uU(3),e.qZA()),2&a){const n=e.oxw(3);e.xp6(3),e.hij(" Purchasing this product\u200b through 'BMS' will provide\u200b you with a seamless and personalized product/claim services. However, you may consider commission rebates or commission-free products which can be purchased directly from ",n.getInsuranceCompanyFullName()," branches and website.\u200b ")}}function Nu(a,c){1&a&&(e.TgZ(0,"div"),e._UZ(1,"br"),e.TgZ(2,"strong"),e._uU(3,"3"),e.qZA(),e._uU(4,' By clicking the "Make Payment" button below, I hereby confirm that I have read and agree the '),e.TgZ(5,"a",468),e._uU(6,"Personal Data Protection Notice"),e.qZA(),e._uU(7," as published on the Zurich Malaysia's website. "),e.qZA())}function Lu(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"label")(1,"input",467),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onPolicyWordingChecked(v))}),e.qZA(),e._uU(2," I/We hereby confirm that l/we have read and understood the "),e.TgZ(3,"a",466),e._uU(4,"Product Disclosure Sheet & Policy Wording"),e.qZA(),e._uU(5),e.TgZ(6,"label",357),e._uU(7,"[Mandatory]"),e.qZA()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.s9C("href",n.getProductDisclosureLink,e.LSH),e.xp6(2),e.hij(" & agreed to be bound by the terms and conditions stipulated therein. I have also taken note of the duties of the Policy Owner under the Policy Contract and where required have contacted representatives of ",n.getInsuranceCompanyFullName()," directly for any terms that I/We do not understand prior to entering into this contract.")}}function Ru(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"label")(1,"input",467),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(3);return e.KtG(E.onPolicyWordingChecked(v))}),e.qZA(),e._uU(2," Please read and understand the "),e.TgZ(3,"a",466),e._uU(4,"Product Disclosure Sheet"),e.qZA(),e._uU(5," and the "),e.TgZ(6,"a",469),e._uU(7,"Duty of Disclosure"),e.qZA(),e._uU(8," before buy this product. You may contact us if you have any product enquiries."),e.TgZ(9,"label",357),e._uU(10,"[Mandatory]"),e.qZA()()}if(2&a){const n=e.oxw(3);e.xp6(3),e.s9C("href",n.getProductDisclosureLink,e.LSH)}}function Fu(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",463)(1,"strong"),e._uU(2,"1."),e.qZA(),e._uU(3," I/We hereby confirm that all of our answers and statements are true and accurate. l/we have not withheld any information whatever regarding this application knowing that it is my/our duty to take reasonable care not to make a misrepresentations in answering the questions in this application. "),e._UZ(4,"br"),e.TgZ(5,"div"),e._UZ(6,"br"),e.YNc(7,s6,7,4,"div",17),e.YNc(8,v1,4,0,"div",17),e.YNc(9,Vu,4,1,"div",17),e.qZA(),e.YNc(10,Nu,8,0,"div",17),e._UZ(11,"br"),e.TgZ(12,"div")(13,"label"),e._UZ(14,"input",464),e._uU(15),e.TgZ(16,"label",357),e._uU(17,"[Optional]"),e.qZA()(),e.YNc(18,Lu,8,2,"label",17),e.YNc(19,Ru,11,1,"label",17),e.TgZ(20,"label")(21,"input",465),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onConsentChecked(v))}),e.qZA(),e._uU(22),e.TgZ(23,"a",50),e._uU(24,"'BMS Privacy Notice'"),e.qZA(),e._uU(25," & "),e.TgZ(26,"a",466),e._uU(27),e.qZA(),e.TgZ(28,"label",357),e._uU(29,"[Mandatory]"),e.qZA()(),e.TgZ(30,"label")(31,"input",467),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onProductDisclosureChecked(v))}),e.qZA(),e._uU(32," I/We have read and agree with the Terms & Conditions above. "),e.TgZ(33,"label",357),e._uU(34,"[Mandatory]"),e.qZA()()(),e._UZ(35,"br"),e.qZA()}if(2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("ngIf",n.isZurichSelected()),e.xp6(1),e.Q6J("ngIf",n.isKurniaSelected()),e.xp6(1),e.Q6J("ngIf",!n.isZurichSelected()&&!n.isKurniaSelected()),e.xp6(1),e.Q6J("ngIf",n.isZurichSelected()),e.xp6(5),e.hij(" I/We would like to receive special offers, promotions and information related to the insurance products, events and services of ",n.getInsuranceCompanyFullName()," and/or it's agent Brilliant Management Services (BMS). "),e.xp6(3),e.Q6J("ngIf",!n.isZurichSelected()),e.xp6(1),e.Q6J("ngIf",n.isZurichSelected()),e.xp6(3),e.AsE(" I/We hereby consent for 'BMS' & ",n.getInsuranceCompanyFullName()," and/or any company within the 'BMS' & ",n.getInsuranceCompanyShortName()," Group of Companies and/or any of its associated companies. within or outside Malaysia, process my/our Personal Data for the purposes and to the extent stated in the "),e.xp6(4),e.s9C("href",n.getInsuranceCompanyPrivacyPolicyLink(),e.LSH),e.xp6(1),e.hij("",n.getInsuranceCompanyFullName()," Data Privacy Notice. ")}}function Bu(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",463)(1,"strong"),e._uU(2,"1."),e.qZA(),e._uU(3," For same products, you may visit any Chubb's branches to enjoy premium rebate. "),e._UZ(4,"br"),e.TgZ(5,"strong"),e._uU(6,"2."),e.qZA(),e._uU(7," You must submit all claims directly to Chubb Claims within 30 days after the occurrence of the loss. You can submit your motor claims via "),e.TgZ(8,"a",470),e._uU(9," Chubb Motor Claims Online Portal"),e.qZA(),e._uU(10,". "),e._UZ(11,"br"),e.TgZ(12,"strong"),e._uU(13,"3"),e.qZA(),e._uU(14," Should you require additional information, you can contact your agent, Lim Siew Lin at 1300 88 5755. You can also refer to the insuranceinfo booklet available at Chubb's branches or you can obtain a copy from "),e.TgZ(15,"a",471),e._uU(16,"www.insuranceinfo.com.my"),e.qZA(),e._uU(17,". "),e._UZ(18,"br")(19,"br"),e.TgZ(20,"div")(21,"label")(22,"input",465),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onConsentChecked(v))}),e.qZA(),e._uU(23," I/We hereby confirm that all of our answers and statements are true and accurate. l/we have not withheld any information whatever regarding this application knowing that it is my/our duty to take reasonable care not to make a misrepresentations in answering the questions in this application. "),e.TgZ(24,"label",357),e._uU(25,"[Mandatory]"),e.qZA()(),e.TgZ(26,"label")(27,"input",467),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onPolicyWordingChecked(v))}),e.qZA(),e._uU(28," Yes, I have read and agreed to the "),e.TgZ(29,"a",472),e._uU(30,"Declaration & Authorisation"),e.qZA(),e._uU(31,", "),e.TgZ(32,"a",466),e._uU(33,"Policy Wording"),e.qZA(),e._uU(34," and "),e.TgZ(35,"a",466),e._uU(36,"Product Disclosure Sheet"),e.qZA(),e._uU(37,". "),e.TgZ(38,"label",357),e._uU(39,"[Mandatory]"),e.qZA()(),e.TgZ(40,"label")(41,"input",467),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.onProductDisclosureChecked(v))}),e.qZA(),e._uU(42," I hereby declare and agree for Chubb Insurance Malaysia Berhad (\u201cChubb\u201d) to deal with your personal data on this application to hold, use and disclose for the purpose of processing this application and providing subsequent services for this and/or other insurance products and services, direct marketing, and data matching as the Insurer may consider necessary in accordance with "),e.TgZ(43,"a",466),e._uU(44,"Chubb's Personal Data Protection Notice"),e.qZA(),e._uU(45,"."),e.TgZ(46,"label",357),e._uU(47,"[Mandatory]"),e.qZA()()(),e._UZ(48,"br"),e.qZA()}if(2&a){const n=e.oxw(2);e.xp6(32),e.s9C("href",n.getPolicyWording,e.LSH),e.xp6(3),e.s9C("href",n.getProductDisclosureLink,e.LSH),e.xp6(8),e.s9C("href",n.getInsuranceCompanyPrivacyPolicyLink(),e.LSH)}}function Zu(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",23)(1,"form",25)(2,"div",27)(3,"label",28)(4,"div"),e._uU(5,"Individual / Company Name"),e.TgZ(6,"span",33),e._uU(7,"*"),e.qZA()()(),e.TgZ(8,"div",29),e._UZ(9,"input",434),e.YNc(10,Bl,2,1,"div",35),e.qZA()(),e.TgZ(11,"div",27)(12,"label",28)(13,"div"),e._uU(14,"Email"),e.TgZ(15,"span",33),e._uU(16,"*"),e.qZA()()(),e.TgZ(17,"div",29),e._UZ(18,"input",435),e.YNc(19,m1,3,2,"div",35),e.qZA()(),e.TgZ(20,"div",27)(21,"label",28)(22,"div"),e._uU(23,"Mobile Number"),e.TgZ(24,"span",33),e._uU(25,"*"),e.qZA()()(),e.TgZ(26,"div",29),e._UZ(27,"input",436),e.YNc(28,Ou,2,1,"div",35),e.qZA()(),e.TgZ(29,"div",27)(30,"label",28)(31,"div"),e._uU(32,"Second Mobile Number. (Optional)"),e.qZA()(),e.TgZ(33,"div",29),e._UZ(34,"input",437),e.YNc(35,i6,2,1,"div",35),e.qZA()(),e.TgZ(36,"div",27)(37,"label",28)(38,"div"),e._uU(39,"Marital Status"),e.qZA()(),e.TgZ(40,"div",29)(41,"select",438)(42,"option",439),e._uU(43,"Single"),e.qZA(),e.TgZ(44,"option",440),e._uU(45,"Married"),e.qZA(),e.TgZ(46,"option",441),e._uU(47,"Divorced"),e.qZA(),e.TgZ(48,"option",442),e._uU(49,"Widowed"),e.qZA()()()(),e.TgZ(50,"div",27)(51,"label",28)(52,"div"),e._uU(53,"Address Line 1 "),e.TgZ(54,"span",33),e._uU(55,"*"),e.qZA()()(),e.TgZ(56,"div",29),e._UZ(57,"input",443),e.YNc(58,o6,2,1,"div",35),e.qZA()(),e.TgZ(59,"div",27)(60,"label",28)(61,"div"),e._uU(62,"Address Line 2 "),e.TgZ(63,"span",33),e._uU(64,"*"),e.qZA()()(),e.TgZ(65,"div",29),e._UZ(66,"input",444),e.YNc(67,Iu,2,1,"div",35),e.qZA()(),e.TgZ(68,"div",27)(69,"label",28)(70,"div"),e._uU(71,"State"),e.qZA()(),e.TgZ(72,"div",29)(73,"nz-select",445),e._UZ(74,"nz-option",446)(75,"nz-option",447)(76,"nz-option",448)(77,"nz-option",449)(78,"nz-option",450)(79,"nz-option",451)(80,"nz-option",452)(81,"nz-option",453)(82,"nz-option",454)(83,"nz-option",455)(84,"nz-option",456)(85,"nz-option",457)(86,"nz-option",458),e.qZA()(),e.YNc(87,Hu,2,1,"div",35),e.qZA(),e.TgZ(88,"div",27)(89,"label",28)(90,"div"),e._uU(91,"Postcode"),e.TgZ(92,"span",33),e._uU(93,"*"),e.qZA()()(),e.TgZ(94,"div",29),e._UZ(95,"input",459),e.YNc(96,g4,2,1,"div",35),e.qZA()(),e.TgZ(97,"div",27)(98,"label",28)(99,"div"),e._uU(100,"Remark"),e.qZA()(),e.TgZ(101,"div",29)(102,"textarea",460),e._uU(103," "),e.qZA()()(),e.YNc(104,Fu,36,11,"div",461),e.YNc(105,Bu,49,3,"div",461),e.TgZ(106,"div",6)(107,"div",394)(108,"button",48),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.pre())}),e._uU(109,"Back"),e.qZA()(),e.TgZ(110,"div",394)(111,"button",462),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.submitQuotation())}),e.TgZ(112,"strong"),e._uU(113,"Make Payment"),e.qZA()()()()()()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.personalDetailsForm),e.xp6(8),e.Q6J("ngClass",e.VKq(20,qr,n.pdfSubmitted&&n.pdf.name.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.name.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(22,qr,n.pdfSubmitted&&n.pdf.email.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.email.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(24,qr,n.pdfSubmitted&&n.pdf.contactNo1.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.contactNo1.errors),e.xp6(6),e.Q6J("ngClass",e.VKq(26,qr,n.pdfSubmitted&&n.pdf.contactNo2.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.contactNo2.errors),e.xp6(22),e.Q6J("ngClass",e.VKq(28,qr,n.pdfSubmitted&&n.pdf.address1.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.address1.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(30,qr,n.pdfSubmitted&&n.pdf.address2.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.address2.errors),e.xp6(6),e.Q6J("nzShowArrow",!0),e.xp6(14),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.state.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(32,qr,n.pdfSubmitted&&n.pdf.postcode.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.postcode.errors),e.xp6(8),e.Q6J("ngIf",!n.isChubbSelected()),e.xp6(1),e.Q6J("ngIf",n.isChubbSelected()),e.xp6(6),e.Q6J("disabled",n.isMakePaymentBtnDisabled)}}let Yu=(()=>{class a{constructor(n,u,v,E,fe,Ve,$e,zt,Ut,Xt,xn,yn,on,fn,Ln,wn,En,mi,Si,$o){this.insuranceApiService=n,this.GeneraliApiService=u,this.zurichApiService=v,this.etiqaApiService=E,this.kurniaApiService=fe,this.chubbApiService=Ve,this.roadTaxApiService=$e,this.formBuilder=zt,this.spinner=Ut,this.recaptchaV3Service=Xt,this.quotationService=xn,this.messageService=yn,this.route=on,this.quotationApiService=fn,this.router=Ln,this.clipboardApi=wn,this.supportApiService=En,this.customerApiService=mi,this.bsModalService=Si,this.titleService=$o,this.getProductDisclosureLink="",this.getPolicyWording="",this.cardWidth=8,this.current=0,this.hideDob=!1,this.idTextBoxPlaceHolder="e.g: 801111141111",this.idMask="000000-00-0000",this.vehicleType="saloon",this.roadTaxType="",this.showRoadTaxRunnerService=!1,this.showRoadTaxDeliveryService=!1,this.roadTaxChecked=!0,this.isAllRidersChecked=!1,this.isAllRidersDisabled=!1,this.isAllDriversChecked=!1,this.isAllDriversDisabled=!1,this.isLlopChecked=!1,this.isSpecialPerilsChecked=!1,this.isWindScreenChecked=!1,this.isRoadTaxChecked=!0,this.isVehicleSumInsuredChanged=!1,this.isWindscreenSumInsuredChanged=!1,this.isProductDisclosureChecked=!1,this.isPolicyWordingChecked=!1,this.isConsentChecked=!1,this.isLlopDisabled=!1,this.isSpecialPerilsDisabled=!1,this.isWindscreenDisabled=!1,this.isMobileScreen=!1,this.isMakePaymentBtnDisabled=!0,this.roadTaxAmount=0,this.roadTaxDeliveryService=0,this.roadTaxRunnerService=0,this.totalAmount=0,this.totalPremium=0,this.ncdDiscount=0,this.ncdPerc=0,this.extraCoveragesAmount=0,this.grossPremium=0,this.basicPremium=0,this.loading=0,this.commission=0,this.stampDuty=10,this.serviceTax=0,this.allRiderPremium=0,this.allDriverPremium=0,this.llopPremium=7.5,this.quotationId="",this.windScreenPremium=0,this.specialPerilsPremium=0,this.selectedInsurance="",this.policyStartDate="",this.policyEndDate="",this.submitted=!1,this.pdfSubmitted=!1,this.quotationRequestModel={dateOfBirth:"",extraCoverages:[]},this.quotationResponseModel={},this.calculateRoadTaxRequestModel={},this.sumInsuredAmount=0,this.minAgreedValue=0,this.maxAgreedValue=0,this.isZurichLoaded=!1,this.isAxaLoaded=!1,this.isEtiqaLoaded=!1,this.isKurniaLoaded=!1,this.isChubbLoaded=!1,this.etiqaAdditionalCoverageRequestModel={},this.etiqaAdditionalCoverageResponseModel={},this.kurniaQuickQuoteRequestModel={extraCoverageList:[]},this.etiqaSumInsuredRequestModel={},this.etiqaSumInsuredResponseModel={},this.selectedProductCode="",this.vehicleInfoModel={},this.customerInfoModel={},this.actualPremiumModel={},this.agentModel={},this.chubbCoveragesResponseModel=[],this.kurniaCoveragesResponseModel=[],this.paymentResponseModel={},this.step1Title="Enter Details",this.step2Title="Compare Quotation",this.step3Title="Add-Ons",this.step4Title="Personal Details",this.mobileStepTitle="Step 1: Enter Details",this.verifyVehicleReponseModel={},this.verifyCustomerRequestModel={},this.dropSpecialCharacters=!0,this.disablePhysicalRoadTax=!1,this.roadTaxSettings={},this.commissionSettings={},this.paramQuotationReferenceNumber="",this.UpdateSelectedInsuranceModel={},this.whatsappRequestModel={},this.searchModel={},this.allDriverTitle="All Authorised Drivers",this.brand="",this.model="",this.chubbPlanName="",this.kurniaPlanName="",this.generaliPlanName="",this.zurichPlanName="",this.isAllRiderCompulsory=!1,this.disabledEndDate=Fr=>{const sr=new Date;return sr.setFullYear(sr.getFullYear()-18),sr.getTime()<=Fr.getTime()}}ngOnInit(){this.titleService.setTitle("Brilliant Management Service"),this.checkIsTokenValid();var n="Car";this.route.queryParams.subscribe(u=>{""!=u.vehicleType&&null!=u.vehicleType&&("car"==(n=u.vehicleType)?n="Car":"motorcycle"==n&&(n="Motorcycle")),""!=u.quotation&&null!=u.quotation&&(this.paramQuotationReferenceNumber=u.quotation,this.getExistingQuotation())}),window.screen.width<=412?(this.isMobileScreen=!0,this.step1Title="",this.step2Title="",this.step3Title="",this.step4Title=""):(this.step1Title="Enter Details",this.step2Title="Compare Quotation",this.step3Title="Add-Ons",this.step4Title="Personal Details"),this.form=this.formBuilder.group({bypassIsm:["0"],source:["0"],type:[n,[ut.kI.required]],vehicleNo:["",[ut.kI.required]],idType:["NRIC",[ut.kI.required]],gender:[""],id:["",[ut.kI.required]],postcode:["",[ut.kI.required]],contactNo:["",[ut.kI.required]],email:["",[ut.kI.required]],nationality:[],companyIdType:["old"],dob:[(new Date).setFullYear((new Date).getFullYear()-18)]}),this.personalDetailsForm=this.formBuilder.group({name:["",[ut.kI.required]],email:["",[ut.kI.required]],address1:["",[ut.kI.required]],address2:["",[ut.kI.required]],state:["Selangor",[ut.kI.required]],postcode:[{value:"",disable:!0},[ut.kI.required]],contactNo1:["",[ut.kI.required]],contactNo2:[""],remark:[""],maritalStatus:["single"]}),this.windScreenform=this.formBuilder.group({windScreenSumInsured:[500,[ut.kI.min(500),ut.kI.max(1e5)]]}),this.vehicleform=this.formBuilder.group({sumInsured:[this.sumInsuredAmount]}),this.isSaloonForm=this.formBuilder.group({isSaloon:["true"]}),(0,ms.V)(this.form,"postcode"),this.vehicleform.get("sumInsured").valueChanges.pipe((0,_2.b)(1500)).subscribe(u=>{this.onVehicleSumInsuredChanged()}),this.windScreenform.get("windScreenSumInsured").valueChanges.pipe((0,_2.b)(1500)).subscribe(u=>{this.onWindScreenSumInsuredChanged()})}getCommissionSettings(){this.quotationApiService.commissionSettings().subscribe(n=>{this.commissionSettings=n.entity})}getRoadTaxSettings(){this.roadTaxApiService.roadTaxSettings().subscribe(n=>{this.roadTaxSettings=n.entity,this.disablePhysicalRoadTax=this.roadTaxSettings.disableNRICPhysicalRoadTax,this.roadTaxDeliveryService=this.roadTaxSettings.deliveryFeeWithInsurance,this.calculateRoadTaxCharges()})}calculateRoadTaxCharges(){this.isNricSelected()||(this.roadTaxType="Physical",this.disablePhysicalRoadTax=!0),this.isPhysicalRoadTaxSelected()?(this.roadTaxRunnerService=this.roadTaxSettings.runnerFeeWaivedWithInsurance?0:this.roadTaxSettings.runnerFeeWithInsurance,this.roadTaxDeliveryService=this.roadTaxSettings.deliveryFeeWaivedWithInsurance?0:this.roadTaxSettings.deliveryFeeWithInsurance,this.roadTaxType="Physical",this.showRoadTaxRunnerService=!0,this.showRoadTaxDeliveryService=!0):(this.roadTaxType="Digital",this.showRoadTaxRunnerService=!1,this.showRoadTaxDeliveryService=!1)}checkIsTokenValid(){this.insuranceApiService.ping().subscribe(n=>{this.currentUser=n.entity})}keyPressAlphaNumeric(n){this.isCompanySelected()?Wc(n):(0,C2.t)(n)}companyIdtypeOnChange(n){this.form.patchValue({id:""}),this.companyIdMaskingChecking(n.target.value)}companyIdMaskingChecking(n){"old"==n?(this.idMask="",this.idTextBoxPlaceHolder="e.g: 1234567-A"):(this.idMask="000000000000",this.idTextBoxPlaceHolder="e.g: 202005123456")}idtypeOnChange(n){"Passport"!=n&&(this.hideDob=!1,this.form.get("dob").setValidators(null),this.form.get("dob").updateValueAndValidity(),this.form.get("nationality").setValidators(null),this.form.get("nationality").updateValueAndValidity()),"Passport"==n?(this.idTextBoxPlaceHolder="Enter passport number",this.idMask="",this.hideDob=!0,this.form.get("dob").setValidators(ut.kI.required),this.form.get("dob").updateValueAndValidity(),this.form.get("nationality").setValidators(ut.kI.required),this.form.get("nationality").updateValueAndValidity(),this.form.get("gender").setValidators(ut.kI.required),this.form.get("gender").updateValueAndValidity(),this.dropSpecialCharacters=!0):"Company"==n?(this.dropSpecialCharacters=!1,this.companyIdMaskingChecking(this.form.get("companyIdType").value)):"Army"==n||"Police"==n?(this.idTextBoxPlaceHolder="Enter uniform professional number",this.dropSpecialCharacters=!0,this.idMask="",this.form.get("gender").setValidators(ut.kI.required),this.form.get("gender").updateValueAndValidity()):"NRIC"==n&&(this.idTextBoxPlaceHolder="e.g: 801111141111",this.idMask="000000-00-0000",this.dropSpecialCharacters=!0,this.form.get("gender").setValidators(null),this.form.get("gender").updateValueAndValidity()),this.form.patchValue({id:""})}onSubmit(n=!1,u=!1){this.submitted=!0,!this.form.invalid&&this.isIdValid()&&this.isMobileNoValid()?this.getInstantQuotation(n):this.spinner.hide()}getInstantQuotation(n){this.spinner.show(),this.recaptchaV3Service.execute("importantAction").subscribe(u=>{this.insuranceApiService.VerifyToken(u).subscribe(v=>{v?(this.verifyCustomerRequestModel.regNo=this.form.get("vehicleNo").value.trim(),this.verifyCustomerRequestModel.identityType=this.form.get("idType").value.trim(),this.verifyCustomerRequestModel.identity=this.form.get("id").value.trim(),this.verifyCustomerRequestModel.postCode=this.form.get("postcode").value.trim(),this.verifyCustomerRequestModel.email=this.form.get("email").value.trim(),this.verifyCustomerRequestModel.contactNo=this.form.get("contactNo").value.toString().trim(),this.verifyCustomerRequestModel.vehicleType=this.isCarSelected()?0:1,this.verifyCustomerRequestModel.state=(0,ms.y)(parseInt(this.form.get("postcode").value.trim())),this.verifyCustomerRequestModel.gender=this.isCompanySelected()?"C":this.form.get("gender").value,this.verifyCustomerRequestModel.requestType="Insurance",this.verifyCustomerRequestModel.renewalMonth=0,this.verifyCustomerRequestModel.source=this.form.get("source").value,this.verifyCustomerRequestModel.bypassIsm="0"!=this.form.get("bypassIsm").value,this.isPassportSelected()&&(this.verifyCustomerRequestModel.dateOfBirth=(0,y2.Z)(this.form.get("dob").value,"MM/dd/yyyy"),this.verifyCustomerRequestModel.nationality=this.form.get("nationality").value),this.insuranceApiService.VerifyVehicleInfo(this.verifyCustomerRequestModel).subscribe(E=>{if(E.success){if(this.verifyCustomerRequestModel.bypassIsm)return this.spinner.hide(),void this.showNotification("Quotation Submitted",!0);if(this.verifyVehicleReponseModel=E,this.ncdPerc=this.verifyVehicleReponseModel.vehicleInfo.ncdPercentage,this.verifyVehicleReponseModel.existingQuotationFound)return this.spinner.hide(),this.router.navigate(["/"],{queryParams:{quotation:this.verifyVehicleReponseModel.quotationGroupReferenceNumber}}),void(this.paramQuotationReferenceNumber=this.verifyVehicleReponseModel.quotationGroupReferenceNumber);this.quotationRequestModel.customerId=this.verifyVehicleReponseModel.customerId,this.quotationRequestModel.customerVehicleId=this.verifyVehicleReponseModel.customerVehicleId,this.quotationRequestModel.quotationGroupReferenceNumber=this.verifyVehicleReponseModel.quotationGroupReferenceNumber,this.vehicleform.patchValue({suminsured:0},{emitEvent:!1}),this.form.patchValue(this.verifyVehicleReponseModel.vehicleInfo.isMotorcycle?{type:"Motorcycle"}:{type:"Car"},{emitEvent:!1}),this.vehicleType=this.verifyVehicleReponseModel.vehicleInfo.isSaloon?"saloon":"nonSaloon",this.isPassportSelected()&&(this.quotationRequestModel.dateOfBirth=(0,y2.Z)(this.form.get("dob").value,"MM/dd/yyyy")),this.zurichApiService.GetQuotation(this.quotationRequestModel).subscribe(fe=>{this.isZurichLoaded=!0,this.quotationResponseModel.zurich=fe.zurich,this.quotationResponseModel.zurich?.success&&(this.quotationRequestModel.referenceNumber=fe.zurich.referenceNumber),n&&this.checkIsAllInsuranceProcessed(n)}),this.GeneraliApiService.GetQuotation(this.quotationRequestModel).subscribe(fe=>{this.isAxaLoaded=!0,this.quotationResponseModel.generali=fe.generali,this.quotationResponseModel.generali?.success&&(this.quotationRequestModel.referenceNumber=fe.generali.referenceNumber,this.generaliPlanName=this.quotationResponseModel.generali?.insurancePlan.find(Ve=>Ve.code==this.quotationResponseModel.generali?.selectedProductCode).description),n&&this.checkIsAllInsuranceProcessed(n)}),this.isEtiqaLoaded=!0,this.kurniaApiService.GetQuotation(this.quotationRequestModel).subscribe(fe=>{this.isKurniaLoaded=!0,this.quotationResponseModel.kurnia=fe.kurnia,this.quotationResponseModel.kurnia?.success&&(this.quotationRequestModel.referenceNumber=fe.kurnia.referenceNumber),n&&this.checkIsAllInsuranceProcessed(n)}),this.chubbApiService.GetQuotation(this.quotationRequestModel).subscribe(fe=>{this.isChubbLoaded=!0,this.quotationResponseModel.chubb=fe.chubb,this.quotationResponseModel.chubb?.success&&(this.quotationRequestModel.referenceNumber=fe.chubb.referenceNumber),n&&this.checkIsAllInsuranceProcessed(n)})}else this.spinner.hide(),this.showNotification(E.message,E.success)})):this.showNotification("Recaptcha Error",v)})})}getExistingQuotation(){this.spinner.show(),this.insuranceApiService.GetVehicleInfo(this.paramQuotationReferenceNumber).subscribe(n=>{this.verifyVehicleReponseModel=n,this.quotationApiService.getExistingQuotation(this.paramQuotationReferenceNumber).subscribe(u=>{if(this.spinner.hide(),u.success){this.quotationRequestModel.customerId=this.verifyVehicleReponseModel.customerId,this.quotationRequestModel.customerVehicleId=this.verifyVehicleReponseModel.customerVehicleId,this.quotationRequestModel.quotationGroupReferenceNumber=this.verifyVehicleReponseModel.quotationGroupReferenceNumber,this.quotationResponseModel.generali=u.generali,this.quotationResponseModel.chubb=u.chubb,this.quotationResponseModel.etiqa=u.etiqa,this.quotationResponseModel.zurich=u.zurich,this.quotationResponseModel.kurnia=u.kurnia,this.verifyVehicleReponseModel.vehicleInfo=u.vehicleInfo,this.ncdPerc=this.verifyVehicleReponseModel.vehicleInfo.ncdPercentage,this.form.patchValue({contactNo:u.customerInfo?.contactNo1},{emitEvent:!1}),this.form.patchValue({postcode:u.customerInfo?.postcode},{emitEvent:!1}),this.form.patchValue({email:u.customerInfo?.email},{emitEvent:!1}),this.form.patchValue({vehicleNo:u.vehicleInfo?.registrationNo},{emitEvent:!1}),this.form.patchValue({type:u.vehicleInfo?.vehicleType},{emitEvent:!1}),this.form.patchValue({gender:u.customerInfo?.gender},{emitEvent:!1});var v=u.customerInfo?.identityType.toString();"0"==v?(this.idtypeOnChange("NRIC"),this.form.patchValue({idType:"NRIC"},{emitEvent:!1})):"1"==v?(this.idtypeOnChange("Passport"),this.form.patchValue({idType:"Passport"},{emitEvent:!1})):"2"==v?(this.idtypeOnChange("Army"),this.form.patchValue({idType:"Army"},{emitEvent:!1})):"3"==v?(this.idtypeOnChange("Police"),this.form.patchValue({idType:"Police"},{emitEvent:!1})):"4"==v&&(this.idtypeOnChange("Company"),this.form.patchValue({idType:"Company"},{emitEvent:!1})),this.form.patchValue({id:u.customerInfo?.identity},{emitEvent:!1}),this.calculateRoadTaxCharges(),this.personalDetailsForm.patchValue({contactNo:u.customerInfo?.contactNo1},{emitEvent:!1}),this.personalDetailsForm.patchValue({postcode:u.customerInfo?.postcode},{emitEvent:!1}),this.personalDetailsForm.patchValue({email:u.customerInfo?.email},{emitEvent:!1}),this.personalDetailsForm.patchValue({id:u.customerInfo?.identity},{emitEvent:!1}),this.generaliPlanName=this.quotationResponseModel.generali?.insurancePlan.find(E=>E.code==this.quotationResponseModel.generali?.selectedProductCode).description,this.current=1,this.changeContent()}else this.current=0,this.changeContent(),this.getInstantQuotation(!0)})})}checkIsAllInsuranceProcessed(n){this.isAxaLoaded&&this.isZurichLoaded&&this.isEtiqaLoaded&&this.isKurniaLoaded&&this.isChubbLoaded&&(this.spinner.hide(),this.quotationResponseModel.generali?.success||this.quotationResponseModel.zurich?.success||this.quotationResponseModel.etiqa?.success||this.quotationResponseModel.kurnia?.success||this.quotationResponseModel.chubb?.success?n&&this.next(void 0):(this.cardWidth=8,this.quotationApiService.deleteQuotation(this.verifyVehicleReponseModel.quotationGroupReferenceNumber).subscribe(u=>{}),this.showNotification("No insurance quotation can be found, please contact admin",!1),this.resetInsuranceLoadedFlag()))}get f(){return this.form.controls}get pdf(){return this.personalDetailsForm.controls}get wsf(){return this.windScreenform.controls}get vf(){return this.vehicleform.controls}showNotification(n,u){!0===u?this.messageService.success(n):this.messageService.error(n,{nzDuration:8e3})}pre(){this.current-=1,0==this.current?(this.cardWidth=8,this.submitted=!1,this.quotationResponseModel={},this.isZurichLoaded=!1,this.isAxaLoaded=!1,this.isEtiqaLoaded=!1,this.isKurniaLoaded=!1,this.mobileStepTitle="Step 1: Enter Details",this.router.navigate([],{queryParams:{}}),this.resetValueStep0()):1==this.current?(this.cardWidth=12,this.mobileStepTitle="Step 2: Compare Quotation",this.resetValueStep1()):2==this.current?(this.mobileStepTitle="Step 3: Add-Ons",this.cardWidth=10):3==this.current&&(this.mobileStepTitle="Step 4: Personal Details",this.cardWidth=8)}next(n){null!=n&&(this.selectedInsurance=n,this.isChubbSelected()?(this.getProductDisclosureLink="https://bmsroadtax.com/wp-content/uploads/2024/04/my-car-insurance_eng_v6.pdf",this.getPolicyWording="https://bmsroadtax.com/wp-content/uploads/2024/05/chubb-my-car-insurance-PW.pdf"):this.isGeneraliSelected()?this.getProductDisclosureLink=this.isCarSelected()?"https://asset.bmsroadtax.com/product-disclosure/generali-car.pdf":"https://asset.bmsroadtax.com/product-disclosure/generali-motor.pdf":this.isZurichSelected()?this.isCarSelected()?(this.getProductDisclosureLink="https://www.zurich.com.my/-/media/project/zwp/malaysia/docs/insurance-products/product-disclosure-sheets/zgimb-z-driver-pds_eng.pdf",this.getPolicyWording="https://www.zurich.com.my/-/media/project/zwp/malaysia/docs/insurance-products/policy-wordings/zgimb-z-driver-cw_eng.pdf"):(this.getProductDisclosureLink="https://www.zurich.com.my/-/media/project/zwp/malaysia/docs/insurance-products/product-disclosure-sheets/zgimb_z-rider_pds_eng.pdf",this.getPolicyWording="https://www.zurich.com.my/-/media/project/zwp/malaysia/docs/insurance-products/policy-wordings/zgimb-z-rider-pw-eng.pdf"):this.isKurniaSelected()&&(this.isCarSelected()?(this.getProductDisclosureLink="https://www.kurnia.com/sites/asia-kurnia/files/2018-05/Private%20Car%20-Product%20Disclosure%20Sheet%20%28Eng%29.pdf",this.getPolicyWording="https://www.kurnia.com/sites/asia-kurnia/files/2017-10/Private%20Car%20Policy%20Wording%20before%2021%20Oct%202016%20%28ENG%29_1.pdf"):(this.getProductDisclosureLink="https://www.kurnia.com/sites/asia-kurnia/files/2018-05/Motorcycle%20-%20Product%20Disclosure%20Sheet%20%28Eng%29.pdf",this.getPolicyWording="https://www.kurnia.com/sites/asia-kurnia/files/2017-10/Motorcycle%20Policy%20Wording%20before%2021%20Oct%20%28ENG%29_1.pdf")),this.allDriverTitle=this.isGeneraliSelected()?"Multi Drive Bravo":"All Authorised Drivers"),this.isMotorcycleThirdPartyFireProductSelected()&&this.displaySumInsured()&&2==this.current?this.motorSumInsuredConfirmationPopUp():this.current+=1,this.changeContent()}changeContent(){switch(this.current){case 0:this.router.navigate([],{queryParams:{}}),this.checkIsTokenValid(),this.cardWidth=8,this.mobileStepTitle="Step 1: Enter Details";break;case 1:this.checkIsTokenValid(),this.cardWidth=12,this.mobileStepTitle="Step 2: Compare Quotation";break;case 2:this.cardWidth=10,this.mobileStepTitle="Step 3: Add-Ons",this.getRoadTaxSettings(),this.getCommissionSettings(),this.checkIsTokenValid(),this.onVehicleTypeClick("saloon"),this.updateSelectedInsurance(this.getSelectedInsuranceReferenceNumber()),this.displayAllDrivers(),this.displaySumInsured(),this.getAllDriverPremium(),this.getAllRiderPremium();break;case 3:this.checkIsTokenValid(),this.cardWidth=8,this.mobileStepTitle="Step 4: Personal Details",this.personalDetailsForm.patchValue({contactNo1:this.form.get("contactNo").value.trim()}),this.personalDetailsForm.patchValue({postcode:this.form.get("postcode").value.trim()}),this.personalDetailsForm.patchValue({email:this.form.get("email").value.trim()}),this.personalDetailsForm.patchValue({state:(0,ms.y)(parseInt(this.form.get("postcode").value.trim()))})}}motorSumInsuredConfirmationPopUp(){this.confirmationModel=this.bsModalService.show(t3.Y,{class:"modal-md",ignoreBackdropClick:!0,initialState:{content:"Please confirm your Motorcycle sum insured (RM"+this.vehicleform.get("sumInsured").value.toLocaleString("en-GB")+") is enough?"}}),this.confirmationModel.content.submitEvent.subscribe(()=>{this.current+=1,this.changeContent()})}onRoadTaxChecked(n){this.isRoadTaxChecked=n,this.isRoadTaxChecked?(this.roadTaxDeliveryService=0,(this.isCompanySelected()||this.isPassportSelected())&&(this.roadTaxRunnerService=20),this.calculateRoadTax()):this.calculatePremium()}onAllDriversChecked(n){this.isAllDriversChecked=n,n?this.quotationRequestModel.extraCoverages.some(u=>u.coverageName==Cn.ALL_DRIVERS)||this.quotationRequestModel.extraCoverages.push({coverageName:Cn.ALL_DRIVERS,coverageAmount:0}):this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(u=>u.coverageName!==Cn.ALL_DRIVERS),this.isGeneraliSelected()?this.reCalculateGeneraliAdditionalCoveragePremium():this.isChubbSelected()?this.reCalculateChubbAdditionalCoveragePremium():this.calculatePremium()}onAllRidersChecked(n){this.isAllRidersChecked=n,n?this.quotationRequestModel.extraCoverages.some(u=>u.coverageName==Cn.ALL_RIDERS)||this.quotationRequestModel.extraCoverages.push({coverageName:Cn.ALL_RIDERS,coverageAmount:0}):this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(u=>u.coverageName!==Cn.ALL_RIDERS),this.isZurichSelected()?this.reCalculateZurichAdditionalCoveragePremium():this.isKurniaSelected()?this.reCalculateKurniaAdditionalCoveragePremium():this.isGeneraliSelected()&&this.reCalculateGeneraliAdditionalCoveragePremium()}onLlopChecked(n){this.isLlopChecked=n,n?this.quotationRequestModel.extraCoverages.some(u=>u.coverageName==Cn.LLOP)||this.quotationRequestModel.extraCoverages.push({coverageName:Cn.LLOP,coverageAmount:0}):(this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(u=>u.coverageName!==Cn.LLOP),this.isKurniaSelected()&&(this.kurniaQuickQuoteRequestModel.extraCoverageList=this.kurniaQuickQuoteRequestModel.extraCoverageList.filter(u=>"72"!==u.extraCoverageCode))),this.isGeneraliSelected()?this.reCalculateGeneraliAdditionalCoveragePremium():this.calculatePremium()}onWindScreenChecked(n){this.isWindScreenChecked=n,n?(this.windScreenform.get("windScreenSumInsured").setValidators([ut.kI.required,ut.kI.min(1)]),this.windScreenform.get("windScreenSumInsured").updateValueAndValidity(),this.addWindScreenCoverage()):(this.windScreenPremium=0,this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(u=>u.coverageName!==Cn.WINDSCREEN),this.windScreenform.get("windScreenSumInsured").setValidators(null),this.windScreenform.get("windScreenSumInsured").updateValueAndValidity(),this.isKurniaSelected()&&(this.kurniaQuickQuoteRequestModel.extraCoverageList=this.kurniaQuickQuoteRequestModel.extraCoverageList.filter(u=>"89"!==u.extraCoverageCode))),this.isGeneraliSelected()?this.reCalculateGeneraliAdditionalCoveragePremium():this.onWindScreenSumInsuredChanged()}onWindScreenSumInsuredChanged(){this.windScreenform.get("windScreenSumInsured").value>=500&&this.windScreenform.get("windScreenSumInsured").value<=1e5&&this.isWindScreenChecked&&!this.isWindscreenSumInsuredChanged&&(this.addWindScreenCoverage(),this.isChubbSelected()?this.reCalculateChubbAdditionalCoveragePremium():this.windScreenPremium=.15*this.windScreenform.get("windScreenSumInsured").value,this.calculatePremium()),this.isWindscreenSumInsuredChanged=!1}addWindScreenCoverage(){this.quotationRequestModel.extraCoverages.some(n=>n.coverageName==Cn.WINDSCREEN)?(this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(n=>n.coverageName!==Cn.WINDSCREEN),this.quotationRequestModel.extraCoverages.push({coverageName:Cn.WINDSCREEN,coverageAmount:this.windScreenform.get("windScreenSumInsured").value})):this.quotationRequestModel.extraCoverages.push({coverageName:Cn.WINDSCREEN,coverageAmount:this.windScreenform.get("windScreenSumInsured").value})}onVehicleSumInsuredChanged(){var n=this.vehicleform.get("sumInsured").value;this.quotationRequestModel.sumInsured=n,n>=this.minAgreedValue&&n<=this.maxAgreedValue&&!this.isVehicleSumInsuredChanged&&setTimeout(()=>{this.isZurichSelected()?this.reCalculateZurichAdditionalCoveragePremium():this.isEtiqaSelected()?this.reCalculateEtiqaSumInsuredPremium():this.isKurniaSelected()?this.reCalculateKurniaAdditionalCoveragePremium():this.isGeneraliSelected()?this.reCalculateGeneraliAdditionalCoveragePremium():this.isChubbSelected()&&this.reCalculateChubbSumInsuredPremium()},2e3),this.isVehicleSumInsuredChanged=!1}reCalculateChubbSumInsuredPremium(){this.spinner.show(),this.quotationRequestModel.referenceNumber=this.quotationResponseModel.chubb.referenceNumber,this.chubbApiService.GetQuotation(this.quotationRequestModel).subscribe(n=>{this.quotationResponseModel.chubb=n.chubb,this.calculatePremium(),this.spinner.hide()})}onSpecialPerilsChecked(n,u=!1){this.isSpecialPerilsChecked=n,n?this.quotationRequestModel.extraCoverages.some(v=>v.coverageName==Cn.SPECIAL_PERILS)||this.quotationRequestModel.extraCoverages.push({coverageName:Cn.SPECIAL_PERILS,coverageAmount:0}):(this.specialPerilsPremium=0,this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(v=>v.coverageName!==Cn.SPECIAL_PERILS),this.isKurniaSelected()&&(this.kurniaQuickQuoteRequestModel.extraCoverageList=this.kurniaQuickQuoteRequestModel.extraCoverageList.filter(v=>"57"!==v.extraCoverageCode))),u&&(this.isZurichSelected()?this.reCalculateZurichAdditionalCoveragePremium():this.isEtiqaSelected()?this.reCalculateEtiqaAdditionalCoveragePremium():this.isKurniaSelected()?this.reCalculateKurniaAdditionalCoveragePremium():this.isChubbSelected()?this.reCalculateChubbAdditionalCoveragePremium():this.isGeneraliSelected()&&this.reCalculateGeneraliAdditionalCoveragePremium())}calculateRoadTax(){this.calculateRoadTaxRequestModel.isIndividual=!this.isCompanySelected(),this.calculateRoadTaxRequestModel.isSaloon=this.verifyVehicleReponseModel.vehicleInfo.isSaloon,this.calculateRoadTaxRequestModel.vehicleType=this.isCarSelected()?0:1,this.calculateRoadTaxRequestModel.vehicleType="Motorcycle"==this.verifyVehicleReponseModel.vehicleInfo.vehicleType?1:0,null!=this.verifyVehicleReponseModel.vehicleInfo&&(this.calculateRoadTaxRequestModel.capacity=this.verifyVehicleReponseModel.vehicleInfo.capacity),this.roadTaxApiService.CalculateRoadTax(this.calculateRoadTaxRequestModel).subscribe(n=>{this.roadTaxAmount=n,this.calculatePremium()})}calculatePremium(){this.capacity=this.verifyVehicleReponseModel.vehicleInfo.capacity,this.brand=this.verifyVehicleReponseModel.vehicleInfo.brand,this.model=this.verifyVehicleReponseModel.vehicleInfo.model,this.selectedInsurance==ar.d.ZURICH?(this.quotationResponseModel.zurich.extraCoverages?.some($e=>$e.coverageName==Cn.WINDSCREEN)&&(this.windScreenPremium=this.quotationResponseModel.zurich?.extraCoverages.find($e=>$e.coverageName==Cn.WINDSCREEN)?.coveragePremium),this.quotationResponseModel.zurich.extraCoverages?.some($e=>$e.coverageName==Cn.SPECIAL_PERILS)&&(this.specialPerilsPremium=this.quotationResponseModel.zurich?.extraCoverages.find($e=>$e.coverageName==Cn.SPECIAL_PERILS)?.coveragePremium),this.basicPremium=this.quotationResponseModel.zurich?.suggestedPremium.basicPremium,this.loading=this.quotationResponseModel.zurich?.suggestedPremium.loading,this.minAgreedValue=this.quotationResponseModel.zurich?.vehicleValueInfo.minAgreedValue,this.maxAgreedValue=this.quotationResponseModel.zurich?.vehicleValueInfo.maxAgreedValue,this.sumInsuredAmount=this.quotationResponseModel.zurich?.suggestedPremium.sumInsured,this.ncdDiscount=this.quotationResponseModel.zurich?.suggestedPremium.ncdAmount,this.quotationId=this.quotationResponseModel.zurich?.policy.insuranceCompanyQuotationId,this.policyStartDate=this.quotationResponseModel.zurich?.policy.policyStartDate,this.policyEndDate=this.quotationResponseModel.zurich?.policy.policyEndDate,this.selectedProductCode=this.quotationResponseModel.zurich?.selectedProductCode,this.quotationRequestModel.productCode=this.selectedProductCode):this.selectedInsurance==ar.d.GENERALI?(this.basicPremium=this.quotationResponseModel.generali?.suggestedPremium.basicPremium,this.minAgreedValue=this.quotationResponseModel.generali?.vehicleValueInfo.minAgreedValue,this.maxAgreedValue=this.quotationResponseModel.generali?.vehicleValueInfo.maxAgreedValue,this.sumInsuredAmount=this.quotationResponseModel.generali?.suggestedPremium.sumInsured,this.ncdDiscount=this.quotationResponseModel.generali?.suggestedPremium.ncdAmount,this.quotationId=this.quotationResponseModel.generali?.policy.insuranceCompanyQuotationId,this.policyStartDate=this.quotationResponseModel.generali?.policy.policyStartDate,this.policyEndDate=this.quotationResponseModel.generali?.policy.policyEndDate,this.selectedProductCode=this.quotationResponseModel.generali?.selectedProductCode,this.quotationRequestModel.productCode=this.selectedProductCode):this.selectedInsurance==ar.d.ETIQA?(this.basicPremium=this.quotationResponseModel.etiqa?.suggestedPremium.basicPremium,this.minAgreedValue=this.quotationResponseModel.etiqa?.vehicleValueInfo.minAgreedValue,this.maxAgreedValue=this.quotationResponseModel.etiqa?.vehicleValueInfo.maxAgreedValue,this.sumInsuredAmount=this.quotationResponseModel.etiqa?.suggestedPremium.sumInsured,this.ncdDiscount=this.quotationResponseModel.etiqa?.suggestedPremium.ncdAmount,this.quotationId=this.quotationResponseModel.etiqa?.policy.insuranceCompanyQuotationId,this.policyStartDate=this.quotationResponseModel.etiqa?.policy.policyStartDate,this.policyEndDate=this.quotationResponseModel.etiqa?.policy.policyEndDate):this.selectedInsurance==ar.d.KURNIA?(this.basicPremium=this.quotationResponseModel.kurnia?.suggestedPremium.basicPremium,this.loading=this.quotationResponseModel.kurnia?.suggestedPremium.loading,this.minAgreedValue=this.quotationResponseModel.kurnia?.vehicleValueInfo.minAgreedValue,this.maxAgreedValue=this.quotationResponseModel.kurnia?.vehicleValueInfo.maxAgreedValue,this.sumInsuredAmount=this.quotationResponseModel.kurnia?.suggestedPremium.sumInsured,this.ncdDiscount=this.quotationResponseModel.kurnia?.suggestedPremium.ncdAmount,this.quotationId=this.quotationResponseModel.kurnia?.policy.insuranceCompanyQuotationId,this.policyStartDate=this.quotationResponseModel.kurnia?.policy.policyStartDate,this.policyEndDate=this.quotationResponseModel.kurnia?.policy.policyEndDate,this.selectedProductCode=this.quotationResponseModel.kurnia?.selectedProductCode,this.quotationRequestModel.productCode=this.selectedProductCode):this.selectedInsurance==ar.d.CHUBB&&(this.basicPremium=this.quotationResponseModel.chubb?.suggestedPremium.basicPremium,this.minAgreedValue=this.quotationResponseModel.chubb?.vehicleValueInfo.minAgreedValue,this.maxAgreedValue=this.quotationResponseModel.chubb?.vehicleValueInfo.maxAgreedValue,this.sumInsuredAmount=this.quotationResponseModel.chubb?.suggestedPremium.sumInsured,this.ncdDiscount=this.quotationResponseModel.chubb?.suggestedPremium.ncdAmount,this.quotationId=this.quotationResponseModel.chubb?.policy.insuranceCompanyQuotationId,this.policyStartDate=this.quotationResponseModel.chubb?.policy.policyStartDate,this.policyEndDate=this.quotationResponseModel.chubb?.policy.policyEndDate,this.selectedProductCode=this.quotationResponseModel.chubb?.selectedProductCode,this.quotationRequestModel.productCode=this.selectedProductCode);var n=this.allDriverPremium;this.isAllDriversChecked||(n=0);var u=this.llopPremium;this.isLlopChecked||(u=0);var v=this.windScreenPremium;this.isWindScreenChecked||(v=0);var E=this.getRoadTaxDeliveryService(),fe=this.getRoadTaxAmount(),Ve=this.getRoadTaxRunnerService();this.extraCoveragesAmount=u+n+this.specialPerilsPremium+this.allRiderPremium+v,this.grossPremium=Math.round(100*(this.basicPremium+this.loading-this.ncdDiscount+this.extraCoveragesAmount+Number.EPSILON))/100,this.commission=Math.round(100*(.1*this.grossPremium+Number.EPSILON))/100,this.serviceTax=Math.round(100*(.08*this.grossPremium+Number.EPSILON))/100,this.totalPremium=this.grossPremium+this.serviceTax+this.stampDuty,this.totalAmount=this.grossPremium+this.serviceTax+fe+this.stampDuty+Ve+E,this.isVehicleSumInsuredChanged=!0,this.isWindscreenSumInsuredChanged=!0,this.vehicleform.get("sumInsured").setValue(this.sumInsuredAmount,{emitEvent:!1}),this.vehicleform.get("sumInsured").setValidators([ut.kI.required,ut.kI.min(this.minAgreedValue),ut.kI.max(this.maxAgreedValue)]),this.vehicleform.get("sumInsured").updateValueAndValidity()}getRoadTaxAmount(){var n=this.roadTaxAmount;return this.isRoadTaxChecked||(n=0),n}getRoadTaxRunnerService(){var n=this.roadTaxRunnerService;return this.isRoadTaxChecked||(n=0),this.roadTaxSettings.runnerFeeWaivedWithInsurance&&(n=0),n}getRoadTaxDeliveryService(){var n=this.roadTaxDeliveryService;return this.isRoadTaxChecked||(n=0),(this.isDigitalRoadTaxSelected()||this.roadTaxSettings.deliveryFeeWaivedWithInsurance)&&(n=0),n}getAllDriverPremium(){!this.isCarSelected()||(this.allDriverPremium=0,this.isAllDriversChecked=!1,this.isAllDriversDisabled=!1,this.selectedInsurance==ar.d.ZURICH?this.isCompanySelected()?(this.isAllDriversChecked=!0,this.isAllDriversDisabled=!0,this.allDriverPremium=30):this.allDriverPremium=20:this.selectedInsurance==ar.d.KURNIA?(this.isCompanySelected()&&"COMP"==this.selectedProductCode&&(this.allDriverPremium=50),this.isAllDriversChecked=!0,this.isAllDriversDisabled=!0):this.selectedInsurance==ar.d.CHUBB?this.isCompanySelected()&&(this.isAllDriversChecked=!0,this.isAllDriversDisabled=!0):this.selectedInsurance==ar.d.GENERALI&&this.isCompanySelected()&&(this.isAllDriversChecked=!0,this.isAllDriversDisabled=!0))}getAllRiderPremium(){!this.isMotorcycleSelected()||(this.allRiderPremium=0,this.isAllRidersChecked=!1,this.isAllRidersDisabled=!1,this.isAllRiderCompulsory=!1,this.isZurichSelected()?this.quotationResponseModel.zurich.suggestedPremium.allRiderAmt>0&&(this.allRiderPremium=this.quotationResponseModel.zurich.suggestedPremium.allRiderAmt,this.isAllRidersChecked=!0,this.isAllRidersDisabled=!0,this.isAllRiderCompulsory=!0):this.isKurniaSelected()&&this.quotationResponseModel.kurnia.suggestedPremium.allRiderAmt>0&&(this.allRiderPremium=this.quotationResponseModel.kurnia.suggestedPremium.allRiderAmt,this.isAllRidersChecked=!0,this.isAllRidersDisabled=!0,this.isAllRiderCompulsory=!0))}reCalculateGeneraliAdditionalCoveragePremium(){this.spinner.show(),this.quotationRequestModel.referenceNumber=this.quotationResponseModel.generali.referenceNumber,this.quotationRequestModel.productCode=this.selectedProductCode,this.GeneraliApiService.GetQuotation(this.quotationRequestModel).subscribe(n=>{this.quotationResponseModel.generali=n.generali,this.quotationResponseModel.generali.extraCoverages?.some(u=>u.coverageName==Cn.SPECIAL_PERILS)&&(this.specialPerilsPremium=this.quotationResponseModel.generali.extraCoverages?.find(u=>u.coverageName==Cn.SPECIAL_PERILS)?.coveragePremium),this.quotationResponseModel.generali.extraCoverages?.some(u=>u.coverageName==Cn.ALL_DRIVERS)&&(this.allDriverPremium=this.quotationResponseModel.generali.extraCoverages?.find(u=>u.coverageName==Cn.ALL_DRIVERS)?.coveragePremium),this.quotationResponseModel.generali.extraCoverages?.some(u=>u.coverageName==Cn.ALL_RIDERS)&&(this.allRiderPremium=this.quotationResponseModel.generali.extraCoverages?.find(u=>u.coverageName==Cn.ALL_RIDERS)?.coveragePremium),this.quotationResponseModel.generali.extraCoverages?.some(u=>u.coverageName==Cn.WINDSCREEN)&&(this.windScreenPremium=this.quotationResponseModel.generali.extraCoverages?.find(u=>u.coverageName==Cn.WINDSCREEN)?.coveragePremium),this.calculatePremium(),this.spinner.hide()})}reCalculateZurichAdditionalCoveragePremium(){this.spinner.show(),this.quotationRequestModel.referenceNumber=this.quotationResponseModel.zurich.referenceNumber,this.zurichApiService.GetQuotation(this.quotationRequestModel).subscribe(n=>{this.quotationResponseModel.zurich=n.zurich,this.quotationResponseModel.zurich.extraCoverages.some(u=>u.coverageName==Cn.ALL_DRIVERS)&&(this.allDriverPremium=this.chubbCoveragesResponseModel.find(u=>u.coverageName==Cn.ALL_DRIVERS)?.coveragePremium),this.calculatePremium(),this.spinner.hide()})}reCalculateEtiqaAdditionalCoveragePremium(){this.spinner.show(),this.etiqaAdditionalCoverageRequestModel.qqId=this.quotationId;var n=[],u=[],v=[];this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.WINDSCREEN)&&(u.push("B089"),v.push(this.windScreenform.get("windScreenSumInsured").value)),this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.SPECIAL_PERILS)&&n.push("C57A"),this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.LLOP)&&n.push("B072"),this.etiqaAdditionalCoverageRequestModel.code=n.toString(),this.etiqaAdditionalCoverageRequestModel.codeWithSumInsured=u.toString(),this.etiqaAdditionalCoverageRequestModel.sumInsuredAdditionalBenefit=v.toString(),this.etiqaApiService.AdditionalCoverage(this.etiqaAdditionalCoverageRequestModel).subscribe(E=>{this.etiqaAdditionalCoverageResponseModel=E,this.quotationRequestModel.extraCoverages.some(fe=>fe.coverageName==Cn.SPECIAL_PERILS)&&this.etiqaAdditionalCoverageResponseModel.data.additionalBenefit.filter(fe=>"C57A"==fe.code)&&(this.specialPerilsPremium=parseFloat(this.etiqaAdditionalCoverageResponseModel.data.additionalBenefit.find(fe=>"C57A"==fe.code)?.premium)),this.calculatePremium(),this.spinner.hide()})}reCalculateKurniaAdditionalCoveragePremium(){this.spinner.show(),this.kurniaQuickQuoteRequestModel.referenceData=this.quotationResponseModel.kurnia.otherInformation.referenceData,this.kurniaQuickQuoteRequestModel.authToken=this.quotationResponseModel.kurnia.otherInformation.authToken,this.kurniaQuickQuoteRequestModel.bearerToken=this.quotationResponseModel.kurnia.otherInformation.bearerToken,this.kurniaQuickQuoteRequestModel.sumInsured=this.quotationRequestModel.sumInsured,this.kurniaQuickQuoteRequestModel.vehicleClass=this.isCarSelected()?"PC":"MC",this.kurniaQuickQuoteRequestModel.scopeOfCover=this.selectedProductCode,this.kurniaQuickQuoteRequestModel.referenceNumber=this.quotationResponseModel.kurnia.referenceNumber,this.quotationRequestModel.referenceNumber=this.quotationResponseModel.kurnia.referenceNumber,this.quotationRequestModel.extraCoverages.some(n=>n.coverageName==Cn.WINDSCREEN)&&this.kurniaQuickQuoteRequestModel.extraCoverageList.push({extraCoverageCode:"89",extraCoverageSumInsured:this.windScreenform.get("windScreenSumInsured").value}),this.quotationRequestModel.extraCoverages.some(n=>n.coverageName==Cn.LLOP)&&this.kurniaQuickQuoteRequestModel.extraCoverageList.push({extraCoverageCode:"72"}),this.quotationRequestModel.extraCoverages.some(n=>n.coverageName==Cn.SPECIAL_PERILS)&&this.kurniaQuickQuoteRequestModel.extraCoverageList.push({extraCoverageCode:"57"}),this.kurniaApiService.GetQuickQuote(this.kurniaQuickQuoteRequestModel).subscribe(n=>{this.quotationResponseModel.kurnia.suggestedPremium=n.suggestedPremium,this.kurniaCoveragesResponseModel=n.extraCoverages,this.kurniaCoveragesResponseModel.some(u=>u.coverageName==Cn.SPECIAL_PERILS)&&(this.specialPerilsPremium=this.kurniaCoveragesResponseModel.find(u=>u.coverageName==Cn.SPECIAL_PERILS)?.coveragePremium),this.kurniaCoveragesResponseModel.some(u=>u.coverageName==Cn.WINDSCREEN)&&(this.windScreenPremium=this.kurniaCoveragesResponseModel.find(u=>u.coverageName==Cn.WINDSCREEN)?.coveragePremium),this.kurniaCoveragesResponseModel.some(u=>u.coverageName==Cn.ALL_DRIVERS)&&(this.allDriverPremium=this.kurniaCoveragesResponseModel.find(u=>u.coverageName==Cn.ALL_DRIVERS)?.coveragePremium),this.calculatePremium(),this.spinner.hide()})}reCalculateChubbAdditionalCoveragePremium(){if(this.spinner.show(),this.quotationRequestModel.referenceNumber=this.quotationResponseModel.chubb.referenceNumber,!this.form.invalid){var n=[];this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.WINDSCREEN)&&([].push("VV89"),[].push(this.windScreenform.get("windScreenSumInsured").value)),this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.SPECIAL_PERILS)&&n.push("V057"),this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.LLOP)&&n.push("V072"),this.quotationRequestModel.extraCoverages.some(E=>E.coverageName==Cn.ALL_DRIVERS)&&(this.isCompanySelected()?n.push("VADR"):n.push("VADP")),this.chubbApiService.AdditionalCoverage(this.quotationRequestModel).subscribe(E=>{this.chubbCoveragesResponseModel=E,this.chubbCoveragesResponseModel.some(fe=>fe.coverageName==Cn.SPECIAL_PERILS)&&(this.specialPerilsPremium=this.chubbCoveragesResponseModel.find(fe=>fe.coverageName==Cn.SPECIAL_PERILS)?.coveragePremium),this.chubbCoveragesResponseModel.some(fe=>fe.coverageName==Cn.WINDSCREEN)&&(this.windScreenPremium=this.chubbCoveragesResponseModel.find(fe=>fe.coverageName==Cn.WINDSCREEN)?.coveragePremium),this.chubbCoveragesResponseModel.some(fe=>fe.coverageName==Cn.ALL_DRIVERS)&&(this.allDriverPremium=this.chubbCoveragesResponseModel.find(fe=>fe.coverageName==Cn.ALL_DRIVERS)?.coveragePremium),this.calculatePremium(),this.spinner.hide()})}}reCalculateEtiqaSumInsuredPremium(){this.spinner.show(),!this.form.invalid&&(this.etiqaSumInsuredRequestModel.qqId=this.quotationId,this.etiqaSumInsuredRequestModel.sumInsured=this.vehicleform.get("sumInsured").value.toString(),this.quotationResponseModel.etiqa.suggestedPremium.sumInsured=this.vehicleform.get("sumInsured").value,this.etiqaApiService.SumInsured(this.etiqaSumInsuredRequestModel).subscribe(n=>{this.etiqaSumInsuredResponseModel=n,this.quotationResponseModel.etiqa.suggestedPremium.basicPremium=parseFloat(this.etiqaSumInsuredResponseModel.data.premium.basicPremium.replace(/,/g,"")),this.calculatePremium(),this.spinner.hide()}))}resetValueStep0(){this.quotationRequestModel={dateOfBirth:"",extraCoverages:[]}}resetValueStep1(){this.hideDob=!1,this.isAllRidersChecked=!1,this.isAllDriversChecked=!1,this.isAllDriversDisabled=!1,this.isLlopChecked=!1,this.isLlopDisabled=!1,this.isSpecialPerilsChecked=!1,this.isRoadTaxChecked=!0,this.disablePhysicalRoadTax=!1,this.showRoadTaxRunnerService=!1,this.showRoadTaxDeliveryService=!1,this.isWindScreenChecked=!1,this.windScreenform.get("windScreenSumInsured").enable(),this.isWindscreenDisabled=!1,this.roadTaxAmount=0,this.totalAmount=0,this.ncdDiscount=0,this.extraCoveragesAmount=0,this.grossPremium=0,this.basicPremium=0,this.stampDuty=10,this.serviceTax=0,this.allRiderPremium=0,this.allDriverPremium=0,this.llopPremium=7.5,this.quotationId="",this.windScreenPremium=0,this.specialPerilsPremium=0,this.selectedInsurance="",this.policyStartDate="",this.policyEndDate="",this.calculateRoadTaxRequestModel={},this.sumInsuredAmount=0,this.minAgreedValue=0,this.maxAgreedValue=0,this.resetInsuranceLoadedFlag()}resetInsuranceLoadedFlag(){this.isZurichLoaded=!1,this.isAxaLoaded=!1,this.isEtiqaLoaded=!1,this.isKurniaLoaded=!1,this.isChubbLoaded=!1}planOnChange(n){this.isKurniaSelected()?(this.spinner.show(),this.isMotorcycleSelected()&&"TP"==n.target.value&&(this.quotationRequestModel.sumInsured=0),this.quotationRequestModel.productCode=n.target.value,this.selectedProductCode=n.target.value,this.quotationRequestModel.referenceNumber=this.quotationResponseModel.kurnia.referenceNumber,this.kurniaApiService.GetQuotation(this.quotationRequestModel).subscribe(u=>{this.quotationResponseModel.kurnia.suggestedPremium=u.kurnia.suggestedPremium,this.quotationResponseModel.kurnia.selectedProductCode=u.kurnia.selectedProductCode,this.getAllRiderPremium(),this.calculatePremium(),this.spinner.hide()})):this.isZurichSelected()?(this.spinner.show(),this.quotationRequestModel.productCode=n.target.value,this.selectedProductCode=n.target.value,this.quotationRequestModel.referenceNumber=this.quotationResponseModel.zurich.referenceNumber,"V-TP"==n.target.value&&(this.quotationRequestModel.sumInsured=0),this.zurichApiService.GetQuotation(this.quotationRequestModel).subscribe(u=>{u.success?(this.quotationResponseModel.zurich.suggestedPremium=u.zurich.suggestedPremium,this.quotationResponseModel.zurich.selectedProductCode=u.zurich.selectedProductCode,this.isCarSelected()?"V-FT"==n.target.value?(this.isWindscreenDisabled=!0,this.isWindScreenChecked=!1,this.windScreenPremium=0,this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(v=>v.coverageName!==Cn.WINDSCREEN),this.isSpecialPerilsDisabled=!0,this.isSpecialPerilsChecked=!1,this.specialPerilsPremium=0,this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(v=>v.coverageName!==Cn.SPECIAL_PERILS),this.isAllDriversDisabled=!0,this.isAllDriversChecked=!1,this.allDriverPremium=0,this.quotationRequestModel.extraCoverages=this.quotationRequestModel.extraCoverages.filter(v=>v.coverageName!==Cn.ALL_DRIVERS)):(this.isWindscreenDisabled=!1,this.isSpecialPerilsDisabled=!1,this.isAllDriversDisabled=!1):(this.getAllRiderPremium(),this.displaySumInsured()),this.calculatePremium()):(this.showNotification("Required underwriter approval for this plan, please contact our support to change plan or can proceed with current plan.",u.success),this.selectedProductCode=this.quotationResponseModel.zurich?.selectedProductCode),this.spinner.hide()})):this.isChubbSelected()?(this.spinner.show(),this.quotationRequestModel.productCode=n.target.value,this.selectedProductCode=n.target.value,this.quotationRequestModel.referenceNumber=this.quotationResponseModel.chubb.referenceNumber,this.chubbApiService.GetQuotation(this.quotationRequestModel).subscribe(u=>{this.quotationResponseModel.chubb.suggestedPremium=u.chubb.suggestedPremium,this.quotationResponseModel.chubb.selectedProductCode=u.chubb.selectedProductCode,this.quotationResponseModel.chubb.referenceNumber=u.chubb.referenceNumber,this.quotationRequestModel.referenceNumber=u.chubb.referenceNumber,this.spinner.hide(),this.calculatePremium()})):this.isGeneraliSelected()&&(this.spinner.show(),this.quotationRequestModel.productCode=n.target.value,this.selectedProductCode=n.target.value,this.quotationRequestModel.referenceNumber=this.quotationResponseModel.generali.referenceNumber,this.GeneraliApiService.GetQuotation(this.quotationRequestModel).subscribe(u=>{u.success?(this.quotationResponseModel.generali.suggestedPremium=u.generali.suggestedPremium,this.quotationResponseModel.generali.selectedProductCode=u.generali.selectedProductCode,this.calculatePremium()):(this.showNotification("Required underwriter approval for this plan, please contact our support to change plan or can proceed with current plan.",u.success),this.selectedProductCode=this.quotationResponseModel.generali?.selectedProductCode),this.spinner.hide()}))}replacePasteValue(n){this.isCompanySelected()?this.form.patchValue({id:n.clipboardData.getData("Text").replace(/ /g,"").replace(/{/g,"")}):this.form.patchValue({id:n.clipboardData.getData("Text").replace(/-/g,"").replace(/ /g,"").replace(/{/g,"")}),n.preventDefault()}isMobileNoValid(){return this.form.get("contactNo").value.toString().length<8?(this.form.controls.contactNo.setErrors({contactNoInvalidLength:!0}),!1):(this.form.controls.contactNo.setErrors(null),!0)}isIdValid(){return this.isNricSelected()&&12!=this.form.get("id").value.toString().length?(this.form.controls.id.setErrors({icInvalidLength:!0}),!1):(this.form.controls.id.setErrors(null),!0)}getVehicleType(){return this.isMotorcycleSelected()?"MOTOR":"saloon"==this.vehicleType?"SALOON":"NON-SALOON"}getShipmentType(){return this.isPhysicalRoadTaxSelected()?"COURIER":"DIGITAL"}onProductDisclosureChecked(n){this.isProductDisclosureChecked=!!n.target.checked,this.checkPaymentBtn()}onPolicyWordingChecked(n){this.isPolicyWordingChecked=!!n.target.checked,this.checkPaymentBtn()}onConsentChecked(n){this.isConsentChecked=!!n.target.checked,this.checkPaymentBtn()}checkPaymentBtn(){this.isMakePaymentBtnDisabled=!(this.isProductDisclosureChecked&&this.isConsentChecked&&this.isPolicyWordingChecked)}onVehicleTypeClick(n){this.vehicleType=n,this.calculateRoadTax()}onRoadTaxTypeClick(n){this.roadTaxType=n,this.isPhysicalRoadTaxSelected()?(this.showRoadTaxDeliveryService=!0,this.roadTaxDeliveryService=this.roadTaxSettings.deliveryFeeWithInsurance):this.showRoadTaxDeliveryService=!1,this.calculateRoadTaxCharges(),this.calculatePremium()}getFormValidationErrors(){Object.keys(this.form.controls).forEach(n=>{const u=this.form.get(n).errors;null!=u&&Object.keys(u).forEach(v=>{console.log("Key control: "+n+", keyError: "+v+", err value: ",u[v])})})}updateSelectedInsurance(n){this.UpdateSelectedInsuranceModel.quotationGroupReferenceNumber=this.verifyVehicleReponseModel.quotationGroupReferenceNumber,this.UpdateSelectedInsuranceModel.referenceNumber=n,this.quotationService.UpdateSelectedInsurance(this.UpdateSelectedInsuranceModel).subscribe()}getSelectedInsuranceReferenceNumber(){return this.isZurichSelected()?this.quotationResponseModel.zurich.referenceNumber:this.isChubbSelected()?this.quotationResponseModel.chubb.referenceNumber:this.isEtiqaSelected()?this.quotationResponseModel.etiqa.referenceNumber:this.isKurniaSelected()?this.quotationResponseModel.kurnia.referenceNumber:this.isGeneraliSelected()?this.quotationResponseModel.generali.referenceNumber:void 0}SearchCustomer(){this.searchModel.identity=this.form.get("id").value.trim(),this.searchModel.registrationNo=this.form.get("vehicleNo").value.trim(),this.customerApiService.getCustomerList(this.searchModel).subscribe(n=>{n.entity.items.length>0?(this.form.patchValue({contactNo:n.entity.items[0].contactNo1},{emitEvent:!1}),this.form.patchValue({postcode:n.entity.items[0].postcode},{emitEvent:!1}),this.form.patchValue({email:n.entity.items[0].email},{emitEvent:!1})):(this.form.patchValue({contactNo:""},{emitEvent:!1}),this.form.patchValue({postcode:""},{emitEvent:!1}),this.form.patchValue({email:""},{emitEvent:!1}))})}copySummary(){var n=this;return(0,Zs.Z)(function*(){var u="",v="";if((n.isLlopChecked||n.isAllRidersChecked||n.isSpecialPerilsChecked)&&(u="*Extra Coverages*\n",n.isLlopChecked&&(u=u+"- LLOP: RM "+n.llopPremium.toLocaleString("en-US")+"\n"),n.isAllDriversChecked&&(u=u+"- All Authorised Drivers: RM "+n.allDriverPremium.toLocaleString("en-US")+"\n"),n.isAllRidersChecked&&(u=u+"- All Riders: RM "+n.allRiderPremium.toLocaleString("en-US")+"\n"),n.isSpecialPerilsChecked&&(u=u+"- Special Perils: RM "+n.specialPerilsPremium.toLocaleString("en-US")+"\n"),n.isWindScreenChecked&&(u=u+"- Wind Screen: RM "+n.windScreenPremium.toLocaleString("en-US")+" (Sum Insured: RM "+n.windScreenform.get("windScreenSumInsured").value+")\n")),n.isRoadTaxChecked){v=(v="*Road Tax*\n")+"- Renew for 12 months: RM "+n.getRoadTaxAmount().toLocaleString("en-US")+"\n";var E=n.getRoadTaxDeliveryService(),fe=n.getRoadTaxRunnerService();fe>0&&(v=v+"- Runner to JPJ Service: RM "+fe.toLocaleString("en-US")+"\n"),E>0&&(v=v+"- Delivery Service: RM "+E.toLocaleString("en-US")+"\n")}var Ve="*"+n.selectedInsurance+" - "+n.verifyVehicleReponseModel.vehicleInfo.registrationNo+"*\nSum Insured: RM "+n.sumInsuredAmount.toLocaleString("en-US")+"\nPremium: RM "+n.basicPremium.toLocaleString("en-US")+"\nNCD: -RM "+n.ncdDiscount.toLocaleString("en-US")+"("+n.ncdPerc+"% NCD)\n"+u+"======================\nGross Premium: RM "+n.grossPremium.toLocaleString("en-US")+"\nService Tax(8%): RM "+n.serviceTax.toLocaleString("en-US")+"\nStamp Duty: RM "+n.stampDuty+"\n"+v+"======================\n*Total: RM "+n.totalAmount.toLocaleString("en-US")+"*\n======================\n";const $e=new Blob([Ve],{type:"text/plain"});yield navigator.clipboard.write([new ClipboardItem({[$e.type]:$e})]),n.showNotification("Copy to clipboard",!0)})()}getInsuranceCompanyFullName(){return this.isChubbSelected()?"Chubb Insurance Malaysia Berhad":this.isGeneraliSelected()?"Generali Insurance Malaysia Berhad\u2019s":this.isZurichSelected()?"Zurich General Insurance Malaysia":this.isKurniaSelected()?"Liberty General Insurance Berhad":void 0}getInsuranceCompanyPrivacyPolicyLink(){return this.isChubbSelected()?"https://www.chubb.com/us-en/online-privacy-policy.html":this.isGeneraliSelected()?"https://www.generali.com.my/data-privacy-notice":this.isZurichSelected()?"https://www.zurich.com.my/en/customer-hub/show-me-more-info/personal-data-protection-notice":this.isKurniaSelected()?"https://www.kurnia.com/privacy-notice/Privacy-Notice-Eng":void 0}getInsuranceCompanyLink(){return this.isChubbSelected()?"https://www.chubb.com/":this.isGeneraliSelected()?"https://www.generali.com.my/":this.isZurichSelected()?"https://www.zurich.com.my/en/customer-hub/i-want-to-get-in-touch/locate-a-branch":this.isKurniaSelected()?"https://www.kurnia.com/":void 0}getInsuranceCompanyShortName(){return this.isChubbSelected()?"Chubb":this.isGeneraliSelected()?"Generali":this.isZurichSelected()?"Zurich":void 0}isCarSelected(){return"Car"==this.form.get("type").value}isMotorcycleSelected(){return"Motorcycle"==this.form.get("type").value}isCompanySelected(){return"Company"==this.form.get("idType").value}isPassportSelected(){return"Passport"==this.form.get("idType").value}isNricSelected(){return"NRIC"==this.form.get("idType").value}isZurichSelected(){return this.selectedInsurance==ar.d.ZURICH}isChubbSelected(){return this.selectedInsurance==ar.d.CHUBB}isGeneraliSelected(){return this.selectedInsurance==ar.d.GENERALI}isKurniaSelected(){return this.selectedInsurance==ar.d.KURNIA}isEtiqaSelected(){return this.selectedInsurance==ar.d.ETIQA}isPhysicalRoadTaxSelected(){return"Physical"==this.roadTaxType}isDigitalRoadTaxSelected(){return"Digital"==this.roadTaxType}displaySumInsured(){return!!this.isCarSelected()||(this.isGeneraliSelected()&&this.isMotorcycleSelected()?"MY|CO"==this.selectedProductCode:this.isZurichSelected()&&this.isMotorcycleSelected()?"V-TP"!=this.quotationResponseModel.zurich?.selectedProductCode||(this.vehicleform.patchValue({suminsured:0},{emitEvent:!1}),!1):void 0)}displayLLOP(){return this.isCarSelected()}displayWindScreen(){return!!this.isCarSelected()&&!this.isCarThirdPartyFireAndTheftProductSelected()}displayAllDrivers(){return!!this.isCarSelected()&&(this.isChubbSelected()&&this.isCompanySelected()&&(this.isAllDriversDisabled=!0,this.isAllDriversChecked=!0),!this.isCarThirdPartyFireAndTheftProductSelected())}displaySpecialPerils(){return!!this.isCarSelected()&&!this.isCarThirdPartyFireAndTheftProductSelected()}isCarThirdPartyFireAndTheftProductSelected(){if(this.isCarSelected()){if(this.isGeneraliSelected())return"MX|TF"==this.quotationResponseModel.generali?.selectedProductCode;if(this.isKurniaSelected())return"TPFT"==this.quotationResponseModel.kurnia?.selectedProductCode;if(this.isZurichSelected())return"V-FT"==this.quotationResponseModel.zurich?.selectedProductCode}}isMotorcycleThirdPartyFireProductSelected(){if(this.isMotorcycleSelected()){if(this.isGeneraliSelected())return"MY|TP"==this.quotationResponseModel.generali?.selectedProductCode;if(this.isKurniaSelected())return"TP"==this.quotationResponseModel.kurnia?.selectedProductCode;if(this.isZurichSelected())return"V-TP"==this.quotationResponseModel.zurich?.selectedProductCode}}isLoginAsAdmin(){var n=null!=this.currentUser?.name;return n||this.form.patchValue({source:"0"}),n}submitQuotation(){if(this.pdfSubmitted=!0,this.personalDetailsForm.invalid)return;this.spinner.show();var n=this.getRoadTaxDeliveryService(),u=this.getRoadTaxAmount(),v=this.getRoadTaxRunnerService();const E=(new s.LE).set("accessToken","eTdy1nT7TcOTp7LCDISfNteHWpZHketK").set("module","/sales/insert").set("clientIdNo",this.form.get("id").value.trim()).set("clientIdType",this.form.get("idType").value.toUpperCase().trim()).set("clientName",this.personalDetailsForm.get("name").value.trim()).set("contactNo",this.personalDetailsForm.get("contactNo1").value.trim()).set("vehicleType",this.getVehicleType()).set("vehicleNo",this.form.get("vehicleNo").value.trim()).set("quoteProvider",this.selectedInsurance).set("premAmount",this.totalAmount-u-v).set("roadTaxMonth",this.isRoadTaxChecked?12:0).set("roadTaxAmount",u.toString()).set("shipmentType",this.getShipmentType()).set("shipmentFee",n.toString()).set("deliveryAddress",this.personalDetailsForm.get("address1").value.trim()+" "+this.personalDetailsForm.get("address2").value.trim()+this.personalDetailsForm.get("postcode").value.trim()).set("notesPublic",this.personalDetailsForm.get("remark").value.trim()).set("insurance",this.generateSummary());fetch("https://bmsroadtax.com/api/v3/index.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:E.toString()}).then(fe=>fe.text()).then(fe=>{let $e=JSON.parse(fe);this.customerInfoModel.name=this.personalDetailsForm.get("name").value.trim(),this.customerInfoModel.email=this.personalDetailsForm.get("email").value.trim(),this.customerInfoModel.contactNo1=this.personalDetailsForm.get("contactNo1").value.trim(),this.customerInfoModel.contactNo2=this.personalDetailsForm.get("contactNo2").value.trim(),this.customerInfoModel.address1=this.personalDetailsForm.get("address1").value.trim(),this.customerInfoModel.address2=this.personalDetailsForm.get("address2").value.trim(),this.customerInfoModel.postcode=this.personalDetailsForm.get("postcode").value.trim(),this.customerInfoModel.state=this.personalDetailsForm.get("state").value.trim(),this.customerInfoModel.remark=this.personalDetailsForm.get("remark").value.trim(),this.customerInfoModel.identity=this.form.get("id").value.trim(),this.customerInfoModel.identityType=this.form.get("idType").value.trim(),this.customerInfoModel.maritalStatus=this.personalDetailsForm.get("maritalStatus").value.trim(),this.vehicleInfoModel.isSaloon="saloon"==this.vehicleType,this.actualPremiumModel={},this.actualPremiumModel.basicPremium=this.basicPremium,this.actualPremiumModel.ncdAmount=this.ncdDiscount,this.actualPremiumModel.windscreen=this.isWindScreenChecked?this.windScreenPremium:0,this.actualPremiumModel.windscreenSumInsured=this.isWindScreenChecked?this.windScreenform.get("windScreenSumInsured").value:0,this.actualPremiumModel.llop=this.isLlopChecked?this.llopPremium:0,this.actualPremiumModel.allDrivers=this.isAllDriversChecked?this.allDriverPremium:0,this.actualPremiumModel.allRiders=this.isAllRidersChecked?this.allRiderPremium:0,this.actualPremiumModel.specialPerils=this.specialPerilsPremium,this.actualPremiumModel.sumInsured=this.sumInsuredAmount,this.actualPremiumModel.grossPremium=this.grossPremium,this.actualPremiumModel.serviceTax=this.serviceTax,this.actualPremiumModel.stampDuty=this.stampDuty,this.actualPremiumModel.loading=this.loading,this.actualPremiumModel.quotationTotal=this.totalAmount-u-n-v,this.actualPremiumModel.roadTaxType=this.isPhysicalRoadTaxSelected()?0:1,this.actualPremiumModel.roadTaxRenewal=u,this.actualPremiumModel.roadTaxRenewalMonth=12,this.actualPremiumModel.roadTaxDeliveryService=n,this.actualPremiumModel.roadTaxRunnerService=v,this.actualPremiumModel.shippingOption=1,this.actualPremiumModel.totalPaid=this.actualPremiumModel.quotationTotal,this.agentModel={},null!=this.currentUser&&null!=this.currentUser&&"Agent"==this.currentUser.role&&(this.agentModel.agentId=this.currentUser.id),this.quotationResponseModel.customerInfo=this.customerInfoModel,this.quotationResponseModel.agentInfo=this.agentModel,this.quotationResponseModel.vehicleInfo=this.vehicleInfoModel,this.selectedInsurance==ar.d.ZURICH?(this.quotationResponseModel.zurich.actualPremium=this.actualPremiumModel,this.quotationResponseModel.zurich.bmsOrderNo=$e.data.orderNo,this.quotationResponseModel.zurich.bmsSalesId=$e.data.saleId):this.selectedInsurance==ar.d.ETIQA?(this.quotationResponseModel.etiqa.actualPremium=this.actualPremiumModel,this.quotationResponseModel.etiqa.bmsOrderNo=$e.data.orderNo,this.quotationResponseModel.etiqa.bmsSalesId=$e.data.saleId):this.selectedInsurance==ar.d.CHUBB?(this.quotationResponseModel.chubb.actualPremium=this.actualPremiumModel,this.quotationResponseModel.chubb.bmsOrderNo=$e.data.orderNo,this.quotationResponseModel.chubb.bmsSalesId=$e.data.saleId):this.selectedInsurance==ar.d.GENERALI?(this.quotationResponseModel.generali.actualPremium=this.actualPremiumModel,this.quotationResponseModel.generali.bmsOrderNo=$e.data.orderNo,this.quotationResponseModel.generali.bmsSalesId=$e.data.saleId):this.selectedInsurance==ar.d.KURNIA&&(this.quotationResponseModel.kurnia.actualPremium=this.actualPremiumModel,this.quotationResponseModel.kurnia.bmsOrderNo=$e.data.orderNo,this.quotationResponseModel.kurnia.bmsSalesId=$e.data.saleId),this.quotationService.UpdatePayment(this.quotationResponseModel).subscribe(zt=>{this.spinner.hide(),window.location.href="https://bmsroadtax.com/#order/"+$e.data.orderNo})}).catch(fe=>{this.spinner.hide(),console.log(fe),this.showNotification("Payment gateway error, please contact support",!1)})}generateSummary(){return JSON.stringify({sumInsured:this.sumInsuredAmount.toLocaleString("en-US"),basicPremium:this.basicPremium.toLocaleString("en-US"),loading:this.loading.toLocaleString("en-US"),ncd:this.ncdDiscount.toLocaleString("en-US"),extraCoverages:{allRider:this.isAllRidersChecked?this.allRiderPremium.toLocaleString("en-US"):0,allDriver:this.isAllDriversChecked?this.allDriverPremium.toLocaleString("en-US"):0,specialPerils:this.specialPerilsPremium.toLocaleString("en-US"),llop:this.isLlopChecked?this.llopPremium.toLocaleString("en-US"):0,lltp:0,eHailing:0,bettermentWaiver:0,thailandExtension:0,cart:0,windscreen:this.windScreenPremium.toLocaleString("en-US"),windscreenSumInsured:this.isWindScreenChecked?this.windScreenform.get("windScreenSumInsured").value:0},personalAccident:0,personalAccidentPlan:"",grossPremium:this.grossPremium.toLocaleString("en-US"),commission:this.commission.toLocaleString("en-US"),serviceTax:this.serviceTax.toLocaleString("en-US"),stampDuty:this.stampDuty.toLocaleString("en-US"),NettPremium:this.totalPremium.toLocaleString("en-US")})}vehicleTypeOnChange(n){this.verifyVehicleReponseModel.vehicleInfo.isSaloon="true"==n,this.calculateRoadTax()}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(b2.C),e.Y36(n3.z),e.Y36(lo),e.Y36($c),e.Y36(M2),e.Y36(Qc),e.Y36(Rr._),e.Y36(ut.QS),e.Y36(fa.t2),e.Y36(la),e.Y36(Ua.Q),e.Y36(Al.dD),e.Y36(y.gz),e.Y36(Ua.Q),e.Y36(y.F0),e.Y36(r3.Yv),e.Y36(o3.$),e.Y36(qc.K),e.Y36(sn.tT),e.Y36(o.Dx))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-quotation-policy"]],decls:38,vars:15,consts:[[1,""],["class","company-header text-center",4,"ngIf"],[1,"main","d-flex","align-items-center"],[1,"container"],["bdColor","rgba(0, 0, 0, 0.8)","size","medium","color","#fff","type","square-jelly-box",3,"fullScreen"],[2,"color","white"],[1,"row"],[1,"col-md-3"],[1,"col-md-5"],["href","https://bmsroadtax.com"],["width","100px","src","assets/img/bms-logo.png"],[2,"font-weight","bold","padding-left","10px"],[1,"card"],[1,"card-header"],[1,"card-body"],["nzSize","small",3,"nzCurrent"],[3,"nzTitle"],[4,"ngIf"],["class","steps-content",4,"ngIf"],[2,"text-align","center"],[1,"company-header","text-center"],[1,"btn","change-company"],["href","#/dashboard","target","_blank"],[1,"steps-content"],[1,"col-md-10","mx-auto"],[3,"formGroup"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],[1,"col-md-3","col-form-label"],[1,"col-md-8"],["formControlName","type",1,"form-control"],["value","Car"],["value","Motorcycle"],[1,"require-asterisk"],["type","text","oninput","this.value = this.value.toUpperCase()","formControlName","vehicleNo","maxlength","8","placeholder","e.g: WMC1234","required","",1,"form-control",3,"ngClass","keypress"],["class","invalid-feedback",4,"ngIf"],["formControlName","idType",1,"form-control",3,"change"],["value","NRIC"],["value","Passport"],["value","Army"],["value","Police"],["value","Company"],["type","text","maxlength","14","formControlName","id",1,"form-control","capitalise",3,"mask","dropSpecialCharacters","placeholder","ngClass","keypress"],[2,"color","red","font-weight","bold"],["style","text-align: center;",4,"ngIf"],["type","text","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","postcode","placeholder","e.g: 68000","maxlength","5",1,"form-control",3,"ngClass"],["type","text","maxlength","12","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","contactNo","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["type","text","maxlength","50","placeholder","e.g: cindy@gmail.com","formControlName","email","email","",1,"form-control",3,"ngClass"],["type","button",1,"btn","btn-block","btn-outline-danger","active",3,"click"],[2,"font-size","xx-small"],["target","_blank","href","https://bmsroadtax.com/"],["target","_blank","href","https://policies.google.com/privacy"],["target","_blank","href","https://policies.google.com/terms"],["nzBorderless","","nzShowSearch","","formControlName","bypassIsm",1,"form-control",3,"nzShowArrow"],["nzValue","0","nzLabel","No"],["nzValue","1","nzLabel","Yes"],["nzBorderless","","nzShowSearch","","formControlName","source",1,"form-control",3,"nzShowArrow"],["nzValue","0","nzLabel","Online"],["nzValue","4","nzLabel","Walk In"],["nzValue","5","nzLabel","SleekFlow"],[1,"invalid-feedback"],["formControlName","gender",1,"form-control",3,"ngClass"],["value","M"],["value","F"],["formControlName","companyIdType",1,"form-control",3,"change"],["value","old"],["value","new"],[1,"btn","btn-primary",3,"click"],["formControlName","dob","nzInputReadOnly","","nzShowToday","false","nzPlaceHolder","yyyy-mm-dd",1,"form-control",3,"nzDisabledDate","ngClass"],["nzShowSearch","","nzBorderless","","nzPlaceHolder","Select Nationality","placeholder","nz-select Nationality","formControlName","nationality",1,"form-control",3,"ngClass"],["nzValue","Afghanistan","nzLabel","Afghanistan"],["nzValue","Albania","nzLabel","Albania"],["nzValue","Algeria","nzLabel","Algeria"],["nzValue","American Samoa","nzLabel","American Samoa"],["nzValue","Andorra","nzLabel","Andorra"],["nzValue","Angola","nzLabel","Angola"],["nzValue","Anguilla","nzLabel","Anguilla"],["nzValue","Antarctica","nzLabel","Antarctica"],["nzValue","Antigua & Barbuda","nzLabel","Antigua & Barbuda"],["nzValue","Argentina","nzLabel","Argentina"],["nzValue","Armenia","nzLabel","Armenia"],["nzValue","Aruba","nzLabel","Aruba"],["nzValue","Australia","nzLabel","Australia"],["nzValue","Austria","nzLabel","Austria"],["nzValue","Azerbaijan","nzLabel","Azerbaijan"],["nzValue","Bahrain","nzLabel","Bahrain"],["nzValue","Bangladesh","nzLabel","Bangladesh"],["nzValue","Barbados","nzLabel","Barbados"],["nzValue","Barcelona Espana","nzLabel","Barcelona Espana"],["nzValue","Bassas Da India","nzLabel","Bassas Da India"],["nzValue","Belarus","nzLabel","Belarus"],["nzValue","Benin","nzLabel","Benin"],["nzValue","Bermuda","nzLabel","Bermuda"],["nzValue","Bahamas","nzLabel","Bahamas"],["nzValue","Bhutan","nzLabel","Bhutan"],["nzValue","British Indian Ocean Territory","nzLabel","British Indian Ocean Territory"],["nzValue","Belize","nzLabel","Belize"],["nzValue","Baker Island","nzLabel","Baker Island"],["nzValue","Belgium","nzLabel","Belgium"],["nzValue","Bolivia","nzLabel","Bolivia"],["nzValue","Bosnia And Herzegovina","nzLabel","Bosnia And Herzegovina"],["nzValue","Botswana","nzLabel","Botswana"],["nzValue","Bouvet Island","nzLabel","Bouvet Island"],["nzValue","Brazil","nzLabel","Brazil"],["nzValue","Brunei","nzLabel","Brunei"],["nzValue","Burundi","nzLabel","Burundi"],["nzValue","Bulgaria","nzLabel","Bulgaria"],["nzValue","Burkina Faso","nzLabel","Burkina Faso"],["nzValue","British Virgin Islands","nzLabel","British Virgin Islands"],["nzValue","Cambodia","nzLabel","Cambodia"],["nzValue","Canada","nzLabel","Canada"],["nzValue","Cape Verde","nzLabel","Cape Verde"],["nzValue","Cayman Islands","nzLabel","Cayman Islands"],["nzValue","Central African Republic","nzLabel","Central African Republic"],["nzValue","Chad","nzLabel","Chad"],["nzValue","China","nzLabel","China"],["nzValue","Chile","nzLabel","Chile"],["nzValue","Cook Islands","nzLabel","Cook Islands"],["nzValue","Clipperton Island","nzLabel","Clipperton Island"],["nzValue","Cameroon","nzLabel","Cameroon"],["nzValue","Cocos (Keeling) Islands","nzLabel","Cocos (Keeling) Islands"],["nzValue","Congo Democratic Republic","nzLabel","Congo Democratic Republic"],["nzValue","Colombia","nzLabel","Colombia"],["nzValue","Comoros","nzLabel","Comoros"],["nzValue","Congo Republic","nzLabel","Congo Republic"],["nzValue","Costa Rica","nzLabel","Costa Rica"],["nzValue","Cote D'Ivoire","nzLabel","Cote D'Ivoire"],["nzValue","Christmas Island","nzLabel","Christmas Island"],["nzValue","Croatia","nzLabel","Croatia"],["nzValue","Coral Sea Islands","nzLabel","Coral Sea Islands"],["nzValue","Cuba","nzLabel","Cuba"],["nzValue","Cyprus","nzLabel","Cyprus"],["nzValue","Czech Republic","nzLabel","Czech Republic"],["nzValue","Denmark","nzLabel","Denmark"],["nzValue","Djibouti","nzLabel","Djibouti"],["nzValue","Dominica","nzLabel","Dominica"],["nzValue","Dominican Republic","nzLabel","Dominican Republic"],["nzValue","Ecuador","nzLabel","Ecuador"],["nzValue","Egypt","nzLabel","Egypt"],["nzValue","El Savador","nzLabel","El Savador"],["nzValue","England","nzLabel","England"],["nzValue","Equatorial Guinea","nzLabel","Equatorial Guinea"],["nzValue","Eritrea","nzLabel","Eritrea"],["nzValue","Estonia","nzLabel","Estonia"],["nzValue","Ethiophia","nzLabel","Ethiophia"],["nzValue","Europa Island","nzLabel","Europa Island"],["nzValue","Falkland Islands","nzLabel","Falkland Islands"],["nzValue","French Southern & Antarctic Lands","nzLabel","French Southern & Antarctic Lands"],["nzValue","Fiji","nzLabel","Fiji"],["nzValue","Finland","nzLabel","Finland"],["nzValue","France","nzLabel","France"],["nzValue","French Guiana","nzLabel","French Guiana"],["nzValue","Faroe Island","nzLabel","Faroe Island"],["nzValue","French Polynesia","nzLabel","French Polynesia"],["nzValue","Gabon","nzLabel","Gabon"],["nzValue","Gambia","nzLabel","Gambia"],["nzValue","Gaza Strip","nzLabel","Gaza Strip"],["nzValue","Great Britain","nzLabel","Great Britain"],["nzValue","Guadeloupe","nzLabel","Guadeloupe"],["nzValue","Georgia","nzLabel","Georgia"],["nzValue","Germany","nzLabel","Germany"],["nzValue","Ghana","nzLabel","Ghana"],["nzValue","Gibraltar","nzLabel","Gibraltar"],["nzValue","Glorioso Islands","nzLabel","Glorioso Islands"],["nzValue","Greece","nzLabel","Greece"],["nzValue","Greenland","nzLabel","Greenland"],["nzValue","Grenada","nzLabel","Grenada"],["nzValue","Guatemala","nzLabel","Guatemala"],["nzValue","Guinea-Bissau","nzLabel","Guinea-Bissau"],["nzValue","Guernsey","nzLabel","Guernsey"],["nzValue","Guinea","nzLabel","Guinea"],["nzValue","Guam","nzLabel","Guam"],["nzValue","Guyana","nzLabel","Guyana"],["nzValue","Haiti","nzLabel","Haiti"],["nzValue","Hcard Island & Mcdonald Islands","nzLabel","Hcard Island & Mcdonald Islands"],["nzValue","Hong Kong","nzLabel","Hong Kong"],["nzValue","Holy See (Vatican City)","nzLabel","Holy See (Vatican City)"],["nzValue","Honduras","nzLabel","Honduras"],["nzValue","Howland Island","nzLabel","Howland Island"],["nzValue","Hungary","nzLabel","Hungary"],["nzValue","Iceland","nzLabel","Iceland"],["nzValue","Indonesia","nzLabel","Indonesia"],["nzValue","India","nzLabel","India"],["nzValue","Indian Ocean","nzLabel","Indian Ocean"],["nzValue","Isle Of Man","nzLabel","Isle Of Man"],["nzValue","Ireland","nzLabel","Ireland"],["nzValue","Iraq","nzLabel","Iraq"],["nzValue","Israel","nzLabel","Israel"],["nzValue","Italy","nzLabel","Italy"],["nzValue","Ivory Coast","nzLabel","Ivory Coast"],["nzValue","Jamaica","nzLabel","Jamaica"],["nzValue","Jan Mayen","nzLabel","Jan Mayen"],["nzValue","Japan","nzLabel","Japan"],["nzValue","Jarvis Island","nzLabel","Jarvis Island"],["nzValue","Jersey","nzLabel","Jersey"],["nzValue","Johnson Atoll","nzLabel","Johnson Atoll"],["nzValue","Jordan","nzLabel","Jordan"],["nzValue","Juan De Nova Island","nzLabel","Juan De Nova Island"],["nzValue","Kazakhstan","nzLabel","Kazakhstan"],["nzValue","Kenya","nzLabel","Kenya"],["nzValue","Kingman Reef","nzLabel","Kingman Reef"],["nzValue","Kiribati","nzLabel","Kiribati"],["nzValue","Korea North","nzLabel","Korea North"],["nzValue","Korea South","nzLabel","Korea South"],["nzValue","Kuwait","nzLabel","Kuwait"],["nzValue","Kyrgystan","nzLabel","Kyrgystan"],["nzValue","Labuan Malaysia","nzLabel","Labuan Malaysia"],["nzValue","Laos","nzLabel","Laos"],["nzValue","Latvia","nzLabel","Latvia"],["nzValue","Liberia","nzLabel","Liberia"],["nzValue","Lebanon","nzLabel","Lebanon"],["nzValue","Lesotho","nzLabel","Lesotho"],["nzValue","Libya","nzLabel","Libya"],["nzValue","Liechtensten","nzLabel","Liechtensten"],["nzValue","Lithuania","nzLabel","Lithuania"],["nzValue","Luxembourg","nzLabel","Luxembourg"],["nzValue","Macau","nzLabel","Macau"],["nzValue","Madagascar","nzLabel","Madagascar"],["nzValue","Mali","nzLabel","Mali"],["nzValue","Man Isle","nzLabel","Man Isle"],["nzValue","Marshall Islands","nzLabel","Marshall Islands"],["nzValue","Malaysia","nzLabel","Malaysia"],["nzValue","Martinique","nzLabel","Martinique"],["nzValue","Mauritania","nzLabel","Mauritania"],["nzValue","Malawi","nzLabel","Malawi"],["nzValue","Mayotte","nzLabel","Mayotte"],["nzValue","Macedonia","nzLabel","Macedonia"],["nzValue","Mexico","nzLabel","Mexico"],["nzValue","Mongolia","nzLabel","Mongolia"],["nzValue","Micronesia, Federated States","nzLabel","Micronesia, Federated States"],["nzValue","Midway Islands","nzLabel","Midway Islands"],["nzValue","Maldives","nzLabel","Maldives"],["nzValue","Malta","nzLabel","Malta"],["nzValue","Montserrat","nzLabel","Montserrat"],["nzValue","Moldova","nzLabel","Moldova"],["nzValue","Monaco","nzLabel","Monaco"],["nzValue","Morocco","nzLabel","Morocco"],["nzValue","Mozambique","nzLabel","Mozambique"],["nzValue","Mauritius","nzLabel","Mauritius"],["nzValue","Myanmar","nzLabel","Myanmar"],["nzValue","Namibia","nzLabel","Namibia"],["nzValue","Nauru","nzLabel","Nauru"],["nzValue","Navassa Island","nzLabel","Navassa Island"],["nzValue","New Caledonia","nzLabel","New Caledonia"],["nzValue","Nepal","nzLabel","Nepal"],["nzValue","Netherlands Antilles","nzLabel","Netherlands Antilles"],["nzValue","Norfolk Island","nzLabel","Norfolk Island"],["nzValue","Nigeria","nzLabel","Nigeria"],["nzValue","Nicaragua","nzLabel","Nicaragua"],["nzValue","Nieu","nzLabel","Nieu"],["nzValue","Niger","nzLabel","Niger"],["nzValue","Nortehrn Ireland","nzLabel","Nortehrn Ireland"],["nzValue","Northern Mariana Islands","nzLabel","Northern Mariana Islands"],["nzValue","Norway","nzLabel","Norway"],["nzValue","Netherlands","nzLabel","Netherlands"],["nzValue","New Zealand","nzLabel","New Zealand"],["nzValue","Oman","nzLabel","Oman"],["nzValue","Pacific Ocean","nzLabel","Pacific Ocean"],["nzValue","Pakistan","nzLabel","Pakistan"],["nzValue","Palau","nzLabel","Palau"],["nzValue","Palmyra Atoll","nzLabel","Palmyra Atoll"],["nzValue","Panama","nzLabel","Panama"],["nzValue","Paraguay","nzLabel","Paraguay"],["nzValue","Peru","nzLabel","Peru"],["nzValue","Philippines","nzLabel","Philippines"],["nzValue","Pitcairn Islands","nzLabel","Pitcairn Islands"],["nzValue","Papua New Guinea","nzLabel","Papua New Guinea"],["nzValue","Poland","nzLabel","Poland"],["nzValue","Portugal","nzLabel","Portugal"],["nzValue","Paracell Islands","nzLabel","Paracell Islands"],["nzValue","Puerto Rico","nzLabel","Puerto Rico"],["nzValue","Qatar","nzLabel","Qatar"],["nzValue","Reunion","nzLabel","Reunion"],["nzValue","Romania","nzLabel","Romania"],["nzValue","South Africa","nzLabel","South Africa"],["nzValue","Russian Federation","nzLabel","Russian Federation"],["nzValue","Russia","nzLabel","Russia"],["nzValue","Rwanda","nzLabel","Rwanda"],["nzValue","San Marino","nzLabel","San Marino"],["nzValue","Samoa","nzLabel","Samoa"],["nzValue","Saudi Arabia","nzLabel","Saudi Arabia"],["nzValue","Scotland","nzLabel","Scotland"],["nzValue","Senegal","nzLabel","Senegal"],["nzValue","Serbia And Montenegro","nzLabel","Serbia And Montenegro"],["nzValue","Seychelles","nzLabel","Seychelles"],["nzValue","South Georgia & South Sandwich Islands","nzLabel","South Georgia & South Sandwich Islands"],["nzValue","St Vincent & The Grenadines","nzLabel","St Vincent & The Grenadines"],["nzValue","St Helena","nzLabel","St Helena"],["nzValue","Singapore","nzLabel","Singapore"],["nzValue","Saint Lucia","nzLabel","Saint Lucia"],["nzValue","Sierra Leone","nzLabel","Sierra Leone"],["nzValue","Slovakia","nzLabel","Slovakia"],["nzValue","Slovenia","nzLabel","Slovenia"],["nzValue","Solomon Islands","nzLabel","Solomon Islands"],["nzValue","Somalia","nzLabel","Somalia"],["nzValue","Spain","nzLabel","Spain"],["nzValue","Spratly Islands","nzLabel","Spratly Islands"],["nzValue","Sri Lanka","nzLabel","Sri Lanka"],["nzValue","Saint Kitts And Nevis","nzLabel","Saint Kitts And Nevis"],["nzValue","St Lucia","nzLabel","St Lucia"],["nzValue","Sau Tome And Principe","nzLabel","Sau Tome And Principe"],["nzValue","Sudan","nzLabel","Sudan"],["nzValue","Switzerland","nzLabel","Switzerland"],["nzValue","Suriname","nzLabel","Suriname"],["nzValue","Svalbard","nzLabel","Svalbard"],["nzValue","Sweden","nzLabel","Sweden"],["nzValue","Swaziland","nzLabel","Swaziland"],["nzValue","Syria","nzLabel","Syria"],["nzValue","Tajikistan","nzLabel","Tajikistan"],["nzValue","Tanzania","nzLabel","Tanzania"],["nzValue","Taiwan","nzLabel","Taiwan"],["nzValue","Thailand","nzLabel","Thailand"],["nzValue","Turkmenistan","nzLabel","Turkmenistan"],["nzValue","Turks & Caicos Islands","nzLabel","Turks & Caicos Islands"],["nzValue","Togo","nzLabel","Togo"],["nzValue","Tokelau","nzLabel","Tokelau"],["nzValue","Tonga","nzLabel","Tonga"],["nzValue","Trinidad And Tobago","nzLabel","Trinidad And Tobago"],["nzValue","Tromelin Island","nzLabel","Tromelin Island"],["nzValue","Tunisia","nzLabel","Tunisia"],["nzValue","Turkey","nzLabel","Turkey"],["nzValue","Tuvalu","nzLabel","Tuvalu"],["nzValue","United Arab Emirates","nzLabel","United Arab Emirates"],["nzValue","Uganda","nzLabel","Uganda"],["nzValue","United Kingdom","nzLabel","United Kingdom"],["nzValue","Ukraine","nzLabel","Ukraine"],["nzValue","Uruguay","nzLabel","Uruguay"],["nzValue","United States","nzLabel","United States"],["nzValue","Uzbekistan","nzLabel","Uzbekistan"],["nzValue","Vanuatu","nzLabel","Vanuatu"],["nzValue","Venezuela","nzLabel","Venezuela"],["nzValue","Vietnam","nzLabel","Vietnam"],["nzValue","Virgin Islands","nzLabel","Virgin Islands"],["nzValue","Walls And Futuna","nzLabel","Walls And Futuna"],["nzValue","Wake Island","nzLabel","Wake Island"],["nzValue","Wales","nzLabel","Wales"],["nzValue","West Bank","nzLabel","West Bank"],["nzValue","Western Samoa","nzLabel","Western Samoa"],["nzValue","Western Sahara","nzLabel","Western Sahara"],["nzValue","World","nzLabel","World"],["nzValue","World Wide","nzLabel","World Wide"],["nzValue","Yangon","nzLabel","Yangon"],["nzValue","Yemen","nzLabel","Yemen"],["nzValue","Zaire","nzLabel","Zaire"],["nzValue","Zambia","nzLabel","Zambia"],["nzValue","Zimbabwe","nzLabel","Zimbabwe"],["nz-popover","","nzPopoverTitle","","nzPopoverPlacement","top",2,"color","#40a9ff",3,"nzPopoverContent"],["excessContentTemplate",""],["class","col-sm-4",4,"ngIf"],[1,"col-sm-4"],["src","assets/img/insurance/zurich.png",2,"width","140PX"],[1,"col-sm-12"],[1,"callout","callout-info"],[1,"text-muted"],[1,"h4"],[1,"callout","callout-success"],[1,"h5"],[2,"color","red"],["nzGhost",""],["nzHeader","View Benefits","nzActive","false","nzDisabled","false"],[1,"bd-example"],[4,"ngFor","ngForOf"],["target","_blank","href","https://www.zurich.com.my/"],["target","_blank","href","https://www.pidm.gov.my/en"],[2,"min-height","57px"],["type","button","aria-pressed","true",1,"btn","btn-block","btn-outline-danger","active",3,"click"],[1,"h6"],["src","assets/img/insurance/etiqa.png",2,"width","200PX"],["target","_blank","href","https://www.etiqa.com.my/"],["src","assets/img/insurance/generali.png",2,"width","115PX"],["class","callout callout-info",4,"ngIf"],["target","_blank","href","https://api.whatsapp.com/send?phone=60174372270",2,"color","#40a9ff","font-weight","bold"],[2,"min-height","107px"],["src","assets/img/insurance/kurnia.png",2,"width","257PX"],[1,"blinking"],[2,"min-height","85px"],["src","assets/img/insurance/chubb.png",2,"width","160PX"],["target","_blank","href","https://www.chubb.com/"],["nzAccordion",""],["nzHeader","Policy & Vehicle Info","nzActive","true","nzDisabled","false"],["class","row",4,"ngIf"],["class","col-md-6",4,"ngIf"],[1,"col-md-6"],["nzType","inner",3,"nzTitle","nzExtra"],["roadTaxOption",""],["nzType","inner","nzTitle","Legal Liability of Passenger (LLOP)",3,"nzExtra",4,"ngIf"],["llop",""],["nzHeader","Summary","nzActive","true","nzDisabled","false"],[3,"nzData","nzShowPagination"],[2,"border-bottom","none"],[2,"border-bottom","none",";text-align","right"],[2,"border-bottom","1pt solid"],[2,"border-bottom","1pt solid","text-align","right"],["style","background-color: #F0D5D2 !important;;","nzType","inner",4,"ngIf"],[1,"col-6"],[1,"col-md-2","col-form-label"],["class","form-control",3,"ngModel","ngModelChange","change",4,"ngIf"],[1,"form-control",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["nzType","inner","nzTitle","Vehicle Sum Insured"],[1,"col-md-10","col-form-label"],["type","number","formControlName","sumInsured","onkeypress","return event.charCode >= 48 && event.charCode <= 57",1,"form-control",3,"nzStep","nzMax","nzMin","ngClass"],["nzType","inner","nzTitle","Windscreen",3,"nzExtra"],[1,"col-md-5","col-form-label"],["type","number","formControlName","windScreenSumInsured","onkeypress","return event.charCode >= 48 && event.charCode <= 57",1,"form-control","text-right",3,"ngClass","nzMax","nzMin","nzStep","ngModelChange"],["windScreen",""],[1,"col-md-9","text-right"],[1,"col-md-1","text-right"],["nz-checkbox","",3,"ngModel","disabled","ngModelChange"],[2,"margin-right","11px","margin-left","15px"],[2,"margin-right","30px"],["formControlName","isSaloon",3,"ngModelChange"],["nz-radio","","nzValue","true"],["nz-radio","","nzValue","false"],[3,"nzDisabled","ngModel","ngModelChange"],["nz-radio","","nzValue","Physical"],["nz-radio","","nzValue","Digital"],["nz-checkbox","",3,"ngModel","ngModelChange"],["allDrivers",""],["nzType","inner","nzTitle","All Riders",3,"nzExtra"],["allRiders",""],["nzType","inner","nzTitle","Special Perils",3,"nzExtra"],["specialPerils",""],["nzType","inner","nzTitle","Legal Liability of Passenger (LLOP)",3,"nzExtra"],[2,"border-bottom","1pt solid","text-align","right","min-width","100px"],[2,"border-bottom","none","text-align","right"],["style","color:red;",4,"ngIf"],[2,"text-decoration","line-through"],["style","border-bottom: none;text-align: right;",4,"ngIf"],["nzType","inner",2,"background-color","#F0D5D2 !important"],["nz-popover","","nzPopoverTitle","","nzPopoverPlacement","top",2,"color","red",3,"nzPopoverContent"],[1,"col-3","text-right"],["type","button",1,"me-1","btn","btn-info","ng-star-inserted",3,"click"],["type","text","formControlName","name","placeholder","Key in owner name as per registration\xa0card","required","",1,"form-control","capitalise",3,"ngClass"],["type","text","maxlength","50","formControlName","email","email","",1,"form-control",3,"ngClass"],["type","text","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","contactNo1","maxlength","12","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["type","text","formControlName","contactNo2","maxlength","12","onkeypress","return event.charCode >= 48 && event.charCode <= 57","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["formControlName","maritalStatus",1,"form-control"],["value","single"],["value","married"],["value","divorced"],["value","widowed"],["maxlength","50","formControlName","address1","rows","3","placeholder","Postal\xa0address",1,"form-control","capitalise",3,"ngClass"],["maxlength","50","formControlName","address2","rows","3","placeholder","",1,"form-control","capitalise",3,"ngClass"],["formControlName","state","nzPlaceHolder","Please select","nzShowSearch","","nzBorderless","",1,"form-control",2,"height","auto",3,"nzShowArrow"],["nzValue","Selangor","nzLabel","Selangor"],["nzValue","Kuala Lumpur","nzLabel","Kuala Lumpur"],["nzValue","Johor","nzLabel","Johor"],["nzValue","Kedah","nzLabel","Kedah"],["nzValue","Kelantan","nzLabel","Kelantan"],["nzValue","Melaka","nzLabel","Melaka"],["nzValue","Negeri Sembilan","nzLabel","Negeri Sembilan"],["nzValue","Pahang","nzLabel","Pahang"],["nzValue","Perak","nzLabel","Perak"],["nzValue","Perlis","nzLabel","Perlis"],["nzValue","Pulau Pinang","nzLabel","Pulau Pinang"],["nzValue","Putrajaya","nzLabel","Putrajaya"],["nzValue","Terengganu","nzLabel","Terengganu"],["type","text","maxlength","5","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","postcode","placeholder","e.g: 68000","maxlength","5","required","",1,"form-control",3,"ngClass"],["formControlName","remark","maxlength","1000","rows","3","placeholder","",1,"form-control","capitalise"],["style","font-size: small;",4,"ngIf"],["type","button",1,"btn","btn-block","btn-outline-danger","active",3,"disabled","click"],[2,"font-size","small"],["type","checkbox",2,"vertical-align","bottom","zoom","1.5"],["type","checkbox",2,"vertical-align","bottom","zoom","1.5",3,"change"],["target","_blank",3,"href"],["type","checkbox",2,"vertical-align","middle","zoom","1.5",3,"change"],["href","https://www.zurich.com.my/en/customer-hub/show-me-more-info/personal-data-protection-notice","target","_blank"],["href","https://www.zurich.com.my/-/media/project/zwp/malaysia/docs/insurance-products/zgimb-duty-of-disclosure","target","_blank"],["href","https://clientportal.merimen.com/public/client/clp/ClpDashboard?ins_code=MY_chubb","target","_blank"],["href","https://www.insuranceinfo.com.my","target","_blank"],["href","https://www.chubb.com/content/dam/chubb-sites/chubb-com/my-en/campaign/goinsure/documents/pdf/declaration-authorization.pdf","target","_blank"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0),e.YNc(1,_3,4,0,"div",1),e._UZ(2,"br"),e.TgZ(3,"main",2)(4,"div",3)(5,"ngx-spinner",4)(6,"p",5)(7,"strong"),e._uU(8," Loading... "),e.qZA()()(),e.TgZ(9,"div",6),e._UZ(10,"div",7),e.TgZ(11,"div",8)(12,"a",9),e._UZ(13,"img",10),e.qZA(),e.TgZ(14,"label",11),e._uU(15,"Brilliant Management Services (001166576-D)"),e.qZA()(),e._UZ(16,"div",7),e.qZA(),e._UZ(17,"br"),e.TgZ(18,"div")(19,"div",12)(20,"div",13)(21,"strong"),e._uU(22,"Vehicle Insurance Quotation"),e.qZA()(),e.TgZ(23,"div",14)(24,"nz-steps",15),e._UZ(25,"nz-step",16)(26,"nz-step",16)(27,"nz-step",16)(28,"nz-step",16),e.qZA(),e.YNc(29,C3,4,1,"div",17),e.YNc(30,Y2,100,32,"div",18),e.YNc(31,H3,18,6,"div",18),e.YNc(32,p4,168,95,"div",18),e.YNc(33,Zu,114,34,"div",18),e.qZA()(),e.TgZ(34,"div",19)(35,"label")(36,"Strong"),e._uU(37,"Copyright \xa9\ufe0f 2023 Brilliant Management Services. All Rights Reserved."),e.qZA()()()()()()()),2&n&&(e.xp6(1),e.Q6J("ngIf",u.isLoginAsAdmin()),e.xp6(4),e.Q6J("fullScreen",!0),e.xp6(13),e.Gre("col-md-",u.cardWidth," mx-auto"),e.xp6(6),e.Q6J("nzCurrent",u.current),e.xp6(1),e.s9C("nzTitle",u.step1Title),e.xp6(1),e.s9C("nzTitle",u.step2Title),e.xp6(1),e.s9C("nzTitle",u.step3Title),e.xp6(1),e.s9C("nzTitle",u.step4Title),e.xp6(1),e.Q6J("ngIf",u.isMobileScreen),e.xp6(1),e.Q6J("ngIf",0==u.current),e.xp6(1),e.Q6J("ngIf",1==u.current),e.xp6(1),e.Q6J("ngIf",2==u.current),e.xp6(1),e.Q6J("ngIf",3==u.current))},dependencies:[g.mk,g.sg,g.O5,ut._Y,ut.YN,ut.Kr,ut.Fj,ut.EJ,ut.JJ,ut.JL,ut.Q7,ut.nD,ut.on,ut.On,ut.sg,ut.u,Uo.N8,Uo.Uo,Uo.Om,Uo.p0,Uo.$Z,Gc.Ie,D2,Xc,El.bd,vs.Zv,vs.yH,Pl.Of,Pl.Dg,ja._V,fa.Ro,kl.uw,y3,Il.hx,Wa.Ip,Wa.Vq,g.JJ,g.H9],styles:[".steps-content[_ngcontent-%COMP%] {\n\n min-height: 200px;\n padding-top: 20px;\n }\n\n .steps-action[_ngcontent-%COMP%] {\n margin-top: 24px;\n }\n\n button[_ngcontent-%COMP%] {\n margin-right: 8px;\n }\n\n [nz-radio][_ngcontent-%COMP%] {\n display: block;\n height: 32px;\n line-height: 32px;\n }\n\n .example[_ngcontent-%COMP%] {\n text-align: center;\n background: rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n margin-bottom: 20px;\n padding: 30px 50px;\n margin: 20px 0;\n }\n\n .float[_ngcontent-%COMP%] {\n position: fixed;\n width: 60px;\n height: 60px;\n bottom: 20px;\n right: 20px;\n background-color: #25d366;\n color: #FFF;\n border-radius: 50px;\n text-align: center;\n font-size: 30px;\n box-shadow: 2px 2px 3px #999;\n z-index: 100;\n }\n\n .blinking[_ngcontent-%COMP%] {\n animation: blinkingText 0.8s infinite;\n }\n\n @keyframes blinkingText {\n 0% {\n color: red;\n }\n\n 10% {\n color: red;\n }\n\n 20% {\n color: red;\n }\n\n 30% {\n color: red;\n }\n\n 40% {\n color: red;\n }\n\n 50% {\n color: transparent;\n }\n\n 60% {\n color: red;\n }\n\n 70% {\n color: red;\n }\n\n 80% {\n color: red;\n }\n\n 90% {\n color: red;\n }\n\n 100% {\n color: red;\n }\n }"]}),a})();var l6=p(94481),Uu=p(93917);function Aa(a,c){1&a&&(e.TgZ(0,"div",22)(1,"label",23)(2,"a",24),e._uU(3,"Dashboard"),e.qZA()()())}function y1(a,c){if(1&a&&(e.TgZ(0,"div"),e._UZ(1,"br"),e.TgZ(2,"strong"),e._uU(3),e.qZA()()),2&a){const n=e.oxw();e.xp6(3),e.hij(" ",n.mobileStepTitle,"")}}function c6(a,c){1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Bypass ISM"),e.qZA()(),e.TgZ(4,"div",31)(5,"nz-select",50),e._UZ(6,"nz-option",51)(7,"nz-option",52),e.qZA()()()),2&a&&(e.xp6(5),e.Q6J("nzShowArrow",!0))}function v4(a,c){1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Source"),e.qZA()(),e.TgZ(4,"div",31)(5,"nz-select",53),e._UZ(6,"nz-option",54)(7,"nz-option",55)(8,"nz-option",56),e.qZA()()()),2&a&&(e.xp6(5),e.Q6J("nzShowArrow",!0))}function _1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Registration no is required"),e.qZA())}function y4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,_1,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.vehicleNo.errors.required)}}function C1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Company ID Type"),e.qZA()(),e.TgZ(4,"div",31)(5,"select",58),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.companyIdtypeOnChange(v))}),e.TgZ(6,"option",59),e._uU(7,"Old Company Registration No"),e.qZA(),e.TgZ(8,"option",60),e._uU(9,"New Company Registration No"),e.qZA()()()()}}function u6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Id is required"),e.qZA())}function Ea(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid NRIC"),e.qZA())}function _4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,u6,2,0,"div",17),e.YNc(2,Ea,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.id.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.id.errors.icInvalidLength)}}function b1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",19)(1,"button",61),e.NdJ("click",function(){e.CHM(n);const v=e.oxw(2);return e.KtG(v.SearchCustomer())}),e._uU(2,"Search Customer"),e.qZA(),e._UZ(3,"br")(4,"br"),e.qZA()}}function d6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid poostcode"),e.qZA())}function C4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,d6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==n.f.postcode.errors?null:n.f.postcode.errors.invalidPostCode)}}function h6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Postcode is required"),e.qZA())}function p6(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,h6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.postcode.errors.required)}}function Yl(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function bs(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Contact no should be 8 digits"),e.qZA())}function M1(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,Yl,2,0,"div",17),e.YNc(2,bs,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.contactNo.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.contactNo.errors.contactNoInvalidLength)}}function Ms(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Email is required"),e.qZA())}function Ul(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Invalid Email"),e.qZA())}function jl(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,Ms,2,0,"div",17),e.YNc(2,Ul,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.f.email.errors.required),e.xp6(1),e.Q6J("ngIf",n.f.email.errors.email)}}const bo=function(a){return{"is-invalid":a}};function b4(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",25)(1,"div",26)(2,"form",27),e.YNc(3,c6,8,1,"div",28),e.YNc(4,v4,9,1,"div",28),e.TgZ(5,"div",29)(6,"label",30)(7,"div"),e._uU(8,"Renewal Months"),e.qZA()(),e.TgZ(9,"div",31)(10,"select",32)(11,"option",33),e._uU(12,"12 Months"),e.qZA(),e.TgZ(13,"option",34),e._uU(14,"6 Months"),e.qZA()()()(),e.TgZ(15,"div",29)(16,"label",30)(17,"div"),e._uU(18,"Registration No"),e.TgZ(19,"span",35),e._uU(20,"*"),e.qZA()()(),e.TgZ(21,"div",31)(22,"input",36),e.NdJ("keypress",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.keyPressAlphaNumeric(v))}),e.qZA(),e.YNc(23,y4,2,1,"div",37),e.qZA()(),e.TgZ(24,"div",29)(25,"label",30)(26,"div"),e._uU(27,"ID Type"),e.qZA()(),e.TgZ(28,"div",31)(29,"select",38),e.NdJ("change",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.idtypeOnChange(v))}),e.TgZ(30,"option",39),e._uU(31,"NRIC / MyKad"),e.qZA(),e.TgZ(32,"option",40),e._uU(33,"Passport"),e.qZA(),e.TgZ(34,"option",41),e._uU(35,"Army"),e.qZA(),e.TgZ(36,"option",42),e._uU(37,"Police"),e.qZA(),e.TgZ(38,"option",43),e._uU(39,"Company"),e.qZA()()()(),e.YNc(40,C1,10,0,"div",28),e.TgZ(41,"div",29)(42,"label",30)(43,"div"),e._uU(44,"ID"),e.TgZ(45,"span",35),e._uU(46,"*"),e.qZA()()(),e.TgZ(47,"div",31)(48,"input",44),e.NdJ("paste",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.replacePasteValue(v))})("keypress",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.keyPressAlphaNumeric(v))}),e.qZA(),e.YNc(49,_4,3,2,"div",37),e.qZA()(),e.YNc(50,b1,5,0,"div",45),e.TgZ(51,"div",29)(52,"label",30)(53,"div"),e._uU(54,"Postcode"),e.TgZ(55,"span",35),e._uU(56,"*"),e.qZA()()(),e.TgZ(57,"div",31),e._UZ(58,"input",46),e.YNc(59,C4,2,1,"div",37),e.YNc(60,p6,2,1,"div",37),e.qZA()(),e.TgZ(61,"div",29)(62,"label",30)(63,"div"),e._uU(64,"Mobile Number"),e.TgZ(65,"span",35),e._uU(66,"*"),e.qZA()()(),e.TgZ(67,"div",31),e._UZ(68,"input",47),e.YNc(69,M1,3,2,"div",37),e.qZA()(),e.TgZ(70,"div",29)(71,"label",30)(72,"div"),e._uU(73,"Email"),e.TgZ(74,"span",35),e._uU(75,"*"),e.qZA()()(),e.TgZ(76,"div",31),e._UZ(77,"input",48),e.YNc(78,jl,3,2,"div",37),e.qZA()()(),e.TgZ(79,"div",19)(80,"button",49),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.showModal())}),e._uU(81,"Next"),e.qZA()()()()}if(2&a){const n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.form),e.xp6(1),e.Q6J("ngIf",n.isLoginAsAdmin()),e.xp6(1),e.Q6J("ngIf",n.isLoginAsAdmin()),e.xp6(18),e.Q6J("ngClass",e.VKq(19,bo,n.submitted&&n.f.vehicleNo.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.vehicleNo.errors),e.xp6(17),e.Q6J("ngIf",n.isCompanySelected()),e.xp6(8),e.s9C("mask",n.idMask),e.s9C("placeholder",n.idTextBoxPlaceHolder),e.Q6J("dropSpecialCharacters",n.dropSpecialCharacters)("ngClass",e.VKq(21,bo,n.submitted&&n.f.id.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.id.errors),e.xp6(1),e.Q6J("ngIf",null!=(null==n.currentUser?null:n.currentUser.name)),e.xp6(8),e.Q6J("ngClass",e.VKq(23,bo,n.submitted&&n.f.postcode.errors||(null==n.f.postcode.errors?null:n.f.postcode.errors.invalidPostCode))),e.xp6(1),e.Q6J("ngIf",n.f.postcode.errors),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.postcode.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(25,bo,n.submitted&&n.f.contactNo.errors)),e.xp6(1),e.Q6J("ngIf",n.submitted&&n.f.contactNo.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(27,bo,n.submitted&&n.f.email.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.f.email.errors)}}function z1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," Vehicle Type : "),e.TgZ(2,"strong"),e._uU(3,"Saloon (Sedan / Hatchback / Wagon / Coupe / Convertible)"),e.qZA()())}function S1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1," Vehicle Type : "),e.TgZ(2,"strong"),e._uU(3,"Non-Saloon (MPV / SUV / Pick-Up / Commercial)"),e.qZA()())}function M4(a,c){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,z1,4,0,"div",17),e.YNc(2,S1,4,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.verifyVehicleReponseModel.vehicleInfo.isSaloon),e.xp6(1),e.Q6J("ngIf",!n.verifyVehicleReponseModel.vehicleInfo.isSaloon)}}function x1(a,c){if(1&a&&(e.TgZ(0,"div",6)(1,"div",8),e._uU(2," Manufacturer Year : "),e.TgZ(3,"strong"),e._uU(4),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(4),e.Oqu(n.verifyVehicleReponseModel.vehicleInfo.manufacturingYear)}}function f6(a,c){1&a&&(e.TgZ(0,"strong",74),e._uU(1,"Saloon (Sedan / Hatchback / Wagon / Coupe / Convertible)"),e.qZA())}function ju(a,c){1&a&&(e.TgZ(0,"strong",74),e._uU(1,"Non-Saloon (MPV / SUV / Pick-Up / Commercial)"),e.qZA())}function m6(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"tr")(1,"td",67)(2,"strong"),e._uU(3,"Vehicle Type"),e.qZA(),e._UZ(4,"br"),e.YNc(5,f6,2,0,"strong",84),e.YNc(6,ju,2,0,"strong",84),e.qZA(),e.TgZ(7,"td",72)(8,"nz-radio-group",85),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.vehicleTypeOnChange(v))}),e.TgZ(9,"div",6)(10,"label",86)(11,"strong"),e._uU(12,"Saloon"),e.qZA()(),e.TgZ(13,"label",87)(14,"strong"),e._uU(15,"Non-Saloon"),e.qZA()()()()()()}if(2&a){const n=e.oxw(2);e.xp6(5),e.Q6J("ngIf","true"==n.personalDetailsForm.get("isSaloon").value),e.xp6(1),e.Q6J("ngIf","false"==n.personalDetailsForm.get("isSaloon").value)}}function z4(a,c){if(1&a&&e._UZ(0,"nz-option",90),2&a){const n=c.$implicit;e.Q6J("nzLabel",n.name)("nzValue",n.id)}}function g6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Collection branch is required"),e.qZA())}function S4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,g6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.pdf.selfCollectBranchId.errors.required)}}function x4(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Collection Branch"),e.qZA()(),e.TgZ(4,"div",31)(5,"nz-select",88),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw(2);return e.KtG(E.branchOnChange(v))}),e.YNc(6,z4,1,2,"nz-option",89),e.qZA(),e.YNc(7,S4,2,1,"div",37),e.qZA()()}if(2&a){const n=e.oxw(2);e.xp6(5),e.Q6J("nzShowArrow",!0)("ngClass",e.VKq(4,bo,n.pdfSubmitted&&n.pdf.selfCollectBranchId.errors)),e.xp6(1),e.Q6J("ngForOf",n.branchList),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.selfCollectBranchId.errors)}}function v6(a,c){if(1&a&&(e.TgZ(0,"label"),e._uU(1),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.hij(" / ",n.contactNo2,"")}}function Mo(a,c){if(1&a&&(e.TgZ(0,"div",29)(1,"div",91)(2,"label")(3,"strong"),e._uU(4,"Address:"),e.qZA(),e._uU(5),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"label")(8,"strong"),e._uU(9,"Contact No:"),e.qZA(),e._uU(10),e.qZA(),e.YNc(11,v6,2,1,"label",17),e._UZ(12,"br"),e.TgZ(13,"label")(14,"strong"),e._uU(15,"Whatsapp:"),e.qZA(),e.TgZ(16,"a",92),e._uU(17),e.qZA()(),e._UZ(18,"br"),e.TgZ(19,"label")(20,"strong"),e._uU(21,"Working Hour "),e.qZA()(),e._UZ(22,"div",93)(23,"br"),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(5),e.hij(" ",n.address,""),e.xp6(5),e.hij(" ",n.contactNo1,""),e.xp6(1),e.Q6J("ngIf",""!=n.contactNo2),e.xp6(5),e.MGl("href","https://api.whatsapp.com/send?phone=",n.whatsapp," ",e.LSH),e.xp6(1),e.hij("6",n.whatsapp," "),e.xp6(5),e.Q6J("innerText",n.workingHour)}}function w4(a,c){1&a&&(e.TgZ(0,"div",29)(1,"div",91)(2,"label")(3,"strong",74),e._uU(4,"Kindly download MyJPJ App for your digital road tax, it will reflected in the App within 5-10 minute once payment done."),e.qZA()(),e._UZ(5,"br"),e.qZA()())}function y6(a,c){1&a&&(e.TgZ(0,"div",29)(1,"div",91)(2,"label")(3,"strong",74),e._uU(4,"Our staff will share you the courier[ETA: 2-3 workings day] detail once payment done."),e.qZA()(),e._UZ(5,"br"),e.qZA()())}function Wu(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Name is required"),e.qZA())}function _6(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,Wu,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.name.errors.required)}}function w1(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function T4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,w1,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.contactNo1.errors.required)}}function C6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Mobile Number is required"),e.qZA())}function b6(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,C6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.pdf.contactNo2.errors.required)}}function M6(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Address 1 is required"),e.qZA())}function D4(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,M6,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.pdf.address1.errors.required)}}function z6(a,c){if(1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Address Line 1 "),e.TgZ(4,"span",35),e._uU(5,"*"),e.qZA()()(),e.TgZ(6,"div",31),e._UZ(7,"input",94),e.YNc(8,D4,2,1,"div",37),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("ngClass",e.VKq(2,bo,n.pdfSubmitted&&n.pdf.address1.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.address1.errors)}}function A4(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Address 2 is required"),e.qZA())}function S6(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,A4,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.pdf.address2.errors.required)}}function x6(a,c){if(1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Address Line 2 "),e.TgZ(4,"span",35),e._uU(5,"*"),e.qZA()()(),e.TgZ(6,"div",31),e._UZ(7,"input",95),e.YNc(8,S6,2,1,"div",37),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("ngClass",e.VKq(2,bo,n.pdfSubmitted&&n.pdf.address2.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.address2.errors)}}function E4(a,c){1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"State"),e.qZA()(),e.TgZ(4,"div",31)(5,"nz-select",96),e._UZ(6,"nz-option",97)(7,"nz-option",98)(8,"nz-option",99)(9,"nz-option",100)(10,"nz-option",101)(11,"nz-option",102)(12,"nz-option",103)(13,"nz-option",104)(14,"nz-option",105)(15,"nz-option",106)(16,"nz-option",107)(17,"nz-option",108)(18,"nz-option",109),e.qZA()()()),2&a&&(e.xp6(5),e.Q6J("nzShowArrow",!0))}function P4(a,c){1&a&&(e.TgZ(0,"div"),e._uU(1,"Postcode is required"),e.qZA())}function w6(a,c){if(1&a&&(e.TgZ(0,"div",57),e.YNc(1,P4,2,0,"div",17),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.pdf.postcode.errors.required)}}function ia(a,c){if(1&a&&(e.TgZ(0,"div",29)(1,"label",30)(2,"div"),e._uU(3,"Postcode"),e.TgZ(4,"span",35),e._uU(5,"*"),e.qZA()()(),e.TgZ(6,"div",31),e._UZ(7,"input",110),e.YNc(8,w6,2,1,"div",37),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(7),e.Q6J("ngClass",e.VKq(2,bo,n.pdfSubmitted&&n.pdf.postcode.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.postcode.errors)}}function T1(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div",25)(1,"form",27)(2,"nz-collapse",62)(3,"nz-collapse-panel",63),e.YNc(4,M4,3,2,"div",17),e.TgZ(5,"div",6)(6,"div",8),e._uU(7," Registration No : "),e.TgZ(8,"strong"),e._uU(9),e.qZA()(),e.TgZ(10,"div",8),e._uU(11," Capacity : "),e.TgZ(12,"strong"),e._uU(13),e.qZA()()(),e.TgZ(14,"div",6)(15,"div",8),e._uU(16," Brand : "),e.TgZ(17,"strong"),e._uU(18),e.qZA()(),e.TgZ(19,"div",8),e._uU(20," Model : "),e.TgZ(21,"strong"),e._uU(22),e.qZA()()(),e.YNc(23,x1,5,1,"div",64),e.qZA()(),e._UZ(24,"br"),e.TgZ(25,"nz-collapse",62)(26,"nz-collapse-panel",65)(27,"nz-table",66),e._UZ(28,"thead"),e.TgZ(29,"tbody"),e.YNc(30,m6,16,2,"tr",17),e.TgZ(31,"tr")(32,"td",67)(33,"strong"),e._uU(34," Road Tax Type"),e.qZA()(),e.TgZ(35,"td",68)(36,"nz-radio-group",69),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.roadTaxTypeOnChange(v))}),e.TgZ(37,"div",6)(38,"label",70)(39,"strong"),e._uU(40,"Physical"),e.qZA()(),e.TgZ(41,"label",71)(42,"strong"),e._uU(43,"Digital"),e.qZA()()()()()(),e.TgZ(44,"tr")(45,"td",67)(46,"strong"),e._uU(47,"Shipping Option"),e.qZA()(),e.TgZ(48,"td",72)(49,"nz-radio-group",73),e.NdJ("ngModelChange",function(v){e.CHM(n);const E=e.oxw();return e.KtG(E.shippingOptionOnChange(v))}),e.TgZ(50,"div",6)(51,"label",70)(52,"strong"),e._uU(53,"Delivery"),e.qZA()(),e.TgZ(54,"label",71)(55,"strong"),e._uU(56,"Self Collect"),e.qZA()()()()()(),e.TgZ(57,"tr")(58,"td",67)(59,"strong"),e._uU(60),e.qZA(),e.TgZ(61,"strong",74),e._uU(62),e.qZA()(),e.TgZ(63,"td",68),e._uU(64),e.ALo(65,"currency"),e.qZA()(),e.TgZ(66,"tr")(67,"td",67)(68,"strong"),e._uU(69,"Runner to JPJ Service"),e.qZA()(),e.TgZ(70,"td",72),e._uU(71),e.ALo(72,"currency"),e.qZA()(),e.TgZ(73,"tr")(74,"td",67)(75,"strong"),e._uU(76,"Delivery Service"),e.qZA()(),e.TgZ(77,"td",72),e._uU(78),e.ALo(79,"currency"),e.qZA()(),e.TgZ(80,"tr")(81,"td",67)(82,"strong"),e._uU(83,"Service Charge"),e.qZA()(),e.TgZ(84,"td",72),e._uU(85),e.ALo(86,"currency"),e.qZA()(),e.TgZ(87,"tr"),e._UZ(88,"td",75)(89,"td",76),e.qZA(),e.TgZ(90,"tr")(91,"td",75)(92,"strong"),e._uU(93,"Total Amount"),e.qZA()(),e.TgZ(94,"td",76)(95,"strong"),e._uU(96),e.ALo(97,"currency"),e.qZA()()()()()()(),e._UZ(98,"br"),e.TgZ(99,"div")(100,"nz-collapse",62)(101,"nz-collapse-panel",77),e.YNc(102,x4,8,6,"div",28),e.YNc(103,Mo,24,6,"div",28),e.YNc(104,w4,6,0,"div",28),e.YNc(105,y6,6,0,"div",28),e.TgZ(106,"div",29)(107,"label",30)(108,"div"),e._uU(109,"Receiver Name"),e.TgZ(110,"span",35),e._uU(111,"*"),e.qZA()()(),e.TgZ(112,"div",78),e._UZ(113,"input",79),e.YNc(114,_6,2,1,"div",37),e.qZA()(),e.TgZ(115,"div",29)(116,"label",30)(117,"div"),e._uU(118,"Mobile Number"),e.TgZ(119,"span",35),e._uU(120,"*"),e.qZA()()(),e.TgZ(121,"div",31),e._UZ(122,"input",80),e.YNc(123,T4,2,1,"div",37),e.qZA()(),e.TgZ(124,"div",29)(125,"label",30)(126,"div"),e._uU(127,"Second Mobile Number. "),e.TgZ(128,"label",74),e._uU(129,"[Optional]"),e.qZA()()(),e.TgZ(130,"div",31),e._UZ(131,"input",81),e.YNc(132,b6,2,1,"div",37),e.qZA()(),e.YNc(133,z6,9,4,"div",28),e.YNc(134,x6,9,4,"div",28),e.YNc(135,E4,19,1,"div",28),e.YNc(136,ia,9,4,"div",28),e.TgZ(137,"div",29)(138,"label",30)(139,"div"),e._uU(140,"Remark"),e.qZA()(),e.TgZ(141,"div",31)(142,"textarea",82),e._uU(143," "),e.qZA()()(),e._UZ(144,"div"),e.qZA()(),e._UZ(145,"br"),e.qZA(),e.TgZ(146,"div",6)(147,"div",83)(148,"button",49),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.pre())}),e._uU(149,"Back"),e.qZA()(),e.TgZ(150,"div",83)(151,"button",49),e.NdJ("click",function(){e.CHM(n);const v=e.oxw();return e.KtG(v.makePayment())}),e._uU(152,"Make Payment"),e.qZA()()()()()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.personalDetailsForm),e.xp6(3),e.Q6J("ngIf",!(n.verifyVehicleReponseModel.vehicleInfo.isMotorcycle||null!=n.verifyVehicleReponseModel.vehicleInfo&&n.verifyVehicleReponseModel.vehicleInfo.isWagon)),e.xp6(5),e.Oqu(n.verifyVehicleReponseModel.vehicleInfo.registrationNo),e.xp6(4),e.Oqu(n.capacity),e.xp6(5),e.Oqu(n.brand),e.xp6(4),e.Oqu(n.model),e.xp6(1),e.Q6J("ngIf",n.verifyVehicleReponseModel.vehicleInfo.isMotorcycle),e.xp6(7),e.Q6J("ngIf",null==n.verifyVehicleReponseModel.vehicleInfo?null:n.verifyVehicleReponseModel.vehicleInfo.isWagon),e.xp6(19),e.s9C("nzDisabled",n.disableShippingOption),e.xp6(11),e.hij("",n.roadTaxType," Road Tax"),e.xp6(2),e.hij("(",n.getRenewalMonth()," Months)"),e.xp6(2),e.hij(" ",e.gM2(65,30,n.roadTaxAmount,"RM ","symbol","1.2-2")," "),e.xp6(7),e.hij(" ",e.gM2(72,35,n.runnerService,"RM ","symbol","1.2-2"),""),e.xp6(7),e.hij(" ",e.gM2(79,40,n.deliveryService,"RM ","symbol","1.2-2"),""),e.xp6(7),e.hij(" ",e.gM2(86,45,n.serviceCharge,"RM ","symbol","1.2-2"),""),e.xp6(11),e.Oqu(e.gM2(97,50,n.totalAmount,"RM ","symbol","1.2-2")),e.xp6(6),e.Q6J("ngIf",!n.isDeliverySelected()&&n.isPhysicalRoadTaxSelected()),e.xp6(1),e.Q6J("ngIf",!n.isDeliverySelected()&&""!=n.personalDetailsForm.get("selfCollectBranchId").value),e.xp6(1),e.Q6J("ngIf",!n.isPhysicalRoadTaxSelected()),e.xp6(1),e.Q6J("ngIf",n.isPhysicalRoadTaxSelected()),e.xp6(8),e.Q6J("ngClass",e.VKq(55,bo,n.pdfSubmitted&&n.pdf.name.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.name.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(57,bo,n.pdfSubmitted&&n.pdf.contactNo1.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.contactNo1.errors),e.xp6(8),e.Q6J("ngClass",e.VKq(59,bo,n.pdfSubmitted&&n.pdf.contactNo2.errors)),e.xp6(1),e.Q6J("ngIf",n.pdfSubmitted&&n.pdf.contactNo2.errors),e.xp6(1),e.Q6J("ngIf",n.isDeliverySelected()),e.xp6(1),e.Q6J("ngIf",n.isDeliverySelected()),e.xp6(1),e.Q6J("ngIf",n.isDeliverySelected()),e.xp6(1),e.Q6J("ngIf",n.isDeliverySelected())}}function T6(a,c){1&a&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2,"\u2022 Have a "),e.TgZ(3,"strong",74),e._uU(4,"valid"),e.qZA(),e._uU(5," vehicle insurance"),e.qZA(),e.TgZ(6,"p"),e._uU(7,"\u2022 "),e.TgZ(8,"strong",74),e._uU(9,"Not blacklisted"),e.qZA(),e._uU(10," by JPJ/PDRM"),e.qZA(),e.TgZ(11,"p"),e._uU(12,"\u2022 Road tax "),e.TgZ(13,"strong",74),e._uU(14,"expired not more than 3 years"),e.qZA()(),e.TgZ(15,"p"),e._uU(16,"\u2022 "),e.TgZ(17,"strong",74),e._uU(18,"Not"),e.qZA(),e._uU(19," a "),e.TgZ(20,"strong",74),e._uU(21,"grab car"),e.qZA(),e._uU(22," Road Tax"),e.qZA(),e.TgZ(23,"p"),e._uU(24,"\u2022 Only "),e.TgZ(25,"strong",74),e._uU(26,"FPX"),e.qZA(),e._uU(27," payment is accepted for Road Tax"),e.qZA(),e.BQk())}const $u=[{path:Yc.EMPTY,component:Yu,pathMatch:"full"},{path:"roadtax",component:(()=>{class a{constructor(n,u,v,E,fe,Ve,$e,zt,Ut,Xt){this.insuranceApiService=n,this.roadTaxApiService=u,this.formBuilder=v,this.spinner=E,this.recaptchaV3Service=fe,this.quotationService=Ve,this.messageService=$e,this.branchApiService=zt,this.customerApiService=Ut,this.titleService=Xt,this.isRunnerServiceDisabled=!0,this.isServiceChargeDisabled=!0,this.runnerService=0,this.deliveryService=0,this.serviceCharge=0,this.cardWidth=8,this.current=0,this.idTextBoxPlaceHolder="e.g: 801111141111",this.idMask="000000-00-0000",this.isMobileScreen=!1,this.roadTaxAmount=0,this.totalAmount=0,this.capacity=0,this.brand="",this.model="",this.submitted=!1,this.pdfSubmitted=!1,this.verifyCustomerRequestModel={},this.calculateRoadTaxRequestModel={},this.dropSpecialCharacters=!0,this.paymentResponseModel={},this.roadTaxAddEditModel={},this.step1Title="Enter Details",this.step2Title="Summary",this.step3Title="Delivery Details",this.mobileStepTitle="Step 1: Enter Details",this.isVisible=!1,this.verifyVehicleReponseModel={},this.roadTaxSettings={},this.showRoadTaxRunnerService=!0,this.showRoadTaxDeliveryService=!0,this.branchSearchModel={},this.branchList=[],this.searchModel={},this.disableShippingOption=!1}ngOnInit(){this.titleService.setTitle("Brilliant Management Service"),this.checkIsTokenValid(),this.getBranch(),this.getRoadTaxSettings(),window.screen.width<=412?(this.isMobileScreen=!0,this.step1Title="",this.step2Title=""):(this.step1Title="Enter Details",this.step2Title="Summary"),this.form=this.formBuilder.group({bypassIsm:["0"],source:["2"],type:["Car",[ut.kI.required]],vehicleNo:["",[ut.kI.required]],idType:["NRIC",[ut.kI.required]],id:["",[ut.kI.required]],postcode:["",[ut.kI.required]],contactNo:["",[ut.kI.required]],email:["",[ut.kI.required]],companyIdType:["old"],renewalMonth:["12"]}),this.personalDetailsForm=this.formBuilder.group({name:["",[ut.kI.required]],shippingOption:["1"],roadTaxType:["1"],address1:[""],address2:[""],state:[""],postcode:["",[ut.kI.required]],contactNo1:["",[ut.kI.required]],contactNo2:[""],remark:[""],selfCollectBranchId:[""],isSaloon:["true"]}),(0,ms.V)(this.form,"postcode"),this.disableShippingOption=!0}get pdf(){return this.personalDetailsForm.controls}keyPressAlphaNumeric(n){this.isCompanySelected()?Wc(n):(0,C2.t)(n)}idtypeOnChange(n){"Passport"==n.target.value?(this.idTextBoxPlaceHolder="Enter passport number",this.idMask="",this.dropSpecialCharacters=!0):"Company"==n.target.value?(this.idMask="",this.companyIdMaskingChecking(this.form.get("companyIdType").value)):"Police"==n.target.value||"Army"==n.target.value?(this.idTextBoxPlaceHolder="Enter uniform professional number",this.idMask="",this.dropSpecialCharacters=!0):"NRIC"==n.target.value&&(this.idTextBoxPlaceHolder="e.g: 801111141111",this.idMask="000000-00-0000",this.dropSpecialCharacters=!0),this.form.patchValue({id:""})}onSubmit(){this.spinner.show(),this.submitted=!0,!this.form.invalid&&this.isIdValid()&&this.isMobileNoValid()?this.recaptchaV3Service.execute("importantAction").subscribe(n=>{this.insuranceApiService.VerifyToken(n).subscribe(u=>{u?(this.verifyCustomerRequestModel.regNo=this.form.get("vehicleNo").value,this.verifyCustomerRequestModel.identityType=this.form.get("idType").value,this.verifyCustomerRequestModel.identity=this.form.get("id").value,this.verifyCustomerRequestModel.postCode=this.form.get("postcode").value,this.verifyCustomerRequestModel.email=this.form.get("email").value,this.verifyCustomerRequestModel.contactNo=this.form.get("contactNo").value.toString(),this.verifyCustomerRequestModel.vehicleType=0,this.verifyCustomerRequestModel.state="",this.verifyCustomerRequestModel.requestType="RoadTax",this.verifyCustomerRequestModel.renewalMonth=this.form.get("renewalMonth").value.toString(),this.verifyCustomerRequestModel.bypassIsm="0"!=this.form.get("bypassIsm").value,this.insuranceApiService.VerifyVehicleInfo(this.verifyCustomerRequestModel).subscribe(v=>{if(v.success){if(this.verifyCustomerRequestModel.bypassIsm)return this.spinner.hide(),void this.showNotification("Road tax Submitted",!0);this.verifyVehicleReponseModel=v,this.brand=this.verifyVehicleReponseModel.vehicleInfo.brand,this.model=this.verifyVehicleReponseModel.vehicleInfo.model,this.capacity=this.verifyVehicleReponseModel.vehicleInfo.capacity,this.personalDetailsForm.patchValue({postcode:this.form.get("postcode").value.trim()},{emitEvent:!1}),this.personalDetailsForm.patchValue({contactNo1:this.form.get("contactNo").value.trim()},{emitEvent:!1}),this.personalDetailsForm.patchValue({isSaloon:this.verifyVehicleReponseModel.vehicleInfo.isSaloon.toString()},{emitEvent:!1}),this.personalDetailsForm.patchValue({state:(0,ms.y)(parseInt(this.form.get("postcode").value.trim()))}),this.calculateRoadTaxRequestModel.isSaloon=this.verifyVehicleReponseModel.vehicleInfo.isSaloon,this.calculateRoadTax(),null!=v.message&&""!=v.message&&this.showNotification(v.message,v.success),this.isNricSelected()?this.personalDetailsForm.controls.roadTaxType.enable():(this.personalDetailsForm.patchValue({roadTaxType:"0"}),this.personalDetailsForm.patchValue({shippingOption:"1"}),this.roadTaxTypeOnChange("0",!1),this.personalDetailsForm.controls.roadTaxType.disable()),this.spinner.hide(),this.next()}else this.spinner.hide(),this.showNotification(v.message,v.success)})):this.showNotification("Recaptcha Error",u)})}):this.spinner.hide()}get f(){return this.form.controls}createRoadTax(){this.roadTaxAddEditModel.registrationNo=this.form.get("vehicleNo").value.trim(),this.roadTaxAddEditModel.identity=this.form.get("id").value.trim(),this.roadTaxAddEditModel.identityType=this.form.get("idType").value.trim(),this.roadTaxAddEditModel.contactNo=this.form.get("contactNo").value.trim(),this.roadTaxAddEditModel.postcode=this.form.get("postcode").value.trim(),this.roadTaxAddEditModel.email=this.form.get("email").value.trim(),this.roadTaxAddEditModel.name=this.personalDetailsForm.get("name").value.trim(),this.roadTaxAddEditModel.vehicleType="Car"==this.verifyVehicleReponseModel.vehicleInfo.vehicleType?0:1,this.roadTaxAddEditModel.brand=this.verifyVehicleReponseModel.vehicleInfo.brand,this.roadTaxAddEditModel.model=this.verifyVehicleReponseModel.vehicleInfo.model,this.roadTaxAddEditModel.capacity=this.verifyVehicleReponseModel.vehicleInfo.capacity,this.roadTaxAddEditModel.manufacturingYear=this.verifyVehicleReponseModel.vehicleInfo.manufacturingYear,this.roadTaxAddEditModel.roadTaxType=1,this.roadTaxAddEditModel.renewalMonth=parseInt(this.form.get("renewalMonth").value.trim()),this.roadTaxAddEditModel.renewalAmount=this.roadTaxAmount,this.roadTaxAddEditModel.serviceCharge=this.serviceCharge,this.roadTaxAddEditModel.deliveryService=this.deliveryService,this.roadTaxAddEditModel.runnerService=this.runnerService,this.roadTaxAddEditModel.address1="",this.roadTaxAddEditModel.address2="",this.roadTaxAddEditModel.state=(0,ms.y)(parseInt(this.form.get("postcode").value.trim())),this.roadTaxAddEditModel.customerRemark="",this.roadTaxAddEditModel.internalRemark="",this.roadTaxAddEditModel.shippingOption=1,this.roadTaxAddEditModel.selfCollectBranchId=204,this.roadTaxAddEditModel.handledBy=null,this.roadTaxAddEditModel.source=this.form.get("source").value,this.roadTaxAddEditModel.bmsOrderNo="",this.roadTaxAddEditModel.status=0,this.roadTaxApiService.createRoadTax(this.roadTaxAddEditModel).subscribe(n=>{this.roadTaxAddEditModel.referenceNumber=n.entity})}showNotification(n,u){!0===u?this.messageService.success(n,{nzDuration:1e4}):this.messageService.error(n,{nzDuration:1e4})}pre(){this.current-=1,0==this.current?(this.cardWidth=8,this.submitted=!1,this.roadTaxAddEditModel={},this.mobileStepTitle="Step 1: Enter Details"):1==this.current&&(this.cardWidth=8,this.mobileStepTitle="Step 2: Summary",this.resetValue())}next(){this.current+=1,this.changeContent()}changeContent(){switch(this.current){case 0:this.mobileStepTitle="Step 1: Enter Details";break;case 1:this.mobileStepTitle="Step 2: Summary"}}calculateRoadTax(n=!0){this.calculateRoadTaxRequestModel.isIndividual="Company"!=this.form.get("idType").value,this.calculateRoadTaxRequestModel.capacity=this.capacity,this.calculateRoadTaxRequestModel.renewalMonth=this.form.get("renewalMonth").value,this.calculateRoadTaxRequestModel.vehicleType="Motorcycle"==this.verifyVehicleReponseModel.vehicleInfo.vehicleType?1:0,this.roadTaxApiService.CalculateRoadTax(this.calculateRoadTaxRequestModel).subscribe(u=>{this.roadTaxAmount=u,this.calculatePremium(),n&&this.createRoadTax()})}calculatePremium(){this.totalAmount=this.roadTaxAmount+this.runnerService+this.deliveryService+this.serviceCharge}roadTaxTypeOnChange(n,u=!0){this.calculateCharges(),"0"==n?(this.personalDetailsForm.patchValue({shippingOption:"0"}),this.shippingOptionOnChange("0"),this.disableShippingOption=!1):(this.personalDetailsForm.patchValue({shippingOption:"1"}),this.disableShippingOption=!0),u&&this.editRoadTax("")}shippingOptionOnChange(n){"0"==n?(this.personalDetailsForm.get("address1").setValidators(ut.kI.required),this.personalDetailsForm.get("address1").updateValueAndValidity(),this.personalDetailsForm.get("address2").setValidators(ut.kI.required),this.personalDetailsForm.get("address2").updateValueAndValidity(),this.personalDetailsForm.get("state").setValidators(ut.kI.required),this.personalDetailsForm.get("state").updateValueAndValidity()):(this.personalDetailsForm.get("address1").setValidators(null),this.personalDetailsForm.get("address1").updateValueAndValidity(),this.personalDetailsForm.get("address2").setValidators(null),this.personalDetailsForm.get("address2").updateValueAndValidity(),this.personalDetailsForm.get("state").setValidators(null),this.personalDetailsForm.get("state").updateValueAndValidity()),this.calculateCharges(),this.calculatePremium()}resetValue(){this.roadTaxAmount=0,this.totalAmount=0,this.capacity=0,this.calculateRoadTaxRequestModel={}}replacePasteValue(n){this.isCompanySelected()?this.form.patchValue({id:n.clipboardData.getData("Text").replace(/ /g,"").replace(/{/g,"")}):this.form.patchValue({id:n.clipboardData.getData("Text").replace(/-/g,"").replace(/ /g,"").replace(/{/g,"")}),n.preventDefault()}isMobileNoValid(){return this.form.get("contactNo").value.toString().length<8?(this.form.controls.contactNo.setErrors({contactNoInvalidLength:!0}),!1):(this.form.controls.contactNo.setErrors(null),!0)}isIdValid(){return"NRIC"==this.form.get("idType").value&&12!=this.form.get("id").value.toString().length?(this.form.controls.id.setErrors({icInvalidLength:!0}),!1):(this.form.controls.id.setErrors(null),!0)}getVehicleType(){return"Motorcycle"==this.form.get("type").value?"MOTOR":this.verifyVehicleReponseModel.vehicleInfo.isSaloon?"SALOON":"NON-SALOON"}getShipmentType(){return this.isDeliverySelected()&&"0"==this.personalDetailsForm.get("roadTaxType").value?"COURIER":"1"==this.personalDetailsForm.get("shippingOption").value&&"0"==this.personalDetailsForm.get("roadTaxType").value?"PICKUP":"1"==this.personalDetailsForm.get("roadTaxType").value?"DIGITAL":void 0}getBranchId(){return this.personalDetailsForm.get("selfCollectBranchId").value}makePayment(){if(this.pdfSubmitted=!0,this.getFormValidationErrors(),this.isPhysicalRoadTaxSelected()?this.isDeliverySelected()?(this.personalDetailsForm.get("selfCollectBranchId").clearValidators(),this.personalDetailsForm.get("selfCollectBranchId").updateValueAndValidity(),this.personalDetailsForm.get("address1").setValidators([ut.kI.required,ut.kI.minLength(5)]),this.personalDetailsForm.get("address1").updateValueAndValidity(),this.personalDetailsForm.get("address2").setValidators([ut.kI.required,ut.kI.minLength(5)]),this.personalDetailsForm.get("address2").updateValueAndValidity(),this.personalDetailsForm.get("postcode").setValidators([ut.kI.required,ut.kI.minLength(3)]),this.personalDetailsForm.get("postcode").updateValueAndValidity(),this.personalDetailsForm.get("state").setValidators([ut.kI.required]),this.personalDetailsForm.get("state").updateValueAndValidity()):(this.personalDetailsForm.get("selfCollectBranchId").setValidators([ut.kI.required]),this.personalDetailsForm.get("selfCollectBranchId").updateValueAndValidity(),this.personalDetailsForm.get("address1").clearValidators(),this.personalDetailsForm.get("address1").updateValueAndValidity(),this.personalDetailsForm.get("address2").clearValidators(),this.personalDetailsForm.get("address2").updateValueAndValidity(),this.personalDetailsForm.get("postcode").clearValidators(),this.personalDetailsForm.get("postcode").updateValueAndValidity(),this.personalDetailsForm.get("state").clearValidators(),this.personalDetailsForm.get("state").updateValueAndValidity()):(this.personalDetailsForm.get("selfCollectBranchId").clearValidators(),this.personalDetailsForm.get("selfCollectBranchId").updateValueAndValidity(),this.personalDetailsForm.get("address1").clearValidators(),this.personalDetailsForm.get("address1").updateValueAndValidity(),this.personalDetailsForm.get("address2").clearValidators(),this.personalDetailsForm.get("address2").updateValueAndValidity(),this.personalDetailsForm.get("postcode").clearValidators(),this.personalDetailsForm.get("postcode").updateValueAndValidity(),this.personalDetailsForm.get("state").clearValidators(),this.personalDetailsForm.get("state").updateValueAndValidity()),this.personalDetailsForm.invalid)return;this.spinner.show();const n=(new s.LE).set("accessToken","eTdy1nT7TcOTp7LCDISfNteHWpZHketK").set("module","/sales/insert").set("clientIdNo",this.form.get("id").value.trim()).set("clientIdType",this.form.get("idType").value.toUpperCase()).set("clientName",this.personalDetailsForm.get("name").value.trim()).set("contactNo",this.form.get("contactNo").value.trim()).set("vehicleType",this.getVehicleType()).set("vehicleNo",this.form.get("vehicleNo").value.trim()).set("roadTaxMonth",parseInt(this.form.get("renewalMonth").value)).set("roadTaxAmount",this.roadTaxAmount).set("shipmentType",this.getShipmentType()).set("branchId","PICKUP"==this.getShipmentType()?this.getBranchId():"").set("shipmentFee",this.deliveryService).set("deliveryAddress",this.personalDetailsForm.get("address1").value.trim()+" "+this.personalDetailsForm.get("address2").value.trim()+" "+this.personalDetailsForm.get("postcode").value.trim()).set("notesPublic",this.personalDetailsForm.get("remark").value);fetch("https://bmsroadtax.com/api/v3/index.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString()}).then(u=>u.text()).then(u=>{let E=JSON.parse(u);this.editRoadTax(E.data.orderNo,!0)})}editRoadTax(n,u=!1){if(this.roadTaxAddEditModel.registrationNo=this.form.get("vehicleNo").value.trim(),this.roadTaxAddEditModel.identity=this.form.get("id").value.trim(),this.roadTaxAddEditModel.identityType=this.form.get("idType").value.trim(),this.roadTaxAddEditModel.contactNo=this.form.get("contactNo").value.trim(),this.roadTaxAddEditModel.postcode=this.form.get("postcode").value.trim(),this.roadTaxAddEditModel.name=this.personalDetailsForm.get("name").value.trim(),this.roadTaxAddEditModel.vehicleType="Car"==this.verifyVehicleReponseModel.vehicleInfo?.vehicleType?0:1,this.roadTaxAddEditModel.brand=this.verifyVehicleReponseModel.vehicleInfo?.brand,this.roadTaxAddEditModel.model=this.verifyVehicleReponseModel.vehicleInfo?.model,this.roadTaxAddEditModel.capacity=this.verifyVehicleReponseModel.vehicleInfo?.capacity,this.roadTaxAddEditModel.manufacturingYear=this.verifyVehicleReponseModel.vehicleInfo?.manufacturingYear,this.roadTaxAddEditModel.roadTaxType=this.personalDetailsForm.get("roadTaxType").value,this.roadTaxAddEditModel.renewalMonth=parseInt(this.form.get("renewalMonth").value.trim()),this.roadTaxAddEditModel.renewalAmount=this.roadTaxAmount,this.roadTaxAddEditModel.serviceCharge=this.serviceCharge,this.roadTaxAddEditModel.deliveryService=this.deliveryService,this.roadTaxAddEditModel.runnerService=this.runnerService,this.roadTaxAddEditModel.address1=this.personalDetailsForm.get("address1").value.trim(),this.roadTaxAddEditModel.address2=this.personalDetailsForm.get("address2").value.trim(),this.roadTaxAddEditModel.state=this.personalDetailsForm.get("state").value.trim(),this.roadTaxAddEditModel.customerRemark=this.personalDetailsForm.get("remark").value.trim(),this.roadTaxAddEditModel.internalRemark="",this.roadTaxAddEditModel.shippingOption=this.personalDetailsForm.get("shippingOption").value,this.roadTaxAddEditModel.handledBy=null,this.roadTaxAddEditModel.source=this.form.get("source").value,this.roadTaxAddEditModel.bmsOrderNo=n,this.roadTaxAddEditModel.status=1,this.roadTaxAddEditModel.isSaloon="true"==this.personalDetailsForm.get("isSaloon").value,!this.isDeliverySelected()&&this.isPhysicalRoadTaxSelected()){var v=this.personalDetailsForm.get("selfCollectBranchId").value;this.roadTaxAddEditModel.selfCollectBranchId=""==v?null:this.personalDetailsForm.get("selfCollectBranchId").value}this.roadTaxApiService.editRoadTax(this.roadTaxAddEditModel).subscribe(E=>{this.spinner.hide(),u&&(window.location.href="https://bmsroadtax.com/#order/"+n)})}getFormValidationErrors(){Object.keys(this.personalDetailsForm.controls).forEach(n=>{const u=this.personalDetailsForm.get(n)?.errors;null!=u&&Object.keys(u).forEach(v=>{console.log("Key control: "+n+", keyError: "+v+", err value: ",u[v])})})}showModal(){this.isVisible=!0}handleOk(){this.isVisible=!1,this.onSubmit()}handleCancel(){this.isVisible=!1}isCompanySelected(){return"Company"==this.form.get("idType").value}isDeliverySelected(){return"0"==this.personalDetailsForm.get("shippingOption").value}isPhysicalRoadTaxSelected(){return"0"==this.personalDetailsForm.get("roadTaxType").value}companyIdtypeOnChange(n){this.form.patchValue({id:""}),this.companyIdMaskingChecking(n.target.value)}companyIdMaskingChecking(n){"old"==n?this.idTextBoxPlaceHolder="e.g: 1234567-A":(this.idMask="000000000000",this.idTextBoxPlaceHolder="e.g: 202005123456")}getRoadTaxSettings(){this.roadTaxApiService.roadTaxSettings().subscribe(n=>{this.roadTaxSettings=n.entity,this.roadTaxSettings.disableNRICPhysicalRoadTax&&this.isNricSelected()&&(this.personalDetailsForm.patchValue({roadTaxType:"1"}),this.personalDetailsForm.controls.roadTaxType.disable()),this.shippingOptionOnChange("0")})}calculateCharges(){this.roadTaxSettings.disableNRICPhysicalRoadTax&&this.isNricSelected()&&(this.personalDetailsForm.patchValue({roadTaxType:"1"}),this.personalDetailsForm.controls.roadTaxType.disable()),this.isPhysicalRoadTaxSelected()?(this.runnerService=this.roadTaxSettings.runnerFeeWaivedWithoutInsurance?0:this.roadTaxSettings.runnerFeeWithoutInsurance,this.deliveryService=this.roadTaxSettings.deliveryFeeWaivedWithoutInsurance?0:this.roadTaxSettings.deliveryFeeWithoutInsurance,this.isDeliverySelected()||(this.deliveryService=0),this.serviceCharge=0):(this.runnerService=0,this.deliveryService=0,this.serviceCharge=this.roadTaxSettings.serviceChargeWaivedWithoutInsurance?0:this.roadTaxSettings.serviceChargeWithoutInsurance)}isPassportSelected(){return"Passport"==this.form.get("idType").value}isNricSelected(){return"NRIC"==this.form.get("idType").value}getRenewalMonth(){return this.form.get("renewalMonth").value}getBranch(){this.branchSearchModel.pageIndex=l6.R.MIN_PAGE_INDEX,this.branchSearchModel.pageSize=l6.R.MAX_PAGE_SIZE,this.branchApiService.getBranchList(this.branchSearchModel).subscribe(n=>{this.branchList=n.entity.items})}branchOnChange(n){var u=this.branchList.find(v=>v.id==n);null!=u&&(this.address=u.address,this.contactNo1=u.contactNo1,this.contactNo2=u.contactNo2,this.workingHour=u.workingHour,this.whatsapp=u.whatsapp)}SearchCustomer(){this.searchModel.identity=this.form.get("id").value.trim(),this.searchModel.registrationNo=this.form.get("vehicleNo").value.trim(),this.customerApiService.getCustomerList(this.searchModel).subscribe(n=>{n.entity.items.length>0?(this.form.patchValue({contactNo:n.entity.items[0].contactNo1},{emitEvent:!1}),this.form.patchValue({postcode:n.entity.items[0].postcode},{emitEvent:!1}),this.form.patchValue({email:n.entity.items[0].email},{emitEvent:!1})):(this.form.patchValue({contactNo:""},{emitEvent:!1}),this.form.patchValue({postcode:""},{emitEvent:!1}),this.form.patchValue({email:""},{emitEvent:!1}))})}checkIsTokenValid(){this.insuranceApiService.ping().subscribe(n=>{this.currentUser=n.entity})}vehicleTypeOnChange(){this.calculateRoadTaxRequestModel.isSaloon="true"==this.personalDetailsForm.get("isSaloon").value,this.calculateRoadTax(!1)}isLoginAsAdmin(){var n=null!=this.currentUser?.name;return n||this.form.patchValue({source:"2"}),n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(b2.C),e.Y36(Rr._),e.Y36(ut.QS),e.Y36(fa.t2),e.Y36(la),e.Y36(Ua.Q),e.Y36(Al.dD),e.Y36(Uu.s),e.Y36(qc.K),e.Y36(o.Dx))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-quotation-road-tax"]],decls:36,vars:12,consts:[[1,""],["class","company-header text-center",4,"ngIf"],[1,"main","d-flex","align-items-center"],[1,"container"],["bdColor","rgba(0, 0, 0, 0.8)","size","medium","color","#fff","type","square-jelly-box",3,"fullScreen"],[2,"color","white"],[1,"row"],[1,"col-md-3"],[1,"col-md-5"],["href","https://bmsroadtax.com"],["width","100px","src","assets/img/bms-logo.png"],[2,"font-weight","bold","padding-left","10px"],[1,"card","border-info"],[1,"card-header"],[1,"card-body"],["nzSize","small",3,"nzCurrent"],[3,"nzTitle"],[4,"ngIf"],["class","steps-content",4,"ngIf"],[2,"text-align","center"],["nzClosable","false","nzTitle","Disclaimer",3,"nzVisible","nzVisibleChange","nzOnCancel","nzOnOk"],[4,"nzModalContent"],[1,"company-header","text-center"],[1,"btn","change-company"],["href","#/dashboard","target","_blank"],[1,"steps-content"],[1,"col-md-10","mx-auto"],[3,"formGroup"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],[1,"col-md-3","col-form-label"],[1,"col-md-8"],["formControlName","renewalMonth",1,"form-control"],["value","12"],["value","6"],[1,"require-asterisk"],["type","text","oninput","this.value = this.value.toUpperCase()","formControlName","vehicleNo","maxlength","8","placeholder","e.g: WMC1234","required","",1,"form-control",3,"ngClass","keypress"],["class","invalid-feedback",4,"ngIf"],["formControlName","idType",1,"form-control",3,"change"],["value","NRIC"],["value","Passport"],["value","Army"],["value","Police"],["value","Company"],["type","text","maxlength","14","formControlName","id",1,"form-control",3,"mask","dropSpecialCharacters","placeholder","ngClass","paste","keypress"],["style","text-align: center;",4,"ngIf"],["type","text","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","postcode","placeholder","e.g: 68000","maxlength","5",1,"form-control",3,"ngClass"],["type","text","maxlength","12","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","contactNo","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["type","text","placeholder","e.g: cindy@gmail.com","maxlength","50","formControlName","email","email","",1,"form-control",3,"ngClass"],["type","button",1,"btn","btn-block","btn-outline-danger","active",3,"click"],["nzBorderless","","nzShowSearch","","formControlName","bypassIsm",1,"form-control",3,"nzShowArrow"],["nzValue","0","nzLabel","No"],["nzValue","1","nzLabel","Yes"],["nzBorderless","","nzShowSearch","","formControlName","source",1,"form-control",3,"nzShowArrow"],["nzValue","2","nzLabel","Online"],["nzValue","3","nzLabel","Walk In"],["nzValue","5","nzLabel","SleekFlow"],[1,"invalid-feedback"],["formControlName","companyIdType",1,"form-control",3,"change"],["value","old"],["value","new"],[1,"btn","btn-primary",3,"click"],["nzAccordion",""],["nzHeader","Road Tax Info","nzActive","true","nzDisabled","false"],["class","row",4,"ngIf"],["nzHeader","Summary","nzActive","true","nzDisabled","false"],["nzTemplateMode",""],[2,"border-bottom","none"],[2,"border-bottom","none",";text-align","right"],["formControlName","roadTaxType",2,"display","inline-grid !important","vertical-align","middle",3,"ngModelChange"],["nz-radio","","nzValue","0"],["nz-radio","","nzValue","1"],[2,"border-bottom","none","text-align","right"],["formControlName","shippingOption",2,"display","inline-grid !important",3,"nzDisabled","ngModelChange"],[2,"color","red"],[2,"border-bottom","1pt solid"],[2,"border-bottom","1pt solid","text-align","right"],["nzHeader","Customer Info","nzActive","true","nzDisabled","false"],[1,"col-md-8","text-right"],["type","text","formControlName","name","placeholder","e.g: Johanson","required","",1,"form-control","capitalise",3,"ngClass"],["type","text","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","contactNo1","maxlength","12","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["type","text","formControlName","contactNo2","maxlength","12","onkeypress","return event.charCode >= 48 && event.charCode <= 57","placeholder","e.g: 018666666",1,"form-control",3,"ngClass"],["formControlName","remark","maxlength","1000","rows","3","placeholder","",1,"form-control","capitalise"],[1,"col-6"],["style","color: red;",4,"ngIf"],["formControlName","isSaloon",2,"display","inline-grid !important",3,"ngModelChange"],["nz-radio","","nzValue","true"],["nz-radio","","nzValue","false"],["nzShowSearch","","nzAllowClear","","formControlName","selfCollectBranchId","nzBorderless","","nzPlaceHolder","Please select",1,"form-control",3,"nzShowArrow","ngClass","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf"],[3,"nzLabel","nzValue"],[1,"col-md-12"],["target","_blank",3,"href"],[3,"innerText"],["maxlength","50","formControlName","address1","rows","3","placeholder","",1,"form-control","capitalise",3,"ngClass"],["maxlength","50","formControlName","address2","rows","3","placeholder","",1,"form-control","capitalise",3,"ngClass"],["formControlName","state","nzPlaceHolder","Please select","nzShowSearch","","nzBorderless","",1,"form-control",2,"height","auto",3,"nzShowArrow"],["nzValue","Selangor","nzLabel","Selangor"],["nzValue","Kuala Lumpur","nzLabel","Kuala Lumpur"],["nzValue","Johor","nzLabel","Johor"],["nzValue","Kedah","nzLabel","Kedah"],["nzValue","Kelantan","nzLabel","Kelantan"],["nzValue","Melaka","nzLabel","Melaka"],["nzValue","Negeri Sembilan","nzLabel","Negeri Sembilan"],["nzValue","Pahang","nzLabel","Pahang"],["nzValue","Perak","nzLabel","Perak"],["nzValue","Perlis","nzLabel","Perlis"],["nzValue","Pulau Pinang","nzLabel","Pulau Pinang"],["nzValue","Putrajaya","nzLabel","Putrajaya"],["nzValue","Terengganu","nzLabel","Terengganu"],["type","text","maxlength","5","onkeypress","return event.charCode >= 48 && event.charCode <= 57","formControlName","postcode","placeholder","e.g: 68000","maxlength","5","required","",1,"form-control",3,"ngClass"]],template:function(n,u){1&n&&(e.TgZ(0,"div",0),e.YNc(1,Aa,4,0,"div",1),e._UZ(2,"br"),e.TgZ(3,"main",2)(4,"div",3)(5,"ngx-spinner",4)(6,"p",5)(7,"strong"),e._uU(8," Loading... "),e.qZA()()(),e.TgZ(9,"div",6),e._UZ(10,"div",7),e.TgZ(11,"div",8)(12,"a",9),e._UZ(13,"img",10),e.qZA(),e.TgZ(14,"label",11),e._uU(15,"Brilliant Management Services (001166576-D)"),e.qZA()(),e._UZ(16,"div",7),e.qZA(),e._UZ(17,"br"),e.TgZ(18,"div")(19,"div",12)(20,"div",13)(21,"strong"),e._uU(22,"Road Tax Renewal Quotation"),e.qZA()(),e.TgZ(23,"div",14)(24,"nz-steps",15),e._UZ(25,"nz-step",16)(26,"nz-step",16),e.qZA(),e.YNc(27,y1,4,1,"div",17),e.YNc(28,b4,82,29,"div",18),e.YNc(29,T1,153,61,"div",18),e.qZA()(),e.TgZ(30,"div",19)(31,"label")(32,"Strong"),e._uU(33,"Copyright \xa9\ufe0f 2023 Brilliant Management Services. All Rights Reserved."),e.qZA()()()()(),e.TgZ(34,"nz-modal",20),e.NdJ("nzVisibleChange",function(E){return u.isVisible=E})("nzOnCancel",function(){return u.handleCancel()})("nzOnOk",function(){return u.handleOk()}),e.YNc(35,T6,28,0,"ng-container",21),e.qZA()()()),2&n&&(e.xp6(1),e.Q6J("ngIf",null!=(null==u.currentUser?null:u.currentUser.name)),e.xp6(4),e.Q6J("fullScreen",!0),e.xp6(13),e.Gre("col-md-",u.cardWidth," mx-auto"),e.xp6(6),e.Q6J("nzCurrent",u.current),e.xp6(1),e.s9C("nzTitle",u.step1Title),e.xp6(1),e.s9C("nzTitle",u.step2Title),e.xp6(1),e.Q6J("ngIf",u.isMobileScreen),e.xp6(1),e.Q6J("ngIf",0==u.current),e.xp6(1),e.Q6J("ngIf",1==u.current),e.xp6(5),e.Q6J("nzVisible",u.isVisible))},dependencies:[g.mk,g.sg,g.O5,ut._Y,ut.YN,ut.Kr,ut.Fj,ut.EJ,ut.JJ,ut.JL,ut.Q7,ut.nD,ut.on,ut.sg,ut.u,Uo.N8,Uo.Uo,Uo.Om,Uo.p0,Uo.$Z,D2,Xc,vs.Zv,vs.yH,Pl.Of,Pl.Dg,fa.Ro,Il.hx,Wa.Ip,Wa.Vq,g2,Q0,g.H9],styles:[".steps-content[_ngcontent-%COMP%] {\n\n min-height: 200px;\n padding-top: 20px;\n }\n\n .steps-action[_ngcontent-%COMP%] {\n margin-top: 24px;\n }\n\n button[_ngcontent-%COMP%] {\n margin-right: 8px;\n }\n\n [nz-radio][_ngcontent-%COMP%] {\n display: block;\n height: 32px;\n line-height: 32px;\n }\n\n .example[_ngcontent-%COMP%] {\n text-align: center;\n background: rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n margin-bottom: 20px;\n padding: 30px 50px;\n margin: 20px 0;\n }"]}),a})(),pathMatch:"full"},{path:"admin",component:v2,pathMatch:"full"},{path:"404",component:Dl,data:{title:"Page 404"}},{path:"500",component:Uc,data:{title:"Page 500"}},{path:"login",component:v2,data:{title:"Login Page"}},{path:Yc.EMPTY,component:Ac,data:{title:"BMS"},children:[{path:"staff",loadChildren:()=>Promise.all([p.e(965),p.e(197)]).then(p.bind(p,26197)).then(a=>a.StaffModule)},{path:"favourite",loadChildren:()=>Promise.all([p.e(965),p.e(592),p.e(919)]).then(p.bind(p,21919)).then(a=>a.FavouriteModule)},{path:"customer",loadChildren:()=>Promise.all([p.e(965),p.e(592),p.e(934)]).then(p.bind(p,8934)).then(a=>a.CustomerModule)},{path:"policy",loadChildren:()=>Promise.all([p.e(965),p.e(830),p.e(431),p.e(354)]).then(p.bind(p,92354)).then(a=>a.PolicyModule)},{path:"performance",loadChildren:()=>Promise.all([p.e(526),p.e(219)]).then(p.bind(p,12219)).then(a=>a.PerformanceModule)},{path:"road-tax",loadChildren:()=>Promise.all([p.e(965),p.e(431),p.e(518)]).then(p.bind(p,97518)).then(a=>a.RoadTaxModule)},{path:"job",loadChildren:()=>Promise.all([p.e(965),p.e(660)]).then(p.bind(p,63660)).then(a=>a.JobModule)},{path:"report",loadChildren:()=>Promise.all([p.e(965),p.e(165)]).then(p.bind(p,92165)).then(a=>a.ReportModule)},{path:"report-graph",loadChildren:()=>Promise.all([p.e(965),p.e(671),p.e(841)]).then(p.bind(p,19841)).then(a=>a.ReportGraphModule)},{path:"report-enquiry",loadChildren:()=>Promise.all([p.e(965),p.e(671),p.e(817)]).then(p.bind(p,34817)).then(a=>a.ReportEnquiryModule)},{path:"report-staff-performance",loadChildren:()=>Promise.all([p.e(965),p.e(302)]).then(p.bind(p,22919)).then(a=>a.ReportStaffModule)},{path:"report-quotation-performance",loadChildren:()=>Promise.all([p.e(965),p.e(920)]).then(p.bind(p,27179)).then(a=>a.ReportQuotationModule)},{path:"renewal",loadChildren:()=>Promise.all([p.e(965),p.e(909)]).then(p.bind(p,9909)).then(a=>a.RenewalModule)},{path:"support",loadChildren:()=>Promise.all([p.e(965),p.e(830),p.e(887)]).then(p.bind(p,69887)).then(a=>a.SupportModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(667)]).then(p.bind(p,32667)).then(a=>a.ProductModule)},{path:"settings",loadChildren:()=>p.e(787).then(p.bind(p,88787)).then(a=>a.InsuranceModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(472)]).then(p.bind(p,64472)).then(a=>a.PaymentGatewayModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(966)]).then(p.bind(p,58966)).then(a=>a.SettingsRoadTaxModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(168)]).then(p.bind(p,78168)).then(a=>a.MessageTemplateModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(994)]).then(p.bind(p,88994)).then(a=>a.SettingsCommissionModule)},{path:"settings",loadChildren:()=>Promise.all([p.e(965),p.e(235)]).then(p.bind(p,87235)).then(a=>a.BranchModule)},{path:"dashboard",loadChildren:()=>Promise.all([p.e(526),p.e(283)]).then(p.bind(p,20429)).then(a=>a.DashboardModule)}]},{path:"**",component:Dl}];let k4=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[y.Bz.forRoot($u,{relativeLinkResolution:"legacy"}),y.Bz]}),a})();var A6=p(52485),E6=p(61737),P6=p(2994),D1=p(27221);let k6=(()=>{class a{constructor(n,u){this.notification=n,this.router=u,a.notification=n,a.router=u}handleError(n){return 401==n.status?(localStorage.removeItem("token"),a.notification.error("Error","Session Expired"),a.router.navigateByUrl("/login")):400==n.status&&a.notification.error("Error",n?.error),(0,E6._)(n)}intercept(n,u){return u.handle(n).pipe((0,ko.h)(v=>v instanceof s.Zn)).pipe((0,P6.b)(v=>{}),(0,D1.K)(this.handleError))}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(yl.zb),e.LFG(y.F0))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();const A1_recaptcha_siteKey="6Ld0Wz0nAAAAAI_yAZ86zjylZpy2ofrMf9Mk67Ns",E1=[{provide:s.TP,useClass:(()=>{class a{constructor(n,u){this.router=n,this.tokenService=u,this.BASE_URL="https://bmsapi.wbsolution.co",this.token="",a.router=n}intercept(n,u){return n=n.clone({url:this.BASE_URL+n.url,headers:n.headers.set("Cache-Control","no-cache").set("Pragma","no-cache").set("Expires","Sat, 01 Jan 2000 00:00:00 GMT").set("Authorization",`Bearer ${this.tokenService.getAccessToken()}`)}),u.handle(n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(y.F0),e.LFG(yc.B))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),multi:!0},{provide:s.TP,useClass:k6,multi:!0}];var $l=p(90472);let P1=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a,bootstrap:[W]}),a.\u0275inj=e.cJS({providers:[{provide:g.S$,useClass:g.Do},g.uU,_o,E1,{provide:Us.u7,useValue:Us.iF},{provide:fc,useValue:A1_recaptcha_siteKey}],imports:[o.b2,$,k4,v0,_0.forRoot(),ds,b0,t2,Ci,ut.u5,ut.UX,bl.mr.forRoot(),A6.P4.forRoot(),C,M.forRoot(),s.JF,Uo.HQ,Gc.Wr,e1,El.vh,yl.L8,vs.cD,Pl.aF,ja.Zf,Ml.sL,$l.N3,fa.ef,kl.Hb,ys.cg,n1,sn.zk.forRoot(),F1,Il.yI.forRoot(),Wa.LV,Zc,Al.gR]}),a})();(0,e.G48)(),o.q6().bootstrapModule(P1,{useJit:!0,preserveWhitespaces:!0}).catch(a=>console.log(a))},23331:(wt,Oe,p)=>{function o(e,g){for(var s=e<0?"-":"",h=Math.abs(e).toString();h.lengtho})},61889:(wt,Oe,p)=>{function o(F,S){switch(F){case"P":return S.date({width:"short"});case"PP":return S.date({width:"medium"});case"PPP":return S.date({width:"long"});default:return S.date({width:"full"})}}function e(F,S){switch(F){case"p":return S.time({width:"short"});case"pp":return S.time({width:"medium"});case"ppp":return S.time({width:"long"});default:return S.time({width:"full"})}}p.d(Oe,{Z:()=>h});const h={p:e,P:function g(F,S){var A,b=F.match(/(P+)(p+)?/)||[],z=b[1],H=b[2];if(!H)return o(F,S);switch(z){case"P":A=S.dateTime({width:"short"});break;case"PP":A=S.dateTime({width:"medium"});break;case"PPP":A=S.dateTime({width:"long"});break;default:A=S.dateTime({width:"full"})}return A.replace("{{date}}",o(z,S)).replace("{{time}}",e(H,S))}}},9868:(wt,Oe,p)=>{function o(e){var g=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return g.setUTCFullYear(e.getFullYear()),e.getTime()-g.getTime()}p.d(Oe,{Z:()=>o})},37875:(wt,Oe,p)=>{p.d(Oe,{Z:()=>s});var o=p(80953),e=p(40833),g=p(77290);function s(h){(0,e.Z)(1,arguments);var F=(0,o.Z)(h),S=F.getUTCFullYear(),b=new Date(0);b.setUTCFullYear(S+1,0,4),b.setUTCHours(0,0,0,0);var z=(0,g.Z)(b),H=new Date(0);H.setUTCFullYear(S,0,4),H.setUTCHours(0,0,0,0);var A=(0,g.Z)(H);return F.getTime()>=z.getTime()?S+1:F.getTime()>=A.getTime()?S:S-1}},59264:(wt,Oe,p)=>{p.d(Oe,{Z:()=>S});var o=p(80953),e=p(77290),g=p(37875),s=p(40833);function h(b){(0,s.Z)(1,arguments);var z=(0,g.Z)(b),H=new Date(0);H.setUTCFullYear(z,0,4),H.setUTCHours(0,0,0,0);var A=(0,e.Z)(H);return A}var F=6048e5;function S(b){(0,s.Z)(1,arguments);var z=(0,o.Z)(b),H=(0,e.Z)(z).getTime()-h(z).getTime();return Math.round(H/F)+1}},51834:(wt,Oe,p)=>{p.d(Oe,{Z:()=>h});var o=p(80953),e=p(40833),g=p(74697),s=p(91998);function h(F,S){(0,e.Z)(1,arguments);var b=(0,o.Z)(F),z=b.getUTCFullYear(),H=S||{},A=H.locale,j=A&&A.options&&A.options.firstWeekContainsDate,ne=null==j?1:(0,s.Z)(j),Pe=null==H.firstWeekContainsDate?ne:(0,s.Z)(H.firstWeekContainsDate);if(!(Pe>=1&&Pe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ee=new Date(0);ee.setUTCFullYear(z+1,0,Pe),ee.setUTCHours(0,0,0,0);var pe=(0,g.Z)(ee,S),X=new Date(0);X.setUTCFullYear(z,0,Pe),X.setUTCHours(0,0,0,0);var Ne=(0,g.Z)(X,S);return b.getTime()>=pe.getTime()?z+1:b.getTime()>=Ne.getTime()?z:z-1}},7070:(wt,Oe,p)=>{p.d(Oe,{Z:()=>b});var o=p(80953),e=p(74697),g=p(51834),s=p(40833),h=p(91998);function F(z,H){(0,s.Z)(1,arguments);var A=H||{},j=A.locale,ne=j&&j.options&&j.options.firstWeekContainsDate,Pe=null==ne?1:(0,h.Z)(ne),ee=null==A.firstWeekContainsDate?Pe:(0,h.Z)(A.firstWeekContainsDate),pe=(0,g.Z)(z,H),X=new Date(0);X.setUTCFullYear(pe,0,ee),X.setUTCHours(0,0,0,0);var Ne=(0,e.Z)(X,H);return Ne}var S=6048e5;function b(z,H){(0,s.Z)(1,arguments);var A=(0,o.Z)(z),j=(0,e.Z)(A,H).getTime()-F(A,H).getTime();return Math.round(j/S)+1}},72621:(wt,Oe,p)=>{p.d(Oe,{Do:()=>s,Iu:()=>g,qp:()=>h});var o=["D","DD"],e=["YY","YYYY"];function g(F){return-1!==o.indexOf(F)}function s(F){return-1!==e.indexOf(F)}function h(F,S,b){if("YYYY"===F)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(S,"`) for formatting years to the input `").concat(b,"`; see: https://git.io/fxCyr"));if("YY"===F)throw new RangeError("Use `yy` instead of `YY` (in `".concat(S,"`) for formatting years to the input `").concat(b,"`; see: https://git.io/fxCyr"));if("D"===F)throw new RangeError("Use `d` instead of `D` (in `".concat(S,"`) for formatting days of the month to the input `").concat(b,"`; see: https://git.io/fxCyr"));if("DD"===F)throw new RangeError("Use `dd` instead of `DD` (in `".concat(S,"`) for formatting days of the month to the input `").concat(b,"`; see: https://git.io/fxCyr"))}},40833:(wt,Oe,p)=>{function o(e,g){if(g.length1?"s":"")+" required, but only "+g.length+" present")}p.d(Oe,{Z:()=>o})},77290:(wt,Oe,p)=>{p.d(Oe,{Z:()=>g});var o=p(80953),e=p(40833);function g(s){(0,e.Z)(1,arguments);var h=1,F=(0,o.Z)(s),S=F.getUTCDay(),b=(S{p.d(Oe,{Z:()=>s});var o=p(80953),e=p(40833),g=p(91998);function s(h,F){(0,e.Z)(1,arguments);var S=F||{},b=S.locale,z=b&&b.options&&b.options.weekStartsOn,H=null==z?0:(0,g.Z)(z),A=null==S.weekStartsOn?H:(0,g.Z)(S.weekStartsOn);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var j=(0,o.Z)(h),ne=j.getUTCDay(),Pe=(ne{function o(e){if(null===e||!0===e||!1===e)return NaN;var g=Number(e);return isNaN(g)?g:g<0?Math.ceil(g):Math.floor(g)}p.d(Oe,{Z:()=>o})},66425:(wt,Oe,p)=>{p.d(Oe,{Z:()=>he});var o=p(90900),e=p(61348),g=p(16047),s=p(80953),h=p(40833),F=864e5,b=p(59264),z=p(37875),H=p(7070),A=p(51834),j=p(23331);const Pe_y=function(_e,Ce){var we=_e.getUTCFullYear(),Ae=we>0?we:1-we;return(0,j.Z)("yy"===Ce?Ae%100:Ae,Ce.length)},Pe_M=function(_e,Ce){var we=_e.getUTCMonth();return"M"===Ce?String(we+1):(0,j.Z)(we+1,2)},Pe_d=function(_e,Ce){return(0,j.Z)(_e.getUTCDate(),Ce.length)},Pe_h=function(_e,Ce){return(0,j.Z)(_e.getUTCHours()%12||12,Ce.length)},Pe_H=function(_e,Ce){return(0,j.Z)(_e.getUTCHours(),Ce.length)},Pe_m=function(_e,Ce){return(0,j.Z)(_e.getUTCMinutes(),Ce.length)},Pe_s=function(_e,Ce){return(0,j.Z)(_e.getUTCSeconds(),Ce.length)},Pe_S=function(_e,Ce){var we=Ce.length,Ae=_e.getUTCMilliseconds(),Fe=Math.floor(Ae*Math.pow(10,we-3));return(0,j.Z)(Fe,Ce.length)};function X(_e,Ce){var we=_e>0?"-":"+",Ae=Math.abs(_e),Fe=Math.floor(Ae/60),Ue=Ae%60;if(0===Ue)return we+String(Fe);var Mt=Ce||"";return we+String(Fe)+Mt+(0,j.Z)(Ue,2)}function Ne(_e,Ce){return _e%60==0?(_e>0?"-":"+")+(0,j.Z)(Math.abs(_e)/60,2):ve(_e,Ce)}function ve(_e,Ce){var we=Ce||"",Ae=_e>0?"-":"+",Fe=Math.abs(_e);return Ae+(0,j.Z)(Math.floor(Fe/60),2)+we+(0,j.Z)(Fe%60,2)}const T={G:function(_e,Ce,we){var Ae=_e.getUTCFullYear()>0?1:0;switch(Ce){case"G":case"GG":case"GGG":return we.era(Ae,{width:"abbreviated"});case"GGGGG":return we.era(Ae,{width:"narrow"});default:return we.era(Ae,{width:"wide"})}},y:function(_e,Ce,we){if("yo"===Ce){var Ae=_e.getUTCFullYear();return we.ordinalNumber(Ae>0?Ae:1-Ae,{unit:"year"})}return Pe_y(_e,Ce)},Y:function(_e,Ce,we,Ae){var Fe=(0,A.Z)(_e,Ae),Ue=Fe>0?Fe:1-Fe;return"YY"===Ce?(0,j.Z)(Ue%100,2):"Yo"===Ce?we.ordinalNumber(Ue,{unit:"year"}):(0,j.Z)(Ue,Ce.length)},R:function(_e,Ce){var we=(0,z.Z)(_e);return(0,j.Z)(we,Ce.length)},u:function(_e,Ce){var we=_e.getUTCFullYear();return(0,j.Z)(we,Ce.length)},Q:function(_e,Ce,we){var Ae=Math.ceil((_e.getUTCMonth()+1)/3);switch(Ce){case"Q":return String(Ae);case"QQ":return(0,j.Z)(Ae,2);case"Qo":return we.ordinalNumber(Ae,{unit:"quarter"});case"QQQ":return we.quarter(Ae,{width:"abbreviated",context:"formatting"});case"QQQQQ":return we.quarter(Ae,{width:"narrow",context:"formatting"});default:return we.quarter(Ae,{width:"wide",context:"formatting"})}},q:function(_e,Ce,we){var Ae=Math.ceil((_e.getUTCMonth()+1)/3);switch(Ce){case"q":return String(Ae);case"qq":return(0,j.Z)(Ae,2);case"qo":return we.ordinalNumber(Ae,{unit:"quarter"});case"qqq":return we.quarter(Ae,{width:"abbreviated",context:"standalone"});case"qqqqq":return we.quarter(Ae,{width:"narrow",context:"standalone"});default:return we.quarter(Ae,{width:"wide",context:"standalone"})}},M:function(_e,Ce,we){var Ae=_e.getUTCMonth();switch(Ce){case"M":case"MM":return Pe_M(_e,Ce);case"Mo":return we.ordinalNumber(Ae+1,{unit:"month"});case"MMM":return we.month(Ae,{width:"abbreviated",context:"formatting"});case"MMMMM":return we.month(Ae,{width:"narrow",context:"formatting"});default:return we.month(Ae,{width:"wide",context:"formatting"})}},L:function(_e,Ce,we){var Ae=_e.getUTCMonth();switch(Ce){case"L":return String(Ae+1);case"LL":return(0,j.Z)(Ae+1,2);case"Lo":return we.ordinalNumber(Ae+1,{unit:"month"});case"LLL":return we.month(Ae,{width:"abbreviated",context:"standalone"});case"LLLLL":return we.month(Ae,{width:"narrow",context:"standalone"});default:return we.month(Ae,{width:"wide",context:"standalone"})}},w:function(_e,Ce,we,Ae){var Fe=(0,H.Z)(_e,Ae);return"wo"===Ce?we.ordinalNumber(Fe,{unit:"week"}):(0,j.Z)(Fe,Ce.length)},I:function(_e,Ce,we){var Ae=(0,b.Z)(_e);return"Io"===Ce?we.ordinalNumber(Ae,{unit:"week"}):(0,j.Z)(Ae,Ce.length)},d:function(_e,Ce,we){return"do"===Ce?we.ordinalNumber(_e.getUTCDate(),{unit:"date"}):Pe_d(_e,Ce)},D:function(_e,Ce,we){var Ae=function S(_e){(0,h.Z)(1,arguments);var Ce=(0,s.Z)(_e),we=Ce.getTime();Ce.setUTCMonth(0,1),Ce.setUTCHours(0,0,0,0);var Ae=Ce.getTime();return Math.floor((we-Ae)/F)+1}(_e);return"Do"===Ce?we.ordinalNumber(Ae,{unit:"dayOfYear"}):(0,j.Z)(Ae,Ce.length)},E:function(_e,Ce,we){var Ae=_e.getUTCDay();switch(Ce){case"E":case"EE":case"EEE":return we.day(Ae,{width:"abbreviated",context:"formatting"});case"EEEEE":return we.day(Ae,{width:"narrow",context:"formatting"});case"EEEEEE":return we.day(Ae,{width:"short",context:"formatting"});default:return we.day(Ae,{width:"wide",context:"formatting"})}},e:function(_e,Ce,we,Ae){var Fe=_e.getUTCDay(),Ue=(Fe-Ae.weekStartsOn+8)%7||7;switch(Ce){case"e":return String(Ue);case"ee":return(0,j.Z)(Ue,2);case"eo":return we.ordinalNumber(Ue,{unit:"day"});case"eee":return we.day(Fe,{width:"abbreviated",context:"formatting"});case"eeeee":return we.day(Fe,{width:"narrow",context:"formatting"});case"eeeeee":return we.day(Fe,{width:"short",context:"formatting"});default:return we.day(Fe,{width:"wide",context:"formatting"})}},c:function(_e,Ce,we,Ae){var Fe=_e.getUTCDay(),Ue=(Fe-Ae.weekStartsOn+8)%7||7;switch(Ce){case"c":return String(Ue);case"cc":return(0,j.Z)(Ue,Ce.length);case"co":return we.ordinalNumber(Ue,{unit:"day"});case"ccc":return we.day(Fe,{width:"abbreviated",context:"standalone"});case"ccccc":return we.day(Fe,{width:"narrow",context:"standalone"});case"cccccc":return we.day(Fe,{width:"short",context:"standalone"});default:return we.day(Fe,{width:"wide",context:"standalone"})}},i:function(_e,Ce,we){var Ae=_e.getUTCDay(),Fe=0===Ae?7:Ae;switch(Ce){case"i":return String(Fe);case"ii":return(0,j.Z)(Fe,Ce.length);case"io":return we.ordinalNumber(Fe,{unit:"day"});case"iii":return we.day(Ae,{width:"abbreviated",context:"formatting"});case"iiiii":return we.day(Ae,{width:"narrow",context:"formatting"});case"iiiiii":return we.day(Ae,{width:"short",context:"formatting"});default:return we.day(Ae,{width:"wide",context:"formatting"})}},a:function(_e,Ce,we){var Fe=_e.getUTCHours()/12>=1?"pm":"am";switch(Ce){case"a":case"aa":return we.dayPeriod(Fe,{width:"abbreviated",context:"formatting"});case"aaa":return we.dayPeriod(Fe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return we.dayPeriod(Fe,{width:"narrow",context:"formatting"});default:return we.dayPeriod(Fe,{width:"wide",context:"formatting"})}},b:function(_e,Ce,we){var Fe,Ae=_e.getUTCHours();switch(Fe=12===Ae?"noon":0===Ae?"midnight":Ae/12>=1?"pm":"am",Ce){case"b":case"bb":return we.dayPeriod(Fe,{width:"abbreviated",context:"formatting"});case"bbb":return we.dayPeriod(Fe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return we.dayPeriod(Fe,{width:"narrow",context:"formatting"});default:return we.dayPeriod(Fe,{width:"wide",context:"formatting"})}},B:function(_e,Ce,we){var Fe,Ae=_e.getUTCHours();switch(Fe=Ae>=17?"evening":Ae>=12?"afternoon":Ae>=4?"morning":"night",Ce){case"B":case"BB":case"BBB":return we.dayPeriod(Fe,{width:"abbreviated",context:"formatting"});case"BBBBB":return we.dayPeriod(Fe,{width:"narrow",context:"formatting"});default:return we.dayPeriod(Fe,{width:"wide",context:"formatting"})}},h:function(_e,Ce,we){if("ho"===Ce){var Ae=_e.getUTCHours()%12;return 0===Ae&&(Ae=12),we.ordinalNumber(Ae,{unit:"hour"})}return Pe_h(_e,Ce)},H:function(_e,Ce,we){return"Ho"===Ce?we.ordinalNumber(_e.getUTCHours(),{unit:"hour"}):Pe_H(_e,Ce)},K:function(_e,Ce,we){var Ae=_e.getUTCHours()%12;return"Ko"===Ce?we.ordinalNumber(Ae,{unit:"hour"}):(0,j.Z)(Ae,Ce.length)},k:function(_e,Ce,we){var Ae=_e.getUTCHours();return 0===Ae&&(Ae=24),"ko"===Ce?we.ordinalNumber(Ae,{unit:"hour"}):(0,j.Z)(Ae,Ce.length)},m:function(_e,Ce,we){return"mo"===Ce?we.ordinalNumber(_e.getUTCMinutes(),{unit:"minute"}):Pe_m(_e,Ce)},s:function(_e,Ce,we){return"so"===Ce?we.ordinalNumber(_e.getUTCSeconds(),{unit:"second"}):Pe_s(_e,Ce)},S:function(_e,Ce){return Pe_S(_e,Ce)},X:function(_e,Ce,we,Ae){var Ue=(Ae._originalDate||_e).getTimezoneOffset();if(0===Ue)return"Z";switch(Ce){case"X":return Ne(Ue);case"XXXX":case"XX":return ve(Ue);default:return ve(Ue,":")}},x:function(_e,Ce,we,Ae){var Ue=(Ae._originalDate||_e).getTimezoneOffset();switch(Ce){case"x":return Ne(Ue);case"xxxx":case"xx":return ve(Ue);default:return ve(Ue,":")}},O:function(_e,Ce,we,Ae){var Ue=(Ae._originalDate||_e).getTimezoneOffset();switch(Ce){case"O":case"OO":case"OOO":return"GMT"+X(Ue,":");default:return"GMT"+ve(Ue,":")}},z:function(_e,Ce,we,Ae){var Ue=(Ae._originalDate||_e).getTimezoneOffset();switch(Ce){case"z":case"zz":case"zzz":return"GMT"+X(Ue,":");default:return"GMT"+ve(Ue,":")}},t:function(_e,Ce,we,Ae){var Ue=Math.floor((Ae._originalDate||_e).getTime()/1e3);return(0,j.Z)(Ue,Ce.length)},T:function(_e,Ce,we,Ae){var Ue=(Ae._originalDate||_e).getTime();return(0,j.Z)(Ue,Ce.length)}};var Y=p(61889),k=p(9868),q=p(72621),Q=p(91998),ae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,de=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,be=/^'([^]*?)'?$/,ge=/''/g,se=/[a-zA-Z]/;function he(_e,Ce,we){(0,h.Z)(2,arguments);var Ae=String(Ce),Fe=we||{},Ue=Fe.locale||e.Z,Mt=Ue.options&&Ue.options.firstWeekContainsDate,_t=null==Mt?1:(0,Q.Z)(Mt),Ft=null==Fe.firstWeekContainsDate?_t:(0,Q.Z)(Fe.firstWeekContainsDate);if(!(Ft>=1&&Ft<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var et=Ue.options&&Ue.options.weekStartsOn,Ge=null==et?0:(0,Q.Z)(et),Ze=null==Fe.weekStartsOn?Ge:(0,Q.Z)(Fe.weekStartsOn);if(!(Ze>=0&&Ze<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Ue.localize)throw new RangeError("locale must contain localize property");if(!Ue.formatLong)throw new RangeError("locale must contain formatLong property");var Be=(0,s.Z)(_e);if(!(0,o.Z)(Be))throw new RangeError("Invalid time value");var It=(0,k.Z)(Be),Ot=(0,g.Z)(Be,It),Dt={firstWeekContainsDate:Ft,weekStartsOn:Ze,locale:Ue,_originalDate:Be},Bt=Ae.match(de).map(function(nt){var pt=nt[0];return"p"===pt||"P"===pt?(0,Y.Z[pt])(nt,Ue.formatLong,Dt):nt}).join("").match(ae).map(function(nt){if("''"===nt)return"'";var pt=nt[0];if("'"===pt)return De(nt);var Pt=T[pt];if(Pt)return!Fe.useAdditionalWeekYearTokens&&(0,q.Do)(nt)&&(0,q.qp)(nt,Ce,_e),!Fe.useAdditionalDayOfYearTokens&&(0,q.Iu)(nt)&&(0,q.qp)(nt,Ce,_e),Pt(Ot,nt,Ue.localize,Dt);if(pt.match(se))throw new RangeError("Format string contains an unescaped latin alphabet character `"+pt+"`");return nt}).join("");return Bt}function De(_e){return _e.match(be)[1].replace(ge,"'")}},90900:(wt,Oe,p)=>{p.d(Oe,{Z:()=>s});var o=p(40833);function e(h){return(0,o.Z)(1,arguments),h instanceof Date||"object"==typeof h&&"[object Date]"===Object.prototype.toString.call(h)}var g=p(80953);function s(h){if((0,o.Z)(1,arguments),!e(h)&&"number"!=typeof h)return!1;var F=(0,g.Z)(h);return!isNaN(Number(F))}},61348:(wt,Oe,p)=>{p.d(Oe,{Z:()=>Ge});var o={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(Ze){return function(){var Be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},It=Be.width?String(Be.width):Ze.defaultWidth,Ot=Ze.formats[It]||Ze.formats[Ze.defaultWidth];return Ot}}var b={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},H={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ne(Ze){return function(Be,It){var Bt,Ot=It||{};if("formatting"===(Ot.context?String(Ot.context):"standalone")&&Ze.formattingValues){var nt=Ze.defaultFormattingWidth||Ze.defaultWidth,pt=Ot.width?String(Ot.width):nt;Bt=Ze.formattingValues[pt]||Ze.formattingValues[nt]}else{var Pt=Ze.defaultWidth,Qt=Ot.width?String(Ot.width):Ze.defaultWidth;Bt=Ze.values[Qt]||Ze.values[Pt]}return Bt[Ze.argumentCallback?Ze.argumentCallback(Be):Be]}}function q(Ze){return function(Be){var It=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=It.width,Dt=Ot&&Ze.matchPatterns[Ot]||Ze.matchPatterns[Ze.defaultMatchWidth],Bt=Be.match(Dt);if(!Bt)return null;var Qt,nt=Bt[0],pt=Ot&&Ze.parsePatterns[Ot]||Ze.parsePatterns[Ze.defaultParseWidth],Pt=Array.isArray(pt)?ae(pt,function(Me){return Me.test(nt)}):Q(pt,function(Me){return Me.test(nt)});Qt=Ze.valueCallback?Ze.valueCallback(Pt):Pt,Qt=It.valueCallback?It.valueCallback(Qt):Qt;var Jt=Be.slice(nt.length);return{value:Qt,rest:Jt}}}function Q(Ze,Be){for(var It in Ze)if(Ze.hasOwnProperty(It)&&Be(Ze[It]))return It}function ae(Ze,Be){for(var It=0;It0?"in "+Ot:Ot+" ago":Ot},formatLong:b,formatRelative:function(Ze,Be,It,Ot){return H[Ze]},localize:{ordinalNumber:function(Ze,Be){var It=Number(Ze),Ot=It%100;if(Ot>20||Ot<10)switch(Ot%10){case 1:return It+"st";case 2:return It+"nd";case 3:return It+"rd"}return It+"th"},era:ne({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ne({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(Ze){return Ze-1}}),month:ne({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ne({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ne({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function de(Ze){return function(Be){var It=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=Be.match(Ze.matchPattern);if(!Ot)return null;var Dt=Ot[0],Bt=Be.match(Ze.parsePattern);if(!Bt)return null;var nt=Ze.valueCallback?Ze.valueCallback(Bt[0]):Bt[0];nt=It.valueCallback?It.valueCallback(nt):nt;var pt=Be.slice(Dt.length);return{value:nt,rest:pt}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Ze){return parseInt(Ze,10)}}),era:q({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:q({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(Ze){return Ze+1}}),month:q({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:q({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:q({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},90895:(wt,Oe,p)=>{p.d(Oe,{Z:()=>s});var o=p(80953),e=p(91998),g=p(40833);function s(h,F){(0,g.Z)(1,arguments);var S=F||{},b=S.locale,z=b&&b.options&&b.options.weekStartsOn,H=null==z?0:(0,e.Z)(z),A=null==S.weekStartsOn?H:(0,e.Z)(S.weekStartsOn);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var j=(0,o.Z)(h),ne=j.getDay(),Pe=(ne{p.d(Oe,{Z:()=>h});var o=p(91998),e=p(80953),g=p(40833);function s(F,S){(0,g.Z)(2,arguments);var b=(0,e.Z)(F).getTime(),z=(0,o.Z)(S);return new Date(b+z)}function h(F,S){(0,g.Z)(2,arguments);var b=(0,o.Z)(S);return s(F,-b)}},80953:(wt,Oe,p)=>{p.d(Oe,{Z:()=>e});var o=p(40833);function e(g){(0,o.Z)(1,arguments);var s=Object.prototype.toString.call(g);return g instanceof Date||"object"==typeof g&&"[object Date]"===s?new Date(g.getTime()):"number"==typeof g||"[object Number]"===s?new Date(g):(("string"==typeof g||"[object String]"===s)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},19632:(wt,Oe,p)=>{p.d(Oe,{oj:()=>S});var o=p(94650),e=p(83386),g=p(41952);class h{constructor(z,H,A){this.nodes=z,this.viewRef=H,this.componentRef=A}}class F{constructor(z,H,A,j,ne,Pe,ee,pe){this._viewContainerRef=z,this._renderer=H,this._elementRef=A,this._injector=j,this._componentFactoryResolver=ne,this._ngZone=Pe,this._applicationRef=ee,this._posService=pe,this.onBeforeShow=new o.vpe,this.onShown=new o.vpe,this.onBeforeHide=new o.vpe,this.onHidden=new o.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(z){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(z),this}to(z){return this.container=z||this.container,this}position(z){return this.attachment=z.attachment||this.attachment,this._elementRef=z.target||this._elementRef,this}provide(z){return this._providers.push(z),this}show(z={}){if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(z.content,z.context,z.initialState);const H=o.zs3.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(H,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,z),this.container instanceof o.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(z.id?{id:z.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(z){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const H=this._componentRef.location.nativeElement;return H.parentNode.removeChild(H),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(z?{id:z}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(z){this.triggers=z.triggers||this.triggers,this._listenOpts.outsideClick=z.outsideClick,this._listenOpts.outsideEsc=z.outsideEsc,z.target=z.target||this._elementRef.nativeElement;const H=this._listenOpts.hide=()=>z.hide?z.hide():void this.hide(),A=this._listenOpts.show=ne=>{z.show?z.show(ne):this.show(ne),ne()};return this._unregisterListenersFn=(0,e.wo)(this._renderer,{target:z.target,triggers:z.triggers,show:A,hide:H,toggle:ne=>{this.isShown?H():A(ne)}}),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=null)}attachInline(z,H){return this._inlineViewRef=z.createEmbeddedView(H),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const z=this._componentRef.location.nativeElement;setTimeout(()=>{this._globalListener=(0,e.Rg)(this._renderer,{targets:[z,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide()})})}this._listenOpts.outsideEsc&&(this._globalListener=(0,e.C)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{!this._componentRef||this._posService.calcPosition()}))}_unsubscribePositioning(){!this._zoneSubscription||(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}_getContentRef(z,H,A){if(!z)return new h([]);if(z instanceof o.Rgc){if(this._viewContainerRef){const ne=this._viewContainerRef.createEmbeddedView(z,H);return ne.markForCheck(),new h([ne.rootNodes],ne)}const j=z.createEmbeddedView({});return this._applicationRef.attachView(j),new h([j.rootNodes],j)}if("function"==typeof z){const j=this._componentFactoryResolver.resolveComponentFactory(z),ne=o.zs3.create({providers:this._providers,parent:this._injector}),Pe=j.create(ne);return Object.assign(Pe.instance,A),this._applicationRef.attachView(Pe.hostView),new h([[Pe.location.nativeElement]],Pe.hostView,Pe)}return new h([[this._renderer.createText(`${z}`)]])}}let S=(()=>{class b{constructor(H,A,j,ne,Pe){this._componentFactoryResolver=H,this._ngZone=A,this._injector=j,this._posService=ne,this._applicationRef=Pe}createLoader(H,A,j){return new F(A,j,H,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return b.\u0275fac=function(H){return new(H||b)(o.LFG(o._Vd),o.LFG(o.R0b),o.LFG(o.zs3),o.LFG(g.sA),o.LFG(o.z2F))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac}),b})()},70853:(wt,Oe,p)=>{p.d(Oe,{Hz:()=>Pe,Mq:()=>ee,TO:()=>ne,mr:()=>pe});var o=p(94650),e=p(92198),g=p(19632),s=p(83386),h=p(37340),F=p(41952);const S=["*"];let b=(()=>{class X{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1}}return X.\u0275fac=function(ve){return new(ve||X)},X.\u0275prov=(0,o.Yz7)({factory:function(){return new X},token:X,providedIn:"root"}),X})(),z=(()=>{class X{constructor(){this.direction="down",this.isOpenChange=new o.vpe,this.isDisabledChange=new o.vpe,this.toggleClick=new o.vpe,this.dropdownMenu=new Promise(ve=>{this.resolveDropdownMenu=ve})}}return X.\u0275fac=function(ve){return new(ve||X)},X.\u0275prov=o.Yz7({token:X,factory:X.\u0275fac}),X})();const A=[(0,h.oB)({height:0,overflow:"hidden"}),(0,h.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,h.oB)({height:"*",overflow:"hidden"}))];let j=(()=>{class X{constructor(ve,T,Y,k,q){this._state=ve,this.cd=T,this._renderer=Y,this._element=k,this.isOpen=!1,this._factoryDropDownAnimation=q.build(A),this._subscription=ve.isOpenChange.subscribe(Q=>{this.isOpen=Q;const ae=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),ae&&!(0,s.XA)()&&(this._renderer.addClass(ae,"show"),ae.classList.contains("dropdown-menu-right")&&(this._renderer.setStyle(ae,"left","auto"),this._renderer.setStyle(ae,"right","0")),"up"===this.direction&&(this._renderer.setStyle(ae,"top","auto"),this._renderer.setStyle(ae,"transform","translateY(-101%)"))),ae&&this._state.isAnimated&&this._factoryDropDownAnimation.create(ae).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(ve){return this._element.nativeElement.contains(ve)}ngOnDestroy(){this._subscription.unsubscribe()}}return X.\u0275fac=function(ve){return new(ve||X)(o.Y36(z),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(h._j))},X.\u0275cmp=o.Xpm({type:X,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:S,decls:2,vars:8,template:function(ve,T){1&ve&&(o.F$t(),o.TgZ(0,"div"),o.Hsn(1),o.qZA()),2&ve&&o.ekj("dropup","up"===T.direction)("dropdown","down"===T.direction)("show",T.isOpen)("open",T.isOpen)},dependencies:function(){return[ne]},encapsulation:2,changeDetection:0}),X})(),ne=(()=>{class X{constructor(ve,T,Y,k,q,Q,ae){this._elementRef=ve,this._renderer=T,this._viewContainerRef=Y,this._cis=k,this._state=q,this._config=Q,this._isInlineOpen=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._factoryDropDownAnimation=ae.build(A),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:z,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(ve){this._state.autoClose=ve}get autoClose(){return this._state.autoClose}set isAnimated(ve){this._state.isAnimated=ve}get isAnimated(){return this._state.isAnimated}set insideClick(ve){this._state.insideClick=ve}get insideClick(){return this._state.insideClick}set isDisabled(ve){this._isDisabled=ve,this._state.isDisabledChange.emit(ve),ve&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(ve){ve?this.show():this.hide()}get isBs4(){return!(0,s.XA)()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(ve=>this.toggle(ve))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,e.h)(ve=>ve)).subscribe(ve=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(ve=>{this._dropdown.attachInline(ve.viewContainer,ve.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(ve=>{const T=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=T?"up":"down";const Y=this.placement||(T?"top start":"bottom start");this._dropdown.attach(j).to(this.container).position({attachment:Y}).show({content:ve.templateRef,placement:Y}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){!this.isOpen||(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(ve){return this.isOpen||!ve?this.hide():this.show()}_contains(ve){return this._elementRef.nativeElement.contains(ve.target)||this._dropdown.instance&&this._dropdown.instance._contains(ve.target)}ngOnDestroy(){for(const ve of this._subscriptions)ve.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){(0,s.XA)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const ve=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",ve?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",ve?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return X.\u0275fac=function(ve){return new(ve||X)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(g.oj),o.Y36(z),o.Y36(b),o.Y36(h._j))},X.\u0275dir=o.lG2({type:X,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(ve,T){2&ve&&o.ekj("dropup",T.dropup)("open",T.isOpen)("show",T.isOpen&&T.isBs4)},inputs:{autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen",placement:"placement",triggers:"triggers",container:"container",dropup:"dropup"},outputs:{onShown:"onShown",onHidden:"onHidden",isOpenChange:"isOpenChange"},exportAs:["bs-dropdown"],features:[o._Bn([z])]}),X})(),Pe=(()=>{class X{constructor(ve,T,Y){ve.resolveDropdownMenu({templateRef:Y,viewContainer:T})}}return X.\u0275fac=function(ve){return new(ve||X)(o.Y36(z),o.Y36(o.s_b),o.Y36(o.Rgc))},X.\u0275dir=o.lG2({type:X,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),X})(),ee=(()=>{class X{constructor(ve,T,Y,k,q){this._changeDetectorRef=ve,this._dropdown=T,this._element=Y,this._renderer=k,this._state=q,this.isDisabled=null,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(Q=>{this.isOpen=Q,Q?(this._documentClickListener=this._renderer.listen("document","click",ae=>{this._state.autoClose&&2!==ae.button&&!this._element.nativeElement.contains(ae.target)&&(!this._state.insideClick||!this._dropdown._contains(ae))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener(),this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(Q=>this.isDisabled=Q||null))}onClick(){this.isDisabled||this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const ve of this._subscriptions)ve.unsubscribe()}}return X.\u0275fac=function(ve){return new(ve||X)(o.Y36(o.sBO),o.Y36(ne),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(z))},X.\u0275dir=o.lG2({type:X,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(ve,T){1&ve&&o.NdJ("click",function(){return T.onClick()}),2&ve&&o.uIk("aria-haspopup",!0)("disabled",T.isDisabled)("aria-expanded",T.isOpen)},exportAs:["bs-dropdown-toggle"]}),X})(),pe=(()=>{class X{static forRoot(ve){return{ngModule:X,providers:[g.oj,F.sA,z]}}}return X.\u0275fac=function(ve){return new(ve||X)},X.\u0275mod=o.oAB({type:X}),X.\u0275inj=o.cJS({}),X})()},3080:(wt,Oe,p)=>{p.d(Oe,{UZ:()=>F,tT:()=>T,zk:()=>Y});var o=p(94650),e=p(83386),g=p(19632),s=p(41952);const h=["*"];let F=(()=>{class k{constructor(){this.hide=Function,this.setClass=Function}}return k.\u0275fac=function(Q){return new(Q||k)},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac}),k})(),b=(()=>{class k{}return k.\u0275fac=function(Q){return new(Q||k)},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac}),k})();const z={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},H=new o.OlP("override-default-config");let ee=(()=>{class k{constructor(Q,ae,de){this._element=ae,this._renderer=de,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},Q)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,(0,e.XA)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(Q){this.clickStartedInContent=Q.target!==this._element.nativeElement}onClickStop(Q){this.config.ignoreBackdropClick||"static"===this.config.backdrop||Q.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(Q){!this.isShown||((27===Q.keyCode||"Escape"===Q.key)&&Q.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this.hide()}hide(){this.isModalHiding||!this.isShown||(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,(0,e.XA)()?"in":"show"),setTimeout(()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService.getModalsCount()&&this._renderer.removeClass(document.body,"modal-open"),this.bsModalService.hide(this.config.id),this.isModalHiding=!1},this.isAnimated?300:0))}}return k.\u0275fac=function(Q){return new(Q||k)(o.Y36(b),o.Y36(o.SBq),o.Y36(o.Qsj))},k.\u0275cmp=o.Xpm({type:k,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(Q,ae){1&Q&&o.NdJ("mousedown",function(be){return ae.onClickStarted(be)})("mouseup",function(be){return ae.onClickStop(be)})("popstate",function(){return ae.onPopState()},!1,o.Jf7)("keydown.esc",function(be){return ae.onEsc(be)},!1,o.Jf7),2&Q&&o.uIk("aria-modal",!0)("aria-labelledby",ae.config.ariaLabelledBy)("aria-describedby",ae.config.ariaDescribedby)},ngContentSelectors:h,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(Q,ae){1&Q&&(o.F$t(),o.TgZ(0,"div",0)(1,"div",1),o.Hsn(2),o.qZA()()),2&Q&&o.Tol("modal-dialog"+(ae.config.class?" "+ae.config.class:""))},encapsulation:2}),k})(),pe=(()=>{class k{constructor(Q,ae){this._isShown=!1,this.element=Q,this.renderer=ae}get isAnimated(){return this._isAnimated}set isAnimated(Q){this._isAnimated=Q}get isShown(){return this._isShown}set isShown(Q){this._isShown=Q,Q?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,e.XA)()||(Q?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),e.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return k.\u0275fac=function(Q){return new(Q||k)(o.Y36(o.SBq),o.Y36(o.Qsj))},k.\u0275cmp=o.Xpm({type:k,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(Q,ae){},encapsulation:2}),k})(),T=(()=>{class k{constructor(Q,ae,de){this.clf=ae,this.modalDefaultOption=de,this.onShow=new o.vpe,this.onShown=new o.vpe,this.onHide=new o.vpe,this.onHidden=new o.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason=null,this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=Q.createRenderer(null,null),this.config=de?Object.assign({},z,de):z}show(Q,ae){this.modalsCount++,this._createLoaders();const de=ae?.id||(new Date).getUTCMilliseconds();return this.config=this.modalDefaultOption?Object.assign({},z,this.modalDefaultOption,ae):Object.assign({},z,ae),this.config.id=de,this._showBackdrop(),this.lastDismissReason=null,this._showModal(Q)}hide(Q){(1===this.modalsCount||null==Q)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=Q?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(Q),this.removeLoaders(Q)},this.config.animated?150:0)}_showBackdrop(){const Q=this.config.backdrop||"static"===this.config.backdrop,ae=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),Q&&ae&&(this._backdropLoader.attach(pe).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(Q){var ae;const de=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const se of this.config.providers)de.provide(se);const be=new F,ge=de.provide({provide:b,useValue:this.config}).provide({provide:F,useValue:be}).attach(ee).to("body");return be.hide=()=>ge.instance.hide(),be.setClass=se=>{ge.instance.config.class=se},be.onHidden=new o.vpe,be.onHide=new o.vpe,this.copyEvent(de.onBeforeHide,be.onHide),this.copyEvent(de.onHidden,be.onHidden),ge.show({content:Q,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),ge.instance.level=this.getModalsCount(),be.content=de.getInnerComponent()||null,be.id=null===(ae=ge.instance.config)||void 0===ae?void 0:ae.id,be}_hideModal(Q){if(null!=Q){const ae=this.loaders.findIndex(be=>be.instance.config.id===Q),de=this.loaders[ae];de&&de.hide(Q)}else this.loaders.forEach(ae=>{ae.hide(ae.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(Q){this.lastDismissReason=Q}removeBackdrop(){this._renderer.removeClass(document.body,"modal-open"),this._backdropLoader.hide(),this.backdropRef=null}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidthde.instance.config.id===Q);ae>=0&&(this.loaders.splice(ae,1),this.loaders.forEach((de,be)=>{de.instance.level=be+1}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(Q,ae){Q.subscribe(de=>{ae.emit(this.lastDismissReason||de)})}}return k.\u0275fac=function(Q){return new(Q||k)(o.LFG(o.FYo),o.LFG(g.oj),o.LFG(H,8))},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac}),k})(),Y=(()=>{class k{static forRoot(){return{ngModule:k,providers:[T,g.oj,s.sA]}}static forChild(){return{ngModule:k,providers:[T,g.oj,s.sA]}}}return k.\u0275fac=function(Q){return new(Q||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({}),k})()},41952:(wt,Oe,p)=>{p.d(Oe,{sA:()=>Qt});var o=p(94650),e=p(36895),g=p(8929),s=p(36787),h=p(23753),F=p(21086),S=p(90352);function b(Me,dt){if(1!==Me.nodeType)return[];const te=Me.ownerDocument.defaultView.getComputedStyle(Me,null);return dt?te[dt]:te}function z(Me){return"HTML"===Me.nodeName?Me:Me.parentNode||Me.host}function H(Me){if(!Me)return document.body;switch(Me.nodeName){case"HTML":case"BODY":return Me.ownerDocument.body;case"#document":return Me.body}const{overflow:dt,overflowX:je,overflowY:te}=b(Me);return/(auto|scroll|overlay)/.test(String(dt)+String(te)+String(je))?Me:H(z(Me))}const A=typeof window<"u"&&typeof document<"u",j=A&&!(!window.MSInputMethodContext||!document.documentMode),ne=A&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function Pe(Me){return 11===Me?j:10===Me?ne:j||ne}function ee(Me){if(!Me)return document.documentElement;const dt=Pe(10)?document.body:null;let te,je=Me.offsetParent||null;for(;je===dt&&Me.nextElementSibling&&te!==Me.nextElementSibling;)te=Me.nextElementSibling,je=te.offsetParent;const Ie=je&&je.nodeName;return Ie&&"BODY"!==Ie&&"HTML"!==Ie?-1!==["TH","TD","TABLE"].indexOf(je.nodeName)&&"static"===b(je,"position")?ee(je):je:te?te.ownerDocument.documentElement:document.documentElement}function X(Me){return null!==Me.parentNode?X(Me.parentNode):Me}function Ne(Me,dt){if(!(Me&&Me.nodeType&&dt&&dt.nodeType))return document.documentElement;const je=Me.compareDocumentPosition(dt)&Node.DOCUMENT_POSITION_FOLLOWING,te=je?Me:dt,Ie=je?dt:Me,ze=document.createRange();ze.setStart(te,0),ze.setEnd(Ie,0);const{commonAncestorContainer:ke}=ze;if(Me!==ke&&dt!==ke||te.contains(Ie))return function pe(Me){const{nodeName:dt}=Me;return"BODY"!==dt&&("HTML"===dt||ee(Me.firstElementChild)===Me)}(ke)?ke:ee(ke);const R=X(Me);return R.host?Ne(R.host,dt):Ne(Me,X(dt).host)}function ve(Me,dt){const je="x"===dt?"Left":"Top",te="Left"===je?"Right":"Bottom";return parseFloat(Me[`border${je}Width`])+parseFloat(Me[`border${te}Width`])}function T(Me,dt,je,te){return Math.max(dt[`offset${Me}`],dt[`scroll${Me}`],je[`client${Me}`],je[`offset${Me}`],je[`scroll${Me}`],Pe(10)?parseInt(je[`offset${Me}`],10)+parseInt(te["margin"+("Height"===Me?"Top":"Left")],10)+parseInt(te["margin"+("Height"===Me?"Bottom":"Right")],10):0)}function Y(Me){const dt=Me.body,je=Me.documentElement,te=Pe(10)&&getComputedStyle(je);return{height:T("Height",dt,je,te),width:T("Width",dt,je,te)}}function k(Me,dt="top"){const je="top"===dt?"scrollTop":"scrollLeft",te=Me.nodeName;if("BODY"===te||"HTML"===te){const Ie=Me.ownerDocument.documentElement;return(Me.ownerDocument.scrollingElement||Ie)[je]}return Me[je]}function q(Me){return Object.assign(Object.assign({},Me),{right:Me.left+Me.width,bottom:Me.top+Me.height})}function Q(Me){let dt={};try{if(Pe(10)){dt=Me.getBoundingClientRect();const U=k(Me,"top"),B=k(Me,"left");dt.top+=U,dt.left+=B,dt.bottom+=U,dt.right+=B}else dt=Me.getBoundingClientRect()}catch{return}const je={left:dt.left,top:dt.top,width:dt.right-dt.left,height:dt.bottom-dt.top},te="HTML"===Me.nodeName?Y(Me.ownerDocument):{};let ke=Me.offsetWidth-(te.width||Me.clientWidth||je.right-je.left),R=Me.offsetHeight-(te.height||Me.clientHeight||je.bottom-je.top);if(ke||R){const U=b(Me);ke-=ve(U,"x"),R-=ve(U,"y"),je.width-=ke,je.height-=R}return q(je)}function de(Me,dt,je=!1){const te=Pe(10),Ie="HTML"===dt.nodeName,ze=Q(Me),ke=Q(dt),R=H(Me),U=b(dt),B=parseFloat(U.borderTopWidth),ce=parseFloat(U.borderLeftWidth);je&&Ie&&(ke.top=Math.max(ke.top,0),ke.left=Math.max(ke.left,0));let He=q({top:ze.top-ke.top-B,left:ze.left-ke.left-ce,width:ze.width,height:ze.height});if(He.marginTop=0,He.marginLeft=0,!te&&Ie){const vt=parseFloat(U.marginTop),xt=parseFloat(U.marginLeft);He.top-=B-vt,He.bottom-=B-vt,He.left-=ce-xt,He.right-=ce-xt,He.marginTop=vt,He.marginLeft=xt}return(te&&!je?dt.contains(R):dt===R&&"BODY"!==R.nodeName)&&(He=function ae(Me,dt,je=!1){const te=k(dt,"top"),Ie=k(dt,"left"),ze=je?-1:1;return Me.top+=te*ze,Me.bottom+=te*ze,Me.left+=Ie*ze,Me.right+=Ie*ze,Me}(He,dt)),He}function ge(Me){const dt=Me.nodeName;return"BODY"!==dt&&"HTML"!==dt&&("fixed"===b(Me,"position")||ge(z(Me)))}function se(Me){if(!Me||!Me.parentElement||Pe())return document.documentElement;let dt=Me.parentElement;for(;dt&&"none"===b(dt,"transform");)dt=dt.parentElement;return dt||document.documentElement}function he(Me,dt,je=0,te,Ie=!1){let ze={top:0,left:0};const ke=Ie?se(Me):Ne(Me,dt);if("viewport"===te)ze=function be(Me,dt=!1){const je=Me.ownerDocument.documentElement,te=de(Me,je),Ie=Math.max(je.clientWidth,window.innerWidth||0),ze=Math.max(je.clientHeight,window.innerHeight||0),ke=dt?0:k(je),R=dt?0:k(je,"left");return q({top:ke-Number(te.top)+Number(te.marginTop),left:R-Number(te.left)+Number(te.marginLeft),width:Ie,height:ze})}(ke,Ie);else{let R;"scrollParent"===te?(R=H(z(dt)),"BODY"===R.nodeName&&(R=Me.ownerDocument.documentElement)):R="window"===te?Me.ownerDocument.documentElement:te;const U=de(R,ke,Ie);if("HTML"!==R.nodeName||ge(ke))ze=U;else{const{height:B,width:ce}=Y(Me.ownerDocument);ze.top+=U.top-U.marginTop,ze.bottom=Number(B)+Number(U.top),ze.left+=U.left-U.marginLeft,ze.right=Number(ce)+Number(U.left)}}return ze.left+=je,ze.top+=je,ze.right-=je,ze.bottom-=je,ze}function De({width:Me,height:dt}){return Me*dt}function _e(Me,dt,je,te,Ie=["top","bottom","right","left"],ze="viewport",ke=0){if(-1===Me.indexOf("auto"))return Me;const R=he(je,te,ke,ze),U={top:{width:R.width,height:dt.top-R.top},right:{width:R.right-dt.right,height:R.height},bottom:{width:R.width,height:R.bottom-dt.bottom},left:{width:dt.left-R.left,height:R.height}},B=Object.keys(U).map(xt=>Object.assign(Object.assign({key:xt},U[xt]),{area:De(U[xt])})).sort((xt,Rt)=>Rt.area-xt.area);let ce=B.filter(({width:xt,height:Rt})=>xt>=je.clientWidth&&Rt>=je.clientHeight);ce=ce.filter(xt=>Ie.some(Rt=>Rt===xt.key));const He=ce.length>0?ce[0].key:B[0].key,vt=Me.split(" ")[1];return je.className=je.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${He}`),He+(vt?`-${vt}`:"")}function Fe(Me){const je=Me.ownerDocument.defaultView.getComputedStyle(Me),te=parseFloat(je.marginTop||0)+parseFloat(je.marginBottom||0),Ie=parseFloat(je.marginLeft||0)+parseFloat(je.marginRight||0);return{width:Number(Me.offsetWidth)+Ie,height:Number(Me.offsetHeight)+te}}function Ue(Me,dt,je=null){return de(dt,je?se(Me):Ne(Me,dt),je)}function Mt(Me,dt,je){const te=je.split(" ")[0],Ie=Fe(Me),ze={width:Ie.width,height:Ie.height},ke=-1!==["right","left"].indexOf(te),R=ke?"top":"left",U=ke?"left":"top",B=ke?"height":"width",ce=ke?"width":"height";return ze[R]=dt[R]+dt[B]/2-Ie[B]/2,ze[U]=te===U?dt[U]-Ie[ce]:dt[function we(Me){const dt={left:"right",right:"left",bottom:"top",top:"bottom"};return Me.replace(/left|right|bottom|top/g,je=>dt[je])}(U)],ze}function _t(Me,dt){return Me&&Me.modifiers&&Me.modifiers[dt]&&Me.modifiers[dt].enabled}function Ge(Me,dt,je){Object.keys(dt).forEach(te=>{let Ie="";-1!==["width","height","top","right","bottom","left"].indexOf(te)&&function Ft(Me){return""!==Me&&!isNaN(parseFloat(Me))&&isFinite(Me)}(dt[te])&&(Ie="px"),je?je.setStyle(Me,te,`${String(dt[te])}${Ie}`):Me.style[te]=String(dt[te])+Ie})}function Ze(Me){let dt=Me.offsets.target;const je=Me.instance.target.querySelector(".arrow");if(!je)return Me;const te=-1!==["left","right"].indexOf(Me.placement.split(" ")[0]),Ie=te?"height":"width",ze=te?"Top":"Left",ke=ze.toLowerCase(),R=te?"left":"top",U=te?"bottom":"right",B=Fe(je)[Ie],ce=Me.placement.split(" ")[1];Me.offsets.host[U]-Bdt[U]&&(dt[ke]+=Number(Me.offsets.host[ke])+Number(B)-Number(dt[U])),dt=q(dt);const He=b(Me.instance.target),vt=parseFloat(He[`margin${ze}`]),xt=parseFloat(He[`border${ze}Width`]);let Rt;if(ce){const Kt=parseFloat(He.borderRadius),bt=Number(vt+xt+Kt);Rt=ke===ce?Number(Me.offsets.host[ke])+bt:Number(Me.offsets.host[ke])+Number(Me.offsets.host[Ie]-bt)}else Rt=Number(Me.offsets.host[ke])+Number(Me.offsets.host[Ie]/2-B/2);let Ct=Rt-dt[ke]-vt-xt;return Ct=Math.max(Math.min(dt[Ie]-B,Ct),0),Me.offsets.arrow={[ke]:Math.round(Ct),[R]:""},Me.instance.arrow=je,Me}function Be(Me){if(Me.offsets.target=q(Me.offsets.target),!_t(Me.options,"flip"))return Me.offsets.target=Object.assign(Object.assign({},Me.offsets.target),Mt(Me.instance.target,Me.offsets.host,Me.placement)),Me;const dt=he(Me.instance.target,Me.instance.host,0,"viewport",!1);let je=Me.placement.split(" ")[0],te=Me.placement.split(" ")[1]||"";const R=_e("auto",Me.offsets.host,Me.instance.target,Me.instance.host,Me.options.allowedPositions),U=[je,R];return U.forEach((B,ce)=>{if(je!==B||U.length===ce+1)return Me;je=Me.placement.split(" ")[0];const He="left"===je&&Math.floor(Me.offsets.target.right)>Math.floor(Me.offsets.host.left)||"right"===je&&Math.floor(Me.offsets.target.left)Math.floor(Me.offsets.host.top)||"bottom"===je&&Math.floor(Me.offsets.target.top)Math.floor(dt.right),Rt=Math.floor(Me.offsets.target.top)Math.floor(dt.bottom),Kt="left"===je&&vt||"right"===je&&xt||"top"===je&&Rt||"bottom"===je&&Ct,bt=-1!==["top","bottom"].indexOf(je),qt=bt&&"left"===te&&vt||bt&&"right"===te&&xt||!bt&&"left"===te&&Rt||!bt&&"right"===te&&Ct;(He||Kt||qt)&&((He||Kt)&&(je=U[ce+1]),qt&&(te=function Ae(Me){return"right"===Me?"left":"left"===Me?"right":Me}(te)),Me.placement=je+(te?` ${te}`:""),Me.offsets.target=Object.assign(Object.assign({},Me.offsets.target),Mt(Me.instance.target,Me.offsets.host,Me.placement)))}),Me}function Ot(Me){if(!_t(Me.options,"preventOverflow"))return Me;const dt="transform",je=Me.instance.target.style,{top:te,left:Ie,[dt]:ze}=je;je.top="",je.left="",je[dt]="";const ke=he(Me.instance.target,Me.instance.host,0,"scrollParent",!1);je.top=te,je.left=Ie,je[dt]=ze;const U={primary(ce){let He=Me.offsets.target[ce];return Me.offsets.target[ce]ke[ce]&&(vt=Math.min(Me.offsets.target[He],ke[ce]-("right"===ce?Me.offsets.target.width:Me.offsets.target.height))),{[He]:vt}}};let B;return["left","right","top","bottom"].forEach(ce=>{B=-1!==["left","top"].indexOf(ce)?"primary":"secondary",Me.offsets.target=Object.assign(Object.assign({},Me.offsets.target),U[B](ce))}),Me}function Dt(Me){const dt=Me.placement,je=dt.split(" ")[0],te=dt.split(" ")[1];if(te){const{host:Ie,target:ze}=Me.offsets,ke=-1!==["bottom","top"].indexOf(je),R=ke?"left":"top",U=ke?"width":"height",B={start:{[R]:Ie[R]},end:{[R]:Ie[R]+Ie[U]-ze[U]}};Me.offsets.target=Object.assign(Object.assign({},ze),{[R]:R===te?B.start[R]:B.end[R]})}return Me}const nt=new class Bt{position(dt,je,te=!0){return this.offset(dt,je,!1)}offset(dt,je,te=!0){return Ue(je,dt)}positionElements(dt,je,te,Ie,ze){return[Be,Dt,Ot,Ze].reduce((R,U)=>U(R),function It(Me,dt,je,te){const Ie=Ue(Me,dt);!je.match(/^(auto)*\s*(left|right|top|bottom)*$/)&&!je.match(/^(left|right|top|bottom)*(?: (left|right|top|bottom))?\s*(start|end)*$/)&&(je="auto");const ze=!!je.match(/auto/g);let ke=je.match(/auto\s(left|right|top|bottom)/)?je.split(" ")[1]||"auto":je;const R=ke.match(/^(left|right|top|bottom)* ?(?!\1)(left|right|top|bottom)?/);R&&(ke=R[1]+(R[2]?` ${R[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(ke)&&(ke="auto");const U=Mt(Me,Ie,ke);return ke=_e(ke,Ie,Me,dt,te?te.allowedPositions:void 0),{options:te,instance:{target:Me,host:dt,arrow:null},offsets:{target:U,host:Ie,arrow:null},positionFixed:!1,placement:ke,placementAuto:ze}}(je,dt,te,ze))}};let Qt=(()=>{class Me{constructor(je,te,Ie){this.update$$=new g.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,e.NF)(Ie)&&je.runOutsideAngular(()=>{this.triggerEvent$=(0,s.T)((0,h.R)(window,"scroll",{passive:!0}),(0,h.R)(window,"resize",{passive:!0}),(0,F.of)(0,S.Z),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(ze=>{!function pt(Me,dt,je,te,Ie,ze){const ke=nt.positionElements(Me,dt,je,te,Ie),R=function Ce(Me){return{width:Me.offsets.target.width,height:Me.offsets.target.height,left:Math.floor(Me.offsets.target.left),top:Math.round(Me.offsets.target.top),bottom:Math.round(Me.offsets.target.bottom),right:Math.floor(Me.offsets.target.right)}}(ke);Ge(dt,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${R.left}px, ${R.top}px, 0px)`},ze),ke.instance.arrow&&Ge(ke.instance.arrow,ke.offsets.arrow,ze),function et(Me,dt){const je=Me.instance.target;let te=je.className;Me.placementAuto&&(te=te.replace(/bs-popover-auto/g,`bs-popover-${Me.placement}`),te=te.replace(/bs-tooltip-auto/g,`bs-tooltip-${Me.placement}`),te=te.replace(/\sauto/g,` ${Me.placement}`),-1!==te.indexOf("popover")&&-1===te.indexOf("popover-auto")&&(te+=" popover-auto"),-1!==te.indexOf("tooltip")&&-1===te.indexOf("tooltip-auto")&&(te+=" tooltip-auto")),te=te.replace(/left|right|top|bottom/g,`${Me.placement.split(" ")[0]}`),dt?dt.setAttribute(je,"class",te):je.className=te}(ke,ze)}(Jt(ze.target),Jt(ze.element),ze.attachment,ze.appendToBody,this.options,te.createRenderer(null,null))})})})}position(je){this.addPositionElement(je)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(je){this.positionElements.set(Jt(je.element),je)}calcPosition(){this.update$$.next()}deletePositionElement(je){this.positionElements.delete(Jt(je))}setOptions(je){this.options=je}}return Me.\u0275fac=function(je){return new(je||Me)(o.LFG(o.R0b),o.LFG(o.FYo),o.LFG(o.Lbi))},Me.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac}),Me})();function Jt(Me){return"string"==typeof Me?document.querySelector(Me):Me instanceof o.SBq?Me.nativeElement:Me}},52485:(wt,Oe,p)=>{p.d(Oe,{P4:()=>j});var o=p(94650),e=p(36895);let j=(()=>{class ne{static forRoot(){return{ngModule:ne,providers:[]}}}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[e.ez]}),ne})()},83386:(wt,Oe,p)=>{p.d(Oe,{C:()=>b,Rg:()=>S,XA:()=>Q,cQ:()=>be,tj:()=>H,u9:()=>z,wo:()=>F});class o{constructor(_e,Ce){this.open=_e,this.close=Ce||_e}isManual(){return"manual"===this.open||"manual"===this.close}}const g={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function F(De,_e){const Ce=function s(De,_e=g){const Ce=(De||"").trim();if(0===Ce.length)return[];const we=Ce.split(/\s+/).map(Fe=>Fe.split(":")).map(Fe=>{const Ue=_e[Fe[0]]||Fe;return new o(Ue[0],Ue[1])}),Ae=we.filter(Fe=>Fe.isManual());if(Ae.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ae.length&&we.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return we}(_e.triggers),we=_e.target;if(1===Ce.length&&Ce[0].isManual())return Function.prototype;const Ae=[],Fe=[],Ue=()=>{Fe.forEach(Mt=>Ae.push(Mt())),Fe.length=0};return Ce.forEach(Mt=>{const _t=Mt.open===Mt.close,Ft=_t?_e.toggle:_e.show;_t||Fe.push(()=>De.listen(we,Mt.close,_e.hide)),Ae.push(De.listen(we,Mt.open,()=>Ft(Ue)))}),()=>{Ae.forEach(Mt=>Mt())}}function S(De,_e){return _e.outsideClick?De.listen("document","click",Ce=>{_e.target&&_e.target.contains(Ce.target)||_e.targets&&_e.targets.some(we=>we.contains(Ce.target))||_e.hide()}):Function.prototype}function b(De,_e){return _e.outsideEsc?De.listen("document","keyup.esc",Ce=>{_e.target&&_e.target.contains(Ce.target)||_e.targets&&_e.targets.some(we=>we.contains(Ce.target))||_e.hide()}):Function.prototype}const z=typeof window<"u"&&window||{},H=z.document;let Y;function Q(){return typeof z>"u"||(typeof z.__theme>"u"?(Y||(Y=function k(){if(typeof document>"u")return null;const De=document.createElement("span");De.innerText="test bs version",document.body.appendChild(De),De.classList.add("d-none");const _e=De.getBoundingClientRect();return document.body.removeChild(De),_e&&0===_e.top?"bs4":"bs3"}()),"bs3"===Y):"bs4"!==z.__theme)}class be{static reflow(_e){}static getStyles(_e){let Ce=_e.ownerDocument.defaultView;return(!Ce||!Ce.opener)&&(Ce=z),Ce.getComputedStyle(_e)}}typeof console>"u"||console},591:(wt,Oe,p)=>{p.d(Oe,{X:()=>g});var o=p(8929),e=p(95279);class g extends o.xQ{constructor(h){super(),this._value=h}get value(){return this.getValue()}_subscribe(h){const F=super._subscribe(h);return F&&!F.closed&&h.next(this._value),F}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new e.N;return this._value}next(h){super.next(this._value=h)}}},29312:(wt,Oe,p)=>{p.d(Oe,{P:()=>h});var o=p(68896),e=p(21086),g=p(61737);class h{constructor(S,b,z){this.kind=S,this.value=b,this.error=z,this.hasValue="N"===S}observe(S){switch(this.kind){case"N":return S.next&&S.next(this.value);case"E":return S.error&&S.error(this.error);case"C":return S.complete&&S.complete()}}do(S,b,z){switch(this.kind){case"N":return S&&S(this.value);case"E":return b&&b(this.error);case"C":return z&&z()}}accept(S,b,z){return S&&"function"==typeof S.next?this.observe(S):this.do(S,b,z)}toObservable(){switch(this.kind){case"N":return(0,e.of)(this.value);case"E":return(0,g._)(this.error);case"C":return(0,o.c)()}throw new Error("unexpected notification kind value")}static createNext(S){return typeof S<"u"?new h("N",S):h.undefinedValueNotification}static createError(S){return new h("E",void 0,S)}static createComplete(){return h.completeNotification}}h.completeNotification=new h("C"),h.undefinedValueNotification=new h("N",void 0)},56498:(wt,Oe,p)=>{p.d(Oe,{y:()=>z});var o=p(43489),g=p(57668),s=p(73292),F=p(93821),S=p(4843),b=p(92830);let z=(()=>{class A{constructor(ne){this._isScalar=!1,ne&&(this._subscribe=ne)}lift(ne){const Pe=new A;return Pe.source=this,Pe.operator=ne,Pe}subscribe(ne,Pe,ee){const{operator:pe}=this,X=function h(A,j,ne){if(A){if(A instanceof o.L)return A;if(A[g.b])return A[g.b]()}return A||j||ne?new o.L(A,j,ne):new o.L(s.c)}(ne,Pe,ee);if(X.add(pe?pe.call(X,this.source):this.source||b.v.useDeprecatedSynchronousErrorHandling&&!X.syncErrorThrowable?this._subscribe(X):this._trySubscribe(X)),b.v.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable&&(X.syncErrorThrowable=!1,X.syncErrorThrown))throw X.syncErrorValue;return X}_trySubscribe(ne){try{return this._subscribe(ne)}catch(Pe){b.v.useDeprecatedSynchronousErrorHandling&&(ne.syncErrorThrown=!0,ne.syncErrorValue=Pe),function e(A){for(;A;){const{closed:j,destination:ne,isStopped:Pe}=A;if(j||Pe)return!1;A=ne&&ne instanceof o.L?ne:null}return!0}(ne)?ne.error(Pe):console.warn(Pe)}}forEach(ne,Pe){return new(Pe=H(Pe))((ee,pe)=>{let X;X=this.subscribe(Ne=>{try{ne(Ne)}catch(ve){pe(ve),X&&X.unsubscribe()}},pe,ee)})}_subscribe(ne){const{source:Pe}=this;return Pe&&Pe.subscribe(ne)}[F.L](){return this}pipe(...ne){return 0===ne.length?this:(0,S.U)(ne)(this)}toPromise(ne){return new(ne=H(ne))((Pe,ee)=>{let pe;this.subscribe(X=>pe=X,X=>ee(X),()=>Pe(pe))})}}return A.create=j=>new A(j),A})();function H(A){if(A||(A=b.v.Promise||Promise),!A)throw new Error("no Promise impl found");return A}},73292:(wt,Oe,p)=>{p.d(Oe,{c:()=>g});var o=p(92830),e=p(22782);const g={closed:!0,next(s){},error(s){if(o.v.useDeprecatedSynchronousErrorHandling)throw s;(0,e.z)(s)},complete(){}}},826:(wt,Oe,p)=>{p.d(Oe,{L:()=>e});var o=p(43489);class e extends o.L{notifyNext(s,h,F,S,b){this.destination.next(h)}notifyError(s,h){this.destination.error(s)}notifyComplete(s){this.destination.complete()}}},96831:(wt,Oe,p)=>{p.d(Oe,{t:()=>X});var o=p(8929),e=p(56686),s=p(32268);const S=new class h extends s.v{}(class g extends e.o{constructor(T,Y){super(T,Y),this.scheduler=T,this.work=Y}schedule(T,Y=0){return Y>0?super.schedule(T,Y):(this.delay=Y,this.state=T,this.scheduler.flush(this),this)}execute(T,Y){return Y>0||this.closed?super.execute(T,Y):this._execute(T,Y)}requestAsyncId(T,Y,k=0){return null!==k&&k>0||null===k&&this.delay>0?super.requestAsyncId(T,Y,k):T.flush(this)}});var b=p(42654),z=p(43489),H=p(29312);class ne extends z.L{constructor(T,Y,k=0){super(T),this.scheduler=Y,this.delay=k}static dispatch(T){const{notification:Y,destination:k}=T;Y.observe(k),this.unsubscribe()}scheduleMessage(T){this.destination.add(this.scheduler.schedule(ne.dispatch,this.delay,new Pe(T,this.destination)))}_next(T){this.scheduleMessage(H.P.createNext(T))}_error(T){this.scheduleMessage(H.P.createError(T)),this.unsubscribe()}_complete(){this.scheduleMessage(H.P.createComplete()),this.unsubscribe()}}class Pe{constructor(T,Y){this.notification=T,this.destination=Y}}var ee=p(95279),pe=p(45283);class X extends o.xQ{constructor(T=Number.POSITIVE_INFINITY,Y=Number.POSITIVE_INFINITY,k){super(),this.scheduler=k,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=T<1?1:T,this._windowTime=Y<1?1:Y,Y===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(T){if(!this.isStopped){const Y=this._events;Y.push(T),Y.length>this._bufferSize&&Y.shift()}super.next(T)}nextTimeWindow(T){this.isStopped||(this._events.push(new Ne(this._getNow(),T)),this._trimBufferThenGetEvents()),super.next(T)}_subscribe(T){const Y=this._infiniteTimeWindow,k=Y?this._events:this._trimBufferThenGetEvents(),q=this.scheduler,Q=k.length;let ae;if(this.closed)throw new ee.N;if(this.isStopped||this.hasError?ae=b.w.EMPTY:(this.observers.push(T),ae=new pe.W(this,T)),q&&T.add(T=new ne(T,q)),Y)for(let de=0;deY&&(ae=Math.max(ae,Q-Y)),ae>0&&q.splice(0,ae),q}}class Ne{constructor(T,Y){this.time=T,this.value=Y}}},8929:(wt,Oe,p)=>{p.d(Oe,{Yc:()=>S,xQ:()=>b});var o=p(56498),e=p(43489),g=p(42654),s=p(95279),h=p(45283),F=p(57668);class S extends e.L{constructor(A){super(A),this.destination=A}}let b=(()=>{class H extends o.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[F.b](){return new S(this)}lift(j){const ne=new z(this,this);return ne.operator=j,ne}next(j){if(this.closed)throw new s.N;if(!this.isStopped){const{observers:ne}=this,Pe=ne.length,ee=ne.slice();for(let pe=0;penew z(A,j),H})();class z extends b{constructor(A,j){super(),this.destination=A,this.source=j}next(A){const{destination:j}=this;j&&j.next&&j.next(A)}error(A){const{destination:j}=this;j&&j.error&&this.destination.error(A)}complete(){const{destination:A}=this;A&&A.complete&&this.destination.complete()}_subscribe(A){const{source:j}=this;return j?this.source.subscribe(A):g.w.EMPTY}}},45283:(wt,Oe,p)=>{p.d(Oe,{W:()=>e});var o=p(42654);class e extends o.w{constructor(s,h){super(),this.subject=s,this.subscriber=h,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const s=this.subject,h=s.observers;if(this.subject=null,!h||0===h.length||s.isStopped||s.closed)return;const F=h.indexOf(this.subscriber);-1!==F&&h.splice(F,1)}}},43489:(wt,Oe,p)=>{p.d(Oe,{L:()=>S});var o=p(67043),e=p(73292),g=p(42654),s=p(57668),h=p(92830),F=p(22782);class S extends g.w{constructor(H,A,j){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=e.c;break;case 1:if(!H){this.destination=e.c;break}if("object"==typeof H){H instanceof S?(this.syncErrorThrowable=H.syncErrorThrowable,this.destination=H,H.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,H));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,H,A,j)}}[s.b](){return this}static create(H,A,j){const ne=new S(H,A,j);return ne.syncErrorThrowable=!1,ne}next(H){this.isStopped||this._next(H)}error(H){this.isStopped||(this.isStopped=!0,this._error(H))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(H){this.destination.next(H)}_error(H){this.destination.error(H),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:H}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=H,this}}class b extends S{constructor(H,A,j,ne){super(),this._parentSubscriber=H;let Pe,ee=this;(0,o.m)(A)?Pe=A:A&&(Pe=A.next,j=A.error,ne=A.complete,A!==e.c&&(ee=Object.create(A),(0,o.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=Pe,this._error=j,this._complete=ne}next(H){if(!this.isStopped&&this._next){const{_parentSubscriber:A}=this;h.v.useDeprecatedSynchronousErrorHandling&&A.syncErrorThrowable?this.__tryOrSetError(A,this._next,H)&&this.unsubscribe():this.__tryOrUnsub(this._next,H)}}error(H){if(!this.isStopped){const{_parentSubscriber:A}=this,{useDeprecatedSynchronousErrorHandling:j}=h.v;if(this._error)j&&A.syncErrorThrowable?(this.__tryOrSetError(A,this._error,H),this.unsubscribe()):(this.__tryOrUnsub(this._error,H),this.unsubscribe());else if(A.syncErrorThrowable)j?(A.syncErrorValue=H,A.syncErrorThrown=!0):(0,F.z)(H),this.unsubscribe();else{if(this.unsubscribe(),j)throw H;(0,F.z)(H)}}}complete(){if(!this.isStopped){const{_parentSubscriber:H}=this;if(this._complete){const A=()=>this._complete.call(this._context);h.v.useDeprecatedSynchronousErrorHandling&&H.syncErrorThrowable?(this.__tryOrSetError(H,A),this.unsubscribe()):(this.__tryOrUnsub(A),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(H,A){try{H.call(this._context,A)}catch(j){if(this.unsubscribe(),h.v.useDeprecatedSynchronousErrorHandling)throw j;(0,F.z)(j)}}__tryOrSetError(H,A,j){if(!h.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{A.call(this._context,j)}catch(ne){return h.v.useDeprecatedSynchronousErrorHandling?(H.syncErrorValue=ne,H.syncErrorThrown=!0,!0):((0,F.z)(ne),!0)}return!1}_unsubscribe(){const{_parentSubscriber:H}=this;this._context=null,this._parentSubscriber=null,H.unsubscribe()}}},42654:(wt,Oe,p)=>{p.d(Oe,{w:()=>F});var o=p(66688),e=p(57830),g=p(67043);const h=(()=>{function b(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((H,A)=>`${A+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return b.prototype=Object.create(Error.prototype),b})();class F{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:H,_ctorUnsubscribe:A,_unsubscribe:j,_subscriptions:ne}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,H instanceof F)H.remove(this);else if(null!==H)for(let Pe=0;Pez.concat(H instanceof h?H.errors:H),[])}F.EMPTY=((b=new F).closed=!0,b)},92830:(wt,Oe,p)=>{p.d(Oe,{v:()=>e});let o=!1;const e={Promise:void 0,set useDeprecatedSynchronousErrorHandling(g){if(g){const s=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+s.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=g},get useDeprecatedSynchronousErrorHandling(){return o}}},41177:(wt,Oe,p)=>{p.d(Oe,{Ds:()=>F,IY:()=>s,ft:()=>b});var o=p(43489),e=p(56498),g=p(59249);class s extends o.L{constructor(H){super(),this.parent=H}_next(H){this.parent.notifyNext(H)}_error(H){this.parent.notifyError(H),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends o.L{notifyNext(H){this.destination.next(H)}notifyError(H){this.destination.error(H)}notifyComplete(){this.destination.complete()}}function b(z,H){if(H.closed)return;if(z instanceof e.y)return z.subscribe(H);let A;try{A=(0,g.s)(z)(H)}catch(j){H.error(j)}return A}},71762:(wt,Oe,p)=>{p.d(Oe,{N:()=>F,c:()=>h});var o=p(8929),e=p(56498),g=p(42654),s=p(74327);class h extends e.y{constructor(A,j){super(),this.source=A,this.subjectFactory=j,this._refCount=0,this._isComplete=!1}_subscribe(A){return this.getSubject().subscribe(A)}getSubject(){const A=this._subject;return(!A||A.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let A=this._connection;return A||(this._isComplete=!1,A=this._connection=new g.w,A.add(this.source.subscribe(new S(this.getSubject(),this))),A.closed&&(this._connection=null,A=g.w.EMPTY)),A}refCount(){return(0,s.x)()(this)}}const F=(()=>{const H=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:H._subscribe},_isComplete:{value:H._isComplete,writable:!0},getSubject:{value:H.getSubject},connect:{value:H.connect},refCount:{value:H.refCount}}})();class S extends o.Yc{constructor(A,j){super(A),this.connectable=j}_error(A){this._unsubscribe(),super._error(A)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const A=this.connectable;if(A){this.connectable=null;const j=A._connection;A._refCount=0,A._subject=null,A._connection=null,j&&j.unsubscribe()}}}},36053:(wt,Oe,p)=>{p.d(Oe,{aj:()=>S});var o=p(72866),e=p(66688),g=p(826),s=p(40448),h=p(33009);const F={};function S(...H){let A,j;return(0,o.K)(H[H.length-1])&&(j=H.pop()),"function"==typeof H[H.length-1]&&(A=H.pop()),1===H.length&&(0,e.k)(H[0])&&(H=H[0]),(0,h.n)(H,j).lift(new b(A))}class b{constructor(A){this.resultSelector=A}call(A,j){return j.subscribe(new z(A,this.resultSelector))}}class z extends g.L{constructor(A,j){super(A),this.resultSelector=j,this.active=0,this.values=[],this.observables=[]}_next(A){this.values.push(F),this.observables.push(A)}_complete(){const A=this.observables,j=A.length;if(0===j)this.destination.complete();else{this.active=j,this.toRespond=j;for(let ne=0;ne{p.d(Oe,{z:()=>s});var o=p(21086),e=p(89146);function s(...h){return function g(){return(0,e.J)(1)}()((0,o.of)(...h))}},88514:(wt,Oe,p)=>{p.d(Oe,{P:()=>s});var o=p(56498),e=p(5254),g=p(68896);function s(h){return new o.y(F=>{let S;try{S=h()}catch(z){return void F.error(z)}return(S?(0,e.D)(S):(0,g.c)()).subscribe(F)})}},68896:(wt,Oe,p)=>{p.d(Oe,{E:()=>e,c:()=>g});var o=p(56498);const e=new o.y(h=>h.complete());function g(h){return h?function s(h){return new o.y(F=>h.schedule(()=>F.complete()))}(h):e}},5254:(wt,Oe,p)=>{p.d(Oe,{D:()=>ee});var o=p(56498),e=p(59249),g=p(42654),s=p(93821),S=p(66454),b=p(5430),A=p(98955),j=p(58515);function ee(pe,X){return X?function Pe(pe,X){if(null!=pe){if(function H(pe){return pe&&"function"==typeof pe[s.L]}(pe))return function h(pe,X){return new o.y(Ne=>{const ve=new g.w;return ve.add(X.schedule(()=>{const T=pe[s.L]();ve.add(T.subscribe({next(Y){ve.add(X.schedule(()=>Ne.next(Y)))},error(Y){ve.add(X.schedule(()=>Ne.error(Y)))},complete(){ve.add(X.schedule(()=>Ne.complete()))}}))})),ve})}(pe,X);if((0,A.t)(pe))return function F(pe,X){return new o.y(Ne=>{const ve=new g.w;return ve.add(X.schedule(()=>pe.then(T=>{ve.add(X.schedule(()=>{Ne.next(T),ve.add(X.schedule(()=>Ne.complete()))}))},T=>{ve.add(X.schedule(()=>Ne.error(T)))}))),ve})}(pe,X);if((0,j.z)(pe))return(0,S.r)(pe,X);if(function ne(pe){return pe&&"function"==typeof pe[b.hZ]}(pe)||"string"==typeof pe)return function z(pe,X){if(!pe)throw new Error("Iterable cannot be null");return new o.y(Ne=>{const ve=new g.w;let T;return ve.add(()=>{T&&"function"==typeof T.return&&T.return()}),ve.add(X.schedule(()=>{T=pe[b.hZ](),ve.add(X.schedule(function(){if(Ne.closed)return;let Y,k;try{const q=T.next();Y=q.value,k=q.done}catch(q){return void Ne.error(q)}k?Ne.complete():(Ne.next(Y),this.schedule())}))})),ve})}(pe,X)}throw new TypeError((null!==pe&&typeof pe||pe)+" is not observable")}(pe,X):pe instanceof o.y?pe:new o.y((0,e.s)(pe))}},33009:(wt,Oe,p)=>{p.d(Oe,{n:()=>s});var o=p(56498),e=p(13650),g=p(66454);function s(h,F){return F?(0,g.r)(h,F):new o.y((0,e.V)(h))}},23753:(wt,Oe,p)=>{p.d(Oe,{R:()=>F});var o=p(56498),e=p(66688),g=p(67043),s=p(24850);function F(A,j,ne,Pe){return(0,g.m)(ne)&&(Pe=ne,ne=void 0),Pe?F(A,j,ne).pipe((0,s.U)(ee=>(0,e.k)(ee)?Pe(...ee):Pe(ee))):new o.y(ee=>{S(A,j,function pe(X){ee.next(arguments.length>1?Array.prototype.slice.call(arguments):X)},ee,ne)})}function S(A,j,ne,Pe,ee){let pe;if(function H(A){return A&&"function"==typeof A.addEventListener&&"function"==typeof A.removeEventListener}(A)){const X=A;A.addEventListener(j,ne,ee),pe=()=>X.removeEventListener(j,ne,ee)}else if(function z(A){return A&&"function"==typeof A.on&&"function"==typeof A.off}(A)){const X=A;A.on(j,ne),pe=()=>X.off(j,ne)}else if(function b(A){return A&&"function"==typeof A.addListener&&"function"==typeof A.removeListener}(A)){const X=A;A.addListener(j,ne),pe=()=>X.removeListener(j,ne)}else{if(!A||!A.length)throw new TypeError("Invalid event target");for(let X=0,Ne=A.length;X{p.d(Oe,{T:()=>h});var o=p(56498),e=p(72866),g=p(89146),s=p(33009);function h(...F){let S=Number.POSITIVE_INFINITY,b=null,z=F[F.length-1];return(0,e.K)(z)?(b=F.pop(),F.length>1&&"number"==typeof F[F.length-1]&&(S=F.pop())):"number"==typeof z&&(S=F.pop()),null===b&&1===F.length&&F[0]instanceof o.y?F[0]:(0,g.J)(S)((0,s.n)(F,b))}},21086:(wt,Oe,p)=>{p.d(Oe,{of:()=>s});var o=p(72866),e=p(33009),g=p(66454);function s(...h){let F=h[h.length-1];return(0,o.K)(F)?(h.pop(),(0,g.r)(h,F)):(0,e.n)(h)}},61737:(wt,Oe,p)=>{p.d(Oe,{_:()=>e});var o=p(56498);function e(s,h){return new o.y(h?F=>h.schedule(g,0,{error:s,subscriber:F}):F=>F.error(s))}function g({error:s,subscriber:h}){h.error(s)}},98723:(wt,Oe,p)=>{p.d(Oe,{H:()=>h});var o=p(56498),e=p(20353),g=p(84241),s=p(72866);function h(S=0,b,z){let H=-1;return(0,g.k)(b)?H=Number(b)<1?1:Number(b):(0,s.K)(b)&&(z=b),(0,s.K)(z)||(z=e.P),new o.y(A=>{const j=(0,g.k)(S)?S:+S-z.now();return z.schedule(F,j,{index:0,period:H,subscriber:A})})}function F(S){const{index:b,period:z,subscriber:H}=S;if(H.next(b),!H.closed){if(-1===z)return H.complete();S.index=b+1,this.schedule(S,z)}}},57138:(wt,Oe,p)=>{p.d(Oe,{e:()=>S});var o=p(20353),e=p(41177);class s{constructor(z){this.durationSelector=z}call(z,H){return H.subscribe(new h(z,this.durationSelector))}}class h extends e.Ds{constructor(z,H){super(z),this.durationSelector=H,this.hasValue=!1}_next(z){if(this.value=z,this.hasValue=!0,!this.throttled){let H;try{const{durationSelector:j}=this;H=j(z)}catch(j){return this.destination.error(j)}const A=(0,e.ft)(H,new e.IY(this));!A||A.closed?this.clearThrottle():this.add(this.throttled=A)}}clearThrottle(){const{value:z,hasValue:H,throttled:A}=this;A&&(this.remove(A),this.throttled=void 0,A.unsubscribe()),H&&(this.value=void 0,this.hasValue=!1,this.destination.next(z))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var F=p(98723);function S(b,z=o.P){return function g(b){return function(H){return H.lift(new s(b))}}(()=>(0,F.H)(b,z))}},27221:(wt,Oe,p)=>{p.d(Oe,{K:()=>e});var o=p(41177);function e(h){return function(S){const b=new g(h),z=S.lift(b);return b.caught=z}}class g{constructor(F){this.selector=F}call(F,S){return S.subscribe(new s(F,this.selector,this.caught))}}class s extends o.Ds{constructor(F,S,b){super(F),this.selector=S,this.caught=b}error(F){if(!this.isStopped){let S;try{S=this.selector(F,this.caught)}catch(H){return void super.error(H)}this._unsubscribeAndRecycle();const b=new o.IY(this);this.add(b);const z=(0,o.ft)(S,b);z!==b&&this.add(z)}}}},21406:(wt,Oe,p)=>{p.d(Oe,{b:()=>e});var o=p(61709);function e(g,s){return(0,o.zg)(g,s,1)}},80013:(wt,Oe,p)=>{p.d(Oe,{b:()=>g});var o=p(43489),e=p(20353);function g(S,b=e.P){return z=>z.lift(new s(S,b))}class s{constructor(b,z){this.dueTime=b,this.scheduler=z}call(b,z){return z.subscribe(new h(b,this.dueTime,this.scheduler))}}class h extends o.L{constructor(b,z,H){super(b),this.dueTime=z,this.scheduler=H,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(F,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function F(S){S.debouncedNext()}},47314:(wt,Oe,p)=>{p.d(Oe,{d:()=>e});var o=p(43489);function e(h=null){return F=>F.lift(new g(h))}class g{constructor(F){this.defaultValue=F}call(F,S){return S.subscribe(new s(F,this.defaultValue))}}class s extends o.L{constructor(F,S){super(F),this.defaultValue=S,this.isEmpty=!0}_next(F){this.isEmpty=!1,this.destination.next(F)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},18583:(wt,Oe,p)=>{p.d(Oe,{g:()=>h});var o=p(20353),g=p(43489),s=p(29312);function h(z,H=o.P){const j=function e(z){return z instanceof Date&&!isNaN(+z)}(z)?+z-H.now():Math.abs(z);return ne=>ne.lift(new F(j,H))}class F{constructor(H,A){this.delay=H,this.scheduler=A}call(H,A){return A.subscribe(new S(H,this.delay,this.scheduler))}}class S extends g.L{constructor(H,A,j){super(H),this.delay=A,this.scheduler=j,this.queue=[],this.active=!1,this.errored=!1}static dispatch(H){const A=H.source,j=A.queue,ne=H.scheduler,Pe=H.destination;for(;j.length>0&&j[0].time-ne.now()<=0;)j.shift().notification.observe(Pe);if(j.length>0){const ee=Math.max(0,j[0].time-ne.now());this.schedule(H,ee)}else this.unsubscribe(),A.active=!1}_schedule(H){this.active=!0,this.destination.add(H.schedule(S.dispatch,this.delay,{source:this,destination:this.destination,scheduler:H}))}scheduleNotification(H){if(!0===this.errored)return;const A=this.scheduler,j=new b(A.now()+this.delay,H);this.queue.push(j),!1===this.active&&this._schedule(A)}_next(H){this.scheduleNotification(s.P.createNext(H))}_error(H){this.errored=!0,this.queue=[],this.destination.error(H),this.unsubscribe()}_complete(){this.scheduleNotification(s.P.createComplete()),this.unsubscribe()}}class b{constructor(H,A){this.time=H,this.notification=A}}},75778:(wt,Oe,p)=>{p.d(Oe,{x:()=>e});var o=p(43489);function e(h,F){return S=>S.lift(new g(h,F))}class g{constructor(F,S){this.compare=F,this.keySelector=S}call(F,S){return S.subscribe(new s(F,this.compare,this.keySelector))}}class s extends o.L{constructor(F,S,b){super(F),this.keySelector=b,this.hasKey=!1,"function"==typeof S&&(this.compare=S)}compare(F,S){return F===S}_next(F){let S;try{const{keySelector:z}=this;S=z?z(F):F}catch(z){return this.destination.error(z)}let b=!1;if(this.hasKey)try{const{compare:z}=this;b=z(this.key,S)}catch(z){return this.destination.error(z)}else this.hasKey=!0;b||(this.key=S,this.destination.next(F))}}},92198:(wt,Oe,p)=>{p.d(Oe,{h:()=>e});var o=p(43489);function e(h,F){return function(b){return b.lift(new g(h,F))}}class g{constructor(F,S){this.predicate=F,this.thisArg=S}call(F,S){return S.subscribe(new s(F,this.predicate,this.thisArg))}}class s extends o.L{constructor(F,S,b){super(F),this.predicate=S,this.thisArg=b,this.count=0}_next(F){let S;try{S=this.predicate.call(this.thisArg,F,this.count++)}catch(b){return void this.destination.error(b)}S&&this.destination.next(F)}}},40537:(wt,Oe,p)=>{p.d(Oe,{x:()=>g});var o=p(43489),e=p(42654);function g(F){return S=>S.lift(new s(F))}class s{constructor(S){this.callback=S}call(S,b){return b.subscribe(new h(S,this.callback))}}class h extends o.L{constructor(S,b){super(S),this.add(new e.w(b))}}},87224:(wt,Oe,p)=>{p.d(Oe,{P:()=>S});var o=p(84450),e=p(92198),g=p(72986),s=p(47314),h=p(34907),F=p(35379);function S(b,z){const H=arguments.length>=2;return A=>A.pipe(b?(0,e.h)((j,ne)=>b(j,ne,A)):F.y,(0,g.q)(1),H?(0,s.d)(z):(0,h.T)(()=>new o.K))}},24850:(wt,Oe,p)=>{p.d(Oe,{U:()=>e});var o=p(43489);function e(h,F){return function(b){if("function"!=typeof h)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new g(h,F))}}class g{constructor(F,S){this.project=F,this.thisArg=S}call(F,S){return S.subscribe(new s(F,this.project,this.thisArg))}}class s extends o.L{constructor(F,S,b){super(F),this.project=S,this.count=0,this.thisArg=b||this}_next(F){let S;try{S=this.project.call(this.thisArg,F,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(S)}}},77604:(wt,Oe,p)=>{p.d(Oe,{h:()=>e});var o=p(43489);function e(h){return F=>F.lift(new g(h))}class g{constructor(F){this.value=F}call(F,S){return S.subscribe(new s(F,this.value))}}class s extends o.L{constructor(F,S){super(F),this.value=S}_next(F){this.destination.next(this.value)}}},89146:(wt,Oe,p)=>{p.d(Oe,{J:()=>g});var o=p(61709),e=p(35379);function g(s=Number.POSITIVE_INFINITY){return(0,o.zg)(e.y,s)}},61709:(wt,Oe,p)=>{p.d(Oe,{zg:()=>s});var o=p(24850),e=p(5254),g=p(41177);function s(b,z,H=Number.POSITIVE_INFINITY){return"function"==typeof z?A=>A.pipe(s((j,ne)=>(0,e.D)(b(j,ne)).pipe((0,o.U)((Pe,ee)=>z(j,Pe,ne,ee))),H)):("number"==typeof z&&(H=z),A=>A.lift(new h(b,H)))}class h{constructor(z,H=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=H}call(z,H){return H.subscribe(new F(z,this.project,this.concurrent))}}class F extends g.Ds{constructor(z,H,A=Number.POSITIVE_INFINITY){super(z),this.project=H,this.concurrent=A,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(wt,Oe,p)=>{p.d(Oe,{x:()=>e});var o=p(43489);function e(){return function(F){return F.lift(new g(F))}}class g{constructor(F){this.connectable=F}call(F,S){const{connectable:b}=this;b._refCount++;const z=new s(F,b),H=S.subscribe(z);return z.closed||(z.connection=b.connect()),H}}class s extends o.L{constructor(F,S){super(F),this.connectable=S}_unsubscribe(){const{connectable:F}=this;if(!F)return void(this.connection=null);this.connectable=null;const S=F._refCount;if(S<=0)return void(this.connection=null);if(F._refCount=S-1,S>1)return void(this.connection=null);const{connection:b}=this,z=F._connection;this.connection=null,z&&(!b||z===b)&&z.unsubscribe()}}},12474:(wt,Oe,p)=>{p.d(Oe,{B:()=>S});var o=p(71762);class g{constructor(z,H){this.subjectFactory=z,this.selector=H}call(z,H){const{selector:A}=this,j=this.subjectFactory(),ne=A(j).subscribe(z);return ne.add(H.subscribe(j)),ne}}var s=p(74327),h=p(8929);function F(){return new h.xQ}function S(){return b=>(0,s.x)()(function e(b,z){return function(A){let j;if(j="function"==typeof b?b:function(){return b},"function"==typeof z)return A.lift(new g(j,z));const ne=Object.create(A,o.N);return ne.source=A,ne.subjectFactory=j,ne}}(F)(b))}},31307:(wt,Oe,p)=>{p.d(Oe,{T:()=>e});var o=p(43489);function e(h){return F=>F.lift(new g(h))}class g{constructor(F){this.total=F}call(F,S){return S.subscribe(new s(F,this.total))}}class s extends o.L{constructor(F,S){super(F),this.total=S,this.count=0}_next(F){++this.count>this.total&&this.destination.next(F)}}},1059:(wt,Oe,p)=>{p.d(Oe,{O:()=>g});var o=p(61221),e=p(72866);function g(...s){const h=s[s.length-1];return(0,e.K)(h)?(s.pop(),F=>(0,o.z)(s,F,h)):F=>(0,o.z)(s,F)}},87545:(wt,Oe,p)=>{p.d(Oe,{w:()=>s});var o=p(24850),e=p(5254),g=p(41177);function s(S,b){return"function"==typeof b?z=>z.pipe(s((H,A)=>(0,e.D)(S(H,A)).pipe((0,o.U)((j,ne)=>b(H,j,A,ne))))):z=>z.lift(new h(S))}class h{constructor(b){this.project=b}call(b,z){return z.subscribe(new F(b,this.project))}}class F extends g.Ds{constructor(b,z){super(b),this.project=z,this.index=0}_next(b){let z;const H=this.index++;try{z=this.project(b,H)}catch(A){return void this.destination.error(A)}this._innerSub(z)}_innerSub(b){const z=this.innerSubscription;z&&z.unsubscribe();const H=new g.IY(this),A=this.destination;A.add(H),this.innerSubscription=(0,g.ft)(b,H),this.innerSubscription!==H&&A.add(this.innerSubscription)}_complete(){const{innerSubscription:b}=this;(!b||b.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(b){this.destination.next(b)}}},72986:(wt,Oe,p)=>{p.d(Oe,{q:()=>s});var o=p(43489),e=p(94231),g=p(68896);function s(S){return b=>0===S?(0,g.c)():b.lift(new h(S))}class h{constructor(b){if(this.total=b,this.total<0)throw new e.W}call(b,z){return z.subscribe(new F(b,this.total))}}class F extends o.L{constructor(b,z){super(b),this.total=z,this.count=0}_next(b){const z=this.total,H=++this.count;H<=z&&(this.destination.next(b),H===z&&(this.destination.complete(),this.unsubscribe()))}}},7625:(wt,Oe,p)=>{p.d(Oe,{R:()=>e});var o=p(41177);function e(h){return F=>F.lift(new g(h))}class g{constructor(F){this.notifier=F}call(F,S){const b=new s(F),z=(0,o.ft)(this.notifier,new o.IY(b));return z&&!b.seenValue?(b.add(z),S.subscribe(b)):b}}class s extends o.Ds{constructor(F){super(F),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},44290:(wt,Oe,p)=>{p.d(Oe,{o:()=>e});var o=p(43489);function e(h,F=!1){return S=>S.lift(new g(h,F))}class g{constructor(F,S){this.predicate=F,this.inclusive=S}call(F,S){return S.subscribe(new s(F,this.predicate,this.inclusive))}}class s extends o.L{constructor(F,S,b){super(F),this.predicate=S,this.inclusive=b,this.index=0}_next(F){const S=this.destination;let b;try{b=this.predicate(F,this.index++)}catch(z){return void S.error(z)}this.nextOrComplete(F,b)}nextOrComplete(F,S){const b=this.destination;Boolean(S)?b.next(F):(this.inclusive&&b.next(F),b.complete())}}},2994:(wt,Oe,p)=>{p.d(Oe,{b:()=>s});var o=p(43489),e=p(67876),g=p(67043);function s(S,b,z){return function(A){return A.lift(new h(S,b,z))}}class h{constructor(b,z,H){this.nextOrObserver=b,this.error=z,this.complete=H}call(b,z){return z.subscribe(new F(b,this.nextOrObserver,this.error,this.complete))}}class F extends o.L{constructor(b,z,H,A){super(b),this._tapNext=e.Z,this._tapError=e.Z,this._tapComplete=e.Z,this._tapError=H||e.Z,this._tapComplete=A||e.Z,(0,g.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||e.Z,this._tapError=z.error||e.Z,this._tapComplete=z.complete||e.Z)}_next(b){try{this._tapNext.call(this._context,b)}catch(z){return void this.destination.error(z)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(z){return void this.destination.error(z)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(wt,Oe,p)=>{p.d(Oe,{T:()=>g});var o=p(84450),e=p(43489);function g(S=F){return b=>b.lift(new s(S))}class s{constructor(b){this.errorFactory=b}call(b,z){return z.subscribe(new h(b,this.errorFactory))}}class h extends e.L{constructor(b,z){super(b),this.errorFactory=z,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(z){b=z}this.destination.error(b)}}}function F(){return new o.K}},87168:(wt,Oe,p)=>{p.d(Oe,{M:()=>g});var o=p(826),e=p(40448);function g(...F){return S=>{let b;return"function"==typeof F[F.length-1]&&(b=F.pop()),S.lift(new s(F,b))}}class s{constructor(S,b){this.observables=S,this.project=b}call(S,b){return b.subscribe(new h(S,this.observables,this.project))}}class h extends o.L{constructor(S,b,z){super(S),this.observables=b,this.project=z,this.toRespond=[];const H=b.length;this.values=new Array(H);for(let A=0;A0){const A=H.indexOf(z);-1!==A&&H.splice(A,1)}}notifyComplete(){}_next(S){if(0===this.toRespond.length){const b=[S,...this.values];this.project?this._tryProject(b):this.destination.next(b)}}_tryProject(S){let b;try{b=this.project.apply(this,S)}catch(z){return void this.destination.error(z)}this.destination.next(b)}}},66454:(wt,Oe,p)=>{p.d(Oe,{r:()=>g});var o=p(56498),e=p(42654);function g(s,h){return new o.y(F=>{const S=new e.w;let b=0;return S.add(h.schedule(function(){b!==s.length?(F.next(s[b++]),F.closed||S.add(this.schedule())):F.complete()})),S})}},56686:(wt,Oe,p)=>{p.d(Oe,{o:()=>g});var o=p(42654);class e extends o.w{constructor(h,F){super()}schedule(h,F=0){return this}}class g extends e{constructor(h,F){super(h,F),this.scheduler=h,this.work=F,this.pending=!1}schedule(h,F=0){if(this.closed)return this;this.state=h;const S=this.id,b=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(b,S,F)),this.pending=!0,this.delay=F,this.id=this.id||this.requestAsyncId(b,this.id,F),this}requestAsyncId(h,F,S=0){return setInterval(h.flush.bind(h,this),S)}recycleAsyncId(h,F,S=0){if(null!==S&&this.delay===S&&!1===this.pending)return F;clearInterval(F)}execute(h,F){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const S=this._execute(h,F);if(S)return S;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,F){let b,S=!1;try{this.work(h)}catch(z){S=!0,b=!!z&&z||new Error(z)}if(S)return this.unsubscribe(),b}_unsubscribe(){const h=this.id,F=this.scheduler,S=F.actions,b=S.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&S.splice(b,1),null!=h&&(this.id=this.recycleAsyncId(F,h,null)),this.delay=null}}},32268:(wt,Oe,p)=>{p.d(Oe,{v:()=>e});let o=(()=>{class g{constructor(h,F=g.now){this.SchedulerAction=h,this.now=F}schedule(h,F=0,S){return new this.SchedulerAction(this,h).schedule(S,F)}}return g.now=()=>Date.now(),g})();class e extends o{constructor(s,h=o.now){super(s,()=>e.delegate&&e.delegate!==this?e.delegate.now():h()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(s,h=0,F){return e.delegate&&e.delegate!==this?e.delegate.schedule(s,h,F):super.schedule(s,h,F)}flush(s){const{actions:h}=this;if(this.active)return void h.push(s);let F;this.active=!0;do{if(F=s.execute(s.state,s.delay))break}while(s=h.shift());if(this.active=!1,F){for(;s=h.shift();)s.unsubscribe();throw F}}}},90352:(wt,Oe,p)=>{p.d(Oe,{Z:()=>h});var o=p(56686),g=p(32268);const h=new class s extends g.v{flush(b){this.active=!0,this.scheduled=void 0;const{actions:z}=this;let H,A=-1,j=z.length;b=b||z.shift();do{if(H=b.execute(b.state,b.delay))break}while(++A0?super.requestAsyncId(b,z,H):(b.actions.push(this),b.scheduled||(b.scheduled=requestAnimationFrame(()=>b.flush(null))))}recycleAsyncId(b,z,H=0){if(null!==H&&H>0||null===H&&this.delay>0)return super.recycleAsyncId(b,z,H);0===b.actions.length&&(cancelAnimationFrame(z),b.scheduled=void 0)}})},8139:(wt,Oe,p)=>{p.d(Oe,{E:()=>A});let o=1;const e=Promise.resolve(),g={};function s(ne){return ne in g&&(delete g[ne],!0)}const h={setImmediate(ne){const Pe=o++;return g[Pe]=!0,e.then(()=>s(Pe)&&ne()),Pe},clearImmediate(ne){s(ne)}};var S=p(56686),z=p(32268);const A=new class H extends z.v{flush(Pe){this.active=!0,this.scheduled=void 0;const{actions:ee}=this;let pe,X=-1,Ne=ee.length;Pe=Pe||ee.shift();do{if(pe=Pe.execute(Pe.state,Pe.delay))break}while(++X0?super.requestAsyncId(Pe,ee,pe):(Pe.actions.push(this),Pe.scheduled||(Pe.scheduled=h.setImmediate(Pe.flush.bind(Pe,null))))}recycleAsyncId(Pe,ee,pe=0){if(null!==pe&&pe>0||null===pe&&this.delay>0)return super.recycleAsyncId(Pe,ee,pe);0===Pe.actions.length&&(h.clearImmediate(ee),Pe.scheduled=void 0)}})},20353:(wt,Oe,p)=>{p.d(Oe,{P:()=>s});var o=p(56686);const s=new(p(32268).v)(o.o)},5430:(wt,Oe,p)=>{p.d(Oe,{hZ:()=>e});const e=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(wt,Oe,p)=>{p.d(Oe,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(wt,Oe,p)=>{p.d(Oe,{b:()=>o});const o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(wt,Oe,p)=>{p.d(Oe,{W:()=>e});const e=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})()},84450:(wt,Oe,p)=>{p.d(Oe,{K:()=>e});const e=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})()},95279:(wt,Oe,p)=>{p.d(Oe,{N:()=>e});const e=(()=>{function g(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return g.prototype=Object.create(Error.prototype),g})()},22782:(wt,Oe,p)=>{function o(e){setTimeout(()=>{throw e},0)}p.d(Oe,{z:()=>o})},35379:(wt,Oe,p)=>{function o(e){return e}p.d(Oe,{y:()=>o})},66688:(wt,Oe,p)=>{p.d(Oe,{k:()=>o});const o=Array.isArray||(e=>e&&"number"==typeof e.length)},58515:(wt,Oe,p)=>{p.d(Oe,{z:()=>o});const o=e=>e&&"number"==typeof e.length&&"function"!=typeof e},67043:(wt,Oe,p)=>{function o(e){return"function"==typeof e}p.d(Oe,{m:()=>o})},84241:(wt,Oe,p)=>{p.d(Oe,{k:()=>e});var o=p(66688);function e(g){return!(0,o.k)(g)&&g-parseFloat(g)+1>=0}},57830:(wt,Oe,p)=>{function o(e){return null!==e&&"object"==typeof e}p.d(Oe,{K:()=>o})},54715:(wt,Oe,p)=>{p.d(Oe,{b:()=>e});var o=p(56498);function e(g){return!!g&&(g instanceof o.y||"function"==typeof g.lift&&"function"==typeof g.subscribe)}},98955:(wt,Oe,p)=>{function o(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}p.d(Oe,{t:()=>o})},72866:(wt,Oe,p)=>{function o(e){return e&&"function"==typeof e.schedule}p.d(Oe,{K:()=>o})},67876:(wt,Oe,p)=>{function o(){}p.d(Oe,{Z:()=>o})},4843:(wt,Oe,p)=>{p.d(Oe,{U:()=>g,z:()=>e});var o=p(35379);function e(...s){return g(s)}function g(s){return 0===s.length?o.y:1===s.length?s[0]:function(F){return s.reduce((S,b)=>b(S),F)}}},59249:(wt,Oe,p)=>{p.d(Oe,{s:()=>A});var o=p(13650),e=p(22782),s=p(5430),F=p(93821),b=p(58515),z=p(98955),H=p(57830);const A=j=>{if(j&&"function"==typeof j[F.L])return(j=>ne=>{const Pe=j[F.L]();if("function"!=typeof Pe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Pe.subscribe(ne)})(j);if((0,b.z)(j))return(0,o.V)(j);if((0,z.t)(j))return(j=>ne=>(j.then(Pe=>{ne.closed||(ne.next(Pe),ne.complete())},Pe=>ne.error(Pe)).then(null,e.z),ne))(j);if(j&&"function"==typeof j[s.hZ])return(j=>ne=>{const Pe=j[s.hZ]();for(;;){let ee;try{ee=Pe.next()}catch(pe){return ne.error(pe),ne}if(ee.done){ne.complete();break}if(ne.next(ee.value),ne.closed)break}return"function"==typeof Pe.return&&ne.add(()=>{Pe.return&&Pe.return()}),ne})(j);{const Pe=`You provided ${(0,H.K)(j)?"an invalid object":`'${j}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Pe)}}},13650:(wt,Oe,p)=>{p.d(Oe,{V:()=>o});const o=e=>g=>{for(let s=0,h=e.length;s{p.d(Oe,{D:()=>h});var o=p(43489);class e extends o.L{constructor(S,b,z){super(),this.parent=S,this.outerValue=b,this.outerIndex=z,this.index=0}_next(S){this.parent.notifyNext(this.outerValue,S,this.outerIndex,this.index++,this)}_error(S){this.parent.notifyError(S,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var g=p(59249),s=p(56498);function h(F,S,b,z,H=new e(F,b,z)){if(!H.closed)return S instanceof s.y?S.subscribe(H):(0,g.s)(S)(H)}},70655:(wt,Oe,p)=>{function h(ge,se,he,De){var we,_e=arguments.length,Ce=_e<3?se:null===De?De=Object.getOwnPropertyDescriptor(se,he):De;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ce=Reflect.decorate(ge,se,he,De);else for(var Ae=ge.length-1;Ae>=0;Ae--)(we=ge[Ae])&&(Ce=(_e<3?we(Ce):_e>3?we(se,he,Ce):we(se,he))||Ce);return _e>3&&Ce&&Object.defineProperty(se,he,Ce),Ce}p.d(Oe,{gn:()=>h})},37340:(wt,Oe,p)=>{p.d(Oe,{EY:()=>pe,IO:()=>ee,LC:()=>e,SB:()=>z,X$:()=>s,ZE:()=>ve,ZN:()=>Ne,_j:()=>o,eR:()=>A,jt:()=>h,k1:()=>T,l3:()=>g,oB:()=>b,vP:()=>S});class o{}class e{}const g="*";function s(Y,k){return{type:7,name:Y,definitions:k,options:{}}}function h(Y,k=null){return{type:4,styles:k,timings:Y}}function S(Y,k=null){return{type:2,steps:Y,options:k}}function b(Y){return{type:6,styles:Y,offset:null}}function z(Y,k,q){return{type:0,name:Y,styles:k,options:q}}function A(Y,k,q=null){return{type:1,expr:Y,animation:k,options:q}}function ee(Y,k,q=null){return{type:11,selector:Y,animation:k,options:q}}function pe(Y,k){return{type:12,timings:Y,animation:k}}function X(Y){Promise.resolve().then(Y)}class Ne{constructor(k=0,q=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=k+q}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(k=>k()),this._onDoneFns=[])}onStart(k){this._originalOnStartFns.push(k),this._onStartFns.push(k)}onDone(k){this._originalOnDoneFns.push(k),this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){X(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(k=>k()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(k=>k()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(k){this._position=this.totalTime?k*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(k){const q="start"==k?this._onStartFns:this._onDoneFns;q.forEach(Q=>Q()),q.length=0}}class ve{constructor(k){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=k;let q=0,Q=0,ae=0;const de=this.players.length;0==de?X(()=>this._onFinish()):this.players.forEach(be=>{be.onDone(()=>{++q==de&&this._onFinish()}),be.onDestroy(()=>{++Q==de&&this._onDestroy()}),be.onStart(()=>{++ae==de&&this._onStart()})}),this.totalTime=this.players.reduce((be,ge)=>Math.max(be,ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(k=>k()),this._onDoneFns=[])}init(){this.players.forEach(k=>k.init())}onStart(k){this._onStartFns.push(k)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(k=>k()),this._onStartFns=[])}onDone(k){this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(k=>k.play())}pause(){this.players.forEach(k=>k.pause())}restart(){this.players.forEach(k=>k.restart())}finish(){this._onFinish(),this.players.forEach(k=>k.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(k=>k.destroy()),this._onDestroyFns.forEach(k=>k()),this._onDestroyFns=[])}reset(){this.players.forEach(k=>k.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(k){const q=k*this.totalTime;this.players.forEach(Q=>{const ae=Q.totalTime?Math.min(1,q/Q.totalTime):1;Q.setPosition(ae)})}getPosition(){const k=this.players.reduce((q,Q)=>null===q||Q.totalTime>q.totalTime?Q:q,null);return null!=k?k.getPosition():0}beforeDestroy(){this.players.forEach(k=>{k.beforeDestroy&&k.beforeDestroy()})}triggerCallback(k){const q="start"==k?this._onStartFns:this._onDoneFns;q.forEach(Q=>Q()),q.length=0}}const T="!"},12687:(wt,Oe,p)=>{p.d(Oe,{Em:()=>Ce,X6:()=>je,kH:()=>bt,qV:()=>nt,rt:()=>Vt,tE:()=>Kt,yG:()=>te});var o=p(36895),e=p(94650),g=p(83353),s=p(8929),h=p(42654),F=p(591),S=p(21086),b=p(29521),z=p(2994),H=p(80013),A=p(92198),j=p(24850),ne=p(72986),Pe=p(31307),ee=p(75778),pe=p(7625),X=p(21281),Ne=p(49643),ve=p(62289);class Ce extends class De{constructor(Ke){this._items=Ke,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.xQ,this._typeaheadSubscription=h.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Re=>Re.disabled,this._pressedLetters=[],this.tabOut=new s.xQ,this.change=new s.xQ,Ke instanceof e.n_E&&Ke.changes.subscribe(Re=>{if(this._activeItem){const Ht=Re.toArray().indexOf(this._activeItem);Ht>-1&&Ht!==this._activeItemIndex&&(this._activeItemIndex=Ht)}})}skipPredicate(Ke){return this._skipPredicateFn=Ke,this}withWrap(Ke=!0){return this._wrap=Ke,this}withVerticalOrientation(Ke=!0){return this._vertical=Ke,this}withHorizontalOrientation(Ke){return this._horizontal=Ke,this}withAllowedModifierKeys(Ke){return this._allowedModifierKeys=Ke,this}withTypeAhead(Ke=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,z.b)(Re=>this._pressedLetters.push(Re)),(0,H.b)(Ke),(0,A.h)(()=>this._pressedLetters.length>0),(0,j.U)(()=>this._pressedLetters.join(""))).subscribe(Re=>{const mt=this._getItemsArray();for(let Ht=1;Ht!Ke[tn]||this._allowedModifierKeys.indexOf(tn)>-1);switch(Re){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&Ht){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&Ht){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&Ht){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&Ht){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&Ht){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&Ht){this.setLastItemActive();break}return;default:return void((Ht||(0,b.Vb)(Ke,"shiftKey"))&&(Ke.key&&1===Ke.key.length?this._letterKeyStream.next(Ke.key.toLocaleUpperCase()):(Re>=b.A&&Re<=b.Z||Re>=b.xE&&Re<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(Re))))}this._pressedLetters=[],Ke.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(Ke){const Re=this._getItemsArray(),mt="number"==typeof Ke?Ke:Re.indexOf(Ke);this._activeItem=Re[mt]??null,this._activeItemIndex=mt}_setActiveItemByDelta(Ke){this._wrap?this._setActiveInWrapMode(Ke):this._setActiveInDefaultMode(Ke)}_setActiveInWrapMode(Ke){const Re=this._getItemsArray();for(let mt=1;mt<=Re.length;mt++){const Ht=(this._activeItemIndex+Ke*mt+Re.length)%Re.length;if(!this._skipPredicateFn(Re[Ht]))return void this.setActiveItem(Ht)}}_setActiveInDefaultMode(Ke){this._setActiveItemByIndex(this._activeItemIndex+Ke,Ke)}_setActiveItemByIndex(Ke,Re){const mt=this._getItemsArray();if(mt[Ke]){for(;this._skipPredicateFn(mt[Ke]);)if(!mt[Ke+=Re])return;this.setActiveItem(Ke)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ke){return this._origin=Ke,this}setActiveItem(Ke){super.setActiveItem(Ke),this.activeItem&&this.activeItem.focus(this._origin)}}let Ae=(()=>{class at{constructor(Re){this._platform=Re}isDisabled(Re){return Re.hasAttribute("disabled")}isVisible(Re){return function Ue(at){return!!(at.offsetWidth||at.offsetHeight||"function"==typeof at.getClientRects&&at.getClientRects().length)}(Re)&&"visible"===getComputedStyle(Re).visibility}isTabbable(Re){if(!this._platform.isBrowser)return!1;const mt=function Fe(at){try{return at.frameElement}catch{return null}}(function Dt(at){return at.ownerDocument&&at.ownerDocument.defaultView||window}(Re));if(mt&&(-1===Be(mt)||!this.isVisible(mt)))return!1;let Ht=Re.nodeName.toLowerCase(),tn=Be(Re);return Re.hasAttribute("contenteditable")?-1!==tn:!("iframe"===Ht||"object"===Ht||this._platform.WEBKIT&&this._platform.IOS&&!function It(at){let Ke=at.nodeName.toLowerCase(),Re="input"===Ke&&at.type;return"text"===Re||"password"===Re||"select"===Ke||"textarea"===Ke}(Re))&&("audio"===Ht?!!Re.hasAttribute("controls")&&-1!==tn:"video"===Ht?-1!==tn&&(null!==tn||this._platform.FIREFOX||Re.hasAttribute("controls")):Re.tabIndex>=0)}isFocusable(Re,mt){return function Ot(at){return!function _t(at){return function et(at){return"input"==at.nodeName.toLowerCase()}(at)&&"hidden"==at.type}(at)&&(function Mt(at){let Ke=at.nodeName.toLowerCase();return"input"===Ke||"select"===Ke||"button"===Ke||"textarea"===Ke}(at)||function Ft(at){return function Ge(at){return"a"==at.nodeName.toLowerCase()}(at)&&at.hasAttribute("href")}(at)||at.hasAttribute("contenteditable")||Ze(at))}(Re)&&!this.isDisabled(Re)&&(mt?.ignoreVisibility||this.isVisible(Re))}}return at.\u0275fac=function(Re){return new(Re||at)(e.LFG(g.t4))},at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})();function Ze(at){if(!at.hasAttribute("tabindex")||void 0===at.tabIndex)return!1;let Ke=at.getAttribute("tabindex");return!(!Ke||isNaN(parseInt(Ke,10)))}function Be(at){if(!Ze(at))return null;const Ke=parseInt(at.getAttribute("tabindex")||"",10);return isNaN(Ke)?-1:Ke}class Bt{constructor(Ke,Re,mt,Ht,tn=!1){this._element=Ke,this._checker=Re,this._ngZone=mt,this._document=Ht,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,tn||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Ke){this._enabled=Ke,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ke,this._startAnchor),this._toggleAnchorTabIndex(Ke,this._endAnchor))}destroy(){const Ke=this._startAnchor,Re=this._endAnchor;Ke&&(Ke.removeEventListener("focus",this.startAnchorListener),Ke.remove()),Re&&(Re.removeEventListener("focus",this.endAnchorListener),Re.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(Ke){return new Promise(Re=>{this._executeOnStable(()=>Re(this.focusInitialElement(Ke)))})}focusFirstTabbableElementWhenReady(Ke){return new Promise(Re=>{this._executeOnStable(()=>Re(this.focusFirstTabbableElement(Ke)))})}focusLastTabbableElementWhenReady(Ke){return new Promise(Re=>{this._executeOnStable(()=>Re(this.focusLastTabbableElement(Ke)))})}_getRegionBoundary(Ke){const Re=this._element.querySelectorAll(`[cdk-focus-region-${Ke}], [cdkFocusRegion${Ke}], [cdk-focus-${Ke}]`);return"start"==Ke?Re.length?Re[0]:this._getFirstTabbableElement(this._element):Re.length?Re[Re.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ke){const Re=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Re){if(!this._checker.isFocusable(Re)){const mt=this._getFirstTabbableElement(Re);return mt?.focus(Ke),!!mt}return Re.focus(Ke),!0}return this.focusFirstTabbableElement(Ke)}focusFirstTabbableElement(Ke){const Re=this._getRegionBoundary("start");return Re&&Re.focus(Ke),!!Re}focusLastTabbableElement(Ke){const Re=this._getRegionBoundary("end");return Re&&Re.focus(Ke),!!Re}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ke){if(this._checker.isFocusable(Ke)&&this._checker.isTabbable(Ke))return Ke;const Re=Ke.children;for(let mt=0;mt=0;mt--){const Ht=Re[mt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Re[mt]):null;if(Ht)return Ht}return null}_createAnchor(){const Ke=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ke),Ke.classList.add("cdk-visually-hidden"),Ke.classList.add("cdk-focus-trap-anchor"),Ke.setAttribute("aria-hidden","true"),Ke}_toggleAnchorTabIndex(Ke,Re){Ke?Re.setAttribute("tabindex","0"):Re.removeAttribute("tabindex")}toggleAnchors(Ke){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ke,this._startAnchor),this._toggleAnchorTabIndex(Ke,this._endAnchor))}_executeOnStable(Ke){this._ngZone.isStable?Ke():this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(Ke)}}let nt=(()=>{class at{constructor(Re,mt,Ht){this._checker=Re,this._ngZone=mt,this._document=Ht}create(Re,mt=!1){return new Bt(Re,this._checker,this._ngZone,this._document,mt)}}return at.\u0275fac=function(Re){return new(Re||at)(e.LFG(Ae),e.LFG(e.R0b),e.LFG(o.K0))},at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})();function je(at){return 0===at.buttons||0===at.offsetX&&0===at.offsetY}function te(at){const Ke=at.touches&&at.touches[0]||at.changedTouches&&at.changedTouches[0];return!(!Ke||-1!==Ke.identifier||null!=Ke.radiusX&&1!==Ke.radiusX||null!=Ke.radiusY&&1!==Ke.radiusY)}const Ie=new e.OlP("cdk-input-modality-detector-options"),ze={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},R=(0,g.i$)({passive:!0,capture:!0});let U=(()=>{class at{constructor(Re,mt,Ht,tn){this._platform=Re,this._mostRecentTarget=null,this._modality=new F.X(null),this._lastTouchMs=0,this._onKeydown=_n=>{this._options?.ignoreKeys?.some(In=>In===_n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(_n))},this._onMousedown=_n=>{Date.now()-this._lastTouchMs<650||(this._modality.next(je(_n)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(_n))},this._onTouchstart=_n=>{te(_n)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(_n))},this._options={...ze,...tn},this.modalityDetected=this._modality.pipe((0,Pe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ee.x)()),Re.isBrowser&&mt.runOutsideAngular(()=>{Ht.addEventListener("keydown",this._onKeydown,R),Ht.addEventListener("mousedown",this._onMousedown,R),Ht.addEventListener("touchstart",this._onTouchstart,R)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,R),document.removeEventListener("mousedown",this._onMousedown,R),document.removeEventListener("touchstart",this._onTouchstart,R))}}return at.\u0275fac=function(Re){return new(Re||at)(e.LFG(g.t4),e.LFG(e.R0b),e.LFG(o.K0),e.LFG(Ie,8))},at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})();const Rt=new e.OlP("cdk-focus-monitor-default-options"),Ct=(0,g.i$)({passive:!0,capture:!0});let Kt=(()=>{class at{constructor(Re,mt,Ht,tn,_n){this._ngZone=Re,this._platform=mt,this._inputModalityDetector=Ht,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 s.xQ,this._rootNodeFocusAndBlurListener=In=>{for(let dn=(0,g.sA)(In);dn;dn=dn.parentElement)"focus"===In.type?this._onFocus(In,dn):this._onBlur(In,dn)},this._document=tn,this._detectionMode=_n?.detectionMode||0}monitor(Re,mt=!1){const Ht=(0,X.fI)(Re);if(!this._platform.isBrowser||1!==Ht.nodeType)return(0,S.of)(null);const tn=(0,g.kV)(Ht)||this._getDocument(),_n=this._elementInfo.get(Ht);if(_n)return mt&&(_n.checkChildren=!0),_n.subject;const In={checkChildren:mt,subject:new s.xQ,rootNode:tn};return this._elementInfo.set(Ht,In),this._registerGlobalListeners(In),In.subject}stopMonitoring(Re){const mt=(0,X.fI)(Re),Ht=this._elementInfo.get(mt);Ht&&(Ht.subject.complete(),this._setClasses(mt),this._elementInfo.delete(mt),this._removeGlobalListeners(Ht))}focusVia(Re,mt,Ht){const tn=(0,X.fI)(Re);tn===this._getDocument().activeElement?this._getClosestElementsInfo(tn).forEach(([In,oi])=>this._originChanged(In,mt,oi)):(this._setOrigin(mt),"function"==typeof tn.focus&&tn.focus(Ht))}ngOnDestroy(){this._elementInfo.forEach((Re,mt)=>this.stopMonitoring(mt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Re){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Re)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Re&&this._isLastInteractionFromInputLabel(Re)?"mouse":"program"}_shouldBeAttributedToTouch(Re){return 1===this._detectionMode||!!Re?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Re,mt){Re.classList.toggle("cdk-focused",!!mt),Re.classList.toggle("cdk-touch-focused","touch"===mt),Re.classList.toggle("cdk-keyboard-focused","keyboard"===mt),Re.classList.toggle("cdk-mouse-focused","mouse"===mt),Re.classList.toggle("cdk-program-focused","program"===mt)}_setOrigin(Re,mt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Re,this._originFromTouchInteraction="touch"===Re&&mt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Re,mt){const Ht=this._elementInfo.get(mt),tn=(0,g.sA)(Re);!Ht||!Ht.checkChildren&&mt!==tn||this._originChanged(mt,this._getFocusOrigin(tn),Ht)}_onBlur(Re,mt){const Ht=this._elementInfo.get(mt);!Ht||Ht.checkChildren&&Re.relatedTarget instanceof Node&&mt.contains(Re.relatedTarget)||(this._setClasses(mt),this._emitOrigin(Ht,null))}_emitOrigin(Re,mt){Re.subject.observers.length&&this._ngZone.run(()=>Re.subject.next(mt))}_registerGlobalListeners(Re){if(!this._platform.isBrowser)return;const mt=Re.rootNode,Ht=this._rootNodeFocusListenerCount.get(mt)||0;Ht||this._ngZone.runOutsideAngular(()=>{mt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ct),mt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ct)}),this._rootNodeFocusListenerCount.set(mt,Ht+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,pe.R)(this._stopInputModalityDetector)).subscribe(tn=>{this._setOrigin(tn,!0)}))}_removeGlobalListeners(Re){const mt=Re.rootNode;if(this._rootNodeFocusListenerCount.has(mt)){const Ht=this._rootNodeFocusListenerCount.get(mt);Ht>1?this._rootNodeFocusListenerCount.set(mt,Ht-1):(mt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ct),mt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ct),this._rootNodeFocusListenerCount.delete(mt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Re,mt,Ht){this._setClasses(Re,mt),this._emitOrigin(Ht,mt),this._lastFocusOrigin=mt}_getClosestElementsInfo(Re){const mt=[];return this._elementInfo.forEach((Ht,tn)=>{(tn===Re||Ht.checkChildren&&tn.contains(Re))&&mt.push([tn,Ht])}),mt}_isLastInteractionFromInputLabel(Re){const{_mostRecentTarget:mt,mostRecentModality:Ht}=this._inputModalityDetector;if("mouse"!==Ht||!mt||mt===Re||"INPUT"!==Re.nodeName&&"TEXTAREA"!==Re.nodeName||Re.disabled)return!1;const tn=Re.labels;if(tn)for(let _n=0;_n{class at{constructor(Re,mt){this._elementRef=Re,this._focusMonitor=mt,this._focusOrigin=null,this.cdkFocusChange=new e.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Re=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Re,1===Re.nodeType&&Re.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(mt=>{this._focusOrigin=mt,this.cdkFocusChange.emit(mt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return at.\u0275fac=function(Re){return new(Re||at)(e.Y36(e.SBq),e.Y36(Kt))},at.\u0275dir=e.lG2({type:at,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),at})();const qt="cdk-high-contrast-black-on-white",Qe="cdk-high-contrast-white-on-black",le="cdk-high-contrast-active";let ht=(()=>{class at{constructor(Re,mt){this._platform=Re,this._document=mt,this._breakpointSubscription=(0,e.f3M)(ve.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Re=this._document.createElement("div");Re.style.backgroundColor="rgb(1,2,3)",Re.style.position="absolute",this._document.body.appendChild(Re);const mt=this._document.defaultView||window,Ht=mt&&mt.getComputedStyle?mt.getComputedStyle(Re):null,tn=(Ht&&Ht.backgroundColor||"").replace(/ /g,"");switch(Re.remove(),tn){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 Re=this._document.body.classList;Re.remove(le,qt,Qe),this._hasCheckedHighContrastMode=!0;const mt=this.getHighContrastMode();1===mt?Re.add(le,qt):2===mt&&Re.add(le,Qe)}}}return at.\u0275fac=function(Re){return new(Re||at)(e.LFG(g.t4),e.LFG(o.K0))},at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})(),Vt=(()=>{class at{constructor(Re){Re._applyBodyHighContrastModeCssClasses()}}return at.\u0275fac=function(Re){return new(Re||at)(e.LFG(ht))},at.\u0275mod=e.oAB({type:at}),at.\u0275inj=e.cJS({imports:[Ne.Q8]}),at})()},40445:(wt,Oe,p)=>{p.d(Oe,{Is:()=>S,Lv:()=>b,vT:()=>z});var o=p(94650),e=p(36895);const g=new o.OlP("cdk-dir-doc",{providedIn:"root",factory:function s(){return(0,o.f3M)(e.K0)}}),h=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function F(H){const A=H?.toLowerCase()||"";return"auto"===A&&typeof navigator<"u"&&navigator?.language?h.test(navigator.language)?"rtl":"ltr":"rtl"===A?"rtl":"ltr"}let S=(()=>{class H{constructor(j){if(this.value="ltr",this.change=new o.vpe,j){const Pe=j.documentElement?j.documentElement.dir:null;this.value=F((j.body?j.body.dir:null)||Pe||"ltr")}}ngOnDestroy(){this.change.complete()}}return H.\u0275fac=function(j){return new(j||H)(o.LFG(g,8))},H.\u0275prov=o.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),b=(()=>{class H{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new o.vpe}get dir(){return this._dir}set dir(j){const ne=this._dir;this._dir=F(j),this._rawDir=j,ne!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return H.\u0275fac=function(j){return new(j||H)},H.\u0275dir=o.lG2({type:H,selectors:[["","dir",""]],hostVars:1,hostBindings:function(j,ne){2&j&&o.uIk("dir",ne._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[o._Bn([{provide:S,useExisting:H}])]}),H})(),z=(()=>{class H{}return H.\u0275fac=function(j){return new(j||H)},H.\u0275mod=o.oAB({type:H}),H.\u0275inj=o.cJS({}),H})()},21281:(wt,Oe,p)=>{p.d(Oe,{Eq:()=>h,HM:()=>F,Ig:()=>e,fI:()=>S,su:()=>g,t6:()=>s});var o=p(94650);function e(z){return null!=z&&"false"!=`${z}`}function g(z,H=0){return s(z)?Number(z):H}function s(z){return!isNaN(parseFloat(z))&&!isNaN(Number(z))}function h(z){return Array.isArray(z)?z:[z]}function F(z){return null==z?"":"string"==typeof z?z:`${z}px`}function S(z){return z instanceof o.SBq?z.nativeElement:z}},29521:(wt,Oe,p)=>{p.d(Oe,{A:()=>_t,JH:()=>T,JU:()=>F,K5:()=>h,LH:()=>Ne,L_:()=>j,MW:()=>He,Mf:()=>g,SV:()=>ve,Sd:()=>pe,Vb:()=>Hi,Z:()=>ce,ZH:()=>e,aO:()=>we,b2:()=>Qi,hY:()=>A,jx:()=>S,oh:()=>X,uR:()=>ee,xE:()=>ae,zL:()=>b});const e=8,g=9,h=13,F=16,S=17,b=18,A=27,j=32,ee=35,pe=36,X=37,Ne=38,ve=39,T=40,ae=48,we=57,_t=65,ce=90,He=91,Qi=224;function Hi(Xn,...Yi){return Yi.length?Yi.some(ii=>Xn[ii]):Xn.altKey||Xn.shiftKey||Xn.ctrlKey||Xn.metaKey}},62289:(wt,Oe,p)=>{p.d(Oe,{Yg:()=>T,vx:()=>X,xu:()=>Pe});var o=p(94650),e=p(21281),g=p(8929),s=p(36053),h=p(61221),F=p(56498),S=p(72986),b=p(31307),z=p(80013),H=p(24850),A=p(1059),j=p(7625),ne=p(83353);let Pe=(()=>{class q{}return q.\u0275fac=function(ae){return new(ae||q)},q.\u0275mod=o.oAB({type:q}),q.\u0275inj=o.cJS({}),q})();const ee=new Set;let pe,X=(()=>{class q{constructor(ae){this._platform=ae,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ve}matchMedia(ae){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ne(q){if(!ee.has(q))try{pe||(pe=document.createElement("style"),pe.setAttribute("type","text/css"),document.head.appendChild(pe)),pe.sheet&&(pe.sheet.insertRule(`@media ${q} {body{ }}`,0),ee.add(q))}catch(Q){console.error(Q)}}(ae),this._matchMedia(ae)}}return q.\u0275fac=function(ae){return new(ae||q)(o.LFG(ne.t4))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();function ve(q){return{matches:"all"===q||""===q,media:q,addListener:()=>{},removeListener:()=>{}}}let T=(()=>{class q{constructor(ae,de){this._mediaMatcher=ae,this._zone=de,this._queries=new Map,this._destroySubject=new g.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ae){return Y((0,e.Eq)(ae)).some(be=>this._registerQuery(be).mql.matches)}observe(ae){const be=Y((0,e.Eq)(ae)).map(se=>this._registerQuery(se).observable);let ge=(0,s.aj)(be);return ge=(0,h.z)(ge.pipe((0,S.q)(1)),ge.pipe((0,b.T)(1),(0,z.b)(0))),ge.pipe((0,H.U)(se=>{const he={matches:!1,breakpoints:{}};return se.forEach(({matches:De,query:_e})=>{he.matches=he.matches||De,he.breakpoints[_e]=De}),he}))}_registerQuery(ae){if(this._queries.has(ae))return this._queries.get(ae);const de=this._mediaMatcher.matchMedia(ae),ge={observable:new F.y(se=>{const he=De=>this._zone.run(()=>se.next(De));return de.addListener(he),()=>{de.removeListener(he)}}).pipe((0,A.O)(de),(0,H.U)(({matches:se})=>({query:ae,matches:se})),(0,j.R)(this._destroySubject)),mql:de};return this._queries.set(ae,ge),ge}}return q.\u0275fac=function(ae){return new(ae||q)(o.LFG(X),o.LFG(o.R0b))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();function Y(q){return q.map(Q=>Q.split(",")).reduce((Q,ae)=>Q.concat(ae)).map(Q=>Q.trim())}},49643:(wt,Oe,p)=>{p.d(Oe,{Q8:()=>h});var o=p(94650);let e=(()=>{class F{create(b){return typeof MutationObserver>"u"?null:new MutationObserver(b)}}return F.\u0275fac=function(b){return new(b||F)},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),h=(()=>{class F{}return F.\u0275fac=function(b){return new(b||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({providers:[e]}),F})()},98184:(wt,Oe,p)=>{p.d(Oe,{Iu:()=>we,U8:()=>Me,Vs:()=>De,X_:()=>Q,aV:()=>Dt,pI:()=>Pt,tR:()=>ae,xu:()=>pt});var o=p(93260),e=p(36895),g=p(94650),s=p(21281),h=p(83353),F=p(40445),S=p(84080),b=p(8929),z=p(42654),H=p(36787),A=p(72986),j=p(7625),ne=p(44290),Pe=p(29521);const ee=(0,h.Mq)();class pe{constructor(te,Ie){this._viewportRuler=te,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ie}attach(){}enable(){if(this._canBeEnabled()){const te=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=te.style.left||"",this._previousHTMLStyles.top=te.style.top||"",te.style.left=(0,s.HM)(-this._previousScrollPosition.left),te.style.top=(0,s.HM)(-this._previousScrollPosition.top),te.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const te=this._document.documentElement,ze=te.style,ke=this._document.body.style,R=ze.scrollBehavior||"",U=ke.scrollBehavior||"";this._isEnabled=!1,ze.left=this._previousHTMLStyles.left,ze.top=this._previousHTMLStyles.top,te.classList.remove("cdk-global-scrollblock"),ee&&(ze.scrollBehavior=ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ee&&(ze.scrollBehavior=R,ke.scrollBehavior=U)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ie=this._document.body,ze=this._viewportRuler.getViewportSize();return Ie.scrollHeight>ze.height||Ie.scrollWidth>ze.width}}class Ne{constructor(te,Ie,ze,ke){this._scrollDispatcher=te,this._ngZone=Ie,this._viewportRuler=ze,this._config=ke,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(te){this._overlayRef=te}enable(){if(this._scrollSubscription)return;const te=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=te.subscribe(()=>{const Ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=te.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ve{enable(){}disable(){}attach(){}}function T(je,te){return te.some(Ie=>je.bottomIe.bottom||je.rightIe.right)}function Y(je,te){return te.some(Ie=>je.topIe.bottom||je.leftIe.right)}class k{constructor(te,Ie,ze,ke){this._scrollDispatcher=te,this._viewportRuler=Ie,this._ngZone=ze,this._config=ke,this._scrollSubscription=null}attach(te){this._overlayRef=te}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 Ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ze,height:ke}=this._viewportRuler.getViewportSize();T(Ie,[{width:ze,height:ke,bottom:ke,right:ze,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 q=(()=>{class je{constructor(Ie,ze,ke,R){this._scrollDispatcher=Ie,this._viewportRuler=ze,this._ngZone=ke,this.noop=()=>new ve,this.close=U=>new Ne(this._scrollDispatcher,this._ngZone,this._viewportRuler,U),this.block=()=>new pe(this._viewportRuler,this._document),this.reposition=U=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,U),this._document=R}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(o.mF),g.LFG(o.rL),g.LFG(g.R0b),g.LFG(e.K0))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})();class Q{constructor(te){if(this.scrollStrategy=new ve,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,te){const Ie=Object.keys(te);for(const ze of Ie)void 0!==te[ze]&&(this[ze]=te[ze])}}}class ae{constructor(te,Ie,ze,ke,R){this.offsetX=ze,this.offsetY=ke,this.panelClass=R,this.originX=te.originX,this.originY=te.originY,this.overlayX=Ie.overlayX,this.overlayY=Ie.overlayY}}class be{constructor(te,Ie){this.connectionPair=te,this.scrollableViewProperties=Ie}}let he=(()=>{class je{constructor(Ie){this._attachedOverlays=[],this._document=Ie}ngOnDestroy(){this.detach()}add(Ie){this.remove(Ie),this._attachedOverlays.push(Ie)}remove(Ie){const ze=this._attachedOverlays.indexOf(Ie);ze>-1&&this._attachedOverlays.splice(ze,1),0===this._attachedOverlays.length&&this.detach()}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(e.K0))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),De=(()=>{class je extends he{constructor(Ie,ze){super(Ie),this._ngZone=ze,this._keydownListener=ke=>{const R=this._attachedOverlays;for(let U=R.length-1;U>-1;U--)if(R[U]._keydownEvents.observers.length>0){const B=R[U]._keydownEvents;this._ngZone?this._ngZone.run(()=>B.next(ke)):B.next(ke);break}}}add(Ie){super.add(Ie),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 je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(e.K0),g.LFG(g.R0b,8))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),_e=(()=>{class je extends he{constructor(Ie,ze,ke){super(Ie),this._platform=ze,this._ngZone=ke,this._cursorStyleIsSet=!1,this._pointerDownListener=R=>{this._pointerDownEventTarget=(0,h.sA)(R)},this._clickListener=R=>{const U=(0,h.sA)(R),B="click"===R.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:U;this._pointerDownEventTarget=null;const ce=this._attachedOverlays.slice();for(let He=ce.length-1;He>-1;He--){const vt=ce[He];if(vt._outsidePointerEvents.observers.length<1||!vt.hasAttached())continue;if(vt.overlayElement.contains(U)||vt.overlayElement.contains(B))break;const xt=vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>xt.next(R)):xt.next(R)}}}add(Ie){if(super.add(Ie),!this._isAttached){const ze=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ze)):this._addEventListeners(ze),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ze.style.cursor,ze.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ie=this._document.body;Ie.removeEventListener("pointerdown",this._pointerDownListener,!0),Ie.removeEventListener("click",this._clickListener,!0),Ie.removeEventListener("auxclick",this._clickListener,!0),Ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ie){Ie.addEventListener("pointerdown",this._pointerDownListener,!0),Ie.addEventListener("click",this._clickListener,!0),Ie.addEventListener("auxclick",this._clickListener,!0),Ie.addEventListener("contextmenu",this._clickListener,!0)}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(e.K0),g.LFG(h.t4),g.LFG(g.R0b,8))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),Ce=(()=>{class je{constructor(Ie,ze){this._platform=ze,this._document=Ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ie="cdk-overlay-container";if(this._platform.isBrowser||(0,h.Oy)()){const ke=this._document.querySelectorAll(`.${Ie}[platform="server"], .${Ie}[platform="test"]`);for(let R=0;Rthis._backdropClick.next(xt),this._backdropTransitionendHandler=xt=>{this._disposeBackdrop(xt.target)},this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,ke.scrollStrategy&&(this._scrollStrategy=ke.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ke.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(te){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ie=this._portalOutlet.attach(te);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,A.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 Ie?.onDestroy&&Ie.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const te=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),te}dispose(){const te=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,te&&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(te){te!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=te,this.hasAttached()&&(te.attach(this),this.updatePosition()))}updateSize(te){this._config={...this._config,...te},this._updateElementSize()}setDirection(te){this._config={...this._config,direction:te},this._updateElementDirection()}addPanelClass(te){this._pane&&this._toggleClasses(this._pane,te,!0)}removePanelClass(te){this._pane&&this._toggleClasses(this._pane,te,!1)}getDirection(){const te=this._config.direction;return te?"string"==typeof te?te:te.value:"ltr"}updateScrollStrategy(te){te!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=te,this.hasAttached()&&(te.attach(this),te.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const te=this._pane.style;te.width=(0,s.HM)(this._config.width),te.height=(0,s.HM)(this._config.height),te.minWidth=(0,s.HM)(this._config.minWidth),te.minHeight=(0,s.HM)(this._config.minHeight),te.maxWidth=(0,s.HM)(this._config.maxWidth),te.maxHeight=(0,s.HM)(this._config.maxHeight)}_togglePointerEvents(te){this._pane.style.pointerEvents=te?"":"none"}_attachBackdrop(){const te="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(te)})}):this._backdropElement.classList.add(te)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const te=this._backdropElement;if(te){if(this._animationsDisabled)return void this._disposeBackdrop(te);te.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{te.addEventListener("transitionend",this._backdropTransitionendHandler)}),te.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(te)},500))}}_toggleClasses(te,Ie,ze){const ke=(0,s.Eq)(Ie||[]).filter(R=>!!R);ke.length&&(ze?te.classList.add(...ke):te.classList.remove(...ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const te=this._ngZone.onStable.pipe((0,j.R)((0,H.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()),te.unsubscribe())})})}_disposeScrollStrategy(){const te=this._scrollStrategy;te&&(te.disable(),te.detach&&te.detach())}_disposeBackdrop(te){te&&(te.removeEventListener("click",this._backdropClickHandler),te.removeEventListener("transitionend",this._backdropTransitionendHandler),te.remove(),this._backdropElement===te&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ae="cdk-overlay-connected-position-bounding-box",Fe=/([A-Za-z%]+)$/;class Ue{constructor(te,Ie,ze,ke,R){this._viewportRuler=Ie,this._document=ze,this._platform=ke,this._overlayContainer=R,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 b.xQ,this._resizeSubscription=z.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(te)}get positions(){return this._preferredPositions}attach(te){this._validatePositions(),te.hostElement.classList.add(Ae),this._overlayRef=te,this._boundingBox=te.hostElement,this._pane=te.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 te=this._originRect,Ie=this._overlayRect,ze=this._viewportRect,ke=this._containerRect,R=[];let U;for(let B of this._preferredPositions){let ce=this._getOriginPoint(te,ke,B),He=this._getOverlayPoint(ce,Ie,B),vt=this._getOverlayFit(He,Ie,ze,B);if(vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(B,ce);this._canFitWithFlexibleDimensions(vt,He,ze)?R.push({position:B,origin:ce,overlayRect:Ie,boundingBoxRect:this._calculateBoundingBoxRect(ce,B)}):(!U||U.overlayFit.visibleAreace&&(ce=vt,B=He)}return this._isPushed=!1,void this._applyPosition(B.position,B.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(U.position,U.originPoint);this._applyPosition(U.position,U.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Mt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ae),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const te=this._lastPosition;if(te){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ie=this._getOriginPoint(this._originRect,this._containerRect,te);this._applyPosition(te,Ie)}else this.apply()}withScrollableContainers(te){return this._scrollables=te,this}withPositions(te){return this._preferredPositions=te,-1===te.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(te){return this._viewportMargin=te,this}withFlexibleDimensions(te=!0){return this._hasFlexibleDimensions=te,this}withGrowAfterOpen(te=!0){return this._growAfterOpen=te,this}withPush(te=!0){return this._canPush=te,this}withLockedPosition(te=!0){return this._positionLocked=te,this}setOrigin(te){return this._origin=te,this}withDefaultOffsetX(te){return this._offsetX=te,this}withDefaultOffsetY(te){return this._offsetY=te,this}withTransformOriginOn(te){return this._transformOriginSelector=te,this}_getOriginPoint(te,Ie,ze){let ke,R;if("center"==ze.originX)ke=te.left+te.width/2;else{const U=this._isRtl()?te.right:te.left,B=this._isRtl()?te.left:te.right;ke="start"==ze.originX?U:B}return Ie.left<0&&(ke-=Ie.left),R="center"==ze.originY?te.top+te.height/2:"top"==ze.originY?te.top:te.bottom,Ie.top<0&&(R-=Ie.top),{x:ke,y:R}}_getOverlayPoint(te,Ie,ze){let ke,R;return ke="center"==ze.overlayX?-Ie.width/2:"start"===ze.overlayX?this._isRtl()?-Ie.width:0:this._isRtl()?0:-Ie.width,R="center"==ze.overlayY?-Ie.height/2:"top"==ze.overlayY?0:-Ie.height,{x:te.x+ke,y:te.y+R}}_getOverlayFit(te,Ie,ze,ke){const R=Ft(Ie);let{x:U,y:B}=te,ce=this._getOffset(ke,"x"),He=this._getOffset(ke,"y");ce&&(U+=ce),He&&(B+=He);let Rt=0-B,Ct=B+R.height-ze.height,Kt=this._subtractOverflows(R.width,0-U,U+R.width-ze.width),bt=this._subtractOverflows(R.height,Rt,Ct),qt=Kt*bt;return{visibleArea:qt,isCompletelyWithinViewport:R.width*R.height===qt,fitsInViewportVertically:bt===R.height,fitsInViewportHorizontally:Kt==R.width}}_canFitWithFlexibleDimensions(te,Ie,ze){if(this._hasFlexibleDimensions){const ke=ze.bottom-Ie.y,R=ze.right-Ie.x,U=_t(this._overlayRef.getConfig().minHeight),B=_t(this._overlayRef.getConfig().minWidth),He=te.fitsInViewportHorizontally||null!=B&&B<=R;return(te.fitsInViewportVertically||null!=U&&U<=ke)&&He}return!1}_pushOverlayOnScreen(te,Ie,ze){if(this._previousPushAmount&&this._positionLocked)return{x:te.x+this._previousPushAmount.x,y:te.y+this._previousPushAmount.y};const ke=Ft(Ie),R=this._viewportRect,U=Math.max(te.x+ke.width-R.width,0),B=Math.max(te.y+ke.height-R.height,0),ce=Math.max(R.top-ze.top-te.y,0),He=Math.max(R.left-ze.left-te.x,0);let vt=0,xt=0;return vt=ke.width<=R.width?He||-U:te.xKt&&!this._isInitialRender&&!this._growAfterOpen&&(U=te.y-Kt/2)}if("end"===Ie.overlayX&&!ke||"start"===Ie.overlayX&&ke)Rt=ze.width-te.x+this._viewportMargin,vt=te.x-this._viewportMargin;else if("start"===Ie.overlayX&&!ke||"end"===Ie.overlayX&&ke)xt=te.x,vt=ze.right-te.x;else{const Ct=Math.min(ze.right-te.x+ze.left,te.x),Kt=this._lastBoundingBoxSize.width;vt=2*Ct,xt=te.x-Ct,vt>Kt&&!this._isInitialRender&&!this._growAfterOpen&&(xt=te.x-Kt/2)}return{top:U,left:xt,bottom:B,right:Rt,width:vt,height:R}}_setBoundingBoxStyles(te,Ie){const ze=this._calculateBoundingBoxRect(te,Ie);!this._isInitialRender&&!this._growAfterOpen&&(ze.height=Math.min(ze.height,this._lastBoundingBoxSize.height),ze.width=Math.min(ze.width,this._lastBoundingBoxSize.width));const ke={};if(this._hasExactPosition())ke.top=ke.left="0",ke.bottom=ke.right=ke.maxHeight=ke.maxWidth="",ke.width=ke.height="100%";else{const R=this._overlayRef.getConfig().maxHeight,U=this._overlayRef.getConfig().maxWidth;ke.height=(0,s.HM)(ze.height),ke.top=(0,s.HM)(ze.top),ke.bottom=(0,s.HM)(ze.bottom),ke.width=(0,s.HM)(ze.width),ke.left=(0,s.HM)(ze.left),ke.right=(0,s.HM)(ze.right),ke.alignItems="center"===Ie.overlayX?"center":"end"===Ie.overlayX?"flex-end":"flex-start",ke.justifyContent="center"===Ie.overlayY?"center":"bottom"===Ie.overlayY?"flex-end":"flex-start",R&&(ke.maxHeight=(0,s.HM)(R)),U&&(ke.maxWidth=(0,s.HM)(U))}this._lastBoundingBoxSize=ze,Mt(this._boundingBox.style,ke)}_resetBoundingBoxStyles(){Mt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Mt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(te,Ie){const ze={},ke=this._hasExactPosition(),R=this._hasFlexibleDimensions,U=this._overlayRef.getConfig();if(ke){const vt=this._viewportRuler.getViewportScrollPosition();Mt(ze,this._getExactOverlayY(Ie,te,vt)),Mt(ze,this._getExactOverlayX(Ie,te,vt))}else ze.position="static";let B="",ce=this._getOffset(Ie,"x"),He=this._getOffset(Ie,"y");ce&&(B+=`translateX(${ce}px) `),He&&(B+=`translateY(${He}px)`),ze.transform=B.trim(),U.maxHeight&&(ke?ze.maxHeight=(0,s.HM)(U.maxHeight):R&&(ze.maxHeight="")),U.maxWidth&&(ke?ze.maxWidth=(0,s.HM)(U.maxWidth):R&&(ze.maxWidth="")),Mt(this._pane.style,ze)}_getExactOverlayY(te,Ie,ze){let ke={top:"",bottom:""},R=this._getOverlayPoint(Ie,this._overlayRect,te);return this._isPushed&&(R=this._pushOverlayOnScreen(R,this._overlayRect,ze)),"bottom"===te.overlayY?ke.bottom=this._document.documentElement.clientHeight-(R.y+this._overlayRect.height)+"px":ke.top=(0,s.HM)(R.y),ke}_getExactOverlayX(te,Ie,ze){let U,ke={left:"",right:""},R=this._getOverlayPoint(Ie,this._overlayRect,te);return this._isPushed&&(R=this._pushOverlayOnScreen(R,this._overlayRect,ze)),U=this._isRtl()?"end"===te.overlayX?"left":"right":"end"===te.overlayX?"right":"left","right"===U?ke.right=this._document.documentElement.clientWidth-(R.x+this._overlayRect.width)+"px":ke.left=(0,s.HM)(R.x),ke}_getScrollVisibility(){const te=this._getOriginRect(),Ie=this._pane.getBoundingClientRect(),ze=this._scrollables.map(ke=>ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Y(te,ze),isOriginOutsideView:T(te,ze),isOverlayClipped:Y(Ie,ze),isOverlayOutsideView:T(Ie,ze)}}_subtractOverflows(te,...Ie){return Ie.reduce((ze,ke)=>ze-Math.max(ke,0),te)}_getNarrowedViewportRect(){const te=this._document.documentElement.clientWidth,Ie=this._document.documentElement.clientHeight,ze=this._viewportRuler.getViewportScrollPosition();return{top:ze.top+this._viewportMargin,left:ze.left+this._viewportMargin,right:ze.left+te-this._viewportMargin,bottom:ze.top+Ie-this._viewportMargin,width:te-2*this._viewportMargin,height:Ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(te,Ie){return"x"===Ie?te.offsetX??this._offsetX:te.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(te){this._pane&&(0,s.Eq)(te).forEach(Ie=>{""!==Ie&&-1===this._appliedPanelClasses.indexOf(Ie)&&(this._appliedPanelClasses.push(Ie),this._pane.classList.add(Ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(te=>{this._pane.classList.remove(te)}),this._appliedPanelClasses=[])}_getOriginRect(){const te=this._origin;if(te instanceof g.SBq)return te.nativeElement.getBoundingClientRect();if(te instanceof Element)return te.getBoundingClientRect();const Ie=te.width||0,ze=te.height||0;return{top:te.y,bottom:te.y+ze,left:te.x,right:te.x+Ie,height:ze,width:Ie}}}function Mt(je,te){for(let Ie in te)te.hasOwnProperty(Ie)&&(je[Ie]=te[Ie]);return je}function _t(je){if("number"!=typeof je&&null!=je){const[te,Ie]=je.split(Fe);return Ie&&"px"!==Ie?null:parseFloat(te)}return je||null}function Ft(je){return{top:Math.floor(je.top),right:Math.floor(je.right),bottom:Math.floor(je.bottom),left:Math.floor(je.left),width:Math.floor(je.width),height:Math.floor(je.height)}}const Ze="cdk-global-overlay-wrapper";class Be{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(te){const Ie=te.getConfig();this._overlayRef=te,this._width&&!Ie.width&&te.updateSize({width:this._width}),this._height&&!Ie.height&&te.updateSize({height:this._height}),te.hostElement.classList.add(Ze),this._isDisposed=!1}top(te=""){return this._bottomOffset="",this._topOffset=te,this._alignItems="flex-start",this}left(te=""){return this._xOffset=te,this._xPosition="left",this}bottom(te=""){return this._topOffset="",this._bottomOffset=te,this._alignItems="flex-end",this}right(te=""){return this._xOffset=te,this._xPosition="right",this}start(te=""){return this._xOffset=te,this._xPosition="start",this}end(te=""){return this._xOffset=te,this._xPosition="end",this}width(te=""){return this._overlayRef?this._overlayRef.updateSize({width:te}):this._width=te,this}height(te=""){return this._overlayRef?this._overlayRef.updateSize({height:te}):this._height=te,this}centerHorizontally(te=""){return this.left(te),this._xPosition="center",this}centerVertically(te=""){return this.top(te),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const te=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement.style,ze=this._overlayRef.getConfig(),{width:ke,height:R,maxWidth:U,maxHeight:B}=ze,ce=!("100%"!==ke&&"100vw"!==ke||U&&"100%"!==U&&"100vw"!==U),He=!("100%"!==R&&"100vh"!==R||B&&"100%"!==B&&"100vh"!==B),vt=this._xPosition,xt=this._xOffset,Rt="rtl"===this._overlayRef.getConfig().direction;let Ct="",Kt="",bt="";ce?bt="flex-start":"center"===vt?(bt="center",Rt?Kt=xt:Ct=xt):Rt?"left"===vt||"end"===vt?(bt="flex-end",Ct=xt):("right"===vt||"start"===vt)&&(bt="flex-start",Kt=xt):"left"===vt||"start"===vt?(bt="flex-start",Ct=xt):("right"===vt||"end"===vt)&&(bt="flex-end",Kt=xt),te.position=this._cssPosition,te.marginLeft=ce?"0":Ct,te.marginTop=He?"0":this._topOffset,te.marginBottom=this._bottomOffset,te.marginRight=ce?"0":Kt,Ie.justifyContent=bt,Ie.alignItems=He?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const te=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement,ze=Ie.style;Ie.classList.remove(Ze),ze.justifyContent=ze.alignItems=te.marginTop=te.marginBottom=te.marginLeft=te.marginRight=te.position="",this._overlayRef=null,this._isDisposed=!0}}let It=(()=>{class je{constructor(Ie,ze,ke,R){this._viewportRuler=Ie,this._document=ze,this._platform=ke,this._overlayContainer=R}global(){return new Be}flexibleConnectedTo(Ie){return new Ue(Ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(o.rL),g.LFG(e.K0),g.LFG(h.t4),g.LFG(Ce))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),Ot=0,Dt=(()=>{class je{constructor(Ie,ze,ke,R,U,B,ce,He,vt,xt,Rt,Ct){this.scrollStrategies=Ie,this._overlayContainer=ze,this._componentFactoryResolver=ke,this._positionBuilder=R,this._keyboardDispatcher=U,this._injector=B,this._ngZone=ce,this._document=He,this._directionality=vt,this._location=xt,this._outsideClickDispatcher=Rt,this._animationsModuleType=Ct}create(Ie){const ze=this._createHostElement(),ke=this._createPaneElement(ze),R=this._createPortalOutlet(ke),U=new Q(Ie);return U.direction=U.direction||this._directionality.value,new we(R,ze,ke,U,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ie){const ze=this._document.createElement("div");return ze.id="cdk-overlay-"+Ot++,ze.classList.add("cdk-overlay-pane"),Ie.appendChild(ze),ze}_createHostElement(){const Ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ie),Ie}_createPortalOutlet(Ie){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new S.u0(Ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.LFG(q),g.LFG(Ce),g.LFG(g._Vd),g.LFG(It),g.LFG(De),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(e.K0),g.LFG(F.Is),g.LFG(e.Ye),g.LFG(_e),g.LFG(g.QbO,8))},je.\u0275prov=g.Yz7({token:je,factory:je.\u0275fac}),je})();const Bt=[{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"}],nt=new g.OlP("cdk-connected-overlay-scroll-strategy");let pt=(()=>{class je{constructor(Ie){this.elementRef=Ie}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.Y36(g.SBq))},je.\u0275dir=g.lG2({type:je,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),je})(),Pt=(()=>{class je{constructor(Ie,ze,ke,R,U){this._overlay=Ie,this._dir=U,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=z.w.EMPTY,this._attachSubscription=z.w.EMPTY,this._detachSubscription=z.w.EMPTY,this._positionSubscription=z.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new S.UE(ze,ke),this._scrollStrategyFactory=R,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(Ie){this._offsetX=Ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ie){this._offsetY=Ie,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ie){this._hasBackdrop=(0,s.Ig)(Ie)}get lockPosition(){return this._lockPosition}set lockPosition(Ie){this._lockPosition=(0,s.Ig)(Ie)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Ie){this._flexibleDimensions=(0,s.Ig)(Ie)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Ie){this._growAfterOpen=(0,s.Ig)(Ie)}get push(){return this._push}set push(Ie){this._push=(0,s.Ig)(Ie)}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(Ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ie.origin&&this.open&&this._position.apply()),Ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Bt);const Ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ie.detachments().subscribe(()=>this.detach.emit()),Ie.keydownEvents().subscribe(ze=>{this.overlayKeydown.next(ze),ze.keyCode===Pe.hY&&!this.disableClose&&!(0,Pe.Vb)(ze)&&(ze.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ze=>{this.overlayOutsideClick.next(ze)})}_buildConfig(){const Ie=this._position=this.positionStrategy||this._createPositionStrategy(),ze=new Q({direction:this._dir,positionStrategy:Ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ze.width=this.width),(this.height||0===this.height)&&(ze.height=this.height),(this.minWidth||0===this.minWidth)&&(ze.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ze.minHeight=this.minHeight),this.backdropClass&&(ze.backdropClass=this.backdropClass),this.panelClass&&(ze.panelClass=this.panelClass),ze}_updatePositionStrategy(Ie){const ze=this.positions.map(ke=>({originX:ke.originX,originY:ke.originY,overlayX:ke.overlayX,overlayY:ke.overlayY,offsetX:ke.offsetX||this.offsetX,offsetY:ke.offsetY||this.offsetY,panelClass:ke.panelClass||void 0}));return Ie.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ze).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ie=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ie),Ie}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof pt?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(Ie=>{this.backdropClick.emit(Ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,ne.o)(()=>this.positionChange.observers.length>0)).subscribe(Ie=>{this.positionChange.emit(Ie),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return je.\u0275fac=function(Ie){return new(Ie||je)(g.Y36(Dt),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(nt),g.Y36(F.Is,8))},je.\u0275dir=g.lG2({type:je,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:[g.TTD]}),je})();const Jt={provide:nt,deps:[Dt],useFactory:function Qt(je){return()=>je.scrollStrategies.reposition()}};let Me=(()=>{class je{}return je.\u0275fac=function(Ie){return new(Ie||je)},je.\u0275mod=g.oAB({type:je}),je.\u0275inj=g.cJS({providers:[Dt,Jt],imports:[F.vT,S.eL,o.Cl,o.Cl]}),je})()},83353:(wt,Oe,p)=>{p.d(Oe,{Mq:()=>Pe,Oy:()=>Y,_i:()=>ee,i$:()=>A,kV:()=>Ne,sA:()=>T,t4:()=>s,ud:()=>h});var o=p(94650),e=p(36895);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let z,j,ne,pe,s=(()=>{class k{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,e.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&&!g)&&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 k.\u0275fac=function(Q){return new(Q||k)(o.LFG(o.Lbi))},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),h=(()=>{class k{}return k.\u0275fac=function(Q){return new(Q||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({}),k})();function A(k){return function H(){if(null==z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>z=!0}))}finally{z=z||!1}return z}()?k:!!k.capture}function Pe(){if(null==ne){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ne=!1,ne;if("scrollBehavior"in document.documentElement.style)ne=!0;else{const k=Element.prototype.scrollTo;ne=!!k&&!/\{\s*\[native code\]\s*\}/.test(k.toString())}}return ne}function ee(){if("object"!=typeof document||!document)return 0;if(null==j){const k=document.createElement("div"),q=k.style;k.dir="rtl",q.width="1px",q.overflow="auto",q.visibility="hidden",q.pointerEvents="none",q.position="absolute";const Q=document.createElement("div"),ae=Q.style;ae.width="2px",ae.height="1px",k.appendChild(Q),document.body.appendChild(k),j=0,0===k.scrollLeft&&(k.scrollLeft=1,j=0===k.scrollLeft?1:2),k.remove()}return j}function Ne(k){if(function X(){if(null==pe){const k=typeof document<"u"?document.head:null;pe=!(!k||!k.createShadowRoot&&!k.attachShadow)}return pe}()){const q=k.getRootNode?k.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&q instanceof ShadowRoot)return q}return null}function T(k){return k.composedPath?k.composedPath()[0]:k.target}function Y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(wt,Oe,p)=>{p.d(Oe,{C5:()=>H,Pl:()=>ve,UE:()=>A,eL:()=>Y,en:()=>ne,u0:()=>ee});var o=p(94650),e=p(36895);class z{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class H extends z{constructor(Q,ae,de,be){super(),this.component=Q,this.viewContainerRef=ae,this.injector=de,this.componentFactoryResolver=be}}class A extends z{constructor(Q,ae,de,be){super(),this.templateRef=Q,this.viewContainerRef=ae,this.context=de,this.injector=be}get origin(){return this.templateRef.elementRef}attach(Q,ae=this.context){return this.context=ae,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class j extends z{constructor(Q){super(),this.element=Q instanceof o.SBq?Q.nativeElement:Q}}class ne{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof H?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof A?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof j?(this._attachedPortal=Q,this.attachDomPortal(Q)):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(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ee extends ne{constructor(Q,ae,de,be,ge){super(),this.outletElement=Q,this._componentFactoryResolver=ae,this._appRef=de,this._defaultInjector=be,this.attachDomPortal=se=>{const he=se.element,De=this._document.createComment("dom-portal");he.parentNode.insertBefore(De,he),this.outletElement.appendChild(he),this._attachedPortal=se,super.setDisposeFn(()=>{De.parentNode&&De.parentNode.replaceChild(he,De)})},this._document=ge}attachComponentPortal(Q){const de=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let be;return Q.viewContainerRef?(be=Q.viewContainerRef.createComponent(de,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>be.destroy())):(be=de.create(Q.injector||this._defaultInjector||o.zs3.NULL),this._appRef.attachView(be.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(be.hostView),be.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(be)),this._attachedPortal=Q,be}attachTemplatePortal(Q){let ae=Q.viewContainerRef,de=ae.createEmbeddedView(Q.templateRef,Q.context,{injector:Q.injector});return de.rootNodes.forEach(be=>this.outletElement.appendChild(be)),de.detectChanges(),this.setDisposeFn(()=>{let be=ae.indexOf(de);-1!==be&&ae.remove(be)}),this._attachedPortal=Q,de}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let ve=(()=>{class q extends ne{constructor(ae,de,be){super(),this._componentFactoryResolver=ae,this._viewContainerRef=de,this._isInitialized=!1,this.attached=new o.vpe,this.attachDomPortal=ge=>{const se=ge.element,he=this._document.createComment("dom-portal");ge.setAttachedHost(this),se.parentNode.insertBefore(he,se),this._getRootNode().appendChild(se),this._attachedPortal=ge,super.setDisposeFn(()=>{he.parentNode&&he.parentNode.replaceChild(se,he)})},this._document=be}get portal(){return this._attachedPortal}set portal(ae){this.hasAttached()&&!ae&&!this._isInitialized||(this.hasAttached()&&super.detach(),ae&&super.attach(ae),this._attachedPortal=ae||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ae){ae.setAttachedHost(this);const de=null!=ae.viewContainerRef?ae.viewContainerRef:this._viewContainerRef,ge=(ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ae.component),se=de.createComponent(ge,de.length,ae.injector||de.injector);return de!==this._viewContainerRef&&this._getRootNode().appendChild(se.hostView.rootNodes[0]),super.setDisposeFn(()=>se.destroy()),this._attachedPortal=ae,this._attachedRef=se,this.attached.emit(se),se}attachTemplatePortal(ae){ae.setAttachedHost(this);const de=this._viewContainerRef.createEmbeddedView(ae.templateRef,ae.context,{injector:ae.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ae,this._attachedRef=de,this.attached.emit(de),de}_getRootNode(){const ae=this._viewContainerRef.element.nativeElement;return ae.nodeType===ae.ELEMENT_NODE?ae:ae.parentNode}}return q.\u0275fac=function(ae){return new(ae||q)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36(e.K0))},q.\u0275dir=o.lG2({type:q,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.qOj]}),q})(),Y=(()=>{class q{}return q.\u0275fac=function(ae){return new(ae||q)},q.\u0275mod=o.oAB({type:q}),q.\u0275inj=o.cJS({}),q})()},93260:(wt,Oe,p)=>{p.d(Oe,{xd:()=>Ge,ZD:()=>te,x0:()=>Me,N7:()=>Qt,mF:()=>Be,Cl:()=>Ie,rL:()=>Dt});var o=p(21281),e=p(94650),g=p(8929),s=p(21086),h=p(56498),F=p(23753),S=p(90352),b=p(8139),z=p(42654),H=p(54715),A=p(75778),j=p(57138),ne=p(92198),Pe=p(7625),ee=p(1059),pe=p(43489);class Ne{call(ke,R){return R.subscribe(new ve(ke))}}class ve extends pe.L{constructor(ke){super(ke),this.hasPrev=!1}_next(ke){let R;this.hasPrev?R=[this.prev,ke]:this.hasPrev=!0,this.prev=ke,R&&this.destination.next(R)}}var T=p(87545),Y=p(96831);var Q=p(83353),ae=p(36895),de=p(40445),be=p(71762);class he extends class ge{}{constructor(ke){super(),this._data=ke}connect(){return(0,H.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class _e{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ke,R,U,B,ce){ke.forEachOperation((He,vt,xt)=>{let Rt,Ct;null==He.previousIndex?(Rt=this._insertView(()=>U(He,vt,xt),xt,R,B(He)),Ct=Rt?1:0):null==xt?(this._detachAndCacheView(vt,R),Ct=3):(Rt=this._moveView(vt,xt,R,B(He)),Ct=2),ce&&ce({context:Rt?.context,operation:Ct,record:He})})}detach(){for(const ke of this._viewCache)ke.destroy();this._viewCache=[]}_insertView(ke,R,U,B){const ce=this._insertViewFromCache(R,U);if(ce)return void(ce.context.$implicit=B);const He=ke();return U.createEmbeddedView(He.templateRef,He.context,He.index)}_detachAndCacheView(ke,R){const U=R.detach(ke);this._maybeCacheView(U,R)}_moveView(ke,R,U,B){const ce=U.get(ke);return U.move(ce,R),ce.context.$implicit=B,ce}_maybeCacheView(ke,R){if(this._viewCache.length0?ce/this._itemSize:0;if(R.end>B){const xt=Math.ceil(U/this._itemSize),Rt=Math.max(0,Math.min(He,B-xt));He!=Rt&&(He=Rt,ce=Rt*this._itemSize,R.start=Math.floor(He)),R.end=Math.max(0,Math.min(B,R.start+xt))}const vt=ce-R.start*this._itemSize;if(vt0&&(R.end=Math.min(B,R.end+Rt),R.start=Math.max(0,Math.floor(He-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(R),this._viewport.setRenderedContentOffset(this._itemSize*R.start),this._scrolledIndexChange.next(Math.floor(He))}}function et(ze){return ze._scrollStrategy}let Ge=(()=>{class ze{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Ft(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(R){this._itemSize=(0,o.su)(R)}get minBufferPx(){return this._minBufferPx}set minBufferPx(R){this._minBufferPx=(0,o.su)(R)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(R){this._maxBufferPx=(0,o.su)(R)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return ze.\u0275fac=function(R){return new(R||ze)},ze.\u0275dir=e.lG2({type:ze,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[e._Bn([{provide:_t,useFactory:et,deps:[(0,e.Gpc)(()=>ze)]}]),e.TTD]}),ze})(),Be=(()=>{class ze{constructor(R,U,B){this._ngZone=R,this._platform=U,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=B}register(R){this.scrollContainers.has(R)||this.scrollContainers.set(R,R.elementScrolled().subscribe(()=>this._scrolled.next(R)))}deregister(R){const U=this.scrollContainers.get(R);U&&(U.unsubscribe(),this.scrollContainers.delete(R))}scrolled(R=20){return this._platform.isBrowser?new h.y(U=>{this._globalSubscription||this._addGlobalListener();const B=R>0?this._scrolled.pipe((0,j.e)(R)).subscribe(U):this._scrolled.subscribe(U);return this._scrolledCount++,()=>{B.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,s.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((R,U)=>this.deregister(U)),this._scrolled.complete()}ancestorScrolled(R,U){const B=this.getAncestorScrollContainers(R);return this.scrolled(U).pipe((0,ne.h)(ce=>!ce||B.indexOf(ce)>-1))}getAncestorScrollContainers(R){const U=[];return this.scrollContainers.forEach((B,ce)=>{this._scrollableContainsElement(ce,R)&&U.push(ce)}),U}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(R,U){let B=(0,o.fI)(U),ce=R.getElementRef().nativeElement;do{if(B==ce)return!0}while(B=B.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const R=this._getWindow();return(0,F.R)(R.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ze.\u0275fac=function(R){return new(R||ze)(e.LFG(e.R0b),e.LFG(Q.t4),e.LFG(ae.K0,8))},ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})(),It=(()=>{class ze{constructor(R,U,B,ce){this.elementRef=R,this.scrollDispatcher=U,this.ngZone=B,this.dir=ce,this._destroyed=new g.xQ,this._elementScrolled=new h.y(He=>this.ngZone.runOutsideAngular(()=>(0,F.R)(this.elementRef.nativeElement,"scroll").pipe((0,Pe.R)(this._destroyed)).subscribe(He)))}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(R){const U=this.elementRef.nativeElement,B=this.dir&&"rtl"==this.dir.value;null==R.left&&(R.left=B?R.end:R.start),null==R.right&&(R.right=B?R.start:R.end),null!=R.bottom&&(R.top=U.scrollHeight-U.clientHeight-R.bottom),B&&0!=(0,Q._i)()?(null!=R.left&&(R.right=U.scrollWidth-U.clientWidth-R.left),2==(0,Q._i)()?R.left=R.right:1==(0,Q._i)()&&(R.left=R.right?-R.right:R.right)):null!=R.right&&(R.left=U.scrollWidth-U.clientWidth-R.right),this._applyScrollToOptions(R)}_applyScrollToOptions(R){const U=this.elementRef.nativeElement;(0,Q.Mq)()?U.scrollTo(R):(null!=R.top&&(U.scrollTop=R.top),null!=R.left&&(U.scrollLeft=R.left))}measureScrollOffset(R){const U="left",B="right",ce=this.elementRef.nativeElement;if("top"==R)return ce.scrollTop;if("bottom"==R)return ce.scrollHeight-ce.clientHeight-ce.scrollTop;const He=this.dir&&"rtl"==this.dir.value;return"start"==R?R=He?B:U:"end"==R&&(R=He?U:B),He&&2==(0,Q._i)()?R==U?ce.scrollWidth-ce.clientWidth-ce.scrollLeft:ce.scrollLeft:He&&1==(0,Q._i)()?R==U?ce.scrollLeft+ce.scrollWidth-ce.clientWidth:-ce.scrollLeft:R==U?ce.scrollLeft:ce.scrollWidth-ce.clientWidth-ce.scrollLeft}}return ze.\u0275fac=function(R){return new(R||ze)(e.Y36(e.SBq),e.Y36(Be),e.Y36(e.R0b),e.Y36(de.Is,8))},ze.\u0275dir=e.lG2({type:ze,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),ze})(),Dt=(()=>{class ze{constructor(R,U,B){this._platform=R,this._change=new g.xQ,this._changeListener=ce=>{this._change.next(ce)},this._document=B,U.runOutsideAngular(()=>{if(R.isBrowser){const ce=this._getWindow();ce.addEventListener("resize",this._changeListener),ce.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const R=this._getWindow();R.removeEventListener("resize",this._changeListener),R.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const R={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),R}getViewportRect(){const R=this.getViewportScrollPosition(),{width:U,height:B}=this.getViewportSize();return{top:R.top,left:R.left,bottom:R.top+B,right:R.left+U,height:B,width:U}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const R=this._document,U=this._getWindow(),B=R.documentElement,ce=B.getBoundingClientRect();return{top:-ce.top||R.body.scrollTop||U.scrollY||B.scrollTop||0,left:-ce.left||R.body.scrollLeft||U.scrollX||B.scrollLeft||0}}change(R=20){return R>0?this._change.pipe((0,j.e)(R)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const R=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:R.innerWidth,height:R.innerHeight}:{width:0,height:0}}}return ze.\u0275fac=function(R){return new(R||ze)(e.LFG(Q.t4),e.LFG(e.R0b),e.LFG(ae.K0,8))},ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();const Bt=new e.OlP("VIRTUAL_SCROLLABLE");let nt=(()=>{class ze extends It{constructor(R,U,B,ce){super(R,U,B,ce)}measureViewportSize(R){const U=this.elementRef.nativeElement;return"horizontal"===R?U.clientWidth:U.clientHeight}}return ze.\u0275fac=function(R){return new(R||ze)(e.Y36(e.SBq),e.Y36(Be),e.Y36(e.R0b),e.Y36(de.Is,8))},ze.\u0275dir=e.lG2({type:ze,features:[e.qOj]}),ze})();const Pt=typeof requestAnimationFrame<"u"?S.Z:b.E;let Qt=(()=>{class ze extends nt{constructor(R,U,B,ce,He,vt,xt,Rt){super(R,vt,B,He),this.elementRef=R,this._changeDetectorRef=U,this._scrollStrategy=ce,this.scrollable=Rt,this._platform=(0,e.f3M)(Q.t4),this._detachedSubject=new g.xQ,this._renderedRangeSubject=new g.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new h.y(Ct=>this._scrollStrategy.scrolledIndexChange.subscribe(Kt=>Promise.resolve().then(()=>this.ngZone.run(()=>Ct.next(Kt))))),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=z.w.EMPTY,this._viewportChanges=xt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(R){this._orientation!==R&&(this._orientation=R,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(R){this._appendOnly=(0,o.Ig)(R)}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,ee.O)(null),(0,j.e)(0,Pt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(R){this.ngZone.runOutsideAngular(()=>{this._forOf=R,this._forOf.dataStream.pipe((0,Pe.R)(this._detachedSubject)).subscribe(U=>{const B=U.length;B!==this._dataLength&&(this._dataLength=B,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(R){return this.getElementRef().nativeElement.getBoundingClientRect()[R]}setTotalContentSize(R){this._totalContentSize!==R&&(this._totalContentSize=R,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(R){(function pt(ze,ke){return ze.start==ke.start&&ze.end==ke.end})(this._renderedRange,R)||(this.appendOnly&&(R={start:0,end:Math.max(this._renderedRange.end,R.end)}),this._renderedRangeSubject.next(this._renderedRange=R),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(R,U="to-start"){R=this.appendOnly&&"to-start"===U?0:R;const ce="horizontal"==this.orientation,He=ce?"X":"Y";let xt=`translate${He}(${Number((ce&&this.dir&&"rtl"==this.dir.value?-1:1)*R)}px)`;this._renderedContentOffset=R,"to-end"===U&&(xt+=` translate${He}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=xt&&(this._renderedContentTransform=xt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(R,U="auto"){const B={behavior:U};"horizontal"===this.orientation?B.start=R:B.top=R,this.scrollable.scrollTo(B)}scrollToIndex(R,U="auto"){this._scrollStrategy.scrollToIndex(R,U)}measureScrollOffset(R){let U;return U=this.scrollable==this?B=>super.measureScrollOffset(B):B=>this.scrollable.measureScrollOffset(B),Math.max(0,U(R??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(R){let U;const B="left",He="rtl"==this.dir?.value;U="start"==R?He?"right":B:"end"==R?He?B:"right":R||("horizontal"===this.orientation?"left":"top");const vt=this.scrollable.measureBoundingClientRectWithScrollOffset(U);return this.elementRef.nativeElement.getBoundingClientRect()[U]-vt}measureRenderedContentSize(){const R=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?R.offsetWidth:R.offsetHeight}measureRangeSize(R){return this._forOf?this._forOf.measureRangeSize(R,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(R){R&&this._runAfterChangeDetection.push(R),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 R=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const U of R)U()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return ze.\u0275fac=function(R){return new(R||ze)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(_t,8),e.Y36(de.Is,8),e.Y36(Be),e.Y36(Dt),e.Y36(Bt,8))},ze.\u0275cmp=e.Xpm({type:ze,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(R,U){if(1&R&&e.Gf(Ue,7),2&R){let B;e.iGM(B=e.CRH())&&(U._contentWrapper=B.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(R,U){2&R&&e.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===U.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==U.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[e._Bn([{provide:It,useFactory:(ke,R)=>ke||R,deps:[nt,ze]}]),e.qOj],ngContentSelectors:Mt,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(R,U){1&R&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&R&&(e.xp6(3),e.Udp("width",U._totalContentWidth)("height",U._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}),ze})();function Jt(ze,ke,R){if(!R.getBoundingClientRect)return 0;const B=R.getBoundingClientRect();return"horizontal"===ze?"start"===ke?B.left:B.right:"start"===ke?B.top:B.bottom}let Me=(()=>{class ze{constructor(R,U,B,ce,He,vt){this._viewContainerRef=R,this._template=U,this._differs=B,this._viewRepeater=ce,this._viewport=He,this.viewChange=new g.xQ,this._dataSourceChanges=new g.xQ,this.dataStream=this._dataSourceChanges.pipe((0,ee.O)(null),function X(){return ze=>ze.lift(new Ne)}(),(0,T.w)(([xt,Rt])=>this._changeDataSource(xt,Rt)),function k(ze,ke,R){let U;return U=ze&&"object"==typeof ze?ze:{bufferSize:ze,windowTime:ke,refCount:!1,scheduler:R},B=>B.lift(function q({bufferSize:ze=Number.POSITIVE_INFINITY,windowTime:ke=Number.POSITIVE_INFINITY,refCount:R,scheduler:U}){let B,He,ce=0,vt=!1,xt=!1;return function(Ct){let Kt;ce++,!B||vt?(vt=!1,B=new Y.t(ze,ke,U),Kt=B.subscribe(this),He=Ct.subscribe({next(bt){B.next(bt)},error(bt){vt=!0,B.error(bt)},complete(){xt=!0,He=void 0,B.complete()}}),xt&&(He=void 0)):Kt=B.subscribe(this),this.add(()=>{ce--,Kt.unsubscribe(),Kt=void 0,He&&!xt&&R&&0===ce&&(He.unsubscribe(),He=void 0,B=void 0)})}}(U))}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.xQ,this.dataStream.subscribe(xt=>{this._data=xt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Pe.R)(this._destroyed)).subscribe(xt=>{this._renderedRange=xt,this.viewChange.observers.length&&vt.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(R){this._cdkVirtualForOf=R,function se(ze){return ze&&"function"==typeof ze.connect&&!(ze instanceof be.c)}(R)?this._dataSourceChanges.next(R):this._dataSourceChanges.next(new he((0,H.b)(R)?R:Array.from(R||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(R){this._needsUpdate=!0,this._cdkVirtualForTrackBy=R?(U,B)=>R(U+(this._renderedRange?this._renderedRange.start:0),B):void 0}set cdkVirtualForTemplate(R){R&&(this._needsUpdate=!0,this._template=R)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(R){this._viewRepeater.viewCacheSize=(0,o.su)(R)}measureRangeSize(R,U){if(R.start>=R.end)return 0;const B=R.start-this._renderedRange.start,ce=R.end-R.start;let He,vt;for(let xt=0;xt-1;xt--){const Rt=this._viewContainerRef.get(xt+B);if(Rt&&Rt.rootNodes.length){vt=Rt.rootNodes[Rt.rootNodes.length-1];break}}return He&&vt?Jt(U,"end",vt)-Jt(U,"start",He):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const R=this._differ.diff(this._renderedItems);R?this._applyChanges(R):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((R,U)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(R,U):U)),this._needsUpdate=!0)}_changeDataSource(R,U){return R&&R.disconnect(this),this._needsUpdate=!0,U?U.connect(this):(0,s.of)()}_updateContext(){const R=this._data.length;let U=this._viewContainerRef.length;for(;U--;){const B=this._viewContainerRef.get(U);B.context.index=this._renderedRange.start+U,B.context.count=R,this._updateComputedContextProperties(B.context),B.detectChanges()}}_applyChanges(R){this._viewRepeater.applyChanges(R,this._viewContainerRef,(ce,He,vt)=>this._getEmbeddedViewArgs(ce,vt),ce=>ce.item),R.forEachIdentityChange(ce=>{this._viewContainerRef.get(ce.currentIndex).context.$implicit=ce.item});const U=this._data.length;let B=this._viewContainerRef.length;for(;B--;){const ce=this._viewContainerRef.get(B);ce.context.index=this._renderedRange.start+B,ce.context.count=U,this._updateComputedContextProperties(ce.context)}}_updateComputedContextProperties(R){R.first=0===R.index,R.last=R.index===R.count-1,R.even=R.index%2==0,R.odd=!R.even}_getEmbeddedViewArgs(R,U){return{templateRef:this._template,context:{$implicit:R.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:U}}}return ze.\u0275fac=function(R){return new(R||ze)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Fe),e.Y36(Qt,4),e.Y36(e.R0b))},ze.\u0275dir=e.lG2({type:ze,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[e._Bn([{provide:Fe,useClass:_e}])]}),ze})(),te=(()=>{class ze{}return ze.\u0275fac=function(R){return new(R||ze)},ze.\u0275mod=e.oAB({type:ze}),ze.\u0275inj=e.cJS({}),ze})(),Ie=(()=>{class ze{}return ze.\u0275fac=function(R){return new(R||ze)},ze.\u0275mod=e.oAB({type:ze}),ze.\u0275inj=e.cJS({imports:[de.vT,te,de.vT,te]}),ze})()},36895:(wt,Oe,p)=>{p.d(Oe,{Do:()=>T,ED:()=>Xr,EM:()=>gr,H9:()=>Ui,HT:()=>h,JF:()=>Hr,JJ:()=>dr,K0:()=>S,Mn:()=>Ae,Mx:()=>Kr,NF:()=>kr,O5:()=>Xn,Ov:()=>Wt,PC:()=>Yr,RF:()=>tr,S$:()=>X,Tn:()=>se,UT:()=>Fe,V_:()=>H,Ye:()=>Y,Zx:()=>li,b0:()=>ve,bD:()=>ji,ez:()=>to,mk:()=>Qn,n9:()=>zr,ol:()=>we,p6:()=>He,q:()=>g,sg:()=>er,tP:()=>ho,uU:()=>Sr,w_:()=>F,x:()=>ge});var o=p(94650);let e=null;function g(){return e}function h(P){e||(e=P)}class F{}const S=new o.OlP("DocumentToken");let b=(()=>{class P{historyGo(L){throw new Error("Not implemented")}}return P.\u0275fac=function(L){return new(L||P)},P.\u0275prov=o.Yz7({token:P,factory:function(){return function z(){return(0,o.LFG)(A)}()},providedIn:"platform"}),P})();const H=new o.OlP("Location Initialized");let A=(()=>{class P extends b{constructor(L){super(),this._doc=L,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(L){const ye=g().getGlobalEventTarget(this._doc,"window");return ye.addEventListener("popstate",L,!1),()=>ye.removeEventListener("popstate",L)}onHashChange(L){const ye=g().getGlobalEventTarget(this._doc,"window");return ye.addEventListener("hashchange",L,!1),()=>ye.removeEventListener("hashchange",L)}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(L){this.location.pathname=L}pushState(L,ye,ot){j()?this._history.pushState(L,ye,ot):this.location.hash=ot}replaceState(L,ye,ot){j()?this._history.replaceState(L,ye,ot):this.location.hash=ot}forward(){this._history.forward()}back(){this._history.back()}historyGo(L=0){this._history.go(L)}getState(){return this._history.state}}return P.\u0275fac=function(L){return new(L||P)(o.LFG(S))},P.\u0275prov=o.Yz7({token:P,factory:function(){return function ne(){return new A((0,o.LFG)(S))}()},providedIn:"platform"}),P})();function j(){return!!window.history.pushState}function Pe(P,re){if(0==P.length)return re;if(0==re.length)return P;let L=0;return P.endsWith("/")&&L++,re.startsWith("/")&&L++,2==L?P+re.substring(1):1==L?P+re:P+"/"+re}function ee(P){const re=P.match(/#|\?|$/),L=re&&re.index||P.length;return P.slice(0,L-("/"===P[L-1]?1:0))+P.slice(L)}function pe(P){return P&&"?"!==P[0]?"?"+P:P}let X=(()=>{class P{historyGo(L){throw new Error("Not implemented")}}return P.\u0275fac=function(L){return new(L||P)},P.\u0275prov=o.Yz7({token:P,factory:function(){return(0,o.f3M)(ve)},providedIn:"root"}),P})();const Ne=new o.OlP("appBaseHref");let ve=(()=>{class P extends X{constructor(L,ye){super(),this._platformLocation=L,this._removeListenerFns=[],this._baseHref=ye??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(S).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(L){this._removeListenerFns.push(this._platformLocation.onPopState(L),this._platformLocation.onHashChange(L))}getBaseHref(){return this._baseHref}prepareExternalUrl(L){return Pe(this._baseHref,L)}path(L=!1){const ye=this._platformLocation.pathname+pe(this._platformLocation.search),ot=this._platformLocation.hash;return ot&&L?`${ye}${ot}`:ye}pushState(L,ye,ot,kt){const Nt=this.prepareExternalUrl(ot+pe(kt));this._platformLocation.pushState(L,ye,Nt)}replaceState(L,ye,ot,kt){const Nt=this.prepareExternalUrl(ot+pe(kt));this._platformLocation.replaceState(L,ye,Nt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(L=0){this._platformLocation.historyGo?.(L)}}return P.\u0275fac=function(L){return new(L||P)(o.LFG(b),o.LFG(Ne,8))},P.\u0275prov=o.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),T=(()=>{class P extends X{constructor(L,ye){super(),this._platformLocation=L,this._baseHref="",this._removeListenerFns=[],null!=ye&&(this._baseHref=ye)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(L){this._removeListenerFns.push(this._platformLocation.onPopState(L),this._platformLocation.onHashChange(L))}getBaseHref(){return this._baseHref}path(L=!1){let ye=this._platformLocation.hash;return null==ye&&(ye="#"),ye.length>0?ye.substring(1):ye}prepareExternalUrl(L){const ye=Pe(this._baseHref,L);return ye.length>0?"#"+ye:ye}pushState(L,ye,ot,kt){let Nt=this.prepareExternalUrl(ot+pe(kt));0==Nt.length&&(Nt=this._platformLocation.pathname),this._platformLocation.pushState(L,ye,Nt)}replaceState(L,ye,ot,kt){let Nt=this.prepareExternalUrl(ot+pe(kt));0==Nt.length&&(Nt=this._platformLocation.pathname),this._platformLocation.replaceState(L,ye,Nt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(L=0){this._platformLocation.historyGo?.(L)}}return P.\u0275fac=function(L){return new(L||P)(o.LFG(b),o.LFG(Ne,8))},P.\u0275prov=o.Yz7({token:P,factory:P.\u0275fac}),P})(),Y=(()=>{class P{constructor(L){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=L;const ye=this._locationStrategy.getBaseHref();this._baseHref=ee(Q(ye)),this._locationStrategy.onPopState(ot=>{this._subject.emit({url:this.path(!0),pop:!0,state:ot.state,type:ot.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(L=!1){return this.normalize(this._locationStrategy.path(L))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(L,ye=""){return this.path()==this.normalize(L+pe(ye))}normalize(L){return P.stripTrailingSlash(function q(P,re){return P&&re.startsWith(P)?re.substring(P.length):re}(this._baseHref,Q(L)))}prepareExternalUrl(L){return L&&"/"!==L[0]&&(L="/"+L),this._locationStrategy.prepareExternalUrl(L)}go(L,ye="",ot=null){this._locationStrategy.pushState(ot,"",L,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(L+pe(ye)),ot)}replaceState(L,ye="",ot=null){this._locationStrategy.replaceState(ot,"",L,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(L+pe(ye)),ot)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(L=0){this._locationStrategy.historyGo?.(L)}onUrlChange(L){return this._urlChangeListeners.push(L),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ye=>{this._notifyUrlChangeListeners(ye.url,ye.state)})),()=>{const ye=this._urlChangeListeners.indexOf(L);this._urlChangeListeners.splice(ye,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(L="",ye){this._urlChangeListeners.forEach(ot=>ot(L,ye))}subscribe(L,ye,ot){return this._subject.subscribe({next:L,error:ye,complete:ot})}}return P.normalizeQueryParams=pe,P.joinWithSlash=Pe,P.stripTrailingSlash=ee,P.\u0275fac=function(L){return new(L||P)(o.LFG(X))},P.\u0275prov=o.Yz7({token:P,factory:function(){return function k(){return new Y((0,o.LFG)(X))}()},providedIn:"root"}),P})();function Q(P){return P.replace(/\/index.html$/,"")}const ae={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var de=(()=>((de=de||{})[de.Decimal=0]="Decimal",de[de.Percent=1]="Percent",de[de.Currency=2]="Currency",de[de.Scientific=3]="Scientific",de))(),ge=(()=>((ge=ge||{})[ge.Format=0]="Format",ge[ge.Standalone=1]="Standalone",ge))(),se=(()=>((se=se||{})[se.Narrow=0]="Narrow",se[se.Abbreviated=1]="Abbreviated",se[se.Wide=2]="Wide",se[se.Short=3]="Short",se))(),he=(()=>((he=he||{})[he.Short=0]="Short",he[he.Medium=1]="Medium",he[he.Long=2]="Long",he[he.Full=3]="Full",he))(),De=(()=>((De=De||{})[De.Decimal=0]="Decimal",De[De.Group=1]="Group",De[De.List=2]="List",De[De.PercentSign=3]="PercentSign",De[De.PlusSign=4]="PlusSign",De[De.MinusSign=5]="MinusSign",De[De.Exponential=6]="Exponential",De[De.SuperscriptingExponent=7]="SuperscriptingExponent",De[De.PerMille=8]="PerMille",De[De.Infinity=9]="Infinity",De[De.NaN=10]="NaN",De[De.TimeSeparator=11]="TimeSeparator",De[De.CurrencyDecimal=12]="CurrencyDecimal",De[De.CurrencyGroup=13]="CurrencyGroup",De))();function we(P,re,L){const ye=(0,o.cg1)(P),kt=Me([ye[o.wAp.DayPeriodsFormat],ye[o.wAp.DayPeriodsStandalone]],re);return Me(kt,L)}function Ae(P,re,L){const ye=(0,o.cg1)(P),kt=Me([ye[o.wAp.DaysFormat],ye[o.wAp.DaysStandalone]],re);return Me(kt,L)}function Fe(P,re,L){const ye=(0,o.cg1)(P),kt=Me([ye[o.wAp.MonthsFormat],ye[o.wAp.MonthsStandalone]],re);return Me(kt,L)}function Ft(P,re){return Me((0,o.cg1)(P)[o.wAp.DateFormat],re)}function et(P,re){return Me((0,o.cg1)(P)[o.wAp.TimeFormat],re)}function Ge(P,re){return Me((0,o.cg1)(P)[o.wAp.DateTimeFormat],re)}function Ze(P,re){const L=(0,o.cg1)(P),ye=L[o.wAp.NumberSymbols][re];if(typeof ye>"u"){if(re===De.CurrencyDecimal)return L[o.wAp.NumberSymbols][De.Decimal];if(re===De.CurrencyGroup)return L[o.wAp.NumberSymbols][De.Group]}return ye}function Be(P,re){return(0,o.cg1)(P)[o.wAp.NumberFormats][re]}function pt(P){if(!P[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Me(P,re){for(let L=re;L>-1;L--)if(typeof P[L]<"u")return P[L];throw new Error("Locale data API: locale data undefined")}function dt(P){const[re,L]=P.split(":");return{hours:+re,minutes:+L}}const ze=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ke={},R=/((?:[^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 U=(()=>((U=U||{})[U.Short=0]="Short",U[U.ShortGMT=1]="ShortGMT",U[U.Long=2]="Long",U[U.Extended=3]="Extended",U))(),B=(()=>((B=B||{})[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B))(),ce=(()=>((ce=ce||{})[ce.DayPeriods=0]="DayPeriods",ce[ce.Days=1]="Days",ce[ce.Months=2]="Months",ce[ce.Eras=3]="Eras",ce))();function He(P,re,L,ye){let ot=function Wn(P){if(Yn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ot,kt=1,Nt=1]=P.split("-").map(cn=>+cn);return vt(ot,kt-1,Nt)}const L=parseFloat(P);if(!isNaN(P-L))return new Date(L);let ye;if(ye=P.match(ze))return function $n(P){const re=new Date(0);let L=0,ye=0;const ot=P[8]?re.setUTCFullYear:re.setFullYear,kt=P[8]?re.setUTCHours:re.setHours;P[9]&&(L=Number(P[9]+P[10]),ye=Number(P[9]+P[11])),ot.call(re,Number(P[1]),Number(P[2])-1,Number(P[3]));const Nt=Number(P[4]||0)-L,cn=Number(P[5]||0)-ye,Kn=Number(P[6]||0),Dn=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return kt.call(re,Nt,cn,Kn,Dn),re}(ye)}const re=new Date(P);if(!Yn(re))throw new Error(`Unable to convert "${P}" into a date`);return re}(P);re=xt(L,re)||re;let cn,Nt=[];for(;re;){if(cn=R.exec(re),!cn){Nt.push(re);break}{Nt=Nt.concat(cn.slice(1));const ni=Nt.pop();if(!ni)break;re=ni}}let Kn=ot.getTimezoneOffset();ye&&(Kn=In(ye,Kn),ot=function dn(P,re,L){const ye=L?-1:1,ot=P.getTimezoneOffset();return function oi(P,re){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+re),P}(P,ye*(In(re,ot)-ot))}(ot,ye,!0));let Dn="";return Nt.forEach(ni=>{const qn=function _n(P){if(tn[P])return tn[P];let re;switch(P){case"G":case"GG":case"GGG":re=Qe(ce.Eras,se.Abbreviated);break;case"GGGG":re=Qe(ce.Eras,se.Wide);break;case"GGGGG":re=Qe(ce.Eras,se.Narrow);break;case"y":re=bt(B.FullYear,1,0,!1,!0);break;case"yy":re=bt(B.FullYear,2,0,!0,!0);break;case"yyy":re=bt(B.FullYear,3,0,!1,!0);break;case"yyyy":re=bt(B.FullYear,4,0,!1,!0);break;case"Y":re=Ht(1);break;case"YY":re=Ht(2,!0);break;case"YYY":re=Ht(3);break;case"YYYY":re=Ht(4);break;case"M":case"L":re=bt(B.Month,1,1);break;case"MM":case"LL":re=bt(B.Month,2,1);break;case"MMM":re=Qe(ce.Months,se.Abbreviated);break;case"MMMM":re=Qe(ce.Months,se.Wide);break;case"MMMMM":re=Qe(ce.Months,se.Narrow);break;case"LLL":re=Qe(ce.Months,se.Abbreviated,ge.Standalone);break;case"LLLL":re=Qe(ce.Months,se.Wide,ge.Standalone);break;case"LLLLL":re=Qe(ce.Months,se.Narrow,ge.Standalone);break;case"w":re=mt(1);break;case"ww":re=mt(2);break;case"W":re=mt(1,!0);break;case"d":re=bt(B.Date,1);break;case"dd":re=bt(B.Date,2);break;case"c":case"cc":re=bt(B.Day,1);break;case"ccc":re=Qe(ce.Days,se.Abbreviated,ge.Standalone);break;case"cccc":re=Qe(ce.Days,se.Wide,ge.Standalone);break;case"ccccc":re=Qe(ce.Days,se.Narrow,ge.Standalone);break;case"cccccc":re=Qe(ce.Days,se.Short,ge.Standalone);break;case"E":case"EE":case"EEE":re=Qe(ce.Days,se.Abbreviated);break;case"EEEE":re=Qe(ce.Days,se.Wide);break;case"EEEEE":re=Qe(ce.Days,se.Narrow);break;case"EEEEEE":re=Qe(ce.Days,se.Short);break;case"a":case"aa":case"aaa":re=Qe(ce.DayPeriods,se.Abbreviated);break;case"aaaa":re=Qe(ce.DayPeriods,se.Wide);break;case"aaaaa":re=Qe(ce.DayPeriods,se.Narrow);break;case"b":case"bb":case"bbb":re=Qe(ce.DayPeriods,se.Abbreviated,ge.Standalone,!0);break;case"bbbb":re=Qe(ce.DayPeriods,se.Wide,ge.Standalone,!0);break;case"bbbbb":re=Qe(ce.DayPeriods,se.Narrow,ge.Standalone,!0);break;case"B":case"BB":case"BBB":re=Qe(ce.DayPeriods,se.Abbreviated,ge.Format,!0);break;case"BBBB":re=Qe(ce.DayPeriods,se.Wide,ge.Format,!0);break;case"BBBBB":re=Qe(ce.DayPeriods,se.Narrow,ge.Format,!0);break;case"h":re=bt(B.Hours,1,-12);break;case"hh":re=bt(B.Hours,2,-12);break;case"H":re=bt(B.Hours,1);break;case"HH":re=bt(B.Hours,2);break;case"m":re=bt(B.Minutes,1);break;case"mm":re=bt(B.Minutes,2);break;case"s":re=bt(B.Seconds,1);break;case"ss":re=bt(B.Seconds,2);break;case"S":re=bt(B.FractionalSeconds,1);break;case"SS":re=bt(B.FractionalSeconds,2);break;case"SSS":re=bt(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":re=ht(U.Short);break;case"ZZZZZ":re=ht(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":re=ht(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":re=ht(U.Long);break;default:return null}return tn[P]=re,re}(ni);Dn+=qn?qn(ot,L,Kn):"''"===ni?"'":ni.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Dn}function vt(P,re,L){const ye=new Date(0);return ye.setFullYear(P,re,L),ye.setHours(0,0,0),ye}function xt(P,re){const L=function Ce(P){return(0,o.cg1)(P)[o.wAp.LocaleId]}(P);if(ke[L]=ke[L]||{},ke[L][re])return ke[L][re];let ye="";switch(re){case"shortDate":ye=Ft(P,he.Short);break;case"mediumDate":ye=Ft(P,he.Medium);break;case"longDate":ye=Ft(P,he.Long);break;case"fullDate":ye=Ft(P,he.Full);break;case"shortTime":ye=et(P,he.Short);break;case"mediumTime":ye=et(P,he.Medium);break;case"longTime":ye=et(P,he.Long);break;case"fullTime":ye=et(P,he.Full);break;case"short":const ot=xt(P,"shortTime"),kt=xt(P,"shortDate");ye=Rt(Ge(P,he.Short),[ot,kt]);break;case"medium":const Nt=xt(P,"mediumTime"),cn=xt(P,"mediumDate");ye=Rt(Ge(P,he.Medium),[Nt,cn]);break;case"long":const Kn=xt(P,"longTime"),Dn=xt(P,"longDate");ye=Rt(Ge(P,he.Long),[Kn,Dn]);break;case"full":const ni=xt(P,"fullTime"),qn=xt(P,"fullDate");ye=Rt(Ge(P,he.Full),[ni,qn])}return ye&&(ke[L][re]=ye),ye}function Rt(P,re){return re&&(P=P.replace(/\{([^}]+)}/g,function(L,ye){return null!=re&&ye in re?re[ye]:L})),P}function Ct(P,re,L="-",ye,ot){let kt="";(P<0||ot&&P<=0)&&(ot?P=1-P:(P=-P,kt=L));let Nt=String(P);for(;Nt.length0||cn>-L)&&(cn+=L),P===B.Hours)0===cn&&-12===L&&(cn=12);else if(P===B.FractionalSeconds)return function Kt(P,re){return Ct(P,3).substring(0,re)}(cn,re);const Kn=Ze(Nt,De.MinusSign);return Ct(cn,re,Kn,ye,ot)}}function Qe(P,re,L=ge.Format,ye=!1){return function(ot,kt){return function le(P,re,L,ye,ot,kt){switch(L){case ce.Months:return Fe(re,ot,ye)[P.getMonth()];case ce.Days:return Ae(re,ot,ye)[P.getDay()];case ce.DayPeriods:const Nt=P.getHours(),cn=P.getMinutes();if(kt){const Dn=function Pt(P){const re=(0,o.cg1)(P);return pt(re),(re[o.wAp.ExtraData][2]||[]).map(ye=>"string"==typeof ye?dt(ye):[dt(ye[0]),dt(ye[1])])}(re),ni=function Qt(P,re,L){const ye=(0,o.cg1)(P);pt(ye);const kt=Me([ye[o.wAp.ExtraData][0],ye[o.wAp.ExtraData][1]],re)||[];return Me(kt,L)||[]}(re,ot,ye),qn=Dn.findIndex(Fi=>{if(Array.isArray(Fi)){const[ci,zi]=Fi,Ar=Nt>=ci.hours&&cn>=ci.minutes,rr=Nt0?Math.floor(ot/60):Math.ceil(ot/60);switch(P){case U.Short:return(ot>=0?"+":"")+Ct(Nt,2,kt)+Ct(Math.abs(ot%60),2,kt);case U.ShortGMT:return"GMT"+(ot>=0?"+":"")+Ct(Nt,1,kt);case U.Long:return"GMT"+(ot>=0?"+":"")+Ct(Nt,2,kt)+":"+Ct(Math.abs(ot%60),2,kt);case U.Extended:return 0===ye?"Z":(ot>=0?"+":"")+Ct(Nt,2,kt)+":"+Ct(Math.abs(ot%60),2,kt);default:throw new Error(`Unknown zone width "${P}"`)}}}function Re(P){return vt(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function mt(P,re=!1){return function(L,ye){let ot;if(re){const kt=new Date(L.getFullYear(),L.getMonth(),1).getDay()-1,Nt=L.getDate();ot=1+Math.floor((Nt+kt)/7)}else{const kt=Re(L),Nt=function Ke(P){const re=vt(P,0,1).getDay();return vt(P,0,1+(re<=4?4:11)-re)}(kt.getFullYear()),cn=kt.getTime()-Nt.getTime();ot=1+Math.round(cn/6048e5)}return Ct(ot,P,Ze(ye,De.MinusSign))}}function Ht(P,re=!1){return function(L,ye){return Ct(Re(L).getFullYear(),P,Ze(ye,De.MinusSign),re)}}const tn={};function In(P,re){P=P.replace(/:/g,"");const L=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(L)?re:L}function Yn(P){return P instanceof Date&&!isNaN(P.valueOf())}const Sn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function St(P,re,L,ye,ot,kt,Nt=!1){let cn="",Kn=!1;if(isFinite(P)){let Dn=function pi(P){let ye,ot,kt,Nt,cn,re=Math.abs(P)+"",L=0;for((ot=re.indexOf("."))>-1&&(re=re.replace(".","")),(kt=re.search(/e/i))>0?(ot<0&&(ot=kt),ot+=+re.slice(kt+1),re=re.substring(0,kt)):ot<0&&(ot=re.length),kt=0;"0"===re.charAt(kt);kt++);if(kt===(cn=re.length))ye=[0],ot=1;else{for(cn--;"0"===re.charAt(cn);)cn--;for(ot-=kt,ye=[],Nt=0;kt<=cn;kt++,Nt++)ye[Nt]=Number(re.charAt(kt))}return ot>22&&(ye=ye.splice(0,21),L=ot-1,ot=1),{digits:ye,exponent:L,integerLen:ot}}(P);Nt&&(Dn=function Jn(P){if(0===P.digits[0])return P;const re=P.digits.length-P.integerLen;return P.exponent?P.exponent+=2:(0===re?P.digits.push(0,0):1===re&&P.digits.push(0),P.integerLen+=2),P}(Dn));let ni=re.minInt,qn=re.minFrac,Fi=re.maxFrac;if(kt){const oo=kt.match(Sn);if(null===oo)throw new Error(`${kt} is not a valid digit info`);const ao=oo[1],ui=oo[3],Ha=oo[5];null!=ao&&(ni=ai(ao)),null!=ui&&(qn=ai(ui)),null!=Ha?Fi=ai(Ha):null!=ui&&qn>Fi&&(Fi=qn)}!function vi(P,re,L){if(re>L)throw new Error(`The minimum number of digits after fraction (${re}) is higher than the maximum (${L}).`);let ye=P.digits,ot=ye.length-P.integerLen;const kt=Math.min(Math.max(re,ot),L);let Nt=kt+P.integerLen,cn=ye[Nt];if(Nt>0){ye.splice(Math.max(P.integerLen,Nt));for(let qn=Nt;qn=5)if(Nt-1<0){for(let qn=0;qn>Nt;qn--)ye.unshift(0),P.integerLen++;ye.unshift(1),P.integerLen++}else ye[Nt-1]++;for(;ot=Dn?zi.pop():Kn=!1),Fi>=10?1:0},0);ni&&(ye.unshift(ni),P.integerLen++)}(Dn,qn,Fi);let ci=Dn.digits,zi=Dn.integerLen;const Ar=Dn.exponent;let rr=[];for(Kn=ci.every(oo=>!oo);zi0?rr=ci.splice(zi,ci.length):(rr=ci,ci=[0]);const ro=[];for(ci.length>=re.lgSize&&ro.unshift(ci.splice(-re.lgSize,ci.length).join(""));ci.length>re.gSize;)ro.unshift(ci.splice(-re.gSize,ci.length).join(""));ci.length&&ro.unshift(ci.join("")),cn=ro.join(Ze(L,ye)),rr.length&&(cn+=Ze(L,ot)+rr.join("")),Ar&&(cn+=Ze(L,De.Exponential)+"+"+Ar)}else cn=Ze(L,De.Infinity);return cn=P<0&&!Kn?re.negPre+cn+re.negSuf:re.posPre+cn+re.posSuf,cn}function Bn(P,re="-"){const L={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ye=P.split(";"),ot=ye[0],kt=ye[1],Nt=-1!==ot.indexOf(".")?ot.split("."):[ot.substring(0,ot.lastIndexOf("0")+1),ot.substring(ot.lastIndexOf("0")+1)],cn=Nt[0],Kn=Nt[1]||"";L.posPre=cn.substring(0,cn.indexOf("#"));for(let ni=0;ni{class P{constructor(L,ye,ot,kt){this._iterableDiffers=L,this._keyValueDiffers=ye,this._ngEl=ot,this._renderer=kt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(L){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof L?L.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(L){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof L?L.split(/\s+/):L,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const L=this._iterableDiffer.diff(this._rawClass);L&&this._applyIterableChanges(L)}else if(this._keyValueDiffer){const L=this._keyValueDiffer.diff(this._rawClass);L&&this._applyKeyValueChanges(L)}}_applyKeyValueChanges(L){L.forEachAddedItem(ye=>this._toggleClass(ye.key,ye.currentValue)),L.forEachChangedItem(ye=>this._toggleClass(ye.key,ye.currentValue)),L.forEachRemovedItem(ye=>{ye.previousValue&&this._toggleClass(ye.key,!1)})}_applyIterableChanges(L){L.forEachAddedItem(ye=>{if("string"!=typeof ye.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(ye.item)}`);this._toggleClass(ye.item,!0)}),L.forEachRemovedItem(ye=>this._toggleClass(ye.item,!1))}_applyClasses(L){L&&(Array.isArray(L)||L instanceof Set?L.forEach(ye=>this._toggleClass(ye,!0)):Object.keys(L).forEach(ye=>this._toggleClass(ye,!!L[ye])))}_removeClasses(L){L&&(Array.isArray(L)||L instanceof Set?L.forEach(ye=>this._toggleClass(ye,!1)):Object.keys(L).forEach(ye=>this._toggleClass(ye,!1)))}_toggleClass(L,ye){(L=L.trim())&&L.split(/\s+/g).forEach(ot=>{ye?this._renderer.addClass(this._ngEl.nativeElement,ot):this._renderer.removeClass(this._ngEl.nativeElement,ot)})}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),P})();class Jr{constructor(re,L,ye,ot){this.$implicit=re,this.ngForOf=L,this.index=ye,this.count=ot}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 er=(()=>{class P{constructor(L,ye,ot){this._viewContainer=L,this._template=ye,this._differs=ot,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(L){this._ngForOf=L,this._ngForOfDirty=!0}set ngForTrackBy(L){this._trackByFn=L}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(L){L&&(this._template=L)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const L=this._ngForOf;!this._differ&&L&&(this._differ=this._differs.find(L).create(this.ngForTrackBy))}if(this._differ){const L=this._differ.diff(this._ngForOf);L&&this._applyChanges(L)}}_applyChanges(L){const ye=this._viewContainer;L.forEachOperation((ot,kt,Nt)=>{if(null==ot.previousIndex)ye.createEmbeddedView(this._template,new Jr(ot.item,this._ngForOf,-1,-1),null===Nt?void 0:Nt);else if(null==Nt)ye.remove(null===kt?void 0:kt);else if(null!==kt){const cn=ye.get(kt);ye.move(cn,Nt),Qi(cn,ot)}});for(let ot=0,kt=ye.length;ot{Qi(ye.get(ot.currentIndex),ot)})}static ngTemplateContextGuard(L,ye){return!0}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),P})();function Qi(P,re){P.context.$implicit=re.item}let Xn=(()=>{class P{constructor(L,ye){this._viewContainer=L,this._context=new Yi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ye}set ngIf(L){this._context.$implicit=this._context.ngIf=L,this._updateView()}set ngIfThen(L){ii("ngIfThen",L),this._thenTemplateRef=L,this._thenViewRef=null,this._updateView()}set ngIfElse(L){ii("ngIfElse",L),this._elseTemplateRef=L,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(L,ye){return!0}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.s_b),o.Y36(o.Rgc))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),P})();class Yi{constructor(){this.$implicit=null,this.ngIf=null}}function ii(P,re){if(re&&!re.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,o.AaK)(re)}'.`)}class yi{constructor(re,L){this._viewContainerRef=re,this._templateRef=L,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(re){re&&!this._created?this.create():!re&&this._created&&this.destroy()}}let tr=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(L){this._ngSwitch=L,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(L){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(L)}_matchCase(L){const ye=L==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ye,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ye}_updateDefaultCases(L){if(this._defaultViews&&L!==this._defaultUsed){this._defaultUsed=L;for(let ye=0;ye{class P{constructor(L,ye,ot){this.ngSwitch=ot,ot._addCase(),this._view=new yi(L,ye)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(tr,9))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),P})(),Xr=(()=>{class P{constructor(L,ye,ot){ot._addDefault(new yi(L,ye))}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(tr,9))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngSwitchDefault",""]],standalone:!0}),P})(),Yr=(()=>{class P{constructor(L,ye,ot){this._ngEl=L,this._differs=ye,this._renderer=ot,this._ngStyle=null,this._differ=null}set ngStyle(L){this._ngStyle=L,!this._differ&&L&&(this._differ=this._differs.find(L).create())}ngDoCheck(){if(this._differ){const L=this._differ.diff(this._ngStyle);L&&this._applyChanges(L)}}_setStyle(L,ye){const[ot,kt]=L.split("."),Nt=-1===ot.indexOf("-")?void 0:o.JOm.DashCase;null!=ye?this._renderer.setStyle(this._ngEl.nativeElement,ot,kt?`${ye}${kt}`:ye,Nt):this._renderer.removeStyle(this._ngEl.nativeElement,ot,Nt)}_applyChanges(L){L.forEachRemovedItem(ye=>this._setStyle(ye.key,null)),L.forEachAddedItem(ye=>this._setStyle(ye.key,ye.currentValue)),L.forEachChangedItem(ye=>this._setStyle(ye.key,ye.currentValue))}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),P})(),ho=(()=>{class P{constructor(L){this._viewContainerRef=L,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(L){if(L.ngTemplateOutlet||L.ngTemplateOutletInjector){const ye=this._viewContainerRef;if(this._viewRef&&ye.remove(ye.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ot,ngTemplateOutletContext:kt,ngTemplateOutletInjector:Nt}=this;this._viewRef=ye.createEmbeddedView(ot,kt,Nt?{injector:Nt}:void 0)}else this._viewRef=null}else this._viewRef&&L.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.s_b))},P.\u0275dir=o.lG2({type:P,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),P})();function qi(P,re){return new o.vHH(2100,!1)}class ue{createSubscription(re,L){return re.subscribe({next:L,error:ye=>{throw ye}})}dispose(re){re.unsubscribe()}}class qe{createSubscription(re,L){return re.then(L,ye=>{throw ye})}dispose(re){}}const Ee=new qe,Lt=new ue;let Wt=(()=>{class P{constructor(L){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=L}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(L){return this._obj?L!==this._obj?(this._dispose(),this.transform(L)):this._latestValue:(L&&this._subscribe(L),this._latestValue)}_subscribe(L){this._obj=L,this._strategy=this._selectStrategy(L),this._subscription=this._strategy.createSubscription(L,ye=>this._updateLatestValue(L,ye))}_selectStrategy(L){if((0,o.QGY)(L))return Ee;if((0,o.F4k)(L))return Lt;throw qi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(L,ye){L===this._obj&&(this._latestValue=ye,this._ref.markForCheck())}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.sBO,16))},P.\u0275pipe=o.Yjl({name:"async",type:P,pure:!1,standalone:!0}),P})();const cr=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Sr=(()=>{class P{constructor(L,ye){this.locale=L,this.defaultTimezone=ye}transform(L,ye="mediumDate",ot,kt){if(null==L||""===L||L!=L)return null;try{return He(L,ye,kt||this.locale,ot??this.defaultTimezone??void 0)}catch(Nt){throw qi()}}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.soG,16),o.Y36(cr,24))},P.\u0275pipe=o.Yjl({name:"date",type:P,pure:!0,standalone:!0}),P})(),dr=(()=>{class P{constructor(L){this._locale=L}transform(L,ye,ot){if(!Li(L))return null;ot=ot||this._locale;try{return function en(P,re,L){return St(P,Bn(Be(re,de.Decimal),Ze(re,De.MinusSign)),re,De.Group,De.Decimal,L)}(xr(L),ot,ye)}catch(kt){throw qi()}}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.soG,16))},P.\u0275pipe=o.Yjl({name:"number",type:P,pure:!0,standalone:!0}),P})(),li=(()=>{class P{constructor(L){this._locale=L}transform(L,ye,ot){if(!Li(L))return null;ot=ot||this._locale;try{return function kn(P,re,L){return St(P,Bn(Be(re,de.Percent),Ze(re,De.MinusSign)),re,De.Group,De.Decimal,L,!0).replace(new RegExp("%","g"),Ze(re,De.PercentSign))}(xr(L),ot,ye)}catch(kt){throw qi()}}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.soG,16))},P.\u0275pipe=o.Yjl({name:"percent",type:P,pure:!0,standalone:!0}),P})(),Ui=(()=>{class P{constructor(L,ye="USD"){this._locale=L,this._defaultCurrencyCode=ye}transform(L,ye=this._defaultCurrencyCode,ot="symbol",kt,Nt){if(!Li(L))return null;Nt=Nt||this._locale,"boolean"==typeof ot&&(ot=ot?"symbol":"code");let cn=ye||this._defaultCurrencyCode;"code"!==ot&&(cn="symbol"===ot||"symbol-narrow"===ot?function je(P,re,L="en"){const ye=function Bt(P){return(0,o.cg1)(P)[o.wAp.Currencies]}(L)[P]||ae[P]||[],ot=ye[1];return"narrow"===re&&"string"==typeof ot?ot:ye[0]||P}(cn,"symbol"===ot?"wide":"narrow",Nt):ot);try{return function ln(P,re,L,ye,ot){const Nt=Bn(Be(re,de.Currency),Ze(re,De.MinusSign));return Nt.minFrac=function Ie(P){let re;const L=ae[P];return L&&(re=L[2]),"number"==typeof re?re:2}(ye),Nt.maxFrac=Nt.minFrac,St(P,Nt,re,De.CurrencyGroup,De.CurrencyDecimal,ot).replace("\xa4",L).replace("\xa4","").trim()}(xr(L),Nt,cn,ye,kt)}catch(Kn){throw qi()}}}return P.\u0275fac=function(L){return new(L||P)(o.Y36(o.soG,16),o.Y36(o.EJc,16))},P.\u0275pipe=o.Yjl({name:"currency",type:P,pure:!0,standalone:!0}),P})();function Li(P){return!(null==P||""===P||P!=P)}function xr(P){if("string"==typeof P&&!isNaN(Number(P)-parseFloat(P)))return Number(P);if("number"!=typeof P)throw new Error(`${P} is not a number`);return P}let to=(()=>{class P{}return P.\u0275fac=function(L){return new(L||P)},P.\u0275mod=o.oAB({type:P}),P.\u0275inj=o.cJS({}),P})();const ji="browser";function kr(P){return P===ji}let gr=(()=>{class P{}return P.\u0275prov=(0,o.Yz7)({token:P,providedIn:"root",factory:()=>new Ir((0,o.LFG)(S),window)}),P})();class Ir{constructor(re,L){this.document=re,this.window=L,this.offset=()=>[0,0]}setOffset(re){this.offset=Array.isArray(re)?()=>re:re}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(re){this.supportsScrolling()&&this.window.scrollTo(re[0],re[1])}scrollToAnchor(re){if(!this.supportsScrolling())return;const L=function Ai(P,re){const L=P.getElementById(re)||P.getElementsByName(re)[0];if(L)return L;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const ye=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ot=ye.currentNode;for(;ot;){const kt=ot.shadowRoot;if(kt){const Nt=kt.getElementById(re)||kt.querySelector(`[name="${re}"]`);if(Nt)return Nt}ot=ye.nextNode()}}return null}(this.document,re);L&&(this.scrollToElement(L),L.focus())}setHistoryScrollRestoration(re){if(this.supportScrollRestoration()){const L=this.window.history;L&&L.scrollRestoration&&(L.scrollRestoration=re)}}scrollToElement(re){const L=re.getBoundingClientRect(),ye=L.left+this.window.pageXOffset,ot=L.top+this.window.pageYOffset,kt=this.offset();this.window.scrollTo(ye-kt[0],ot-kt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const re=ri(this.window.history)||ri(Object.getPrototypeOf(this.window.history));return!(!re||!re.writable&&!re.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ri(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class Hr{}},80529:(wt,Oe,p)=>{p.d(Oe,{JF:()=>Ie,LE:()=>Ne,TP:()=>Ae,WM:()=>H,Zn:()=>he,eN:()=>Ce,jN:()=>z});var o=p(36895),e=p(94650),g=p(21086),s=p(56498),h=p(21406),F=p(92198),S=p(24850);class b{}class z{}class H{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(B=>{const ce=B.indexOf(":");if(ce>0){const He=B.slice(0,ce),vt=He.toLowerCase(),xt=B.slice(ce+1).trim();this.maybeSetNormalizedName(He,vt),this.headers.has(vt)?this.headers.get(vt).push(xt):this.headers.set(vt,[xt])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(B=>{let ce=U[B];const He=B.toLowerCase();"string"==typeof ce&&(ce=[ce]),ce.length>0&&(this.headers.set(He,ce),this.maybeSetNormalizedName(B,He))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const B=this.headers.get(U.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,B){return this.clone({name:U,value:B,op:"a"})}set(U,B){return this.clone({name:U,value:B,op:"s"})}delete(U,B){return this.clone({name:U,value:B,op:"d"})}maybeSetNormalizedName(U,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,U)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(B=>{this.headers.set(B,U.headers.get(B)),this.normalizedNames.set(B,U.normalizedNames.get(B))})}clone(U){const B=new H;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([U]),B}applyUpdate(U){const B=U.name.toLowerCase();switch(U.op){case"a":case"s":let ce=U.value;if("string"==typeof ce&&(ce=[ce]),0===ce.length)return;this.maybeSetNormalizedName(U.name,B);const He=("a"===U.op?this.headers.get(B):void 0)||[];He.push(...ce),this.headers.set(B,He);break;case"d":const vt=U.value;if(vt){let xt=this.headers.get(B);if(!xt)return;xt=xt.filter(Rt=>-1===vt.indexOf(Rt)),0===xt.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,xt)}else this.headers.delete(B),this.normalizedNames.delete(B)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(B=>U(this.normalizedNames.get(B),this.headers.get(B)))}}class j{encodeKey(U){return pe(U)}encodeValue(U){return pe(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const Pe=/%(\d[a-f0-9])/gi,ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function pe(R){return encodeURIComponent(R).replace(Pe,(U,B)=>ee[B]??U)}function X(R){return`${R}`}class Ne{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new j,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ne(R,U){const B=new Map;return R.length>0&&R.replace(/^\?/,"").split("&").forEach(He=>{const vt=He.indexOf("="),[xt,Rt]=-1==vt?[U.decodeKey(He),""]:[U.decodeKey(He.slice(0,vt)),U.decodeValue(He.slice(vt+1))],Ct=B.get(xt)||[];Ct.push(Rt),B.set(xt,Ct)}),B}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(B=>{const ce=U.fromObject[B],He=Array.isArray(ce)?ce.map(X):[X(ce)];this.map.set(B,He)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const B=this.map.get(U);return B?B[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,B){return this.clone({param:U,value:B,op:"a"})}appendAll(U){const B=[];return Object.keys(U).forEach(ce=>{const He=U[ce];Array.isArray(He)?He.forEach(vt=>{B.push({param:ce,value:vt,op:"a"})}):B.push({param:ce,value:He,op:"a"})}),this.clone(B)}set(U,B){return this.clone({param:U,value:B,op:"s"})}delete(U,B){return this.clone({param:U,value:B,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const B=this.encoder.encodeKey(U);return this.map.get(U).map(ce=>B+"="+this.encoder.encodeValue(ce)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const B=new Ne({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat(U),B}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const B=("a"===U.op?this.map.get(U.param):void 0)||[];B.push(X(U.value)),this.map.set(U.param,B);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let ce=this.map.get(U.param)||[];const He=ce.indexOf(X(U.value));-1!==He&&ce.splice(He,1),ce.length>0?this.map.set(U.param,ce):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(){this.map=new Map}set(U,B){return this.map.set(U,B),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function k(R){return typeof ArrayBuffer<"u"&&R instanceof ArrayBuffer}function q(R){return typeof Blob<"u"&&R instanceof Blob}function Q(R){return typeof FormData<"u"&&R instanceof FormData}class de{constructor(U,B,ce,He){let vt;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function Y(R){switch(R){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==ce?ce:null,vt=He):vt=ce,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params)),this.headers||(this.headers=new H),this.context||(this.context=new T),this.params){const xt=this.params.toString();if(0===xt.length)this.urlWithParams=B;else{const Rt=B.indexOf("?");this.urlWithParams=B+(-1===Rt?"?":Rtqt.set(Qe,U.setHeaders[Qe]),Ct)),U.setParams&&(Kt=Object.keys(U.setParams).reduce((qt,Qe)=>qt.set(Qe,U.setParams[Qe]),Kt)),new de(B,ce,vt,{params:Kt,headers:Ct,context:bt,reportProgress:Rt,responseType:He,withCredentials:xt})}}var be=(()=>((be=be||{})[be.Sent=0]="Sent",be[be.UploadProgress=1]="UploadProgress",be[be.ResponseHeader=2]="ResponseHeader",be[be.DownloadProgress=3]="DownloadProgress",be[be.Response=4]="Response",be[be.User=5]="User",be))();class ge{constructor(U,B=200,ce="OK"){this.headers=U.headers||new H,this.status=void 0!==U.status?U.status:B,this.statusText=U.statusText||ce,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class se extends ge{constructor(U={}){super(U),this.type=be.ResponseHeader}clone(U={}){return new se({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class he extends ge{constructor(U={}){super(U),this.type=be.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new he({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class De extends ge{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function _e(R,U){return{body:U,headers:R.headers,context:R.context,observe:R.observe,params:R.params,reportProgress:R.reportProgress,responseType:R.responseType,withCredentials:R.withCredentials}}let Ce=(()=>{class R{constructor(B){this.handler=B}request(B,ce,He={}){let vt;if(B instanceof de)vt=B;else{let Ct,Kt;Ct=He.headers instanceof H?He.headers:new H(He.headers),He.params&&(Kt=He.params instanceof Ne?He.params:new Ne({fromObject:He.params})),vt=new de(B,ce,void 0!==He.body?He.body:null,{headers:Ct,context:He.context,params:Kt,reportProgress:He.reportProgress,responseType:He.responseType||"json",withCredentials:He.withCredentials})}const xt=(0,g.of)(vt).pipe((0,h.b)(Ct=>this.handler.handle(Ct)));if(B instanceof de||"events"===He.observe)return xt;const Rt=xt.pipe((0,F.h)(Ct=>Ct instanceof he));switch(He.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return Rt.pipe((0,S.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ct.body}));case"blob":return Rt.pipe((0,S.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof Blob))throw new Error("Response is not a Blob.");return Ct.body}));case"text":return Rt.pipe((0,S.U)(Ct=>{if(null!==Ct.body&&"string"!=typeof Ct.body)throw new Error("Response is not a string.");return Ct.body}));default:return Rt.pipe((0,S.U)(Ct=>Ct.body))}case"response":return Rt;default:throw new Error(`Unreachable: unhandled observe type ${He.observe}}`)}}delete(B,ce={}){return this.request("DELETE",B,ce)}get(B,ce={}){return this.request("GET",B,ce)}head(B,ce={}){return this.request("HEAD",B,ce)}jsonp(B,ce){return this.request("JSONP",B,{params:(new Ne).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,ce={}){return this.request("OPTIONS",B,ce)}patch(B,ce,He={}){return this.request("PATCH",B,_e(He,ce))}post(B,ce,He={}){return this.request("POST",B,_e(He,ce))}put(B,ce,He={}){return this.request("PUT",B,_e(He,ce))}}return R.\u0275fac=function(B){return new(B||R)(e.LFG(b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();class we{constructor(U,B){this.next=U,this.interceptor=B}handle(U){return this.interceptor.intercept(U,this.next)}}const Ae=new e.OlP("HTTP_INTERCEPTORS");let Fe=(()=>{class R{intercept(B,ce){return ce.handle(B)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();const Ot=/^\)\]\}',?\n/;let Bt=(()=>{class R{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(ce=>{const He=this.xhrFactory.build();if(He.open(B.method,B.urlWithParams),B.withCredentials&&(He.withCredentials=!0),B.headers.forEach((le,ht)=>He.setRequestHeader(le,ht.join(","))),B.headers.has("Accept")||He.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const le=B.detectContentTypeHeader();null!==le&&He.setRequestHeader("Content-Type",le)}if(B.responseType){const le=B.responseType.toLowerCase();He.responseType="json"!==le?le:"text"}const vt=B.serializeBody();let xt=null;const Rt=()=>{if(null!==xt)return xt;const le=He.statusText||"OK",ht=new H(He.getAllResponseHeaders()),Vt=function Dt(R){return"responseURL"in R&&R.responseURL?R.responseURL:/^X-Request-URL:/m.test(R.getAllResponseHeaders())?R.getResponseHeader("X-Request-URL"):null}(He)||B.url;return xt=new se({headers:ht,status:He.status,statusText:le,url:Vt}),xt},Ct=()=>{let{headers:le,status:ht,statusText:Vt,url:at}=Rt(),Ke=null;204!==ht&&(Ke=typeof He.response>"u"?He.responseText:He.response),0===ht&&(ht=Ke?200:0);let Re=ht>=200&&ht<300;if("json"===B.responseType&&"string"==typeof Ke){const mt=Ke;Ke=Ke.replace(Ot,"");try{Ke=""!==Ke?JSON.parse(Ke):null}catch(Ht){Ke=mt,Re&&(Re=!1,Ke={error:Ht,text:Ke})}}Re?(ce.next(new he({body:Ke,headers:le,status:ht,statusText:Vt,url:at||void 0})),ce.complete()):ce.error(new De({error:Ke,headers:le,status:ht,statusText:Vt,url:at||void 0}))},Kt=le=>{const{url:ht}=Rt(),Vt=new De({error:le,status:He.status||0,statusText:He.statusText||"Unknown Error",url:ht||void 0});ce.error(Vt)};let bt=!1;const qt=le=>{bt||(ce.next(Rt()),bt=!0);let ht={type:be.DownloadProgress,loaded:le.loaded};le.lengthComputable&&(ht.total=le.total),"text"===B.responseType&&!!He.responseText&&(ht.partialText=He.responseText),ce.next(ht)},Qe=le=>{let ht={type:be.UploadProgress,loaded:le.loaded};le.lengthComputable&&(ht.total=le.total),ce.next(ht)};return He.addEventListener("load",Ct),He.addEventListener("error",Kt),He.addEventListener("timeout",Kt),He.addEventListener("abort",Kt),B.reportProgress&&(He.addEventListener("progress",qt),null!==vt&&He.upload&&He.upload.addEventListener("progress",Qe)),He.send(vt),ce.next({type:be.Sent}),()=>{He.removeEventListener("error",Kt),He.removeEventListener("abort",Kt),He.removeEventListener("load",Ct),He.removeEventListener("timeout",Kt),B.reportProgress&&(He.removeEventListener("progress",qt),null!==vt&&He.upload&&He.upload.removeEventListener("progress",Qe)),He.readyState!==He.DONE&&He.abort()}})}}return R.\u0275fac=function(B){return new(B||R)(e.LFG(o.JF))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();const nt=new e.OlP("XSRF_COOKIE_NAME"),pt=new e.OlP("XSRF_HEADER_NAME");class Pt{}let Qt=(()=>{class R{constructor(B,ce,He){this.doc=B,this.platform=ce,this.cookieName=He,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(B,this.cookieName),this.lastCookieString=B),this.lastToken}}return R.\u0275fac=function(B){return new(B||R)(e.LFG(o.K0),e.LFG(e.Lbi),e.LFG(nt))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),Jt=(()=>{class R{constructor(B,ce){this.tokenService=B,this.headerName=ce}intercept(B,ce){const He=B.url.toLowerCase();if("GET"===B.method||"HEAD"===B.method||He.startsWith("http://")||He.startsWith("https://"))return ce.handle(B);const vt=this.tokenService.getToken();return null!==vt&&!B.headers.has(this.headerName)&&(B=B.clone({headers:B.headers.set(this.headerName,vt)})),ce.handle(B)}}return R.\u0275fac=function(B){return new(B||R)(e.LFG(Pt),e.LFG(pt))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),Me=(()=>{class R{constructor(B,ce){this.backend=B,this.injector=ce,this.chain=null}handle(B){if(null===this.chain){const ce=this.injector.get(Ae,[]);this.chain=ce.reduceRight((He,vt)=>new we(He,vt),this.backend)}return this.chain.handle(B)}}return R.\u0275fac=function(B){return new(B||R)(e.LFG(z),e.LFG(e.zs3))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),te=(()=>{class R{static disable(){return{ngModule:R,providers:[{provide:Jt,useClass:Fe}]}}static withOptions(B={}){return{ngModule:R,providers:[B.cookieName?{provide:nt,useValue:B.cookieName}:[],B.headerName?{provide:pt,useValue:B.headerName}:[]]}}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({providers:[Jt,{provide:Ae,useExisting:Jt,multi:!0},{provide:Pt,useClass:Qt},{provide:nt,useValue:"XSRF-TOKEN"},{provide:pt,useValue:"X-XSRF-TOKEN"}]}),R})(),Ie=(()=>{class R{}return R.\u0275fac=function(B){return new(B||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({providers:[Ce,{provide:b,useClass:Me},Bt,{provide:z,useExisting:Bt}],imports:[te.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),R})()},94650:(wt,Oe,p)=>{p.d(Oe,{$8M:()=>As,$Z:()=>c4,AFp:()=>Tp,ALo:()=>j8,AaK:()=>b,AsE:()=>ad,BQk:()=>Xs,CHM:()=>Jo,CRH:()=>ip,CZH:()=>K6,CqO:()=>ih,D6c:()=>E7,DdM:()=>V8,DjV:()=>Fh,DyG:()=>Es,EJc:()=>Um,EiD:()=>da,EpF:()=>L6,F$t:()=>lh,F4k:()=>nh,FYo:()=>Ws,FiY:()=>Os,G48:()=>h7,Gf:()=>tp,GfV:()=>p2,GkF:()=>zs,Gpc:()=>A,Gre:()=>Lh,Hsn:()=>ch,Ikx:()=>sd,JOm:()=>na,JVY:()=>b0,Jf7:()=>S2,KtG:()=>oe,L6k:()=>Tc,LAX:()=>z0,LFG:()=>fr,LSH:()=>bi,Lbi:()=>Fm,Lck:()=>Ff,MAs:()=>Rn,MGl:()=>R6,MMx:()=>yd,MT6:()=>Rh,NdJ:()=>Ku,O4$:()=>cn,OlP:()=>Ci,Oqu:()=>od,PXZ:()=>a7,Q6J:()=>At,QGY:()=>L4,QP$:()=>Yn,QbO:()=>Bm,Qsj:()=>h2,QtT:()=>S8,R0b:()=>_a,RDi:()=>p0,Rgc:()=>$4,SBq:()=>Io,SDv:()=>z8,Sil:()=>Wm,Suo:()=>np,TTD:()=>li,TgZ:()=>Gn,Tol:()=>zh,Udp:()=>nd,VKq:()=>N8,W1O:()=>sp,WFA:()=>Ju,WLB:()=>L8,X6Q:()=>d7,XFs:()=>Me,Xpm:()=>at,Xts:()=>Pc,Y36:()=>Cs,YKP:()=>T8,YNc:()=>N6,Yjl:()=>oi,Yz7:()=>et,Z0I:()=>It,ZZ4:()=>Zd,_Bn:()=>w8,_UZ:()=>$i,_Vd:()=>js,_c5:()=>D7,_uU:()=>Eh,aQg:()=>Yd,c2e:()=>Zm,cJS:()=>Ze,cQ8:()=>td,cg1:()=>cd,d8E:()=>ld,dDg:()=>t7,dqk:()=>He,eBb:()=>M0,eFA:()=>Fp,ekj:()=>id,eoX:()=>Np,evT:()=>x2,f3M:()=>Y1,g9A:()=>Ap,gM2:()=>Q8,gxx:()=>yr,h0i:()=>H1,hGG:()=>A7,hYB:()=>ed,hij:()=>B6,iGM:()=>ep,ifc:()=>ce,ip1:()=>wp,jDz:()=>A8,kEZ:()=>R8,kL8:()=>Gh,kYT:()=>tn,lG2:()=>In,lcZ:()=>W8,lqb:()=>Ya,lri:()=>Hp,mCW:()=>Rs,n5z:()=>Ds,n_E:()=>W6,oAB:()=>Ht,oJD:()=>Ec,oxw:()=>sh,pB0:()=>S0,pQV:()=>hd,q3G:()=>Zi,qLn:()=>Qs,qOj:()=>Fr,qZA:()=>gi,qzn:()=>ds,rWj:()=>Vp,s9C:()=>Xu,sBO:()=>p7,sIi:()=>Tn,s_b:()=>Q6,soG:()=>J6,tb:()=>Ep,tp0:()=>Is,uIk:()=>mo,vHH:()=>ee,vpe:()=>es,wAp:()=>Vn,xi3:()=>$8,xp6:()=>$2,ynx:()=>Go,z2F:()=>X6,z3N:()=>Ta,zSh:()=>Sl,zs3:()=>Qa});var o=p(8929),e=p(42654),g=p(56498),s=p(36787),h=p(12474);function F(t){for(let i in t)if(t[i]===F)return i;throw Error("Could not find renamed property on target object.")}function S(t,i){for(const r in i)i.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=i[r])}function b(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(b).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const i=t.toString();if(null==i)return""+i;const r=i.indexOf("\n");return-1===r?i:i.substring(0,r)}function z(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}const H=F({__forward_ref__:F});function A(t){return t.__forward_ref__=A,t.toString=function(){return b(this())},t}function j(t){return ne(t)?t():t}function ne(t){return"function"==typeof t&&t.hasOwnProperty(H)&&t.__forward_ref__===A}class ee extends Error{constructor(i,r){super(function pe(t,i){return`NG0${Math.abs(t)}${i?": "+i.trim():""}`}(i,r)),this.code=i}}function X(t){return"string"==typeof t?t:null==t?"":String(t)}function k(t,i){throw new ee(-201,!1)}function Ue(t,i,r,l){throw new Error(`ASSERTION ERROR: ${t}`+(null==l?"":` [Expected=> ${r} ${l} ${i} <=Actual]`))}function et(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ze(t){return{providers:t.providers||[],imports:t.imports||[]}}function Be(t){return Ot(t,pt)||Ot(t,Qt)}function It(t){return null!==Be(t)}function Ot(t,i){return t.hasOwnProperty(i)?t[i]:null}function nt(t){return t&&(t.hasOwnProperty(Pt)||t.hasOwnProperty(Jt))?t[Pt]:null}const pt=F({\u0275prov:F}),Pt=F({\u0275inj:F}),Qt=F({ngInjectableDef:F}),Jt=F({ngInjectorDef:F});var Me=(()=>((Me=Me||{})[Me.Default=0]="Default",Me[Me.Host=1]="Host",Me[Me.Self=2]="Self",Me[Me.SkipSelf=4]="SkipSelf",Me[Me.Optional=8]="Optional",Me))();let dt;function te(t){const i=dt;return dt=t,i}function Ie(t,i,r){const l=Be(t);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:r&Me.Optional?null:void 0!==i?i:void k(b(t))}function ke(t){return{toString:t}.toString()}var R=(()=>((R=R||{})[R.OnPush=0]="OnPush",R[R.Default=1]="Default",R))(),ce=(()=>{return(t=ce||(ce={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",ce;var t})();const He=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Rt={},Ct=[],Kt=F({\u0275cmp:F}),bt=F({\u0275dir:F}),qt=F({\u0275pipe:F}),Qe=F({\u0275mod:F}),le=F({\u0275fac:F}),ht=F({__NG_ELEMENT_ID__:F});let Vt=0;function at(t){return ke(()=>{const r=!0===t.standalone,l={},d={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===R.OnPush,directiveDefs:null,pipeDefs:null,standalone:r,dependencies:r&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||Ct,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ce.Emulated,id:"c"+Vt++,styles:t.styles||Ct,_:null,setInput:null,schemas:t.schemas||null,tView:null},f=t.dependencies,_=t.features;return d.inputs=_n(t.inputs,l),d.outputs=_n(t.outputs),_&&_.forEach(w=>w(d)),d.directiveDefs=f?()=>("function"==typeof f?f():f).map(Re).filter(mt):null,d.pipeDefs=f?()=>("function"==typeof f?f():f).map($n).filter(mt):null,d})}function Re(t){return dn(t)||Wn(t)}function mt(t){return null!==t}function Ht(t){return ke(()=>({type:t.type,bootstrap:t.bootstrap||Ct,declarations:t.declarations||Ct,imports:t.imports||Ct,exports:t.exports||Ct,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tn(t,i){return ke(()=>{const r=Sn(t,!0);r.declarations=i.declarations||Ct,r.imports=i.imports||Ct,r.exports=i.exports||Ct})}function _n(t,i){if(null==t)return Rt;const r={};for(const l in t)if(t.hasOwnProperty(l)){let d=t[l],f=d;Array.isArray(d)&&(f=d[1],d=d[0]),r[d]=l,i&&(i[d]=f)}return r}const In=at;function oi(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function dn(t){return t[Kt]||null}function Wn(t){return t[bt]||null}function $n(t){return t[qt]||null}function Yn(t){const i=dn(t)||Wn(t)||$n(t);return null!==i&&i.standalone}function Sn(t,i){const r=t[Qe]||null;if(!r&&!0===i)throw new Error(`Type ${b(t)} does not have '\u0275mod' property.`);return r}function ii(t){return Array.isArray(t)&&"object"==typeof t[1]}function yi(t){return Array.isArray(t)&&!0===t[1]}function tr(t){return 0!=(8&t.flags)}function zr(t){return 2==(2&t.flags)}function Xr(t){return 1==(1&t.flags)}function Ti(t){return null!==t.template}function uo(t){return 0!=(256&t[2])}function ki(t,i){return t.hasOwnProperty(le)?t[le]:null}class dr{constructor(i,r,l){this.previousValue=i,this.currentValue=r,this.firstChange=l}isFirstChange(){return this.firstChange}}function li(){return Ui}function Ui(t){return t.type.prototype.ngOnChanges&&(t.setInput=xr),Li}function Li(){const t=wr(this),i=t?.current;if(i){const r=t.previous;if(r===Rt)t.previous=i;else for(let l in i)r[l]=i[l];t.current=null,this.ngOnChanges(i)}}function xr(t,i,r,l){const d=wr(t)||function to(t,i){return t[hr]=i}(t,{previous:Rt,current:null}),f=d.current||(d.current={}),_=d.previous,w=this.declaredInputs[r],O=_[w];f[w]=new dr(O&&O.currentValue,i,_===Rt),t[l]=i}li.ngInherit=!0;const hr="__ngSimpleChanges__";function wr(t){return t[hr]||null}function Un(t){for(;Array.isArray(t);)t=t[0];return t}function ri(t,i){return Un(i[t])}function Ai(t,i){return Un(i[t.index])}function Hr(t,i){return t.data[i]}function Wr(t,i){return t[i]}function ei(t,i){const r=i[t];return ii(r)?r:r[0]}function $r(t){return 64==(64&t[2])}function Ri(t,i){return null==i?null:t[i]}function no(t){t[18]=0}function Ei(t,i){t[5]+=i;let r=t,l=t[3];for(;null!==l&&(1===i&&1===r[5]||-1===i&&0===r[5]);)l[5]+=i,r=l,l=l[3]}const bn={lFrame:mn(null),bindingsEnabled:!0};function vr(){return bn.bindingsEnabled}function Zt(){return bn.lFrame.lView}function Hn(){return bn.lFrame.tView}function Jo(t){return bn.lFrame.contextLView=t,t[8]}function oe(t){return bn.lFrame.contextLView=null,t}function Xe(){let t=x();for(;null!==t&&64===t.type;)t=t.parent;return t}function x(){return bn.lFrame.currentTNode}function ie(){const t=bn.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function st(t,i){const r=bn.lFrame;r.currentTNode=t,r.isParent=i}function Tt(){return bn.lFrame.isParent}function I(){bn.lFrame.isParent=!1}function $t(){const t=bn.lFrame;let i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function Mn(){return bn.lFrame.bindingIndex}function Ii(){return bn.lFrame.bindingIndex++}function Wi(t){const i=bn.lFrame,r=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,r}function oa(t){bn.lFrame.inI18n=t}function Ca(t,i){const r=bn.lFrame;r.bindingIndex=r.bindingRootIndex=t,aa(i)}function aa(t){bn.lFrame.currentDirectiveIndex=t}function $(t){const i=bn.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}function Je(){return bn.lFrame.currentQueryIndex}function m(t){bn.lFrame.currentQueryIndex=t}function Z(t){const i=t[1];return 2===i.type?i.declTNode:1===i.type?t[6]:null}function Te(t,i,r){if(r&Me.SkipSelf){let d=i,f=t;for(;!(d=d.parent,null!==d||r&Me.Host||(d=Z(f),null===d||(f=f[15],10&d.type))););if(null===d)return!1;i=d,t=f}const l=bn.lFrame=an();return l.currentTNode=i,l.lView=t,!0}function ct(t){const i=an(),r=t[1];bn.lFrame=i,i.currentTNode=r.firstChild,i.lView=t,i.tView=r,i.contextLView=t,i.bindingIndex=r.bindingStartIndex,i.inI18n=!1}function an(){const t=bn.lFrame,i=null===t?null:t.child;return null===i?mn(t):i}function mn(t){const i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=i),i}function On(){const t=bn.lFrame;return bn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const P=On;function re(){const t=On();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ot(){return bn.lFrame.selectedIndex}function kt(t){bn.lFrame.selectedIndex=t}function Nt(){const t=bn.lFrame;return Hr(t.tView,t.selectedIndex)}function cn(){bn.lFrame.currentNamespace="svg"}function ci(t,i){for(let r=i.directiveStart,l=i.directiveEnd;r=l)break}else i[O]<0&&(t[18]+=65536),(w>11>16&&(3&t[2])===i){t[2]+=2048;try{f.call(w)}finally{}}}else try{f.call(w)}finally{}}class ui{constructor(i,r,l){this.factory=i,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=l}}function Ma(t,i,r){let l=0;for(;li){_=f-1;break}}}for(;f>16}(t),l=i;for(;r>0;)l=l[15],r--;return l}let za=!0;function Xo(t){const i=za;return za=t,i}let lc=0;const Ao={};function Sa(t,i){const r=Eo(t,i);if(-1!==r)return r;const l=i[1];l.firstCreatePass&&(t.injectorIndex=i.length,xa(l.data,t),xa(i,null),xa(l.blueprint,null));const d=wa(t,i),f=t.injectorIndex;if(ol(d)){const _=Do(d),w=No(d,i),O=w[1].data;for(let J=0;J<8;J++)i[f+J]=w[_+J]|O[_+J]}return i[f+8]=d,f}function xa(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Eo(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function wa(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,l=null,d=i;for(;null!==d;){if(l=dc(d),null===l)return-1;if(r++,d=d[15],-1!==l.injectorIndex)return l.injectorIndex|r<<16}return-1}function sa(t,i,r){!function ns(t,i,r){let l;"string"==typeof r?l=r.charCodeAt(0)||0:r.hasOwnProperty(ht)&&(l=r[ht]),null==l&&(l=r[ht]=lc++);const d=255&l;i.data[t+(d>>5)]|=1<=0?255&i:Ts:i}(r);if("function"==typeof f){if(!Te(i,t,l))return l&Me.Host?cl(d,0,l):ul(i,r,l,d);try{const _=f(l);if(null!=_||l&Me.Optional)return _;k()}finally{P()}}else if("number"==typeof f){let _=null,w=Eo(t,i),O=-1,J=l&Me.Host?i[16][6]:null;for((-1===w||l&Me.SkipSelf)&&(O=-1===w?wa(t,i):i[w+8],-1!==O&&La(l,!1)?(_=i[1],w=Do(O),i=No(O,i)):w=-1);-1!==w;){const xe=i[1];if(ws(f,w,xe.data)){const We=cc(w,i,r,_,l,J);if(We!==Ao)return We}O=i[w+8],-1!==O&&La(l,i[1].data[w+8]===J)&&ws(f,w,i)?(_=xe,w=Do(O),i=No(O,i)):w=-1}}return d}function cc(t,i,r,l,d,f){const _=i[1],w=_.data[t+8],xe=Na(w,_,r,null==l?zr(w)&&za:l!=_&&0!=(3&w.type),d&Me.Host&&f===w);return null!==xe?Bi(i,_,xe,w):Ao}function Na(t,i,r,l,d){const f=t.providerIndexes,_=i.data,w=1048575&f,O=t.directiveStart,xe=f>>20,gt=d?w+xe:t.directiveEnd;for(let Et=l?w:w+xe;Et=O&&Yt.type===r)return Et}if(d){const Et=_[O];if(Et&&Ti(Et)&&Et.type===r)return O}return null}function Bi(t,i,r,l){let d=t[r];const f=i.data;if(function Ha(t){return t instanceof ui}(d)){const _=d;_.resolving&&function ve(t,i){const r=i?`. Dependency path: ${i.join(" > ")} > ${t}`:"";throw new ee(-200,`Circular dependency in DI detected for ${t}${r}`)}(function Ne(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():X(t)}(f[r]));const w=Xo(_.canSeeViewProviders);_.resolving=!0;const O=_.injectImpl?te(_.injectImpl):null;Te(t,l,Me.Default);try{d=t[r]=_.factory(void 0,f,t,l),i.firstCreatePass&&r>=l.directiveStart&&function Fi(t,i,r){const{ngOnChanges:l,ngOnInit:d,ngDoCheck:f}=i.type.prototype;if(l){const _=Ui(i);(r.preOrderHooks||(r.preOrderHooks=[])).push(t,_),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(t,_)}d&&(r.preOrderHooks||(r.preOrderHooks=[])).push(0-t,d),f&&((r.preOrderHooks||(r.preOrderHooks=[])).push(t,f),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(t,f))}(r,f[r],i)}finally{null!==O&&te(O),Xo(w),_.resolving=!1,P()}}return d}function ws(t,i,r){return!!(r[i+(t>>5)]&1<{const i=t.prototype.constructor,r=i[le]||Ra(i),l=Object.prototype;let d=Object.getPrototypeOf(t.prototype).constructor;for(;d&&d!==l;){const f=d[le]||Ra(d);if(f&&f!==r)return f;d=Object.getPrototypeOf(d)}return f=>new f})}function Ra(t){return ne(t)?()=>{const i=Ra(j(t));return i&&i()}:ki(t)}function dc(t){const i=t[1],r=i.type;return 2===r?i.declTNode:1===r?t[6]:null}function As(t){return function Va(t,i){if("class"===i)return t.classes;if("style"===i)return t.styles;const r=t.attrs;if(r){const l=r.length;let d=0;for(;d{const l=function rs(t){return function(...r){if(t){const l=t(...r);for(const d in l)this[d]=l[d]}}}(i);function d(...f){if(this instanceof d)return l.apply(this,f),this;const _=new d(...f);return w.annotation=_,w;function w(O,J,xe){const We=O.hasOwnProperty(ta)?O[ta]:Object.defineProperty(O,ta,{value:[]})[ta];for(;We.length<=xe;)We.push(null);return(We[xe]=We[xe]||[]).push(_),O}}return r&&(d.prototype=Object.create(r.prototype)),d.prototype.ngMetadataName=t,d.annotationCls=d,d})}class Ci{constructor(i,r){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=et({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Es=Function;function fo(t,i){void 0===i&&(i=t);for(let r=0;rArray.isArray(r)?Ro(r,i):i(r))}function gl(t,i,r){i>=t.length?t.push(r):t.splice(i,0,r)}function as(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function _o(t,i){const r=[];for(let l=0;l=0?t[1|l]=r:(l=~l,function C(t,i,r,l){let d=t.length;if(d==i)t.push(r,l);else if(1===d)t.push(l,t[0]),t[0]=r;else{for(d--,t.push(t[d-1],t[d]);d>i;)t[d]=t[d-2],d--;t[i]=r,t[i+1]=l}}(t,l,i,r)),l}function Se(t,i){const r=tt(t,i);if(r>=0)return t[1|r]}function tt(t,i){return function ut(t,i,r){let l=0,d=t.length>>r;for(;d!==l;){const f=l+(d-l>>1),_=t[f<i?d=f:l=f+1}return~(d<t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zc}()?.createHTML(t)||t}function cs(t){return function xc(){if(void 0===Sc&&(Sc=null,He.trustedTypes))try{Sc=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Sc}()?.createHTML(t)||t}class us{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class v0 extends us{getTypeName(){return"HTML"}}class wc extends us{getTypeName(){return"Style"}}class su extends us{getTypeName(){return"Script"}}class y0 extends us{getTypeName(){return"URL"}}class _0 extends us{getTypeName(){return"ResourceURL"}}function Ta(t){return t instanceof us?t.changingThisBreaksApplicationSecurity:t}function ds(t,i){const r=function C0(t){return t instanceof us&&t.getTypeName()||null}(t);if(null!=r&&r!==i){if("ResourceURL"===r&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${r} (see https://g.co/ng/security#xss)`)}return r===i}function b0(t){return new v0(t)}function Tc(t){return new wc(t)}function M0(t){return new su(t)}function z0(t){return new y0(t)}function S0(t){return new _0(t)}function x0(t){const i=new lu(t);return function cu(){try{return!!(new window.DOMParser).parseFromString(ls(""),"text/html")}catch{return!1}}()?new ca(i):i}class ca{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{const r=(new window.DOMParser).parseFromString(ls(i),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(i):(r.removeChild(r.firstChild),r)}catch{return null}}}class lu{constructor(i){if(this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r);const l=this.inertDocument.createElement("body");r.appendChild(l)}}getInertBodyElement(i){const r=this.inertDocument.createElement("template");if("content"in r)return r.innerHTML=ls(i),r;const l=this.inertDocument.createElement("body");return l.innerHTML=ls(i),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(l),l}stripCustomNsAttrs(i){const r=i.attributes;for(let d=r.length-1;0"),!0}endElement(i){const r=i.nodeName.toLowerCase();Cl.hasOwnProperty(r)&&!X1.hasOwnProperty(r)&&(this.buf.push(""))}chars(i){this.buf.push(Ac(i))}checkClobberedElement(i,r){if(r&&(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return r}}const T0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n2=/([^\#-~ |!])/g;function Ac(t){return t.replace(/&/g,"&").replace(T0,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(n2,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}let Zs;function da(t,i){let r=null;try{Zs=Zs||x0(t);let l=i?String(i):"";r=Zs.getInertBodyElement(l);let d=5,f=l;do{if(0===d)throw new Error("Failed to sanitize html because the input is unstable");d--,l=f,f=r.innerHTML,r=Zs.getInertBodyElement(l)}while(l!==f);return ls((new w0).sanitizeChildren(Yo(r)||r))}finally{if(r){const l=Yo(r)||r;for(;l.firstChild;)l.removeChild(l.firstChild)}}}function Yo(t){return"content"in t&&function D0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Zi=(()=>((Zi=Zi||{})[Zi.NONE=0]="NONE",Zi[Zi.HTML=1]="HTML",Zi[Zi.STYLE=2]="STYLE",Zi[Zi.SCRIPT=3]="SCRIPT",Zi[Zi.URL=4]="URL",Zi[Zi.RESOURCE_URL=5]="RESOURCE_URL",Zi))();function Ec(t){const i=pa();return i?cs(i.sanitize(Zi.HTML,t)||""):ds(t,"HTML")?cs(Ta(t)):da(f0(),X(t))}function bi(t){const i=pa();return i?i.sanitize(Zi.URL,t)||"":ds(t,"URL")?Ta(t):Rs(X(t))}function pa(){const t=Zt();return t&&t[12]}const Pc=new Ci("ENVIRONMENT_INITIALIZER"),yr=new Ci("INJECTOR",-1),zl=new Ci("INJECTOR_DEF_TYPES");class P0{get(i,r=Zo){if(r===Zo){const l=new Error(`NullInjectorError: No provider for ${b(i)}!`);throw l.name="NullInjectorError",l}return r}}function gu(...t){return{\u0275providers:k0(0,t)}}function k0(t,...i){const r=[],l=new Set;let d;return Ro(i,f=>{const _=f;s2(_,r,[],l)&&(d||(d=[]),d.push(_))}),void 0!==d&&O0(d,r),r}function O0(t,i){for(let r=0;r{i.push(f)})}}function s2(t,i,r,l){if(!(t=j(t)))return!1;let d=null,f=nt(t);const _=!f&&dn(t);if(f||_){if(_&&!_.standalone)return!1;d=t}else{const O=t.ngModule;if(f=nt(O),!f)return!1;d=O}const w=l.has(d);if(_){if(w)return!1;if(l.add(d),_.dependencies){const O="function"==typeof _.dependencies?_.dependencies():_.dependencies;for(const J of O)s2(J,i,r,l)}}else{if(!f)return!1;{if(null!=f.imports&&!w){let J;l.add(d);try{Ro(f.imports,xe=>{s2(xe,i,r,l)&&(J||(J=[]),J.push(xe))})}finally{}void 0!==J&&O0(J,i)}if(!w){const J=ki(d)||(()=>new d);i.push({provide:d,useFactory:J,deps:Ct},{provide:zl,useValue:d,multi:!0},{provide:Pc,useValue:()=>fr(d),multi:!0})}const O=f.providers;null==O||w||Ro(O,xe=>{i.push(xe)})}}return d!==t&&void 0!==t.providers}const l2=F({provide:String,useValue:F});function Da(t){return null!==t&&"object"==typeof t&&l2 in t}function Za(t){return"function"==typeof t}const Sl=new Ci("Set Injector scope."),xl={},V0={};let kc;function wl(){return void 0===kc&&(kc=new P0),kc}class Ya{}class Oc extends Ya{constructor(i,r,l,d){super(),this.parent=r,this.source=l,this.scopes=d,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hc(i,_=>this.processProvider(_)),this.records.set(yr,ps(void 0,this)),d.has("environment")&&this.records.set(Ya,ps(void 0,this));const f=this.records.get(Sl);null!=f&&"string"==typeof f.value&&this.scopes.add(f.value),this.injectorDefTypes=new Set(this.get(zl.multi,Ct,Me.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();for(const i of this._onDestroyHooks)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(i){this._onDestroyHooks.push(i)}runInContext(i){this.assertNotDestroyed();const r=Co(this),l=te(void 0);try{return i()}finally{Co(r),te(l)}}get(i,r=Zo,l=Me.Default){this.assertNotDestroyed();const d=Co(this),f=te(void 0);try{if(!(l&Me.SkipSelf)){let w=this.records.get(i);if(void 0===w){const O=function B0(t){return"function"==typeof t||"object"==typeof t&&t instanceof Ci}(i)&&Be(i);w=O&&this.injectableDefInScope(O)?ps(Ic(i),xl):null,this.records.set(i,w)}if(null!=w)return this.hydrate(i,w)}return(l&Me.Self?wl():this.parent).get(i,r=l&Me.Optional&&r===Zo?null:r)}catch(_){if("NullInjectorError"===_.name){if((_[vl]=_[vl]||[]).unshift(b(i)),d)throw _;return function t0(t,i,r,l){const d=t[vl];throw i[_c]&&d.unshift(i[_c]),t.message=function n0(t,i,r,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let d=b(i);if(Array.isArray(i))d=i.map(b).join(" -> ");else if("object"==typeof i){let f=[];for(let _ in i)if(i.hasOwnProperty(_)){let w=i[_];f.push(_+":"+("string"==typeof w?JSON.stringify(w):b(w)))}d=`{${f.join(", ")}}`}return`${r}${l?"("+l+")":""}[${d}]: ${t.replace(yl,"\n ")}`}("\n"+t.message,d,r,l),t.ngTokenPath=d,t[vl]=null,t}(_,i,"R3InjectorError",this.source)}throw _}finally{te(f),Co(d)}}resolveInjectorInitializers(){const i=Co(this),r=te(void 0);try{const l=this.get(Pc.multi,Ct,Me.Self);for(const d of l)d()}finally{Co(i),te(r)}}toString(){const i=[],r=this.records;for(const l of r.keys())i.push(b(l));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processProvider(i){let r=Za(i=j(i))?i:j(i&&i.provide);const l=function L0(t){return Da(t)?ps(void 0,t.useValue):ps(c2(t),xl)}(i);if(Za(i)||!0!==i.multi)this.records.get(r);else{let d=this.records.get(r);d||(d=ps(void 0,xl,!0),d.factory=()=>bc(d.multi),this.records.set(r,d)),r=i,d.multi.push(i)}this.records.set(r,l)}hydrate(i,r){return r.value===xl&&(r.value=V0,r.value=r.factory()),"object"==typeof r.value&&r.value&&function F0(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(i){if(!i.providedIn)return!1;const r=j(i.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}}function Ic(t){const i=Be(t),r=null!==i?i.factory:ki(t);if(null!==r)return r;if(t instanceof Ci)throw new ee(204,!1);if(t instanceof Function)return function N0(t){const i=t.length;if(i>0)throw _o(i,"?"),new ee(204,!1);const r=function Dt(t){const i=t&&(t[pt]||t[Qt]);if(i){const r=function Bt(t){if(t.hasOwnProperty("name"))return t.name;const i=(""+t).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${r}" 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 "${r}" class.`),i}return null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new ee(204,!1)}function c2(t,i,r){let l;if(Za(t)){const d=j(t);return ki(d)||Ic(d)}if(Da(t))l=()=>j(t.useValue);else if(function hs(t){return!(!t||!t.useFactory)}(t))l=()=>t.useFactory(...bc(t.deps||[]));else if(function Lr(t){return!(!t||!t.useExisting)}(t))l=()=>fr(j(t.useExisting));else{const d=j(t&&(t.useClass||t.provide));if(!function R0(t){return!!t.deps}(t))return ki(d)||Ic(d);l=()=>new d(...bc(t.deps))}return l}function ps(t,i,r=!1){return{factory:t,value:i,multi:r?[]:void 0}}function Z0(t){return!!t.\u0275providers}function Hc(t,i){for(const r of t)Array.isArray(r)?Hc(r,i):Z0(r)?Hc(r.\u0275providers,i):i(r)}class u2{}class j0{resolveComponentFactory(i){throw function U0(t){const i=Error(`No component factory found for ${b(t)}. Did you add it to @NgModule.entryComponents?`);return i.ngComponent=t,i}(i)}}let js=(()=>{class t{}return t.NULL=new j0,t})();function d2(){return Oo(Xe(),Zt())}function Oo(t,i){return new Io(Ai(t,i))}let Io=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=d2,t})();function fs(t){return t instanceof Io?t.nativeElement:t}class Ws{}let h2=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function W0(){const t=Zt(),r=ei(Xe().index,t);return(ii(r)?r:t)[11]}(),t})(),$s=(()=>{class t{}return t.\u0275prov=et({token:t,providedIn:"root",factory:()=>null}),t})();class p2{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const f2=new p2("14.2.3"),Tl={};function fa(t){return t.ngOriginalError}class Qs{constructor(){this._console=console}handleError(i){const r=this._findOriginalError(i);this._console.error("ERROR",i),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(i){let r=i&&fa(i);for(;r&&fa(r);)r=fa(r);return r||null}}const J0=/^>|^->||--!>|)/;const ar=new Map;let Cn=0;const Qc="__ngContext__";function Rr(t,i){ii(i)?(t[Qc]=i[20],function t3(t){ar.set(t[20],t)}(i)):t[Qc]=i}function S2(t){return t.ownerDocument.defaultView}function x2(t){return t.ownerDocument}function ma(t){return t instanceof Function?t():t}var na=(()=>((na=na||{})[na.Important=1]="Important",na[na.DashCase=2]="DashCase",na))();let Kc;function Jc(t,i){return Kc(t,i)}function Gs(t){const i=t[3];return yi(i)?i[3]:i}function e1(t){return vs(t[13])}function El(t){return vs(t[4])}function vs(t){for(;null!==t&&!yi(t);)t=t[4];return t}function ja(t,i,r,l,d){if(null!=l){let f,_=!1;yi(l)?f=l:ii(l)&&(_=!0,l=l[0]);const w=Un(l);0===t&&null!==r?null==d?k2(i,r,w):$a(i,r,w,d||null,!0):1===t&&null!==r?$a(i,r,w,d||null,!0):2===t?R2(i,w,_):3===t&&i.destroyNode(w),null!=f&&function S3(t,i,r,l,d){const f=r[7];f!==Un(r)&&ja(i,t,l,f,d);for(let w=10;wi.replace(X0,"\u200b$1\u200b"))}(i))}function Ol(t,i,r){return t.createElement(i,r)}function A2(t,i){const r=t[9],l=r.indexOf(i),d=i[3];512&i[2]&&(i[2]&=-513,Ei(d,-1)),r.splice(l,1)}function n1(t,i){if(t.length<=10)return;const r=10+i,l=t[r];if(l){const d=l[17];null!==d&&d!==t&&A2(d,l),i>0&&(t[r-1][4]=l[4]);const f=as(t,10+i);!function p3(t,i){Ks(t,i,i[11],2,null,null),i[0]=null,i[6]=null}(l[1],l);const _=f[19];null!==_&&_.detachView(f[1]),l[3]=null,l[4]=null,l[2]&=-65}return l}function Il(t,i){if(!(128&i[2])){const r=i[11];r.destroyNode&&Ks(t,i,r,3,null,null),function g3(t){let i=t[13];if(!i)return Wa(t[1],t);for(;i;){let r=null;if(ii(i))r=i[13];else{const l=i[10];l&&(r=l)}if(!r){for(;i&&!i[4]&&i!==t;)ii(i)&&Wa(i[1],i),i=i[3];null===i&&(i=t),ii(i)&&Wa(i[1],i),r=i&&i[4]}i=r}}(i)}}function Wa(t,i){if(!(128&i[2])){i[2]&=-65,i[2]|=128,function C3(t,i){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let l=0;l=0?l[d=J]():l[d=-J].unsubscribe(),f+=2}else{const _=l[d=r[f+1]];r[f].call(_)}if(null!==l){for(let f=d+1;ff?"":d[We+1].toLowerCase();const Et=8&l?gt:null;if(Et&&-1!==Z2(Et,J,0)||2&l&&J!==gt){if(jo(l))return!1;_=!0}}}}else{if(!_&&!jo(l)&&!jo(O))return!1;if(_&&jo(O))continue;_=!1,l=O|1&l}}return jo(l)||_}function jo(t){return 0==(1&t)}function E3(t,i,r,l){if(null===i)return-1;let d=0;if(l||!r){let f=!1;for(;d-1)for(r++;r0?'="'+w+'"':"")+"]"}else 8&l?d+="."+_:4&l&&(d+=" "+_);else""!==d&&!jo(_)&&(i+=W2(f,d),d=""),l=_,f=f||!jo(l);r++}return""!==d&&(i+=W2(f,d)),i}const Zn={};function $2(t){Q2(Hn(),Zt(),ot()+t,!1)}function Q2(t,i,r,l){if(!l)if(3==(3&i[2])){const f=t.preOrderCheckHooks;null!==f&&zi(i,f,r)}else{const f=t.preOrderHooks;null!==f&&Ar(i,f,0,r)}kt(r)}function J2(t,i=null,r=null,l){const d=X2(t,i,r,l);return d.resolveInjectorInitializers(),d}function X2(t,i=null,r=null,l,d=new Set){const f=[r||Ct,gu(t)];return l=l||("object"==typeof t?void 0:b(t)),new Oc(f,i||wl(),l||null,d)}let Qa=(()=>{class t{static create(r,l){if(Array.isArray(r))return J2({name:""},l,r,"");{const d=r.name??"";return J2({name:d},r.parent,r.providers,d)}}}return t.THROW_IF_NOT_FOUND=Zo,t.NULL=new P0,t.\u0275prov=et({token:t,providedIn:"any",factory:()=>fr(yr)}),t.__NG_ELEMENT_ID__=-1,t})();function Cs(t,i=Me.Default){const r=Zt();return null===r?fr(t,i):dl(Xe(),r,j(t),i)}function c4(){throw new Error("invalid")}function Fl(t,i){return t<<17|i<<2}function Wo(t){return t>>17&32767}function d1(t){return 2|t}function ga(t){return(131068&t)>>2}function h1(t,i){return-131069&t|i<<2}function p1(t){return 1|t}function C4(t,i){const r=t.contentQueries;if(null!==r)for(let l=0;l22&&Q2(t,i,22,!1),r(l,d)}finally{kt(f)}}function b4(t,i,r){if(tr(i)){const d=i.directiveEnd;for(let f=i.directiveStart;f0;){const r=t[--i];if("number"==typeof r&&r<0)return r}return 0})(w)!=O&&w.push(O),w.push(l,d,_)}}function D4(t,i){null!==t.hostBindings&&t.hostBindings(1,i)}function A4(t,i){i.flags|=2,(t.components||(t.components=[])).push(i.index)}function x6(t,i,r){if(r){if(i.exportAs)for(let l=0;l0&&D1(r)}}function D1(t){for(let l=e1(t);null!==l;l=El(l))for(let d=10;d0&&D1(f)}const r=t[1].components;if(null!==r)for(let l=0;l0&&D1(d)}}function k6(t,i){const r=ei(i,t),l=r[1];(function A1(t,i){for(let r=i.length;r-1&&(n1(i,l),as(r,l))}this._attachedToViewContainer=!1}Il(this._lView[1],this._lView)}onDestroy(i){z4(this._lView[1],this._lView,null,i)}markForCheck(){E1(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){$l(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function m3(t,i){Ks(t,i,i[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new ee(902,!1);this._appRef=i}}class $e extends Ve{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;$l(i[1],i,i[8],!1)}checkNoChanges(){}get context(){return null}}class zt extends js{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const r=dn(i);return new yn(r,this.ngModule)}}function Ut(t){const i=[];for(let r in t)t.hasOwnProperty(r)&&i.push({propName:t[r],templateName:r});return i}class xn{constructor(i,r){this.injector=i,this.parentInjector=r}get(i,r,l){const d=this.injector.get(i,Tl,l);return d!==Tl||r===Tl?d:this.parentInjector.get(i,r,l)}}class yn extends u2{constructor(i,r){super(),this.componentDef=i,this.ngModule=r,this.componentType=i.type,this.selector=function V3(t){return t.map(H3).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!r}get inputs(){return Ut(this.componentDef.inputs)}get outputs(){return Ut(this.componentDef.outputs)}create(i,r,l,d){let f=(d=d||this.ngModule)instanceof Ya?d:d?.injector;f&&null!==this.componentDef.getStandaloneInjector&&(f=this.componentDef.getStandaloneInjector(f)||f);const _=f?new xn(i,f):i,w=_.get(Ws,null);if(null===w)throw new ee(407,!1);const O=_.get($s,null),J=w.createRenderer(null,this.componentDef),xe=this.componentDef.selectors[0][0]||"div",We=l?function m6(t,i,r){return t.selectRootElement(i,r===ce.ShadowDom)}(J,l,this.componentDef.encapsulation):Ol(w.createRenderer(null,this.componentDef),xe,function Xt(t){const i=t.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(xe)),gt=this.componentDef.onPush?288:272,Et=x1(0,null,null,1,0,null,null,null,null,null),Yt=Yl(null,Et,null,gt,null,null,w,J,O,_,null);let rn,un;ct(Yt);try{const vn=function En(t,i,r,l,d,f){const _=r[1];r[22]=t;const O=bs(_,22,2,"#host",null),J=O.mergedAttrs=i.hostAttrs;null!==J&&(E(O,J,!0),null!==t&&(Ma(d,t,J),null!==O.classes&&s1(d,t,O.classes),null!==O.styles&&B2(d,t,O.styles)));const xe=l.createRenderer(t,i),We=Yl(r,M4(i),null,i.onPush?32:16,r[22],O,l,xe,f||null,null,null);return _.firstCreatePass&&(sa(Sa(O,r),_,i.type),A4(_,O),E4(O,r.length,1)),Wl(r,We),r[22]=We}(We,this.componentDef,Yt,w,J);if(We)if(l)Ma(J,We,["ng-version",f2.full]);else{const{attrs:Pn,classes:Gt}=function N3(t){const i=[],r=[];let l=1,d=2;for(;l0&&s1(J,We,Gt.join(" "))}if(un=Hr(Et,22),void 0!==r){const Pn=un.projection=[];for(let Gt=0;Gt=0;l--){const d=t[l];d.hostVars=i+=d.hostVars,d.hostAttrs=ts(d.hostAttrs,r=ts(r,d.hostAttrs))}}(l)}function zo(t){return t===Rt?{}:t===Ct?[]:t}function Qo(t,i){const r=t.viewQuery;t.viewQuery=r?(l,d)=>{i(l,d),r(l,d)}:i}function qo(t,i){const r=t.contentQueries;t.contentQueries=r?(l,d,f)=>{i(l,d,f),r(l,d,f)}:i}function Ql(t,i){const r=t.hostBindings;t.hostBindings=r?(l,d)=>{i(l,d),r(l,d)}:i}let Ga=null;function hn(){if(!Ga){const t=He.Symbol;if(t&&t.iterator)Ga=t.iterator;else{const i=Object.getOwnPropertyNames(Map.prototype);for(let r=0;rw(Un(xi[l.index])):l.index;let Nn=null;if(!w&&O&&(Nn=function a5(t,i,r,l){const d=t.cleanup;if(null!=d)for(let f=0;fO?w[O]:null}"string"==typeof _&&(f+=2)}return null}(t,i,d,l.index)),null!==Nn)(Nn.__ngLastListenerFn__||Nn).__ngNextListenerFn__=f,Nn.__ngLastListenerFn__=f,Et=!1;else{f=ah(l,i,We,f,!1);const xi=r.listen(vn,d,f);gt.push(f,xi),xe&&xe.push(d,Gt,Pn,Pn+1)}}else f=ah(l,i,We,f,!1);const Yt=l.outputs;let rn;if(Et&&null!==Yt&&(rn=Yt[d])){const un=rn.length;if(un)for(let vn=0;vn0;)i=i[15],t--;return i}(t,bn.lFrame.contextLView))[8]}(t)}function s5(t,i){let r=null;const l=function P3(t){const i=t.attrs;if(null!=i){const r=i.indexOf(5);if(0==(1&r))return i[r+1]}return null}(t);for(let d=0;d=0}const Gr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vh(t){return t.substring(Gr.key,Gr.keyEnd)}function yh(t,i){const r=Gr.textEnd;return r===i?-1:(i=Gr.keyEnd=function f5(t,i,r){for(;i32;)i++;return i}(t,Gr.key=i,r),k1(t,i,r))}function k1(t,i,r){for(;i=0;r=yh(i,r))W(t,vh(i),!0)}function ka(t,i,r,l){const d=Zt(),f=Hn(),_=Wi(2);f.firstUpdatePass&&xh(f,t,_,l),i!==Zn&&Zr(d,_,i)&&Th(f,f.data[ot()],d,d[11],t,d[_+1]=function S5(t,i){return null==t||("string"==typeof i?t+=i:"object"==typeof t&&(t=b(Ta(t)))),t}(i,r),l,_)}function Oa(t,i,r,l){const d=Hn(),f=Wi(2);d.firstUpdatePass&&xh(d,null,f,l);const _=Zt();if(r!==Zn&&Zr(_,f,r)){const w=d.data[ot()];if(Ah(w,l)&&!Sh(d,f)){let O=l?w.classesWithoutHost:w.stylesWithoutHost;null!==O&&(r=z(O,r||"")),nn(d,w,_,r,l)}else!function z5(t,i,r,l,d,f,_,w){d===Zn&&(d=Ct);let O=0,J=0,xe=0=t.expandoStartIndex}function xh(t,i,r,l){const d=t.data;if(null===d[r+1]){const f=d[ot()],_=Sh(t,r);Ah(f,l)&&null===i&&!_&&(i=!1),i=function y5(t,i,r,l){const d=$(t);let f=l?i.residualClasses:i.residualStyles;if(null===d)0===(l?i.classBindings:i.styleBindings)&&(r=R4(r=rd(null,t,i,r,l),i.attrs,l),f=null);else{const _=i.directiveStylingLast;if(-1===_||t[_]!==d)if(r=rd(d,t,i,r,l),null===f){let O=function _5(t,i,r){const l=r?i.classBindings:i.styleBindings;if(0!==ga(l))return t[Wo(l)]}(t,i,l);void 0!==O&&Array.isArray(O)&&(O=rd(null,t,i,O[1],l),O=R4(O,i.attrs,l),function C5(t,i,r,l){t[Wo(r?i.classBindings:i.styleBindings)]=l}(t,i,l,O))}else f=function b5(t,i,r){let l;const d=i.directiveEnd;for(let f=1+i.directiveStylingLast;f0)&&(J=!0)}else xe=r;if(d)if(0!==O){const gt=Wo(t[w+1]);t[l+1]=Fl(gt,w),0!==gt&&(t[gt+1]=h1(t[gt+1],l)),t[w+1]=function t6(t,i){return 131071&t|i<<17}(t[w+1],l)}else t[l+1]=Fl(w,0),0!==w&&(t[w+1]=h1(t[w+1],l)),w=l;else t[l+1]=Fl(O,0),0===w?w=l:t[O+1]=h1(t[O+1],l),O=l;J&&(t[l+1]=d1(t[l+1])),gh(t,xe,l,!0),gh(t,xe,l,!1),function c5(t,i,r,l,d){const f=d?t.residualClasses:t.residualStyles;null!=f&&"string"==typeof i&&tt(f,i)>=0&&(r[l+1]=p1(r[l+1]))}(i,xe,t,l,f),_=Fl(w,O),f?i.classBindings=_:i.styleBindings=_}(d,f,i,r,_,l)}}function rd(t,i,r,l,d){let f=null;const _=r.directiveEnd;let w=r.directiveStylingLast;for(-1===w?w=r.directiveStart:w++;w<_&&(f=i[w],l=R4(l,f.hostAttrs,d),f!==t);)w++;return null!==t&&(r.directiveStylingLast=w),l}function R4(t,i,r){const l=r?1:2;let d=-1;if(null!==i)for(let f=0;f0;){const O=t[d],J=Array.isArray(O),xe=J?O[1]:O,We=null===xe;let gt=r[d+1];gt===Zn&&(gt=We?Ct:void 0);let Et=We?Se(gt,l):xe===l?gt:void 0;if(J&&!F6(Et)&&(Et=Se(O,l)),F6(Et)&&(w=Et,_))return w;const Yt=t[d+1];d=_?Wo(Yt):ga(Yt)}if(null!==i){let O=f?i.residualClasses:i.residualStyles;null!=O&&(w=Se(O,l))}return w}function F6(t){return void 0!==t}function Ah(t,i){return 0!=(t.flags&(i?16:32))}function Eh(t,i=""){const r=Zt(),l=Hn(),d=t+22,f=l.firstCreatePass?bs(l,d,1,i,null):l.data[d],_=r[d]=kl(r[11],i);Vl(l,r,_,f),st(f,!1)}function od(t){return B6("",t,""),od}function B6(t,i,r){const l=Zt(),d=Pa(l,t,i,r);return d!==Zn&&v(l,ot(),d),B6}function ad(t,i,r,l,d){const f=Zt(),_=Gl(f,t,i,r,l,d);return _!==Zn&&v(f,ot(),_),ad}function Lh(t,i,r){Oa(W,Xa,Pa(Zt(),t,i,r),!0)}function Rh(t,i,r,l,d){Oa(W,Xa,Gl(Zt(),t,i,r,l,d),!0)}function Fh(t,i,r,l,d,f,_,w,O){Oa(W,Xa,function Jl(t,i,r,l,d,f,_,w,O,J){const We=Pr(t,Mn(),r,d,_,O);return Wi(4),We?i+X(r)+l+X(d)+f+X(_)+w+X(O)+J:Zn}(Zt(),t,i,r,l,d,f,_,w,O),!0)}function sd(t,i,r){const l=Zt();return Zr(l,Ii(),i)&&Mo(Hn(),Nt(),l,t,i,l[11],r,!0),sd}function ld(t,i,r){const l=Zt();if(Zr(l,Ii(),i)){const f=Hn(),_=Nt();Mo(f,_,l,t,i,c($(f.data),_,l),r,!0)}return ld}const nc=void 0;var B5=["en",[["a","p"],["AM","PM"],nc],[["AM","PM"],nc,nc],[["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"]],nc,[["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"]],nc,[["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}",nc,"{1} 'at' {0}",nc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function F5(t){const r=Math.floor(Math.abs(t)),l=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===l?1:5}];let O1={};function cd(t){const i=function Z5(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=Kh(i);if(r)return r;const l=i.split("-")[0];if(r=Kh(l),r)return r;if("en"===l)return B5;throw new ee(701,!1)}function Gh(t){return cd(t)[Vn.PluralCase]}function Kh(t){return t in O1||(O1[t]=He.ng&&He.ng.common&&He.ng.common.locales&&He.ng.common.locales[t]),O1[t]}var Vn=(()=>((Vn=Vn||{})[Vn.LocaleId=0]="LocaleId",Vn[Vn.DayPeriodsFormat=1]="DayPeriodsFormat",Vn[Vn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Vn[Vn.DaysFormat=3]="DaysFormat",Vn[Vn.DaysStandalone=4]="DaysStandalone",Vn[Vn.MonthsFormat=5]="MonthsFormat",Vn[Vn.MonthsStandalone=6]="MonthsStandalone",Vn[Vn.Eras=7]="Eras",Vn[Vn.FirstDayOfWeek=8]="FirstDayOfWeek",Vn[Vn.WeekendRange=9]="WeekendRange",Vn[Vn.DateFormat=10]="DateFormat",Vn[Vn.TimeFormat=11]="TimeFormat",Vn[Vn.DateTimeFormat=12]="DateTimeFormat",Vn[Vn.NumberSymbols=13]="NumberSymbols",Vn[Vn.NumberFormats=14]="NumberFormats",Vn[Vn.CurrencyCode=15]="CurrencyCode",Vn[Vn.CurrencySymbol=16]="CurrencySymbol",Vn[Vn.CurrencyName=17]="CurrencyName",Vn[Vn.Currencies=18]="Currencies",Vn[Vn.Directionality=19]="Directionality",Vn[Vn.PluralCase=20]="PluralCase",Vn[Vn.ExtraData=21]="ExtraData",Vn))();const Y5=["zero","one","two","few","many"],I1="en-US",Z6={marker:"element"},Y6={marker:"ICU"};var br=(()=>((br=br||{})[br.SHIFT=2]="SHIFT",br[br.APPEND_EAGERLY=1]="APPEND_EAGERLY",br[br.COMMENT=2]="COMMENT",br))();let Jh=I1;function Xh(t){(function Fe(t,i){null==t&&Ue(i,t,null,"!=")})(t,"Expected localeId to be defined"),"string"==typeof t&&(Jh=t.toLowerCase().replace(/_/g,"-"))}function e8(t,i,r){const l=i.insertBeforeIndex,d=Array.isArray(l)?l[0]:l;return null===d?H2(t,0,r):Un(r[d])}function t8(t,i,r,l,d){const f=i.insertBeforeIndex;if(Array.isArray(f)){let _=l,w=null;if(3&i.type||(w=_,_=d),null!==_&&0==(2&i.flags))for(let O=1;O1)for(let r=t.length-2;r>=0;r--){const l=t[r];r8(l)||$5(l,i)&&null===Q5(l)&&q5(l,i.index)}}function r8(t){return!(64&t.type)}function $5(t,i){return r8(i)||t.index>i.index}function Q5(t){const i=t.insertBeforeIndex;return Array.isArray(i)?i[0]:i}function q5(t,i){const r=t.insertBeforeIndex;Array.isArray(r)?r[0]=i:(N2(e8,t8),t.insertBeforeIndex=i)}function F4(t,i){const r=t.data[i];return null===r||"string"==typeof r?null:r.hasOwnProperty("currentCaseLViewIndex")?r:r.value}function J5(t,i,r){const l=M1(t,r,64,null,null);return n8(i,l),l}function U6(t,i){const r=i[t.currentCaseLViewIndex];return null===r?r:r<0?~r:r}function o8(t){return t>>>17}function a8(t){return(131070&t)>>>1}let B4=0,Z4=0;function l8(t,i,r,l){const d=r[11];let _,f=null;for(let w=0;w>>1,r),null,null,Et,Yt,null)}else switch(O){case Y6:const J=i[++w],xe=i[++w];null===r[xe]&&Rr(r[xe]=ys(d,J),r);break;case Z6:const We=i[++w],gt=i[++w];null===r[gt]&&Rr(r[gt]=Ol(d,We,null),r)}}}function c8(t,i,r,l,d){for(let f=0;f>>2;switch(3&xe){case 1:const gt=r[++J],Et=r[++J],Yt=t.data[We];"string"==typeof Yt?T1(i[11],i[We],null,Yt,gt,O,Et):Mo(t,Yt,i,gt,O,i[11],Et,!1);break;case 0:const rn=i[We];null!==rn&&t1(i[11],rn,O);break;case 2:rf(t,F4(t,We),i,O);break;case 3:u8(t,F4(t,We),l,i)}}}}else{const O=r[f+1];if(O>0&&3==(3&O)){const xe=F4(t,O>>>2);i[xe.currentCaseLViewIndex]<0&&u8(t,xe,l,i)}}f+=w}}function u8(t,i,r,l){let d=l[i.currentCaseLViewIndex];if(null!==d){let f=B4;d<0&&(d=l[i.currentCaseLViewIndex]=~d,f=-1),c8(t,l,i.update[d],r,f)}}function rf(t,i,r,l){const d=function af(t,i){let r=t.cases.indexOf(i);if(-1===r)switch(t.type){case 1:{const l=function U5(t,i){const r=Gh(i)(parseInt(t,10)),l=Y5[r];return void 0!==l?l:"other"}(i,function W5(){return Jh}());r=t.cases.indexOf(l),-1===r&&"other"!==l&&(r=t.cases.indexOf("other"));break}case 0:r=t.cases.indexOf("other")}return-1===r?null:r}(i,l);if(U6(i,r)!==d&&(d8(t,i,r),r[i.currentCaseLViewIndex]=null===d?null:~d,null!==d)){const _=r[i.anchorIdx];_&&l8(t,i.create[d],r,_)}}function d8(t,i,r){let l=U6(i,r);if(null!==l){const d=i.remove[l];for(let f=0;f0){const w=ri(_,r);null!==w&&R2(r[11],w)}else d8(t,F4(t,~_),r)}}}function sf(){const t=[];let r,l,i=-1;function f(w,O){i=0;const J=U6(w,O);l=null!==J?w.remove[J]:Ct}function _(){if(i0?r[w]:(t.push(i,l),f(r[1].data[~w],r),_())}return 0===t.length?null:(l=t.pop(),i=t.pop(),_())}return function d(w,O){for(r=O;t.length;)t.pop();return f(w.value,O),_}}const j6=/\ufffd(\d+):?\d*\ufffd/gi,cf=/\ufffd(\d+)\ufffd/,p8=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,uf=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,df=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,hf=/\uE500/g;function f8(t,i,r,l,d,f,_){const w=Ms(t,l,1,null);let O=w<r.length&&r.push(O)}return{type:l,mainBinding:d,cases:i,values:r}}function ud(t){if(!t)return[];let i=0;const r=[],l=[],d=/[{}]/g;let f;for(d.lastIndex=0;f=d.exec(t);){const w=f.index;if("}"==f[0]){if(r.pop(),0==r.length){const O=t.substring(i,w);p8.test(O)?l.push(Cf(O)):l.push(O),i=w+1}}else{if(0==r.length){const O=t.substring(i,w);l.push(O),i=w+1}r.push("{")}}const _=t.substring(i);return l.push(_),l}function bf(t,i,r,l,d,f,_,w){const O=[],J=[],xe=[];i.cases.push(f),i.create.push(O),i.remove.push(J),i.update.push(xe);const gt=x0(f0()).getInertBodyElement(_),Et=Yo(gt)||gt;return Et?y8(t,i,r,l,O,J,xe,Et,d,w,0):0}function y8(t,i,r,l,d,f,_,w,O,J,xe){let We=0,gt=w.firstChild;for(;gt;){const Et=Ms(t,r,1,null);switch(gt.nodeType){case Node.ELEMENT_NODE:const Yt=gt,rn=Yt.tagName.toLowerCase();if(Cl.hasOwnProperty(rn)){dd(d,Z6,rn,O,Et),t.data[Et]=rn;const Gt=Yt.attributes;for(let Nn=0;Nn>>br.SHIFT;let We=t[xe];null===We&&(We=t[xe]=O?d.createComment(w):kl(d,w)),J&&null!==r&&$a(d,r,We,l,!1)}})(d,O.create,xe,w&&8&w.type?d[w.index]:null),oa(!0)}function z8(t,i,r){b8(t,i,r),function M8(){oa(!1)}()}function hd(t){return function ef(t){t&&(B4|=1<0){const l=t.data[r];c8(t,i,Array.isArray(l)?l:l.update,Mn()-Z4-1,B4)}B4=0,Z4=0}(Hn(),Zt(),t+22)}function pd(t,i,r,l,d){if(t=j(t),Array.isArray(t))for(let f=0;f>20;if(Za(t)||!t.multi){const Et=new ui(O,d,Cs),Yt=md(w,i,d?xe:xe+gt,We);-1===Yt?(sa(Sa(J,_),f,w),fd(f,t,i.length),i.push(w),J.directiveStart++,J.directiveEnd++,d&&(J.providerIndexes+=1048576),r.push(Et),_.push(Et)):(r[Yt]=Et,_[Yt]=Et)}else{const Et=md(w,i,xe+gt,We),Yt=md(w,i,xe,xe+gt),rn=Et>=0&&r[Et],un=Yt>=0&&r[Yt];if(d&&!un||!d&&!rn){sa(Sa(J,_),f,w);const vn=function Rf(t,i,r,l,d){const f=new ui(t,r,Cs);return f.multi=[],f.index=i,f.componentProviders=0,x8(f,d,l&&!r),f}(d?Lf:Nf,r.length,d,l,O);!d&&un&&(r[Yt].providerFactory=vn),fd(f,t,i.length,0),i.push(w),J.directiveStart++,J.directiveEnd++,d&&(J.providerIndexes+=1048576),r.push(vn),_.push(vn)}else fd(f,t,Et>-1?Et:Yt,x8(r[d?Yt:Et],O,!d&&l));!d&&l&&un&&r[Yt].componentProviders++}}}function fd(t,i,r,l){const d=Za(i),f=function H0(t){return!!t.useClass}(i);if(d||f){const O=(f?j(i.useClass):i).prototype.ngOnDestroy;if(O){const J=t.destroyHooks||(t.destroyHooks=[]);if(!d&&i.multi){const xe=J.indexOf(r);-1===xe?J.push(r,[l,O]):J[xe+1].push(l,O)}else J.push(r,O)}}}function x8(t,i,r){return r&&t.componentProviders++,t.multi.push(i)-1}function md(t,i,r,l){for(let d=r;d{r.providersResolver=(l,d)=>function Vf(t,i,r){const l=Hn();if(l.firstCreatePass){const d=Ti(t);pd(r,l.data,l.blueprint,d,!0),pd(i,l.data,l.blueprint,d,!1)}}(l,d?d(t):t,i)}}class H1{}class T8{}function Ff(t,i){return new D8(t,i??null)}class D8 extends H1{constructor(i,r){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zt(this);const l=Sn(i);this._bootstrapComponents=ma(l.bootstrap),this._r3Injector=X2(i,r,[{provide:H1,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],b(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class vd extends T8{constructor(i){super(),this.moduleType=i}create(i){return new D8(this.moduleType,i)}}class Bf extends H1{constructor(i,r,l){super(),this.componentFactoryResolver=new zt(this),this.instance=null;const d=new Oc([...i,{provide:H1,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],r||wl(),l,new Set(["environment"]));this.injector=d,d.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function yd(t,i,r=null){return new Bf(t,i,r).injector}let Zf=(()=>{class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r.id)){const l=k0(0,r.type),d=l.length>0?yd([l],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r.id,d)}return this.cachedInjectors.get(r.id)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=et({token:t,providedIn:"environment",factory:()=>new t(fr(Ya))}),t})();function A8(t){t.getStandaloneInjector=i=>i.get(Zf).getOrCreateStandaloneInjector(t)}function V8(t,i,r){const l=$t()+t,d=Zt();return d[l]===Zn?Br(d,l,r?i.call(r):i()):function Pi(t,i){return t[i]}(d,l)}function N8(t,i,r,l){return F8(Zt(),$t(),t,i,r,l)}function L8(t,i,r,l,d){return B8(Zt(),$t(),t,i,r,l,d)}function R8(t,i,r,l,d,f){return function Z8(t,i,r,l,d,f,_,w){const O=i+r;return _r(t,O,d,f,_)?Br(t,O+3,w?l.call(w,d,f,_):l(d,f,_)):j4(t,O+3)}(Zt(),$t(),t,i,r,l,d,f)}function j4(t,i){const r=t[i];return r===Zn?void 0:r}function F8(t,i,r,l,d,f){const _=i+r;return Zr(t,_,d)?Br(t,_+1,f?l.call(f,d):l(d)):j4(t,_+1)}function B8(t,i,r,l,d,f,_){const w=i+r;return Ka(t,w,d,f)?Br(t,w+2,_?l.call(_,d,f):l(d,f)):j4(t,w+2)}function j8(t,i){const r=Hn();let l;const d=t+22;r.firstCreatePass?(l=function im(t,i){if(i)for(let r=i.length-1;r>=0;r--){const l=i[r];if(t===l.name)return l}}(i,r.pipeRegistry),r.data[d]=l,l.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(d,l.onDestroy)):l=r.data[d];const f=l.factory||(l.factory=ki(l.type)),_=te(Cs);try{const w=Xo(!1),O=f();return Xo(w),function jt(t,i,r,l){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),i[r]=l}(r,Zt(),d,O),O}finally{te(_)}}function W8(t,i,r){const l=t+22,d=Zt(),f=Wr(d,l);return W4(d,l)?F8(d,$t(),i,f.transform,r,f):f.transform(r)}function $8(t,i,r,l){const d=t+22,f=Zt(),_=Wr(f,d);return W4(f,d)?B8(f,$t(),i,_.transform,r,l,_):_.transform(r,l)}function Q8(t,i,r,l,d,f){const _=t+22,w=Zt(),O=Wr(w,_);return W4(w,_)?function Y8(t,i,r,l,d,f,_,w,O){const J=i+r;return Pr(t,J,d,f,_,w)?Br(t,J+4,O?l.call(O,d,f,_,w):l(d,f,_,w)):j4(t,J+4)}(w,$t(),i,O.transform,r,l,d,f,O):O.transform(r,l,d,f)}function W4(t,i){return t[1].data[i].pure}function Cd(t){return i=>{setTimeout(t,void 0,i)}}const es=class am extends o.xQ{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,r,l){let d=i,f=r||(()=>null),_=l;if(i&&"object"==typeof i){const O=i;d=O.next?.bind(O),f=O.error?.bind(O),_=O.complete?.bind(O)}this.__isAsync&&(f=Cd(f),d&&(d=Cd(d)),_&&(_=Cd(_)));const w=super.subscribe({next:d,error:f,complete:_});return i instanceof e.w&&i.add(w),w}};function sm(){return this._results[hn()]()}class W6{constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const r=hn(),l=W6.prototype;l[r]||(l[r]=sm)}get changes(){return this._changes||(this._changes=new es)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,r){return this._results.reduce(i,r)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,r){const l=this;l.dirty=!1;const d=fo(i);(this._changesDetected=!function B1(t,i,r){if(t.length!==i.length)return!1;for(let l=0;l{class t{}return t.__NG_ELEMENT_ID__=um,t})();const lm=$4,cm=class extends lm{constructor(i,r,l){super(),this._declarationLView=i,this._declarationTContainer=r,this.elementRef=l}createEmbeddedView(i,r){const l=this._declarationTContainer.tViews,d=Yl(this._declarationLView,l,i,16,null,l.declTNode,null,null,null,null,r||null);d[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(d[19]=_.createEmbeddedView(l)),Ul(l,d,i),new Ve(d)}};function um(){return $6(Xe(),Zt())}function $6(t,i){return 4&t.type?new cm(i,t,Oo(t,i)):null}let Q6=(()=>{class t{}return t.__NG_ELEMENT_ID__=dm,t})();function dm(){return K8(Xe(),Zt())}const hm=Q6,q8=class extends hm{constructor(i,r,l){super(),this._lContainer=i,this._hostTNode=r,this._hostLView=l}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new Lo(this._hostTNode,this._hostLView)}get parentInjector(){const i=wa(this._hostTNode,this._hostLView);if(ol(i)){const r=No(i,this._hostLView),l=Do(i);return new Lo(r[1].data[l+8],r)}return new Lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const r=G8(this._lContainer);return null!==r&&r[i]||null}get length(){return this._lContainer.length-10}createEmbeddedView(i,r,l){let d,f;"number"==typeof l?d=l:null!=l&&(d=l.index,f=l.injector);const _=i.createEmbeddedView(r||{},f);return this.insert(_,d),_}createComponent(i,r,l,d,f){const _=i&&!function la(t){return"function"==typeof t}(i);let w;if(_)w=r;else{const We=r||{};w=We.index,l=We.injector,d=We.projectableNodes,f=We.environmentInjector||We.ngModuleRef}const O=_?i:new yn(dn(i)),J=l||this.parentInjector;if(!f&&null==O.ngModule){const gt=(_?J:this.parentInjector).get(Ya,null);gt&&(f=gt)}const xe=O.create(J,d,void 0,f);return this.insert(xe.hostView,w),xe}insert(i,r){const l=i._lView,d=l[1];if(function ra(t){return yi(t[3])}(l)){const xe=this.indexOf(i);if(-1!==xe)this.detach(xe);else{const We=l[3],gt=new q8(We,We[6],We[3]);gt.detach(gt.indexOf(i))}}const f=this._adjustIndex(r),_=this._lContainer;!function v3(t,i,r,l){const d=10+l,f=r.length;l>0&&(r[d-1][4]=i),l0)l.push(_[w/2]);else{const J=f[w+1],xe=i[-O];for(let We=10;We{class t{constructor(r){this.appInits=r,this.resolve=G6,this.reject=G6,this.initialized=!1,this.done=!1,this.donePromise=new Promise((l,d)=>{this.resolve=l,this.reject=d})}runInitializers(){if(this.initialized)return;const r=[],l=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let d=0;d{f.subscribe({complete:w,error:O})});r.push(_)}}Promise.all(r).then(()=>{l()}).catch(d=>{this.reject(d)}),0===r.length&&l(),this.initialized=!0}}return t.\u0275fac=function(r){return new(r||t)(fr(wp,8))},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Tp=new Ci("AppId",{providedIn:"root",factory:function Dp(){return`${Pd()}${Pd()}${Pd()}`}});function Pd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ap=new Ci("Platform Initializer"),Fm=new Ci("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ep=new Ci("appBootstrapListener"),Bm=new Ci("AnimationModuleType");let Zm=(()=>{class t{log(r){console.log(r)}warn(r){console.warn(r)}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const J6=new Ci("LocaleId",{providedIn:"root",factory:()=>Y1(J6,Me.Optional|Me.SkipSelf)||function Ym(){return typeof $localize<"u"&&$localize.locale||I1}()}),Um=new Ci("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class jm{constructor(i,r){this.ngModuleFactory=i,this.componentFactories=r}}let Wm=(()=>{class t{compileModuleSync(r){return new vd(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const l=this.compileModuleSync(r),f=ma(Sn(r).declarations).reduce((_,w)=>{const O=dn(w);return O&&_.push(new yn(O)),_},[]);return new jm(l,f)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const qm=(()=>Promise.resolve(0))();function kd(t){typeof Zone>"u"?qm.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class _a{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:l=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new es(!1),this.onMicrotaskEmpty=new es(!1),this.onStable=new es(!1),this.onError=new es(!1),typeof Zone>"u")throw new ee(908,!1);Zone.assertZonePatched();const d=this;if(d._nesting=0,d._outer=d._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const f=Zone.AsyncStackTaggingZoneSpec;d._inner=d._inner.fork(new f("Angular"))}Zone.TaskTrackingZoneSpec&&(d._inner=d._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(d._inner=d._inner.fork(Zone.longStackTraceZoneSpec)),d.shouldCoalesceEventChangeDetection=!l&&r,d.shouldCoalesceRunChangeDetection=l,d.lastRequestAnimationFrameId=-1,d.nativeRequestAnimationFrame=function Gm(){let t=He.requestAnimationFrame,i=He.cancelAnimationFrame;if(typeof Zone<"u"&&t&&i){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const l=i[Zone.__symbol__("OriginalDelegate")];l&&(i=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Xm(t){const i=()=>{!function Jm(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(He,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Id(t),t.isCheckStableRunning=!0,Od(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Id(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,l,d,f,_,w)=>{try{return Op(t),r.invokeTask(d,f,_,w)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||t.shouldCoalesceRunChangeDetection)&&i(),Ip(t)}},onInvoke:(r,l,d,f,_,w,O)=>{try{return Op(t),r.invoke(d,f,_,w,O)}finally{t.shouldCoalesceRunChangeDetection&&i(),Ip(t)}},onHasTask:(r,l,d,f)=>{r.hasTask(d,f),l===d&&("microTask"==f.change?(t._hasPendingMicrotasks=f.microTask,Id(t),Od(t)):"macroTask"==f.change&&(t.hasPendingMacrotasks=f.macroTask))},onHandleError:(r,l,d,f)=>(r.handleError(d,f),t.runOutsideAngular(()=>t.onError.emit(f)),!1)})}(d)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_a.isInAngularZone())throw new ee(909,!1)}static assertNotInAngularZone(){if(_a.isInAngularZone())throw new ee(909,!1)}run(i,r,l){return this._inner.run(i,r,l)}runTask(i,r,l,d){const f=this._inner,_=f.scheduleEventTask("NgZoneEvent: "+d,i,Km,G6,G6);try{return f.runTask(_,r,l)}finally{f.cancelTask(_)}}runGuarded(i,r,l){return this._inner.runGuarded(i,r,l)}runOutsideAngular(i){return this._outer.run(i)}}const Km={};function Od(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Id(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Op(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ip(t){t._nesting--,Od(t)}class e7{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new es,this.onMicrotaskEmpty=new es,this.onStable=new es,this.onError=new es}run(i,r,l){return i.apply(r,l)}runGuarded(i,r,l){return i.apply(r,l)}runOutsideAngular(i){return i()}runTask(i,r,l,d){return i.apply(r,l)}}const Hp=new Ci(""),Vp=new Ci("");let Hd,t7=(()=>{class t{constructor(r,l,d){this._ngZone=r,this.registry=l,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hd||(function n7(t){Hd=t}(d),d.addToWindow(l)),this._watchAngularEvents(),r.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:()=>{_a.assertNotInAngularZone(),kd(()=>{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())kd(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(r)||(clearTimeout(l.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,l,d){let f=-1;l&&l>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==f),r(this._didWork,this.getPendingTasks())},l)),this._callbacks.push({doneCb:r,timeoutId:f,updateCb:d})}whenStable(r,l,d){if(d&&!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(r,l,d),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,l,d){return[]}}return t.\u0275fac=function(r){return new(r||t)(fr(_a),fr(Np),fr(Vp))},t.\u0275prov=et({token:t,factory:t.\u0275fac}),t})(),Np=(()=>{class t{constructor(){this._applications=new Map}registerApplication(r,l){this._applications.set(r,l)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,l=!0){return Hd?.findTestabilityInTree(this,r,l)??null}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),el=null;const Lp=new Ci("AllowMultipleToken"),Vd=new Ci("PlatformDestroyListeners");class a7{constructor(i,r){this.name=i,this.token=r}}function Fp(t,i,r=[]){const l=`Platform: ${i}`,d=new Ci(l);return(f=[])=>{let _=Nd();if(!_||_.injector.get(Lp,!1)){const w=[...r,...f,{provide:d,useValue:!0}];t?t(w):function s7(t){if(el&&!el.get(Lp,!1))throw new ee(400,!1);el=t;const i=t.get(Zp);(function Rp(t){const i=t.get(Ap,null);i&&i.forEach(r=>r())})(t)}(function Bp(t=[],i){return Qa.create({name:i,providers:[{provide:Sl,useValue:"platform"},{provide:Vd,useValue:new Set([()=>el=null])},...t]})}(w,l))}return function c7(t){const i=Nd();if(!i)throw new ee(401,!1);return i}()}}function Nd(){return el?.get(Zp)??null}let Zp=(()=>{class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,l){const d=function Up(t,i){let r;return r="noop"===t?new e7:("zone.js"===t?void 0:t)||new _a(i),r}(l?.ngZone,function Yp(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(l)),f=[{provide:_a,useValue:d}];return d.run(()=>{const _=Qa.create({providers:f,parent:this.injector,name:r.moduleType.name}),w=r.create(_),O=w.injector.get(Qs,null);if(!O)throw new ee(402,!1);return d.runOutsideAngular(()=>{const J=d.onError.subscribe({next:xe=>{O.handleError(xe)}});w.onDestroy(()=>{eu(this._modules,w),J.unsubscribe()})}),function jp(t,i,r){try{const l=r();return L4(l)?l.catch(d=>{throw i.runOutsideAngular(()=>t.handleError(d)),d}):l}catch(l){throw i.runOutsideAngular(()=>t.handleError(l)),l}}(O,d,()=>{const J=w.injector.get(K6);return J.runInitializers(),J.donePromise.then(()=>(Xh(w.injector.get(J6,I1)||I1),this._moduleDoBootstrap(w),w))})})}bootstrapModule(r,l=[]){const d=Wp({},l);return function r7(t,i,r){const l=new vd(r);return Promise.resolve(l)}(0,0,r).then(f=>this.bootstrapModuleFactory(f,d))}_moduleDoBootstrap(r){const l=r.injector.get(X6);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(d=>l.bootstrap(d));else{if(!r.instance.ngDoBootstrap)throw new ee(403,!1);r.instance.ngDoBootstrap(l)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const r=this._injector.get(Vd,null);r&&(r.forEach(l=>l()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(r){return new(r||t)(fr(Qa))},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Wp(t,i){return Array.isArray(i)?i.reduce(Wp,t):{...t,...i}}let X6=(()=>{class t{constructor(r,l,d){this._zone=r,this._injector=l,this._exceptionHandler=d,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 f=new g.y(w=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{w.next(this._stable),w.complete()})}),_=new g.y(w=>{let O;this._zone.runOutsideAngular(()=>{O=this._zone.onStable.subscribe(()=>{_a.assertNotInAngularZone(),kd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,w.next(!0))})})});const J=this._zone.onUnstable.subscribe(()=>{_a.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{O.unsubscribe(),J.unsubscribe()}});this.isStable=(0,s.T)(f,_.pipe((0,h.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,l){const d=r instanceof u2;if(!this._injector.get(K6).done)throw!d&&Yn(r),new ee(405,false);let _;_=d?r:this._injector.get(js).resolveComponentFactory(r),this.componentTypes.push(_.componentType);const w=function o7(t){return t.isBoundToModule}(_)?void 0:this._injector.get(H1),J=_.create(Qa.NULL,[],l||_.selector,w),xe=J.location.nativeElement,We=J.injector.get(Hp,null);return We?.registerApplication(xe),J.onDestroy(()=>{this.detachView(J.hostView),eu(this.components,J),We?.unregisterApplication(xe)}),this._loadComponent(J),J}tick(){if(this._runningTick)throw new ee(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(r))}finally{this._runningTick=!1}}attachView(r){const l=r;this._views.push(l),l.attachToAppRef(this)}detachView(r){const l=r;eu(this._views,l),l.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r),this._injector.get(Ep,[]).concat(this._bootstrapListeners).forEach(d=>d(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>eu(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new ee(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(r){return new(r||t)(fr(_a),fr(Ya),fr(Qs))},t.\u0275prov=et({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function eu(t,i){const r=t.indexOf(i);r>-1&&t.splice(r,1)}let Qp=!0,qp=!1;function d7(){return qp=!0,Qp}function h7(){if(qp)throw new Error("Cannot enable prod mode after platform setup.");Qp=!1}let p7=(()=>{class t{}return t.__NG_ELEMENT_ID__=f7,t})();function f7(t){return function m7(t,i,r){if(zr(t)&&!r){const l=ei(t.index,i);return new Ve(l,l)}return 47&t.type?new Ve(i[16],i):null}(Xe(),Zt(),16==(16&t))}class Xp{constructor(){}supports(i){return Tn(i)}create(i){return new b7(i)}}const C7=(t,i)=>i;class b7{constructor(i){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=i||C7}forEachItem(i){let r;for(r=this._itHead;null!==r;r=r._next)i(r)}forEachOperation(i){let r=this._itHead,l=this._removalsHead,d=0,f=null;for(;r||l;){const _=!l||r&&r.currentIndex{_=this._trackByFn(d,w),null!==r&&Object.is(r.trackById,_)?(l&&(r=this._verifyReinsertion(r,w,_,d)),Object.is(r.item,w)||this._addIdentityChange(r,w)):(r=this._mismatch(r,w,_,d),l=!0),r=r._next,d++}),this.length=d;return this._truncate(r),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,r,l,d){let f;return null===i?f=this._itTail:(f=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._reinsertAfter(i,f,d)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(l,d))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._moveAfter(i,f,d)):i=this._addAfter(new M7(r,l),f,d),i}_verifyReinsertion(i,r,l,d){let f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==f?i=this._reinsertAfter(f,i._prev,d):i.currentIndex!=d&&(i.currentIndex=d,this._addToMoves(i,d)),i}_truncate(i){for(;null!==i;){const r=i._next;this._addToRemovals(this._unlink(i)),i=r}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(i,r,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const d=i._prevRemoved,f=i._nextRemoved;return null===d?this._removalsHead=f:d._nextRemoved=f,null===f?this._removalsTail=d:f._prevRemoved=d,this._insertAfter(i,r,l),this._addToMoves(i,l),i}_moveAfter(i,r,l){return this._unlink(i),this._insertAfter(i,r,l),this._addToMoves(i,l),i}_addAfter(i,r,l){return this._insertAfter(i,r,l),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,r,l){const d=null===r?this._itHead:r._next;return i._next=d,i._prev=r,null===d?this._itTail=i:d._prev=i,null===r?this._itHead=i:r._next=i,null===this._linkedRecords&&(this._linkedRecords=new e5),this._linkedRecords.put(i),i.currentIndex=l,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const r=i._prev,l=i._next;return null===r?this._itHead=l:r._next=l,null===l?this._itTail=r:l._prev=r,i}_addToMoves(i,r){return i.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new e5),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,r){return i.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class M7{constructor(i,r){this.item=i,this.trackById=r,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 z7{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,r){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===r||r<=l.currentIndex)&&Object.is(l.trackById,i))return l;return null}remove(i){const r=i._prevDup,l=i._nextDup;return null===r?this._head=l:r._nextDup=l,null===l?this._tail=r:l._prevDup=r,null===this._head}}class e5{constructor(){this.map=new Map}put(i){const r=i.trackById;let l=this.map.get(r);l||(l=new z7,this.map.set(r,l)),l.add(i)}get(i,r){const d=this.map.get(i);return d?d.get(i,r):null}remove(i){const r=i.trackById;return this.map.get(r).remove(i)&&this.map.delete(r),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function t5(t,i,r){const l=t.previousIndex;if(null===l)return l;let d=0;return r&&l{if(r&&r.key===d)this._maybeAddToChanges(r,l),this._appendAfter=r,r=r._next;else{const f=this._getOrCreateRecordForKey(d,l);r=this._insertBeforeOrAppend(r,f)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let l=r;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,r){if(i){const l=i._prev;return r._next=i,r._prev=l,i._prev=r,l&&(l._next=r),i===this._mapHead&&(this._mapHead=r),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(i,r){if(this._records.has(i)){const d=this._records.get(i);this._maybeAddToChanges(d,r);const f=d._prev,_=d._next;return f&&(f._next=_),_&&(_._prev=f),d._next=null,d._prev=null,d}const l=new x7(i);return this._records.set(i,l),l.currentValue=r,this._addToAdditions(l),l}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,r){Object.is(r,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=r,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,r){i instanceof Map?i.forEach(r):Object.keys(i).forEach(l=>r(i[l],l))}}class x7{constructor(i){this.key=i,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 r5(){return new Zd([new Xp])}let Zd=(()=>{class t{constructor(r){this.factories=r}static create(r,l){if(null!=l){const d=l.factories.slice();r=r.concat(d)}return new t(r)}static extend(r){return{provide:t,useFactory:l=>t.create(r,l||r5()),deps:[[t,new Is,new Os]]}}find(r){const l=this.factories.find(d=>d.supports(r));if(null!=l)return l;throw new ee(901,!1)}}return t.\u0275prov=et({token:t,providedIn:"root",factory:r5}),t})();function o5(){return new Yd([new n5])}let Yd=(()=>{class t{constructor(r){this.factories=r}static create(r,l){if(l){const d=l.factories.slice();r=r.concat(d)}return new t(r)}static extend(r){return{provide:t,useFactory:l=>t.create(r,l||o5()),deps:[[t,new Is,new Os]]}}find(r){const l=this.factories.find(d=>d.supports(r));if(l)return l;throw new ee(901,!1)}}return t.\u0275prov=et({token:t,providedIn:"root",factory:o5}),t})();const D7=Fp(null,"core",[]);let A7=(()=>{class t{constructor(r){}}return t.\u0275fac=function(r){return new(r||t)(fr(X6))},t.\u0275mod=Ht({type:t}),t.\u0275inj=Ze({}),t})();function E7(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}},84719:(wt,Oe,p)=>{p.d(Oe,{ve:()=>X,Wl:()=>Pe,Fj:()=>Ne,on:()=>Ri,qu:()=>x,u:()=>xr,sg:()=>mr,u5:()=>Dr,nD:()=>Gi,Fd:()=>Ai,qQ:()=>Hr,Cf:()=>k,JU:()=>j,JJ:()=>Ie,JL:()=>ze,On:()=>ue,YN:()=>jr,wV:()=>Lt,UX:()=>Zt,Q7:()=>Vr,EJ:()=>ji,QS:()=>st,kI:()=>ae,_Y:()=>qe,Kr:()=>Oi});var o=p(94650),e=p(36895),g=p(5254),s=p(56498),h=p(66688),F=p(24850),S=p(57830);function z(I,N){return new s.y(D=>{const me=I.length;if(0===me)return void D.complete();const ft=new Array(me);let $t=0,Mn=0;for(let fi=0;fi{Wi||(Wi=!0,Mn++),ft[fi]=To},error:To=>D.error(To),complete:()=>{$t++,($t===me||!Wi)&&(Mn===me&&D.next(N?N.reduce((To,oa,Ca)=>(To[oa]=ft[Ca],To),{}):ft),D.complete())}}))}})}let H=(()=>{class I{constructor(D,me){this._renderer=D,this._elementRef=me,this.onChange=ft=>{},this.onTouched=()=>{}}setProperty(D,me){this._renderer.setProperty(this._elementRef.nativeElement,D,me)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(o.Qsj),o.Y36(o.SBq))},I.\u0275dir=o.lG2({type:I}),I})(),A=(()=>{class I extends H{}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,features:[o.qOj]}),I})();const j=new o.OlP("NgValueAccessor"),ne={provide:j,useExisting:(0,o.Gpc)(()=>Pe),multi:!0};let Pe=(()=>{class I extends A{writeValue(D){this.setProperty("checked",D)}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(D,me){1&D&&o.NdJ("change",function($t){return me.onChange($t.target.checked)})("blur",function(){return me.onTouched()})},features:[o._Bn([ne]),o.qOj]}),I})();const ee={provide:j,useExisting:(0,o.Gpc)(()=>Ne),multi:!0},X=new o.OlP("CompositionEventMode");let Ne=(()=>{class I extends H{constructor(D,me,ft){super(D,me),this._compositionMode=ft,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function pe(){const I=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(I.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(X,8))},I.\u0275dir=o.lG2({type:I,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(D,me){1&D&&o.NdJ("input",function($t){return me._handleInput($t.target.value)})("blur",function(){return me.onTouched()})("compositionstart",function(){return me._compositionStart()})("compositionend",function($t){return me._compositionEnd($t.target.value)})},features:[o._Bn([ee]),o.qOj]}),I})();function T(I){return null==I||("string"==typeof I||Array.isArray(I))&&0===I.length}function Y(I){return null!=I&&"number"==typeof I.length}const k=new o.OlP("NgValidators"),q=new o.OlP("NgAsyncValidators"),Q=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ae{static min(N){return de(N)}static max(N){return be(N)}static required(N){return ge(N)}static requiredTrue(N){return function se(I){return!0===I.value?null:{required:!0}}(N)}static email(N){return he(N)}static minLength(N){return function De(I){return N=>T(N.value)||!Y(N.value)?null:N.value.length{if(T(me.value))return null;const ft=me.value;return N.test(ft)?null:{pattern:{requiredPattern:D,actualValue:ft}}}}(N)}static nullValidator(N){return null}static compose(N){return et(N)}static composeAsync(N){return Ze(N)}}function de(I){return N=>{if(T(N.value)||T(I))return null;const D=parseFloat(N.value);return!isNaN(D)&&D{if(T(N.value)||T(I))return null;const D=parseFloat(N.value);return!isNaN(D)&&D>I?{max:{max:I,actual:N.value}}:null}}function ge(I){return T(I.value)?{required:!0}:null}function he(I){return T(I.value)||Q.test(I.value)?null:{email:!0}}function _e(I){return N=>Y(N.value)&&N.value.length>I?{maxlength:{requiredLength:I,actualLength:N.value.length}}:null}function we(I){return null}function Ae(I){return null!=I}function Fe(I){return(0,o.QGY)(I)?(0,g.D)(I):I}function Ue(I){let N={};return I.forEach(D=>{N=null!=D?{...N,...D}:N}),0===Object.keys(N).length?null:N}function Mt(I,N){return N.map(D=>D(I))}function Ft(I){return I.map(N=>function _t(I){return!I.validate}(N)?N:D=>N.validate(D))}function et(I){if(!I)return null;const N=I.filter(Ae);return 0==N.length?null:function(D){return Ue(Mt(D,N))}}function Ge(I){return null!=I?et(Ft(I)):null}function Ze(I){if(!I)return null;const N=I.filter(Ae);return 0==N.length?null:function(D){return function b(...I){if(1===I.length){const N=I[0];if((0,h.k)(N))return z(N,null);if((0,S.K)(N)&&Object.getPrototypeOf(N)===Object.prototype){const D=Object.keys(N);return z(D.map(me=>N[me]),D)}}if("function"==typeof I[I.length-1]){const N=I.pop();return z(I=1===I.length&&(0,h.k)(I[0])?I[0]:I,null).pipe((0,F.U)(D=>N(...D)))}return z(I,null)}(Mt(D,N).map(Fe)).pipe((0,F.U)(Ue))}}function Be(I){return null!=I?Ze(Ft(I)):null}function It(I,N){return null===I?[N]:Array.isArray(I)?[...I,N]:[I,N]}function Ot(I){return I._rawValidators}function Dt(I){return I._rawAsyncValidators}function Bt(I){return I?Array.isArray(I)?I:[I]:[]}function nt(I,N){return Array.isArray(I)?I.includes(N):I===N}function pt(I,N){const D=Bt(N);return Bt(I).forEach(ft=>{nt(D,ft)||D.push(ft)}),D}function Pt(I,N){return Bt(N).filter(D=>!nt(I,D))}class Qt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(N){this._rawValidators=N||[],this._composedValidatorFn=Ge(this._rawValidators)}_setAsyncValidators(N){this._rawAsyncValidators=N||[],this._composedAsyncValidatorFn=Be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(N){this._onDestroyCallbacks.push(N)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(N=>N()),this._onDestroyCallbacks=[]}reset(N){this.control&&this.control.reset(N)}hasError(N,D){return!!this.control&&this.control.hasError(N,D)}getError(N,D){return this.control?this.control.getError(N,D):null}}class Jt extends Qt{get formDirective(){return null}get path(){return null}}class Me extends Qt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class dt{constructor(N){this._cd=N}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ie=(()=>{class I extends dt{constructor(D){super(D)}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(Me,2))},I.\u0275dir=o.lG2({type:I,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(D,me){2&D&&o.ekj("ng-untouched",me.isUntouched)("ng-touched",me.isTouched)("ng-pristine",me.isPristine)("ng-dirty",me.isDirty)("ng-valid",me.isValid)("ng-invalid",me.isInvalid)("ng-pending",me.isPending)},features:[o.qOj]}),I})(),ze=(()=>{class I extends dt{constructor(D){super(D)}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(Jt,10))},I.\u0275dir=o.lG2({type:I,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(D,me){2&D&&o.ekj("ng-untouched",me.isUntouched)("ng-touched",me.isTouched)("ng-pristine",me.isPristine)("ng-dirty",me.isDirty)("ng-valid",me.isValid)("ng-invalid",me.isInvalid)("ng-pending",me.isPending)("ng-submitted",me.isSubmitted)},features:[o.qOj]}),I})();const Ke="VALID",Re="INVALID",mt="PENDING",Ht="DISABLED";function tn(I){return(dn(I)?I.validators:I)||null}function _n(I){return Array.isArray(I)?Ge(I):I||null}function In(I,N){return(dn(N)?N.asyncValidators:I)||null}function oi(I){return Array.isArray(I)?Be(I):I||null}function dn(I){return null!=I&&!Array.isArray(I)&&"object"==typeof I}function Wn(I,N,D){const me=I.controls;if(!(N?Object.keys(me):me).length)throw new o.vHH(1e3,"");if(!me[D])throw new o.vHH(1001,"")}function $n(I,N,D){I._forEachChild((me,ft)=>{if(void 0===D[ft])throw new o.vHH(1002,"")})}class Yn{constructor(N,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=N,this._rawAsyncValidators=D,this._composedValidatorFn=_n(this._rawValidators),this._composedAsyncValidatorFn=oi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(N){this._rawValidators=this._composedValidatorFn=N}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(N){this._rawAsyncValidators=this._composedAsyncValidatorFn=N}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===Re}get pending(){return this.status==mt}get disabled(){return this.status===Ht}get enabled(){return this.status!==Ht}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(N){this._rawValidators=N,this._composedValidatorFn=_n(N)}setAsyncValidators(N){this._rawAsyncValidators=N,this._composedAsyncValidatorFn=oi(N)}addValidators(N){this.setValidators(pt(N,this._rawValidators))}addAsyncValidators(N){this.setAsyncValidators(pt(N,this._rawAsyncValidators))}removeValidators(N){this.setValidators(Pt(N,this._rawValidators))}removeAsyncValidators(N){this.setAsyncValidators(Pt(N,this._rawAsyncValidators))}hasValidator(N){return nt(this._rawValidators,N)}hasAsyncValidator(N){return nt(this._rawAsyncValidators,N)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(N={}){this.touched=!0,this._parent&&!N.onlySelf&&this._parent.markAsTouched(N)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(N=>N.markAllAsTouched())}markAsUntouched(N={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!N.onlySelf&&this._parent._updateTouched(N)}markAsDirty(N={}){this.pristine=!1,this._parent&&!N.onlySelf&&this._parent.markAsDirty(N)}markAsPristine(N={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!N.onlySelf&&this._parent._updatePristine(N)}markAsPending(N={}){this.status=mt,!1!==N.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!N.onlySelf&&this._parent.markAsPending(N)}disable(N={}){const D=this._parentMarkedDirty(N.onlySelf);this.status=Ht,this.errors=null,this._forEachChild(me=>{me.disable({...N,onlySelf:!0})}),this._updateValue(),!1!==N.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...N,skipPristineCheck:D}),this._onDisabledChange.forEach(me=>me(!0))}enable(N={}){const D=this._parentMarkedDirty(N.onlySelf);this.status=Ke,this._forEachChild(me=>{me.enable({...N,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent}),this._updateAncestors({...N,skipPristineCheck:D}),this._onDisabledChange.forEach(me=>me(!1))}_updateAncestors(N){this._parent&&!N.onlySelf&&(this._parent.updateValueAndValidity(N),N.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(N){this._parent=N}getRawValue(){return this.value}updateValueAndValidity(N={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===mt)&&this._runAsyncValidator(N.emitEvent)),!1!==N.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!N.onlySelf&&this._parent.updateValueAndValidity(N)}_updateTreeValidity(N={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(N)),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ht:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(N){if(this.asyncValidator){this.status=mt,this._hasOwnPendingAsyncValidator=!0;const D=Fe(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(me=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(me,{emitEvent:N})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(N,D={}){this.errors=N,this._updateControlsErrors(!1!==D.emitEvent)}get(N){let D=N;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((me,ft)=>me&&me._find(ft),this)}getError(N,D){const me=D?this.get(D):this;return me&&me.errors?me.errors[N]:null}hasError(N,D){return!!this.getError(N,D)}get root(){let N=this;for(;N._parent;)N=N._parent;return N}_updateControlsErrors(N){this.status=this._calculateStatus(),N&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(N)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Ht:this.errors?Re:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mt)?mt:this._anyControlsHaveStatus(Re)?Re:Ke}_anyControlsHaveStatus(N){return this._anyControls(D=>D.status===N)}_anyControlsDirty(){return this._anyControls(N=>N.dirty)}_anyControlsTouched(){return this._anyControls(N=>N.touched)}_updatePristine(N={}){this.pristine=!this._anyControlsDirty(),this._parent&&!N.onlySelf&&this._parent._updatePristine(N)}_updateTouched(N={}){this.touched=this._anyControlsTouched(),this._parent&&!N.onlySelf&&this._parent._updateTouched(N)}_registerOnCollectionChange(N){this._onCollectionChange=N}_setUpdateStrategy(N){dn(N)&&null!=N.updateOn&&(this._updateOn=N.updateOn)}_parentMarkedDirty(N){return!N&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(N){return null}}class Sn extends Yn{constructor(N,D,me){super(tn(D),In(me,D)),this.controls=N,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(N,D){return this.controls[N]?this.controls[N]:(this.controls[N]=D,D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange),D)}addControl(N,D,me={}){this.registerControl(N,D),this.updateValueAndValidity({emitEvent:me.emitEvent}),this._onCollectionChange()}removeControl(N,D={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}setControl(N,D,me={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],D&&this.registerControl(N,D),this.updateValueAndValidity({emitEvent:me.emitEvent}),this._onCollectionChange()}contains(N){return this.controls.hasOwnProperty(N)&&this.controls[N].enabled}setValue(N,D={}){$n(this,0,N),Object.keys(N).forEach(me=>{Wn(this,!0,me),this.controls[me].setValue(N[me],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(N,D={}){null!=N&&(Object.keys(N).forEach(me=>{const ft=this.controls[me];ft&&ft.patchValue(N[me],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(N={},D={}){this._forEachChild((me,ft)=>{me.reset(N[ft],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this._reduceChildren({},(N,D,me)=>(N[me]=D.getRawValue(),N))}_syncPendingControls(){let N=this._reduceChildren(!1,(D,me)=>!!me._syncPendingControls()||D);return N&&this.updateValueAndValidity({onlySelf:!0}),N}_forEachChild(N){Object.keys(this.controls).forEach(D=>{const me=this.controls[D];me&&N(me,D)})}_setUpControls(){this._forEachChild(N=>{N.setParent(this),N._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(N){for(const[D,me]of Object.entries(this.controls))if(this.contains(D)&&N(me))return!0;return!1}_reduceValue(){return this._reduceChildren({},(D,me,ft)=>((me.enabled||this.disabled)&&(D[ft]=me.value),D))}_reduceChildren(N,D){let me=N;return this._forEachChild((ft,$t)=>{me=D(me,ft,$t)}),me}_allControlsDisabled(){for(const N of Object.keys(this.controls))if(this.controls[N].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(N){return this.controls.hasOwnProperty(N)?this.controls[N]:null}}class it extends Sn{}function Ye(I,N){return[...N.path,I]}function G(I,N){ln(I,N),N.valueAccessor.writeValue(I.value),I.disabled&&N.valueAccessor.setDisabledState?.(!0),function en(I,N){N.valueAccessor.registerOnChange(D=>{I._pendingValue=D,I._pendingChange=!0,I._pendingDirty=!0,"change"===I.updateOn&&Jn(I,N)})}(I,N),function pi(I,N){const D=(me,ft)=>{N.valueAccessor.writeValue(me),ft&&N.viewToModelUpdate(me)};I.registerOnChange(D),N._registerOnDestroy(()=>{I._unregisterOnChange(D)})}(I,N),function Bn(I,N){N.valueAccessor.registerOnTouched(()=>{I._pendingTouched=!0,"blur"===I.updateOn&&I._pendingChange&&Jn(I,N),"submit"!==I.updateOn&&I.markAsTouched()})}(I,N),function St(I,N){if(N.valueAccessor.setDisabledState){const D=me=>{N.valueAccessor.setDisabledState(me)};I.registerOnDisabledChange(D),N._registerOnDestroy(()=>{I._unregisterOnDisabledChange(D)})}}(I,N)}function Le(I,N,D=!0){const me=()=>{};N.valueAccessor&&(N.valueAccessor.registerOnChange(me),N.valueAccessor.registerOnTouched(me)),kn(I,N),I&&(N._invokeOnDestroyCallbacks(),I._registerOnCollectionChange(()=>{}))}function yt(I,N){I.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(N)})}function ln(I,N){const D=Ot(I);null!==N.validator?I.setValidators(It(D,N.validator)):"function"==typeof D&&I.setValidators([D]);const me=Dt(I);null!==N.asyncValidator?I.setAsyncValidators(It(me,N.asyncValidator)):"function"==typeof me&&I.setAsyncValidators([me]);const ft=()=>I.updateValueAndValidity();yt(N._rawValidators,ft),yt(N._rawAsyncValidators,ft)}function kn(I,N){let D=!1;if(null!==I){if(null!==N.validator){const ft=Ot(I);if(Array.isArray(ft)&&ft.length>0){const $t=ft.filter(Mn=>Mn!==N.validator);$t.length!==ft.length&&(D=!0,I.setValidators($t))}}if(null!==N.asyncValidator){const ft=Dt(I);if(Array.isArray(ft)&&ft.length>0){const $t=ft.filter(Mn=>Mn!==N.asyncValidator);$t.length!==ft.length&&(D=!0,I.setAsyncValidators($t))}}}const me=()=>{};return yt(N._rawValidators,me),yt(N._rawAsyncValidators,me),D}function Jn(I,N){I._pendingDirty&&I.markAsDirty(),I.setValue(I._pendingValue,{emitModelToViewChange:!1}),N.viewToModelUpdate(I._pendingValue),I._pendingChange=!1}function Kr(I,N){if(!I.hasOwnProperty("model"))return!1;const D=I.model;return!!D.isFirstChange()||!Object.is(N,D.currentValue)}function Xi(I,N){if(!N)return null;let D,me,ft;return Array.isArray(N),N.forEach($t=>{$t.constructor===Ne?D=$t:function Qn(I){return Object.getPrototypeOf(I.constructor)===A}($t)?me=$t:ft=$t}),ft||me||D||null}function Xn(I,N){const D=I.indexOf(N);D>-1&&I.splice(D,1)}function Yi(I){return"object"==typeof I&&null!==I&&2===Object.keys(I).length&&"value"in I&&"disabled"in I}const ii=class extends Yn{constructor(N=null,D,me){super(tn(D),In(me,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(N),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dn(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=Yi(N)?N.value:N)}setValue(N,D={}){this.value=this._pendingValue=N,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(me=>me(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(N,D={}){this.setValue(N,D)}reset(N=this.defaultValue,D={}){this._applyFormState(N),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(N){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(N){this._onChange.push(N)}_unregisterOnChange(N){Xn(this._onChange,N)}registerOnDisabledChange(N){this._onDisabledChange.push(N)}_unregisterOnDisabledChange(N){Xn(this._onDisabledChange,N)}_forEachChild(N){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(N){Yi(N)?(this.value=this._pendingValue=N.value,N.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=N}},Ko={provide:Me,useExisting:(0,o.Gpc)(()=>ue)},qi=(()=>Promise.resolve())();let ue=(()=>{class I extends Me{constructor(D,me,ft,$t,Mn){super(),this._changeDetectorRef=Mn,this.control=new ii,this._registered=!1,this.update=new o.vpe,this._parent=D,this._setValidators(me),this._setAsyncValidators(ft),this.valueAccessor=Xi(0,$t)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const me=D.name.previousValue;this.formDirective.removeControl({name:me,path:this._getPath(me)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),Kr(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){G(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){qi.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const me=D.isDisabled.currentValue,ft=0!==me&&(0,o.D6c)(me);qi.then(()=>{ft&&!this.control.disabled?this.control.disable():!ft&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?Ye(D,this._parent):[D]}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(Jt,9),o.Y36(k,10),o.Y36(q,10),o.Y36(j,10),o.Y36(o.sBO,8))},I.\u0275dir=o.lG2({type:I,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Ko]),o.qOj,o.TTD]}),I})(),qe=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275dir=o.lG2({type:I,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),I})();const Ee={provide:j,useExisting:(0,o.Gpc)(()=>Lt),multi:!0};let Lt=(()=>{class I extends A{writeValue(D){this.setProperty("value",D??"")}registerOnChange(D){this.onChange=me=>{D(""==me?null:parseFloat(me))}}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(D,me){1&D&&o.NdJ("input",function($t){return me.onChange($t.target.value)})("blur",function(){return me.onTouched()})},features:[o._Bn([Ee]),o.qOj]}),I})(),Fn=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({}),I})();const ur=new o.OlP("NgModelWithFormControlWarning"),Ur={provide:Jt,useExisting:(0,o.Gpc)(()=>mr)};let mr=(()=>{class I extends Jt{constructor(D,me){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(D),this._setAsyncValidators(me)}ngOnChanges(D){this._checkFormPresent(),D.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(kn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(D){const me=this.form.get(D.path);return G(me,D),me.updateValueAndValidity({emitEvent:!1}),this.directives.push(D),me}getControl(D){return this.form.get(D.path)}removeControl(D){Le(D.control||null,D,!1),function Vi(I,N){const D=I.indexOf(N);D>-1&&I.splice(D,1)}(this.directives,D)}addFormGroup(D){this._setUpFormContainer(D)}removeFormGroup(D){this._cleanUpFormContainer(D)}getFormGroup(D){return this.form.get(D.path)}addFormArray(D){this._setUpFormContainer(D)}removeFormArray(D){this._cleanUpFormContainer(D)}getFormArray(D){return this.form.get(D.path)}updateModel(D,me){this.form.get(D.path).setValue(me)}onSubmit(D){return this.submitted=!0,function co(I,N){I._syncPendingControls(),N.forEach(D=>{const me=D.control;"submit"===me.updateOn&&me._pendingChange&&(D.viewToModelUpdate(me._pendingValue),me._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(D),"dialog"===D?.target?.method}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_updateDomValue(){this.directives.forEach(D=>{const me=D.control,ft=this.form.get(D.path);me!==ft&&(Le(me||null,D),(I=>I instanceof ii)(ft)&&(G(ft,D),D.control=ft))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(D){const me=this.form.get(D.path);(function vi(I,N){ln(I,N)})(me,D),me.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(D){if(this.form){const me=this.form.get(D.path);me&&function ai(I,N){return kn(I,N)}(me,D)&&me.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ln(this.form,this),this._oldForm&&kn(this._oldForm,this)}_checkFormPresent(){}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(k,10),o.Y36(q,10))},I.\u0275dir=o.lG2({type:I,selectors:[["","formGroup",""]],hostBindings:function(D,me){1&D&&o.NdJ("submit",function($t){return me.onSubmit($t)})("reset",function(){return me.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Ur]),o.qOj,o.TTD]}),I})();const Li={provide:Me,useExisting:(0,o.Gpc)(()=>xr)};let xr=(()=>{class I extends Me{constructor(D,me,ft,$t,Mn){super(),this._ngModelWarningConfig=Mn,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=D,this._setValidators(me),this._setAsyncValidators(ft),this.valueAccessor=Xi(0,$t)}set isDisabled(D){}ngOnChanges(D){this._added||this._setUpControl(),Kr(D,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}get path(){return Ye(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return I._ngModelWarningSentOnce=!1,I.\u0275fac=function(D){return new(D||I)(o.Y36(Jt,13),o.Y36(k,10),o.Y36(q,10),o.Y36(j,10),o.Y36(ur,8))},I.\u0275dir=o.lG2({type:I,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([Li]),o.qOj,o.TTD]}),I})();const hr={provide:j,useExisting:(0,o.Gpc)(()=>ji),multi:!0};function wr(I,N){return null==I?`${N}`:(N&&"object"==typeof N&&(N="Object"),`${I}: ${N}`.slice(0,50))}let ji=(()=>{class I extends A{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){this.value=D;const ft=wr(this._getOptionId(D),D);this.setProperty("value",ft)}registerOnChange(D){this.onChange=me=>{this.value=this._getOptionValue(me),D(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(D){for(const me of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(me),D))return me;return null}_getOptionValue(D){const me=function to(I){return I.split(":")[0]}(D);return this._optionMap.has(me)?this._optionMap.get(me):D}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(D,me){1&D&&o.NdJ("change",function($t){return me.onChange($t.target.value)})("blur",function(){return me.onTouched()})},inputs:{compareWith:"compareWith"},features:[o._Bn([hr]),o.qOj]}),I})(),jr=(()=>{class I{constructor(D,me,ft){this._element=D,this._renderer=me,this._select=ft,this._select&&(this.id=this._select._registerOption())}set ngValue(D){null!=this._select&&(this._select._optionMap.set(this.id,D),this._setElementValue(wr(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._setElementValue(D),this._select&&this._select.writeValue(this._select.value)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(ji,9))},I.\u0275dir=o.lG2({type:I,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),I})();const Mi={provide:j,useExisting:(0,o.Gpc)(()=>pr),multi:!0};function nr(I,N){return null==I?`${N}`:("string"==typeof N&&(N=`'${N}'`),N&&"object"==typeof N&&(N="Object"),`${I}: ${N}`.slice(0,50))}let pr=(()=>{class I extends A{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){let me;if(this.value=D,Array.isArray(D)){const ft=D.map($t=>this._getOptionId($t));me=($t,Mn)=>{$t._setSelected(ft.indexOf(Mn.toString())>-1)}}else me=(ft,$t)=>{ft._setSelected(!1)};this._optionMap.forEach(me)}registerOnChange(D){this.onChange=me=>{const ft=[],$t=me.selectedOptions;if(void 0!==$t){const Mn=$t;for(let fi=0;fi{class I{constructor(D,me,ft){this._element=D,this._renderer=me,this._select=ft,this._select&&(this.id=this._select._registerOption(this))}set ngValue(D){null!=this._select&&(this._value=D,this._setElementValue(nr(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._select?(this._value=D,this._setElementValue(nr(this.id,D)),this._select.writeValue(this._select.value)):this._setElementValue(D)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}_setSelected(D){this._renderer.setProperty(this._element.nativeElement,"selected",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return I.\u0275fac=function(D){return new(D||I)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(pr,9))},I.\u0275dir=o.lG2({type:I,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),I})();function gr(I){return"number"==typeof I?I:parseFloat(I)}let Ir=(()=>{class I{constructor(){this._validator=we}ngOnChanges(D){if(this.inputName in D){const me=this.normalizeInput(D[this.inputName].currentValue);this._enabled=this.enabled(me),this._validator=this._enabled?this.createValidator(me):we,this._onChange&&this._onChange()}}validate(D){return this._validator(D)}registerOnValidatorChange(D){this._onChange=D}enabled(D){return null!=D}}return I.\u0275fac=function(D){return new(D||I)},I.\u0275dir=o.lG2({type:I,features:[o.TTD]}),I})();const ri={provide:k,useExisting:(0,o.Gpc)(()=>Ai),multi:!0};let Ai=(()=>{class I extends Ir{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=D=>gr(D),this.createValidator=D=>be(D)}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(D,me){2&D&&o.uIk("max",me._enabled?me.max:null)},inputs:{max:"max"},features:[o._Bn([ri]),o.qOj]}),I})();const wo={provide:k,useExisting:(0,o.Gpc)(()=>Hr),multi:!0};let Hr=(()=>{class I extends Ir{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=D=>gr(D),this.createValidator=D=>de(D)}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(D,me){2&D&&o.uIk("min",me._enabled?me.min:null)},inputs:{min:"min"},features:[o._Bn([wo]),o.qOj]}),I})();const Wr={provide:k,useExisting:(0,o.Gpc)(()=>Vr),multi:!0};let Vr=(()=>{class I extends Ir{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=D=>ge}enabled(D){return D}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(D,me){2&D&&o.uIk("required",me._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Wr]),o.qOj]}),I})();const ra={provide:k,useExisting:(0,o.Gpc)(()=>Ri),multi:!0};let Ri=(()=>{class I extends Ir{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=o.D6c,this.createValidator=D=>he}enabled(D){return D}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o._Bn([ra]),o.qOj]}),I})();const bn={provide:k,useExisting:(0,o.Gpc)(()=>Gi),multi:!0};let Gi=(()=>{class I extends Ir{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=D=>function Un(I){return"number"==typeof I?I:parseInt(I,10)}(D),this.createValidator=D=>_e(D)}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275dir=o.lG2({type:I,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(D,me){2&D&&o.uIk("maxlength",me._enabled?me.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([bn]),o.qOj]}),I})(),io=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({imports:[Fn]}),I})(),Dr=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({imports:[io]}),I})(),Zt=(()=>{class I{static withConfig(D){return{ngModule:I,providers:[{provide:ur,useValue:D.warnOnNgModelWithFormControl}]}}}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({imports:[io]}),I})();class Hn extends Yn{constructor(N,D,me){super(tn(D),In(me,D)),this.controls=N,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(N){return this.controls[this._adjustIndex(N)]}push(N,D={}){this.controls.push(N),this._registerControl(N),this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}insert(N,D,me={}){this.controls.splice(N,0,D),this._registerControl(D),this.updateValueAndValidity({emitEvent:me.emitEvent})}removeAt(N,D={}){let me=this._adjustIndex(N);me<0&&(me=0),this.controls[me]&&this.controls[me]._registerOnCollectionChange(()=>{}),this.controls.splice(me,1),this.updateValueAndValidity({emitEvent:D.emitEvent})}setControl(N,D,me={}){let ft=this._adjustIndex(N);ft<0&&(ft=0),this.controls[ft]&&this.controls[ft]._registerOnCollectionChange(()=>{}),this.controls.splice(ft,1),D&&(this.controls.splice(ft,0,D),this._registerControl(D)),this.updateValueAndValidity({emitEvent:me.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(N,D={}){$n(this,0,N),N.forEach((me,ft)=>{Wn(this,!1,ft),this.at(ft).setValue(me,{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(N,D={}){null!=N&&(N.forEach((me,ft)=>{this.at(ft)&&this.at(ft).patchValue(me,{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(N=[],D={}){this._forEachChild((me,ft)=>{me.reset(N[ft],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this.controls.map(N=>N.getRawValue())}clear(N={}){this.controls.length<1||(this._forEachChild(D=>D._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:N.emitEvent}))}_adjustIndex(N){return N<0?N+this.length:N}_syncPendingControls(){let N=this.controls.reduce((D,me)=>!!me._syncPendingControls()||D,!1);return N&&this.updateValueAndValidity({onlySelf:!0}),N}_forEachChild(N){this.controls.forEach((D,me)=>{N(D,me)})}_updateValue(){this.value=this.controls.filter(N=>N.enabled||this.disabled).map(N=>N.value)}_anyControls(N){return this.controls.some(D=>D.enabled&&N(D))}_setUpControls(){this._forEachChild(N=>this._registerControl(N))}_allControlsDisabled(){for(const N of this.controls)if(N.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(N){N.setParent(this),N._registerOnCollectionChange(this._onCollectionChange)}_find(N){return this.at(N)??null}}function Xe(I){return!!I&&(void 0!==I.asyncValidators||void 0!==I.validators||void 0!==I.updateOn)}let x=(()=>{class I{constructor(){this.useNonNullable=!1}get nonNullable(){const D=new I;return D.useNonNullable=!0,D}group(D,me=null){const ft=this._reduceControls(D);let $t={};return Xe(me)?$t=me:null!==me&&($t.validators=me.validator,$t.asyncValidators=me.asyncValidator),new Sn(ft,$t)}record(D,me=null){const ft=this._reduceControls(D);return new it(ft,me)}control(D,me,ft){let $t={};return this.useNonNullable?(Xe(me)?$t=me:($t.validators=me,$t.asyncValidators=ft),new ii(D,{...$t,nonNullable:!0})):new ii(D,me,ft)}array(D,me,ft){const $t=D.map(Mn=>this._createControl(Mn));return new Hn($t,me,ft)}_reduceControls(D){const me={};return Object.keys(D).forEach(ft=>{me[ft]=this._createControl(D[ft])}),me}_createControl(D){return D instanceof ii||D instanceof Yn?D:Array.isArray(D)?this.control(D[0],D.length>1?D[1]:null,D.length>2?D[2]:null):this.control(D)}}return I.\u0275fac=function(D){return new(D||I)},I.\u0275prov=o.Yz7({token:I,factory:I.\u0275fac,providedIn:Zt}),I})(),st=(()=>{class I extends x{group(D,me=null){return super.group(D,me)}control(D,me,ft){return super.control(D,me,ft)}array(D,me,ft){return super.array(D,me,ft)}}return I.\u0275fac=function(){let N;return function(me){return(N||(N=o.n5z(I)))(me||I)}}(),I.\u0275prov=o.Yz7({token:I,factory:I.\u0275fac,providedIn:Zt}),I})()},11481:(wt,Oe,p)=>{p.d(Oe,{Dx:()=>R,H7:()=>$n,b2:()=>je,q6:()=>Qt,se:()=>De});var o=p(36895),e=p(94650);class g extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends g{static makeCurrent(){(0,o.HT)(new s)}onAndCancel(it,K,Ye){return it.addEventListener(K,Ye,!1),()=>{it.removeEventListener(K,Ye,!1)}}dispatchEvent(it,K){it.dispatchEvent(K)}remove(it){it.parentNode&&it.parentNode.removeChild(it)}createElement(it,K){return(K=K||this.getDefaultDocument()).createElement(it)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(it){return it.nodeType===Node.ELEMENT_NODE}isShadowRoot(it){return it instanceof DocumentFragment}getGlobalEventTarget(it,K){return"window"===K?window:"document"===K?it:"body"===K?it.body:null}getBaseHref(it){const K=function F(){return h=h||document.querySelector("base"),h?h.getAttribute("href"):null}();return null==K?null:function b(rt){S=S||document.createElement("a"),S.setAttribute("href",rt);const it=S.pathname;return"/"===it.charAt(0)?it:`/${it}`}(K)}resetBaseElement(){h=null}getUserAgent(){return window.navigator.userAgent}getCookie(it){return(0,o.Mx)(document.cookie,it)}}let S,h=null;const z=new e.OlP("TRANSITION_ID"),A=[{provide:e.ip1,useFactory:function H(rt,it,K){return()=>{K.get(e.CZH).donePromise.then(()=>{const Ye=(0,o.q)(),G=it.querySelectorAll(`style[ng-transition="${rt}"]`);for(let Le=0;Le{class rt{build(){return new XMLHttpRequest}}return rt.\u0275fac=function(K){return new(K||rt)},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const Pe=new e.OlP("EventManagerPlugins");let ee=(()=>{class rt{constructor(K,Ye){this._zone=Ye,this._eventNameToPlugin=new Map,K.forEach(G=>G.manager=this),this._plugins=K.slice().reverse()}addEventListener(K,Ye,G){return this._findPluginFor(Ye).addEventListener(K,Ye,G)}addGlobalEventListener(K,Ye,G){return this._findPluginFor(Ye).addGlobalEventListener(K,Ye,G)}getZone(){return this._zone}_findPluginFor(K){const Ye=this._eventNameToPlugin.get(K);if(Ye)return Ye;const G=this._plugins;for(let Le=0;Le{class rt{constructor(){this._stylesSet=new Set}addStyles(K){const Ye=new Set;K.forEach(G=>{this._stylesSet.has(G)||(this._stylesSet.add(G),Ye.add(G))}),this.onStylesAdded(Ye)}onStylesAdded(K){}getAllStyles(){return Array.from(this._stylesSet)}}return rt.\u0275fac=function(K){return new(K||rt)},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),Ne=(()=>{class rt extends X{constructor(K){super(),this._doc=K,this._hostNodes=new Map,this._hostNodes.set(K.head,[])}_addStylesToHost(K,Ye,G){K.forEach(Le=>{const yt=this._doc.createElement("style");yt.textContent=Le,G.push(Ye.appendChild(yt))})}addHost(K){const Ye=[];this._addStylesToHost(this._stylesSet,K,Ye),this._hostNodes.set(K,Ye)}removeHost(K){const Ye=this._hostNodes.get(K);Ye&&Ye.forEach(ve),this._hostNodes.delete(K)}onStylesAdded(K){this._hostNodes.forEach((Ye,G)=>{this._addStylesToHost(K,G,Ye)})}ngOnDestroy(){this._hostNodes.forEach(K=>K.forEach(ve))}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(o.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();function ve(rt){(0,o.q)().remove(rt)}const T={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/"},Y=/%COMP%/g,q="%COMP%",Q=`_nghost-${q}`,ae=`_ngcontent-${q}`;function ge(rt,it,K){for(let Ye=0;Ye{if("__ngUnwrap__"===it)return rt;!1===rt(it)&&(it.preventDefault(),it.returnValue=!1)}}let De=(()=>{class rt{constructor(K,Ye,G){this.eventManager=K,this.sharedStylesHost=Ye,this.appId=G,this.rendererByCompId=new Map,this.defaultRenderer=new _e(K)}createRenderer(K,Ye){if(!K||!Ye)return this.defaultRenderer;switch(Ye.encapsulation){case e.ifc.Emulated:{let G=this.rendererByCompId.get(Ye.id);return G||(G=new Fe(this.eventManager,this.sharedStylesHost,Ye,this.appId),this.rendererByCompId.set(Ye.id,G)),G.applyToHost(K),G}case 1:case e.ifc.ShadowDom:return new Ue(this.eventManager,this.sharedStylesHost,K,Ye);default:if(!this.rendererByCompId.has(Ye.id)){const G=ge(Ye.id,Ye.styles,[]);this.sharedStylesHost.addStyles(G),this.rendererByCompId.set(Ye.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(ee),e.LFG(Ne),e.LFG(e.AFp))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();class _e{constructor(it){this.eventManager=it,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(it,K){return K?document.createElementNS(T[K]||K,it):document.createElement(it)}createComment(it){return document.createComment(it)}createText(it){return document.createTextNode(it)}appendChild(it,K){(Ae(it)?it.content:it).appendChild(K)}insertBefore(it,K,Ye){it&&(Ae(it)?it.content:it).insertBefore(K,Ye)}removeChild(it,K){it&&it.removeChild(K)}selectRootElement(it,K){let Ye="string"==typeof it?document.querySelector(it):it;if(!Ye)throw new Error(`The selector "${it}" did not match any elements`);return K||(Ye.textContent=""),Ye}parentNode(it){return it.parentNode}nextSibling(it){return it.nextSibling}setAttribute(it,K,Ye,G){if(G){K=G+":"+K;const Le=T[G];Le?it.setAttributeNS(Le,K,Ye):it.setAttribute(K,Ye)}else it.setAttribute(K,Ye)}removeAttribute(it,K,Ye){if(Ye){const G=T[Ye];G?it.removeAttributeNS(G,K):it.removeAttribute(`${Ye}:${K}`)}else it.removeAttribute(K)}addClass(it,K){it.classList.add(K)}removeClass(it,K){it.classList.remove(K)}setStyle(it,K,Ye,G){G&(e.JOm.DashCase|e.JOm.Important)?it.style.setProperty(K,Ye,G&e.JOm.Important?"important":""):it.style[K]=Ye}removeStyle(it,K,Ye){Ye&e.JOm.DashCase?it.style.removeProperty(K):it.style[K]=""}setProperty(it,K,Ye){it[K]=Ye}setValue(it,K){it.nodeValue=K}listen(it,K,Ye){return"string"==typeof it?this.eventManager.addGlobalEventListener(it,K,se(Ye)):this.eventManager.addEventListener(it,K,se(Ye))}}function Ae(rt){return"TEMPLATE"===rt.tagName&&void 0!==rt.content}class Fe extends _e{constructor(it,K,Ye,G){super(it),this.component=Ye;const Le=ge(G+"-"+Ye.id,Ye.styles,[]);K.addStyles(Le),this.contentAttr=function de(rt){return ae.replace(Y,rt)}(G+"-"+Ye.id),this.hostAttr=function be(rt){return Q.replace(Y,rt)}(G+"-"+Ye.id)}applyToHost(it){super.setAttribute(it,this.hostAttr,"")}createElement(it,K){const Ye=super.createElement(it,K);return super.setAttribute(Ye,this.contentAttr,""),Ye}}class Ue extends _e{constructor(it,K,Ye,G){super(it),this.sharedStylesHost=K,this.hostEl=Ye,this.shadowRoot=Ye.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Le=ge(G.id,G.styles,[]);for(let yt=0;yt{class rt extends pe{constructor(K){super(K)}supports(K){return!0}addEventListener(K,Ye,G){return K.addEventListener(Ye,G,!1),()=>this.removeEventListener(K,Ye,G)}removeEventListener(K,Ye,G){return K.removeEventListener(Ye,G)}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(o.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const _t=["alt","control","meta","shift"],Ft={"\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"},et={alt:rt=>rt.altKey,control:rt=>rt.ctrlKey,meta:rt=>rt.metaKey,shift:rt=>rt.shiftKey};let Ge=(()=>{class rt extends pe{constructor(K){super(K)}supports(K){return null!=rt.parseEventName(K)}addEventListener(K,Ye,G){const Le=rt.parseEventName(Ye),yt=rt.eventCallback(Le.fullKey,G,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(K,Le.domEventName,yt))}static parseEventName(K){const Ye=K.toLowerCase().split("."),G=Ye.shift();if(0===Ye.length||"keydown"!==G&&"keyup"!==G)return null;const Le=rt._normalizeKey(Ye.pop());let yt="",St=Ye.indexOf("code");if(St>-1&&(Ye.splice(St,1),yt="code."),_t.forEach(kn=>{const en=Ye.indexOf(kn);en>-1&&(Ye.splice(en,1),yt+=kn+".")}),yt+=Le,0!=Ye.length||0===Le.length)return null;const ln={};return ln.domEventName=G,ln.fullKey=yt,ln}static matchEventFullKeyCode(K,Ye){let G=Ft[K.key]||K.key,Le="";return Ye.indexOf("code.")>-1&&(G=K.code,Le="code."),!(null==G||!G)&&(G=G.toLowerCase()," "===G?G="space":"."===G&&(G="dot"),_t.forEach(yt=>{yt!==G&&(0,et[yt])(K)&&(Le+=yt+".")}),Le+=G,Le===Ye)}static eventCallback(K,Ye,G){return Le=>{rt.matchEventFullKeyCode(Le,K)&&G.runGuarded(()=>Ye(Le))}}static _normalizeKey(K){return"esc"===K?"escape":K}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(o.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const Qt=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:o.bD},{provide:e.g9A,useValue:function Bt(){s.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function pt(){return(0,e.RDi)(document),document},deps:[]}]),Jt=new e.OlP(""),Me=[{provide:e.rWj,useClass:class j{addToWindow(it){e.dqk.getAngularTestability=(Ye,G=!0)=>{const Le=it.findTestabilityInTree(Ye,G);if(null==Le)throw new Error("Could not find testability for element.");return Le},e.dqk.getAllAngularTestabilities=()=>it.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>it.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(Ye=>{const G=e.dqk.getAllAngularTestabilities();let Le=G.length,yt=!1;const St=function(ln){yt=yt||ln,Le--,0==Le&&Ye(yt)};G.forEach(function(ln){ln.whenStable(St)})})}findTestabilityInTree(it,K,Ye){return null==K?null:it.getTestability(K)??(Ye?(0,o.q)().isShadowRoot(K)?this.findTestabilityInTree(it,K.host,!0):this.findTestabilityInTree(it,K.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],dt=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function nt(){return new e.qLn},deps:[]},{provide:Pe,useClass:Mt,multi:!0,deps:[o.K0,e.R0b,e.Lbi]},{provide:Pe,useClass:Ge,multi:!0,deps:[o.K0]},{provide:De,useClass:De,deps:[ee,Ne,e.AFp]},{provide:e.FYo,useExisting:De},{provide:X,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[o.K0]},{provide:ee,useClass:ee,deps:[Pe,e.R0b]},{provide:o.JF,useClass:ne,deps:[]},[]];let je=(()=>{class rt{constructor(K){}static withServerTransition(K){return{ngModule:rt,providers:[{provide:e.AFp,useValue:K.appId},{provide:z,useExisting:e.AFp},A]}}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(Jt,12))},rt.\u0275mod=e.oAB({type:rt}),rt.\u0275inj=e.cJS({providers:[...dt,...Me],imports:[o.ez,e.hGG]}),rt})(),R=(()=>{class rt{constructor(K){this._doc=K}getTitle(){return this._doc.title}setTitle(K){this._doc.title=K||""}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(o.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:function(K){let Ye=null;return Ye=K?new K:function ke(){return new R((0,e.LFG)(o.K0))}(),Ye},providedIn:"root"}),rt})();typeof window<"u"&&window;let $n=(()=>{class rt{}return rt.\u0275fac=function(K){return new(K||rt)},rt.\u0275prov=e.Yz7({token:rt,factory:function(K){let Ye=null;return Ye=K?new(K||rt):e.LFG(Sn),Ye},providedIn:"root"}),rt})(),Sn=(()=>{class rt extends $n{constructor(K){super(),this._doc=K}sanitize(K,Ye){if(null==Ye)return null;switch(K){case e.q3G.NONE:return Ye;case e.q3G.HTML:return(0,e.qzn)(Ye,"HTML")?(0,e.z3N)(Ye):(0,e.EiD)(this._doc,String(Ye)).toString();case e.q3G.STYLE:return(0,e.qzn)(Ye,"Style")?(0,e.z3N)(Ye):Ye;case e.q3G.SCRIPT:if((0,e.qzn)(Ye,"Script"))return(0,e.z3N)(Ye);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(Ye,"URL")?(0,e.z3N)(Ye):(0,e.mCW)(String(Ye));case e.q3G.RESOURCE_URL:if((0,e.qzn)(Ye,"ResourceURL"))return(0,e.z3N)(Ye);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,e.JVY)(K)}bypassSecurityTrustStyle(K){return(0,e.L6k)(K)}bypassSecurityTrustScript(K){return(0,e.eBb)(K)}bypassSecurityTrustUrl(K){return(0,e.LAX)(K)}bypassSecurityTrustResourceUrl(K){return(0,e.pB0)(K)}}return rt.\u0275fac=function(K){return new(K||rt)(e.LFG(o.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:function(K){let Ye=null;return Ye=K?new K:function Yn(rt){return new Sn(rt.get(o.K0))}(e.LFG(e.zs3)),Ye},providedIn:"root"}),rt})()},83689:(wt,Oe,p)=>{p.d(Oe,{gz:()=>Di,m2:()=>yi,F0:()=>Bi,rH:()=>La,Od:()=>Ts,yS:()=>Lo,Bz:()=>F1,lC:()=>Un});var o=p(94650),e=p(5254),g=p(21086),s=p(591),h=p(84450),F=p(36053),S=p(61221),b=p(88514),z=p(4843),H=p(61737),A=p(56498),j=p(68896),ne=p(71762),Pe=p(8929),ee=p(36895),pe=p(24850),X=p(87545),Ne=p(72986),ve=p(1059),T=p(92198),Y=p(61709),k=p(87224),q=p(21406),Q=p(2994),ae=p(27221),de=p(43489);function be(C,M){let y=!1;return arguments.length>=2&&(y=!0),function(W){return W.lift(new ge(C,M,y))}}class ge{constructor(M,y,V=!1){this.accumulator=M,this.seed=y,this.hasSeed=V}call(M,y){return y.subscribe(new se(M,this.accumulator,this.seed,this.hasSeed))}}class se extends de.L{constructor(M,y,V,W){super(M),this.accumulator=y,this._seed=V,this.hasSeed=W,this.index=0}get seed(){return this._seed}set seed(M){this.hasSeed=!0,this._seed=M}_next(M){if(this.hasSeed)return this._tryNext(M);this.seed=M,this.destination.next(M)}_tryNext(M){const y=this.index++;let V;try{V=this.accumulator(this.seed,M,y)}catch(W){this.destination.error(W)}this.seed=V,this.destination.next(V)}}var he=p(94231);function De(C){return function(y){return 0===C?(0,j.c)():y.lift(new _e(C))}}class _e{constructor(M){if(this.total=M,this.total<0)throw new he.W}call(M,y){return y.subscribe(new Ce(M,this.total))}}class Ce extends de.L{constructor(M,y){super(M),this.total=y,this.ring=new Array,this.count=0}_next(M){const y=this.ring,V=this.total,W=this.count++;y.length0){const V=this.count>=this.total?this.total:this.count,W=this.ring;for(let Se=0;Se=2;return V=>V.pipe(C?(0,T.h)((W,Se)=>C(W,Se,V)):Fe.y,De(1),y?(0,Ae.d)(M):(0,we.T)(()=>new h.K))}var Mt=p(44290),_t=p(77604),Ft=p(40537),et=p(74327),Ge=p(89146),Ze=p(11481);const Be="primary",It=Symbol("RouteTitle");class Ot{constructor(M){this.params=M||{}}has(M){return Object.prototype.hasOwnProperty.call(this.params,M)}get(M){if(this.has(M)){const y=this.params[M];return Array.isArray(y)?y[0]:y}return null}getAll(M){if(this.has(M)){const y=this.params[M];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function Dt(C){return new Ot(C)}function Bt(C,M,y){const V=y.path.split("/");if(V.length>C.length||"full"===y.pathMatch&&(M.hasChildren()||V.lengthV[Se]===W)}return C===M}function Qt(C){return Array.prototype.concat.apply([],C)}function Jt(C){return C.length>0?C[C.length-1]:null}function dt(C,M){for(const y in C)C.hasOwnProperty(y)&&M(C[y],y)}function je(C){return(0,o.CqO)(C)?C:(0,o.QGY)(C)?(0,e.D)(Promise.resolve(C)):(0,g.of)(C)}const ze={exact:function B(C,M,y){if(!qt(C.segments,M.segments)||!xt(C.segments,M.segments,y)||C.numberOfChildren!==M.numberOfChildren)return!1;for(const V in M.children)if(!C.children[V]||!B(C.children[V],M.children[V],y))return!1;return!0},subset:He},ke={exact:function U(C,M){return pt(C,M)},subset:function ce(C,M){return Object.keys(M).length<=Object.keys(C).length&&Object.keys(M).every(y=>Pt(C[y],M[y]))},ignored:()=>!0};function R(C,M,y){return ze[y.paths](C.root,M.root,y.matrixParams)&&ke[y.queryParams](C.queryParams,M.queryParams)&&!("exact"===y.fragment&&C.fragment!==M.fragment)}function He(C,M,y){return vt(C,M,M.segments,y)}function vt(C,M,y,V){if(C.segments.length>y.length){const W=C.segments.slice(0,y.length);return!(!qt(W,y)||M.hasChildren()||!xt(W,y,V))}if(C.segments.length===y.length){if(!qt(C.segments,y)||!xt(C.segments,y,V))return!1;for(const W in M.children)if(!C.children[W]||!He(C.children[W],M.children[W],V))return!1;return!0}{const W=y.slice(0,C.segments.length),Se=y.slice(C.segments.length);return!!(qt(C.segments,W)&&xt(C.segments,W,V)&&C.children[Be])&&vt(C.children[Be],M,Se,V)}}function xt(C,M,y){return M.every((V,W)=>ke[y](C[W].parameters,V.parameters))}class Rt{constructor(M,y,V){this.root=M,this.queryParams=y,this.fragment=V}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return Vt.serialize(this)}}class Ct{constructor(M,y){this.segments=M,this.children=y,this.parent=null,dt(y,(V,W)=>V.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return at(this)}}class Kt{constructor(M,y){this.path=M,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=Dt(this.parameters)),this._parameterMap}toString(){return oi(this)}}function qt(C,M){return C.length===M.length&&C.every((y,V)=>y.path===M[V].path)}let le=(()=>{class C{}return C.\u0275fac=function(y){return new(y||C)},C.\u0275prov=o.Yz7({token:C,factory:function(){return new ht},providedIn:"root"}),C})();class ht{parse(M){const y=new K(M);return new Rt(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(M){const y=`/${Ke(M.root,!0)}`,V=function Wn(C){const M=Object.keys(C).map(y=>{const V=C[y];return Array.isArray(V)?V.map(W=>`${mt(y)}=${mt(W)}`).join("&"):`${mt(y)}=${mt(V)}`}).filter(y=>!!y);return M.length?`?${M.join("&")}`:""}(M.queryParams);return`${y}${V}${"string"==typeof M.fragment?`#${function Ht(C){return encodeURI(C)}(M.fragment)}`:""}`}}const Vt=new ht;function at(C){return C.segments.map(M=>oi(M)).join("/")}function Ke(C,M){if(!C.hasChildren())return at(C);if(M){const y=C.children[Be]?Ke(C.children[Be],!1):"",V=[];return dt(C.children,(W,Se)=>{Se!==Be&&V.push(`${Se}:${Ke(W,!1)}`)}),V.length>0?`${y}(${V.join("//")})`:y}{const y=function Qe(C,M){let y=[];return dt(C.children,(V,W)=>{W===Be&&(y=y.concat(M(V,W)))}),dt(C.children,(V,W)=>{W!==Be&&(y=y.concat(M(V,W)))}),y}(C,(V,W)=>W===Be?[Ke(C.children[Be],!1)]:[`${W}:${Ke(V,!1)}`]);return 1===Object.keys(C.children).length&&null!=C.children[Be]?`${at(C)}/${y[0]}`:`${at(C)}/(${y.join("//")})`}}function Re(C){return encodeURIComponent(C).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mt(C){return Re(C).replace(/%3B/gi,";")}function tn(C){return Re(C).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _n(C){return decodeURIComponent(C)}function In(C){return _n(C.replace(/\+/g,"%20"))}function oi(C){return`${tn(C.path)}${function dn(C){return Object.keys(C).map(M=>`;${tn(M)}=${tn(C[M])}`).join("")}(C.parameters)}`}const $n=/^[^\/()?;=#]+/;function Yn(C){const M=C.match($n);return M?M[0]:""}const Sn=/^[^=?&#]+/,rt=/^[^&#]+/;class K{constructor(M){this.url=M,this.remaining=M}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],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 y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let V={};return this.peekStartsWith("(")&&(V=this.parseParens(!1)),(M.length>0||Object.keys(y).length>0)&&(V[Be]=new Ct(M,y)),V}parseSegment(){const M=Yn(this.remaining);if(""===M&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(M),new Kt(_n(M),this.parseMatrixParams())}parseMatrixParams(){const M={};for(;this.consumeOptional(";");)this.parseParam(M);return M}parseParam(M){const y=Yn(this.remaining);if(!y)return;this.capture(y);let V="";if(this.consumeOptional("=")){const W=Yn(this.remaining);W&&(V=W,this.capture(V))}M[_n(y)]=_n(V)}parseQueryParam(M){const y=function ti(C){const M=C.match(Sn);return M?M[0]:""}(this.remaining);if(!y)return;this.capture(y);let V="";if(this.consumeOptional("=")){const tt=function it(C){const M=C.match(rt);return M?M[0]:""}(this.remaining);tt&&(V=tt,this.capture(V))}const W=In(y),Se=In(V);if(M.hasOwnProperty(W)){let tt=M[W];Array.isArray(tt)||(tt=[tt],M[W]=tt),tt.push(Se)}else M[W]=Se}parseParens(M){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const V=Yn(this.remaining),W=this.remaining[V.length];if("/"!==W&&")"!==W&&";"!==W)throw new o.vHH(4010,!1);let Se;V.indexOf(":")>-1?(Se=V.slice(0,V.indexOf(":")),this.capture(Se),this.capture(":")):M&&(Se=Be);const tt=this.parseChildren();y[Se]=1===Object.keys(tt).length?tt[Be]:new Ct([],tt),this.consumeOptional("//")}return y}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 o.vHH(4011,!1)}}function Ye(C){return C.segments.length>0?new Ct([],{[Be]:C}):C}function G(C){const M={};for(const V of Object.keys(C.children)){const Se=G(C.children[V]);(Se.segments.length>0||Se.hasChildren())&&(M[V]=Se)}return function Le(C){if(1===C.numberOfChildren&&C.children[Be]){const M=C.children[Be];return new Ct(C.segments.concat(M.segments),M.children)}return C}(new Ct(C.segments,M))}function yt(C){return C instanceof Rt}function Bn(C,M,y,V,W){if(0===y.length)return vi(M.root,M.root,M.root,V,W);const Se=function Ji(C){if("string"==typeof C[0]&&1===C.length&&"/"===C[0])return new Ki(!0,0,C);let M=0,y=!1;const V=C.reduce((W,Se,tt)=>{if("object"==typeof Se&&null!=Se){if(Se.outlets){const lt={};return dt(Se.outlets,(ut,sn)=>{lt[sn]="string"==typeof ut?ut.split("/"):ut}),[...W,{outlets:lt}]}if(Se.segmentPath)return[...W,Se.segmentPath]}return"string"!=typeof Se?[...W,Se]:0===tt?(Se.split("/").forEach((lt,ut)=>{0==ut&&"."===lt||(0==ut&&""===lt?y=!0:".."===lt?M++:""!=lt&&W.push(lt))}),W):[...W,Se]},[]);return new Ki(y,M,V)}(y);return Se.toRoot()?vi(M.root,M.root,new Ct([],{}),V,W):function tt(ut){const sn=function Kr(C,M,y,V){if(C.isAbsolute)return new wi(M.root,!0,0);if(-1===V)return new wi(y,y===M.root,0);return function Qn(C,M,y){let V=C,W=M,Se=y;for(;Se>W;){if(Se-=W,V=V.parent,!V)throw new o.vHH(4005,!1);W=V.segments.length}return new wi(V,!1,W-Se)}(y,V+(Jn(C.commands[0])?0:1),C.numberOfDoubleDots)}(Se,M,C.snapshot?._urlSegment,ut),jn=sn.processChildren?Vi(sn.segmentGroup,sn.index,Se.commands):Xi(sn.segmentGroup,sn.index,Se.commands);return vi(M.root,sn.segmentGroup,jn,V,W)}(C.snapshot?._lastPathIndex)}function Jn(C){return"object"==typeof C&&null!=C&&!C.outlets&&!C.segmentPath}function pi(C){return"object"==typeof C&&null!=C&&C.outlets}function vi(C,M,y,V,W){let tt,Se={};V&&dt(V,(ut,sn)=>{Se[sn]=Array.isArray(ut)?ut.map(jn=>`${jn}`):`${ut}`}),tt=C===M?y:ai(C,M,y);const lt=Ye(G(tt));return new Rt(lt,Se,W)}function ai(C,M,y){const V={};return dt(C.children,(W,Se)=>{V[Se]=W===M?y:ai(W,M,y)}),new Ct(C.segments,V)}class Ki{constructor(M,y,V){if(this.isAbsolute=M,this.numberOfDoubleDots=y,this.commands=V,M&&V.length>0&&Jn(V[0]))throw new o.vHH(4003,!1);const W=V.find(pi);if(W&&W!==Jt(V))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wi{constructor(M,y,V){this.segmentGroup=M,this.processChildren=y,this.index=V}}function Xi(C,M,y){if(C||(C=new Ct([],{})),0===C.segments.length&&C.hasChildren())return Vi(C,M,y);const V=function Jr(C,M,y){let V=0,W=M;const Se={match:!1,pathIndex:0,commandIndex:0};for(;W=y.length)return Se;const tt=C.segments[W],lt=y[V];if(pi(lt))break;const ut=`${lt}`,sn=V0&&void 0===ut)break;if(ut&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!Xn(ut,sn,tt))return Se;V+=2}else{if(!Xn(ut,{},tt))return Se;V++}W++}return{match:!0,pathIndex:W,commandIndex:V}}(C,M,y),W=y.slice(V.commandIndex);if(V.match&&V.pathIndex{"string"==typeof Se&&(Se=[Se]),null!==Se&&(W[tt]=Xi(C.children[tt],M,Se))}),dt(C.children,(Se,tt)=>{void 0===V[tt]&&(W[tt]=Se)}),new Ct(C.segments,W)}}function er(C,M,y){const V=C.segments.slice(0,M);let W=0;for(;W{"string"==typeof y&&(y=[y]),null!==y&&(M[V]=er(new Ct([],{}),0,y))}),M}function Hi(C){const M={};return dt(C,(y,V)=>M[V]=`${y}`),M}function Xn(C,M,y){return C==y.path&&pt(M,y.parameters)}class Yi{constructor(M,y){this.id=M,this.url=y}}class ii extends Yi{constructor(M,y,V="imperative",W=null){super(M,y),this.type=0,this.navigationTrigger=V,this.restoredState=W}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class yi extends Yi{constructor(M,y,V){super(M,y),this.urlAfterRedirects=V,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tr extends Yi{constructor(M,y,V,W){super(M,y),this.reason=V,this.code=W,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class zr extends Yi{constructor(M,y,V,W){super(M,y),this.error=V,this.target=W,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xr extends Yi{constructor(M,y,V,W){super(M,y),this.urlAfterRedirects=V,this.state=W,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends Yi{constructor(M,y,V,W){super(M,y),this.urlAfterRedirects=V,this.state=W,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uo extends Yi{constructor(M,y,V,W,Se){super(M,y),this.urlAfterRedirects=V,this.state=W,this.shouldActivate=Se,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xo extends Yi{constructor(M,y,V,W){super(M,y),this.urlAfterRedirects=V,this.state=W,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yr extends Yi{constructor(M,y,V,W){super(M,y),this.urlAfterRedirects=V,this.state=W,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ho{constructor(M){this.route=M,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ko{constructor(M){this.route=M,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qi{constructor(M){this.snapshot=M,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ue{constructor(M){this.snapshot=M,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qe{constructor(M){this.snapshot=M,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ee{constructor(M){this.snapshot=M,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lt{constructor(M,y,V){this.routerEvent=M,this.position=y,this.anchor=V,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class gn{constructor(M){this._root=M}get root(){return this._root.value}parent(M){const y=this.pathFromRoot(M);return y.length>1?y[y.length-2]:null}children(M){const y=Fn(M,this._root);return y?y.children.map(V=>V.value):[]}firstChild(M){const y=Fn(M,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(M){const y=si(M,this._root);return y.length<2?[]:y[y.length-2].children.map(W=>W.value).filter(W=>W!==M)}pathFromRoot(M){return si(M,this._root).map(y=>y.value)}}function Fn(C,M){if(C===M.value)return M;for(const y of M.children){const V=Fn(C,y);if(V)return V}return null}function si(C,M){if(C===M.value)return[M];for(const y of M.children){const V=si(C,y);if(V.length)return V.unshift(M),V}return[]}class _i{constructor(M,y){this.value=M,this.children=y}toString(){return`TreeNode(${this.value})`}}function cr(C){const M={};return C&&C.children.forEach(y=>M[y.value.outlet]=y),M}class Sr extends gn{constructor(M,y){super(M),this.snapshot=y,dr(this,M)}toString(){return this.snapshot.toString()}}function ur(C,M){const y=function eo(C,M){const tt=new Ni([],{},{},"",{},Be,M,null,C.root,-1,{});return new ki("",new _i(tt,[]))}(C,M),V=new s.X([new Kt("",{})]),W=new s.X({}),Se=new s.X({}),tt=new s.X({}),lt=new s.X(""),ut=new Di(V,W,tt,lt,Se,Be,M,y.root);return ut.snapshot=y.root,new Sr(new _i(ut,[]),y)}class Di{constructor(M,y,V,W,Se,tt,lt,ut){this.url=M,this.params=y,this.queryParams=V,this.fragment=W,this.data=Se,this.outlet=tt,this.component=lt,this.title=this.data?.pipe((0,pe.U)(sn=>sn[It]))??(0,g.of)(void 0),this._futureSnapshot=ut}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,pe.U)(M=>Dt(M)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pe.U)(M=>Dt(M)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ur(C,M="emptyOnly"){const y=C.pathFromRoot;let V=0;if("always"!==M)for(V=y.length-1;V>=1;){const W=y[V],Se=y[V-1];if(W.routeConfig&&""===W.routeConfig.path)V--;else{if(Se.component)break;V--}}return function mr(C){return C.reduce((M,y)=>({params:{...M.params,...y.params},data:{...M.data,...y.data},resolve:{...y.data,...M.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(V))}class Ni{constructor(M,y,V,W,Se,tt,lt,ut,sn,jn,pn,hi){this.url=M,this.params=y,this.queryParams=V,this.fragment=W,this.data=Se,this.outlet=tt,this.component=lt,this.title=this.data?.[It],this.routeConfig=ut,this._urlSegment=sn,this._lastPathIndex=jn,this._correctedLastPathIndex=hi??jn,this._resolve=pn}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=Dt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(V=>V.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ki extends gn{constructor(M,y){super(y),this.url=M,dr(this,y)}toString(){return li(this._root)}}function dr(C,M){M.value._routerState=C,M.children.forEach(y=>dr(C,y))}function li(C){const M=C.children.length>0?` { ${C.children.map(li).join(", ")} } `:"";return`${C.value}${M}`}function Ui(C){if(C.snapshot){const M=C.snapshot,y=C._futureSnapshot;C.snapshot=y,pt(M.queryParams,y.queryParams)||C.queryParams.next(y.queryParams),M.fragment!==y.fragment&&C.fragment.next(y.fragment),pt(M.params,y.params)||C.params.next(y.params),function nt(C,M){if(C.length!==M.length)return!1;for(let y=0;ypt(y.parameters,M[V].parameters))}(C.url,M.url);return y&&!(!C.parent!=!M.parent)&&(!C.parent||Li(C.parent,M.parent))}function hr(C,M,y){if(y&&C.shouldReuseRoute(M.value,y.value.snapshot)){const V=y.value;V._futureSnapshot=M.value;const W=function wr(C,M,y){return M.children.map(V=>{for(const W of y.children)if(C.shouldReuseRoute(V.value,W.value.snapshot))return hr(C,V,W);return hr(C,V)})}(C,M,y);return new _i(V,W)}{if(C.shouldAttach(M.value)){const Se=C.retrieve(M.value);if(null!==Se){const tt=Se.route;return tt.value._futureSnapshot=M.value,tt.children=M.children.map(lt=>hr(C,lt)),tt}}const V=function to(C){return new Di(new s.X(C.url),new s.X(C.params),new s.X(C.queryParams),new s.X(C.fragment),new s.X(C.data),C.outlet,C.component,C)}(M.value),W=M.children.map(Se=>hr(C,Se));return new _i(V,W)}}const ji="ngNavigationCancelingError";function jr(C,M){const{redirectTo:y,navigationBehaviorOptions:V}=yt(M)?{redirectTo:M,navigationBehaviorOptions:void 0}:M,W=Mi(!1,0,M);return W.url=y,W.navigationBehaviorOptions=V,W}function Mi(C,M,y){const V=new Error("NavigationCancelingError: "+(C||""));return V[ji]=!0,V.cancellationCode=M,y&&(V.url=y),V}function nr(C){return kr(C)&&yt(C.url)}function kr(C){return C&&C[ji]}class Or{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new pr,this.attachRef=null}}let pr=(()=>{class C{constructor(){this.contexts=new Map}onChildOutletCreated(y,V){const W=this.getOrCreateContext(y);W.outlet=V,this.contexts.set(y,W)}onChildOutletDestroyed(y){const V=this.getContext(y);V&&(V.outlet=null,V.attachRef=null)}onOutletDeactivated(){const y=this.contexts;return this.contexts=new Map,y}onOutletReAttached(y){this.contexts=y}getOrCreateContext(y){let V=this.getContext(y);return V||(V=new Or,this.contexts.set(y,V)),V}getContext(y){return this.contexts.get(y)||null}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275prov=o.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const Oi=!1;let Un=(()=>{class C{constructor(y,V,W,Se,tt){this.parentContexts=y,this.location=V,this.changeDetector=Se,this.environmentInjector=tt,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.name=W||Be,y.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const y=this.parentContexts.getContext(this.name);y&&y.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,Oi);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,Oi);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,Oi);this.location.detach();const y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,V){this.activated=y,this._activatedRoute=V,this.location.insert(y.hostView),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,V){if(this.isActivated)throw new o.vHH(4013,Oi);this._activatedRoute=y;const W=this.location,tt=y._futureSnapshot.component,lt=this.parentContexts.getOrCreateContext(this.name).children,ut=new gr(y,lt,W.injector);if(V&&function Ir(C){return!!C.resolveComponentFactory}(V)){const sn=V.resolveComponentFactory(tt);this.activated=W.createComponent(sn,W.length,ut)}else this.activated=W.createComponent(tt,{index:W.length,injector:ut,environmentInjector:V??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return C.\u0275fac=function(y){return new(y||C)(o.Y36(pr),o.Y36(o.s_b),o.$8M("name"),o.Y36(o.sBO),o.Y36(o.lqb))},C.\u0275dir=o.lG2({type:C,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),C})();class gr{constructor(M,y,V){this.route=M,this.childContexts=y,this.parent=V}get(M,y){return M===Di?this.route:M===pr?this.childContexts:this.parent.get(M,y)}}let ri=(()=>{class C{}return C.\u0275fac=function(y){return new(y||C)},C.\u0275cmp=o.Xpm({type:C,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(y,V){1&y&&o._UZ(0,"router-outlet")},dependencies:[Un],encapsulation:2}),C})();function Ai(C,M){return C.providers&&!C._injector&&(C._injector=(0,o.MMx)(C.providers,M,`Route: ${C.path}`)),C._injector??M}function no(C){const M=C.children&&C.children.map(no),y=M?{...C,children:M}:{...C};return!y.component&&!y.loadComponent&&(M||y.loadChildren)&&y.outlet&&y.outlet!==Be&&(y.component=ri),y}function Ei(C){return C.outlet||Be}function bn(C,M){const y=C.filter(V=>Ei(V)===M);return y.push(...C.filter(V=>Ei(V)!==M)),y}function Gi(C){if(!C)return null;if(C.routeConfig?._injector)return C.routeConfig._injector;for(let M=C.parent;M;M=M.parent){const y=M.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class Tr{constructor(M,y,V,W){this.routeReuseStrategy=M,this.futureState=y,this.currState=V,this.forwardEvent=W}activate(M){const y=this.futureState._root,V=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,V,M),Ui(this.futureState.root),this.activateChildRoutes(y,V,M)}deactivateChildRoutes(M,y,V){const W=cr(y);M.children.forEach(Se=>{const tt=Se.value.outlet;this.deactivateRoutes(Se,W[tt],V),delete W[tt]}),dt(W,(Se,tt)=>{this.deactivateRouteAndItsChildren(Se,V)})}deactivateRoutes(M,y,V){const W=M.value,Se=y?y.value:null;if(W===Se)if(W.component){const tt=V.getContext(W.outlet);tt&&this.deactivateChildRoutes(M,y,tt.children)}else this.deactivateChildRoutes(M,y,V);else Se&&this.deactivateRouteAndItsChildren(y,V)}deactivateRouteAndItsChildren(M,y){M.value.component&&this.routeReuseStrategy.shouldDetach(M.value.snapshot)?this.detachAndStoreRouteSubtree(M,y):this.deactivateRouteAndOutlet(M,y)}detachAndStoreRouteSubtree(M,y){const V=y.getContext(M.value.outlet),W=V&&M.value.component?V.children:y,Se=cr(M);for(const tt of Object.keys(Se))this.deactivateRouteAndItsChildren(Se[tt],W);if(V&&V.outlet){const tt=V.outlet.detach(),lt=V.children.onOutletDeactivated();this.routeReuseStrategy.store(M.value.snapshot,{componentRef:tt,route:M,contexts:lt})}}deactivateRouteAndOutlet(M,y){const V=y.getContext(M.value.outlet),W=V&&M.value.component?V.children:y,Se=cr(M);for(const tt of Object.keys(Se))this.deactivateRouteAndItsChildren(Se[tt],W);V&&V.outlet&&(V.outlet.deactivate(),V.children.onOutletDeactivated(),V.attachRef=null,V.resolver=null,V.route=null)}activateChildRoutes(M,y,V){const W=cr(y);M.children.forEach(Se=>{this.activateRoutes(Se,W[Se.value.outlet],V),this.forwardEvent(new Ee(Se.value.snapshot))}),M.children.length&&this.forwardEvent(new ue(M.value.snapshot))}activateRoutes(M,y,V){const W=M.value,Se=y?y.value:null;if(Ui(W),W===Se)if(W.component){const tt=V.getOrCreateContext(W.outlet);this.activateChildRoutes(M,y,tt.children)}else this.activateChildRoutes(M,y,V);else if(W.component){const tt=V.getOrCreateContext(W.outlet);if(this.routeReuseStrategy.shouldAttach(W.snapshot)){const lt=this.routeReuseStrategy.retrieve(W.snapshot);this.routeReuseStrategy.store(W.snapshot,null),tt.children.onOutletReAttached(lt.contexts),tt.attachRef=lt.componentRef,tt.route=lt.route.value,tt.outlet&&tt.outlet.attach(lt.componentRef,lt.route.value),Ui(lt.route.value),this.activateChildRoutes(M,null,tt.children)}else{const lt=Gi(W.snapshot),ut=lt?.get(o._Vd)??null;tt.attachRef=null,tt.route=W,tt.resolver=ut,tt.injector=lt,tt.outlet&&tt.outlet.activateWith(W,tt.injector),this.activateChildRoutes(M,null,tt.children)}}else this.activateChildRoutes(M,null,V)}}class po{constructor(M){this.path=M,this.route=this.path[this.path.length-1]}}class go{constructor(M,y){this.component=M,this.route=y}}function vr(C,M,y){const V=C._root;return Zt(V,M?M._root:null,y,[V.value])}function Dr(C,M){const y=Symbol(),V=M.get(C,y);return V===y?"function"!=typeof C||(0,o.Z0I)(C)?M.get(C):C:V}function Zt(C,M,y,V,W={canDeactivateChecks:[],canActivateChecks:[]}){const Se=cr(M);return C.children.forEach(tt=>{(function Hn(C,M,y,V,W={canDeactivateChecks:[],canActivateChecks:[]}){const Se=C.value,tt=M?M.value:null,lt=y?y.getContext(C.value.outlet):null;if(tt&&Se.routeConfig===tt.routeConfig){const ut=function Jo(C,M,y){if("function"==typeof y)return y(C,M);switch(y){case"pathParamsChange":return!qt(C.url,M.url);case"pathParamsOrQueryParamsChange":return!qt(C.url,M.url)||!pt(C.queryParams,M.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Li(C,M)||!pt(C.queryParams,M.queryParams);default:return!Li(C,M)}}(tt,Se,Se.routeConfig.runGuardsAndResolvers);ut?W.canActivateChecks.push(new po(V)):(Se.data=tt.data,Se._resolvedData=tt._resolvedData),Zt(C,M,Se.component?lt?lt.children:null:y,V,W),ut&<&<.outlet&<.outlet.isActivated&&W.canDeactivateChecks.push(new go(lt.outlet.component,tt))}else tt&&oe(M,lt,W),W.canActivateChecks.push(new po(V)),Zt(C,null,Se.component?lt?lt.children:null:y,V,W)})(tt,Se[tt.value.outlet],y,V.concat([tt.value]),W),delete Se[tt.value.outlet]}),dt(Se,(tt,lt)=>oe(tt,y.getContext(lt),W)),W}function oe(C,M,y){const V=cr(C),W=C.value;dt(V,(Se,tt)=>{oe(Se,W.component?M?M.children.getContext(tt):null:M,y)}),y.canDeactivateChecks.push(new go(W.component&&M&&M.outlet&&M.outlet.isActivated?M.outlet.component:null,W))}function Xe(C){return"function"==typeof C}function ft(C){return C instanceof h.K||"EmptyError"===C?.name}const $t=Symbol("INITIAL_VALUE");function Mn(){return(0,X.w)(C=>(0,F.aj)(C.map(M=>M.pipe((0,Ne.q)(1),(0,ve.O)($t)))).pipe((0,pe.U)(M=>{for(const y of M)if(!0!==y){if(y===$t)return $t;if(!1===y||y instanceof Rt)return y}return!0}),(0,T.h)(M=>M!==$t),(0,Ne.q)(1)))}function Je(C){return(0,z.z)((0,Q.b)(M=>{if(yt(M))throw jr(0,M)}),(0,pe.U)(M=>!0===M))}const Z={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Te(C,M,y,V,W){const Se=ct(C,M,y);return Se.matched?function m(C,M,y,V){const W=M.canMatch;if(!W||0===W.length)return(0,g.of)(!0);const Se=W.map(tt=>{const lt=Dr(tt,C);return je(function N(C){return C&&Xe(C.canMatch)}(lt)?lt.canMatch(M,y):C.runInContext(()=>lt(M,y)))});return(0,g.of)(Se).pipe(Mn(),Je())}(V=Ai(M,V),M,y).pipe((0,pe.U)(tt=>!0===tt?Se:{...Z})):(0,g.of)(Se)}function ct(C,M,y){if(""===M.path)return"full"===M.pathMatch&&(C.hasChildren()||y.length>0)?{...Z}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const W=(M.matcher||Bt)(y,C,M);if(!W)return{...Z};const Se={};dt(W.posParams,(lt,ut)=>{Se[ut]=lt.path});const tt=W.consumed.length>0?{...Se,...W.consumed[W.consumed.length-1].parameters}:Se;return{matched:!0,consumedSegments:W.consumed,remainingSegments:y.slice(W.consumed.length),parameters:tt,positionalParamSegments:W.posParams??{}}}function an(C,M,y,V,W="corrected"){if(y.length>0&&function P(C,M,y){return y.some(V=>L(C,M,V)&&Ei(V)!==Be)}(C,y,V)){const tt=new Ct(M,function On(C,M,y,V){const W={};W[Be]=V,V._sourceSegment=C,V._segmentIndexShift=M.length;for(const Se of y)if(""===Se.path&&Ei(Se)!==Be){const tt=new Ct([],{});tt._sourceSegment=C,tt._segmentIndexShift=M.length,W[Ei(Se)]=tt}return W}(C,M,V,new Ct(y,C.children)));return tt._sourceSegment=C,tt._segmentIndexShift=M.length,{segmentGroup:tt,slicedSegments:[]}}if(0===y.length&&function re(C,M,y){return y.some(V=>L(C,M,V))}(C,y,V)){const tt=new Ct(C.segments,function mn(C,M,y,V,W,Se){const tt={};for(const lt of V)if(L(C,y,lt)&&!W[Ei(lt)]){const ut=new Ct([],{});ut._sourceSegment=C,ut._segmentIndexShift="legacy"===Se?C.segments.length:M.length,tt[Ei(lt)]=ut}return{...W,...tt}}(C,M,y,V,C.children,W));return tt._sourceSegment=C,tt._segmentIndexShift=M.length,{segmentGroup:tt,slicedSegments:y}}const Se=new Ct(C.segments,C.children);return Se._sourceSegment=C,Se._segmentIndexShift=M.length,{segmentGroup:Se,slicedSegments:y}}function L(C,M,y){return(!(C.hasChildren()||M.length>0)||"full"!==y.pathMatch)&&""===y.path}function ye(C,M,y,V){return!!(Ei(C)===V||V!==Be&&L(M,y,C))&&("**"===C.path||ct(M,C,y).matched)}function ot(C,M,y){return 0===M.length&&!C.children[y]}const kt=!1;class Nt{constructor(M){this.segmentGroup=M||null}}class cn{constructor(M){this.urlTree=M}}function Kn(C){return(0,H._)(new Nt(C))}function Dn(C){return(0,H._)(new cn(C))}class ci{constructor(M,y,V,W,Se){this.injector=M,this.configLoader=y,this.urlSerializer=V,this.urlTree=W,this.config=Se,this.allowRedirects=!0}apply(){const M=an(this.urlTree.root,[],[],this.config).segmentGroup,y=new Ct(M.segments,M.children);return this.expandSegmentGroup(this.injector,this.config,y,Be).pipe((0,pe.U)(Se=>this.createUrlTree(G(Se),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ae.K)(Se=>{if(Se instanceof cn)return this.allowRedirects=!1,this.match(Se.urlTree);throw Se instanceof Nt?this.noMatchError(Se):Se}))}match(M){return this.expandSegmentGroup(this.injector,this.config,M.root,Be).pipe((0,pe.U)(W=>this.createUrlTree(G(W),M.queryParams,M.fragment))).pipe((0,ae.K)(W=>{throw W instanceof Nt?this.noMatchError(W):W}))}noMatchError(M){return new o.vHH(4002,kt)}createUrlTree(M,y,V){const W=Ye(M);return new Rt(W,y,V)}expandSegmentGroup(M,y,V,W){return 0===V.segments.length&&V.hasChildren()?this.expandChildren(M,y,V).pipe((0,pe.U)(Se=>new Ct([],Se))):this.expandSegment(M,V,y,V.segments,W,!0)}expandChildren(M,y,V){const W=[];for(const Se of Object.keys(V.children))"primary"===Se?W.unshift(Se):W.push(Se);return(0,e.D)(W).pipe((0,q.b)(Se=>{const tt=V.children[Se],lt=bn(y,Se);return this.expandSegmentGroup(M,lt,tt,Se).pipe((0,pe.U)(ut=>({segment:ut,outlet:Se})))}),be((Se,tt)=>(Se[tt.outlet]=tt.segment,Se),{}),Ue())}expandSegment(M,y,V,W,Se,tt){return(0,e.D)(V).pipe((0,q.b)(lt=>this.expandSegmentAgainstRoute(M,y,V,lt,W,Se,tt).pipe((0,ae.K)(sn=>{if(sn instanceof Nt)return(0,g.of)(null);throw sn}))),(0,k.P)(lt=>!!lt),(0,ae.K)((lt,ut)=>{if(ft(lt))return ot(y,W,Se)?(0,g.of)(new Ct([],{})):Kn(y);throw lt}))}expandSegmentAgainstRoute(M,y,V,W,Se,tt,lt){return ye(W,y,Se,tt)?void 0===W.redirectTo?this.matchSegmentAgainstRoute(M,y,W,Se,tt):lt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(M,y,V,W,Se,tt):Kn(y):Kn(y)}expandSegmentAgainstRouteUsingRedirect(M,y,V,W,Se,tt){return"**"===W.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(M,V,W,tt):this.expandRegularSegmentAgainstRouteUsingRedirect(M,y,V,W,Se,tt)}expandWildCardWithParamsAgainstRouteUsingRedirect(M,y,V,W){const Se=this.applyRedirectCommands([],V.redirectTo,{});return V.redirectTo.startsWith("/")?Dn(Se):this.lineralizeSegments(V,Se).pipe((0,Y.zg)(tt=>{const lt=new Ct(tt,{});return this.expandSegment(M,lt,y,tt,W,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(M,y,V,W,Se,tt){const{matched:lt,consumedSegments:ut,remainingSegments:sn,positionalParamSegments:jn}=ct(y,W,Se);if(!lt)return Kn(y);const pn=this.applyRedirectCommands(ut,W.redirectTo,jn);return W.redirectTo.startsWith("/")?Dn(pn):this.lineralizeSegments(W,pn).pipe((0,Y.zg)(hi=>this.expandSegment(M,y,V,hi.concat(sn),tt,!1)))}matchSegmentAgainstRoute(M,y,V,W,Se){return"**"===V.path?(M=Ai(V,M),V.loadChildren?(V._loadedRoutes?(0,g.of)({routes:V._loadedRoutes,injector:V._loadedInjector}):this.configLoader.loadChildren(M,V)).pipe((0,pe.U)(lt=>(V._loadedRoutes=lt.routes,V._loadedInjector=lt.injector,new Ct(W,{})))):(0,g.of)(new Ct(W,{}))):Te(y,V,W,M).pipe((0,X.w)(({matched:tt,consumedSegments:lt,remainingSegments:ut})=>tt?this.getChildConfig(M=V._injector??M,V,W).pipe((0,Y.zg)(jn=>{const pn=jn.injector??M,hi=jn.routes,{segmentGroup:Qr,slicedSegments:Fo}=an(y,lt,ut,hi),Bo=new Ct(Qr.segments,Qr.children);if(0===Fo.length&&Bo.hasChildren())return this.expandChildren(pn,hi,Bo).pipe((0,pe.U)(Ps=>new Ct(lt,Ps)));if(0===hi.length&&0===Fo.length)return(0,g.of)(new Ct(lt,{}));const Nr=Ei(V)===Se;return this.expandSegment(pn,Bo,hi,Fo,Nr?Be:Se,!0).pipe((0,pe.U)(Zo=>new Ct(lt.concat(Zo.segments),Zo.children)))})):Kn(y)))}getChildConfig(M,y,V){return y.children?(0,g.of)({routes:y.children,injector:M}):y.loadChildren?void 0!==y._loadedRoutes?(0,g.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):function $(C,M,y,V){const W=M.canLoad;if(void 0===W||0===W.length)return(0,g.of)(!0);const Se=W.map(tt=>{const lt=Dr(tt,C);return je(function ie(C){return C&&Xe(C.canLoad)}(lt)?lt.canLoad(M,y):C.runInContext(()=>lt(M,y)))});return(0,g.of)(Se).pipe(Mn(),Je())}(M,y,V).pipe((0,Y.zg)(W=>W?this.configLoader.loadChildren(M,y).pipe((0,Q.b)(Se=>{y._loadedRoutes=Se.routes,y._loadedInjector=Se.injector})):function qn(C){return(0,H._)(Mi(kt,3))}())):(0,g.of)({routes:[],injector:M})}lineralizeSegments(M,y){let V=[],W=y.root;for(;;){if(V=V.concat(W.segments),0===W.numberOfChildren)return(0,g.of)(V);if(W.numberOfChildren>1||!W.children[Be])return(0,H._)(new o.vHH(4e3,kt));W=W.children[Be]}}applyRedirectCommands(M,y,V){return this.applyRedirectCreateUrlTree(y,this.urlSerializer.parse(y),M,V)}applyRedirectCreateUrlTree(M,y,V,W){const Se=this.createSegmentGroup(M,y.root,V,W);return new Rt(Se,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(M,y){const V={};return dt(M,(W,Se)=>{if("string"==typeof W&&W.startsWith(":")){const lt=W.substring(1);V[Se]=y[lt]}else V[Se]=W}),V}createSegmentGroup(M,y,V,W){const Se=this.createSegments(M,y.segments,V,W);let tt={};return dt(y.children,(lt,ut)=>{tt[ut]=this.createSegmentGroup(M,lt,V,W)}),new Ct(Se,tt)}createSegments(M,y,V,W){return y.map(Se=>Se.path.startsWith(":")?this.findPosParam(M,Se,W):this.findOrReturn(Se,V))}findPosParam(M,y,V){const W=V[y.path.substring(1)];if(!W)throw new o.vHH(4001,kt);return W}findOrReturn(M,y){let V=0;for(const W of y){if(W.path===M.path)return y.splice(V),W;V++}return M}}class rr{}class ao{constructor(M,y,V,W,Se,tt,lt,ut){this.injector=M,this.rootComponentType=y,this.config=V,this.urlTree=W,this.url=Se,this.paramsInheritanceStrategy=tt,this.relativeLinkResolution=lt,this.urlSerializer=ut}recognize(){const M=an(this.urlTree.root,[],[],this.config.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,M,Be).pipe((0,pe.U)(y=>{if(null===y)return null;const V=new Ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Be,this.rootComponentType,null,this.urlTree.root,-1,{}),W=new _i(V,y),Se=new ki(this.url,W);return this.inheritParamsAndData(Se._root),Se}))}inheritParamsAndData(M){const y=M.value,V=Ur(y,this.paramsInheritanceStrategy);y.params=Object.freeze(V.params),y.data=Object.freeze(V.data),M.children.forEach(W=>this.inheritParamsAndData(W))}processSegmentGroup(M,y,V,W){return 0===V.segments.length&&V.hasChildren()?this.processChildren(M,y,V):this.processSegment(M,y,V,V.segments,W)}processChildren(M,y,V){return(0,e.D)(Object.keys(V.children)).pipe((0,q.b)(W=>{const Se=V.children[W],tt=bn(y,W);return this.processSegmentGroup(M,tt,Se,W)}),be((W,Se)=>W&&Se?(W.push(...Se),W):null),(0,Mt.o)(W=>null!==W),(0,Ae.d)(null),Ue(),(0,pe.U)(W=>{if(null===W)return null;const Se=vo(W);return function ui(C){C.sort((M,y)=>M.value.outlet===Be?-1:y.value.outlet===Be?1:M.value.outlet.localeCompare(y.value.outlet))}(Se),Se}))}processSegment(M,y,V,W,Se){return(0,e.D)(y).pipe((0,q.b)(tt=>this.processSegmentAgainstRoute(tt._injector??M,tt,V,W,Se)),(0,k.P)(tt=>!!tt),(0,ae.K)(tt=>{if(ft(tt))return ot(V,W,Se)?(0,g.of)([]):(0,g.of)(null);throw tt}))}processSegmentAgainstRoute(M,y,V,W,Se){if(y.redirectTo||!ye(y,V,W,Se))return(0,g.of)(null);let tt;if("**"===y.path){const lt=W.length>0?Jt(W).parameters:{},ut=tl(V)+W.length,sn=new Ni(W,lt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sc(y),Ei(y),y.component??y._loadedComponent??null,y,xs(V),ut,Ma(y),ut);tt=(0,g.of)({snapshot:sn,consumedSegments:[],remainingSegments:[]})}else tt=Te(V,y,W,M).pipe((0,pe.U)(({matched:lt,consumedSegments:ut,remainingSegments:sn,parameters:jn})=>{if(!lt)return null;const pn=tl(V)+ut.length;return{snapshot:new Ni(ut,jn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sc(y),Ei(y),y.component??y._loadedComponent??null,y,xs(V),pn,Ma(y),pn),consumedSegments:ut,remainingSegments:sn}}));return tt.pipe((0,X.w)(lt=>{if(null===lt)return(0,g.of)(null);const{snapshot:ut,consumedSegments:sn,remainingSegments:jn}=lt;M=y._injector??M;const pn=y._loadedInjector??M,hi=function Ha(C){return C.children?C.children:C.loadChildren?C._loadedRoutes:[]}(y),{segmentGroup:Qr,slicedSegments:Fo}=an(V,sn,jn,hi.filter(Nr=>void 0===Nr.redirectTo),this.relativeLinkResolution);if(0===Fo.length&&Qr.hasChildren())return this.processChildren(pn,hi,Qr).pipe((0,pe.U)(Nr=>null===Nr?null:[new _i(ut,Nr)]));if(0===hi.length&&0===Fo.length)return(0,g.of)([new _i(ut,[])]);const Bo=Ei(y)===Se;return this.processSegment(pn,hi,Qr,Fo,Bo?Be:Se).pipe((0,pe.U)(Nr=>null===Nr?null:[new _i(ut,Nr)]))}))}}function oc(C){const M=C.value.routeConfig;return M&&""===M.path&&void 0===M.redirectTo}function vo(C){const M=[],y=new Set;for(const V of C){if(!oc(V)){M.push(V);continue}const W=M.find(Se=>V.value.routeConfig===Se.value.routeConfig);void 0!==W?(W.children.push(...V.children),y.add(W)):M.push(V)}for(const V of y){const W=vo(V.children);M.push(new _i(V.value,W))}return M.filter(V=>!y.has(V))}function xs(C){let M=C;for(;M._sourceSegment;)M=M._sourceSegment;return M}function tl(C){let M=C,y=M._segmentIndexShift??0;for(;M._sourceSegment;)M=M._sourceSegment,y+=M._segmentIndexShift??0;return y-1}function sc(C){return C.data||{}}function Ma(C){return C.resolve||{}}function al(C){return"string"==typeof C.title||null===C.title}function No(C){return(0,X.w)(M=>{const y=C(M);return y?(0,e.D)(y).pipe((0,pe.U)(()=>M)):(0,g.of)(M)})}let za=(()=>{class C{buildTitle(y){let V,W=y.root;for(;void 0!==W;)V=this.getResolvedTitleForRoute(W)??V,W=W.children.find(Se=>Se.outlet===Be);return V}getResolvedTitleForRoute(y){return y.data[It]}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275prov=o.Yz7({token:C,factory:function(){return(0,o.f3M)(Xo)},providedIn:"root"}),C})(),Xo=(()=>{class C extends za{constructor(y){super(),this.title=y}updateTitle(y){const V=this.buildTitle(y);void 0!==V&&this.title.setTitle(V)}}return C.\u0275fac=function(y){return new(y||C)(o.LFG(Ze.Dx))},C.\u0275prov=o.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();class sl{}class lc extends class ll{shouldDetach(M){return!1}store(M,y){}shouldAttach(M){return!1}retrieve(M){return null}shouldReuseRoute(M,y){return M.routeConfig===y.routeConfig}}{}const ns=new o.OlP("",{providedIn:"root",factory:()=>({})}),xa=new o.OlP("ROUTES");let Eo=(()=>{class C{constructor(y,V){this.injector=y,this.compiler=V,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,g.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);const V=je(y.loadComponent()).pipe((0,Q.b)(Se=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=Se}),(0,Ft.x)(()=>{this.componentLoaders.delete(y)})),W=new ne.c(V,()=>new Pe.xQ).pipe((0,et.x)());return this.componentLoaders.set(y,W),W}loadChildren(y,V){if(this.childrenLoaders.get(V))return this.childrenLoaders.get(V);if(V._loadedRoutes)return(0,g.of)({routes:V._loadedRoutes,injector:V._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(V);const Se=this.loadModuleFactoryOrRoutes(V.loadChildren).pipe((0,pe.U)(lt=>{this.onLoadEndListener&&this.onLoadEndListener(V);let ut,sn,jn=!1;Array.isArray(lt)?sn=lt:(ut=lt.create(y).injector,sn=Qt(ut.get(xa,[],o.XFs.Self|o.XFs.Optional)));return{routes:sn.map(no),injector:ut}}),(0,Ft.x)(()=>{this.childrenLoaders.delete(V)})),tt=new ne.c(Se,()=>new Pe.xQ).pipe((0,et.x)());return this.childrenLoaders.set(V,tt),tt}loadModuleFactoryOrRoutes(y){return je(y()).pipe((0,Y.zg)(V=>V instanceof o.YKP||Array.isArray(V)?(0,g.of)(V):(0,e.D)(this.compiler.compileModuleAsync(V))))}}return C.\u0275fac=function(y){return new(y||C)(o.LFG(o.zs3),o.LFG(o.Sil))},C.\u0275prov=o.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();class wa{}class sa{shouldProcessUrl(M){return!0}extract(M){return M}merge(M,y){return M}}function cl(C){throw C}function ul(C,M,y){return M.parse("/")}const dl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Na(){const C=(0,o.f3M)(le),M=(0,o.f3M)(pr),y=(0,o.f3M)(ee.Ye),V=(0,o.f3M)(o.zs3),W=(0,o.f3M)(o.Sil),Se=(0,o.f3M)(xa,{optional:!0})??[],tt=(0,o.f3M)(ns,{optional:!0})??{},lt=(0,o.f3M)(Xo),ut=(0,o.f3M)(za,{optional:!0}),sn=(0,o.f3M)(wa,{optional:!0}),jn=(0,o.f3M)(sl,{optional:!0}),pn=new Bi(null,C,M,y,V,W,Qt(Se));return sn&&(pn.urlHandlingStrategy=sn),jn&&(pn.routeReuseStrategy=jn),pn.titleStrategy=ut??lt,function cc(C,M){C.errorHandler&&(M.errorHandler=C.errorHandler),C.malformedUriErrorHandler&&(M.malformedUriErrorHandler=C.malformedUriErrorHandler),C.onSameUrlNavigation&&(M.onSameUrlNavigation=C.onSameUrlNavigation),C.paramsInheritanceStrategy&&(M.paramsInheritanceStrategy=C.paramsInheritanceStrategy),C.relativeLinkResolution&&(M.relativeLinkResolution=C.relativeLinkResolution),C.urlUpdateStrategy&&(M.urlUpdateStrategy=C.urlUpdateStrategy),C.canceledNavigationResolution&&(M.canceledNavigationResolution=C.canceledNavigationResolution)}(tt,pn),pn}let Bi=(()=>{class C{constructor(y,V,W,Se,tt,lt,ut){this.rootComponentType=y,this.urlSerializer=V,this.rootContexts=W,this.location=Se,this.config=ut,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Pe.xQ,this.errorHandler=cl,this.malformedUriErrorHandler=ul,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,g.of)(void 0),this.urlHandlingStrategy=new sa,this.routeReuseStrategy=new lc,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=tt.get(Eo),this.configLoader.onLoadEndListener=hi=>this.triggerEvent(new Ko(hi)),this.configLoader.onLoadStartListener=hi=>this.triggerEvent(new ho(hi)),this.ngModule=tt.get(o.h0i),this.console=tt.get(o.c2e);const pn=tt.get(o.R0b);this.isNgZoneEnabled=pn instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(ut),this.currentUrlTree=function Ie(){return new Rt(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ur(this.currentUrlTree,this.rootComponentType),this.transitions=new s.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(y){const V=this.events;return y.pipe((0,T.h)(W=>0!==W.id),(0,pe.U)(W=>({...W,extractedUrl:this.urlHandlingStrategy.extract(W.rawUrl)})),(0,X.w)(W=>{let Se=!1,tt=!1;return(0,g.of)(W).pipe((0,Q.b)(lt=>{this.currentNavigation={id:lt.id,initialUrl:lt.rawUrl,extractedUrl:lt.extractedUrl,trigger:lt.source,extras:lt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,X.w)(lt=>{const ut=this.browserUrlTree.toString(),sn=!this.navigated||lt.extractedUrl.toString()!==ut||ut!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||sn)&&this.urlHandlingStrategy.shouldProcessUrl(lt.rawUrl))return ws(lt.source)&&(this.browserUrlTree=lt.extractedUrl),(0,g.of)(lt).pipe((0,X.w)(pn=>{const hi=this.transitions.getValue();return V.next(new ii(pn.id,this.serializeUrl(pn.extractedUrl),pn.source,pn.restoredState)),hi!==this.transitions.getValue()?j.E:Promise.resolve(pn)}),function zi(C,M,y,V){return(0,X.w)(W=>function Fi(C,M,y,V,W){return new ci(C,M,y,V,W).apply()}(C,M,y,W.extractedUrl,V).pipe((0,pe.U)(Se=>({...W,urlAfterRedirects:Se}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Q.b)(pn=>{this.currentNavigation={...this.currentNavigation,finalUrl:pn.urlAfterRedirects},W.urlAfterRedirects=pn.urlAfterRedirects}),function nl(C,M,y,V,W,Se){return(0,Y.zg)(tt=>function oo(C,M,y,V,W,Se,tt="emptyOnly",lt="legacy"){return new ao(C,M,y,V,W,tt,lt,Se).recognize().pipe((0,X.w)(ut=>null===ut?function ro(C){return new A.y(M=>M.error(C))}(new rr):(0,g.of)(ut)))}(C,M,y,tt.urlAfterRedirects,V.serialize(tt.urlAfterRedirects),V,W,Se).pipe((0,pe.U)(lt=>({...tt,targetSnapshot:lt}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Q.b)(pn=>{if(W.targetSnapshot=pn.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!pn.extras.skipLocationChange){const Qr=this.urlHandlingStrategy.merge(pn.urlAfterRedirects,pn.rawUrl);this.setBrowserUrl(Qr,pn)}this.browserUrlTree=pn.urlAfterRedirects}const hi=new Xr(pn.id,this.serializeUrl(pn.extractedUrl),this.serializeUrl(pn.urlAfterRedirects),pn.targetSnapshot);V.next(hi)}));if(sn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:hi,extractedUrl:Qr,source:Fo,restoredState:Bo,extras:Nr}=lt,vc=new ii(hi,this.serializeUrl(Qr),Fo,Bo);V.next(vc);const Zo=ur(Qr,this.rootComponentType).snapshot;return W={...lt,targetSnapshot:Zo,urlAfterRedirects:Qr,extras:{...Nr,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(W)}return this.rawUrlTree=lt.rawUrl,lt.resolve(null),j.E}),(0,Q.b)(lt=>{const ut=new Ti(lt.id,this.serializeUrl(lt.extractedUrl),this.serializeUrl(lt.urlAfterRedirects),lt.targetSnapshot);this.triggerEvent(ut)}),(0,pe.U)(lt=>W={...lt,guards:vr(lt.targetSnapshot,lt.currentSnapshot,this.rootContexts)}),function fi(C,M){return(0,Y.zg)(y=>{const{targetSnapshot:V,currentSnapshot:W,guards:{canActivateChecks:Se,canDeactivateChecks:tt}}=y;return 0===tt.length&&0===Se.length?(0,g.of)({...y,guardsResult:!0}):function Ii(C,M,y,V){return(0,e.D)(C).pipe((0,Y.zg)(W=>function aa(C,M,y,V,W){const Se=M&&M.routeConfig?M.routeConfig.canDeactivate:null;if(!Se||0===Se.length)return(0,g.of)(!0);const tt=Se.map(lt=>{const ut=Gi(M)??W,sn=Dr(lt,ut);return je(function I(C){return C&&Xe(C.canDeactivate)}(sn)?sn.canDeactivate(C,M,y,V):ut.runInContext(()=>sn(C,M,y,V))).pipe((0,k.P)())});return(0,g.of)(tt).pipe(Mn())}(W.component,W.route,y,M,V)),(0,k.P)(W=>!0!==W,!0))}(tt,V,W,C).pipe((0,Y.zg)(lt=>lt&&function x(C){return"boolean"==typeof C}(lt)?function Wi(C,M,y,V){return(0,e.D)(M).pipe((0,q.b)(W=>(0,S.z)(function oa(C,M){return null!==C&&M&&M(new qi(C)),(0,g.of)(!0)}(W.route.parent,V),function To(C,M){return null!==C&&M&&M(new qe(C)),(0,g.of)(!0)}(W.route,V),function ba(C,M,y){const V=M[M.length-1],Se=M.slice(0,M.length-1).reverse().map(tt=>function io(C){const M=C.routeConfig?C.routeConfig.canActivateChild:null;return M&&0!==M.length?{node:C,guards:M}:null}(tt)).filter(tt=>null!==tt).map(tt=>(0,b.P)(()=>{const lt=tt.guards.map(ut=>{const sn=Gi(tt.node)??y,jn=Dr(ut,sn);return je(function Tt(C){return C&&Xe(C.canActivateChild)}(jn)?jn.canActivateChild(V,C):sn.runInContext(()=>jn(V,C))).pipe((0,k.P)())});return(0,g.of)(lt).pipe(Mn())}));return(0,g.of)(Se).pipe(Mn())}(C,W.path,y),function Ca(C,M,y){const V=M.routeConfig?M.routeConfig.canActivate:null;if(!V||0===V.length)return(0,g.of)(!0);const W=V.map(Se=>(0,b.P)(()=>{const tt=Gi(M)??y,lt=Dr(Se,tt);return je(function st(C){return C&&Xe(C.canActivate)}(lt)?lt.canActivate(M,C):tt.runInContext(()=>lt(M,C))).pipe((0,k.P)())}));return(0,g.of)(W).pipe(Mn())}(C,W.route,y))),(0,k.P)(W=>!0!==W,!0))}(V,Se,C,M):(0,g.of)(lt)),(0,pe.U)(lt=>({...y,guardsResult:lt})))})}(this.ngModule.injector,lt=>this.triggerEvent(lt)),(0,Q.b)(lt=>{if(W.guardsResult=lt.guardsResult,yt(lt.guardsResult))throw jr(0,lt.guardsResult);const ut=new uo(lt.id,this.serializeUrl(lt.extractedUrl),this.serializeUrl(lt.urlAfterRedirects),lt.targetSnapshot,!!lt.guardsResult);this.triggerEvent(ut)}),(0,T.h)(lt=>!!lt.guardsResult||(this.restoreHistory(lt),this.cancelNavigationTransition(lt,"",3),!1)),No(lt=>{if(lt.guards.canActivateChecks.length)return(0,g.of)(lt).pipe((0,Q.b)(ut=>{const sn=new xo(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot);this.triggerEvent(sn)}),(0,X.w)(ut=>{let sn=!1;return(0,g.of)(ut).pipe(function il(C,M){return(0,Y.zg)(y=>{const{targetSnapshot:V,guards:{canActivateChecks:W}}=y;if(!W.length)return(0,g.of)(y);let Se=0;return(0,e.D)(W).pipe((0,q.b)(tt=>function ts(C,M,y,V){const W=C.routeConfig,Se=C._resolve;return void 0!==W?.title&&!al(W)&&(Se[It]=W.title),function rl(C,M,y,V){const W=function ol(C){return[...Object.keys(C),...Object.getOwnPropertySymbols(C)]}(C);if(0===W.length)return(0,g.of)({});const Se={};return(0,e.D)(W).pipe((0,Y.zg)(tt=>function Do(C,M,y,V){const W=Gi(M)??V,Se=Dr(C,W);return je(Se.resolve?Se.resolve(M,y):W.runInContext(()=>Se(M,y)))}(C[tt],M,y,V).pipe((0,k.P)(),(0,Q.b)(lt=>{Se[tt]=lt}))),De(1),(0,_t.h)(Se),(0,ae.K)(tt=>ft(tt)?j.E:(0,H._)(tt)))}(Se,C,M,V).pipe((0,pe.U)(tt=>(C._resolvedData=tt,C.data=Ur(C,y).resolve,W&&al(W)&&(C.data[It]=W.title),null)))}(tt.route,V,C,M)),(0,Q.b)(()=>Se++),De(1),(0,Y.zg)(tt=>Se===W.length?(0,g.of)(y):j.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Q.b)({next:()=>sn=!0,complete:()=>{sn||(this.restoreHistory(ut),this.cancelNavigationTransition(ut,"",2))}}))}),(0,Q.b)(ut=>{const sn=new Yr(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot);this.triggerEvent(sn)}))}),No(lt=>{const ut=sn=>{const jn=[];sn.routeConfig?.loadComponent&&!sn.routeConfig._loadedComponent&&jn.push(this.configLoader.loadComponent(sn.routeConfig).pipe((0,Q.b)(pn=>{sn.component=pn}),(0,pe.U)(()=>{})));for(const pn of sn.children)jn.push(...ut(pn));return jn};return(0,F.aj)(ut(lt.targetSnapshot.root)).pipe((0,Ae.d)(),(0,Ne.q)(1))}),No(()=>this.afterPreactivation()),(0,pe.U)(lt=>{const ut=function xr(C,M,y){const V=hr(C,M._root,y?y._root:void 0);return new Sr(V,M)}(this.routeReuseStrategy,lt.targetSnapshot,lt.currentRouterState);return W={...lt,targetRouterState:ut}}),(0,Q.b)(lt=>{this.currentUrlTree=lt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(lt.urlAfterRedirects,lt.rawUrl),this.routerState=lt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(lt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,lt),this.browserUrlTree=lt.urlAfterRedirects)}),((C,M,y)=>(0,pe.U)(V=>(new Tr(M,V.targetRouterState,V.currentRouterState,y).activate(C),V)))(this.rootContexts,this.routeReuseStrategy,lt=>this.triggerEvent(lt)),(0,Q.b)({next(){Se=!0},complete(){Se=!0}}),(0,Ft.x)(()=>{Se||tt||this.cancelNavigationTransition(W,"",1),this.currentNavigation?.id===W.id&&(this.currentNavigation=null)}),(0,ae.K)(lt=>{if(tt=!0,kr(lt)){nr(lt)||(this.navigated=!0,this.restoreHistory(W,!0));const ut=new tr(W.id,this.serializeUrl(W.extractedUrl),lt.message,lt.cancellationCode);if(V.next(ut),nr(lt)){const sn=this.urlHandlingStrategy.merge(lt.url,this.rawUrlTree),jn={skipLocationChange:W.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ws(W.source)};this.scheduleNavigation(sn,"imperative",null,jn,{resolve:W.resolve,reject:W.reject,promise:W.promise})}else W.resolve(!1)}else{this.restoreHistory(W,!0);const ut=new zr(W.id,this.serializeUrl(W.extractedUrl),lt,W.targetSnapshot??void 0);V.next(ut);try{W.resolve(this.errorHandler(lt))}catch(sn){W.reject(sn)}}return j.E}))}))}resetRootComponentType(y){this.rootComponentType=y,this.routerState.root.component=this.rootComponentType}setTransition(y){this.transitions.next({...this.transitions.value,...y})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(y=>{const V="popstate"===y.type?"popstate":"hashchange";"popstate"===V&&setTimeout(()=>{const W={replaceUrl:!0},Se=y.state?.navigationId?y.state:null;if(Se){const lt={...Se};delete lt.navigationId,delete lt.\u0275routerPageId,0!==Object.keys(lt).length&&(W.state=lt)}const tt=this.parseUrl(y.url);this.scheduleNavigation(tt,V,Se,W)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(y){this.events.next(y)}resetConfig(y){this.config=y.map(no),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(y,V={}){const{relativeTo:W,queryParams:Se,fragment:tt,queryParamsHandling:lt,preserveFragment:ut}=V,sn=W||this.routerState.root,jn=ut?this.currentUrlTree.fragment:tt;let pn=null;switch(lt){case"merge":pn={...this.currentUrlTree.queryParams,...Se};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=Se||null}return null!==pn&&(pn=this.removeEmptyProps(pn)),Bn(sn,this.currentUrlTree,y,pn,jn??null)}navigateByUrl(y,V={skipLocationChange:!1}){const W=yt(y)?y:this.parseUrl(y),Se=this.urlHandlingStrategy.merge(W,this.rawUrlTree);return this.scheduleNavigation(Se,"imperative",null,V)}navigate(y,V={skipLocationChange:!1}){return function is(C){for(let M=0;M{const Se=y[W];return null!=Se&&(V[W]=Se),V},{})}processNavigations(){this.navigations.subscribe(y=>{this.navigated=!0,this.lastSuccessfulId=y.id,this.currentPageId=y.targetPageId,this.events.next(new yi(y.id,this.serializeUrl(y.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),y.resolve(!0)},y=>{this.console.warn(`Unhandled Navigation Error: ${y}`)})}scheduleNavigation(y,V,W,Se,tt){if(this.disposed)return Promise.resolve(!1);let lt,ut,sn;tt?(lt=tt.resolve,ut=tt.reject,sn=tt.promise):sn=new Promise((hi,Qr)=>{lt=hi,ut=Qr});const jn=++this.navigationId;let pn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(W=this.location.getState()),pn=W&&W.\u0275routerPageId?W.\u0275routerPageId:Se.replaceUrl||Se.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):pn=0,this.setTransition({id:jn,targetPageId:pn,source:V,restoredState:W,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:y,extras:Se,resolve:lt,reject:ut,promise:sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),sn.catch(hi=>Promise.reject(hi))}setBrowserUrl(y,V){const W=this.urlSerializer.serialize(y),Se={...V.extras.state,...this.generateNgRouterState(V.id,V.targetPageId)};this.location.isCurrentPathEqualTo(W)||V.extras.replaceUrl?this.location.replaceState(W,"",Se):this.location.go(W,"",Se)}restoreHistory(y,V=!1){if("computed"===this.canceledNavigationResolution){const W=this.currentPageId-y.targetPageId;"popstate"!==y.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===W?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===W&&(this.resetState(y),this.browserUrlTree=y.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(W)}else"replace"===this.canceledNavigationResolution&&(V&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=y.currentRouterState,this.currentUrlTree=y.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(y,V,W){const Se=new tr(y.id,this.serializeUrl(y.extractedUrl),V,W);this.triggerEvent(Se),y.resolve(!1)}generateNgRouterState(y,V){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:V}:{navigationId:y}}}return C.\u0275fac=function(y){o.$Z()},C.\u0275prov=o.Yz7({token:C,factory:function(){return Na()},providedIn:"root"}),C})();function ws(C){return"imperative"!==C}let La=(()=>{class C{constructor(y,V,W,Se,tt){this.router=y,this.route=V,this.tabIndexAttribute=W,this.renderer=Se,this.el=tt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new Pe.xQ,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(y){this._preserveFragment=(0,o.D6c)(y)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(y){this._skipLocationChange=(0,o.D6c)(y)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(y){this._replaceUrl=(0,o.D6c)(y)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(y){if(null!=this.tabIndexAttribute)return;const V=this.renderer,W=this.el.nativeElement;null!==y?V.setAttribute(W,"tabindex",y):V.removeAttribute(W,"tabindex")}ngOnChanges(y){this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],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 C.\u0275fac=function(y){return new(y||C)(o.Y36(Bi),o.Y36(Di),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},C.\u0275dir=o.lG2({type:C,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(y,V){1&y&&o.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:[o.TTD]}),C})(),Lo=(()=>{class C{constructor(y,V,W){this.router=y,this.route=V,this.locationStrategy=W,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Pe.xQ,this.subscription=y.events.subscribe(Se=>{Se instanceof yi&&this.updateTargetUrlAndHref()})}set preserveFragment(y){this._preserveFragment=(0,o.D6c)(y)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(y){this._skipLocationChange=(0,o.D6c)(y)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(y){this._replaceUrl=(0,o.D6c)(y)}get replaceUrl(){return this._replaceUrl}set routerLink(y){this.commands=null!=y?Array.isArray(y)?y:[y]:null}ngOnChanges(y){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(y,V,W,Se,tt){return!!(0!==y||V||W||Se||tt||"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 C.\u0275fac=function(y){return new(y||C)(o.Y36(Bi),o.Y36(Di),o.Y36(ee.S$))},C.\u0275dir=o.lG2({type:C,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(y,V){1&y&&o.NdJ("click",function(Se){return V.onClick(Se.button,Se.ctrlKey,Se.shiftKey,Se.altKey,Se.metaKey)}),2&y&&o.uIk("target",V.target)("href",V.href,o.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:[o.TTD]}),C})(),Ts=(()=>{class C{constructor(y,V,W,Se,tt,lt){this.router=y,this.element=V,this.renderer=W,this.cdr=Se,this.link=tt,this.linkWithHref=lt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.vpe,this.routerEventsSubscription=y.events.subscribe(ut=>{ut instanceof yi&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,this.linksWithHrefs.changes,(0,g.of)(null)).pipe((0,Ge.J)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(V=>!!V).map(V=>V.onChanges);this.linkInputChangesSubscription=(0,e.D)(y).pipe((0,Ge.J)()).subscribe(V=>{this.isActive!==this.isLinkActive(this.router)(V)&&this.update()})}set routerLinkActive(y){const V=Array.isArray(y)?y:y.split(" ");this.classes=V.filter(W=>!!W)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const y=this.hasActiveLinks();this.isActive!==y&&(this.isActive=y,this.cdr.markForCheck(),this.classes.forEach(V=>{y?this.renderer.addClass(this.element.nativeElement,V):this.renderer.removeClass(this.element.nativeElement,V)}),y&&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(y))})}isLinkActive(y){const V=function Ds(C){return!!C.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return W=>!!W.urlTree&&y.isActive(W.urlTree,V)}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.linkWithHref&&y(this.linkWithHref)||this.links.some(y)||this.linksWithHrefs.some(y)}}return C.\u0275fac=function(y){return new(y||C)(o.Y36(Bi),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(La,8),o.Y36(Lo,8))},C.\u0275dir=o.lG2({type:C,selectors:[["","routerLinkActive",""]],contentQueries:function(y,V,W){if(1&y&&(o.Suo(W,La,5),o.Suo(W,Lo,5)),2&y){let Se;o.iGM(Se=o.CRH())&&(V.links=Se),o.iGM(Se=o.CRH())&&(V.linksWithHrefs=Se)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.TTD]}),C})();class Ra{}let As=(()=>{class C{constructor(y,V,W,Se,tt){this.router=y,this.injector=W,this.preloadingStrategy=Se,this.loader=tt}setUpPreloading(){this.subscription=this.router.events.pipe((0,T.h)(y=>y instanceof yi),(0,q.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,V){const W=[];for(const Se of V){Se.providers&&!Se._injector&&(Se._injector=(0,o.MMx)(Se.providers,y,`Route: ${Se.path}`));const tt=Se._injector??y,lt=Se._loadedInjector??tt;Se.loadChildren&&!Se._loadedRoutes&&void 0===Se.canLoad||Se.loadComponent&&!Se._loadedComponent?W.push(this.preloadConfig(tt,Se)):(Se.children||Se._loadedRoutes)&&W.push(this.processRoutes(lt,Se.children??Se._loadedRoutes))}return(0,e.D)(W).pipe((0,Ge.J)())}preloadConfig(y,V){return this.preloadingStrategy.preload(V,()=>{let W;W=V.loadChildren&&void 0===V.canLoad?this.loader.loadChildren(y,V):(0,g.of)(null);const Se=W.pipe((0,Y.zg)(tt=>null===tt?(0,g.of)(void 0):(V._loadedRoutes=tt.routes,V._loadedInjector=tt.injector,this.processRoutes(tt.injector??y,tt.routes))));if(V.loadComponent&&!V._loadedComponent){const tt=this.loader.loadComponent(V);return(0,e.D)([Se,tt]).pipe((0,Ge.J)())}return Se})}}return C.\u0275fac=function(y){return new(y||C)(o.LFG(Bi),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Ra),o.LFG(Eo))},C.\u0275prov=o.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const ea=new o.OlP("");let ta=(()=>{class C{constructor(y,V,W={}){this.router=y,this.viewportScroller=V,this.options=W,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},W.scrollPositionRestoration=W.scrollPositionRestoration||"disabled",W.anchorScrolling=W.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(y=>{y instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof yi&&(this.lastId=y.id,this.scheduleScrollEvent(y,this.router.parseUrl(y.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(y=>{y instanceof Lt&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,V){this.router.triggerEvent(new Lt(y,"popstate"===this.lastSource?this.store[this.restoredId]:null,V))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return C.\u0275fac=function(y){o.$Z()},C.\u0275prov=o.Yz7({token:C,factory:C.\u0275fac}),C})();function so(C,M){return{\u0275kind:C,\u0275providers:M}}function hc(C){return[{provide:xa,multi:!0,useValue:C}]}function Ci(){const C=(0,o.f3M)(o.zs3);return M=>{const y=C.get(o.z2F);if(M!==y.components[0])return;const V=C.get(Bi),W=C.get(pc);1===C.get(fl)&&V.initialNavigation(),C.get(mc,null,o.XFs.Optional)?.setUpPreloading(),C.get(ea,null,o.XFs.Optional)?.init(),V.resetRootComponentType(y.componentTypes[0]),W.next(),W.complete()}}const pc=new o.OlP("",{factory:()=>new Pe.xQ}),fl=new o.OlP("",{providedIn:"root",factory:()=>1});const mc=new o.OlP("");function R1(C){return so(0,[{provide:mc,useExisting:As},{provide:Ra,useExisting:C}])}const or=new o.OlP("ROUTER_FORROOT_GUARD"),Es=[ee.Ye,{provide:le,useClass:ht},{provide:Bi,useFactory:Na},pr,{provide:Di,useFactory:function rs(C){return C.routerState.root},deps:[Bi]},Eo];function la(){return new o.PXZ("Router",Bi)}let F1=(()=>{class C{constructor(y){}static forRoot(y,V){return{ngModule:C,providers:[Es,[],hc(y),{provide:or,useFactory:gl,deps:[[Bi,new o.FiY,new o.tp0]]},{provide:ns,useValue:V||{}},V?.useHash?{provide:ee.S$,useClass:ee.Do}:{provide:ee.S$,useClass:ee.b0},{provide:ea,useFactory:()=>{const C=(0,o.f3M)(Bi),M=(0,o.f3M)(ee.EM),y=(0,o.f3M)(ns);return y.scrollOffset&&M.setOffset(y.scrollOffset),new ta(C,M,y)}},V?.preloadingStrategy?R1(V.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:la},V?.initialNavigation?as(V):[],[{provide:_o,useFactory:Ci},{provide:o.tb,multi:!0,useExisting:_o}]]}}static forChild(y){return{ngModule:C,providers:[hc(y)]}}}return C.\u0275fac=function(y){return new(y||C)(o.LFG(or,8))},C.\u0275mod=o.oAB({type:C}),C.\u0275inj=o.cJS({imports:[ri]}),C})();function gl(C){return"guarded"}function as(C){return["disabled"===C.initialNavigation?so(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const M=(0,o.f3M)(Bi);return()=>{M.setUpLocationChangeListener()}}},{provide:fl,useValue:2}]).\u0275providers:[],"enabledBlocking"===C.initialNavigation?so(2,[{provide:fl,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:M=>{const y=M.get(ee.V_,Promise.resolve());let V=!1;return()=>y.then(()=>new Promise(Se=>{const tt=M.get(Bi),lt=M.get(pc);(function W(Se){M.get(Bi).events.pipe((0,T.h)(lt=>lt instanceof yi||lt instanceof tr||lt instanceof zr),(0,pe.U)(lt=>lt instanceof yi||lt instanceof tr&&(0===lt.code||1===lt.code)&&null),(0,T.h)(lt=>null!==lt),(0,Ne.q)(1)).subscribe(()=>{Se()})})(()=>{Se(!0),V=!0}),tt.afterPreactivation=()=>(Se(!0),V||lt.closed?(0,g.of)(void 0):lt),tt.initialNavigation()}))}}]).\u0275providers:[]]}const _o=new o.OlP("")},66616:(wt,Oe,p)=>{p.d(Oe,{ix:()=>ve,sL:()=>Y});var o=p(70655),e=p(94650),g=p(8929),s=p(23753),h=p(7625),F=p(1059),S=p(92198),b=p(72536),z=p(3187),H=p(47423),A=p(40445),j=p(36895),ne=p(47044),Pe=p(21811);const ee=["nz-button",""];function pe(k,q){1&k&&e._UZ(0,"span",1)}const X=["*"];let ve=(()=>{class k{constructor(Q,ae,de,be,ge,se){this.ngZone=Q,this.elementRef=ae,this.cdr=de,this.renderer=be,this.nzConfigService=ge,this.directionality=se,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new g.xQ,this.loading$=new g.xQ,this.nzConfigService.getConfigChangeEventForComponent("button").pipe((0,h.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(Q,ae){Q.forEach(de=>{if("#text"===de.nodeName){const be=ae.createElement("span"),ge=ae.parentNode(de);ae.insertBefore(ge,be,de),ae.appendChild(be,de)}})}assertIconOnly(Q,ae){const de=Array.from(Q.childNodes),be=de.filter(De=>{const _e=Array.from(De.childNodes||[]);return"SPAN"===De.nodeName&&_e.length>0&&_e.every(Ce=>"svg"===Ce.nodeName)}).length,ge=de.every(De=>"#text"!==De.nodeName);de.filter(De=>{const _e=Array.from(De.childNodes||[]);return!("SPAN"===De.nodeName&&_e.length>0&&_e.every(Ce=>"svg"===Ce.nodeName))}).every(De=>"SPAN"!==De.nodeName)&&ge&&be>=1&&ae.addClass(Q,"ant-btn-icon-only")}ngOnInit(){this.directionality.change?.pipe((0,h.R)(this.destroy$)).subscribe(Q=>{this.dir=Q,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,s.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,h.R)(this.destroy$)).subscribe(Q=>{(this.disabled&&"A"===Q.target?.tagName||this.nzLoading)&&(Q.preventDefault(),Q.stopImmediatePropagation())})})}ngOnChanges(Q){const{nzLoading:ae}=Q;ae&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,F.O)(this.nzLoading),(0,S.h)(()=>!!this.nzIconDirectiveElement),(0,h.R)(this.destroy$)).subscribe(Q=>{const ae=this.nzIconDirectiveElement.nativeElement;Q?this.renderer.setStyle(ae,"display","none"):this.renderer.removeStyle(ae,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return k.\u0275fac=function(Q){return new(Q||k)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(b.jY),e.Y36(A.Is,8))},k.\u0275cmp=e.Xpm({type:k,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(Q,ae,de){if(1&Q&&e.Suo(de,H.Ls,5,e.SBq),2&Q){let be;e.iGM(be=e.CRH())&&(ae.nzIconDirectiveElement=be.first)}},hostAttrs:[1,"ant-btn"],hostVars:30,hostBindings:function(Q,ae){2&Q&&(e.uIk("tabindex",ae.disabled?-1:null===ae.tabIndex?null:ae.tabIndex)("disabled",ae.disabled||null),e.ekj("ant-btn-primary","primary"===ae.nzType)("ant-btn-dashed","dashed"===ae.nzType)("ant-btn-link","link"===ae.nzType)("ant-btn-text","text"===ae.nzType)("ant-btn-circle","circle"===ae.nzShape)("ant-btn-round","round"===ae.nzShape)("ant-btn-lg","large"===ae.nzSize)("ant-btn-sm","small"===ae.nzSize)("ant-btn-dangerous",ae.nzDanger)("ant-btn-loading",ae.nzLoading)("ant-btn-background-ghost",ae.nzGhost)("ant-btn-block",ae.nzBlock)("ant-input-search-button",ae.nzSearch)("ant-btn-rtl","rtl"===ae.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[e.TTD],attrs:ee,ngContentSelectors:X,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(Q,ae){1&Q&&(e.F$t(),e.YNc(0,pe,1,0,"span",0),e.Hsn(1)),2&Q&&e.Q6J("ngIf",ae.nzLoading)},dependencies:[j.O5,H.Ls,ne.w],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,z.yF)()],k.prototype,"nzBlock",void 0),(0,o.gn)([(0,z.yF)()],k.prototype,"nzGhost",void 0),(0,o.gn)([(0,z.yF)()],k.prototype,"nzSearch",void 0),(0,o.gn)([(0,z.yF)()],k.prototype,"nzLoading",void 0),(0,o.gn)([(0,z.yF)()],k.prototype,"nzDanger",void 0),(0,o.gn)([(0,z.yF)()],k.prototype,"disabled",void 0),(0,o.gn)([(0,b.oS)()],k.prototype,"nzSize",void 0),k})(),Y=(()=>{class k{}return k.\u0275fac=function(Q){return new(Q||k)},k.\u0275mod=e.oAB({type:k}),k.\u0275inj=e.cJS({imports:[A.vT,j.ez,Pe.vG,H.PV,ne.a,ne.a,Pe.vG]}),k})()},51971:(wt,Oe,p)=>{p.d(Oe,{bd:()=>_t,vh:()=>et});var o=p(70655),e=p(94650),g=p(3187),s=p(8929),h=p(7625),F=p(72536),S=p(40445),b=p(36895),z=p(66287);function H(Ge,Ze){1&Ge&&e.Hsn(0)}const A=["*"];function j(Ge,Ze){1&Ge&&(e.TgZ(0,"div",4),e._UZ(1,"div",5),e.qZA()),2&Ge&&e.Q6J("ngClass",Ze.$implicit)}function ne(Ge,Ze){if(1&Ge&&(e.TgZ(0,"div",2),e.YNc(1,j,2,1,"div",3),e.qZA()),2&Ge){const Be=Ze.$implicit;e.xp6(1),e.Q6J("ngForOf",Be)}}function Pe(Ge,Ze){if(1&Ge&&(e.ynx(0),e._uU(1),e.BQk()),2&Ge){const Be=e.oxw(3);e.xp6(1),e.Oqu(Be.nzTitle)}}function ee(Ge,Ze){if(1&Ge&&(e.TgZ(0,"div",11),e.YNc(1,Pe,2,1,"ng-container",12),e.qZA()),2&Ge){const Be=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",Be.nzTitle)}}function pe(Ge,Ze){if(1&Ge&&(e.ynx(0),e._uU(1),e.BQk()),2&Ge){const Be=e.oxw(3);e.xp6(1),e.Oqu(Be.nzExtra)}}function X(Ge,Ze){if(1&Ge&&(e.TgZ(0,"div",13),e.YNc(1,pe,2,1,"ng-container",12),e.qZA()),2&Ge){const Be=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",Be.nzExtra)}}function Ne(Ge,Ze){}function ve(Ge,Ze){if(1&Ge&&(e.ynx(0),e.YNc(1,Ne,0,0,"ng-template",14),e.BQk()),2&Ge){const Be=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",Be.listOfNzCardTabComponent.template)}}function T(Ge,Ze){if(1&Ge&&(e.TgZ(0,"div",6)(1,"div",7),e.YNc(2,ee,2,1,"div",8),e.YNc(3,X,2,1,"div",9),e.qZA(),e.YNc(4,ve,2,1,"ng-container",10),e.qZA()),2&Ge){const Be=e.oxw();e.xp6(2),e.Q6J("ngIf",Be.nzTitle),e.xp6(1),e.Q6J("ngIf",Be.nzExtra),e.xp6(1),e.Q6J("ngIf",Be.listOfNzCardTabComponent)}}function Y(Ge,Ze){}function k(Ge,Ze){if(1&Ge&&(e.TgZ(0,"div",15),e.YNc(1,Y,0,0,"ng-template",14),e.qZA()),2&Ge){const Be=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Be.nzCover)}}function q(Ge,Ze){1&Ge&&(e.ynx(0),e.Hsn(1),e.BQk())}function Q(Ge,Ze){1&Ge&&e._UZ(0,"nz-card-loading")}function ae(Ge,Ze){}function de(Ge,Ze){if(1&Ge&&(e.TgZ(0,"li")(1,"span"),e.YNc(2,ae,0,0,"ng-template",14),e.qZA()()),2&Ge){const Be=Ze.$implicit,It=e.oxw(2);e.Udp("width",100/It.nzActions.length,"%"),e.xp6(2),e.Q6J("ngTemplateOutlet",Be)}}function be(Ge,Ze){if(1&Ge&&(e.TgZ(0,"ul",16),e.YNc(1,de,3,3,"li",17),e.qZA()),2&Ge){const Be=e.oxw();e.xp6(1),e.Q6J("ngForOf",Be.nzActions)}}let Ae=(()=>{class Ge{constructor(){this.nzHoverable=!0}}return Ge.\u0275fac=function(Be){return new(Be||Ge)},Ge.\u0275dir=e.lG2({type:Ge,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(Be,It){2&Be&&e.ekj("ant-card-hoverable",It.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]}),(0,o.gn)([(0,g.yF)()],Ge.prototype,"nzHoverable",void 0),Ge})(),Fe=(()=>{class Ge{}return Ge.\u0275fac=function(Be){return new(Be||Ge)},Ge.\u0275cmp=e.Xpm({type:Ge,selectors:[["nz-card-tab"]],viewQuery:function(Be,It){if(1&Be&&e.Gf(e.Rgc,7),2&Be){let Ot;e.iGM(Ot=e.CRH())&&(It.template=Ot.first)}},exportAs:["nzCardTab"],ngContentSelectors:A,decls:1,vars:0,template:function(Be,It){1&Be&&(e.F$t(),e.YNc(0,H,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Ge})(),Ue=(()=>{class Ge{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}}return Ge.\u0275fac=function(Be){return new(Be||Ge)},Ge.\u0275cmp=e.Xpm({type:Ge,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(Be,It){1&Be&&(e.TgZ(0,"div",0),e.YNc(1,ne,2,1,"div",1),e.qZA()),2&Be&&(e.xp6(1),e.Q6J("ngForOf",It.listOfLoading))},dependencies:[b.mk,b.sg],encapsulation:2,changeDetection:0}),Ge})(),_t=(()=>{class Ge{constructor(Be,It,Ot){this.nzConfigService=Be,this.cdr=It,this.directionality=Ot,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new s.xQ,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,h.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,h.R)(this.destroy$)).subscribe(Be=>{this.dir=Be,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ge.\u0275fac=function(Be){return new(Be||Ge)(e.Y36(F.jY),e.Y36(e.sBO),e.Y36(S.Is,8))},Ge.\u0275cmp=e.Xpm({type:Ge,selectors:[["nz-card"]],contentQueries:function(Be,It,Ot){if(1&Be&&(e.Suo(Ot,Fe,5),e.Suo(Ot,Ae,4)),2&Be){let Dt;e.iGM(Dt=e.CRH())&&(It.listOfNzCardTabComponent=Dt.first),e.iGM(Dt=e.CRH())&&(It.listOfNzCardGridDirective=Dt)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(Be,It){2&Be&&e.ekj("ant-card-loading",It.nzLoading)("ant-card-bordered",!1===It.nzBorderless&&It.nzBordered)("ant-card-hoverable",It.nzHoverable)("ant-card-small","small"===It.nzSize)("ant-card-contain-grid",It.listOfNzCardGridDirective&&It.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===It.nzType)("ant-card-contain-tabs",!!It.listOfNzCardTabComponent)("ant-card-rtl","rtl"===It.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:A,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(Be,It){if(1&Be&&(e.F$t(),e.YNc(0,T,5,3,"div",0),e.YNc(1,k,2,1,"div",1),e.TgZ(2,"div",2),e.YNc(3,q,2,0,"ng-container",3),e.YNc(4,Q,1,0,"ng-template",null,4,e.W1O),e.qZA(),e.YNc(6,be,2,1,"ul",5)),2&Be){const Ot=e.MAs(5);e.Q6J("ngIf",It.nzTitle||It.nzExtra||It.listOfNzCardTabComponent),e.xp6(1),e.Q6J("ngIf",It.nzCover),e.xp6(1),e.Q6J("ngStyle",It.nzBodyStyle),e.xp6(1),e.Q6J("ngIf",!It.nzLoading)("ngIfElse",Ot),e.xp6(3),e.Q6J("ngIf",It.nzActions.length)}},dependencies:[b.sg,b.O5,b.tP,b.PC,z.f,Ue],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,F.oS)(),(0,g.yF)()],Ge.prototype,"nzBordered",void 0),(0,o.gn)([(0,F.oS)(),(0,g.yF)()],Ge.prototype,"nzBorderless",void 0),(0,o.gn)([(0,g.yF)()],Ge.prototype,"nzLoading",void 0),(0,o.gn)([(0,F.oS)(),(0,g.yF)()],Ge.prototype,"nzHoverable",void 0),(0,o.gn)([(0,F.oS)()],Ge.prototype,"nzSize",void 0),Ge})(),et=(()=>{class Ge{}return Ge.\u0275fac=function(Be){return new(Be||Ge)},Ge.\u0275mod=e.oAB({type:Ge}),Ge.\u0275inj=e.cJS({imports:[b.ez,z.T,S.vT]}),Ge})()},11519:(wt,Oe,p)=>{p.d(Oe,{D3:()=>F,y7:()=>b});var o=p(94650),e=p(21281),g=p(56498),s=p(8929);let h=(()=>{class z{create(A){return typeof ResizeObserver>"u"?null:new ResizeObserver(A)}}return z.\u0275fac=function(A){return new(A||z)},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),F=(()=>{class z{constructor(A){this.nzResizeObserverFactory=A,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((A,j)=>this.cleanupObserver(j))}observe(A){const j=(0,e.fI)(A);return new g.y(ne=>{const ee=this.observeElement(j).subscribe(ne);return()=>{ee.unsubscribe(),this.unobserveElement(j)}})}observeElement(A){if(this.observedElements.has(A))this.observedElements.get(A).count++;else{const j=new s.xQ,ne=this.nzResizeObserverFactory.create(Pe=>j.next(Pe));ne&&ne.observe(A),this.observedElements.set(A,{observer:ne,stream:j,count:1})}return this.observedElements.get(A).stream}unobserveElement(A){this.observedElements.has(A)&&(this.observedElements.get(A).count--,this.observedElements.get(A).count||this.cleanupObserver(A))}cleanupObserver(A){if(this.observedElements.has(A)){const{observer:j,stream:ne}=this.observedElements.get(A);j&&j.disconnect(),ne.complete(),this.observedElements.delete(A)}}}return z.\u0275fac=function(A){return new(A||z)(o.LFG(h))},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),b=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=o.oAB({type:z}),z.\u0275inj=o.cJS({providers:[h]}),z})()},28213:(wt,Oe,p)=>{p.d(Oe,{Ie:()=>X,Wr:()=>ve});var o=p(70655),e=p(94650),g=p(84719),s=p(8929),h=p(23753),F=p(7625),S=p(3187),b=p(12687),z=p(40445),H=p(59570),A=p(36895);const j=["*"],ne=["inputElement"],Pe=["nz-checkbox",""];let pe=(()=>{class T{constructor(k,q){this.nzOnChange=new e.vpe,this.checkboxList=[],k.addClass(q.nativeElement,"ant-checkbox-group")}addCheckbox(k){this.checkboxList.push(k)}removeCheckbox(k){this.checkboxList.splice(this.checkboxList.indexOf(k),1)}onChange(){const k=this.checkboxList.filter(q=>q.nzChecked).map(q=>q.nzValue);this.nzOnChange.emit(k)}}return T.\u0275fac=function(k){return new(k||T)(e.Y36(e.Qsj),e.Y36(e.SBq))},T.\u0275cmp=e.Xpm({type:T,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:j,decls:1,vars:0,template:function(k,q){1&k&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),T})(),X=(()=>{class T{constructor(k,q,Q,ae,de,be,ge){this.ngZone=k,this.elementRef=q,this.nzCheckboxWrapperComponent=Q,this.cdr=ae,this.focusMonitor=de,this.directionality=be,this.nzFormStatusService=ge,this.dir="ltr",this.destroy$=new s.xQ,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new e.vpe,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null}innerCheckedChange(k){this.nzDisabled||(this.nzChecked=k,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(k){this.nzChecked=k,this.cdr.markForCheck()}registerOnChange(k){this.onChange=k}registerOnTouched(k){this.onTouched=k}setDisabledState(k){this.nzDisabled=k,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,F.R)(this.destroy$)).subscribe(k=>{k||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),this.directionality.change.pipe((0,F.R)(this.destroy$)).subscribe(k=>{this.dir=k,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.elementRef.nativeElement,"click").pipe((0,F.R)(this.destroy$)).subscribe(k=>{k.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),(0,h.R)(this.inputElement.nativeElement,"click").pipe((0,F.R)(this.destroy$)).subscribe(k=>k.stopPropagation())})}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return T.\u0275fac=function(k){return new(k||T)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(pe,8),e.Y36(e.sBO),e.Y36(b.tE),e.Y36(z.Is,8),e.Y36(H.kH,8))},T.\u0275cmp=e.Xpm({type:T,selectors:[["","nz-checkbox",""]],viewQuery:function(k,q){if(1&k&&e.Gf(ne,7),2&k){let Q;e.iGM(Q=e.CRH())&&(q.inputElement=Q.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:6,hostBindings:function(k,q){2&k&&e.ekj("ant-checkbox-wrapper-in-form-item",!!q.nzFormStatusService)("ant-checkbox-wrapper-checked",q.nzChecked)("ant-checkbox-rtl","rtl"===q.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[e._Bn([{provide:g.JU,useExisting:(0,e.Gpc)(()=>T),multi:!0}])],attrs:Pe,ngContentSelectors:j,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(k,q){1&k&&(e.F$t(),e.TgZ(0,"span",0)(1,"input",1,2),e.NdJ("ngModelChange",function(ae){return q.innerCheckedChange(ae)}),e.qZA(),e._UZ(3,"span",3),e.qZA(),e.TgZ(4,"span"),e.Hsn(5),e.qZA()),2&k&&(e.ekj("ant-checkbox-checked",q.nzChecked&&!q.nzIndeterminate)("ant-checkbox-disabled",q.nzDisabled)("ant-checkbox-indeterminate",q.nzIndeterminate),e.xp6(1),e.Q6J("checked",q.nzChecked)("ngModel",q.nzChecked)("disabled",q.nzDisabled),e.uIk("autofocus",q.nzAutoFocus?"autofocus":null)("id",q.nzId))},dependencies:[g.Wl,g.JJ,g.On],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,S.yF)()],T.prototype,"nzAutoFocus",void 0),(0,o.gn)([(0,S.yF)()],T.prototype,"nzDisabled",void 0),(0,o.gn)([(0,S.yF)()],T.prototype,"nzIndeterminate",void 0),(0,o.gn)([(0,S.yF)()],T.prototype,"nzChecked",void 0),T})(),ve=(()=>{class T{}return T.\u0275fac=function(k){return new(k||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[z.vT,A.ez,g.u5,b.rt]}),T})()},59054:(wt,Oe,p)=>{p.d(Oe,{Zv:()=>ae,cD:()=>de,yH:()=>q});var o=p(70655),e=p(94650),g=p(23753),s=p(7625),h=p(92198),F=p(32539),S=p(72536),b=p(33303),z=p(3187),H=p(40445),A=p(84903),j=p(36895),ne=p(47423),Pe=p(66287);const ee=["*"],pe=["collapseHeader"];function X(be,ge){if(1&be&&(e.ynx(0),e._UZ(1,"span",7),e.BQk()),2&be){const se=ge.$implicit,he=e.oxw(2);e.xp6(1),e.Q6J("nzType",se||"right")("nzRotate",he.nzActive?90:0)}}function Ne(be,ge){if(1&be&&(e.TgZ(0,"div"),e.YNc(1,X,2,2,"ng-container",3),e.qZA()),2&be){const se=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",se.nzExpandedIcon)}}function ve(be,ge){if(1&be&&(e.ynx(0),e._uU(1),e.BQk()),2&be){const se=e.oxw();e.xp6(1),e.Oqu(se.nzHeader)}}function T(be,ge){if(1&be&&(e.ynx(0),e._uU(1),e.BQk()),2&be){const se=e.oxw(2);e.xp6(1),e.Oqu(se.nzExtra)}}function Y(be,ge){if(1&be&&(e.TgZ(0,"div",8),e.YNc(1,T,2,1,"ng-container",3),e.qZA()),2&be){const se=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",se.nzExtra)}}const k="collapse";let q=(()=>{class be{constructor(se,he,De,_e){this.nzConfigService=se,this.cdr=he,this.directionality=De,this.destroy$=_e,this._nzModuleName=k,this.nzAccordion=!1,this.nzBordered=!0,this.nzGhost=!1,this.nzExpandIconPosition="left",this.dir="ltr",this.listOfNzCollapsePanelComponent=[],this.nzConfigService.getConfigChangeEventForComponent(k).pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(se=>{this.dir=se,this.cdr.detectChanges()}),this.dir=this.directionality.value}addPanel(se){this.listOfNzCollapsePanelComponent.push(se)}removePanel(se){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(se),1)}click(se){this.nzAccordion&&!se.nzActive&&this.listOfNzCollapsePanelComponent.filter(he=>he!==se).forEach(he=>{he.nzActive&&(he.nzActive=!1,he.nzActiveChange.emit(he.nzActive),he.markForCheck())}),se.nzActive=!se.nzActive,se.nzActiveChange.emit(se.nzActive)}}return be.\u0275fac=function(se){return new(se||be)(e.Y36(S.jY),e.Y36(e.sBO),e.Y36(H.Is,8),e.Y36(b.kn))},be.\u0275cmp=e.Xpm({type:be,selectors:[["nz-collapse"]],hostAttrs:[1,"ant-collapse"],hostVars:10,hostBindings:function(se,he){2&se&&e.ekj("ant-collapse-icon-position-left","left"===he.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===he.nzExpandIconPosition)("ant-collapse-ghost",he.nzGhost)("ant-collapse-borderless",!he.nzBordered)("ant-collapse-rtl","rtl"===he.dir)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzGhost:"nzGhost",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],features:[e._Bn([b.kn])],ngContentSelectors:ee,decls:1,vars:0,template:function(se,he){1&se&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),(0,o.gn)([(0,S.oS)(),(0,z.yF)()],be.prototype,"nzAccordion",void 0),(0,o.gn)([(0,S.oS)(),(0,z.yF)()],be.prototype,"nzBordered",void 0),(0,o.gn)([(0,S.oS)(),(0,z.yF)()],be.prototype,"nzGhost",void 0),be})();const Q="collapsePanel";let ae=(()=>{class be{constructor(se,he,De,_e,Ce,we){this.nzConfigService=se,this.ngZone=he,this.cdr=De,this.destroy$=_e,this.nzCollapseComponent=Ce,this.noAnimation=we,this._nzModuleName=Q,this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new e.vpe,this.nzConfigService.getConfigChangeEventForComponent(Q).pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}markForCheck(){this.cdr.markForCheck()}ngOnInit(){this.nzCollapseComponent.addPanel(this),this.ngZone.runOutsideAngular(()=>(0,g.R)(this.collapseHeader.nativeElement,"click").pipe((0,h.h)(()=>!this.nzDisabled),(0,s.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>{this.nzCollapseComponent.click(this),this.cdr.markForCheck()})}))}ngOnDestroy(){this.nzCollapseComponent.removePanel(this)}}return be.\u0275fac=function(se){return new(se||be)(e.Y36(S.jY),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(b.kn),e.Y36(q,1),e.Y36(A.P,8))},be.\u0275cmp=e.Xpm({type:be,selectors:[["nz-collapse-panel"]],viewQuery:function(se,he){if(1&se&&e.Gf(pe,7),2&se){let De;e.iGM(De=e.CRH())&&(he.collapseHeader=De.first)}},hostAttrs:[1,"ant-collapse-item"],hostVars:6,hostBindings:function(se,he){2&se&&e.ekj("ant-collapse-no-arrow",!he.nzShowArrow)("ant-collapse-item-active",he.nzActive)("ant-collapse-item-disabled",he.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],features:[e._Bn([b.kn])],ngContentSelectors:ee,decls:8,vars:8,consts:[["role","button",1,"ant-collapse-header"],["collapseHeader",""],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(se,he){1&se&&(e.F$t(),e.TgZ(0,"div",0,1),e.YNc(2,Ne,2,1,"div",2),e.YNc(3,ve,2,1,"ng-container",3),e.YNc(4,Y,2,1,"div",4),e.qZA(),e.TgZ(5,"div",5)(6,"div",6),e.Hsn(7),e.qZA()()),2&se&&(e.uIk("aria-expanded",he.nzActive),e.xp6(2),e.Q6J("ngIf",he.nzShowArrow),e.xp6(1),e.Q6J("nzStringTemplateOutlet",he.nzHeader),e.xp6(1),e.Q6J("ngIf",he.nzExtra),e.xp6(1),e.ekj("ant-collapse-content-active",he.nzActive),e.Q6J("@.disabled",null==he.noAnimation?null:he.noAnimation.nzNoAnimation)("@collapseMotion",he.nzActive?"expanded":"hidden"))},dependencies:[j.O5,ne.Ls,Pe.f],encapsulation:2,data:{animation:[F.J_]},changeDetection:0}),(0,o.gn)([(0,z.yF)()],be.prototype,"nzActive",void 0),(0,o.gn)([(0,z.yF)()],be.prototype,"nzDisabled",void 0),(0,o.gn)([(0,S.oS)(),(0,z.yF)()],be.prototype,"nzShowArrow",void 0),be})(),de=(()=>{class be{}return be.\u0275fac=function(se){return new(se||be)},be.\u0275mod=e.oAB({type:be}),be.\u0275inj=e.cJS({imports:[H.vT,j.ez,ne.PV,Pe.T,A.g]}),be})()},32539:(wt,Oe,p)=>{p.d(Oe,{$C:()=>Pe,J_:()=>s,LU:()=>z,YK:()=>b,mF:()=>j});var o=p(37340);let e=(()=>{class X{}return X.SLOW="0.3s",X.BASE="0.2s",X.FAST="0.1s",X})(),g=(()=>{class X{}return X.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",X.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",X.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",X.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",X.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",X.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",X.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",X.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",X.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",X.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",X.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",X.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",X.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",X.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",X})();const s=(0,o.X$)("collapseMotion",[(0,o.SB)("expanded",(0,o.oB)({height:"*"})),(0,o.SB)("collapsed",(0,o.oB)({height:0,overflow:"hidden"})),(0,o.SB)("hidden",(0,o.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,o.eR)("expanded => collapsed",(0,o.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,o.eR)("expanded => hidden",(0,o.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,o.eR)("collapsed => expanded",(0,o.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,o.eR)("hidden => expanded",(0,o.jt)(`150ms ${g.EASE_IN_OUT}`))]),b=((0,o.X$)("treeCollapseMotion",[(0,o.eR)("* => *",[(0,o.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,o.oB)({overflow:"hidden"}),(0,o.EY)(0,[(0,o.jt)(`150ms ${g.EASE_IN_OUT}`,(0,o.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,o.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,o.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,o.EY)(0,[(0,o.jt)(`150ms ${g.EASE_IN_OUT}`,(0,o.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),(0,o.X$)("fadeMotion",[(0,o.eR)(":enter",[(0,o.oB)({opacity:0}),(0,o.jt)(`${e.BASE}`,(0,o.oB)({opacity:1}))]),(0,o.eR)(":leave",[(0,o.oB)({opacity:1}),(0,o.jt)(`${e.BASE}`,(0,o.oB)({opacity:0}))])]),(0,o.X$)("helpMotion",[(0,o.eR)(":enter",[(0,o.oB)({opacity:0,transform:"translateY(-5px)"}),(0,o.jt)(`${e.SLOW} ${g.EASE_IN_OUT}`,(0,o.oB)({opacity:1,transform:"translateY(0)"}))]),(0,o.eR)(":leave",[(0,o.oB)({opacity:1,transform:"translateY(0)"}),(0,o.jt)(`${e.SLOW} ${g.EASE_IN_OUT}`,(0,o.oB)({opacity:0,transform:"translateY(-5px)"}))])]),(0,o.X$)("moveUpMotion",[(0,o.eR)("* => enter",[(0,o.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,o.jt)(`${e.BASE}`,(0,o.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,o.eR)("* => leave",[(0,o.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,o.jt)(`${e.BASE}`,(0,o.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])])),z=(0,o.X$)("notificationMotion",[(0,o.SB)("enterRight",(0,o.oB)({opacity:1,transform:"translateX(0)"})),(0,o.eR)("* => enterRight",[(0,o.oB)({opacity:0,transform:"translateX(5%)"}),(0,o.jt)("100ms linear")]),(0,o.SB)("enterLeft",(0,o.oB)({opacity:1,transform:"translateX(0)"})),(0,o.eR)("* => enterLeft",[(0,o.oB)({opacity:0,transform:"translateX(-5%)"}),(0,o.jt)("100ms linear")]),(0,o.SB)("enterTop",(0,o.oB)({opacity:1,transform:"translateY(0)"})),(0,o.eR)("* => enterTop",[(0,o.oB)({opacity:0,transform:"translateY(-5%)"}),(0,o.jt)("100ms linear")]),(0,o.SB)("enterBottom",(0,o.oB)({opacity:1,transform:"translateY(0)"})),(0,o.eR)("* => enterBottom",[(0,o.oB)({opacity:0,transform:"translateY(5%)"}),(0,o.jt)("100ms linear")]),(0,o.SB)("leave",(0,o.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,o.eR)("* => leave",[(0,o.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,o.jt)("100ms linear")])]),H=`${e.BASE} ${g.EASE_OUT_QUINT}`,A=`${e.BASE} ${g.EASE_IN_QUINT}`,j=(0,o.X$)("slideMotion",[(0,o.SB)("void",(0,o.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,o.SB)("enter",(0,o.oB)({opacity:1,transform:"scaleY(1)"})),(0,o.eR)("void => *",[(0,o.jt)(H)]),(0,o.eR)("* => void",[(0,o.jt)(A)])]),Pe=((0,o.X$)("slideAlertMotion",[(0,o.eR)(":leave",[(0,o.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,o.jt)(`${e.SLOW} ${g.EASE_IN_OUT_CIRC}`,(0,o.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),(0,o.X$)("zoomBigMotion",[(0,o.eR)("void => active",[(0,o.oB)({opacity:0,transform:"scale(0.8)"}),(0,o.jt)(`${e.BASE} ${g.EASE_OUT_CIRC}`,(0,o.oB)({opacity:1,transform:"scale(1)"}))]),(0,o.eR)("active => void",[(0,o.oB)({opacity:1,transform:"scale(1)"}),(0,o.jt)(`${e.BASE} ${g.EASE_IN_OUT_CIRC}`,(0,o.oB)({opacity:0,transform:"scale(0.8)"}))])]));(0,o.X$)("zoomBadgeMotion",[(0,o.eR)(":enter",[(0,o.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,o.jt)(`${e.SLOW} ${g.EASE_OUT_BACK}`,(0,o.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,o.eR)(":leave",[(0,o.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,o.jt)(`${e.SLOW} ${g.EASE_IN_BACK}`,(0,o.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]),(0,o.X$)("thumbMotion",[(0,o.SB)("from",(0,o.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,o.SB)("to",(0,o.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,o.eR)("from => to",(0,o.jt)(`300ms ${g.EASE_IN_OUT}`))])},33414:(wt,Oe,p)=>{p.d(Oe,{Bh:()=>g,M8:()=>F,R_:()=>Y,o2:()=>h,uf:()=>s});var o=p(98809),e=p(47952);const g=["success","processing","error","default","warning"],s=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function h(k){return-1!==s.indexOf(k)}function F(k){return-1!==g.indexOf(k)}const Pe=[{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 ee({r:k,g:q,b:Q}){const ae=(0,o.py)(k,q,Q);return{h:360*ae.h,s:ae.s,v:ae.v}}function pe({r:k,g:q,b:Q}){return`#${(0,o.vq)(k,q,Q,!1)}`}function Ne(k,q,Q){let ae;return ae=Math.round(k.h)>=60&&Math.round(k.h)<=240?Q?Math.round(k.h)-2*q:Math.round(k.h)+2*q:Q?Math.round(k.h)+2*q:Math.round(k.h)-2*q,ae<0?ae+=360:ae>=360&&(ae-=360),ae}function ve(k,q,Q){if(0===k.h&&0===k.s)return k.s;let ae;return ae=Q?k.s-.16*q:4===q?k.s+.16:k.s+.05*q,ae>1&&(ae=1),Q&&5===q&&ae>.1&&(ae=.1),ae<.06&&(ae=.06),Number(ae.toFixed(2))}function T(k,q,Q){let ae;return ae=Q?k.v+.05*q:k.v-.15*q,ae>1&&(ae=1),Number(ae.toFixed(2))}function Y(k,q={}){const Q=[],ae=(0,e.uA)(k);for(let de=5;de>0;de-=1){const be=ee(ae),ge=pe((0,e.uA)({h:Ne(be,de,!0),s:ve(be,de,!0),v:T(be,de,!0)}));Q.push(ge)}Q.push(pe(ae));for(let de=1;de<=4;de+=1){const be=ee(ae),ge=pe((0,e.uA)({h:Ne(be,de),s:ve(be,de),v:T(be,de)}));Q.push(ge)}return"dark"===q.theme?Pe.map(({index:de,opacity:be})=>pe(function X(k,q,Q){const ae=Q/100;return{r:(q.r-k.r)*ae+k.r,g:(q.g-k.g)*ae+k.g,b:(q.b-k.b)*ae+k.b}}((0,e.uA)(q.backgroundColor||"#141414"),(0,e.uA)(Q[de]),100*be))):Q}},72536:(wt,Oe,p)=>{p.d(Oe,{jY:()=>ee,oS:()=>pe});var o=p(94650),e=p(8929),g=p(92198),s=p(77604),h=p(45192),F=p(33414),S=p(88932),b=p(3187);const z=new o.OlP("nz-config"),H=`-ant-${Date.now()}-${Math.random()}`;function j(X,Ne){const ve=function A(X,Ne){const ve={},T=(q,Q)=>{let ae=q.clone();return ae=Q?.(ae)||ae,ae.toRgbString()},Y=(q,Q)=>{const ae=new h.C(q),de=(0,F.R_)(ae.toRgbString());ve[`${Q}-color`]=T(ae),ve[`${Q}-color-disabled`]=de[1],ve[`${Q}-color-hover`]=de[4],ve[`${Q}-color-active`]=de[7],ve[`${Q}-color-outline`]=ae.clone().setAlpha(.2).toRgbString(),ve[`${Q}-color-deprecated-bg`]=de[1],ve[`${Q}-color-deprecated-border`]=de[3]};if(Ne.primaryColor){Y(Ne.primaryColor,"primary");const q=new h.C(Ne.primaryColor),Q=(0,F.R_)(q.toRgbString());Q.forEach((de,be)=>{ve[`primary-${be+1}`]=de}),ve["primary-color-deprecated-l-35"]=T(q,de=>de.lighten(35)),ve["primary-color-deprecated-l-20"]=T(q,de=>de.lighten(20)),ve["primary-color-deprecated-t-20"]=T(q,de=>de.tint(20)),ve["primary-color-deprecated-t-50"]=T(q,de=>de.tint(50)),ve["primary-color-deprecated-f-12"]=T(q,de=>de.setAlpha(.12*de.getAlpha()));const ae=new h.C(Q[0]);ve["primary-color-active-deprecated-f-30"]=T(ae,de=>de.setAlpha(.3*de.getAlpha())),ve["primary-color-active-deprecated-d-02"]=T(ae,de=>de.darken(2))}return Ne.successColor&&Y(Ne.successColor,"success"),Ne.warningColor&&Y(Ne.warningColor,"warning"),Ne.errorColor&&Y(Ne.errorColor,"error"),Ne.infoColor&&Y(Ne.infoColor,"info"),`\n :root {\n ${Object.keys(ve).map(q=>`--${X}-${q}: ${ve[q]};`).join("\n")}\n }\n `.trim()}(X,Ne);(0,b.J8)()?(0,b.hq)(ve,`${H}-dynamic-theme`):(0,S.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const ne=function(X){return void 0!==X};let ee=(()=>{class X{constructor(ve){this.configUpdated$=new e.xQ,this.config=ve||{},this.config.theme&&j(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(ve){return this.config[ve]}getConfigChangeEventForComponent(ve){return this.configUpdated$.pipe((0,g.h)(T=>T===ve),(0,s.h)(void 0))}set(ve,T){this.config[ve]={...this.config[ve],...T},"theme"===ve&&this.config.theme&&j(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(ve)}}return X.\u0275fac=function(ve){return new(ve||X)(o.LFG(z,8))},X.\u0275prov=o.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function pe(){return function(Ne,ve,T){const Y=`$$__zorroConfigDecorator__${ve}`;return Object.defineProperty(Ne,Y,{configurable:!0,writable:!0,enumerable:!1}),{get(){const k=T?.get?T.get.bind(this)():this[Y],q=(this.propertyAssignCounter?.[ve]||0)>1,Q=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[ve];return q&&ne(k)?k:ne(Q)?Q:k},set(k){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[ve]=(this.propertyAssignCounter[ve]||0)+1,T?.set?T.set.bind(this)(k):this[Y]=k},configurable:!0,enumerable:!0}}}},20153:(wt,Oe,p)=>{p.d(Oe,{N:()=>o});const o={isTestMode:!1}},59570:(wt,Oe,p)=>{p.d(Oe,{kH:()=>S,mJ:()=>A,w_:()=>H,yW:()=>b});var o=p(94650),e=p(96831),g=p(591),s=p(36895),h=p(47423);function F(j,ne){if(1&j&&o._UZ(0,"span",1),2&j){const Pe=o.oxw();o.Q6J("nzType",Pe.iconType)}}let S=(()=>{class j{constructor(){this.formStatusChanges=new e.t(1)}}return j.\u0275fac=function(Pe){return new(Pe||j)},j.\u0275prov=o.Yz7({token:j,factory:j.\u0275fac}),j})(),b=(()=>{class j{constructor(){this.noFormStatus=new g.X(!1)}}return j.\u0275fac=function(Pe){return new(Pe||j)},j.\u0275prov=o.Yz7({token:j,factory:j.\u0275fac}),j})();const z={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let H=(()=>{class j{constructor(Pe){this.cdr=Pe,this.status="",this.iconType=null}ngOnChanges(Pe){this.updateIcon()}updateIcon(){this.iconType=this.status?z[this.status]:null,this.cdr.markForCheck()}}return j.\u0275fac=function(Pe){return new(Pe||j)(o.Y36(o.sBO))},j.\u0275cmp=o.Xpm({type:j,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(Pe,ee){2&Pe&&o.ekj("ant-form-item-feedback-icon-error","error"===ee.status)("ant-form-item-feedback-icon-warning","warning"===ee.status)("ant-form-item-feedback-icon-success","success"===ee.status)("ant-form-item-feedback-icon-validating","validating"===ee.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[o.TTD],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(Pe,ee){1&Pe&&o.YNc(0,F,1,1,"span",0),2&Pe&&o.Q6J("ngIf",ee.iconType)},dependencies:[s.O5,h.Ls],encapsulation:2,changeDetection:0}),j})(),A=(()=>{class j{}return j.\u0275fac=function(Pe){return new(Pe||j)},j.\u0275mod=o.oAB({type:j}),j.\u0275inj=o.cJS({imports:[s.ez,h.PV]}),j})()},88932:(wt,Oe,p)=>{p.d(Oe,{Bq:()=>s,ZK:()=>S});var o=p(94650),e=p(20153);const g={},s="[NG-ZORRO]:";const S=(...H)=>function F(H,...A){(e.N.isTestMode||(0,o.X6Q)()&&function h(...H){const A=H.reduce((j,ne)=>j+ne.toString(),"");return!g[A]&&(g[A]=!0,!0)}(...A))&&H(...A)}((...A)=>console.warn(s,...A),...H)},84903:(wt,Oe,p)=>{p.d(Oe,{P:()=>S,g:()=>b});var o=p(36895),e=p(94650),g=p(70655),s=p(21281),h=p(3187);const F="nz-animate-disabled";let S=(()=>{class z{constructor(A,j,ne){this.element=A,this.renderer=j,this.animationType=ne,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const A=(0,s.fI)(this.element);!A||(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(A,F):this.renderer.removeClass(A,F))}}return z.\u0275fac=function(A){return new(A||z)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.QbO,8))},z.\u0275dir=e.lG2({type:z,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[e.TTD]}),(0,g.gn)([(0,h.yF)()],z.prototype,"nzNoAnimation",void 0),z})(),b=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[o.ez]}),z})()},66287:(wt,Oe,p)=>{p.d(Oe,{T:()=>h,f:()=>g});var o=p(36895),e=p(94650);let g=(()=>{class F{constructor(b,z){this.viewContainer=b,this.templateRef=z,this.embeddedViewRef=null,this.context=new s,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(b,z){return!0}recreateView(){this.viewContainer.clear();const b=this.nzStringTemplateOutlet instanceof e.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(b?this.nzStringTemplateOutlet:this.templateRef,b?this.nzStringTemplateOutletContext:this.context)}updateContext(){const z=this.nzStringTemplateOutlet instanceof e.Rgc?this.nzStringTemplateOutletContext:this.context,H=this.embeddedViewRef.context;if(z)for(const A of Object.keys(z))H[A]=z[A]}ngOnChanges(b){const{nzStringTemplateOutletContext:z,nzStringTemplateOutlet:H}=b;H&&(this.context.$implicit=H.currentValue),(()=>{let ne=!1;if(H)if(H.firstChange)ne=!0;else{const X=H.currentValue instanceof e.Rgc;ne=H.previousValue instanceof e.Rgc||X}return z&&(pe=>{const X=Object.keys(pe.previousValue||{}),Ne=Object.keys(pe.currentValue||{});if(X.length===Ne.length){for(const ve of Ne)if(-1===X.indexOf(ve))return!0;return!1}return!0})(z)||ne})()?this.recreateView():this.updateContext()}}return F.\u0275fac=function(b){return new(b||F)(e.Y36(e.s_b),e.Y36(e.Rgc))},F.\u0275dir=e.lG2({type:F,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[e.TTD]}),F})();class s{}let h=(()=>{class F{}return F.\u0275fac=function(b){return new(b||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[o.ez]}),F})()},51691:(wt,Oe,p)=>{p.d(Oe,{Ek:()=>b,bw:()=>Pe,d_:()=>j,dz:()=>ne,e4:()=>pe,hQ:()=>ee,yW:()=>S});var o=p(70655),e=p(98184),g=p(94650),s=p(7625),h=p(33303),F=p(3187);const S={top:new e.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new e.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new e.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new e.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new e.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new e.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new e.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new e.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new e.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new e.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new e.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new e.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new e.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new e.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},b=[S.top,S.right,S.bottom,S.left];function j(X){for(const Ne in S)if(X.connectionPair.originX===S[Ne].originX&&X.connectionPair.originY===S[Ne].originY&&X.connectionPair.overlayX===S[Ne].overlayX&&X.connectionPair.overlayY===S[Ne].overlayY)return Ne}new e.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new e.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new e.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"});const ne={bottomLeft:new e.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new e.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new e.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new e.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},Pe=[ne.bottomLeft,ne.topLeft,ne.bottomRight,ne.topRight];let ee=(()=>{class X{constructor(ve,T){this.cdkConnectedOverlay=ve,this.nzDestroyService=T,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,s.R)(this.nzDestroyService)).subscribe(Y=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(Y)})}updateArrowPosition(ve){const T=this.getOriginRect(),Y=j(ve);let k=0,q=0;"topLeft"===Y||"bottomLeft"===Y?k=T.width/2-14:"topRight"===Y||"bottomRight"===Y?k=-(T.width/2-14):"leftTop"===Y||"rightTop"===Y?q=T.height/2-10:("leftBottom"===Y||"rightBottom"===Y)&&(q=-(T.height/2-10)),(this.cdkConnectedOverlay.offsetX!==k||this.cdkConnectedOverlay.offsetY!==q)&&(this.cdkConnectedOverlay.offsetY=q,this.cdkConnectedOverlay.offsetX=k,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof e.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const ve=this.getFlexibleConnectedPositionStrategyOrigin();if(ve instanceof g.SBq)return ve.nativeElement.getBoundingClientRect();if(ve instanceof Element)return ve.getBoundingClientRect();const T=ve.width||0,Y=ve.height||0;return{top:ve.y,bottom:ve.y+Y,left:ve.x,right:ve.x+T,height:Y,width:T}}}return X.\u0275fac=function(ve){return new(ve||X)(g.Y36(e.pI),g.Y36(h.kn))},X.\u0275dir=g.lG2({type:X,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[g._Bn([h.kn])]}),(0,o.gn)([(0,F.yF)()],X.prototype,"nzArrowPointAtCenter",void 0),X})(),pe=(()=>{class X{}return X.\u0275fac=function(ve){return new(ve||X)},X.\u0275mod=g.oAB({type:X}),X.\u0275inj=g.cJS({}),X})()},85469:(wt,Oe,p)=>{p.d(Oe,{e:()=>h,h:()=>s});const o=["moz","ms","webkit"];function s(F){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(F);const S=o.filter(b=>`${b}CancelAnimationFrame`in window||`${b}CancelRequestAnimationFrame`in window)[0];return S?(window[`${S}CancelAnimationFrame`]||window[`${S}CancelRequestAnimationFrame`]).call(this,F):clearTimeout(F)}const h=function g(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const F=o.filter(S=>`${S}RequestAnimationFrame`in window)[0];return F?window[`${F}RequestAnimationFrame`]:function e(){let F=0;return function(S){const b=(new Date).getTime(),z=Math.max(0,16-(b-F)),H=setTimeout(()=>{S(b+z)},z);return F=b+z,H}}()}()},33303:(wt,Oe,p)=>{p.d(Oe,{G_:()=>ve,KV:()=>Pe,WV:()=>T,kn:()=>q,r3:()=>k,rI:()=>j});var o=p(94650),e=p(8929),g=p(57138),s=p(40537),h=p(7625),F=p(24850),S=p(1059),b=p(75778),z=p(20153),H=p(62289);const A=()=>{};let j=(()=>{class ae{constructor(be,ge){this.ngZone=be,this.rendererFactory2=ge,this.resizeSource$=new e.xQ,this.listeners=0,this.disposeHandle=A,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=A}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,g.e)(16),(0,s.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=A)}}return ae.\u0275fac=function(be){return new(be||ae)(o.LFG(o.R0b),o.LFG(o.FYo))},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})();const ne=new Map;let Pe=(()=>{class ae{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return z.N.isTestMode?ne:this._singletonRegistry}registerSingletonWithKey(be,ge){const se=this.singletonRegistry.has(be),he=se?this.singletonRegistry.get(be):this.withNewTarget(ge);se||this.singletonRegistry.set(be,he)}getSingletonWithKey(be){return this.singletonRegistry.has(be)?this.singletonRegistry.get(be).target:null}withNewTarget(be){return{target:be}}}return ae.\u0275fac=function(be){return new(be||ae)},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})();var ve=(()=>{return(ae=ve||(ve={})).xxl="xxl",ae.xl="xl",ae.lg="lg",ae.md="md",ae.sm="sm",ae.xs="xs",ve;var ae})();const T={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let k=(()=>{class ae{constructor(be,ge){this.resizeService=be,this.mediaMatcher=ge,this.destroy$=new e.xQ,this.resizeService.subscribe().pipe((0,h.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(be,ge){if(ge){const se=()=>this.matchMedia(be,!0);return this.resizeService.subscribe().pipe((0,F.U)(se),(0,S.O)(se()),(0,b.x)((he,De)=>he[0]===De[0]),(0,F.U)(he=>he[1]))}{const se=()=>this.matchMedia(be);return this.resizeService.subscribe().pipe((0,F.U)(se),(0,S.O)(se()),(0,b.x)())}}matchMedia(be,ge){let se=ve.md;const he={};return Object.keys(be).map(De=>{const _e=De,Ce=this.mediaMatcher.matchMedia(T[_e]).matches;he[De]=Ce,Ce&&(se=_e)}),ge?[se,he]:se}}return ae.\u0275fac=function(be){return new(be||ae)(o.LFG(j),o.LFG(H.vx))},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),q=(()=>{class ae extends e.xQ{ngOnDestroy(){this.next(),this.complete()}}return ae.\u0275fac=function(){let de;return function(ge){return(de||(de=o.n5z(ae)))(ge||ae)}}(),ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac}),ae})()},24474:(wt,Oe,p)=>{p.d(Oe,{Yp:()=>ze,ky:()=>Ie,_p:()=>te,Et:()=>je,xR:()=>R});var o=p(90895),e=p(80953),g=p(40833),h=p(91998);function S(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,h.Z)(B);if(isNaN(He))return new Date(NaN);if(!He)return ce;var vt=ce.getDate(),xt=new Date(ce.getTime());xt.setMonth(ce.getMonth()+He+1,0);var Rt=xt.getDate();return vt>=Rt?xt:(ce.setFullYear(xt.getFullYear(),xt.getMonth(),vt),ce)}function z(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U),ce=B.getFullYear(),He=B.getMonth(),vt=new Date(0);return vt.setFullYear(ce,He+1,0),vt.setHours(0,0,0,0),vt.getDate()}function A(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,h.Z)(B);return isNaN(He)?new Date(NaN):(He&&ce.setDate(ce.getDate()+He),ce)}function ne(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,e.Z)(B);return ce.getFullYear()===He.getFullYear()}function Pe(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,e.Z)(B);return ce.getFullYear()===He.getFullYear()&&ce.getMonth()===He.getMonth()}function ee(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setHours(0,0,0,0),B}function pe(U,B){(0,g.Z)(2,arguments);var ce=ee(U),He=ee(B);return ce.getTime()===He.getTime()}function X(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setMinutes(0,0,0),B}function Ne(U,B){(0,g.Z)(2,arguments);var ce=X(U),He=X(B);return ce.getTime()===He.getTime()}function ve(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setSeconds(0,0),B}function T(U,B){(0,g.Z)(2,arguments);var ce=ve(U),He=ve(B);return ce.getTime()===He.getTime()}function Y(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setMilliseconds(0),B}function k(U,B){(0,g.Z)(2,arguments);var ce=Y(U),He=Y(B);return ce.getTime()===He.getTime()}function q(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,e.Z)(B);return ce.getFullYear()-He.getFullYear()}function Q(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,e.Z)(B),vt=ce.getFullYear()-He.getFullYear(),xt=ce.getMonth()-He.getMonth();return 12*vt+xt}var ae=p(9868);function be(U,B){(0,g.Z)(2,arguments);var ce=ee(U),He=ee(B),vt=ce.getTime()-(0,ae.Z)(ce),xt=He.getTime()-(0,ae.Z)(He);return Math.round((vt-xt)/864e5)}function Ft(U,B){return(0,g.Z)(2,arguments),(0,e.Z)(U).getTime()-(0,e.Z)(B).getTime()}Math.pow(10,8);var et={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(U){return U<0?Math.ceil(U):Math.floor(U)}};function Ze(U){return U?et[U]:et.trunc}function Be(U,B,ce){(0,g.Z)(2,arguments);var He=Ft(U,B)/36e5;return Ze(ce?.roundingMethod)(He)}function It(U,B,ce){(0,g.Z)(2,arguments);var He=Ft(U,B)/6e4;return Ze(ce?.roundingMethod)(He)}function Ot(U,B,ce){(0,g.Z)(2,arguments);var He=Ft(U,B)/1e3;return Ze(ce?.roundingMethod)(He)}var Bt=p(90900);function pt(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setHours(23,59,59,999),B}function Pt(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U),ce=B.getMonth();return B.setFullYear(B.getFullYear(),ce+1,0),B.setHours(23,59,59,999),B}var Jt=p(88932),Me=p(36895),dt=p(3187);function je(U){const[B,ce]=U;return!!B&&!!ce&&ce.isBeforeDay(B)}function te(U,B,ce="month",He="left"){const[vt,xt]=U;let Rt=vt||new ze,Ct=xt||(B?Rt:Rt.add(1,ce));return vt&&!xt?(Rt=vt,Ct=B?vt:vt.add(1,ce)):!vt&&xt?(Rt=B?xt:xt.add(-1,ce),Ct=xt):vt&&xt&&!B&&(vt.isSame(xt,ce)||"left"===He?Ct=Rt.add(1,ce):Rt=Ct.add(-1,ce)),[Rt,Ct]}function Ie(U){return Array.isArray(U)?U.map(B=>B instanceof ze?B.clone():null):U instanceof ze?U.clone():null}class ze{constructor(B){if(B)if(B instanceof Date)this.nativeDate=B;else{if("string"!=typeof B&&"number"!=typeof B)throw new Error('The input date type is not supported ("Date" is now recommended)');(0,Jt.ZK)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(B)}else this.nativeDate=new Date}calendarStart(B){return new ze((0,o.Z)(function s(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return B.setDate(1),B.setHours(0,0,0,0),B}(this.nativeDate),B))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new ze(new Date(this.nativeDate))}setHms(B,ce,He){const vt=new Date(this.nativeDate.setHours(B,ce,He));return new ze(vt)}setYear(B){return new ze(function F(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,h.Z)(B);return isNaN(ce.getTime())?new Date(NaN):(ce.setFullYear(He),ce)}(this.nativeDate,B))}addYears(B){return new ze(function b(U,B){(0,g.Z)(2,arguments);var ce=(0,h.Z)(B);return S(U,12*ce)}(this.nativeDate,B))}setMonth(B){return new ze(function H(U,B){(0,g.Z)(2,arguments);var ce=(0,e.Z)(U),He=(0,h.Z)(B),vt=ce.getFullYear(),xt=ce.getDate(),Rt=new Date(0);Rt.setFullYear(vt,He,15),Rt.setHours(0,0,0,0);var Ct=z(Rt);return ce.setMonth(He,Math.min(xt,Ct)),ce}(this.nativeDate,B))}addMonths(B){return new ze(S(this.nativeDate,B))}setDay(B,ce){return new ze(function j(U,B,ce){(0,g.Z)(2,arguments);var He=ce||{},vt=He.locale,xt=vt&&vt.options&&vt.options.weekStartsOn,Rt=null==xt?0:(0,h.Z)(xt),Ct=null==He.weekStartsOn?Rt:(0,h.Z)(He.weekStartsOn);if(!(Ct>=0&&Ct<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Kt=(0,e.Z)(U),bt=(0,h.Z)(B),qt=Kt.getDay(),le=(bt%7+7)%7,ht=7-Ct;return A(Kt,bt<0||bt>6?bt-(qt+ht)%7:(le+ht)%7-(qt+ht)%7)}(this.nativeDate,B,ce))}setDate(B){const ce=new Date(this.nativeDate);return ce.setDate(B),new ze(ce)}addDays(B){return this.setDate(this.getDate()+B)}add(B,ce){switch(ce){case"decade":return this.addYears(10*B);case"year":return this.addYears(B);default:return this.addMonths(B)}}isSame(B,ce="day"){let He;switch(ce){case"decade":He=(vt,xt)=>Math.abs(vt.getFullYear()-xt.getFullYear())<11;break;case"year":He=ne;break;case"month":He=Pe;break;case"day":default:He=pe;break;case"hour":He=Ne;break;case"minute":He=T;break;case"second":He=k}return He(this.nativeDate,this.toNativeDate(B))}isSameYear(B){return this.isSame(B,"year")}isSameMonth(B){return this.isSame(B,"month")}isSameDay(B){return this.isSame(B,"day")}isSameHour(B){return this.isSame(B,"hour")}isSameMinute(B){return this.isSame(B,"minute")}isSameSecond(B){return this.isSame(B,"second")}isBefore(B,ce="day"){if(null===B)return!1;let He;switch(ce){case"year":He=q;break;case"month":He=Q;break;case"day":default:He=be;break;case"hour":He=Be;break;case"minute":He=It;break;case"second":He=Ot}return He(this.nativeDate,this.toNativeDate(B))<0}isBeforeYear(B){return this.isBefore(B,"year")}isBeforeMonth(B){return this.isBefore(B,"month")}isBeforeDay(B){return this.isBefore(B,"day")}isToday(){return function Dt(U){return(0,g.Z)(1,arguments),pe(U,Date.now())}(this.nativeDate)}isValid(){return(0,Bt.Z)(this.nativeDate)}isFirstDayOfMonth(){return function nt(U){return(0,g.Z)(1,arguments),1===(0,e.Z)(U).getDate()}(this.nativeDate)}isLastDayOfMonth(){return function Qt(U){(0,g.Z)(1,arguments);var B=(0,e.Z)(U);return pt(B).getTime()===Pt(B).getTime()}(this.nativeDate)}toNativeDate(B){return B instanceof ze?B.nativeDate:B}}class R{constructor(B,ce){this.format=B,this.localeId=ce,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(B){const ce=this.getTimeResult(B),He=new Date;return(0,dt.DX)(ce?.hour)&&He.setHours(ce.hour),(0,dt.DX)(ce?.minute)&&He.setMinutes(ce.minute),(0,dt.DX)(ce?.second)&&He.setSeconds(ce.second),1===ce?.period&&He.getHours()<12&&He.setHours(He.getHours()+12),He}getTimeResult(B){const ce=this.regex.exec(B);let He=null;return ce?((0,dt.DX)(this.matchMap.periodNarrow)&&(He=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Narrow).indexOf(ce[this.matchMap.periodNarrow+1])),(0,dt.DX)(this.matchMap.periodWide)&&(He=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Wide).indexOf(ce[this.matchMap.periodWide+1])),(0,dt.DX)(this.matchMap.periodAbbreviated)&&(He=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Abbreviated).indexOf(ce[this.matchMap.periodAbbreviated+1])),{hour:(0,dt.DX)(this.matchMap.hour)?Number.parseInt(ce[this.matchMap.hour+1],10):null,minute:(0,dt.DX)(this.matchMap.minute)?Number.parseInt(ce[this.matchMap.minute+1],10):null,second:(0,dt.DX)(this.matchMap.second)?Number.parseInt(ce[this.matchMap.second+1],10):null,period:He}):null}genRegexp(){let B=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const ce=/h{1,2}/i,He=/m{1,2}/,vt=/s{1,2}/,xt=/aaaaa/,Rt=/aaaa/,Ct=/a{1,3}/,Kt=ce.exec(this.format),bt=He.exec(this.format),qt=vt.exec(this.format),Qe=xt.exec(this.format);let le=null,ht=null;Qe||(le=Rt.exec(this.format)),!le&&!Qe&&(ht=Ct.exec(this.format)),[Kt,bt,qt,Qe,le,ht].filter(at=>!!at).sort((at,Ke)=>at.index-Ke.index).forEach((at,Ke)=>{switch(at){case Kt:this.matchMap.hour=Ke,B=B.replace(ce,"(\\d{1,2})");break;case bt:this.matchMap.minute=Ke,B=B.replace(He,"(\\d{1,2})");break;case qt:this.matchMap.second=Ke,B=B.replace(vt,"(\\d{1,2})");break;case Qe:this.matchMap.periodNarrow=Ke;const Re=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Narrow).join("|");B=B.replace(xt,`(${Re})`);break;case le:this.matchMap.periodWide=Ke;const mt=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Wide).join("|");B=B.replace(Rt,`(${mt})`);break;case ht:this.matchMap.periodAbbreviated=Ke;const Ht=(0,Me.ol)(this.localeId,Me.x.Format,Me.Tn.Abbreviated).join("|");B=B.replace(Ct,`(${Ht})`)}}),this.regex=new RegExp(B)}}},47044:(wt,Oe,p)=>{p.d(Oe,{a:()=>s,w:()=>g});var o=p(83353),e=p(94650);let g=(()=>{class h{constructor(S,b){this.elementRef=S,this.renderer=b,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return h.\u0275fac=function(S){return new(S||h)(e.Y36(e.SBq),e.Y36(e.Qsj))},h.\u0275dir=e.lG2({type:h,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[e.TTD]}),h})(),s=(()=>{class h{}return h.\u0275fac=function(S){return new(S||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[o.ud]}),h})()},3187:(wt,Oe,p)=>{p.d(Oe,{D8:()=>ke,DX:()=>H,HH:()=>ne,He:()=>pe,J8:()=>ce,Rn:()=>k,Sm:()=>Mt,WX:()=>X,YM:()=>Ue,Zu:()=>Qe,cO:()=>b,de:()=>Pe,hq:()=>qt,kK:()=>A,lN:()=>B,pW:()=>Q,rw:()=>Ne,sw:()=>ee,tI:()=>_e,ui:()=>Fe,yF:()=>T});var o=p(94650),e=p(21281),g=p(88932),s=p(54715),h=p(5254),F=p(21086);function b(le,ht){if(!le||!ht||le.length!==ht.length)return!1;const Vt=le.length;for(let at=0;at"u"||null===le}function ne(le){return"string"==typeof le&&""!==le}function Pe(le){return le instanceof o.Rgc}function ee(le){return(0,e.Ig)(le)}function pe(le,ht=0){return(0,e.t6)(le)?Number(le):ht}function X(le){return(0,e.HM)(le)}function Ne(le,...ht){return"function"==typeof le?le(...ht):le}function ve(le,ht){return function Vt(at,Ke,Re){const mt=`$$__zorroPropDecorator__${Ke}`;return Object.prototype.hasOwnProperty.call(at,mt)&&(0,g.ZK)(`The prop "${mt}" is already exist, it will be overrided by ${le} decorator.`),Object.defineProperty(at,mt,{configurable:!0,writable:!0}),{get(){return Re&&Re.get?Re.get.bind(this)():this[mt]},set(Ht){Re&&Re.set&&Re.set.bind(this)(ht(Ht)),this[mt]=ht(Ht)}}}}function T(){return ve("InputBoolean",ee)}function k(le){return ve("InputNumber",ht=>pe(ht,le))}function Q(le){if(!le.getClientRects().length)return{top:0,left:0};const ht=le.getBoundingClientRect(),Vt=le.ownerDocument.defaultView;return{top:ht.top+Vt.pageYOffset,left:ht.left+Vt.pageXOffset}}function _e(le){return!!le&&"function"==typeof le.then&&"function"==typeof le.catch}function Fe(le){return"number"==typeof le&&isFinite(le)}function Ue(le,ht){return Math.round(le*Math.pow(10,ht))/Math.pow(10,ht)}function Mt(le,ht=0){return le.reduce((Vt,at)=>Vt+at,ht)}let te,Ie;typeof window<"u"&&window;const ze={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function ke(le="vertical",ht="ant"){if(typeof document>"u"||typeof window>"u")return 0;const Vt="vertical"===le;if(Vt&&te)return te;if(!Vt&&Ie)return Ie;const at=document.createElement("div");Object.keys(ze).forEach(Re=>{at.style[Re]=ze[Re]}),at.className=`${ht}-hide-scrollbar scroll-div-append-to-body`,Vt?at.style.overflowY="scroll":at.style.overflowX="scroll",document.body.appendChild(at);let Ke=0;return Vt?(Ke=at.offsetWidth-at.clientWidth,te=Ke):(Ke=at.offsetHeight-at.clientHeight,Ie=Ke),document.body.removeChild(at),Ke}function B(le){return(0,s.b)(le)?le:_e(le)?(0,h.D)(Promise.resolve(le)):(0,F.of)(le)}function ce(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function vt({mark:le}={}){return le?le.startsWith("data-")?le:`data-${le}`:"rc-util-key"}function xt(le){return le.attachTo?le.attachTo:document.querySelector("head")||document.body}function Rt(le,ht={}){if(!ce())return null;const Vt=document.createElement("style");ht.csp?.nonce&&(Vt.nonce=ht.csp?.nonce),Vt.innerHTML=le;const at=xt(ht),{firstChild:Ke}=at;return ht.prepend&&at.prepend?at.prepend(Vt):ht.prepend&&Ke?at.insertBefore(Vt,Ke):at.appendChild(Vt),Vt}const Ct=new Map;function qt(le,ht,Vt={}){const at=xt(Vt);if(!Ct.has(at)){const mt=Rt("",Vt),{parentNode:Ht}=mt;Ct.set(at,Ht),Ht.removeChild(mt)}const Ke=function Kt(le,ht={}){const Vt=xt(ht);return Array.from(Ct.get(Vt)?.children||[]).find(at=>"STYLE"===at.tagName&&at.getAttribute(vt(ht))===le)}(ht,Vt);if(Ke)return Vt.csp?.nonce&&Ke.nonce!==Vt.csp?.nonce&&(Ke.nonce=Vt.csp?.nonce),Ke.innerHTML!==le&&(Ke.innerHTML=le),Ke;const Re=Rt(le,Vt);return Re?.setAttribute(vt(Vt),ht),Re}function Qe(le,ht,Vt){return{[`${le}-status-success`]:"success"===ht,[`${le}-status-warning`]:"warning"===ht,[`${le}-status-error`]:"error"===ht,[`${le}-status-validating`]:"validating"===ht,[`${le}-has-feedback`]:Vt}}},21811:(wt,Oe,p)=>{p.d(Oe,{dQ:()=>S,vG:()=>b});var o=p(83353),e=p(94650);class g{constructor(H,A,j,ne){this.triggerElement=H,this.ngZone=A,this.insertExtraNode=j,this.platformId=ne,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=Pe=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===Pe.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new o.t4(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const H=this.triggerElement,A=this.getWaveColor(H);H.setAttribute(this.waveAttributeName,"true"),!(Date.now(){H.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(H){return!!H&&"#ffffff"!==H&&"rgb(255, 255, 255)"!==H&&this.isNotGrey(H)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(H)&&"transparent"!==H}isNotGrey(H){const A=H.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(A&&A[1]&&A[2]&&A[3]&&A[1]===A[2]&&A[2]===A[3])}getWaveColor(H){const A=getComputedStyle(H);return A.getPropertyValue("border-top-color")||A.getPropertyValue("border-color")||A.getPropertyValue("background-color")}runTimeoutOutsideZone(H,A){this.ngZone.runOutsideAngular(()=>setTimeout(H,A))}}const s={disabled:!1},h=new e.OlP("nz-wave-global-options",{providedIn:"root",factory:function F(){return s}});let S=(()=>{class z{constructor(A,j,ne,Pe,ee){this.ngZone=A,this.elementRef=j,this.config=ne,this.animationType=Pe,this.platformId=ee,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let A=!1;return this.config&&"boolean"==typeof this.config.disabled&&(A=this.config.disabled),"NoopAnimations"===this.animationType&&(A=!0),A}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new g(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return z.\u0275fac=function(A){return new(A||z)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(h,8),e.Y36(e.QbO,8),e.Y36(e.Lbi))},z.\u0275dir=e.lG2({type:z,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),z})(),b=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[o.ud]}),z})()},5259:(wt,Oe,p)=>{p.d(Oe,{uw:()=>Ii,Hb:()=>aa,wS:()=>oa});var o=p(40445),e=p(98184),g=p(36895),s=p(94650),h=p(84719),F=p(66616),S=p(59570),b=p(84903),z=p(66287),H=p(51691),A=p(47423),j=p(70655),ne=p(8929),Pe=p(23753),ee=p(7625),pe=p(3187),X=p(93531),Ne=p(47044),ve=p(85469),T=p(21811);const Y=["hourListElement"],k=["minuteListElement"],q=["secondListElement"],Q=["use12HoursListElement"];function ae($,Je){if(1&$&&(s.TgZ(0,"div",4)(1,"div",5),s._uU(2),s.qZA()()),2&$){const m=s.oxw();s.xp6(2),s.Oqu(m.dateHelper.format(null==m.time?null:m.time.value,m.format)||"\xa0")}}function de($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li",10),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw().$implicit,ct=s.oxw(2);return s.KtG(ct.selectHour(Te))}),s.TgZ(1,"div",11),s._uU(2),s.ALo(3,"number"),s.qZA()()}if(2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.ekj("ant-picker-time-panel-cell-selected",Z.isSelectedHour(m))("ant-picker-time-panel-cell-disabled",m.disabled),s.xp6(2),s.Oqu(s.xi3(3,5,m.index,"2.0-0"))}}function be($,Je){if(1&$&&(s.ynx(0),s.YNc(1,de,4,8,"li",9),s.BQk()),2&$){const m=Je.$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!(Z.nzHideDisabledOptions&&m.disabled))}}function ge($,Je){if(1&$&&(s.TgZ(0,"ul",6,7),s.YNc(2,be,2,1,"ng-container",8),s.qZA()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngForOf",m.hourRange)("ngForTrackBy",m.trackByFn)}}function se($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li",10),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw().$implicit,ct=s.oxw(2);return s.KtG(ct.selectMinute(Te))}),s.TgZ(1,"div",11),s._uU(2),s.ALo(3,"number"),s.qZA()()}if(2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.ekj("ant-picker-time-panel-cell-selected",Z.isSelectedMinute(m))("ant-picker-time-panel-cell-disabled",m.disabled),s.xp6(2),s.Oqu(s.xi3(3,5,m.index,"2.0-0"))}}function he($,Je){if(1&$&&(s.ynx(0),s.YNc(1,se,4,8,"li",9),s.BQk()),2&$){const m=Je.$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!(Z.nzHideDisabledOptions&&m.disabled))}}function De($,Je){if(1&$&&(s.TgZ(0,"ul",6,12),s.YNc(2,he,2,1,"ng-container",8),s.qZA()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngForOf",m.minuteRange)("ngForTrackBy",m.trackByFn)}}function _e($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li",10),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw().$implicit,ct=s.oxw(2);return s.KtG(ct.selectSecond(Te))}),s.TgZ(1,"div",11),s._uU(2),s.ALo(3,"number"),s.qZA()()}if(2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.ekj("ant-picker-time-panel-cell-selected",Z.isSelectedSecond(m))("ant-picker-time-panel-cell-disabled",m.disabled),s.xp6(2),s.Oqu(s.xi3(3,5,m.index,"2.0-0"))}}function Ce($,Je){if(1&$&&(s.ynx(0),s.YNc(1,_e,4,8,"li",9),s.BQk()),2&$){const m=Je.$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!(Z.nzHideDisabledOptions&&m.disabled))}}function we($,Je){if(1&$&&(s.TgZ(0,"ul",6,13),s.YNc(2,Ce,2,1,"ng-container",8),s.qZA()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngForOf",m.secondRange)("ngForTrackBy",m.trackByFn)}}function Ae($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li",10),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw().$implicit,ct=s.oxw(2);return s.KtG(ct.select12Hours(Te))}),s.TgZ(1,"div",11),s._uU(2),s.qZA()()}if(2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.ekj("ant-picker-time-panel-cell-selected",Z.isSelected12Hours(m)),s.xp6(2),s.Oqu(m.value)}}function Fe($,Je){if(1&$&&(s.ynx(0),s.YNc(1,Ae,3,3,"li",16),s.BQk()),2&$){const m=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!m.nzHideDisabledOptions)}}function Ue($,Je){if(1&$&&(s.TgZ(0,"ul",6,14),s.YNc(2,Fe,2,1,"ng-container",15),s.qZA()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngForOf",m.use12HoursRange)}}function Mt($,Je){}function _t($,Je){if(1&$&&(s.TgZ(0,"div",24),s.YNc(1,Mt,0,0,"ng-template",25),s.qZA()),2&$){const m=s.oxw(2);s.xp6(1),s.Q6J("ngTemplateOutlet",m.nzAddOn)}}function Ft($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"div",17),s.YNc(1,_t,2,1,"div",18),s.TgZ(2,"ul",19)(3,"li",20)(4,"a",21),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw();return s.KtG(Te.onClickNow())}),s._uU(5),s.ALo(6,"nzI18n"),s.qZA()(),s.TgZ(7,"li",22)(8,"button",23),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw();return s.KtG(Te.onClickOk())}),s._uU(9),s.ALo(10,"nzI18n"),s.qZA()()()()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("ngIf",m.nzAddOn),s.xp6(4),s.hij(" ",m.nzNowText||s.lcZ(6,3,"Calendar.lang.now")," "),s.xp6(4),s.hij(" ",m.nzOkText||s.lcZ(10,5,"Calendar.lang.ok")," ")}}class Ot{constructor(){this.selected12Hours=void 0,this._use12Hours=!1,this._changes=new ne.xQ}setMinutes(Je,m){return m||(this.initValue(),this.value.setMinutes(Je),this.update()),this}setHours(Je,m){return m||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==Je?Je+12:"AM"===this.selected12Hours&&12===Je?0:Je:Je),this.update()),this}setSeconds(Je,m){return m||(this.initValue(),this.value.setSeconds(Je),this.update()),this}setUse12Hours(Je){return this._use12Hours=Je,this}get changes(){return this._changes.asObservable()}setValue(Je,m){return(0,pe.DX)(m)&&(this._use12Hours=m),Je!==this.value&&(this._value=Je,(0,pe.DX)(this.value)?this._use12Hours&&(0,pe.DX)(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){(0,pe.kK)(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!((0,pe.DX)(this.hours)||(0,pe.DX)(this.minutes)||(0,pe.DX)(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:((0,pe.DX)(this.hours)&&this.value.setHours(this.hours),(0,pe.DX)(this.minutes)&&this.value.setMinutes(this.minutes),(0,pe.DX)(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&(0,pe.DX)(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(Je){Je.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=Je.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(Je){return this._defaultOpenValue=Je,this}calculateViewHour(Je){const m=this.selected12Hours;return"PM"===m&&Je>12?Je-12:"AM"===m&&0===Je?12:Je}}function Dt($,Je=1,m=0){return new Array(Math.ceil($/Je)).fill(0).map((Z,Te)=>(Te+m)*Je)}let Bt=(()=>{class ${constructor(m,Z,Te,ct){this.ngZone=m,this.cdr=Z,this.dateHelper=Te,this.elementRef=ct,this._nzHourStep=1,this._nzMinuteStep=1,this._nzSecondStep=1,this.unsubscribe$=new ne.xQ,this._format="HH:mm:ss",this._disabledHours=()=>[],this._disabledMinutes=()=>[],this._disabledSeconds=()=>[],this._allowEmpty=!0,this.time=new Ot,this.hourEnabled=!0,this.minuteEnabled=!0,this.secondEnabled=!0,this.firstScrolled=!1,this.enabledColumns=3,this.nzInDatePicker=!1,this.nzHideDisabledOptions=!1,this.nzUse12Hours=!1,this.closePanel=new s.vpe}set nzAllowEmpty(m){(0,pe.DX)(m)&&(this._allowEmpty=m)}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(m){this._disabledHours=m,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(m){(0,pe.DX)(m)&&(this._disabledMinutes=m,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(m){(0,pe.DX)(m)&&(this._disabledSeconds=m,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(m){if((0,pe.DX)(m)){this._format=m,this.enabledColumns=0;const Z=new Set(m);this.hourEnabled=Z.has("H")||Z.has("h"),this.minuteEnabled=Z.has("m"),this.secondEnabled=Z.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(m){(0,pe.DX)(m)&&(this._nzHourStep=m,this.buildHours())}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(m){(0,pe.DX)(m)&&(this._nzMinuteStep=m,this.buildMinutes())}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(m){(0,pe.DX)(m)&&(this._nzSecondStep=m,this.buildSeconds())}get nzSecondStep(){return this._nzSecondStep}trackByFn(m){return m}buildHours(){let m=24,Z=this.nzDisabledHours?.(),Te=0;if(this.nzUse12Hours&&(m=12,Z&&(Z="PM"===this.time.selected12Hours?Z.filter(ct=>ct>=12).map(ct=>ct>12?ct-12:ct):Z.filter(ct=>ct<12||24===ct).map(ct=>24===ct||0===ct?12:ct)),Te=1),this.hourRange=Dt(m,this.nzHourStep,Te).map(ct=>({index:ct,disabled:!!Z&&-1!==Z.indexOf(ct)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const ct=[...this.hourRange];ct.unshift(ct[ct.length-1]),ct.splice(ct.length-1,1),this.hourRange=ct}}buildMinutes(){this.minuteRange=Dt(60,this.nzMinuteStep).map(m=>({index:m,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(m)}))}buildSeconds(){this.secondRange=Dt(60,this.nzSecondStep).map(m=>({index:m,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(m)}))}build12Hours(){const m=this._format.includes("A");this.use12HoursRange=[{index:0,value:m?"AM":"am"},{index:1,value:m?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(m=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,m,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,m,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,m,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,m,"12-hour")}selectHour(m){this.time.setHours(m.index,m.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(m){this.time.setMinutes(m.index,m.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(m){this.time.setSeconds(m.index,m.disabled)}select12Hours(m){this.time.setSelected12Hours(m.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(m,Z,Te=0,ct){if(!m)return;const an=this.translateIndex(Z,ct);this.scrollTo(m,(m.children[an]||m.children[0]).offsetTop,Te)}translateIndex(m,Z){return"hour"===Z?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(Te=>Te.index).indexOf(m)):"minute"===Z?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(Te=>Te.index).indexOf(m)):"second"===Z?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(Te=>Te.index).indexOf(m)):this.calcIndex([],this.use12HoursRange.map(Te=>Te.index).indexOf(m))}scrollTo(m,Z,Te){if(Te<=0)return void(m.scrollTop=Z);const an=(Z-m.scrollTop)/Te*10;this.ngZone.runOutsideAngular(()=>{(0,ve.e)(()=>{m.scrollTop=m.scrollTop+an,m.scrollTop!==Z&&this.scrollTo(m,Z,Te-10)})})}calcIndex(m,Z){return m?.length&&this.nzHideDisabledOptions?Z-m.reduce((Te,ct)=>Te+(ct-1||(this.nzDisabledMinutes?.(Z).indexOf(Te)??-1)>-1||(this.nzDisabledSeconds?.(Z,Te).indexOf(ct)??-1)>-1}onClickNow(){const m=new Date;this.timeDisabled(m)||(this.time.setValue(m),this.changed(),this.closePanel.emit())}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit()}isSelectedHour(m){return m.index===this.time.viewHours}isSelectedMinute(m){return m.index===this.time.minutes}isSelectedSecond(m){return m.index===this.time.seconds}isSelected12Hours(m){return m.value.toUpperCase()===this.time.selected12Hours}ngOnInit(){this.time.changes.pipe((0,ee.R)(this.unsubscribe$)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0}),(0,Pe.R)(this.elementRef.nativeElement,"mousedown").pipe((0,ee.R)(this.unsubscribe$)).subscribe(m=>{m.preventDefault()})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}ngOnChanges(m){const{nzUse12Hours:Z,nzDefaultOpenValue:Te}=m;!Z?.previousValue&&Z?.currentValue&&(this.build12Hours(),this.enabledColumns++),Te?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(m){this.time.setValue(m,this.nzUse12Hours),this.buildTimes(),m&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(m){this.onChange=m}registerOnTouched(m){this.onTouch=m}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(X.mx),s.Y36(s.SBq))},$.\u0275cmp=s.Xpm({type:$,selectors:[["nz-time-picker-panel"]],viewQuery:function(m,Z){if(1&m&&(s.Gf(Y,5),s.Gf(k,5),s.Gf(q,5),s.Gf(Q,5)),2&m){let Te;s.iGM(Te=s.CRH())&&(Z.hourListElement=Te.first),s.iGM(Te=s.CRH())&&(Z.minuteListElement=Te.first),s.iGM(Te=s.CRH())&&(Z.secondListElement=Te.first),s.iGM(Te=s.CRH())&&(Z.use12HoursListElement=Te.first)}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(m,Z){2&m&&s.ekj("ant-picker-time-panel-column-0",0===Z.enabledColumns&&!Z.nzInDatePicker)("ant-picker-time-panel-column-1",1===Z.enabledColumns&&!Z.nzInDatePicker)("ant-picker-time-panel-column-2",2===Z.enabledColumns&&!Z.nzInDatePicker)("ant-picker-time-panel-column-3",3===Z.enabledColumns&&!Z.nzInDatePicker)("ant-picker-time-panel-narrow",Z.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!Z.nzInDatePicker)},inputs:{nzInDatePicker:"nzInDatePicker",nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:"nzUse12Hours",nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:"nzAllowEmpty",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep"},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[s._Bn([{provide:h.JU,useExisting:$,multi:!0}]),s.TTD],decls:7,vars:6,consts:[["class","ant-picker-header",4,"ngIf"],[1,"ant-picker-content"],["class","ant-picker-time-panel-column","style","position: relative;",4,"ngIf"],["class","ant-picker-footer",4,"ngIf"],[1,"ant-picker-header"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-column",2,"position","relative"],["hourListElement",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled","click",4,"ngIf"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[4,"ngFor","ngForOf"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","click",4,"ngIf"],[1,"ant-picker-footer"],["class","ant-picker-footer-extra",4,"ngIf"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[1,"ant-picker-footer-extra"],[3,"ngTemplateOutlet"]],template:function(m,Z){1&m&&(s.YNc(0,ae,3,1,"div",0),s.TgZ(1,"div",1),s.YNc(2,ge,3,2,"ul",2),s.YNc(3,De,3,2,"ul",2),s.YNc(4,we,3,2,"ul",2),s.YNc(5,Ue,3,1,"ul",2),s.qZA(),s.YNc(6,Ft,11,7,"div",3)),2&m&&(s.Q6J("ngIf",Z.nzInDatePicker),s.xp6(2),s.Q6J("ngIf",Z.hourEnabled),s.xp6(1),s.Q6J("ngIf",Z.minuteEnabled),s.xp6(1),s.Q6J("ngIf",Z.secondEnabled),s.xp6(1),s.Q6J("ngIf",Z.nzUse12Hours),s.xp6(1),s.Q6J("ngIf",!Z.nzInDatePicker))},dependencies:[g.sg,g.O5,g.tP,F.ix,Ne.w,T.dQ,g.JJ,X.o9],encapsulation:2,changeDetection:0}),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzUse12Hours",void 0),$})(),Pt=(()=>{class ${}return $.\u0275fac=function(m){return new(m||$)},$.\u0275mod=s.oAB({type:$}),$.\u0275inj=s.cJS({imports:[o.vT,g.ez,h.u5,X.YI,e.U8,A.PV,H.e4,z.T,F.sL,S.mJ]}),$})();var Qt=p(24474),Jt=p(29521),Me=p(96831),dt=p(36787),je=p(21086),te=p(75778),Ie=p(87168),ze=p(24850),ke=p(32539),R=p(72536),U=p(11519),B=p(83353);function ce($,Je){1&$&&s.GkF(0)}function He($,Je){if(1&$&&(s.ynx(0),s.YNc(1,ce,1,0,"ng-container",4),s.BQk()),2&$){const m=s.oxw(2);s.xp6(1),s.Q6J("ngTemplateOutlet",m.extraFooter)}}function vt($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",5),s.BQk()),2&$){const m=s.oxw(2);s.xp6(1),s.Q6J("innerHTML",m.extraFooter,s.oJD)}}function xt($,Je){if(1&$&&(s.TgZ(0,"div"),s.ynx(1,2),s.YNc(2,He,2,1,"ng-container",3),s.YNc(3,vt,2,1,"ng-container",3),s.BQk(),s.qZA()),2&$){const m=s.oxw();s.Gre("",m.prefixCls,"-footer-extra"),s.xp6(1),s.Q6J("ngSwitch",!0),s.xp6(1),s.Q6J("ngSwitchCase",m.isTemplateRef(m.extraFooter)),s.xp6(1),s.Q6J("ngSwitchCase",m.isNonEmptyString(m.extraFooter))}}function Rt($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"a",6),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw();return s.KtG(Te.isTodayDisabled?null:Te.onClickToday())}),s._uU(1),s.qZA()}if(2&$){const m=s.oxw();s.MT6("",m.prefixCls,"-today-btn ",m.isTodayDisabled?m.prefixCls+"-today-btn-disabled":"",""),s.s9C("title",m.todayTitle),s.xp6(1),s.hij(" ",m.locale.today," ")}}function Ct($,Je){1&$&&s.GkF(0)}function Kt($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li")(1,"a",7),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw(2);return s.KtG(Te.isTodayDisabled?null:Te.onClickToday())}),s._uU(2),s.qZA()()}if(2&$){const m=s.oxw(2);s.Gre("",m.prefixCls,"-now"),s.xp6(1),s.Gre("",m.prefixCls,"-now-btn"),s.xp6(1),s.hij(" ",m.locale.now," ")}}function bt($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li")(1,"button",8),s.NdJ("click",function(){s.CHM(m);const Te=s.oxw(2);return s.KtG(Te.okDisabled?null:Te.clickOk.emit())}),s._uU(2),s.qZA()()}if(2&$){const m=s.oxw(2);s.Gre("",m.prefixCls,"-ok"),s.xp6(1),s.Q6J("disabled",m.okDisabled),s.xp6(1),s.hij(" ",m.locale.ok," ")}}function qt($,Je){if(1&$&&(s.TgZ(0,"ul"),s.YNc(1,Ct,1,0,"ng-container",4),s.YNc(2,Kt,3,7,"li",0),s.YNc(3,bt,3,5,"li",0),s.qZA()),2&$){const m=s.oxw();s.Gre("",m.prefixCls,"-ranges"),s.xp6(1),s.Q6J("ngTemplateOutlet",m.rangeQuickSelector),s.xp6(1),s.Q6J("ngIf",m.showNow),s.xp6(1),s.Q6J("ngIf",m.hasTimePicker)}}function Qe($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"button",6),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onClick())}),s._uU(2),s.qZA(),s.BQk()}if(2&$){const m=Je.$implicit;s.xp6(1),s.Tol(m.className),s.s9C("title",m.title||null),s.xp6(1),s.hij(" ",m.label," ")}}function le($,Je){1&$&&s._UZ(0,"th",6)}function ht($,Je){if(1&$&&(s.TgZ(0,"th",7),s._uU(1),s.qZA()),2&$){const m=Je.$implicit;s.s9C("title",m.title),s.xp6(1),s.hij(" ",m.content," ")}}function Vt($,Je){if(1&$&&(s.TgZ(0,"thead")(1,"tr",3),s.YNc(2,le,1,0,"th",4),s.YNc(3,ht,2,2,"th",5),s.qZA()()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngIf",m.showWeek),s.xp6(1),s.Q6J("ngForOf",m.headRow)}}function at($,Je){if(1&$&&(s.TgZ(0,"td",11),s._uU(1),s.qZA()),2&$){const m=s.oxw().$implicit,Z=s.oxw();s.Gre("",Z.prefixCls,"-cell-week"),s.xp6(1),s.hij(" ",m.weekNum," ")}}function Ke($,Je){1&$&&s.GkF(0)}const Re=function($){return{$implicit:$}};function mt($,Je){if(1&$&&(s.ynx(0),s.YNc(1,Ke,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function Ht($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("innerHTML",m.cellRender,s.oJD)}}function tn($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s._uU(2),s.qZA(),s.BQk()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.xp6(1),s.Gre("",Z.prefixCls,"-cell-inner"),s.uIk("aria-selected",m.isSelected)("aria-disabled",m.isDisabled),s.xp6(1),s.hij(" ",m.content," ")}}function _n($,Je){if(1&$&&(s.ynx(0)(1,13),s.YNc(2,mt,2,4,"ng-container",14),s.YNc(3,Ht,2,1,"ng-container",14),s.YNc(4,tn,3,6,"ng-container",15),s.BQk()()),2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngSwitch",!0),s.xp6(1),s.Q6J("ngSwitchCase",Z.isTemplateRef(m.cellRender)),s.xp6(1),s.Q6J("ngSwitchCase",Z.isNonEmptyString(m.cellRender))}}function In($,Je){1&$&&s.GkF(0)}function oi($,Je){if(1&$&&(s.ynx(0),s.YNc(1,In,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.fullCellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function dn($,Je){1&$&&s.GkF(0)}function Wn($,Je){if(1&$&&(s.TgZ(0,"div"),s._uU(1),s.qZA(),s.TgZ(2,"div"),s.YNc(3,dn,1,0,"ng-container",16),s.qZA()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.Gre("",Z.prefixCls,"-date-value"),s.xp6(1),s.Oqu(m.content),s.xp6(1),s.Gre("",Z.prefixCls,"-date-content"),s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(9,Re,m.value))}}function $n($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s.YNc(2,oi,2,4,"ng-container",18),s.YNc(3,Wn,4,11,"ng-template",null,19,s.W1O),s.qZA(),s.BQk()),2&$){const m=s.MAs(4),Z=s.oxw().$implicit,Te=s.oxw(2);s.xp6(1),s.Gre("",Te.prefixCls,"-date ant-picker-cell-inner"),s.ekj("ant-picker-calendar-date-today",Z.isToday),s.xp6(1),s.Q6J("ngIf",Z.fullCellRender)("ngIfElse",m)}}function Yn($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"td",12),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.isDisabled?null:ct.onClick())})("mouseenter",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onMouseEnter())}),s.ynx(1,13),s.YNc(2,_n,5,3,"ng-container",14),s.YNc(3,$n,5,7,"ng-container",14),s.BQk(),s.qZA()}if(2&$){const m=Je.$implicit,Z=s.oxw(2);s.s9C("title",m.title),s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngSwitch",Z.prefixCls),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker"),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker-calendar")}}function Sn($,Je){if(1&$&&(s.TgZ(0,"tr",8),s.YNc(1,at,2,4,"td",9),s.YNc(2,Yn,4,5,"td",10),s.qZA()),2&$){const m=Je.$implicit,Z=s.oxw();s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngIf",m.weekNum),s.xp6(1),s.Q6J("ngForOf",m.dateCells)("ngForTrackBy",Z.trackByBodyColumn)}}function ti($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"button",6),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onClick())}),s._uU(2),s.qZA(),s.BQk()}if(2&$){const m=Je.$implicit;s.xp6(1),s.Tol(m.className),s.s9C("title",m.title||null),s.xp6(1),s.hij(" ",m.label," ")}}function rt($,Je){1&$&&s._UZ(0,"th",6)}function it($,Je){if(1&$&&(s.TgZ(0,"th",7),s._uU(1),s.qZA()),2&$){const m=Je.$implicit;s.s9C("title",m.title),s.xp6(1),s.hij(" ",m.content," ")}}function K($,Je){if(1&$&&(s.TgZ(0,"thead")(1,"tr",3),s.YNc(2,rt,1,0,"th",4),s.YNc(3,it,2,2,"th",5),s.qZA()()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngIf",m.showWeek),s.xp6(1),s.Q6J("ngForOf",m.headRow)}}function Ye($,Je){if(1&$&&(s.TgZ(0,"td",11),s._uU(1),s.qZA()),2&$){const m=s.oxw().$implicit,Z=s.oxw();s.Gre("",Z.prefixCls,"-cell-week"),s.xp6(1),s.hij(" ",m.weekNum," ")}}function G($,Je){1&$&&s.GkF(0)}function Le($,Je){if(1&$&&(s.ynx(0),s.YNc(1,G,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function yt($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("innerHTML",m.cellRender,s.oJD)}}function St($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s._uU(2),s.qZA(),s.BQk()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.xp6(1),s.Gre("",Z.prefixCls,"-cell-inner"),s.uIk("aria-selected",m.isSelected)("aria-disabled",m.isDisabled),s.xp6(1),s.hij(" ",m.content," ")}}function ln($,Je){if(1&$&&(s.ynx(0)(1,13),s.YNc(2,Le,2,4,"ng-container",14),s.YNc(3,yt,2,1,"ng-container",14),s.YNc(4,St,3,6,"ng-container",15),s.BQk()()),2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngSwitch",!0),s.xp6(1),s.Q6J("ngSwitchCase",Z.isTemplateRef(m.cellRender)),s.xp6(1),s.Q6J("ngSwitchCase",Z.isNonEmptyString(m.cellRender))}}function kn($,Je){1&$&&s.GkF(0)}function en($,Je){if(1&$&&(s.ynx(0),s.YNc(1,kn,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.fullCellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function Bn($,Je){1&$&&s.GkF(0)}function Jn($,Je){if(1&$&&(s.TgZ(0,"div"),s._uU(1),s.qZA(),s.TgZ(2,"div"),s.YNc(3,Bn,1,0,"ng-container",16),s.qZA()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.Gre("",Z.prefixCls,"-date-value"),s.xp6(1),s.Oqu(m.content),s.xp6(1),s.Gre("",Z.prefixCls,"-date-content"),s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(9,Re,m.value))}}function pi($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s.YNc(2,en,2,4,"ng-container",18),s.YNc(3,Jn,4,11,"ng-template",null,19,s.W1O),s.qZA(),s.BQk()),2&$){const m=s.MAs(4),Z=s.oxw().$implicit,Te=s.oxw(2);s.xp6(1),s.Gre("",Te.prefixCls,"-date ant-picker-cell-inner"),s.ekj("ant-picker-calendar-date-today",Z.isToday),s.xp6(1),s.Q6J("ngIf",Z.fullCellRender)("ngIfElse",m)}}function vi($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"td",12),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.isDisabled?null:ct.onClick())})("mouseenter",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onMouseEnter())}),s.ynx(1,13),s.YNc(2,ln,5,3,"ng-container",14),s.YNc(3,pi,5,7,"ng-container",14),s.BQk(),s.qZA()}if(2&$){const m=Je.$implicit,Z=s.oxw(2);s.s9C("title",m.title),s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngSwitch",Z.prefixCls),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker"),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker-calendar")}}function ai($,Je){if(1&$&&(s.TgZ(0,"tr",8),s.YNc(1,Ye,2,4,"td",9),s.YNc(2,vi,4,5,"td",10),s.qZA()),2&$){const m=Je.$implicit,Z=s.oxw();s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngIf",m.weekNum),s.xp6(1),s.Q6J("ngForOf",m.dateCells)("ngForTrackBy",Z.trackByBodyColumn)}}function Ki($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"button",6),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onClick())}),s._uU(2),s.qZA(),s.BQk()}if(2&$){const m=Je.$implicit;s.xp6(1),s.Tol(m.className),s.s9C("title",m.title||null),s.xp6(1),s.hij(" ",m.label," ")}}function Ji($,Je){1&$&&s._UZ(0,"th",6)}function wi($,Je){if(1&$&&(s.TgZ(0,"th",7),s._uU(1),s.qZA()),2&$){const m=Je.$implicit;s.s9C("title",m.title),s.xp6(1),s.hij(" ",m.content," ")}}function Mr($,Je){if(1&$&&(s.TgZ(0,"thead")(1,"tr",3),s.YNc(2,Ji,1,0,"th",4),s.YNc(3,wi,2,2,"th",5),s.qZA()()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngIf",m.showWeek),s.xp6(1),s.Q6J("ngForOf",m.headRow)}}function Kr($,Je){if(1&$&&(s.TgZ(0,"td",11),s._uU(1),s.qZA()),2&$){const m=s.oxw().$implicit,Z=s.oxw();s.Gre("",Z.prefixCls,"-cell-week"),s.xp6(1),s.hij(" ",m.weekNum," ")}}function Qn($,Je){1&$&&s.GkF(0)}function co($,Je){if(1&$&&(s.ynx(0),s.YNc(1,Qn,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function Xi($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("innerHTML",m.cellRender,s.oJD)}}function Vi($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s._uU(2),s.qZA(),s.BQk()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.xp6(1),s.Gre("",Z.prefixCls,"-cell-inner"),s.uIk("aria-selected",m.isSelected)("aria-disabled",m.isDisabled),s.xp6(1),s.hij(" ",m.content," ")}}function Jr($,Je){if(1&$&&(s.ynx(0)(1,13),s.YNc(2,co,2,4,"ng-container",14),s.YNc(3,Xi,2,1,"ng-container",14),s.YNc(4,Vi,3,6,"ng-container",15),s.BQk()()),2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngSwitch",!0),s.xp6(1),s.Q6J("ngSwitchCase",Z.isTemplateRef(m.cellRender)),s.xp6(1),s.Q6J("ngSwitchCase",Z.isNonEmptyString(m.cellRender))}}function er($,Je){1&$&&s.GkF(0)}function Qi($,Je){if(1&$&&(s.ynx(0),s.YNc(1,er,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.fullCellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function Hi($,Je){1&$&&s.GkF(0)}function Xn($,Je){if(1&$&&(s.TgZ(0,"div"),s._uU(1),s.qZA(),s.TgZ(2,"div"),s.YNc(3,Hi,1,0,"ng-container",16),s.qZA()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.Gre("",Z.prefixCls,"-date-value"),s.xp6(1),s.Oqu(m.content),s.xp6(1),s.Gre("",Z.prefixCls,"-date-content"),s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(9,Re,m.value))}}function Yi($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s.YNc(2,Qi,2,4,"ng-container",18),s.YNc(3,Xn,4,11,"ng-template",null,19,s.W1O),s.qZA(),s.BQk()),2&$){const m=s.MAs(4),Z=s.oxw().$implicit,Te=s.oxw(2);s.xp6(1),s.Gre("",Te.prefixCls,"-date ant-picker-cell-inner"),s.ekj("ant-picker-calendar-date-today",Z.isToday),s.xp6(1),s.Q6J("ngIf",Z.fullCellRender)("ngIfElse",m)}}function ii($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"td",12),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.isDisabled?null:ct.onClick())})("mouseenter",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onMouseEnter())}),s.ynx(1,13),s.YNc(2,Jr,5,3,"ng-container",14),s.YNc(3,Yi,5,7,"ng-container",14),s.BQk(),s.qZA()}if(2&$){const m=Je.$implicit,Z=s.oxw(2);s.s9C("title",m.title),s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngSwitch",Z.prefixCls),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker"),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker-calendar")}}function yi($,Je){if(1&$&&(s.TgZ(0,"tr",8),s.YNc(1,Kr,2,4,"td",9),s.YNc(2,ii,4,5,"td",10),s.qZA()),2&$){const m=Je.$implicit,Z=s.oxw();s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngIf",m.weekNum),s.xp6(1),s.Q6J("ngForOf",m.dateCells)("ngForTrackBy",Z.trackByBodyColumn)}}function tr($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"button",6),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onClick())}),s._uU(2),s.qZA(),s.BQk()}if(2&$){const m=Je.$implicit;s.xp6(1),s.Tol(m.className),s.s9C("title",m.title||null),s.xp6(1),s.hij(" ",m.label," ")}}function zr($,Je){1&$&&s._UZ(0,"th",6)}function Xr($,Je){if(1&$&&(s.TgZ(0,"th",7),s._uU(1),s.qZA()),2&$){const m=Je.$implicit;s.s9C("title",m.title),s.xp6(1),s.hij(" ",m.content," ")}}function Ti($,Je){if(1&$&&(s.TgZ(0,"thead")(1,"tr",3),s.YNc(2,zr,1,0,"th",4),s.YNc(3,Xr,2,2,"th",5),s.qZA()()),2&$){const m=s.oxw();s.xp6(2),s.Q6J("ngIf",m.showWeek),s.xp6(1),s.Q6J("ngForOf",m.headRow)}}function uo($,Je){if(1&$&&(s.TgZ(0,"td",11),s._uU(1),s.qZA()),2&$){const m=s.oxw().$implicit,Z=s.oxw();s.Gre("",Z.prefixCls,"-cell-week"),s.xp6(1),s.hij(" ",m.weekNum," ")}}function xo($,Je){1&$&&s.GkF(0)}function Yr($,Je){if(1&$&&(s.ynx(0),s.YNc(1,xo,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function ho($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("innerHTML",m.cellRender,s.oJD)}}function Ko($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s._uU(2),s.qZA(),s.BQk()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.xp6(1),s.Gre("",Z.prefixCls,"-cell-inner"),s.uIk("aria-selected",m.isSelected)("aria-disabled",m.isDisabled),s.xp6(1),s.hij(" ",m.content," ")}}function qi($,Je){if(1&$&&(s.ynx(0)(1,13),s.YNc(2,Yr,2,4,"ng-container",14),s.YNc(3,ho,2,1,"ng-container",14),s.YNc(4,Ko,3,6,"ng-container",15),s.BQk()()),2&$){const m=s.oxw().$implicit,Z=s.oxw(2);s.xp6(1),s.Q6J("ngSwitch",!0),s.xp6(1),s.Q6J("ngSwitchCase",Z.isTemplateRef(m.cellRender)),s.xp6(1),s.Q6J("ngSwitchCase",Z.isNonEmptyString(m.cellRender))}}function ue($,Je){1&$&&s.GkF(0)}function qe($,Je){if(1&$&&(s.ynx(0),s.YNc(1,ue,1,0,"ng-container",16),s.BQk()),2&$){const m=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngTemplateOutlet",m.fullCellRender)("ngTemplateOutletContext",s.VKq(2,Re,m.value))}}function Ee($,Je){1&$&&s.GkF(0)}function Lt($,Je){if(1&$&&(s.TgZ(0,"div"),s._uU(1),s.qZA(),s.TgZ(2,"div"),s.YNc(3,Ee,1,0,"ng-container",16),s.qZA()),2&$){const m=s.oxw(2).$implicit,Z=s.oxw(2);s.Gre("",Z.prefixCls,"-date-value"),s.xp6(1),s.Oqu(m.content),s.xp6(1),s.Gre("",Z.prefixCls,"-date-content"),s.xp6(1),s.Q6J("ngTemplateOutlet",m.cellRender)("ngTemplateOutletContext",s.VKq(9,Re,m.value))}}function Wt($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s.YNc(2,qe,2,4,"ng-container",18),s.YNc(3,Lt,4,11,"ng-template",null,19,s.W1O),s.qZA(),s.BQk()),2&$){const m=s.MAs(4),Z=s.oxw().$implicit,Te=s.oxw(2);s.xp6(1),s.Gre("",Te.prefixCls,"-date ant-picker-cell-inner"),s.ekj("ant-picker-calendar-date-today",Z.isToday),s.xp6(1),s.Q6J("ngIf",Z.fullCellRender)("ngIfElse",m)}}function gn($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"td",12),s.NdJ("click",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.isDisabled?null:ct.onClick())})("mouseenter",function(){const ct=s.CHM(m).$implicit;return s.KtG(ct.onMouseEnter())}),s.ynx(1,13),s.YNc(2,qi,5,3,"ng-container",14),s.YNc(3,Wt,5,7,"ng-container",14),s.BQk(),s.qZA()}if(2&$){const m=Je.$implicit,Z=s.oxw(2);s.s9C("title",m.title),s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngSwitch",Z.prefixCls),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker"),s.xp6(1),s.Q6J("ngSwitchCase","ant-picker-calendar")}}function Fn($,Je){if(1&$&&(s.TgZ(0,"tr",8),s.YNc(1,uo,2,4,"td",9),s.YNc(2,gn,4,5,"td",10),s.qZA()),2&$){const m=Je.$implicit,Z=s.oxw();s.Q6J("ngClass",m.classMap),s.xp6(1),s.Q6J("ngIf",m.weekNum),s.xp6(1),s.Q6J("ngForOf",m.dateCells)("ngForTrackBy",Z.trackByBodyColumn)}}function si($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"decade-header",4),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.activeDate=Te)})("panelModeChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.panelModeChange.emit(Te))})("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.headerChange.emit(Te))}),s.qZA(),s.TgZ(2,"div")(3,"decade-table",5),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onChooseDecade(Te))}),s.qZA()(),s.BQk()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("value",m.activeDate)("locale",m.locale)("showSuperPreBtn",m.enablePrevNext("prev","decade"))("showSuperNextBtn",m.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),s.xp6(1),s.Gre("",m.prefixCls,"-body"),s.xp6(1),s.Q6J("activeDate",m.activeDate)("value",m.value)("locale",m.locale)("disabledDate",m.disabledDate)}}function _i($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"year-header",4),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.activeDate=Te)})("panelModeChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.panelModeChange.emit(Te))})("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.headerChange.emit(Te))}),s.qZA(),s.TgZ(2,"div")(3,"year-table",6),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onChooseYear(Te))})("cellHover",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.cellHover.emit(Te))}),s.qZA()(),s.BQk()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("value",m.activeDate)("locale",m.locale)("showSuperPreBtn",m.enablePrevNext("prev","year"))("showSuperNextBtn",m.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),s.xp6(1),s.Gre("",m.prefixCls,"-body"),s.xp6(1),s.Q6J("activeDate",m.activeDate)("value",m.value)("locale",m.locale)("disabledDate",m.disabledDate)("selectedValue",m.selectedValue)("hoverValue",m.hoverValue)}}function cr($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"month-header",4),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.activeDate=Te)})("panelModeChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.panelModeChange.emit(Te))})("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.headerChange.emit(Te))}),s.qZA(),s.TgZ(2,"div")(3,"month-table",7),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onChooseMonth(Te))})("cellHover",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.cellHover.emit(Te))}),s.qZA()(),s.BQk()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("value",m.activeDate)("locale",m.locale)("showSuperPreBtn",m.enablePrevNext("prev","month"))("showSuperNextBtn",m.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),s.xp6(1),s.Gre("",m.prefixCls,"-body"),s.xp6(1),s.Q6J("value",m.value)("activeDate",m.activeDate)("locale",m.locale)("disabledDate",m.disabledDate)("selectedValue",m.selectedValue)("hoverValue",m.hoverValue)}}function Sr($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"date-header",8),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.activeDate=Te)})("panelModeChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.panelModeChange.emit(Te))})("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.headerChange.emit(Te))}),s.qZA(),s.TgZ(2,"div")(3,"date-table",9),s.NdJ("valueChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onSelectDate(Te))})("cellHover",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.cellHover.emit(Te))}),s.qZA()(),s.BQk()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("value",m.activeDate)("locale",m.locale)("showSuperPreBtn",m.enablePrevNext("prev",m.showWeek?"week":"date"))("showSuperNextBtn",m.enablePrevNext("next",m.showWeek?"week":"date"))("showPreBtn",m.enablePrevNext("prev",m.showWeek?"week":"date"))("showNextBtn",m.enablePrevNext("next",m.showWeek?"week":"date")),s.xp6(1),s.Gre("",m.prefixCls,"-body"),s.xp6(1),s.Q6J("locale",m.locale)("showWeek",m.showWeek)("value",m.value)("activeDate",m.activeDate)("disabledDate",m.disabledDate)("cellRender",m.dateRender)("selectedValue",m.selectedValue)("hoverValue",m.hoverValue)}}function ur($,Je){if(1&$){const m=s.EpF();s.ynx(0),s.TgZ(1,"nz-time-picker-panel",10),s.NdJ("ngModelChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onSelectTime(Te))}),s.qZA(),s.BQk()}if(2&$){const m=s.oxw();s.xp6(1),s.Q6J("nzInDatePicker",!0)("ngModel",null==m.value?null:m.value.nativeDate)("format",m.timeOptions.nzFormat)("nzHourStep",m.timeOptions.nzHourStep)("nzMinuteStep",m.timeOptions.nzMinuteStep)("nzSecondStep",m.timeOptions.nzSecondStep)("nzDisabledHours",m.timeOptions.nzDisabledHours)("nzDisabledMinutes",m.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",m.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!m.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",m.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!m.timeOptions.nzUse12Hours)("nzAddOn",m.timeOptions.nzAddOn)}}function eo($,Je){1&$&&s.GkF(0)}const Di=function($){return{partType:$}};function Ur($,Je){if(1&$&&(s.ynx(0),s.YNc(1,eo,1,0,"ng-container",7),s.BQk()),2&$){const m=s.oxw(2),Z=s.MAs(4);s.xp6(1),s.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",s.VKq(2,Di,m.datePickerService.activeInput))}}function mr($,Je){1&$&&s.GkF(0)}function Ni($,Je){1&$&&s.GkF(0)}const ki=function(){return{partType:"left"}},dr=function(){return{partType:"right"}};function li($,Je){if(1&$&&(s.YNc(0,mr,1,0,"ng-container",7),s.YNc(1,Ni,1,0,"ng-container",7)),2&$){s.oxw(2);const m=s.MAs(4);s.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",s.DdM(4,ki)),s.xp6(1),s.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",s.DdM(5,dr))}}function Ui($,Je){1&$&&s.GkF(0)}function Li($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s._UZ(2,"div"),s.TgZ(3,"div")(4,"div"),s.YNc(5,Ur,2,4,"ng-container",0),s.YNc(6,li,2,6,"ng-template",null,5,s.W1O),s.qZA(),s.YNc(8,Ui,1,0,"ng-container",6),s.qZA()(),s.BQk()),2&$){const m=s.MAs(7),Z=s.oxw(),Te=s.MAs(6);s.xp6(1),s.MT6("",Z.prefixCls,"-range-wrapper ",Z.prefixCls,"-date-range-wrapper"),s.xp6(1),s.Gre("",Z.prefixCls,"-range-arrow"),s.Udp("left",null==Z.datePickerService?null:Z.datePickerService.arrowLeft,"px"),s.xp6(1),s.Gre("",Z.prefixCls,"-panel-container"),s.xp6(1),s.Gre("",Z.prefixCls,"-panels"),s.xp6(1),s.Q6J("ngIf",Z.hasTimePicker)("ngIfElse",m),s.xp6(3),s.Q6J("ngTemplateOutlet",Te)}}function xr($,Je){1&$&&s.GkF(0)}function hr($,Je){1&$&&s.GkF(0)}function wr($,Je){if(1&$&&(s.TgZ(0,"div")(1,"div",8),s.YNc(2,xr,1,0,"ng-container",6),s.YNc(3,hr,1,0,"ng-container",6),s.qZA()()),2&$){const m=s.oxw(),Z=s.MAs(4),Te=s.MAs(6);s.DjV("",m.prefixCls,"-panel-container ",m.showWeek?m.prefixCls+"-week-number":""," ",m.hasTimePicker?m.prefixCls+"-time":""," ",m.isRange?m.prefixCls+"-range":"",""),s.xp6(1),s.Gre("",m.prefixCls,"-panel"),s.ekj("ant-picker-panel-rtl","rtl"===m.dir),s.xp6(1),s.Q6J("ngTemplateOutlet",Z),s.xp6(1),s.Q6J("ngTemplateOutlet",Te)}}function to($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"div")(1,"inner-popup",9),s.NdJ("panelModeChange",function(Te){const an=s.CHM(m).partType,mn=s.oxw();return s.KtG(mn.onPanelModeChange(Te,an))})("cellHover",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onCellHover(Te))})("selectDate",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.changeValueFromSelect(Te,!ct.showTime))})("selectTime",function(Te){const an=s.CHM(m).partType,mn=s.oxw();return s.KtG(mn.onSelectTime(Te,an))})("headerChange",function(Te){const an=s.CHM(m).partType,mn=s.oxw();return s.KtG(mn.onActiveDateChange(Te,an))}),s.qZA()()}if(2&$){const m=Je.partType,Z=s.oxw();s.Gre("",Z.prefixCls,"-panel"),s.ekj("ant-picker-panel-rtl","rtl"===Z.dir),s.xp6(1),s.Q6J("showWeek",Z.showWeek)("endPanelMode",Z.getPanelMode(Z.endPanelMode,m))("partType",m)("locale",Z.locale)("showTimePicker",Z.hasTimePicker)("timeOptions",Z.getTimeOptions(m))("panelMode",Z.getPanelMode(Z.panelMode,m))("activeDate",Z.getActiveDate(m))("value",Z.getValue(m))("disabledDate",Z.disabledDate)("dateRender",Z.dateRender)("selectedValue",null==Z.datePickerService?null:Z.datePickerService.value)("hoverValue",Z.hoverValue)}}function ji($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"calendar-footer",11),s.NdJ("clickOk",function(){s.CHM(m);const Te=s.oxw(2);return s.KtG(Te.onClickOk())})("clickToday",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onClickToday(Te))}),s.qZA()}if(2&$){const m=s.oxw(2),Z=s.MAs(8);s.Q6J("locale",m.locale)("isRange",m.isRange)("showToday",m.showToday)("showNow",m.showNow)("hasTimePicker",m.hasTimePicker)("okDisabled",!m.isAllowed(null==m.datePickerService?null:m.datePickerService.value))("extraFooter",m.extraFooter)("rangeQuickSelector",m.ranges?Z:null)}}function jr($,Je){if(1&$&&s.YNc(0,ji,1,8,"calendar-footer",10),2&$){const m=s.oxw();s.Q6J("ngIf",m.hasFooter)}}function Mi($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"li",13),s.NdJ("click",function(){const ct=s.CHM(m).$implicit,an=s.oxw(2);return s.KtG(an.onClickPresetRange(an.ranges[ct]))})("mouseenter",function(){const ct=s.CHM(m).$implicit,an=s.oxw(2);return s.KtG(an.onHoverPresetRange(an.ranges[ct]))})("mouseleave",function(){s.CHM(m);const Te=s.oxw(2);return s.KtG(Te.onPresetRangeMouseLeave())}),s.TgZ(1,"span",14),s._uU(2),s.qZA()()}if(2&$){const m=Je.$implicit,Z=s.oxw(2);s.Gre("",Z.prefixCls,"-preset"),s.xp6(2),s.Oqu(m)}}function nr($,Je){if(1&$&&s.YNc(0,Mi,3,4,"li",12),2&$){const m=s.oxw();s.Q6J("ngForOf",m.getObjectKeys(m.ranges))}}const kr=["separatorElement"],Or=["pickerInput"],pr=["rangePickerInput"];function Oi($,Je){1&$&&s.GkF(0)}function Un($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"div")(1,"input",7,8),s.NdJ("ngModelChange",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.inputValue=Te)})("focus",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onFocus(Te))})("focusout",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onFocusout(Te))})("ngModelChange",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onInputChange(Te))})("keyup.enter",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onKeyupEnter(Te))}),s.qZA(),s.YNc(3,Oi,1,0,"ng-container",9),s.qZA()}if(2&$){const m=s.oxw(2),Z=s.MAs(4);s.Gre("",m.prefixCls,"-input"),s.xp6(1),s.ekj("ant-input-disabled",m.nzDisabled),s.s9C("placeholder",m.getPlaceholder()),s.Q6J("disabled",m.nzDisabled)("readOnly",m.nzInputReadOnly)("ngModel",m.inputValue)("size",m.inputSize),s.uIk("id",m.nzId),s.xp6(2),s.Q6J("ngTemplateOutlet",Z)}}function gr($,Je){1&$&&s.GkF(0)}function Ir($,Je){if(1&$&&(s.ynx(0),s._uU(1),s.BQk()),2&$){const m=s.oxw(3);s.xp6(1),s.Oqu(m.nzSeparator)}}function ri($,Je){1&$&&s._UZ(0,"span",13)}function Ai($,Je){1&$&&s.GkF(0)}function wo($,Je){1&$&&s.GkF(0)}function Hr($,Je){if(1&$&&(s.ynx(0),s.TgZ(1,"div"),s.YNc(2,gr,1,0,"ng-container",10),s.qZA(),s.TgZ(3,"div",null,11)(5,"span"),s.YNc(6,Ir,2,1,"ng-container",0),s.qZA(),s.YNc(7,ri,1,0,"ng-template",null,12,s.W1O),s.qZA(),s.TgZ(9,"div"),s.YNc(10,Ai,1,0,"ng-container",10),s.qZA(),s.YNc(11,wo,1,0,"ng-container",9),s.BQk()),2&$){const m=s.MAs(8),Z=s.oxw(2),Te=s.MAs(2),ct=s.MAs(4);s.xp6(1),s.Gre("",Z.prefixCls,"-input"),s.xp6(1),s.Q6J("ngTemplateOutlet",Te)("ngTemplateOutletContext",s.DdM(19,ki)),s.xp6(1),s.Gre("",Z.prefixCls,"-range-separator"),s.xp6(2),s.Gre("",Z.prefixCls,"-separator"),s.xp6(1),s.Q6J("ngIf",Z.nzSeparator)("ngIfElse",m),s.xp6(3),s.Gre("",Z.prefixCls,"-input"),s.xp6(1),s.Q6J("ngTemplateOutlet",Te)("ngTemplateOutletContext",s.DdM(20,dr)),s.xp6(1),s.Q6J("ngTemplateOutlet",ct)}}function Wr($,Je){if(1&$&&(s.ynx(0),s.YNc(1,Un,4,12,"div",5),s.YNc(2,Hr,12,21,"ng-container",6),s.BQk()),2&$){const m=s.oxw();s.xp6(1),s.Q6J("ngIf",!m.isRange),s.xp6(1),s.Q6J("ngIf",m.isRange)}}function ei($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"input",14,15),s.NdJ("click",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onClickInputBox(Te))})("focusout",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onFocusout(Te))})("focus",function(Te){const an=s.CHM(m).partType,mn=s.oxw();return s.KtG(mn.onFocus(Te,an))})("keyup.enter",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onKeyupEnter(Te))})("ngModelChange",function(Te){const an=s.CHM(m).partType,mn=s.oxw();return s.KtG(mn.inputValue[mn.datePickerService.getActiveIndex(an)]=Te)})("ngModelChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onInputChange(Te))}),s.qZA()}if(2&$){const m=Je.partType,Z=s.oxw();s.s9C("placeholder",Z.getPlaceholder(m)),s.Q6J("disabled",Z.nzDisabled)("readOnly",Z.nzInputReadOnly)("size",Z.inputSize)("ngModel",Z.inputValue[Z.datePickerService.getActiveIndex(m)]),s.uIk("id",Z.nzId)}}function Vr($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"span",20),s.NdJ("click",function(Te){s.CHM(m);const ct=s.oxw(2);return s.KtG(ct.onClickClear(Te))}),s._UZ(1,"span",21),s.qZA()}if(2&$){const m=s.oxw(2);s.Gre("",m.prefixCls,"-clear")}}function $r($,Je){if(1&$&&(s.ynx(0),s._UZ(1,"span",22),s.BQk()),2&$){const m=Je.$implicit;s.xp6(1),s.Q6J("nzType",m)}}function ra($,Je){if(1&$&&s._UZ(0,"nz-form-item-feedback-icon",23),2&$){const m=s.oxw(2);s.Q6J("status",m.status)}}function Ri($,Je){if(1&$&&(s._UZ(0,"div",16),s.YNc(1,Vr,2,3,"span",17),s.TgZ(2,"span"),s.YNc(3,$r,2,1,"ng-container",18),s.YNc(4,ra,1,1,"nz-form-item-feedback-icon",19),s.qZA()),2&$){const m=s.oxw();s.Gre("",m.prefixCls,"-active-bar"),s.Q6J("ngStyle",m.activeBarStyle),s.xp6(1),s.Q6J("ngIf",m.showClear()),s.xp6(1),s.Gre("",m.prefixCls,"-suffix"),s.xp6(1),s.Q6J("nzStringTemplateOutlet",m.nzSuffixIcon),s.xp6(1),s.Q6J("ngIf",m.hasFeedback&&!!m.status)}}function no($,Je){if(1&$){const m=s.EpF();s.TgZ(0,"div",16)(1,"date-range-popup",24),s.NdJ("panelModeChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onPanelModeChange(Te))})("calendarChange",function(Te){s.CHM(m);const ct=s.oxw();return s.KtG(ct.onCalendarChange(Te))})("resultOk",function(){s.CHM(m);const Te=s.oxw();return s.KtG(Te.onResultOk())}),s.qZA()()}if(2&$){const m=s.oxw();s.MT6("",m.prefixCls,"-dropdown ",m.nzDropdownClassName,""),s.ekj("ant-picker-dropdown-rtl","rtl"===m.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===m.currentPositionY&&"start"===m.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===m.currentPositionY&&"start"===m.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===m.currentPositionY&&"end"===m.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===m.currentPositionY&&"end"===m.currentPositionX)("ant-picker-dropdown-range",m.isRange)("ant-picker-active-left","left"===m.datePickerService.activeInput)("ant-picker-active-right","right"===m.datePickerService.activeInput),s.Q6J("ngStyle",m.nzPopupStyle),s.xp6(1),s.Q6J("isRange",m.isRange)("inline",m.nzInline)("defaultPickerValue",m.nzDefaultPickerValue)("showWeek","week"===m.nzMode)("panelMode",m.panelMode)("locale",null==m.nzLocale?null:m.nzLocale.lang)("showToday","date"===m.nzMode&&m.nzShowToday&&!m.isRange&&!m.nzShowTime)("showNow","date"===m.nzMode&&m.nzShowNow&&!m.isRange&&!!m.nzShowTime)("showTime",m.nzShowTime)("dateRender",m.nzDateRender)("disabledDate",m.nzDisabledDate)("disabledTime",m.nzDisabledTime)("extraFooter",m.extraFooter)("ranges",m.nzRanges)("dir",m.dir)}}function Ei($,Je){1&$&&s.GkF(0)}function bn($,Je){if(1&$&&(s.TgZ(0,"div",25),s.YNc(1,Ei,1,0,"ng-container",9),s.qZA()),2&$){const m=s.oxw(),Z=s.MAs(6);s.Q6J("nzNoAnimation",!(null==m.noAnimation||!m.noAnimation.nzNoAnimation))("@slideMotion","enter"),s.xp6(1),s.Q6J("ngTemplateOutlet",Z)}}const Gi="ant-picker",ir={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function Tr($,Je){let m=Je?Je($&&$.nativeDate):{};return m={...ir,...m},m}function vr($,Je,m){return!(!$||Je&&Je($.nativeDate)||m&&!function go($,Je){return function po($,Je){let m=!1;if($){const Z=$.getHours(),Te=$.getMinutes(),ct=$.getSeconds();m=-1!==Je.nzDisabledHours().indexOf(Z)||-1!==Je.nzDisabledMinutes(Z).indexOf(Te)||-1!==Je.nzDisabledSeconds(Z,Te).indexOf(ct)}return!m}($,Tr($,Je))}($,m))}function io($){return $&&$.replace(/Y/g,"y").replace(/D/g,"d")}let Dr=(()=>{class ${constructor(m){this.dateHelper=m,this.showToday=!1,this.showNow=!1,this.hasTimePicker=!1,this.isRange=!1,this.okDisabled=!1,this.rangeQuickSelector=null,this.clickOk=new s.vpe,this.clickToday=new s.vpe,this.prefixCls=Gi,this.isTemplateRef=pe.de,this.isNonEmptyString=pe.HH,this.isTodayDisabled=!1,this.todayTitle=""}ngOnChanges(m){const Z=new Date;if(m.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(Z))),m.locale){const Te=io(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(Z,Te)}}onClickToday(){const m=new Qt.Yp;this.clickToday.emit(m.clone())}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:"showToday",showNow:"showNow",hasTimePicker:"hasTimePicker",isRange:"isRange",okDisabled:"okDisabled",disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},exportAs:["calendarFooter"],features:[s.TTD],decls:4,vars:6,consts:[[3,"class",4,"ngIf"],["role","button",3,"class","title","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"],[3,"innerHTML"],["role","button",3,"title","click"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(m,Z){1&m&&(s.TgZ(0,"div"),s.YNc(1,xt,4,6,"div",0),s.YNc(2,Rt,2,6,"a",1),s.YNc(3,qt,4,6,"ul",0),s.qZA()),2&m&&(s.Gre("",Z.prefixCls,"-footer"),s.xp6(1),s.Q6J("ngIf",Z.extraFooter),s.xp6(1),s.Q6J("ngIf",Z.showToday),s.xp6(1),s.Q6J("ngIf",Z.hasTimePicker||Z.rangeQuickSelector))},dependencies:[g.O5,g.tP,g.RF,g.n9,F.ix,Ne.w,T.dQ],encapsulation:2,changeDetection:0}),$})(),Zt=(()=>{class ${constructor(){this.activeInput="left",this.arrowLeft=0,this.isRange=!1,this.valueChange$=new Me.t(1),this.emitValue$=new ne.xQ,this.inputPartChange$=new ne.xQ}initValue(m=!1){m&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(m=this.value){return Array.isArray(m)?!!m[0]||!!m[1]:!!m}makeValue(m){return this.isRange?m?m.map(Z=>new Qt.Yp(Z)):[]:m?new Qt.Yp(m):null}setActiveDate(m,Z=!1,Te="month"){this.activeDate=this.isRange?(0,Qt._p)(m,Z,{date:"month",month:"year",year:"decade"}[Te],this.activeInput):(0,Qt.ky)(m)}setValue(m){this.value=m,this.valueChange$.next(this.value)}getActiveIndex(m=this.activeInput){return{left:0,right:1}[m]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}}return $.\u0275fac=function(m){return new(m||$)},$.\u0275prov=s.Yz7({token:$,factory:$.\u0275fac}),$})(),Hn=(()=>{class ${constructor(){this.prefixCls="ant-picker-header",this.selectors=[],this.showSuperPreBtn=!0,this.showSuperNextBtn=!0,this.showPreBtn=!0,this.showNextBtn=!0,this.panelModeChange=new s.vpe,this.valueChange=new s.vpe}superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(m){this.value!==m&&(this.value=m,this.valueChange.emit(this.value),this.render())}changeMode(m){this.panelModeChange.emit(m)}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new Qt.Yp),this.selectors=this.getSelectors()}ngOnChanges(m){(m.value||m.locale)&&this.render()}}return $.\u0275fac=function(m){return new(m||$)},$.\u0275dir=s.lG2({type:$,inputs:{value:"value",locale:"locale",showSuperPreBtn:"showSuperPreBtn",showSuperNextBtn:"showSuperNextBtn",showPreBtn:"showPreBtn",showNextBtn:"showNextBtn"},outputs:{panelModeChange:"panelModeChange",valueChange:"valueChange"},features:[s.TTD]}),$})(),Jo=(()=>{class $ extends Hn{constructor(m){super(),this.dateHelper=m}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,io(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>this.changeMode("month"),label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["date-header"]],exportAs:["dateHeader"],features:[s.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(m,Z){1&m&&(s.TgZ(0,"div")(1,"button",0),s.NdJ("click",function(){return Z.superPrevious()}),s._UZ(2,"span",1),s.qZA(),s.TgZ(3,"button",0),s.NdJ("click",function(){return Z.previous()}),s._UZ(4,"span",2),s.qZA(),s.TgZ(5,"div"),s.YNc(6,Qe,3,5,"ng-container",3),s.qZA(),s.TgZ(7,"button",0),s.NdJ("click",function(){return Z.next()}),s._UZ(8,"span",4),s.qZA(),s.TgZ(9,"button",0),s.NdJ("click",function(){return Z.superNext()}),s._UZ(10,"span",5),s.qZA()()),2&m&&(s.Tol(Z.prefixCls),s.xp6(1),s.Gre("",Z.prefixCls,"-super-prev-btn"),s.Udp("visibility",Z.showSuperPreBtn?"visible":"hidden"),s.s9C("title",Z.superPreviousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-prev-btn"),s.Udp("visibility",Z.showPreBtn?"visible":"hidden"),s.s9C("title",Z.previousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-view"),s.xp6(1),s.Q6J("ngForOf",Z.selectors),s.xp6(1),s.Gre("",Z.prefixCls,"-next-btn"),s.Udp("visibility",Z.showNextBtn?"visible":"hidden"),s.s9C("title",Z.nextTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-super-next-btn"),s.Udp("visibility",Z.showSuperNextBtn?"visible":"hidden"),s.s9C("title",Z.superNextTitle()))},dependencies:[g.sg],encapsulation:2,changeDetection:0}),$})(),oe=(()=>{class ${constructor(){this.isTemplateRef=pe.de,this.isNonEmptyString=pe.HH,this.headRow=[],this.bodyRows=[],this.MAX_ROW=6,this.MAX_COL=7,this.prefixCls="ant-picker",this.activeDate=new Qt.Yp,this.showWeek=!1,this.selectedValue=[],this.hoverValue=[],this.valueChange=new s.vpe,this.cellHover=new s.vpe}render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}trackByBodyRow(m,Z){return Z.trackByIndex}trackByBodyColumn(m,Z){return Z.trackByIndex}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(m){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":m.isSelected,"ant-picker-cell-disabled":m.isDisabled,"ant-picker-cell-in-range":!!m.isInSelectedRange,"ant-picker-cell-range-start":!!m.isSelectedStart,"ant-picker-cell-range-end":!!m.isSelectedEnd,"ant-picker-cell-range-start-single":!!m.isStartSingle,"ant-picker-cell-range-end-single":!!m.isEndSingle,"ant-picker-cell-range-hover":!!m.isInHoverRange,"ant-picker-cell-range-hover-start":!!m.isHoverStart,"ant-picker-cell-range-hover-end":!!m.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!m.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!m.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!m.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!m.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(m){m.activeDate&&!m.activeDate.currentValue&&(this.activeDate=new Qt.Yp),(m.disabledDate||m.locale||m.showWeek||this.isDateRealChange(m.activeDate)||this.isDateRealChange(m.value)||this.isDateRealChange(m.selectedValue)||this.isDateRealChange(m.hoverValue))&&this.render()}isDateRealChange(m){if(m){const Z=m.previousValue,Te=m.currentValue;return Array.isArray(Te)?!Array.isArray(Z)||Te.length!==Z.length||Te.some((ct,an)=>{const mn=Z[an];return mn instanceof Qt.Yp?mn.isSameDay(ct):mn!==ct}):!this.isSameDate(Z,Te)}return!1}isSameDate(m,Z){return!m&&!Z||m&&Z&&Z.isSameDay(m)}}return $.\u0275fac=function(m){return new(m||$)},$.\u0275dir=s.lG2({type:$,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:"showWeek",selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender"},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[s.TTD]}),$})(),Xe=(()=>{class $ extends oe{constructor(m,Z){super(),this.i18n=m,this.dateHelper=Z}changeValueFromInside(m){this.activeDate=this.activeDate.setYear(m.getYear()).setMonth(m.getMonth()).setDate(m.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const m=[],Z=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let Te=0;Tethis.changeValueFromInside(On),onMouseEnter:()=>this.cellHover.emit(On)};this.addCellProperty(ye,On),this.showWeek&&!an.weekNum&&(an.weekNum=this.dateHelper.getISOWeek(On.nativeDate)),On.isSameDay(this.value)&&(an.isActive=On.isSameDay(this.value)),an.dateCells.push(ye)}an.classMap={"ant-picker-week-panel-row":this.showWeek,"ant-picker-week-panel-row-selected":this.showWeek&&an.isActive},m.push(an)}return m}addCellProperty(m,Z){if(this.hasRangeValue()&&!this.showWeek){const[Te,ct]=this.hoverValue,[an,mn]=this.selectedValue;an?.isSameDay(Z)&&(m.isSelectedStart=!0,m.isSelected=!0),mn?.isSameDay(Z)&&(m.isSelectedEnd=!0,m.isSelected=!0),Te&&ct&&(m.isHoverStart=Te.isSameDay(Z),m.isHoverEnd=ct.isSameDay(Z),m.isLastCellInPanel=Z.isLastDayOfMonth(),m.isFirstCellInPanel=Z.isFirstDayOfMonth(),m.isInHoverRange=Te.isBeforeDay(Z)&&Z.isBeforeDay(ct)),m.isStartSingle=an&&!mn,m.isEndSingle=!an&&mn,m.isInSelectedRange=an?.isBeforeDay(Z)&&Z.isBeforeDay(mn),m.isRangeStartNearHover=an&&m.isInHoverRange,m.isRangeEndNearHover=mn&&m.isInHoverRange}m.isToday=Z.isToday(),m.isSelected=Z.isSameDay(this.value),m.isDisabled=!!this.disabledDate?.(Z.nativeDate),m.classMap=this.getClassMap(m)}getClassMap(m){const Z=new Qt.Yp(m.value);return{...super.getClassMap(m),"ant-picker-cell-today":!!m.isToday,"ant-picker-cell-in-view":Z.isSameMonth(this.activeDate)}}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.wi),s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["date-table"]],inputs:{locale:"locale"},exportAs:["dateTable"],features:[s.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(m,Z){1&m&&(s.TgZ(0,"table",0),s.YNc(1,Vt,4,2,"thead",1),s.TgZ(2,"tbody"),s.YNc(3,Sn,3,4,"tr",2),s.qZA()()),2&m&&(s.xp6(1),s.Q6J("ngIf",Z.headRow&&Z.headRow.length>0),s.xp6(2),s.Q6J("ngForOf",Z.bodyRows)("ngForTrackBy",Z.trackByBodyRow))},dependencies:[g.mk,g.sg,g.O5,g.tP,g.RF,g.n9,g.ED],encapsulation:2,changeDetection:0}),$})(),x=(()=>{class $ extends Hn{previous(){}next(){}get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}}return $.\u0275fac=function(){let Je;return function(Z){return(Je||(Je=s.n5z($)))(Z||$)}}(),$.\u0275cmp=s.Xpm({type:$,selectors:[["decade-header"]],exportAs:["decadeHeader"],features:[s.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(m,Z){1&m&&(s.TgZ(0,"div")(1,"button",0),s.NdJ("click",function(){return Z.superPrevious()}),s._UZ(2,"span",1),s.qZA(),s.TgZ(3,"button",0),s.NdJ("click",function(){return Z.previous()}),s._UZ(4,"span",2),s.qZA(),s.TgZ(5,"div"),s.YNc(6,ti,3,5,"ng-container",3),s.qZA(),s.TgZ(7,"button",0),s.NdJ("click",function(){return Z.next()}),s._UZ(8,"span",4),s.qZA(),s.TgZ(9,"button",0),s.NdJ("click",function(){return Z.superNext()}),s._UZ(10,"span",5),s.qZA()()),2&m&&(s.Tol(Z.prefixCls),s.xp6(1),s.Gre("",Z.prefixCls,"-super-prev-btn"),s.Udp("visibility",Z.showSuperPreBtn?"visible":"hidden"),s.s9C("title",Z.superPreviousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-prev-btn"),s.Udp("visibility",Z.showPreBtn?"visible":"hidden"),s.s9C("title",Z.previousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-view"),s.xp6(1),s.Q6J("ngForOf",Z.selectors),s.xp6(1),s.Gre("",Z.prefixCls,"-next-btn"),s.Udp("visibility",Z.showNextBtn?"visible":"hidden"),s.s9C("title",Z.nextTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-super-next-btn"),s.Udp("visibility",Z.showSuperNextBtn?"visible":"hidden"),s.s9C("title",Z.superNextTitle()))},dependencies:[g.sg],encapsulation:2,changeDetection:0}),$})(),Tt=(()=>{class $ extends oe{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const m=[],Z=this.value&&this.value.getYear(),Te=this.startYear,ct=this.endYear,an=Te-10;let mn=0;for(let On=0;On<4;On++){const P={dateCells:[],trackByIndex:On};for(let re=0;re<3;re++){const L=an+10*mn,ye=an+10*mn+9,ot=`${L}-${ye}`,kt={trackByIndex:re,value:this.activeDate.setYear(L).nativeDate,content:ot,title:ot,isDisabled:!1,isSelected:Z>=L&&Z<=ye,isLowerThanStart:yect,classMap:{},onClick(){},onMouseEnter(){}};kt.classMap=this.getClassMap(kt),kt.onClick=()=>this.chooseDecade(L),mn++,P.dateCells.push(kt)}m.push(P)}return m}getClassMap(m){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!m.isBiggerThanEnd&&!m.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:m.isSelected,[`${this.prefixCls}-cell-disabled`]:m.isDisabled}}chooseDecade(m){this.value=this.activeDate.setYear(m),this.valueChange.emit(this.value)}}return $.\u0275fac=function(){let Je;return function(Z){return(Je||(Je=s.n5z($)))(Z||$)}}(),$.\u0275cmp=s.Xpm({type:$,selectors:[["decade-table"]],exportAs:["decadeTable"],features:[s.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(m,Z){1&m&&(s.TgZ(0,"table",0),s.YNc(1,K,4,2,"thead",1),s.TgZ(2,"tbody"),s.YNc(3,ai,3,4,"tr",2),s.qZA()()),2&m&&(s.xp6(1),s.Q6J("ngIf",Z.headRow&&Z.headRow.length>0),s.xp6(2),s.Q6J("ngForOf",Z.bodyRows)("ngForTrackBy",Z.trackByBodyRow))},dependencies:[g.mk,g.sg,g.O5,g.tP,g.RF,g.n9,g.ED],encapsulation:2,changeDetection:0}),$})(),I=(()=>{class $ extends Hn{constructor(m){super(),this.dateHelper=m}getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,io(this.locale.yearFormat))}]}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["month-header"]],exportAs:["monthHeader"],features:[s.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(m,Z){1&m&&(s.TgZ(0,"div")(1,"button",0),s.NdJ("click",function(){return Z.superPrevious()}),s._UZ(2,"span",1),s.qZA(),s.TgZ(3,"button",0),s.NdJ("click",function(){return Z.previous()}),s._UZ(4,"span",2),s.qZA(),s.TgZ(5,"div"),s.YNc(6,Ki,3,5,"ng-container",3),s.qZA(),s.TgZ(7,"button",0),s.NdJ("click",function(){return Z.next()}),s._UZ(8,"span",4),s.qZA(),s.TgZ(9,"button",0),s.NdJ("click",function(){return Z.superNext()}),s._UZ(10,"span",5),s.qZA()()),2&m&&(s.Tol(Z.prefixCls),s.xp6(1),s.Gre("",Z.prefixCls,"-super-prev-btn"),s.Udp("visibility",Z.showSuperPreBtn?"visible":"hidden"),s.s9C("title",Z.superPreviousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-prev-btn"),s.Udp("visibility",Z.showPreBtn?"visible":"hidden"),s.s9C("title",Z.previousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-view"),s.xp6(1),s.Q6J("ngForOf",Z.selectors),s.xp6(1),s.Gre("",Z.prefixCls,"-next-btn"),s.Udp("visibility",Z.showNextBtn?"visible":"hidden"),s.s9C("title",Z.nextTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-super-next-btn"),s.Udp("visibility",Z.showSuperNextBtn?"visible":"hidden"),s.s9C("title",Z.superNextTitle()))},dependencies:[g.sg],encapsulation:2,changeDetection:0}),$})(),N=(()=>{class $ extends oe{constructor(m){super(),this.dateHelper=m,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const m=[];let Z=0;for(let Te=0;Tethis.chooseMonth(re.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(mn)};this.addCellProperty(re,mn),ct.dateCells.push(re),Z++}m.push(ct)}return m}isDisabledMonth(m){if(!this.disabledDate)return!1;for(let Te=m.setDate(1);Te.getMonth()===m.getMonth();Te=Te.addDays(1))if(!this.disabledDate(Te.nativeDate))return!1;return!0}addCellProperty(m,Z){if(this.hasRangeValue()){const[Te,ct]=this.hoverValue,[an,mn]=this.selectedValue;an?.isSameMonth(Z)&&(m.isSelectedStart=!0,m.isSelected=!0),mn?.isSameMonth(Z)&&(m.isSelectedEnd=!0,m.isSelected=!0),Te&&ct&&(m.isHoverStart=Te.isSameMonth(Z),m.isHoverEnd=ct.isSameMonth(Z),m.isLastCellInPanel=11===Z.getMonth(),m.isFirstCellInPanel=0===Z.getMonth(),m.isInHoverRange=Te.isBeforeMonth(Z)&&Z.isBeforeMonth(ct)),m.isStartSingle=an&&!mn,m.isEndSingle=!an&&mn,m.isInSelectedRange=an?.isBeforeMonth(Z)&&Z?.isBeforeMonth(mn),m.isRangeStartNearHover=an&&m.isInHoverRange,m.isRangeEndNearHover=mn&&m.isInHoverRange}else Z.isSameMonth(this.value)&&(m.isSelected=!0);m.classMap=this.getClassMap(m)}chooseMonth(m){this.value=this.activeDate.setMonth(m),this.valueChange.emit(this.value)}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["month-table"]],exportAs:["monthTable"],features:[s.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(m,Z){1&m&&(s.TgZ(0,"table",0),s.YNc(1,Mr,4,2,"thead",1),s.TgZ(2,"tbody"),s.YNc(3,yi,3,4,"tr",2),s.qZA()()),2&m&&(s.xp6(1),s.Q6J("ngIf",Z.headRow&&Z.headRow.length>0),s.xp6(2),s.Q6J("ngForOf",Z.bodyRows)("ngForTrackBy",Z.trackByBodyRow))},dependencies:[g.mk,g.sg,g.O5,g.tP,g.RF,g.n9,g.ED],encapsulation:2,changeDetection:0}),$})(),D=(()=>{class $ extends Hn{get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>this.changeMode("decade"),label:`${this.startYear}-${this.endYear}`}]}}return $.\u0275fac=function(){let Je;return function(Z){return(Je||(Je=s.n5z($)))(Z||$)}}(),$.\u0275cmp=s.Xpm({type:$,selectors:[["year-header"]],exportAs:["yearHeader"],features:[s.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(m,Z){1&m&&(s.TgZ(0,"div")(1,"button",0),s.NdJ("click",function(){return Z.superPrevious()}),s._UZ(2,"span",1),s.qZA(),s.TgZ(3,"button",0),s.NdJ("click",function(){return Z.previous()}),s._UZ(4,"span",2),s.qZA(),s.TgZ(5,"div"),s.YNc(6,tr,3,5,"ng-container",3),s.qZA(),s.TgZ(7,"button",0),s.NdJ("click",function(){return Z.next()}),s._UZ(8,"span",4),s.qZA(),s.TgZ(9,"button",0),s.NdJ("click",function(){return Z.superNext()}),s._UZ(10,"span",5),s.qZA()()),2&m&&(s.Tol(Z.prefixCls),s.xp6(1),s.Gre("",Z.prefixCls,"-super-prev-btn"),s.Udp("visibility",Z.showSuperPreBtn?"visible":"hidden"),s.s9C("title",Z.superPreviousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-prev-btn"),s.Udp("visibility",Z.showPreBtn?"visible":"hidden"),s.s9C("title",Z.previousTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-view"),s.xp6(1),s.Q6J("ngForOf",Z.selectors),s.xp6(1),s.Gre("",Z.prefixCls,"-next-btn"),s.Udp("visibility",Z.showNextBtn?"visible":"hidden"),s.s9C("title",Z.nextTitle()),s.xp6(2),s.Gre("",Z.prefixCls,"-super-next-btn"),s.Udp("visibility",Z.showSuperNextBtn?"visible":"hidden"),s.s9C("title",Z.superNextTitle()))},dependencies:[g.sg],encapsulation:2,changeDetection:0}),$})(),me=(()=>{class $ extends oe{constructor(m){super(),this.dateHelper=m,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const m=this.activeDate&&this.activeDate.getYear(),Z=10*parseInt(""+m/10,10),Te=Z+9,ct=Z-1,an=[];let mn=0;for(let On=0;On=Z&&L<=Te,isSelected:L===(this.value&&this.value.getYear()),content:ot,title:ot,classMap:{},isLastCellInPanel:ye.getYear()===Te,isFirstCellInPanel:ye.getYear()===Z,cellRender:(0,pe.rw)(this.cellRender,ye),fullCellRender:(0,pe.rw)(this.fullCellRender,ye),onClick:()=>this.chooseYear(Nt.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(ye)};this.addCellProperty(Nt,ye),P.dateCells.push(Nt),mn++}an.push(P)}return an}getClassMap(m){return{...super.getClassMap(m),"ant-picker-cell-in-view":!!m.isSameDecade}}isDisabledYear(m){if(!this.disabledDate)return!1;for(let Te=m.setMonth(0).setDate(1);Te.getYear()===m.getYear();Te=Te.addDays(1))if(!this.disabledDate(Te.nativeDate))return!1;return!0}addCellProperty(m,Z){if(this.hasRangeValue()){const[Te,ct]=this.hoverValue,[an,mn]=this.selectedValue;an?.isSameYear(Z)&&(m.isSelectedStart=!0,m.isSelected=!0),mn?.isSameYear(Z)&&(m.isSelectedEnd=!0,m.isSelected=!0),Te&&ct&&(m.isHoverStart=Te.isSameYear(Z),m.isHoverEnd=ct.isSameYear(Z),m.isInHoverRange=Te.isBeforeYear(Z)&&Z.isBeforeYear(ct)),m.isStartSingle=an&&!mn,m.isEndSingle=!an&&mn,m.isInSelectedRange=an?.isBeforeYear(Z)&&Z?.isBeforeYear(mn),m.isRangeStartNearHover=an&&m.isInHoverRange,m.isRangeEndNearHover=mn&&m.isInHoverRange}else Z.isSameYear(this.value)&&(m.isSelected=!0);m.classMap=this.getClassMap(m)}chooseYear(m){this.value=this.activeDate.setYear(m),this.valueChange.emit(this.value),this.render()}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(X.mx))},$.\u0275cmp=s.Xpm({type:$,selectors:[["year-table"]],exportAs:["yearTable"],features:[s.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(m,Z){1&m&&(s.TgZ(0,"table",0),s.YNc(1,Ti,4,2,"thead",1),s.TgZ(2,"tbody"),s.YNc(3,Fn,3,4,"tr",2),s.qZA()()),2&m&&(s.xp6(1),s.Q6J("ngIf",Z.headRow&&Z.headRow.length>0),s.xp6(2),s.Q6J("ngForOf",Z.bodyRows)("ngForTrackBy",Z.trackByBodyRow))},dependencies:[g.mk,g.sg,g.O5,g.tP,g.RF,g.n9,g.ED],encapsulation:2,changeDetection:0}),$})(),ft=(()=>{class ${constructor(){this.panelModeChange=new s.vpe,this.headerChange=new s.vpe,this.selectDate=new s.vpe,this.selectTime=new s.vpe,this.cellHover=new s.vpe,this.prefixCls=Gi}enablePrevNext(m,Z){return!(!this.showTimePicker&&Z===this.endPanelMode&&("left"===this.partType&&"next"===m||"right"===this.partType&&"prev"===m))}onSelectTime(m){this.selectTime.emit(new Qt.Yp(m))}onSelectDate(m){const Z=m instanceof Qt.Yp?m:new Qt.Yp(m),Te=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&Te&&Z.setHms(Te.getHours(),Te.getMinutes(),Te.getSeconds()),this.selectDate.emit(Z)}onChooseMonth(m){this.activeDate=this.activeDate.setMonth(m.getMonth()),"month"===this.endPanelMode?(this.value=m,this.selectDate.emit(m)):(this.headerChange.emit(m),this.panelModeChange.emit(this.endPanelMode))}onChooseYear(m){this.activeDate=this.activeDate.setYear(m.getYear()),"year"===this.endPanelMode?(this.value=m,this.selectDate.emit(m)):(this.headerChange.emit(m),this.panelModeChange.emit(this.endPanelMode))}onChooseDecade(m){this.activeDate=this.activeDate.setYear(m.getYear()),"decade"===this.endPanelMode?(this.value=m,this.selectDate.emit(m)):(this.headerChange.emit(m),this.panelModeChange.emit("year"))}ngOnChanges(m){m.activeDate&&!m.activeDate.currentValue&&(this.activeDate=new Qt.Yp),m.panelMode&&"time"===m.panelMode.currentValue&&(this.panelMode="date")}}return $.\u0275fac=function(m){return new(m||$)},$.\u0275cmp=s.Xpm({type:$,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:"showWeek",locale:"locale",showTimePicker:"showTimePicker",timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType"},outputs:{panelModeChange:"panelModeChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},exportAs:["innerPopup"],features:[s.TTD],decls:8,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"activeDate","value","locale","disabledDate","valueChange"],[3,"activeDate","value","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","activeDate","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn","valueChange","panelModeChange"],[3,"locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","valueChange","cellHover"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn","ngModelChange"]],template:function(m,Z){1&m&&(s.TgZ(0,"div")(1,"div"),s.ynx(2,0),s.YNc(3,si,4,13,"ng-container",1),s.YNc(4,_i,4,15,"ng-container",1),s.YNc(5,cr,4,15,"ng-container",1),s.YNc(6,Sr,4,17,"ng-container",2),s.BQk(),s.qZA(),s.YNc(7,ur,2,13,"ng-container",3),s.qZA()),2&m&&(s.ekj("ant-picker-datetime-panel",Z.showTimePicker),s.xp6(1),s.MT6("",Z.prefixCls,"-",Z.panelMode,"-panel"),s.xp6(1),s.Q6J("ngSwitch",Z.panelMode),s.xp6(1),s.Q6J("ngSwitchCase","decade"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(2),s.Q6J("ngIf",Z.showTimePicker&&Z.timeOptions))},dependencies:[g.O5,g.RF,g.n9,g.ED,h.JJ,h.On,Jo,Xe,x,Tt,I,N,D,me,Bt],encapsulation:2,changeDetection:0}),$})(),$t=(()=>{class ${constructor(m,Z,Te,ct){this.datePickerService=m,this.cdr=Z,this.ngZone=Te,this.host=ct,this.inline=!1,this.dir="ltr",this.panelModeChange=new s.vpe,this.calendarChange=new s.vpe,this.resultOk=new s.vpe,this.prefixCls=Gi,this.endPanelMode="date",this.timeOptions=null,this.hoverValue=[],this.checkedPartArr=[!1,!1],this.destroy$=new ne.xQ,this.disabledStartTime=an=>this.disabledTime&&this.disabledTime(an,"start"),this.disabledEndTime=an=>this.disabledTime&&this.disabledTime(an,"end")}get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}ngOnInit(){(0,dt.T)(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe((0,ee.R)(this.destroy$)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()}),this.ngZone.runOutsideAngular(()=>{(0,Pe.R)(this.host.nativeElement,"mousedown").pipe((0,ee.R)(this.destroy$)).subscribe(m=>m.preventDefault())})}ngOnChanges(m){(m.showTime||m.disabledTime)&&this.showTime&&this.buildTimeOptions(),m.panelMode&&(this.endPanelMode=this.panelMode),m.defaultPickerValue&&this.updateActiveDate()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateActiveDate(){const m=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(m,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(m){this.changeValueFromSelect(m,!this.showTime)}onCellHover(m){if(!this.isRange)return;const Te=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];Te&&(this.hoverValue=Te.isBeforeDay(m)?[Te,m]:[m,Te])}onPanelModeChange(m,Z){this.panelMode=this.isRange?0===this.datePickerService.getActiveIndex(Z)?[m,this.panelMode[1]]:[this.panelMode[0],m]:m,this.panelModeChange.emit(this.panelMode)}onActiveDateChange(m,Z){if(this.isRange){const Te=[];Te[this.datePickerService.getActiveIndex(Z)]=m,this.datePickerService.setActiveDate(Te,this.hasTimePicker,this.getPanelMode(this.endPanelMode,Z))}else this.datePickerService.setActiveDate(m)}onSelectTime(m,Z){if(this.isRange){const Te=(0,Qt.ky)(this.datePickerService.value),ct=this.datePickerService.getActiveIndex(Z);Te[ct]=this.overrideHms(m,Te[ct]),this.datePickerService.setValue(Te)}else{const Te=this.overrideHms(m,this.datePickerService.value);this.datePickerService.setValue(Te)}this.datePickerService.inputPartChange$.next(),this.buildTimeOptions()}changeValueFromSelect(m,Z=!0){if(this.isRange){const Te=(0,Qt.ky)(this.datePickerService.value),ct=this.datePickerService.activeInput;let an=ct;Te[this.datePickerService.getActiveIndex(ct)]=m,this.checkedPartArr[this.datePickerService.getActiveIndex(ct)]=!0,this.hoverValue=Te,Z?this.inline?(an=this.reversedPart(ct),"right"===an&&(Te[this.datePickerService.getActiveIndex(an)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(an)]=!1),this.datePickerService.setValue(Te),this.calendarChange.emit(Te),this.isBothAllowed(Te)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):((0,Qt.Et)(Te)&&(an=this.reversedPart(ct),Te[this.datePickerService.getActiveIndex(an)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(an)]=!1),this.datePickerService.setValue(Te),this.isBothAllowed(Te)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(Te),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(Te)&&(an=this.reversedPart(ct),this.calendarChange.emit([m.clone()]))):this.datePickerService.setValue(Te),this.datePickerService.inputPartChange$.next(an)}else this.datePickerService.setValue(m),this.datePickerService.inputPartChange$.next(),Z&&this.isAllowed(m)&&this.datePickerService.emitValue$.next();this.buildTimeOptions()}reversedPart(m){return"left"===m?"right":"left"}getPanelMode(m,Z){return this.isRange?m[this.datePickerService.getActiveIndex(Z)]:m}getValue(m){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(m)]:this.datePickerService.value}getActiveDate(m){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(m)]:this.datePickerService.activeDate}isOneAllowed(m){const Z=this.datePickerService.getActiveIndex();return vr(m[Z],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][Z])}isBothAllowed(m){return vr(m[0],this.disabledDate,this.disabledStartTime)&&vr(m[1],this.disabledDate,this.disabledEndTime)}isAllowed(m,Z=!1){return this.isRange?Z?this.isBothAllowed(m):this.isOneAllowed(m):vr(m,this.disabledDate,this.disabledTime)}getTimeOptions(m){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(m)]:this.timeOptions:null}onClickPresetRange(m){const Z="function"==typeof m?m():m;Z&&(this.datePickerService.setValue([new Qt.Yp(Z[0]),new Qt.Yp(Z[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(m){"function"!=typeof m&&(this.hoverValue=[new Qt.Yp(m[0]),new Qt.Yp(m[1])])}getObjectKeys(m){return m?Object.keys(m):[]}show(m){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==m)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const m="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const Z=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(m,Z[0],"start"),this.overrideTimeOptions(m,Z[1],"end")]}else this.timeOptions=this.overrideTimeOptions(m,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(m,Z,Te){let ct;return ct=Te?"start"===Te?this.disabledStartTime:this.disabledEndTime:this.disabledTime,{...m,...Tr(Z,ct)}}overrideHms(m,Z){return m=m||new Qt.Yp,(Z=Z||new Qt.Yp).setHms(m.getHours(),m.getMinutes(),m.getSeconds())}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(Zt),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(s.SBq))},$.\u0275cmp=s.Xpm({type:$,selectors:[["date-range-popup"]],inputs:{isRange:"isRange",inline:"inline",showWeek:"showWeek",locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:"showToday",showNow:"showNow",showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},exportAs:["dateRangePopup"],features:[s.TTD],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["singlePanel",""],["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],["noTimePicker",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","cellHover","selectDate","selectTime","headerChange"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday",4,"ngIf"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday"],[3,"class","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(m,Z){if(1&m&&(s.YNc(0,Li,9,18,"ng-container",0),s.YNc(1,wr,4,13,"ng-template",null,1,s.W1O),s.YNc(3,to,2,18,"ng-template",null,2,s.W1O),s.YNc(5,jr,1,1,"ng-template",null,3,s.W1O),s.YNc(7,nr,1,1,"ng-template",null,4,s.W1O)),2&m){const Te=s.MAs(2);s.Q6J("ngIf",Z.isRange)("ngIfElse",Te)}},dependencies:[g.sg,g.O5,g.tP,Dr,ft],encapsulation:2,changeDetection:0}),$})();const Mn={position:"relative"};let Ii=(()=>{class ${constructor(m,Z,Te,ct,an,mn,On,P,re,L,ye,ot,kt,Nt){this.nzConfigService=m,this.datePickerService=Z,this.i18n=Te,this.cdr=ct,this.renderer=an,this.elementRef=mn,this.dateHelper=On,this.nzResizeObserver=P,this.platform=re,this.directionality=ye,this.noAnimation=ot,this.nzFormStatusService=kt,this.nzFormNoStatusService=Nt,this._nzModuleName="datePicker",this.isRange=!1,this.dir="ltr",this.statusCls={},this.status="",this.hasFeedback=!1,this.panelMode="date",this.destroyed$=new ne.xQ,this.isCustomPlaceHolder=!1,this.isCustomFormat=!1,this.showTime=!1,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1,this.nzInline=!1,this.nzPlaceHolder="",this.nzPopupStyle=Mn,this.nzSize="default",this.nzStatus="",this.nzShowToday=!0,this.nzMode="date",this.nzShowNow=!0,this.nzDefaultPickerValue=null,this.nzSeparator=void 0,this.nzSuffixIcon="calendar",this.nzBackdrop=!1,this.nzId=null,this.nzPlacement="bottomLeft",this.nzOnPanelChange=new s.vpe,this.nzOnCalendarChange=new s.vpe,this.nzOnOk=new s.vpe,this.nzOnOpenChange=new s.vpe,this.inputSize=12,this.prefixCls=Gi,this.activeBarStyle={},this.overlayOpen=!1,this.overlayPositions=[...H.bw],this.currentPositionX="start",this.currentPositionY="bottom",this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.document=L,this.origin=new e.xu(this.elementRef)}get nzShowTime(){return this.showTime}set nzShowTime(m){this.showTime="object"==typeof m?m:(0,pe.sw)(m)}get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe((0,ee.R)(this.destroyed$)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe((0,ee.R)(this.destroyed$)).subscribe(m=>{m&&(this.datePickerService.activeInput=m),this.focus(),this.updateInputWidthAndArrowLeft()})}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;const m={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.activeBarStyle="rtl"===this.dir?{...m,right:`${this.datePickerService.arrowLeft}px`}:{...m,left:`${this.datePickerService.arrowLeft}px`},this.cdr.markForCheck()}getInput(m){if(!this.nzInline)return this.isRange?"left"===m?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){const m=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==m&&m?.focus()}onFocus(m,Z){m.preventDefault(),Z&&this.datePickerService.inputPartChange$.next(Z),this.renderClass(!0)}onFocusout(m){m.preventDefault(),this.elementRef.nativeElement.contains(m.relatedTarget)||this.checkAndClose(),this.renderClass(!1)}open(){this.nzInline||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.nzOnOpenChange.emit(!0),this.focus(),this.cdr.markForCheck())}close(){this.nzInline||this.realOpenState&&(this.overlayOpen=!1,this.nzOnOpenChange.emit(!1))}showClear(){return!this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&(0,Qt.Et)(this.datePickerService.value)){const m=this.datePickerService.getActiveIndex();return void this.panel.changeValueFromSelect(this.datePickerService.value[m],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close()}onClickInputBox(m){m.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open()}onOverlayKeydown(m){m.keyCode===Jt.hY&&this.datePickerService.initValue()}onPositionChange(m){this.currentPositionX=m.connectionPair.originX,this.currentPositionY=m.connectionPair.originY,this.cdr.detectChanges()}onClickClear(m){m.preventDefault(),m.stopPropagation(),this.datePickerService.initValue(!0),this.datePickerService.emitValue$.next()}updateInputValue(){const m=this.datePickerService.value;this.inputValue=this.isRange?m?m.map(Z=>this.formatValue(Z)):["",""]:this.formatValue(m),this.cdr.markForCheck()}formatValue(m){return this.dateHelper.format(m&&m.nativeDate,this.nzFormat)}onInputChange(m,Z=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.open();const Te=this.checkValidDate(m);Te&&this.realOpenState&&this.panel.changeValueFromSelect(Te,Z)}onKeyupEnter(m){this.onInputChange(m.target.value,!0)}checkValidDate(m){const Z=new Qt.Yp(this.dateHelper.parseDate(m,this.nzFormat));return Z.isValid()&&m===this.dateHelper.format(Z.nativeDate,this.nzFormat)?Z:null}getPlaceholder(m){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(m)]:this.nzPlaceHolder}isEmptyValue(m){return null===m||(this.isRange?!m||!Array.isArray(m)||m.every(Z=>!Z):!m)}isOpenHandledByUser(){return void 0!==this.nzOpen}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,te.x)((m,Z)=>m.status===Z.status&&m.hasFeedback===Z.hasFeedback),(0,Ie.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,je.of)(!1)),(0,ze.U)(([{status:m,hasFeedback:Z},Te])=>({status:Te?"":m,hasFeedback:Z})),(0,ee.R)(this.destroyed$)).subscribe(({status:m,hasFeedback:Z})=>{this.setStatusStyles(m,Z)}),this.nzLocale||this.i18n.localeChange.pipe((0,ee.R)(this.destroyed$)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe((0,ee.R)(this.destroyed$)).subscribe(m=>{const Z=this.datePickerService.value;if(this.datePickerService.initialValue=(0,Qt.ky)(Z),this.isRange){const Te=Z;this.onChangeFn(Te.length?[Te[0]?.nativeDate??null,Te[1]?.nativeDate??null]:[])}else this.onChangeFn(Z?Z.nativeDate:null);this.onTouchedFn(),this.close()}),this.directionality.change?.pipe((0,ee.R)(this.destroyed$)).subscribe(m=>{this.dir=m,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe((0,ee.R)(this.destroyed$)).subscribe(()=>{this.updateInputValue()})}ngOnChanges(m){const{nzStatus:Z,nzPlacement:Te}=m;m.nzPopupStyle&&(this.nzPopupStyle=this.nzPopupStyle?{...this.nzPopupStyle,...Mn}:Mn),m.nzPlaceHolder?.currentValue&&(this.isCustomPlaceHolder=!0),m.nzFormat?.currentValue&&(this.isCustomFormat=!0),m.nzLocale&&this.setDefaultPlaceHolder(),m.nzRenderExtraFooter&&(this.extraFooter=(0,pe.rw)(this.nzRenderExtraFooter)),m.nzMode&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),Z&&this.setStatusStyles(this.nzStatus,this.hasFeedback),Te&&this.setPlacement(this.nzPlacement)}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}setModeAndFormat(){const m={year:"yyyy",month:"yyyy-MM",week:this.i18n.getDateLocale()?"RRRR-II":"yyyy-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=m[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue()}onOpenChange(m){this.nzOnOpenChange.emit(m)}writeValue(m){this.setValue(m),this.cdr.markForCheck()}registerOnChange(m){this.onChangeFn=m}registerOnTouched(m){this.onTouchedFn=m}setDisabledState(m){this.nzDisabled=m,this.cdr.markForCheck()}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const m={year:this.getPropertyOfLocale("yearPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},Z={year:this.getPropertyOfLocale("rangeYearPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?Z[this.nzMode]:m[this.nzMode]}}getPropertyOfLocale(m){return this.nzLocale.lang[m]||this.i18n.getLocaleData(`DatePicker.lang.${m}`)}setValue(m){const Z=this.datePickerService.makeValue(m);this.datePickerService.setValue(Z),this.datePickerService.initialValue=Z}renderClass(m){m?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(m){this.nzOnPanelChange.emit(m)}onCalendarChange(m){if(this.isRange&&Array.isArray(m)){const Z=m.filter(Te=>Te instanceof Qt.Yp).map(Te=>Te.nativeDate);this.nzOnCalendarChange.emit(Z)}}onResultOk(){if(this.isRange){const m=this.datePickerService.value;this.nzOnOk.emit(m.length?[m[0]?.nativeDate||null,m[1]?.nativeDate||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}setStatusStyles(m,Z){this.status=m,this.hasFeedback=Z,this.cdr.markForCheck(),this.statusCls=(0,pe.Zu)(this.prefixCls,m,Z),Object.keys(this.statusCls).forEach(Te=>{this.statusCls[Te]?this.renderer.addClass(this.elementRef.nativeElement,Te):this.renderer.removeClass(this.elementRef.nativeElement,Te)})}setPlacement(m){const Z=H.dz[m];this.overlayPositions=[Z,...H.bw],this.currentPositionX=Z.originX,this.currentPositionY=Z.originY}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(R.jY),s.Y36(Zt),s.Y36(X.wi),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(X.mx),s.Y36(U.D3),s.Y36(B.t4),s.Y36(g.K0),s.Y36(o.Is,8),s.Y36(b.P,9),s.Y36(S.kH,8),s.Y36(S.yW,8))},$.\u0275cmp=s.Xpm({type:$,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(m,Z){if(1&m&&(s.Gf(e.pI,5),s.Gf($t,5),s.Gf(kr,5),s.Gf(Or,5),s.Gf(pr,5)),2&m){let Te;s.iGM(Te=s.CRH())&&(Z.cdkConnectedOverlay=Te.first),s.iGM(Te=s.CRH())&&(Z.panel=Te.first),s.iGM(Te=s.CRH())&&(Z.separatorElement=Te.first),s.iGM(Te=s.CRH())&&(Z.pickerInput=Te.first),s.iGM(Te=s.CRH())&&(Z.rangePickerInputs=Te)}},hostVars:16,hostBindings:function(m,Z){1&m&&s.NdJ("click",function(ct){return Z.onClickInputBox(ct)}),2&m&&s.ekj("ant-picker",!0)("ant-picker-range",Z.isRange)("ant-picker-large","large"===Z.nzSize)("ant-picker-small","small"===Z.nzSize)("ant-picker-disabled",Z.nzDisabled)("ant-picker-rtl","rtl"===Z.dir)("ant-picker-borderless",Z.nzBorderless)("ant-picker-inline",Z.nzInline)},inputs:{nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly",nzInline:"nzInline",nzOpen:"nzOpen",nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:"nzDropdownClassName",nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:"nzShowToday",nzMode:"nzMode",nzShowNow:"nzShowNow",nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[s._Bn([Zt,{provide:h.JU,multi:!0,useExisting:(0,s.Gpc)(()=>$)}]),s.TTD],decls:8,vars:7,consts:[[4,"ngIf","ngIfElse"],["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","positionChange","detach","overlayKeydown"],[3,"class",4,"ngIf"],[4,"ngIf"],["autocomplete","off",3,"disabled","readOnly","ngModel","placeholder","size","ngModelChange","focus","focusout","keyup.enter"],["pickerInput",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["separatorElement",""],["defaultSeparator",""],["nz-icon","","nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"disabled","readOnly","size","ngModel","placeholder","click","focusout","focus","keyup.enter","ngModelChange"],["rangePickerInput",""],[3,"ngStyle"],[3,"class","click",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"status",4,"ngIf"],[3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],["nz-icon","",3,"nzType"],[3,"status"],[3,"isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","panelModeChange","calendarChange","resultOk"],[1,"ant-picker-wrapper",2,"position","relative",3,"nzNoAnimation"]],template:function(m,Z){if(1&m&&(s.YNc(0,Wr,3,2,"ng-container",0),s.YNc(1,ei,2,6,"ng-template",null,1,s.W1O),s.YNc(3,Ri,5,10,"ng-template",null,2,s.W1O),s.YNc(5,no,2,36,"ng-template",null,3,s.W1O),s.YNc(7,bn,2,3,"ng-template",4),s.NdJ("positionChange",function(ct){return Z.onPositionChange(ct)})("detach",function(){return Z.close()})("overlayKeydown",function(ct){return Z.onOverlayKeydown(ct)})),2&m){const Te=s.MAs(6);s.Q6J("ngIf",!Z.nzInline)("ngIfElse",Te),s.xp6(7),s.Q6J("cdkConnectedOverlayHasBackdrop",Z.nzBackdrop)("cdkConnectedOverlayOrigin",Z.origin)("cdkConnectedOverlayOpen",Z.realOpenState)("cdkConnectedOverlayPositions",Z.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper")}},dependencies:[o.Lv,g.O5,g.tP,g.PC,h.Fj,h.JJ,h.On,e.pI,A.Ls,H.hQ,b.P,S.w_,z.f,Ne.w,$t],encapsulation:2,data:{animation:[ke.mF]},changeDetection:0}),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzAllowClear",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzAutoFocus",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzDisabled",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzBorderless",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzInputReadOnly",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzInline",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzOpen",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzShowToday",void 0),(0,j.gn)([(0,pe.yF)()],$.prototype,"nzShowNow",void 0),(0,j.gn)([(0,R.oS)()],$.prototype,"nzSeparator",void 0),(0,j.gn)([(0,R.oS)()],$.prototype,"nzSuffixIcon",void 0),(0,j.gn)([(0,R.oS)()],$.prototype,"nzBackdrop",void 0),$})(),Wi=(()=>{class ${}return $.\u0275fac=function(m){return new(m||$)},$.\u0275mod=s.oAB({type:$}),$.\u0275inj=s.cJS({imports:[g.ez,h.u5,X.YI,Pt,z.T]}),$})(),oa=(()=>{class ${constructor(m){this.datePicker=m,this.datePicker.isRange=!0}}return $.\u0275fac=function(m){return new(m||$)(s.Y36(Ii,9))},$.\u0275dir=s.lG2({type:$,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]}),$})(),aa=(()=>{class ${}return $.\u0275fac=function(m){return new(m||$)},$.\u0275mod=s.oAB({type:$}),$.\u0275inj=s.cJS({imports:[o.vT,g.ez,h.u5,e.U8,Wi,A.PV,H.e4,b.g,S.mJ,z.T,Pt,F.sL,Wi]}),$})()},29562:(wt,Oe,p)=>{p.d(Oe,{RR:()=>Ft,b1:()=>et,cm:()=>Fe});var o=p(70655),e=p(29521),g=p(84080),s=p(94650),h=p(8929),F=p(591),S=p(36787),b=p(23753),z=p(68896),H=p(36053),A=p(77604),j=p(24850),ne=p(87545),Pe=p(92198),ee=p(57138),pe=p(75778),X=p(7625),Ne=p(72536),ve=p(51691),T=p(3187),Y=p(98184),k=p(83353),q=p(40445),Q=p(36895),ae=p(84719),de=p(66616),be=p(84903),ge=p(66287),se=p(47423),he=p(73325),De=p(32539);function _e(Be,It){if(1&Be){const Ot=s.EpF();s.TgZ(0,"div",0),s.NdJ("@slideMotion.done",function(Bt){s.CHM(Ot);const nt=s.oxw();return s.KtG(nt.onAnimationEvent(Bt))})("mouseenter",function(){s.CHM(Ot);const Bt=s.oxw();return s.KtG(Bt.setMouseState(!0))})("mouseleave",function(){s.CHM(Ot);const Bt=s.oxw();return s.KtG(Bt.setMouseState(!1))}),s.Hsn(1),s.qZA()}if(2&Be){const Ot=s.oxw();s.ekj("ant-dropdown-rtl","rtl"===Ot.dir),s.Q6J("ngClass",Ot.nzOverlayClassName)("ngStyle",Ot.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",null==Ot.noAnimation?null:Ot.noAnimation.nzNoAnimation)("nzNoAnimation",null==Ot.noAnimation?null:Ot.noAnimation.nzNoAnimation)}}const Ce=["*"],Ae=[ve.yW.bottomLeft,ve.yW.bottomRight,ve.yW.topRight,ve.yW.topLeft];let Fe=(()=>{class Be{constructor(Ot,Dt,Bt,nt,pt,Pt){this.nzConfigService=Ot,this.elementRef=Dt,this.overlay=Bt,this.renderer=nt,this.viewContainerRef=pt,this.platform=Pt,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new h.xQ,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new F.X(!1),this.nzTrigger$=new F.X("hover"),this.overlayClose$=new h.xQ,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new s.vpe}setDropdownMenuValue(Ot,Dt){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(Ot,Dt)}ngAfterViewInit(){if(this.nzDropdownMenu){const Ot=this.elementRef.nativeElement,Dt=(0,S.T)((0,b.R)(Ot,"mouseenter").pipe((0,A.h)(!0)),(0,b.R)(Ot,"mouseleave").pipe((0,A.h)(!1))),nt=(0,S.T)(this.nzDropdownMenu.mouseState$,Dt),pt=(0,b.R)(Ot,"click").pipe((0,j.U)(()=>!this.nzVisible)),Pt=this.nzTrigger$.pipe((0,ne.w)(dt=>"hover"===dt?nt:"click"===dt?pt:z.E)),Qt=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,Pe.h)(()=>this.nzClickHide),(0,A.h)(!1)),Jt=(0,S.T)(Pt,Qt,this.overlayClose$).pipe((0,Pe.h)(()=>!this.nzDisabled)),Me=(0,S.T)(this.inputVisible$,Jt);(0,H.aj)([Me,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,j.U)(([dt,je])=>dt||je),(0,ee.e)(150),(0,pe.x)(),(0,Pe.h)(()=>this.platform.isBrowser),(0,X.R)(this.destroy$)).subscribe(dt=>{const te=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:Ot).getBoundingClientRect().width;this.nzVisible!==dt&&this.nzVisibleChange.emit(dt),this.nzVisible=dt,dt?(this.overlayRef?this.overlayRef.getConfig().minWidth=te:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:te,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,S.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,Pe.h)(Ie=>!this.elementRef.nativeElement.contains(Ie.target))),this.overlayRef.keydownEvents().pipe((0,Pe.h)(Ie=>Ie.keyCode===e.hY&&!(0,e.Vb)(Ie)))).pipe((0,X.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([ve.yW[this.nzPlacement],...Ae]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new g.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,X.R)(this.destroy$)).subscribe(dt=>{"void"===dt.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(Ot){const{nzVisible:Dt,nzDisabled:Bt,nzOverlayClassName:nt,nzOverlayStyle:pt,nzTrigger:Pt}=Ot;if(Pt&&this.nzTrigger$.next(this.nzTrigger),Dt&&this.inputVisible$.next(this.nzVisible),Bt){const Qt=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(Qt,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(Qt,"disabled")}nt&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),pt&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}}return Be.\u0275fac=function(Ot){return new(Ot||Be)(s.Y36(Ne.jY),s.Y36(s.SBq),s.Y36(Y.aV),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(k.t4))},Be.\u0275dir=s.lG2({type:Be,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[s.TTD]}),(0,o.gn)([(0,Ne.oS)(),(0,T.yF)()],Be.prototype,"nzBackdrop",void 0),(0,o.gn)([(0,T.yF)()],Be.prototype,"nzClickHide",void 0),(0,o.gn)([(0,T.yF)()],Be.prototype,"nzDisabled",void 0),(0,o.gn)([(0,T.yF)()],Be.prototype,"nzVisible",void 0),Be})(),Ue=(()=>{class Be{}return Be.\u0275fac=function(Ot){return new(Ot||Be)},Be.\u0275mod=s.oAB({type:Be}),Be.\u0275inj=s.cJS({}),Be})(),Ft=(()=>{class Be{constructor(Ot,Dt,Bt,nt,pt,Pt,Qt){this.cdr=Ot,this.elementRef=Dt,this.renderer=Bt,this.viewContainerRef=nt,this.nzMenuService=pt,this.directionality=Pt,this.noAnimation=Qt,this.mouseState$=new F.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new s.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new h.xQ}onAnimationEvent(Ot){this.animationStateChange$.emit(Ot)}setMouseState(Ot){this.mouseState$.next(Ot)}setValue(Ot,Dt){this[Ot]=Dt,this.cdr.markForCheck()}ngOnInit(){this.directionality.change?.pipe((0,X.R)(this.destroy$)).subscribe(Ot=>{this.dir=Ot,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function(Ot){return new(Ot||Be)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(he.hl),s.Y36(q.Is,8),s.Y36(be.P,9))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-dropdown-menu"]],viewQuery:function(Ot,Dt){if(1&Ot&&s.Gf(s.Rgc,7),2&Ot){let Bt;s.iGM(Bt=s.CRH())&&(Dt.templateRef=Bt.first)}},exportAs:["nzDropdownMenu"],features:[s._Bn([he.hl,{provide:he.Cc,useValue:!0}])],ngContentSelectors:Ce,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(Ot,Dt){1&Ot&&(s.F$t(),s.YNc(0,_e,2,7,"ng-template"))},dependencies:[Q.mk,Q.PC,be.P],encapsulation:2,data:{animation:[De.mF]},changeDetection:0}),Be})(),et=(()=>{class Be{}return Be.\u0275fac=function(Ot){return new(Ot||Be)},Be.\u0275mod=s.oAB({type:Be}),Be.\u0275inj=s.cJS({imports:[q.vT,Q.ez,Y.U8,ae.u5,de.sL,he.ip,se.PV,be.g,k.ud,ve.e4,Ue,ge.T,he.ip]}),Be})();new Y.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new Y.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Y.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Y.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},4788:(wt,Oe,p)=>{p.d(Oe,{Xo:()=>we,gB:()=>Ce});var o=p(84080),e=p(94650),g=p(8929),s=p(7625),h=p(1059),F=p(72536),S=p(36895),b=p(93531),z=p(66287),H=p(40445);function A(Ae,Fe){if(1&Ae&&(e.ynx(0),e._UZ(1,"img",5),e.BQk()),2&Ae){const Ue=e.oxw(2);e.xp6(1),e.Q6J("src",Ue.nzNotFoundImage,e.LSH)("alt",Ue.isContentString?Ue.nzNotFoundContent:"empty")}}function j(Ae,Fe){if(1&Ae&&(e.ynx(0),e.YNc(1,A,2,2,"ng-container",4),e.BQk()),2&Ae){const Ue=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ue.nzNotFoundImage)}}function ne(Ae,Fe){1&Ae&&e._UZ(0,"nz-empty-default")}function Pe(Ae,Fe){1&Ae&&e._UZ(0,"nz-empty-simple")}function ee(Ae,Fe){if(1&Ae&&(e.ynx(0),e._uU(1),e.BQk()),2&Ae){const Ue=e.oxw(2);e.xp6(1),e.hij(" ",Ue.isContentString?Ue.nzNotFoundContent:Ue.locale.description," ")}}function pe(Ae,Fe){if(1&Ae&&(e.TgZ(0,"p",6),e.YNc(1,ee,2,1,"ng-container",4),e.qZA()),2&Ae){const Ue=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ue.nzNotFoundContent)}}function X(Ae,Fe){if(1&Ae&&(e.ynx(0),e._uU(1),e.BQk()),2&Ae){const Ue=e.oxw(2);e.xp6(1),e.hij(" ",Ue.nzNotFoundFooter," ")}}function Ne(Ae,Fe){if(1&Ae&&(e.TgZ(0,"div",7),e.YNc(1,X,2,1,"ng-container",4),e.qZA()),2&Ae){const Ue=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ue.nzNotFoundFooter)}}function ve(Ae,Fe){1&Ae&&e._UZ(0,"nz-empty",6),2&Ae&&e.Q6J("nzNotFoundImage","simple")}function T(Ae,Fe){1&Ae&&e._UZ(0,"nz-empty",7),2&Ae&&e.Q6J("nzNotFoundImage","simple")}function Y(Ae,Fe){1&Ae&&e._UZ(0,"nz-empty")}function k(Ae,Fe){if(1&Ae&&(e.ynx(0,2),e.YNc(1,ve,1,1,"nz-empty",3),e.YNc(2,T,1,1,"nz-empty",4),e.YNc(3,Y,1,0,"nz-empty",5),e.BQk()),2&Ae){const Ue=e.oxw();e.Q6J("ngSwitch",Ue.size),e.xp6(1),e.Q6J("ngSwitchCase","normal"),e.xp6(1),e.Q6J("ngSwitchCase","small")}}function q(Ae,Fe){}function Q(Ae,Fe){if(1&Ae&&e.YNc(0,q,0,0,"ng-template",8),2&Ae){const Ue=e.oxw(2);e.Q6J("cdkPortalOutlet",Ue.contentPortal)}}function ae(Ae,Fe){if(1&Ae&&(e.ynx(0),e._uU(1),e.BQk()),2&Ae){const Ue=e.oxw(2);e.xp6(1),e.hij(" ",Ue.content," ")}}function de(Ae,Fe){if(1&Ae&&(e.ynx(0),e.YNc(1,Q,1,1,null,1),e.YNc(2,ae,2,1,"ng-container",1),e.BQk()),2&Ae){const Ue=e.oxw();e.xp6(1),e.Q6J("ngIf","string"!==Ue.contentType),e.xp6(1),e.Q6J("ngIf","string"===Ue.contentType)}}const be=new e.OlP("nz-empty-component-name");let ge=(()=>{class Ae{}return Ae.\u0275fac=function(Ue){return new(Ue||Ae)},Ae.\u0275cmp=e.Xpm({type:Ae,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(Ue,Mt){1&Ue&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g",1)(2,"g",2),e._UZ(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),e.qZA(),e._UZ(8,"path",8),e.TgZ(9,"g",9),e._UZ(10,"ellipse",10)(11,"path",11),e.qZA()()())},encapsulation:2,changeDetection:0}),Ae})(),se=(()=>{class Ae{}return Ae.\u0275fac=function(Ue){return new(Ue||Ae)},Ae.\u0275cmp=e.Xpm({type:Ae,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(Ue,Mt){1&Ue&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g",1),e._UZ(2,"ellipse",2),e.TgZ(3,"g",3),e._UZ(4,"path",4)(5,"path",5),e.qZA()()())},encapsulation:2,changeDetection:0}),Ae})();const he=["default","simple"];let De=(()=>{class Ae{constructor(Ue,Mt){this.i18n=Ue,this.cdr=Mt,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new g.xQ}ngOnChanges(Ue){const{nzNotFoundContent:Mt,nzNotFoundImage:_t}=Ue;if(Mt&&(this.isContentString="string"==typeof Mt.currentValue),_t){const Ft=_t.currentValue||"default";this.isImageBuildIn=he.findIndex(et=>et===Ft)>-1}}ngOnInit(){this.i18n.localeChange.pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ae.\u0275fac=function(Ue){return new(Ue||Ae)(e.Y36(b.wi),e.Y36(e.sBO))},Ae.\u0275cmp=e.Xpm({type:Ae,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[e.TTD],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(Ue,Mt){1&Ue&&(e.TgZ(0,"div",0),e.YNc(1,j,2,1,"ng-container",1),e.YNc(2,ne,1,0,"nz-empty-default",1),e.YNc(3,Pe,1,0,"nz-empty-simple",1),e.qZA(),e.YNc(4,pe,2,1,"p",2),e.YNc(5,Ne,2,1,"div",3)),2&Ue&&(e.xp6(1),e.Q6J("ngIf",!Mt.isImageBuildIn),e.xp6(1),e.Q6J("ngIf",Mt.isImageBuildIn&&"simple"!==Mt.nzNotFoundImage),e.xp6(1),e.Q6J("ngIf",Mt.isImageBuildIn&&"simple"===Mt.nzNotFoundImage),e.xp6(1),e.Q6J("ngIf",null!==Mt.nzNotFoundContent),e.xp6(1),e.Q6J("ngIf",Mt.nzNotFoundFooter))},dependencies:[S.O5,z.f,ge,se],encapsulation:2,changeDetection:0}),Ae})(),Ce=(()=>{class Ae{constructor(Ue,Mt,_t,Ft){this.configService=Ue,this.viewContainerRef=Mt,this.cdr=_t,this.injector=Ft,this.contentType="string",this.size="",this.destroy$=new g.xQ}ngOnChanges(Ue){Ue.nzComponentName&&(this.size=function _e(Ae){switch(Ae){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(Ue.nzComponentName.currentValue)),Ue.specificContent&&!Ue.specificContent.isFirstChange()&&(this.content=Ue.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const Ue=this.content;if("string"==typeof Ue)this.contentType="string";else if(Ue instanceof e.Rgc){const Mt={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new o.UE(Ue,this.viewContainerRef,Mt)}else if(Ue instanceof e.DyG){const Mt=e.zs3.create({parent:this.injector,providers:[{provide:be,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new o.C5(Ue,this.viewContainerRef,Mt)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe((0,h.O)(!0),(0,s.R)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return Ae.\u0275fac=function(Ue){return new(Ue||Ae)(e.Y36(F.jY),e.Y36(e.s_b),e.Y36(e.sBO),e.Y36(e.zs3))},Ae.\u0275cmp=e.Xpm({type:Ae,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[e.TTD],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(Ue,Mt){1&Ue&&(e.YNc(0,k,4,3,"ng-container",0),e.YNc(1,de,3,2,"ng-container",1)),2&Ue&&(e.Q6J("ngIf",!Mt.content&&null!==Mt.specificContent),e.xp6(1),e.Q6J("ngIf",Mt.content))},dependencies:[S.O5,S.RF,S.n9,S.ED,o.Pl,De],encapsulation:2,changeDetection:0}),Ae})(),we=(()=>{class Ae{}return Ae.\u0275fac=function(Ue){return new(Ue||Ae)},Ae.\u0275mod=e.oAB({type:Ae}),Ae.\u0275inj=e.cJS({imports:[H.vT,S.ez,o.eL,z.T,b.YI]}),Ae})()},93531:(wt,Oe,p)=>{p.d(Oe,{mx:()=>Ct,u7:()=>ke,YI:()=>ce,o9:()=>B,wi:()=>U,iF:()=>Ie});var o=p(94650),e=p(591),g=p(88932),s=p(36895),h=p(80953),F=p(90895),S=p(40833);function b(ue){return(0,S.Z)(1,arguments),(0,F.Z)(ue,{weekStartsOn:1})}function z(ue){(0,S.Z)(1,arguments);var qe=(0,h.Z)(ue),Ee=qe.getFullYear(),Lt=new Date(0);Lt.setFullYear(Ee+1,0,4),Lt.setHours(0,0,0,0);var Wt=b(Lt),gn=new Date(0);gn.setFullYear(Ee,0,4),gn.setHours(0,0,0,0);var Fn=b(gn);return qe.getTime()>=Wt.getTime()?Ee+1:qe.getTime()>=Fn.getTime()?Ee:Ee-1}function H(ue){(0,S.Z)(1,arguments);var qe=z(ue),Ee=new Date(0);Ee.setFullYear(qe,0,4),Ee.setHours(0,0,0,0);var Lt=b(Ee);return Lt}var A=6048e5,ne=p(66425),Pe=p(61348),ee=p(16047);function pe(ue,qe){if(null==ue)throw new TypeError("assign requires that input parameter not be null or undefined");for(var Ee in qe=qe||{})Object.prototype.hasOwnProperty.call(qe,Ee)&&(ue[Ee]=qe[Ee]);return ue}var X=p(61889),Ne=p(9868),ve=p(72621),T=p(91998),Y=p(51834);function k(ue,qe,Ee){(0,S.Z)(2,arguments);var Lt=Ee||{},Wt=Lt.locale,gn=Wt&&Wt.options&&Wt.options.weekStartsOn,Fn=null==gn?0:(0,T.Z)(gn),si=null==Lt.weekStartsOn?Fn:(0,T.Z)(Lt.weekStartsOn);if(!(si>=0&&si<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _i=(0,h.Z)(ue),cr=(0,T.Z)(qe),Sr=_i.getUTCDay(),ur=cr%7,eo=(ur+7)%7,Di=(eo0,Lt=Ee?qe:1-qe;if(Lt<=50)Wt=ue||100;else{var gn=Lt+50;Wt=ue+100*Math.floor(gn/100)-(ue>=gn%100?100:0)}return Ee?Wt:1-Wt}var Ge=[31,28,31,30,31,30,31,31,30,31,30,31],Ze=[31,29,31,30,31,30,31,31,30,31,30,31];function Be(ue){return ue%400==0||ue%4==0&&ue%100!=0}const Ot={G:{priority:140,parse:function(ue,qe,Ee,Lt){switch(qe){case"G":case"GG":case"GGG":return Ee.era(ue,{width:"abbreviated"})||Ee.era(ue,{width:"narrow"});case"GGGGG":return Ee.era(ue,{width:"narrow"});default:return Ee.era(ue,{width:"wide"})||Ee.era(ue,{width:"abbreviated"})||Ee.era(ue,{width:"narrow"})}},set:function(ue,qe,Ee,Lt){return qe.era=Ee,ue.setUTCFullYear(Ee,0,1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){return{year:gn,isTwoDigitYear:"yy"===qe}};switch(qe){case"y":return Mt(4,ue,Wt);case"yo":return Ee.ordinalNumber(ue,{unit:"year",valueCallback:Wt});default:return Mt(qe.length,ue,Wt)}},validate:function(ue,qe,Ee){return qe.isTwoDigitYear||qe.year>0},set:function(ue,qe,Ee,Lt){var Wt=ue.getUTCFullYear();if(Ee.isTwoDigitYear){var gn=et(Ee.year,Wt);return ue.setUTCFullYear(gn,0,1),ue.setUTCHours(0,0,0,0),ue}return ue.setUTCFullYear("era"in qe&&1!==qe.era?1-Ee.year:Ee.year,0,1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){return{year:gn,isTwoDigitYear:"YY"===qe}};switch(qe){case"Y":return Mt(4,ue,Wt);case"Yo":return Ee.ordinalNumber(ue,{unit:"year",valueCallback:Wt});default:return Mt(qe.length,ue,Wt)}},validate:function(ue,qe,Ee){return qe.isTwoDigitYear||qe.year>0},set:function(ue,qe,Ee,Lt){var Wt=(0,Y.Z)(ue,Lt);if(Ee.isTwoDigitYear){var gn=et(Ee.year,Wt);return ue.setUTCFullYear(gn,0,Lt.firstWeekContainsDate),ue.setUTCHours(0,0,0,0),(0,se.Z)(ue,Lt)}return ue.setUTCFullYear("era"in qe&&1!==qe.era?1-Ee.year:Ee.year,0,Lt.firstWeekContainsDate),ue.setUTCHours(0,0,0,0),(0,se.Z)(ue,Lt)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(ue,qe,Ee,Lt){return _t("R"===qe?4:qe.length,ue)},set:function(ue,qe,Ee,Lt){var Wt=new Date(0);return Wt.setUTCFullYear(Ee,0,4),Wt.setUTCHours(0,0,0,0),(0,ge.Z)(Wt)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(ue,qe,Ee,Lt){return _t("u"===qe?4:qe.length,ue)},set:function(ue,qe,Ee,Lt){return ue.setUTCFullYear(Ee,0,1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(ue,qe,Ee,Lt){switch(qe){case"Q":case"QQ":return Mt(qe.length,ue);case"Qo":return Ee.ordinalNumber(ue,{unit:"quarter"});case"QQQ":return Ee.quarter(ue,{width:"abbreviated",context:"formatting"})||Ee.quarter(ue,{width:"narrow",context:"formatting"});case"QQQQQ":return Ee.quarter(ue,{width:"narrow",context:"formatting"});default:return Ee.quarter(ue,{width:"wide",context:"formatting"})||Ee.quarter(ue,{width:"abbreviated",context:"formatting"})||Ee.quarter(ue,{width:"narrow",context:"formatting"})}},validate:function(ue,qe,Ee){return qe>=1&&qe<=4},set:function(ue,qe,Ee,Lt){return ue.setUTCMonth(3*(Ee-1),1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(ue,qe,Ee,Lt){switch(qe){case"q":case"qq":return Mt(qe.length,ue);case"qo":return Ee.ordinalNumber(ue,{unit:"quarter"});case"qqq":return Ee.quarter(ue,{width:"abbreviated",context:"standalone"})||Ee.quarter(ue,{width:"narrow",context:"standalone"});case"qqqqq":return Ee.quarter(ue,{width:"narrow",context:"standalone"});default:return Ee.quarter(ue,{width:"wide",context:"standalone"})||Ee.quarter(ue,{width:"abbreviated",context:"standalone"})||Ee.quarter(ue,{width:"narrow",context:"standalone"})}},validate:function(ue,qe,Ee){return qe>=1&&qe<=4},set:function(ue,qe,Ee,Lt){return ue.setUTCMonth(3*(Ee-1),1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){return gn-1};switch(qe){case"M":return Ae(Ce_month,ue,Wt);case"MM":return Mt(2,ue,Wt);case"Mo":return Ee.ordinalNumber(ue,{unit:"month",valueCallback:Wt});case"MMM":return Ee.month(ue,{width:"abbreviated",context:"formatting"})||Ee.month(ue,{width:"narrow",context:"formatting"});case"MMMMM":return Ee.month(ue,{width:"narrow",context:"formatting"});default:return Ee.month(ue,{width:"wide",context:"formatting"})||Ee.month(ue,{width:"abbreviated",context:"formatting"})||Ee.month(ue,{width:"narrow",context:"formatting"})}},validate:function(ue,qe,Ee){return qe>=0&&qe<=11},set:function(ue,qe,Ee,Lt){return ue.setUTCMonth(Ee,1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){return gn-1};switch(qe){case"L":return Ae(Ce_month,ue,Wt);case"LL":return Mt(2,ue,Wt);case"Lo":return Ee.ordinalNumber(ue,{unit:"month",valueCallback:Wt});case"LLL":return Ee.month(ue,{width:"abbreviated",context:"standalone"})||Ee.month(ue,{width:"narrow",context:"standalone"});case"LLLLL":return Ee.month(ue,{width:"narrow",context:"standalone"});default:return Ee.month(ue,{width:"wide",context:"standalone"})||Ee.month(ue,{width:"abbreviated",context:"standalone"})||Ee.month(ue,{width:"narrow",context:"standalone"})}},validate:function(ue,qe,Ee){return qe>=0&&qe<=11},set:function(ue,qe,Ee,Lt){return ue.setUTCMonth(Ee,1),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(ue,qe,Ee,Lt){switch(qe){case"w":return Ae(Ce_week,ue);case"wo":return Ee.ordinalNumber(ue,{unit:"week"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=1&&qe<=53},set:function(ue,qe,Ee,Lt){return(0,se.Z)(function be(ue,qe,Ee){(0,S.Z)(2,arguments);var Lt=(0,h.Z)(ue),Wt=(0,T.Z)(qe),gn=(0,de.Z)(Lt,Ee)-Wt;return Lt.setUTCDate(Lt.getUTCDate()-7*gn),Lt}(ue,Ee,Lt),Lt)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(ue,qe,Ee,Lt){switch(qe){case"I":return Ae(Ce_week,ue);case"Io":return Ee.ordinalNumber(ue,{unit:"week"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=1&&qe<=53},set:function(ue,qe,Ee,Lt){return(0,ge.Z)(function ae(ue,qe){(0,S.Z)(2,arguments);var Ee=(0,h.Z)(ue),Lt=(0,T.Z)(qe),Wt=(0,Q.Z)(Ee)-Lt;return Ee.setUTCDate(Ee.getUTCDate()-7*Wt),Ee}(ue,Ee,Lt),Lt)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(ue,qe,Ee,Lt){switch(qe){case"d":return Ae(Ce_date,ue);case"do":return Ee.ordinalNumber(ue,{unit:"date"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){var Wt=Be(ue.getUTCFullYear()),gn=ue.getUTCMonth();return Wt?qe>=1&&qe<=Ze[gn]:qe>=1&&qe<=Ge[gn]},set:function(ue,qe,Ee,Lt){return ue.setUTCDate(Ee),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(ue,qe,Ee,Lt){switch(qe){case"D":case"DD":return Ae(Ce_dayOfYear,ue);case"Do":return Ee.ordinalNumber(ue,{unit:"date"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return Be(ue.getUTCFullYear())?qe>=1&&qe<=366:qe>=1&&qe<=365},set:function(ue,qe,Ee,Lt){return ue.setUTCMonth(0,Ee),ue.setUTCHours(0,0,0,0),ue},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(ue,qe,Ee,Lt){switch(qe){case"E":case"EE":case"EEE":return Ee.day(ue,{width:"abbreviated",context:"formatting"})||Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"});case"EEEEE":return Ee.day(ue,{width:"narrow",context:"formatting"});case"EEEEEE":return Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"});default:return Ee.day(ue,{width:"wide",context:"formatting"})||Ee.day(ue,{width:"abbreviated",context:"formatting"})||Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"})}},validate:function(ue,qe,Ee){return qe>=0&&qe<=6},set:function(ue,qe,Ee,Lt){return(ue=k(ue,Ee,Lt)).setUTCHours(0,0,0,0),ue},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){var Fn=7*Math.floor((gn-1)/7);return(gn+Lt.weekStartsOn+6)%7+Fn};switch(qe){case"e":case"ee":return Mt(qe.length,ue,Wt);case"eo":return Ee.ordinalNumber(ue,{unit:"day",valueCallback:Wt});case"eee":return Ee.day(ue,{width:"abbreviated",context:"formatting"})||Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"});case"eeeee":return Ee.day(ue,{width:"narrow",context:"formatting"});case"eeeeee":return Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"});default:return Ee.day(ue,{width:"wide",context:"formatting"})||Ee.day(ue,{width:"abbreviated",context:"formatting"})||Ee.day(ue,{width:"short",context:"formatting"})||Ee.day(ue,{width:"narrow",context:"formatting"})}},validate:function(ue,qe,Ee){return qe>=0&&qe<=6},set:function(ue,qe,Ee,Lt){return(ue=k(ue,Ee,Lt)).setUTCHours(0,0,0,0),ue},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){var Fn=7*Math.floor((gn-1)/7);return(gn+Lt.weekStartsOn+6)%7+Fn};switch(qe){case"c":case"cc":return Mt(qe.length,ue,Wt);case"co":return Ee.ordinalNumber(ue,{unit:"day",valueCallback:Wt});case"ccc":return Ee.day(ue,{width:"abbreviated",context:"standalone"})||Ee.day(ue,{width:"short",context:"standalone"})||Ee.day(ue,{width:"narrow",context:"standalone"});case"ccccc":return Ee.day(ue,{width:"narrow",context:"standalone"});case"cccccc":return Ee.day(ue,{width:"short",context:"standalone"})||Ee.day(ue,{width:"narrow",context:"standalone"});default:return Ee.day(ue,{width:"wide",context:"standalone"})||Ee.day(ue,{width:"abbreviated",context:"standalone"})||Ee.day(ue,{width:"short",context:"standalone"})||Ee.day(ue,{width:"narrow",context:"standalone"})}},validate:function(ue,qe,Ee){return qe>=0&&qe<=6},set:function(ue,qe,Ee,Lt){return(ue=k(ue,Ee,Lt)).setUTCHours(0,0,0,0),ue},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(ue,qe,Ee,Lt){var Wt=function(gn){return 0===gn?7:gn};switch(qe){case"i":case"ii":return Mt(qe.length,ue);case"io":return Ee.ordinalNumber(ue,{unit:"day"});case"iii":return Ee.day(ue,{width:"abbreviated",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"short",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"narrow",context:"formatting",valueCallback:Wt});case"iiiii":return Ee.day(ue,{width:"narrow",context:"formatting",valueCallback:Wt});case"iiiiii":return Ee.day(ue,{width:"short",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"narrow",context:"formatting",valueCallback:Wt});default:return Ee.day(ue,{width:"wide",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"abbreviated",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"short",context:"formatting",valueCallback:Wt})||Ee.day(ue,{width:"narrow",context:"formatting",valueCallback:Wt})}},validate:function(ue,qe,Ee){return qe>=1&&qe<=7},set:function(ue,qe,Ee,Lt){return ue=function q(ue,qe){(0,S.Z)(2,arguments);var Ee=(0,T.Z)(qe);Ee%7==0&&(Ee-=7);var Lt=1,Wt=(0,h.Z)(ue),gn=Wt.getUTCDay(),_i=((Ee%7+7)%7=1&&qe<=12},set:function(ue,qe,Ee,Lt){var Wt=ue.getUTCHours()>=12;return ue.setUTCHours(Wt&&Ee<12?Ee+12:Wt||12!==Ee?Ee:0,0,0,0),ue},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(ue,qe,Ee,Lt){switch(qe){case"H":return Ae(Ce_hour23h,ue);case"Ho":return Ee.ordinalNumber(ue,{unit:"hour"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=0&&qe<=23},set:function(ue,qe,Ee,Lt){return ue.setUTCHours(Ee,0,0,0),ue},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(ue,qe,Ee,Lt){switch(qe){case"K":return Ae(Ce_hour11h,ue);case"Ko":return Ee.ordinalNumber(ue,{unit:"hour"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=0&&qe<=11},set:function(ue,qe,Ee,Lt){var Wt=ue.getUTCHours()>=12;return ue.setUTCHours(Wt&&Ee<12?Ee+12:Ee,0,0,0),ue},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(ue,qe,Ee,Lt){switch(qe){case"k":return Ae(Ce_hour24h,ue);case"ko":return Ee.ordinalNumber(ue,{unit:"hour"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=1&&qe<=24},set:function(ue,qe,Ee,Lt){return ue.setUTCHours(Ee<=24?Ee%24:Ee,0,0,0),ue},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(ue,qe,Ee,Lt){switch(qe){case"m":return Ae(Ce_minute,ue);case"mo":return Ee.ordinalNumber(ue,{unit:"minute"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=0&&qe<=59},set:function(ue,qe,Ee,Lt){return ue.setUTCMinutes(Ee,0,0),ue},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(ue,qe,Ee,Lt){switch(qe){case"s":return Ae(Ce_second,ue);case"so":return Ee.ordinalNumber(ue,{unit:"second"});default:return Mt(qe.length,ue)}},validate:function(ue,qe,Ee){return qe>=0&&qe<=59},set:function(ue,qe,Ee,Lt){return ue.setUTCSeconds(Ee,0),ue},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(ue,qe,Ee,Lt){return Mt(qe.length,ue,function(gn){return Math.floor(gn*Math.pow(10,3-qe.length))})},set:function(ue,qe,Ee,Lt){return ue.setUTCMilliseconds(Ee),ue},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(ue,qe,Ee,Lt){switch(qe){case"X":return Fe(we_basicOptionalMinutes,ue);case"XX":return Fe(we_basic,ue);case"XXXX":return Fe(we_basicOptionalSeconds,ue);case"XXXXX":return Fe(we_extendedOptionalSeconds,ue);default:return Fe(we_extended,ue)}},set:function(ue,qe,Ee,Lt){return qe.timestampIsSet?ue:new Date(ue.getTime()-Ee)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(ue,qe,Ee,Lt){switch(qe){case"x":return Fe(we_basicOptionalMinutes,ue);case"xx":return Fe(we_basic,ue);case"xxxx":return Fe(we_basicOptionalSeconds,ue);case"xxxxx":return Fe(we_extendedOptionalSeconds,ue);default:return Fe(we_extended,ue)}},set:function(ue,qe,Ee,Lt){return qe.timestampIsSet?ue:new Date(ue.getTime()-Ee)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(ue,qe,Ee,Lt){return Ue(ue)},set:function(ue,qe,Ee,Lt){return[new Date(1e3*Ee),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(ue,qe,Ee,Lt){return Ue(ue)},set:function(ue,qe,Ee,Lt){return[new Date(Ee),{timestampIsSet:!0}]},incompatibleTokens:"*"}};var Bt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pt=/^'([^]*?)'?$/,Pt=/''/g,Qt=/\S/,Jt=/[a-zA-Z]/;function dt(ue,qe){if(qe.timestampIsSet)return ue;var Ee=new Date(0);return Ee.setFullYear(ue.getUTCFullYear(),ue.getUTCMonth(),ue.getUTCDate()),Ee.setHours(ue.getUTCHours(),ue.getUTCMinutes(),ue.getUTCSeconds(),ue.getUTCMilliseconds()),Ee}function je(ue){return ue.match(pt)[1].replace(Pt,"'")}var te=p(24474),Ie={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"}},ze={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 ke=new o.OlP("nz-i18n"),R=new o.OlP("nz-date-locale");let U=(()=>{class ue{constructor(Ee,Lt){this._change=new e.X(this._locale),this.setLocale(Ee||ze),this.setDateLocale(Lt||null)}get localeChange(){return this._change.asObservable()}translate(Ee,Lt){let Wt=this._getObjectPath(this._locale,Ee);return"string"==typeof Wt?(Lt&&Object.keys(Lt).forEach(gn=>Wt=Wt.replace(new RegExp(`%${gn}%`,"g"),Lt[gn])),Wt):Ee}setLocale(Ee){this._locale&&this._locale.locale===Ee.locale||(this._locale=Ee,this._change.next(Ee))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(Ee){this.dateLocale=Ee}getDateLocale(){return this.dateLocale}getLocaleData(Ee,Lt){const Wt=Ee?this._getObjectPath(this._locale,Ee):this._locale;return!Wt&&!Lt&&(0,g.ZK)(`Missing translations for "${Ee}" 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`),Wt||Lt||this._getObjectPath(Ie,Ee)||{}}_getObjectPath(Ee,Lt){let Wt=Ee;const gn=Lt.split("."),Fn=gn.length;let si=0;for(;Wt&&si{class ue{constructor(Ee){this._locale=Ee}transform(Ee,Lt){return this._locale.translate(Ee,Lt)}}return ue.\u0275fac=function(Ee){return new(Ee||ue)(o.Y36(U,16))},ue.\u0275pipe=o.Yjl({name:"nzI18n",type:ue,pure:!0}),ue})(),ce=(()=>{class ue{}return ue.\u0275fac=function(Ee){return new(Ee||ue)},ue.\u0275mod=o.oAB({type:ue}),ue.\u0275inj=o.cJS({}),ue})();const He=new o.OlP("date-config"),vt={firstDayOfWeek:void 0};let Ct=(()=>{class ue{constructor(Ee,Lt){this.i18n=Ee,this.config=Lt,this.config=function xt(ue){return{...vt,...ue}}(this.config)}}return ue.\u0275fac=function(Ee){return new(Ee||ue)(o.LFG(U),o.LFG(He,8))},ue.\u0275prov=o.Yz7({token:ue,factory:function(Ee){let Lt=null;return Lt=Ee?new Ee:function Rt(ue,qe){const Ee=ue.get(U);return Ee.getDateLocale()?new Kt(Ee,qe):new bt(Ee,qe)}(o.LFG(o.zs3),o.LFG(He,8)),Lt},providedIn:"root"}),ue})();class Kt extends Ct{getISOWeek(qe){return function j(ue){(0,S.Z)(1,arguments);var qe=(0,h.Z)(ue),Ee=b(qe).getTime()-H(qe).getTime();return Math.round(Ee/A)+1}(qe)}getFirstDayOfWeek(){let qe;try{qe=this.i18n.getDateLocale().options.weekStartsOn}catch{qe=1}return this.config.firstDayOfWeek??qe}format(qe,Ee){return qe?(0,ne.Z)(qe,Ee,{locale:this.i18n.getDateLocale()}):""}parseDate(qe,Ee){return function Me(ue,qe,Ee,Lt){(0,S.Z)(3,arguments);var Wt=String(ue),gn=String(qe),Fn=Lt||{},si=Fn.locale||Pe.Z;if(!si.match)throw new RangeError("locale must contain match property");var _i=si.options&&si.options.firstWeekContainsDate,cr=null==_i?1:(0,T.Z)(_i),Sr=null==Fn.firstWeekContainsDate?cr:(0,T.Z)(Fn.firstWeekContainsDate);if(!(Sr>=1&&Sr<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ur=si.options&&si.options.weekStartsOn,eo=null==ur?0:(0,T.Z)(ur),Di=null==Fn.weekStartsOn?eo:(0,T.Z)(Fn.weekStartsOn);if(!(Di>=0&&Di<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===gn)return""===Wt?(0,h.Z)(Ee):new Date(NaN);var Ni,Ur={firstWeekContainsDate:Sr,weekStartsOn:Di,locale:si},mr=[{priority:10,subPriority:-1,set:dt,index:0}],ki=gn.match(nt).map(function(Oi){var Un=Oi[0];return"p"===Un||"P"===Un?(0,X.Z[Un])(Oi,si.formatLong,Ur):Oi}).join("").match(Bt),dr=[];for(Ni=0;Ni0&&Qt.test(Wt))return new Date(NaN);var jr=mr.map(function(Oi){return Oi.priority}).sort(function(Oi,Un){return Un-Oi}).filter(function(Oi,Un,gr){return gr.indexOf(Oi)===Un}).map(function(Oi){return mr.filter(function(Un){return Un.priority===Oi}).sort(function(Un,gr){return gr.subPriority-Un.subPriority})}).map(function(Oi){return Oi[0]}),Mi=(0,h.Z)(Ee);if(isNaN(Mi))return new Date(NaN);var nr=(0,ee.Z)(Mi,(0,Ne.Z)(Mi)),kr={};for(Ni=0;Ni-1?1:0}return this.config.firstDayOfWeek}format(qe,Ee){return qe?(0,s.p6)(qe,Ee,this.i18n.getLocaleId()):""}parseDate(qe){return new Date(qe)}parseTime(qe,Ee){return new te.xR(Ee,this.i18n.getLocaleId()).toDate(qe)}}},47423:(wt,Oe,p)=>{p.d(Oe,{Ls:()=>Gu,PV:()=>N6});var o=p(83353),e=p(94650),g=p(70655),s=p(8929),h=p(5254),F=p(7625),S=p(36895),b=p(45192),pe=[{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 X(jt,Rn,At){var nn;return(nn=Math.round(jt.h)>=60&&Math.round(jt.h)<=240?At?Math.round(jt.h)-2*Rn:Math.round(jt.h)+2*Rn:At?Math.round(jt.h)+2*Rn:Math.round(jt.h)-2*Rn)<0?nn+=360:nn>=360&&(nn-=360),nn}function Ne(jt,Rn,At){return 0===jt.h&&0===jt.s?jt.s:((nn=At?jt.s-.16*Rn:4===Rn?jt.s+.16:jt.s+.05*Rn)>1&&(nn=1),At&&5===Rn&&nn>.1&&(nn=.1),nn<.06&&(nn=.06),Number(nn.toFixed(2)));var nn}function ve(jt,Rn,At){var nn;return(nn=At?jt.v+.05*Rn:jt.v-.15*Rn)>1&&(nn=1),Number(nn.toFixed(2))}function T(jt){for(var Rn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},At=[],nn=new b.C(jt),zn=5;zn>0;zn-=1){var Gn=nn.toHsv(),gi=new b.C({h:X(Gn,zn,!0),s:Ne(Gn,zn,!0),v:ve(Gn,zn,!0)}).toHexString();At.push(gi)}At.push(nn.toHexString());for(var $i=1;$i<=4;$i+=1){var Cr=nn.toHsv(),Go=new b.C({h:X(Cr,$i),s:Ne(Cr,$i),v:ve(Cr,$i)}).toHexString();At.push(Go)}return"dark"===Rn.theme?pe.map(function(Xs){var zs=Xs.index,L6=Xs.opacity;return new b.C(Rn.backgroundColor||"#141414").mix(At[zs],100*L6).toHexString()}):At}var Y={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"},k={},q={};Object.keys(Y).forEach(function(jt){k[jt]=T(Y[jt]),k[jt].primary=k[jt][5],q[jt]=T(Y[jt],{theme:"dark",backgroundColor:"#141414"}),q[jt].primary=q[jt][5]});var Ue=p(80529),Mt=p(21086),_t=p(56498),Ft=p(24850),et=p(2994),Ge=p(40537),Ze=p(27221),Be=p(12474),It=p(92198),Ot=p(72986),Dt=p(11481);const Bt="[@ant-design/icons-angular]:";function pt(jt){(0,e.X6Q)()&&console.warn(`${Bt} ${jt}.`)}function Pt(jt){return T(jt)[0]}function Qt(jt,Rn){switch(Rn){case"fill":return`${jt}-fill`;case"outline":return`${jt}-o`;case"twotone":return`${jt}-twotone`;case void 0:return jt;default:throw new Error(`${Bt}Theme "${Rn}" is not a recognized theme!`)}}function je(jt){return"object"==typeof jt&&"string"==typeof jt.name&&("string"==typeof jt.theme||void 0===jt.theme)&&"string"==typeof jt.icon}function ke(jt){const Rn=jt.split(":");switch(Rn.length){case 1:return[jt,""];case 2:return[Rn[1],Rn[0]];default:throw new Error(`${Bt}The icon type ${jt} is not valid!`)}}function B(jt){return new Error(`${Bt}the icon ${jt} does not exist or is not registered.`)}function vt(){return new Error(`${Bt} tag not found.`)}const Ct=new e.OlP("ant_icons");let Kt=(()=>{class jt{constructor(At,nn,zn,Gn,gi){this._rendererFactory=At,this._handler=nn,this._document=zn,this.sanitizer=Gn,this._antIcons=gi,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 s.xQ,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Ue.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}set twoToneColor({primaryColor:At,secondaryColor:nn}){this._twoToneColorPalette.primaryColor=At,this._twoToneColorPalette.secondaryColor=nn||Pt(At)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}useJsonpLoading(){this._enableJsonpLoading?pt("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=At=>{this._jsonpIconLoad$.next(At)})}changeAssetsSource(At){this._assetsUrlRoot=At.endsWith("/")?At:At+"/"}addIcon(...At){At.forEach(nn=>{this._svgDefinitions.set(Qt(nn.name,nn.theme),nn)})}addIconLiteral(At,nn){const[zn,Gn]=ke(At);if(!Gn)throw function U(){return new Error(`${Bt}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:At,icon:nn})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(At,nn){const zn=je(At)?At:this._svgDefinitions.get(At)||null;if(!zn&&this._disableDynamicLoading)throw B(At);return(zn?(0,Mt.of)(zn):this._loadIconDynamically(At)).pipe((0,Ft.U)(gi=>{if(!gi)throw B(At);return this._loadSVGFromCacheOrCreateNew(gi,nn)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(At){if(!this._http&&!this._enableJsonpLoading)return(0,Mt.of)(function ce(){return function nt(jt){console.error(`${Bt} ${jt}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let nn=this._inProgressFetches.get(At);if(!nn){const[zn,Gn]=ke(At),gi=Gn?{name:At,icon:""}:function te(jt){const Rn=jt.split("-"),At=function Me(jt){return"o"===jt?"outline":jt}(Rn.splice(Rn.length-1,1)[0]);return{name:Rn.join("-"),theme:At,icon:""}}(zn),Cr=(Gn?`${this._assetsUrlRoot}assets/${Gn}/${zn}`:`${this._assetsUrlRoot}assets/${gi.theme}/${gi.name}`)+(this._enableJsonpLoading?".js":".svg"),Go=this.sanitizer.sanitize(e.q3G.URL,Cr);if(!Go)throw function He(jt){return new Error(`${Bt}The url "${jt}" is unsafe.`)}(Cr);nn=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(gi,Go):this._http.get(Go,{responseType:"text"}).pipe((0,Ft.U)(zs=>({...gi,icon:zs})))).pipe((0,et.b)(zs=>this.addIcon(zs)),(0,Ge.x)(()=>this._inProgressFetches.delete(At)),(0,Ze.K)(()=>(0,Mt.of)(null)),(0,Be.B)()),this._inProgressFetches.set(At,nn)}return nn}_loadIconDynamicallyWithJsonp(At,nn){return new _t.y(zn=>{const Gn=this._document.createElement("script"),gi=setTimeout(()=>{$i(),zn.error(function xt(){return new Error(`${Bt}Importing timeout error.`)}())},6e3);function $i(){Gn.parentNode.removeChild(Gn),clearTimeout(gi)}Gn.src=nn,this._document.body.appendChild(Gn),this._jsonpIconLoad$.pipe((0,It.h)(Cr=>Cr.name===At.name&&Cr.theme===At.theme),(0,Ot.q)(1)).subscribe(Cr=>{zn.next(Cr),$i()})})}_loadSVGFromCacheOrCreateNew(At,nn){let zn;const Gn=nn||this._twoToneColorPalette.primaryColor,gi=Pt(Gn)||this._twoToneColorPalette.secondaryColor,$i="twotone"===At.theme?function Jt(jt,Rn,At,nn){return`${Qt(jt,Rn)}-${At}-${nn}`}(At.name,At.theme,Gn,gi):void 0===At.theme?At.name:Qt(At.name,At.theme),Cr=this._svgRenderedDefinitions.get($i);return Cr?zn=Cr.icon:(zn=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function R(jt){return""!==ke(jt)[1]}(At.name)?At.icon:function ze(jt){return jt.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(At.icon)),"twotone"===At.theme,Gn,gi)),this._svgRenderedDefinitions.set($i,{...At,icon:zn})),function Ie(jt){return jt.cloneNode(!0)}(zn)}_createSVGElementFromString(At){const nn=this._document.createElement("div");nn.innerHTML=At;const zn=nn.querySelector("svg");if(!zn)throw vt;return zn}_setSVGAttribute(At){return this._renderer.setAttribute(At,"width","1em"),this._renderer.setAttribute(At,"height","1em"),At}_colorizeSVGIcon(At,nn,zn,Gn){if(nn){const gi=At.childNodes,$i=gi.length;for(let Cr=0;Cr<$i;Cr++){const Go=gi[Cr];"secondaryColor"===Go.getAttribute("fill")?this._renderer.setAttribute(Go,"fill",Gn):this._renderer.setAttribute(Go,"fill",zn)}}return this._renderer.setAttribute(At,"fill","currentColor"),At}}return jt.\u0275fac=function(At){return new(At||jt)(e.LFG(e.FYo),e.LFG(Ue.jN,8),e.LFG(S.K0,8),e.LFG(Dt.H7),e.LFG(Ct,8))},jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})(),qt=(()=>{class jt{constructor(At,nn,zn){this._iconService=At,this._elementRef=nn,this._renderer=zn}ngOnChanges(At){(At.type||At.theme||At.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(At=>{if(!this.type)return this._clearSVGElement(),void At(null);const nn=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(zn=>{const Gn=this._getSelfRenderMeta();!function bt(jt,Rn){return jt.type===Rn.type&&jt.theme===Rn.theme&&jt.twoToneColor===Rn.twoToneColor}(nn,Gn)?At(null):(this._setSVGElement(zn),At(zn))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(At,nn){if(je(At))return At;{const[zn,Gn]=ke(At);return Gn?At:function dt(jt){return jt.endsWith("-fill")||jt.endsWith("-o")||jt.endsWith("-twotone")}(zn)?(nn&&pt(`'type' ${zn} already gets a theme inside so 'theme' ${nn} would be ignored`),zn):Qt(zn,nn||this._iconService.defaultTheme)}}_setSVGElement(At){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,At)}_clearSVGElement(){const At=this._elementRef.nativeElement,nn=At.childNodes;for(let Gn=nn.length-1;Gn>=0;Gn--){const gi=nn[Gn];"svg"===gi.tagName?.toLowerCase()&&this._renderer.removeChild(At,gi)}}}return jt.\u0275fac=function(At){return new(At||jt)(e.Y36(Kt),e.Y36(e.SBq),e.Y36(e.Qsj))},jt.\u0275dir=e.lG2({type:jt,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[e.TTD]}),jt})();var ht=p(88932),Vt=p(3187);const b1={name:"star",theme:"fill",icon:''};var I6=p(72536);const H6=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"delete",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},b1,{name:"search",theme:"outline",icon:''},b1,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],I4=new e.OlP("nz_icons"),H4=(new e.OlP("nz_icon_default_twotone_color"),"#1890ff");let V4=(()=>{class jt extends Kt{constructor(At,nn,zn,Gn,gi,$i,Cr){super(At,gi,$i,nn,[...H6,...Cr||[]]),this.nzConfigService=zn,this.platform=Gn,this.configUpdated$=new s.xQ,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(At){At.getAttribute("viewBox")||this._renderer.setAttribute(At,"viewBox","0 0 1024 1024"),(!At.getAttribute("width")||!At.getAttribute("height"))&&(this._renderer.setAttribute(At,"width","1em"),this._renderer.setAttribute(At,"height","1em")),At.getAttribute("fill")||this._renderer.setAttribute(At,"fill","currentColor")}fetchFromIconfont(At){const{scriptUrl:nn}=At;if(this._document&&!this.iconfontCache.has(nn)){const zn=this._renderer.createElement("script");this._renderer.setAttribute(zn,"src",nn),this._renderer.setAttribute(zn,"data-namespace",nn.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,zn),this.iconfontCache.add(nn)}}createIconfontIcon(At){return this._createSVGElementFromString(``)}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const At=this.getConfig();this.defaultTheme=At.nzTheme||"outline"}configDefaultTwotoneColor(){const nn=this.getConfig().nzTwotoneColor||H4;let zn=H4;nn&&(nn.startsWith("#")?zn=nn:(0,ht.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:zn}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return jt.\u0275fac=function(At){return new(At||jt)(e.LFG(e.FYo),e.LFG(Dt.H7),e.LFG(I6.jY),e.LFG(o.t4),e.LFG(Ue.jN,8),e.LFG(S.K0,8),e.LFG(I4,8))},jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac,providedIn:"root"}),jt})();const N4=new e.OlP("nz_icons_patch");let V6=(()=>{class jt{constructor(At,nn){this.extraIcons=At,this.rootIconService=nn,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(At=>this.rootIconService.addIcon(At)),this.patched=!0)}}return jt.\u0275fac=function(At){return new(At||jt)(e.LFG(N4,2),e.LFG(V4))},jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})(),Gu=(()=>{class jt extends qt{constructor(At,nn,zn,Gn,gi,$i){super(Gn,zn,gi),this.ngZone=At,this.changeDetectorRef=nn,this.iconService=Gn,this.renderer=gi,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new s.xQ,$i&&$i.doPatch(),this.el=zn.nativeElement}set nzSpin(At){this.spin=At}set nzType(At){this.type=At}set nzTheme(At){this.theme=At}set nzTwotoneColor(At){this.twoToneColor=At}set nzIconfont(At){this.iconfont=At}ngOnChanges(At){const{nzType:nn,nzTwotoneColor:zn,nzSpin:Gn,nzTheme:gi,nzRotate:$i}=At;nn||zn||Gn||gi?this.changeIcon2():$i?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 At=this.el.children;let nn=At.length;if(!this.type&&At.length)for(;nn--;){const zn=At[nn];"svg"===zn.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(zn)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,h.D)(this._changeIcon()).pipe((0,F.R)(this.destroy$)).subscribe({next:At=>{this.changeDetectorRef.detectChanges(),At&&(this.setSVGData(At),this.handleSpin(At),this.handleRotate(At))},error:ht.ZK})})}handleSpin(At){this.spin||"loading"===this.type?this.renderer.addClass(At,"anticon-spin"):this.renderer.removeClass(At,"anticon-spin")}handleRotate(At){this.nzRotate?this.renderer.setAttribute(At,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(At,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(At){this.renderer.setAttribute(At,"data-icon",this.type),this.renderer.setAttribute(At,"aria-hidden","true")}}return jt.\u0275fac=function(At){return new(At||jt)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(V4),e.Y36(e.Qsj),e.Y36(V6,8))},jt.\u0275dir=e.lG2({type:jt,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(At,nn){2&At&&e.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[e.qOj,e.TTD]}),(0,g.gn)([(0,Vt.yF)()],jt.prototype,"nzSpin",null),jt})(),N6=(()=>{class jt{static forRoot(At){return{ngModule:jt,providers:[{provide:I4,useValue:At}]}}static forChild(At){return{ngModule:jt,providers:[V6,{provide:N4,useValue:At}]}}}return jt.\u0275fac=function(At){return new(At||jt)},jt.\u0275mod=e.oAB({type:jt}),jt.\u0275inj=e.cJS({imports:[o.ud]}),jt})()},37096:(wt,Oe,p)=>{p.d(Oe,{Zf:()=>Ot,_V:()=>Ge});var o=p(70655),e=p(29521),g=p(94650),s=p(84719),h=p(8929),F=p(23753),S=p(36787),b=p(75778),z=p(7625),H=p(33303),A=p(3187),j=p(12687),ne=p(40445),Pe=p(59570),ee=p(36895),pe=p(47423),X=p(66287);const Ne=["upHandler"],ve=["downHandler"],T=["inputElement"];function Y(Dt,Bt){if(1&Dt&&g._UZ(0,"nz-form-item-feedback-icon",11),2&Dt){const nt=g.oxw();g.Q6J("status",nt.status)}}let Ge=(()=>{class Dt{constructor(nt,pt,Pt,Qt,Jt,Me,dt,je,te){this.ngZone=nt,this.elementRef=pt,this.cdr=Pt,this.focusMonitor=Qt,this.renderer=Jt,this.directionality=Me,this.destroy$=dt,this.nzFormStatusService=je,this.nzFormNoStatusService=te,this.isFocused=!1,this.disabled$=new h.xQ,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.status="",this.statusCls={},this.hasFeedback=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new g.vpe,this.nzFocus=new g.vpe,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=Ie=>Ie.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStatus="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzReadOnly=!1,this.nzAutoFocus=!1,this.nzBorderless=!1,this.nzFormatter=Ie=>Ie}onModelChange(nt){this.parsedValue=this.nzParser(nt),this.inputElement.nativeElement.value=`${this.parsedValue}`;const pt=this.getCurrentValidValue(this.parsedValue);this.setValue(pt)}getCurrentValidValue(nt){let pt=nt;return pt=""===pt?"":this.isNotCompleteNumber(pt)?this.value:`${this.getValidValue(pt)}`,this.toNumber(pt)}isNotCompleteNumber(nt){return isNaN(nt)||""===nt||null===nt||!(!nt||nt.toString().indexOf(".")!==nt.toString().length-1)}getValidValue(nt){let pt=parseFloat(nt);return isNaN(pt)?nt:(ptthis.nzMax&&(pt=this.nzMax),pt)}toNumber(nt){if(this.isNotCompleteNumber(nt))return nt;const pt=String(nt);if(pt.indexOf(".")>=0&&(0,A.DX)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(nt,this.nzPrecision);if("cut"===this.nzPrecisionMode){const Pt=pt.split(".");return Pt[1]=Pt[1].slice(0,this.nzPrecision),Number(Pt.join("."))}return Number(Number(nt).toFixed(this.nzPrecision))}return Number(nt)}getRatio(nt){let pt=1;return nt.metaKey||nt.ctrlKey?pt=.1:nt.shiftKey&&(pt=10),pt}down(nt,pt){this.isFocused||this.focus(),this.step("down",nt,pt)}up(nt,pt){this.isFocused||this.focus(),this.step("up",nt,pt)}getPrecision(nt){const pt=nt.toString();if(pt.indexOf("e-")>=0)return parseInt(pt.slice(pt.indexOf("e-")+2),10);let Pt=0;return pt.indexOf(".")>=0&&(Pt=pt.length-pt.indexOf(".")-1),Pt}getMaxPrecision(nt,pt){if((0,A.DX)(this.nzPrecision))return this.nzPrecision;const Pt=this.getPrecision(pt),Qt=this.getPrecision(this.nzStep),Jt=this.getPrecision(nt);return nt?Math.max(Jt,Pt+Qt):Pt+Qt}getPrecisionFactor(nt,pt){const Pt=this.getMaxPrecision(nt,pt);return Math.pow(10,Pt)}upStep(nt,pt){const Pt=this.getPrecisionFactor(nt,pt),Qt=Math.abs(this.getMaxPrecision(nt,pt));let Jt;return Jt="number"==typeof nt?((Pt*nt+Pt*this.nzStep*pt)/Pt).toFixed(Qt):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(Jt)}downStep(nt,pt){const Pt=this.getPrecisionFactor(nt,pt),Qt=Math.abs(this.getMaxPrecision(nt,pt));let Jt;return Jt="number"==typeof nt?((Pt*nt-Pt*this.nzStep*pt)/Pt).toFixed(Qt):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(Jt)}step(nt,pt,Pt=1){if(this.stop(),pt.preventDefault(),this.nzDisabled)return;const Qt=this.getCurrentValidValue(this.parsedValue)||0;let Jt=0;"up"===nt?Jt=this.upStep(Qt,Pt):"down"===nt&&(Jt=this.downStep(Qt,Pt));const Me=Jt>this.nzMax||Jtthis.nzMax?Jt=this.nzMax:Jt{this[nt](pt,Pt)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(nt){if(`${this.value}`!=`${nt}`&&this.onChange(nt),this.value=nt,this.parsedValue=nt,this.disabledUp=this.disabledDown=!1,nt||0===nt){const pt=Number(nt);pt>=this.nzMax&&(this.disabledUp=!0),pt<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(nt){const pt=(0,A.DX)(this.nzFormatter(nt))?this.nzFormatter(nt):"";this.displayValue=pt,this.inputElement.nativeElement.value=`${pt}`}writeValue(nt){this.value=nt,this.setValue(nt),this.updateDisplayValue(nt),this.cdr.markForCheck()}registerOnChange(nt){this.onChange=nt}registerOnTouched(nt){this.onTouched=nt}setDisabledState(nt){this.nzDisabled=nt,this.disabled$.next(nt),this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,b.x)((nt,pt)=>nt.status===pt.status&&nt.hasFeedback===pt.hasFeedback),(0,z.R)(this.destroy$)).subscribe(({status:nt,hasFeedback:pt})=>{this.setStatusStyles(nt,pt)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,z.R)(this.destroy$)).subscribe(nt=>{nt?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(nt=>{this.dir=nt}),this.setupHandlersListeners(),this.ngZone.runOutsideAngular(()=>{(0,F.R)(this.inputElement.nativeElement,"keyup").pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop()),(0,F.R)(this.inputElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(nt=>{const{keyCode:pt}=nt;pt!==e.LH&&pt!==e.JH&&pt!==e.K5||this.ngZone.run(()=>{if(pt===e.LH){const Pt=this.getRatio(nt);this.up(nt,Pt),this.stop()}else if(pt===e.JH){const Pt=this.getRatio(nt);this.down(nt,Pt),this.stop()}else this.updateDisplayValue(this.value);this.cdr.markForCheck()})})})}ngOnChanges(nt){const{nzStatus:pt,nzDisabled:Pt}=nt;if(nt.nzFormatter&&!nt.nzFormatter.isFirstChange()){const Qt=this.getCurrentValidValue(this.parsedValue);this.setValue(Qt),this.updateDisplayValue(Qt)}Pt&&this.disabled$.next(this.nzDisabled),pt&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}setupHandlersListeners(){this.ngZone.runOutsideAngular(()=>{(0,S.T)((0,F.R)(this.upHandler.nativeElement,"mouseup"),(0,F.R)(this.upHandler.nativeElement,"mouseleave"),(0,F.R)(this.downHandler.nativeElement,"mouseup"),(0,F.R)(this.downHandler.nativeElement,"mouseleave")).pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop())})}setStatusStyles(nt,pt){this.status=nt,this.hasFeedback=pt,this.cdr.markForCheck(),this.statusCls=(0,A.Zu)(this.prefixCls,nt,pt),Object.keys(this.statusCls).forEach(Pt=>{this.statusCls[Pt]?this.renderer.addClass(this.elementRef.nativeElement,Pt):this.renderer.removeClass(this.elementRef.nativeElement,Pt)})}}return Dt.\u0275fac=function(nt){return new(nt||Dt)(g.Y36(g.R0b),g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(j.tE),g.Y36(g.Qsj),g.Y36(ne.Is,8),g.Y36(H.kn),g.Y36(Pe.kH,8),g.Y36(Pe.yW,8))},Dt.\u0275cmp=g.Xpm({type:Dt,selectors:[["nz-input-number"]],viewQuery:function(nt,pt){if(1&nt&&(g.Gf(Ne,7),g.Gf(ve,7),g.Gf(T,7)),2&nt){let Pt;g.iGM(Pt=g.CRH())&&(pt.upHandler=Pt.first),g.iGM(Pt=g.CRH())&&(pt.downHandler=Pt.first),g.iGM(Pt=g.CRH())&&(pt.inputElement=Pt.first)}},hostAttrs:[1,"ant-input-number"],hostVars:16,hostBindings:function(nt,pt){2&nt&&g.ekj("ant-input-number-in-form-item",!!pt.nzFormStatusService)("ant-input-number-focused",pt.isFocused)("ant-input-number-lg","large"===pt.nzSize)("ant-input-number-sm","small"===pt.nzSize)("ant-input-number-disabled",pt.nzDisabled)("ant-input-number-readonly",pt.nzReadOnly)("ant-input-number-rtl","rtl"===pt.dir)("ant-input-number-borderless",pt.nzBorderless)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecision:"nzPrecision",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStatus:"nzStatus",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzReadOnly:"nzReadOnly",nzAutoFocus:"nzAutoFocus",nzBorderless:"nzBorderless",nzFormatter:"nzFormatter"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[g._Bn([{provide:s.JU,useExisting:(0,g.Gpc)(()=>Dt),multi:!0},H.kn]),g.TTD],decls:11,vars:15,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown"],["upHandler",""],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown"],["downHandler",""],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","readOnly","ngModel","ngModelChange"],["inputElement",""],["class","ant-input-number-suffix",3,"status",4,"ngIf"],[1,"ant-input-number-suffix",3,"status"]],template:function(nt,pt){1&nt&&(g.TgZ(0,"div",0)(1,"span",1,2),g.NdJ("mousedown",function(Qt){return pt.up(Qt)}),g._UZ(3,"span",3),g.qZA(),g.TgZ(4,"span",4,5),g.NdJ("mousedown",function(Qt){return pt.down(Qt)}),g._UZ(6,"span",6),g.qZA()(),g.TgZ(7,"div",7)(8,"input",8,9),g.NdJ("ngModelChange",function(Qt){return pt.onModelChange(Qt)}),g.qZA()(),g.YNc(10,Y,1,1,"nz-form-item-feedback-icon",10)),2&nt&&(g.xp6(1),g.ekj("ant-input-number-handler-up-disabled",pt.disabledUp),g.xp6(3),g.ekj("ant-input-number-handler-down-disabled",pt.disabledDown),g.xp6(4),g.Q6J("disabled",pt.nzDisabled)("placeholder",pt.nzPlaceHolder)("readOnly",pt.nzReadOnly)("ngModel",pt.displayValue),g.uIk("id",pt.nzId)("autofocus",pt.nzAutoFocus?"autofocus":null)("min",pt.nzMin)("max",pt.nzMax)("step",pt.nzStep)("inputmode",pt.nzInputMode),g.xp6(2),g.Q6J("ngIf",pt.hasFeedback&&!!pt.status&&!pt.nzFormNoStatusService))},dependencies:[ee.O5,s.Fj,s.JJ,s.On,pe.Ls,Pe.w_],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,A.yF)()],Dt.prototype,"nzDisabled",void 0),(0,o.gn)([(0,A.yF)()],Dt.prototype,"nzReadOnly",void 0),(0,o.gn)([(0,A.yF)()],Dt.prototype,"nzAutoFocus",void 0),(0,o.gn)([(0,A.yF)()],Dt.prototype,"nzBorderless",void 0),Dt})(),Ot=(()=>{class Dt{}return Dt.\u0275fac=function(nt){return new(nt||Dt)},Dt.\u0275mod=g.oAB({type:Dt}),Dt.\u0275inj=g.cJS({imports:[ne.vT,ee.ez,s.u5,X.T,pe.PV,Pe.mJ]}),Dt})()},73325:(wt,Oe,p)=>{p.d(Oe,{Cc:()=>Jt,hl:()=>dt,ip:()=>Kt,r9:()=>te,wO:()=>vt});var o=p(70655),e=p(94650),g=p(8929),s=p(591),h=p(36787),F=p(36053),S=p(24850),b=p(61709),z=p(92198),H=p(77604),A=p(57138),j=p(75778),ne=p(7625),Pe=p(1059),ee=p(87545),pe=p(3187),X=p(83689),Ne=p(40445),ve=p(98184),T=p(51691),Y=p(83353),k=p(84903),q=p(36895),Q=p(47423),ae=p(66287),de=p(32539);const be=["nz-submenu-title",""];function ge(bt,qt){if(1&bt&&e._UZ(0,"span",4),2&bt){const Qe=e.oxw();e.Q6J("nzType",Qe.nzIcon)}}function se(bt,qt){if(1&bt&&(e.ynx(0),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.BQk()),2&bt){const Qe=e.oxw();e.xp6(2),e.Oqu(Qe.nzTitle)}}function he(bt,qt){1&bt&&e._UZ(0,"span",8)}function De(bt,qt){1&bt&&e._UZ(0,"span",9)}function _e(bt,qt){if(1&bt&&(e.TgZ(0,"span",5),e.YNc(1,he,1,0,"span",6),e.YNc(2,De,1,0,"span",7),e.qZA()),2&bt){const Qe=e.oxw();e.Q6J("ngSwitch",Qe.dir),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function Ce(bt,qt){1&bt&&e._UZ(0,"span",10)}const we=["*"],Ae=["nz-submenu-inline-child",""];function Fe(bt,qt){}const Ue=["nz-submenu-none-inline-child",""];function Mt(bt,qt){}const _t=["nz-submenu",""];function Ft(bt,qt){1&bt&&e.Hsn(0,0,["*ngIf","!nzTitle"])}function et(bt,qt){if(1&bt&&e._UZ(0,"div",6),2&bt){const Qe=e.oxw(),le=e.MAs(7);e.Q6J("mode",Qe.mode)("nzOpen",Qe.nzOpen)("@.disabled",null==Qe.noAnimation?null:Qe.noAnimation.nzNoAnimation)("nzNoAnimation",null==Qe.noAnimation?null:Qe.noAnimation.nzNoAnimation)("menuClass",Qe.nzMenuClassName)("templateOutlet",le)}}function Ge(bt,qt){if(1&bt){const Qe=e.EpF();e.TgZ(0,"div",8),e.NdJ("subMenuMouseState",function(ht){e.CHM(Qe);const Vt=e.oxw(2);return e.KtG(Vt.setMouseEnterState(ht))}),e.qZA()}if(2&bt){const Qe=e.oxw(2),le=e.MAs(7);e.Q6J("theme",Qe.theme)("mode",Qe.mode)("nzOpen",Qe.nzOpen)("position",Qe.position)("nzDisabled",Qe.nzDisabled)("isMenuInsideDropDown",Qe.isMenuInsideDropDown)("templateOutlet",le)("menuClass",Qe.nzMenuClassName)("@.disabled",null==Qe.noAnimation?null:Qe.noAnimation.nzNoAnimation)("nzNoAnimation",null==Qe.noAnimation?null:Qe.noAnimation.nzNoAnimation)}}function Ze(bt,qt){if(1&bt){const Qe=e.EpF();e.YNc(0,Ge,1,10,"ng-template",7),e.NdJ("positionChange",function(ht){e.CHM(Qe);const Vt=e.oxw();return e.KtG(Vt.onPositionChange(ht))})}if(2&bt){const Qe=e.oxw(),le=e.MAs(1);e.Q6J("cdkConnectedOverlayPositions",Qe.overlayPositions)("cdkConnectedOverlayOrigin",le)("cdkConnectedOverlayWidth",Qe.triggerWidth)("cdkConnectedOverlayOpen",Qe.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Be(bt,qt){1&bt&&e.Hsn(0,1)}const It=[[["","title",""]],"*"],Ot=["[title]","*"],Jt=new e.OlP("NzIsInDropDownMenuToken"),Me=new e.OlP("NzMenuServiceLocalToken");let dt=(()=>{class bt{constructor(){this.descendantMenuItemClick$=new g.xQ,this.childMenuItemClick$=new g.xQ,this.theme$=new s.X("light"),this.mode$=new s.X("vertical"),this.inlineIndent$=new s.X(24),this.isChildSubMenuOpen$=new s.X(!1)}onDescendantMenuItemClick(Qe){this.descendantMenuItemClick$.next(Qe)}onChildMenuItemClick(Qe){this.childMenuItemClick$.next(Qe)}setMode(Qe){this.mode$.next(Qe)}setTheme(Qe){this.theme$.next(Qe)}setInlineIndent(Qe){this.inlineIndent$.next(Qe)}}return bt.\u0275fac=function(Qe){return new(Qe||bt)},bt.\u0275prov=e.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),je=(()=>{class bt{constructor(Qe,le,ht){this.nzHostSubmenuService=Qe,this.nzMenuService=le,this.isMenuInsideDropDown=ht,this.mode$=this.nzMenuService.mode$.pipe((0,S.U)(Re=>"inline"===Re?"inline":"vertical"===Re||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new s.X(!1),this.isChildSubMenuOpen$=new s.X(!1),this.isMouseEnterTitleOrOverlay$=new g.xQ,this.childMenuItemClick$=new g.xQ,this.destroy$=new g.xQ,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Vt=this.childMenuItemClick$.pipe((0,b.zg)(()=>this.mode$),(0,z.h)(Re=>"inline"!==Re||this.isMenuInsideDropDown),(0,H.h)(!1)),at=(0,h.T)(this.isMouseEnterTitleOrOverlay$,Vt);(0,F.aj)([this.isChildSubMenuOpen$,at]).pipe((0,S.U)(([Re,mt])=>Re||mt),(0,A.e)(150),(0,j.x)(),(0,ne.R)(this.destroy$)).pipe((0,j.x)()).subscribe(Re=>{this.setOpenStateWithoutDebounce(Re),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(Re):this.nzMenuService.isChildSubMenuOpen$.next(Re)})}onChildMenuItemClick(Qe){this.childMenuItemClick$.next(Qe)}setOpenStateWithoutDebounce(Qe){this.isCurrentSubMenuOpen$.next(Qe)}setMouseEnterTitleOrOverlayState(Qe){this.isMouseEnterTitleOrOverlay$.next(Qe)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.LFG(bt,12),e.LFG(dt),e.LFG(Jt))},bt.\u0275prov=e.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),te=(()=>{class bt{constructor(Qe,le,ht,Vt,at,Ke,Re,mt){this.nzMenuService=Qe,this.cdr=le,this.nzSubmenuService=ht,this.isMenuInsideDropDown=Vt,this.directionality=at,this.routerLink=Ke,this.routerLinkWithHref=Re,this.router=mt,this.destroy$=new g.xQ,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new g.xQ,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,mt&&this.router.events.pipe((0,ne.R)(this.destroy$),(0,z.h)(Ht=>Ht instanceof X.m2)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(Qe){this.nzDisabled?(Qe.preventDefault(),Qe.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(Qe){this.nzSelected=Qe,this.selected$.next(Qe)}updateRouterActive(){!this.listOfRouterLink||!this.listOfRouterLinkWithHref||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const Qe=this.hasActiveLinks();this.nzSelected!==Qe&&(this.nzSelected=Qe,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const Qe=this.isLinkActive(this.router);return this.routerLink&&Qe(this.routerLink)||this.routerLinkWithHref&&Qe(this.routerLinkWithHref)||this.listOfRouterLink.some(Qe)||this.listOfRouterLinkWithHref.some(Qe)}isLinkActive(Qe){return le=>Qe.isActive(le.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){(0,F.aj)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,ne.R)(this.destroy$)).subscribe(([Qe,le])=>{this.inlinePaddingLeft="inline"===Qe?this.level*le:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,ne.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe((0,ne.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(Qe){Qe.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(dt),e.Y36(e.sBO),e.Y36(je,8),e.Y36(Jt),e.Y36(Ne.Is,8),e.Y36(X.rH,8),e.Y36(X.yS,8),e.Y36(X.F0,8))},bt.\u0275dir=e.lG2({type:bt,selectors:[["","nz-menu-item",""]],contentQueries:function(Qe,le,ht){if(1&Qe&&(e.Suo(ht,X.rH,5),e.Suo(ht,X.yS,5)),2&Qe){let Vt;e.iGM(Vt=e.CRH())&&(le.listOfRouterLink=Vt),e.iGM(Vt=e.CRH())&&(le.listOfRouterLinkWithHref=Vt)}},hostVars:20,hostBindings:function(Qe,le){1&Qe&&e.NdJ("click",function(Vt){return le.clickMenuItem(Vt)}),2&Qe&&(e.Udp("padding-left","rtl"===le.dir?null:le.nzPaddingLeft||le.inlinePaddingLeft,"px")("padding-right","rtl"===le.dir?le.nzPaddingLeft||le.inlinePaddingLeft:null,"px"),e.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:[e.TTD]}),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzDisabled",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzSelected",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzDanger",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzMatchRouterExact",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzMatchRouter",void 0),bt})(),Ie=(()=>{class bt{constructor(Qe,le){this.cdr=Qe,this.directionality=le,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new e.vpe,this.subMenuMouseState=new e.vpe,this.dir="ltr",this.destroy$=new g.xQ}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(Qe){this.nzDisabled||this.subMenuMouseState.next(Qe)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(e.sBO),e.Y36(Ne.Is,8))},bt.\u0275cmp=e.Xpm({type:bt,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(Qe,le){1&Qe&&e.NdJ("click",function(){return le.clickTitle()})("mouseenter",function(){return le.setMouseState(!0)})("mouseleave",function(){return le.setMouseState(!1)}),2&Qe&&(e.Udp("padding-left","rtl"===le.dir?null:le.paddingLeft,"px")("padding-right","rtl"===le.dir?le.paddingLeft:null,"px"),e.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:be,ngContentSelectors:we,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(Qe,le){if(1&Qe&&(e.F$t(),e.YNc(0,ge,1,1,"span",0),e.YNc(1,se,3,1,"ng-container",1),e.Hsn(2),e.YNc(3,_e,3,2,"span",2),e.YNc(4,Ce,1,0,"ng-template",null,3,e.W1O)),2&Qe){const ht=e.MAs(5);e.Q6J("ngIf",le.nzIcon),e.xp6(1),e.Q6J("nzStringTemplateOutlet",le.nzTitle),e.xp6(2),e.Q6J("ngIf",le.isMenuInsideDropDown)("ngIfElse",ht)}},dependencies:[q.O5,q.RF,q.n9,q.ED,Q.Ls,ae.f],encapsulation:2,changeDetection:0}),bt})(),ze=(()=>{class bt{constructor(Qe,le,ht){this.elementRef=Qe,this.renderer=le,this.directionality=ht,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new g.xQ}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe})}ngOnChanges(Qe){const{mode:le,nzOpen:ht,menuClass:Vt}=Qe;(le||ht)&&this.calcMotionState(),Vt&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(at=>!!at).forEach(at=>{this.renderer.removeClass(this.elementRef.nativeElement,at)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(at=>!!at).forEach(at=>{this.renderer.addClass(this.elementRef.nativeElement,at)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Ne.Is,8))},bt.\u0275cmp=e.Xpm({type:bt,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(Qe,le){2&Qe&&(e.d8E("@collapseMotion",le.expandState),e.ekj("ant-menu-rtl","rtl"===le.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[e.TTD],attrs:Ae,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(Qe,le){1&Qe&&e.YNc(0,Fe,0,0,"ng-template",0),2&Qe&&e.Q6J("ngTemplateOutlet",le.templateOutlet)},dependencies:[q.tP],encapsulation:2,data:{animation:[de.J_]},changeDetection:0}),bt})(),ke=(()=>{class bt{constructor(Qe){this.directionality=Qe,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 e.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new g.xQ}setMouseState(Qe){this.nzDisabled||this.subMenuMouseState.next(Qe)}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(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe})}ngOnChanges(Qe){const{mode:le,nzOpen:ht}=Qe;(le||ht)&&this.calcMotionState()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(Ne.Is,8))},bt.\u0275cmp=e.Xpm({type:bt,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(Qe,le){1&Qe&&e.NdJ("mouseenter",function(){return le.setMouseState(!0)})("mouseleave",function(){return le.setMouseState(!1)}),2&Qe&&(e.d8E("@slideMotion",le.expandState)("@zoomBigMotion",le.expandState),e.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:[e.TTD],attrs:Ue,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(Qe,le){1&Qe&&(e.TgZ(0,"div",0),e.YNc(1,Mt,0,0,"ng-template",1),e.qZA()),2&Qe&&(e.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),e.Q6J("ngClass",le.menuClass),e.xp6(1),e.Q6J("ngTemplateOutlet",le.templateOutlet))},dependencies:[q.mk,q.tP],encapsulation:2,data:{animation:[de.$C,de.mF]},changeDetection:0}),bt})();const R=[T.yW.rightTop,T.yW.right,T.yW.rightBottom,T.yW.leftTop,T.yW.left,T.yW.leftBottom],U=[T.yW.bottomLeft];let B=(()=>{class bt{constructor(Qe,le,ht,Vt,at,Ke,Re){this.nzMenuService=Qe,this.cdr=le,this.nzSubmenuService=ht,this.platform=Vt,this.isMenuInsideDropDown=at,this.directionality=Ke,this.noAnimation=Re,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new e.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new g.xQ,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=R,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(Qe){this.nzSubmenuService.setOpenStateWithoutDebounce(Qe)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(Qe){this.isActive=Qe,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(Qe)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(Qe){const le=(0,T.d_)(Qe);"rightTop"===le||"rightBottom"===le||"right"===le?this.position="right":("leftTop"===le||"leftBottom"===le||"left"===le)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.theme=Qe,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.mode=Qe,"horizontal"===Qe?this.overlayPositions=U:"vertical"===Qe&&(this.overlayPositions=R),this.cdr.markForCheck()}),(0,F.aj)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,ne.R)(this.destroy$)).subscribe(([Qe,le])=>{this.inlinePaddingLeft="inline"===Qe?this.level*le:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.isActive=Qe,Qe!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=Qe,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const Qe=this.listOfNzMenuItemDirective,le=Qe.changes,ht=(0,h.T)(le,...Qe.map(Vt=>Vt.selected$));le.pipe((0,Pe.O)(Qe),(0,ee.w)(()=>ht),(0,Pe.O)(!0),(0,S.U)(()=>Qe.some(Vt=>Vt.nzSelected)),(0,ne.R)(this.destroy$)).subscribe(Vt=>{this.isSelected=Vt,this.cdr.markForCheck()})}ngOnChanges(Qe){const{nzOpen:le}=Qe;le&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(dt),e.Y36(e.sBO),e.Y36(je),e.Y36(Y.t4),e.Y36(Jt),e.Y36(Ne.Is,8),e.Y36(k.P,9))},bt.\u0275cmp=e.Xpm({type:bt,selectors:[["","nz-submenu",""]],contentQueries:function(Qe,le,ht){if(1&Qe&&(e.Suo(ht,bt,5),e.Suo(ht,te,5)),2&Qe){let Vt;e.iGM(Vt=e.CRH())&&(le.listOfNzSubMenuComponent=Vt),e.iGM(Vt=e.CRH())&&(le.listOfNzMenuItemDirective=Vt)}},viewQuery:function(Qe,le){if(1&Qe&&e.Gf(ve.xu,7,e.SBq),2&Qe){let ht;e.iGM(ht=e.CRH())&&(le.cdkOverlayOrigin=ht.first)}},hostVars:34,hostBindings:function(Qe,le){2&Qe&&e.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"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[e._Bn([je]),e.TTD],attrs:_t,ngContentSelectors:Ot,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(Qe,le){if(1&Qe&&(e.F$t(It),e.TgZ(0,"div",0,1),e.NdJ("subMenuMouseState",function(Vt){return le.setMouseEnterState(Vt)})("toggleSubMenu",function(){return le.toggleSubMenu()}),e.YNc(2,Ft,1,0,"ng-content",2),e.qZA(),e.YNc(3,et,1,6,"div",3),e.YNc(4,Ze,1,5,"ng-template",null,4,e.W1O),e.YNc(6,Be,1,0,"ng-template",null,5,e.W1O)),2&Qe){const ht=e.MAs(5);e.Q6J("nzIcon",le.nzIcon)("nzTitle",le.nzTitle)("mode",le.mode)("nzDisabled",le.nzDisabled)("isMenuInsideDropDown",le.isMenuInsideDropDown)("paddingLeft",le.nzPaddingLeft||le.inlinePaddingLeft),e.xp6(2),e.Q6J("ngIf",!le.nzTitle),e.xp6(1),e.Q6J("ngIf","inline"===le.mode)("ngIfElse",ht)}},dependencies:[q.O5,ve.pI,ve.xu,k.P,Ie,ze,ke],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzOpen",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzDisabled",void 0),bt})();function ce(bt,qt){return bt||qt}function He(bt){return bt||!1}let vt=(()=>{class bt{constructor(Qe,le,ht,Vt){this.nzMenuService=Qe,this.isMenuInsideDropDown=le,this.cdr=ht,this.directionality=Vt,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new e.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new s.X(this.nzInlineCollapsed),this.mode$=new s.X(this.nzMode),this.destroy$=new g.xQ,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(Qe){this.nzInlineCollapsed=Qe,this.inlineCollapsed$.next(Qe)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(Qe=>Qe.nzOpen),this.listOfNzSubMenuComponent.forEach(Qe=>Qe.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(Qe=>Qe.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){(0,F.aj)([this.inlineCollapsed$,this.mode$]).pipe((0,ne.R)(this.destroy$)).subscribe(([Qe,le])=>{this.actualMode=Qe?"vertical":le,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.nzClick.emit(Qe),this.nzSelectable&&!Qe.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(le=>le.setSelectedState(le===Qe))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,ne.R)(this.destroy$)).subscribe(Qe=>{this.dir=Qe,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,ne.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(Qe){const{nzInlineCollapsed:le,nzInlineIndent:ht,nzTheme:Vt,nzMode:at}=Qe;le&&this.inlineCollapsed$.next(this.nzInlineCollapsed),ht&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Vt&&this.nzMenuService.setTheme(this.nzTheme),at&&(this.mode$.next(this.nzMode),!Qe.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(Ke=>Ke.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return bt.\u0275fac=function(Qe){return new(Qe||bt)(e.Y36(dt),e.Y36(Jt),e.Y36(e.sBO),e.Y36(Ne.Is,8))},bt.\u0275dir=e.lG2({type:bt,selectors:[["","nz-menu",""]],contentQueries:function(Qe,le,ht){if(1&Qe&&(e.Suo(ht,te,5),e.Suo(ht,B,5)),2&Qe){let Vt;e.iGM(Vt=e.CRH())&&(le.listOfNzMenuItemDirective=Vt),e.iGM(Vt=e.CRH())&&(le.listOfNzSubMenuComponent=Vt)}},hostVars:34,hostBindings:function(Qe,le){2&Qe&&e.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:[e._Bn([{provide:Me,useClass:dt},{provide:dt,useFactory:ce,deps:[[new e.tp0,new e.FiY,dt],Me]},{provide:Jt,useFactory:He,deps:[[new e.tp0,new e.FiY,Jt]]}]),e.TTD]}),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzInlineCollapsed",void 0),(0,o.gn)([(0,pe.yF)()],bt.prototype,"nzSelectable",void 0),bt})(),Kt=(()=>{class bt{}return bt.\u0275fac=function(Qe){return new(Qe||bt)},bt.\u0275mod=e.oAB({type:bt}),bt.\u0275inj=e.cJS({imports:[Ne.vT,q.ez,Y.ud,ve.U8,Q.PV,k.g,ae.T]}),bt})()},49651:(wt,Oe,p)=>{p.d(Oe,{Ay:()=>de,Gm:()=>ae,XJ:()=>Q,dD:()=>_e,gR:()=>Ce});var o=p(84080),e=p(94650),g=p(8929),s=p(92198),h=p(72986),F=p(7625),S=p(72536),b=p(3187),z=p(36895),H=p(32539),A=p(47423),j=p(66287),ne=p(33303),Pe=p(98184),ee=p(40445);function pe(we,Ae){1&we&&e._UZ(0,"span",10)}function X(we,Ae){1&we&&e._UZ(0,"span",11)}function Ne(we,Ae){1&we&&e._UZ(0,"span",12)}function ve(we,Ae){1&we&&e._UZ(0,"span",13)}function T(we,Ae){1&we&&e._UZ(0,"span",14)}function Y(we,Ae){if(1&we&&(e.ynx(0),e._UZ(1,"span",15),e.BQk()),2&we){const Fe=e.oxw();e.xp6(1),e.Q6J("innerHTML",Fe.instance.content,e.oJD)}}function k(we,Ae){if(1&we){const Fe=e.EpF();e.TgZ(0,"nz-message",2),e.NdJ("destroyed",function(Mt){e.CHM(Fe);const _t=e.oxw();return e.KtG(_t.remove(Mt.id,Mt.userAction))}),e.qZA()}2&we&&e.Q6J("instance",Ae.$implicit)}let q=0;class Q{constructor(Ae,Fe,Ue){this.nzSingletonService=Ae,this.overlay=Fe,this.injector=Ue}remove(Ae){this.container&&(Ae?this.container.remove(Ae):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${q++}`}withContainer(Ae){let Fe=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(Fe)return Fe;const Ue=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),Mt=new o.C5(Ae,null,this.injector),_t=Ue.attach(Mt);return Ue.overlayElement.style.zIndex="1010",Fe||(this.container=Fe=_t.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,Fe)),Fe}}let ae=(()=>{class we{constructor(Fe,Ue){this.cdr=Fe,this.nzConfigService=Ue,this.instances=[],this.destroy$=new g.xQ,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(Fe){const Ue=this.onCreate(Fe);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,Ue],this.readyInstances(),Ue}remove(Fe,Ue=!1){this.instances.some((Mt,_t)=>Mt.messageId===Fe&&(this.instances.splice(_t,1),this.instances=[...this.instances],this.onRemove(Mt,Ue),this.readyInstances(),!0))}removeAll(){this.instances.forEach(Fe=>this.onRemove(Fe,!1)),this.instances=[],this.readyInstances()}onCreate(Fe){return Fe.options=this.mergeOptions(Fe.options),Fe.onClose=new g.xQ,Fe}onRemove(Fe,Ue){Fe.onClose.next(Ue),Fe.onClose.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(Fe){const{nzDuration:Ue,nzAnimate:Mt,nzPauseOnHover:_t}=this.config;return{nzDuration:Ue,nzAnimate:Mt,nzPauseOnHover:_t,...Fe}}}return we.\u0275fac=function(Fe){return new(Fe||we)(e.Y36(e.sBO),e.Y36(S.jY))},we.\u0275dir=e.lG2({type:we}),we})(),de=(()=>{class we{constructor(Fe){this.cdr=Fe,this.destroyed=new e.vpe,this.animationStateChanged=new g.xQ,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe((0,s.h)(Fe=>"done"===Fe.phaseName&&"leave"===Fe.toState),(0,h.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(Fe=!1){this.userAction=Fe,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:Fe})},200)):this.destroyed.next({id:this.instance.messageId,userAction:Fe})}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 we.\u0275fac=function(Fe){return new(Fe||we)(e.Y36(e.sBO))},we.\u0275dir=e.lG2({type:we}),we})(),be=(()=>{class we extends de{constructor(Fe){super(Fe),this.destroyed=new e.vpe}}return we.\u0275fac=function(Fe){return new(Fe||we)(e.Y36(e.sBO))},we.\u0275cmp=e.Xpm({type:we,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[e.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(Fe,Ue){1&Fe&&(e.TgZ(0,"div",0),e.NdJ("@moveUpMotion.done",function(_t){return Ue.animationStateChanged.next(_t)})("mouseenter",function(){return Ue.onEnter()})("mouseleave",function(){return Ue.onLeave()}),e.TgZ(1,"div",1)(2,"div",2),e.ynx(3,3),e.YNc(4,pe,1,0,"span",4),e.YNc(5,X,1,0,"span",5),e.YNc(6,Ne,1,0,"span",6),e.YNc(7,ve,1,0,"span",7),e.YNc(8,T,1,0,"span",8),e.BQk(),e.YNc(9,Y,2,1,"ng-container",9),e.qZA()()()),2&Fe&&(e.Q6J("@moveUpMotion",Ue.instance.state),e.xp6(2),e.Q6J("ngClass","ant-message-"+Ue.instance.type),e.xp6(1),e.Q6J("ngSwitch",Ue.instance.type),e.xp6(1),e.Q6J("ngSwitchCase","success"),e.xp6(1),e.Q6J("ngSwitchCase","info"),e.xp6(1),e.Q6J("ngSwitchCase","warning"),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","loading"),e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ue.instance.content))},dependencies:[z.mk,z.RF,z.n9,A.Ls,j.f],encapsulation:2,data:{animation:[H.YK]},changeDetection:0}),we})();const ge="message",se={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let he=(()=>{class we extends ae{constructor(Fe,Ue){super(Fe,Ue),this.dir="ltr";const Mt=this.nzConfigService.getConfigForComponent(ge);this.dir=Mt?.nzDirection||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(ge).pipe((0,F.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const Fe=this.nzConfigService.getConfigForComponent(ge);if(Fe){const{nzDirection:Ue}=Fe;this.dir=Ue||this.dir}})}updateConfig(){this.config={...se,...this.config,...this.nzConfigService.getConfigForComponent(ge)},this.top=(0,b.WX)(this.config.nzTop),this.cdr.markForCheck()}}return we.\u0275fac=function(Fe){return new(Fe||we)(e.Y36(e.sBO),e.Y36(S.jY))},we.\u0275cmp=e.Xpm({type:we,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[e.qOj],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(Fe,Ue){1&Fe&&(e.TgZ(0,"div",0),e.YNc(1,k,1,1,"nz-message",1),e.qZA()),2&Fe&&(e.Udp("top",Ue.top),e.ekj("ant-message-rtl","rtl"===Ue.dir),e.xp6(1),e.Q6J("ngForOf",Ue.instances))},dependencies:[z.sg,be],encapsulation:2,changeDetection:0}),we})(),De=(()=>{class we{}return we.\u0275fac=function(Fe){return new(Fe||we)},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({}),we})(),_e=(()=>{class we extends Q{constructor(Fe,Ue,Mt){super(Fe,Ue,Mt),this.componentPrefix="message-"}success(Fe,Ue){return this.createInstance({type:"success",content:Fe},Ue)}error(Fe,Ue){return this.createInstance({type:"error",content:Fe},Ue)}info(Fe,Ue){return this.createInstance({type:"info",content:Fe},Ue)}warning(Fe,Ue){return this.createInstance({type:"warning",content:Fe},Ue)}loading(Fe,Ue){return this.createInstance({type:"loading",content:Fe},Ue)}create(Fe,Ue,Mt){return this.createInstance({type:Fe,content:Ue},Mt)}createInstance(Fe,Ue){return this.container=this.withContainer(he),this.container.create({...Fe,createdAt:new Date,messageId:this.getInstanceId(),options:Ue})}}return we.\u0275fac=function(Fe){return new(Fe||we)(e.LFG(ne.KV),e.LFG(Pe.aV),e.LFG(e.zs3))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:De}),we})(),Ce=(()=>{class we{}return we.\u0275fac=function(Fe){return new(Fe||we)},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({imports:[ee.vT,z.ez,Pe.U8,A.PV,j.T,De]}),we})()},60387:(wt,Oe,p)=>{p.d(Oe,{L8:()=>Fe,zb:()=>Mt});var o=p(94650),e=p(32539),g=p(49651),s=p(36895),h=p(47423),F=p(66287),S=p(40445),b=p(98184),z=p(8929),H=p(7625),A=p(3187),j=p(72536),ne=p(33303);function Pe(_t,Ft){1&_t&&o._UZ(0,"span",16)}function ee(_t,Ft){1&_t&&o._UZ(0,"span",17)}function pe(_t,Ft){1&_t&&o._UZ(0,"span",18)}function X(_t,Ft){1&_t&&o._UZ(0,"span",19)}const Ne=function(_t){return{"ant-notification-notice-with-icon":_t}};function ve(_t,Ft){if(1&_t&&(o.TgZ(0,"div",7)(1,"div",8)(2,"div"),o.ynx(3,9),o.YNc(4,Pe,1,0,"span",10),o.YNc(5,ee,1,0,"span",11),o.YNc(6,pe,1,0,"span",12),o.YNc(7,X,1,0,"span",13),o.BQk(),o._UZ(8,"div",14)(9,"div",15),o.qZA()()()),2&_t){const et=o.oxw();o.xp6(1),o.Q6J("ngClass",o.VKq(10,Ne,"blank"!==et.instance.type)),o.xp6(1),o.ekj("ant-notification-notice-with-icon","blank"!==et.instance.type),o.xp6(1),o.Q6J("ngSwitch",et.instance.type),o.xp6(1),o.Q6J("ngSwitchCase","success"),o.xp6(1),o.Q6J("ngSwitchCase","info"),o.xp6(1),o.Q6J("ngSwitchCase","warning"),o.xp6(1),o.Q6J("ngSwitchCase","error"),o.xp6(1),o.Q6J("innerHTML",et.instance.title,o.oJD),o.xp6(1),o.Q6J("innerHTML",et.instance.content,o.oJD)}}function T(_t,Ft){}function Y(_t,Ft){if(1&_t&&(o.ynx(0),o._UZ(1,"span",21),o.BQk()),2&_t){const et=Ft.$implicit;o.xp6(1),o.Q6J("nzType",et)}}function k(_t,Ft){if(1&_t&&(o.ynx(0),o.YNc(1,Y,2,1,"ng-container",20),o.BQk()),2&_t){const et=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",null==et.instance.options?null:et.instance.options.nzCloseIcon)}}function q(_t,Ft){1&_t&&o._UZ(0,"span",22)}const Q=function(_t,Ft){return{$implicit:_t,data:Ft}};function ae(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","topLeft")}function de(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","topRight")}function be(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","bottomLeft")}function ge(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","bottomRight")}function se(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","top")}function he(_t,Ft){if(1&_t){const et=o.EpF();o.TgZ(0,"nz-notification",7),o.NdJ("destroyed",function(Ze){o.CHM(et);const Be=o.oxw();return o.KtG(Be.remove(Ze.id,Ze.userAction))}),o.qZA()}2&_t&&o.Q6J("instance",Ft.$implicit)("placement","bottom")}let De=(()=>{class _t extends g.Ay{constructor(et){super(et),this.destroyed=new o.vpe}ngOnDestroy(){super.ngOnDestroy(),this.instance.onClick.complete()}onClick(et){this.instance.onClick.next(et)}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 _t.\u0275fac=function(et){return new(et||_t)(o.Y36(o.sBO))},_t.\u0275cmp=o.Xpm({type:_t,selectors:[["nz-notification"]],inputs:{instance:"instance",index:"index",placement:"placement"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[o.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(et,Ge){if(1&et&&(o.TgZ(0,"div",0),o.NdJ("@notificationMotion.done",function(Be){return Ge.animationStateChanged.next(Be)})("click",function(Be){return Ge.onClick(Be)})("mouseenter",function(){return Ge.onEnter()})("mouseleave",function(){return Ge.onLeave()}),o.YNc(1,ve,10,12,"div",1),o.YNc(2,T,0,0,"ng-template",2),o.TgZ(3,"a",3),o.NdJ("click",function(){return Ge.close()}),o.TgZ(4,"span",4),o.YNc(5,k,2,1,"ng-container",5),o.YNc(6,q,1,0,"ng-template",null,6,o.W1O),o.qZA()()()),2&et){const Ze=o.MAs(7);o.Q6J("ngStyle",(null==Ge.instance.options?null:Ge.instance.options.nzStyle)||null)("ngClass",(null==Ge.instance.options?null:Ge.instance.options.nzClass)||"")("@notificationMotion",Ge.state),o.xp6(1),o.Q6J("ngIf",!Ge.instance.template),o.xp6(1),o.Q6J("ngIf",Ge.instance.template)("ngTemplateOutlet",Ge.instance.template)("ngTemplateOutletContext",o.WLB(9,Q,Ge,null==Ge.instance.options?null:Ge.instance.options.nzData)),o.xp6(3),o.Q6J("ngIf",null==Ge.instance.options?null:Ge.instance.options.nzCloseIcon)("ngIfElse",Ze)}},dependencies:[s.mk,s.O5,s.tP,s.PC,s.RF,s.n9,h.Ls,F.f],encapsulation:2,data:{animation:[e.LU]}}),_t})();const _e="notification",Ce={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"};let we=(()=>{class _t extends g.Gm{constructor(et,Ge){super(et,Ge),this.dir="ltr",this.instances=[],this.topLeftInstances=[],this.topRightInstances=[],this.bottomLeftInstances=[],this.bottomRightInstances=[],this.topInstances=[],this.bottomInstances=[];const Ze=this.nzConfigService.getConfigForComponent(_e);this.dir=Ze?.nzDirection||"ltr"}create(et){const Ge=this.onCreate(et),Ze=Ge.options.nzKey,Be=this.instances.find(It=>It.options.nzKey===et.options.nzKey);return Ze&&Be?this.replaceNotification(Be,Ge):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,Ge]),this.readyInstances(),Ge}onCreate(et){return et.options=this.mergeOptions(et.options),et.onClose=new z.xQ,et.onClick=new z.xQ,et}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(_e).pipe((0,H.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const et=this.nzConfigService.getConfigForComponent(_e);if(et){const{nzDirection:Ge}=et;this.dir=Ge||this.dir}})}updateConfig(){this.config={...Ce,...this.config,...this.nzConfigService.getConfigForComponent(_e)},this.top=(0,A.WX)(this.config.nzTop),this.bottom=(0,A.WX)(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(et,Ge){et.title=Ge.title,et.content=Ge.content,et.template=Ge.template,et.type=Ge.type,et.options=Ge.options}readyInstances(){const et={topLeft:[],topRight:[],bottomLeft:[],bottomRight:[],top:[],bottom:[]};this.instances.forEach(Ge=>{switch(Ge.options.nzPlacement){case"topLeft":et.topLeft.push(Ge);break;case"topRight":default:et.topRight.push(Ge);break;case"bottomLeft":et.bottomLeft.push(Ge);break;case"bottomRight":et.bottomRight.push(Ge);break;case"top":et.top.push(Ge);break;case"bottom":et.bottom.push(Ge)}}),this.topLeftInstances=et.topLeft,this.topRightInstances=et.topRight,this.bottomLeftInstances=et.bottomLeft,this.bottomRightInstances=et.bottomRight,this.topInstances=et.top,this.bottomInstances=et.bottom,this.cdr.detectChanges()}mergeOptions(et){const{nzDuration:Ge,nzAnimate:Ze,nzPauseOnHover:Be,nzPlacement:It}=this.config;return{nzDuration:Ge,nzAnimate:Ze,nzPauseOnHover:Be,nzPlacement:It,...et}}}return _t.\u0275fac=function(et){return new(et||_t)(o.Y36(o.sBO),o.Y36(j.jY))},_t.\u0275cmp=o.Xpm({type:_t,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[o.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(et,Ge){1&et&&(o.TgZ(0,"div",0),o.YNc(1,ae,1,2,"nz-notification",1),o.qZA(),o.TgZ(2,"div",2),o.YNc(3,de,1,2,"nz-notification",1),o.qZA(),o.TgZ(4,"div",3),o.YNc(5,be,1,2,"nz-notification",1),o.qZA(),o.TgZ(6,"div",4),o.YNc(7,ge,1,2,"nz-notification",1),o.qZA(),o.TgZ(8,"div",5),o.YNc(9,se,1,2,"nz-notification",1),o.qZA(),o.TgZ(10,"div",6),o.YNc(11,he,1,2,"nz-notification",1),o.qZA()),2&et&&(o.Udp("top",Ge.top)("left","0px"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.topLeftInstances),o.xp6(1),o.Udp("top",Ge.top)("right","0px"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.topRightInstances),o.xp6(1),o.Udp("bottom",Ge.bottom)("left","0px"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.bottomLeftInstances),o.xp6(1),o.Udp("bottom",Ge.bottom)("right","0px"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.bottomRightInstances),o.xp6(1),o.Udp("top",Ge.top)("left","50%")("transform","translateX(-50%)"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.topInstances),o.xp6(1),o.Udp("bottom",Ge.bottom)("left","50%")("transform","translateX(-50%)"),o.ekj("ant-notification-rtl","rtl"===Ge.dir),o.xp6(1),o.Q6J("ngForOf",Ge.bottomInstances))},dependencies:[s.sg,De],encapsulation:2,changeDetection:0}),_t})(),Ae=(()=>{class _t{}return _t.\u0275fac=function(et){return new(et||_t)},_t.\u0275mod=o.oAB({type:_t}),_t.\u0275inj=o.cJS({}),_t})(),Fe=(()=>{class _t{}return _t.\u0275fac=function(et){return new(et||_t)},_t.\u0275mod=o.oAB({type:_t}),_t.\u0275inj=o.cJS({imports:[S.vT,s.ez,b.U8,h.PV,F.T,Ae]}),_t})(),Ue=0,Mt=(()=>{class _t extends g.XJ{constructor(et,Ge,Ze){super(et,Ge,Ze),this.componentPrefix="notification-"}success(et,Ge,Ze){return this.createInstance({type:"success",title:et,content:Ge},Ze)}error(et,Ge,Ze){return this.createInstance({type:"error",title:et,content:Ge},Ze)}info(et,Ge,Ze){return this.createInstance({type:"info",title:et,content:Ge},Ze)}warning(et,Ge,Ze){return this.createInstance({type:"warning",title:et,content:Ge},Ze)}blank(et,Ge,Ze){return this.createInstance({type:"blank",title:et,content:Ge},Ze)}create(et,Ge,Ze,Be){return this.createInstance({type:et,title:Ge,content:Ze},Be)}template(et,Ge){return this.createInstance({template:et},Ge)}generateMessageId(){return`${this.componentPrefix}-${Ue++}`}createInstance(et,Ge){return this.container=this.withContainer(we),this.container.create({...et,createdAt:new Date,messageId:this.generateMessageId(),options:Ge})}}return _t.\u0275fac=function(et){return new(et||_t)(o.LFG(ne.KV),o.LFG(b.aV),o.LFG(o.zs3))},_t.\u0275prov=o.Yz7({token:_t,factory:_t.\u0275fac,providedIn:Ae}),_t})()},73055:(wt,Oe,p)=>{p.d(Oe,{M:()=>_t,W:()=>Ft});var o=p(40445),e=p(36895),g=p(94650),s=p(66287),h=p(47423),F=p(70655),S=p(8929),b=p(7625),z=p(72536),H=p(3187);function A(et,Ge){if(1&et&&(g.ynx(0),g._UZ(1,"span",8),g.BQk()),2&et){const Ze=g.oxw(3);g.xp6(1),g.Q6J("nzType",Ze.icon)}}function j(et,Ge){if(1&et&&(g.ynx(0),g._uU(1),g.BQk()),2&et){const Ze=Ge.$implicit,Be=g.oxw(4);g.xp6(1),g.hij(" ",Ze(Be.nzPercent)," ")}}const ne=function(et){return{$implicit:et}};function Pe(et,Ge){if(1&et&&g.YNc(0,j,2,1,"ng-container",9),2&et){const Ze=g.oxw(3);g.Q6J("nzStringTemplateOutlet",Ze.formatter)("nzStringTemplateOutletContext",g.VKq(2,ne,Ze.nzPercent))}}function ee(et,Ge){if(1&et&&(g.TgZ(0,"span",5),g.YNc(1,A,2,1,"ng-container",6),g.YNc(2,Pe,1,4,"ng-template",null,7,g.W1O),g.qZA()),2&et){const Ze=g.MAs(3),Be=g.oxw(2);g.xp6(1),g.Q6J("ngIf",("exception"===Be.status||"success"===Be.status)&&!Be.nzFormat)("ngIfElse",Ze)}}function pe(et,Ge){if(1&et&&g.YNc(0,ee,4,2,"span",4),2&et){const Ze=g.oxw();g.Q6J("ngIf",Ze.nzShowInfo)}}function X(et,Ge){if(1&et&&g._UZ(0,"div",17),2&et){const Ze=g.oxw(4);g.Udp("width",Ze.nzSuccessPercent,"%")("border-radius","round"===Ze.nzStrokeLinecap?"100px":"0")("height",Ze.strokeWidth,"px")}}function Ne(et,Ge){if(1&et&&(g.TgZ(0,"div",13)(1,"div",14),g._UZ(2,"div",15),g.YNc(3,X,1,6,"div",16),g.qZA()()),2&et){const Ze=g.oxw(3);g.xp6(2),g.Udp("width",Ze.nzPercent,"%")("border-radius","round"===Ze.nzStrokeLinecap?"100px":"0")("background",Ze.isGradient?null:Ze.nzStrokeColor)("background-image",Ze.isGradient?Ze.lineGradient:null)("height",Ze.strokeWidth,"px"),g.xp6(1),g.Q6J("ngIf",Ze.nzSuccessPercent||0===Ze.nzSuccessPercent)}}function ve(et,Ge){}function T(et,Ge){if(1&et&&(g.ynx(0),g.YNc(1,Ne,4,11,"div",11),g.YNc(2,ve,0,0,"ng-template",12),g.BQk()),2&et){const Ze=g.oxw(2),Be=g.MAs(1);g.xp6(1),g.Q6J("ngIf",!Ze.isSteps),g.xp6(1),g.Q6J("ngTemplateOutlet",Be)}}function Y(et,Ge){1&et&&g._UZ(0,"div",20),2&et&&g.Q6J("ngStyle",Ge.$implicit)}function k(et,Ge){}function q(et,Ge){if(1&et&&(g.TgZ(0,"div",18),g.YNc(1,Y,1,1,"div",19),g.YNc(2,k,0,0,"ng-template",12),g.qZA()),2&et){const Ze=g.oxw(2),Be=g.MAs(1);g.xp6(1),g.Q6J("ngForOf",Ze.steps),g.xp6(1),g.Q6J("ngTemplateOutlet",Be)}}function Q(et,Ge){if(1&et&&(g.TgZ(0,"div"),g.YNc(1,T,3,2,"ng-container",2),g.YNc(2,q,3,2,"div",10),g.qZA()),2&et){const Ze=g.oxw();g.xp6(1),g.Q6J("ngIf",!Ze.isSteps),g.xp6(1),g.Q6J("ngIf",Ze.isSteps)}}function ae(et,Ge){if(1&et&&(g.O4$(),g._UZ(0,"stop")),2&et){const Ze=Ge.$implicit;g.uIk("offset",Ze.offset)("stop-color",Ze.color)}}function de(et,Ge){if(1&et&&(g.O4$(),g.TgZ(0,"defs")(1,"linearGradient",24),g.YNc(2,ae,1,2,"stop",25),g.qZA()()),2&et){const Ze=g.oxw(2);g.xp6(1),g.Q6J("id","gradient-"+Ze.gradientId),g.xp6(1),g.Q6J("ngForOf",Ze.circleGradient)}}function be(et,Ge){if(1&et&&(g.O4$(),g._UZ(0,"path",26)),2&et){const Ze=Ge.$implicit,Be=g.oxw(2);g.Q6J("ngStyle",Ze.strokePathStyle),g.uIk("d",Be.pathString)("stroke-linecap",Be.nzStrokeLinecap)("stroke",Ze.stroke)("stroke-width",Be.nzPercent?Be.strokeWidth:0)}}function ge(et,Ge){1&et&&g.O4$()}function se(et,Ge){if(1&et&&(g.TgZ(0,"div",14),g.O4$(),g.TgZ(1,"svg",21),g.YNc(2,de,3,2,"defs",2),g._UZ(3,"path",22),g.YNc(4,be,1,5,"path",23),g.qZA(),g.YNc(5,ge,0,0,"ng-template",12),g.qZA()),2&et){const Ze=g.oxw(),Be=g.MAs(1);g.Udp("width",Ze.nzWidth,"px")("height",Ze.nzWidth,"px")("font-size",.15*Ze.nzWidth+6,"px"),g.ekj("ant-progress-circle-gradient",Ze.isGradient),g.xp6(2),g.Q6J("ngIf",Ze.isGradient),g.xp6(1),g.Q6J("ngStyle",Ze.trailPathStyle),g.uIk("stroke-width",Ze.strokeWidth)("d",Ze.pathString),g.xp6(1),g.Q6J("ngForOf",Ze.progressCirclePath)("ngForTrackBy",Ze.trackByFn),g.xp6(1),g.Q6J("ngTemplateOutlet",Be)}}const De=et=>{let Ge=[];return Object.keys(et).forEach(Ze=>{const Be=et[Ze],It=function he(et){return+et.replace("%","")}(Ze);isNaN(It)||Ge.push({key:It,value:Be})}),Ge=Ge.sort((Ze,Be)=>Ze.key-Be.key),Ge};let we=0;const Ae="progress",Fe=new Map([["success","check"],["exception","close"]]),Ue=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),Mt=et=>`${et}%`;let _t=(()=>{class et{constructor(Ze,Be,It){this.cdr=Ze,this.nzConfigService=Be,this.directionality=It,this._nzModuleName=Ae,this.nzShowInfo=!0,this.nzWidth=132,this.nzStrokeColor=void 0,this.nzSize="default",this.nzPercent=0,this.nzStrokeWidth=void 0,this.nzGapDegree=void 0,this.nzType="line",this.nzGapPosition="top",this.nzStrokeLinecap="round",this.nzSteps=0,this.steps=[],this.lineGradient=null,this.isGradient=!1,this.isSteps=!1,this.gradientId=we++,this.progressCirclePath=[],this.trailPathStyle=null,this.dir="ltr",this.trackByFn=Ot=>`${Ot}`,this.cachedStatus="normal",this.inferredStatus="normal",this.destroy$=new S.xQ}get formatter(){return this.nzFormat||Mt}get status(){return this.nzStatus||this.inferredStatus}get strokeWidth(){return this.nzStrokeWidth||("line"===this.nzType&&"small"!==this.nzSize?8:6)}get isCircleStyle(){return"circle"===this.nzType||"dashboard"===this.nzType}ngOnChanges(Ze){const{nzSteps:Be,nzGapPosition:It,nzStrokeLinecap:Ot,nzStrokeColor:Dt,nzGapDegree:Bt,nzType:nt,nzStatus:pt,nzPercent:Pt,nzSuccessPercent:Qt,nzStrokeWidth:Jt}=Ze;pt&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(Pt||Qt)&&(parseInt(this.nzPercent.toString(),10)>=100?((0,H.DX)(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||void 0===this.nzSuccessPercent)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(pt||Pt||Qt||Dt)&&this.updateIcon(),Dt&&this.setStrokeColor(),(It||Ot||Bt||nt||Pt||Dt||Dt)&&this.getCirclePaths(),(Pt||Be||Jt)&&(this.isSteps=this.nzSteps>0,this.isSteps&&this.getSteps())}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(Ae).pipe((0,b.R)(this.destroy$)).subscribe(()=>{this.updateIcon(),this.setStrokeColor(),this.getCirclePaths()}),this.directionality.change?.pipe((0,b.R)(this.destroy$)).subscribe(Ze=>{this.dir=Ze,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateIcon(){const Ze=Fe.get(this.status);this.icon=Ze?Ze+(this.isCircleStyle?"-o":"-circle-fill"):""}getSteps(){const Ze=Math.floor(this.nzSteps*(this.nzPercent/100)),Be="small"===this.nzSize?2:14,It=[];for(let Ot=0;Ot{const Me=2===Ze.length&&0===Jt;return{stroke:this.isGradient&&!Me?`url(#gradient-${this.gradientId})`:null,strokePathStyle:{stroke:this.isGradient?null:Me?Ue.get("success"):this.nzStrokeColor,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s",strokeDasharray:`${(Qt||0)/100*(Ot-Dt)}px ${Ot}px`,strokeDashoffset:`-${Dt/2}px`}}}).reverse()}setStrokeColor(){const Ze=this.nzStrokeColor,Be=this.isGradient=!!Ze&&"string"!=typeof Ze;Be&&!this.isCircleStyle?this.lineGradient=(et=>{const{from:Ge="#1890ff",to:Ze="#1890ff",direction:Be="to right",...It}=et;return 0!==Object.keys(It).length?`linear-gradient(${Be}, ${De(It).map(({key:Dt,value:Bt})=>`${Bt} ${Dt}%`).join(", ")})`:`linear-gradient(${Be}, ${Ge}, ${Ze})`})(Ze):Be&&this.isCircleStyle?this.circleGradient=(et=>De(this.nzStrokeColor).map(({key:Ge,value:Ze})=>({offset:`${Ge}%`,color:Ze})))():(this.lineGradient=null,this.circleGradient=[])}}return et.\u0275fac=function(Ze){return new(Ze||et)(g.Y36(g.sBO),g.Y36(z.jY),g.Y36(o.Is,8))},et.\u0275cmp=g.Xpm({type:et,selectors:[["nz-progress"]],inputs:{nzShowInfo:"nzShowInfo",nzWidth:"nzWidth",nzStrokeColor:"nzStrokeColor",nzSize:"nzSize",nzFormat:"nzFormat",nzSuccessPercent:"nzSuccessPercent",nzPercent:"nzPercent",nzStrokeWidth:"nzStrokeWidth",nzGapDegree:"nzGapDegree",nzStatus:"nzStatus",nzType:"nzType",nzGapPosition:"nzGapPosition",nzStrokeLinecap:"nzStrokeLinecap",nzSteps:"nzSteps"},exportAs:["nzProgress"],features:[g.TTD],decls:5,vars:17,consts:[["progressInfoTemplate",""],[3,"ngClass"],[4,"ngIf"],["class","ant-progress-inner",3,"width","height","fontSize","ant-progress-circle-gradient",4,"ngIf"],["class","ant-progress-text",4,"ngIf"],[1,"ant-progress-text"],[4,"ngIf","ngIfElse"],["formatTemplate",""],["nz-icon","",3,"nzType"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-progress-steps-outer",4,"ngIf"],["class","ant-progress-outer",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-progress-outer"],[1,"ant-progress-inner"],[1,"ant-progress-bg"],["class","ant-progress-success-bg",3,"width","border-radius","height",4,"ngIf"],[1,"ant-progress-success-bg"],[1,"ant-progress-steps-outer"],["class","ant-progress-steps-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"ant-progress-steps-item",3,"ngStyle"],["viewBox","0 0 100 100",1,"ant-progress-circle"],["stroke","#f3f3f3","fill-opacity","0",1,"ant-progress-circle-trail",3,"ngStyle"],["class","ant-progress-circle-path","fill-opacity","0",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["x1","100%","y1","0%","x2","0%","y2","0%",3,"id"],[4,"ngFor","ngForOf"],["fill-opacity","0",1,"ant-progress-circle-path",3,"ngStyle"]],template:function(Ze,Be){1&Ze&&(g.YNc(0,pe,1,1,"ng-template",null,0,g.W1O),g.TgZ(2,"div",1),g.YNc(3,Q,3,2,"div",2),g.YNc(4,se,6,15,"div",3),g.qZA()),2&Ze&&(g.xp6(2),g.ekj("ant-progress-line","line"===Be.nzType)("ant-progress-small","small"===Be.nzSize)("ant-progress-default","default"===Be.nzSize)("ant-progress-show-info",Be.nzShowInfo)("ant-progress-circle",Be.isCircleStyle)("ant-progress-steps",Be.isSteps)("ant-progress-rtl","rtl"===Be.dir),g.Q6J("ngClass","ant-progress ant-progress-status-"+Be.status),g.xp6(1),g.Q6J("ngIf","line"===Be.nzType),g.xp6(1),g.Q6J("ngIf",Be.isCircleStyle))},dependencies:[e.mk,e.sg,e.O5,e.tP,e.PC,h.Ls,s.f],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,z.oS)()],et.prototype,"nzShowInfo",void 0),(0,F.gn)([(0,z.oS)()],et.prototype,"nzStrokeColor",void 0),(0,F.gn)([(0,z.oS)()],et.prototype,"nzSize",void 0),(0,F.gn)([(0,H.Rn)()],et.prototype,"nzSuccessPercent",void 0),(0,F.gn)([(0,H.Rn)()],et.prototype,"nzPercent",void 0),(0,F.gn)([(0,z.oS)(),(0,H.Rn)()],et.prototype,"nzStrokeWidth",void 0),(0,F.gn)([(0,z.oS)(),(0,H.Rn)()],et.prototype,"nzGapDegree",void 0),(0,F.gn)([(0,z.oS)()],et.prototype,"nzGapPosition",void 0),(0,F.gn)([(0,z.oS)()],et.prototype,"nzStrokeLinecap",void 0),(0,F.gn)([(0,H.Rn)()],et.prototype,"nzSteps",void 0),et})(),Ft=(()=>{class et{}return et.\u0275fac=function(Ze){return new(Ze||et)},et.\u0275mod=g.oAB({type:et}),et.\u0275inj=g.cJS({imports:[o.vT,e.ez,h.PV,s.T]}),et})()},48521:(wt,Oe,p)=>{p.d(Oe,{Dg:()=>Ne,Of:()=>ve,aF:()=>T});var o=p(94650),e=p(70655),g=p(84719),s=p(96831),h=p(8929),F=p(23753),S=p(7625),b=p(3187),z=p(40445),H=p(12687),A=p(59570),j=p(36895);const ne=["*"],Pe=["inputElement"],ee=["nz-radio",""];let pe=(()=>{class Y{}return Y.\u0275fac=function(q){return new(q||Y)},Y.\u0275dir=o.lG2({type:Y,selectors:[["","nz-radio-button",""]]}),Y})(),X=(()=>{class Y{constructor(){this.selected$=new s.t(1),this.touched$=new h.xQ,this.disabled$=new s.t(1),this.name$=new s.t(1)}touch(){this.touched$.next()}select(q){this.selected$.next(q)}setDisabled(q){this.disabled$.next(q)}setName(q){this.name$.next(q)}}return Y.\u0275fac=function(q){return new(q||Y)},Y.\u0275prov=o.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),Ne=(()=>{class Y{constructor(q,Q,ae){this.cdr=q,this.nzRadioService=Q,this.directionality=ae,this.value=null,this.destroy$=new h.xQ,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,S.R)(this.destroy$)).subscribe(q=>{this.value!==q&&(this.value=q,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,S.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,S.R)(this.destroy$)).subscribe(q=>{this.dir=q,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(q){const{nzDisabled:Q,nzName:ae}=q;Q&&this.nzRadioService.setDisabled(this.nzDisabled),ae&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}writeValue(q){this.value=q,this.nzRadioService.select(q),this.cdr.markForCheck()}registerOnChange(q){this.onChange=q}registerOnTouched(q){this.onTouched=q}setDisabledState(q){this.nzDisabled=q,this.nzRadioService.setDisabled(q),this.cdr.markForCheck()}}return Y.\u0275fac=function(q){return new(q||Y)(o.Y36(o.sBO),o.Y36(X),o.Y36(z.Is,8))},Y.\u0275cmp=o.Xpm({type:Y,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(q,Q){2&q&&o.ekj("ant-radio-group-large","large"===Q.nzSize)("ant-radio-group-small","small"===Q.nzSize)("ant-radio-group-solid","solid"===Q.nzButtonStyle)("ant-radio-group-rtl","rtl"===Q.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[o._Bn([X,{provide:g.JU,useExisting:(0,o.Gpc)(()=>Y),multi:!0}]),o.TTD],ngContentSelectors:ne,decls:1,vars:0,template:function(q,Q){1&q&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,b.yF)()],Y.prototype,"nzDisabled",void 0),Y})(),ve=(()=>{class Y{constructor(q,Q,ae,de,be,ge,se,he){this.ngZone=q,this.elementRef=Q,this.cdr=ae,this.focusMonitor=de,this.directionality=be,this.nzRadioService=ge,this.nzRadioButtonDirective=se,this.nzFormStatusService=he,this.isNgModel=!1,this.destroy$=new h.xQ,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}setDisabledState(q){this.nzDisabled=q,this.cdr.markForCheck()}writeValue(q){this.isChecked=q,this.cdr.markForCheck()}registerOnChange(q){this.isNgModel=!0,this.onChange=q}registerOnTouched(q){this.onTouched=q}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,S.R)(this.destroy$)).subscribe(q=>{this.name=q,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,S.R)(this.destroy$)).subscribe(q=>{this.nzDisabled=q,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,S.R)(this.destroy$)).subscribe(q=>{const Q=this.isChecked;this.isChecked=this.nzValue===q,this.isNgModel&&Q!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,S.R)(this.destroy$)).subscribe(q=>{q||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,S.R)(this.destroy$)).subscribe(q=>{this.dir=q,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,F.R)(this.elementRef.nativeElement,"click").pipe((0,S.R)(this.destroy$)).subscribe(q=>{q.stopPropagation(),q.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}}return Y.\u0275fac=function(q){return new(q||Y)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(H.tE),o.Y36(z.Is,8),o.Y36(X,8),o.Y36(pe,8),o.Y36(A.kH,8))},Y.\u0275cmp=o.Xpm({type:Y,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(q,Q){if(1&q&&o.Gf(Pe,7),2&q){let ae;o.iGM(ae=o.CRH())&&(Q.inputElement=ae.first)}},hostVars:18,hostBindings:function(q,Q){2&q&&o.ekj("ant-radio-wrapper-in-form-item",!!Q.nzFormStatusService)("ant-radio-wrapper",!Q.isRadioButton)("ant-radio-button-wrapper",Q.isRadioButton)("ant-radio-wrapper-checked",Q.isChecked&&!Q.isRadioButton)("ant-radio-button-wrapper-checked",Q.isChecked&&Q.isRadioButton)("ant-radio-wrapper-disabled",Q.nzDisabled&&!Q.isRadioButton)("ant-radio-button-wrapper-disabled",Q.nzDisabled&&Q.isRadioButton)("ant-radio-wrapper-rtl",!Q.isRadioButton&&"rtl"===Q.dir)("ant-radio-button-wrapper-rtl",Q.isRadioButton&&"rtl"===Q.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[o._Bn([{provide:g.JU,useExisting:(0,o.Gpc)(()=>Y),multi:!0}])],attrs:ee,ngContentSelectors:ne,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(q,Q){1&q&&(o.F$t(),o.TgZ(0,"span"),o._UZ(1,"input",0,1)(3,"span"),o.qZA(),o.TgZ(4,"span"),o.Hsn(5),o.qZA()),2&q&&(o.ekj("ant-radio",!Q.isRadioButton)("ant-radio-checked",Q.isChecked&&!Q.isRadioButton)("ant-radio-disabled",Q.nzDisabled&&!Q.isRadioButton)("ant-radio-button",Q.isRadioButton)("ant-radio-button-checked",Q.isChecked&&Q.isRadioButton)("ant-radio-button-disabled",Q.nzDisabled&&Q.isRadioButton),o.xp6(1),o.ekj("ant-radio-input",!Q.isRadioButton)("ant-radio-button-input",Q.isRadioButton),o.Q6J("disabled",Q.nzDisabled)("checked",Q.isChecked),o.uIk("autofocus",Q.nzAutoFocus?"autofocus":null)("name",Q.name),o.xp6(2),o.ekj("ant-radio-inner",!Q.isRadioButton)("ant-radio-button-inner",Q.isRadioButton))},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,b.yF)()],Y.prototype,"nzDisabled",void 0),(0,e.gn)([(0,b.yF)()],Y.prototype,"nzAutoFocus",void 0),Y})(),T=(()=>{class Y{}return Y.\u0275fac=function(q){return new(q||Y)},Y.\u0275mod=o.oAB({type:Y}),Y.\u0275inj=o.cJS({imports:[z.vT,j.ez,g.u5]}),Y})()},38231:(wt,Oe,p)=>{p.d(Oe,{Ip:()=>_n,LV:()=>it,Vq:()=>rt});var o=p(94650),e=p(8929),g=p(23753),s=p(591),h=p(21086),F=p(36053),S=p(36787),b=p(93260),z=p(36895),H=p(4788),A=p(7625),j=p(1059),ne=p(75778),Pe=p(87168),ee=p(24850),pe=p(87545),X=p(33303),Ne=p(47423),ve=p(47044),T=p(66287),Y=p(70655),k=p(3187),q=p(29521),Q=p(98184),ae=p(84719),de=p(32539),be=p(72536),ge=p(85469),se=p(12687),he=p(84903),De=p(83353),_e=p(40445),Ce=p(59570),we=p(51691),Ae=p(93531);const Fe=["*"];function Ue(K,Ye){}function Mt(K,Ye){if(1&K&&o.YNc(0,Ue,0,0,"ng-template",4),2&K){const G=o.oxw();o.Q6J("ngTemplateOutlet",G.template)}}function _t(K,Ye){if(1&K&&o._uU(0),2&K){const G=o.oxw();o.Oqu(G.label)}}function Ft(K,Ye){1&K&&o._UZ(0,"span",7)}function et(K,Ye){if(1&K&&(o.TgZ(0,"div",5),o.YNc(1,Ft,1,0,"span",6),o.qZA()),2&K){const G=o.oxw();o.xp6(1),o.Q6J("ngIf",!G.icon)("ngIfElse",G.icon)}}function Ge(K,Ye){if(1&K&&(o.ynx(0),o._uU(1),o.BQk()),2&K){const G=o.oxw();o.xp6(1),o.Oqu(G.nzLabel)}}function Ze(K,Ye){if(1&K&&(o.TgZ(0,"div",4),o._UZ(1,"nz-embed-empty",5),o.qZA()),2&K){const G=o.oxw();o.xp6(1),o.Q6J("specificContent",G.notFoundContent)}}function Be(K,Ye){if(1&K&&o._UZ(0,"nz-option-item-group",9),2&K){const G=o.oxw().$implicit;o.Q6J("nzLabel",G.groupLabel)}}function It(K,Ye){if(1&K){const G=o.EpF();o.TgZ(0,"nz-option-item",10),o.NdJ("itemHover",function(yt){o.CHM(G);const St=o.oxw(2);return o.KtG(St.onItemHover(yt))})("itemClick",function(yt){o.CHM(G);const St=o.oxw(2);return o.KtG(St.onItemClick(yt))}),o.qZA()}if(2&K){const G=o.oxw().$implicit,Le=o.oxw();o.Q6J("icon",Le.menuItemSelectedIcon)("customContent",G.nzCustomContent)("template",G.template)("grouped",!!G.groupLabel)("disabled",G.nzDisabled)("showState","tags"===Le.mode||"multiple"===Le.mode)("label",G.nzLabel)("compareWith",Le.compareWith)("activatedValue",Le.activatedValue)("listOfSelectedValue",Le.listOfSelectedValue)("value",G.nzValue)}}function Ot(K,Ye){1&K&&(o.ynx(0,6),o.YNc(1,Be,1,1,"nz-option-item-group",7),o.YNc(2,It,1,11,"nz-option-item",8),o.BQk()),2&K&&(o.Q6J("ngSwitch",Ye.$implicit.type),o.xp6(1),o.Q6J("ngSwitchCase","group"),o.xp6(1),o.Q6J("ngSwitchCase","item"))}function Dt(K,Ye){}function Bt(K,Ye){1&K&&o.Hsn(0)}const nt=["inputElement"],pt=["mirrorElement"];function Pt(K,Ye){1&K&&o._UZ(0,"span",3,4)}function Qt(K,Ye){if(1&K&&(o.TgZ(0,"div",4),o._uU(1),o.qZA()),2&K){const G=o.oxw(2);o.xp6(1),o.Oqu(G.label)}}function Jt(K,Ye){if(1&K&&o._uU(0),2&K){const G=o.oxw(2);o.Oqu(G.label)}}function Me(K,Ye){if(1&K&&(o.ynx(0),o.YNc(1,Qt,2,1,"div",2),o.YNc(2,Jt,1,1,"ng-template",null,3,o.W1O),o.BQk()),2&K){const G=o.MAs(3),Le=o.oxw();o.xp6(1),o.Q6J("ngIf",Le.deletable)("ngIfElse",G)}}function dt(K,Ye){1&K&&o._UZ(0,"span",7)}function je(K,Ye){if(1&K){const G=o.EpF();o.TgZ(0,"span",5),o.NdJ("click",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.onDelete(yt))}),o.YNc(1,dt,1,0,"span",6),o.qZA()}if(2&K){const G=o.oxw();o.xp6(1),o.Q6J("ngIf",!G.removeIcon)("ngIfElse",G.removeIcon)}}const te=function(K){return{$implicit:K}};function Ie(K,Ye){if(1&K&&(o.ynx(0),o._uU(1),o.BQk()),2&K){const G=o.oxw();o.xp6(1),o.hij(" ",G.placeholder," ")}}function ze(K,Ye){if(1&K&&o._UZ(0,"nz-select-item",6),2&K){const G=o.oxw(2);o.Q6J("deletable",!1)("disabled",!1)("removeIcon",G.removeIcon)("label",G.listOfTopItem[0].nzLabel)("contentTemplateOutlet",G.customTemplate)("contentTemplateOutletContext",G.listOfTopItem[0])}}function ke(K,Ye){if(1&K){const G=o.EpF();o.ynx(0),o.TgZ(1,"nz-select-search",4),o.NdJ("isComposingChange",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.isComposingChange(yt))})("valueChange",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.onInputValueChange(yt))}),o.qZA(),o.YNc(2,ze,1,6,"nz-select-item",5),o.BQk()}if(2&K){const G=o.oxw();o.xp6(1),o.Q6J("nzId",G.nzId)("disabled",G.disabled)("value",G.inputValue)("showInput",G.showSearch)("mirrorSync",!1)("autofocus",G.autofocus)("focusTrigger",G.open),o.xp6(1),o.Q6J("ngIf",G.isShowSingleLabel)}}function R(K,Ye){if(1&K){const G=o.EpF();o.TgZ(0,"nz-select-item",9),o.NdJ("delete",function(){const St=o.CHM(G).$implicit,ln=o.oxw(2);return o.KtG(ln.onDeleteItem(St.contentTemplateOutletContext))}),o.qZA()}if(2&K){const G=Ye.$implicit,Le=o.oxw(2);o.Q6J("removeIcon",Le.removeIcon)("label",G.nzLabel)("disabled",G.nzDisabled||Le.disabled)("contentTemplateOutlet",G.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",G.contentTemplateOutletContext)}}function U(K,Ye){if(1&K){const G=o.EpF();o.ynx(0),o.YNc(1,R,1,6,"nz-select-item",7),o.TgZ(2,"nz-select-search",8),o.NdJ("isComposingChange",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.isComposingChange(yt))})("valueChange",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.onInputValueChange(yt))}),o.qZA(),o.BQk()}if(2&K){const G=o.oxw();o.xp6(1),o.Q6J("ngForOf",G.listOfSlicedItem)("ngForTrackBy",G.trackValue),o.xp6(1),o.Q6J("nzId",G.nzId)("disabled",G.disabled)("value",G.inputValue)("autofocus",G.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",G.open)}}function B(K,Ye){if(1&K&&o._UZ(0,"nz-select-placeholder",10),2&K){const G=o.oxw();o.Q6J("placeholder",G.placeHolder)}}function ce(K,Ye){1&K&&o._UZ(0,"span",1)}function He(K,Ye){1&K&&o._UZ(0,"span",3)}function vt(K,Ye){1&K&&o._UZ(0,"span",8)}function xt(K,Ye){1&K&&o._UZ(0,"span",9)}function Rt(K,Ye){if(1&K&&(o.ynx(0),o.YNc(1,vt,1,0,"span",6),o.YNc(2,xt,1,0,"span",7),o.BQk()),2&K){const G=o.oxw(2);o.xp6(1),o.Q6J("ngIf",!G.search),o.xp6(1),o.Q6J("ngIf",G.search)}}function Ct(K,Ye){if(1&K&&o._UZ(0,"span",11),2&K){const G=o.oxw().$implicit;o.Q6J("nzType",G)}}function Kt(K,Ye){if(1&K&&(o.ynx(0),o.YNc(1,Ct,1,1,"span",10),o.BQk()),2&K){const G=Ye.$implicit;o.xp6(1),o.Q6J("ngIf",G)}}function bt(K,Ye){if(1&K&&o.YNc(0,Kt,2,1,"ng-container",2),2&K){const G=o.oxw(2);o.Q6J("nzStringTemplateOutlet",G.suffixIcon)}}function qt(K,Ye){if(1&K&&(o.YNc(0,Rt,3,2,"ng-container",4),o.YNc(1,bt,1,1,"ng-template",null,5,o.W1O)),2&K){const G=o.MAs(2),Le=o.oxw();o.Q6J("ngIf",Le.showArrow&&!Le.suffixIcon)("ngIfElse",G)}}function Qe(K,Ye){if(1&K&&(o.ynx(0),o._uU(1),o.BQk()),2&K){const G=o.oxw();o.xp6(1),o.Oqu(G.feedbackIcon)}}function le(K,Ye){if(1&K&&o._UZ(0,"nz-form-item-feedback-icon",8),2&K){const G=o.oxw(3);o.Q6J("status",G.status)}}function ht(K,Ye){if(1&K&&o.YNc(0,le,1,1,"nz-form-item-feedback-icon",7),2&K){const G=o.oxw(2);o.Q6J("ngIf",G.hasFeedback&&!!G.status)}}function Vt(K,Ye){if(1&K&&(o.TgZ(0,"nz-select-arrow",5),o.YNc(1,ht,1,1,"ng-template",null,6,o.W1O),o.qZA()),2&K){const G=o.MAs(2),Le=o.oxw();o.Q6J("showArrow",Le.nzShowArrow)("loading",Le.nzLoading)("search",Le.nzOpen&&Le.nzShowSearch)("suffixIcon",Le.nzSuffixIcon)("feedbackIcon",G)}}function at(K,Ye){if(1&K){const G=o.EpF();o.TgZ(0,"nz-select-clear",9),o.NdJ("clear",function(){o.CHM(G);const yt=o.oxw();return o.KtG(yt.onClearSelection())}),o.qZA()}if(2&K){const G=o.oxw();o.Q6J("clearIcon",G.nzClearIcon)}}function Ke(K,Ye){if(1&K){const G=o.EpF();o.TgZ(0,"nz-option-container",10),o.NdJ("keydown",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.onKeyDown(yt))})("itemClick",function(yt){o.CHM(G);const St=o.oxw();return o.KtG(St.onItemClick(yt))})("scrollToBottom",function(){o.CHM(G);const yt=o.oxw();return o.KtG(yt.nzScrollToBottom.emit())}),o.qZA()}if(2&K){const G=o.oxw();o.ekj("ant-select-dropdown-placement-bottomLeft","bottom"===G.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===G.dropDownPosition),o.Q6J("ngStyle",G.nzDropdownStyle)("itemSize",G.nzOptionHeightPx)("maxItemLength",G.nzOptionOverflowSize)("matchWidth",G.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",null==G.noAnimation?null:G.noAnimation.nzNoAnimation)("nzNoAnimation",null==G.noAnimation?null:G.noAnimation.nzNoAnimation)("listOfContainerItem",G.listOfContainerItem)("menuItemSelectedIcon",G.nzMenuItemSelectedIcon)("notFoundContent",G.nzNotFoundContent)("activatedValue",G.activatedValue)("listOfSelectedValue",G.listOfValue)("dropdownRender",G.nzDropdownRender)("compareWith",G.compareWith)("mode",G.nzMode)}}let Re=(()=>{class K{constructor(){this.nzLabel=null,this.changes=new e.xQ}ngOnChanges(){this.changes.next()}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[o.TTD],ngContentSelectors:Fe,decls:1,vars:0,template:function(G,Le){1&G&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),K})(),mt=(()=>{class K{constructor(G,Le,yt){this.elementRef=G,this.ngZone=Le,this.destroy$=yt,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new o.vpe,this.itemHover=new o.vpe}ngOnChanges(G){const{value:Le,activatedValue:yt,listOfSelectedValue:St}=G;(Le||St)&&(this.selected=this.listOfSelectedValue.some(ln=>this.compareWith(ln,this.value))),(Le||yt)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,g.R)(this.elementRef.nativeElement,"click").pipe((0,A.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),(0,g.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,A.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}}return K.\u0275fac=function(G){return new(G||K)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(X.kn))},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(G,Le){2&G&&(o.uIk("title",Le.label),o.ekj("ant-select-item-option-grouped",Le.grouped)("ant-select-item-option-selected",Le.selected&&!Le.disabled)("ant-select-item-option-disabled",Le.disabled)("ant-select-item-option-active",Le.activated&&!Le.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[o._Bn([X.kn]),o.TTD],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(G,Le){if(1&G&&(o.TgZ(0,"div",0),o.YNc(1,Mt,1,1,"ng-template",1),o.YNc(2,_t,1,1,"ng-template",null,2,o.W1O),o.qZA(),o.YNc(4,et,2,2,"div",3)),2&G){const yt=o.MAs(3);o.xp6(1),o.Q6J("ngIf",Le.customContent)("ngIfElse",yt),o.xp6(3),o.Q6J("ngIf",Le.showState&&Le.selected)}},dependencies:[z.O5,z.tP,Ne.Ls,ve.w],encapsulation:2,changeDetection:0}),K})(),Ht=(()=>{class K{constructor(){this.nzLabel=null}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(G,Le){1&G&&o.YNc(0,Ge,2,1,"ng-container",0),2&G&&o.Q6J("nzStringTemplateOutlet",Le.nzLabel)},dependencies:[T.f],encapsulation:2,changeDetection:0}),K})(),tn=(()=>{class K{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new o.vpe,this.scrollToBottom=new o.vpe,this.scrolledIndex=0}onItemClick(G){this.itemClick.emit(G)}onItemHover(G){this.activatedValue=G}trackValue(G,Le){return Le.key}onScrolledIndexChange(G){this.scrolledIndex=G,G===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const G=this.listOfContainerItem.findIndex(Le=>this.compareWith(Le.key,this.activatedValue));(G=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(G||0)}ngOnChanges(G){const{listOfContainerItem:Le,activatedValue:yt}=G;(Le||yt)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-option-container"]],viewQuery:function(G,Le){if(1&G&&o.Gf(b.N7,7),2&G){let yt;o.iGM(yt=o.CRH())&&(Le.cdkVirtualScrollViewport=yt.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[o.TTD],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(G,Le){1&G&&(o.TgZ(0,"div"),o.YNc(1,Ze,2,1,"div",0),o.TgZ(2,"cdk-virtual-scroll-viewport",1),o.NdJ("scrolledIndexChange",function(St){return Le.onScrolledIndexChange(St)}),o.YNc(3,Ot,3,3,"ng-template",2),o.qZA(),o.YNc(4,Dt,0,0,"ng-template",3),o.qZA()),2&G&&(o.xp6(1),o.Q6J("ngIf",0===Le.listOfContainerItem.length),o.xp6(1),o.Udp("height",Le.listOfContainerItem.length*Le.itemSize,"px")("max-height",Le.itemSize*Le.maxItemLength,"px"),o.ekj("full-width",!Le.matchWidth),o.Q6J("itemSize",Le.itemSize)("maxBufferPx",Le.itemSize*Le.maxItemLength)("minBufferPx",Le.itemSize*Le.maxItemLength),o.xp6(1),o.Q6J("cdkVirtualForOf",Le.listOfContainerItem)("cdkVirtualForTrackBy",Le.trackValue)("cdkVirtualForTemplateCacheSize",0),o.xp6(1),o.Q6J("ngTemplateOutlet",Le.dropdownRender))},dependencies:[z.O5,z.tP,z.RF,z.n9,b.xd,b.x0,b.N7,H.gB,mt,Ht],encapsulation:2,changeDetection:0}),K})(),_n=(()=>{class K{constructor(G,Le){this.nzOptionGroupComponent=G,this.destroy$=Le,this.changes=new e.xQ,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe((0,j.O)(!0),(0,A.R)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}}return K.\u0275fac=function(G){return new(G||K)(o.Y36(Re,8),o.Y36(X.kn))},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-option"]],viewQuery:function(G,Le){if(1&G&&o.Gf(o.Rgc,7),2&G){let yt;o.iGM(yt=o.CRH())&&(Le.template=yt.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[o._Bn([X.kn]),o.TTD],ngContentSelectors:Fe,decls:1,vars:0,template:function(G,Le){1&G&&(o.F$t(),o.YNc(0,Bt,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzDisabled",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzHide",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzCustomContent",void 0),K})(),In=(()=>{class K{constructor(G,Le,yt){this.elementRef=G,this.renderer=Le,this.focusMonitor=yt,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new o.vpe,this.isComposingChange=new o.vpe}setCompositionState(G){this.isComposingChange.next(G)}onValueChange(G){this.value=G,this.valueChange.next(G),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const G=this.mirrorElement.nativeElement,Le=this.elementRef.nativeElement,yt=this.inputElement.nativeElement;this.renderer.removeStyle(Le,"width"),G.innerHTML=this.renderer.createText(`${yt.value} `),this.renderer.setStyle(Le,"width",`${G.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(G){const Le=this.inputElement.nativeElement,{focusTrigger:yt,showInput:St}=G;St&&(this.showInput?this.renderer.removeAttribute(Le,"readonly"):this.renderer.setAttribute(Le,"readonly","readonly")),yt&&!0===yt.currentValue&&!1===yt.previousValue&&Le.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return K.\u0275fac=function(G){return new(G||K)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(se.tE))},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-search"]],viewQuery:function(G,Le){if(1&G&&(o.Gf(nt,7),o.Gf(pt,5)),2&G){let yt;o.iGM(yt=o.CRH())&&(Le.inputElement=yt.first),o.iGM(yt=o.CRH())&&(Le.mirrorElement=yt.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[o._Bn([{provide:ae.ve,useValue:!1}]),o.TTD],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(G,Le){1&G&&(o.TgZ(0,"input",0,1),o.NdJ("ngModelChange",function(St){return Le.onValueChange(St)})("compositionstart",function(){return Le.setCompositionState(!0)})("compositionend",function(){return Le.setCompositionState(!1)}),o.qZA(),o.YNc(2,Pt,2,0,"span",2)),2&G&&(o.Udp("opacity",Le.showInput?null:0),o.Q6J("ngModel",Le.value)("disabled",Le.disabled),o.uIk("id",Le.nzId)("autofocus",Le.autofocus?"autofocus":null),o.xp6(2),o.Q6J("ngIf",Le.mirrorSync))},dependencies:[z.O5,ae.Fj,ae.JJ,ae.On],encapsulation:2,changeDetection:0}),K})(),oi=(()=>{class K{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new o.vpe}onDelete(G){G.preventDefault(),G.stopPropagation(),this.disabled||this.delete.next(G)}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(G,Le){2&G&&(o.uIk("title",Le.label),o.ekj("ant-select-selection-item-disabled",Le.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(G,Le){1&G&&(o.YNc(0,Me,4,2,"ng-container",0),o.YNc(1,je,2,2,"span",1)),2&G&&(o.Q6J("nzStringTemplateOutlet",Le.contentTemplateOutlet)("nzStringTemplateOutletContext",o.VKq(3,te,Le.contentTemplateOutletContext)),o.xp6(1),o.Q6J("ngIf",Le.deletable&&!Le.disabled))},dependencies:[z.O5,Ne.Ls,T.f,ve.w],encapsulation:2,changeDetection:0}),K})(),dn=(()=>{class K{constructor(){this.placeholder=null}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(G,Le){1&G&&o.YNc(0,Ie,2,1,"ng-container",0),2&G&&o.Q6J("nzStringTemplateOutlet",Le.placeholder)},dependencies:[T.f],encapsulation:2,changeDetection:0}),K})(),Wn=(()=>{class K{constructor(G,Le,yt){this.elementRef=G,this.ngZone=Le,this.noAnimation=yt,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new o.vpe,this.inputValueChange=new o.vpe,this.deleteItem=new o.vpe,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new e.xQ}updateTemplateVariable(){const G=0===this.listOfTopItem.length;this.isShowPlaceholder=G&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!G&&!this.isComposing&&!this.inputValue}isComposingChange(G){this.isComposing=G,this.updateTemplateVariable()}onInputValueChange(G){G!==this.inputValue&&(this.inputValue=G,this.updateTemplateVariable(),this.inputValueChange.emit(G),this.tokenSeparate(G,this.tokenSeparators))}tokenSeparate(G,Le){if(G&&G.length&&Le.length&&"default"!==this.mode&&((ln,kn)=>{for(let en=0;en0)return!0;return!1})(G,Le)){const ln=((ln,kn)=>{const en=new RegExp(`[${kn.join()}]`),Bn=ln.split(en).filter(Jn=>Jn);return[...new Set(Bn)]})(G,Le);this.tokenize.next(ln)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(G,Le){return Le.nzValue}onDeleteItem(G){!this.disabled&&!G.nzDisabled&&this.deleteItem.next(G)}ngOnChanges(G){const{listOfTopItem:Le,maxTagCount:yt,customTemplate:St,maxTagPlaceholder:ln}=G;if(Le&&this.updateTemplateVariable(),Le||yt||St||ln){const kn=this.listOfTopItem.slice(0,this.maxTagCount).map(en=>({nzLabel:en.nzLabel,nzValue:en.nzValue,nzDisabled:en.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:en}));if(this.listOfTopItem.length>this.maxTagCount){const en=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,Bn=this.listOfTopItem.map(pi=>pi.nzValue),Jn={nzLabel:en,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:Bn.slice(this.maxTagCount)};kn.push(Jn)}this.listOfSlicedItem=kn}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,g.R)(this.elementRef.nativeElement,"click").pipe((0,A.R)(this.destroy$)).subscribe(G=>{G.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),(0,g.R)(this.elementRef.nativeElement,"keydown").pipe((0,A.R)(this.destroy$)).subscribe(G=>{if(G.target instanceof HTMLInputElement){const Le=G.target.value;G.keyCode===q.ZH&&"default"!==this.mode&&!Le&&this.listOfTopItem.length>0&&(G.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))}})})}ngOnDestroy(){this.destroy$.next()}}return K.\u0275fac=function(G){return new(G||K)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(he.P,9))},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-top-control"]],viewQuery:function(G,Le){if(1&G&&o.Gf(In,5),2&G){let yt;o.iGM(yt=o.CRH())&&(Le.nzSelectSearchComponent=yt.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[o.TTD],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(G,Le){1&G&&(o.ynx(0,0),o.YNc(1,ke,3,8,"ng-container",1),o.YNc(2,U,3,9,"ng-container",2),o.BQk(),o.YNc(3,B,1,1,"nz-select-placeholder",3)),2&G&&(o.Q6J("ngSwitch",Le.mode),o.xp6(1),o.Q6J("ngSwitchCase","default"),o.xp6(2),o.Q6J("ngIf",Le.isShowPlaceholder))},dependencies:[z.sg,z.O5,z.RF,z.n9,z.ED,ve.w,In,oi,dn],encapsulation:2,changeDetection:0}),K})(),$n=(()=>{class K{constructor(){this.clearIcon=null,this.clear=new o.vpe}onClick(G){G.preventDefault(),G.stopPropagation(),this.clear.emit(G)}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(G,Le){1&G&&o.NdJ("click",function(St){return Le.onClick(St)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(G,Le){1&G&&o.YNc(0,ce,1,0,"span",0),2&G&&o.Q6J("ngIf",!Le.clearIcon)("ngIfElse",Le.clearIcon)},dependencies:[z.O5,Ne.Ls,ve.w],encapsulation:2,changeDetection:0}),K})(),Yn=(()=>{class K{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}}return K.\u0275fac=function(G){return new(G||K)},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(G,Le){2&G&&o.ekj("ant-select-arrow-loading",Le.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(G,Le){if(1&G&&(o.YNc(0,He,1,0,"span",0),o.YNc(1,qt,3,2,"ng-template",null,1,o.W1O),o.YNc(3,Qe,2,1,"ng-container",2)),2&G){const yt=o.MAs(2);o.Q6J("ngIf",Le.loading)("ngIfElse",yt),o.xp6(3),o.Q6J("nzStringTemplateOutlet",Le.feedbackIcon)}},dependencies:[z.O5,Ne.Ls,T.f,ve.w],encapsulation:2,changeDetection:0}),K})();const Sn=(K,Ye)=>!(!Ye||!Ye.nzLabel)&&Ye.nzLabel.toString().toLowerCase().indexOf(K.toLowerCase())>-1;let rt=(()=>{class K{constructor(G,Le,yt,St,ln,kn,en,Bn,Jn,pi,vi,ai){this.ngZone=G,this.destroy$=Le,this.nzConfigService=yt,this.cdr=St,this.host=ln,this.renderer=kn,this.platform=en,this.focusMonitor=Bn,this.directionality=Jn,this.noAnimation=pi,this.nzFormStatusService=vi,this.nzFormNoStatusService=ai,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=Sn,this.compareWith=(Ki,Ji)=>Ki===Ji,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new o.vpe,this.nzScrollToBottom=new o.vpe,this.nzOpenChange=new o.vpe,this.nzBlur=new o.vpe,this.nzFocus=new o.vpe,this.listOfValue$=new s.X([]),this.listOfTemplateItem$=new s.X([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}set nzShowArrow(G){this._nzShowArrow=G}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(G){return{nzValue:G,nzLabel:G,type:"item"}}onItemClick(G){if(this.activatedValue=G,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],G))&&this.updateListOfValue([G]),this.setOpenState(!1);else{const Le=this.listOfValue.findIndex(yt=>this.compareWith(yt,G));if(-1!==Le){const yt=this.listOfValue.filter((St,ln)=>ln!==Le);this.updateListOfValue(yt)}else if(this.listOfValue.length!this.compareWith(yt,G.nzValue));this.updateListOfValue(Le),this.clearInput()}updateListOfContainerItem(){let G=this.listOfTagAndTemplateItem.filter(St=>!St.nzHide).filter(St=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,St));if("tags"===this.nzMode&&this.searchValue){const St=this.listOfTagAndTemplateItem.find(ln=>ln.nzLabel===this.searchValue);if(St)this.activatedValue=St.nzValue;else{const ln=this.generateTagItem(this.searchValue);G=[ln,...G],this.activatedValue=ln.nzValue}}const Le=G.find(St=>St.nzLabel===this.searchValue)||G.find(St=>this.compareWith(St.nzValue,this.listOfValue[0]))||G[0];this.activatedValue=Le&&Le.nzValue||null;let yt=[];this.isReactiveDriven?yt=[...new Set(this.nzOptions.filter(St=>St.groupLabel).map(St=>St.groupLabel))]:this.listOfNzOptionGroupComponent&&(yt=this.listOfNzOptionGroupComponent.map(St=>St.nzLabel)),yt.forEach(St=>{const ln=G.findIndex(kn=>St===kn.groupLabel);ln>-1&&G.splice(ln,0,{groupLabel:St,type:"group",key:St})}),this.listOfContainerItem=[...G],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(G){const yt=((St,ln)=>"default"===this.nzMode?St.length>0?St[0]:null:St)(G);this.value!==yt&&(this.listOfValue=G,this.listOfValue$.next(G),this.value=yt,this.onChange(this.value))}onTokenSeparate(G){const Le=this.listOfTagAndTemplateItem.filter(yt=>-1!==G.findIndex(St=>St===yt.nzLabel)).map(yt=>yt.nzValue).filter(yt=>-1===this.listOfValue.findIndex(St=>this.compareWith(St,yt)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...Le]);else if("tags"===this.nzMode){const yt=G.filter(St=>-1===this.listOfTagAndTemplateItem.findIndex(ln=>ln.nzLabel===St));this.updateListOfValue([...this.listOfValue,...Le,...yt])}this.clearInput()}onKeyDown(G){if(this.nzDisabled)return;const Le=this.listOfContainerItem.filter(St=>"item"===St.type).filter(St=>!St.nzDisabled),yt=Le.findIndex(St=>this.compareWith(St.nzValue,this.activatedValue));switch(G.keyCode){case q.LH:G.preventDefault(),this.nzOpen&&Le.length>0&&(this.activatedValue=Le[yt>0?yt-1:Le.length-1].nzValue);break;case q.JH:G.preventDefault(),this.nzOpen&&Le.length>0?this.activatedValue=Le[yt{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,G!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){(0,ge.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}writeValue(G){if(this.value!==G){this.value=G;const yt=((St,ln)=>null==St?[]:"default"===this.nzMode?[St]:St)(G);this.listOfValue=yt,this.listOfValue$.next(yt),this.cdr.markForCheck()}}registerOnChange(G){this.onChange=G}registerOnTouched(G){this.onTouched=G}setDisabledState(G){this.nzDisabled=G,G&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(G){const{nzOpen:Le,nzDisabled:yt,nzOptions:St,nzStatus:ln}=G;if(Le&&this.onOpenChange(),yt&&this.nzDisabled&&this.setOpenState(!1),St){this.isReactiveDriven=!0;const en=(this.nzOptions||[]).map(Bn=>({template:Bn.label instanceof o.Rgc?Bn.label:null,nzLabel:"string"==typeof Bn.label||"number"==typeof Bn.label?Bn.label:null,nzValue:Bn.value,nzDisabled:Bn.disabled||!1,nzHide:Bn.hide||!1,nzCustomContent:Bn.label instanceof o.Rgc,groupLabel:Bn.groupLabel||null,type:"item",key:Bn.value}));this.listOfTemplateItem$.next(en)}ln&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,ne.x)((G,Le)=>G.status===Le.status&&G.hasFeedback===Le.hasFeedback),(0,Pe.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,h.of)(!1)),(0,ee.U)(([{status:G,hasFeedback:Le},yt])=>({status:yt?"":G,hasFeedback:Le})),(0,A.R)(this.destroy$)).subscribe(({status:G,hasFeedback:Le})=>{this.setStatusStyles(G,Le)}),this.focusMonitor.monitor(this.host,!0).pipe((0,A.R)(this.destroy$)).subscribe(G=>{G?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),(0,F.aj)([this.listOfValue$,this.listOfTemplateItem$]).pipe((0,A.R)(this.destroy$)).subscribe(([G,Le])=>{const yt=G.filter(()=>"tags"===this.nzMode).filter(St=>-1===Le.findIndex(ln=>this.compareWith(ln.nzValue,St))).map(St=>this.listOfTopItem.find(ln=>this.compareWith(ln.nzValue,St))||this.generateTagItem(St));this.listOfTagAndTemplateItem=[...Le,...yt],this.listOfTopItem=this.listOfValue.map(St=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(ln=>this.compareWith(St,ln.nzValue))).filter(St=>!!St),this.updateListOfContainerItem()}),this.directionality.change?.pipe((0,A.R)(this.destroy$)).subscribe(G=>{this.dir=G,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe((0,A.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>(0,g.R)(this.host.nativeElement,"click").pipe((0,A.R)(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe((0,A.R)(this.destroy$)).subscribe(G=>{G.keyCode===q.hY&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||(0,S.T)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe((0,j.O)(!0),(0,pe.w)(()=>(0,S.T)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(G=>G.changes),...this.listOfNzOptionGroupComponent.map(G=>G.changes)).pipe((0,j.O)(!0))),(0,A.R)(this.destroy$)).subscribe(()=>{const G=this.listOfNzOptionComponent.toArray().map(Le=>{const{template:yt,nzLabel:St,nzValue:ln,nzDisabled:kn,nzHide:en,nzCustomContent:Bn,groupLabel:Jn}=Le;return{template:yt,nzLabel:St,nzValue:ln,nzDisabled:kn,nzHide:en,nzCustomContent:Bn,groupLabel:Jn,type:"item",key:ln}});this.listOfTemplateItem$.next(G),this.cdr.markForCheck()})}ngOnDestroy(){(0,ge.h)(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(G,Le){this.status=G,this.hasFeedback=Le,this.cdr.markForCheck(),this.statusCls=(0,k.Zu)(this.prefixCls,G,Le),Object.keys(this.statusCls).forEach(yt=>{this.statusCls[yt]?this.renderer.addClass(this.host.nativeElement,yt):this.renderer.removeClass(this.host.nativeElement,yt)})}}return K.\u0275fac=function(G){return new(G||K)(o.Y36(o.R0b),o.Y36(X.kn),o.Y36(be.jY),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(De.t4),o.Y36(se.tE),o.Y36(_e.Is,8),o.Y36(he.P,9),o.Y36(Ce.kH,8),o.Y36(Ce.yW,8))},K.\u0275cmp=o.Xpm({type:K,selectors:[["nz-select"]],contentQueries:function(G,Le,yt){if(1&G&&(o.Suo(yt,_n,5),o.Suo(yt,Re,5)),2&G){let St;o.iGM(St=o.CRH())&&(Le.listOfNzOptionComponent=St),o.iGM(St=o.CRH())&&(Le.listOfNzOptionGroupComponent=St)}},viewQuery:function(G,Le){if(1&G&&(o.Gf(Q.xu,7,o.SBq),o.Gf(Q.pI,7),o.Gf(Wn,7),o.Gf(Re,7,o.SBq),o.Gf(Wn,7,o.SBq)),2&G){let yt;o.iGM(yt=o.CRH())&&(Le.originElement=yt.first),o.iGM(yt=o.CRH())&&(Le.cdkConnectedOverlay=yt.first),o.iGM(yt=o.CRH())&&(Le.nzSelectTopControlComponent=yt.first),o.iGM(yt=o.CRH())&&(Le.nzOptionGroupComponentElement=yt.first),o.iGM(yt=o.CRH())&&(Le.nzSelectTopControlComponentElement=yt.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(G,Le){2&G&&o.ekj("ant-select-in-form-item",!!Le.nzFormStatusService)("ant-select-lg","large"===Le.nzSize)("ant-select-sm","small"===Le.nzSize)("ant-select-show-arrow",Le.nzShowArrow)("ant-select-disabled",Le.nzDisabled)("ant-select-show-search",(Le.nzShowSearch||"default"!==Le.nzMode)&&!Le.nzDisabled)("ant-select-allow-clear",Le.nzAllowClear)("ant-select-borderless",Le.nzBorderless)("ant-select-open",Le.nzOpen)("ant-select-focused",Le.nzOpen||Le.focused)("ant-select-single","default"===Le.nzMode)("ant-select-multiple","default"!==Le.nzMode)("ant-select-rtl","rtl"===Le.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[o._Bn([X.kn,{provide:ae.JU,useExisting:(0,o.Gpc)(()=>K),multi:!0}]),o.TTD],decls:5,vars:24,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(G,Le){if(1&G&&(o.TgZ(0,"nz-select-top-control",0,1),o.NdJ("inputValueChange",function(St){return Le.onInputValueChange(St)})("tokenize",function(St){return Le.onTokenSeparate(St)})("deleteItem",function(St){return Le.onItemDelete(St)})("keydown",function(St){return Le.onKeyDown(St)}),o.qZA(),o.YNc(2,Vt,3,5,"nz-select-arrow",2),o.YNc(3,at,1,1,"nz-select-clear",3),o.YNc(4,Ke,1,19,"ng-template",4),o.NdJ("overlayOutsideClick",function(St){return Le.onClickOutside(St)})("detach",function(){return Le.setOpenState(!1)})("positionChange",function(St){return Le.onPositionChange(St)})),2&G){const yt=o.MAs(1);o.Q6J("nzId",Le.nzId)("open",Le.nzOpen)("disabled",Le.nzDisabled)("mode",Le.nzMode)("@.disabled",null==Le.noAnimation?null:Le.noAnimation.nzNoAnimation)("nzNoAnimation",null==Le.noAnimation?null:Le.noAnimation.nzNoAnimation)("maxTagPlaceholder",Le.nzMaxTagPlaceholder)("removeIcon",Le.nzRemoveIcon)("placeHolder",Le.nzPlaceHolder)("maxTagCount",Le.nzMaxTagCount)("customTemplate",Le.nzCustomTemplate)("tokenSeparators",Le.nzTokenSeparators)("showSearch",Le.nzShowSearch)("autofocus",Le.nzAutoFocus)("listOfTopItem",Le.listOfTopItem),o.xp6(2),o.Q6J("ngIf",Le.nzShowArrow||Le.hasFeedback&&!!Le.status),o.xp6(1),o.Q6J("ngIf",Le.nzAllowClear&&!Le.nzDisabled&&Le.listOfValue.length),o.xp6(1),o.Q6J("cdkConnectedOverlayHasBackdrop",Le.nzBackdrop)("cdkConnectedOverlayMinWidth",Le.nzDropdownMatchSelectWidth?null:Le.triggerWidth)("cdkConnectedOverlayWidth",Le.nzDropdownMatchSelectWidth?Le.triggerWidth:null)("cdkConnectedOverlayOrigin",yt)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",Le.nzDropdownClassName)("cdkConnectedOverlayOpen",Le.nzOpen)}},dependencies:[z.O5,z.PC,Q.pI,Q.xu,we.hQ,he.P,ve.w,Ce.w_,tn,Wn,$n,Yn],encapsulation:2,data:{animation:[de.mF]},changeDetection:0}),(0,Y.gn)([(0,be.oS)()],K.prototype,"nzSuffixIcon",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzAllowClear",void 0),(0,Y.gn)([(0,be.oS)(),(0,k.yF)()],K.prototype,"nzBorderless",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzShowSearch",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzLoading",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzAutoFocus",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzAutoClearSearchValue",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzServerSearch",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzDisabled",void 0),(0,Y.gn)([(0,k.yF)()],K.prototype,"nzOpen",void 0),(0,Y.gn)([(0,be.oS)(),(0,k.yF)()],K.prototype,"nzBackdrop",void 0),K})(),it=(()=>{class K{}return K.\u0275fac=function(G){return new(G||K)},K.\u0275mod=o.oAB({type:K}),K.\u0275inj=o.cJS({imports:[_e.vT,z.ez,Ae.YI,ae.u5,De.ud,Q.U8,Ne.PV,T.T,H.Xo,we.e4,he.g,ve.a,Ce.mJ,b.Cl,se.rt]}),K})()},90472:(wt,Oe,p)=>{p.d(Oe,{N3:()=>de});var o=p(94650),e=p(37570),g=p(36895),s=p(83353),h=p(40445);let de=(()=>{class ge{}return ge.\u0275fac=function(he){return new(he||ge)},ge.\u0275mod=o.oAB({type:ge}),ge.\u0275inj=o.cJS({imports:[h.vT,g.ez,s.ud,e.cg]}),ge})()},42674:(wt,Oe,p)=>{p.d(Oe,{qn:()=>Ir,Uo:()=>Ai,N8:()=>io,Vk:()=>no,HQ:()=>Jo,p0:()=>Gi,qD:()=>Hr,_C:()=>Wr,Om:()=>Zt,$Z:()=>Dr,d3:()=>Hn});var o=p(40445),e=p(83353),g=p(93260),s=p(36895),h=p(94650),F=p(84719),S=p(66616),b=p(11519),z=p(28213),H=p(66287),A=p(29562),j=p(4788),ne=p(93531),Pe=p(47423),ee=p(73325),pe=p(70655),X=p(8929),Ne=p(96831),ve=p(7625),T=p(72536),Y=p(33303),k=p(3187),q=p(38231);const Q=["nz-pagination-item",""];function ae(oe,Xe){if(1&oe&&(h.TgZ(0,"a"),h._uU(1),h.qZA()),2&oe){const x=h.oxw().page;h.xp6(1),h.Oqu(x)}}function de(oe,Xe){1&oe&&h._UZ(0,"span",9)}function be(oe,Xe){1&oe&&h._UZ(0,"span",10)}function ge(oe,Xe){if(1&oe&&(h.TgZ(0,"button",6),h.ynx(1,2),h.YNc(2,de,1,0,"span",7),h.YNc(3,be,1,0,"span",8),h.BQk(),h.qZA()),2&oe){const x=h.oxw(2);h.Q6J("disabled",x.disabled),h.xp6(1),h.Q6J("ngSwitch",x.direction),h.xp6(1),h.Q6J("ngSwitchCase","rtl")}}function se(oe,Xe){1&oe&&h._UZ(0,"span",10)}function he(oe,Xe){1&oe&&h._UZ(0,"span",9)}function De(oe,Xe){if(1&oe&&(h.TgZ(0,"button",6),h.ynx(1,2),h.YNc(2,se,1,0,"span",11),h.YNc(3,he,1,0,"span",12),h.BQk(),h.qZA()),2&oe){const x=h.oxw(2);h.Q6J("disabled",x.disabled),h.xp6(1),h.Q6J("ngSwitch",x.direction),h.xp6(1),h.Q6J("ngSwitchCase","rtl")}}function _e(oe,Xe){1&oe&&h._UZ(0,"span",20)}function Ce(oe,Xe){1&oe&&h._UZ(0,"span",21)}function we(oe,Xe){if(1&oe&&(h.ynx(0,2),h.YNc(1,_e,1,0,"span",18),h.YNc(2,Ce,1,0,"span",19),h.BQk()),2&oe){const x=h.oxw(4);h.Q6J("ngSwitch",x.direction),h.xp6(1),h.Q6J("ngSwitchCase","rtl")}}function Ae(oe,Xe){1&oe&&h._UZ(0,"span",21)}function Fe(oe,Xe){1&oe&&h._UZ(0,"span",20)}function Ue(oe,Xe){if(1&oe&&(h.ynx(0,2),h.YNc(1,Ae,1,0,"span",22),h.YNc(2,Fe,1,0,"span",23),h.BQk()),2&oe){const x=h.oxw(4);h.Q6J("ngSwitch",x.direction),h.xp6(1),h.Q6J("ngSwitchCase","rtl")}}function Mt(oe,Xe){if(1&oe&&(h.TgZ(0,"div",15),h.ynx(1,2),h.YNc(2,we,3,2,"ng-container",16),h.YNc(3,Ue,3,2,"ng-container",16),h.BQk(),h.TgZ(4,"span",17),h._uU(5,"\u2022\u2022\u2022"),h.qZA()()),2&oe){const x=h.oxw(2).$implicit;h.xp6(1),h.Q6J("ngSwitch",x),h.xp6(1),h.Q6J("ngSwitchCase","prev_5"),h.xp6(1),h.Q6J("ngSwitchCase","next_5")}}function _t(oe,Xe){if(1&oe&&(h.ynx(0),h.TgZ(1,"a",13),h.YNc(2,Mt,6,3,"div",14),h.qZA(),h.BQk()),2&oe){const x=h.oxw().$implicit;h.xp6(1),h.Q6J("ngSwitch",x)}}function Ft(oe,Xe){1&oe&&(h.ynx(0,2),h.YNc(1,ae,2,1,"a",3),h.YNc(2,ge,4,3,"button",4),h.YNc(3,De,4,3,"button",4),h.YNc(4,_t,3,1,"ng-container",5),h.BQk()),2&oe&&(h.Q6J("ngSwitch",Xe.$implicit),h.xp6(1),h.Q6J("ngSwitchCase","page"),h.xp6(1),h.Q6J("ngSwitchCase","prev"),h.xp6(1),h.Q6J("ngSwitchCase","next"))}function et(oe,Xe){}const Ge=function(oe,Xe){return{$implicit:oe,page:Xe}},Ze=["containerTemplate"];function Be(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"ul")(1,"li",1),h.NdJ("click",function(){h.CHM(x);const st=h.oxw();return h.KtG(st.prePage())}),h.qZA(),h.TgZ(2,"li",2)(3,"input",3),h.NdJ("keydown.enter",function(st){h.CHM(x);const Tt=h.oxw();return h.KtG(Tt.jumpToPageViaInput(st))}),h.qZA(),h.TgZ(4,"span",4),h._uU(5,"/"),h.qZA(),h._uU(6),h.qZA(),h.TgZ(7,"li",5),h.NdJ("click",function(){h.CHM(x);const st=h.oxw();return h.KtG(st.nextPage())}),h.qZA()()}if(2&oe){const x=h.oxw();h.xp6(1),h.Q6J("disabled",x.isFirstIndex)("direction",x.dir)("itemRender",x.itemRender),h.uIk("title",x.locale.prev_page),h.xp6(1),h.uIk("title",x.pageIndex+"/"+x.lastIndex),h.xp6(1),h.Q6J("disabled",x.disabled)("value",x.pageIndex),h.xp6(3),h.hij(" ",x.lastIndex," "),h.xp6(1),h.Q6J("disabled",x.isLastIndex)("direction",x.dir)("itemRender",x.itemRender),h.uIk("title",null==x.locale?null:x.locale.next_page)}}const It=["nz-pagination-options",""];function Ot(oe,Xe){if(1&oe&&h._UZ(0,"nz-option",4),2&oe){const x=Xe.$implicit;h.Q6J("nzLabel",x.label)("nzValue",x.value)}}function Dt(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"nz-select",2),h.NdJ("ngModelChange",function(st){h.CHM(x);const Tt=h.oxw();return h.KtG(Tt.onPageSizeChange(st))}),h.YNc(1,Ot,1,2,"nz-option",3),h.qZA()}if(2&oe){const x=h.oxw();h.Q6J("nzDisabled",x.disabled)("nzSize",x.nzSize)("ngModel",x.pageSize),h.xp6(1),h.Q6J("ngForOf",x.listOfPageSizeOption)("ngForTrackBy",x.trackByOption)}}function Bt(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"div",5),h._uU(1),h.TgZ(2,"input",6),h.NdJ("keydown.enter",function(st){h.CHM(x);const Tt=h.oxw();return h.KtG(Tt.jumpToPageViaInput(st))}),h.qZA(),h._uU(3),h.qZA()}if(2&oe){const x=h.oxw();h.xp6(1),h.hij(" ",x.locale.jump_to," "),h.xp6(1),h.Q6J("disabled",x.disabled),h.xp6(1),h.hij(" ",x.locale.page," ")}}function nt(oe,Xe){}const pt=function(oe,Xe){return{$implicit:oe,range:Xe}};function Pt(oe,Xe){if(1&oe&&(h.TgZ(0,"li",4),h.YNc(1,nt,0,0,"ng-template",5),h.qZA()),2&oe){const x=h.oxw(2);h.xp6(1),h.Q6J("ngTemplateOutlet",x.showTotal)("ngTemplateOutletContext",h.WLB(2,pt,x.total,x.ranges))}}function Qt(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"li",6),h.NdJ("gotoIndex",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.jumpPage(st))})("diffIndex",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.jumpDiff(st))}),h.qZA()}if(2&oe){const x=Xe.$implicit,ie=h.oxw(2);h.Q6J("locale",ie.locale)("type",x.type)("index",x.index)("disabled",!!x.disabled)("itemRender",ie.itemRender)("active",ie.pageIndex===x.index)("direction",ie.dir)}}function Jt(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"li",7),h.NdJ("pageIndexChange",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.onPageIndexChange(st))})("pageSizeChange",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.onPageSizeChange(st))}),h.qZA()}if(2&oe){const x=h.oxw(2);h.Q6J("total",x.total)("locale",x.locale)("disabled",x.disabled)("nzSize",x.nzSize)("showSizeChanger",x.showSizeChanger)("showQuickJumper",x.showQuickJumper)("pageIndex",x.pageIndex)("pageSize",x.pageSize)("pageSizeOptions",x.pageSizeOptions)}}function Me(oe,Xe){if(1&oe&&(h.TgZ(0,"ul"),h.YNc(1,Pt,2,5,"li",1),h.YNc(2,Qt,1,7,"li",2),h.YNc(3,Jt,1,9,"li",3),h.qZA()),2&oe){const x=h.oxw();h.xp6(1),h.Q6J("ngIf",x.showTotal),h.xp6(1),h.Q6J("ngForOf",x.listOfPageItem)("ngForTrackBy",x.trackByPageItem),h.xp6(1),h.Q6J("ngIf",x.showQuickJumper||x.showSizeChanger)}}function dt(oe,Xe){}function je(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,dt,0,0,"ng-template",6),h.BQk()),2&oe){h.oxw(2);const x=h.MAs(2);h.xp6(1),h.Q6J("ngTemplateOutlet",x.template)}}function te(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,je,2,1,"ng-container",5),h.BQk()),2&oe){const x=h.oxw(),ie=h.MAs(4);h.xp6(1),h.Q6J("ngIf",x.nzSimple)("ngIfElse",ie.template)}}let Ie=(()=>{class oe{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new h.vpe,this.gotoIndex=new h.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(x){const{locale:ie,index:st,type:Tt}=x;(ie||st||Tt)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(x,ie){1&x&&h.NdJ("click",function(){return ie.clickItem()}),2&x&&(h.uIk("title",ie.title),h.ekj("ant-pagination-prev","prev"===ie.type)("ant-pagination-next","next"===ie.type)("ant-pagination-item","page"===ie.type)("ant-pagination-jump-prev","prev_5"===ie.type)("ant-pagination-jump-prev-custom-icon","prev_5"===ie.type)("ant-pagination-jump-next","next_5"===ie.type)("ant-pagination-jump-next-custom-icon","next_5"===ie.type)("ant-pagination-disabled",ie.disabled)("ant-pagination-item-active",ie.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[h.TTD],attrs:Q,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(x,ie){if(1&x&&(h.YNc(0,Ft,5,4,"ng-template",null,0,h.W1O),h.YNc(2,et,0,0,"ng-template",1)),2&x){const st=h.MAs(1);h.xp6(2),h.Q6J("ngTemplateOutlet",ie.itemRender||st)("ngTemplateOutletContext",h.WLB(2,Ge,ie.type,ie.index))}},dependencies:[s.tP,s.RF,s.n9,s.ED,Pe.Ls],encapsulation:2,changeDetection:0}),oe})(),ze=(()=>{class oe{constructor(x,ie,st,Tt){this.cdr=x,this.renderer=ie,this.elementRef=st,this.directionality=Tt,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new h.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new X.xQ,ie.removeChild(ie.parentNode(st.nativeElement),st.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(x){const ie=x.target,st=(0,k.He)(ie.value,this.pageIndex);this.onPageIndexChange(st),ie.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(x){this.pageIndexChange.next(x)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(x){const{pageIndex:ie,total:st,pageSize:Tt}=x;(ie||st||Tt)&&this.updateBindingValue()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.sBO),h.Y36(h.Qsj),h.Y36(h.SBq),h.Y36(o.Is,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-pagination-simple"]],viewQuery:function(x,ie){if(1&x&&h.Gf(Ze,7),2&x){let st;h.iGM(st=h.CRH())&&(ie.template=st.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[h.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(x,ie){1&x&&h.YNc(0,Be,8,12,"ng-template",null,0,h.W1O)},dependencies:[Ie],encapsulation:2,changeDetection:0}),oe})(),ke=(()=>{class oe{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new h.vpe,this.pageSizeChange=new h.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(x){this.pageSize!==x&&this.pageSizeChange.next(x)}jumpToPageViaInput(x){const ie=x.target,st=Math.floor((0,k.He)(ie.value,this.pageIndex));this.pageIndexChange.next(st),ie.value=""}trackByOption(x,ie){return ie.value}ngOnChanges(x){const{pageSize:ie,pageSizeOptions:st,locale:Tt}=x;(ie||st||Tt)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(I=>({value:I,label:`${I} ${this.locale.items_per_page}`})))}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[h.TTD],attrs:It,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(x,ie){1&x&&(h.YNc(0,Dt,2,5,"nz-select",0),h.YNc(1,Bt,4,3,"div",1)),2&x&&(h.Q6J("ngIf",ie.showSizeChanger),h.xp6(1),h.Q6J("ngIf",ie.showQuickJumper))},dependencies:[s.sg,s.O5,F.JJ,F.On,q.Ip,q.Vq],encapsulation:2,changeDetection:0}),oe})(),R=(()=>{class oe{constructor(x,ie,st,Tt){this.cdr=x,this.renderer=ie,this.elementRef=st,this.directionality=Tt,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new h.vpe,this.pageSizeChange=new h.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new X.xQ,ie.removeChild(ie.parentNode(st.nativeElement),st.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(x){this.onPageIndexChange(x)}jumpDiff(x){this.jumpPage(this.pageIndex+x)}trackByPageItem(x,ie){return`${ie.type}-${ie.index}`}onPageIndexChange(x){this.pageIndexChange.next(x)}onPageSizeChange(x){this.pageSizeChange.next(x)}getLastIndex(x,ie){return Math.ceil(x/ie)}buildIndexes(){const x=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,x)}getListOfPageItem(x,ie){const Tt=(I,N)=>{const D=[];for(let me=I;me<=N;me++)D.push({index:me,type:"page"});return D};return I=ie<=9?Tt(1,ie):((N,D)=>{let me=[];const ft={type:"prev_5"},$t={type:"next_5"},Mn=Tt(1,1),fi=Tt(ie,ie);return me=N<5?[...Tt(2,4===N?6:5),$t]:N{class oe{constructor(x,ie,st,Tt,I){this.i18n=x,this.cdr=ie,this.breakpointService=st,this.nzConfigService=Tt,this.directionality=I,this._nzModuleName="pagination",this.nzPageSizeChange=new h.vpe,this.nzPageIndexChange=new h.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new X.xQ,this.total$=new Ne.t(1)}validatePageIndex(x,ie){return x>ie?ie:x<1?1:x}onPageIndexChange(x){const ie=this.getLastIndex(this.nzTotal,this.nzPageSize),st=this.validatePageIndex(x,ie);st!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=st,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(x){this.nzPageSize=x,this.nzPageSizeChange.emit(x);const ie=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>ie&&this.onPageIndexChange(ie)}onTotalChange(x){const ie=this.getLastIndex(x,this.nzPageSize);this.nzPageIndex>ie&&Promise.resolve().then(()=>{this.onPageIndexChange(ie),this.cdr.markForCheck()})}getLastIndex(x,ie){return Math.ceil(x/ie)}ngOnInit(){this.i18n.localeChange.pipe((0,ve.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.onTotalChange(x)}),this.breakpointService.subscribe(Y.WV).pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.nzResponsive&&(this.size=x===Y.G_.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(x){const{nzHideOnSinglePage:ie,nzTotal:st,nzPageSize:Tt,nzSize:I}=x;st&&this.total$.next(this.nzTotal),(ie||st||Tt)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),I&&(this.size=I.currentValue)}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(ne.wi),h.Y36(h.sBO),h.Y36(Y.r3),h.Y36(T.jY),h.Y36(o.Is,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(x,ie){2&x&&h.ekj("ant-pagination-simple",ie.nzSimple)("ant-pagination-disabled",ie.nzDisabled)("mini",!ie.nzSimple&&"small"===ie.size)("ant-pagination-rtl","rtl"===ie.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[h.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(x,ie){1&x&&(h.YNc(0,te,2,2,"ng-container",0),h.TgZ(1,"nz-pagination-simple",1,2),h.NdJ("pageIndexChange",function(Tt){return ie.onPageIndexChange(Tt)}),h.qZA(),h.TgZ(3,"nz-pagination-default",3,4),h.NdJ("pageIndexChange",function(Tt){return ie.onPageIndexChange(Tt)})("pageSizeChange",function(Tt){return ie.onPageSizeChange(Tt)}),h.qZA()),2&x&&(h.Q6J("ngIf",ie.showPagination),h.xp6(1),h.Q6J("disabled",ie.nzDisabled)("itemRender",ie.nzItemRender)("locale",ie.locale)("pageSize",ie.nzPageSize)("total",ie.nzTotal)("pageIndex",ie.nzPageIndex),h.xp6(2),h.Q6J("nzSize",ie.size)("itemRender",ie.nzItemRender)("showTotal",ie.nzShowTotal)("disabled",ie.nzDisabled)("locale",ie.locale)("showSizeChanger",ie.nzShowSizeChanger)("showQuickJumper",ie.nzShowQuickJumper)("total",ie.nzTotal)("pageIndex",ie.nzPageIndex)("pageSize",ie.nzPageSize)("pageSizeOptions",ie.nzPageSizeOptions))},dependencies:[s.O5,s.tP,ze,R],encapsulation:2,changeDetection:0}),(0,pe.gn)([(0,T.oS)()],oe.prototype,"nzSize",void 0),(0,pe.gn)([(0,T.oS)()],oe.prototype,"nzPageSizeOptions",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzShowSizeChanger",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzShowQuickJumper",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzSimple",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzDisabled",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzResponsive",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzHideOnSinglePage",void 0),(0,pe.gn)([(0,k.Rn)()],oe.prototype,"nzTotal",void 0),(0,pe.gn)([(0,k.Rn)()],oe.prototype,"nzPageIndex",void 0),(0,pe.gn)([(0,k.Rn)()],oe.prototype,"nzPageSize",void 0),oe})(),ce=(()=>{class oe{}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275mod=h.oAB({type:oe}),oe.\u0275inj=h.cJS({imports:[o.vT,s.ez,F.u5,q.LV,ne.YI,Pe.PV]}),oe})();var He=p(48521),vt=p(591),xt=p(98723),Rt=p(1059),Ct=p(75778),Kt=p(87545),bt=p(41177);class Qe{constructor(Xe){this.durationSelector=Xe}call(Xe,x){return x.subscribe(new le(Xe,this.durationSelector))}}class le extends bt.Ds{constructor(Xe,x){super(Xe),this.durationSelector=x,this.hasValue=!1}_next(Xe){try{const x=this.durationSelector.call(this,Xe);x&&this._tryNext(Xe,x)}catch(x){this.destination.error(x)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(Xe,x){let ie=this.durationSubscription;this.value=Xe,this.hasValue=!0,ie&&(ie.unsubscribe(),this.remove(ie)),ie=(0,bt.ft)(x,new bt.IY(this)),ie&&!ie.closed&&this.add(this.durationSubscription=ie)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const Xe=this.value,x=this.durationSubscription;x&&(this.durationSubscription=void 0,x.unsubscribe(),this.remove(x)),this.value=void 0,this.hasValue=!1,super._next(Xe)}}}var ht=p(49643);function Vt(oe,Xe){1&oe&&(h.TgZ(0,"span",3),h._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),h.qZA())}function at(oe,Xe){}function Ke(oe,Xe){if(1&oe&&(h.TgZ(0,"div",8),h._uU(1),h.qZA()),2&oe){const x=h.oxw(2);h.xp6(1),h.Oqu(x.nzTip)}}function Re(oe,Xe){if(1&oe&&(h.TgZ(0,"div")(1,"div",5),h.YNc(2,at,0,0,"ng-template",6),h.YNc(3,Ke,2,1,"div",7),h.qZA()()),2&oe){const x=h.oxw(),ie=h.MAs(1);h.xp6(1),h.ekj("ant-spin-rtl","rtl"===x.dir)("ant-spin-spinning",x.isLoading)("ant-spin-lg","large"===x.nzSize)("ant-spin-sm","small"===x.nzSize)("ant-spin-show-text",x.nzTip),h.xp6(1),h.Q6J("ngTemplateOutlet",x.nzIndicator||ie),h.xp6(1),h.Q6J("ngIf",x.nzTip)}}function mt(oe,Xe){if(1&oe&&(h.TgZ(0,"div",9),h.Hsn(1),h.qZA()),2&oe){const x=h.oxw();h.ekj("ant-spin-blur",x.isLoading)}}const Ht=["*"];let _n=(()=>{class oe{constructor(x,ie,st){this.nzConfigService=x,this.cdr=ie,this.directionality=st,this._nzModuleName="spin",this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new X.xQ,this.spinning$=new vt.X(this.nzSpinning),this.delay$=new Ne.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,Rt.O)(this.nzDelay),(0,Ct.x)(),(0,Kt.w)(ie=>0===ie?this.spinning$:this.spinning$.pipe(function qt(oe){return Xe=>Xe.lift(new Qe(oe))}(st=>(0,xt.H)(st?ie:0)))),(0,ve.R)(this.destroy$)).subscribe(ie=>{this.isLoading=ie,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe((0,ve.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,ve.R)(this.destroy$)).subscribe(ie=>{this.dir=ie,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(x){const{nzSpinning:ie,nzDelay:st}=x;ie&&this.spinning$.next(this.nzSpinning),st&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(T.jY),h.Y36(h.sBO),h.Y36(o.Is,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(x,ie){2&x&&h.ekj("ant-spin-nested-loading",!ie.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[h.TTD],ngContentSelectors:Ht,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(x,ie){1&x&&(h.F$t(),h.YNc(0,Vt,5,0,"ng-template",null,0,h.W1O),h.YNc(2,Re,4,12,"div",1),h.YNc(3,mt,2,2,"div",2)),2&x&&(h.xp6(2),h.Q6J("ngIf",ie.isLoading),h.xp6(1),h.Q6J("ngIf",!ie.nzSimple))},dependencies:[s.O5,s.tP],encapsulation:2}),(0,pe.gn)([(0,T.oS)()],oe.prototype,"nzIndicator",void 0),(0,pe.gn)([(0,k.Rn)()],oe.prototype,"nzDelay",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzSimple",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzSpinning",void 0),oe})(),In=(()=>{class oe{}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275mod=h.oAB({type:oe}),oe.\u0275inj=h.cJS({imports:[o.vT,s.ez,ht.Q8]}),oe})();var oi=p(23753),dn=p(36053),Wn=p(36787),$n=p(68896),Yn=p(21086),Sn=p(24850),ti=p(92198),rt=p(80013),it=p(18583),K=p(31307),Ye=p(61709),G=p(47044),Le=p(21811);const yt=["*"];function St(oe,Xe){}function ln(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"label",15),h.NdJ("ngModelChange",function(){h.CHM(x);const st=h.oxw().$implicit,Tt=h.oxw(2);return h.KtG(Tt.check(st))}),h.qZA()}if(2&oe){const x=h.oxw().$implicit;h.Q6J("ngModel",x.checked)}}function kn(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"label",16),h.NdJ("ngModelChange",function(){h.CHM(x);const st=h.oxw().$implicit,Tt=h.oxw(2);return h.KtG(Tt.check(st))}),h.qZA()}if(2&oe){const x=h.oxw().$implicit;h.Q6J("ngModel",x.checked)}}function en(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"li",12),h.NdJ("click",function(){const Tt=h.CHM(x).$implicit,I=h.oxw(2);return h.KtG(I.check(Tt))}),h.YNc(1,ln,1,1,"label",13),h.YNc(2,kn,1,1,"label",14),h.TgZ(3,"span"),h._uU(4),h.qZA()()}if(2&oe){const x=Xe.$implicit,ie=h.oxw(2);h.Q6J("nzSelected",x.checked),h.xp6(1),h.Q6J("ngIf",!ie.filterMultiple),h.xp6(1),h.Q6J("ngIf",ie.filterMultiple),h.xp6(2),h.Oqu(x.text)}}function Bn(oe,Xe){if(1&oe){const x=h.EpF();h.ynx(0),h.TgZ(1,"nz-filter-trigger",3),h.NdJ("nzVisibleChange",function(st){h.CHM(x);const Tt=h.oxw();return h.KtG(Tt.onVisibleChange(st))}),h._UZ(2,"span",4),h.qZA(),h.TgZ(3,"nz-dropdown-menu",null,5)(5,"div",6)(6,"ul",7),h.YNc(7,en,5,4,"li",8),h.qZA(),h.TgZ(8,"div",9)(9,"button",10),h.NdJ("click",function(){h.CHM(x);const st=h.oxw();return h.KtG(st.reset())}),h._uU(10),h.qZA(),h.TgZ(11,"button",11),h.NdJ("click",function(){h.CHM(x);const st=h.oxw();return h.KtG(st.confirm())}),h._uU(12),h.qZA()()()(),h.BQk()}if(2&oe){const x=h.MAs(4),ie=h.oxw();h.xp6(1),h.Q6J("nzVisible",ie.isVisible)("nzActive",ie.isChecked)("nzDropdownMenu",x),h.xp6(6),h.Q6J("ngForOf",ie.listOfParsedFilter)("ngForTrackBy",ie.trackByValue),h.xp6(2),h.Q6J("disabled",!ie.isChecked),h.xp6(1),h.hij(" ",ie.locale.filterReset," "),h.xp6(2),h.Oqu(ie.locale.filterConfirm)}}function ai(oe,Xe){}function Ki(oe,Xe){if(1&oe&&h._UZ(0,"span",6),2&oe){const x=h.oxw();h.ekj("active","ascend"===x.sortOrder)}}function Ji(oe,Xe){if(1&oe&&h._UZ(0,"span",7),2&oe){const x=h.oxw();h.ekj("active","descend"===x.sortOrder)}}const Qn=["nzColumnKey",""];function co(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"nz-table-filter",5),h.NdJ("filterChange",function(st){h.CHM(x);const Tt=h.oxw();return h.KtG(Tt.onFilterValueChange(st))}),h.qZA()}if(2&oe){const x=h.oxw(),ie=h.MAs(2),st=h.MAs(4);h.Q6J("contentTemplate",ie)("extraTemplate",st)("customFilter",x.nzCustomFilter)("filterMultiple",x.nzFilterMultiple)("listOfFilter",x.nzFilters)}}function Xi(oe,Xe){}function Vi(oe,Xe){if(1&oe&&h.YNc(0,Xi,0,0,"ng-template",6),2&oe){const x=h.oxw(),ie=h.MAs(6),st=h.MAs(8);h.Q6J("ngTemplateOutlet",x.nzShowSort?ie:st)}}function Jr(oe,Xe){1&oe&&(h.Hsn(0),h.Hsn(1,1))}function er(oe,Xe){if(1&oe&&h._UZ(0,"nz-table-sorters",7),2&oe){const x=h.oxw(),ie=h.MAs(8);h.Q6J("sortOrder",x.sortOrder)("sortDirections",x.sortDirections)("contentTemplate",ie)}}function Qi(oe,Xe){1&oe&&h.Hsn(0,2)}const Hi=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Xn=["[nz-th-extra]","nz-filter-trigger","*"],ii=["nz-table-content",""];function yi(oe,Xe){if(1&oe&&h._UZ(0,"col"),2&oe){const x=Xe.$implicit;h.Udp("width",x)("min-width",x)}}function tr(oe,Xe){}function zr(oe,Xe){if(1&oe&&(h.TgZ(0,"thead",3),h.YNc(1,tr,0,0,"ng-template",2),h.qZA()),2&oe){const x=h.oxw();h.xp6(1),h.Q6J("ngTemplateOutlet",x.theadTemplate)}}function Xr(oe,Xe){}const Ti=["tdElement"],uo=["nz-table-fixed-row",""];function xo(oe,Xe){}function Yr(oe,Xe){if(1&oe&&(h.TgZ(0,"div",4),h.ALo(1,"async"),h.YNc(2,xo,0,0,"ng-template",5),h.qZA()),2&oe){const x=h.oxw(),ie=h.MAs(5);h.Udp("width",h.lcZ(1,3,x.hostWidth$),"px"),h.xp6(2),h.Q6J("ngTemplateOutlet",ie)}}function ho(oe,Xe){1&oe&&h.Hsn(0)}const Ko=["nz-table-measure-row",""];function qi(oe,Xe){1&oe&&h._UZ(0,"td",1,2)}function ue(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"tr",3),h.NdJ("listOfAutoWidth",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.onListOfAutoWidthChange(st))}),h.qZA()}if(2&oe){const x=h.oxw().ngIf;h.Q6J("listOfMeasureColumn",x)}}function qe(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,ue,1,1,"tr",2),h.BQk()),2&oe){const x=Xe.ngIf,ie=h.oxw();h.xp6(1),h.Q6J("ngIf",ie.isInsideTable&&x.length)}}function Ee(oe,Xe){if(1&oe&&(h.TgZ(0,"tr",4),h._UZ(1,"nz-embed-empty",5),h.ALo(2,"async"),h.qZA()),2&oe){const x=h.oxw();h.xp6(1),h.Q6J("specificContent",h.lcZ(2,1,x.noResult$))}}const Lt=["tableHeaderElement"],Wt=["tableBodyElement"];function gn(oe,Xe){if(1&oe&&(h.TgZ(0,"div",7,8),h._UZ(2,"table",9),h.qZA()),2&oe){const x=h.oxw(2);h.Q6J("ngStyle",x.bodyStyleMap),h.xp6(2),h.Q6J("scrollX",x.scrollX)("listOfColWidth",x.listOfColWidth)("contentTemplate",x.contentTemplate)}}function Fn(oe,Xe){}const si=function(oe,Xe){return{$implicit:oe,index:Xe}};function _i(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,Fn,0,0,"ng-template",13),h.BQk()),2&oe){const x=Xe.$implicit,ie=Xe.index,st=h.oxw(3);h.xp6(1),h.Q6J("ngTemplateOutlet",st.virtualTemplate)("ngTemplateOutletContext",h.WLB(2,si,x,ie))}}function cr(oe,Xe){if(1&oe&&(h.TgZ(0,"cdk-virtual-scroll-viewport",10,8)(2,"table",11)(3,"tbody"),h.YNc(4,_i,2,5,"ng-container",12),h.qZA()()()),2&oe){const x=h.oxw(2);h.Udp("height",x.data.length?x.scrollY:x.noDateVirtualHeight),h.Q6J("itemSize",x.virtualItemSize)("maxBufferPx",x.virtualMaxBufferPx)("minBufferPx",x.virtualMinBufferPx),h.xp6(2),h.Q6J("scrollX",x.scrollX)("listOfColWidth",x.listOfColWidth),h.xp6(2),h.Q6J("cdkVirtualForOf",x.data)("cdkVirtualForTrackBy",x.virtualForTrackBy)}}function Sr(oe,Xe){if(1&oe&&(h.ynx(0),h.TgZ(1,"div",2,3),h._UZ(3,"table",4),h.qZA(),h.YNc(4,gn,3,4,"div",5),h.YNc(5,cr,5,9,"cdk-virtual-scroll-viewport",6),h.BQk()),2&oe){const x=h.oxw();h.xp6(1),h.Q6J("ngStyle",x.headerStyleMap),h.xp6(2),h.Q6J("scrollX",x.scrollX)("listOfColWidth",x.listOfColWidth)("theadTemplate",x.theadTemplate),h.xp6(1),h.Q6J("ngIf",!x.virtualTemplate),h.xp6(1),h.Q6J("ngIf",x.virtualTemplate)}}function ur(oe,Xe){if(1&oe&&(h.TgZ(0,"div",14,8),h._UZ(2,"table",15),h.qZA()),2&oe){const x=h.oxw();h.Q6J("ngStyle",x.bodyStyleMap),h.xp6(2),h.Q6J("scrollX",x.scrollX)("listOfColWidth",x.listOfColWidth)("theadTemplate",x.theadTemplate)("contentTemplate",x.contentTemplate)}}function eo(oe,Xe){if(1&oe&&(h.ynx(0),h._uU(1),h.BQk()),2&oe){const x=h.oxw();h.xp6(1),h.Oqu(x.title)}}function Di(oe,Xe){if(1&oe&&(h.ynx(0),h._uU(1),h.BQk()),2&oe){const x=h.oxw();h.xp6(1),h.Oqu(x.footer)}}function Ur(oe,Xe){}function mr(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,Ur,0,0,"ng-template",10),h.BQk()),2&oe){h.oxw();const x=h.MAs(11);h.xp6(1),h.Q6J("ngTemplateOutlet",x)}}function Ni(oe,Xe){if(1&oe&&h._UZ(0,"nz-table-title-footer",11),2&oe){const x=h.oxw();h.Q6J("title",x.nzTitle)}}function ki(oe,Xe){if(1&oe&&h._UZ(0,"nz-table-inner-scroll",12),2&oe){const x=h.oxw(),ie=h.MAs(13),st=h.MAs(3);h.Q6J("data",x.data)("scrollX",x.scrollX)("scrollY",x.scrollY)("contentTemplate",ie)("listOfColWidth",x.listOfAutoColWidth)("theadTemplate",x.theadTemplate)("verticalScrollBarWidth",x.verticalScrollBarWidth)("virtualTemplate",x.nzVirtualScrollDirective?x.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",x.nzVirtualItemSize)("virtualMaxBufferPx",x.nzVirtualMaxBufferPx)("virtualMinBufferPx",x.nzVirtualMinBufferPx)("tableMainElement",st)("virtualForTrackBy",x.nzVirtualForTrackBy)}}function dr(oe,Xe){if(1&oe&&h._UZ(0,"nz-table-inner-default",13),2&oe){const x=h.oxw(),ie=h.MAs(13);h.Q6J("tableLayout",x.nzTableLayout)("listOfColWidth",x.listOfManualColWidth)("theadTemplate",x.theadTemplate)("contentTemplate",ie)}}function li(oe,Xe){if(1&oe&&h._UZ(0,"nz-table-title-footer",14),2&oe){const x=h.oxw();h.Q6J("footer",x.nzFooter)}}function Ui(oe,Xe){}function Li(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,Ui,0,0,"ng-template",10),h.BQk()),2&oe){h.oxw();const x=h.MAs(11);h.xp6(1),h.Q6J("ngTemplateOutlet",x)}}function xr(oe,Xe){if(1&oe){const x=h.EpF();h.TgZ(0,"nz-pagination",16),h.NdJ("nzPageSizeChange",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.onPageSizeChange(st))})("nzPageIndexChange",function(st){h.CHM(x);const Tt=h.oxw(2);return h.KtG(Tt.onPageIndexChange(st))}),h.qZA()}if(2&oe){const x=h.oxw(2);h.Q6J("hidden",!x.showPagination)("nzShowSizeChanger",x.nzShowSizeChanger)("nzPageSizeOptions",x.nzPageSizeOptions)("nzItemRender",x.nzItemRender)("nzShowQuickJumper",x.nzShowQuickJumper)("nzHideOnSinglePage",x.nzHideOnSinglePage)("nzShowTotal",x.nzShowTotal)("nzSize","small"===x.nzPaginationType?"small":"default"===x.nzSize?"default":"small")("nzPageSize",x.nzPageSize)("nzTotal",x.nzTotal)("nzSimple",x.nzSimple)("nzPageIndex",x.nzPageIndex)}}function hr(oe,Xe){if(1&oe&&h.YNc(0,xr,1,12,"nz-pagination",15),2&oe){const x=h.oxw();h.Q6J("ngIf",x.nzShowPagination&&x.data.length)}}function wr(oe,Xe){1&oe&&h.Hsn(0)}const to=["contentTemplate"];function ji(oe,Xe){1&oe&&h.Hsn(0)}function jr(oe,Xe){}function Mi(oe,Xe){if(1&oe&&(h.ynx(0),h.YNc(1,jr,0,0,"ng-template",2),h.BQk()),2&oe){h.oxw();const x=h.MAs(1);h.xp6(1),h.Q6J("ngTemplateOutlet",x)}}let kr=(()=>{class oe{constructor(x,ie,st,Tt){this.nzConfigService=x,this.ngZone=ie,this.cdr=st,this.destroy$=Tt,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new h.vpe}onVisibleChange(x){this.nzVisible=x,this.nzVisibleChange.next(x)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,oi.R)(this.nzDropdown.nativeElement,"click").pipe((0,ve.R)(this.destroy$)).subscribe(x=>{x.stopPropagation()})})}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(T.jY),h.Y36(h.R0b),h.Y36(h.sBO),h.Y36(Y.kn))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-filter-trigger"]],viewQuery:function(x,ie){if(1&x&&h.Gf(A.cm,7,h.SBq),2&x){let st;h.iGM(st=h.CRH())&&(ie.nzDropdown=st.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[h._Bn([Y.kn])],ngContentSelectors:yt,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(x,ie){1&x&&(h.F$t(),h.TgZ(0,"span",0),h.NdJ("nzVisibleChange",function(Tt){return ie.onVisibleChange(Tt)}),h.Hsn(1),h.qZA()),2&x&&(h.ekj("active",ie.nzActive)("ant-table-filter-open",ie.nzVisible),h.Q6J("nzBackdrop",ie.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",ie.nzDropdownMenu)("nzVisible",ie.nzVisible))},dependencies:[A.cm],encapsulation:2,changeDetection:0}),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzBackdrop",void 0),oe})(),Or=(()=>{class oe{constructor(x,ie){this.cdr=x,this.i18n=ie,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new h.vpe,this.destroy$=new X.xQ,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}trackByValue(x,ie){return ie.value}check(x){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(ie=>ie===x?{...ie,checked:!x.checked}:ie),x.checked=!x.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(ie=>({...ie,checked:ie===x})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(x){this.isVisible=x,x?this.listOfChecked=this.listOfParsedFilter.filter(ie=>ie.checked).map(ie=>ie.value):this.emitFilterData()}emitFilterData(){const x=this.listOfParsedFilter.filter(ie=>ie.checked).map(ie=>ie.value);(0,k.cO)(this.listOfChecked,x)||this.filterChange.emit(this.filterMultiple?x:x.length>0?x[0]:null)}parseListOfFilter(x,ie){return x.map(st=>({text:st.text,value:st.value,checked:!ie&&!!st.byDefault}))}getCheckedStatus(x){return x.some(ie=>ie.checked)}ngOnInit(){this.i18n.localeChange.pipe((0,ve.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(x){const{listOfFilter:ie}=x;ie&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.sBO),h.Y36(ne.wi))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[h.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(x,ie){1&x&&(h.TgZ(0,"span",0),h.YNc(1,St,0,0,"ng-template",1),h.qZA(),h.YNc(2,Bn,13,8,"ng-container",2)),2&x&&(h.xp6(1),h.Q6J("ngTemplateOutlet",ie.contentTemplate),h.xp6(1),h.Q6J("ngIf",!ie.customFilter)("ngIfElse",ie.extraTemplate))},dependencies:[ee.wO,ee.r9,F.JJ,F.On,He.Of,z.Ie,A.RR,S.ix,G.w,Le.dQ,s.sg,s.O5,s.tP,Pe.Ls,kr],encapsulation:2,changeDetection:0}),oe})(),gr=(()=>{class oe{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(x){const{sortDirections:ie}=x;ie&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[h.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(x,ie){1&x&&(h.TgZ(0,"span",0),h.YNc(1,ai,0,0,"ng-template",1),h.qZA(),h.TgZ(2,"span",2)(3,"span",3),h.YNc(4,Ki,1,2,"span",4),h.YNc(5,Ji,1,2,"span",5),h.qZA()()),2&x&&(h.xp6(1),h.Q6J("ngTemplateOutlet",ie.contentTemplate),h.xp6(1),h.ekj("ant-table-column-sorter-full",ie.isDown&&ie.isUp),h.xp6(2),h.Q6J("ngIf",ie.isUp),h.xp6(1),h.Q6J("ngIf",ie.isDown))},dependencies:[G.w,s.O5,s.tP,Pe.Ls],encapsulation:2,changeDetection:0}),oe})(),Ir=(()=>{class oe{constructor(x,ie){this.renderer=x,this.elementRef=ie,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new X.xQ,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}setAutoLeftWidth(x){this.renderer.setStyle(this.elementRef.nativeElement,"left",x)}setAutoRightWidth(x){this.renderer.setStyle(this.elementRef.nativeElement,"right",x)}setIsFirstRight(x){this.setFixClass(x,"ant-table-cell-fix-right-first")}setIsLastLeft(x){this.setFixClass(x,"ant-table-cell-fix-left-last")}setFixClass(x,ie){this.renderer.removeClass(this.elementRef.nativeElement,ie),x&&this.renderer.addClass(this.elementRef.nativeElement,ie)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const x=ie=>"string"==typeof ie&&""!==ie?ie:null;this.setAutoLeftWidth(x(this.nzLeft)),this.setAutoRightWidth(x(this.nzRight)),this.changes$.next()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.Qsj),h.Y36(h.SBq))},oe.\u0275dir=h.lG2({type:oe,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(x,ie){2&x&&(h.Udp("position",ie.isFixed?"sticky":null),h.ekj("ant-table-cell-fix-right",ie.isFixedRight)("ant-table-cell-fix-left",ie.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[h.TTD]}),oe})(),ri=(()=>{class oe{constructor(){this.theadTemplate$=new Ne.t(1),this.hasFixLeft$=new Ne.t(1),this.hasFixRight$=new Ne.t(1),this.hostWidth$=new Ne.t(1),this.columnCount$=new Ne.t(1),this.showEmpty$=new Ne.t(1),this.noResult$=new Ne.t(1),this.listOfThWidthConfigPx$=new vt.X([]),this.tableWidthConfigPx$=new vt.X([]),this.manualWidthConfigPx$=(0,dn.aj)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,Sn.U)(([x,ie])=>x.length?x:ie)),this.listOfAutoWidthPx$=new Ne.t(1),this.listOfListOfThWidthPx$=(0,Wn.T)(this.manualWidthConfigPx$,(0,dn.aj)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,Sn.U)(([x,ie])=>x.length===ie.length?x.map((st,Tt)=>"0px"===st?ie[Tt]||null:ie[Tt]||st):ie))),this.listOfMeasureColumn$=new Ne.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,Sn.U)(x=>x.map(ie=>parseInt(ie,10)))),this.enableAutoMeasure$=new Ne.t(1)}setTheadTemplate(x){this.theadTemplate$.next(x)}setHasFixLeft(x){this.hasFixLeft$.next(x)}setHasFixRight(x){this.hasFixRight$.next(x)}setTableWidthConfig(x){this.tableWidthConfigPx$.next(x)}setListOfTh(x){let ie=0;x.forEach(Tt=>{ie+=Tt.colspan&&+Tt.colspan||Tt.colSpan&&+Tt.colSpan||1});const st=x.map(Tt=>Tt.nzWidth);this.columnCount$.next(ie),this.listOfThWidthConfigPx$.next(st)}setListOfMeasureColumn(x){const ie=[];x.forEach(st=>{const Tt=st.colspan&&+st.colspan||st.colSpan&&+st.colSpan||1;for(let I=0;I`${ie}px`))}setShowEmpty(x){this.showEmpty$.next(x)}setNoResult(x){this.noResult$.next(x)}setScroll(x,ie){const st=!(!x&&!ie);st||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(st)}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275prov=h.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),Ai=(()=>{class oe{constructor(x){this.isInsideTable=!1,this.isInsideTable=!!x}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(ri,8))},oe.\u0275dir=h.lG2({type:oe,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-cell",ie.isInsideTable)}}),oe})(),Hr=(()=>{class oe{constructor(x,ie,st,Tt){this.host=x,this.cdr=ie,this.ngZone=st,this.destroy$=Tt,this.manualClickOrder$=new X.xQ,this.calcOperatorChange$=new X.xQ,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new X.xQ,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new h.vpe,this.nzSortOrderChange=new h.vpe,this.nzFilterChange=new h.vpe}getNextSortDirection(x,ie){const st=x.indexOf(ie);return st===x.length-1?x[0]:x[st+1]}setSortOrder(x){this.sortOrderChange$.next(x)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(x){this.nzFilterChange.emit(x),this.nzFilterValue=x,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,oi.R)(this.host.nativeElement,"click").pipe((0,ti.h)(()=>this.nzShowSort),(0,ve.R)(this.destroy$)).subscribe(()=>{const x=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(x),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.sortOrder!==x&&(this.sortOrder=x,this.nzSortOrderChange.emit(x)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(x){const{nzSortDirections:ie,nzFilters:st,nzSortOrder:Tt,nzSortFn:I,nzFilterFn:N,nzSortPriority:D,nzFilterMultiple:me,nzShowSort:ft,nzShowFilter:$t}=x;ie&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),Tt&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),ft&&(this.isNzShowSortChanged=!0),$t&&(this.isNzShowFilterChanged=!0);const Mn=fi=>fi&&fi.firstChange&&void 0!==fi.currentValue;if((Mn(Tt)||Mn(I))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),Mn(st)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(st||me)&&this.nzShowFilter){const fi=this.nzFilters.filter(Ii=>Ii.byDefault).map(Ii=>Ii.value);this.nzFilterValue=this.nzFilterMultiple?fi:fi[0]||null}(I||N||D||st)&&this.updateCalcOperator()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.SBq),h.Y36(h.sBO),h.Y36(h.R0b),h.Y36(Y.kn))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-column-has-sorters",ie.nzShowSort)("ant-table-column-sort","descend"===ie.sortOrder||"ascend"===ie.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[h._Bn([Y.kn]),h.TTD],attrs:Qn,ngContentSelectors:Xn,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(x,ie){if(1&x&&(h.F$t(Hi),h.YNc(0,co,1,5,"nz-table-filter",0),h.YNc(1,Vi,1,1,"ng-template",null,1,h.W1O),h.YNc(3,Jr,2,0,"ng-template",null,2,h.W1O),h.YNc(5,er,1,3,"ng-template",null,3,h.W1O),h.YNc(7,Qi,1,0,"ng-template",null,4,h.W1O)),2&x){const st=h.MAs(2);h.Q6J("ngIf",ie.nzShowFilter||ie.nzCustomFilter)("ngIfElse",st)}},dependencies:[s.O5,s.tP,gr,Or],encapsulation:2,changeDetection:0}),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzShowSort",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzShowFilter",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzCustomFilter",void 0),oe})(),Wr=(()=>{class oe{constructor(x,ie){this.renderer=x,this.elementRef=ie,this.changes$=new X.xQ,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(x){const{nzWidth:ie,colspan:st,rowspan:Tt,colSpan:I,rowSpan:N}=x;if(st||I){const D=this.colspan||this.colSpan;(0,k.kK)(D)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${D}`)}if(Tt||N){const D=this.rowspan||this.rowSpan;(0,k.kK)(D)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${D}`)}(ie||st)&&this.changes$.next()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.Qsj),h.Y36(h.SBq))},oe.\u0275dir=h.lG2({type:oe,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[h.TTD]}),oe})(),Ri=(()=>{class oe{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(x,ie){2&x&&(h.Udp("table-layout",ie.tableLayout)("width",ie.scrollX)("min-width",ie.scrollX?"100%":null),h.ekj("ant-table-fixed",ie.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:ii,ngContentSelectors:yt,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(x,ie){1&x&&(h.F$t(),h.YNc(0,yi,1,4,"col",0),h.YNc(1,zr,2,1,"thead",1),h.YNc(2,Xr,0,0,"ng-template",2),h.Hsn(3)),2&x&&(h.Q6J("ngForOf",ie.listOfColWidth),h.xp6(1),h.Q6J("ngIf",ie.theadTemplate),h.xp6(1),h.Q6J("ngTemplateOutlet",ie.contentTemplate))},dependencies:[s.sg,s.O5,s.tP],encapsulation:2,changeDetection:0}),oe})(),no=(()=>{class oe{constructor(x,ie){this.nzTableStyleService=x,this.renderer=ie,this.hostWidth$=new vt.X(null),this.enableAutoMeasure$=new vt.X(!1),this.destroy$=new X.xQ}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:x,hostWidth$:ie}=this.nzTableStyleService;x.pipe((0,ve.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),ie.pipe((0,ve.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,ve.R)(this.destroy$)).subscribe(x=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${x}`)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(ri),h.Y36(h.Qsj))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(x,ie){if(1&x&&h.Gf(Ti,7),2&x){let st;h.iGM(st=h.CRH())&&(ie.tdElement=st.first)}},attrs:uo,ngContentSelectors:yt,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(x,ie){if(1&x&&(h.F$t(),h.TgZ(0,"td",0,1),h.YNc(2,Yr,3,5,"div",2),h.ALo(3,"async"),h.qZA(),h.YNc(4,ho,1,0,"ng-template",null,3,h.W1O)),2&x){const st=h.MAs(5);h.xp6(2),h.Q6J("ngIf",h.lcZ(3,2,ie.enableAutoMeasure$))("ngIfElse",st)}},dependencies:[s.O5,s.tP,s.Ov],encapsulation:2,changeDetection:0}),oe})(),Ei=(()=>{class oe{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(x,ie){1&x&&(h.TgZ(0,"div",0),h._UZ(1,"table",1),h.qZA()),2&x&&(h.xp6(1),h.Q6J("contentTemplate",ie.contentTemplate)("tableLayout",ie.tableLayout)("listOfColWidth",ie.listOfColWidth)("theadTemplate",ie.theadTemplate))},dependencies:[Ri],encapsulation:2,changeDetection:0}),oe})(),bn=(()=>{class oe{constructor(x,ie){this.nzResizeObserver=x,this.ngZone=ie,this.listOfMeasureColumn=[],this.listOfAutoWidth=new h.vpe,this.destroy$=new X.xQ}trackByFunc(x,ie){return ie}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,Rt.O)(this.listOfTdElement)).pipe((0,Kt.w)(x=>(0,dn.aj)(x.toArray().map(ie=>this.nzResizeObserver.observe(ie).pipe((0,Sn.U)(([st])=>{const{width:Tt}=st.target.getBoundingClientRect();return Math.floor(Tt)}))))),(0,rt.b)(16),(0,ve.R)(this.destroy$)).subscribe(x=>{this.ngZone instanceof h.R0b&&h.R0b.isInAngularZone()?this.listOfAutoWidth.next(x):this.ngZone.run(()=>this.listOfAutoWidth.next(x))})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(b.D3),h.Y36(h.R0b))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(x,ie){if(1&x&&h.Gf(Ti,5),2&x){let st;h.iGM(st=h.CRH())&&(ie.listOfTdElement=st)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Ko,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(x,ie){1&x&&h.YNc(0,qi,2,0,"td",0),2&x&&h.Q6J("ngForOf",ie.listOfMeasureColumn)("ngForTrackBy",ie.trackByFunc)},dependencies:[s.sg],encapsulation:2,changeDetection:0}),oe})(),Gi=(()=>{class oe{constructor(x){if(this.nzTableStyleService=x,this.isInsideTable=!1,this.showEmpty$=new vt.X(!1),this.noResult$=new vt.X(void 0),this.listOfMeasureColumn$=new vt.X([]),this.destroy$=new X.xQ,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:ie,noResult$:st,listOfMeasureColumn$:Tt}=this.nzTableStyleService;st.pipe((0,ve.R)(this.destroy$)).subscribe(this.noResult$),Tt.pipe((0,ve.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),ie.pipe((0,ve.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(x){this.nzTableStyleService.setListOfAutoWidth(x)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(ri,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["tbody"]],hostVars:2,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-tbody",ie.isInsideTable)},ngContentSelectors:yt,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(x,ie){1&x&&(h.F$t(),h.YNc(0,qe,2,1,"ng-container",0),h.ALo(1,"async"),h.Hsn(2),h.YNc(3,Ee,3,3,"tr",1),h.ALo(4,"async")),2&x&&(h.Q6J("ngIf",h.lcZ(1,2,ie.listOfMeasureColumn$)),h.xp6(3),h.Q6J("ngIf",h.lcZ(4,4,ie.showEmpty$)))},dependencies:[s.O5,j.gB,bn,no,s.Ov],encapsulation:2,changeDetection:0}),oe})(),ir=(()=>{class oe{constructor(x,ie,st,Tt){this.renderer=x,this.ngZone=ie,this.platform=st,this.resizeService=Tt,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=I=>I,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new X.xQ,this.scroll$=new X.xQ,this.destroy$=new X.xQ}setScrollPositionClassName(x=!1){const{scrollWidth:ie,scrollLeft:st,clientWidth:Tt}=this.tableBodyElement.nativeElement,I="ant-table-ping-left",N="ant-table-ping-right";ie===Tt&&0!==ie||x?(this.renderer.removeClass(this.tableMainElement,I),this.renderer.removeClass(this.tableMainElement,N)):0===st?(this.renderer.removeClass(this.tableMainElement,I),this.renderer.addClass(this.tableMainElement,N)):ie===st+Tt?(this.renderer.removeClass(this.tableMainElement,N),this.renderer.addClass(this.tableMainElement,I)):(this.renderer.addClass(this.tableMainElement,I),this.renderer.addClass(this.tableMainElement,N))}ngOnChanges(x){const{scrollX:ie,scrollY:st,data:Tt}=x;if(ie||st){const I=0!==this.verticalScrollBarWidth;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&I?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())}Tt&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const x=this.scroll$.pipe((0,Rt.O)(null),(0,it.g)(0),(0,Kt.w)(()=>(0,oi.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,Rt.O)(!0))),(0,ve.R)(this.destroy$)),ie=this.resizeService.subscribe().pipe((0,ve.R)(this.destroy$)),st=this.data$.pipe((0,ve.R)(this.destroy$));(0,Wn.T)(x,ie,st,this.scroll$).pipe((0,Rt.O)(!0),(0,it.g)(0),(0,ve.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),x.pipe((0,ti.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.Qsj),h.Y36(h.R0b),h.Y36(e.t4),h.Y36(Y.rI))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table-inner-scroll"]],viewQuery:function(x,ie){if(1&x&&(h.Gf(Lt,5,h.SBq),h.Gf(Wt,5,h.SBq),h.Gf(g.N7,5,g.N7)),2&x){let st;h.iGM(st=h.CRH())&&(ie.tableHeaderElement=st.first),h.iGM(st=h.CRH())&&(ie.tableBodyElement=st.first),h.iGM(st=h.CRH())&&(ie.cdkVirtualScrollViewport=st.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[h.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(x,ie){1&x&&(h.YNc(0,Sr,6,6,"ng-container",0),h.YNc(1,ur,3,5,"div",1)),2&x&&(h.Q6J("ngIf",ie.scrollY),h.xp6(1),h.Q6J("ngIf",!ie.scrollY))},dependencies:[s.O5,s.tP,s.PC,g.xd,g.x0,g.N7,Gi,Ri],encapsulation:2,changeDetection:0}),oe})(),Tr=(()=>{class oe{constructor(x){this.templateRef=x}static ngTemplateContextGuard(x,ie){return!0}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.Rgc))},oe.\u0275dir=h.lG2({type:oe,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),oe})(),po=(()=>{class oe{constructor(){this.destroy$=new X.xQ,this.pageIndex$=new vt.X(1),this.frontPagination$=new vt.X(!0),this.pageSize$=new vt.X(10),this.listOfData$=new vt.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,Ct.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,Ct.x)()),this.listOfCalcOperator$=new vt.X([]),this.queryParams$=(0,dn.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,rt.b)(0),(0,K.T)(1),(0,Sn.U)(([x,ie,st])=>({pageIndex:x,pageSize:ie,sort:st.filter(Tt=>Tt.sortFn).map(Tt=>({key:Tt.key,value:Tt.sortOrder})),filter:st.filter(Tt=>Tt.filterFn).map(Tt=>({key:Tt.key,value:Tt.filterValue}))}))),this.listOfDataAfterCalc$=(0,dn.aj)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,Sn.U)(([x,ie])=>{let st=[...x];const Tt=ie.filter(N=>{const{filterValue:D,filterFn:me}=N;return!(null==D||Array.isArray(D)&&0===D.length)&&"function"==typeof me});for(const N of Tt){const{filterFn:D,filterValue:me}=N;st=st.filter(ft=>D(me,ft))}const I=ie.filter(N=>null!==N.sortOrder&&"function"==typeof N.sortFn).sort((N,D)=>+D.sortPriority-+N.sortPriority);return ie.length&&st.sort((N,D)=>{for(const me of I){const{sortFn:ft,sortOrder:$t}=me;if(ft&&$t){const Mn=ft(N,D,$t);if(0!==Mn)return"ascend"===$t?Mn:-Mn}}return 0}),st})),this.listOfFrontEndCurrentPageData$=(0,dn.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,ve.R)(this.destroy$),(0,ti.h)(x=>{const[ie,st,Tt]=x;return ie<=(Math.ceil(Tt.length/st)||1)}),(0,Sn.U)(([x,ie,st])=>st.slice((x-1)*ie,x*ie))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,Kt.w)(x=>x?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,Kt.w)(x=>x?this.listOfDataAfterCalc$:this.listOfData$),(0,Sn.U)(x=>x.length),(0,Ct.x)())}updatePageSize(x){this.pageSize$.next(x)}updateFrontPagination(x){this.frontPagination$.next(x)}updatePageIndex(x){this.pageIndex$.next(x)}updateListOfData(x){this.listOfData$.next(x)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275prov=h.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),go=(()=>{class oe{constructor(){this.title=null,this.footer=null}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-title",null!==ie.title)("ant-table-footer",null!==ie.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(x,ie){1&x&&(h.YNc(0,eo,2,1,"ng-container",0),h.YNc(1,Di,2,1,"ng-container",0)),2&x&&(h.Q6J("nzStringTemplateOutlet",ie.title),h.xp6(1),h.Q6J("nzStringTemplateOutlet",ie.footer))},dependencies:[H.f],encapsulation:2,changeDetection:0}),oe})(),io=(()=>{class oe{constructor(x,ie,st,Tt,I,N,D){this.elementRef=x,this.nzResizeObserver=ie,this.nzConfigService=st,this.cdr=Tt,this.nzTableStyleService=I,this.nzTableDataService=N,this.directionality=D,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=me=>me,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new h.vpe,this.nzPageIndexChange=new h.vpe,this.nzQueryParams=new h.vpe,this.nzCurrentPageDataChange=new h.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new X.xQ,this.templateMode$=new vt.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,ve.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}onPageSizeChange(x){this.nzTableDataService.updatePageSize(x)}onPageIndexChange(x){this.nzTableDataService.updatePageIndex(x)}ngOnInit(){const{pageIndexDistinct$:x,pageSizeDistinct$:ie,listOfCurrentPageData$:st,total$:Tt,queryParams$:I}=this.nzTableDataService,{theadTemplate$:N,hasFixLeft$:D,hasFixRight$:me}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.cdr.detectChanges()}),I.pipe((0,ve.R)(this.destroy$)).subscribe(this.nzQueryParams),x.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{ft!==this.nzPageIndex&&(this.nzPageIndex=ft,this.nzPageIndexChange.next(ft))}),ie.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{ft!==this.nzPageSize&&(this.nzPageSize=ft,this.nzPageSizeChange.next(ft))}),Tt.pipe((0,ve.R)(this.destroy$),(0,ti.h)(()=>this.nzFrontPagination)).subscribe(ft=>{ft!==this.nzTotal&&(this.nzTotal=ft,this.cdr.markForCheck())}),st.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.data=ft,this.nzCurrentPageDataChange.next(ft),this.cdr.markForCheck()}),N.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.theadTemplate=ft,this.cdr.markForCheck()}),D.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.hasFixLeft=ft,this.cdr.markForCheck()}),me.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.hasFixRight=ft,this.cdr.markForCheck()}),(0,dn.aj)([Tt,this.templateMode$]).pipe((0,Sn.U)(([ft,$t])=>0===ft&&!$t),(0,ve.R)(this.destroy$)).subscribe(ft=>{this.nzTableStyleService.setShowEmpty(ft)}),this.verticalScrollBarWidth=(0,k.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.listOfAutoColWidth=ft,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,ve.R)(this.destroy$)).subscribe(ft=>{this.listOfManualColWidth=ft,this.cdr.markForCheck()})}ngOnChanges(x){const{nzScroll:ie,nzPageIndex:st,nzPageSize:Tt,nzFrontPagination:I,nzData:N,nzWidthConfig:D,nzNoResult:me,nzTemplateMode:ft}=x;st&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),Tt&&this.nzTableDataService.updatePageSize(this.nzPageSize),N&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),I&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),ie&&this.setScrollOnChanges(),D&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),ft&&this.templateMode$.next(this.nzTemplateMode),me&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,Sn.U)(([x])=>{const{width:ie}=x.target.getBoundingClientRect();return Math.floor(ie-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,ve.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.SBq),h.Y36(b.D3),h.Y36(T.jY),h.Y36(h.sBO),h.Y36(ri),h.Y36(po),h.Y36(o.Is,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["nz-table"]],contentQueries:function(x,ie,st){if(1&x&&h.Suo(st,Tr,5),2&x){let Tt;h.iGM(Tt=h.CRH())&&(ie.nzVirtualScrollDirective=Tt.first)}},viewQuery:function(x,ie){if(1&x&&h.Gf(ir,5),2&x){let st;h.iGM(st=h.CRH())&&(ie.nzTableInnerScrollComponent=st.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:2,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-wrapper-rtl","rtl"===ie.dir)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[h._Bn([ri,po]),h.TTD],ngContentSelectors:yt,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(x,ie){if(1&x&&(h.F$t(),h.TgZ(0,"nz-spin",0),h.YNc(1,mr,2,1,"ng-container",1),h.TgZ(2,"div",2,3),h.YNc(4,Ni,1,1,"nz-table-title-footer",4),h.YNc(5,ki,1,13,"nz-table-inner-scroll",5),h.YNc(6,dr,1,4,"ng-template",null,6,h.W1O),h.YNc(8,li,1,1,"nz-table-title-footer",7),h.qZA(),h.YNc(9,Li,2,1,"ng-container",1),h.qZA(),h.YNc(10,hr,1,1,"ng-template",null,8,h.W1O),h.YNc(12,wr,1,0,"ng-template",null,9,h.W1O)),2&x){const st=h.MAs(7);h.Q6J("nzDelay",ie.nzLoadingDelay)("nzSpinning",ie.nzLoading)("nzIndicator",ie.nzLoadingIndicator),h.xp6(1),h.Q6J("ngIf","both"===ie.nzPaginationPosition||"top"===ie.nzPaginationPosition),h.xp6(1),h.ekj("ant-table-rtl","rtl"===ie.dir)("ant-table-fixed-header",ie.nzData.length&&ie.scrollY)("ant-table-fixed-column",ie.scrollX)("ant-table-has-fix-left",ie.hasFixLeft)("ant-table-has-fix-right",ie.hasFixRight)("ant-table-bordered",ie.nzBordered)("nz-table-out-bordered",ie.nzOuterBordered&&!ie.nzBordered)("ant-table-middle","middle"===ie.nzSize)("ant-table-small","small"===ie.nzSize),h.xp6(2),h.Q6J("ngIf",ie.nzTitle),h.xp6(1),h.Q6J("ngIf",ie.scrollY||ie.scrollX)("ngIfElse",st),h.xp6(3),h.Q6J("ngIf",ie.nzFooter),h.xp6(1),h.Q6J("ngIf","both"===ie.nzPaginationPosition||"bottom"===ie.nzPaginationPosition)}},dependencies:[s.O5,s.tP,B,_n,go,Ei,ir],encapsulation:2,changeDetection:0}),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzFrontPagination",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzTemplateMode",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzShowPagination",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzLoading",void 0),(0,pe.gn)([(0,k.yF)()],oe.prototype,"nzOuterBordered",void 0),(0,pe.gn)([(0,T.oS)()],oe.prototype,"nzLoadingIndicator",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzBordered",void 0),(0,pe.gn)([(0,T.oS)()],oe.prototype,"nzSize",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzShowSizeChanger",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzHideOnSinglePage",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzShowQuickJumper",void 0),(0,pe.gn)([(0,T.oS)(),(0,k.yF)()],oe.prototype,"nzSimple",void 0),oe})(),Dr=(()=>{class oe{constructor(x){this.nzTableStyleService=x,this.destroy$=new X.xQ,this.listOfFixedColumns$=new Ne.t(1),this.listOfColumns$=new Ne.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,Kt.w)(ie=>(0,Wn.T)(this.listOfFixedColumns$,...ie.map(st=>st.changes$)).pipe((0,Ye.zg)(()=>this.listOfFixedColumns$))),(0,ve.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,Sn.U)(ie=>ie.filter(st=>!1!==st.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,Sn.U)(ie=>ie.filter(st=>!1!==st.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,Kt.w)(ie=>(0,Wn.T)(this.listOfColumns$,...ie.map(st=>st.changes$)).pipe((0,Ye.zg)(()=>this.listOfColumns$))),(0,ve.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!x}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,Rt.O)(this.listOfCellFixedDirective),(0,ve.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,Rt.O)(this.listOfNzThDirective),(0,ve.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(x=>{x.forEach(ie=>ie.setIsLastLeft(ie===x[x.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(x=>{x.forEach(ie=>ie.setIsFirstRight(ie===x[0]))}),(0,dn.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,ve.R)(this.destroy$)).subscribe(([x,ie])=>{ie.forEach((st,Tt)=>{if(st.isAutoLeft){const N=ie.slice(0,Tt).reduce((me,ft)=>me+(ft.colspan||ft.colSpan||1),0),D=x.slice(0,N).reduce((me,ft)=>me+ft,0);st.setAutoLeftWidth(`${D}px`)}})}),(0,dn.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,ve.R)(this.destroy$)).subscribe(([x,ie])=>{ie.forEach((st,Tt)=>{const I=ie[ie.length-Tt-1];if(I.isAutoRight){const D=ie.slice(ie.length-Tt,ie.length).reduce((ft,$t)=>ft+($t.colspan||$t.colSpan||1),0),me=x.slice(x.length-D,x.length).reduce((ft,$t)=>ft+$t,0);I.setAutoRightWidth(`${me}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(ri,8))},oe.\u0275dir=h.lG2({type:oe,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(x,ie,st){if(1&x&&(h.Suo(st,Wr,4),h.Suo(st,Ir,4)),2&x){let Tt;h.iGM(Tt=h.CRH())&&(ie.listOfNzThDirective=Tt),h.iGM(Tt=h.CRH())&&(ie.listOfCellFixedDirective=Tt)}},hostVars:2,hostBindings:function(x,ie){2&x&&h.ekj("ant-table-row",ie.isInsideTable)}}),oe})(),Zt=(()=>{class oe{constructor(x,ie,st,Tt){this.elementRef=x,this.renderer=ie,this.nzTableStyleService=st,this.nzTableDataService=Tt,this.destroy$=new X.xQ,this.isInsideTable=!1,this.nzSortOrderChange=new h.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const x=this.listOfNzTrDirective.changes.pipe((0,Rt.O)(this.listOfNzTrDirective),(0,Sn.U)(I=>I&&I.first)),ie=x.pipe((0,Kt.w)(I=>I?I.listOfColumnsChanges$:$n.E),(0,ve.R)(this.destroy$));ie.subscribe(I=>this.nzTableStyleService.setListOfTh(I)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,Kt.w)(I=>I?ie:(0,Yn.of)([]))).pipe((0,ve.R)(this.destroy$)).subscribe(I=>this.nzTableStyleService.setListOfMeasureColumn(I));const st=x.pipe((0,Kt.w)(I=>I?I.listOfFixedLeftColumnChanges$:$n.E),(0,ve.R)(this.destroy$)),Tt=x.pipe((0,Kt.w)(I=>I?I.listOfFixedRightColumnChanges$:$n.E),(0,ve.R)(this.destroy$));st.subscribe(I=>{this.nzTableStyleService.setHasFixLeft(0!==I.length)}),Tt.subscribe(I=>{this.nzTableStyleService.setHasFixRight(0!==I.length)})}if(this.nzTableDataService){const x=this.listOfNzThAddOnComponent.changes.pipe((0,Rt.O)(this.listOfNzThAddOnComponent));x.pipe((0,Kt.w)(()=>(0,Wn.T)(...this.listOfNzThAddOnComponent.map(Tt=>Tt.manualClickOrder$))),(0,ve.R)(this.destroy$)).subscribe(Tt=>{this.nzSortOrderChange.emit({key:Tt.nzColumnKey,value:Tt.sortOrder}),Tt.nzSortFn&&!1===Tt.nzSortPriority&&this.listOfNzThAddOnComponent.filter(N=>N!==Tt).forEach(N=>N.clearSortOrder())}),x.pipe((0,Kt.w)(Tt=>(0,Wn.T)(x,...Tt.map(I=>I.calcOperatorChange$)).pipe((0,Ye.zg)(()=>x))),(0,Sn.U)(Tt=>Tt.filter(I=>!!I.nzSortFn||!!I.nzFilterFn).map(I=>{const{nzSortFn:N,sortOrder:D,nzFilterFn:me,nzFilterValue:ft,nzSortPriority:$t,nzColumnKey:Mn}=I;return{key:Mn,sortFn:N,sortPriority:$t,sortOrder:D,filterFn:me,filterValue:ft}})),(0,it.g)(0),(0,ve.R)(this.destroy$)).subscribe(Tt=>{this.nzTableDataService.listOfCalcOperator$.next(Tt)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return oe.\u0275fac=function(x){return new(x||oe)(h.Y36(h.SBq),h.Y36(h.Qsj),h.Y36(ri,8),h.Y36(po,8))},oe.\u0275cmp=h.Xpm({type:oe,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(x,ie,st){if(1&x&&(h.Suo(st,Dr,5),h.Suo(st,Hr,5)),2&x){let Tt;h.iGM(Tt=h.CRH())&&(ie.listOfNzTrDirective=Tt),h.iGM(Tt=h.CRH())&&(ie.listOfNzThAddOnComponent=Tt)}},viewQuery:function(x,ie){if(1&x&&h.Gf(to,7),2&x){let st;h.iGM(st=h.CRH())&&(ie.templateRef=st.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:yt,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(x,ie){1&x&&(h.F$t(),h.YNc(0,ji,1,0,"ng-template",null,0,h.W1O),h.YNc(2,Mi,2,1,"ng-container",1)),2&x&&(h.xp6(2),h.Q6J("ngIf",!ie.isInsideTable))},dependencies:[s.O5,s.tP],encapsulation:2,changeDetection:0}),oe})(),Hn=(()=>{class oe{constructor(){this.nzExpand=!0}}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275dir=h.lG2({type:oe,selectors:[["tr","nzExpand",""]],hostAttrs:[1,"ant-table-expanded-row"],hostVars:1,hostBindings:function(x,ie){2&x&&h.Ikx("hidden",!ie.nzExpand)},inputs:{nzExpand:"nzExpand"}}),oe})(),Jo=(()=>{class oe{}return oe.\u0275fac=function(x){return new(x||oe)},oe.\u0275mod=h.oAB({type:oe}),oe.\u0275inj=h.cJS({imports:[o.vT,ee.ip,F.u5,H.T,He.aF,z.Wr,A.b1,S.sL,s.ez,e.ud,ce,b.y7,In,ne.YI,Pe.PV,j.Xo,g.Cl]}),oe})()},37570:(wt,Oe,p)=>{p.d(Oe,{Mg:()=>Y,XK:()=>ae,cg:()=>de,pu:()=>q});var o=p(94650),e=p(32539),g=p(33414),s=p(3187),h=p(8929),F=p(8139),S=p(75778),b=p(7625),z=p(92198),H=p(18583),A=p(51691),j=p(84903),ne=p(72536),Pe=p(40445),ee=p(36895),pe=p(98184),X=p(66287);const Ne=["overlay"];function ve(be,ge){if(1&be&&(o.ynx(0),o._uU(1),o.BQk()),2&be){const se=o.oxw(2);o.xp6(1),o.Oqu(se.nzTitle)}}function T(be,ge){if(1&be&&(o.TgZ(0,"div",2)(1,"div",3)(2,"div",4),o._UZ(3,"span",5),o.qZA(),o.TgZ(4,"div",6),o.YNc(5,ve,2,1,"ng-container",7),o.qZA()()()),2&be){const se=o.oxw();o.ekj("ant-tooltip-rtl","rtl"===se.dir),o.Q6J("ngClass",se._classMap)("ngStyle",se.nzOverlayStyle)("@.disabled",null==se.noAnimation?null:se.noAnimation.nzNoAnimation)("nzNoAnimation",null==se.noAnimation?null:se.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),o.xp6(3),o.Q6J("ngStyle",se._contentStyleMap),o.xp6(1),o.Q6J("ngStyle",se._contentStyleMap),o.xp6(1),o.Q6J("nzStringTemplateOutlet",se.nzTitle)("nzStringTemplateOutletContext",se.nzTitleContext)}}let Y=(()=>{class be{constructor(se,he,De,_e,Ce,we){this.elementRef=se,this.hostView=he,this.resolver=De,this.renderer=_e,this.noAnimation=Ce,this.nzConfigService=we,this.visibleChange=new o.vpe,this.internalVisible=!1,this.destroy$=new h.xQ,this.triggerDisposables=[]}get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const se=this.placement;return Array.isArray(se)&&se.length>0?se:"string"==typeof se&&se?[se]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}ngOnChanges(se){const{trigger:he}=se;he&&!he.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(se)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const se=this.componentRef;this.component=se.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),se.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const he=this.component.nzVisibleChange.pipe((0,S.x)());he.pipe((0,b.R)(this.destroy$)).subscribe(De=>{this.internalVisible=De,this.visibleChange.emit(De)}),he.pipe((0,z.h)(De=>De),(0,H.g)(0,F.E),(0,z.h)(()=>Boolean(this.component?.overlay?.overlayRef)),(0,b.R)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const se=this.elementRef.nativeElement,he=this.trigger;if(this.removeTriggerListeners(),"hover"===he){let De;this.triggerDisposables.push(this.renderer.listen(se,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(se,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!De&&(De=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(De,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(De,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===he?(this.triggerDisposables.push(this.renderer.listen(se,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(se,"focusout",()=>this.hide()))):"click"===he&&this.triggerDisposables.push(this.renderer.listen(se,"click",De=>{De.preventDefault(),this.show()}))}updatePropertiesByChanges(se){this.updatePropertiesByKeys(Object.keys(se))}updatePropertiesByKeys(se){const he={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],...this.getProxyPropertyMap()};(se||Object.keys(he).filter(De=>!De.startsWith("directive"))).forEach(De=>{if(he[De]){const[_e,Ce]=he[De];this.updateComponentValue(_e,Ce())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(se,he){typeof he<"u"&&(this.component[se]=he)}delayEnterLeave(se,he,De=-1){this.delayTimer?this.clearTogglingTimer():De>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,he?this.show():this.hide()},1e3*De):he&&se?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(se=>se()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return be.\u0275fac=function(se){return new(se||be)(o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(o._Vd),o.Y36(o.Qsj),o.Y36(j.P),o.Y36(ne.jY))},be.\u0275dir=o.lG2({type:be,features:[o.TTD]}),be})(),k=(()=>{class be{constructor(se,he,De){this.cdr=se,this.directionality=he,this.noAnimation=De,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new h.xQ,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...A.Ek],this.destroy$=new h.xQ}set nzVisible(se){const he=(0,s.sw)(se);this._visible!==he&&(this._visible=he,this.nzVisibleChange.next(he))}get nzVisible(){return this._visible}set nzTrigger(se){this._trigger=se}get nzTrigger(){return this._trigger}set nzPlacement(se){const he=se.map(De=>A.yW[De]);this._positions=[...he,...A.Ek]}ngOnInit(){this.directionality.change?.pipe((0,b.R)(this.destroy$)).subscribe(se=>{this.dir=se,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){!this.nzVisible||(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(se){this.preferredPlacement=(0,A.d_)(se),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(se){this.origin=se,this.cdr.markForCheck()}onClickOutside(se){!this.origin.nativeElement.contains(se.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}}return be.\u0275fac=function(se){return new(se||be)(o.Y36(o.sBO),o.Y36(Pe.Is,8),o.Y36(j.P))},be.\u0275dir=o.lG2({type:be,viewQuery:function(se,he){if(1&se&&o.Gf(Ne,5),2&se){let De;o.iGM(De=o.CRH())&&(he.overlay=De.first)}}}),be})();function q(be){return!(be instanceof o.Rgc||""!==be&&(0,s.DX)(be))}let ae=(()=>{class be extends k{constructor(se,he,De){super(se,he,De),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return q(this.nzTitle)}updateStyles(){const se=this.nzColor&&(0,g.o2)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:se},this._contentStyleMap={backgroundColor:this.nzColor&&!se?this.nzColor:null}}}return be.\u0275fac=function(se){return new(se||be)(o.Y36(o.sBO),o.Y36(Pe.Is,8),o.Y36(j.P,9))},be.\u0275cmp=o.Xpm({type:be,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[o.qOj],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(se,he){1&se&&(o.YNc(0,T,6,11,"ng-template",0,1,o.W1O),o.NdJ("overlayOutsideClick",function(_e){return he.onClickOutside(_e)})("detach",function(){return he.hide()})("positionChange",function(_e){return he.onPositionChange(_e)})),2&se&&o.Q6J("cdkConnectedOverlayOrigin",he.origin)("cdkConnectedOverlayOpen",he._visible)("cdkConnectedOverlayPositions",he._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",he.nzArrowPointAtCenter)},dependencies:[ee.mk,ee.PC,pe.pI,X.f,A.hQ,j.P],encapsulation:2,data:{animation:[e.$C]},changeDetection:0}),be})(),de=(()=>{class be{}return be.\u0275fac=function(se){return new(se||be)},be.\u0275mod=o.oAB({type:be}),be.\u0275inj=o.cJS({imports:[Pe.vT,ee.ez,pe.U8,X.T,A.e4,j.g]}),be})()},83447:(wt,Oe,p)=>{p.d(Oe,{Yv:()=>h});var o=p(36895),e=p(94650);const g=new e.OlP("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});var s=p(8929);let h=(()=>{class z{constructor(A,j,ne){this.ngZone=A,this.document=j,this.window=ne,this.copySubject=new s.xQ,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(A){this.config=A}copy(A){if(!this.isSupported||!A)return this.pushCopyResponse({isSuccess:!1,content:A});const j=this.copyFromContent(A);return this.pushCopyResponse(j?{content:A,isSuccess:j}:{isSuccess:!1,content:A})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(A){if(A instanceof HTMLInputElement||A instanceof HTMLTextAreaElement){if(A.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(A,j=!0){try{this.selectTarget(A);const ne=this.copyText();return this.clearSelection(j?A:void 0,this.window),ne&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const A=this.window.clipboardData;return!(A&&A.getData&&!A.getData("Text"))}copyFromContent(A,j=this.document.body){if(this.tempTextArea&&!j.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{j.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=A;const ne=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),ne}destroy(A=this.document.body){this.tempTextArea&&(A.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(A){return A.select(),A.setSelectionRange(0,A.value.length),A.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(A,j){A&&A.focus(),j.getSelection()?.removeAllRanges()}createTempTextArea(A,j){const ne="rtl"===A.documentElement.getAttribute("dir");let Pe;return Pe=A.createElement("textarea"),Pe.style.fontSize="12pt",Pe.style.border="0",Pe.style.padding="0",Pe.style.margin="0",Pe.style.position="absolute",Pe.style[ne?"right":"left"]="-9999px",Pe.style.top=(j.pageYOffset||A.documentElement.scrollTop)+"px",Pe.setAttribute("readonly",""),Pe}pushCopyResponse(A){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(A)})}pushCopyReponse(A){this.pushCopyResponse(A)}}return z.\u0275fac=function(A){return new(A||z)(e.LFG(e.R0b),e.LFG(o.K0),e.LFG(g,8))},z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},21094:(wt,Oe,p)=>{p.d(Oe,{hx:()=>ne,yI:()=>pe});var o=p(15861),e=p(94650),g=p(84719),s=p(36895);const h=new e.OlP("ngx-mask config"),F=new e.OlP("new ngx-mask config"),S=new e.OlP("initial ngx-mask config"),b={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,triggerOnMaskChange:!1,maskFilled:new e.vpe,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},z=["Hh:m0:s0","Hh:m0","m0:s0"],H=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let A=(()=>{class Ne{constructor(T){this._config=T,this.maskExpression="",this.actualValue="",this.shownMaskExpression="",this._formatWithSeparators=(Y,k,q,Q)=>{let ae=[],de="";if(Array.isArray(q)){const De=new RegExp(q.map(_e=>"[\\^$.|?*+()".indexOf(_e)>=0?`\\${_e}`:_e).join("|"));ae=Y.split(De),de=Y.match(De)?.[0]??""}else ae=Y.split(q),de=q;const be=ae.length>1?`${de}${ae[1]}`:"";let ge=ae[0];const se=this.separatorLimit.replace(/\s/g,"");se&&+se&&(ge="-"===ge[0]?`-${ge.slice(1,ge.length).slice(0,se.length)}`:ge.slice(0,se.length));const he=/(\d+)(\d{3})/;for(;k&&he.test(ge);)ge=ge.replace(he,"$1"+k+"$2");return void 0===Q?ge+be:0===Q?ge:ge+be.substr(0,Q+1)},this.percentage=Y=>Number(Y)>=0&&Number(Y)<=100,this.getPrecision=Y=>{const k=Y.split(".");return k.length>1?Number(k[k.length-1]):1/0},this.checkAndRemoveSuffix=Y=>{for(let k=this.suffix?.length-1;k>=0;k--){const q=this.suffix.substr(k,this.suffix?.length);if(Y.includes(q)&&(k-1<0||!Y.includes(this.suffix.substr(k-1,this.suffix?.length))))return Y.replace(q,"")}return Y},this.checkInputPrecision=(Y,k,q)=>{if(k<1/0){if(Array.isArray(q)){const de=q.find(be=>be!==this.thousandSeparator);q=de||q[0]}const Q=new RegExp(this._charToRegExpExpression(q)+`\\d{${k}}.*$`),ae=Y.match(Q);ae&&ae[0].length-1>k&&(Y=Y.substring(0,Y.length-(ae[0].length-1-k))),0===k&&this._compareOrIncludes(Y[Y.length-1],q,this.thousandSeparator)&&(Y=Y.substring(0,Y.length-1))}return Y},this._shift=new Set,this.clearIfNotMatch=this._config.clearIfNotMatch,this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.maskSpecialCharacters=this._config.specialCharacters,this.maskAvailablePatterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.hiddenInput=this._config.hiddenInput,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime}applyMaskWithPattern(T,Y){const[k,q]=Y;return this.customPattern=q,this.applyMask(T,k)}applyMask(T,Y,k=0,q=!1,Q=!1,ae=(()=>{})){if(!Y||"string"!=typeof T)return"";let de=0,be="",ge=!1,se=!1,he=1,De=!1;T.slice(0,this.prefix.length)===this.prefix&&(T=T.slice(this.prefix.length,T.length)),this.suffix&&T?.length>0&&(T=this.checkAndRemoveSuffix(T));const _e=T.toString().split("");if("IP"===Y){const Mt=T.split(".");this.ipError=this._validIP(Mt),Y="099.099.099.099"}const Ce=[];for(let Mt=0;Mt11?"00.000.000/0000-00":"000.000.000-00"),Y.startsWith("percent")){if(T.match("[a-z]|[A-Z]")||T.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)){T=this._stripToDecimal(T);const Mt=this.getPrecision(Y);T=this.checkInputPrecision(T,Mt,this.decimalMarker)}T.indexOf(".")>0&&!this.percentage(T.substring(0,T.indexOf(".")))&&(T=`${T.substring(0,T.indexOf(".")-1)}${T.substring(T.indexOf("."),T.length)}`),be=this.percentage(T)?T:T.substring(0,T.length-1)}else if(Y.startsWith("separator")){(T.match("[w\u0430-\u044f\u0410-\u042f]")||T.match("[\u0401\u0451\u0410-\u044f]")||T.match("[a-z]|[A-Z]")||T.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\[\]:";<>.?\/]/)||T.match("[^A-Za-z0-9,]"))&&(T=this._stripToDecimal(T)),T=T.length>1&&"0"===T[0]&&!this._compareOrIncludes(T[1],this.decimalMarker,this.thousandSeparator)&&!Q?T.slice(1,T.length):T,Q&&(T=this._compareOrIncludes(T[T.length-1],this.decimalMarker,this.thousandSeparator)?T.slice(0,T.length-1):T);const Mt=this._charToRegExpExpression(this.thousandSeparator);let _t='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Mt,"");if(Array.isArray(this.decimalMarker))for(const It of this.decimalMarker)_t=_t.replace(this._charToRegExpExpression(It),"");else _t=_t.replace(this._charToRegExpExpression(this.decimalMarker),"");const Ft=new RegExp("["+_t+"]");(T.match(Ft)||1===T.length&&this._compareOrIncludes(T,this.decimalMarker,this.thousandSeparator))&&(T=T.substring(0,T.length-1));const et=this.getPrecision(Y),Ge=(T=this.checkInputPrecision(T,et,this.decimalMarker)).replace(new RegExp(Mt,"g"),"");be=this._formatWithSeparators(Ge,this.thousandSeparator,this.decimalMarker,et);const Ze=be.indexOf(",")-T.indexOf(","),Be=be.length-T.length;if(Be>0&&","!==be[k]){se=!0;let It=0;do{this._shift.add(k+It),It++}while(It0&&!(be.indexOf(",")>=k&&k>3)||!(be.indexOf(".")>=k&&k>3)&&Be<=0?(this._shift.clear(),se=!0,he=Be,this._shift.add(k+=Be)):this._shift.clear()}else for(let Mt=0,_t=_e[0];Mt<_e.length&&de!==Y.length;Mt++,_t=_e[Mt])if(this._checkSymbolMask(_t,Y[de])&&"?"===Y[de+1])be+=_t,de+=2;else if("*"===Y[de+1]&&ge&&this._checkSymbolMask(_t,Y[de+2]))be+=_t,de+=3,ge=!1;else if(this._checkSymbolMask(_t,Y[de])&&"*"===Y[de+1])be+=_t,ge=!0;else if("?"===Y[de+1]&&this._checkSymbolMask(_t,Y[de+2]))be+=_t,de+=3;else if(this._checkSymbolMask(_t,Y[de])){if("H"===Y[de]&&Number(_t)>2){de+=1,this._shiftStep(Y,de,_e.length),Mt--,this.leadZeroDateTime&&(be+="0");continue}if("h"===Y[de]&&"2"===be&&Number(_t)>3){de+=1,Mt--;continue}if("m"===Y[de]&&Number(_t)>5){de+=1,this._shiftStep(Y,de,_e.length),Mt--,this.leadZeroDateTime&&(be+="0");continue}if("s"===Y[de]&&Number(_t)>5){de+=1,this._shiftStep(Y,de,_e.length),Mt--,this.leadZeroDateTime&&(be+="0");continue}const Ft=31;if("d"===Y[de]&&(Number(_t)>3&&this.leadZeroDateTime||Number(T.slice(de,de+2))>Ft||"/"===T[de+1])){de+=1,this._shiftStep(Y,de,_e.length),Mt--,this.leadZeroDateTime&&(be+="0");continue}if("M"===Y[de]){const Ge=0===de&&(Number(_t)>2||Number(T.slice(de,de+2))>12||"/"===T[de+1]),Ze=T.slice(de-3,de-1).includes("/")&&("/"===T[de-2]&&Number(T.slice(de-1,de+1))>12&&"/"!==T[de]||"/"===T[de]||"/"===T[de-3]&&Number(T.slice(de-2,de))>12&&"/"!==T[de-1]||"/"===T[de-1]),Be=Number(T.slice(de-3,de-1))<=Ft&&!T.slice(de-3,de-1).includes("/")&&"/"===T[de-1]&&(Number(T.slice(de,de+2))>12||"/"===T[de+1]),It=Number(T.slice(de-3,de-1))>Ft&&!T.slice(de-3,de-1).includes("/")&&!T.slice(de-2,de).includes("/")&&Number(T.slice(de-2,de))>12,Ot=Number(T.slice(de-3,de-1))<=Ft&&!T.slice(de-3,de-1).includes("/")&&"/"!==T[de-1]&&Number(T.slice(de-1,de+1))>12;if(Number(_t)>1&&this.leadZeroDateTime||Ge||Ze||Be||It||Ot){de+=1,this._shiftStep(Y,de,_e.length),Mt--,this.leadZeroDateTime&&(be+="0");continue}}be+=_t,de++}else" "===_t&&" "===Y[de]?(be+=_t,de++):-1!==this.maskSpecialCharacters.indexOf(Y[de])?(be+=Y[de],de++,this._shiftStep(Y,de,_e.length),Mt--):this.maskSpecialCharacters.indexOf(_t)>-1&&this.maskAvailablePatterns[Y[de]]&&this.maskAvailablePatterns[Y[de]]?.optional?(!!_e[de]&&"099.099.099.099"!==Y&&"000.000.000-00"!==Y&&"00.000.000/0000-00"!==Y&&!Y.match(/^9+\.0+$/)&&(be+=_e[de]),de++,Mt--):"*"===this.maskExpression[de+1]&&this._findSpecialChar(this.maskExpression[de+2])&&this._findSpecialChar(_t)===this.maskExpression[de+2]&&ge||"?"===this.maskExpression[de+1]&&this._findSpecialChar(this.maskExpression[de+2])&&this._findSpecialChar(_t)===this.maskExpression[de+2]&&ge?(de+=3,be+=_t):this.showMaskTyped&&this.maskSpecialCharacters.indexOf(_t)<0&&_t!==this.placeHolderCharacter&&(De=!0);be.length+1===Y.length&&-1!==this.maskSpecialCharacters.indexOf(Y[Y.length-1])&&(be+=Y[Y.length-1]);let we=k+1;for(;this._shift.has(we);)he++,we++;let Ae=q&&!Y.startsWith("separator")?de:this._shift.has(k)?he:0;De&&Ae--,ae(Ae,se),he<0&&this._shift.clear();let Fe=!1;Q&&(Fe=_e.every(Mt=>this.maskSpecialCharacters.includes(Mt)));let Ue=`${this.prefix}${Fe?"":be}${this.suffix}`;return 0===be.length&&(Ue=`${this.prefix}${be}`),Ue}_findSpecialChar(T){return this.maskSpecialCharacters.find(Y=>Y===T)}_checkSymbolMask(T,Y){return this.maskAvailablePatterns=this.customPattern?this.customPattern:this.maskAvailablePatterns,this.maskAvailablePatterns[Y]&&this.maskAvailablePatterns[Y].pattern&&this.maskAvailablePatterns[Y].pattern.test(T)}_stripToDecimal(T){return T.split("").filter((Y,k)=>Y.match("^-?\\d")||Y.match("\\s")||"."===Y||","===Y||"-"===Y&&0===k&&this.allowNegativeNumbers).join("")}_charToRegExpExpression(T){return T&&(" "===T?"\\s":"[\\^$.|?*+()".indexOf(T)>=0?`\\${T}`:T)}_shiftStep(T,Y,k){const q=/[*?]/g.test(T.slice(0,Y))?k:Y;this._shift.add(q+this.prefix.length||0)}_compareOrIncludes(T,Y,k){return Array.isArray(Y)?Y.filter(q=>q!==k).includes(T):T===Y}_validIP(T){return!(4===T.length&&!T.some((Y,k)=>T.length!==k+1?""===Y||Number(Y)>255:""===Y||Number(Y.substring(0,3))>255))}}return Ne.\u0275fac=function(T){return new(T||Ne)(e.LFG(h))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),j=(()=>{class Ne extends A{constructor(T,Y,k,q){super(Y),this.document=T,this._config=Y,this._elementRef=k,this._renderer=q,this.maskExpression="",this.isNumberValue=!1,this.placeHolderCharacter="_",this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this.triggerOnMaskChange=!1,this.onChange=Q=>{}}applyMask(T,Y,k=0,q=!1,Q=!1,ae=(()=>{})){if(!Y)return T!==this.actualValue?this.actualValue:T;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(T||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(T||"#")),!T&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const de=T&&"number"==typeof this.selStart?T[this.selStart]:"";let be="";if(this.hiddenInput&&!this.writingValue){let De=this.actualValue.split("");""!==T&&De.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(T.length>De.length?De.splice(this.selStart,0,de):T.length!this._compareOrIncludes(De,this.decimalMarker,this.thousandSeparator))),this.formControlResult(ge),!this.showMaskTyped)return this.hiddenInput&&ge&&ge.length?this.hideInput(ge,this.maskExpression):ge;const se=ge.length,he=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const De=this._numberSkipedSymbols(ge);return ge+he.slice(se+De)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?ge+he:ge+he.slice(se)}_numberSkipedSymbols(T){const Y=/(^|\D)(\d\D)/g;let k=Y.exec(T),q=0;for(;null!=k;)q+=1,k=Y.exec(T);return q}applyValueChanges(T,Y,k,q=(()=>{})){const Q=this._elementRef.nativeElement;Q.value=this.applyMask(Q.value,this.maskExpression,T,Y,k,q),Q!==this._getActiveElement()&&this.clearIfNotMatchFn()}hideInput(T,Y){return T.split("").map((k,q)=>this.maskAvailablePatterns&&this.maskAvailablePatterns[Y[q]]&&this.maskAvailablePatterns[Y[q]]?.symbol?this.maskAvailablePatterns[Y[q]]?.symbol:k).join("")}getActualValue(T){const Y=T.split("").filter((k,q)=>this._checkSymbolMask(k,this.maskExpression[q])||this.maskSpecialCharacters.includes(this.maskExpression[q])&&k===this.maskExpression[q]);return Y.join("")===T?Y.join(""):T}shiftTypedSymbols(T){let Y="";return(T&&T.split("").map((q,Q)=>{if(this.maskSpecialCharacters.includes(T[Q+1])&&T[Q+1]!==this.maskExpression[Q+1])return Y=q,T[Q+1];if(Y.length){const ae=Y;return Y="",ae}return q})||[]).join("")}numberToString(T){return T||0===T?Number(T).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}):String(T)}showMaskInInput(T){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(T){if("IP"===this.maskExpression)return this._checkForIp(T);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(T)}return this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const T=this._elementRef.nativeElement;this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==T.value.replace(/_/g,"").length&&(this.formElementProperty=["value",""],this.applyMask(T.value,this.maskExpression))}set formElementProperty([T,Y]){Promise.resolve().then(()=>this._renderer.setProperty(this._elementRef.nativeElement,T,Y))}checkSpecialCharAmount(T){return T.split("").filter(k=>this._findSpecialChar(k)).length}removeMask(T){return this._removeMask(this._removeSuffix(this._removePrefix(T)),this.maskSpecialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(T){if("#"===T)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const Y=[];for(let k=0;k3&&Y.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:Y.length>6&&Y.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(T){const Y=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,k=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===T)return Y;const q=[];for(let Q=0;Q3&&q.length<=6?Y.slice(q.length+1,Y.length):q.length>6&&q.length<=9?Y.slice(q.length+2,Y.length):q.length>9&&q.length<11?Y.slice(q.length+3,Y.length):11===q.length?"":12===q.length?k.slice(17===T.length?16:15,k.length):q.length>12&&q.length<=14?k.slice(q.length+4,k.length):""}_getActiveElement(T=this.document){const Y=T?.activeElement?.shadowRoot;return Y?.activeElement?this._getActiveElement(Y):T.activeElement}formControlResult(T){this.writingValue||!this.triggerOnMaskChange&&this.maskChanged?this.maskChanged=!1:Array.isArray(this.dropSpecialCharacters)?this.onChange(this._toNumber(this._removeMask(this._removeSuffix(this._removePrefix(T)),this.dropSpecialCharacters))):this.onChange(this.dropSpecialCharacters?this._toNumber(this._checkSymbols(T)):this._removeSuffix(T))}_toNumber(T){if(!this.isNumberValue||""===T)return T;const Y=Number(T);return Number.isNaN(Y)?T:Y}_removeMask(T,Y){return T&&T.replace(this._regExpForRemove(Y),"")}_removePrefix(T){return this.prefix?T&&T.replace(this.prefix,""):T}_removeSuffix(T){return this.suffix?T&&T.replace(this.suffix,""):T}_retrieveSeparatorValue(T){return this._removeMask(this._removeSuffix(this._removePrefix(T)),this.maskSpecialCharacters)}_regExpForRemove(T){return new RegExp(T.map(Y=>`\\${Y}`).join("|"),"gi")}_checkSymbols(T){if(""===T)return T;const Y=this._retrieveSeparatorPrecision(this.maskExpression);let k=this._retrieveSeparatorValue(T);return"."!==this.decimalMarker&&!Array.isArray(this.decimalMarker)&&(k=k.replace(this.decimalMarker,".")),this.isNumberValue?Y?T===this.decimalMarker?null:this._checkPrecision(this.maskExpression,k):Number(k):k}_retrieveSeparatorPrecision(T){const Y=T.match(new RegExp("^separator\\.([^d]*)"));return Y?Number(Y[1]):null}_checkPrecision(T,Y){return T.indexOf("2")>0?Number(Y).toFixed(2):Number(Y)}}return Ne.\u0275fac=function(T){return new(T||Ne)(e.LFG(s.K0),e.LFG(h),e.LFG(e.SBq),e.LFG(e.Qsj))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),ne=(()=>{class Ne{constructor(T,Y,k){this.document=T,this._maskService=Y,this._config=k,this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.triggerOnMaskChange=null,this.maskFilled=new e.vpe,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this.onChange=q=>{},this.onTouch=()=>{}}ngOnChanges(T){const{maskExpression:Y,specialCharacters:k,patterns:q,prefix:Q,suffix:ae,thousandSeparator:de,decimalMarker:be,dropSpecialCharacters:ge,hiddenInput:se,showMaskTyped:he,placeHolderCharacter:De,shownMaskExpression:_e,showTemplate:Ce,clearIfNotMatch:we,validation:Ae,separatorLimit:Fe,allowNegativeNumbers:Ue,leadZeroDateTime:Mt,triggerOnMaskChange:_t}=T;if(Y&&(Y.currentValue!==Y.previousValue&&!Y.firstChange&&(this._maskService.maskChanged=!0),Y.currentValue&&Y.currentValue.split("||").length>1?(this._maskExpressionArray=Y.currentValue.split("||").sort((Ft,et)=>Ft.length-et.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=Y.currentValue||"",this._maskService.maskExpression=this._maskValue)),k){if(!k.currentValue||!Array.isArray(k.currentValue))return;this._maskService.maskSpecialCharacters=k.currentValue||[]}q&&q.currentValue&&(this._maskService.maskAvailablePatterns=q.currentValue),Q&&(this._maskService.prefix=Q.currentValue),ae&&(this._maskService.suffix=ae.currentValue),de&&(this._maskService.thousandSeparator=de.currentValue),be&&(this._maskService.decimalMarker=be.currentValue),ge&&(this._maskService.dropSpecialCharacters=ge.currentValue),se&&(this._maskService.hiddenInput=se.currentValue),he&&(this._maskService.showMaskTyped=he.currentValue),De&&(this._maskService.placeHolderCharacter=De.currentValue),_e&&(this._maskService.shownMaskExpression=_e.currentValue),Ce&&(this._maskService.showTemplate=Ce.currentValue),we&&(this._maskService.clearIfNotMatch=we.currentValue),Ae&&(this._maskService.validation=Ae.currentValue),Fe&&(this._maskService.separatorLimit=Fe.currentValue),Ue&&(this._maskService.allowNegativeNumbers=Ue.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.maskSpecialCharacters=this._maskService.maskSpecialCharacters.filter(Ft=>"-"!==Ft))),Mt&&(this._maskService.leadZeroDateTime=Mt.currentValue),_t&&(this._maskService.triggerOnMaskChange=_t.currentValue),this._applyMask()}validate({value:T}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(T);if(this._maskService.cpfCnpjError)return this._createValidationError(T);if(this._maskValue.startsWith("separator")||H.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(z.includes(this._maskValue))return this._validateTime(T);if(T&&T.toString().length>=1){let Y=0;for(const k in this._maskService.maskAvailablePatterns)if(this._maskService.maskAvailablePatterns[k].optional&&(this._maskValue.indexOf(k)!==this._maskValue.lastIndexOf(k)?Y+=this._maskValue.split("").filter(Q=>Q===k).join("").length:-1!==this._maskValue.indexOf(k)&&Y++,-1!==this._maskValue.indexOf(k)&&T.toString().length>=this._maskValue.indexOf(k)||Y===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&T.toString().length===this._maskValue.length+Number(this._maskValue.split("{")[1].split("}")[0])-4||1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null;if(this._maskValue.indexOf("*")>1&&T.toString().length1&&T.toString().length{this._justPasted=!1,q=de,Q=be}),this._getActiveElement()!==Y)return;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let ae=this._position?this._inputValue.length+k+q:k+("Backspace"!==this._code||Q?q:0);ae>this._getActualInputLength()&&(ae=this._getActualInputLength()),ae<0&&(ae=0),Y.setSelectionRange(ae,ae),this._position=null}onBlur(){this._maskValue&&this._maskService.clearIfNotMatchFn(),this.onTouch()}onClick(T){if(!this._maskValue)return;const Y=T.target;null!==Y&&null!==Y.selectionStart&&Y.selectionStart===Y.selectionEnd&&Y.selectionStart>this._maskService.prefix.length&&38!==T.keyCode&&this._maskService.showMaskTyped&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),Y.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===Y.value?(Y.focus(),Y.setSelectionRange(0,0)):Y.selectionStart>this._maskService.actualValue.length&&Y.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const Q=Y.value&&Y.value!==this._maskService.prefix?Y.value:this._maskService.prefix+this._maskService.maskIsShown;Y.value!==Q&&(Y.value=Q),(Y.selectionStart||Y.selectionEnd)<=this._maskService.prefix.length?Y.selectionStart=this._maskService.prefix.length:Y.selectionEnd>this._getActualInputLength()&&(Y.selectionEnd=this._getActualInputLength())}onKeyDown(T){if(!this._maskValue)return;this._code=T.code?T.code:T.key;const Y=T.target;if(this._inputValue=Y.value,this._setMask(),38===T.keyCode&&T.preventDefault(),37===T.keyCode||8===T.keyCode||46===T.keyCode){if(8===T.keyCode&&0===Y.value.length&&(Y.selectionStart=Y.selectionEnd),8===T.keyCode&&0!==Y.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&Y.selectionStart<=this.prefix.length)Y.setSelectionRange(this.prefix.length,Y.selectionEnd);else if(this._inputValue.length!==Y.selectionStart&&1!==Y.selectionStart)for(;this.specialCharacters.includes(this._inputValue[Y.selectionStart-1].toString())&&(this.prefix.length>=1&&Y.selectionStart>this.prefix.length||0===this.prefix.length);)Y.setSelectionRange(Y.selectionStart-1,Y.selectionEnd);this.checkSelectionOnDeletion(Y),this._maskService.prefix.length&&Y.selectionStart<=this._maskService.prefix.length&&Y.selectionEnd<=this._maskService.prefix.length&&T.preventDefault();const k=Y.selectionStart;8===T.keyCode&&!Y.readOnly&&0===k&&Y.selectionEnd===Y.value.length&&0!==Y.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length{if(this._start="{"===k?q:this._start,"}"!==k)return this._maskService._findSpecialChar(k)?Y+k:Y;this._end=q;const Q=Number(T.slice(this._start+1,this._end));return Y+new Array(Q+1).join(T[this._start-1])},"")||T}_applyMask(){this._maskService.maskExpression=this._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(T){const Y=this._maskValue.split("").filter(k=>":"!==k).length;return T&&(0==+T[T.length-1]&&T.length0&&this._maskExpressionArray.some(T=>{const Y=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(T)?.length;if(this._inputValue&&Y)return this._maskValue=T,this.maskExpression=T,this._maskService.maskExpression=T,Y;this._maskValue=this._maskExpressionArray[this._maskExpressionArray.length-1],this.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1],this._maskService.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1]})}}return Ne.\u0275fac=function(T){return new(T||Ne)(e.Y36(s.K0),e.Y36(j),e.Y36(h))},Ne.\u0275dir=e.lG2({type:Ne,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(T,Y){1&T&&e.NdJ("paste",function(){return Y.onPaste()})("ngModelChange",function(q){return Y.onModelChange(q)})("input",function(q){return Y.onInput(q)})("blur",function(){return Y.onBlur()})("click",function(q){return Y.onClick(q)})("keydown",function(q){return Y.onKeyDown(q)})},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",triggerOnMaskChange:"triggerOnMaskChange"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],features:[e._Bn([{provide:g.JU,useExisting:(0,e.Gpc)(()=>Ne),multi:!0},{provide:g.Cf,useExisting:(0,e.Gpc)(()=>Ne),multi:!0},j]),e.TTD]}),Ne})();function ee(Ne,ve){return ve instanceof Function?{...Ne,...ve()}:{...Ne,...ve}}let pe=(()=>{class Ne{static forRoot(T){return{ngModule:Ne,providers:[{provide:F,useValue:T},{provide:S,useValue:b},{provide:h,useFactory:ee,deps:[S,F]},A]}}static forChild(){return{ngModule:Ne}}}return Ne.\u0275fac=function(T){return new(T||Ne)},Ne.\u0275mod=e.oAB({type:Ne}),Ne.\u0275inj=e.cJS({}),Ne})();const X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};X.KeyboardEvent||(X.KeyboardEvent=function(Ne,ve){})},68423:(wt,Oe,p)=>{p.d(Oe,{Ro:()=>k,ef:()=>q,t2:()=>ve});var o=p(94650),e=p(591),g=p(8929),s=p(92198),h=p(7625),F=p(37340),S=p(36895),b=p(11481);const z=["overlay"];function H(Q,ae){1&Q&&o._UZ(0,"div")}function A(Q,ae){if(1&Q&&(o.TgZ(0,"div"),o.YNc(1,H,1,0,"div",6),o.qZA()),2&Q){const de=o.oxw(2);o.Tol(de.spinner.class),o.Udp("color",de.spinner.color),o.xp6(1),o.Q6J("ngForOf",de.spinner.divArray)}}function j(Q,ae){if(1&Q&&(o._UZ(0,"div",7),o.ALo(1,"safeHtml")),2&Q){const de=o.oxw(2);o.Q6J("innerHTML",o.lcZ(1,1,de.template),o.oJD)}}function ne(Q,ae){if(1&Q&&(o.TgZ(0,"div",1,2),o.YNc(2,A,2,5,"div",3),o.YNc(3,j,2,3,"div",4),o.TgZ(4,"div",5),o.Hsn(5),o.qZA()()),2&Q){const de=o.oxw();o.Udp("background-color",de.spinner.bdColor)("z-index",de.spinner.zIndex)("position",de.spinner.fullScreen?"fixed":"absolute"),o.Q6J("@.disabled",de.disableAnimation)("@fadeIn","in"),o.xp6(2),o.Q6J("ngIf",!de.template),o.xp6(1),o.Q6J("ngIf",de.template),o.xp6(1),o.Udp("z-index",de.spinner.zIndex)}}const Pe=["*"],ee={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},X="primary";class Ne{constructor(ae){Object.assign(this,ae)}static create(ae){return(null==ae?.type||0===ae.type.length)&&console.warn('[ngx-spinner]: Property "type" is missed. Please, provide animation type to component\n and ensure css is added to angular.json file'),new Ne(ae)}}let ve=(()=>{class Q{constructor(){this.spinnerObservable=new e.X(null)}getSpinner(de){return this.spinnerObservable.asObservable().pipe((0,s.h)(be=>be&&be.name===de))}show(de=X,be){return new Promise((ge,se)=>{setTimeout(()=>{be&&Object.keys(be).length?(be.name=de,this.spinnerObservable.next(new Ne({...be,show:!0})),ge(!0)):(this.spinnerObservable.next(new Ne({name:de,show:!0})),ge(!0))},10)})}hide(de=X,be=10){return new Promise((ge,se)=>{setTimeout(()=>{this.spinnerObservable.next(new Ne({name:de,show:!1})),ge(!0)},be)})}}return Q.\u0275fac=function(de){return new(de||Q)},Q.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const T=new o.OlP("NGX_SPINNER_CONFIG");let Y=(()=>{class Q{constructor(de){this._sanitizer=de}transform(de){if(de)return this._sanitizer.bypassSecurityTrustHtml(de)}}return Q.\u0275fac=function(de){return new(de||Q)(o.Y36(b.H7,16))},Q.\u0275pipe=o.Yjl({name:"safeHtml",type:Q,pure:!0}),Q})(),k=(()=>{class Q{constructor(de,be,ge,se){this.spinnerService=de,this.changeDetector=be,this.elementRef=ge,this.globalConfig=se,this.disableAnimation=!1,this.spinner=new Ne,this.ngUnsubscribe=new g.xQ,this.setDefaultOptions=()=>{const{type:he}=this.globalConfig??{};this.spinner=Ne.create({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type??he,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.size="large",this.fullScreen=!0,this.name=X,this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}handleKeyboardEvent(de){this.spinnerDOM&&this.spinnerDOM.nativeElement&&(this.fullScreen||!this.fullScreen&&this.isSpinnerZone(de.target))&&(de.returnValue=!1,de.preventDefault())}initObservable(){this.spinnerService.getSpinner(this.name).pipe((0,h.R)(this.ngUnsubscribe)).subscribe(de=>{this.setDefaultOptions(),Object.assign(this.spinner,de),de.show&&this.onInputChange(),this.changeDetector.detectChanges()})}ngOnInit(){this.setDefaultOptions(),this.initObservable()}isSpinnerZone(de){return de===this.elementRef.nativeElement.parentElement||de.parentNode&&this.isSpinnerZone(de.parentNode)}ngOnChanges(de){for(const be in de)if(be){const ge=de[be];if(ge.isFirstChange())return;typeof ge.currentValue<"u"&&ge.currentValue!==ge.previousValue&&""!==ge.currentValue&&(this.spinner[be]=ge.currentValue,"showSpinner"===be&&(ge.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)),"name"===be&&this.initObservable())}}getClass(de,be){this.spinner.divCount=ee[de],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((se,he)=>he);let ge="";switch(be.toLowerCase()){case"small":ge="la-sm";break;case"medium":ge="la-2x";break;case"large":ge="la-3x"}return"la-"+de+" "+ge}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return Q.\u0275fac=function(de){return new(de||Q)(o.Y36(ve),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(T,8))},Q.\u0275cmp=o.Xpm({type:Q,selectors:[["ngx-spinner"]],viewQuery:function(de,be){if(1&de&&o.Gf(z,5),2&de){let ge;o.iGM(ge=o.CRH())&&(be.spinnerDOM=ge.first)}},hostBindings:function(de,be){1&de&&o.NdJ("keydown",function(se){return be.handleKeyboardEvent(se)},!1,o.evT)},inputs:{bdColor:"bdColor",size:"size",color:"color",type:"type",fullScreen:"fullScreen",name:"name",zIndex:"zIndex",template:"template",showSpinner:"showSpinner",disableAnimation:"disableAnimation"},features:[o.TTD],ngContentSelectors:Pe,decls:1,vars:1,consts:[["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],["overlay",""],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(de,be){1&de&&(o.F$t(),o.YNc(0,ne,6,12,"div",0)),2&de&&o.Q6J("ngIf",be.spinner.show)},dependencies:[S.sg,S.O5,Y],styles:[".ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}"],data:{animation:[(0,F.X$)("fadeIn",[(0,F.SB)("in",(0,F.oB)({opacity:1})),(0,F.eR)(":enter",[(0,F.oB)({opacity:0}),(0,F.jt)(300)]),(0,F.eR)(":leave",(0,F.jt)(200,(0,F.oB)({opacity:0})))])]},changeDetection:0}),Q})(),q=(()=>{class Q{static forRoot(de){return{ngModule:Q,providers:[{provide:T,useValue:de}]}}}return Q.\u0275fac=function(de){return new(de||Q)},Q.\u0275mod=o.oAB({type:Q}),Q.\u0275inj=o.cJS({imports:[S.ez]}),Q})()},15861:(wt,Oe,p)=>{function o(g,s,h,F,S,b,z){try{var H=g[b](z),A=H.value}catch(j){return void h(j)}H.done?s(A):Promise.resolve(A).then(F,S)}function e(g){return function(){var s=this,h=arguments;return new Promise(function(F,S){var b=g.apply(s,h);function z(A){o(b,F,S,z,H,"next",A)}function H(A){o(b,F,S,z,H,"throw",A)}z(void 0)})}}p.d(Oe,{Z:()=>e})}},wt=>{wt(wt.s=98487)}]);