import{a as ba}from"./chunk-A46W3WQL.js";import{a as Ks,b as Qs}from"./chunk-CDSJ2ULJ.js";import{a as Hs}from"./chunk-HYFDCJ4V.js";import{a as Li}from"./chunk-Q4IDWMEP.js";import{a as Ti,b as Ii}from"./chunk-XTIBTY7F.js";import{A as ha,B as ga,a as Gs,c as Zs,g as Js,k as ti,l as ta,o as Ri,p as ea,q as ia,r as na,s as oa,t as sa,u as aa,v as ra,w as ca,x as la,y as da,z as ma}from"./chunk-DPSBM3QB.js";import{a as Ds,c as As,d as Ts}from"./chunk-XGMBPPGK.js";import{a as Ss}from"./chunk-IIYQPZAL.js";import{a as fa,b as ua,h as pa}from"./chunk-HKF5HPKS.js";import{b as Xs,c as qs}from"./chunk-R7FJHKSY.js";import{b as gs,j as fs,k as us}from"./chunk-KC6GENB3.js";import{Aa as Rs,B as ys,Ba as zs,C as ks,E as zn,H as Ms,Ia as Bs,J as Xt,Ja as js,La as Ns,Ma as Vs,Na as Ws,Q as Cs,Qa as Ys,R as Bn,S as Ps,T as Ai,Ta as Us,U as Os,Ua as $s,a as Rn,c as ps,da as jn,ea as Ei,ga as Se,h as bs,ha as Nn,i as Oe,j as _s,ja as Fi,p as xs,q as ws,qa as Is,sa as Vn,va as Es,wa as Fs,x as vs,ya as Ls,za as Hn}from"./chunk-JJBFUK5W.js";import{d as cs,i as Di,j as ls,k as ds,m as ms,n as hs,o as $t}from"./chunk-ZEDFMZ3B.js";import{$ as we,$a as I,A as Xe,Ab as Wt,Cb as ss,Ea as Tn,G as Ci,I as Sn,Jb as gt,Lb as ft,Mb as Me,Nb as ut,Ob as as,Pb as Fn,Qb as Ct,Rb as ae,S as Pi,Sb as ot,T as Dn,Tb as st,U as Oi,Ub as Ce,Va as It,Vb as S,Wb as vt,Xb as Yt,Yb as Pe,Zb as yt,_a as A,_b as Ln,a as ki,ac as Ut,b as Mi,bb as ye,bc as rs,ca as Vt,cb as Ge,cc as re,d as _e,db as ke,ea as qe,fb as Ze,ga as mt,gb as In,ha as xt,hb as os,i as $e,ia as ve,ja as wt,k as Pn,lb as G,lc as Je,ma as Ke,mb as ht,n as On,na as Qe,nb as Y,oa as An,pb as Et,qa as Si,sb as En,wb as M,xb as C,yb as K,z as xe,zb as Ht}from"./chunk-PEWEDMBK.js";function $c(i,e){i&1&&(M(0,"div"),S(1,"username est Requis!"),C())}function Xc(i,e){if(i&1&&(M(0,"div",34),G(1,$c,2,0,"div",35),C()),i&2){let t=ft();A(),Y("ngIf",t.user.errors==null?null:t.user.errors.required)}}function qc(i,e){i&1&&(M(0,"div"),S(1," Le mot de passe est obligatoire "),C())}function Kc(i,e){i&1&&(M(0,"div"),S(1," Le mot de passe doit contenir au moins 5 caract\xE8res "),C())}function Qc(i,e){if(i&1&&(M(0,"div",34),G(1,qc,2,0,"div",35)(2,Kc,2,0,"div",35),C()),i&2){let t=ft();A(),Y("ngIf",t.user.password.errors==null?null:t.user.password.errors.required),A(),Y("ngIf",t.user.password.errors==null?null:t.user.password.errors.minlength)}}var Kf=(()=>{let e=class e{constructor(n,o){this.authService=n,this.router=o,this.images=[{imageSrc:"./assets/images/carousel-auth/orange-with-variant.png",imageAlt:"nature1"},{imageSrc:"./assets/images/carousel-auth/silver-modern-with-variant.png",imageAlt:"nature1"}],this.username=new Hn("",[Vn.required]),this.password=new Hn("",[Vn.required]),this.user={username:"",password:""},this.hide=!0,this.isActive=!1,this.msgAuth=""}getErrorMessage(){return this.username.hasError("required")?"Impossible de trouver votre compte Beasy":this.username.hasError("email")?"Identifiant non valide":""}getErrorAuth(){this.msgAuth=""}ngOnInit(){this.user={username:"",password:""}}login(){console.log("Username:",this.user.username),console.log("Password:",this.user.password),this.authService.login(this.user.username,this.user.password).subscribe(n=>{if(console.log("currentUser=>",n.data),n.status){console.log("Connexion r\xE9ussie");let o=n.data;console.log("userInfos",o),sessionStorage.setItem("username",o),this.router.navigateByUrl("/admin")}else console.error("\xC9chec de la connexion :",n.error)},n=>{console.error("Erreur lors de la connexion :",n)})}refreshToken(){this.authService.refreshToken()}logout(){this.authService.logout()}onSubmit(){}};e.\u0275fac=function(o){return new(o||e)(I(Li),I(fs))},e.\u0275cmp=xt({type:e,selectors:[["bgui-login-standard-user"]],standalone:!0,features:[Pe([Li]),yt],decls:55,vars:14,consts:[[1,"fxt-template-animation","fxt-template-layout20","imagedefont"],[1,"container"],[1,"row","fxt-bg-color","fxt-templateshadow-01"],[1,"col-xl-7","col-lg-6","col-12","fxt-none-991","fxt-bg-img"],[3,"images","autoSlide"],[1,"col-xl-5","col-lg-6","col-12"],[1,"fxt-content"],[1,"fxt-header"],["href","#",1,"fxt-logo"],["src","/assets/images/logo/logo-text-beasy.svg","height","70","alt","Logo"],[2,"color","red"],[1,"fxt-socials"],[1,"fxt-form"],["name","form",3,"ngSubmit"],["f","ngForm"],[1,"form-group"],[1,"fxt-transformY-50","fxt-transition-delay-1"],["appearance","fill",1,"gui-form-width"],["matInput","","placeholder","pat@example.com","name","email","required","",3,"ngModel","click","ngModelChange"],["class","form_error","style","color: red",4,"ngIf"],[1,"fxt-transformY-50","fxt-transition-delay-2"],["matInput","","id","password","name","password","required","","minlength","5",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","",3,"click"],[1,"fxt-transformY-50","fxt-transition-delay-3"],[1,"fxt-checkbox-area"],[1,"checkbox"],[1,"caption"],["href","auth/forgot-password",1,"switcher-text"],[1,"form-group","m-b-125"],[1,"fxt-transformY-50","fxt-transition-delay-4"],["mat-raised-button","","shape-semi-round","","color","primary",1,"w-100",3,"disabled","click"],[1,"fxt-footer"],[1,"fxt-transformY-50","fxt-transition-delay-5"],["href","auth/register",1,"switcher-text2","inline-text"],[1,"form_error",2,"color","red"],[4,"ngIf"]],template:function(o,s){if(o&1&&(M(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),K(4,"bgui-carousel",4),C(),M(5,"div",5)(6,"div",6)(7,"div",7)(8,"a",8),K(9,"img",9),C(),M(10,"h2"),S(11,"Bienvenue!"),C(),M(12,"p"),S(13,"Se connecter avec son compte"),C(),M(14,"p",10),S(15),C(),K(16,"ul",11),C(),M(17,"div",12)(18,"form",13,14),gt("ngSubmit",function(){return s.user.valid&&s.onSubmit()}),M(20,"div",15)(21,"div",16)(22,"mat-form-field",17)(23,"mat-label"),S(24,"Identifiant"),C(),M(25,"input",18),gt("click",function(){return s.getErrorAuth()})("ngModelChange",function(r){return s.user.username=r}),C()()(),G(26,Xc,2,1,"div",19),C(),M(27,"div",15)(28,"div",20)(29,"mat-form-field",17)(30,"mat-label"),S(31,"Mot de passe"),C(),M(32,"input",21),gt("ngModelChange",function(r){return s.user.password=r}),C(),M(33,"button",22),gt("click",function(){return s.hide=!s.hide}),M(34,"mat-icon"),S(35,"visibility"),C()()()(),G(36,Qc,3,2,"div",19),C(),M(37,"div",15)(38,"div",23)(39,"div",24)(40,"div",25)(41,"mat-checkbox",26),S(42,"Se souvenir de moi"),C()(),M(43,"a",27),S(44,"Mot de passe oubli\xE9?"),C()()()(),M(45,"div",28)(46,"div",29)(47,"button",30),gt("click",function(){return s.login()}),S(48," Connectez-vous "),C()()()()(),M(49,"div",31)(50,"div",32)(51,"p"),S(52," Nouveau sur notre plateforme?"),M(53,"a",33),S(54,"Cr\xE9er un compte"),C()()()()()()()()()),o&2){let a=Ce(19);A(2),Et("mat-elevation-z1",!s.isActive),A(2),Y("images",s.images)("autoSlide",!0),A(11),vt(s.msgAuth),A(10),Y("ngModel",s.user.username),A(),Y("ngIf",s.username.errors&&a.submitted&&s.username.touched&&s.username.invalid),A(6),Y("type",s.hide?"password":"text")("ngModel",s.user.password),A(),ht("aria-label","Hide password")("aria-pressed",s.hide),A(3),Y("ngIf",a.submitted),A(11),Y("disabled",a.invalid)("disabled",!s.password)}},dependencies:[$t,ds,Hs,$s,Us,Ws,Ys,Vs,zs,Is,Es,Fs,Bs,js,qs,Xs,Ts,Ds,As,Ii,Ti,Qs,Ks,Ns,Rs,Ls],styles:['*[_ngcontent-%COMP%]{font-family:Roboto}.fxt-template-layout20[_ngcontent-%COMP%]{min-height:100vh;background-color:#f4f6f8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media only screen and (max-width: 991px){.fxt-template-layout20[_ngcontent-%COMP%]{padding:15px}}@media only screen and (min-width: 1380px){.fxt-template-layout20[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:958.5px}}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-checkbox-area[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:40px;-ms-flex-wrap:wrap;flex-wrap:wrap}.fxt-template-layout20[_ngcontent-%COMP%] .bgui-bg-color-grey[_ngcontent-%COMP%]{background-color:#f4f5f7}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-bg-color[_ngcontent-%COMP%]{background-color:#fff;padding:0}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-bg-img[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center;background-size:cover;margin:0;padding:15px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{border-radius:15px;padding:25px 10px 25px 0;width:100%}@media only screen and (max-width: 1199px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:100px 35px 70px 50px}}@media only screen and (max-width: 991px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:100px 70px 70px}}@media only screen and (max-width: 767px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:80px 50px 50px}}@media only screen and (max-width: 575px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:60px 30px 30px}}@media only screen and (max-width: 479px){.fxt-template-layout20[_ngcontent-%COMP%] .fxt-content[_ngcontent-%COMP%]{padding:50px 20px 20px}}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-templateshadow-01[_ngcontent-%COMP%]{border-radius:15px;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-header[_ngcontent-%COMP%]{text-align:left}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-logo[_ngcontent-%COMP%]{display:block;margin-bottom:27px;margin-left:auto;margin-right:auto;max-width:40vw}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;font-weight:700;margin-bottom:25px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-otp-logo[_ngcontent-%COMP%]{margin-bottom:20px;display:block;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-otp-label[_ngcontent-%COMP%]{margin-bottom:15px;font-size:18px;font-weight:500;text-align:center;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;color:#111;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{position:relative;z-index:1;margin-bottom:.5rem}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .m-b-125[_ngcontent-%COMP%]{margin-bottom:1.25rem}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{min-height:50px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #e7e7e7;padding:10px 15px;color:#111}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#a1a1a1;font-size:15px;font-weight:300}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:25px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%] .fxt-form-col[_ngcontent-%COMP%]{padding:10px 5px;text-align:center;margin-right:10px;flex-basis:0;flex-grow:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-row[_ngcontent-%COMP%] .fxt-form-col[_ngcontent-%COMP%]:last-child{margin-right:0}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-form[_ngcontent-%COMP%] .fxt-form-btn[_ngcontent-%COMP%]{margin-bottom:10px}.fxt-template-layout20[_ngcontent-%COMP%] .mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{border-radius:8px 8px 0 0!important;padding:.4em .75em 0!important}.fxt-template-layout20[_ngcontent-%COMP%] .mat-raised-button[_ngcontent-%COMP%]{line-height:40px;border-radius:8px;font-size:14px;font-weight:500;width:100%;margin-bottom:10px}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;cursor:pointer;display:inline-block;font-size:17px;font-weight:500;-webkit-box-shadow:none;box-shadow:none;outline:none;border:0;color:#fff;border-radius:3px;background-color:#6b79fd;padding:10px 36px;margin-bottom:10px;width:100%;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]:hover{background-color:#4f5fec;border-color:#4f5fec}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-btn-fill[_ngcontent-%COMP%]:focus{outline:none}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text[_ngcontent-%COMP%]{font-size:12px;margin-bottom:5px;display:block;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2[_ngcontent-%COMP%]{font-size:15px;display:inline-block;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2.inline-text[_ngcontent-%COMP%]{margin-left:3px}.fxt-template-layout20[_ngcontent-%COMP%] .switcher-text2[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%]{overflow:hidden;text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;font-weight:300;margin-bottom:30px;font-size:20px;color:#a4a4a4;display:inline-block;position:relative;padding:0 25px;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:before{display:inline-block;content:"";height:1px;width:100%;background-color:#ebebeb;left:100%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-style-line[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:after{display:inline-block;content:"";height:1px;width:100%;background-color:#ebebeb;right:100%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;z-index:1}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%]{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:-5px;margin-left:-5px;margin-bottom:20px}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{max-width:100%;-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;padding-left:5px;padding-right:5px;margin-bottom:10px}@media only screen and (max-width: 575px){.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}}@media only screen and (max-width: 350px){.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;font-size:14px;height:45px;color:#fff;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{border-radius:2px 0 0 2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:45px;height:45px}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-facebook[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#4867aa}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-facebook[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#5676bb}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-twitter[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#3cf}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-twitter[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#3dc5f3}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-google[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background-color:#db4437}.fxt-template-layout20[_ngcontent-%COMP%] ul.fxt-socials[_ngcontent-%COMP%] li.fxt-google[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#e75042}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding-left:5px;margin-right:30px;margin-bottom:5px}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-left:20px;color:#a4a4a4;margin-bottom:0;font-size:12px;position:relative}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:"";position:absolute;width:16px;height:16px;top:4px;left:0;margin-left:-5px;border:1px solid;border-color:#dcdcdc;border-radius:3px;background-color:#fff;-webkit-transition:border .15s ease-in-out,color .15s ease-in-out;-o-transition:border .15s ease-in-out,color .15s ease-in-out;transition:border .15s ease-in-out,color .15s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{position:absolute;margin-left:-20px;padding-left:3px;font-size:10px;color:#555}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{font-family:"Font Awesome 5 Free";content:"\\f00c";font-weight:900;color:#fff;left:15px;top:4px}.fxt-template-layout20[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before{background-color:#6b79fd;border-color:#6b79fd}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%]{text-align:center}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-resend-wrap[_ngcontent-%COMP%]{margin-bottom:10px;display:inline-flex;flex-wrap:wrap;justify-content:center;font-size:18px;width:100%}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]{margin-left:3px;box-shadow:none;border:0;background-color:transparent;cursor:pointer;padding:0;text-decoration:underline;transition:all .3s ease-in-out}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]:focus{outline:none}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .fxt-btn-resend[_ngcontent-%COMP%]:hover{color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .fxt-footer[_ngcontent-%COMP%] .text-or[_ngcontent-%COMP%]{margin-left:3px;color:#000}.fxt-template-layout20[_ngcontent-%COMP%] .gui-form-width[_ngcontent-%COMP%]{display:block}']});let i=e;return i})();var il=["mat-menu-item",""];function nl(i,e){i&1&&(An(),M(0,"svg",3),K(1,"polygon",4),C())}var ol=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],sl=["mat-icon, [matMenuItemIcon]","*"];function al(i,e){if(i&1){let t=ss();M(0,"div",0),gt("keydown",function(o){Ke(t);let s=ft();return Qe(s._handleKeydown(o))})("click",function(){Ke(t);let o=ft();return Qe(o.closed.emit("click"))})("@transformMenu.start",function(o){Ke(t);let s=ft();return Qe(s._onAnimationStart(o))})("@transformMenu.done",function(o){Ke(t);let s=ft();return Qe(s._onAnimationDone(o))}),M(1,"div",1),ut(2),C()()}if(i&2){let t=ft();Y("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),ht("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}var rl=["*"],Wn=new Vt("MAT_MENU_PANEL"),ei=(()=>{let e=class e{constructor(n,o,s,a,r){this._elementRef=n,this._document=o,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new $e,this._focused=new $e,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(n,o){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,o):this._getHostElement().focus(o),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let n=this._elementRef.nativeElement.cloneNode(!0),o=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s enter",Ei("120ms cubic-bezier(0, 0, 0.2, 1)",Se({opacity:1,transform:"scale(1)"}))),Fi("* => void",Ei("100ms 25ms linear",Se({opacity:0})))]),fadeInItems:jn("fadeInItems",[Nn("showing",Se({opacity:1})),Fi("void => *",[Se({opacity:0}),Ei("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Du=Bi.fadeInItems,Au=Bi.transformMenu,ll=0,dl=new Vt("mat-menu-default-options",{providedIn:"root",factory:ml});function ml(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var De=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}set panelClass(n){let o=this._previousPanelClass;o&&o.length&&o.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(n){this.panelClass=n}constructor(n,o,s,a){this._elementRef=n,this._ngZone=o,this._changeDetectorRef=a,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new as,this._classList={},this._panelAnimationState="void",this._animationDone=new $e,this.closed=new Ge,this.close=this.closed,this.panelId=`mat-menu-panel-${ll++}`,this.overlayPanelClass=s.overlayPanelClass||"",this._xPosition=s.xPosition,this._yPosition=s.yPosition,this.backdropClass=s.backdropClass,this.overlapTrigger=s.overlapTrigger,this.hasBackdrop=s.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new vs(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Pi(this._directDescendantItems),Dn(n=>xe(...n.map(o=>o._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{let o=this._keyManager;if(this._panelAnimationState==="enter"&&o.activeItem?._hasFocus()){let s=n.toArray(),a=Math.max(0,Math.min(s.length-1,o.activeItemIndex||0));s[a]&&!s[a].disabled?o.setActiveItem(a):o.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Pi(this._directDescendantItems),Dn(o=>xe(...o.map(s=>s._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){let o=n.keyCode,s=this._keyManager;switch(o){case 27:bs(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(o===38||o===40)&&s.setFocusOrigin("keyboard"),s.onKeydown(n);return}n.stopPropagation()}focusFirstItem(n="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Ci(1)).subscribe(()=>{let o=null;if(this._directDescendantItems.length&&(o=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!o||!o.contains(document.activeElement)){let s=this._keyManager;s.setFocusOrigin(n).setFirstItemActive(),!s.activeItem&&o&&o.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){let o=Math.min(this._baseElevation+n,24),s=`${this._elevationPrefix}${o}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(n=this.xPosition,o=this.yPosition){let s=this._classList;s["mat-menu-before"]=n==="before",s["mat-menu-after"]=n==="after",s["mat-menu-above"]=o==="above",s["mat-menu-below"]=o==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,n.toState==="enter"&&this._keyManager.activeItemIndex===0&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Pi(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(o=>o._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(o){return new(o||e)(I(It),I(ke),I(dl),I(ye))},e.\u0275cmp=xt({type:e,selectors:[["mat-menu"]],contentQueries:function(o,s,a){if(o&1&&(Ct(a,cl,5),Ct(a,ei,5),Ct(a,ei,4)),o&2){let r;ot(r=st())&&(s.lazyContent=r.first),ot(r=st())&&(s._allItems=r),ot(r=st())&&(s.items=r)}},viewQuery:function(o,s){if(o&1&&ae(Fn,5),o&2){let a;ot(a=st())&&(s.templateRef=a.first)}},hostVars:3,hostBindings:function(o,s){o&2&&ht("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[mt.None,"aria-label","ariaLabel"],ariaLabelledby:[mt.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[mt.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[mt.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",Je],hasBackdrop:[mt.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",n=>n==null?null:Je(n)],panelClass:[mt.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Pe([{provide:Wn,useExisting:e}]),In,yt],ngContentSelectors:rl,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(o,s){o&1&&(Me(),G(0,al,3,6,"ng-template"))},dependencies:[Di],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Bi.transformMenu,Bi.fadeInItems]},changeDetection:0});let i=e;return i})(),va=new Vt("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=qe(ti);return()=>i.scrollStrategies.reposition()}});function hl(i){return()=>i.scrollStrategies.reposition()}var gl={provide:va,deps:[ti],useFactory:hl},_a=ps({passive:!0});var ya=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._parentMaterialMenu,this._menuCloseSubscription=n.close.subscribe(o=>{this._destroyMenu(o),(o==="click"||o==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(o)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(n,o,s,a,r,c,l,d,m){this._overlay=n,this._element=o,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=l,this._focusMonitor=d,this._ngZone=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=_e.EMPTY,this._hoverSubscription=_e.EMPTY,this._menuCloseSubscription=_e.EMPTY,this._changeDetectorRef=qe(ye),this._handleTouchStart=h=>{ks(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ge,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ge,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof De?r:void 0,o.nativeElement.addEventListener("touchstart",this._handleTouchStart,_a)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,_a),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let n=this.menu;if(this._menuOpen||!n)return;let o=this._createOverlay(n),s=o.getConfig(),a=s.positionStrategy;this._setPosition(n,a),s.hasBackdrop=n.hasBackdrop==null?!this.triggersSubmenu():n.hasBackdrop,o.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof De&&(n._startAnimation(),n._directDescendantItems.changes.pipe(Oi(n.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(n,o){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,o):this._element.nativeElement.focus(o)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(n){if(!this._overlayRef||!this.menuOpen)return;let o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(n==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof De?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Xe(s=>s.toState==="void"),Ci(1),Oi(o.lazyContent._attached)).subscribe({next:()=>o.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o?.lazyContent?.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,this._setMenuElevation(n),n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(n){if(n.setElevation){let o=0,s=n.parentMenu;for(;s;)o++,s=s.parentMenu;n.setElevation(o)}}_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){let o=this._getOverlayConfig(n);this._subscribeToPositions(n,o.positionStrategy),this._overlayRef=this._overlay.create(o),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(n){return new Js({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(n,o){n.setPositionClasses&&o.positionChanges.subscribe(s=>{let a=s.connectionPair.overlayX==="start"?"after":"before",r=s.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>n.setPositionClasses(a,r)):n.setPositionClasses(a,r)})}_setPosition(n,o){let[s,a]=n.xPosition==="before"?["end","start"]:["start","end"],[r,c]=n.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,d]=[r,c],[m,h]=[s,a],g=0;if(this.triggersSubmenu()){if(h=s=n.xPosition==="before"?"start":"end",a=m=s==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let f=this._parentMaterialMenu.items.first;this._parentInnerPadding=f?f._getHostElement().offsetTop:0}g=r==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(l=r==="top"?"bottom":"top",d=c==="top"?"bottom":"top");o.withPositions([{originX:s,originY:l,overlayX:m,overlayY:r,offsetY:g},{originX:a,originY:l,overlayX:h,overlayY:r,offsetY:g},{originX:s,originY:d,overlayX:m,overlayY:c,offsetY:-g},{originX:a,originY:d,overlayX:h,overlayY:c,offsetY:-g}])}_menuClosingActions(){let n=this._overlayRef.backdropClick(),o=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:On(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Xe(r=>r!==this._menuItemInstance),Xe(()=>this._menuOpen)):On();return xe(n,s,a,o)}_handleMousedown(n){ys(n)||(this._openedBy=n.button===0?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){let o=n.keyCode;(o===13||o===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(o===39&&this.dir==="ltr"||o===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Xe(n=>n===this._menuItemInstance&&!n.disabled),Sn(0,Pn)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof De&&this.menu._isAnimating?this.menu._animationDone.pipe(Ci(1),Sn(0,Pn),Oi(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new Zs(n.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(o){return new(o||e)(I(ti),I(It),I(os),I(va),I(Wn,8),I(ei,10),I(Ms,8),I(zn),I(ke))},e.\u0275dir=wt({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(o,s){o&1&>("click",function(r){return s._handleClick(r)})("mousedown",function(r){return s._handleMousedown(r)})("keydown",function(r){return s._handleKeydown(r)}),o&2&&ht("aria-haspopup",s.menu?"menu":null)("aria-expanded",s.menuOpen)("aria-controls",s.menuOpen?s.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[mt.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[mt.None,"matMenuTriggerFor","menu"],menuData:[mt.None,"matMenuTriggerData","menuData"],restoreFocus:[mt.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let i=e;return i})(),ka=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=we({providers:[gl],imports:[$t,Ai,Xt,ta,Gs,Xt]});let i=e;return i})();var Ma=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=we({imports:[Xt,Xt]});let i=e;return i})();var ul=["*"],pl='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',bl=["unscopedContent"],_l=["text"],xl=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],wl=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var vl=new Vt("ListOption"),yl=(()=>{let e=class e{constructor(n){this._elementRef=n}};e.\u0275fac=function(o){return new(o||e)(I(It))},e.\u0275dir=wt({type:e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});let i=e;return i})(),kl=(()=>{let e=class e{constructor(n){this._elementRef=n}};e.\u0275fac=function(o){return new(o||e)(I(It))},e.\u0275dir=wt({type:e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});let i=e;return i})(),Ml=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=wt({type:e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0});let i=e;return i})(),Ca=(()=>{let e=class e{constructor(n){this._listOption=n}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}};e.\u0275fac=function(o){return new(o||e)(I(vl,8))},e.\u0275dir=wt({type:e,hostVars:4,hostBindings:function(o,s){o&2&&Et("mdc-list-item__start",s._isAlignedAtStart())("mdc-list-item__end",!s._isAlignedAtStart())},standalone:!0});let i=e;return i})(),Cl=(()=>{let e=class e extends Ca{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=Si(e)))(s||e)}})(),e.\u0275dir=wt({type:e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[Ze]});let i=e;return i})(),Pl=(()=>{let e=class e extends Ca{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=Si(e)))(s||e)}})(),e.\u0275dir=wt({type:e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[Ze]});let i=e;return i})(),Ol=new Vt("MAT_LIST_CONFIG"),ji=(()=>{let e=class e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=qe(Ol,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Oe(n)}get disabled(){return this._disabled}set disabled(n){this._disabled=Oe(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=wt({type:e,hostVars:1,hostBindings:function(o,s){o&2&&ht("aria-disabled",s.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});let i=e;return i})(),Sl=(()=>{let e=class e{set lines(n){this._explicitLines=_s(n,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(n){this._disableRipple=Oe(n)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(n){this._disabled=Oe(n)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(n,o,s,a,r,c){this._elementRef=n,this._ngZone=o,this._listBase=s,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new _e,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=r||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=c==="NoopAnimations",s&&!s._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new Cs(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(xe(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(n){if(!this._lines||!this._titles||!this._unscopedContent)return;n&&this._checkDomForUnscopedTextContent();let o=this._explicitLines??this._inferLinesFromContent(),s=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",o<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",o<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",o===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",o===3),this._hasUnscopedTextContent){let a=this._titles.length===0&&o===1;s.classList.toggle("mdc-list-item__primary-text",a),s.classList.toggle("mdc-list-item__secondary-text",!a)}else s.classList.remove("mdc-list-item__primary-text"),s.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let n=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(n+=1),n}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(n=>n.nodeType!==n.COMMENT_NODE).some(n=>!!(n.textContent&&n.textContent.trim()))}};e.\u0275fac=function(o){return new(o||e)(I(It),I(ke),I(ji,8),I(Rn),I(Bn,8),I(Tn,8))},e.\u0275dir=wt({type:e,contentQueries:function(o,s,a){if(o&1&&(Ct(a,Cl,4),Ct(a,Pl,4)),o&2){let r;ot(r=st())&&(s._avatars=r),ot(r=st())&&(s._icons=r)}},hostVars:4,hostBindings:function(o,s){o&2&&(ht("aria-disabled",s.disabled)("disabled",s._isButtonElement&&s.disabled||null),Et("mdc-list-item--disabled",s.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});let i=e;return i})();var Pa=(()=>{let e=class e extends ji{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=Si(e)))(s||e)}})(),e.\u0275cmp=xt({type:e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[Pe([{provide:ji,useExisting:e}]),Ze,yt],ngContentSelectors:ul,decls:1,vars:0,template:function(o,s){o&1&&(Me(),ut(0))},styles:[pl],encapsulation:2,changeDetection:0});let i=e;return i})(),Oa=(()=>{let e=class e extends Sl{get activated(){return this._activated}set activated(n){this._activated=Oe(n)}constructor(n,o,s,a,r,c){super(n,o,s,a,r,c),this._activated=!1}_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}};e.\u0275fac=function(o){return new(o||e)(I(It),I(ke),I(ji,8),I(Rn),I(Bn,8),I(Tn,8))},e.\u0275cmp=xt({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(o,s,a){if(o&1&&(Ct(a,kl,5),Ct(a,yl,5),Ct(a,Ml,5)),o&2){let r;ot(r=st())&&(s._lines=r),ot(r=st())&&(s._titles=r),ot(r=st())&&(s._meta=r)}},viewQuery:function(o,s){if(o&1&&(ae(bl,5),ae(_l,5)),o&2){let a;ot(a=st())&&(s._unscopedContent=a.first),ot(a=st())&&(s._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(o,s){o&2&&(ht("aria-current",s._getAriaCurrent()),Et("mdc-list-item--activated",s.activated)("mdc-list-item--with-leading-avatar",s._avatars.length!==0)("mdc-list-item--with-leading-icon",s._icons.length!==0)("mdc-list-item--with-trailing-meta",s._meta.length!==0)("_mat-animation-noopable",s._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[Ze,yt],ngContentSelectors:wl,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(o,s){o&1&&(Me(xl),ut(0),M(1,"span",0),ut(2,1),ut(3,2),M(4,"span",1,2),gt("cdkObserveContent",function(){return s._updateItemLines(!0)}),ut(6,3),C()(),ut(7,4),ut(8,5),K(9,"div",3))},dependencies:[xs],encapsulation:2,changeDetection:0});let i=e;return i})();var Sa=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=we({imports:[ws,$t,Xt,Ai,Os,Ma]});let i=e;return i})();function oi(i){return i+.5|0}var qt=(i,e,t)=>Math.max(Math.min(i,t),e);function ii(i){return qt(oi(i*2.55),0,255)}function Kt(i){return qt(oi(i*255),0,255)}function Ft(i){return qt(oi(i/2.55)/100,0,1)}function Da(i){return qt(oi(i*100),0,100)}var pt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Un=[..."0123456789ABCDEF"],Al=i=>Un[i&15],Tl=i=>Un[(i&240)>>4]+Un[i&15],Ni=i=>(i&240)>>4===(i&15),Il=i=>Ni(i.r)&&Ni(i.g)&&Ni(i.b)&&Ni(i.a);function El(i){var e=i.length,t;return i[0]==="#"&&(e===4||e===5?t={r:255&pt[i[1]]*17,g:255&pt[i[2]]*17,b:255&pt[i[3]]*17,a:e===5?pt[i[4]]*17:255}:(e===7||e===9)&&(t={r:pt[i[1]]<<4|pt[i[2]],g:pt[i[3]]<<4|pt[i[4]],b:pt[i[5]]<<4|pt[i[6]],a:e===9?pt[i[7]]<<4|pt[i[8]]:255})),t}var Fl=(i,e)=>i<255?e(i):"";function Ll(i){var e=Il(i)?Al:Tl;return i?"#"+e(i.r)+e(i.g)+e(i.b)+Fl(i.a,e):void 0}var Rl=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ea(i,e,t){let n=e*Math.min(t,1-t),o=(s,a=(s+i/30)%12)=>t-n*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function zl(i,e,t){let n=(o,s=(o+i/60)%6)=>t-t*e*Math.max(Math.min(s,4-s,1),0);return[n(5),n(3),n(1)]}function Bl(i,e,t){let n=Ea(i,1,.5),o;for(e+t>1&&(o=1/(e+t),e*=o,t*=o),o=0;o<3;o++)n[o]*=1-e-t,n[o]+=e;return n}function jl(i,e,t,n,o){return i===o?(e-t)/n+(e.5?d/(2-s-a):d/(s+a),c=jl(t,n,o,d,s),c=c*60+.5),[c|0,l||0,r]}function Xn(i,e,t,n){return(Array.isArray(e)?i(e[0],e[1],e[2]):i(e,t,n)).map(Kt)}function qn(i,e,t){return Xn(Ea,i,e,t)}function Nl(i,e,t){return Xn(Bl,i,e,t)}function Vl(i,e,t){return Xn(zl,i,e,t)}function Fa(i){return(i%360+360)%360}function Hl(i){let e=Rl.exec(i),t=255,n;if(!e)return;e[5]!==n&&(t=e[6]?ii(+e[5]):Kt(+e[5]));let o=Fa(+e[2]),s=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?n=Nl(o,s,a):e[1]==="hsv"?n=Vl(o,s,a):n=qn(o,s,a),{r:n[0],g:n[1],b:n[2],a:t}}function Wl(i,e){var t=$n(i);t[0]=Fa(t[0]+e),t=qn(t),i.r=t[0],i.g=t[1],i.b=t[2]}function Yl(i){if(!i)return;let e=$n(i),t=e[0],n=Da(e[1]),o=Da(e[2]);return i.a<255?`hsla(${t}, ${n}%, ${o}%, ${Ft(i.a)})`:`hsl(${t}, ${n}%, ${o}%)`}var Aa={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ta={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Ul(){let i={},e=Object.keys(Ta),t=Object.keys(Aa),n,o,s,a,r;for(n=0;n>16&255,s>>8&255,s&255]}return i}var Vi;function $l(i){Vi||(Vi=Ul(),Vi.transparent=[0,0,0,0]);let e=Vi[i.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}var Xl=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ql(i){let e=Xl.exec(i),t=255,n,o,s;if(e){if(e[7]!==n){let a=+e[7];t=e[8]?ii(a):qt(a*255,0,255)}return n=+e[1],o=+e[3],s=+e[5],n=255&(e[2]?ii(n):qt(n,0,255)),o=255&(e[4]?ii(o):qt(o,0,255)),s=255&(e[6]?ii(s):qt(s,0,255)),{r:n,g:o,b:s,a:t}}}function Kl(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${Ft(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}var Yn=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,Ae=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function Ql(i,e,t){let n=Ae(Ft(i.r)),o=Ae(Ft(i.g)),s=Ae(Ft(i.b));return{r:Kt(Yn(n+t*(Ae(Ft(e.r))-n))),g:Kt(Yn(o+t*(Ae(Ft(e.g))-o))),b:Kt(Yn(s+t*(Ae(Ft(e.b))-s))),a:i.a+t*(e.a-i.a)}}function Hi(i,e,t){if(i){let n=$n(i);n[e]=Math.max(0,Math.min(n[e]+n[e]*t,e===0?360:1)),n=qn(n),i.r=n[0],i.g=n[1],i.b=n[2]}}function La(i,e){return i&&Object.assign(e||{},i)}function Ia(i){var e={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(e={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(e.a=Kt(i[3]))):(e=La(i,{r:0,g:0,b:0,a:1}),e.a=Kt(e.a)),e}function Gl(i){return i.charAt(0)==="r"?ql(i):Hl(i)}var ni=class i{constructor(e){if(e instanceof i)return e;let t=typeof e,n;t==="object"?n=Ia(e):t==="string"&&(n=El(e)||$l(e)||Gl(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=La(this._rgb);return e&&(e.a=Ft(e.a)),e}set rgb(e){this._rgb=Ia(e)}rgbString(){return this._valid?Kl(this._rgb):void 0}hexString(){return this._valid?Ll(this._rgb):void 0}hslString(){return this._valid?Yl(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,o=e.rgb,s,a=t===s?.5:t,r=2*a-1,c=n.a-o.a,l=((r*c===-1?r:(r+c)/(1+r*c))+1)/2;s=1-l,n.r=255&l*n.r+s*o.r+.5,n.g=255&l*n.g+s*o.g+.5,n.b=255&l*n.b+s*o.b+.5,n.a=a*n.a+(1-a)*o.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Ql(this._rgb,e._rgb,t)),this}clone(){return new i(this.rgb)}alpha(e){return this._rgb.a=Kt(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb,t=oi(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=t,this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Hi(this._rgb,2,e),this}darken(e){return Hi(this._rgb,2,-e),this}saturate(e){return Hi(this._rgb,1,e),this}desaturate(e){return Hi(this._rgb,1,-e),this}rotate(e){return Wl(this._rgb,e),this}};function St(){}var $a=(()=>{let i=0;return()=>i++})();function R(i){return i===null||typeof i>"u"}function N(i){if(Array.isArray&&Array.isArray(i))return!0;let e=Object.prototype.toString.call(i);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function F(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function U(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function rt(i,e){return U(i)?i:e}function D(i,e){return typeof i>"u"?e:i}var Xa=(i,e)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100:+i/e,Zn=(i,e)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*e:+i;function j(i,e,t){if(i&&typeof i.call=="function")return i.apply(t,e)}function z(i,e,t,n){let o,s,a;if(N(i))if(s=i.length,n)for(o=s-1;o>=0;o--)e.call(t,i[o],o);else for(o=0;oi,x:i=>i.x,y:i=>i.y};function td(i){let e=i.split("."),t=[],n="";for(let o of e)n+=o,n.endsWith("\\")?n=n.slice(0,-1)+".":(t.push(n),n="");return t}function ed(i){let e=td(i);return t=>{for(let n of e){if(n==="")break;t=t&&t[n]}return t}}function zt(i,e){return(Ra[e]||(Ra[e]=ed(e)))(i)}function Qi(i){return i.charAt(0).toUpperCase()+i.slice(1)}var Le=i=>typeof i<"u",Lt=i=>typeof i=="function",Jn=(i,e)=>{if(i.size!==e.size)return!1;for(let t of i)if(!e.has(t))return!1;return!0};function Ka(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}var V=Math.PI,H=2*V,id=H+V,Xi=Number.POSITIVE_INFINITY,nd=V/180,X=V/2,ce=V/4,za=V*2/3,Rt=Math.log10,kt=Math.sign;function Re(i,e,t){return Math.abs(i-e)o-s).pop(),e}function me(i){return!isNaN(parseFloat(i))&&isFinite(i)}function Ga(i,e){let t=Math.round(i);return t-e<=i&&t+e>=i}function eo(i,e,t){let n,o,s;for(n=0,o=i.length;nc&&l=Math.min(e,t)-n&&i<=Math.max(e,t)+n}function Zi(i,e,t){t=t||(a=>i[a]1;)s=o+n>>1,t(s)?o=s:n=s;return{lo:o,hi:n}}var Pt=(i,e,t,n)=>Zi(i,t,n?o=>{let s=i[o][e];return si[o][e]Zi(i,t,n=>i[n][e]>=t);function tr(i,e,t){let n=0,o=i.length;for(;nn&&i[o-1]>t;)o--;return n>0||o{let n="_onData"+Qi(t),o=i[t];Object.defineProperty(i,t,{configurable:!0,enumerable:!1,value(...s){let a=o.apply(this,s);return i._chartjs.listeners.forEach(r=>{typeof r[n]=="function"&&r[n](...s)}),a}})})}function oo(i,e){let t=i._chartjs;if(!t)return;let n=t.listeners,o=n.indexOf(e);o!==-1&&n.splice(o,1),!(n.length>0)&&(er.forEach(s=>{delete i[s]}),delete i._chartjs)}function so(i){let e=new Set(i);return e.size===i.length?i:Array.from(e)}var ao=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function ro(i,e){let t=[],n=!1;return function(...o){t=o,n||(n=!0,ao.call(window,()=>{n=!1,i.apply(e,t)}))}}function nr(i,e){let t;return function(...n){return e?(clearTimeout(t),t=setTimeout(i,e,n)):i.apply(this,n),e}}var Ji=i=>i==="start"?"left":i==="end"?"right":"center",tt=(i,e,t)=>i==="start"?e:i==="end"?t:(e+t)/2,or=(i,e,t,n)=>i===(n?"left":"right")?t:i==="center"?(e+t)/2:e;function co(i,e,t){let n=e.length,o=0,s=n;if(i._sorted){let{iScale:a,_parsed:r}=i,c=a.axis,{min:l,max:d,minDefined:m,maxDefined:h}=a.getUserBounds();m&&(o=Z(Math.min(Pt(r,c,l).lo,t?n:Pt(e,c,a.getPixelForValue(l)).lo),0,n-1)),h?s=Z(Math.max(Pt(r,a.axis,d,!0).hi+1,t?0:Pt(e,c,a.getPixelForValue(d),!0).hi+1),o,n)-o:s=n-o}return{start:o,count:s}}function lo(i){let{xScale:e,yScale:t,_scaleRanges:n}=i,o={xmin:e.min,xmax:e.max,ymin:t.min,ymax:t.max};if(!n)return i._scaleRanges=o,!0;let s=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==t.min||n.ymax!==t.max;return Object.assign(n,o),s}var Wi=i=>i===0||i===1,Ba=(i,e,t)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-e)*H/t)),ja=(i,e,t)=>Math.pow(2,-10*i)*Math.sin((i-e)*H/t)+1,Te={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*X)+1,easeOutSine:i=>Math.sin(i*X),easeInOutSine:i=>-.5*(Math.cos(V*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>Wi(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>Wi(i)?i:Ba(i,.075,.3),easeOutElastic:i=>Wi(i)?i:ja(i,.075,.3),easeInOutElastic(i){return Wi(i)?i:i<.5?.5*Ba(i*2,.1125,.45):.5+.5*ja(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let e=1.70158;return(i/=.5)<1?.5*(i*i*(((e*=1.525)+1)*i-e)):.5*((i-=2)*i*(((e*=1.525)+1)*i+e)+2)},easeInBounce:i=>1-Te.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?Te.easeInBounce(i*2)*.5:Te.easeOutBounce(i*2-1)*.5+.5};function mo(i){if(i&&typeof i=="object"){let e=i.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function ho(i){return mo(i)?i:new ni(i)}function Kn(i){return mo(i)?i:new ni(i).saturate(.5).darken(.1).hexString()}var sd=["x","y","borderWidth","radius","tension"],ad=["color","borderColor","backgroundColor"];function rd(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),i.set("animations",{colors:{type:"color",properties:ad},numbers:{type:"number",properties:sd}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function cd(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Na=new Map;function ld(i,e){e=e||{};let t=i+JSON.stringify(e),n=Na.get(t);return n||(n=new Intl.NumberFormat(i,e),Na.set(t,n)),n}function Be(i,e,t){return ld(e,t).format(i)}var sr={values(i){return N(i)?i:""+i},numeric(i,e,t){if(i===0)return"0";let n=this.chart.options.locale,o,s=i;if(t.length>1){let l=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(l<1e-4||l>1e15)&&(o="scientific"),s=dd(i,t)}let a=Rt(Math.abs(s)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:o,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(c,this.options.ticks.format),Be(i,n,c)},logarithmic(i,e,t){if(i===0)return"0";let n=t[e].significand||i/Math.pow(10,Math.floor(Rt(i)));return[1,2,3,5,10,15].includes(n)||e>.8*t.length?sr.numeric.call(this,i,e,t):""}};function dd(i,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&i!==Math.floor(i)&&(t=i-Math.floor(i)),t}var ci={formatters:sr};function md(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ci.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}var Gt=Object.create(null),tn=Object.create(null);function si(i,e){if(!e)return i;let t=e.split(".");for(let n=0,o=t.length;nn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,o)=>Kn(o.backgroundColor),this.hoverBorderColor=(n,o)=>Kn(o.borderColor),this.hoverColor=(n,o)=>Kn(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Qn(this,e,t)}get(e){return si(this,e)}describe(e,t){return Qn(tn,e,t)}override(e,t){return Qn(Gt,e,t)}route(e,t,n,o){let s=si(this,e),a=si(this,n),r="_"+t;Object.defineProperties(s,{[r]:{value:s[t],writable:!0},[t]:{enumerable:!0,get(){let c=this[r],l=a[o];return F(c)?Object.assign({},l,c):D(c,l)},set(c){this[r]=c}}})}apply(e){e.forEach(t=>t(this))}},$=new Gn({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[rd,cd,md]);function hd(i){return!i||R(i.size)||R(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function ai(i,e,t,n,o){let s=e[o];return s||(s=e[o]=i.measureText(o).width,t.push(o)),s>n&&(n=s),n}function ar(i,e,t,n){n=n||{};let o=n.data=n.data||{},s=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(o=n.data={},s=n.garbageCollect=[],n.font=e),i.save(),i.font=e;let a=0,r=t.length,c,l,d,m,h;for(c=0;ct.length){for(c=0;c0&&i.stroke()}}function Ot(i,e,t){return t=t||.5,!e||i&&i.x>e.left-t&&i.xe.top-t&&i.y0&&s.strokeColor!=="",c,l;for(i.save(),i.font=o.string,gd(i,s),c=0;c+i||0;function nn(i,e){let t={},n=F(e),o=n?Object.keys(e):e,s=F(i)?n?a=>D(i[a],i[e[a]]):a=>i[a]:()=>i;for(let a of o)t[a]=xd(s(a));return t}function uo(i){return nn(i,{top:"y",right:"x",bottom:"y",left:"x"})}function te(i){return nn(i,["topLeft","topRight","bottomLeft","bottomRight"])}function et(i){let e=uo(i);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Q(i,e){i=i||{},e=e||$.font;let t=D(i.size,e.size);typeof t=="string"&&(t=parseInt(t,10));let n=D(i.style,e.style);n&&!(""+n).match(bd)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);let o={family:D(i.family,e.family),lineHeight:_d(D(i.lineHeight,e.lineHeight),t),size:t,style:n,weight:D(i.weight,e.weight),string:""};return o.string=hd(o),o}function Ne(i,e,t,n){let o=!0,s,a,r;for(s=0,a=i.length;st&&r===0?0:r+c;return{min:a(n,-Math.abs(s)),max:a(o,s)}}function Bt(i,e){return Object.assign(Object.create(i),e)}function on(i,e=[""],t,n,o=()=>i[0]){let s=t||i;typeof n>"u"&&(n=hr("_fallback",i));let a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:s,_fallback:n,_getTarget:o,override:r=>on([r,...i],e,s,n)};return new Proxy(a,{deleteProperty(r,c){return delete r[c],delete r._keys,delete i[0][c],!0},get(r,c){return dr(r,c,()=>Od(c,e,i,r))},getOwnPropertyDescriptor(r,c){return Reflect.getOwnPropertyDescriptor(r._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(r,c){return Ha(r).includes(c)},ownKeys(r){return Ha(r)},set(r,c,l){let d=r._storage||(r._storage=o());return r[c]=d[c]=l,delete r._keys,!0}})}function de(i,e,t,n){let o={_cacheable:!1,_proxy:i,_context:e,_subProxy:t,_stack:new Set,_descriptors:po(i,n),setContext:s=>de(i,s,t,n),override:s=>de(i.override(s),e,t,n)};return new Proxy(o,{deleteProperty(s,a){return delete s[a],delete i[a],!0},get(s,a,r){return dr(s,a,()=>vd(s,a,r))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(i,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,a)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(s,a){return Reflect.has(i,a)},ownKeys(){return Reflect.ownKeys(i)},set(s,a,r){return i[a]=r,delete s[a],!0}})}function po(i,e={scriptable:!0,indexable:!0}){let{_scriptable:t=e.scriptable,_indexable:n=e.indexable,_allKeys:o=e.allKeys}=i;return{allKeys:o,scriptable:t,indexable:n,isScriptable:Lt(t)?t:()=>t,isIndexable:Lt(n)?n:()=>n}}var wd=(i,e)=>i?i+Qi(e):e,bo=(i,e)=>F(e)&&i!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function dr(i,e,t){if(Object.prototype.hasOwnProperty.call(i,e)||e==="constructor")return i[e];let n=t();return i[e]=n,n}function vd(i,e,t){let{_proxy:n,_context:o,_subProxy:s,_descriptors:a}=i,r=n[e];return Lt(r)&&a.isScriptable(e)&&(r=yd(e,r,i,t)),N(r)&&r.length&&(r=kd(e,r,i,a.isIndexable)),bo(e,r)&&(r=de(r,o,s&&s[e],a)),r}function yd(i,e,t,n){let{_proxy:o,_context:s,_subProxy:a,_stack:r}=t;if(r.has(i))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+i);r.add(i);let c=e(s,a||n);return r.delete(i),bo(i,c)&&(c=_o(o._scopes,o,i,c)),c}function kd(i,e,t,n){let{_proxy:o,_context:s,_subProxy:a,_descriptors:r}=t;if(typeof s.index<"u"&&n(i))return e[s.index%e.length];if(F(e[0])){let c=e,l=o._scopes.filter(d=>d!==c);e=[];for(let d of c){let m=_o(l,o,i,d);e.push(de(m,s,a&&a[i],r))}}return e}function mr(i,e,t){return Lt(i)?i(e,t):i}var Md=(i,e)=>i===!0?e:typeof i=="string"?zt(e,i):void 0;function Cd(i,e,t,n,o){for(let s of e){let a=Md(t,s);if(a){i.add(a);let r=mr(a._fallback,t,o);if(typeof r<"u"&&r!==t&&r!==n)return r}else if(a===!1&&typeof n<"u"&&t!==n)return null}return!1}function _o(i,e,t,n){let o=e._rootScopes,s=mr(e._fallback,t,n),a=[...i,...o],r=new Set;r.add(n);let c=Va(r,a,t,s||t,n);return c===null||typeof s<"u"&&s!==t&&(c=Va(r,a,s,c,n),c===null)?!1:on(Array.from(r),[""],o,s,()=>Pd(e,t,n))}function Va(i,e,t,n,o){for(;t;)t=Cd(i,e,t,n,o);return t}function Pd(i,e,t){let n=i._getTarget();e in n||(n[e]={});let o=n[e];return N(o)&&F(t)?t:o||{}}function Od(i,e,t,n){let o;for(let s of e)if(o=hr(wd(s,i),t),typeof o<"u")return bo(i,o)?_o(t,n,i,o):o}function hr(i,e){for(let t of e){if(!t)continue;let n=t[i];if(typeof n<"u")return n}}function Ha(i){let e=i._keys;return e||(e=i._keys=Sd(i._scopes)),e}function Sd(i){let e=new Set;for(let t of i)for(let n of Object.keys(t).filter(o=>!o.startsWith("_")))e.add(n);return Array.from(e)}function xo(i,e,t,n){let{iScale:o}=i,{key:s="r"}=this._parsing,a=new Array(n),r,c,l,d;for(r=0,c=n;rei==="x"?"y":"x";function Ad(i,e,t,n){let o=i.skip?e:i,s=e,a=t.skip?e:t,r=qi(s,o),c=qi(a,s),l=r/(r+c),d=c/(r+c);l=isNaN(l)?0:l,d=isNaN(d)?0:d;let m=n*l,h=n*d;return{previous:{x:s.x-m*(a.x-o.x),y:s.y-m*(a.y-o.y)},next:{x:s.x+h*(a.x-o.x),y:s.y+h*(a.y-o.y)}}}function Td(i,e,t){let n=i.length,o,s,a,r,c,l=Ee(i,0);for(let d=0;d!l.skip)),e.cubicInterpolationMode==="monotone")Ed(i,o);else{let l=n?i[i.length-1]:i[0];for(s=0,a=i.length;si.ownerDocument.defaultView.getComputedStyle(i,null);function Ld(i,e){return rn(i).getPropertyValue(e)}var Rd=["top","right","bottom","left"];function le(i,e,t){let n={};t=t?"-"+t:"";for(let o=0;o<4;o++){let s=Rd[o];n[s]=parseFloat(i[e+"-"+s+t])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}var zd=(i,e,t)=>(i>0||e>0)&&(!t||!t.shadowRoot);function Bd(i,e){let t=i.touches,n=t&&t.length?t[0]:i,{offsetX:o,offsetY:s}=n,a=!1,r,c;if(zd(o,s,i.target))r=o,c=s;else{let l=e.getBoundingClientRect();r=n.clientX-l.left,c=n.clientY-l.top,a=!0}return{x:r,y:c,box:a}}function ee(i,e){if("native"in i)return i;let{canvas:t,currentDevicePixelRatio:n}=e,o=rn(t),s=o.boxSizing==="border-box",a=le(o,"padding"),r=le(o,"border","width"),{x:c,y:l,box:d}=Bd(i,t),m=a.left+(d&&r.left),h=a.top+(d&&r.top),{width:g,height:f}=e;return s&&(g-=a.width+r.width,f-=a.height+r.height),{x:Math.round((c-m)/g*t.width/n),y:Math.round((l-h)/f*t.height/n)}}function jd(i,e,t){let n,o;if(e===void 0||t===void 0){let s=i&&an(i);if(!s)e=i.clientWidth,t=i.clientHeight;else{let a=s.getBoundingClientRect(),r=rn(s),c=le(r,"border","width"),l=le(r,"padding");e=a.width-l.width-c.width,t=a.height-l.height-c.height,n=Ki(r.maxWidth,s,"clientWidth"),o=Ki(r.maxHeight,s,"clientHeight")}}return{width:e,height:t,maxWidth:n||Xi,maxHeight:o||Xi}}var Ui=i=>Math.round(i*10)/10;function ur(i,e,t,n){let o=rn(i),s=le(o,"margin"),a=Ki(o.maxWidth,i,"clientWidth")||Xi,r=Ki(o.maxHeight,i,"clientHeight")||Xi,c=jd(i,e,t),{width:l,height:d}=c;if(o.boxSizing==="content-box"){let h=le(o,"border","width"),g=le(o,"padding");l-=g.width+h.width,d-=g.height+h.height}return l=Math.max(0,l-s.width),d=Math.max(0,n?l/n:d-s.height),l=Ui(Math.min(l,a,c.maxWidth)),d=Ui(Math.min(d,r,c.maxHeight)),l&&!d&&(d=Ui(l/2)),(e!==void 0||t!==void 0)&&n&&c.height&&d>c.height&&(d=c.height,l=Ui(Math.floor(d*n))),{width:l,height:d}}function wo(i,e,t){let n=e||1,o=Math.floor(i.height*n),s=Math.floor(i.width*n);i.height=Math.floor(i.height),i.width=Math.floor(i.width);let a=i.canvas;return a.style&&(t||!a.style.height&&!a.style.width)&&(a.style.height=`${i.height}px`,a.style.width=`${i.width}px`),i.currentDevicePixelRatio!==n||a.height!==o||a.width!==s?(i.currentDevicePixelRatio=n,a.height=o,a.width=s,i.ctx.setTransform(n,0,0,n,0,0),!0):!1}var pr=function(){let i=!1;try{let e={get passive(){return i=!0,!1}};sn()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return i}();function vo(i,e){let t=Ld(i,e),n=t&&t.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Qt(i,e,t,n){return{x:i.x+t*(e.x-i.x),y:i.y+t*(e.y-i.y)}}function br(i,e,t,n){return{x:i.x+t*(e.x-i.x),y:n==="middle"?t<.5?i.y:e.y:n==="after"?t<1?i.y:e.y:t>0?e.y:i.y}}function _r(i,e,t,n){let o={x:i.cp2x,y:i.cp2y},s={x:e.cp1x,y:e.cp1y},a=Qt(i,o,t),r=Qt(o,s,t),c=Qt(s,e,t),l=Qt(a,r,t),d=Qt(r,c,t);return Qt(l,d,t)}var Nd=function(i,e){return{x(t){return i+i+e-t},setWidth(t){e=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,n){return t-n},leftForLtr(t,n){return t-n}}},Vd=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,e){return i+e},leftForLtr(i,e){return i}}};function he(i,e,t){return i?Nd(e,t):Vd()}function yo(i,e){let t,n;(e==="ltr"||e==="rtl")&&(t=i.canvas.style,n=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),i.prevTextDirection=n)}function ko(i,e){e!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",e[0],e[1]))}function xr(i){return i==="angle"?{between:ze,compare:od,normalize:at}:{between:Dt,compare:(e,t)=>e-t,normalize:e=>e}}function Wa({start:i,end:e,count:t,loop:n,style:o}){return{start:i%t,end:e%t,loop:n&&(e-i+1)%t===0,style:o}}function Hd(i,e,t){let{property:n,start:o,end:s}=t,{between:a,normalize:r}=xr(n),c=e.length,{start:l,end:d,loop:m}=i,h,g;if(m){for(l+=c,d+=c,h=0,g=c;hc(o,w,_)&&r(o,w)!==0,x=()=>r(s,_)===0||c(s,w,_),v=()=>u||y(),P=()=>!u||x();for(let k=d,O=d;k<=m;++k)b=e[k%a],!b.skip&&(_=l(b[n]),_!==w&&(u=c(_,o,s),p===null&&v()&&(p=r(_,o)===0?k:O),p!==null&&P()&&(f.push(Wa({start:p,end:k,loop:h,count:a,style:g})),p=null),O=k,w=_));return p!==null&&f.push(Wa({start:p,end:m,loop:h,count:a,style:g})),f}function Co(i,e){let t=[],n=i.segments;for(let o=0;oo&&i[s%e].skip;)s--;return s%=e,{start:o,end:s}}function Yd(i,e,t,n){let o=i.length,s=[],a=e,r=i[e],c;for(c=e+1;c<=t;++c){let l=i[c%o];l.skip||l.stop?r.skip||(n=!1,s.push({start:e%o,end:(c-1)%o,loop:n}),e=a=l.stop?c:null):(a=c,r.skip&&(e=c)),r=l}return a!==null&&s.push({start:e%o,end:a%o,loop:n}),s}function wr(i,e){let t=i.points,n=i.options.spanGaps,o=t.length;if(!o)return[];let s=!!i._loop,{start:a,end:r}=Wd(t,o,s,n);if(n===!0)return Ya(i,[{start:a,end:r,loop:s}],t,e);let c=rr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=ao.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,o)=>{if(!n.running||!n.items.length)return;let s=n.items,a=s.length-1,r=!1,c;for(;a>=0;--a)c=s[a],c._active?(c._total>n.duration&&(n.duration=c._total),c.tick(e),r=!0):(s[a]=s[s.length-1],s.pop());r&&(o.draw(),this._notify(o,n,e,"progress")),s.length||(n.running=!1,this._notify(o,n,e,"complete"),n.initial=!1),t+=s.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((n,o)=>Math.max(n,o._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,o=n.length-1;for(;o>=0;--o)n[o].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}},jt=new Lo,vr="transparent",Xd={boolean(i,e,t){return t>.5?e:i},color(i,e,t){let n=ho(i||vr),o=n.valid&&ho(e||vr);return o&&o.valid?o.mix(n,t).hexString():e},number(i,e,t){return i+(e-i)*t}},Ro=class{constructor(e,t,n,o){let s=t[n];o=Ne([e.to,o,s,e.from]);let a=Ne([e.from,s,o]);this._active=!0,this._fn=e.fn||Xd[e.type||typeof a],this._easing=Te[e.easing]||Te.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let o=this._target[this._prop],s=n-this._start,a=this._duration-s;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=s,this._loop=!!e.loop,this._to=Ne([e.to,t,o,e.from]),this._from=Ne([e.from,o,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,o=this._prop,s=this._from,a=this._loop,r=this._to,c;if(this._active=s!==r&&(a||t1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(s,r,c)}wait(){let e=this._promises||(this._promises=[]);return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?"res":"rej",n=this._promises||[];for(let o=0;o{let s=e[o];if(!F(s))return;let a={};for(let r of t)a[r]=s[r];(N(s.properties)&&s.properties||[o]).forEach(r=>{(r===o||!n.has(r))&&n.set(r,a)})})}_animateOptions(e,t){let n=t.options,o=Kd(e,n);if(!o)return[];let s=this._createAnimations(o,n);return n.$shared&&qd(e.options.$animations,n).then(()=>{e.options=n},()=>{}),s}_createAnimations(e,t){let n=this._properties,o=[],s=e.$animations||(e.$animations={}),a=Object.keys(t),r=Date.now(),c;for(c=a.length-1;c>=0;--c){let l=a[c];if(l.charAt(0)==="$")continue;if(l==="options"){o.push(...this._animateOptions(e,t));continue}let d=t[l],m=s[l],h=n.get(l);if(m)if(h&&m.active()){m.update(h,d,r);continue}else m.cancel();if(!h||!h.duration){e[l]=d;continue}s[l]=m=new Ro(h,e,l,d),o.push(m)}return o}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return jt.add(this._chart,n),!0}};function qd(i,e){let t=[],n=Object.keys(e);for(let o=0;o0||!t&&s<0)return o.index}return null}function Pr(i,e){let{chart:t,_cachedMeta:n}=i,o=t._stacks||(t._stacks={}),{iScale:s,vScale:a,index:r}=n,c=s.axis,l=a.axis,d=Jd(s,a,n),m=e.length,h;for(let g=0;gt[n].axis===e).shift()}function im(i,e){return Bt(i,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function nm(i,e,t){return Bt(i,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:t,index:e,mode:"default",type:"data"})}function mi(i,e){let t=i.controller.index,n=i.vScale&&i.vScale.axis;if(n){e=e||i._parsed;for(let o of e){let s=o._stacks;if(!s||s[n]===void 0||s[n][t]===void 0)return;delete s[n][t],s[n]._visualValues!==void 0&&s[n]._visualValues[t]!==void 0&&delete s[n]._visualValues[t]}}}var Oo=i=>i==="reset"||i==="none",Or=(i,e)=>e?i:Object.assign({},i),om=(i,e,t)=>i&&!e.hidden&&e._stacked&&{keys:yc(t,!0),values:null},ne=(()=>{class i{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Mr(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&mi(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,n=this._cachedMeta,o=this.getDataset(),s=(h,g,f,u)=>h==="x"?g:h==="r"?u:f,a=n.xAxisID=D(o.xAxisID,Po(t,"x")),r=n.yAxisID=D(o.yAxisID,Po(t,"y")),c=n.rAxisID=D(o.rAxisID,Po(t,"r")),l=n.indexAxis,d=n.iAxisID=s(l,a,r,c),m=n.vAxisID=s(l,r,a,c);n.xScale=this.getScaleForId(a),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(m)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&oo(this._data,this),t._stacked&&mi(t)}_dataCheck(){let t=this.getDataset(),n=t.data||(t.data=[]),o=this._data;if(F(n)){let s=this._cachedMeta;this._data=Zd(n,s)}else if(o!==n){if(o){oo(o,this);let s=this._cachedMeta;mi(s),s._parsed=[]}n&&Object.isExtensible(n)&&ir(n,this),this._syncList=[],this._data=n}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let n=this._cachedMeta,o=this.getDataset(),s=!1;this._dataCheck();let a=n._stacked;n._stacked=Mr(n.vScale,n),n.stack!==o.stack&&(s=!0,mi(n),n.stack=o.stack),this._resyncElements(t),(s||a!==n._stacked)&&Pr(this,n._parsed)}configure(){let t=this.chart.config,n=t.datasetScopeKeys(this._type),o=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){let{_cachedMeta:o,_data:s}=this,{iScale:a,_stacked:r}=o,c=a.axis,l=t===0&&n===s.length?!0:o._sorted,d=t>0&&o._parsed[t-1],m,h,g;if(this._parsing===!1)o._parsed=s,o._sorted=!0,g=s;else{N(s[t])?g=this.parseArrayData(o,s,t,n):F(s[t])?g=this.parseObjectData(o,s,t,n):g=this.parsePrimitiveData(o,s,t,n);let f=()=>h[c]===null||d&&h[c]p||h=0;--g)if(!u()){this.updateRangeFromParsed(d,t,f,l);break}}return d}getAllParsedValues(t){let n=this._cachedMeta._parsed,o=[],s,a,r;for(s=0,a=n.length;s=0&&tthis.getContext(o,s,n),p=d.resolveNamedOptions(g,f,u,h);return p.$shared&&(p.$shared=l,a[r]=Object.freeze(Or(p,l))),p}_resolveAnimations(t,n,o){let s=this.chart,a=this._cachedDataOpts,r=`animation-${n}`,c=a[r];if(c)return c;let l;if(s.options.animation!==!1){let m=this.chart.config,h=m.datasetAnimationScopeKeys(this._type,n),g=m.getOptionScopes(this.getDataset(),h);l=m.createResolver(g,this.getContext(t,o,n))}let d=new bn(s,l&&l.animations);return l&&l._cacheable&&(a[r]=Object.freeze(d)),d}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Oo(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){let o=this.resolveDataElementOptions(t,n),s=this._sharedOptions,a=this.getSharedOptions(o),r=this.includeOptions(n,a)||a!==s;return this.updateSharedOptions(a,n,o),{sharedOptions:a,includeOptions:r}}updateElement(t,n,o,s){Oo(s)?Object.assign(t,o):this._resolveAnimations(n,s).update(t,o)}updateSharedOptions(t,n,o){t&&!Oo(n)&&this._resolveAnimations(void 0,n).update(t,o)}_setStyle(t,n,o,s){t.active=s;let a=this.getStyle(n,s);this._resolveAnimations(n,o,s).update(t,{options:!s&&this.getSharedOptions(a)||a})}removeHoverStyle(t,n,o){this._setStyle(t,o,"active",!1)}setHoverStyle(t,n,o){this._setStyle(t,o,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let n=this._data,o=this._cachedMeta.data;for(let[c,l,d]of this._syncList)this[c](l,d);this._syncList=[];let s=o.length,a=n.length,r=Math.min(a,s);r&&this.parse(0,r),a>s?this._insertElements(s,a-s,t):a{for(d.length+=n,c=d.length-1;c>=r;c--)d[c]=d[c-n]};for(l(a),c=t;co-s))}return i._cache.$bar}function am(i){let e=i.iScale,t=sm(e,i.type),n=e._length,o,s,a,r,c=()=>{a===32767||a===-32768||(Le(r)&&(n=Math.min(n,Math.abs(a-r)||n)),r=a)};for(o=0,s=t.length;o0?o[i-1]:null,r=iMath.abs(r)&&(c=r,l=a),e[t.axis]=l,e._custom={barStart:c,barEnd:l,start:o,end:s,min:a,max:r}}function kc(i,e,t,n){return N(i)?lm(i,e,t,n):e[t.axis]=t.parse(i,n),e}function Sr(i,e,t,n){let o=i.iScale,s=i.vScale,a=o.getLabels(),r=o===s,c=[],l,d,m,h;for(l=t,d=t+n;l=t?1:-1)}function mm(i){let e,t,n,o,s;return i.horizontal?(e=i.base>i.x,t="left",n="right"):(e=i.base{class i extends ne{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,n,o,s){return Sr(t,n,o,s)}parseArrayData(t,n,o,s){return Sr(t,n,o,s)}parseObjectData(t,n,o,s){let{iScale:a,vScale:r}=t,{xAxisKey:c="x",yAxisKey:l="y"}=this._parsing,d=a.axis==="x"?c:l,m=r.axis==="x"?c:l,h=[],g,f,u,p;for(g=o,f=o+s;gl.controller.options.grouped),a=o.options.stacked,r=[],c=l=>{let d=l.controller.getParsed(n),m=d&&d[l.vScale.axis];if(R(m)||isNaN(m))return!0};for(let l of s)if(!(n!==void 0&&c(l))&&((a===!1||r.indexOf(l.stack)===-1||a===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,o){let s=this._getStacks(t,o),a=n!==void 0?s.indexOf(n):-1;return a===-1?s.length-1:a}_getRuler(){let t=this.options,n=this._cachedMeta,o=n.iScale,s=[],a,r;for(a=0,r=n.data.length;a{class i extends ne{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,o,s){let a=super.parsePrimitiveData(t,n,o,s);for(let r=0;r=0;--o)n=Math.max(n,t[o].size(this.resolveDataElementOptions(o))/2);return n>0&&n}getLabelAndValue(t){let n=this._cachedMeta,o=this.chart.data.labels||[],{xScale:s,yScale:a}=n,r=this.getParsed(t),c=s.getLabelForValue(r.x),l=a.getLabelForValue(r.y),d=r._custom;return{label:o[t]||"",value:"("+c+", "+l+(d?", "+d:"")+")"}}update(t){let n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,o,s){let a=s==="reset",{iScale:r,vScale:c}=this._cachedMeta,{sharedOptions:l,includeOptions:d}=this._getSharedOptions(n,s),m=r.axis,h=c.axis;for(let g=n;gze(w,r,c,!0)?1:Math.max(y,y*t,x,x*t),f=(w,y,x)=>ze(w,r,c,!0)?-1:Math.min(y,y*t,x,x*t),u=g(0,l,m),p=g(X,d,h),_=f(V,l,m),b=f(V+X,d,h);n=(u-_)/2,o=(p-b)/2,s=-(u+_)/2,a=-(p+b)/2}return{ratioX:n,ratioY:o,offsetX:s,offsetY:a}}var is=(()=>{class i extends ne{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let n=t.data;if(n.labels.length&&n.datasets.length){let{labels:{pointStyle:o,color:s}}=t.legend.options;return n.labels.map((a,r)=>{let l=t.getDatasetMeta(0).controller.getStyle(r);return{text:a,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:s,lineWidth:l.borderWidth,pointStyle:o,hidden:!t.getDataVisibility(r),index:r}})}return[]}},onClick(t,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}};constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){let o=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=o;else{let a=l=>+o[l];if(F(o[t])){let{key:l="value"}=this._parsing;a=d=>+zt(o[d],l)}let r,c;for(r=t,c=t+n;r0&&!isNaN(t)?H*(Math.abs(t)/n):0}getLabelAndValue(t){let n=this._cachedMeta,o=this.chart,s=o.data.labels||[],a=Be(n._parsed[t],o.options.locale);return{label:s[t]||"",value:a}}getMaxBorderWidth(t){let n=0,o=this.chart,s,a,r,c,l;if(!t){for(s=0,a=o.data.datasets.length;s{class i extends ne{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let n=this._cachedMeta,{dataset:o,data:s=[],_dataset:a}=n,r=this.chart._animationsDisabled,{start:c,count:l}=co(n,s,r);this._drawStart=c,this._drawCount=l,lo(n)&&(c=0,l=s.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!a._decimated,o.points=s;let d=this.resolveDatasetElementOptions(t);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(o,void 0,{animated:!r,options:d},t),this.updateElements(s,c,l,t)}updateElements(t,n,o,s){let a=s==="reset",{iScale:r,vScale:c,_stacked:l,_dataset:d}=this._cachedMeta,{sharedOptions:m,includeOptions:h}=this._getSharedOptions(n,s),g=r.axis,f=c.axis,{spanGaps:u,segment:p}=this.options,_=me(u)?u:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||a||s==="none",w=n+o,y=t.length,x=n>0&&this.getParsed(n-1);for(let v=0;v=w){k.skip=!0;continue}let O=this.getParsed(v),E=R(O[f]),T=k[g]=r.getPixelForValue(O[g],v),L=k[f]=a||E?c.getBasePixel():c.getPixelForValue(l?this.applyStack(c,O,l):O[f],v);k.skip=isNaN(T)||isNaN(L)||E,k.stop=v>0&&Math.abs(O[g]-x[g])>_,p&&(k.parsed=O,k.raw=d.data[v]),h&&(k.options=m||this.resolveDataElementOptions(v,P.active?"active":s)),b||this.updateElement(P,v,k,s),x=O}}getMaxOverflow(){let t=this._cachedMeta,n=t.dataset,o=n.options&&n.options.borderWidth||0,s=t.data||[];if(!s.length)return o;let a=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,a,r)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return i})(),Mc=(()=>{class i extends ne{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let n=t.data;if(n.labels.length&&n.datasets.length){let{labels:{pointStyle:o,color:s}}=t.legend.options;return n.labels.map((a,r)=>{let l=t.getDatasetMeta(0).controller.getStyle(r);return{text:a,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:s,lineWidth:l.borderWidth,pointStyle:o,hidden:!t.getDataVisibility(r),index:r}})}return[]}},onClick(t,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let n=this._cachedMeta,o=this.chart,s=o.data.labels||[],a=Be(n._parsed[t].r,o.options.locale);return{label:s[t]||"",value:a}}parseObjectData(t,n,o,s){return xo.bind(this)(t,n,o,s)}update(t){let n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){let t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((o,s)=>{let a=this.getParsed(s).r;!isNaN(a)&&this.chart.getDataVisibility(s)&&(an.max&&(n.max=a))}),n}_updateRadius(){let t=this.chart,n=t.chartArea,o=t.options,s=Math.min(n.right-n.left,n.bottom-n.top),a=Math.max(s/2,0),r=Math.max(o.cutoutPercentage?a/100*o.cutoutPercentage:1,0),c=(a-r)/t.getVisibleDatasetCount();this.outerRadius=a-c*this.index,this.innerRadius=this.outerRadius-c}updateElements(t,n,o,s){let a=s==="reset",r=this.chart,l=r.options.animation,d=this._cachedMeta.rScale,m=d.xCenter,h=d.yCenter,g=d.getIndexAngle(0)-.5*V,f=g,u,p=360/this.countVisibleElements();for(u=0;u{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&n++}),n}_computeAngle(t,n,o){return this.chart.getDataVisibility(t)?bt(this.resolveDataElementOptions(t,n).angle||o):0}}return i})(),xm=(()=>{class i extends is{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return i})(),wm=(()=>{class i extends ne{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let n=this._cachedMeta.vScale,o=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(o[n.axis])}}parseObjectData(t,n,o,s){return xo.bind(this)(t,n,o,s)}update(t){let n=this._cachedMeta,o=n.dataset,s=n.data||[],a=n.iScale.getLabels();if(o.points=s,t!=="resize"){let r=this.resolveDatasetElementOptions(t);this.options.showLine||(r.borderWidth=0);let c={_loop:!0,_fullLoop:a.length===s.length,options:r};this.updateElement(o,void 0,c,t)}this.updateElements(s,0,s.length,t)}updateElements(t,n,o,s){let a=this._cachedMeta.rScale,r=s==="reset";for(let c=n;c{class i extends ne{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let n=this._cachedMeta,o=this.chart.data.labels||[],{xScale:s,yScale:a}=n,r=this.getParsed(t),c=s.getLabelForValue(r.x),l=a.getLabelForValue(r.y);return{label:o[t]||"",value:"("+c+", "+l+")"}}update(t){let n=this._cachedMeta,{data:o=[]}=n,s=this.chart._animationsDisabled,{start:a,count:r}=co(n,o,s);if(this._drawStart=a,this._drawCount=r,lo(n)&&(a=0,r=o.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:c,_dataset:l}=n;c._chart=this.chart,c._datasetIndex=this.index,c._decimated=!!l._decimated,c.points=o;let d=this.resolveDatasetElementOptions(t);d.segment=this.options.segment,this.updateElement(c,void 0,{animated:!s,options:d},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(o,a,r,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,o,s){let a=s==="reset",{iScale:r,vScale:c,_stacked:l,_dataset:d}=this._cachedMeta,m=this.resolveDataElementOptions(n,s),h=this.getSharedOptions(m),g=this.includeOptions(s,h),f=r.axis,u=c.axis,{spanGaps:p,segment:_}=this.options,b=me(p)?p:Number.POSITIVE_INFINITY,w=this.chart._animationsDisabled||a||s==="none",y=n>0&&this.getParsed(n-1);for(let x=n;x0&&Math.abs(P[f]-y[f])>b,_&&(k.parsed=P,k.raw=d.data[x]),g&&(k.options=h||this.resolveDataElementOptions(x,v.active?"active":s)),w||this.updateElement(v,x,k,s),y=P}this.updateSharedOptions(h,s,m)}getMaxOverflow(){let t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let c=0;for(let l=n.length-1;l>=0;--l)c=Math.max(c,n[l].size(this.resolveDataElementOptions(l))/2);return c>0&&c}let o=t.dataset,s=o.options&&o.options.borderWidth||0;if(!n.length)return s;let a=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,a,r)/2}}return i})(),ym=Object.freeze({__proto__:null,BarController:um,BubbleController:pm,DoughnutController:is,LineController:_m,PieController:xm,PolarAreaController:Mc,RadarController:wm,ScatterController:vm});function ge(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var zo=class i{static override(e){Object.assign(i.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ge()}parse(){return ge()}format(){return ge()}add(){return ge()}diff(){return ge()}startOf(){return ge()}endOf(){return ge()}},km={_date:zo};function Mm(i,e,t,n){let{controller:o,data:s,_sorted:a}=i,r=o._cachedMeta.iScale;if(r&&e===r.axis&&e!=="r"&&a&&s.length){let c=r._reversePixels?Ja:Pt;if(n){if(o._sharedOptions){let l=s[0],d=typeof l.getRange=="function"&&l.getRange(e);if(d){let m=c(s,e,t-d),h=c(s,e,t+d);return{lo:m.lo,hi:h.hi}}}}else return c(s,e,t)}return{lo:0,hi:s.length-1}}function vi(i,e,t,n,o){let s=i.getSortedVisibleDatasetMetas(),a=t[e];for(let r=0,c=s.length;r{c[a](e[t],o)&&(s.push({element:c,datasetIndex:l,index:d}),r=r||c.inRange(e.x,e.y,o))}),n&&!r?[]:s}var Sm={evaluateInteractionItems:vi,modes:{index(i,e,t,n){let o=ee(e,i),s=t.axis||"x",a=t.includeInvisible||!1,r=t.intersect?Do(i,o,s,n,a):Ao(i,o,s,!1,n,a),c=[];return r.length?(i.getSortedVisibleDatasetMetas().forEach(l=>{let d=r[0].index,m=l.data[d];m&&!m.skip&&c.push({element:m,datasetIndex:l.index,index:d})}),c):[]},dataset(i,e,t,n){let o=ee(e,i),s=t.axis||"xy",a=t.includeInvisible||!1,r=t.intersect?Do(i,o,s,n,a):Ao(i,o,s,!1,n,a);if(r.length>0){let c=r[0].datasetIndex,l=i.getDatasetMeta(c).data;r=[];for(let d=0;dt.pos===e)}function Ir(i,e){return i.filter(t=>Cc.indexOf(t.pos)===-1&&t.box.axis===e)}function gi(i,e){return i.sort((t,n)=>{let o=e?n:t,s=e?t:n;return o.weight===s.weight?o.index-s.index:o.weight-s.weight})}function Dm(i){let e=[],t,n,o,s,a,r;for(t=0,n=(i||[]).length;tl.box.fullSize),!0),n=gi(hi(e,"left"),!0),o=gi(hi(e,"right")),s=gi(hi(e,"top"),!0),a=gi(hi(e,"bottom")),r=Ir(e,"x"),c=Ir(e,"y");return{fullSize:t,leftAndTop:n.concat(s),rightAndBottom:o.concat(c).concat(a).concat(r),chartArea:hi(e,"chartArea"),vertical:n.concat(o).concat(c),horizontal:s.concat(a).concat(r)}}function Er(i,e,t,n){return Math.max(i[t],e[t])+Math.max(i[n],e[n])}function Pc(i,e){i.top=Math.max(i.top,e.top),i.left=Math.max(i.left,e.left),i.bottom=Math.max(i.bottom,e.bottom),i.right=Math.max(i.right,e.right)}function Em(i,e,t,n){let{pos:o,box:s}=t,a=i.maxPadding;if(!F(o)){t.size&&(i[o]-=t.size);let m=n[t.stack]||{size:0,count:1};m.size=Math.max(m.size,t.horizontal?s.height:s.width),t.size=m.size/m.count,i[o]+=t.size}s.getPadding&&Pc(a,s.getPadding());let r=Math.max(0,e.outerWidth-Er(a,i,"left","right")),c=Math.max(0,e.outerHeight-Er(a,i,"top","bottom")),l=r!==i.w,d=c!==i.h;return i.w=r,i.h=c,t.horizontal?{same:l,other:d}:{same:d,other:l}}function Fm(i){let e=i.maxPadding;function t(n){let o=Math.max(e[n]-i[n],0);return i[n]+=o,o}i.y+=t("top"),i.x+=t("left"),t("right"),t("bottom")}function Lm(i,e){let t=e.maxPadding;function n(o){let s={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{s[a]=Math.max(e[a],t[a])}),s}return n(i?["left","right"]:["top","bottom"])}function pi(i,e,t,n){let o=[],s,a,r,c,l,d;for(s=0,a=i.length,l=0;s{typeof u.beforeLayout=="function"&&u.beforeLayout()});let d=c.reduce((u,p)=>p.box.options&&p.box.options.display===!1?u:u+1,0)||1,m=Object.freeze({outerWidth:e,outerHeight:t,padding:o,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/d,hBoxMaxHeight:a/2}),h=Object.assign({},o);Pc(h,et(n));let g=Object.assign({maxPadding:h,w:s,h:a,x:o.left,y:o.top},o),f=Tm(c.concat(l),m);pi(r.fullSize,g,m,f),pi(c,g,m,f),pi(l,g,m,f)&&pi(c,g,m,f),Fm(g),Fr(r.leftAndTop,g,m,f),g.x+=g.w,g.y+=g.h,Fr(r.rightAndBottom,g,m,f),i.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},z(r.chartArea,u=>{let p=u.box;Object.assign(p,i.chartArea),p.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}},_n=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,o){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,o?Math.floor(t/o):n)}}isAttached(e){return!0}updateConfig(e){}},Bo=class extends _n{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}},un="$chartjs",Rm={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Lr=i=>i===null||i==="";function zm(i,e){let t=i.style,n=i.getAttribute("height"),o=i.getAttribute("width");if(i[un]={initial:{height:n,width:o,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",Lr(o)){let s=vo(i,"width");s!==void 0&&(i.width=s)}if(Lr(n))if(i.style.height==="")i.height=i.width/(e||2);else{let s=vo(i,"height");s!==void 0&&(i.height=s)}return i}var Oc=pr?{passive:!0}:!1;function Bm(i,e,t){i&&i.addEventListener(e,t,Oc)}function jm(i,e,t){i&&i.canvas&&i.canvas.removeEventListener(e,t,Oc)}function Nm(i,e){let t=Rm[i.type]||i.type,{x:n,y:o}=ee(i,e);return{type:t,chart:e,native:i,x:n!==void 0?n:null,y:o!==void 0?o:null}}function xn(i,e){for(let t of i)if(t===e||t.contains(e))return!0}function Vm(i,e,t){let n=i.canvas,o=new MutationObserver(s=>{let a=!1;for(let r of s)a=a||xn(r.addedNodes,n),a=a&&!xn(r.removedNodes,n);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}function Hm(i,e,t){let n=i.canvas,o=new MutationObserver(s=>{let a=!1;for(let r of s)a=a||xn(r.removedNodes,n),a=a&&!xn(r.addedNodes,n);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}var _i=new Map,Rr=0;function Sc(){let i=window.devicePixelRatio;i!==Rr&&(Rr=i,_i.forEach((e,t)=>{t.currentDevicePixelRatio!==i&&e()}))}function Wm(i,e){_i.size||window.addEventListener("resize",Sc),_i.set(i,e)}function Ym(i){_i.delete(i),_i.size||window.removeEventListener("resize",Sc)}function Um(i,e,t){let n=i.canvas,o=n&&an(n);if(!o)return;let s=ro((r,c)=>{let l=o.clientWidth;t(r,c),l{let c=r[0],l=c.contentRect.width,d=c.contentRect.height;l===0&&d===0||s(l,d)});return a.observe(o),Wm(i,s),a}function To(i,e,t){t&&t.disconnect(),e==="resize"&&Ym(i)}function $m(i,e,t){let n=i.canvas,o=ro(s=>{i.ctx!==null&&t(Nm(s,i))},i);return Bm(n,e,o),o}var jo=class extends _n{acquireContext(e,t){let n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(zm(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[un])return!1;let n=t[un].initial;["height","width"].forEach(s=>{let a=n[s];R(a)?t.removeAttribute(s):t.setAttribute(s,a)});let o=n.style||{};return Object.keys(o).forEach(s=>{t.style[s]=o[s]}),t.width=t.width,delete t[un],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let o=e.$proxies||(e.$proxies={}),a={attach:Vm,detach:Hm,resize:Um}[t]||$m;o[t]=a(e,t,n)}removeEventListener(e,t){let n=e.$proxies||(e.$proxies={}),o=n[t];if(!o)return;({attach:To,detach:To,resize:To}[t]||jm)(e,t,o),n[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,o){return ur(e,t,n,o)}isAttached(e){let t=e&&an(e);return!!(t&&t.isConnected)}};function Xm(i){return!sn()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Bo:jo}var Mt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return me(this.x)&&me(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let o={};return e.forEach(s=>{o[s]=n[s]&&n[s].active()?n[s]._to:this[s]}),o}};function qm(i,e){let t=i.options.ticks,n=Km(i),o=Math.min(t.maxTicksLimit||n,n),s=t.major.enabled?Gm(e):[],a=s.length,r=s[0],c=s[a-1],l=[];if(a>o)return Zm(e,l,s,a/o),l;let d=Qm(s,e,o);if(a>0){let m,h,g=a>1?Math.round((c-r)/(a-1)):null;for(ln(e,l,d,R(g)?0:r-g,r),m=0,h=a-1;mo)return c}return Math.max(o,1)}function Gm(i){let e=[],t,n;for(t=0,n=i.length;ti==="left"?"right":i==="right"?"left":i,zr=(i,e,t)=>e==="top"||e==="left"?i[e]+t:i[e]-t,Br=(i,e)=>Math.min(e||i,i);function jr(i,e){let t=[],n=i.length/e,o=i.length,s=0;for(;sa+r)))return c}function ih(i,e){z(i,t=>{let n=t.gc,o=n.length/2,s;if(o>e){for(s=0;sn?n:t,n=o&&t>n?t:n,{min:rt(t,rt(n,t)),max:rt(n,rt(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){j(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:o,grace:s,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=lr(this,s,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let c=r=s||n<=1||!this.isHorizontal()){this.labelRotation=o;return}let d=this._getLabelSizes(),m=d.widest.width,h=d.highest.height,g=Z(this.chart.width-m,0,this.maxWidth);r=e.offset?this.maxWidth/n:g/(n-1),m+6>r&&(r=g/(n-(e.offset?.5:1)),c=this.maxHeight-fi(e.grid)-t.padding-Nr(e.title,this.chart.options.font),l=Math.sqrt(m*m+h*h),a=Gi(Math.min(Math.asin(Z((d.highest.height+6)/r,-1,1)),Math.asin(Z(c/l,-1,1))-Math.asin(Z(h/l,-1,1)))),a=Math.max(o,Math.min(s,a))),this.labelRotation=a}afterCalculateLabelRotation(){j(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){j(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:o,grid:s}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){let c=Nr(o,t.options.font);if(r?(e.width=this.maxWidth,e.height=fi(s)+c):(e.height=this.maxHeight,e.width=fi(s)+c),n.display&&this.ticks.length){let{first:l,last:d,widest:m,highest:h}=this._getLabelSizes(),g=n.padding*2,f=bt(this.labelRotation),u=Math.cos(f),p=Math.sin(f);if(r){let _=n.mirror?0:p*m.width+u*h.height;e.height=Math.min(this.maxHeight,e.height+_+g)}else{let _=n.mirror?0:u*m.width+p*h.height;e.width=Math.min(this.maxWidth,e.width+_+g)}this._calculatePadding(l,d,p,u)}}this._handleMargins(),r?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,o){let{ticks:{align:s,padding:a},position:r}=this.options,c=this.labelRotation!==0,l=r!=="top"&&this.axis==="x";if(this.isHorizontal()){let d=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1),h=0,g=0;c?l?(h=o*e.width,g=n*t.height):(h=n*e.height,g=o*t.width):s==="start"?g=t.width:s==="end"?h=e.width:s!=="inner"&&(h=e.width/2,g=t.width/2),this.paddingLeft=Math.max((h-d+a)*this.width/(this.width-d),0),this.paddingRight=Math.max((g-m+a)*this.width/(this.width-m),0)}else{let d=t.height/2,m=e.height/2;s==="start"?(d=0,m=e.height):s==="end"&&(d=t.height,m=0),this.paddingTop=d+a,this.paddingBottom=m+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){j(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t==="top"||t==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[O]||0,height:r[O]||0});return{first:k(0),last:k(t-1),widest:k(v),highest:k(P),widths:a,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Za(this._alignToPixels?Zt(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&er*o?r/n:c/o:c*o0}_computeGridLineItems(e){let t=this.axis,n=this.chart,o=this.options,{grid:s,position:a,border:r}=o,c=s.offset,l=this.isHorizontal(),m=this.ticks.length+(c?1:0),h=fi(s),g=[],f=r.setContext(this.getContext()),u=f.display?f.width:0,p=u/2,_=function(W){return Zt(n,W,u)},b,w,y,x,v,P,k,O,E,T,L,J;if(a==="top")b=_(this.bottom),P=this.bottom-h,O=b-p,T=_(e.top)+p,J=e.bottom;else if(a==="bottom")b=_(this.top),T=e.top,J=_(e.bottom)-p,P=b+p,O=this.top+h;else if(a==="left")b=_(this.right),v=this.right-h,k=b-p,E=_(e.left)+p,L=e.right;else if(a==="right")b=_(this.left),E=e.left,L=_(e.right)-p,v=b+p,k=this.left+h;else if(t==="x"){if(a==="center")b=_((e.top+e.bottom)/2+.5);else if(F(a)){let W=Object.keys(a)[0],q=a[W];b=_(this.chart.scales[W].getPixelForValue(q))}T=e.top,J=e.bottom,P=b+p,O=P+h}else if(t==="y"){if(a==="center")b=_((e.left+e.right)/2);else if(F(a)){let W=Object.keys(a)[0],q=a[W];b=_(this.chart.scales[W].getPixelForValue(q))}v=b-p,k=v-h,E=e.left,L=e.right}let dt=D(o.ticks.maxTicksLimit,m),B=Math.max(1,Math.ceil(m/dt));for(w=0;w0&&(se-=oe/2);break}yi={left:se,top:Ue,width:oe+be.width,height:Ye+be.height,color:B.backdropColor}}p.push({label:y,font:O,textOffset:L,options:{rotation:u,color:q,strokeColor:_t,strokeWidth:it,textAlign:pe,textBaseline:J,translation:[x,v],backdrop:yi}})}return p}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-bt(this.labelRotation))return e==="top"?"left":"right";let o="center";return t.align==="start"?o="left":t.align==="end"?o="right":t.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:o,padding:s}}=this.options,a=this._getLabelSizes(),r=e+s,c=a.widest.width,l,d;return t==="left"?o?(d=this.right+s,n==="near"?l="left":n==="center"?(l="center",d+=c/2):(l="right",d+=c)):(d=this.right-r,n==="near"?l="right":n==="center"?(l="center",d-=c/2):(l="left",d=this.left)):t==="right"?o?(d=this.left+s,n==="near"?l="right":n==="center"?(l="center",d-=c/2):(l="left",d-=c)):(d=this.left+r,n==="near"?l="left":n==="center"?(l="center",d+=c/2):(l="right",d=this.right)):l="right",{textAlign:l,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:o,width:s,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,o,s,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let o=this.ticks.findIndex(s=>s.value===e);return o>=0?t.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),s,a,r=(c,l,d)=>{!d.width||!d.color||(n.save(),n.lineWidth=d.width,n.strokeStyle=d.color,n.setLineDash(d.borderDash||[]),n.lineDashOffset=d.borderDashOffset,n.beginPath(),n.moveTo(c.x,c.y),n.lineTo(l.x,l.y),n.stroke(),n.restore())};if(t.display)for(s=0,a=o.length;s{this.draw(s)}}]:[{z:n,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:t,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",o=[],s,a;for(s=0,a=t.length;s{let n=t.split("."),o=n.pop(),s=[i].concat(n).join("."),a=e[t].split("."),r=a.pop(),c=a.join(".");$.route(s,o,c,r)})}function lh(i){return"id"in i&&"defaults"in i}var No=class{constructor(){this.controllers=new He(ne,"datasets",!0),this.elements=new He(Mt,"elements"),this.plugins=new He(Object,"plugins"),this.scales=new He(ue,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach(o=>{let s=n||this._getRegistryForType(o);n||s.isForType(o)||s===this.plugins&&o.id?this._exec(e,s,o):z(o,a=>{let r=n||this._getRegistryForType(a);this._exec(e,r,a)})})}_exec(e,t,n){let o=Qi(e);j(n["before"+o],[],n),t[e](n),j(n["after"+o],[],n)}_getRegistryForType(e){for(let t=0;ts.filter(r=>!a.some(c=>r.plugin.id===c.plugin.id));this._notify(o(t,n),e,"stop"),this._notify(o(n,t),e,"start")}};function dh(i){let e={},t=[],n=Object.keys(Tt.plugins.items);for(let s=0;s1&&Vr(i[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function Hr(i,e,t){if(t[e+"AxisID"]===i)return{axis:e}}function bh(i,e){if(e.data&&e.data.datasets){let t=e.data.datasets.filter(n=>n.xAxisID===i||n.yAxisID===i);if(t.length)return Hr(i,"x",t[0])||Hr(i,"y",t[0])}return{}}function _h(i,e){let t=Gt[i.type]||{scales:{}},n=e.scales||{},o=Ho(i.type,e),s=Object.create(null);return Object.keys(n).forEach(a=>{let r=n[a];if(!F(r))return console.error(`Invalid scale configuration for scale: ${a}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);let c=Wo(a,r,bh(a,i),$.scales[r.type]),l=uh(c,o),d=t.scales||{};s[a]=Fe(Object.create(null),[{axis:c},r,d[c],d[l]])}),i.data.datasets.forEach(a=>{let r=a.type||i.type,c=a.indexAxis||Ho(r,e),d=(Gt[r]||{}).scales||{};Object.keys(d).forEach(m=>{let h=fh(m,c),g=a[h+"AxisID"]||h;s[g]=s[g]||Object.create(null),Fe(s[g],[{axis:h},n[g],d[m]])})}),Object.keys(s).forEach(a=>{let r=s[a];Fe(r,[$.scales[r.type],$.scale])}),s}function Dc(i){let e=i.options||(i.options={});e.plugins=D(e.plugins,{}),e.scales=_h(i,e)}function Ac(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function xh(i){return i=i||{},i.data=Ac(i.data),Dc(i),i}var Wr=new Map,Tc=new Set;function dn(i,e){let t=Wr.get(i);return t||(t=e(),Wr.set(i,t),Tc.add(t)),t}var ui=(i,e,t)=>{let n=zt(e,t);n!==void 0&&i.add(n)},Yo=class{constructor(e){this._config=xh(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ac(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Dc(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return dn(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return dn(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return dn(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){let t=e.id,n=this.type;return dn(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,o=n.get(e);return(!o||t)&&(o=new Map,n.set(e,o)),o}getOptionScopes(e,t,n){let{options:o,type:s}=this,a=this._cachedScopes(e,n),r=a.get(t);if(r)return r;let c=new Set;t.forEach(d=>{e&&(c.add(e),d.forEach(m=>ui(c,e,m))),d.forEach(m=>ui(c,o,m)),d.forEach(m=>ui(c,Gt[s]||{},m)),d.forEach(m=>ui(c,$,m)),d.forEach(m=>ui(c,tn,m))});let l=Array.from(c);return l.length===0&&l.push(Object.create(null)),Tc.has(t)&&a.set(t,l),l}chartOptionScopes(){let{options:e,type:t}=this;return[e,Gt[t]||{},$.datasets[t]||{},{type:t},$,tn]}resolveNamedOptions(e,t,n,o=[""]){let s={$shared:!0},{resolver:a,subPrefixes:r}=Yr(this._resolverCache,e,o),c=a;if(vh(a,t)){s.$shared=!1,n=Lt(n)?n():n;let l=this.createResolver(e,n,r);c=de(a,n,l)}for(let l of t)s[l]=c[l];return s}createResolver(e,t,n=[""],o){let{resolver:s}=Yr(this._resolverCache,e,n);return F(t)?de(s,t,void 0,o):s}};function Yr(i,e,t){let n=i.get(e);n||(n=new Map,i.set(e,n));let o=t.join(),s=n.get(o);return s||(s={resolver:on(e,t),subPrefixes:t.filter(r=>!r.toLowerCase().includes("hover"))},n.set(o,s)),s}var wh=i=>F(i)&&Object.getOwnPropertyNames(i).some(e=>Lt(i[e]));function vh(i,e){let{isScriptable:t,isIndexable:n}=po(i);for(let o of e){let s=t(o),a=n(o),r=(a||s)&&i[o];if(s&&(Lt(r)||wh(r))||a&&N(r))return!0}return!1}var yh="4.4.3",kh=["top","bottom","left","right","chartArea"];function Ur(i,e){return i==="top"||i==="bottom"||kh.indexOf(i)===-1&&e==="x"}function $r(i,e){return function(t,n){return t[i]===n[i]?t[e]-n[e]:t[i]-n[i]}}function Xr(i){let e=i.chart,t=e.options.animation;e.notifyPlugins("afterRender"),j(t&&t.onComplete,[i],e)}function Mh(i){let e=i.chart,t=e.options.animation;j(t&&t.onProgress,[i],e)}function Ic(i){return sn()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}var pn={},qr=i=>{let e=Ic(i);return Object.values(pn).filter(t=>t.canvas===e).pop()};function Ch(i,e,t){let n=Object.keys(i);for(let o of n){let s=+o;if(s>=e){let a=i[o];delete i[o],(t>0||s>e)&&(i[s+t]=a)}}}function Ph(i,e,t,n){return!t||i.type==="mouseout"?null:n?e:i}function mn(i,e,t){return i.options.clip?i[t]:e[t]}function Oh(i,e){let{xScale:t,yScale:n}=i;return t&&n?{left:mn(t,e,"left"),right:mn(t,e,"right"),top:mn(n,e,"top"),bottom:mn(n,e,"bottom")}:e}var kn=(()=>{class i{static defaults=$;static instances=pn;static overrides=Gt;static registry=Tt;static version=yh;static getChart=qr;static register(...t){Tt.add(...t),Kr()}static unregister(...t){Tt.remove(...t),Kr()}constructor(t,n){let o=this.config=new Yo(n),s=Ic(t),a=qr(s);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");let r=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||Xm(s)),this.platform.updateConfig(o);let c=this.platform.acquireContext(s,r.aspectRatio),l=c&&c.canvas,d=l&&l.height,m=l&&l.width;if(this.id=$a(),this.ctx=c,this.canvas=l,this.width=m,this.height=d,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Vo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=nr(h=>this.update(h),r.resizeDelay||0),this._dataChanges=[],pn[this.id]=this,!c||!l){console.error("Failed to create chart: can't acquire context from the given item");return}jt.listen(this,"complete",Xr),jt.listen(this,"progress",Mh),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:n},width:o,height:s,_aspectRatio:a}=this;return R(t)?n&&a?a:s?o/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Tt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():wo(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return go(this.canvas,this.ctx),this}stop(){return jt.stop(this),this}resize(t,n){jt.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){let o=this.options,s=this.canvas,a=o.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(s,t,n,a),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,wo(this,c,!0)&&(this.notifyPlugins("resize",{size:r}),j(o.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){let n=this.options.scales||{};z(n,(o,s)=>{o.id=s})}buildOrUpdateScales(){let t=this.options,n=t.scales,o=this.scales,s=Object.keys(o).reduce((r,c)=>(r[c]=!1,r),{}),a=[];n&&(a=a.concat(Object.keys(n).map(r=>{let c=n[r],l=Wo(r,c),d=l==="r",m=l==="x";return{options:c,dposition:d?"chartArea":m?"bottom":"left",dtype:d?"radialLinear":m?"category":"linear"}}))),z(a,r=>{let c=r.options,l=c.id,d=Wo(l,c),m=D(c.type,r.dtype);(c.position===void 0||Ur(c.position,d)!==Ur(r.dposition))&&(c.position=r.dposition),s[l]=!0;let h=null;if(l in o&&o[l].type===m)h=o[l];else{let g=Tt.getScale(m);h=new g({id:l,type:m,ctx:this.ctx,chart:this}),o[h.id]=h}h.init(c,t)}),z(s,(r,c)=>{r||delete o[c]}),z(o,r=>{nt.configure(this,r,r.options),nt.addBox(this,r)})}_updateMetasets(){let t=this._metasets,n=this.data.datasets.length,o=t.length;if(t.sort((s,a)=>s.index-a.index),o>n){for(let s=n;sn.length&&delete this._stacks,t.forEach((o,s)=>{n.filter(a=>a===o._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){let t=[],n=this.data.datasets,o,s;for(this._removeUnreferencedMetasets(),o=0,s=n.length;o{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let n=this.config;n.update();let o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let d=0,m=this.data.datasets.length;d{d.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort($r("z","_idx"));let{_active:c,_lastEvent:l}=this;l?this._eventHandler(l,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){z(this.scales,t=>{nt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(t.events);(!Jn(n,o)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(let{method:o,start:s,count:a}of n){let r=o==="_removeElements"?-a:a;Ch(t,s,r)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let n=this.data.datasets.length,o=a=>new Set(t.filter(r=>r[0]===a).map((r,c)=>c+","+r.splice(1).join(","))),s=o(0);for(let a=1;aa.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;nt.update(this,this.width,this.height,t);let n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],z(this.boxes,s=>{o&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,a)=>{s._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let n=this.ctx,o=t._clip,s=!o.disabled,a=Oh(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(s&&li(n,{left:o.left===!1?0:a.left-o.left,right:o.right===!1?this.width:a.right+o.right,top:o.top===!1?0:a.top-o.top,bottom:o.bottom===!1?this.height:a.bottom+o.bottom}),t.controller.draw(),s&&di(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return Ot(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,o,s){let a=Sm.modes[n];return typeof a=="function"?a(this,t,o,s):[]}getDatasetMeta(t){let n=this.data.datasets[t],o=this._metasets,s=o.filter(a=>a&&a._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},o.push(s)),s}getContext(){return this.$context||(this.$context=Bt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let n=this.data.datasets[t];if(!n)return!1;let o=this.getDatasetMeta(t);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(t,n){let o=this.getDatasetMeta(t);o.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,o){let s=o?"show":"hide",a=this.getDatasetMeta(t),r=a.controller._resolveAnimations(void 0,s);Le(n)?(a.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(t,o),r.update(a,{visible:o}),this.update(c=>c.datasetIndex===t?s:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){let n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),jt.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,a,r),t[a]=r},s=(a,r,c)=>{a.offsetX=r,a.offsetY=c,this._eventHandler(a)};z(this.options.events,a=>o(a,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,n=this.platform,o=(l,d)=>{n.addEventListener(this,l,d),t[l]=d},s=(l,d)=>{t[l]&&(n.removeEventListener(this,l,d),delete t[l])},a=(l,d)=>{this.canvas&&this.resize(l,d)},r,c=()=>{s("attach",c),this.attached=!0,this.resize(),o("resize",a),o("detach",r)};r=()=>{this.attached=!1,s("resize",a),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():r()}unbindEvents(){z(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},z(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,o){let s=o?"set":"remove",a,r,c,l;for(n==="dataset"&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+s+"DatasetHoverStyle"]()),c=0,l=t.length;c{let c=this.getDatasetMeta(a);if(!c)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:c.data[r],index:r}});!ri(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(t,n,o){return this._plugins.notify(this,t,n,o)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,o){let s=this.options.hover,a=(l,d)=>l.filter(m=>!d.some(h=>m.datasetIndex===h.datasetIndex&&m.index===h.index)),r=a(n,t),c=o?t:a(t,n);r.length&&this.updateHoverStyle(r,s.mode,!1),c.length&&s.mode&&this.updateHoverStyle(c,s.mode,!0)}_eventHandler(t,n){let o={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},s=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",o,s)===!1)return;let a=this._handleEvent(t,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,s),(a||o.changed)&&this.render(),this}_handleEvent(t,n,o){let{_active:s=[],options:a}=this,r=n,c=this._getActiveElements(t,s,o,r),l=Ka(t),d=Ph(t,this._lastEvent,o,l);o&&(this._lastEvent=null,j(a.onHover,[t,c,this],this),l&&j(a.onClick,[t,c,this],this));let m=!ri(c,s);return(m||n)&&(this._active=c,this._updateHoverStyles(c,s,n)),this._lastEvent=d,m}_getActiveElements(t,n,o,s){if(t.type==="mouseout")return[];if(!o)return n;let a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,s)}}return i})();function Kr(){return z(kn.instances,i=>i._plugins.invalidate())}function Sh(i,e,t){let{startAngle:n,pixelMargin:o,x:s,y:a,outerRadius:r,innerRadius:c}=e,l=o/r;i.beginPath(),i.arc(s,a,r,n-l,t+l),c>o?(l=o/c,i.arc(s,a,c,t+l,n-l,!0)):i.arc(s,a,o,t+X,n-X),i.closePath(),i.clip()}function Dh(i){return nn(i,["outerStart","outerEnd","innerStart","innerEnd"])}function Ah(i,e,t,n){let o=Dh(i.options.borderRadius),s=(t-e)/2,a=Math.min(s,n*e/2),r=c=>{let l=(t-Math.min(s,c))*n/2;return Z(c,0,Math.min(s,l))};return{outerStart:r(o.outerStart),outerEnd:r(o.outerEnd),innerStart:Z(o.innerStart,0,a),innerEnd:Z(o.innerEnd,0,a)}}function Ve(i,e,t,n){return{x:t+i*Math.cos(e),y:n+i*Math.sin(e)}}function wn(i,e,t,n,o,s){let{x:a,y:r,startAngle:c,pixelMargin:l,innerRadius:d}=e,m=Math.max(e.outerRadius+n+t-l,0),h=d>0?d+n+t+l:0,g=0,f=o-c;if(n){let B=d>0?d-n:0,W=m>0?m-n:0,q=(B+W)/2,_t=q!==0?f*q/(q+n):f;g=(f-_t)/2}let u=Math.max(.001,f*m-t/V)/m,p=(f-u)/2,_=c+p+g,b=o-p-g,{outerStart:w,outerEnd:y,innerStart:x,innerEnd:v}=Ah(e,h,m,b-_),P=m-w,k=m-y,O=_+w/P,E=b-y/k,T=h+x,L=h+v,J=_+x/T,dt=b-v/L;if(i.beginPath(),s){let B=(O+E)/2;if(i.arc(a,r,m,O,B),i.arc(a,r,m,B,E),y>0){let it=Ve(k,E,a,r);i.arc(it.x,it.y,y,E,b+X)}let W=Ve(L,b,a,r);if(i.lineTo(W.x,W.y),v>0){let it=Ve(L,dt,a,r);i.arc(it.x,it.y,v,b+X,dt+Math.PI)}let q=(b-v/h+(_+x/h))/2;if(i.arc(a,r,h,b-v/h,q,!0),i.arc(a,r,h,q,_+x/h,!0),x>0){let it=Ve(T,J,a,r);i.arc(it.x,it.y,x,J+Math.PI,_-X)}let _t=Ve(P,_,a,r);if(i.lineTo(_t.x,_t.y),w>0){let it=Ve(P,O,a,r);i.arc(it.x,it.y,w,_-X,O)}}else{i.moveTo(a,r);let B=Math.cos(O)*m+a,W=Math.sin(O)*m+r;i.lineTo(B,W);let q=Math.cos(E)*m+a,_t=Math.sin(E)*m+r;i.lineTo(q,_t)}i.closePath()}function Th(i,e,t,n,o){let{fullCircles:s,startAngle:a,circumference:r}=e,c=e.endAngle;if(s){wn(i,e,t,n,c,o);for(let l=0;le!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let o=this.getProps(["x","y"],n),{angle:s,distance:a}=no(o,{x:e,y:t}),{startAngle:r,endAngle:c,innerRadius:l,outerRadius:d,circumference:m}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),h=(this.options.spacing+this.options.borderWidth)/2,f=D(m,c-r)>=H||ze(s,r,c),u=Dt(a,l+h,d+h);return f&&u}getCenterPoint(e){let{x:t,y:n,startAngle:o,endAngle:s,innerRadius:a,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:l}=this.options,d=(o+s)/2,m=(a+r+l+c)/2;return{x:t+Math.cos(d)*m,y:n+Math.sin(d)*m}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,o=(t.offset||0)/4,s=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=n>H?Math.floor(n/H):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let r=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(r)*o,Math.sin(r)*o);let c=1-Math.sin(Math.min(V,n||0)),l=o*c;e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Th(e,this,l,s,a),Ih(e,this,l,s,a),e.restore()}};function Ec(i,e,t=e){i.lineCap=D(t.borderCapStyle,e.borderCapStyle),i.setLineDash(D(t.borderDash,e.borderDash)),i.lineDashOffset=D(t.borderDashOffset,e.borderDashOffset),i.lineJoin=D(t.borderJoinStyle,e.borderJoinStyle),i.lineWidth=D(t.borderWidth,e.borderWidth),i.strokeStyle=D(t.borderColor,e.borderColor)}function Eh(i,e,t){i.lineTo(t.x,t.y)}function Fh(i){return i.stepped?rr:i.tension||i.cubicInterpolationMode==="monotone"?cr:Eh}function Fc(i,e,t={}){let n=i.length,{start:o=0,end:s=n-1}=t,{start:a,end:r}=e,c=Math.max(o,a),l=Math.min(s,r),d=or&&s>r;return{count:n,start:c,loop:e.loop,ilen:l(a+(l?r-y:y))%s,w=()=>{u!==p&&(i.lineTo(d,p),i.lineTo(d,u),i.lineTo(d,_))};for(c&&(g=o[b(0)],i.moveTo(g.x,g.y)),h=0;h<=r;++h){if(g=o[b(h)],g.skip)continue;let y=g.x,x=g.y,v=y|0;v===f?(xp&&(p=x),d=(m*d+y)/++m):(w(),i.lineTo(y,x),f=v,m=0,u=p=x),_=x}w()}function $o(i){let e=i.options,t=e.borderDash&&e.borderDash.length;return!i._decimated&&!i._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!t?Rh:Lh}function zh(i){return i.stepped?br:i.tension||i.cubicInterpolationMode==="monotone"?_r:Qt}function Bh(i,e,t,n){let o=e._path;o||(o=e._path=new Path2D,e.path(o,t,n)&&o.closePath()),Ec(i,e.options),i.stroke(o)}function jh(i,e,t,n){let{segments:o,options:s}=e,a=$o(e);for(let r of o)Ec(i,s,r.style),i.beginPath(),a(i,e,r,{start:t,end:t+n-1})&&i.closePath(),i.stroke()}var Nh=typeof Path2D=="function";function Vh(i,e,t,n){Nh&&!e.options.segment?Bh(i,e,t,n):jh(i,e,t,n)}var Mn=(()=>{class i extends Mt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){let o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){let s=o.spanGaps?this._loop:this._fullLoop;fr(this._points,o,t,s,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=wr(this,this.options.segment))}first(){let t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){let t=this.segments,n=this.points,o=t.length;return o&&n[t[o-1].end]}interpolate(t,n){let o=this.options,s=t[n],a=this.points,r=Co(this,{property:n,start:s,end:s});if(!r.length)return;let c=[],l=zh(o),d,m;for(d=0,m=r.length;d{class i extends Mt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,n,o){let s=this.options,{x:a,y:r}=this.getProps(["x","y"],o);return Math.pow(t-a,2)+Math.pow(n-r,2)i.replace("rgb(","rgba(").replace(")",", 0.5)"));function Rc(i){return qo[i%qo.length]}function zc(i){return Gr[i%Gr.length]}function Kh(i,e){return i.borderColor=Rc(e),i.backgroundColor=zc(e),++e}function Qh(i,e){return i.backgroundColor=i.data.map(()=>Rc(e++)),e}function Gh(i,e){return i.backgroundColor=i.data.map(()=>zc(e++)),e}function Zh(i){let e=0;return(t,n)=>{let o=i.getDatasetMeta(n).controller;o instanceof is?e=Qh(t,e):o instanceof Mc?e=Gh(t,e):o&&(e=Kh(t,e))}}function Zr(i){let e;for(e in i)if(i[e].borderColor||i[e].backgroundColor)return!0;return!1}function Jh(i){return i&&(i.borderColor||i.backgroundColor)}var tg={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(i,e,t){if(!t.enabled)return;let{data:{datasets:n},options:o}=i.config,{elements:s}=o;if(!t.forceOverride&&(Zr(n)||Jh(o)||s&&Zr(s)))return;let a=Zh(i);n.forEach(a)}};function eg(i,e,t,n,o){let s=o.samples||n;if(s>=t)return i.slice(e,e+t);let a=[],r=(t-2)/(s-2),c=0,l=e+t-1,d=e,m,h,g,f,u;for(a[c++]=i[d],m=0;mg&&(g=f,h=i[b],u=b);a[c++]=h,d=u}return a[c++]=i[l],a}function ig(i,e,t,n){let o=0,s=0,a,r,c,l,d,m,h,g,f,u,p=[],_=e+t-1,b=i[e].x,y=i[_].x-b;for(a=e;au&&(u=l,h=a),o=(s*o+r.x)/++s;else{let v=a-1;if(!R(m)&&!R(h)){let P=Math.min(m,h),k=Math.max(m,h);P!==g&&P!==v&&p.push(Mi(ki({},i[P]),{x:o})),k!==g&&k!==v&&p.push(Mi(ki({},i[k]),{x:o}))}a>0&&v!==g&&p.push(i[v]),p.push(r),d=x,s=0,f=u=l,m=h=g=a}}return p}function Bc(i){if(i._decimated){let e=i._data;delete i._decimated,delete i._data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Jr(i){i.data.datasets.forEach(e=>{Bc(e)})}function ng(i,e){let t=e.length,n=0,o,{iScale:s}=i,{min:a,max:r,minDefined:c,maxDefined:l}=s.getUserBounds();return c&&(n=Z(Pt(e,s.axis,a).lo,0,t-1)),l?o=Z(Pt(e,s.axis,r).hi+1,n,t)-n:o=t-n,{start:n,count:o}}var og={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(i,e,t)=>{if(!t.enabled){Jr(i);return}let n=i.width;i.data.datasets.forEach((o,s)=>{let{_data:a,indexAxis:r}=o,c=i.getDatasetMeta(s),l=a||o.data;if(Ne([r,i.options.indexAxis])==="y"||!c.controller.supportsDecimation)return;let d=i.scales[c.xAxisID];if(d.type!=="linear"&&d.type!=="time"||i.options.parsing)return;let{start:m,count:h}=ng(c,l),g=t.threshold||4*n;if(h<=g){Bc(o);return}R(a)&&(o._data=l,delete o.data,Object.defineProperty(o,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(u){this._data=u}}));let f;switch(t.algorithm){case"lttb":f=eg(l,m,h,n,t);break;case"min-max":f=ig(l,m,h,n);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}o._decimated=f})},destroy(i){Jr(i)}};function sg(i,e,t){let n=i.segments,o=i.points,s=e.points,a=[];for(let r of n){let{start:c,end:l}=r;l=ns(c,l,o);let d=Ko(t,o[c],o[l],r.loop);if(!e.segments){a.push({source:r,target:d,start:o[c],end:o[l]});continue}let m=Co(e,d);for(let h of m){let g=Ko(t,s[h.start],s[h.end],h.loop),f=Mo(r,o,g);for(let u of f)a.push({source:u,target:h,start:{[t]:tc(d,g,"start",Math.max)},end:{[t]:tc(d,g,"end",Math.min)}})}}return a}function Ko(i,e,t,n){if(n)return;let o=e[i],s=t[i];return i==="angle"&&(o=at(o),s=at(s)),{property:i,start:o,end:s}}function ag(i,e){let{x:t=null,y:n=null}=i||{},o=e.points,s=[];return e.segments.forEach(({start:a,end:r})=>{r=ns(a,r,o);let c=o[a],l=o[r];n!==null?(s.push({x:c.x,y:n}),s.push({x:l.x,y:n})):t!==null&&(s.push({x:t,y:c.y}),s.push({x:t,y:l.y}))}),s}function ns(i,e,t){for(;e>i;e--){let n=t[e];if(!isNaN(n.x)&&!isNaN(n.y))break}return e}function tc(i,e,t,n){return i&&e?n(i[t],e[t]):i?i[t]:e?e[t]:0}function jc(i,e){let t=[],n=!1;return N(i)?(n=!0,t=i):t=ag(i,e),t.length?new Mn({points:t,options:{tension:0},_loop:n,_fullLoop:n}):null}function ec(i){return i&&i.fill!==!1}function rg(i,e,t){let o=i[e].fill,s=[e],a;if(!t)return o;for(;o!==!1&&s.indexOf(o)===-1;){if(!U(o))return o;if(a=i[o],!a)return!1;if(a.visible)return o;s.push(o),o=a.fill}return!1}function cg(i,e,t){let n=hg(i);if(F(n))return isNaN(n.value)?!1:n;let o=parseFloat(n);return U(o)&&Math.floor(o)===o?lg(n[0],e,o,t):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function lg(i,e,t,n){return(i==="-"||i==="+")&&(t=e+t),t===e||t<0||t>=n?!1:t}function dg(i,e){let t=null;return i==="start"?t=e.bottom:i==="end"?t=e.top:F(i)?t=e.getPixelForValue(i.value):e.getBasePixel&&(t=e.getBasePixel()),t}function mg(i,e,t){let n;return i==="start"?n=t:i==="end"?n=e.options.reverse?e.min:e.max:F(i)?n=i.value:n=e.getBaseValue(),n}function hg(i){let e=i.options,t=e.fill,n=D(t&&t.target,t);return n===void 0&&(n=!!e.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function gg(i){let{scale:e,index:t,line:n}=i,o=[],s=n.segments,a=n.points,r=fg(e,t);r.push(jc({x:null,y:e.bottom},n));for(let c=0;c=0;--a){let r=o[a].$filler;r&&(r.line.updateControlPoints(s,r.axis),n&&r.fill&&Fo(i.ctx,r,s))}},beforeDatasetsDraw(i,e,t){if(t.drawTime!=="beforeDatasetsDraw")return;let n=i.getSortedVisibleDatasetMetas();for(let o=n.length-1;o>=0;--o){let s=n[o].$filler;ec(s)&&Fo(i.ctx,s,i.chartArea)}},beforeDatasetDraw(i,e,t){let n=e.meta.$filler;!ec(n)||t.drawTime!=="beforeDatasetDraw"||Fo(i.ctx,n,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},sc=(i,e)=>{let{boxHeight:t=e,boxWidth:n=e}=i;return i.usePointStyle&&(t=Math.min(t,e),n=i.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:t,itemHeight:Math.max(e,t)}},Cg=(i,e)=>i!==null&&e!==null&&i.datasetIndex===e.datasetIndex&&i.index===e.index,yn=class extends Mt{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=j(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(n=>e.filter(n,this.chart.data))),e.sort&&(t=t.sort((n,o)=>e.sort(n,o,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,o=Q(n.font),s=o.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:c}=sc(n,s),l,d;t.font=o.string,this.isHorizontal()?(l=this.maxWidth,d=this._fitRows(a,s,r,c)+10):(d=this.maxHeight,l=this._fitCols(a,o,r,c)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(d,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,o){let{ctx:s,maxWidth:a,options:{labels:{padding:r}}}=this,c=this.legendHitBoxes=[],l=this.lineWidths=[0],d=o+r,m=e;s.textAlign="left",s.textBaseline="middle";let h=-1,g=-d;return this.legendItems.forEach((f,u)=>{let p=n+t/2+s.measureText(f.text).width;(u===0||l[l.length-1]+p+2*r>a)&&(m+=d,l[l.length-(u>0?0:1)]=0,g+=d,h++),c[u]={left:0,top:g,row:h,width:p,height:o},l[l.length-1]+=p+r}),m}_fitCols(e,t,n,o){let{ctx:s,maxHeight:a,options:{labels:{padding:r}}}=this,c=this.legendHitBoxes=[],l=this.columnSizes=[],d=a-e,m=r,h=0,g=0,f=0,u=0;return this.legendItems.forEach((p,_)=>{let{itemWidth:b,itemHeight:w}=Pg(n,t,s,p,o);_>0&&g+w+2*r>d&&(m+=h+r,l.push({width:h,height:g}),f+=h+r,u++,h=g=0),c[_]={left:f,top:g,col:u,width:b,height:w},h=Math.max(h,b),g+=w+r}),m+=h,l.push({width:h,height:g}),m}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:o},rtl:s}}=this,a=he(s,this.left,this.width);if(this.isHorizontal()){let r=0,c=tt(n,this.left+o,this.right-this.lineWidths[r]);for(let l of t)r!==l.row&&(r=l.row,c=tt(n,this.left+o,this.right-this.lineWidths[r])),l.top+=this.top+e+o,l.left=a.leftForLtr(a.x(c),l.width),c+=l.width+o}else{let r=0,c=tt(n,this.top+e+o,this.bottom-this.columnSizes[r].height);for(let l of t)l.col!==r&&(r=l.col,c=tt(n,this.top+e+o,this.bottom-this.columnSizes[r].height)),l.top=c,l.left+=this.left+o,l.left=a.leftForLtr(a.x(l.left),l.width),c+=l.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let e=this.ctx;li(e,this),this._draw(),di(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:o}=this,{align:s,labels:a}=e,r=$.color,c=he(e.rtl,this.left,this.width),l=Q(a.font),{padding:d}=a,m=l.size,h=m/2,g;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=l.string;let{boxWidth:f,boxHeight:u,itemHeight:p}=sc(a,m),_=function(v,P,k){if(isNaN(f)||f<=0||isNaN(u)||u<0)return;o.save();let O=D(k.lineWidth,1);if(o.fillStyle=D(k.fillStyle,r),o.lineCap=D(k.lineCap,"butt"),o.lineDashOffset=D(k.lineDashOffset,0),o.lineJoin=D(k.lineJoin,"miter"),o.lineWidth=O,o.strokeStyle=D(k.strokeStyle,r),o.setLineDash(D(k.lineDash,[])),a.usePointStyle){let E={radius:u*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:O},T=c.xPlus(v,f/2),L=P+h;fo(o,E,T,L,a.pointStyleWidth&&f)}else{let E=P+Math.max((m-u)/2,0),T=c.leftForLtr(v,f),L=te(k.borderRadius);o.beginPath(),Object.values(L).some(J=>J!==0)?je(o,{x:T,y:E,w:f,h:u,radius:L}):o.rect(T,E,f,u),o.fill(),O!==0&&o.stroke()}o.restore()},b=function(v,P,k){Jt(o,k.text,v,P+p/2,l,{strikethrough:k.hidden,textAlign:c.textAlign(k.textAlign)})},w=this.isHorizontal(),y=this._computeTitleHeight();w?g={x:tt(s,this.left+d,this.right-n[0]),y:this.top+d+y,line:0}:g={x:this.left+d,y:tt(s,this.top+y+d,this.bottom-t[0].height),line:0},yo(this.ctx,e.textDirection);let x=p+d;this.legendItems.forEach((v,P)=>{o.strokeStyle=v.fontColor,o.fillStyle=v.fontColor;let k=o.measureText(v.text).width,O=c.textAlign(v.textAlign||(v.textAlign=a.textAlign)),E=f+h+k,T=g.x,L=g.y;c.setWidth(this.width),w?P>0&&T+E+d>this.right&&(L=g.y+=x,g.line++,T=g.x=tt(s,this.left+d,this.right-n[g.line])):P>0&&L+x>this.bottom&&(T=g.x=T+t[g.line].width+d,g.line++,L=g.y=tt(s,this.top+y+d,this.bottom-t[g.line].height));let J=c.x(T);if(_(J,L,v),T=or(O,T+f+h,w?T+E:this.right,e.rtl),b(c.x(T),L,v),w)g.x+=E+d;else if(typeof v.text!="string"){let dt=l.lineHeight;g.y+=Nc(v,dt)+d}else g.y+=x}),ko(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Q(t.font),o=et(t.padding);if(!t.display)return;let s=he(e.rtl,this.left,this.width),a=this.ctx,r=t.position,c=n.size/2,l=o.top+c,d,m=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),d=this.top+l,m=tt(e.align,m,this.right-h);else{let f=this.columnSizes.reduce((u,p)=>Math.max(u,p.height),0);d=l+tt(e.align,this.top,this.bottom-f-e.labels.padding-this._computeTitleHeight())}let g=tt(r,m,m+h);a.textAlign=s.textAlign(Ji(r)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Jt(a,t.text,g,d,n)}_computeTitleHeight(){let e=this.options.title,t=Q(e.font),n=et(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,o,s;if(Dt(e,this.left,this.right)&&Dt(t,this.top,this.bottom)){for(s=this.legendHitBoxes,n=0;ns.length>a.length?s:a)),e+t.size/2+n.measureText(o).width}function Sg(i,e,t){let n=i;return typeof e.text!="string"&&(n=Nc(e,t)),n}function Nc(i,e){let t=i.text?i.text.length:0;return e*t}function Dg(i,e){return!!((i==="mousemove"||i==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(i==="click"||i==="mouseup"))}var Ag={id:"legend",_element:yn,start(i,e,t){let n=i.legend=new yn({ctx:i.ctx,options:t,chart:i});nt.configure(i,n,t),nt.addBox(i,n)},stop(i){nt.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,e,t){let n=i.legend;nt.configure(i,n,t),n.options=t},afterUpdate(i){let e=i.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(i,e){e.replay||i.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,e,t){let n=e.datasetIndex,o=t.chart;o.isDatasetVisible(n)?(o.hide(n),e.hidden=!0):(o.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){let e=i.data.datasets,{labels:{usePointStyle:t,pointStyle:n,textAlign:o,color:s,useBorderRadius:a,borderRadius:r}}=i.legend.options;return i._getSortedDatasetMetas().map(c=>{let l=c.controller.getStyle(t?0:void 0),d=et(l.borderWidth);return{text:e[c.index].label,fillStyle:l.backgroundColor,fontColor:s,hidden:!c.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:l.borderColor,pointStyle:n||l.pointStyle,rotation:l.rotation,textAlign:o||l.textAlign,borderRadius:a&&(r||l.borderRadius),datasetIndex:c.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}},xi=class extends Mt{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let o=N(n.text)?n.text.length:1;this._padding=et(n.padding);let s=o*Q(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){let e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){let{top:t,left:n,bottom:o,right:s,options:a}=this,r=a.align,c=0,l,d,m;return this.isHorizontal()?(d=tt(r,n,s),m=t+e,l=s-n):(a.position==="left"?(d=n+e,m=tt(r,o,t),c=V*-.5):(d=s-e,m=tt(r,t,o),c=V*.5),l=o-t),{titleX:d,titleY:m,maxWidth:l,rotation:c}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=Q(t.font),s=n.lineHeight/2+this._padding.top,{titleX:a,titleY:r,maxWidth:c,rotation:l}=this._drawArgs(s);Jt(e,t.text,0,0,n,{color:t.color,maxWidth:c,rotation:l,textAlign:Ji(t.align),textBaseline:"middle",translation:[a,r]})}};function Tg(i,e){let t=new xi({ctx:i.ctx,options:e,chart:i});nt.configure(i,t,e),nt.addBox(i,t),i.titleBlock=t}var Ig={id:"title",_element:xi,start(i,e,t){Tg(i,t)},stop(i){let e=i.titleBlock;nt.removeBox(i,e),delete i.titleBlock},beforeUpdate(i,e,t){let n=i.titleBlock;nt.configure(i,n,t),n.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},hn=new WeakMap,Eg={id:"subtitle",start(i,e,t){let n=new xi({ctx:i.ctx,options:t,chart:i});nt.configure(i,n,t),nt.addBox(i,n),hn.set(i,n)},stop(i){nt.removeBox(i,hn.get(i)),hn.delete(i)},beforeUpdate(i,e,t){let n=hn.get(i);nt.configure(i,n,t),n.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},bi={average(i){if(!i.length)return!1;let e,t,n=new Set,o=0,s=0;for(e=0,t=i.length;er+c)/n.size,y:o/s}},nearest(i,e){if(!i.length)return!1;let t=e.x,n=e.y,o=Number.POSITIVE_INFINITY,s,a,r;for(s=0,a=i.length;s-1?i.split(` `):i}function Fg(i,e){let{element:t,datasetIndex:n,index:o}=e,s=i.getDatasetMeta(n).controller,{label:a,value:r}=s.getLabelAndValue(o);return{chart:i,label:a,parsed:s.getParsed(o),raw:i.data.datasets[n].data[o],formattedValue:r,dataset:s.getDataset(),dataIndex:o,datasetIndex:n,element:t}}function ac(i,e){let t=i.chart.ctx,{body:n,footer:o,title:s}=i,{boxWidth:a,boxHeight:r}=e,c=Q(e.bodyFont),l=Q(e.titleFont),d=Q(e.footerFont),m=s.length,h=o.length,g=n.length,f=et(e.padding),u=f.height,p=0,_=n.reduce((y,x)=>y+x.before.length+x.lines.length+x.after.length,0);if(_+=i.beforeBody.length+i.afterBody.length,m&&(u+=m*l.lineHeight+(m-1)*e.titleSpacing+e.titleMarginBottom),_){let y=e.displayColors?Math.max(r,c.lineHeight):c.lineHeight;u+=g*y+(_-g)*c.lineHeight+(_-1)*e.bodySpacing}h&&(u+=e.footerMarginTop+h*d.lineHeight+(h-1)*e.footerSpacing);let b=0,w=function(y){p=Math.max(p,t.measureText(y).width+b)};return t.save(),t.font=l.string,z(i.title,w),t.font=c.string,z(i.beforeBody.concat(i.afterBody),w),b=e.displayColors?a+2+e.boxPadding:0,z(n,y=>{z(y.before,w),z(y.lines,w),z(y.after,w)}),b=0,t.font=d.string,z(i.footer,w),t.restore(),p+=f.width,{width:p,height:u}}function Lg(i,e){let{y:t,height:n}=e;return ti.height-n/2?"bottom":"center"}function Rg(i,e,t,n){let{x:o,width:s}=n,a=t.caretSize+t.caretPadding;if(i==="left"&&o+s+a>e.width||i==="right"&&o-s-a<0)return!0}function zg(i,e,t,n){let{x:o,width:s}=t,{width:a,chartArea:{left:r,right:c}}=i,l="center";return n==="center"?l=o<=(r+c)/2?"left":"right":o<=s/2?l="left":o>=a-s/2&&(l="right"),Rg(l,i,e,t)&&(l="center"),l}function rc(i,e,t){let n=t.yAlign||e.yAlign||Lg(i,t);return{xAlign:t.xAlign||e.xAlign||zg(i,e,t,n),yAlign:n}}function Bg(i,e){let{x:t,width:n}=i;return e==="right"?t-=n:e==="center"&&(t-=n/2),t}function jg(i,e,t){let{y:n,height:o}=i;return e==="top"?n+=t:e==="bottom"?n-=o+t:n-=o/2,n}function cc(i,e,t,n){let{caretSize:o,caretPadding:s,cornerRadius:a}=i,{xAlign:r,yAlign:c}=t,l=o+s,{topLeft:d,topRight:m,bottomLeft:h,bottomRight:g}=te(a),f=Bg(e,r),u=jg(e,c,l);return c==="center"?r==="left"?f+=l:r==="right"&&(f-=l):r==="left"?f-=Math.max(d,h)+o:r==="right"&&(f+=Math.max(m,g)+o),{x:Z(f,0,n.width-e.width),y:Z(u,0,n.height-e.height)}}function gn(i,e,t){let n=et(t.padding);return e==="center"?i.x+i.width/2:e==="right"?i.x+i.width-n.right:i.x+n.left}function lc(i){return At([],Nt(i))}function Ng(i,e,t){return Bt(i,{tooltip:e,tooltipItems:t,type:"tooltip"})}function dc(i,e){let t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?i.override(t):i}var Vc={beforeTitle:St,title(i){if(i.length>0){let e=i[0],t=e.chart.data.labels,n=t?t.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex"u"?Vc[e].call(t,n):o}var mc=(()=>{class i extends Mt{static positioners=bi;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let n=this.chart,o=this.options.setContext(this.getContext()),s=o.enabled&&n.options.animation&&o.animations,a=new bn(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=Ng(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){let{callbacks:o}=n,s=ct(o,"beforeTitle",this,t),a=ct(o,"title",this,t),r=ct(o,"afterTitle",this,t),c=[];return c=At(c,Nt(s)),c=At(c,Nt(a)),c=At(c,Nt(r)),c}getBeforeBody(t,n){return lc(ct(n.callbacks,"beforeBody",this,t))}getBody(t,n){let{callbacks:o}=n,s=[];return z(t,a=>{let r={before:[],lines:[],after:[]},c=dc(o,a);At(r.before,Nt(ct(c,"beforeLabel",this,a))),At(r.lines,ct(c,"label",this,a)),At(r.after,Nt(ct(c,"afterLabel",this,a))),s.push(r)}),s}getAfterBody(t,n){return lc(ct(n.callbacks,"afterBody",this,t))}getFooter(t,n){let{callbacks:o}=n,s=ct(o,"beforeFooter",this,t),a=ct(o,"footer",this,t),r=ct(o,"afterFooter",this,t),c=[];return c=At(c,Nt(s)),c=At(c,Nt(a)),c=At(c,Nt(r)),c}_createItems(t){let n=this._active,o=this.chart.data,s=[],a=[],r=[],c=[],l,d;for(l=0,d=n.length;lt.filter(m,h,g,o))),t.itemSort&&(c=c.sort((m,h)=>t.itemSort(m,h,o))),z(c,m=>{let h=dc(t.callbacks,m);s.push(ct(h,"labelColor",this,m)),a.push(ct(h,"labelPointStyle",this,m)),r.push(ct(h,"labelTextColor",this,m))}),this.labelColors=s,this.labelPointStyles=a,this.labelTextColors=r,this.dataPoints=c,c}update(t,n){let o=this.options.setContext(this.getContext()),s=this._active,a,r=[];if(!s.length)this.opacity!==0&&(a={opacity:0});else{let c=bi[o.position].call(this,s,this._eventPosition);r=this._createItems(o),this.title=this.getTitle(r,o),this.beforeBody=this.getBeforeBody(r,o),this.body=this.getBody(r,o),this.afterBody=this.getAfterBody(r,o),this.footer=this.getFooter(r,o);let l=this._size=ac(this,o),d=Object.assign({},c,l),m=rc(this.chart,o,d),h=cc(o,d,m,this.chart);this.xAlign=m.xAlign,this.yAlign=m.yAlign,a={opacity:1,x:h.x,y:h.y,width:l.width,height:l.height,caretX:c.x,caretY:c.y}}this._tooltipItems=r,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,o,s){let a=this.getCaretPosition(t,o,s);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)}getCaretPosition(t,n,o){let{xAlign:s,yAlign:a}=this,{caretSize:r,cornerRadius:c}=o,{topLeft:l,topRight:d,bottomLeft:m,bottomRight:h}=te(c),{x:g,y:f}=t,{width:u,height:p}=n,_,b,w,y,x,v;return a==="center"?(x=f+p/2,s==="left"?(_=g,b=_-r,y=x+r,v=x-r):(_=g+u,b=_+r,y=x-r,v=x+r),w=_):(s==="left"?b=g+Math.max(l,m)+r:s==="right"?b=g+u-Math.max(d,h)-r:b=this.caretX,a==="top"?(y=f,x=y-r,_=b-r,w=b+r):(y=f+p,x=y+r,_=b+r,w=b-r),v=y),{x1:_,x2:b,x3:w,y1:y,y2:x,y3:v}}drawTitle(t,n,o){let s=this.title,a=s.length,r,c,l;if(a){let d=he(o.rtl,this.x,this.width);for(t.x=gn(this,o.titleAlign,o),n.textAlign=d.textAlign(o.titleAlign),n.textBaseline="middle",r=Q(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=r.string,l=0;lw!==0)?(t.beginPath(),t.fillStyle=a.multiKeyBackground,je(t,{x:p,y:u,w:d,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),je(t,{x:_,y:u+1,w:d-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(p,u,d,l),t.strokeRect(p,u,d,l),t.fillStyle=r.backgroundColor,t.fillRect(_,u+1,d-2,l-2))}t.fillStyle=this.labelTextColors[o]}drawBody(t,n,o){let{body:s}=this,{bodySpacing:a,bodyAlign:r,displayColors:c,boxHeight:l,boxWidth:d,boxPadding:m}=o,h=Q(o.bodyFont),g=h.lineHeight,f=0,u=he(o.rtl,this.x,this.width),p=function(O){n.fillText(O,u.x(t.x+f),t.y+g/2),t.y+=g+a},_=u.textAlign(r),b,w,y,x,v,P,k;for(n.textAlign=r,n.textBaseline="middle",n.font=h.string,t.x=gn(this,_,o),n.fillStyle=o.bodyColor,z(this.beforeBody,p),f=c&&_!=="right"?r==="center"?d/2+m:d+2+m:0,x=0,P=s.length;x0&&n.stroke()}_updateAnimationTarget(t){let n=this.chart,o=this.$animations,s=o&&o.x,a=o&&o.y;if(s||a){let r=bi[t.position].call(this,this._active,this._eventPosition);if(!r)return;let c=this._size=ac(this,t),l=Object.assign({},r,this._size),d=rc(n,t,l),m=cc(t,l,d,n);(s._to!==m.x||a._to!==m.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=c.width,this.height=c.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,m))}}_willRender(){return!!this.opacity}draw(t){let n=this.options.setContext(this.getContext()),o=this.opacity;if(!o)return;this._updateAnimationTarget(n);let s={width:this.width,height:this.height},a={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;let r=et(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(t.save(),t.globalAlpha=o,this.drawBackground(a,t,s,n),yo(t,n.textDirection),a.y+=r.top,this.drawTitle(a,t,n),this.drawBody(a,t,n),this.drawFooter(a,t,n),ko(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){let o=this._active,s=t.map(({datasetIndex:c,index:l})=>{let d=this.chart.getDatasetMeta(c);if(!d)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:d.data[l],index:l}}),a=!ri(o,s),r=this._positionChanged(s,n);(a||r)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let s=this.options,a=this._active||[],r=this._getActiveElements(t,a,n,o),c=this._positionChanged(r,t),l=n||!ri(r,a)||c;return l&&(this._active=r,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,o,s){let a=this.options;if(t.type==="mouseout")return[];if(!s)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);let r=this.chart.getElementsAtEventForMode(t,a.mode,a,o);return a.reverse&&r.reverse(),r}_positionChanged(t,n){let{caretX:o,caretY:s,options:a}=this,r=bi[a.position].call(this,t,n);return r!==!1&&(o!==r.x||s!==r.y)}}return i})(),Vg={id:"tooltip",_element:mc,positioners:bi,afterInit(i,e,t){t&&(i.tooltip=new mc({chart:i,options:t}))},beforeUpdate(i,e,t){i.tooltip&&i.tooltip.initialize(t)},reset(i,e,t){i.tooltip&&i.tooltip.initialize(t)},afterDraw(i){let e=i.tooltip;if(e&&e._willRender()){let t={tooltip:e};if(i.notifyPlugins("beforeTooltipDraw",Mi(ki({},t),{cancelable:!0}))===!1)return;e.draw(i.ctx),i.notifyPlugins("afterTooltipDraw",t)}},afterEvent(i,e){if(i.tooltip){let t=e.replay;i.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(i,e)=>e.bodyFont.size,boxWidth:(i,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Vc},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:i=>i!=="filter"&&i!=="itemSort"&&i!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Hg=Object.freeze({__proto__:null,Colors:tg,Decimation:og,Filler:Mg,Legend:Ag,SubTitle:Eg,Title:Ig,Tooltip:Vg}),Wg=(i,e,t,n)=>(typeof e=="string"?(t=i.push(e)-1,n.unshift({index:t,label:e})):isNaN(e)&&(t=null),t);function Yg(i,e,t,n){let o=i.indexOf(e);if(o===-1)return Wg(i,e,t,n);let s=i.lastIndexOf(e);return o!==s?t:o}var Ug=(i,e)=>i===null?null:Z(Math.round(i),0,e);function hc(i){let e=this.getLabels();return i>=0&&i{class i extends ue{static id="category";static defaults={ticks:{callback:hc}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let n=this._addedLabels;if(n.length){let o=this.getLabels();for(let{index:s,label:a}of n)o[s]===a&&o.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(R(t))return null;let o=this.getLabels();return n=isFinite(n)&&o[n]===t?n:Yg(o,t,D(n,t),this._addedLabels),Ug(n,o.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:o,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(o=0),n||(s=this.getLabels().length-1)),this.min=o,this.max=s}buildTicks(){let t=this.min,n=this.max,o=this.options.offset,s=[],a=this.getLabels();a=t===0&&n===a.length-1?a:a.slice(t,n+1),this._valueRange=Math.max(a.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let r=t;r<=n;r++)s.push({value:r});return s}getLabelForValue(t){return hc.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}return i})();function Xg(i,e){let t=[],{bounds:o,step:s,min:a,max:r,precision:c,count:l,maxTicks:d,maxDigits:m,includeBounds:h}=i,g=s||1,f=d-1,{min:u,max:p}=e,_=!R(a),b=!R(r),w=!R(l),y=(p-u)/(m+1),x=to((p-u)/f/g)*g,v,P,k,O;if(x<1e-14&&!_&&!b)return[{value:u},{value:p}];O=Math.ceil(p/x)-Math.floor(u/x),O>f&&(x=to(O*x/f/g)*g),R(c)||(v=Math.pow(10,c),x=Math.ceil(x*v)/v),o==="ticks"?(P=Math.floor(u/x)*x,k=Math.ceil(p/x)*x):(P=u,k=p),_&&b&&s&&Ga((r-a)/s,x/1e3)?(O=Math.round(Math.min((r-a)/x,d)),x=(r-a)/O,P=a,k=r):w?(P=_?a:P,k=b?r:k,O=l-1,x=(k-P)/O):(O=(k-P)/x,Re(O,Math.round(O),x/1e3)?O=Math.round(O):O=Math.ceil(O));let E=Math.max(io(x),io(P));v=Math.pow(10,R(c)?E:c),P=Math.round(P*v)/v,k=Math.round(k*v)/v;let T=0;for(_&&(h&&P!==a?(t.push({value:a}),Pr)break;t.push({value:L})}return b&&h&&k!==r?t.length&&Re(t[t.length-1].value,r,gc(r,y,i))?t[t.length-1].value=r:t.push({value:r}):(!b||k===r)&&t.push({value:k}),t}function gc(i,e,{horizontal:t,minRotation:n}){let o=bt(n),s=(t?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+i).length;return Math.min(e/s,a)}var We=class extends ue{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return R(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:o,max:s}=this,a=c=>o=t?o:c,r=c=>s=n?s:c;if(e){let c=kt(o),l=kt(s);c<0&&l<0?r(0):c>0&&l>0&&a(0)}if(o===s){let c=s===0?1:Math.abs(s*.05);r(s+c),e||a(o-c)}this.min=o,this.max=s}getTickLimit(){let e=this.options.ticks,{maxTicksLimit:t,stepSize:n}=e,o;return n?(o=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),t=t||11),t&&(o=Math.min(t,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let o={maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},s=this._range||this,a=Xg(o,s);return e.bounds==="ticks"&&eo(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let o=(n-t)/Math.max(e.length-1,1)/2;t-=o,n+=o}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return Be(e,this.chart.options.locale,this.options.ticks.format)}},Qo=class extends We{static id="linear";static defaults={ticks:{callback:ci.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=U(e)?e:0,this.max=U(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=bt(this.options.ticks.minRotation),o=(e?Math.sin(n):Math.cos(n))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,s.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},wi=i=>Math.floor(Rt(i)),fe=(i,e)=>Math.pow(10,wi(i)+e);function fc(i){return i/Math.pow(10,wi(i))===1}function uc(i,e,t){let n=Math.pow(10,t),o=Math.floor(i/n);return Math.ceil(e/n)-o}function qg(i,e){let t=e-i,n=wi(t);for(;uc(i,e,n)>10;)n++;for(;uc(i,e,n)<10;)n--;return Math.min(n,wi(i))}function Kg(i,{min:e,max:t}){e=rt(i.min,e);let n=[],o=wi(e),s=qg(e,t),a=s<0?Math.pow(10,Math.abs(s)):1,r=Math.pow(10,s),c=o>s?Math.pow(10,o):0,l=Math.round((e-c)*a)/a,d=Math.floor((e-c)/r/10)*r*10,m=Math.floor((l-d)/Math.pow(10,s)),h=rt(i.min,Math.round((c+d+m*Math.pow(10,s))*a)/a);for(;h=10?m=m<15?15:20:m++,m>=20&&(s++,m=2,a=s>=0?1:a),h=Math.round((c+d+m*Math.pow(10,s))*a)/a;let g=rt(i.max,h);return n.push({value:g,major:fc(g),significand:m}),n}var Go=class extends ue{static id="logarithmic";static defaults={ticks:{callback:ci.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=We.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return U(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=U(e)?Math.max(0,e):null,this.max=U(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!U(this._userMin)&&(this.min=e===fe(this.min,0)?fe(this.min,-1):fe(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,o=this.max,s=r=>n=e?n:r,a=r=>o=t?o:r;n===o&&(n<=0?(s(1),a(10)):(s(fe(n,-1)),a(fe(o,1)))),n<=0&&s(fe(o,-1)),o<=0&&a(fe(n,1)),this.min=n,this.max=o}buildTicks(){let e=this.options,t={min:this._userMin,max:this._userMax},n=Kg(t,this);return e.bounds==="ticks"&&eo(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(e){return e===void 0?"0":Be(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=Rt(e),this._valueRange=Rt(this.max)-Rt(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Rt(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}};function Zo(i){let e=i.ticks;if(e.display&&i.display){let t=et(e.backdropPadding);return D(e.font&&e.font.size,$.font.size)+t.height}return 0}function Qg(i,e,t){return t=N(t)?t:[t],{w:ar(i,e.string,t),h:t.length*e.lineHeight}}function pc(i,e,t,n,o){return i===n||i===o?{start:e-t/2,end:e+t/2}:io?{start:e-t,end:e}:{start:e,end:e+t}}function Gg(i){let e={l:i.left+i._padding.left,r:i.right-i._padding.right,t:i.top+i._padding.top,b:i.bottom-i._padding.bottom},t=Object.assign({},e),n=[],o=[],s=i._pointLabels.length,a=i.options.pointLabels,r=a.centerPointLabels?V/s:0;for(let c=0;ce.r&&(r=(n.end-e.r)/s,i.r=Math.max(i.r,e.r+r)),o.starte.b&&(c=(o.end-e.b)/a,i.b=Math.max(i.b,e.b+c))}function Jg(i,e,t){let n=i.drawingArea,{extra:o,additionalAngle:s,padding:a,size:r}=t,c=i.getPointPosition(e,n+o+a,s),l=Math.round(Gi(at(c.angle+X))),d=sf(c.y,r.h,l),m=nf(l),h=of(c.x,r.w,m);return{visible:!0,x:c.x,y:d,textAlign:m,left:h,top:d,right:h+r.w,bottom:d+r.h}}function tf(i,e){if(!e)return!0;let{left:t,top:n,right:o,bottom:s}=i;return!(Ot({x:t,y:n},e)||Ot({x:t,y:s},e)||Ot({x:o,y:n},e)||Ot({x:o,y:s},e))}function ef(i,e,t){let n=[],o=i._pointLabels.length,s=i.options,{centerPointLabels:a,display:r}=s.pointLabels,c={extra:Zo(s)/2,additionalAngle:a?V/o:0},l;for(let d=0;d270||t<90)&&(i-=e),i}function af(i,e,t){let{left:n,top:o,right:s,bottom:a}=t,{backdropColor:r}=e;if(!R(r)){let c=te(e.borderRadius),l=et(e.backdropPadding);i.fillStyle=r;let d=n-l.left,m=o-l.top,h=s-n+l.width,g=a-o+l.height;Object.values(c).some(f=>f!==0)?(i.beginPath(),je(i,{x:d,y:m,w:h,h:g,radius:c}),i.fill()):i.fillRect(d,m,h,g)}}function rf(i,e){let{ctx:t,options:{pointLabels:n}}=i;for(let o=e-1;o>=0;o--){let s=i._pointLabelItems[o];if(!s.visible)continue;let a=n.setContext(i.getPointLabelContext(o));af(t,a,s);let r=Q(a.font),{x:c,y:l,textAlign:d}=s;Jt(t,i._pointLabels[o],c,l+r.lineHeight/2,r,{color:a.color,textAlign:d,textBaseline:"middle"})}}function Hc(i,e,t,n){let{ctx:o}=i;if(t)o.arc(i.xCenter,i.yCenter,e,0,H);else{let s=i.getPointPosition(0,e);o.moveTo(s.x,s.y);for(let a=1;a{let o=j(this.options.pointLabels.callback,[t,n],this);return o||o===0?o:""}).filter((t,n)=>this.chart.getDataVisibility(n))}fit(){let e=this.options;e.display&&e.pointLabels.display?Gg(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,o){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,o))}getIndexAngle(e){let t=H/(this._pointLabels.length||1),n=this.options.startAngle||0;return at(e*t+bt(n))}getDistanceFromCenterForValue(e){if(R(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(R(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(m!==0||m===0&&this.min<0){c=this.getDistanceFromCenterForValue(d.value);let h=this.getContext(m),g=o.setContext(h),f=s.setContext(h);cf(this,g,c,a,f)}}),n.display){for(e.save(),r=a-1;r>=0;r--){let d=n.setContext(this.getPointLabelContext(r)),{color:m,lineWidth:h}=d;!h||!m||(e.lineWidth=h,e.strokeStyle=m,e.setLineDash(d.borderDash),e.lineDashOffset=d.borderDashOffset,c=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),l=this.getPointPosition(r,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let o=this.getIndexAngle(0),s,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((r,c)=>{if(c===0&&this.min>=0&&!t.reverse)return;let l=n.setContext(this.getContext(c)),d=Q(l.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),l.showLabelBackdrop){e.font=d.string,a=e.measureText(r.label).width,e.fillStyle=l.backdropColor;let m=et(l.backdropPadding);e.fillRect(-a/2-m.left,-s-d.size/2-m.top,a+m.width,d.size+m.height)}Jt(e,r.label,0,-s,d,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})}),e.restore()}drawTitle(){}},Cn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},lt=Object.keys(Cn);function bc(i,e){return i-e}function _c(i,e){if(R(e))return null;let t=i._adapter,{parser:n,round:o,isoWeekday:s}=i._parseOpts,a=e;return typeof n=="function"&&(a=n(a)),U(a)||(a=typeof n=="string"?t.parse(a,n):t.parse(a)),a===null?null:(o&&(a=o==="week"&&(me(s)||s===!0)?t.startOf(a,"isoWeek",s):t.startOf(a,o)),+a)}function xc(i,e,t,n){let o=lt.length;for(let s=lt.indexOf(i);s=lt.indexOf(t);s--){let a=lt[s];if(Cn[a].common&&i._adapter.diff(o,n,a)>=e-1)return a}return lt[t?lt.indexOf(t):0]}function mf(i){for(let e=lt.indexOf(i)+1,t=lt.length;e=e?t[n]:t[o];i[s]=!0}}function hf(i,e,t,n){let o=i._adapter,s=+o.startOf(e[0].value,n),a=e[e.length-1].value,r,c;for(r=s;r<=a;r=+o.add(r,1,n))c=t[r],c>=0&&(e[c].major=!0);return e}function vc(i,e,t){let n=[],o={},s=e.length,a,r;for(a=0;a{class i extends ue{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){let o=t.time||(t.time={}),s=this._adapter=new km._date(t.adapters.date);s.init(n),Fe(o.displayFormats,s.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:_c(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,n=this._adapter,o=t.time.unit||"day",{min:s,max:a,minDefined:r,maxDefined:c}=this.getUserBounds();function l(d){!r&&!isNaN(d.min)&&(s=Math.min(s,d.min)),!c&&!isNaN(d.max)&&(a=Math.max(a,d.max))}(!r||!c)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),s=U(s)&&!isNaN(s)?s:+n.startOf(Date.now(),o),a=U(a)&&!isNaN(a)?a:+n.endOf(Date.now(),o)+1,this.min=Math.min(s,a-1),this.max=Math.max(s+1,a)}_getLabelBounds(){let t=this.getLabelTimestamps(),n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],o=t[t.length-1]),{min:n,max:o}}buildTicks(){let t=this.options,n=t.time,o=t.ticks,s=o.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);let a=this.min,r=this.max,c=tr(s,a,r);return this._unit=n.unit||(o.autoSkip?xc(n.minUnit,this.min,this.max,this._getLabelCapacity(a)):df(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:mf(this._unit),this.initOffsets(s),t.reverse&&c.reverse(),vc(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,o=0,s,a;this.options.offset&&t.length&&(s=this.getDecimalForValue(t[0]),t.length===1?n=1-s:n=(this.getDecimalForValue(t[1])-s)/2,a=this.getDecimalForValue(t[t.length-1]),t.length===1?o=a:o=(a-this.getDecimalForValue(t[t.length-2]))/2);let r=t.length<3?.5:.25;n=Z(n,0,r),o=Z(o,0,r),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){let t=this._adapter,n=this.min,o=this.max,s=this.options,a=s.time,r=a.unit||xc(a.minUnit,n,o,this._getLabelCapacity(n)),c=D(s.ticks.stepSize,1),l=r==="week"?a.isoWeekday:!1,d=me(l)||l===!0,m={},h=n,g,f;if(d&&(h=+t.startOf(h,"isoWeek",l)),h=+t.startOf(h,d?"day":r),t.diff(o,n,r)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+r);let u=s.ticks.source==="data"&&this.getDataTimestamps();for(g=h,f=0;g+p)}getLabelForValue(t){let n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(t,o.tooltipFormat):n.format(t,o.displayFormats.datetime)}format(t,n){let s=this.options.time.displayFormats,a=this._unit,r=n||s[a];return this._adapter.format(t,r)}_tickFormatFunction(t,n,o,s){let a=this.options,r=a.ticks.callback;if(r)return j(r,[t,n,o],this);let c=a.time.displayFormats,l=this._unit,d=this._majorUnit,m=l&&c[l],h=d&&c[d],g=o[n],f=d&&h&&g&&g.major;return this._adapter.format(t,s||(f?h:m))}generateTickLabels(t){let n,o,s;for(n=0,o=t.length;n0?c:1}getDataTimestamps(){let t=this._cache.data||[],n,o;if(t.length)return t;let s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,o=s.length;n=i[n].pos&&e<=i[o].pos&&({lo:n,hi:o}=Pt(i,"pos",e)),{pos:s,time:r}=i[n],{pos:a,time:c}=i[o]):(e>=i[n].time&&e<=i[o].time&&({lo:n,hi:o}=Pt(i,"time",e)),{time:s,pos:r}=i[n],{time:a,pos:c}=i[o]);let l=a-s;return l?r+(c-r)*(e-s)/l:r}var es=class extends ts{static id="timeseries";static defaults=ts.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=fn(t,this.min),this._tableRange=fn(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,o=[],s=[],a,r,c,l,d;for(a=0,r=e.length;a=t&&l<=n&&o.push(l);if(o.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,r=o.length;ao-s)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return t.length&&n.length?e=this.normalize(t.concat(n)):e=t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(fn(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return fn(this._table,n*this._tableRange+this._minPos,!0)}},gf=Object.freeze({__proto__:null,CategoryScale:$g,LinearScale:Qo,LogarithmicScale:Go,RadialLinearScale:Jo,TimeScale:ts,TimeSeriesScale:es}),Wc=[ym,qh,Hg,gf];function ff(i,e){if(i&1&&(M(0,"mat-list-item")(1,"div",59)(2,"span",60),K(3,"span",61),S(4),C(),M(5,"span",62),S(6),Ut(7,"currency"),C()()()),i&2){let t=e.$implicit;A(4),Yt(" ",t.label," "),A(2),Yt(" ",re(7,2,t.total_montant,"FCFA","symbol","1.0-0")," ")}}function uf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Date"),C())}function pf(i,e){if(i&1&&(M(0,"mat-cell"),S(1),Ut(2,"date"),C()),i&2){let t=e.$implicit;A(),vt(rs(2,1,t.date,"dd/MM/yyy HH:mm:ss"))}}function bf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Op\xE9rateur"),C())}function _f(i,e){if(i&1&&(M(0,"mat-cell"),S(1),C()),i&2){let t=e.$implicit;A(),vt(t.type_paiement_label)}}function xf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"R\xE9ference"),C())}function wf(i,e){if(i&1&&(M(0,"mat-cell"),S(1),C()),i&2){let t=e.$implicit;A(),vt(t.reference)}}function vf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Montant"),C())}function yf(i,e){if(i&1&&(M(0,"mat-cell"),S(1),Ut(2,"currency"),C()),i&2){let t=e.$implicit;A(),vt(re(2,1,t.montant,"FCFA","symbol","1.0-0"))}}function kf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Service"),C())}function Mf(i,e){if(i&1&&(M(0,"mat-cell"),S(1),C()),i&2){let t=e.$implicit;A(),vt(t.service)}}function Cf(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Commentaire"),C())}function Pf(i,e){if(i&1&&(M(0,"mat-cell"),S(1),C()),i&2){let t=e.$implicit;A(),vt(t.commentaire)}}function Of(i,e){i&1&&(M(0,"mat-header-cell",63),S(1,"Status"),C())}function Sf(i,e){if(i&1&&(M(0,"mat-cell",64)(1,"span",65),S(2),C()()),i&2){let t=e.$implicit,n=ft();A(),Y("ngClass",n.getColorStatus(t.status)),A(),Yt(" ",t.status," ")}}function Df(i,e){i&1&&K(0,"mat-header-row")}function Af(i,e){i&1&&K(0,"mat-row")}var Tf=()=>["/admin"],If=()=>[5],Pp=(()=>{let e=class e{constructor(n,o){this.httpClient=n,this.transactionService=o,this.SUrl=`${Ss.apiBaseUrl}/api/tableau_bord/1`,this.breadCrumbItems=[{label:"Dashboard",url:"/dashboard"}],this.respTransaction=void 0,this.transactions=[],this.stat_transactions=[],this.operateurs=[],this.selectedOperateur="",this.transaction_initialisation=[],this.transaction_processing=[],this.transaction_cancelled=[],this.transaction_initiated=[],this.displayedColumns=["date","reference","montant","type_paiement_label","service","status"],this.dataSource=new ga(this.transactions),kn.register(...Wc)}ngOnInit(){this.setCurrentDate(),this.transactionService.getDataTable().subscribe(n=>{this.respTransaction=n,console.log("respTransaction===>",this.respTransaction),this.transactions=this.respTransaction?.last_five_transactions,console.log("transactions==>",this.transactions),this.operateurs=this.respTransaction?.type_operateur,console.log("typeOpreateur===>",this.operateurs)}),this.transactionService.getAll().subscribe(n=>{this.stat_transactions=n,console.log("transactions=stat=>",this.stat_transactions),this.dataSource.data=this.stat_transactions,this.filterTransactions()}),this.initChart()}setCurrentDate(){let n=new Date,o={year:"numeric",month:"short",day:"numeric"};this.currentDateFormatted=n.toLocaleDateString("fr-FR"),this.startDate=new Date("2024-01-01").toLocaleDateString("fr-FR")}filterTransactions(){console.log("Filtering transactions",this.stat_transactions),this.transaction_initialisation=this.stat_transactions.filter(n=>n.status==="initialisation"),console.log("transaction_initialisation===>",this.transaction_initialisation),console.log("transaction_initialisation_date===>",this.transaction_initialisation[0].date),this.transaction_processing=this.stat_transactions.filter(n=>n.status==="processing"),console.log("transaction_processing===>",this.transaction_processing),this.transaction_cancelled=this.stat_transactions.filter(n=>n.status==="cancelled"),console.log("transaction_cancelled===>",this.transaction_cancelled),this.transaction_initiated=this.stat_transactions.filter(n=>n.status==="INITIATED"),console.log("transaction_initiated====>",this.transaction_initiated)}initChart(){let n=document.getElementById("salesStatistics");new kn(n,{type:"line",data:{labels:this.transactions.map(o=>o.date),datasets:[{label:"Initi\xE9e",borderColor:"#0fac81",backgroundColor:"#0fac81",data:this.transaction_initialisation.map(o=>o.status),fill:!1},{label:"En cours",borderColor:"#eb6459",backgroundColor:"#eb6459",data:this.transaction_processing.map(o=>o.status),fill:!1},{label:"Annul\xE9e",borderColor:"#f6c23e",backgroundColor:"#f6c23e",data:this.transaction_cancelled.map(o=>o.status),fill:!1}]},options:{responsive:!0,scales:{x:{display:!0,title:{display:!0,text:"Dates des transactions"}},y:{display:!0,title:{display:!0,text:"Statut"}}}}})}getColorStatus(n){switch(n){case"SUCCESS":return"success-status";case"FAILED":return"failure-status";case"INITIATED":return"pending-status";default:return this.transactions.values.toString()}}};e.\u0275fac=function(o){return new(o||e)(I(gs),I(ba))},e.\u0275cmp=xt({type:e,selectors:[["bgui-admin-test"]],viewQuery:function(o,s){if(o&1&&ae(Ri,5),o&2){let a;ot(a=st())&&(s.paginator=a.first)}},standalone:!0,features:[yt],decls:128,vars:36,consts:[["aria-label","breadcrumb","mat-card","","background-color-green",""],[1,"breadcrumb"],[1,"breadcrumb-item","active"],["href","#",3,"routerLink"],[1,"nk-block-head","nk-block-head-sm"],[1,"nk-block"],[1,"card","p-4","shadow-1","border-round","flex","flex-column"],[1,"flex","justify-content-between","w-100"],["id","card-solde",1,"surface-card","shadow-2","p-3","border-round","card","orders-card",2,"width","23%","background","linear-gradient(to right, #ffffff, #e6f7ff)"],[1,"flex","justify-content-between","mb-3"],[1,"block","text-1000","font-medium","text-xl","text-bold","mb-3"],[1,"text-900","font-medium","text-xl"],[1,"flex","align-items-center","justify-content-center","bg-blue-500","border-round",2,"width","2.5rem","height","2.5rem"],[1,"pi","pi-briefcase","text-orange-500","text-xl",2,"color","rgb(180, 178, 48)","font-size","2.5rem"],["id","card-total-transaction",1,"surface-card","shadow-2","p-3","border-round","card","orders-card",2,"width","23%","background","linear-gradient(to right, #ffffff, #e6f7ff)"],[1,"flex","align-items-center","justify-content-center","bg-orange-100","border-round",2,"width","2.5rem","height","2.5rem"],[1,"pi","pi-arrow-right-arrow-left","text-orange-500","text-xl",2,"color","rgb(180, 178, 48)","font-size","2.5rem"],["id","card-reversement",1,"surface-card","shadow-2","p-3","border-round","card","customers-card",2,"width","23%","background","linear-gradient(to right, #ffffff, #e6fffa)"],[1,"flex","align-items-center","justify-content-center","bg-cyan-100","border-round",2,"width","2.5rem","height","2.5rem"],[1,"pi","pi-window-maximize","text-cyan-500","text-xl",2,"color","rgb(180, 178, 48)","font-size","2.5rem"],["id","card-montant-journalier",1,"surface-card","shadow-2","p-3","border-round","card","comments-card",2,"width","23%","background","linear-gradient(to right, #ffffff, #f7e6ff)"],[1,"flex","align-items-center","justify-content-center","bg-purple-100","border-round",2,"width","2.5rem","height","2.5rem"],[1,"pi","pi-stopwatch","text-purple-500","text-xl",2,"color","rgb(180, 178, 48)","font-size","2.5rem"],[1,"row","g-gs","p-2"],[1,"col-xxl-6"],[1,"h-100"],[1,"card-inner"],[1,"d-flex","justify-content-between","align-items-center","mb-3"],[1,"title"],["mat-button","",1,"link","link-light","link-sm",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","",1,"active"],[1,"nk-ecwg8-ck",2,"height","300px"],["id","salesStatistics",1,"ecommerce-line-chart-s4"],[1,"d-flex","justify-content-between","ps-5"],[1,"chart-label"],[1,"overflow-hidden","h-100"],[1,"card-inner","flex-grow-1"],[1,"d-flex","justify-content-between","align-items-center","mb-4"],["menu2","matMenu"],["dense",""],[4,"ngFor","ngForOf"],[1,"table-container"],[1,"mat-elevation-z8",3,"dataSource"],["table",""],["matColumnDef","date"],["class","bold-text",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","type_paiement_label"],["matColumnDef","reference"],["matColumnDef","montant",1,"align-right"],["matColumnDef","service"],["matColumnDef","commentaire"],["matColumnDef","status"],["class","btn btn-btn-primary",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize"],[1,"d-flex","justify-content-between","align-items-center","w-100"],["matLine",""],[1,"dot","dot-lg","sq",2,"background","rgb(197, 228, 20)"],["matLine","",1,"amount","amount-xs"],[1,"bold-text"],[1,"btn","btn-btn-primary"],[2,"width","80px","text-align","center",3,"ngClass"]],template:function(o,s){if(o&1&&(M(0,"nav",0)(1,"ol",1)(2,"li",2)(3,"a",3),S(4,"Dashboard"),C()()()(),K(5,"div",4),M(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"div")(12,"span",10),S(13,"Solde"),C(),M(14,"div",11),S(15),Ut(16,"currency"),C()(),M(17,"div",12),K(18,"i",13),C()()(),M(19,"div",14)(20,"div",9)(21,"div")(22,"span",10),S(23,"Montant total transactions"),C(),M(24,"div",11),S(25),Ut(26,"currency"),C()(),M(27,"div",15),K(28,"i",16),C()()(),M(29,"div",17)(30,"div",9)(31,"div")(32,"span",10),S(33,"Reversement"),C(),M(34,"div",11),S(35),Ut(36,"currency"),C()(),M(37,"div",18),K(38,"i",19),C()()(),M(39,"div",20)(40,"div",9)(41,"div")(42,"span",10),S(43,"Montant journalier"),C(),M(44,"div",11),S(45),Ut(46,"currency"),C()(),M(47,"div",21),K(48,"i",22),C()()()()(),M(49,"div",23)(50,"div",24)(51,"mat-card",25)(52,"div",26)(53,"div",27)(54,"h6",28),S(55,"Statistiques des transactions"),C(),M(56,"div")(57,"button",29),S(58," Semaine "),M(59,"mat-icon"),S(60,"arrow_drop_down"),C()(),M(61,"mat-menu",null,30)(63,"button",31),S(64,"Jour"),C(),M(65,"button",32),S(66,"Semaine"),C(),M(67,"button",31),S(68,"Mois"),C()()()(),M(69,"div",33),K(70,"canvas",34),C(),M(71,"div",35)(72,"div",36),S(73),C(),M(74,"div",36),S(75),C()()()()(),M(76,"div",24)(77,"mat-card",37)(78,"div",38)(79,"div",39)(80,"h6",28),S(81,"Montant disponible"),C(),M(82,"div")(83,"button",29),S(84," 30 Jours "),M(85,"mat-icon"),S(86,"arrow_drop_down"),C()(),M(87,"mat-menu",null,40)(89,"button",31),S(90,"15 Jours"),C(),M(91,"button",32),S(92,"30 Jours"),C(),M(93,"button",31),S(94,"3 Mois"),C()()()(),M(95,"mat-list",41),G(96,ff,8,7,"mat-list-item",42),C()()()(),M(97,"section")(98,"mat-card")(99,"mat-card-title"),S(100,"Vos 5 derni\xE8res transactions"),C(),M(101,"div",43)(102,"mat-table",44,45),Ht(104,46),G(105,uf,2,0,"mat-header-cell",47)(106,pf,3,4,"mat-cell",48),Wt(),Ht(107,49),G(108,bf,2,0,"mat-header-cell",47)(109,_f,2,1,"mat-cell",48),Wt(),Ht(110,50),G(111,xf,2,0,"mat-header-cell",47)(112,wf,2,1,"mat-cell",48),Wt(),Ht(113,51),G(114,vf,2,0,"mat-header-cell",47)(115,yf,3,6,"mat-cell",48),Wt(),Ht(116,52),G(117,kf,2,0,"mat-header-cell",47)(118,Mf,2,1,"mat-cell",48),Wt(),Ht(119,53),G(120,Cf,2,0,"mat-header-cell",47)(121,Pf,2,1,"mat-cell",48),Wt(),Ht(122,54),G(123,Of,2,0,"mat-header-cell",47)(124,Sf,3,2,"mat-cell",55),Wt(),G(125,Df,1,0,"mat-header-row",56)(126,Af,1,0,"mat-row",57),C(),K(127,"mat-paginator",58),C()()()()()),o&2){let a=Ce(62),r=Ce(88);A(3),Y("routerLink",Ln(34,Tf)),A(12),Yt(" ",re(16,14,s.respTransaction==null?null:s.respTransaction.solde,"FCFA","symbol","1.0-0")," "),A(10),Yt(" ",re(26,19,s.respTransaction==null?null:s.respTransaction.total_transaction,"FCFA","symbol","1.0-0")," "),A(10),Yt(" ",re(36,24,s.respTransaction==null?null:s.respTransaction.revesement,"FCFA","symbol","1.0-0")," "),A(10),Yt(" ",re(46,29,s.respTransaction==null?null:s.respTransaction.total_journee,"FCFA","symbol","1.0-0")," "),A(12),Y("matMenuTriggerFor",a),A(16),vt(s.startDate),A(2),vt(s.currentDateFormatted),A(8),Y("matMenuTriggerFor",r),A(13),Y("ngForOf",s.operateurs),A(6),Y("dataSource",s.transactions),A(23),Y("matHeaderRowDef",s.displayedColumns),A(),Y("matRowDefColumns",s.displayedColumns),A(),Y("pageSize",Ln(35,If))}},dependencies:[ha,ia,oa,ca,sa,na,la,aa,ra,da,ma,ea,Ri,$t,Di,ls,hs,ms,us,pa,fa,ua,ka,De,ei,ya,Ii,Ti,Sa,Pa,Oa],styles:['@font-face{font-family:primeicons;font-display:block;src:url("./media/primeicons-RSSEDYLY.eot");src:url("./media/primeicons-RSSEDYLY.eot?#iefix") format("embedded-opentype"),url("./media/primeicons-4GST5W3O.woff2") format("woff2"),url("./media/primeicons-P53SE5CV.woff") format("woff"),url("./media/primeicons-GEFHGEHP.ttf") format("truetype"),url("./media/primeicons-DHQU4SEP.svg?#primeicons") format("svg");font-weight:400;font-style:normal}.pi[_ngcontent-%COMP%]{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi[_ngcontent-%COMP%]:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw[_ngcontent-%COMP%]{width:1.28571429em;text-align:center}.pi-spin[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_fa-spin 2s infinite linear;animation:_ngcontent-%COMP%_fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin[_ngcontent-%COMP%]{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes _ngcontent-%COMP%_fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes _ngcontent-%COMP%_fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus[_ngcontent-%COMP%]:before{content:"\\ea05"}.pi-receipt[_ngcontent-%COMP%]:before{content:"\\ea06"}.pi-asterisk[_ngcontent-%COMP%]:before{content:"\\ea07"}.pi-face-smile[_ngcontent-%COMP%]:before{content:"\\ea08"}.pi-pinterest[_ngcontent-%COMP%]:before{content:"\\ea09"}.pi-expand[_ngcontent-%COMP%]:before{content:"\\ea0a"}.pi-pen-to-square[_ngcontent-%COMP%]:before{content:"\\ea0b"}.pi-wave-pulse[_ngcontent-%COMP%]:before{content:"\\ea0c"}.pi-turkish-lira[_ngcontent-%COMP%]:before{content:"\\ea0d"}.pi-spinner-dotted[_ngcontent-%COMP%]:before{content:"\\ea0e"}.pi-crown[_ngcontent-%COMP%]:before{content:"\\ea0f"}.pi-pause-circle[_ngcontent-%COMP%]:before{content:"\\ea10"}.pi-warehouse[_ngcontent-%COMP%]:before{content:"\\ea11"}.pi-objects-column[_ngcontent-%COMP%]:before{content:"\\ea12"}.pi-clipboard[_ngcontent-%COMP%]:before{content:"\\ea13"}.pi-play-circle[_ngcontent-%COMP%]:before{content:"\\ea14"}.pi-venus[_ngcontent-%COMP%]:before{content:"\\ea15"}.pi-cart-minus[_ngcontent-%COMP%]:before{content:"\\ea16"}.pi-file-plus[_ngcontent-%COMP%]:before{content:"\\ea17"}.pi-microchip[_ngcontent-%COMP%]:before{content:"\\ea18"}.pi-twitch[_ngcontent-%COMP%]:before{content:"\\ea19"}.pi-building-columns[_ngcontent-%COMP%]:before{content:"\\ea1a"}.pi-file-check[_ngcontent-%COMP%]:before{content:"\\ea1b"}.pi-microchip-ai[_ngcontent-%COMP%]:before{content:"\\ea1c"}.pi-trophy[_ngcontent-%COMP%]:before{content:"\\ea1d"}.pi-barcode[_ngcontent-%COMP%]:before{content:"\\ea1e"}.pi-file-arrow-up[_ngcontent-%COMP%]:before{content:"\\ea1f"}.pi-mars[_ngcontent-%COMP%]:before{content:"\\ea20"}.pi-tiktok[_ngcontent-%COMP%]:before{content:"\\ea21"}.pi-arrow-up-right-and-arrow-down-left-from-center[_ngcontent-%COMP%]:before{content:"\\ea22"}.pi-ethereum[_ngcontent-%COMP%]:before{content:"\\ea23"}.pi-list-check[_ngcontent-%COMP%]:before{content:"\\ea24"}.pi-thumbtack[_ngcontent-%COMP%]:before{content:"\\ea25"}.pi-arrow-down-left-and-arrow-up-right-to-center[_ngcontent-%COMP%]:before{content:"\\ea26"}.pi-equals[_ngcontent-%COMP%]:before{content:"\\ea27"}.pi-lightbulb[_ngcontent-%COMP%]:before{content:"\\ea28"}.pi-star-half[_ngcontent-%COMP%]:before{content:"\\ea29"}.pi-address-book[_ngcontent-%COMP%]:before{content:"\\ea2a"}.pi-chart-scatter[_ngcontent-%COMP%]:before{content:"\\ea2b"}.pi-indian-rupee[_ngcontent-%COMP%]:before{content:"\\ea2c"}.pi-star-half-fill[_ngcontent-%COMP%]:before{content:"\\ea2d"}.pi-cart-arrow-down[_ngcontent-%COMP%]:before{content:"\\ea2e"}.pi-calendar-clock[_ngcontent-%COMP%]:before{content:"\\ea2f"}.pi-sort-up-fill[_ngcontent-%COMP%]:before{content:"\\ea30"}.pi-sparkles[_ngcontent-%COMP%]:before{content:"\\ea31"}.pi-bullseye[_ngcontent-%COMP%]:before{content:"\\ea32"}.pi-sort-down-fill[_ngcontent-%COMP%]:before{content:"\\ea33"}.pi-graduation-cap[_ngcontent-%COMP%]:before{content:"\\ea34"}.pi-hammer[_ngcontent-%COMP%]:before{content:"\\ea35"}.pi-bell-slash[_ngcontent-%COMP%]:before{content:"\\ea36"}.pi-gauge[_ngcontent-%COMP%]:before{content:"\\ea37"}.pi-shop[_ngcontent-%COMP%]:before{content:"\\ea38"}.pi-headphones[_ngcontent-%COMP%]:before{content:"\\ea39"}.pi-eraser[_ngcontent-%COMP%]:before{content:"\\ea04"}.pi-stopwatch[_ngcontent-%COMP%]:before{content:"\\ea01"}.pi-verified[_ngcontent-%COMP%]:before{content:"\\ea02"}.pi-delete-left[_ngcontent-%COMP%]:before{content:"\\ea03"}.pi-hourglass[_ngcontent-%COMP%]:before{content:"\\e9fe"}.pi-truck[_ngcontent-%COMP%]:before{content:"\\ea00"}.pi-wrench[_ngcontent-%COMP%]:before{content:"\\e9ff"}.pi-microphone[_ngcontent-%COMP%]:before{content:"\\e9fa"}.pi-megaphone[_ngcontent-%COMP%]:before{content:"\\e9fb"}.pi-arrow-right-arrow-left[_ngcontent-%COMP%]:before{content:"\\e9fc"}.pi-bitcoin[_ngcontent-%COMP%]:before{content:"\\e9fd"}.pi-file-edit[_ngcontent-%COMP%]:before{content:"\\e9f6"}.pi-language[_ngcontent-%COMP%]:before{content:"\\e9f7"}.pi-file-export[_ngcontent-%COMP%]:before{content:"\\e9f8"}.pi-file-import[_ngcontent-%COMP%]:before{content:"\\e9f9"}.pi-file-word[_ngcontent-%COMP%]:before{content:"\\e9f1"}.pi-gift[_ngcontent-%COMP%]:before{content:"\\e9f2"}.pi-cart-plus[_ngcontent-%COMP%]:before{content:"\\e9f3"}.pi-thumbs-down-fill[_ngcontent-%COMP%]:before{content:"\\e9f4"}.pi-thumbs-up-fill[_ngcontent-%COMP%]:before{content:"\\e9f5"}.pi-arrows-alt[_ngcontent-%COMP%]:before{content:"\\e9f0"}.pi-calculator[_ngcontent-%COMP%]:before{content:"\\e9ef"}.pi-sort-alt-slash[_ngcontent-%COMP%]:before{content:"\\e9ee"}.pi-arrows-h[_ngcontent-%COMP%]:before{content:"\\e9ec"}.pi-arrows-v[_ngcontent-%COMP%]:before{content:"\\e9ed"}.pi-pound[_ngcontent-%COMP%]:before{content:"\\e9eb"}.pi-prime[_ngcontent-%COMP%]:before{content:"\\e9ea"}.pi-chart-pie[_ngcontent-%COMP%]:before{content:"\\e9e9"}.pi-reddit[_ngcontent-%COMP%]:before{content:"\\e9e8"}.pi-code[_ngcontent-%COMP%]:before{content:"\\e9e7"}.pi-sync[_ngcontent-%COMP%]:before{content:"\\e9e6"}.pi-shopping-bag[_ngcontent-%COMP%]:before{content:"\\e9e5"}.pi-server[_ngcontent-%COMP%]:before{content:"\\e9e4"}.pi-database[_ngcontent-%COMP%]:before{content:"\\e9e3"}.pi-hashtag[_ngcontent-%COMP%]:before{content:"\\e9e2"}.pi-bookmark-fill[_ngcontent-%COMP%]:before{content:"\\e9df"}.pi-filter-fill[_ngcontent-%COMP%]:before{content:"\\e9e0"}.pi-heart-fill[_ngcontent-%COMP%]:before{content:"\\e9e1"}.pi-flag-fill[_ngcontent-%COMP%]:before{content:"\\e9de"}.pi-circle[_ngcontent-%COMP%]:before{content:"\\e9dc"}.pi-circle-fill[_ngcontent-%COMP%]:before{content:"\\e9dd"}.pi-bolt[_ngcontent-%COMP%]:before{content:"\\e9db"}.pi-history[_ngcontent-%COMP%]:before{content:"\\e9da"}.pi-box[_ngcontent-%COMP%]:before{content:"\\e9d9"}.pi-at[_ngcontent-%COMP%]:before{content:"\\e9d8"}.pi-arrow-up-right[_ngcontent-%COMP%]:before{content:"\\e9d4"}.pi-arrow-up-left[_ngcontent-%COMP%]:before{content:"\\e9d5"}.pi-arrow-down-left[_ngcontent-%COMP%]:before{content:"\\e9d6"}.pi-arrow-down-right[_ngcontent-%COMP%]:before{content:"\\e9d7"}.pi-telegram[_ngcontent-%COMP%]:before{content:"\\e9d3"}.pi-stop-circle[_ngcontent-%COMP%]:before{content:"\\e9d2"}.pi-stop[_ngcontent-%COMP%]:before{content:"\\e9d1"}.pi-whatsapp[_ngcontent-%COMP%]:before{content:"\\e9d0"}.pi-building[_ngcontent-%COMP%]:before{content:"\\e9cf"}.pi-qrcode[_ngcontent-%COMP%]:before{content:"\\e9ce"}.pi-car[_ngcontent-%COMP%]:before{content:"\\e9cd"}.pi-instagram[_ngcontent-%COMP%]:before{content:"\\e9cc"}.pi-linkedin[_ngcontent-%COMP%]:before{content:"\\e9cb"}.pi-send[_ngcontent-%COMP%]:before{content:"\\e9ca"}.pi-slack[_ngcontent-%COMP%]:before{content:"\\e9c9"}.pi-sun[_ngcontent-%COMP%]:before{content:"\\e9c8"}.pi-moon[_ngcontent-%COMP%]:before{content:"\\e9c7"}.pi-vimeo[_ngcontent-%COMP%]:before{content:"\\e9c6"}.pi-youtube[_ngcontent-%COMP%]:before{content:"\\e9c5"}.pi-flag[_ngcontent-%COMP%]:before{content:"\\e9c4"}.pi-wallet[_ngcontent-%COMP%]:before{content:"\\e9c3"}.pi-map[_ngcontent-%COMP%]:before{content:"\\e9c2"}.pi-link[_ngcontent-%COMP%]:before{content:"\\e9c1"}.pi-credit-card[_ngcontent-%COMP%]:before{content:"\\e9bf"}.pi-discord[_ngcontent-%COMP%]:before{content:"\\e9c0"}.pi-percentage[_ngcontent-%COMP%]:before{content:"\\e9be"}.pi-euro[_ngcontent-%COMP%]:before{content:"\\e9bd"}.pi-book[_ngcontent-%COMP%]:before{content:"\\e9ba"}.pi-shield[_ngcontent-%COMP%]:before{content:"\\e9b9"}.pi-paypal[_ngcontent-%COMP%]:before{content:"\\e9bb"}.pi-amazon[_ngcontent-%COMP%]:before{content:"\\e9bc"}.pi-phone[_ngcontent-%COMP%]:before{content:"\\e9b8"}.pi-filter-slash[_ngcontent-%COMP%]:before{content:"\\e9b7"}.pi-facebook[_ngcontent-%COMP%]:before{content:"\\e9b4"}.pi-github[_ngcontent-%COMP%]:before{content:"\\e9b5"}.pi-twitter[_ngcontent-%COMP%]:before{content:"\\e9b6"}.pi-step-backward-alt[_ngcontent-%COMP%]:before{content:"\\e9ac"}.pi-step-forward-alt[_ngcontent-%COMP%]:before{content:"\\e9ad"}.pi-forward[_ngcontent-%COMP%]:before{content:"\\e9ae"}.pi-backward[_ngcontent-%COMP%]:before{content:"\\e9af"}.pi-fast-backward[_ngcontent-%COMP%]:before{content:"\\e9b0"}.pi-fast-forward[_ngcontent-%COMP%]:before{content:"\\e9b1"}.pi-pause[_ngcontent-%COMP%]:before{content:"\\e9b2"}.pi-play[_ngcontent-%COMP%]:before{content:"\\e9b3"}.pi-compass[_ngcontent-%COMP%]:before{content:"\\e9ab"}.pi-id-card[_ngcontent-%COMP%]:before{content:"\\e9aa"}.pi-ticket[_ngcontent-%COMP%]:before{content:"\\e9a9"}.pi-file-o[_ngcontent-%COMP%]:before{content:"\\e9a8"}.pi-reply[_ngcontent-%COMP%]:before{content:"\\e9a7"}.pi-directions-alt[_ngcontent-%COMP%]:before{content:"\\e9a5"}.pi-directions[_ngcontent-%COMP%]:before{content:"\\e9a6"}.pi-thumbs-up[_ngcontent-%COMP%]:before{content:"\\e9a3"}.pi-thumbs-down[_ngcontent-%COMP%]:before{content:"\\e9a4"}.pi-sort-numeric-down-alt[_ngcontent-%COMP%]:before{content:"\\e996"}.pi-sort-numeric-up-alt[_ngcontent-%COMP%]:before{content:"\\e997"}.pi-sort-alpha-down-alt[_ngcontent-%COMP%]:before{content:"\\e998"}.pi-sort-alpha-up-alt[_ngcontent-%COMP%]:before{content:"\\e999"}.pi-sort-numeric-down[_ngcontent-%COMP%]:before{content:"\\e99a"}.pi-sort-numeric-up[_ngcontent-%COMP%]:before{content:"\\e99b"}.pi-sort-alpha-down[_ngcontent-%COMP%]:before{content:"\\e99c"}.pi-sort-alpha-up[_ngcontent-%COMP%]:before{content:"\\e99d"}.pi-sort-alt[_ngcontent-%COMP%]:before{content:"\\e99e"}.pi-sort-amount-up[_ngcontent-%COMP%]:before{content:"\\e99f"}.pi-sort-amount-down[_ngcontent-%COMP%]:before{content:"\\e9a0"}.pi-sort-amount-down-alt[_ngcontent-%COMP%]:before{content:"\\e9a1"}.pi-sort-amount-up-alt[_ngcontent-%COMP%]:before{content:"\\e9a2"}.pi-palette[_ngcontent-%COMP%]:before{content:"\\e995"}.pi-undo[_ngcontent-%COMP%]:before{content:"\\e994"}.pi-desktop[_ngcontent-%COMP%]:before{content:"\\e993"}.pi-sliders-v[_ngcontent-%COMP%]:before{content:"\\e991"}.pi-sliders-h[_ngcontent-%COMP%]:before{content:"\\e992"}.pi-search-plus[_ngcontent-%COMP%]:before{content:"\\e98f"}.pi-search-minus[_ngcontent-%COMP%]:before{content:"\\e990"}.pi-file-excel[_ngcontent-%COMP%]:before{content:"\\e98e"}.pi-file-pdf[_ngcontent-%COMP%]:before{content:"\\e98d"}.pi-check-square[_ngcontent-%COMP%]:before{content:"\\e98c"}.pi-chart-line[_ngcontent-%COMP%]:before{content:"\\e98b"}.pi-user-edit[_ngcontent-%COMP%]:before{content:"\\e98a"}.pi-exclamation-circle[_ngcontent-%COMP%]:before{content:"\\e989"}.pi-android[_ngcontent-%COMP%]:before{content:"\\e985"}.pi-google[_ngcontent-%COMP%]:before{content:"\\e986"}.pi-apple[_ngcontent-%COMP%]:before{content:"\\e987"}.pi-microsoft[_ngcontent-%COMP%]:before{content:"\\e988"}.pi-heart[_ngcontent-%COMP%]:before{content:"\\e984"}.pi-mobile[_ngcontent-%COMP%]:before{content:"\\e982"}.pi-tablet[_ngcontent-%COMP%]:before{content:"\\e983"}.pi-key[_ngcontent-%COMP%]:before{content:"\\e981"}.pi-shopping-cart[_ngcontent-%COMP%]:before{content:"\\e980"}.pi-comments[_ngcontent-%COMP%]:before{content:"\\e97e"}.pi-comment[_ngcontent-%COMP%]:before{content:"\\e97f"}.pi-briefcase[_ngcontent-%COMP%]:before{content:"\\e97d"}.pi-bell[_ngcontent-%COMP%]:before{content:"\\e97c"}.pi-paperclip[_ngcontent-%COMP%]:before{content:"\\e97b"}.pi-share-alt[_ngcontent-%COMP%]:before{content:"\\e97a"}.pi-envelope[_ngcontent-%COMP%]:before{content:"\\e979"}.pi-volume-down[_ngcontent-%COMP%]:before{content:"\\e976"}.pi-volume-up[_ngcontent-%COMP%]:before{content:"\\e977"}.pi-volume-off[_ngcontent-%COMP%]:before{content:"\\e978"}.pi-eject[_ngcontent-%COMP%]:before{content:"\\e975"}.pi-money-bill[_ngcontent-%COMP%]:before{content:"\\e974"}.pi-images[_ngcontent-%COMP%]:before{content:"\\e973"}.pi-image[_ngcontent-%COMP%]:before{content:"\\e972"}.pi-sign-in[_ngcontent-%COMP%]:before{content:"\\e970"}.pi-sign-out[_ngcontent-%COMP%]:before{content:"\\e971"}.pi-wifi[_ngcontent-%COMP%]:before{content:"\\e96f"}.pi-sitemap[_ngcontent-%COMP%]:before{content:"\\e96e"}.pi-chart-bar[_ngcontent-%COMP%]:before{content:"\\e96d"}.pi-camera[_ngcontent-%COMP%]:before{content:"\\e96c"}.pi-dollar[_ngcontent-%COMP%]:before{content:"\\e96b"}.pi-lock-open[_ngcontent-%COMP%]:before{content:"\\e96a"}.pi-table[_ngcontent-%COMP%]:before{content:"\\e969"}.pi-map-marker[_ngcontent-%COMP%]:before{content:"\\e968"}.pi-list[_ngcontent-%COMP%]:before{content:"\\e967"}.pi-eye-slash[_ngcontent-%COMP%]:before{content:"\\e965"}.pi-eye[_ngcontent-%COMP%]:before{content:"\\e966"}.pi-folder-open[_ngcontent-%COMP%]:before{content:"\\e964"}.pi-folder[_ngcontent-%COMP%]:before{content:"\\e963"}.pi-video[_ngcontent-%COMP%]:before{content:"\\e962"}.pi-inbox[_ngcontent-%COMP%]:before{content:"\\e961"}.pi-lock[_ngcontent-%COMP%]:before{content:"\\e95f"}.pi-unlock[_ngcontent-%COMP%]:before{content:"\\e960"}.pi-tags[_ngcontent-%COMP%]:before{content:"\\e95d"}.pi-tag[_ngcontent-%COMP%]:before{content:"\\e95e"}.pi-power-off[_ngcontent-%COMP%]:before{content:"\\e95c"}.pi-save[_ngcontent-%COMP%]:before{content:"\\e95b"}.pi-question-circle[_ngcontent-%COMP%]:before{content:"\\e959"}.pi-question[_ngcontent-%COMP%]:before{content:"\\e95a"}.pi-copy[_ngcontent-%COMP%]:before{content:"\\e957"}.pi-file[_ngcontent-%COMP%]:before{content:"\\e958"}.pi-clone[_ngcontent-%COMP%]:before{content:"\\e955"}.pi-calendar-times[_ngcontent-%COMP%]:before{content:"\\e952"}.pi-calendar-minus[_ngcontent-%COMP%]:before{content:"\\e953"}.pi-calendar-plus[_ngcontent-%COMP%]:before{content:"\\e954"}.pi-ellipsis-v[_ngcontent-%COMP%]:before{content:"\\e950"}.pi-ellipsis-h[_ngcontent-%COMP%]:before{content:"\\e951"}.pi-bookmark[_ngcontent-%COMP%]:before{content:"\\e94e"}.pi-globe[_ngcontent-%COMP%]:before{content:"\\e94f"}.pi-replay[_ngcontent-%COMP%]:before{content:"\\e94d"}.pi-filter[_ngcontent-%COMP%]:before{content:"\\e94c"}.pi-print[_ngcontent-%COMP%]:before{content:"\\e94b"}.pi-align-right[_ngcontent-%COMP%]:before{content:"\\e946"}.pi-align-left[_ngcontent-%COMP%]:before{content:"\\e947"}.pi-align-center[_ngcontent-%COMP%]:before{content:"\\e948"}.pi-align-justify[_ngcontent-%COMP%]:before{content:"\\e949"}.pi-cog[_ngcontent-%COMP%]:before{content:"\\e94a"}.pi-cloud-download[_ngcontent-%COMP%]:before{content:"\\e943"}.pi-cloud-upload[_ngcontent-%COMP%]:before{content:"\\e944"}.pi-cloud[_ngcontent-%COMP%]:before{content:"\\e945"}.pi-pencil[_ngcontent-%COMP%]:before{content:"\\e942"}.pi-users[_ngcontent-%COMP%]:before{content:"\\e941"}.pi-clock[_ngcontent-%COMP%]:before{content:"\\e940"}.pi-user-minus[_ngcontent-%COMP%]:before{content:"\\e93e"}.pi-user-plus[_ngcontent-%COMP%]:before{content:"\\e93f"}.pi-trash[_ngcontent-%COMP%]:before{content:"\\e93d"}.pi-external-link[_ngcontent-%COMP%]:before{content:"\\e93c"}.pi-window-maximize[_ngcontent-%COMP%]:before{content:"\\e93b"}.pi-window-minimize[_ngcontent-%COMP%]:before{content:"\\e93a"}.pi-refresh[_ngcontent-%COMP%]:before{content:"\\e938"}.pi-user[_ngcontent-%COMP%]:before{content:"\\e939"}.pi-exclamation-triangle[_ngcontent-%COMP%]:before{content:"\\e922"}.pi-calendar[_ngcontent-%COMP%]:before{content:"\\e927"}.pi-chevron-circle-left[_ngcontent-%COMP%]:before{content:"\\e928"}.pi-chevron-circle-down[_ngcontent-%COMP%]:before{content:"\\e929"}.pi-chevron-circle-right[_ngcontent-%COMP%]:before{content:"\\e92a"}.pi-chevron-circle-up[_ngcontent-%COMP%]:before{content:"\\e92b"}.pi-angle-double-down[_ngcontent-%COMP%]:before{content:"\\e92c"}.pi-angle-double-left[_ngcontent-%COMP%]:before{content:"\\e92d"}.pi-angle-double-right[_ngcontent-%COMP%]:before{content:"\\e92e"}.pi-angle-double-up[_ngcontent-%COMP%]:before{content:"\\e92f"}.pi-angle-down[_ngcontent-%COMP%]:before{content:"\\e930"}.pi-angle-left[_ngcontent-%COMP%]:before{content:"\\e931"}.pi-angle-right[_ngcontent-%COMP%]:before{content:"\\e932"}.pi-angle-up[_ngcontent-%COMP%]:before{content:"\\e933"}.pi-upload[_ngcontent-%COMP%]:before{content:"\\e934"}.pi-download[_ngcontent-%COMP%]:before{content:"\\e956"}.pi-ban[_ngcontent-%COMP%]:before{content:"\\e935"}.pi-star-fill[_ngcontent-%COMP%]:before{content:"\\e936"}.pi-star[_ngcontent-%COMP%]:before{content:"\\e937"}.pi-chevron-left[_ngcontent-%COMP%]:before{content:"\\e900"}.pi-chevron-right[_ngcontent-%COMP%]:before{content:"\\e901"}.pi-chevron-down[_ngcontent-%COMP%]:before{content:"\\e902"}.pi-chevron-up[_ngcontent-%COMP%]:before{content:"\\e903"}.pi-caret-left[_ngcontent-%COMP%]:before{content:"\\e904"}.pi-caret-right[_ngcontent-%COMP%]:before{content:"\\e905"}.pi-caret-down[_ngcontent-%COMP%]:before{content:"\\e906"}.pi-caret-up[_ngcontent-%COMP%]:before{content:"\\e907"}.pi-search[_ngcontent-%COMP%]:before{content:"\\e908"}.pi-check[_ngcontent-%COMP%]:before{content:"\\e909"}.pi-check-circle[_ngcontent-%COMP%]:before{content:"\\e90a"}.pi-times[_ngcontent-%COMP%]:before{content:"\\e90b"}.pi-times-circle[_ngcontent-%COMP%]:before{content:"\\e90c"}.pi-plus[_ngcontent-%COMP%]:before{content:"\\e90d"}.pi-plus-circle[_ngcontent-%COMP%]:before{content:"\\e90e"}.pi-minus[_ngcontent-%COMP%]:before{content:"\\e90f"}.pi-minus-circle[_ngcontent-%COMP%]:before{content:"\\e910"}.pi-circle-on[_ngcontent-%COMP%]:before{content:"\\e911"}.pi-circle-off[_ngcontent-%COMP%]:before{content:"\\e912"}.pi-sort-down[_ngcontent-%COMP%]:before{content:"\\e913"}.pi-sort-up[_ngcontent-%COMP%]:before{content:"\\e914"}.pi-sort[_ngcontent-%COMP%]:before{content:"\\e915"}.pi-step-backward[_ngcontent-%COMP%]:before{content:"\\e916"}.pi-step-forward[_ngcontent-%COMP%]:before{content:"\\e917"}.pi-th-large[_ngcontent-%COMP%]:before{content:"\\e918"}.pi-arrow-down[_ngcontent-%COMP%]:before{content:"\\e919"}.pi-arrow-left[_ngcontent-%COMP%]:before{content:"\\e91a"}.pi-arrow-right[_ngcontent-%COMP%]:before{content:"\\e91b"}.pi-arrow-up[_ngcontent-%COMP%]:before{content:"\\e91c"}.pi-bars[_ngcontent-%COMP%]:before{content:"\\e91d"}.pi-arrow-circle-down[_ngcontent-%COMP%]:before{content:"\\e91e"}.pi-arrow-circle-left[_ngcontent-%COMP%]:before{content:"\\e91f"}.pi-arrow-circle-right[_ngcontent-%COMP%]:before{content:"\\e920"}.pi-arrow-circle-up[_ngcontent-%COMP%]:before{content:"\\e921"}.pi-info[_ngcontent-%COMP%]:before{content:"\\e923"}.pi-info-circle[_ngcontent-%COMP%]:before{content:"\\e924"}.pi-home[_ngcontent-%COMP%]:before{content:"\\e925"}.pi-spinner[_ngcontent-%COMP%]:before{content:"\\e926"}*[_ngcontent-%COMP%]{font-family:Roboto}.text[_ngcontent-%COMP%]{color:#00f;font-weight:700;font-size:16px}.title[_ngcontent-%COMP%]{font-size:20px}.bold-text[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:16px}mat-card-title[_ngcontent-%COMP%]{background-color:#fff}.p-4[_ngcontent-%COMP%]{color:#f0eeee00}.card[_ngcontent-%COMP%]{border:none;border-radius:none!important}.mat-mdc-card-title[_ngcontent-%COMP%]{color:#000;font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:1.2rem;letter-spacing:var(--mat-card-title-text-tracking);font-weight:700}.align-right[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{text-align:right}.mat-mdc-card-title[_ngcontent-%COMP%], .mat-mdc-card-subtitle[_ngcontent-%COMP%]{display:block;margin:1rem}.success-status[_ngcontent-%COMP%]{color:#fff;padding:5px;font-weight:700;background-color:#08a710bd;border-radius:15px;box-sizing:border-box}.failure-status[_ngcontent-%COMP%]{color:#fff;padding:5px;font-weight:700;background-color:#a70808bd;border-radius:15px;box-sizing:border-box;box-shadow:0 0 #0000004d}.pending-status[_ngcontent-%COMP%]{color:#fafafa;font-weight:700;padding:5px;background-color:#0b79f7f3;border-radius:15px;box-sizing:border-box;box-shadow:0 0 #0000004d}.failed-status[_ngcontent-%COMP%]{color:#fafafa;font-weight:700;padding:5px;background-color:#f7270bf3;border-radius:15px;box-sizing:border-box;box-shadow:0 0 #0000004d}.with-shadow[_ngcontent-%COMP%]{box-shadow:2px 2px 2px 2px #0000004d}#card-solde[_ngcontent-%COMP%]{border-bottom:3px solid rgb(148,185,11)}#card-total-transaction[_ngcontent-%COMP%]{border-bottom:3px solid rgb(1,26,14)}#card-reversement[_ngcontent-%COMP%]{border-bottom:3px solid rgb(185,80,11)}#card-montant-journalier[_ngcontent-%COMP%]{border-bottom:3px solid rgb(28,11,185)}.surface-card[_ngcontent-%COMP%]{border-radius:10px;box-shadow:0 2px 5px #86666626;padding:1rem}.shadow-2[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003}.bg-gray-200[_ngcontent-%COMP%]{background-color:#f5f5f5}.bg-blue-100[_ngcontent-%COMP%]{background-color:#e6f7ff}.bg-orange-100[_ngcontent-%COMP%]{background-color:#fff7e6}.bg-cyan-100[_ngcontent-%COMP%]{background-color:#e6fffa}.bg-purple-100[_ngcontent-%COMP%]{background-color:#f7e6ff}.border-round[_ngcontent-%COMP%]{border-radius:0}.p-3[_ngcontent-%COMP%]{padding:1rem}.p-4[_ngcontent-%COMP%]{padding:1.5rem}.text-500[_ngcontent-%COMP%]{color:#6c757d}.text-900[_ngcontent-%COMP%]{color:#212529}.text-xl[_ngcontent-%COMP%]{font-size:1.25rem}.font-medium[_ngcontent-%COMP%]{font-weight:500}.text-green-500[_ngcontent-%COMP%]{color:#28a745}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{flex-direction:column}.justify-content-between[_ngcontent-%COMP%]{justify-content:space-between}.align-items-center[_ngcontent-%COMP%]{align-items:center}.gap-4[_ngcontent-%COMP%]{gap:1.5rem}.justify-content-center[_ngcontent-%COMP%]{justify-content:center}.w-100[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%]{background-color:#f6f6f6;border-radius:0!important}']});let i=e;return i})();export{Kf as a,Pp as b};